diff --git a/ng6-seed/package-lock.json b/ng6-seed/package-lock.json
index fb5b62fa1..64b971613 100755
--- a/ng6-seed/package-lock.json
+++ b/ng6-seed/package-lock.json
@@ -1,16510 +1,8 @@
{
"name": "pd_genie_web_application",
"version": "1.0.0",
- "lockfileVersion": 2,
+ "lockfileVersion": 1,
"requires": true,
- "packages": {
- "": {
- "name": "pd_genie_web_application",
- "version": "1.0.0",
- "license": "MIT",
- "dependencies": {
- "@agm/core": "^1.0.0-beta.2",
- "@angular/animations": "^6.1.10",
- "@angular/cdk": "^6.0.0-rc.5",
- "@angular/common": "^6.1.10",
- "@angular/compiler": "^6.1.10",
- "@angular/core": "^6.1.10",
- "@angular/fire": "^5.4.0",
- "@angular/flex-layout": "^6.0.0-beta.18",
- "@angular/forms": "^6.1.10",
- "@angular/http": "^6.0.0-rc.6",
- "@angular/material": "^6.4.7",
- "@angular/material-moment-adapter": "^6.4.7",
- "@angular/platform-browser": "^6.1.10",
- "@angular/platform-browser-dynamic": "^6.1.10",
- "@angular/router": "^6.1.10",
- "@ngx-translate/core": "^10.0.2",
- "@ngx-translate/http-loader": "^3.0.1",
- "@swimlane/ngx-charts": "^7.0.1",
- "@swimlane/ngx-datatable": "11.1.5",
- "@types/file-saver": "^2.0.1",
- "amazon-cognito-identity-js": "^2.0.30",
- "angular-calendar": "0.23.3",
- "angular-csv-ext": "^1.0.2",
- "angular-notifier": "^4.1.2",
- "angular-sortablejs": "^2.7.0",
- "angular-split": "^3.0.2",
- "angular-tree-component": "6.1.0",
- "chart.js": "2.6.0",
- "core-js": "^2.6.11",
- "d3": "^4.9.1",
- "dragula": "3.7.2",
- "file-saver": "^2.0.5",
- "firebase": "^6.6.2",
- "font-awesome": "4.7.0",
- "hammerjs": "2.0.8",
- "intl": "^1.2.4",
- "jquery": "^3.4.1",
- "karma-jasmine": "^1.1.1",
- "leaflet": "^1.7.1",
- "mat-table-exporter": "^1.2.5",
- "mat-video": "^2.7.2",
- "moment": "^2.24.0",
- "ng-pick-datetime": "^6.0.16",
- "ng2-charts": "1.6.0",
- "ng2-ckeditor": "^1.2.6",
- "ng2-dragula": "1.3.1",
- "ng2-file-upload": "1.2.1",
- "ng2-pdf-viewer": "5.2.3",
- "ng2-toastr": "^4.1.2",
- "ng2-validation": "4.2.0",
- "ngx-color-picker": "^4.0.3",
- "ngx-mat-daterange-picker": "^1.1.4",
- "ngx-mat-select-search": "^1.8.0",
- "ngx-perfect-scrollbar": "5.0.0-7",
- "ngx-socket-io": "^3.0.1",
- "ngx-spinner": "^7.2.0",
- "ngx-viewer": "^1.0.5",
- "node-sass": "^4.13.0",
- "perfect-scrollbar": "^1.3.0",
- "quill": "^1.3.7",
- "recordrtc": "^5.5.9",
- "rxjs": "^6.5.4",
- "rxjs-compat": "^6.5.4",
- "screenfull": "^3.2.2",
- "simple-line-icons": "^2.4.1",
- "sortablejs": "^1.10.0",
- "sweetalert2": "^7.33.1",
- "tether": "^1.4.7",
- "viewerjs": "^1.5.0",
- "xlsx": "^0.14.5",
- "zone.js": "^0.8.29"
- },
- "devDependencies": {
- "@angular-devkit/build-angular": "^0.12.4",
- "@angular/cli": "^6.2.9",
- "@angular/compiler-cli": "^6.0.0-rc.5",
- "@types/aws-sdk": "^2.7.0",
- "@types/jasmine": "2.5.52",
- "@types/jquery": "3.2.0",
- "@types/node": "^8.10.59",
- "aws-sdk": "^2.600.0",
- "codelyzer": "~4.1.0",
- "jasmine-core": "2.6.3",
- "jasmine-spec-reporter": "4.1.0",
- "karma": "1.7.0",
- "karma-chrome-launcher": "2.1.1",
- "karma-cli": "1.0.1",
- "karma-coverage-istanbul-reporter": "1.3.0",
- "karma-jasmine-html-reporter": "^0.2.2",
- "protractor": "5.1.2",
- "ts-node": "~5.0.0",
- "tslint": "~5.9.1",
- "typescript": "^2.7.2"
- }
- },
- "node_modules/@agm/core": {
- "version": "1.0.0-beta.2",
- "resolved": "https://registry.npmjs.org/@agm/core/-/core-1.0.0-beta.2.tgz",
- "integrity": "sha512-3bdfvkWDmJszpj/F6Fzgv7sks0cs/cUEQPfs37tcJFz3jc62SsXy4TGb/WJT8FpH2nSGE6DonP8lXuFxB0lblQ=="
- },
- "node_modules/@angular-devkit/architect": {
- "version": "0.12.4",
- "resolved": "https://registry.npmjs.org/@angular-devkit/architect/-/architect-0.12.4.tgz",
- "integrity": "sha512-19f3jbGyP+GzTSBgrHR4SWGK81SUgtTxhkAcyhmsIEDuXrMJM8kPu0HB9WivJ5p08+jzwz6xdF9mpNYSeD9uqw==",
- "dev": true,
- "dependencies": {
- "@angular-devkit/core": "7.2.4",
- "rxjs": "6.3.3"
- },
- "engines": {
- "node": ">= 8.9.0",
- "npm": ">= 5.5.1"
- }
- },
- "node_modules/@angular-devkit/architect/node_modules/rxjs": {
- "version": "6.3.3",
- "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.3.3.tgz",
- "integrity": "sha512-JTWmoY9tWCs7zvIk/CvRjhjGaOd+OVBM987mxFo+OW66cGpdKjZcpmc74ES1sB//7Kl/PAe8+wEakuhG4pcgOw==",
- "dev": true,
- "dependencies": {
- "tslib": "^1.9.0"
- },
- "engines": {
- "npm": ">=2.0.0"
- }
- },
- "node_modules/@angular-devkit/build-angular": {
- "version": "0.12.4",
- "resolved": "https://registry.npmjs.org/@angular-devkit/build-angular/-/build-angular-0.12.4.tgz",
- "integrity": "sha512-zzjpM9GpCGEUtTPv/T04CALzFXkTgAAiNt1whY1Vmtu2YYUksXOm1ysA2RBLEhb81RodTEwVV2zFUj5v2xHYEw==",
- "dev": true,
- "dependencies": {
- "@angular-devkit/architect": "0.12.4",
- "@angular-devkit/build-optimizer": "0.12.4",
- "@angular-devkit/build-webpack": "0.12.4",
- "@angular-devkit/core": "7.2.4",
- "@ngtools/webpack": "7.2.4",
- "ajv": "6.6.2",
- "autoprefixer": "9.4.3",
- "circular-dependency-plugin": "5.0.2",
- "clean-css": "4.2.1",
- "copy-webpack-plugin": "4.6.0",
- "file-loader": "2.0.0",
- "glob": "7.1.3",
- "istanbul": "0.4.5",
- "istanbul-instrumenter-loader": "3.0.1",
- "karma-source-map-support": "1.3.0",
- "less": "3.9.0",
- "less-loader": "4.1.0",
- "license-webpack-plugin": "2.0.4",
- "loader-utils": "1.1.0",
- "mini-css-extract-plugin": "0.4.4",
- "minimatch": "3.0.4",
- "opn": "5.4.0",
- "parse5": "4.0.0",
- "portfinder": "1.0.17",
- "postcss": "7.0.13",
- "postcss-import": "12.0.1",
- "postcss-loader": "3.0.0",
- "raw-loader": "0.5.1",
- "rxjs": "6.3.3",
- "sass-loader": "7.1.0",
- "semver": "5.5.1",
- "source-map-loader": "0.2.4",
- "source-map-support": "0.5.9",
- "speed-measure-webpack-plugin": "1.2.5",
- "stats-webpack-plugin": "0.7.0",
- "style-loader": "0.23.1",
- "stylus": "0.54.5",
- "stylus-loader": "3.0.2",
- "terser-webpack-plugin": "1.2.1",
- "tree-kill": "1.2.0",
- "webpack": "4.28.4",
- "webpack-dev-middleware": "3.4.0",
- "webpack-dev-server": "3.1.14",
- "webpack-merge": "4.1.4",
- "webpack-sources": "1.3.0",
- "webpack-subresource-integrity": "1.1.0-rc.6"
- },
- "engines": {
- "node": ">= 8.9.0",
- "npm": ">= 5.5.1"
- },
- "optionalDependencies": {
- "node-sass": "4.10.0"
- }
- },
- "node_modules/@angular-devkit/build-angular/node_modules/ajv": {
- "version": "6.6.2",
- "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.6.2.tgz",
- "integrity": "sha512-FBHEW6Jf5TB9MGBgUUA9XHkTbjXYfAUjY43ACMfmdMRHniyoMHjHjzD50OK8LGDWQwp4rWEsIq5kEqq7rvIM1g==",
- "dev": true,
- "dependencies": {
- "fast-deep-equal": "^2.0.1",
- "fast-json-stable-stringify": "^2.0.0",
- "json-schema-traverse": "^0.4.1",
- "uri-js": "^4.2.2"
- }
- },
- "node_modules/@angular-devkit/build-angular/node_modules/big.js": {
- "version": "3.2.0",
- "resolved": "https://registry.npmjs.org/big.js/-/big.js-3.2.0.tgz",
- "integrity": "sha512-+hN/Zh2D08Mx65pZ/4g5bsmNiZUuChDiQfTUQ7qJr4/kuopCr88xZsAXv6mBoZEsUI4OuGHlX59qE94K2mMW8Q==",
- "dev": true,
- "engines": {
- "node": "*"
- }
- },
- "node_modules/@angular-devkit/build-angular/node_modules/glob": {
- "version": "7.1.3",
- "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.3.tgz",
- "integrity": "sha512-vcfuiIxogLV4DlGBHIUOwI0IbrJ8HWPc4MU7HzviGeNho/UJDfi6B5p3sHeWIQ0KGIU0Jpxi5ZHxemQfLkkAwQ==",
- "dev": true,
- "dependencies": {
- "fs.realpath": "^1.0.0",
- "inflight": "^1.0.4",
- "inherits": "2",
- "minimatch": "^3.0.4",
- "once": "^1.3.0",
- "path-is-absolute": "^1.0.0"
- },
- "engines": {
- "node": "*"
- }
- },
- "node_modules/@angular-devkit/build-angular/node_modules/json5": {
- "version": "0.5.1",
- "resolved": "https://registry.npmjs.org/json5/-/json5-0.5.1.tgz",
- "integrity": "sha1-Hq3nrMASA0rYTiOWdn6tn6VJWCE=",
- "dev": true,
- "bin": {
- "json5": "lib/cli.js"
- }
- },
- "node_modules/@angular-devkit/build-angular/node_modules/loader-utils": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-1.1.0.tgz",
- "integrity": "sha1-yYrvSIvM7aL/teLeZG1qdUQp9c0=",
- "dev": true,
- "dependencies": {
- "big.js": "^3.1.3",
- "emojis-list": "^2.0.0",
- "json5": "^0.5.0"
- },
- "engines": {
- "node": ">=4.0.0"
- }
- },
- "node_modules/@angular-devkit/build-angular/node_modules/node-sass": {
- "version": "4.10.0",
- "resolved": "https://registry.npmjs.org/node-sass/-/node-sass-4.10.0.tgz",
- "integrity": "sha512-fDQJfXszw6vek63Fe/ldkYXmRYK/QS6NbvM3i5oEo9ntPDy4XX7BcKZyTKv+/kSSxRtXXc7l+MSwEmYc0CSy6Q==",
- "dev": true,
- "hasInstallScript": true,
- "optional": true,
- "dependencies": {
- "async-foreach": "^0.1.3",
- "chalk": "^1.1.1",
- "cross-spawn": "^3.0.0",
- "gaze": "^1.0.0",
- "get-stdin": "^4.0.1",
- "glob": "^7.0.3",
- "in-publish": "^2.0.0",
- "lodash.assign": "^4.2.0",
- "lodash.clonedeep": "^4.3.2",
- "lodash.mergewith": "^4.6.0",
- "meow": "^3.7.0",
- "mkdirp": "^0.5.1",
- "nan": "^2.10.0",
- "node-gyp": "^3.8.0",
- "npmlog": "^4.0.0",
- "request": "^2.88.0",
- "sass-graph": "^2.2.4",
- "stdout-stream": "^1.4.0",
- "true-case-path": "^1.0.2"
- },
- "bin": {
- "node-sass": "bin/node-sass"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/@angular-devkit/build-angular/node_modules/parse5": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/parse5/-/parse5-4.0.0.tgz",
- "integrity": "sha512-VrZ7eOd3T1Fk4XWNXMgiGBK/z0MG48BWG2uQNU4I72fkQuKUTZpl+u9k+CxEG0twMVzSmXEEz12z5Fnw1jIQFA==",
- "dev": true
- },
- "node_modules/@angular-devkit/build-angular/node_modules/rxjs": {
- "version": "6.3.3",
- "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.3.3.tgz",
- "integrity": "sha512-JTWmoY9tWCs7zvIk/CvRjhjGaOd+OVBM987mxFo+OW66cGpdKjZcpmc74ES1sB//7Kl/PAe8+wEakuhG4pcgOw==",
- "dev": true,
- "dependencies": {
- "tslib": "^1.9.0"
- },
- "engines": {
- "npm": ">=2.0.0"
- }
- },
- "node_modules/@angular-devkit/build-angular/node_modules/semver": {
- "version": "5.5.1",
- "resolved": "https://registry.npmjs.org/semver/-/semver-5.5.1.tgz",
- "integrity": "sha512-PqpAxfrEhlSUWge8dwIp4tZnQ25DIOthpiaHNIthsjEFQD6EvqUKUDM7L8O2rShkFccYo1VjJR0coWfNkCubRw==",
- "dev": true,
- "bin": {
- "semver": "bin/semver"
- }
- },
- "node_modules/@angular-devkit/build-optimizer": {
- "version": "0.12.4",
- "resolved": "https://registry.npmjs.org/@angular-devkit/build-optimizer/-/build-optimizer-0.12.4.tgz",
- "integrity": "sha512-KraU+ZARX7JMtttPjOku9wVF+dnjMsIbiIVsQrNXhpFiGT1fSJhQTPxc98ONgEmUiGROFXXq2mHLilvMr2WdwQ==",
- "dev": true,
- "dependencies": {
- "loader-utils": "1.1.0",
- "source-map": "0.5.6",
- "typescript": "3.2.4",
- "webpack-sources": "1.2.0"
- },
- "bin": {
- "build-optimizer": "src/build-optimizer/cli.js"
- },
- "engines": {
- "node": ">= 8.9.0",
- "npm": ">= 5.5.1"
- }
- },
- "node_modules/@angular-devkit/build-optimizer/node_modules/big.js": {
- "version": "3.2.0",
- "resolved": "https://registry.npmjs.org/big.js/-/big.js-3.2.0.tgz",
- "integrity": "sha512-+hN/Zh2D08Mx65pZ/4g5bsmNiZUuChDiQfTUQ7qJr4/kuopCr88xZsAXv6mBoZEsUI4OuGHlX59qE94K2mMW8Q==",
- "dev": true,
- "engines": {
- "node": "*"
- }
- },
- "node_modules/@angular-devkit/build-optimizer/node_modules/json5": {
- "version": "0.5.1",
- "resolved": "https://registry.npmjs.org/json5/-/json5-0.5.1.tgz",
- "integrity": "sha1-Hq3nrMASA0rYTiOWdn6tn6VJWCE=",
- "dev": true,
- "bin": {
- "json5": "lib/cli.js"
- }
- },
- "node_modules/@angular-devkit/build-optimizer/node_modules/loader-utils": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-1.1.0.tgz",
- "integrity": "sha1-yYrvSIvM7aL/teLeZG1qdUQp9c0=",
- "dev": true,
- "dependencies": {
- "big.js": "^3.1.3",
- "emojis-list": "^2.0.0",
- "json5": "^0.5.0"
- },
- "engines": {
- "node": ">=4.0.0"
- }
- },
- "node_modules/@angular-devkit/build-optimizer/node_modules/source-map": {
- "version": "0.5.6",
- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.6.tgz",
- "integrity": "sha1-dc449SvwczxafwwRjYEzSiu19BI=",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/@angular-devkit/build-optimizer/node_modules/typescript": {
- "version": "3.2.4",
- "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.2.4.tgz",
- "integrity": "sha512-0RNDbSdEokBeEAkgNbxJ+BLwSManFy9TeXz8uW+48j/xhEXv1ePME60olyzw2XzUqUBNAYFeJadIqAgNqIACwg==",
- "dev": true,
- "bin": {
- "tsc": "bin/tsc",
- "tsserver": "bin/tsserver"
- },
- "engines": {
- "node": ">=4.2.0"
- }
- },
- "node_modules/@angular-devkit/build-optimizer/node_modules/webpack-sources": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-1.2.0.tgz",
- "integrity": "sha512-9BZwxR85dNsjWz3blyxdOhTgtnQvv3OEs5xofI0wPYTwu5kaWxS08UuD1oI7WLBLpRO+ylf0ofnXLXWmGb2WMw==",
- "dev": true,
- "dependencies": {
- "source-list-map": "^2.0.0",
- "source-map": "~0.6.1"
- }
- },
- "node_modules/@angular-devkit/build-optimizer/node_modules/webpack-sources/node_modules/source-map": {
- "version": "0.6.1",
- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
- "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/@angular-devkit/build-webpack": {
- "version": "0.12.4",
- "resolved": "https://registry.npmjs.org/@angular-devkit/build-webpack/-/build-webpack-0.12.4.tgz",
- "integrity": "sha512-1+t2MUB+dq+1LbfTnvzZwj2QTWiugyMywXqYjsyt0rrh7VcriD1lQ+P5yN8kgFz/R7Ut4LgvS05yDX1JHi20qw==",
- "dev": true,
- "dependencies": {
- "@angular-devkit/architect": "0.12.4",
- "@angular-devkit/core": "7.2.4",
- "rxjs": "6.3.3"
- },
- "engines": {
- "node": ">= 8.9.0",
- "npm": ">= 5.5.1"
- }
- },
- "node_modules/@angular-devkit/build-webpack/node_modules/rxjs": {
- "version": "6.3.3",
- "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.3.3.tgz",
- "integrity": "sha512-JTWmoY9tWCs7zvIk/CvRjhjGaOd+OVBM987mxFo+OW66cGpdKjZcpmc74ES1sB//7Kl/PAe8+wEakuhG4pcgOw==",
- "dev": true,
- "dependencies": {
- "tslib": "^1.9.0"
- },
- "engines": {
- "npm": ">=2.0.0"
- }
- },
- "node_modules/@angular-devkit/core": {
- "version": "7.2.4",
- "resolved": "https://registry.npmjs.org/@angular-devkit/core/-/core-7.2.4.tgz",
- "integrity": "sha512-XHF59tIHg2qEM1Wd415xhykBLjjfOK6yMB7CjNk1bToUMX2QDT87izJF4y1Vwa0lIw9G0jdgP/4/M/OqXcbYmA==",
- "dev": true,
- "dependencies": {
- "ajv": "6.6.2",
- "chokidar": "2.0.4",
- "fast-json-stable-stringify": "2.0.0",
- "rxjs": "6.3.3",
- "source-map": "0.7.3"
- },
- "engines": {
- "node": ">= 8.9.0",
- "npm": ">= 5.5.1"
- }
- },
- "node_modules/@angular-devkit/core/node_modules/ajv": {
- "version": "6.6.2",
- "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.6.2.tgz",
- "integrity": "sha512-FBHEW6Jf5TB9MGBgUUA9XHkTbjXYfAUjY43ACMfmdMRHniyoMHjHjzD50OK8LGDWQwp4rWEsIq5kEqq7rvIM1g==",
- "dev": true,
- "dependencies": {
- "fast-deep-equal": "^2.0.1",
- "fast-json-stable-stringify": "^2.0.0",
- "json-schema-traverse": "^0.4.1",
- "uri-js": "^4.2.2"
- }
- },
- "node_modules/@angular-devkit/core/node_modules/fast-json-stable-stringify": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.0.0.tgz",
- "integrity": "sha1-1RQsDK7msRifh9OnYREGT4bIu/I=",
- "dev": true
- },
- "node_modules/@angular-devkit/core/node_modules/rxjs": {
- "version": "6.3.3",
- "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.3.3.tgz",
- "integrity": "sha512-JTWmoY9tWCs7zvIk/CvRjhjGaOd+OVBM987mxFo+OW66cGpdKjZcpmc74ES1sB//7Kl/PAe8+wEakuhG4pcgOw==",
- "dev": true,
- "dependencies": {
- "tslib": "^1.9.0"
- },
- "engines": {
- "npm": ">=2.0.0"
- }
- },
- "node_modules/@angular-devkit/core/node_modules/source-map": {
- "version": "0.7.3",
- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.3.tgz",
- "integrity": "sha512-CkCj6giN3S+n9qrYiBTX5gystlENnRW5jZeNLHpe6aue+SrHcG5VYwujhW9s4dY31mEGsxBDrHR6oI69fTXsaQ==",
- "dev": true,
- "engines": {
- "node": ">= 8"
- }
- },
- "node_modules/@angular-devkit/schematics": {
- "version": "0.8.9",
- "resolved": "https://registry.npmjs.org/@angular-devkit/schematics/-/schematics-0.8.9.tgz",
- "integrity": "sha512-JZiK1aHJUFV6xDtUMBLoH3cLgi7EtR1bXjNqqa11MAjnHMqzm2GBazPvzGkMwVbCxC1sdYgswwGX9GS2tpHawA==",
- "dev": true,
- "dependencies": {
- "@angular-devkit/core": "0.8.9",
- "rxjs": "6.2.2"
- },
- "engines": {
- "node": ">= 8.9.0",
- "npm": ">= 5.5.1"
- }
- },
- "node_modules/@angular-devkit/schematics/node_modules/@angular-devkit/core": {
- "version": "0.8.9",
- "resolved": "https://registry.npmjs.org/@angular-devkit/core/-/core-0.8.9.tgz",
- "integrity": "sha512-Umax3YKBPTQy360TeoSNaIIOJOKoXvN/S2WNTV8wDjSWWNiWLTIlckWMb9DVsafAifjUi0mtOLRFuM4YatKgTw==",
- "dev": true,
- "dependencies": {
- "ajv": "6.4.0",
- "chokidar": "2.0.4",
- "rxjs": "6.2.2",
- "source-map": "0.5.7"
- },
- "engines": {
- "node": ">= 8.9.0",
- "npm": ">= 5.5.1"
- }
- },
- "node_modules/@angular-devkit/schematics/node_modules/ajv": {
- "version": "6.4.0",
- "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.4.0.tgz",
- "integrity": "sha1-06/3jpJ3VJdx2vAWTP9ISCt1T8Y=",
- "dev": true,
- "dependencies": {
- "fast-deep-equal": "^1.0.0",
- "fast-json-stable-stringify": "^2.0.0",
- "json-schema-traverse": "^0.3.0",
- "uri-js": "^3.0.2"
- }
- },
- "node_modules/@angular-devkit/schematics/node_modules/fast-deep-equal": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-1.1.0.tgz",
- "integrity": "sha1-wFNHeBfIa1HaqFPIHgWbcz0CNhQ=",
- "dev": true
- },
- "node_modules/@angular-devkit/schematics/node_modules/json-schema-traverse": {
- "version": "0.3.1",
- "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.3.1.tgz",
- "integrity": "sha1-NJptRMU6Ud6JtAgFxdXlm0F9M0A=",
- "dev": true
- },
- "node_modules/@angular-devkit/schematics/node_modules/rxjs": {
- "version": "6.2.2",
- "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.2.2.tgz",
- "integrity": "sha512-0MI8+mkKAXZUF9vMrEoPnaoHkfzBPP4IGwUYRJhIRJF6/w3uByO1e91bEHn8zd43RdkTMKiooYKmwz7RH6zfOQ==",
- "dev": true,
- "dependencies": {
- "tslib": "^1.9.0"
- },
- "engines": {
- "npm": ">=2.0.0"
- }
- },
- "node_modules/@angular-devkit/schematics/node_modules/source-map": {
- "version": "0.5.7",
- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
- "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/@angular-devkit/schematics/node_modules/uri-js": {
- "version": "3.0.2",
- "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-3.0.2.tgz",
- "integrity": "sha1-+QuFhQf4HepNz7s8TD2/orVX+qo=",
- "dev": true,
- "dependencies": {
- "punycode": "^2.1.0"
- }
- },
- "node_modules/@angular/animations": {
- "version": "6.1.10",
- "resolved": "https://registry.npmjs.org/@angular/animations/-/animations-6.1.10.tgz",
- "integrity": "sha512-dd/lq7kw3uwfHPICan8psu2nthuUpp7PvMLuNIm0XxObZ4oNs0ls6uxKEDPnEkRKoGdiJpvmsyzZZN9ACMPEAA==",
- "dependencies": {
- "tslib": "^1.9.0"
- }
- },
- "node_modules/@angular/cdk": {
- "version": "6.4.7",
- "resolved": "https://registry.npmjs.org/@angular/cdk/-/cdk-6.4.7.tgz",
- "integrity": "sha512-18x0U66fLD5kGQWZ9n3nb75xQouXlWs7kUDaTd8HTrHpT1s2QIAqlLd1KxfrYiVhsEC2jPQaoiae7VnBlcvkBg==",
- "dependencies": {
- "tslib": "^1.7.1"
- }
- },
- "node_modules/@angular/cli": {
- "version": "6.2.9",
- "resolved": "https://registry.npmjs.org/@angular/cli/-/cli-6.2.9.tgz",
- "integrity": "sha512-4xuTbmMKGx1bMi0KA3Xmtx/emy10wlSwTXoUijlhd2tcWmlI2wRjAYjR7efSbFo8dVskiq0CyAVFWr1IanYQZw==",
- "dev": true,
- "dependencies": {
- "@angular-devkit/architect": "0.8.9",
- "@angular-devkit/core": "0.8.9",
- "@angular-devkit/schematics": "0.8.9",
- "@schematics/angular": "0.8.9",
- "@schematics/update": "0.8.9",
- "@yarnpkg/lockfile": "1.1.0",
- "ini": "1.3.5",
- "json-schema-traverse": "0.4.1",
- "npm-package-arg": "6.1.0",
- "opn": "5.4.0",
- "pacote": "9.2.3",
- "rxjs": "6.2.2",
- "semver": "5.6.0",
- "symbol-observable": "1.2.0",
- "yargs-parser": "10.1.0"
- },
- "bin": {
- "ng": "bin/ng"
- },
- "engines": {
- "node": ">= 8.9.0",
- "npm": ">= 5.5.1"
- }
- },
- "node_modules/@angular/cli/node_modules/@angular-devkit/architect": {
- "version": "0.8.9",
- "resolved": "https://registry.npmjs.org/@angular-devkit/architect/-/architect-0.8.9.tgz",
- "integrity": "sha512-2tiGPkvJyFY/G3a27uC8r6Jj3H5m8SxjMqhjNUQ5AtNumweTBPt3YIYMNAvHUmxG0nA9upDolVXFmoQGK9AhKQ==",
- "dev": true,
- "dependencies": {
- "@angular-devkit/core": "0.8.9",
- "rxjs": "6.2.2"
- },
- "engines": {
- "node": ">= 8.9.0",
- "npm": ">= 5.5.1"
- }
- },
- "node_modules/@angular/cli/node_modules/@angular-devkit/core": {
- "version": "0.8.9",
- "resolved": "https://registry.npmjs.org/@angular-devkit/core/-/core-0.8.9.tgz",
- "integrity": "sha512-Umax3YKBPTQy360TeoSNaIIOJOKoXvN/S2WNTV8wDjSWWNiWLTIlckWMb9DVsafAifjUi0mtOLRFuM4YatKgTw==",
- "dev": true,
- "dependencies": {
- "ajv": "6.4.0",
- "chokidar": "2.0.4",
- "rxjs": "6.2.2",
- "source-map": "0.5.7"
- },
- "engines": {
- "node": ">= 8.9.0",
- "npm": ">= 5.5.1"
- }
- },
- "node_modules/@angular/cli/node_modules/ajv": {
- "version": "6.4.0",
- "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.4.0.tgz",
- "integrity": "sha1-06/3jpJ3VJdx2vAWTP9ISCt1T8Y=",
- "dev": true,
- "dependencies": {
- "fast-deep-equal": "^1.0.0",
- "fast-json-stable-stringify": "^2.0.0",
- "json-schema-traverse": "^0.3.0",
- "uri-js": "^3.0.2"
- }
- },
- "node_modules/@angular/cli/node_modules/ajv/node_modules/json-schema-traverse": {
- "version": "0.3.1",
- "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.3.1.tgz",
- "integrity": "sha1-NJptRMU6Ud6JtAgFxdXlm0F9M0A=",
- "dev": true
- },
- "node_modules/@angular/cli/node_modules/camelcase": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-4.1.0.tgz",
- "integrity": "sha1-1UVjW+HjPFQmScaRc+Xeas+uNN0=",
- "dev": true,
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/@angular/cli/node_modules/fast-deep-equal": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-1.1.0.tgz",
- "integrity": "sha1-wFNHeBfIa1HaqFPIHgWbcz0CNhQ=",
- "dev": true
- },
- "node_modules/@angular/cli/node_modules/rxjs": {
- "version": "6.2.2",
- "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.2.2.tgz",
- "integrity": "sha512-0MI8+mkKAXZUF9vMrEoPnaoHkfzBPP4IGwUYRJhIRJF6/w3uByO1e91bEHn8zd43RdkTMKiooYKmwz7RH6zfOQ==",
- "dev": true,
- "dependencies": {
- "tslib": "^1.9.0"
- },
- "engines": {
- "npm": ">=2.0.0"
- }
- },
- "node_modules/@angular/cli/node_modules/semver": {
- "version": "5.6.0",
- "resolved": "https://registry.npmjs.org/semver/-/semver-5.6.0.tgz",
- "integrity": "sha512-RS9R6R35NYgQn++fkDWaOmqGoj4Ek9gGs+DPxNUZKuwE183xjJroKvyo1IzVFeXvUrvmALy6FWD5xrdJT25gMg==",
- "dev": true,
- "bin": {
- "semver": "bin/semver"
- }
- },
- "node_modules/@angular/cli/node_modules/source-map": {
- "version": "0.5.7",
- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
- "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/@angular/cli/node_modules/uri-js": {
- "version": "3.0.2",
- "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-3.0.2.tgz",
- "integrity": "sha1-+QuFhQf4HepNz7s8TD2/orVX+qo=",
- "dev": true,
- "dependencies": {
- "punycode": "^2.1.0"
- }
- },
- "node_modules/@angular/cli/node_modules/yargs-parser": {
- "version": "10.1.0",
- "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-10.1.0.tgz",
- "integrity": "sha512-VCIyR1wJoEBZUqk5PA+oOBF6ypbwh5aNB3I50guxAL/quggdfs4TtNHQrSazFA3fYZ+tEqfs0zIGlv0c/rgjbQ==",
- "dev": true,
- "dependencies": {
- "camelcase": "^4.1.0"
- }
- },
- "node_modules/@angular/common": {
- "version": "6.1.10",
- "resolved": "https://registry.npmjs.org/@angular/common/-/common-6.1.10.tgz",
- "integrity": "sha512-73xxTSYJNKfiJ7C1Ajg+sz5l8y+blb/vNgHYg7O3yem5zLBnfPpidJ1UGg4W4d2Y+jwUVJbZKh8SKJarqAJVUQ==",
- "dependencies": {
- "tslib": "^1.9.0"
- }
- },
- "node_modules/@angular/compiler": {
- "version": "6.1.10",
- "resolved": "https://registry.npmjs.org/@angular/compiler/-/compiler-6.1.10.tgz",
- "integrity": "sha512-FPIb2j3zfoBwb6vo/u0gQeu70h8InGlSisBr3xMACs/35/pwB6kbQR+JQiUr0D7k6QApg7AuMkvq8aFNelg0aw==",
- "dependencies": {
- "tslib": "^1.9.0"
- }
- },
- "node_modules/@angular/compiler-cli": {
- "version": "6.1.10",
- "resolved": "https://registry.npmjs.org/@angular/compiler-cli/-/compiler-cli-6.1.10.tgz",
- "integrity": "sha512-GCWdyeNQSnF4RfzO4A0+WHsNEgxKpl5arg4ldLSWMNkj/DrhMD4TnmxhR+IVY+7ieMkUBwpcuWRnjdOdnbmV+w==",
- "dev": true,
- "dependencies": {
- "chokidar": "^1.4.2",
- "minimist": "^1.2.0",
- "reflect-metadata": "^0.1.2",
- "tsickle": "^0.32.1"
- },
- "bin": {
- "ng-xi18n": "src/extract_i18n.js",
- "ngc": "src/main.js"
- },
- "engines": {
- "node": ">=8.0"
- }
- },
- "node_modules/@angular/compiler-cli/node_modules/anymatch": {
- "version": "1.3.2",
- "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-1.3.2.tgz",
- "integrity": "sha512-0XNayC8lTHQ2OI8aljNCN3sSx6hsr/1+rlcDAotXJR7C1oZZHCNsfpbKwMjRA3Uqb5tF1Rae2oloTr4xpq+WjA==",
- "dev": true,
- "dependencies": {
- "micromatch": "^2.1.5",
- "normalize-path": "^2.0.0"
- }
- },
- "node_modules/@angular/compiler-cli/node_modules/arr-diff": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-2.0.0.tgz",
- "integrity": "sha1-jzuCf5Vai9ZpaX5KQlasPOrjVs8=",
- "dev": true,
- "dependencies": {
- "arr-flatten": "^1.0.1"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/@angular/compiler-cli/node_modules/array-unique": {
- "version": "0.2.1",
- "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.2.1.tgz",
- "integrity": "sha1-odl8yvy8JiXMcPrc6zalDFiwGlM=",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/@angular/compiler-cli/node_modules/braces": {
- "version": "1.8.5",
- "resolved": "https://registry.npmjs.org/braces/-/braces-1.8.5.tgz",
- "integrity": "sha1-uneWLhLf+WnWt2cR6RS3N4V79qc=",
- "dev": true,
- "dependencies": {
- "expand-range": "^1.8.1",
- "preserve": "^0.2.0",
- "repeat-element": "^1.1.2"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/@angular/compiler-cli/node_modules/chokidar": {
- "version": "1.7.0",
- "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-1.7.0.tgz",
- "integrity": "sha1-eY5ol3gVHIB2tLNg5e3SjNortGg=",
- "dev": true,
- "dependencies": {
- "anymatch": "^1.3.0",
- "async-each": "^1.0.0",
- "glob-parent": "^2.0.0",
- "inherits": "^2.0.1",
- "is-binary-path": "^1.0.0",
- "is-glob": "^2.0.0",
- "path-is-absolute": "^1.0.0",
- "readdirp": "^2.0.0"
- },
- "optionalDependencies": {
- "fsevents": "^1.0.0"
- }
- },
- "node_modules/@angular/compiler-cli/node_modules/expand-brackets": {
- "version": "0.1.5",
- "resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-0.1.5.tgz",
- "integrity": "sha1-3wcoTjQqgHzXM6xa9yQR5YHRF3s=",
- "dev": true,
- "dependencies": {
- "is-posix-bracket": "^0.1.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/@angular/compiler-cli/node_modules/extglob": {
- "version": "0.3.2",
- "resolved": "https://registry.npmjs.org/extglob/-/extglob-0.3.2.tgz",
- "integrity": "sha1-Lhj/PS9JqydlzskCPwEdqo2DSaE=",
- "dev": true,
- "dependencies": {
- "is-extglob": "^1.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/@angular/compiler-cli/node_modules/glob-parent": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-2.0.0.tgz",
- "integrity": "sha1-gTg9ctsFT8zPUzbaqQLxgvbtuyg=",
- "dev": true,
- "dependencies": {
- "is-glob": "^2.0.0"
- }
- },
- "node_modules/@angular/compiler-cli/node_modules/is-extglob": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-1.0.0.tgz",
- "integrity": "sha1-rEaBd8SUNAWgkvyPKXYMb/xiBsA=",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/@angular/compiler-cli/node_modules/is-glob": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-2.0.1.tgz",
- "integrity": "sha1-0Jb5JqPe1WAPP9/ZEZjLCIjC2GM=",
- "dev": true,
- "dependencies": {
- "is-extglob": "^1.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/@angular/compiler-cli/node_modules/kind-of": {
- "version": "3.2.2",
- "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz",
- "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=",
- "dev": true,
- "dependencies": {
- "is-buffer": "^1.1.5"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/@angular/compiler-cli/node_modules/micromatch": {
- "version": "2.3.11",
- "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-2.3.11.tgz",
- "integrity": "sha1-hmd8l9FyCzY0MdBNDRUpO9OMFWU=",
- "dev": true,
- "dependencies": {
- "arr-diff": "^2.0.0",
- "array-unique": "^0.2.1",
- "braces": "^1.8.2",
- "expand-brackets": "^0.1.4",
- "extglob": "^0.3.1",
- "filename-regex": "^2.0.0",
- "is-extglob": "^1.0.0",
- "is-glob": "^2.0.1",
- "kind-of": "^3.0.2",
- "normalize-path": "^2.0.1",
- "object.omit": "^2.0.0",
- "parse-glob": "^3.0.4",
- "regex-cache": "^0.4.2"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/@angular/core": {
- "version": "6.1.10",
- "resolved": "https://registry.npmjs.org/@angular/core/-/core-6.1.10.tgz",
- "integrity": "sha512-61l3rIQTVdT45eOf6/fBJIeVmV10mcrxqS4N/1OWkuDT29YSJTZSxGcv8QjAyyutuhcqWWpO6gVRkN07rWmkPg==",
- "dependencies": {
- "tslib": "^1.9.0"
- }
- },
- "node_modules/@angular/fire": {
- "version": "5.4.0",
- "resolved": "https://registry.npmjs.org/@angular/fire/-/fire-5.4.0.tgz",
- "integrity": "sha512-067oatMtDbNKEWNdZoMWqKOzPpp0r8XZvpL1bcH6PO+q62ceJ2ig46ne1UqJP2nHRyXNAtIyJp7VhVoG4gRPiA=="
- },
- "node_modules/@angular/flex-layout": {
- "version": "6.0.0-beta.18",
- "resolved": "https://registry.npmjs.org/@angular/flex-layout/-/flex-layout-6.0.0-beta.18.tgz",
- "integrity": "sha512-1Alv3YSIZYp0CTUIESIaSQLoSVyLzuNKPa5bGM/RzOmeSrndm5plVgI9wopGfJUDiwM18R97rq/4XjDvNT/+ig==",
- "dependencies": {
- "tslib": "^1.7.1"
- }
- },
- "node_modules/@angular/forms": {
- "version": "6.1.10",
- "resolved": "https://registry.npmjs.org/@angular/forms/-/forms-6.1.10.tgz",
- "integrity": "sha512-zAPx2kMV1/FbP5DrY472Sd/ze1m+GS6T5ullZCtP392r62p2RkwzDCXieR51YiRJjZj3M6c3AcRND7PWBdXT7A==",
- "dependencies": {
- "tslib": "^1.9.0"
- }
- },
- "node_modules/@angular/http": {
- "version": "6.0.0-rc.6",
- "resolved": "https://registry.npmjs.org/@angular/http/-/http-6.0.0-rc.6.tgz",
- "integrity": "sha512-DYcRixOY18qfWLe4+384QPyGsh0znOvbTePT5dJvGPiuR77rmzggPDA7tW+hyZ3y+0Nk4QuRVPbFQZdACjHpyw==",
- "dependencies": {
- "tslib": "^1.9.0"
- }
- },
- "node_modules/@angular/material": {
- "version": "6.4.7",
- "resolved": "https://registry.npmjs.org/@angular/material/-/material-6.4.7.tgz",
- "integrity": "sha512-SdNx7Xovi24Kw9eU6lkLhY/7f2M7L9F+/uh6XuPr4jbGgCUVVpeeVI5ztZhsZRbj1sN+/r1p5w8u62apWWl5Ww==",
- "dependencies": {
- "tslib": "^1.7.1"
- },
- "optionalDependencies": {
- "parse5": "^5.0.0"
- }
- },
- "node_modules/@angular/material-moment-adapter": {
- "version": "6.4.7",
- "resolved": "https://registry.npmjs.org/@angular/material-moment-adapter/-/material-moment-adapter-6.4.7.tgz",
- "integrity": "sha512-OGdDtpu/yRioOQXhJFCNuiOF2OgiL9VUj8ewFPi1lDtFGUFfVwU2h3hWkKLn+yuPW+DBVYla11tCNsn5dLElmA==",
- "dependencies": {
- "tslib": "^1.7.1"
- }
- },
- "node_modules/@angular/platform-browser": {
- "version": "6.1.10",
- "resolved": "https://registry.npmjs.org/@angular/platform-browser/-/platform-browser-6.1.10.tgz",
- "integrity": "sha512-CB7pqMwtgb7KjdHDAJlsXcs0rrU+2xQVaoOaqEfJtUrKhtGMLaZh8Qoic5l92SoGattkOw7SYarAOsWlAsVfvw==",
- "dependencies": {
- "tslib": "^1.9.0"
- }
- },
- "node_modules/@angular/platform-browser-dynamic": {
- "version": "6.1.10",
- "resolved": "https://registry.npmjs.org/@angular/platform-browser-dynamic/-/platform-browser-dynamic-6.1.10.tgz",
- "integrity": "sha512-DmBSUyFPoyKqkmBXyJ2CrP1oXDioeoBlPA8lmWUDUv2yBuoHIzIkdY/OkTZbdyu/QYa1hK2Jl9OlfoeoenKddg==",
- "dependencies": {
- "tslib": "^1.9.0"
- }
- },
- "node_modules/@angular/router": {
- "version": "6.1.10",
- "resolved": "https://registry.npmjs.org/@angular/router/-/router-6.1.10.tgz",
- "integrity": "sha512-tekI3dkdvd65oMoxjjgRA+16uDgPUBWHhYxids6pgO8vobZNtCo8VaVlcDyLUhdmtS5kONELx0iL5E2M0Y2Bag==",
- "dependencies": {
- "tslib": "^1.9.0"
- }
- },
- "node_modules/@firebase/app": {
- "version": "0.4.17",
- "resolved": "https://registry.npmjs.org/@firebase/app/-/app-0.4.17.tgz",
- "integrity": "sha512-YkCe10/KHnfJ5Lx79SCQ4ZJRlpnwe8Yns6Ntf7kltXq1hCQCUrKEU3zaOTPY90SBx36hYm47IaqkKwT/kBOK3A==",
- "dependencies": {
- "@firebase/app-types": "0.4.3",
- "@firebase/logger": "0.1.25",
- "@firebase/util": "0.2.28",
- "dom-storage": "2.1.0",
- "tslib": "1.10.0",
- "xmlhttprequest": "1.8.0"
- }
- },
- "node_modules/@firebase/app-types": {
- "version": "0.4.3",
- "resolved": "https://registry.npmjs.org/@firebase/app-types/-/app-types-0.4.3.tgz",
- "integrity": "sha512-VU5c+ZjejvefLVH4cjiX3Hy1w9HYMv7TtZ1tF9ZmOqT4DSIU1a3VISWoo8///cGGffr5IirMO+Q/WZLI4p8VcA=="
- },
- "node_modules/@firebase/auth": {
- "version": "0.12.0",
- "resolved": "https://registry.npmjs.org/@firebase/auth/-/auth-0.12.0.tgz",
- "integrity": "sha512-DGYvAmz2aUmrWYS3ADw/UmsuicxJi6G+X38XITqNPUrd1YxmM5SBzX19oEb9WCrJZXcr4JaESg6hQkT2yEPaCA==",
- "dependencies": {
- "@firebase/auth-types": "0.8.0"
- }
- },
- "node_modules/@firebase/auth-types": {
- "version": "0.8.0",
- "resolved": "https://registry.npmjs.org/@firebase/auth-types/-/auth-types-0.8.0.tgz",
- "integrity": "sha512-foQHhvyB0RR+mb/+wmHXd/VOU+D8fruFEW1k79Q9wzyTPpovMBa1Mcns5fwEWBhUfi8bmoEtaGB8RSAHnTFzTg=="
- },
- "node_modules/@firebase/database": {
- "version": "0.5.4",
- "resolved": "https://registry.npmjs.org/@firebase/database/-/database-0.5.4.tgz",
- "integrity": "sha512-Hz1Bi3fzIcNNocE4EhvvwoEQGurG2BGssWD3/6a2bzty+K1e57SLea2Ied8QYNBUU1zt/4McHfa3Y71EQIyn/w==",
- "dependencies": {
- "@firebase/database-types": "0.4.3",
- "@firebase/logger": "0.1.25",
- "@firebase/util": "0.2.28",
- "faye-websocket": "0.11.3",
- "tslib": "1.10.0"
- }
- },
- "node_modules/@firebase/database-types": {
- "version": "0.4.3",
- "resolved": "https://registry.npmjs.org/@firebase/database-types/-/database-types-0.4.3.tgz",
- "integrity": "sha512-21yCiJA2Tyt6dJYwWeB69MwoawBu5UWNtP6MAY0ugyRBHVdjAMHMYalPxCjZ46LAmhfim0+i8NXRadOFVS3hUA==",
- "dependencies": {
- "@firebase/app-types": "0.x"
- }
- },
- "node_modules/@firebase/firestore": {
- "version": "1.5.3",
- "resolved": "https://registry.npmjs.org/@firebase/firestore/-/firestore-1.5.3.tgz",
- "integrity": "sha512-O/yAbXpitOA6g627cUl0/FHYlkTy1EiEKMKOlnlMOJF2fH+nLVZREXjsrCC7N2tIvTn7yYwfpZ4zpSNvrhwiTA==",
- "dependencies": {
- "@firebase/firestore-types": "1.5.0",
- "@firebase/logger": "0.1.25",
- "@firebase/util": "0.2.28",
- "@firebase/webchannel-wrapper": "0.2.26",
- "@grpc/proto-loader": "^0.5.0",
- "grpc": "1.23.3",
- "tslib": "1.10.0"
- }
- },
- "node_modules/@firebase/firestore-types": {
- "version": "1.5.0",
- "resolved": "https://registry.npmjs.org/@firebase/firestore-types/-/firestore-types-1.5.0.tgz",
- "integrity": "sha512-VhRHNbEbak+R2iK8e1ir2Lec7eaHMZpGTRy6LMtzATYthlkwNHF9tO8JU8l6d1/kYkI4+DWzX++i3HhTziHEWA=="
- },
- "node_modules/@firebase/functions": {
- "version": "0.4.18",
- "resolved": "https://registry.npmjs.org/@firebase/functions/-/functions-0.4.18.tgz",
- "integrity": "sha512-N/ijwpxJy26kOErYIi5QS8pQgMZEuEMF/zDaNmgqcoN3J8P52NhBnVQZnIl+U4W96nQfNiURhSwXEERHFyvSZQ==",
- "dependencies": {
- "@firebase/functions-types": "0.3.8",
- "@firebase/messaging-types": "0.3.2",
- "isomorphic-fetch": "2.2.1",
- "tslib": "1.10.0"
- }
- },
- "node_modules/@firebase/functions-types": {
- "version": "0.3.8",
- "resolved": "https://registry.npmjs.org/@firebase/functions-types/-/functions-types-0.3.8.tgz",
- "integrity": "sha512-9hajHxA4UWVCGFmoL8PBYHpamE3JTNjObieMmnvZw3cMRTP2EwipMpzZi+GPbMlA/9swF9yHCY/XFAEkwbvdgQ=="
- },
- "node_modules/@firebase/installations": {
- "version": "0.2.7",
- "resolved": "https://registry.npmjs.org/@firebase/installations/-/installations-0.2.7.tgz",
- "integrity": "sha512-67tzowHVwRBtEuB1HLMD+fCdoRyinOQlMKBes7UwrtZIVd0CPDUqAKxNqup5EypWZb7O2tqFtRzK7POajfSNMA==",
- "dependencies": {
- "@firebase/installations-types": "0.1.2",
- "@firebase/util": "0.2.28",
- "idb": "3.0.2",
- "tslib": "1.10.0"
- }
- },
- "node_modules/@firebase/installations-types": {
- "version": "0.1.2",
- "resolved": "https://registry.npmjs.org/@firebase/installations-types/-/installations-types-0.1.2.tgz",
- "integrity": "sha512-fQaWIW8hyX1XUN7+FCSPjvM1agFjGidVuF4Sxi7aFwfyh5t+4fD2VpM4wCQbWmodnx4fZLvsuQd9mkxxU+lGYQ=="
- },
- "node_modules/@firebase/logger": {
- "version": "0.1.25",
- "resolved": "https://registry.npmjs.org/@firebase/logger/-/logger-0.1.25.tgz",
- "integrity": "sha512-/lRhuepVcCCnQ2jcO5Hr08SYdmZDTQU9fdPdzg+qXJ9k/QnIrD2RbswXQcL6mmae3uPpX7fFXQAoScJ9pzp50w=="
- },
- "node_modules/@firebase/messaging": {
- "version": "0.4.11",
- "resolved": "https://registry.npmjs.org/@firebase/messaging/-/messaging-0.4.11.tgz",
- "integrity": "sha512-KYt479yio6ThkV7Pb9LRB1KPIBio+OR4RozwyoLC1ZSVQdTIrd/sVEuDSzYY88Wh/6Kg6ejdu2z6mfWG9l1ZaQ==",
- "dependencies": {
- "@firebase/messaging-types": "0.3.2",
- "@firebase/util": "0.2.28",
- "tslib": "1.10.0"
- }
- },
- "node_modules/@firebase/messaging-types": {
- "version": "0.3.2",
- "resolved": "https://registry.npmjs.org/@firebase/messaging-types/-/messaging-types-0.3.2.tgz",
- "integrity": "sha512-2qa2qNKqpalmtwaUV3+wQqfCm5myP/dViIBv+pXF8HinemIfO1IPQtr9pCNfsSYyus78qEhtfldnPWXxUH5v0w=="
- },
- "node_modules/@firebase/performance": {
- "version": "0.2.19",
- "resolved": "https://registry.npmjs.org/@firebase/performance/-/performance-0.2.19.tgz",
- "integrity": "sha512-dINWwR/XcSiSnFNNX7QWfec8bymiXk1Zp6mPyPN+R9ONMrpDbygQUy06oT/6r/xx9nHG4Za6KMUJag3sWNKqnQ==",
- "dependencies": {
- "@firebase/installations": "0.2.7",
- "@firebase/logger": "0.1.25",
- "@firebase/performance-types": "0.0.3",
- "@firebase/util": "0.2.28",
- "tslib": "1.10.0"
- }
- },
- "node_modules/@firebase/performance-types": {
- "version": "0.0.3",
- "resolved": "https://registry.npmjs.org/@firebase/performance-types/-/performance-types-0.0.3.tgz",
- "integrity": "sha512-RuC63nYJPJU65AsrNMc3fTRcRgHiyNcQLh9ufeKUT1mEsFgpxr167gMb+tpzNU4jsbvM6+c6nQAFdHpqcGkRlQ=="
- },
- "node_modules/@firebase/polyfill": {
- "version": "0.3.22",
- "resolved": "https://registry.npmjs.org/@firebase/polyfill/-/polyfill-0.3.22.tgz",
- "integrity": "sha512-PYbEqDHJhJJoF2Q5IB/oP0Tz6O2vSUPtODy9kUQibi+T0bK1gkTaySPwz8GAgHfIpFNENj1kK+7Xpf87R8bYbw==",
- "dependencies": {
- "core-js": "3.2.1",
- "promise-polyfill": "8.1.3",
- "whatwg-fetch": "2.0.4"
- }
- },
- "node_modules/@firebase/polyfill/node_modules/core-js": {
- "version": "3.2.1",
- "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.2.1.tgz",
- "integrity": "sha512-Qa5XSVefSVPRxy2XfUC13WbvqkxhkwB3ve+pgCQveNgYzbM/UxZeu1dcOX/xr4UmfUd+muuvsaxilQzCyUurMw=="
- },
- "node_modules/@firebase/polyfill/node_modules/whatwg-fetch": {
- "version": "2.0.4",
- "resolved": "https://registry.npmjs.org/whatwg-fetch/-/whatwg-fetch-2.0.4.tgz",
- "integrity": "sha512-dcQ1GWpOD/eEQ97k66aiEVpNnapVj90/+R+SXTPYGHpYBBypfKJEQjLrvMZ7YXbKm21gXd4NcuxUTjiv1YtLng=="
- },
- "node_modules/@firebase/storage": {
- "version": "0.3.12",
- "resolved": "https://registry.npmjs.org/@firebase/storage/-/storage-0.3.12.tgz",
- "integrity": "sha512-8hXt3qPZlVH+yPF4W9Dc15/gBiTPGUJUgYs3dH9WnO41QWl1o4aNlZpZK/pdnpCIO1GmN0+PxJW9TCNb0H0Hqw==",
- "dependencies": {
- "@firebase/storage-types": "0.3.3",
- "@firebase/util": "0.2.28",
- "tslib": "1.10.0"
- }
- },
- "node_modules/@firebase/storage-types": {
- "version": "0.3.3",
- "resolved": "https://registry.npmjs.org/@firebase/storage-types/-/storage-types-0.3.3.tgz",
- "integrity": "sha512-fUp4kpbxwDiWs/aIBJqBvXgFHZvgoND2JA0gJYSEsXtWtVwfgzY/710plErgZDeQKopX5eOR1sHskZkQUy0U6w=="
- },
- "node_modules/@firebase/util": {
- "version": "0.2.28",
- "resolved": "https://registry.npmjs.org/@firebase/util/-/util-0.2.28.tgz",
- "integrity": "sha512-ZQMAWtXj8y5kvB6izs0aTM/jG+WO8HpqhXA/EwD6LckJ+1P5LnAhaLZt1zR4HpuCE+jeP5I32Id5RJ/aifFs6A==",
- "dependencies": {
- "tslib": "1.10.0"
- }
- },
- "node_modules/@firebase/webchannel-wrapper": {
- "version": "0.2.26",
- "resolved": "https://registry.npmjs.org/@firebase/webchannel-wrapper/-/webchannel-wrapper-0.2.26.tgz",
- "integrity": "sha512-VlTurkvs4v7EVFWESBZGOPghFEokQhU5au5CP9WqA8B2/PcQRDsaaQlQCA6VATuEnW+vtSiSBvTiOc4004f8xg=="
- },
- "node_modules/@grpc/proto-loader": {
- "version": "0.5.3",
- "resolved": "https://registry.npmjs.org/@grpc/proto-loader/-/proto-loader-0.5.3.tgz",
- "integrity": "sha512-8qvUtGg77G2ZT2HqdqYoM/OY97gQd/0crSG34xNmZ4ZOsv3aQT/FQV9QfZPazTGna6MIoyUd+u6AxsoZjJ/VMQ==",
- "dependencies": {
- "lodash.camelcase": "^4.3.0",
- "protobufjs": "^6.8.6"
- },
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/@ngtools/webpack": {
- "version": "7.2.4",
- "resolved": "https://registry.npmjs.org/@ngtools/webpack/-/webpack-7.2.4.tgz",
- "integrity": "sha512-mXMDODmy53kk+Kb5jgLNQOsSrDBQQMf6C6KZNuGo8AdvUGdGaQeZDze4o7bcUz1KUjuaaP1Zh7pZtho8C4/T+Q==",
- "dev": true,
- "dependencies": {
- "@angular-devkit/core": "7.2.4",
- "enhanced-resolve": "4.1.0",
- "rxjs": "6.3.3",
- "tree-kill": "1.2.0",
- "webpack-sources": "1.2.0"
- },
- "engines": {
- "node": ">= 8.9.0",
- "npm": ">= 5.5.1"
- }
- },
- "node_modules/@ngtools/webpack/node_modules/rxjs": {
- "version": "6.3.3",
- "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.3.3.tgz",
- "integrity": "sha512-JTWmoY9tWCs7zvIk/CvRjhjGaOd+OVBM987mxFo+OW66cGpdKjZcpmc74ES1sB//7Kl/PAe8+wEakuhG4pcgOw==",
- "dev": true,
- "dependencies": {
- "tslib": "^1.9.0"
- },
- "engines": {
- "npm": ">=2.0.0"
- }
- },
- "node_modules/@ngtools/webpack/node_modules/source-map": {
- "version": "0.6.1",
- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
- "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/@ngtools/webpack/node_modules/webpack-sources": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-1.2.0.tgz",
- "integrity": "sha512-9BZwxR85dNsjWz3blyxdOhTgtnQvv3OEs5xofI0wPYTwu5kaWxS08UuD1oI7WLBLpRO+ylf0ofnXLXWmGb2WMw==",
- "dev": true,
- "dependencies": {
- "source-list-map": "^2.0.0",
- "source-map": "~0.6.1"
- }
- },
- "node_modules/@ngx-translate/core": {
- "version": "10.0.2",
- "resolved": "https://registry.npmjs.org/@ngx-translate/core/-/core-10.0.2.tgz",
- "integrity": "sha512-7nM3DrJaqKswwtJlbu2kuKNl+hE8Isr18sKsKvGGpSxQk+G0gO0reDlx2PhUNus7TJTkA1C59vU/JoN8hIvZ4g==",
- "dependencies": {
- "tslib": "^1.9.0"
- }
- },
- "node_modules/@ngx-translate/http-loader": {
- "version": "3.0.1",
- "resolved": "https://registry.npmjs.org/@ngx-translate/http-loader/-/http-loader-3.0.1.tgz",
- "integrity": "sha1-ILD5i8bCUyESnT4zAqs8xInApCo=",
- "dependencies": {
- "tslib": "^1.9.0"
- }
- },
- "node_modules/@protobufjs/aspromise": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/@protobufjs/aspromise/-/aspromise-1.1.2.tgz",
- "integrity": "sha1-m4sMxmPWaafY9vXQiToU00jzD78="
- },
- "node_modules/@protobufjs/base64": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/@protobufjs/base64/-/base64-1.1.2.tgz",
- "integrity": "sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg=="
- },
- "node_modules/@protobufjs/codegen": {
- "version": "2.0.4",
- "resolved": "https://registry.npmjs.org/@protobufjs/codegen/-/codegen-2.0.4.tgz",
- "integrity": "sha512-YyFaikqM5sH0ziFZCN3xDC7zeGaB/d0IUb9CATugHWbd1FRFwWwt4ld4OYMPWu5a3Xe01mGAULCdqhMlPl29Jg=="
- },
- "node_modules/@protobufjs/eventemitter": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/@protobufjs/eventemitter/-/eventemitter-1.1.0.tgz",
- "integrity": "sha1-NVy8mLr61ZePntCV85diHx0Ga3A="
- },
- "node_modules/@protobufjs/fetch": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/@protobufjs/fetch/-/fetch-1.1.0.tgz",
- "integrity": "sha1-upn7WYYUr2VwDBYZ/wbUVLDYTEU=",
- "dependencies": {
- "@protobufjs/aspromise": "^1.1.1",
- "@protobufjs/inquire": "^1.1.0"
- }
- },
- "node_modules/@protobufjs/float": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/@protobufjs/float/-/float-1.0.2.tgz",
- "integrity": "sha1-Xp4avctz/Ap8uLKR33jIy9l7h9E="
- },
- "node_modules/@protobufjs/inquire": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/@protobufjs/inquire/-/inquire-1.1.0.tgz",
- "integrity": "sha1-/yAOPnzyQp4tyvwRQIKOjMY48Ik="
- },
- "node_modules/@protobufjs/path": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/@protobufjs/path/-/path-1.1.2.tgz",
- "integrity": "sha1-bMKyDFya1q0NzP0hynZz2Nf79o0="
- },
- "node_modules/@protobufjs/pool": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/@protobufjs/pool/-/pool-1.1.0.tgz",
- "integrity": "sha1-Cf0V8tbTq/qbZbw2ZQbWrXhG/1Q="
- },
- "node_modules/@protobufjs/utf8": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/@protobufjs/utf8/-/utf8-1.1.0.tgz",
- "integrity": "sha1-p3c2C1s5oaLlEG+OhY8v0tBgxXA="
- },
- "node_modules/@schematics/angular": {
- "version": "0.8.9",
- "resolved": "https://registry.npmjs.org/@schematics/angular/-/angular-0.8.9.tgz",
- "integrity": "sha512-QTCcvBr+HLk8oJuPvonc8myYVU4ko5qsIhTon0gyWQg8McQnjCf8dTpnLM/VSzrmR71wOQ9fqvl+qS+eujrtnA==",
- "dev": true,
- "dependencies": {
- "@angular-devkit/core": "0.8.9",
- "@angular-devkit/schematics": "0.8.9",
- "typescript": ">=2.6.2 <2.10"
- },
- "engines": {
- "node": ">= 8.9.0",
- "npm": ">= 5.5.1"
- }
- },
- "node_modules/@schematics/angular/node_modules/@angular-devkit/core": {
- "version": "0.8.9",
- "resolved": "https://registry.npmjs.org/@angular-devkit/core/-/core-0.8.9.tgz",
- "integrity": "sha512-Umax3YKBPTQy360TeoSNaIIOJOKoXvN/S2WNTV8wDjSWWNiWLTIlckWMb9DVsafAifjUi0mtOLRFuM4YatKgTw==",
- "dev": true,
- "dependencies": {
- "ajv": "6.4.0",
- "chokidar": "2.0.4",
- "rxjs": "6.2.2",
- "source-map": "0.5.7"
- },
- "engines": {
- "node": ">= 8.9.0",
- "npm": ">= 5.5.1"
- }
- },
- "node_modules/@schematics/angular/node_modules/ajv": {
- "version": "6.4.0",
- "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.4.0.tgz",
- "integrity": "sha1-06/3jpJ3VJdx2vAWTP9ISCt1T8Y=",
- "dev": true,
- "dependencies": {
- "fast-deep-equal": "^1.0.0",
- "fast-json-stable-stringify": "^2.0.0",
- "json-schema-traverse": "^0.3.0",
- "uri-js": "^3.0.2"
- }
- },
- "node_modules/@schematics/angular/node_modules/fast-deep-equal": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-1.1.0.tgz",
- "integrity": "sha1-wFNHeBfIa1HaqFPIHgWbcz0CNhQ=",
- "dev": true
- },
- "node_modules/@schematics/angular/node_modules/json-schema-traverse": {
- "version": "0.3.1",
- "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.3.1.tgz",
- "integrity": "sha1-NJptRMU6Ud6JtAgFxdXlm0F9M0A=",
- "dev": true
- },
- "node_modules/@schematics/angular/node_modules/rxjs": {
- "version": "6.2.2",
- "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.2.2.tgz",
- "integrity": "sha512-0MI8+mkKAXZUF9vMrEoPnaoHkfzBPP4IGwUYRJhIRJF6/w3uByO1e91bEHn8zd43RdkTMKiooYKmwz7RH6zfOQ==",
- "dev": true,
- "dependencies": {
- "tslib": "^1.9.0"
- },
- "engines": {
- "npm": ">=2.0.0"
- }
- },
- "node_modules/@schematics/angular/node_modules/source-map": {
- "version": "0.5.7",
- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
- "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/@schematics/angular/node_modules/uri-js": {
- "version": "3.0.2",
- "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-3.0.2.tgz",
- "integrity": "sha1-+QuFhQf4HepNz7s8TD2/orVX+qo=",
- "dev": true,
- "dependencies": {
- "punycode": "^2.1.0"
- }
- },
- "node_modules/@schematics/update": {
- "version": "0.8.9",
- "resolved": "https://registry.npmjs.org/@schematics/update/-/update-0.8.9.tgz",
- "integrity": "sha512-duefusf5YdKGcNfNlHM/eMpkuvR2o4rqLDX0wo59Pu1KKXoDEUy5lj0mOA+hXbzjHtrtOxpffxKU0+AzovEMPA==",
- "dev": true,
- "dependencies": {
- "@angular-devkit/core": "0.8.9",
- "@angular-devkit/schematics": "0.8.9",
- "npm-registry-client": "8.6.0",
- "rxjs": "6.2.2",
- "semver": "5.6.0",
- "semver-intersect": "1.4.0"
- },
- "engines": {
- "node": ">= 8.9.0",
- "npm": ">= 5.5.1"
- }
- },
- "node_modules/@schematics/update/node_modules/@angular-devkit/core": {
- "version": "0.8.9",
- "resolved": "https://registry.npmjs.org/@angular-devkit/core/-/core-0.8.9.tgz",
- "integrity": "sha512-Umax3YKBPTQy360TeoSNaIIOJOKoXvN/S2WNTV8wDjSWWNiWLTIlckWMb9DVsafAifjUi0mtOLRFuM4YatKgTw==",
- "dev": true,
- "dependencies": {
- "ajv": "6.4.0",
- "chokidar": "2.0.4",
- "rxjs": "6.2.2",
- "source-map": "0.5.7"
- },
- "engines": {
- "node": ">= 8.9.0",
- "npm": ">= 5.5.1"
- }
- },
- "node_modules/@schematics/update/node_modules/ajv": {
- "version": "6.4.0",
- "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.4.0.tgz",
- "integrity": "sha1-06/3jpJ3VJdx2vAWTP9ISCt1T8Y=",
- "dev": true,
- "dependencies": {
- "fast-deep-equal": "^1.0.0",
- "fast-json-stable-stringify": "^2.0.0",
- "json-schema-traverse": "^0.3.0",
- "uri-js": "^3.0.2"
- }
- },
- "node_modules/@schematics/update/node_modules/fast-deep-equal": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-1.1.0.tgz",
- "integrity": "sha1-wFNHeBfIa1HaqFPIHgWbcz0CNhQ=",
- "dev": true
- },
- "node_modules/@schematics/update/node_modules/json-schema-traverse": {
- "version": "0.3.1",
- "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.3.1.tgz",
- "integrity": "sha1-NJptRMU6Ud6JtAgFxdXlm0F9M0A=",
- "dev": true
- },
- "node_modules/@schematics/update/node_modules/rxjs": {
- "version": "6.2.2",
- "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.2.2.tgz",
- "integrity": "sha512-0MI8+mkKAXZUF9vMrEoPnaoHkfzBPP4IGwUYRJhIRJF6/w3uByO1e91bEHn8zd43RdkTMKiooYKmwz7RH6zfOQ==",
- "dev": true,
- "dependencies": {
- "tslib": "^1.9.0"
- },
- "engines": {
- "npm": ">=2.0.0"
- }
- },
- "node_modules/@schematics/update/node_modules/semver": {
- "version": "5.6.0",
- "resolved": "https://registry.npmjs.org/semver/-/semver-5.6.0.tgz",
- "integrity": "sha512-RS9R6R35NYgQn++fkDWaOmqGoj4Ek9gGs+DPxNUZKuwE183xjJroKvyo1IzVFeXvUrvmALy6FWD5xrdJT25gMg==",
- "dev": true,
- "bin": {
- "semver": "bin/semver"
- }
- },
- "node_modules/@schematics/update/node_modules/source-map": {
- "version": "0.5.7",
- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
- "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/@schematics/update/node_modules/uri-js": {
- "version": "3.0.2",
- "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-3.0.2.tgz",
- "integrity": "sha1-+QuFhQf4HepNz7s8TD2/orVX+qo=",
- "dev": true,
- "dependencies": {
- "punycode": "^2.1.0"
- }
- },
- "node_modules/@swimlane/ngx-charts": {
- "version": "7.4.0",
- "resolved": "https://registry.npmjs.org/@swimlane/ngx-charts/-/ngx-charts-7.4.0.tgz",
- "integrity": "sha512-RcZas49AbHmKCX3PHiEI+VS2dgutfEzw7CvK/LXU1Plp8rMb+ly/zUoRIDJnyzBVuuy1z05miKUK6UolQlCzxQ==",
- "dependencies": {
- "d3-array": "^1.2.1",
- "d3-brush": "^1.0.4",
- "d3-color": "^1.0.3",
- "d3-force": "^1.1.0",
- "d3-format": "^1.2.0",
- "d3-hierarchy": "^1.1.5",
- "d3-interpolate": "^1.1.5",
- "d3-scale": "^1.0.6",
- "d3-selection": "^1.1.0",
- "d3-shape": "^1.2.0",
- "d3-time-format": "^2.1.0"
- }
- },
- "node_modules/@swimlane/ngx-datatable": {
- "version": "11.1.5",
- "resolved": "https://registry.npmjs.org/@swimlane/ngx-datatable/-/ngx-datatable-11.1.5.tgz",
- "integrity": "sha512-BRRHMrgw9tG0BezTnfszzFTlpW9B9Zh5kyZF/pxqfJxpUsZ0aA/uXlL4cloe4+msQ6yIdu1/jhUCDInwSzmpFw=="
- },
- "node_modules/@types/aws-sdk": {
- "version": "2.7.0",
- "resolved": "https://registry.npmjs.org/@types/aws-sdk/-/aws-sdk-2.7.0.tgz",
- "integrity": "sha1-g1iLPRTr3KHUzl4CM4dXdWjOgvM=",
- "dev": true,
- "dependencies": {
- "aws-sdk": "*"
- }
- },
- "node_modules/@types/bytebuffer": {
- "version": "5.0.40",
- "resolved": "https://registry.npmjs.org/@types/bytebuffer/-/bytebuffer-5.0.40.tgz",
- "integrity": "sha512-h48dyzZrPMz25K6Q4+NCwWaxwXany2FhQg/ErOcdZS1ZpsaDnDMZg8JYLMTGz7uvXKrcKGJUZJlZObyfgdaN9g==",
- "dependencies": {
- "@types/long": "*",
- "@types/node": "*"
- }
- },
- "node_modules/@types/bytebuffer/node_modules/@types/node": {
- "version": "13.1.5",
- "resolved": "https://registry.npmjs.org/@types/node/-/node-13.1.5.tgz",
- "integrity": "sha512-wupvfmtbqRJzjCm1H2diy7wo31Gn1OzvqoxCfQuKM9eSecogzP0WTlrjdq7cf7jgSO2ZX6hxwgRPR8Wt7FA22g=="
- },
- "node_modules/@types/file-saver": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/@types/file-saver/-/file-saver-2.0.1.tgz",
- "integrity": "sha512-g1QUuhYVVAamfCifK7oB7G3aIl4BbOyzDOqVyUfEr4tfBKrXfeH+M+Tg7HKCXSrbzxYdhyCP7z9WbKo0R2hBCw=="
- },
- "node_modules/@types/jasmine": {
- "version": "2.5.52",
- "resolved": "https://registry.npmjs.org/@types/jasmine/-/jasmine-2.5.52.tgz",
- "integrity": "sha512-UPh5iFLlmAJ0W1jbzKyVMAC4CmvZAA6wxA9ES+SrzWvUxi5ZZfptxiIAdC6JeYlwRJLDilL3ckq4pzW1J3mngg==",
- "dev": true
- },
- "node_modules/@types/jquery": {
- "version": "3.2.0",
- "resolved": "https://registry.npmjs.org/@types/jquery/-/jquery-3.2.0.tgz",
- "integrity": "sha512-3LoWmwkQupeIlamsQRwKX+hlG7ZBTK7o1Cwmtaf9ME5Vr3YX1nKNmE6wBUBy5vD9HqDFCIN3bZ903zvjeRZYnw==",
- "dev": true
- },
- "node_modules/@types/long": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/@types/long/-/long-4.0.0.tgz",
- "integrity": "sha512-1w52Nyx4Gq47uuu0EVcsHBxZFJgurQ+rTKS3qMHxR1GY2T8c2AJYd6vZoZ9q1rupaDjU0yT+Jc2XTyXkjeMA+Q=="
- },
- "node_modules/@types/node": {
- "version": "8.10.59",
- "resolved": "https://registry.npmjs.org/@types/node/-/node-8.10.59.tgz",
- "integrity": "sha512-8RkBivJrDCyPpBXhVZcjh7cQxVBSmRk9QM7hOketZzp6Tg79c0N8kkpAIito9bnJ3HCVCHVYz+KHTEbfQNfeVQ==",
- "dev": true
- },
- "node_modules/@types/pdfjs-dist": {
- "version": "0.1.2",
- "resolved": "https://registry.npmjs.org/@types/pdfjs-dist/-/pdfjs-dist-0.1.2.tgz",
- "integrity": "sha512-BvRLWz6RCI8FMKbgfdTCadVwimUv8920gLsnBEAkECjtqIy95jtt+G1ebNQE2b8PTnLjJICPpmBOGhgkSsiPKA=="
- },
- "node_modules/@types/q": {
- "version": "0.0.32",
- "resolved": "https://registry.npmjs.org/@types/q/-/q-0.0.32.tgz",
- "integrity": "sha1-vShOV8hPEyXacCur/IKlMoGQwMU=",
- "dev": true
- },
- "node_modules/@types/selenium-webdriver": {
- "version": "2.53.43",
- "resolved": "https://registry.npmjs.org/@types/selenium-webdriver/-/selenium-webdriver-2.53.43.tgz",
- "integrity": "sha512-UBYHWph6P3tutkbXpW6XYg9ZPbTKjw/YC2hGG1/GEvWwTbvezBUv3h+mmUFw79T3RFPnmedpiXdOBbXX+4l0jg==",
- "dev": true
- },
- "node_modules/@types/source-list-map": {
- "version": "0.1.2",
- "resolved": "https://registry.npmjs.org/@types/source-list-map/-/source-list-map-0.1.2.tgz",
- "integrity": "sha512-K5K+yml8LTo9bWJI/rECfIPrGgxdpeNbj+d53lwN4QjW1MCwlkhUms+gtdzigTeUyBr09+u8BwOIY3MXvHdcsA==",
- "dev": true
- },
- "node_modules/@types/webpack-sources": {
- "version": "0.1.5",
- "resolved": "https://registry.npmjs.org/@types/webpack-sources/-/webpack-sources-0.1.5.tgz",
- "integrity": "sha512-zfvjpp7jiafSmrzJ2/i3LqOyTYTuJ7u1KOXlKgDlvsj9Rr0x7ZiYu5lZbXwobL7lmsRNtPXlBfmaUD8eU2Hu8w==",
- "dev": true,
- "dependencies": {
- "@types/node": "*",
- "@types/source-list-map": "*",
- "source-map": "^0.6.1"
- }
- },
- "node_modules/@types/webpack-sources/node_modules/source-map": {
- "version": "0.6.1",
- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
- "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/@webassemblyjs/ast": {
- "version": "1.7.11",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.7.11.tgz",
- "integrity": "sha512-ZEzy4vjvTzScC+SH8RBssQUawpaInUdMTYwYYLh54/s8TuT0gBLuyUnppKsVyZEi876VmmStKsUs28UxPgdvrA==",
- "dev": true,
- "dependencies": {
- "@webassemblyjs/helper-module-context": "1.7.11",
- "@webassemblyjs/helper-wasm-bytecode": "1.7.11",
- "@webassemblyjs/wast-parser": "1.7.11"
- }
- },
- "node_modules/@webassemblyjs/floating-point-hex-parser": {
- "version": "1.7.11",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.7.11.tgz",
- "integrity": "sha512-zY8dSNyYcgzNRNT666/zOoAyImshm3ycKdoLsyDw/Bwo6+/uktb7p4xyApuef1dwEBo/U/SYQzbGBvV+nru2Xg==",
- "dev": true
- },
- "node_modules/@webassemblyjs/helper-api-error": {
- "version": "1.7.11",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-api-error/-/helper-api-error-1.7.11.tgz",
- "integrity": "sha512-7r1qXLmiglC+wPNkGuXCvkmalyEstKVwcueZRP2GNC2PAvxbLYwLLPr14rcdJaE4UtHxQKfFkuDFuv91ipqvXg==",
- "dev": true
- },
- "node_modules/@webassemblyjs/helper-buffer": {
- "version": "1.7.11",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-buffer/-/helper-buffer-1.7.11.tgz",
- "integrity": "sha512-MynuervdylPPh3ix+mKZloTcL06P8tenNH3sx6s0qE8SLR6DdwnfgA7Hc9NSYeob2jrW5Vql6GVlsQzKQCa13w==",
- "dev": true
- },
- "node_modules/@webassemblyjs/helper-code-frame": {
- "version": "1.7.11",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-code-frame/-/helper-code-frame-1.7.11.tgz",
- "integrity": "sha512-T8ESC9KMXFTXA5urJcyor5cn6qWeZ4/zLPyWeEXZ03hj/x9weSokGNkVCdnhSabKGYWxElSdgJ+sFa9G/RdHNw==",
- "dev": true,
- "dependencies": {
- "@webassemblyjs/wast-printer": "1.7.11"
- }
- },
- "node_modules/@webassemblyjs/helper-fsm": {
- "version": "1.7.11",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-fsm/-/helper-fsm-1.7.11.tgz",
- "integrity": "sha512-nsAQWNP1+8Z6tkzdYlXT0kxfa2Z1tRTARd8wYnc/e3Zv3VydVVnaeePgqUzFrpkGUyhUUxOl5ML7f1NuT+gC0A==",
- "dev": true
- },
- "node_modules/@webassemblyjs/helper-module-context": {
- "version": "1.7.11",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-module-context/-/helper-module-context-1.7.11.tgz",
- "integrity": "sha512-JxfD5DX8Ygq4PvXDucq0M+sbUFA7BJAv/GGl9ITovqE+idGX+J3QSzJYz+LwQmL7fC3Rs+utvWoJxDb6pmC0qg==",
- "dev": true
- },
- "node_modules/@webassemblyjs/helper-wasm-bytecode": {
- "version": "1.7.11",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.7.11.tgz",
- "integrity": "sha512-cMXeVS9rhoXsI9LLL4tJxBgVD/KMOKXuFqYb5oCJ/opScWpkCMEz9EJtkonaNcnLv2R3K5jIeS4TRj/drde1JQ==",
- "dev": true
- },
- "node_modules/@webassemblyjs/helper-wasm-section": {
- "version": "1.7.11",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.7.11.tgz",
- "integrity": "sha512-8ZRY5iZbZdtNFE5UFunB8mmBEAbSI3guwbrsCl4fWdfRiAcvqQpeqd5KHhSWLL5wuxo53zcaGZDBU64qgn4I4Q==",
- "dev": true,
- "dependencies": {
- "@webassemblyjs/ast": "1.7.11",
- "@webassemblyjs/helper-buffer": "1.7.11",
- "@webassemblyjs/helper-wasm-bytecode": "1.7.11",
- "@webassemblyjs/wasm-gen": "1.7.11"
- }
- },
- "node_modules/@webassemblyjs/ieee754": {
- "version": "1.7.11",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/ieee754/-/ieee754-1.7.11.tgz",
- "integrity": "sha512-Mmqx/cS68K1tSrvRLtaV/Lp3NZWzXtOHUW2IvDvl2sihAwJh4ACE0eL6A8FvMyDG9abes3saB6dMimLOs+HMoQ==",
- "dev": true,
- "dependencies": {
- "@xtuc/ieee754": "^1.2.0"
- }
- },
- "node_modules/@webassemblyjs/leb128": {
- "version": "1.7.11",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/leb128/-/leb128-1.7.11.tgz",
- "integrity": "sha512-vuGmgZjjp3zjcerQg+JA+tGOncOnJLWVkt8Aze5eWQLwTQGNgVLcyOTqgSCxWTR4J42ijHbBxnuRaL1Rv7XMdw==",
- "dev": true,
- "dependencies": {
- "@xtuc/long": "4.2.1"
- }
- },
- "node_modules/@webassemblyjs/utf8": {
- "version": "1.7.11",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/utf8/-/utf8-1.7.11.tgz",
- "integrity": "sha512-C6GFkc7aErQIAH+BMrIdVSmW+6HSe20wg57HEC1uqJP8E/xpMjXqQUxkQw07MhNDSDcGpxI9G5JSNOQCqJk4sA==",
- "dev": true
- },
- "node_modules/@webassemblyjs/wasm-edit": {
- "version": "1.7.11",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-edit/-/wasm-edit-1.7.11.tgz",
- "integrity": "sha512-FUd97guNGsCZQgeTPKdgxJhBXkUbMTY6hFPf2Y4OedXd48H97J+sOY2Ltaq6WGVpIH8o/TGOVNiVz/SbpEMJGg==",
- "dev": true,
- "dependencies": {
- "@webassemblyjs/ast": "1.7.11",
- "@webassemblyjs/helper-buffer": "1.7.11",
- "@webassemblyjs/helper-wasm-bytecode": "1.7.11",
- "@webassemblyjs/helper-wasm-section": "1.7.11",
- "@webassemblyjs/wasm-gen": "1.7.11",
- "@webassemblyjs/wasm-opt": "1.7.11",
- "@webassemblyjs/wasm-parser": "1.7.11",
- "@webassemblyjs/wast-printer": "1.7.11"
- }
- },
- "node_modules/@webassemblyjs/wasm-gen": {
- "version": "1.7.11",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-gen/-/wasm-gen-1.7.11.tgz",
- "integrity": "sha512-U/KDYp7fgAZX5KPfq4NOupK/BmhDc5Kjy2GIqstMhvvdJRcER/kUsMThpWeRP8BMn4LXaKhSTggIJPOeYHwISA==",
- "dev": true,
- "dependencies": {
- "@webassemblyjs/ast": "1.7.11",
- "@webassemblyjs/helper-wasm-bytecode": "1.7.11",
- "@webassemblyjs/ieee754": "1.7.11",
- "@webassemblyjs/leb128": "1.7.11",
- "@webassemblyjs/utf8": "1.7.11"
- }
- },
- "node_modules/@webassemblyjs/wasm-opt": {
- "version": "1.7.11",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-opt/-/wasm-opt-1.7.11.tgz",
- "integrity": "sha512-XynkOwQyiRidh0GLua7SkeHvAPXQV/RxsUeERILmAInZegApOUAIJfRuPYe2F7RcjOC9tW3Cb9juPvAC/sCqvg==",
- "dev": true,
- "dependencies": {
- "@webassemblyjs/ast": "1.7.11",
- "@webassemblyjs/helper-buffer": "1.7.11",
- "@webassemblyjs/wasm-gen": "1.7.11",
- "@webassemblyjs/wasm-parser": "1.7.11"
- }
- },
- "node_modules/@webassemblyjs/wasm-parser": {
- "version": "1.7.11",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-parser/-/wasm-parser-1.7.11.tgz",
- "integrity": "sha512-6lmXRTrrZjYD8Ng8xRyvyXQJYUQKYSXhJqXOBLw24rdiXsHAOlvw5PhesjdcaMadU/pyPQOJ5dHreMjBxwnQKg==",
- "dev": true,
- "dependencies": {
- "@webassemblyjs/ast": "1.7.11",
- "@webassemblyjs/helper-api-error": "1.7.11",
- "@webassemblyjs/helper-wasm-bytecode": "1.7.11",
- "@webassemblyjs/ieee754": "1.7.11",
- "@webassemblyjs/leb128": "1.7.11",
- "@webassemblyjs/utf8": "1.7.11"
- }
- },
- "node_modules/@webassemblyjs/wast-parser": {
- "version": "1.7.11",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-parser/-/wast-parser-1.7.11.tgz",
- "integrity": "sha512-lEyVCg2np15tS+dm7+JJTNhNWq9yTZvi3qEhAIIOaofcYlUp0UR5/tVqOwa/gXYr3gjwSZqw+/lS9dscyLelbQ==",
- "dev": true,
- "dependencies": {
- "@webassemblyjs/ast": "1.7.11",
- "@webassemblyjs/floating-point-hex-parser": "1.7.11",
- "@webassemblyjs/helper-api-error": "1.7.11",
- "@webassemblyjs/helper-code-frame": "1.7.11",
- "@webassemblyjs/helper-fsm": "1.7.11",
- "@xtuc/long": "4.2.1"
- }
- },
- "node_modules/@webassemblyjs/wast-printer": {
- "version": "1.7.11",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-printer/-/wast-printer-1.7.11.tgz",
- "integrity": "sha512-m5vkAsuJ32QpkdkDOUPGSltrg8Cuk3KBx4YrmAGQwCZPRdUHXxG4phIOuuycLemHFr74sWL9Wthqss4fzdzSwg==",
- "dev": true,
- "dependencies": {
- "@webassemblyjs/ast": "1.7.11",
- "@webassemblyjs/wast-parser": "1.7.11",
- "@xtuc/long": "4.2.1"
- }
- },
- "node_modules/@xtuc/ieee754": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/@xtuc/ieee754/-/ieee754-1.2.0.tgz",
- "integrity": "sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA==",
- "dev": true
- },
- "node_modules/@xtuc/long": {
- "version": "4.2.1",
- "resolved": "https://registry.npmjs.org/@xtuc/long/-/long-4.2.1.tgz",
- "integrity": "sha512-FZdkNBDqBRHKQ2MEbSC17xnPFOhZxeJ2YGSfr2BKf3sujG49Qe3bB+rGCwQfIaA7WHnGeGkSijX4FuBCdrzW/g==",
- "dev": true
- },
- "node_modules/@yarnpkg/lockfile": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/@yarnpkg/lockfile/-/lockfile-1.1.0.tgz",
- "integrity": "sha512-GpSwvyXOcOOlV70vbnzjj4fW5xW/FdUF6nQEt1ENy7m4ZCczi1+/buVUPAqmGfqznsORNFzUMjctTIp8a9tuCQ==",
- "dev": true
- },
- "node_modules/abbrev": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz",
- "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q=="
- },
- "node_modules/accepts": {
- "version": "1.3.7",
- "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.7.tgz",
- "integrity": "sha512-Il80Qs2WjYlJIBNzNkK6KYqlVMTbZLXgHx2oT0pU/fjRHyEp+PEfEPY0R3WCwAGVOtauxh1hOxNgIf5bv7dQpA==",
- "dependencies": {
- "mime-types": "~2.1.24",
- "negotiator": "0.6.2"
- },
- "engines": {
- "node": ">= 0.6"
- }
- },
- "node_modules/acorn": {
- "version": "5.7.4",
- "resolved": "https://registry.npmjs.org/acorn/-/acorn-5.7.4.tgz",
- "integrity": "sha512-1D++VG7BhrtvQpNbBzovKNc1FLGGEE/oGe7b9xJm/RFHMBeUaUGpluV9RLjZa47YFdPcDAenEYuq9pQPcMdLJg==",
- "dev": true,
- "bin": {
- "acorn": "bin/acorn"
- },
- "engines": {
- "node": ">=0.4.0"
- }
- },
- "node_modules/acorn-dynamic-import": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/acorn-dynamic-import/-/acorn-dynamic-import-3.0.0.tgz",
- "integrity": "sha512-zVWV8Z8lislJoOKKqdNMOB+s6+XV5WERty8MnKBeFgwA+19XJjJHs2RP5dzM57FftIs+jQnRToLiWazKr6sSWg==",
- "dev": true,
- "dependencies": {
- "acorn": "^5.0.0"
- }
- },
- "node_modules/adler-32": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/adler-32/-/adler-32-1.2.0.tgz",
- "integrity": "sha1-aj5r8KY5ALoVZSgIyxXGgT0aXyU=",
- "dependencies": {
- "exit-on-epipe": "~1.0.1",
- "printj": "~1.1.0"
- },
- "bin": {
- "adler32": "bin/adler32.njs"
- },
- "engines": {
- "node": ">=0.8"
- }
- },
- "node_modules/adm-zip": {
- "version": "0.4.13",
- "resolved": "https://registry.npmjs.org/adm-zip/-/adm-zip-0.4.13.tgz",
- "integrity": "sha512-fERNJX8sOXfel6qCBCMPvZLzENBEhZTzKqg6vrOW5pvoEaQuJhRU4ndTAh6lHOxn1I6jnz2NHra56ZODM751uw==",
- "dev": true,
- "engines": {
- "node": ">=0.3.0"
- }
- },
- "node_modules/after": {
- "version": "0.8.2",
- "resolved": "https://registry.npmjs.org/after/-/after-0.8.2.tgz",
- "integrity": "sha1-/ts5T58OAqqXaOcCvaI7UF+ufh8="
- },
- "node_modules/agent-base": {
- "version": "4.3.0",
- "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-4.3.0.tgz",
- "integrity": "sha512-salcGninV0nPrwpGNn4VTXBb1SOuXQBiqbrNXoeizJsHrsL6ERFM2Ne3JUSBWRE6aeNJI2ROP/WEEIDUiDe3cg==",
- "dev": true,
- "dependencies": {
- "es6-promisify": "^5.0.0"
- },
- "engines": {
- "node": ">= 4.0.0"
- }
- },
- "node_modules/agentkeepalive": {
- "version": "3.5.2",
- "resolved": "https://registry.npmjs.org/agentkeepalive/-/agentkeepalive-3.5.2.tgz",
- "integrity": "sha512-e0L/HNe6qkQ7H19kTlRRqUibEAwDK5AFk6y3PtMsuut2VAH6+Q4xZml1tNDJD7kSAyqmbG/K08K5WEJYtUrSlQ==",
- "dev": true,
- "dependencies": {
- "humanize-ms": "^1.2.1"
- },
- "engines": {
- "node": ">= 4.0.0"
- }
- },
- "node_modules/ajv": {
- "version": "6.10.2",
- "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.10.2.tgz",
- "integrity": "sha512-TXtUUEYHuaTEbLZWIKUr5pmBuhDLy+8KYtPYdcV8qC+pOZL+NKqYwvWSRrVXHn+ZmRRAu8vJTAznH7Oag6RVRw==",
- "dependencies": {
- "fast-deep-equal": "^2.0.1",
- "fast-json-stable-stringify": "^2.0.0",
- "json-schema-traverse": "^0.4.1",
- "uri-js": "^4.2.2"
- }
- },
- "node_modules/ajv-errors": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/ajv-errors/-/ajv-errors-1.0.1.tgz",
- "integrity": "sha512-DCRfO/4nQ+89p/RK43i8Ezd41EqdGIU4ld7nGF8OQ14oc/we5rEntLCUa7+jrn3nn83BosfwZA0wb4pon2o8iQ==",
- "dev": true
- },
- "node_modules/ajv-keywords": {
- "version": "3.4.1",
- "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.4.1.tgz",
- "integrity": "sha512-RO1ibKvd27e6FEShVFfPALuHI3WjSVNeK5FIsmme/LYRNxjKuNj+Dt7bucLa6NdSv3JcVTyMlm9kGR84z1XpaQ=="
- },
- "node_modules/amazon-cognito-identity-js": {
- "version": "2.0.30",
- "resolved": "https://registry.npmjs.org/amazon-cognito-identity-js/-/amazon-cognito-identity-js-2.0.30.tgz",
- "integrity": "sha512-g5/JnpWbZx3dkmjR3ooeuTwsfLtZ6B+4F75AAcT/zLtPruRrANPEtqNf2hVLyHHNwwuLeqezCKasfB/MiojF1g==",
- "dependencies": {
- "buffer": "4.9.1",
- "crypto-browserify": "1.0.9",
- "js-cookie": "^2.1.4"
- }
- },
- "node_modules/amdefine": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/amdefine/-/amdefine-1.0.1.tgz",
- "integrity": "sha1-SlKCrBZHKek2Gbz9OtFR+BfOkfU=",
- "engines": {
- "node": ">=0.4.2"
- }
- },
- "node_modules/angular-calendar": {
- "version": "0.23.3",
- "resolved": "https://registry.npmjs.org/angular-calendar/-/angular-calendar-0.23.3.tgz",
- "integrity": "sha512-MMUb4e6XmFJVv2FPqAdLlQWDtoklVxQ0wxeaZstwaUXXpzQ3sHFMMBhHADZcYcRkGDQsgoK39+sONeJB7RPvvg==",
- "dependencies": {
- "angular-draggable-droppable": "^2.0.0",
- "angular-resizable-element": "^2.0.0",
- "calendar-utils": "^0.1.1",
- "date-fns": "^1.28.5",
- "positioning": "^1.3.1"
- }
- },
- "node_modules/angular-csv-ext": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/angular-csv-ext/-/angular-csv-ext-1.0.2.tgz",
- "integrity": "sha512-NiCm2JRyqfOn6Vk7ezgQDVmvsnJ+qp0dv5GZ6byWdZ2pyFfEhiwBfI08w/Rs7tsYUGQFwJPwl7V8JF5ThxsQSw=="
- },
- "node_modules/angular-draggable-droppable": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/angular-draggable-droppable/-/angular-draggable-droppable-2.0.0.tgz",
- "integrity": "sha512-/b8LIGamjOKnDI2uG1jRUErTIHeQ3w2WqHn4cbeiUTy+6eNHjkQI32DNhvxl0nVxr2gF5QluECNB4uWjMMyzQg=="
- },
- "node_modules/angular-notifier": {
- "version": "4.1.2",
- "resolved": "https://registry.npmjs.org/angular-notifier/-/angular-notifier-4.1.2.tgz",
- "integrity": "sha512-KgQWXxoiF71I+GHnf0G7GvoFSG7roxD9DTT4U2aQP2o+Ll4/WUtoBXGs2h8Pf590JUjbxjd1zhn12zR8XCiinA=="
- },
- "node_modules/angular-resizable-element": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/angular-resizable-element/-/angular-resizable-element-2.0.0.tgz",
- "integrity": "sha512-Jsa818fxtAtBA3Fp1u4mWV9tcpakM+bNYFFbB/AjKig2BtzZkeyLx3vjcBCfwPmXkK10kX2QKR8RDALk1w209A=="
- },
- "node_modules/angular-sortablejs": {
- "version": "2.7.0",
- "resolved": "https://registry.npmjs.org/angular-sortablejs/-/angular-sortablejs-2.7.0.tgz",
- "integrity": "sha512-pFnRAZmIDUROTCr1V17DCc7iwrdDYqVIkQmOf+pIl7OZCXo7fqCVZYL4sluFmh81SpM45P/aohbC5Zb6ECp4/A=="
- },
- "node_modules/angular-split": {
- "version": "3.0.2",
- "resolved": "https://registry.npmjs.org/angular-split/-/angular-split-3.0.2.tgz",
- "integrity": "sha512-km59k1kEgVlplo2t4t5Ob43Vx16qVXWXsl5gbsdQtqrOW7341So4CFUmCjcZgfk1swu9RBaCdSQEqzNWOe/89w==",
- "dependencies": {
- "tslib": "^1.9.0"
- }
- },
- "node_modules/angular-tree-component": {
- "version": "6.1.0",
- "resolved": "https://registry.npmjs.org/angular-tree-component/-/angular-tree-component-6.1.0.tgz",
- "integrity": "sha1-nZprKKaIHCByzWMGtVIpV56JQHE=",
- "dependencies": {
- "lodash": "4.17.4",
- "mobx": ">=3",
- "mobx-angular": ">=1"
- },
- "engines": {
- "node": ">= 4.2.1",
- "npm": ">= 3"
- }
- },
- "node_modules/angular-tree-component/node_modules/lodash": {
- "version": "4.17.4",
- "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.4.tgz",
- "integrity": "sha1-eCA6TRwyiuHYbcpkYONptX9AVa4="
- },
- "node_modules/ansi-colors": {
- "version": "3.2.4",
- "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-3.2.4.tgz",
- "integrity": "sha512-hHUXGagefjN2iRrID63xckIvotOXOojhQKWIPUZ4mNUZ9nLZW+7FMNoE1lOkEhNWYsx/7ysGIuJYCiMAA9FnrA==",
- "dev": true,
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/ansi-html": {
- "version": "0.0.7",
- "resolved": "https://registry.npmjs.org/ansi-html/-/ansi-html-0.0.7.tgz",
- "integrity": "sha1-gTWEAhliqenm/QOflA0S9WynhZ4=",
- "dev": true,
- "engines": [
- "node >= 0.8.0"
- ],
- "bin": {
- "ansi-html": "bin/ansi-html"
- }
- },
- "node_modules/ansi-regex": {
- "version": "2.1.1",
- "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz",
- "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=",
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/ansi-styles": {
- "version": "2.2.1",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",
- "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=",
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/anymatch": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-2.0.0.tgz",
- "integrity": "sha512-5teOsQWABXHHBFP9y3skS5P3d/WfWXpv3FUpy+LorMrNYaT9pI4oLMQX7jzQ2KklNpGpWHzdCXTDT2Y3XGlZBw==",
- "dev": true,
- "dependencies": {
- "micromatch": "^3.1.4",
- "normalize-path": "^2.1.1"
- }
- },
- "node_modules/app-root-path": {
- "version": "2.2.1",
- "resolved": "https://registry.npmjs.org/app-root-path/-/app-root-path-2.2.1.tgz",
- "integrity": "sha512-91IFKeKk7FjfmezPKkwtaRvSpnUc4gDwPAjA1YZ9Gn0q0PPeW+vbeUsZuyDwjI7+QTHhcLen2v25fi/AmhvbJA==",
- "dev": true,
- "engines": {
- "node": ">= 6.0.0"
- }
- },
- "node_modules/append-transform": {
- "version": "0.4.0",
- "resolved": "https://registry.npmjs.org/append-transform/-/append-transform-0.4.0.tgz",
- "integrity": "sha1-126/jKlNJ24keja61EpLdKthGZE=",
- "dev": true,
- "dependencies": {
- "default-require-extensions": "^1.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/aproba": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/aproba/-/aproba-1.2.0.tgz",
- "integrity": "sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw=="
- },
- "node_modules/are-we-there-yet": {
- "version": "1.1.5",
- "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-1.1.5.tgz",
- "integrity": "sha512-5hYdAkZlcG8tOLujVDTgCT+uPX0VnpAH28gWsLfzpXYm7wP6mp5Q/gYyR7YQ0cKVJcXJnl3j2kpBan13PtQf6w==",
- "dependencies": {
- "delegates": "^1.0.0",
- "readable-stream": "^2.0.6"
- }
- },
- "node_modules/argparse": {
- "version": "1.0.10",
- "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz",
- "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==",
- "dev": true,
- "dependencies": {
- "sprintf-js": "~1.0.2"
- }
- },
- "node_modules/arr-diff": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-4.0.0.tgz",
- "integrity": "sha1-1kYQdP6/7HHn4VI1dhoyml3HxSA=",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/arr-flatten": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/arr-flatten/-/arr-flatten-1.1.0.tgz",
- "integrity": "sha512-L3hKV5R/p5o81R7O02IGnwpDmkp6E982XhtbuwSe3O4qOtMMMtodicASA1Cny2U+aCXcNpml+m4dPsvsJ3jatg==",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/arr-union": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/arr-union/-/arr-union-3.1.0.tgz",
- "integrity": "sha1-45sJrqne+Gao8gbiiK9jkZuuOcQ=",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/array-find-index": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/array-find-index/-/array-find-index-1.0.2.tgz",
- "integrity": "sha1-3wEKoSh+Fku9pvlyOwqWoexBh6E=",
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/array-flatten": {
- "version": "2.1.2",
- "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-2.1.2.tgz",
- "integrity": "sha512-hNfzcOV8W4NdualtqBFPyVO+54DSJuZGY9qT4pRroB6S9e3iiido2ISIC5h9R2sPJ8H3FHCIiEnsv1lPXO3KtQ==",
- "dev": true
- },
- "node_modules/array-slice": {
- "version": "0.2.3",
- "resolved": "https://registry.npmjs.org/array-slice/-/array-slice-0.2.3.tgz",
- "integrity": "sha1-3Tz7gO15c6dRF82sabC5nshhhvU=",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/array-union": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/array-union/-/array-union-1.0.2.tgz",
- "integrity": "sha1-mjRBDk9OPaI96jdb5b5w8kd47Dk=",
- "dev": true,
- "dependencies": {
- "array-uniq": "^1.0.1"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/array-uniq": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/array-uniq/-/array-uniq-1.0.3.tgz",
- "integrity": "sha1-r2rId6Jcx/dOBYiUdThY39sk/bY=",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/array-unique": {
- "version": "0.3.2",
- "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.3.2.tgz",
- "integrity": "sha1-qJS3XUvE9s1nnvMkSp/Y9Gri1Cg=",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/arraybuffer.slice": {
- "version": "0.0.6",
- "resolved": "https://registry.npmjs.org/arraybuffer.slice/-/arraybuffer.slice-0.0.6.tgz",
- "integrity": "sha1-8zshWfBTKj8xB6JywMz70a0peco=",
- "dev": true
- },
- "node_modules/arrify": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/arrify/-/arrify-1.0.1.tgz",
- "integrity": "sha1-iYUI2iIm84DfkEcoRWhJwVAaSw0=",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/asap": {
- "version": "2.0.6",
- "resolved": "https://registry.npmjs.org/asap/-/asap-2.0.6.tgz",
- "integrity": "sha1-5QNHYR1+aQlDIIu9r+vLwvuGbUY=",
- "dev": true,
- "optional": true
- },
- "node_modules/ascli": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/ascli/-/ascli-1.0.1.tgz",
- "integrity": "sha1-vPpZdKYvGOgcq660lzKrSoj5Brw=",
- "dependencies": {
- "colour": "~0.7.1",
- "optjs": "~3.2.2"
- }
- },
- "node_modules/asn1": {
- "version": "0.2.4",
- "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.4.tgz",
- "integrity": "sha512-jxwzQpLQjSmWXgwaCZE9Nz+glAG01yF1QnWgbhGwHI5A6FRIEY6IVqtHhIepHqI7/kyEyQEagBC5mBEFlIYvdg==",
- "dependencies": {
- "safer-buffer": "~2.1.0"
- }
- },
- "node_modules/asn1.js": {
- "version": "4.10.1",
- "resolved": "https://registry.npmjs.org/asn1.js/-/asn1.js-4.10.1.tgz",
- "integrity": "sha512-p32cOF5q0Zqs9uBiONKYLm6BClCoBCM5O9JfeUSlnQLBTxYdTK+pW+nXflm8UkKd2UYlEbYz5qEi0JuZR9ckSw==",
- "dev": true,
- "dependencies": {
- "bn.js": "^4.0.0",
- "inherits": "^2.0.1",
- "minimalistic-assert": "^1.0.0"
- }
- },
- "node_modules/assert": {
- "version": "1.5.0",
- "resolved": "https://registry.npmjs.org/assert/-/assert-1.5.0.tgz",
- "integrity": "sha512-EDsgawzwoun2CZkCgtxJbv392v4nbk9XDD06zI+kQYoBM/3RBWLlEyJARDOmhAAosBjWACEkKL6S+lIZtcAubA==",
- "dev": true,
- "dependencies": {
- "object-assign": "^4.1.1",
- "util": "0.10.3"
- }
- },
- "node_modules/assert-plus": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz",
- "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=",
- "engines": {
- "node": ">=0.8"
- }
- },
- "node_modules/assert/node_modules/inherits": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz",
- "integrity": "sha1-sX0I0ya0Qj5Wjv9xn5GwscvfafE=",
- "dev": true
- },
- "node_modules/assert/node_modules/util": {
- "version": "0.10.3",
- "resolved": "https://registry.npmjs.org/util/-/util-0.10.3.tgz",
- "integrity": "sha1-evsa/lCAUkZInj23/g7TeTNqwPk=",
- "dev": true,
- "dependencies": {
- "inherits": "2.0.1"
- }
- },
- "node_modules/assign-symbols": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/assign-symbols/-/assign-symbols-1.0.0.tgz",
- "integrity": "sha1-WWZ/QfrdTyDMvCu5a41Pf3jsA2c=",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/async": {
- "version": "1.5.2",
- "resolved": "https://registry.npmjs.org/async/-/async-1.5.2.tgz",
- "integrity": "sha1-7GphrlZIDAw8skHJVhjiCJL5Zyo=",
- "dev": true
- },
- "node_modules/async-each": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/async-each/-/async-each-1.0.3.tgz",
- "integrity": "sha512-z/WhQ5FPySLdvREByI2vZiTWwCnF0moMJ1hK9YQwDTHKh6I7/uSckMetoRGb5UBZPC1z0jlw+n/XCgjeH7y1AQ==",
- "dev": true
- },
- "node_modules/async-foreach": {
- "version": "0.1.3",
- "resolved": "https://registry.npmjs.org/async-foreach/-/async-foreach-0.1.3.tgz",
- "integrity": "sha1-NhIfhFwFeBct5Bmpfb6x0W7DRUI=",
- "engines": {
- "node": "*"
- }
- },
- "node_modules/asynckit": {
- "version": "0.4.0",
- "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz",
- "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k="
- },
- "node_modules/atoa": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/atoa/-/atoa-1.0.0.tgz",
- "integrity": "sha1-DMDpGkgOc4+SPrwQNnZHF3mzSkk="
- },
- "node_modules/atob": {
- "version": "2.1.2",
- "resolved": "https://registry.npmjs.org/atob/-/atob-2.1.2.tgz",
- "integrity": "sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==",
- "dev": true,
- "bin": {
- "atob": "bin/atob.js"
- },
- "engines": {
- "node": ">= 4.5.0"
- }
- },
- "node_modules/autoprefixer": {
- "version": "9.4.3",
- "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-9.4.3.tgz",
- "integrity": "sha512-/XSnzDepRkAU//xLcXA/lUWxpsBuw0WiriAHOqnxkuCtzLhaz+fL4it4gp20BQ8n5SyLzK/FOc7A0+u/rti2FQ==",
- "dev": true,
- "dependencies": {
- "browserslist": "^4.3.6",
- "caniuse-lite": "^1.0.30000921",
- "normalize-range": "^0.1.2",
- "num2fraction": "^1.2.2",
- "postcss": "^7.0.6",
- "postcss-value-parser": "^3.3.1"
- },
- "bin": {
- "autoprefixer": "bin/autoprefixer"
- },
- "engines": {
- "node": ">=6.0.0"
- }
- },
- "node_modules/aws-sdk": {
- "version": "2.600.0",
- "resolved": "https://registry.npmjs.org/aws-sdk/-/aws-sdk-2.600.0.tgz",
- "integrity": "sha512-ySgOVN7plt4g3SmbvAz6fD8aefcmU/IjgogiEgal5BZB5ad5o99MOFwcTILRSLF9rDyoKAHNE3hx0Jcie6XsBQ==",
- "dev": true,
- "dependencies": {
- "buffer": "4.9.1",
- "events": "1.1.1",
- "ieee754": "1.1.13",
- "jmespath": "0.15.0",
- "querystring": "0.2.0",
- "sax": "1.2.1",
- "url": "0.10.3",
- "uuid": "3.3.2",
- "xml2js": "0.4.19"
- },
- "engines": {
- "node": ">= 0.8.0"
- }
- },
- "node_modules/aws-sdk/node_modules/events": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/events/-/events-1.1.1.tgz",
- "integrity": "sha1-nr23Y1rQmccNzEwqH1AEKI6L2SQ=",
- "dev": true,
- "engines": {
- "node": ">=0.4.x"
- }
- },
- "node_modules/aws-sdk/node_modules/punycode": {
- "version": "1.3.2",
- "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.3.2.tgz",
- "integrity": "sha1-llOgNvt8HuQjQvIyXM7v6jkmxI0=",
- "dev": true
- },
- "node_modules/aws-sdk/node_modules/sax": {
- "version": "1.2.1",
- "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.1.tgz",
- "integrity": "sha1-e45lYZCyKOgaZq6nSEgNgozS03o=",
- "dev": true
- },
- "node_modules/aws-sdk/node_modules/url": {
- "version": "0.10.3",
- "resolved": "https://registry.npmjs.org/url/-/url-0.10.3.tgz",
- "integrity": "sha1-Ah5NnHcF8hu/N9A861h2dAJ3TGQ=",
- "dev": true,
- "dependencies": {
- "punycode": "1.3.2",
- "querystring": "0.2.0"
- }
- },
- "node_modules/aws-sdk/node_modules/uuid": {
- "version": "3.3.2",
- "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.3.2.tgz",
- "integrity": "sha512-yXJmeNaw3DnnKAOKJE51sL/ZaYfWJRl1pK9dr19YFCu0ObS231AB1/LbqTKRAQ5kw8A90rA6fr4riOUpTZvQZA==",
- "dev": true,
- "bin": {
- "uuid": "bin/uuid"
- }
- },
- "node_modules/aws-sdk/node_modules/xml2js": {
- "version": "0.4.19",
- "resolved": "https://registry.npmjs.org/xml2js/-/xml2js-0.4.19.tgz",
- "integrity": "sha512-esZnJZJOiJR9wWKMyuvSE1y6Dq5LCuJanqhxslH2bxM6duahNZ+HMpCLhBQGZkbX6xRf8x1Y2eJlgt2q3qo49Q==",
- "dev": true,
- "dependencies": {
- "sax": ">=0.6.0",
- "xmlbuilder": "~9.0.1"
- }
- },
- "node_modules/aws-sdk/node_modules/xmlbuilder": {
- "version": "9.0.7",
- "resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-9.0.7.tgz",
- "integrity": "sha1-Ey7mPS7FVlxVfiD0wi35rKaGsQ0=",
- "dev": true,
- "engines": {
- "node": ">=4.0"
- }
- },
- "node_modules/aws-sign2": {
- "version": "0.7.0",
- "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz",
- "integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg=",
- "engines": {
- "node": "*"
- }
- },
- "node_modules/aws4": {
- "version": "1.9.0",
- "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.9.0.tgz",
- "integrity": "sha512-Uvq6hVe90D0B2WEnUqtdgY1bATGz3mw33nH9Y+dmA+w5DHvUmBgkr5rM/KCHpCsiFNRUfokW/szpPPgMK2hm4A=="
- },
- "node_modules/babel-code-frame": {
- "version": "6.26.0",
- "resolved": "https://registry.npmjs.org/babel-code-frame/-/babel-code-frame-6.26.0.tgz",
- "integrity": "sha1-Y/1D99weO7fONZR9uP42mj9Yx0s=",
- "dev": true,
- "dependencies": {
- "chalk": "^1.1.3",
- "esutils": "^2.0.2",
- "js-tokens": "^3.0.2"
- }
- },
- "node_modules/babel-generator": {
- "version": "6.26.1",
- "resolved": "https://registry.npmjs.org/babel-generator/-/babel-generator-6.26.1.tgz",
- "integrity": "sha512-HyfwY6ApZj7BYTcJURpM5tznulaBvyio7/0d4zFOeMPUmfxkCjHocCuoLa2SAGzBI8AREcH3eP3758F672DppA==",
- "dev": true,
- "dependencies": {
- "babel-messages": "^6.23.0",
- "babel-runtime": "^6.26.0",
- "babel-types": "^6.26.0",
- "detect-indent": "^4.0.0",
- "jsesc": "^1.3.0",
- "lodash": "^4.17.4",
- "source-map": "^0.5.7",
- "trim-right": "^1.0.1"
- }
- },
- "node_modules/babel-generator/node_modules/source-map": {
- "version": "0.5.7",
- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
- "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/babel-messages": {
- "version": "6.23.0",
- "resolved": "https://registry.npmjs.org/babel-messages/-/babel-messages-6.23.0.tgz",
- "integrity": "sha1-8830cDhYA1sqKVHG7F7fbGLyYw4=",
- "dev": true,
- "dependencies": {
- "babel-runtime": "^6.22.0"
- }
- },
- "node_modules/babel-runtime": {
- "version": "6.26.0",
- "resolved": "https://registry.npmjs.org/babel-runtime/-/babel-runtime-6.26.0.tgz",
- "integrity": "sha1-llxwWGaOgrVde/4E/yM3vItWR/4=",
- "dependencies": {
- "core-js": "^2.4.0",
- "regenerator-runtime": "^0.11.0"
- }
- },
- "node_modules/babel-template": {
- "version": "6.26.0",
- "resolved": "https://registry.npmjs.org/babel-template/-/babel-template-6.26.0.tgz",
- "integrity": "sha1-3gPi0WOWsGn0bdn/+FIfsaDjXgI=",
- "dev": true,
- "dependencies": {
- "babel-runtime": "^6.26.0",
- "babel-traverse": "^6.26.0",
- "babel-types": "^6.26.0",
- "babylon": "^6.18.0",
- "lodash": "^4.17.4"
- }
- },
- "node_modules/babel-traverse": {
- "version": "6.26.0",
- "resolved": "https://registry.npmjs.org/babel-traverse/-/babel-traverse-6.26.0.tgz",
- "integrity": "sha1-RqnL1+3MYsjlwGTi0tjQ9ANXZu4=",
- "dev": true,
- "dependencies": {
- "babel-code-frame": "^6.26.0",
- "babel-messages": "^6.23.0",
- "babel-runtime": "^6.26.0",
- "babel-types": "^6.26.0",
- "babylon": "^6.18.0",
- "debug": "^2.6.8",
- "globals": "^9.18.0",
- "invariant": "^2.2.2",
- "lodash": "^4.17.4"
- }
- },
- "node_modules/babel-types": {
- "version": "6.26.0",
- "resolved": "https://registry.npmjs.org/babel-types/-/babel-types-6.26.0.tgz",
- "integrity": "sha1-o7Bz+Uq0nrb6Vc1lInozQ4BjJJc=",
- "dev": true,
- "dependencies": {
- "babel-runtime": "^6.26.0",
- "esutils": "^2.0.2",
- "lodash": "^4.17.4",
- "to-fast-properties": "^1.0.3"
- }
- },
- "node_modules/babylon": {
- "version": "6.18.0",
- "resolved": "https://registry.npmjs.org/babylon/-/babylon-6.18.0.tgz",
- "integrity": "sha512-q/UEjfGJ2Cm3oKV71DJz9d25TPnq5rhBVL2Q4fA5wcC3jcrdn7+SssEybFIxwAvvP+YCsCYNKughoF33GxgycQ==",
- "dev": true,
- "bin": {
- "babylon": "bin/babylon.js"
- }
- },
- "node_modules/backo2": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/backo2/-/backo2-1.0.2.tgz",
- "integrity": "sha1-MasayLEpNjRj41s+u2n038+6eUc="
- },
- "node_modules/balanced-match": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz",
- "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c="
- },
- "node_modules/base": {
- "version": "0.11.2",
- "resolved": "https://registry.npmjs.org/base/-/base-0.11.2.tgz",
- "integrity": "sha512-5T6P4xPgpp0YDFvSWwEZ4NoE3aM4QBQXDzmVbraCkFj8zHM+mba8SyqB5DbZWyR7mYHo6Y7BdQo3MoA4m0TeQg==",
- "dev": true,
- "dependencies": {
- "cache-base": "^1.0.1",
- "class-utils": "^0.3.5",
- "component-emitter": "^1.2.1",
- "define-property": "^1.0.0",
- "isobject": "^3.0.1",
- "mixin-deep": "^1.2.0",
- "pascalcase": "^0.1.1"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/base/node_modules/define-property": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz",
- "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=",
- "dev": true,
- "dependencies": {
- "is-descriptor": "^1.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/base/node_modules/is-accessor-descriptor": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz",
- "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==",
- "dev": true,
- "dependencies": {
- "kind-of": "^6.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/base/node_modules/is-data-descriptor": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz",
- "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==",
- "dev": true,
- "dependencies": {
- "kind-of": "^6.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/base/node_modules/is-descriptor": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz",
- "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==",
- "dev": true,
- "dependencies": {
- "is-accessor-descriptor": "^1.0.0",
- "is-data-descriptor": "^1.0.0",
- "kind-of": "^6.0.2"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/base64-arraybuffer": {
- "version": "0.1.5",
- "resolved": "https://registry.npmjs.org/base64-arraybuffer/-/base64-arraybuffer-0.1.5.tgz",
- "integrity": "sha1-c5JncZI7Whl0etZmqlzUv5xunOg=",
- "dev": true,
- "engines": {
- "node": ">= 0.6.0"
- }
- },
- "node_modules/base64-js": {
- "version": "1.3.1",
- "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.3.1.tgz",
- "integrity": "sha512-mLQ4i2QO1ytvGWFWmcngKO//JXAQueZvwEKtjgQFM4jIK0kU+ytMfplL8j+n5mspOfjHwoAg+9yhb7BwAHm36g=="
- },
- "node_modules/base64id": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/base64id/-/base64id-1.0.0.tgz",
- "integrity": "sha1-R2iMuZu2gE8OBtPnY7HDLlfY5rY=",
- "dev": true,
- "engines": {
- "node": ">= 0.4.0"
- }
- },
- "node_modules/batch": {
- "version": "0.6.1",
- "resolved": "https://registry.npmjs.org/batch/-/batch-0.6.1.tgz",
- "integrity": "sha1-3DQxT05nkxgJP8dgJyUl+UvyXBY=",
- "dev": true
- },
- "node_modules/bcrypt-pbkdf": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz",
- "integrity": "sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4=",
- "dependencies": {
- "tweetnacl": "^0.14.3"
- }
- },
- "node_modules/better-assert": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/better-assert/-/better-assert-1.0.2.tgz",
- "integrity": "sha1-QIZrnhueC1W0gYlDEeaPr/rrxSI=",
- "dev": true,
- "dependencies": {
- "callsite": "1.0.0"
- },
- "engines": {
- "node": "*"
- }
- },
- "node_modules/big.js": {
- "version": "5.2.2",
- "resolved": "https://registry.npmjs.org/big.js/-/big.js-5.2.2.tgz",
- "integrity": "sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ==",
- "engines": {
- "node": "*"
- }
- },
- "node_modules/binary-extensions": {
- "version": "1.13.1",
- "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-1.13.1.tgz",
- "integrity": "sha512-Un7MIEDdUC5gNpcGDV97op1Ywk748MpHcFTHoYs6qnj1Z3j7I53VG3nwZhKzoBZmbdRNnb6WRdFlwl7tSDuZGw==",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/bindings": {
- "version": "1.5.0",
- "resolved": "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz",
- "integrity": "sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==",
- "dev": true,
- "optional": true,
- "dependencies": {
- "file-uri-to-path": "1.0.0"
- }
- },
- "node_modules/blob": {
- "version": "0.0.4",
- "resolved": "https://registry.npmjs.org/blob/-/blob-0.0.4.tgz",
- "integrity": "sha1-vPEwUspURj8w+fx+lbmkdjCpSSE=",
- "dev": true
- },
- "node_modules/block-stream": {
- "version": "0.0.9",
- "resolved": "https://registry.npmjs.org/block-stream/-/block-stream-0.0.9.tgz",
- "integrity": "sha1-E+v+d4oDIFz+A3UUgeu0szAMEmo=",
- "dependencies": {
- "inherits": "~2.0.0"
- },
- "engines": {
- "node": "0.4 || >=0.5.8"
- }
- },
- "node_modules/blocking-proxy": {
- "version": "0.0.5",
- "resolved": "https://registry.npmjs.org/blocking-proxy/-/blocking-proxy-0.0.5.tgz",
- "integrity": "sha1-RikF4Nz76pcPQao3Ij3anAexkSs=",
- "dev": true,
- "dependencies": {
- "minimist": "^1.2.0"
- },
- "engines": {
- "node": ">=6.9.x"
- }
- },
- "node_modules/bluebird": {
- "version": "3.7.2",
- "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz",
- "integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg=="
- },
- "node_modules/bn.js": {
- "version": "4.12.0",
- "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz",
- "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==",
- "dev": true
- },
- "node_modules/body-parser": {
- "version": "1.19.0",
- "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.19.0.tgz",
- "integrity": "sha512-dhEPs72UPbDnAQJ9ZKMNTP6ptJaionhP5cBb541nXPlW60Jepo9RV/a4fX4XWW9CuFNK22krhrj1+rgzifNCsw==",
- "dev": true,
- "dependencies": {
- "bytes": "3.1.0",
- "content-type": "~1.0.4",
- "debug": "2.6.9",
- "depd": "~1.1.2",
- "http-errors": "1.7.2",
- "iconv-lite": "0.4.24",
- "on-finished": "~2.3.0",
- "qs": "6.7.0",
- "raw-body": "2.4.0",
- "type-is": "~1.6.17"
- },
- "engines": {
- "node": ">= 0.8"
- }
- },
- "node_modules/body-parser/node_modules/bytes": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.0.tgz",
- "integrity": "sha512-zauLjrfCG+xvoyaqLoV8bLVXXNGC4JqlxFCutSDWA6fJrTo2ZuvLYTqZ7aHBLZSMOopbzwv8f+wZcVzfVTI2Dg==",
- "dev": true,
- "engines": {
- "node": ">= 0.8"
- }
- },
- "node_modules/body-parser/node_modules/qs": {
- "version": "6.7.0",
- "resolved": "https://registry.npmjs.org/qs/-/qs-6.7.0.tgz",
- "integrity": "sha512-VCdBRNFTX1fyE7Nb6FYoURo/SPe62QCaAyzJvUjwRaIsc+NePBEniHlvxFmmX56+HZphIGtV0XeCirBtpDrTyQ==",
- "dev": true,
- "engines": {
- "node": ">=0.6"
- }
- },
- "node_modules/bonjour": {
- "version": "3.5.0",
- "resolved": "https://registry.npmjs.org/bonjour/-/bonjour-3.5.0.tgz",
- "integrity": "sha1-jokKGD2O6aI5OzhExpGkK897yfU=",
- "dev": true,
- "dependencies": {
- "array-flatten": "^2.1.0",
- "deep-equal": "^1.0.1",
- "dns-equal": "^1.0.0",
- "dns-txt": "^2.0.2",
- "multicast-dns": "^6.0.1",
- "multicast-dns-service-types": "^1.1.0"
- }
- },
- "node_modules/brace-expansion": {
- "version": "1.1.11",
- "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
- "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
- "dependencies": {
- "balanced-match": "^1.0.0",
- "concat-map": "0.0.1"
- }
- },
- "node_modules/braces": {
- "version": "2.3.2",
- "resolved": "https://registry.npmjs.org/braces/-/braces-2.3.2.tgz",
- "integrity": "sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==",
- "dev": true,
- "dependencies": {
- "arr-flatten": "^1.1.0",
- "array-unique": "^0.3.2",
- "extend-shallow": "^2.0.1",
- "fill-range": "^4.0.0",
- "isobject": "^3.0.1",
- "repeat-element": "^1.1.2",
- "snapdragon": "^0.8.1",
- "snapdragon-node": "^2.0.1",
- "split-string": "^3.0.2",
- "to-regex": "^3.0.1"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/braces/node_modules/extend-shallow": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz",
- "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=",
- "dev": true,
- "dependencies": {
- "is-extendable": "^0.1.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/brorand": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/brorand/-/brorand-1.1.0.tgz",
- "integrity": "sha1-EsJe/kCkXjwyPrhnWgoM5XsiNx8=",
- "dev": true
- },
- "node_modules/browserify-aes": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/browserify-aes/-/browserify-aes-1.2.0.tgz",
- "integrity": "sha512-+7CHXqGuspUn/Sl5aO7Ea0xWGAtETPXNSAjHo48JfLdPWcMng33Xe4znFvQweqc/uzk5zSOI3H52CYnjCfb5hA==",
- "dev": true,
- "dependencies": {
- "buffer-xor": "^1.0.3",
- "cipher-base": "^1.0.0",
- "create-hash": "^1.1.0",
- "evp_bytestokey": "^1.0.3",
- "inherits": "^2.0.1",
- "safe-buffer": "^5.0.1"
- }
- },
- "node_modules/browserify-cipher": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/browserify-cipher/-/browserify-cipher-1.0.1.tgz",
- "integrity": "sha512-sPhkz0ARKbf4rRQt2hTpAHqn47X3llLkUGn+xEJzLjwY8LRs2p0v7ljvI5EyoRO/mexrNunNECisZs+gw2zz1w==",
- "dev": true,
- "dependencies": {
- "browserify-aes": "^1.0.4",
- "browserify-des": "^1.0.0",
- "evp_bytestokey": "^1.0.0"
- }
- },
- "node_modules/browserify-des": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/browserify-des/-/browserify-des-1.0.2.tgz",
- "integrity": "sha512-BioO1xf3hFwz4kc6iBhI3ieDFompMhrMlnDFC4/0/vd5MokpuAc3R+LYbwTA9A5Yc9pq9UYPqffKpW2ObuwX5A==",
- "dev": true,
- "dependencies": {
- "cipher-base": "^1.0.1",
- "des.js": "^1.0.0",
- "inherits": "^2.0.1",
- "safe-buffer": "^5.1.2"
- }
- },
- "node_modules/browserify-rsa": {
- "version": "4.0.1",
- "resolved": "https://registry.npmjs.org/browserify-rsa/-/browserify-rsa-4.0.1.tgz",
- "integrity": "sha1-IeCr+vbyApzy+vsTNWenAdQTVSQ=",
- "dev": true,
- "dependencies": {
- "bn.js": "^4.1.0",
- "randombytes": "^2.0.1"
- }
- },
- "node_modules/browserify-sign": {
- "version": "4.0.4",
- "resolved": "https://registry.npmjs.org/browserify-sign/-/browserify-sign-4.0.4.tgz",
- "integrity": "sha1-qk62jl17ZYuqa/alfmMMvXqT0pg=",
- "dev": true,
- "dependencies": {
- "bn.js": "^4.1.1",
- "browserify-rsa": "^4.0.0",
- "create-hash": "^1.1.0",
- "create-hmac": "^1.1.2",
- "elliptic": "^6.0.0",
- "inherits": "^2.0.1",
- "parse-asn1": "^5.0.0"
- }
- },
- "node_modules/browserify-zlib": {
- "version": "0.2.0",
- "resolved": "https://registry.npmjs.org/browserify-zlib/-/browserify-zlib-0.2.0.tgz",
- "integrity": "sha512-Z942RysHXmJrhqk88FmKBVq/v5tqmSkDz7p54G/MGyjMnCFFnC79XWNbg+Vta8W6Wb2qtSZTSxIGkJrRpCFEiA==",
- "dev": true,
- "dependencies": {
- "pako": "~1.0.5"
- }
- },
- "node_modules/browserslist": {
- "version": "4.16.6",
- "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.16.6.tgz",
- "integrity": "sha512-Wspk/PqO+4W9qp5iUTJsa1B/QrYn1keNCcEP5OvP7WBwT4KaDly0uONYmC6Xa3Z5IqnUgS0KcgLYu1l74x0ZXQ==",
- "dev": true,
- "dependencies": {
- "caniuse-lite": "^1.0.30001219",
- "colorette": "^1.2.2",
- "electron-to-chromium": "^1.3.723",
- "escalade": "^3.1.1",
- "node-releases": "^1.1.71"
- },
- "bin": {
- "browserslist": "cli.js"
- },
- "engines": {
- "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/browserslist"
- }
- },
- "node_modules/buffer": {
- "version": "4.9.1",
- "resolved": "https://registry.npmjs.org/buffer/-/buffer-4.9.1.tgz",
- "integrity": "sha1-bRu2AbB6TvztlwlBMgkwJ8lbwpg=",
- "dependencies": {
- "base64-js": "^1.0.2",
- "ieee754": "^1.1.4",
- "isarray": "^1.0.0"
- }
- },
- "node_modules/buffer-alloc": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/buffer-alloc/-/buffer-alloc-1.2.0.tgz",
- "integrity": "sha512-CFsHQgjtW1UChdXgbyJGtnm+O/uLQeZdtbDo8mfUgYXCHSM1wgrVxXm6bSyrUuErEb+4sYVGCzASBRot7zyrow==",
- "dev": true,
- "dependencies": {
- "buffer-alloc-unsafe": "^1.1.0",
- "buffer-fill": "^1.0.0"
- }
- },
- "node_modules/buffer-alloc-unsafe": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/buffer-alloc-unsafe/-/buffer-alloc-unsafe-1.1.0.tgz",
- "integrity": "sha512-TEM2iMIEQdJ2yjPJoSIsldnleVaAk1oW3DBVUykyOLsEsFmEc9kn+SFFPz+gl54KQNxlDnAwCXosOS9Okx2xAg==",
- "dev": true
- },
- "node_modules/buffer-fill": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/buffer-fill/-/buffer-fill-1.0.0.tgz",
- "integrity": "sha1-+PeLdniYiO858gXNY39o5wISKyw=",
- "dev": true
- },
- "node_modules/buffer-from": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz",
- "integrity": "sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==",
- "dev": true
- },
- "node_modules/buffer-indexof": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/buffer-indexof/-/buffer-indexof-1.1.1.tgz",
- "integrity": "sha512-4/rOEg86jivtPTeOUUT61jJO1Ya1TrR/OkqCSZDyq84WJh3LuuiphBYJN+fm5xufIk4XAFcEwte/8WzC8If/1g==",
- "dev": true
- },
- "node_modules/buffer-xor": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/buffer-xor/-/buffer-xor-1.0.3.tgz",
- "integrity": "sha1-JuYe0UIvtw3ULm42cp7VHYVf6Nk=",
- "dev": true
- },
- "node_modules/builtin-modules": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/builtin-modules/-/builtin-modules-1.1.1.tgz",
- "integrity": "sha1-Jw8HbFpywC9bZaR9+Uxf46J4iS8=",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/builtin-status-codes": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/builtin-status-codes/-/builtin-status-codes-3.0.0.tgz",
- "integrity": "sha1-hZgoeOIbmOHGZCXgPQF0eI9Wnug=",
- "dev": true
- },
- "node_modules/builtins": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/builtins/-/builtins-1.0.3.tgz",
- "integrity": "sha1-y5T662HIaWRR2zZTThQi+U8K7og=",
- "dev": true
- },
- "node_modules/bytebuffer": {
- "version": "5.0.1",
- "resolved": "https://registry.npmjs.org/bytebuffer/-/bytebuffer-5.0.1.tgz",
- "integrity": "sha1-WC7qSxqHO20CCkjVjfhfC7ps/d0=",
- "dependencies": {
- "long": "~3"
- },
- "engines": {
- "node": ">=0.8"
- }
- },
- "node_modules/bytebuffer/node_modules/long": {
- "version": "3.2.0",
- "resolved": "https://registry.npmjs.org/long/-/long-3.2.0.tgz",
- "integrity": "sha1-2CG3E4yhy1gcFymQ7xTbIAtcR0s=",
- "engines": {
- "node": ">=0.6"
- }
- },
- "node_modules/bytes": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.0.0.tgz",
- "integrity": "sha1-0ygVQE1olpn4Wk6k+odV3ROpYEg=",
- "dev": true,
- "engines": {
- "node": ">= 0.8"
- }
- },
- "node_modules/cacache": {
- "version": "10.0.4",
- "resolved": "https://registry.npmjs.org/cacache/-/cacache-10.0.4.tgz",
- "integrity": "sha512-Dph0MzuH+rTQzGPNT9fAnrPmMmjKfST6trxJeK7NQuHRaVw24VzPRWTmg9MpcwOVQZO0E1FBICUlFeNaKPIfHA==",
- "dev": true,
- "dependencies": {
- "bluebird": "^3.5.1",
- "chownr": "^1.0.1",
- "glob": "^7.1.2",
- "graceful-fs": "^4.1.11",
- "lru-cache": "^4.1.1",
- "mississippi": "^2.0.0",
- "mkdirp": "^0.5.1",
- "move-concurrently": "^1.0.1",
- "promise-inflight": "^1.0.1",
- "rimraf": "^2.6.2",
- "ssri": "^5.2.4",
- "unique-filename": "^1.1.0",
- "y18n": "^4.0.0"
- }
- },
- "node_modules/cacache/node_modules/y18n": {
- "version": "4.0.3",
- "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.3.tgz",
- "integrity": "sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ==",
- "dev": true
- },
- "node_modules/cache-base": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/cache-base/-/cache-base-1.0.1.tgz",
- "integrity": "sha512-AKcdTnFSWATd5/GCPRxr2ChwIJ85CeyrEyjRHlKxQ56d4XJMGym0uAiKn0xbLOGOl3+yRpOTi484dVCEc5AUzQ==",
- "dev": true,
- "dependencies": {
- "collection-visit": "^1.0.0",
- "component-emitter": "^1.2.1",
- "get-value": "^2.0.6",
- "has-value": "^1.0.0",
- "isobject": "^3.0.1",
- "set-value": "^2.0.0",
- "to-object-path": "^0.3.0",
- "union-value": "^1.0.0",
- "unset-value": "^1.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/calendar-utils": {
- "version": "0.1.2",
- "resolved": "https://registry.npmjs.org/calendar-utils/-/calendar-utils-0.1.2.tgz",
- "integrity": "sha512-9j4Zd1itopNYTSWzFU4MqD2IDHMqznfxsGr8UWGh7hWv+lKzjRJz0LS29iAg5rHtP6+6x3ikQnhoMGqFUzoD2Q=="
- },
- "node_modules/caller-callsite": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/caller-callsite/-/caller-callsite-2.0.0.tgz",
- "integrity": "sha1-hH4PzgoiN1CpoCfFSzNzGtMVQTQ=",
- "dev": true,
- "dependencies": {
- "callsites": "^2.0.0"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/caller-path": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/caller-path/-/caller-path-2.0.0.tgz",
- "integrity": "sha1-Ro+DBE42mrIBD6xfBs7uFbsssfQ=",
- "dev": true,
- "dependencies": {
- "caller-callsite": "^2.0.0"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/callsite": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/callsite/-/callsite-1.0.0.tgz",
- "integrity": "sha1-KAOY5dZkvXQDi28JBRU+borxvCA=",
- "dev": true,
- "engines": {
- "node": "*"
- }
- },
- "node_modules/callsites": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/callsites/-/callsites-2.0.0.tgz",
- "integrity": "sha1-BuuE8A7qQT2oav/vrL/7Ngk7PFA=",
- "dev": true,
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/camelcase": {
- "version": "2.1.1",
- "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-2.1.1.tgz",
- "integrity": "sha1-fB0W1nmhu+WcoCys7PsBHiAfWh8=",
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/camelcase-keys": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-2.1.0.tgz",
- "integrity": "sha1-MIvur/3ygRkFHvodkyITyRuPkuc=",
- "dependencies": {
- "camelcase": "^2.0.0",
- "map-obj": "^1.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/caniuse-lite": {
- "version": "1.0.30001239",
- "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001239.tgz",
- "integrity": "sha512-cyBkXJDMeI4wthy8xJ2FvDU6+0dtcZSJW3voUF8+e9f1bBeuvyZfc3PNbkOETyhbR+dGCPzn9E7MA3iwzusOhQ==",
- "dev": true,
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/browserslist"
- }
- },
- "node_modules/caseless": {
- "version": "0.12.0",
- "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz",
- "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw="
- },
- "node_modules/cdk-table-exporter": {
- "version": "1.2.5",
- "resolved": "https://registry.npmjs.org/cdk-table-exporter/-/cdk-table-exporter-1.2.5.tgz",
- "integrity": "sha512-y404F7d8TGFeLBaZv4cm9L+lVAi826S1mCfGH2Uf8D2wnPLigx4sIX+1VMiR4Os/bnMuJgKM75Y30AKZooN2dg==",
- "dependencies": {
- "file-saver": "^2.0.2",
- "tslib": "^1.9.0",
- "xlsx": "^0.14.1"
- }
- },
- "node_modules/cfb": {
- "version": "1.1.3",
- "resolved": "https://registry.npmjs.org/cfb/-/cfb-1.1.3.tgz",
- "integrity": "sha512-joXBW0nMuwV9no7UTMiyVJnQL6XIU3ThXVjFUDHgl9MpILPOomyfaGqC290VELZ48bbQKZXnQ81UT5HouTxHsw==",
- "dependencies": {
- "adler-32": "~1.2.0",
- "commander": "^2.16.0",
- "crc-32": "~1.2.0",
- "printj": "~1.1.2"
- },
- "bin": {
- "cfb": "bin/cfb.njs"
- },
- "engines": {
- "node": ">=0.8"
- }
- },
- "node_modules/chalk": {
- "version": "1.1.3",
- "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz",
- "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=",
- "dependencies": {
- "ansi-styles": "^2.2.1",
- "escape-string-regexp": "^1.0.2",
- "has-ansi": "^2.0.0",
- "strip-ansi": "^3.0.0",
- "supports-color": "^2.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/chart.js": {
- "version": "2.6.0",
- "resolved": "https://registry.npmjs.org/chart.js/-/chart.js-2.6.0.tgz",
- "integrity": "sha1-MI+aSwv+1aFUwU9d6x2UcNIqvnE=",
- "dependencies": {
- "chartjs-color": "^2.1.0",
- "moment": "^2.10.6"
- }
- },
- "node_modules/chartjs-color": {
- "version": "2.4.1",
- "resolved": "https://registry.npmjs.org/chartjs-color/-/chartjs-color-2.4.1.tgz",
- "integrity": "sha512-haqOg1+Yebys/Ts/9bLo/BqUcONQOdr/hoEr2LLTRl6C5LXctUdHxsCYfvQVg5JIxITrfCNUDr4ntqmQk9+/0w==",
- "dependencies": {
- "chartjs-color-string": "^0.6.0",
- "color-convert": "^1.9.3"
- }
- },
- "node_modules/chartjs-color-string": {
- "version": "0.6.0",
- "resolved": "https://registry.npmjs.org/chartjs-color-string/-/chartjs-color-string-0.6.0.tgz",
- "integrity": "sha512-TIB5OKn1hPJvO7JcteW4WY/63v6KwEdt6udfnDE9iCAZgy+V4SrbSxoIbTw/xkUIapjEI4ExGtD0+6D3KyFd7A==",
- "dependencies": {
- "color-name": "^1.0.0"
- }
- },
- "node_modules/chokidar": {
- "version": "2.0.4",
- "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-2.0.4.tgz",
- "integrity": "sha512-z9n7yt9rOvIJrMhvDtDictKrkFHeihkNl6uWMmZlmL6tJtX9Cs+87oK+teBx+JIgzvbX3yZHT3eF8vpbDxHJXQ==",
- "dev": true,
- "dependencies": {
- "anymatch": "^2.0.0",
- "async-each": "^1.0.0",
- "braces": "^2.3.0",
- "glob-parent": "^3.1.0",
- "inherits": "^2.0.1",
- "is-binary-path": "^1.0.0",
- "is-glob": "^4.0.0",
- "lodash.debounce": "^4.0.8",
- "normalize-path": "^2.1.1",
- "path-is-absolute": "^1.0.0",
- "readdirp": "^2.0.0",
- "upath": "^1.0.5"
- },
- "optionalDependencies": {
- "fsevents": "^1.2.2"
- }
- },
- "node_modules/chownr": {
- "version": "1.1.3",
- "resolved": "https://registry.npmjs.org/chownr/-/chownr-1.1.3.tgz",
- "integrity": "sha512-i70fVHhmV3DtTl6nqvZOnIjbY0Pe4kAUjwHj8z0zAdgBtYrJyYwLKCCuRBQ5ppkyL0AkN7HKRnETdmdp1zqNXw==",
- "dev": true
- },
- "node_modules/chrome-trace-event": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/chrome-trace-event/-/chrome-trace-event-1.0.2.tgz",
- "integrity": "sha512-9e/zx1jw7B4CO+c/RXoCsfg/x1AfUBioy4owYH0bJprEYAx5hRFLRhWBqHAG57D0ZM4H7vxbP7bPe0VwhQRYDQ==",
- "dev": true,
- "dependencies": {
- "tslib": "^1.9.0"
- },
- "engines": {
- "node": ">=6.0"
- }
- },
- "node_modules/cipher-base": {
- "version": "1.0.4",
- "resolved": "https://registry.npmjs.org/cipher-base/-/cipher-base-1.0.4.tgz",
- "integrity": "sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q==",
- "dev": true,
- "dependencies": {
- "inherits": "^2.0.1",
- "safe-buffer": "^5.0.1"
- }
- },
- "node_modules/circular-dependency-plugin": {
- "version": "5.0.2",
- "resolved": "https://registry.npmjs.org/circular-dependency-plugin/-/circular-dependency-plugin-5.0.2.tgz",
- "integrity": "sha512-oC7/DVAyfcY3UWKm0sN/oVoDedQDQiw/vIiAnuTWTpE5s0zWf7l3WY417Xw/Fbi/QbAjctAkxgMiS9P0s3zkmA==",
- "dev": true,
- "engines": {
- "node": ">=6.0.0"
- }
- },
- "node_modules/class-utils": {
- "version": "0.3.6",
- "resolved": "https://registry.npmjs.org/class-utils/-/class-utils-0.3.6.tgz",
- "integrity": "sha512-qOhPa/Fj7s6TY8H8esGu5QNpMMQxz79h+urzrNYN6mn+9BnxlDGf5QZ+XeCDsxSjPqsSR56XOZOJmpeurnLMeg==",
- "dev": true,
- "dependencies": {
- "arr-union": "^3.1.0",
- "define-property": "^0.2.5",
- "isobject": "^3.0.0",
- "static-extend": "^0.1.1"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/class-utils/node_modules/define-property": {
- "version": "0.2.5",
- "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz",
- "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=",
- "dev": true,
- "dependencies": {
- "is-descriptor": "^0.1.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/clean-css": {
- "version": "4.2.1",
- "resolved": "https://registry.npmjs.org/clean-css/-/clean-css-4.2.1.tgz",
- "integrity": "sha512-4ZxI6dy4lrY6FHzfiy1aEOXgu4LIsW2MhwG0VBKdcoGoH/XLFgaHSdLTGr4O8Be6A8r3MOphEiI8Gc1n0ecf3g==",
- "dev": true,
- "dependencies": {
- "source-map": "~0.6.0"
- },
- "engines": {
- "node": ">= 4.0"
- }
- },
- "node_modules/clean-css/node_modules/source-map": {
- "version": "0.6.1",
- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
- "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/cliui": {
- "version": "3.2.0",
- "resolved": "https://registry.npmjs.org/cliui/-/cliui-3.2.0.tgz",
- "integrity": "sha1-EgYBU3qRbSmUD5NNo7SNWFo5IT0=",
- "dependencies": {
- "string-width": "^1.0.1",
- "strip-ansi": "^3.0.1",
- "wrap-ansi": "^2.0.0"
- }
- },
- "node_modules/clone": {
- "version": "2.1.2",
- "resolved": "https://registry.npmjs.org/clone/-/clone-2.1.2.tgz",
- "integrity": "sha1-G39Ln1kfHo+DZwQBYANFoCiHQ18=",
- "engines": {
- "node": ">=0.8"
- }
- },
- "node_modules/clone-deep": {
- "version": "2.0.2",
- "resolved": "https://registry.npmjs.org/clone-deep/-/clone-deep-2.0.2.tgz",
- "integrity": "sha512-SZegPTKjCgpQH63E+eN6mVEEPdQBOUzjyJm5Pora4lrwWRFS8I0QAxV/KD6vV/i0WuijHZWQC1fMsPEdxfdVCQ==",
- "dev": true,
- "dependencies": {
- "for-own": "^1.0.0",
- "is-plain-object": "^2.0.4",
- "kind-of": "^6.0.0",
- "shallow-clone": "^1.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/co": {
- "version": "4.6.0",
- "resolved": "https://registry.npmjs.org/co/-/co-4.6.0.tgz",
- "integrity": "sha1-bqa989hTrlTMuOR7+gvz+QMfsYQ=",
- "dev": true,
- "engines": {
- "iojs": ">= 1.0.0",
- "node": ">= 0.12.0"
- }
- },
- "node_modules/code-point-at": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz",
- "integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=",
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/codelyzer": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/codelyzer/-/codelyzer-4.1.0.tgz",
- "integrity": "sha512-a3FCIAS3FNQIACvj7KA4iKvH3c6r7X6t6zXsrtV797QGYPQyCwD1fIEd9yV+ZDamijF3YaZ5fbB7QbUMOJGC/g==",
- "dev": true,
- "dependencies": {
- "app-root-path": "^2.0.1",
- "css-selector-tokenizer": "^0.7.0",
- "cssauron": "^1.4.0",
- "semver-dsl": "^1.0.1",
- "source-map": "^0.5.6",
- "sprintf-js": "^1.0.3"
- }
- },
- "node_modules/codelyzer/node_modules/source-map": {
- "version": "0.5.7",
- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
- "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/codepage": {
- "version": "1.14.0",
- "resolved": "https://registry.npmjs.org/codepage/-/codepage-1.14.0.tgz",
- "integrity": "sha1-jL4lSBMjVZ19MHVxsP/5HnodL5k=",
- "dependencies": {
- "commander": "~2.14.1",
- "exit-on-epipe": "~1.0.1"
- },
- "bin": {
- "codepage": "bin/codepage.njs"
- },
- "engines": {
- "node": ">=0.8"
- }
- },
- "node_modules/codepage/node_modules/commander": {
- "version": "2.14.1",
- "resolved": "https://registry.npmjs.org/commander/-/commander-2.14.1.tgz",
- "integrity": "sha512-+YR16o3rK53SmWHU3rEM3tPAh2rwb1yPcQX5irVn7mb0gXbwuCCrnkbV5+PBfETdfg1vui07nM6PCG1zndcjQw=="
- },
- "node_modules/collection-visit": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/collection-visit/-/collection-visit-1.0.0.tgz",
- "integrity": "sha1-S8A3PBZLwykbTTaMgpzxqApZ3KA=",
- "dev": true,
- "dependencies": {
- "map-visit": "^1.0.0",
- "object-visit": "^1.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/color-convert": {
- "version": "1.9.3",
- "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",
- "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",
- "dependencies": {
- "color-name": "1.1.3"
- }
- },
- "node_modules/color-convert/node_modules/color-name": {
- "version": "1.1.3",
- "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",
- "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU="
- },
- "node_modules/color-name": {
- "version": "1.1.4",
- "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
- "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA=="
- },
- "node_modules/colorette": {
- "version": "1.2.2",
- "resolved": "https://registry.npmjs.org/colorette/-/colorette-1.2.2.tgz",
- "integrity": "sha512-MKGMzyfeuutC/ZJ1cba9NqcNpfeqMUcYmyF1ZFY6/Cn7CNSAKx6a+s48sqLqyAiZuaP2TcqMhoo+dlwFnVxT9w==",
- "dev": true
- },
- "node_modules/colors": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/colors/-/colors-1.1.2.tgz",
- "integrity": "sha1-FopHAXVran9RoSzgyXv6KMCE7WM=",
- "dev": true,
- "engines": {
- "node": ">=0.1.90"
- }
- },
- "node_modules/colour": {
- "version": "0.7.1",
- "resolved": "https://registry.npmjs.org/colour/-/colour-0.7.1.tgz",
- "integrity": "sha1-nLFpkX7F0SwHNtPoaFdG3xyt93g=",
- "engines": {
- "node": ">=0.8"
- }
- },
- "node_modules/combine-lists": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/combine-lists/-/combine-lists-1.0.1.tgz",
- "integrity": "sha1-RYwH4J4NkA/Ci3Cj/sLazR0st/Y=",
- "dev": true,
- "dependencies": {
- "lodash": "^4.5.0"
- }
- },
- "node_modules/combined-stream": {
- "version": "1.0.8",
- "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz",
- "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==",
- "dependencies": {
- "delayed-stream": "~1.0.0"
- },
- "engines": {
- "node": ">= 0.8"
- }
- },
- "node_modules/commander": {
- "version": "2.20.3",
- "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz",
- "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ=="
- },
- "node_modules/commondir": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz",
- "integrity": "sha1-3dgA2gxmEnOTzKWVDqloo6rxJTs=",
- "dev": true
- },
- "node_modules/component-bind": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/component-bind/-/component-bind-1.0.0.tgz",
- "integrity": "sha1-AMYIq33Nk4l8AAllGx06jh5zu9E="
- },
- "node_modules/component-emitter": {
- "version": "1.3.0",
- "resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.3.0.tgz",
- "integrity": "sha512-Rd3se6QB+sO1TwqZjscQrurpEPIfO0/yYnSin6Q/rD3mOutHvUrCAhJub3r90uNb+SESBuE0QYoB90YdfatsRg==",
- "dev": true
- },
- "node_modules/component-inherit": {
- "version": "0.0.3",
- "resolved": "https://registry.npmjs.org/component-inherit/-/component-inherit-0.0.3.tgz",
- "integrity": "sha1-ZF/ErfWLcrZJ1crmUTVhnbJv8UM="
- },
- "node_modules/compressible": {
- "version": "2.0.18",
- "resolved": "https://registry.npmjs.org/compressible/-/compressible-2.0.18.tgz",
- "integrity": "sha512-AF3r7P5dWxL8MxyITRMlORQNaOA2IkAFaTr4k7BUumjPtRpGDTZpl0Pb1XCO6JeDCBdp126Cgs9sMxqSjgYyRg==",
- "dev": true,
- "dependencies": {
- "mime-db": ">= 1.43.0 < 2"
- },
- "engines": {
- "node": ">= 0.6"
- }
- },
- "node_modules/compression": {
- "version": "1.7.4",
- "resolved": "https://registry.npmjs.org/compression/-/compression-1.7.4.tgz",
- "integrity": "sha512-jaSIDzP9pZVS4ZfQ+TzvtiWhdpFhE2RDHz8QJkpX9SIpLq88VueF5jJw6t+6CUQcAoA6t+x89MLrWAqpfDE8iQ==",
- "dev": true,
- "dependencies": {
- "accepts": "~1.3.5",
- "bytes": "3.0.0",
- "compressible": "~2.0.16",
- "debug": "2.6.9",
- "on-headers": "~1.0.2",
- "safe-buffer": "5.1.2",
- "vary": "~1.1.2"
- },
- "engines": {
- "node": ">= 0.8.0"
- }
- },
- "node_modules/compression/node_modules/safe-buffer": {
- "version": "5.1.2",
- "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
- "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==",
- "dev": true
- },
- "node_modules/concat-map": {
- "version": "0.0.1",
- "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
- "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s="
- },
- "node_modules/concat-stream": {
- "version": "1.6.2",
- "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-1.6.2.tgz",
- "integrity": "sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw==",
- "dev": true,
- "engines": [
- "node >= 0.8"
- ],
- "dependencies": {
- "buffer-from": "^1.0.0",
- "inherits": "^2.0.3",
- "readable-stream": "^2.2.2",
- "typedarray": "^0.0.6"
- }
- },
- "node_modules/connect": {
- "version": "3.7.0",
- "resolved": "https://registry.npmjs.org/connect/-/connect-3.7.0.tgz",
- "integrity": "sha512-ZqRXc+tZukToSNmh5C2iWMSoV3X1YUcPbqEM4DkEG5tNQXrQUZCNVGGv3IuicnkMtPfGf3Xtp8WCXs295iQ1pQ==",
- "dev": true,
- "dependencies": {
- "debug": "2.6.9",
- "finalhandler": "1.1.2",
- "parseurl": "~1.3.3",
- "utils-merge": "1.0.1"
- },
- "engines": {
- "node": ">= 0.10.0"
- }
- },
- "node_modules/connect-history-api-fallback": {
- "version": "1.6.0",
- "resolved": "https://registry.npmjs.org/connect-history-api-fallback/-/connect-history-api-fallback-1.6.0.tgz",
- "integrity": "sha512-e54B99q/OUoH64zYYRf3HBP5z24G38h5D3qXu23JGRoigpX5Ss4r9ZnDk3g0Z8uQC2x2lPaJ+UlWBc1ZWBWdLg==",
- "dev": true,
- "engines": {
- "node": ">=0.8"
- }
- },
- "node_modules/console-browserify": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/console-browserify/-/console-browserify-1.2.0.tgz",
- "integrity": "sha512-ZMkYO/LkF17QvCPqM0gxw8yUzigAOZOSWSHg91FH6orS7vcEj5dVZTidN2fQ14yBSdg97RqhSNwLUXInd52OTA==",
- "dev": true
- },
- "node_modules/console-control-strings": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz",
- "integrity": "sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4="
- },
- "node_modules/constants-browserify": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/constants-browserify/-/constants-browserify-1.0.0.tgz",
- "integrity": "sha1-wguW2MYXdIqvHBYCF2DNJ/y4y3U=",
- "dev": true
- },
- "node_modules/content-disposition": {
- "version": "0.5.3",
- "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.3.tgz",
- "integrity": "sha512-ExO0774ikEObIAEV9kDo50o+79VCUdEB6n6lzKgGwupcVeRlhrj3qGAfwq8G6uBJjkqLrhT0qEYFcWng8z1z0g==",
- "dev": true,
- "dependencies": {
- "safe-buffer": "5.1.2"
- },
- "engines": {
- "node": ">= 0.6"
- }
- },
- "node_modules/content-disposition/node_modules/safe-buffer": {
- "version": "5.1.2",
- "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
- "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==",
- "dev": true
- },
- "node_modules/content-type": {
- "version": "1.0.4",
- "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz",
- "integrity": "sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA==",
- "dev": true,
- "engines": {
- "node": ">= 0.6"
- }
- },
- "node_modules/contra": {
- "version": "1.9.4",
- "resolved": "https://registry.npmjs.org/contra/-/contra-1.9.4.tgz",
- "integrity": "sha1-9TveQtfltZhcrk2ZqNYQUm3o8o0=",
- "dependencies": {
- "atoa": "1.0.0",
- "ticky": "1.0.1"
- }
- },
- "node_modules/convert-source-map": {
- "version": "1.7.0",
- "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.7.0.tgz",
- "integrity": "sha512-4FJkXzKXEDB1snCFZlLP4gpC3JILicCpGbzG9f9G7tGqGCzETQ2hWPrcinA9oU4wtf2biUaEH5065UnMeR33oA==",
- "dev": true,
- "dependencies": {
- "safe-buffer": "~5.1.1"
- }
- },
- "node_modules/convert-source-map/node_modules/safe-buffer": {
- "version": "5.1.2",
- "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
- "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==",
- "dev": true
- },
- "node_modules/cookie": {
- "version": "0.4.0",
- "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.4.0.tgz",
- "integrity": "sha512-+Hp8fLp57wnUSt0tY0tHEXh4voZRDnoIrZPqlo3DPiI4y9lwg/jqx+1Om94/W6ZaPDOUbnjOt/99w66zk+l1Xg==",
- "dev": true,
- "engines": {
- "node": ">= 0.6"
- }
- },
- "node_modules/cookie-signature": {
- "version": "1.0.6",
- "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz",
- "integrity": "sha1-4wOogrNCzD7oylE6eZmXNNqzriw=",
- "dev": true
- },
- "node_modules/copy-concurrently": {
- "version": "1.0.5",
- "resolved": "https://registry.npmjs.org/copy-concurrently/-/copy-concurrently-1.0.5.tgz",
- "integrity": "sha512-f2domd9fsVDFtaFcbaRZuYXwtdmnzqbADSwhSWYxYB/Q8zsdUUFMXVRwXGDMWmbEzAn1kdRrtI1T/KTFOL4X2A==",
- "dev": true,
- "dependencies": {
- "aproba": "^1.1.1",
- "fs-write-stream-atomic": "^1.0.8",
- "iferr": "^0.1.5",
- "mkdirp": "^0.5.1",
- "rimraf": "^2.5.4",
- "run-queue": "^1.0.0"
- }
- },
- "node_modules/copy-descriptor": {
- "version": "0.1.1",
- "resolved": "https://registry.npmjs.org/copy-descriptor/-/copy-descriptor-0.1.1.tgz",
- "integrity": "sha1-Z29us8OZl8LuGsOpJP1hJHSPV40=",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/copy-webpack-plugin": {
- "version": "4.6.0",
- "resolved": "https://registry.npmjs.org/copy-webpack-plugin/-/copy-webpack-plugin-4.6.0.tgz",
- "integrity": "sha512-Y+SQCF+0NoWQryez2zXn5J5knmr9z/9qSQt7fbL78u83rxmigOy8X5+BFn8CFSuX+nKT8gpYwJX68ekqtQt6ZA==",
- "dev": true,
- "dependencies": {
- "cacache": "^10.0.4",
- "find-cache-dir": "^1.0.0",
- "globby": "^7.1.1",
- "is-glob": "^4.0.0",
- "loader-utils": "^1.1.0",
- "minimatch": "^3.0.4",
- "p-limit": "^1.0.0",
- "serialize-javascript": "^1.4.0"
- },
- "engines": {
- "node": ">= 4"
- }
- },
- "node_modules/core-js": {
- "version": "2.6.11",
- "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.6.11.tgz",
- "integrity": "sha512-5wjnpaT/3dV+XB4borEsnAYQchn00XSgTAWKDkEqv+K8KevjbzmofK6hfJ9TZIlpj2N0xQpazy7PiRQiWHqzWg=="
- },
- "node_modules/core-util-is": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz",
- "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac="
- },
- "node_modules/cosmiconfig": {
- "version": "5.2.1",
- "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-5.2.1.tgz",
- "integrity": "sha512-H65gsXo1SKjf8zmrJ67eJk8aIRKV5ff2D4uKZIBZShbhGSpEmsQOPW/SKMKYhSTrqR7ufy6RP69rPogdaPh/kA==",
- "dev": true,
- "dependencies": {
- "import-fresh": "^2.0.0",
- "is-directory": "^0.3.1",
- "js-yaml": "^3.13.1",
- "parse-json": "^4.0.0"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/cosmiconfig/node_modules/parse-json": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-4.0.0.tgz",
- "integrity": "sha1-vjX1Qlvh9/bHRxhPmKeIy5lHfuA=",
- "dev": true,
- "dependencies": {
- "error-ex": "^1.3.1",
- "json-parse-better-errors": "^1.0.1"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/crc-32": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/crc-32/-/crc-32-1.2.0.tgz",
- "integrity": "sha512-1uBwHxF+Y/4yF5G48fwnKq6QsIXheor3ZLPT80yGBV1oEUwpPojlEhQbWKVw1VwcTQyMGHK1/XMmTjmlsmTTGA==",
- "dependencies": {
- "exit-on-epipe": "~1.0.1",
- "printj": "~1.1.0"
- },
- "bin": {
- "crc32": "bin/crc32.njs"
- },
- "engines": {
- "node": ">=0.8"
- }
- },
- "node_modules/create-ecdh": {
- "version": "4.0.3",
- "resolved": "https://registry.npmjs.org/create-ecdh/-/create-ecdh-4.0.3.tgz",
- "integrity": "sha512-GbEHQPMOswGpKXM9kCWVrremUcBmjteUaQ01T9rkKCPDXfUHX0IoP9LpHYo2NPFampa4e+/pFDc3jQdxrxQLaw==",
- "dev": true,
- "dependencies": {
- "bn.js": "^4.1.0",
- "elliptic": "^6.0.0"
- }
- },
- "node_modules/create-hash": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/create-hash/-/create-hash-1.2.0.tgz",
- "integrity": "sha512-z00bCGNHDG8mHAkP7CtT1qVu+bFQUPjYq/4Iv3C3kWjTFV10zIjfSoeqXo9Asws8gwSHDGj/hl2u4OGIjapeCg==",
- "dev": true,
- "dependencies": {
- "cipher-base": "^1.0.1",
- "inherits": "^2.0.1",
- "md5.js": "^1.3.4",
- "ripemd160": "^2.0.1",
- "sha.js": "^2.4.0"
- }
- },
- "node_modules/create-hmac": {
- "version": "1.1.7",
- "resolved": "https://registry.npmjs.org/create-hmac/-/create-hmac-1.1.7.tgz",
- "integrity": "sha512-MJG9liiZ+ogc4TzUwuvbER1JRdgvUFSB5+VR/g5h82fGaIRWMWddtKBHi7/sVhfjQZ6SehlyhvQYrcYkaUIpLg==",
- "dev": true,
- "dependencies": {
- "cipher-base": "^1.0.3",
- "create-hash": "^1.1.0",
- "inherits": "^2.0.1",
- "ripemd160": "^2.0.0",
- "safe-buffer": "^5.0.1",
- "sha.js": "^2.4.8"
- }
- },
- "node_modules/cross-spawn": {
- "version": "3.0.1",
- "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-3.0.1.tgz",
- "integrity": "sha1-ElYDfsufDF9549bvE14wdwGEuYI=",
- "dependencies": {
- "lru-cache": "^4.0.1",
- "which": "^1.2.9"
- }
- },
- "node_modules/crossvent": {
- "version": "1.5.4",
- "resolved": "https://registry.npmjs.org/crossvent/-/crossvent-1.5.4.tgz",
- "integrity": "sha1-2ixPj0DJR4JRe/K+7BBEFIGUq5I=",
- "dependencies": {
- "custom-event": "1.0.0"
- }
- },
- "node_modules/crypto-browserify": {
- "version": "1.0.9",
- "resolved": "https://registry.npmjs.org/crypto-browserify/-/crypto-browserify-1.0.9.tgz",
- "integrity": "sha1-zFRJaF37hesRyYKKzHy4erW7/MA=",
- "engines": {
- "node": "*"
- }
- },
- "node_modules/css-parse": {
- "version": "1.7.0",
- "resolved": "https://registry.npmjs.org/css-parse/-/css-parse-1.7.0.tgz",
- "integrity": "sha1-Mh9s9zeCpv91ERE5D8BeLGV9jJs=",
- "dev": true
- },
- "node_modules/css-selector-tokenizer": {
- "version": "0.7.1",
- "resolved": "https://registry.npmjs.org/css-selector-tokenizer/-/css-selector-tokenizer-0.7.1.tgz",
- "integrity": "sha512-xYL0AMZJ4gFzJQsHUKa5jiWWi2vH77WVNg7JYRyewwj6oPh4yb/y6Y9ZCw9dsj/9UauMhtuxR+ogQd//EdEVNA==",
- "dev": true,
- "dependencies": {
- "cssesc": "^0.1.0",
- "fastparse": "^1.1.1",
- "regexpu-core": "^1.0.0"
- }
- },
- "node_modules/cssauron": {
- "version": "1.4.0",
- "resolved": "https://registry.npmjs.org/cssauron/-/cssauron-1.4.0.tgz",
- "integrity": "sha1-pmAt/34EqDBtwNuaVR6S6LVmKtg=",
- "dev": true,
- "dependencies": {
- "through": "X.X.X"
- }
- },
- "node_modules/cssesc": {
- "version": "0.1.0",
- "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-0.1.0.tgz",
- "integrity": "sha1-yBSQPkViM3GgR3tAEJqq++6t27Q=",
- "dev": true,
- "bin": {
- "cssesc": "bin/cssesc"
- }
- },
- "node_modules/currently-unhandled": {
- "version": "0.4.1",
- "resolved": "https://registry.npmjs.org/currently-unhandled/-/currently-unhandled-0.4.1.tgz",
- "integrity": "sha1-mI3zP+qxke95mmE2nddsF635V+o=",
- "dependencies": {
- "array-find-index": "^1.0.1"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/custom-event": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/custom-event/-/custom-event-1.0.0.tgz",
- "integrity": "sha1-LkYovhncSyFLXAJjDFlx6BFhgGI="
- },
- "node_modules/cyclist": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/cyclist/-/cyclist-1.0.1.tgz",
- "integrity": "sha1-WW6WmP0MgOEgOMK4LW6xs1tiJNk=",
- "dev": true
- },
- "node_modules/d3": {
- "version": "4.13.0",
- "resolved": "https://registry.npmjs.org/d3/-/d3-4.13.0.tgz",
- "integrity": "sha512-l8c4+0SldjVKLaE2WG++EQlqD7mh/dmQjvi2L2lKPadAVC+TbJC4ci7Uk9bRi+To0+ansgsS0iWfPjD7DBy+FQ==",
- "dependencies": {
- "d3-array": "1.2.1",
- "d3-axis": "1.0.8",
- "d3-brush": "1.0.4",
- "d3-chord": "1.0.4",
- "d3-collection": "1.0.4",
- "d3-color": "1.0.3",
- "d3-dispatch": "1.0.3",
- "d3-drag": "1.2.1",
- "d3-dsv": "1.0.8",
- "d3-ease": "1.0.3",
- "d3-force": "1.1.0",
- "d3-format": "1.2.2",
- "d3-geo": "1.9.1",
- "d3-hierarchy": "1.1.5",
- "d3-interpolate": "1.1.6",
- "d3-path": "1.0.5",
- "d3-polygon": "1.0.3",
- "d3-quadtree": "1.0.3",
- "d3-queue": "3.0.7",
- "d3-random": "1.1.0",
- "d3-request": "1.0.6",
- "d3-scale": "1.0.7",
- "d3-selection": "1.3.0",
- "d3-shape": "1.2.0",
- "d3-time": "1.0.8",
- "d3-time-format": "2.1.1",
- "d3-timer": "1.0.7",
- "d3-transition": "1.1.1",
- "d3-voronoi": "1.1.2",
- "d3-zoom": "1.7.1"
- }
- },
- "node_modules/d3-array": {
- "version": "1.2.4",
- "resolved": "https://registry.npmjs.org/d3-array/-/d3-array-1.2.4.tgz",
- "integrity": "sha512-KHW6M86R+FUPYGb3R5XiYjXPq7VzwxZ22buHhAEVG5ztoEcZZMLov530mmccaqA1GghZArjQV46fuc8kUqhhHw=="
- },
- "node_modules/d3-axis": {
- "version": "1.0.8",
- "resolved": "https://registry.npmjs.org/d3-axis/-/d3-axis-1.0.8.tgz",
- "integrity": "sha1-MacFoLU15ldZ3hQXOjGTMTfxjvo="
- },
- "node_modules/d3-brush": {
- "version": "1.1.5",
- "resolved": "https://registry.npmjs.org/d3-brush/-/d3-brush-1.1.5.tgz",
- "integrity": "sha512-rEaJ5gHlgLxXugWjIkolTA0OyMvw8UWU1imYXy1v642XyyswmI1ybKOv05Ft+ewq+TFmdliD3VuK0pRp1VT/5A==",
- "dependencies": {
- "d3-dispatch": "1",
- "d3-drag": "1",
- "d3-interpolate": "1",
- "d3-selection": "1",
- "d3-transition": "1"
- }
- },
- "node_modules/d3-chord": {
- "version": "1.0.4",
- "resolved": "https://registry.npmjs.org/d3-chord/-/d3-chord-1.0.4.tgz",
- "integrity": "sha1-fexPC6iG9xP+ERxF92NBT290yiw=",
- "dependencies": {
- "d3-array": "1",
- "d3-path": "1"
- }
- },
- "node_modules/d3-collection": {
- "version": "1.0.7",
- "resolved": "https://registry.npmjs.org/d3-collection/-/d3-collection-1.0.7.tgz",
- "integrity": "sha512-ii0/r5f4sjKNTfh84Di+DpztYwqKhEyUlKoPrzUFfeSkWxjW49xU2QzO9qrPrNkpdI0XJkfzvmTu8V2Zylln6A=="
- },
- "node_modules/d3-color": {
- "version": "1.4.0",
- "resolved": "https://registry.npmjs.org/d3-color/-/d3-color-1.4.0.tgz",
- "integrity": "sha512-TzNPeJy2+iEepfiL92LAAB7fvnp/dV2YwANPVHdDWmYMm23qIJBYww3qT8I8C1wXrmrg4UWs7BKc2tKIgyjzHg=="
- },
- "node_modules/d3-dispatch": {
- "version": "1.0.6",
- "resolved": "https://registry.npmjs.org/d3-dispatch/-/d3-dispatch-1.0.6.tgz",
- "integrity": "sha512-fVjoElzjhCEy+Hbn8KygnmMS7Or0a9sI2UzGwoB7cCtvI1XpVN9GpoYlnb3xt2YV66oXYb1fLJ8GMvP4hdU1RA=="
- },
- "node_modules/d3-drag": {
- "version": "1.2.5",
- "resolved": "https://registry.npmjs.org/d3-drag/-/d3-drag-1.2.5.tgz",
- "integrity": "sha512-rD1ohlkKQwMZYkQlYVCrSFxsWPzI97+W+PaEIBNTMxRuxz9RF0Hi5nJWHGVJ3Om9d2fRTe1yOBINJyy/ahV95w==",
- "dependencies": {
- "d3-dispatch": "1",
- "d3-selection": "1"
- }
- },
- "node_modules/d3-dsv": {
- "version": "1.0.8",
- "resolved": "https://registry.npmjs.org/d3-dsv/-/d3-dsv-1.0.8.tgz",
- "integrity": "sha512-IVCJpQ+YGe3qu6odkPQI0KPqfxkhbP/oM1XhhE/DFiYmcXKfCRub4KXyiuehV1d4drjWVXHUWx4gHqhdZb6n/A==",
- "dependencies": {
- "commander": "2",
- "iconv-lite": "0.4",
- "rw": "1"
- },
- "bin": {
- "csv2json": "bin/dsv2json",
- "csv2tsv": "bin/dsv2dsv",
- "dsv2dsv": "bin/dsv2dsv",
- "dsv2json": "bin/dsv2json",
- "json2csv": "bin/json2dsv",
- "json2dsv": "bin/json2dsv",
- "json2tsv": "bin/json2dsv",
- "tsv2csv": "bin/dsv2dsv",
- "tsv2json": "bin/dsv2json"
- }
- },
- "node_modules/d3-ease": {
- "version": "1.0.6",
- "resolved": "https://registry.npmjs.org/d3-ease/-/d3-ease-1.0.6.tgz",
- "integrity": "sha512-SZ/lVU7LRXafqp7XtIcBdxnWl8yyLpgOmzAk0mWBI9gXNzLDx5ybZgnRbH9dN/yY5tzVBqCQ9avltSnqVwessQ=="
- },
- "node_modules/d3-force": {
- "version": "1.2.1",
- "resolved": "https://registry.npmjs.org/d3-force/-/d3-force-1.2.1.tgz",
- "integrity": "sha512-HHvehyaiUlVo5CxBJ0yF/xny4xoaxFxDnBXNvNcfW9adORGZfyNF1dj6DGLKyk4Yh3brP/1h3rnDzdIAwL08zg==",
- "dependencies": {
- "d3-collection": "1",
- "d3-dispatch": "1",
- "d3-quadtree": "1",
- "d3-timer": "1"
- }
- },
- "node_modules/d3-format": {
- "version": "1.4.3",
- "resolved": "https://registry.npmjs.org/d3-format/-/d3-format-1.4.3.tgz",
- "integrity": "sha512-mm/nE2Y9HgGyjP+rKIekeITVgBtX97o1nrvHCWX8F/yBYyevUTvu9vb5pUnKwrcSw7o7GuwMOWjS9gFDs4O+uQ=="
- },
- "node_modules/d3-geo": {
- "version": "1.9.1",
- "resolved": "https://registry.npmjs.org/d3-geo/-/d3-geo-1.9.1.tgz",
- "integrity": "sha512-l9wL/cEQkyZQYXw3xbmLsH3eQ5ij+icNfo4r0GrLa5rOCZR/e/3am45IQ0FvQ5uMsv+77zBRunLc9ufTWSQYFA==",
- "dependencies": {
- "d3-array": "1"
- }
- },
- "node_modules/d3-hierarchy": {
- "version": "1.1.9",
- "resolved": "https://registry.npmjs.org/d3-hierarchy/-/d3-hierarchy-1.1.9.tgz",
- "integrity": "sha512-j8tPxlqh1srJHAtxfvOUwKNYJkQuBFdM1+JAUfq6xqH5eAqf93L7oG1NVqDa4CpFZNvnNKtCYEUC8KY9yEn9lQ=="
- },
- "node_modules/d3-interpolate": {
- "version": "1.4.0",
- "resolved": "https://registry.npmjs.org/d3-interpolate/-/d3-interpolate-1.4.0.tgz",
- "integrity": "sha512-V9znK0zc3jOPV4VD2zZn0sDhZU3WAE2bmlxdIwwQPPzPjvyLkd8B3JUVdS1IDUFDkWZ72c9qnv1GK2ZagTZ8EA==",
- "dependencies": {
- "d3-color": "1"
- }
- },
- "node_modules/d3-path": {
- "version": "1.0.9",
- "resolved": "https://registry.npmjs.org/d3-path/-/d3-path-1.0.9.tgz",
- "integrity": "sha512-VLaYcn81dtHVTjEHd8B+pbe9yHWpXKZUC87PzoFmsFrJqgFwDe/qxfp5MlfsfM1V5E/iVt0MmEbWQ7FVIXh/bg=="
- },
- "node_modules/d3-polygon": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/d3-polygon/-/d3-polygon-1.0.3.tgz",
- "integrity": "sha1-FoiOkCZGCTPysXllKtN4Ik04LGI="
- },
- "node_modules/d3-quadtree": {
- "version": "1.0.7",
- "resolved": "https://registry.npmjs.org/d3-quadtree/-/d3-quadtree-1.0.7.tgz",
- "integrity": "sha512-RKPAeXnkC59IDGD0Wu5mANy0Q2V28L+fNe65pOCXVdVuTJS3WPKaJlFHer32Rbh9gIo9qMuJXio8ra4+YmIymA=="
- },
- "node_modules/d3-queue": {
- "version": "3.0.7",
- "resolved": "https://registry.npmjs.org/d3-queue/-/d3-queue-3.0.7.tgz",
- "integrity": "sha1-yTouVLQXwJWRKdfXP2z31Ckudhg="
- },
- "node_modules/d3-random": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/d3-random/-/d3-random-1.1.0.tgz",
- "integrity": "sha1-ZkLlBsb6OmSFldKyRpeIqNElKdM="
- },
- "node_modules/d3-request": {
- "version": "1.0.6",
- "resolved": "https://registry.npmjs.org/d3-request/-/d3-request-1.0.6.tgz",
- "integrity": "sha512-FJj8ySY6GYuAJHZMaCQ83xEYE4KbkPkmxZ3Hu6zA1xxG2GD+z6P+Lyp+zjdsHf0xEbp2xcluDI50rCS855EQ6w==",
- "dependencies": {
- "d3-collection": "1",
- "d3-dispatch": "1",
- "d3-dsv": "1",
- "xmlhttprequest": "1"
- }
- },
- "node_modules/d3-scale": {
- "version": "1.0.7",
- "resolved": "https://registry.npmjs.org/d3-scale/-/d3-scale-1.0.7.tgz",
- "integrity": "sha512-KvU92czp2/qse5tUfGms6Kjig0AhHOwkzXG0+PqIJB3ke0WUv088AHMZI0OssO9NCkXt4RP8yju9rpH8aGB7Lw==",
- "dependencies": {
- "d3-array": "^1.2.0",
- "d3-collection": "1",
- "d3-color": "1",
- "d3-format": "1",
- "d3-interpolate": "1",
- "d3-time": "1",
- "d3-time-format": "2"
- }
- },
- "node_modules/d3-selection": {
- "version": "1.4.1",
- "resolved": "https://registry.npmjs.org/d3-selection/-/d3-selection-1.4.1.tgz",
- "integrity": "sha512-BTIbRjv/m5rcVTfBs4AMBLKs4x8XaaLkwm28KWu9S2vKNqXkXt2AH2Qf0sdPZHjFxcWg/YL53zcqAz+3g4/7PA=="
- },
- "node_modules/d3-shape": {
- "version": "1.3.7",
- "resolved": "https://registry.npmjs.org/d3-shape/-/d3-shape-1.3.7.tgz",
- "integrity": "sha512-EUkvKjqPFUAZyOlhY5gzCxCeI0Aep04LwIRpsZ/mLFelJiUfnK56jo5JMDSE7yyP2kLSb6LtF+S5chMk7uqPqw==",
- "dependencies": {
- "d3-path": "1"
- }
- },
- "node_modules/d3-time": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/d3-time/-/d3-time-1.1.0.tgz",
- "integrity": "sha512-Xh0isrZ5rPYYdqhAVk8VLnMEidhz5aP7htAADH6MfzgmmicPkTo8LhkLxci61/lCB7n7UmE3bN0leRt+qvkLxA=="
- },
- "node_modules/d3-time-format": {
- "version": "2.2.3",
- "resolved": "https://registry.npmjs.org/d3-time-format/-/d3-time-format-2.2.3.tgz",
- "integrity": "sha512-RAHNnD8+XvC4Zc4d2A56Uw0yJoM7bsvOlJR33bclxq399Rak/b9bhvu/InjxdWhPtkgU53JJcleJTGkNRnN6IA==",
- "dependencies": {
- "d3-time": "1"
- }
- },
- "node_modules/d3-timer": {
- "version": "1.0.10",
- "resolved": "https://registry.npmjs.org/d3-timer/-/d3-timer-1.0.10.tgz",
- "integrity": "sha512-B1JDm0XDaQC+uvo4DT79H0XmBskgS3l6Ve+1SBCfxgmtIb1AVrPIoqd+nPSv+loMX8szQ0sVUhGngL7D5QPiXw=="
- },
- "node_modules/d3-transition": {
- "version": "1.3.2",
- "resolved": "https://registry.npmjs.org/d3-transition/-/d3-transition-1.3.2.tgz",
- "integrity": "sha512-sc0gRU4PFqZ47lPVHloMn9tlPcv8jxgOQg+0zjhfZXMQuvppjG6YuwdMBE0TuqCZjeJkLecku/l9R0JPcRhaDA==",
- "dependencies": {
- "d3-color": "1",
- "d3-dispatch": "1",
- "d3-ease": "1",
- "d3-interpolate": "1",
- "d3-selection": "^1.1.0",
- "d3-timer": "1"
- }
- },
- "node_modules/d3-voronoi": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/d3-voronoi/-/d3-voronoi-1.1.2.tgz",
- "integrity": "sha1-Fodmfo8TotFYyAwUgMWinLDYlzw="
- },
- "node_modules/d3-zoom": {
- "version": "1.7.1",
- "resolved": "https://registry.npmjs.org/d3-zoom/-/d3-zoom-1.7.1.tgz",
- "integrity": "sha512-sZHQ55DGq5BZBFGnRshUT8tm2sfhPHFnOlmPbbwTkAoPeVdRTkB4Xsf9GCY0TSHrTD8PeJPZGmP/TpGicwJDJQ==",
- "dependencies": {
- "d3-dispatch": "1",
- "d3-drag": "1",
- "d3-interpolate": "1",
- "d3-selection": "1",
- "d3-transition": "1"
- }
- },
- "node_modules/d3/node_modules/d3-array": {
- "version": "1.2.1",
- "resolved": "https://registry.npmjs.org/d3-array/-/d3-array-1.2.1.tgz",
- "integrity": "sha512-CyINJQ0SOUHojDdFDH4JEM0552vCR1utGyLHegJHyYH0JyCpSeTPxi4OBqHMA2jJZq4NH782LtaJWBImqI/HBw=="
- },
- "node_modules/d3/node_modules/d3-brush": {
- "version": "1.0.4",
- "resolved": "https://registry.npmjs.org/d3-brush/-/d3-brush-1.0.4.tgz",
- "integrity": "sha1-AMLyOAGfJPbAoZSibUGhUw/+e8Q=",
- "dependencies": {
- "d3-dispatch": "1",
- "d3-drag": "1",
- "d3-interpolate": "1",
- "d3-selection": "1",
- "d3-transition": "1"
- }
- },
- "node_modules/d3/node_modules/d3-collection": {
- "version": "1.0.4",
- "resolved": "https://registry.npmjs.org/d3-collection/-/d3-collection-1.0.4.tgz",
- "integrity": "sha1-NC39EoN8kJdPM/HMCnha6lcNzcI="
- },
- "node_modules/d3/node_modules/d3-color": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/d3-color/-/d3-color-1.0.3.tgz",
- "integrity": "sha1-vHZD/KjlOoNH4vva/6I2eWtYUJs="
- },
- "node_modules/d3/node_modules/d3-dispatch": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/d3-dispatch/-/d3-dispatch-1.0.3.tgz",
- "integrity": "sha1-RuFJHqqbWMNY/OW+TovtYm54cfg="
- },
- "node_modules/d3/node_modules/d3-drag": {
- "version": "1.2.1",
- "resolved": "https://registry.npmjs.org/d3-drag/-/d3-drag-1.2.1.tgz",
- "integrity": "sha512-Cg8/K2rTtzxzrb0fmnYOUeZHvwa4PHzwXOLZZPwtEs2SKLLKLXeYwZKBB+DlOxUvFmarOnmt//cU4+3US2lyyQ==",
- "dependencies": {
- "d3-dispatch": "1",
- "d3-selection": "1"
- }
- },
- "node_modules/d3/node_modules/d3-ease": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/d3-ease/-/d3-ease-1.0.3.tgz",
- "integrity": "sha1-aL+8NJM4o4DETYrMT7wzBKotjA4="
- },
- "node_modules/d3/node_modules/d3-force": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/d3-force/-/d3-force-1.1.0.tgz",
- "integrity": "sha512-2HVQz3/VCQs0QeRNZTYb7GxoUCeb6bOzMp/cGcLa87awY9ZsPvXOGeZm0iaGBjXic6I1ysKwMn+g+5jSAdzwcg==",
- "dependencies": {
- "d3-collection": "1",
- "d3-dispatch": "1",
- "d3-quadtree": "1",
- "d3-timer": "1"
- }
- },
- "node_modules/d3/node_modules/d3-format": {
- "version": "1.2.2",
- "resolved": "https://registry.npmjs.org/d3-format/-/d3-format-1.2.2.tgz",
- "integrity": "sha512-zH9CfF/3C8zUI47nsiKfD0+AGDEuM8LwBIP7pBVpyR4l/sKkZqITmMtxRp04rwBrlshIZ17XeFAaovN3++wzkw=="
- },
- "node_modules/d3/node_modules/d3-hierarchy": {
- "version": "1.1.5",
- "resolved": "https://registry.npmjs.org/d3-hierarchy/-/d3-hierarchy-1.1.5.tgz",
- "integrity": "sha1-ochFxC+Eoga88cAcAQmOpN2qeiY="
- },
- "node_modules/d3/node_modules/d3-interpolate": {
- "version": "1.1.6",
- "resolved": "https://registry.npmjs.org/d3-interpolate/-/d3-interpolate-1.1.6.tgz",
- "integrity": "sha512-mOnv5a+pZzkNIHtw/V6I+w9Lqm9L5bG3OTXPM5A+QO0yyVMQ4W1uZhR+VOJmazaOZXri2ppbiZ5BUNWT0pFM9A==",
- "dependencies": {
- "d3-color": "1"
- }
- },
- "node_modules/d3/node_modules/d3-path": {
- "version": "1.0.5",
- "resolved": "https://registry.npmjs.org/d3-path/-/d3-path-1.0.5.tgz",
- "integrity": "sha1-JB6xhJvZ6egCHA0KeZ+KDo5EF2Q="
- },
- "node_modules/d3/node_modules/d3-quadtree": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/d3-quadtree/-/d3-quadtree-1.0.3.tgz",
- "integrity": "sha1-rHmH4+I/6AWpkPKOG1DTj8uCJDg="
- },
- "node_modules/d3/node_modules/d3-selection": {
- "version": "1.3.0",
- "resolved": "https://registry.npmjs.org/d3-selection/-/d3-selection-1.3.0.tgz",
- "integrity": "sha512-qgpUOg9tl5CirdqESUAu0t9MU/t3O9klYfGfyKsXEmhyxyzLpzpeh08gaxBUTQw1uXIOkr/30Ut2YRjSSxlmHA=="
- },
- "node_modules/d3/node_modules/d3-shape": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/d3-shape/-/d3-shape-1.2.0.tgz",
- "integrity": "sha1-RdAVOPBkuv0F6j1tLLdI/YxB93c=",
- "dependencies": {
- "d3-path": "1"
- }
- },
- "node_modules/d3/node_modules/d3-time": {
- "version": "1.0.8",
- "resolved": "https://registry.npmjs.org/d3-time/-/d3-time-1.0.8.tgz",
- "integrity": "sha512-YRZkNhphZh3KcnBfitvF3c6E0JOFGikHZ4YqD+Lzv83ZHn1/u6yGenRU1m+KAk9J1GnZMnKcrtfvSktlA1DXNQ=="
- },
- "node_modules/d3/node_modules/d3-time-format": {
- "version": "2.1.1",
- "resolved": "https://registry.npmjs.org/d3-time-format/-/d3-time-format-2.1.1.tgz",
- "integrity": "sha512-8kAkymq2WMfzW7e+s/IUNAtN/y3gZXGRrdGfo6R8NKPAA85UBTxZg5E61bR6nLwjPjj4d3zywSQe1CkYLPFyrw==",
- "dependencies": {
- "d3-time": "1"
- }
- },
- "node_modules/d3/node_modules/d3-timer": {
- "version": "1.0.7",
- "resolved": "https://registry.npmjs.org/d3-timer/-/d3-timer-1.0.7.tgz",
- "integrity": "sha512-vMZXR88XujmG/L5oB96NNKH5lCWwiLM/S2HyyAQLcjWJCloK5shxta4CwOFYLZoY3AWX73v8Lgv4cCAdWtRmOA=="
- },
- "node_modules/d3/node_modules/d3-transition": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/d3-transition/-/d3-transition-1.1.1.tgz",
- "integrity": "sha512-xeg8oggyQ+y5eb4J13iDgKIjUcEfIOZs2BqV/eEmXm2twx80wTzJ4tB4vaZ5BKfz7XsI/DFmQL5me6O27/5ykQ==",
- "dependencies": {
- "d3-color": "1",
- "d3-dispatch": "1",
- "d3-ease": "1",
- "d3-interpolate": "1",
- "d3-selection": "^1.1.0",
- "d3-timer": "1"
- }
- },
- "node_modules/dashdash": {
- "version": "1.14.1",
- "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz",
- "integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=",
- "dependencies": {
- "assert-plus": "^1.0.0"
- },
- "engines": {
- "node": ">=0.10"
- }
- },
- "node_modules/date-fns": {
- "version": "1.30.1",
- "resolved": "https://registry.npmjs.org/date-fns/-/date-fns-1.30.1.tgz",
- "integrity": "sha512-hBSVCvSmWC+QypYObzwGOd9wqdDpOt+0wl0KbU+R+uuZBS1jN8VsD1ss3irQDknRj5NvxiTF6oj/nDRnN/UQNw=="
- },
- "node_modules/debug": {
- "version": "2.6.9",
- "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
- "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
- "dev": true,
- "dependencies": {
- "ms": "2.0.0"
- }
- },
- "node_modules/decamelize": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz",
- "integrity": "sha1-9lNNFRSCabIDUue+4m9QH5oZEpA=",
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/decode-uri-component": {
- "version": "0.2.0",
- "resolved": "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.0.tgz",
- "integrity": "sha1-6zkTMzRYd1y4TNGh+uBiEGu4dUU=",
- "dev": true,
- "engines": {
- "node": ">=0.10"
- }
- },
- "node_modules/deep-equal": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/deep-equal/-/deep-equal-1.1.1.tgz",
- "integrity": "sha512-yd9c5AdiqVcR+JjcwUQb9DkhJc8ngNr0MahEBGvDiJw8puWab2yZlh+nkasOnZP+EGTAP6rRp2JzJhJZzvNF8g==",
- "dependencies": {
- "is-arguments": "^1.0.4",
- "is-date-object": "^1.0.1",
- "is-regex": "^1.0.4",
- "object-is": "^1.0.1",
- "object-keys": "^1.1.1",
- "regexp.prototype.flags": "^1.2.0"
- }
- },
- "node_modules/deep-is": {
- "version": "0.1.3",
- "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.3.tgz",
- "integrity": "sha1-s2nW+128E+7PUk+RsHD+7cNXzzQ=",
- "dev": true
- },
- "node_modules/default-gateway": {
- "version": "2.7.2",
- "resolved": "https://registry.npmjs.org/default-gateway/-/default-gateway-2.7.2.tgz",
- "integrity": "sha512-lAc4i9QJR0YHSDFdzeBQKfZ1SRDG3hsJNEkrpcZa8QhBfidLAilT60BDEIVUUGqosFp425KOgB3uYqcnQrWafQ==",
- "dev": true,
- "os": [
- "android",
- "darwin",
- "freebsd",
- "linux",
- "openbsd",
- "sunos",
- "win32"
- ],
- "dependencies": {
- "execa": "^0.10.0",
- "ip-regex": "^2.1.0"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/default-require-extensions": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/default-require-extensions/-/default-require-extensions-1.0.0.tgz",
- "integrity": "sha1-836hXT4T/9m0N9M+GnW1+5eHTLg=",
- "dev": true,
- "dependencies": {
- "strip-bom": "^2.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/define-properties": {
- "version": "1.1.3",
- "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz",
- "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==",
- "dependencies": {
- "object-keys": "^1.0.12"
- },
- "engines": {
- "node": ">= 0.4"
- }
- },
- "node_modules/define-property": {
- "version": "2.0.2",
- "resolved": "https://registry.npmjs.org/define-property/-/define-property-2.0.2.tgz",
- "integrity": "sha512-jwK2UV4cnPpbcG7+VRARKTZPUWowwXA8bzH5NP6ud0oeAxyYPuGZUAC7hMugpCdz4BeSZl2Dl9k66CHJ/46ZYQ==",
- "dev": true,
- "dependencies": {
- "is-descriptor": "^1.0.2",
- "isobject": "^3.0.1"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/define-property/node_modules/is-accessor-descriptor": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz",
- "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==",
- "dev": true,
- "dependencies": {
- "kind-of": "^6.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/define-property/node_modules/is-data-descriptor": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz",
- "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==",
- "dev": true,
- "dependencies": {
- "kind-of": "^6.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/define-property/node_modules/is-descriptor": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz",
- "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==",
- "dev": true,
- "dependencies": {
- "is-accessor-descriptor": "^1.0.0",
- "is-data-descriptor": "^1.0.0",
- "kind-of": "^6.0.2"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/del": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/del/-/del-3.0.0.tgz",
- "integrity": "sha1-U+z2mf/LyzljdpGrE7rxYIGXZuU=",
- "dev": true,
- "dependencies": {
- "globby": "^6.1.0",
- "is-path-cwd": "^1.0.0",
- "is-path-in-cwd": "^1.0.0",
- "p-map": "^1.1.1",
- "pify": "^3.0.0",
- "rimraf": "^2.2.8"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/del/node_modules/globby": {
- "version": "6.1.0",
- "resolved": "https://registry.npmjs.org/globby/-/globby-6.1.0.tgz",
- "integrity": "sha1-9abXDoOV4hyFj7BInWTfAkJNUGw=",
- "dev": true,
- "dependencies": {
- "array-union": "^1.0.1",
- "glob": "^7.0.3",
- "object-assign": "^4.0.1",
- "pify": "^2.0.0",
- "pinkie-promise": "^2.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/del/node_modules/globby/node_modules/pify": {
- "version": "2.3.0",
- "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz",
- "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/del/node_modules/pify": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz",
- "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=",
- "dev": true,
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/delayed-stream": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz",
- "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=",
- "engines": {
- "node": ">=0.4.0"
- }
- },
- "node_modules/delegates": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz",
- "integrity": "sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o="
- },
- "node_modules/depd": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz",
- "integrity": "sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak=",
- "dev": true,
- "engines": {
- "node": ">= 0.6"
- }
- },
- "node_modules/des.js": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/des.js/-/des.js-1.0.1.tgz",
- "integrity": "sha512-Q0I4pfFrv2VPd34/vfLrFOoRmlYj3OV50i7fskps1jZWK1kApMWWT9G6RRUeYedLcBDIhnSDaUvJMb3AhUlaEA==",
- "dev": true,
- "dependencies": {
- "inherits": "^2.0.1",
- "minimalistic-assert": "^1.0.0"
- }
- },
- "node_modules/destroy": {
- "version": "1.0.4",
- "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.0.4.tgz",
- "integrity": "sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA=",
- "dev": true
- },
- "node_modules/detect-indent": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/detect-indent/-/detect-indent-4.0.0.tgz",
- "integrity": "sha1-920GQ1LN9Docts5hnE7jqUdd4gg=",
- "dev": true,
- "dependencies": {
- "repeating": "^2.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/detect-node": {
- "version": "2.0.4",
- "resolved": "https://registry.npmjs.org/detect-node/-/detect-node-2.0.4.tgz",
- "integrity": "sha512-ZIzRpLJrOj7jjP2miAtgqIfmzbxa4ZOr5jJc601zklsfEx9oTzmmj2nVpIPRpNlRTIh8lc1kyViIY7BWSGNmKw==",
- "dev": true
- },
- "node_modules/di": {
- "version": "0.0.1",
- "resolved": "https://registry.npmjs.org/di/-/di-0.0.1.tgz",
- "integrity": "sha1-gGZJMmzqp8qjMG112YXqJ0i6kTw=",
- "dev": true
- },
- "node_modules/diff": {
- "version": "3.5.0",
- "resolved": "https://registry.npmjs.org/diff/-/diff-3.5.0.tgz",
- "integrity": "sha512-A46qtFgd+g7pDZinpnwiRJtxbC1hpgf0uzP3iG89scHk0AUC7A1TGxf5OiiOUv/JMZR8GOt8hL900hV0bOy5xA==",
- "dev": true,
- "engines": {
- "node": ">=0.3.1"
- }
- },
- "node_modules/diffie-hellman": {
- "version": "5.0.3",
- "resolved": "https://registry.npmjs.org/diffie-hellman/-/diffie-hellman-5.0.3.tgz",
- "integrity": "sha512-kqag/Nl+f3GwyK25fhUMYj81BUOrZ9IuJsjIcDE5icNM9FJHAVm3VcUDxdLPoQtTuUylWm6ZIknYJwwaPxsUzg==",
- "dev": true,
- "dependencies": {
- "bn.js": "^4.1.0",
- "miller-rabin": "^4.0.0",
- "randombytes": "^2.0.0"
- }
- },
- "node_modules/dir-glob": {
- "version": "2.2.2",
- "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-2.2.2.tgz",
- "integrity": "sha512-f9LBi5QWzIW3I6e//uxZoLBlUt9kcp66qo0sSCxL6YZKc75R1c4MFCoe/LaZiBGmgujvQdxc5Bn3QhfyvK5Hsw==",
- "dev": true,
- "dependencies": {
- "path-type": "^3.0.0"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/dir-glob/node_modules/path-type": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/path-type/-/path-type-3.0.0.tgz",
- "integrity": "sha512-T2ZUsdZFHgA3u4e5PfPbjd7HDDpxPnQb5jN0SrDsjNSuVXHJqtwTnWqG0B1jZrgmJ/7lj1EmVIByWt1gxGkWvg==",
- "dev": true,
- "dependencies": {
- "pify": "^3.0.0"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/dir-glob/node_modules/pify": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz",
- "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=",
- "dev": true,
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/dns-equal": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/dns-equal/-/dns-equal-1.0.0.tgz",
- "integrity": "sha1-s55/HabrCnW6nBcySzR1PEfgZU0=",
- "dev": true
- },
- "node_modules/dns-packet": {
- "version": "1.3.4",
- "resolved": "https://registry.npmjs.org/dns-packet/-/dns-packet-1.3.4.tgz",
- "integrity": "sha512-BQ6F4vycLXBvdrJZ6S3gZewt6rcrks9KBgM9vrhW+knGRqc8uEdT7fuCwloc7nny5xNoMJ17HGH0R/6fpo8ECA==",
- "dev": true,
- "dependencies": {
- "ip": "^1.1.0",
- "safe-buffer": "^5.0.1"
- }
- },
- "node_modules/dns-txt": {
- "version": "2.0.2",
- "resolved": "https://registry.npmjs.org/dns-txt/-/dns-txt-2.0.2.tgz",
- "integrity": "sha1-uR2Ab10nGI5Ks+fRB9iBocxGQrY=",
- "dev": true,
- "dependencies": {
- "buffer-indexof": "^1.0.0"
- }
- },
- "node_modules/dom-serialize": {
- "version": "2.2.1",
- "resolved": "https://registry.npmjs.org/dom-serialize/-/dom-serialize-2.2.1.tgz",
- "integrity": "sha1-ViromZ9Evl6jB29UGdzVnrQ6yVs=",
- "dev": true,
- "dependencies": {
- "custom-event": "~1.0.0",
- "ent": "~2.2.0",
- "extend": "^3.0.0",
- "void-elements": "^2.0.0"
- }
- },
- "node_modules/dom-storage": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/dom-storage/-/dom-storage-2.1.0.tgz",
- "integrity": "sha512-g6RpyWXzl0RR6OTElHKBl7nwnK87GUyZMYC7JWsB/IA73vpqK2K6LT39x4VepLxlSsWBFrPVLnsSR5Jyty0+2Q==",
- "engines": {
- "node": "*"
- }
- },
- "node_modules/domain-browser": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/domain-browser/-/domain-browser-1.2.0.tgz",
- "integrity": "sha512-jnjyiM6eRyZl2H+W8Q/zLMA481hzi0eszAaBUzIVnmYVDBbnLxVNnfu1HgEBvCbL+71FrxMl3E6lpKH7Ge3OXA==",
- "dev": true,
- "engines": {
- "node": ">=0.4",
- "npm": ">=1.2"
- }
- },
- "node_modules/dragula": {
- "version": "3.7.2",
- "resolved": "https://registry.npmjs.org/dragula/-/dragula-3.7.2.tgz",
- "integrity": "sha1-SjXJ05gf+sGpScKcpyhQWOhzk84=",
- "dependencies": {
- "contra": "1.9.4",
- "crossvent": "1.5.4"
- }
- },
- "node_modules/duplexify": {
- "version": "3.7.1",
- "resolved": "https://registry.npmjs.org/duplexify/-/duplexify-3.7.1.tgz",
- "integrity": "sha512-07z8uv2wMyS51kKhD1KsdXJg5WQ6t93RneqRxUHnskXVtlYYkLqM0gqStQZ3pj073g687jPCHrqNfCzawLYh5g==",
- "dev": true,
- "dependencies": {
- "end-of-stream": "^1.0.0",
- "inherits": "^2.0.1",
- "readable-stream": "^2.0.0",
- "stream-shift": "^1.0.0"
- }
- },
- "node_modules/ecc-jsbn": {
- "version": "0.1.2",
- "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz",
- "integrity": "sha1-OoOpBOVDUyh4dMVkt1SThoSamMk=",
- "dependencies": {
- "jsbn": "~0.1.0",
- "safer-buffer": "^2.1.0"
- }
- },
- "node_modules/ee-first": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz",
- "integrity": "sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=",
- "dev": true
- },
- "node_modules/electron-to-chromium": {
- "version": "1.3.752",
- "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.752.tgz",
- "integrity": "sha512-2Tg+7jSl3oPxgsBsWKh5H83QazTkmWG/cnNwJplmyZc7KcN61+I10oUgaXSVk/NwfvN3BdkKDR4FYuRBQQ2v0A==",
- "dev": true
- },
- "node_modules/elliptic": {
- "version": "6.5.4",
- "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.4.tgz",
- "integrity": "sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ==",
- "dev": true,
- "dependencies": {
- "bn.js": "^4.11.9",
- "brorand": "^1.1.0",
- "hash.js": "^1.0.0",
- "hmac-drbg": "^1.0.1",
- "inherits": "^2.0.4",
- "minimalistic-assert": "^1.0.1",
- "minimalistic-crypto-utils": "^1.0.1"
- }
- },
- "node_modules/emoji-regex": {
- "version": "7.0.3",
- "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-7.0.3.tgz",
- "integrity": "sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA=="
- },
- "node_modules/emojis-list": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/emojis-list/-/emojis-list-2.1.0.tgz",
- "integrity": "sha1-TapNnbAPmBmIDHn6RXrlsJof04k=",
- "engines": {
- "node": ">= 0.10"
- }
- },
- "node_modules/encodeurl": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz",
- "integrity": "sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k=",
- "dev": true,
- "engines": {
- "node": ">= 0.8"
- }
- },
- "node_modules/encoding": {
- "version": "0.1.12",
- "resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.12.tgz",
- "integrity": "sha1-U4tm8+5izRq1HsMjgp0flIDHS+s=",
- "dependencies": {
- "iconv-lite": "~0.4.13"
- }
- },
- "node_modules/end-of-stream": {
- "version": "1.4.4",
- "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz",
- "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==",
- "dev": true,
- "dependencies": {
- "once": "^1.4.0"
- }
- },
- "node_modules/engine.io": {
- "version": "1.8.3",
- "resolved": "https://registry.npmjs.org/engine.io/-/engine.io-1.8.3.tgz",
- "integrity": "sha1-jef5eJXSDTm4X4ju7nd7K9QrE9Q=",
- "dev": true,
- "dependencies": {
- "accepts": "1.3.3",
- "base64id": "1.0.0",
- "cookie": "0.3.1",
- "debug": "2.3.3",
- "engine.io-parser": "1.3.2",
- "ws": "1.1.2"
- }
- },
- "node_modules/engine.io-client": {
- "version": "1.8.3",
- "resolved": "https://registry.npmjs.org/engine.io-client/-/engine.io-client-1.8.3.tgz",
- "integrity": "sha1-F5jtk0USRkU9TG9jXXogH+lA1as=",
- "dev": true,
- "dependencies": {
- "component-emitter": "1.2.1",
- "component-inherit": "0.0.3",
- "debug": "2.3.3",
- "engine.io-parser": "1.3.2",
- "has-cors": "1.1.0",
- "indexof": "0.0.1",
- "parsejson": "0.0.3",
- "parseqs": "0.0.5",
- "parseuri": "0.0.5",
- "ws": "1.1.2",
- "xmlhttprequest-ssl": "1.5.3",
- "yeast": "0.1.2"
- }
- },
- "node_modules/engine.io-client/node_modules/component-emitter": {
- "version": "1.2.1",
- "resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.2.1.tgz",
- "integrity": "sha1-E3kY1teCg/ffemt8WmPhQOaUJeY=",
- "dev": true
- },
- "node_modules/engine.io-client/node_modules/debug": {
- "version": "2.3.3",
- "resolved": "https://registry.npmjs.org/debug/-/debug-2.3.3.tgz",
- "integrity": "sha1-QMRT5n5uE8kB3ewxeviYbNqe/4w=",
- "dev": true,
- "dependencies": {
- "ms": "0.7.2"
- }
- },
- "node_modules/engine.io-client/node_modules/ms": {
- "version": "0.7.2",
- "resolved": "https://registry.npmjs.org/ms/-/ms-0.7.2.tgz",
- "integrity": "sha1-riXPJRKziFodldfwN4aNhDESR2U=",
- "dev": true
- },
- "node_modules/engine.io-parser": {
- "version": "1.3.2",
- "resolved": "https://registry.npmjs.org/engine.io-parser/-/engine.io-parser-1.3.2.tgz",
- "integrity": "sha1-k3sHnwAH0Ik+xW1GyyILjLQ1Igo=",
- "dev": true,
- "dependencies": {
- "after": "0.8.2",
- "arraybuffer.slice": "0.0.6",
- "base64-arraybuffer": "0.1.5",
- "blob": "0.0.4",
- "has-binary": "0.1.7",
- "wtf-8": "1.0.0"
- }
- },
- "node_modules/engine.io/node_modules/accepts": {
- "version": "1.3.3",
- "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.3.tgz",
- "integrity": "sha1-w8p0NJOGSMPg2cHjKN1otiLChMo=",
- "dev": true,
- "dependencies": {
- "mime-types": "~2.1.11",
- "negotiator": "0.6.1"
- },
- "engines": {
- "node": ">= 0.6"
- }
- },
- "node_modules/engine.io/node_modules/cookie": {
- "version": "0.3.1",
- "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.3.1.tgz",
- "integrity": "sha1-5+Ch+e9DtMi6klxcWpboBtFoc7s=",
- "dev": true,
- "engines": {
- "node": ">= 0.6"
- }
- },
- "node_modules/engine.io/node_modules/debug": {
- "version": "2.3.3",
- "resolved": "https://registry.npmjs.org/debug/-/debug-2.3.3.tgz",
- "integrity": "sha1-QMRT5n5uE8kB3ewxeviYbNqe/4w=",
- "dev": true,
- "dependencies": {
- "ms": "0.7.2"
- }
- },
- "node_modules/engine.io/node_modules/ms": {
- "version": "0.7.2",
- "resolved": "https://registry.npmjs.org/ms/-/ms-0.7.2.tgz",
- "integrity": "sha1-riXPJRKziFodldfwN4aNhDESR2U=",
- "dev": true
- },
- "node_modules/engine.io/node_modules/negotiator": {
- "version": "0.6.1",
- "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.1.tgz",
- "integrity": "sha1-KzJxhOiZIQEXeyhWP7XnECrNDKk=",
- "dev": true,
- "engines": {
- "node": ">= 0.6"
- }
- },
- "node_modules/enhanced-resolve": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-4.1.0.tgz",
- "integrity": "sha512-F/7vkyTtyc/llOIn8oWclcB25KdRaiPBpZYDgJHgh/UHtpgT2p2eldQgtQnLtUvfMKPKxbRaQM/hHkvLHt1Vng==",
- "dev": true,
- "dependencies": {
- "graceful-fs": "^4.1.2",
- "memory-fs": "^0.4.0",
- "tapable": "^1.0.0"
- },
- "engines": {
- "node": ">=6.9.0"
- }
- },
- "node_modules/ent": {
- "version": "2.2.0",
- "resolved": "https://registry.npmjs.org/ent/-/ent-2.2.0.tgz",
- "integrity": "sha1-6WQhkyWiHQX0RGai9obtbOX13R0=",
- "dev": true
- },
- "node_modules/err-code": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/err-code/-/err-code-1.1.2.tgz",
- "integrity": "sha1-BuARbTAo9q70gGhJ6w6mp0iuaWA=",
- "dev": true
- },
- "node_modules/errno": {
- "version": "0.1.7",
- "resolved": "https://registry.npmjs.org/errno/-/errno-0.1.7.tgz",
- "integrity": "sha512-MfrRBDWzIWifgq6tJj60gkAwtLNb6sQPlcFrSOflcP1aFmmruKQ2wRnze/8V6kgyz7H3FF8Npzv78mZ7XLLflg==",
- "dev": true,
- "dependencies": {
- "prr": "~1.0.1"
- },
- "bin": {
- "errno": "cli.js"
- }
- },
- "node_modules/error-ex": {
- "version": "1.3.2",
- "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz",
- "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==",
- "dependencies": {
- "is-arrayish": "^0.2.1"
- }
- },
- "node_modules/es-abstract": {
- "version": "1.17.0",
- "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.17.0.tgz",
- "integrity": "sha512-yYkE07YF+6SIBmg1MsJ9dlub5L48Ek7X0qz+c/CPCHS9EBXfESorzng4cJQjJW5/pB6vDF41u7F8vUhLVDqIug==",
- "dependencies": {
- "es-to-primitive": "^1.2.1",
- "function-bind": "^1.1.1",
- "has": "^1.0.3",
- "has-symbols": "^1.0.1",
- "is-callable": "^1.1.5",
- "is-regex": "^1.0.5",
- "object-inspect": "^1.7.0",
- "object-keys": "^1.1.1",
- "object.assign": "^4.1.0",
- "string.prototype.trimleft": "^2.1.1",
- "string.prototype.trimright": "^2.1.1"
- },
- "engines": {
- "node": ">= 0.4"
- }
- },
- "node_modules/es-to-primitive": {
- "version": "1.2.1",
- "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz",
- "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==",
- "dependencies": {
- "is-callable": "^1.1.4",
- "is-date-object": "^1.0.1",
- "is-symbol": "^1.0.2"
- },
- "engines": {
- "node": ">= 0.4"
- }
- },
- "node_modules/es6-promise": {
- "version": "4.2.8",
- "resolved": "https://registry.npmjs.org/es6-promise/-/es6-promise-4.2.8.tgz",
- "integrity": "sha512-HJDGx5daxeIvxdBxvG2cb9g4tEvwIk3i8+nhX0yGrYmZUzbkdg8QbDevheDB8gd0//uPj4c1EQua8Q+MViT0/w==",
- "dev": true
- },
- "node_modules/es6-promisify": {
- "version": "5.0.0",
- "resolved": "https://registry.npmjs.org/es6-promisify/-/es6-promisify-5.0.0.tgz",
- "integrity": "sha1-UQnWLz5W6pZ8S2NQWu8IKRyKUgM=",
- "dev": true,
- "dependencies": {
- "es6-promise": "^4.0.3"
- }
- },
- "node_modules/escalade": {
- "version": "3.1.1",
- "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz",
- "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==",
- "dev": true,
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/escape-html": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz",
- "integrity": "sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg=",
- "dev": true
- },
- "node_modules/escape-string-regexp": {
- "version": "1.0.5",
- "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",
- "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=",
- "engines": {
- "node": ">=0.8.0"
- }
- },
- "node_modules/escodegen": {
- "version": "1.8.1",
- "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-1.8.1.tgz",
- "integrity": "sha1-WltTr0aTEQvrsIZ6o0MN07cKEBg=",
- "dev": true,
- "dependencies": {
- "esprima": "^2.7.1",
- "estraverse": "^1.9.1",
- "esutils": "^2.0.2",
- "optionator": "^0.8.1"
- },
- "bin": {
- "escodegen": "bin/escodegen.js",
- "esgenerate": "bin/esgenerate.js"
- },
- "engines": {
- "node": ">=0.12.0"
- },
- "optionalDependencies": {
- "source-map": "~0.2.0"
- }
- },
- "node_modules/escodegen/node_modules/source-map": {
- "version": "0.2.0",
- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.2.0.tgz",
- "integrity": "sha1-2rc/vPwrqBm03gO9b26qSBZLP50=",
- "dev": true,
- "optional": true,
- "dependencies": {
- "amdefine": ">=0.0.4"
- },
- "engines": {
- "node": ">=0.8.0"
- }
- },
- "node_modules/eslint-scope": {
- "version": "4.0.3",
- "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-4.0.3.tgz",
- "integrity": "sha512-p7VutNr1O/QrxysMo3E45FjYDTeXBy0iTltPFNSqKAIfjDSXC+4dj+qfyuD8bfAXrW/y6lW3O76VaYNPKfpKrg==",
- "dev": true,
- "dependencies": {
- "esrecurse": "^4.1.0",
- "estraverse": "^4.1.1"
- },
- "engines": {
- "node": ">=4.0.0"
- }
- },
- "node_modules/eslint-scope/node_modules/estraverse": {
- "version": "4.3.0",
- "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz",
- "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==",
- "dev": true,
- "engines": {
- "node": ">=4.0"
- }
- },
- "node_modules/esprima": {
- "version": "2.7.3",
- "resolved": "https://registry.npmjs.org/esprima/-/esprima-2.7.3.tgz",
- "integrity": "sha1-luO3DVd59q1JzQMmc9HDEnZ7pYE=",
- "dev": true,
- "bin": {
- "esparse": "bin/esparse.js",
- "esvalidate": "bin/esvalidate.js"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/esrecurse": {
- "version": "4.2.1",
- "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.2.1.tgz",
- "integrity": "sha512-64RBB++fIOAXPw3P9cy89qfMlvZEXZkqqJkjqqXIvzP5ezRZjW+lPWjw35UX/3EhUPFYbg5ER4JYgDw4007/DQ==",
- "dev": true,
- "dependencies": {
- "estraverse": "^4.1.0"
- },
- "engines": {
- "node": ">=4.0"
- }
- },
- "node_modules/esrecurse/node_modules/estraverse": {
- "version": "4.3.0",
- "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz",
- "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==",
- "dev": true,
- "engines": {
- "node": ">=4.0"
- }
- },
- "node_modules/estraverse": {
- "version": "1.9.3",
- "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-1.9.3.tgz",
- "integrity": "sha1-r2fy3JIlgkFZUJJgkaQAXSnJu0Q=",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/esutils": {
- "version": "2.0.3",
- "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz",
- "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/etag": {
- "version": "1.8.1",
- "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz",
- "integrity": "sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc=",
- "dev": true,
- "engines": {
- "node": ">= 0.6"
- }
- },
- "node_modules/eventemitter3": {
- "version": "2.0.3",
- "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-2.0.3.tgz",
- "integrity": "sha1-teEHm1n7XhuidxwKmTvgYKWMmbo="
- },
- "node_modules/events": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/events/-/events-3.1.0.tgz",
- "integrity": "sha512-Rv+u8MLHNOdMjTAFeT3nCjHn2aGlx435FP/sDHNaRhDEMwyI/aB22Kj2qIN8R0cw3z28psEQLYwxVKLsKrMgWg==",
- "dev": true,
- "engines": {
- "node": ">=0.8.x"
- }
- },
- "node_modules/eventsource": {
- "version": "1.0.7",
- "resolved": "https://registry.npmjs.org/eventsource/-/eventsource-1.0.7.tgz",
- "integrity": "sha512-4Ln17+vVT0k8aWq+t/bF5arcS3EpT9gYtW66EPacdj/mAFevznsnyoHLPy2BA8gbIQeIHoPsvwmfBftfcG//BQ==",
- "dev": true,
- "dependencies": {
- "original": "^1.0.0"
- },
- "engines": {
- "node": ">=0.12.0"
- }
- },
- "node_modules/evp_bytestokey": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/evp_bytestokey/-/evp_bytestokey-1.0.3.tgz",
- "integrity": "sha512-/f2Go4TognH/KvCISP7OUsHn85hT9nUkxxA9BEWxFn+Oj9o8ZNLm/40hdlgSLyuOimsrTKLUMEorQexp/aPQeA==",
- "dev": true,
- "dependencies": {
- "md5.js": "^1.3.4",
- "safe-buffer": "^5.1.1"
- }
- },
- "node_modules/execa": {
- "version": "0.10.0",
- "resolved": "https://registry.npmjs.org/execa/-/execa-0.10.0.tgz",
- "integrity": "sha512-7XOMnz8Ynx1gGo/3hyV9loYNPWM94jG3+3T3Y8tsfSstFmETmENCMU/A/zj8Lyaj1lkgEepKepvd6240tBRvlw==",
- "dev": true,
- "dependencies": {
- "cross-spawn": "^6.0.0",
- "get-stream": "^3.0.0",
- "is-stream": "^1.1.0",
- "npm-run-path": "^2.0.0",
- "p-finally": "^1.0.0",
- "signal-exit": "^3.0.0",
- "strip-eof": "^1.0.0"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/execa/node_modules/cross-spawn": {
- "version": "6.0.5",
- "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz",
- "integrity": "sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==",
- "dev": true,
- "dependencies": {
- "nice-try": "^1.0.4",
- "path-key": "^2.0.1",
- "semver": "^5.5.0",
- "shebang-command": "^1.2.0",
- "which": "^1.2.9"
- },
- "engines": {
- "node": ">=4.8"
- }
- },
- "node_modules/exit": {
- "version": "0.1.2",
- "resolved": "https://registry.npmjs.org/exit/-/exit-0.1.2.tgz",
- "integrity": "sha1-BjJjj42HfMghB9MKD/8aF8uhzQw=",
- "dev": true,
- "engines": {
- "node": ">= 0.8.0"
- }
- },
- "node_modules/exit-on-epipe": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/exit-on-epipe/-/exit-on-epipe-1.0.1.tgz",
- "integrity": "sha512-h2z5mrROTxce56S+pnvAV890uu7ls7f1kEvVGJbw1OlFH3/mlJ5bkXu0KRyW94v37zzHPiUd55iLn3DA7TjWpw==",
- "engines": {
- "node": ">=0.8"
- }
- },
- "node_modules/expand-braces": {
- "version": "0.1.2",
- "resolved": "https://registry.npmjs.org/expand-braces/-/expand-braces-0.1.2.tgz",
- "integrity": "sha1-SIsdHSRRyz06axks/AMPRMWFX+o=",
- "dev": true,
- "dependencies": {
- "array-slice": "^0.2.3",
- "array-unique": "^0.2.1",
- "braces": "^0.1.2"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/expand-braces/node_modules/array-unique": {
- "version": "0.2.1",
- "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.2.1.tgz",
- "integrity": "sha1-odl8yvy8JiXMcPrc6zalDFiwGlM=",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/expand-braces/node_modules/braces": {
- "version": "0.1.5",
- "resolved": "https://registry.npmjs.org/braces/-/braces-0.1.5.tgz",
- "integrity": "sha1-wIVxEIUpHYt1/ddOqw+FlygHEeY=",
- "dev": true,
- "dependencies": {
- "expand-range": "^0.1.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/expand-braces/node_modules/expand-range": {
- "version": "0.1.1",
- "resolved": "https://registry.npmjs.org/expand-range/-/expand-range-0.1.1.tgz",
- "integrity": "sha1-TLjtoJk8pW+k9B/ELzy7TMrf8EQ=",
- "dev": true,
- "dependencies": {
- "is-number": "^0.1.1",
- "repeat-string": "^0.2.2"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/expand-braces/node_modules/is-number": {
- "version": "0.1.1",
- "resolved": "https://registry.npmjs.org/is-number/-/is-number-0.1.1.tgz",
- "integrity": "sha1-aaevEWlj1HIG7JvZtIoUIW8eOAY=",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/expand-braces/node_modules/repeat-string": {
- "version": "0.2.2",
- "resolved": "https://registry.npmjs.org/repeat-string/-/repeat-string-0.2.2.tgz",
- "integrity": "sha1-x6jTI2BoNiBZp+RlH8aITosftK4=",
- "dev": true,
- "engines": {
- "node": ">=0.10"
- }
- },
- "node_modules/expand-brackets": {
- "version": "2.1.4",
- "resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-2.1.4.tgz",
- "integrity": "sha1-t3c14xXOMPa27/D4OwQVGiJEliI=",
- "dev": true,
- "dependencies": {
- "debug": "^2.3.3",
- "define-property": "^0.2.5",
- "extend-shallow": "^2.0.1",
- "posix-character-classes": "^0.1.0",
- "regex-not": "^1.0.0",
- "snapdragon": "^0.8.1",
- "to-regex": "^3.0.1"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/expand-brackets/node_modules/define-property": {
- "version": "0.2.5",
- "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz",
- "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=",
- "dev": true,
- "dependencies": {
- "is-descriptor": "^0.1.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/expand-brackets/node_modules/extend-shallow": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz",
- "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=",
- "dev": true,
- "dependencies": {
- "is-extendable": "^0.1.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/expand-range": {
- "version": "1.8.2",
- "resolved": "https://registry.npmjs.org/expand-range/-/expand-range-1.8.2.tgz",
- "integrity": "sha1-opnv/TNf4nIeuujiV+x5ZE/IUzc=",
- "dev": true,
- "dependencies": {
- "fill-range": "^2.1.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/expand-range/node_modules/fill-range": {
- "version": "2.2.4",
- "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-2.2.4.tgz",
- "integrity": "sha512-cnrcCbj01+j2gTG921VZPnHbjmdAf8oQV/iGeV2kZxGSyfYjjTyY79ErsK1WJWMpw6DaApEX72binqJE+/d+5Q==",
- "dev": true,
- "dependencies": {
- "is-number": "^2.1.0",
- "isobject": "^2.0.0",
- "randomatic": "^3.0.0",
- "repeat-element": "^1.1.2",
- "repeat-string": "^1.5.2"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/expand-range/node_modules/is-number": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/is-number/-/is-number-2.1.0.tgz",
- "integrity": "sha1-Afy7s5NGOlSPL0ZszhbezknbkI8=",
- "dev": true,
- "dependencies": {
- "kind-of": "^3.0.2"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/expand-range/node_modules/isobject": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/isobject/-/isobject-2.1.0.tgz",
- "integrity": "sha1-8GVWEJaj8dou9GJy+BXIQNh+DIk=",
- "dev": true,
- "dependencies": {
- "isarray": "1.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/expand-range/node_modules/kind-of": {
- "version": "3.2.2",
- "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz",
- "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=",
- "dev": true,
- "dependencies": {
- "is-buffer": "^1.1.5"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/express": {
- "version": "4.17.1",
- "resolved": "https://registry.npmjs.org/express/-/express-4.17.1.tgz",
- "integrity": "sha512-mHJ9O79RqluphRrcw2X/GTh3k9tVv8YcoyY4Kkh4WDMUYKRZUq0h1o0w2rrrxBqM7VoeUVqgb27xlEMXTnYt4g==",
- "dev": true,
- "dependencies": {
- "accepts": "~1.3.7",
- "array-flatten": "1.1.1",
- "body-parser": "1.19.0",
- "content-disposition": "0.5.3",
- "content-type": "~1.0.4",
- "cookie": "0.4.0",
- "cookie-signature": "1.0.6",
- "debug": "2.6.9",
- "depd": "~1.1.2",
- "encodeurl": "~1.0.2",
- "escape-html": "~1.0.3",
- "etag": "~1.8.1",
- "finalhandler": "~1.1.2",
- "fresh": "0.5.2",
- "merge-descriptors": "1.0.1",
- "methods": "~1.1.2",
- "on-finished": "~2.3.0",
- "parseurl": "~1.3.3",
- "path-to-regexp": "0.1.7",
- "proxy-addr": "~2.0.5",
- "qs": "6.7.0",
- "range-parser": "~1.2.1",
- "safe-buffer": "5.1.2",
- "send": "0.17.1",
- "serve-static": "1.14.1",
- "setprototypeof": "1.1.1",
- "statuses": "~1.5.0",
- "type-is": "~1.6.18",
- "utils-merge": "1.0.1",
- "vary": "~1.1.2"
- },
- "engines": {
- "node": ">= 0.10.0"
- }
- },
- "node_modules/express/node_modules/array-flatten": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz",
- "integrity": "sha1-ml9pkFGx5wczKPKgCJaLZOopVdI=",
- "dev": true
- },
- "node_modules/express/node_modules/qs": {
- "version": "6.7.0",
- "resolved": "https://registry.npmjs.org/qs/-/qs-6.7.0.tgz",
- "integrity": "sha512-VCdBRNFTX1fyE7Nb6FYoURo/SPe62QCaAyzJvUjwRaIsc+NePBEniHlvxFmmX56+HZphIGtV0XeCirBtpDrTyQ==",
- "dev": true,
- "engines": {
- "node": ">=0.6"
- }
- },
- "node_modules/express/node_modules/safe-buffer": {
- "version": "5.1.2",
- "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
- "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==",
- "dev": true
- },
- "node_modules/extend": {
- "version": "3.0.2",
- "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz",
- "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g=="
- },
- "node_modules/extend-shallow": {
- "version": "3.0.2",
- "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-3.0.2.tgz",
- "integrity": "sha1-Jqcarwc7OfshJxcnRhMcJwQCjbg=",
- "dev": true,
- "dependencies": {
- "assign-symbols": "^1.0.0",
- "is-extendable": "^1.0.1"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/extend-shallow/node_modules/is-extendable": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz",
- "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==",
- "dev": true,
- "dependencies": {
- "is-plain-object": "^2.0.4"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/extglob": {
- "version": "2.0.4",
- "resolved": "https://registry.npmjs.org/extglob/-/extglob-2.0.4.tgz",
- "integrity": "sha512-Nmb6QXkELsuBr24CJSkilo6UHHgbekK5UiZgfE6UHD3Eb27YC6oD+bhcT+tJ6cl8dmsgdQxnWlcry8ksBIBLpw==",
- "dev": true,
- "dependencies": {
- "array-unique": "^0.3.2",
- "define-property": "^1.0.0",
- "expand-brackets": "^2.1.4",
- "extend-shallow": "^2.0.1",
- "fragment-cache": "^0.2.1",
- "regex-not": "^1.0.0",
- "snapdragon": "^0.8.1",
- "to-regex": "^3.0.1"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/extglob/node_modules/define-property": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz",
- "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=",
- "dev": true,
- "dependencies": {
- "is-descriptor": "^1.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/extglob/node_modules/extend-shallow": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz",
- "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=",
- "dev": true,
- "dependencies": {
- "is-extendable": "^0.1.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/extglob/node_modules/is-accessor-descriptor": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz",
- "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==",
- "dev": true,
- "dependencies": {
- "kind-of": "^6.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/extglob/node_modules/is-data-descriptor": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz",
- "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==",
- "dev": true,
- "dependencies": {
- "kind-of": "^6.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/extglob/node_modules/is-descriptor": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz",
- "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==",
- "dev": true,
- "dependencies": {
- "is-accessor-descriptor": "^1.0.0",
- "is-data-descriptor": "^1.0.0",
- "kind-of": "^6.0.2"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/extsprintf": {
- "version": "1.3.0",
- "resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz",
- "integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU=",
- "engines": [
- "node >=0.6.0"
- ]
- },
- "node_modules/fast-deep-equal": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-2.0.1.tgz",
- "integrity": "sha1-ewUhjd+WZ79/Nwv3/bLLFf3Qqkk="
- },
- "node_modules/fast-diff": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/fast-diff/-/fast-diff-1.1.2.tgz",
- "integrity": "sha512-KaJUt+M9t1qaIteSvjc6P3RbMdXsNhK61GRftR6SNxqmhthcd9MGIi4T+o0jD8LUSpSnSKXE20nLtJ3fOHxQig=="
- },
- "node_modules/fast-json-stable-stringify": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz",
- "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw=="
- },
- "node_modules/fast-levenshtein": {
- "version": "2.0.6",
- "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz",
- "integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=",
- "dev": true
- },
- "node_modules/fastparse": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/fastparse/-/fastparse-1.1.2.tgz",
- "integrity": "sha512-483XLLxTVIwWK3QTrMGRqUfUpoOs/0hbQrl2oz4J0pAcm3A3bu84wxTFqGqkJzewCLdME38xJLJAxBABfQT8sQ==",
- "dev": true
- },
- "node_modules/faye-websocket": {
- "version": "0.11.3",
- "resolved": "https://registry.npmjs.org/faye-websocket/-/faye-websocket-0.11.3.tgz",
- "integrity": "sha512-D2y4bovYpzziGgbHYtGCMjlJM36vAl/y+xUyn1C+FVx8szd1E+86KwVw6XvYSzOP8iMpm1X0I4xJD+QtUb36OA==",
- "dependencies": {
- "websocket-driver": ">=0.5.1"
- },
- "engines": {
- "node": ">=0.8.0"
- }
- },
- "node_modules/figgy-pudding": {
- "version": "3.5.1",
- "resolved": "https://registry.npmjs.org/figgy-pudding/-/figgy-pudding-3.5.1.tgz",
- "integrity": "sha512-vNKxJHTEKNThjfrdJwHc7brvM6eVevuO5nTj6ez8ZQ1qbXTvGthucRF7S4vf2cr71QVnT70V34v0S1DyQsti0w==",
- "dev": true
- },
- "node_modules/file-loader": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/file-loader/-/file-loader-2.0.0.tgz",
- "integrity": "sha512-YCsBfd1ZGCyonOKLxPiKPdu+8ld9HAaMEvJewzz+b2eTF7uL5Zm/HdBF6FjCrpCMRq25Mi0U1gl4pwn2TlH7hQ==",
- "dev": true,
- "dependencies": {
- "loader-utils": "^1.0.2",
- "schema-utils": "^1.0.0"
- },
- "engines": {
- "node": ">= 6.9.0 < 7.0.0 || >= 8.9.0"
- }
- },
- "node_modules/file-loader/node_modules/schema-utils": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-1.0.0.tgz",
- "integrity": "sha512-i27Mic4KovM/lnGsy8whRCHhc7VicJajAjTrYg11K9zfZXnYIt4k5F+kZkwjnrhKzLic/HLU4j11mjsz2G/75g==",
- "dev": true,
- "dependencies": {
- "ajv": "^6.1.0",
- "ajv-errors": "^1.0.0",
- "ajv-keywords": "^3.1.0"
- },
- "engines": {
- "node": ">= 4"
- }
- },
- "node_modules/file-saver": {
- "version": "2.0.5",
- "resolved": "https://registry.npmjs.org/file-saver/-/file-saver-2.0.5.tgz",
- "integrity": "sha512-P9bmyZ3h/PRG+Nzga+rbdI4OEpNDzAVyy74uVO9ATgzLK6VtAsYybF/+TOCvrc0MO793d6+42lLyZTw7/ArVzA=="
- },
- "node_modules/file-uri-to-path": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz",
- "integrity": "sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==",
- "dev": true,
- "optional": true
- },
- "node_modules/filename-regex": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/filename-regex/-/filename-regex-2.0.1.tgz",
- "integrity": "sha1-wcS5vuPglyXdsQa3XB4wH+LxiyY=",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/fileset": {
- "version": "2.0.3",
- "resolved": "https://registry.npmjs.org/fileset/-/fileset-2.0.3.tgz",
- "integrity": "sha1-jnVIqW08wjJ+5eZ0FocjozO7oqA=",
- "dev": true,
- "dependencies": {
- "glob": "^7.0.3",
- "minimatch": "^3.0.3"
- }
- },
- "node_modules/fill-range": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz",
- "integrity": "sha1-1USBHUKPmOsGpj3EAtJAPDKMOPc=",
- "dev": true,
- "dependencies": {
- "extend-shallow": "^2.0.1",
- "is-number": "^3.0.0",
- "repeat-string": "^1.6.1",
- "to-regex-range": "^2.1.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/fill-range/node_modules/extend-shallow": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz",
- "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=",
- "dev": true,
- "dependencies": {
- "is-extendable": "^0.1.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/finalhandler": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.1.2.tgz",
- "integrity": "sha512-aAWcW57uxVNrQZqFXjITpW3sIUQmHGG3qSb9mUah9MgMC4NeWhNOlNjXEYq3HjRAvL6arUviZGGJsBg6z0zsWA==",
- "dev": true,
- "dependencies": {
- "debug": "2.6.9",
- "encodeurl": "~1.0.2",
- "escape-html": "~1.0.3",
- "on-finished": "~2.3.0",
- "parseurl": "~1.3.3",
- "statuses": "~1.5.0",
- "unpipe": "~1.0.0"
- },
- "engines": {
- "node": ">= 0.8"
- }
- },
- "node_modules/find-cache-dir": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-1.0.0.tgz",
- "integrity": "sha1-kojj6ePMN0hxfTnq3hfPcfww7m8=",
- "dev": true,
- "dependencies": {
- "commondir": "^1.0.1",
- "make-dir": "^1.0.0",
- "pkg-dir": "^2.0.0"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/find-up": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/find-up/-/find-up-1.1.2.tgz",
- "integrity": "sha1-ay6YIrGizgpgq2TWEOzK1TyyTQ8=",
- "dependencies": {
- "path-exists": "^2.0.0",
- "pinkie-promise": "^2.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/firebase": {
- "version": "6.6.2",
- "resolved": "https://registry.npmjs.org/firebase/-/firebase-6.6.2.tgz",
- "integrity": "sha512-uL9uNbutC0T8GAxrGgOCC35Ven3QKJqzJozNoVIpBuiWrB9ifm9aKOxn44h6o5ouviax3LVvoiG2jLkLkdQq4A==",
- "dependencies": {
- "@firebase/app": "0.4.17",
- "@firebase/app-types": "0.4.3",
- "@firebase/auth": "0.12.0",
- "@firebase/database": "0.5.4",
- "@firebase/firestore": "1.5.3",
- "@firebase/functions": "0.4.18",
- "@firebase/installations": "0.2.7",
- "@firebase/messaging": "0.4.11",
- "@firebase/performance": "0.2.19",
- "@firebase/polyfill": "0.3.22",
- "@firebase/storage": "0.3.12",
- "@firebase/util": "0.2.28"
- }
- },
- "node_modules/flush-write-stream": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/flush-write-stream/-/flush-write-stream-1.1.1.tgz",
- "integrity": "sha512-3Z4XhFZ3992uIq0XOqb9AreonueSYphE6oYbpt5+3u06JWklbsPkNv3ZKkP9Bz/r+1MWCaMoSQ28P85+1Yc77w==",
- "dev": true,
- "dependencies": {
- "inherits": "^2.0.3",
- "readable-stream": "^2.3.6"
- }
- },
- "node_modules/follow-redirects": {
- "version": "1.9.0",
- "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.9.0.tgz",
- "integrity": "sha512-CRcPzsSIbXyVDl0QI01muNDu69S8trU4jArW9LpOt2WtC6LyUJetcIrmfHsRBx7/Jb6GHJUiuqyYxPooFfNt6A==",
- "dev": true,
- "dependencies": {
- "debug": "^3.0.0"
- },
- "engines": {
- "node": ">=4.0"
- }
- },
- "node_modules/follow-redirects/node_modules/debug": {
- "version": "3.2.6",
- "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.6.tgz",
- "integrity": "sha512-mel+jf7nrtEl5Pn1Qx46zARXKDpBbvzezse7p7LqINmdoIk8PYP5SySaxEmYv6TZ0JyEKA1hsCId6DIhgITtWQ==",
- "dev": true,
- "dependencies": {
- "ms": "^2.1.1"
- }
- },
- "node_modules/follow-redirects/node_modules/ms": {
- "version": "2.1.2",
- "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
- "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
- "dev": true
- },
- "node_modules/font-awesome": {
- "version": "4.7.0",
- "resolved": "https://registry.npmjs.org/font-awesome/-/font-awesome-4.7.0.tgz",
- "integrity": "sha1-j6jPBBGhoxr9B7BtKQK7n8gVoTM=",
- "engines": {
- "node": ">=0.10.3"
- }
- },
- "node_modules/for-in": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/for-in/-/for-in-1.0.2.tgz",
- "integrity": "sha1-gQaNKVqBQuwKxybG4iAMMPttXoA=",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/for-own": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/for-own/-/for-own-1.0.0.tgz",
- "integrity": "sha1-xjMy9BXO3EsE2/5wz4NklMU8tEs=",
- "dev": true,
- "dependencies": {
- "for-in": "^1.0.1"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/forever-agent": {
- "version": "0.6.1",
- "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz",
- "integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=",
- "engines": {
- "node": "*"
- }
- },
- "node_modules/form-data": {
- "version": "2.3.3",
- "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz",
- "integrity": "sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==",
- "dependencies": {
- "asynckit": "^0.4.0",
- "combined-stream": "^1.0.6",
- "mime-types": "^2.1.12"
- },
- "engines": {
- "node": ">= 0.12"
- }
- },
- "node_modules/forwarded": {
- "version": "0.1.2",
- "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.1.2.tgz",
- "integrity": "sha1-mMI9qxF1ZXuMBXPozszZGw/xjIQ=",
- "dev": true,
- "engines": {
- "node": ">= 0.6"
- }
- },
- "node_modules/frac": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/frac/-/frac-1.1.2.tgz",
- "integrity": "sha512-w/XBfkibaTl3YDqASwfDUqkna4Z2p9cFSr1aHDt0WoMTECnRfBOv2WArlZILlqgWlmdIlALXGpM2AOhEk5W3IA==",
- "engines": {
- "node": ">=0.8"
- }
- },
- "node_modules/fragment-cache": {
- "version": "0.2.1",
- "resolved": "https://registry.npmjs.org/fragment-cache/-/fragment-cache-0.2.1.tgz",
- "integrity": "sha1-QpD60n8T6Jvn8zeZxrxaCr//DRk=",
- "dev": true,
- "dependencies": {
- "map-cache": "^0.2.2"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/fresh": {
- "version": "0.5.2",
- "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz",
- "integrity": "sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac=",
- "dev": true,
- "engines": {
- "node": ">= 0.6"
- }
- },
- "node_modules/from2": {
- "version": "2.3.0",
- "resolved": "https://registry.npmjs.org/from2/-/from2-2.3.0.tgz",
- "integrity": "sha1-i/tVAr3kpNNs/e6gB/zKIdfjgq8=",
- "dev": true,
- "dependencies": {
- "inherits": "^2.0.1",
- "readable-stream": "^2.0.0"
- }
- },
- "node_modules/fs-access": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/fs-access/-/fs-access-1.0.1.tgz",
- "integrity": "sha1-1qh/JiJxzv6+wwxVNAf7mV2od3o=",
- "dev": true,
- "dependencies": {
- "null-check": "^1.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/fs-minipass": {
- "version": "1.2.7",
- "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-1.2.7.tgz",
- "integrity": "sha512-GWSSJGFy4e9GUeCcbIkED+bgAoFyj7XF1mV8rma3QW4NIqX9Kyx79N/PF61H5udOV3aY1IaMLs6pGbH71nlCTA==",
- "dev": true,
- "dependencies": {
- "minipass": "^2.6.0"
- }
- },
- "node_modules/fs-write-stream-atomic": {
- "version": "1.0.10",
- "resolved": "https://registry.npmjs.org/fs-write-stream-atomic/-/fs-write-stream-atomic-1.0.10.tgz",
- "integrity": "sha1-tH31NJPvkR33VzHnCp3tAYnbQMk=",
- "dev": true,
- "dependencies": {
- "graceful-fs": "^4.1.2",
- "iferr": "^0.1.5",
- "imurmurhash": "^0.1.4",
- "readable-stream": "1 || 2"
- }
- },
- "node_modules/fs.realpath": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
- "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8="
- },
- "node_modules/fsevents": {
- "version": "1.2.11",
- "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-1.2.11.tgz",
- "integrity": "sha512-+ux3lx6peh0BpvY0JebGyZoiR4D+oYzdPZMKJwkZ+sFkNJzpL7tXc/wehS49gUAxg3tmMHPHZkA8JU2rhhgDHw==",
- "bundleDependencies": [
- "node-pre-gyp",
- "abbrev",
- "ansi-regex",
- "aproba",
- "are-we-there-yet",
- "balanced-match",
- "brace-expansion",
- "chownr",
- "code-point-at",
- "concat-map",
- "console-control-strings",
- "core-util-is",
- "debug",
- "deep-extend",
- "delegates",
- "detect-libc",
- "fs-minipass",
- "fs.realpath",
- "gauge",
- "glob",
- "has-unicode",
- "iconv-lite",
- "ignore-walk",
- "inflight",
- "inherits",
- "ini",
- "is-fullwidth-code-point",
- "isarray",
- "minimatch",
- "minimist",
- "minipass",
- "minizlib",
- "mkdirp",
- "ms",
- "needle",
- "nopt",
- "npm-bundled",
- "npm-normalize-package-bin",
- "npm-packlist",
- "npmlog",
- "number-is-nan",
- "object-assign",
- "once",
- "os-homedir",
- "os-tmpdir",
- "osenv",
- "path-is-absolute",
- "process-nextick-args",
- "rc",
- "readable-stream",
- "rimraf",
- "safe-buffer",
- "safer-buffer",
- "sax",
- "semver",
- "set-blocking",
- "signal-exit",
- "string_decoder",
- "string-width",
- "strip-ansi",
- "strip-json-comments",
- "tar",
- "util-deprecate",
- "wide-align",
- "wrappy",
- "yallist"
- ],
- "dev": true,
- "optional": true,
- "os": [
- "darwin"
- ],
- "dependencies": {
- "bindings": "^1.5.0",
- "nan": "^2.12.1",
- "node-pre-gyp": "*"
- },
- "engines": {
- "node": ">=4.0"
- }
- },
- "node_modules/fsevents/node_modules/abbrev": {
- "version": "1.1.1",
- "dev": true,
- "inBundle": true,
- "license": "ISC",
- "optional": true
- },
- "node_modules/fsevents/node_modules/ansi-regex": {
- "version": "2.1.1",
- "dev": true,
- "inBundle": true,
- "license": "MIT",
- "optional": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/fsevents/node_modules/aproba": {
- "version": "1.2.0",
- "dev": true,
- "inBundle": true,
- "license": "ISC",
- "optional": true
- },
- "node_modules/fsevents/node_modules/are-we-there-yet": {
- "version": "1.1.5",
- "dev": true,
- "inBundle": true,
- "license": "ISC",
- "optional": true,
- "dependencies": {
- "delegates": "^1.0.0",
- "readable-stream": "^2.0.6"
- }
- },
- "node_modules/fsevents/node_modules/balanced-match": {
- "version": "1.0.0",
- "dev": true,
- "inBundle": true,
- "license": "MIT",
- "optional": true
- },
- "node_modules/fsevents/node_modules/brace-expansion": {
- "version": "1.1.11",
- "dev": true,
- "inBundle": true,
- "license": "MIT",
- "optional": true,
- "dependencies": {
- "balanced-match": "^1.0.0",
- "concat-map": "0.0.1"
- }
- },
- "node_modules/fsevents/node_modules/chownr": {
- "version": "1.1.3",
- "dev": true,
- "inBundle": true,
- "license": "ISC",
- "optional": true
- },
- "node_modules/fsevents/node_modules/code-point-at": {
- "version": "1.1.0",
- "dev": true,
- "inBundle": true,
- "license": "MIT",
- "optional": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/fsevents/node_modules/concat-map": {
- "version": "0.0.1",
- "dev": true,
- "inBundle": true,
- "license": "MIT",
- "optional": true
- },
- "node_modules/fsevents/node_modules/console-control-strings": {
- "version": "1.1.0",
- "dev": true,
- "inBundle": true,
- "license": "ISC",
- "optional": true
- },
- "node_modules/fsevents/node_modules/core-util-is": {
- "version": "1.0.2",
- "dev": true,
- "inBundle": true,
- "license": "MIT",
- "optional": true
- },
- "node_modules/fsevents/node_modules/debug": {
- "version": "3.2.6",
- "dev": true,
- "inBundle": true,
- "license": "MIT",
- "optional": true,
- "dependencies": {
- "ms": "^2.1.1"
- }
- },
- "node_modules/fsevents/node_modules/deep-extend": {
- "version": "0.6.0",
- "dev": true,
- "inBundle": true,
- "license": "MIT",
- "optional": true,
- "engines": {
- "node": ">=4.0.0"
- }
- },
- "node_modules/fsevents/node_modules/delegates": {
- "version": "1.0.0",
- "dev": true,
- "inBundle": true,
- "license": "MIT",
- "optional": true
- },
- "node_modules/fsevents/node_modules/detect-libc": {
- "version": "1.0.3",
- "dev": true,
- "inBundle": true,
- "license": "Apache-2.0",
- "optional": true,
- "bin": {
- "detect-libc": "bin/detect-libc.js"
- },
- "engines": {
- "node": ">=0.10"
- }
- },
- "node_modules/fsevents/node_modules/fs-minipass": {
- "version": "1.2.7",
- "dev": true,
- "inBundle": true,
- "license": "ISC",
- "optional": true,
- "dependencies": {
- "minipass": "^2.6.0"
- }
- },
- "node_modules/fsevents/node_modules/fs.realpath": {
- "version": "1.0.0",
- "dev": true,
- "inBundle": true,
- "license": "ISC",
- "optional": true
- },
- "node_modules/fsevents/node_modules/gauge": {
- "version": "2.7.4",
- "dev": true,
- "inBundle": true,
- "license": "ISC",
- "optional": true,
- "dependencies": {
- "aproba": "^1.0.3",
- "console-control-strings": "^1.0.0",
- "has-unicode": "^2.0.0",
- "object-assign": "^4.1.0",
- "signal-exit": "^3.0.0",
- "string-width": "^1.0.1",
- "strip-ansi": "^3.0.1",
- "wide-align": "^1.1.0"
- }
- },
- "node_modules/fsevents/node_modules/glob": {
- "version": "7.1.6",
- "dev": true,
- "inBundle": true,
- "license": "ISC",
- "optional": true,
- "dependencies": {
- "fs.realpath": "^1.0.0",
- "inflight": "^1.0.4",
- "inherits": "2",
- "minimatch": "^3.0.4",
- "once": "^1.3.0",
- "path-is-absolute": "^1.0.0"
- },
- "engines": {
- "node": "*"
- },
- "funding": {
- "url": "https://github.com/sponsors/isaacs"
- }
- },
- "node_modules/fsevents/node_modules/has-unicode": {
- "version": "2.0.1",
- "dev": true,
- "inBundle": true,
- "license": "ISC",
- "optional": true
- },
- "node_modules/fsevents/node_modules/iconv-lite": {
- "version": "0.4.24",
- "dev": true,
- "inBundle": true,
- "license": "MIT",
- "optional": true,
- "dependencies": {
- "safer-buffer": ">= 2.1.2 < 3"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/fsevents/node_modules/ignore-walk": {
- "version": "3.0.3",
- "dev": true,
- "inBundle": true,
- "license": "ISC",
- "optional": true,
- "dependencies": {
- "minimatch": "^3.0.4"
- }
- },
- "node_modules/fsevents/node_modules/inflight": {
- "version": "1.0.6",
- "dev": true,
- "inBundle": true,
- "license": "ISC",
- "optional": true,
- "dependencies": {
- "once": "^1.3.0",
- "wrappy": "1"
- }
- },
- "node_modules/fsevents/node_modules/inherits": {
- "version": "2.0.4",
- "dev": true,
- "inBundle": true,
- "license": "ISC",
- "optional": true
- },
- "node_modules/fsevents/node_modules/ini": {
- "version": "1.3.5",
- "dev": true,
- "inBundle": true,
- "license": "ISC",
- "optional": true,
- "engines": {
- "node": "*"
- }
- },
- "node_modules/fsevents/node_modules/is-fullwidth-code-point": {
- "version": "1.0.0",
- "dev": true,
- "inBundle": true,
- "license": "MIT",
- "optional": true,
- "dependencies": {
- "number-is-nan": "^1.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/fsevents/node_modules/isarray": {
- "version": "1.0.0",
- "dev": true,
- "inBundle": true,
- "license": "MIT",
- "optional": true
- },
- "node_modules/fsevents/node_modules/minimatch": {
- "version": "3.0.4",
- "dev": true,
- "inBundle": true,
- "license": "ISC",
- "optional": true,
- "dependencies": {
- "brace-expansion": "^1.1.7"
- },
- "engines": {
- "node": "*"
- }
- },
- "node_modules/fsevents/node_modules/minimist": {
- "version": "0.0.8",
- "dev": true,
- "inBundle": true,
- "license": "MIT",
- "optional": true
- },
- "node_modules/fsevents/node_modules/minipass": {
- "version": "2.9.0",
- "dev": true,
- "inBundle": true,
- "license": "ISC",
- "optional": true,
- "dependencies": {
- "safe-buffer": "^5.1.2",
- "yallist": "^3.0.0"
- }
- },
- "node_modules/fsevents/node_modules/minizlib": {
- "version": "1.3.3",
- "dev": true,
- "inBundle": true,
- "license": "MIT",
- "optional": true,
- "dependencies": {
- "minipass": "^2.9.0"
- }
- },
- "node_modules/fsevents/node_modules/mkdirp": {
- "version": "0.5.1",
- "dev": true,
- "inBundle": true,
- "license": "MIT",
- "optional": true,
- "dependencies": {
- "minimist": "0.0.8"
- },
- "bin": {
- "mkdirp": "bin/cmd.js"
- }
- },
- "node_modules/fsevents/node_modules/ms": {
- "version": "2.1.2",
- "dev": true,
- "inBundle": true,
- "license": "MIT",
- "optional": true
- },
- "node_modules/fsevents/node_modules/needle": {
- "version": "2.4.0",
- "dev": true,
- "inBundle": true,
- "license": "MIT",
- "optional": true,
- "dependencies": {
- "debug": "^3.2.6",
- "iconv-lite": "^0.4.4",
- "sax": "^1.2.4"
- },
- "bin": {
- "needle": "bin/needle"
- },
- "engines": {
- "node": ">= 4.4.x"
- }
- },
- "node_modules/fsevents/node_modules/node-pre-gyp": {
- "version": "0.14.0",
- "dev": true,
- "inBundle": true,
- "license": "BSD-3-Clause",
- "optional": true,
- "dependencies": {
- "detect-libc": "^1.0.2",
- "mkdirp": "^0.5.1",
- "needle": "^2.2.1",
- "nopt": "^4.0.1",
- "npm-packlist": "^1.1.6",
- "npmlog": "^4.0.2",
- "rc": "^1.2.7",
- "rimraf": "^2.6.1",
- "semver": "^5.3.0",
- "tar": "^4.4.2"
- },
- "bin": {
- "node-pre-gyp": "bin/node-pre-gyp"
- }
- },
- "node_modules/fsevents/node_modules/nopt": {
- "version": "4.0.1",
- "dev": true,
- "inBundle": true,
- "license": "ISC",
- "optional": true,
- "dependencies": {
- "abbrev": "1",
- "osenv": "^0.1.4"
- },
- "bin": {
- "nopt": "bin/nopt.js"
- }
- },
- "node_modules/fsevents/node_modules/npm-bundled": {
- "version": "1.1.1",
- "dev": true,
- "inBundle": true,
- "license": "ISC",
- "optional": true,
- "dependencies": {
- "npm-normalize-package-bin": "^1.0.1"
- }
- },
- "node_modules/fsevents/node_modules/npm-normalize-package-bin": {
- "version": "1.0.1",
- "dev": true,
- "inBundle": true,
- "license": "ISC",
- "optional": true
- },
- "node_modules/fsevents/node_modules/npm-packlist": {
- "version": "1.4.7",
- "dev": true,
- "inBundle": true,
- "license": "ISC",
- "optional": true,
- "dependencies": {
- "ignore-walk": "^3.0.1",
- "npm-bundled": "^1.0.1"
- }
- },
- "node_modules/fsevents/node_modules/npmlog": {
- "version": "4.1.2",
- "dev": true,
- "inBundle": true,
- "license": "ISC",
- "optional": true,
- "dependencies": {
- "are-we-there-yet": "~1.1.2",
- "console-control-strings": "~1.1.0",
- "gauge": "~2.7.3",
- "set-blocking": "~2.0.0"
- }
- },
- "node_modules/fsevents/node_modules/number-is-nan": {
- "version": "1.0.1",
- "dev": true,
- "inBundle": true,
- "license": "MIT",
- "optional": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/fsevents/node_modules/object-assign": {
- "version": "4.1.1",
- "dev": true,
- "inBundle": true,
- "license": "MIT",
- "optional": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/fsevents/node_modules/once": {
- "version": "1.4.0",
- "dev": true,
- "inBundle": true,
- "license": "ISC",
- "optional": true,
- "dependencies": {
- "wrappy": "1"
- }
- },
- "node_modules/fsevents/node_modules/os-homedir": {
- "version": "1.0.2",
- "dev": true,
- "inBundle": true,
- "license": "MIT",
- "optional": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/fsevents/node_modules/os-tmpdir": {
- "version": "1.0.2",
- "dev": true,
- "inBundle": true,
- "license": "MIT",
- "optional": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/fsevents/node_modules/osenv": {
- "version": "0.1.5",
- "dev": true,
- "inBundle": true,
- "license": "ISC",
- "optional": true,
- "dependencies": {
- "os-homedir": "^1.0.0",
- "os-tmpdir": "^1.0.0"
- }
- },
- "node_modules/fsevents/node_modules/path-is-absolute": {
- "version": "1.0.1",
- "dev": true,
- "inBundle": true,
- "license": "MIT",
- "optional": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/fsevents/node_modules/process-nextick-args": {
- "version": "2.0.1",
- "dev": true,
- "inBundle": true,
- "license": "MIT",
- "optional": true
- },
- "node_modules/fsevents/node_modules/rc": {
- "version": "1.2.8",
- "dev": true,
- "inBundle": true,
- "license": "(BSD-2-Clause OR MIT OR Apache-2.0)",
- "optional": true,
- "dependencies": {
- "deep-extend": "^0.6.0",
- "ini": "~1.3.0",
- "minimist": "^1.2.0",
- "strip-json-comments": "~2.0.1"
- },
- "bin": {
- "rc": "cli.js"
- }
- },
- "node_modules/fsevents/node_modules/rc/node_modules/minimist": {
- "version": "1.2.0",
- "dev": true,
- "inBundle": true,
- "license": "MIT",
- "optional": true
- },
- "node_modules/fsevents/node_modules/readable-stream": {
- "version": "2.3.6",
- "dev": true,
- "inBundle": true,
- "license": "MIT",
- "optional": true,
- "dependencies": {
- "core-util-is": "~1.0.0",
- "inherits": "~2.0.3",
- "isarray": "~1.0.0",
- "process-nextick-args": "~2.0.0",
- "safe-buffer": "~5.1.1",
- "string_decoder": "~1.1.1",
- "util-deprecate": "~1.0.1"
- }
- },
- "node_modules/fsevents/node_modules/rimraf": {
- "version": "2.7.1",
- "dev": true,
- "inBundle": true,
- "license": "ISC",
- "optional": true,
- "dependencies": {
- "glob": "^7.1.3"
- },
- "bin": {
- "rimraf": "bin.js"
- }
- },
- "node_modules/fsevents/node_modules/safe-buffer": {
- "version": "5.1.2",
- "dev": true,
- "inBundle": true,
- "license": "MIT",
- "optional": true
- },
- "node_modules/fsevents/node_modules/safer-buffer": {
- "version": "2.1.2",
- "dev": true,
- "inBundle": true,
- "license": "MIT",
- "optional": true
- },
- "node_modules/fsevents/node_modules/sax": {
- "version": "1.2.4",
- "dev": true,
- "inBundle": true,
- "license": "ISC",
- "optional": true
- },
- "node_modules/fsevents/node_modules/semver": {
- "version": "5.7.1",
- "dev": true,
- "inBundle": true,
- "license": "ISC",
- "optional": true,
- "bin": {
- "semver": "bin/semver"
- }
- },
- "node_modules/fsevents/node_modules/set-blocking": {
- "version": "2.0.0",
- "dev": true,
- "inBundle": true,
- "license": "ISC",
- "optional": true
- },
- "node_modules/fsevents/node_modules/signal-exit": {
- "version": "3.0.2",
- "dev": true,
- "inBundle": true,
- "license": "ISC",
- "optional": true
- },
- "node_modules/fsevents/node_modules/string_decoder": {
- "version": "1.1.1",
- "dev": true,
- "inBundle": true,
- "license": "MIT",
- "optional": true,
- "dependencies": {
- "safe-buffer": "~5.1.0"
- }
- },
- "node_modules/fsevents/node_modules/string-width": {
- "version": "1.0.2",
- "dev": true,
- "inBundle": true,
- "license": "MIT",
- "optional": true,
- "dependencies": {
- "code-point-at": "^1.0.0",
- "is-fullwidth-code-point": "^1.0.0",
- "strip-ansi": "^3.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/fsevents/node_modules/strip-ansi": {
- "version": "3.0.1",
- "dev": true,
- "inBundle": true,
- "license": "MIT",
- "optional": true,
- "dependencies": {
- "ansi-regex": "^2.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/fsevents/node_modules/strip-json-comments": {
- "version": "2.0.1",
- "dev": true,
- "inBundle": true,
- "license": "MIT",
- "optional": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/fsevents/node_modules/tar": {
- "version": "4.4.13",
- "dev": true,
- "inBundle": true,
- "license": "ISC",
- "optional": true,
- "dependencies": {
- "chownr": "^1.1.1",
- "fs-minipass": "^1.2.5",
- "minipass": "^2.8.6",
- "minizlib": "^1.2.1",
- "mkdirp": "^0.5.0",
- "safe-buffer": "^5.1.2",
- "yallist": "^3.0.3"
- },
- "engines": {
- "node": ">=4.5"
- }
- },
- "node_modules/fsevents/node_modules/util-deprecate": {
- "version": "1.0.2",
- "dev": true,
- "inBundle": true,
- "license": "MIT",
- "optional": true
- },
- "node_modules/fsevents/node_modules/wide-align": {
- "version": "1.1.3",
- "dev": true,
- "inBundle": true,
- "license": "ISC",
- "optional": true,
- "dependencies": {
- "string-width": "^1.0.2 || 2"
- }
- },
- "node_modules/fsevents/node_modules/wrappy": {
- "version": "1.0.2",
- "dev": true,
- "inBundle": true,
- "license": "ISC",
- "optional": true
- },
- "node_modules/fsevents/node_modules/yallist": {
- "version": "3.1.1",
- "dev": true,
- "inBundle": true,
- "license": "ISC",
- "optional": true
- },
- "node_modules/fstream": {
- "version": "1.0.12",
- "resolved": "https://registry.npmjs.org/fstream/-/fstream-1.0.12.tgz",
- "integrity": "sha512-WvJ193OHa0GHPEL+AycEJgxvBEwyfRkN1vhjca23OaPVMCaLCXTd5qAu82AjTcgP1UJmytkOKb63Ypde7raDIg==",
- "dependencies": {
- "graceful-fs": "^4.1.2",
- "inherits": "~2.0.0",
- "mkdirp": ">=0.5 0",
- "rimraf": "2"
- },
- "engines": {
- "node": ">=0.6"
- }
- },
- "node_modules/function-bind": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz",
- "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A=="
- },
- "node_modules/gauge": {
- "version": "2.7.4",
- "resolved": "https://registry.npmjs.org/gauge/-/gauge-2.7.4.tgz",
- "integrity": "sha1-LANAXHU4w51+s3sxcCLjJfsBi/c=",
- "dependencies": {
- "aproba": "^1.0.3",
- "console-control-strings": "^1.0.0",
- "has-unicode": "^2.0.0",
- "object-assign": "^4.1.0",
- "signal-exit": "^3.0.0",
- "string-width": "^1.0.1",
- "strip-ansi": "^3.0.1",
- "wide-align": "^1.1.0"
- }
- },
- "node_modules/gaze": {
- "version": "1.1.3",
- "resolved": "https://registry.npmjs.org/gaze/-/gaze-1.1.3.tgz",
- "integrity": "sha512-BRdNm8hbWzFzWHERTrejLqwHDfS4GibPoq5wjTPIoJHoBtKGPg3xAFfxmM+9ztbXelxcf2hwQcaz1PtmFeue8g==",
- "dependencies": {
- "globule": "^1.0.0"
- },
- "engines": {
- "node": ">= 4.0.0"
- }
- },
- "node_modules/genfun": {
- "version": "5.0.0",
- "resolved": "https://registry.npmjs.org/genfun/-/genfun-5.0.0.tgz",
- "integrity": "sha512-KGDOARWVga7+rnB3z9Sd2Letx515owfk0hSxHGuqjANb1M+x2bGZGqHLiozPsYMdM2OubeMni/Hpwmjq6qIUhA==",
- "dev": true
- },
- "node_modules/get-caller-file": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-1.0.3.tgz",
- "integrity": "sha512-3t6rVToeoZfYSGd8YoLFR2DJkiQrIiUrGcjvFX2mDw3bn6k2OtwHN0TNCLbBO+w8qTvimhDkv+LSscbJY1vE6w==",
- "dev": true
- },
- "node_modules/get-stdin": {
- "version": "4.0.1",
- "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-4.0.1.tgz",
- "integrity": "sha1-uWjGsKBDhDJJAui/Gl3zJXmkUP4=",
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/get-stream": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-3.0.0.tgz",
- "integrity": "sha1-jpQ9E1jcN1VQVOy+LtsFqhdO3hQ=",
- "dev": true,
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/get-value": {
- "version": "2.0.6",
- "resolved": "https://registry.npmjs.org/get-value/-/get-value-2.0.6.tgz",
- "integrity": "sha1-3BXKHGcjh8p2vTesCjlbogQqLCg=",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/getpass": {
- "version": "0.1.7",
- "resolved": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz",
- "integrity": "sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo=",
- "dependencies": {
- "assert-plus": "^1.0.0"
- }
- },
- "node_modules/glob": {
- "version": "7.1.6",
- "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz",
- "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==",
- "dependencies": {
- "fs.realpath": "^1.0.0",
- "inflight": "^1.0.4",
- "inherits": "2",
- "minimatch": "^3.0.4",
- "once": "^1.3.0",
- "path-is-absolute": "^1.0.0"
- },
- "engines": {
- "node": "*"
- }
- },
- "node_modules/glob-base": {
- "version": "0.3.0",
- "resolved": "https://registry.npmjs.org/glob-base/-/glob-base-0.3.0.tgz",
- "integrity": "sha1-27Fk9iIbHAscz4Kuoyi0l98Oo8Q=",
- "dev": true,
- "dependencies": {
- "glob-parent": "^2.0.0",
- "is-glob": "^2.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/glob-base/node_modules/glob-parent": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-2.0.0.tgz",
- "integrity": "sha1-gTg9ctsFT8zPUzbaqQLxgvbtuyg=",
- "dev": true,
- "dependencies": {
- "is-glob": "^2.0.0"
- }
- },
- "node_modules/glob-base/node_modules/is-extglob": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-1.0.0.tgz",
- "integrity": "sha1-rEaBd8SUNAWgkvyPKXYMb/xiBsA=",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/glob-base/node_modules/is-glob": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-2.0.1.tgz",
- "integrity": "sha1-0Jb5JqPe1WAPP9/ZEZjLCIjC2GM=",
- "dev": true,
- "dependencies": {
- "is-extglob": "^1.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/glob-parent": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-3.1.0.tgz",
- "integrity": "sha1-nmr2KZ2NO9K9QEMIMr0RPfkGxa4=",
- "dev": true,
- "dependencies": {
- "is-glob": "^3.1.0",
- "path-dirname": "^1.0.0"
- }
- },
- "node_modules/glob-parent/node_modules/is-glob": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-3.1.0.tgz",
- "integrity": "sha1-e6WuJCF4BKxwcHuWkiVnSGzD6Eo=",
- "dev": true,
- "dependencies": {
- "is-extglob": "^2.1.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/globals": {
- "version": "9.18.0",
- "resolved": "https://registry.npmjs.org/globals/-/globals-9.18.0.tgz",
- "integrity": "sha512-S0nG3CLEQiY/ILxqtztTWH/3iRRdyBLw6KMDxnKMchrtbj2OFmehVh0WUCfW3DUrIgx/qFrJPICrq4Z4sTR9UQ==",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/globby": {
- "version": "7.1.1",
- "resolved": "https://registry.npmjs.org/globby/-/globby-7.1.1.tgz",
- "integrity": "sha1-+yzP+UAfhgCUXfral0QMypcrhoA=",
- "dev": true,
- "dependencies": {
- "array-union": "^1.0.1",
- "dir-glob": "^2.0.0",
- "glob": "^7.1.2",
- "ignore": "^3.3.5",
- "pify": "^3.0.0",
- "slash": "^1.0.0"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/globby/node_modules/pify": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz",
- "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=",
- "dev": true,
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/globule": {
- "version": "1.3.0",
- "resolved": "https://registry.npmjs.org/globule/-/globule-1.3.0.tgz",
- "integrity": "sha512-YlD4kdMqRCQHrhVdonet4TdRtv1/sZKepvoxNT4Nrhrp5HI8XFfc8kFlGlBn2myBo80aGp8Eft259mbcUJhgSg==",
- "dependencies": {
- "glob": "~7.1.1",
- "lodash": "~4.17.10",
- "minimatch": "~3.0.2"
- },
- "engines": {
- "node": ">= 0.10"
- }
- },
- "node_modules/graceful-fs": {
- "version": "4.2.3",
- "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.3.tgz",
- "integrity": "sha512-a30VEBm4PEdx1dRB7MFK7BejejvCvBronbLjht+sHuGYj8PHs7M/5Z+rt5lw551vZ7yfTCj4Vuyy3mSJytDWRQ=="
- },
- "node_modules/grpc": {
- "version": "1.23.3",
- "resolved": "https://registry.npmjs.org/grpc/-/grpc-1.23.3.tgz",
- "integrity": "sha512-7vdzxPw9s5UYch4aUn4hyM5tMaouaxUUkwkgJlwbR4AXMxiYZJOv19N2ps2eKiuUbJovo5fnGF9hg/X91gWYjw==",
- "bundleDependencies": [
- "node-pre-gyp",
- "abbrev",
- "ansi-regex",
- "aproba",
- "are-we-there-yet",
- "balanced-match",
- "brace-expansion",
- "chownr",
- "code-point-at",
- "concat-map",
- "console-control-strings",
- "core-util-is",
- "debug",
- "deep-extend",
- "delegates",
- "detect-libc",
- "fs-minipass",
- "fs.realpath",
- "gauge",
- "glob",
- "has-unicode",
- "iconv-lite",
- "ignore-walk",
- "inflight",
- "inherits",
- "ini",
- "is-fullwidth-code-point",
- "isarray",
- "minimatch",
- "minimist",
- "minipass",
- "minizlib",
- "mkdirp",
- "ms",
- "needle",
- "nopt",
- "npm-bundled",
- "npm-packlist",
- "npmlog",
- "number-is-nan",
- "object-assign",
- "once",
- "os-homedir",
- "os-tmpdir",
- "osenv",
- "path-is-absolute",
- "process-nextick-args",
- "rc",
- "readable-stream",
- "rimraf",
- "safe-buffer",
- "safer-buffer",
- "sax",
- "semver",
- "set-blocking",
- "signal-exit",
- "string_decoder",
- "string-width",
- "strip-ansi",
- "strip-json-comments",
- "tar",
- "util-deprecate",
- "wide-align",
- "wrappy",
- "yallist"
- ],
- "dependencies": {
- "@types/bytebuffer": "^5.0.40",
- "lodash.camelcase": "^4.3.0",
- "lodash.clone": "^4.5.0",
- "nan": "^2.13.2",
- "node-pre-gyp": "^0.13.0",
- "protobufjs": "^5.0.3"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/grpc/node_modules/abbrev": {
- "version": "1.1.1",
- "inBundle": true,
- "license": "ISC"
- },
- "node_modules/grpc/node_modules/ansi-regex": {
- "version": "2.1.1",
- "inBundle": true,
- "license": "MIT",
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/grpc/node_modules/aproba": {
- "version": "1.2.0",
- "inBundle": true,
- "license": "ISC"
- },
- "node_modules/grpc/node_modules/are-we-there-yet": {
- "version": "1.1.5",
- "inBundle": true,
- "license": "ISC",
- "dependencies": {
- "delegates": "^1.0.0",
- "readable-stream": "^2.0.6"
- }
- },
- "node_modules/grpc/node_modules/balanced-match": {
- "version": "1.0.0",
- "inBundle": true,
- "license": "MIT"
- },
- "node_modules/grpc/node_modules/brace-expansion": {
- "version": "1.1.11",
- "inBundle": true,
- "license": "MIT",
- "dependencies": {
- "balanced-match": "^1.0.0",
- "concat-map": "0.0.1"
- }
- },
- "node_modules/grpc/node_modules/chownr": {
- "version": "1.1.2",
- "inBundle": true,
- "license": "ISC"
- },
- "node_modules/grpc/node_modules/code-point-at": {
- "version": "1.1.0",
- "inBundle": true,
- "license": "MIT",
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/grpc/node_modules/concat-map": {
- "version": "0.0.1",
- "inBundle": true,
- "license": "MIT"
- },
- "node_modules/grpc/node_modules/console-control-strings": {
- "version": "1.1.0",
- "inBundle": true,
- "license": "ISC"
- },
- "node_modules/grpc/node_modules/core-util-is": {
- "version": "1.0.2",
- "inBundle": true,
- "license": "MIT"
- },
- "node_modules/grpc/node_modules/debug": {
- "version": "3.2.6",
- "inBundle": true,
- "license": "MIT",
- "dependencies": {
- "ms": "^2.1.1"
- }
- },
- "node_modules/grpc/node_modules/deep-extend": {
- "version": "0.6.0",
- "inBundle": true,
- "license": "MIT",
- "engines": {
- "node": ">=4.0.0"
- }
- },
- "node_modules/grpc/node_modules/delegates": {
- "version": "1.0.0",
- "inBundle": true,
- "license": "MIT"
- },
- "node_modules/grpc/node_modules/detect-libc": {
- "version": "1.0.3",
- "inBundle": true,
- "license": "Apache-2.0",
- "bin": {
- "detect-libc": "bin/detect-libc.js"
- },
- "engines": {
- "node": ">=0.10"
- }
- },
- "node_modules/grpc/node_modules/fs-minipass": {
- "version": "1.2.6",
- "inBundle": true,
- "license": "ISC",
- "dependencies": {
- "minipass": "^2.2.1"
- }
- },
- "node_modules/grpc/node_modules/fs.realpath": {
- "version": "1.0.0",
- "inBundle": true,
- "license": "ISC"
- },
- "node_modules/grpc/node_modules/gauge": {
- "version": "2.7.4",
- "inBundle": true,
- "license": "ISC",
- "dependencies": {
- "aproba": "^1.0.3",
- "console-control-strings": "^1.0.0",
- "has-unicode": "^2.0.0",
- "object-assign": "^4.1.0",
- "signal-exit": "^3.0.0",
- "string-width": "^1.0.1",
- "strip-ansi": "^3.0.1",
- "wide-align": "^1.1.0"
- }
- },
- "node_modules/grpc/node_modules/glob": {
- "version": "7.1.4",
- "inBundle": true,
- "license": "ISC",
- "dependencies": {
- "fs.realpath": "^1.0.0",
- "inflight": "^1.0.4",
- "inherits": "2",
- "minimatch": "^3.0.4",
- "once": "^1.3.0",
- "path-is-absolute": "^1.0.0"
- },
- "engines": {
- "node": "*"
- }
- },
- "node_modules/grpc/node_modules/has-unicode": {
- "version": "2.0.1",
- "inBundle": true,
- "license": "ISC"
- },
- "node_modules/grpc/node_modules/iconv-lite": {
- "version": "0.4.24",
- "inBundle": true,
- "license": "MIT",
- "dependencies": {
- "safer-buffer": ">= 2.1.2 < 3"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/grpc/node_modules/ignore-walk": {
- "version": "3.0.1",
- "inBundle": true,
- "license": "ISC",
- "dependencies": {
- "minimatch": "^3.0.4"
- }
- },
- "node_modules/grpc/node_modules/inflight": {
- "version": "1.0.6",
- "inBundle": true,
- "license": "ISC",
- "dependencies": {
- "once": "^1.3.0",
- "wrappy": "1"
- }
- },
- "node_modules/grpc/node_modules/inherits": {
- "version": "2.0.4",
- "inBundle": true,
- "license": "ISC"
- },
- "node_modules/grpc/node_modules/ini": {
- "version": "1.3.5",
- "inBundle": true,
- "license": "ISC",
- "engines": {
- "node": "*"
- }
- },
- "node_modules/grpc/node_modules/is-fullwidth-code-point": {
- "version": "1.0.0",
- "inBundle": true,
- "license": "MIT",
- "dependencies": {
- "number-is-nan": "^1.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/grpc/node_modules/isarray": {
- "version": "1.0.0",
- "inBundle": true,
- "license": "MIT"
- },
- "node_modules/grpc/node_modules/minimatch": {
- "version": "3.0.4",
- "inBundle": true,
- "license": "ISC",
- "dependencies": {
- "brace-expansion": "^1.1.7"
- },
- "engines": {
- "node": "*"
- }
- },
- "node_modules/grpc/node_modules/minimist": {
- "version": "1.2.0",
- "inBundle": true,
- "license": "MIT"
- },
- "node_modules/grpc/node_modules/minipass": {
- "version": "2.3.5",
- "inBundle": true,
- "license": "ISC",
- "dependencies": {
- "safe-buffer": "^5.1.2",
- "yallist": "^3.0.0"
- }
- },
- "node_modules/grpc/node_modules/minizlib": {
- "version": "1.2.1",
- "inBundle": true,
- "license": "MIT",
- "dependencies": {
- "minipass": "^2.2.1"
- }
- },
- "node_modules/grpc/node_modules/mkdirp": {
- "version": "0.5.1",
- "inBundle": true,
- "license": "MIT",
- "dependencies": {
- "minimist": "0.0.8"
- },
- "bin": {
- "mkdirp": "bin/cmd.js"
- }
- },
- "node_modules/grpc/node_modules/mkdirp/node_modules/minimist": {
- "version": "0.0.8",
- "inBundle": true,
- "license": "MIT"
- },
- "node_modules/grpc/node_modules/ms": {
- "version": "2.1.2",
- "inBundle": true,
- "license": "MIT"
- },
- "node_modules/grpc/node_modules/needle": {
- "version": "2.4.0",
- "inBundle": true,
- "license": "MIT",
- "dependencies": {
- "debug": "^3.2.6",
- "iconv-lite": "^0.4.4",
- "sax": "^1.2.4"
- },
- "bin": {
- "needle": "bin/needle"
- },
- "engines": {
- "node": ">= 4.4.x"
- }
- },
- "node_modules/grpc/node_modules/node-pre-gyp": {
- "version": "0.13.0",
- "inBundle": true,
- "license": "BSD-3-Clause",
- "dependencies": {
- "detect-libc": "^1.0.2",
- "mkdirp": "^0.5.1",
- "needle": "^2.2.1",
- "nopt": "^4.0.1",
- "npm-packlist": "^1.1.6",
- "npmlog": "^4.0.2",
- "rc": "^1.2.7",
- "rimraf": "^2.6.1",
- "semver": "^5.3.0",
- "tar": "^4"
- },
- "bin": {
- "node-pre-gyp": "bin/node-pre-gyp"
- }
- },
- "node_modules/grpc/node_modules/nopt": {
- "version": "4.0.1",
- "inBundle": true,
- "license": "ISC",
- "dependencies": {
- "abbrev": "1",
- "osenv": "^0.1.4"
- },
- "bin": {
- "nopt": "bin/nopt.js"
- }
- },
- "node_modules/grpc/node_modules/npm-bundled": {
- "version": "1.0.6",
- "inBundle": true,
- "license": "ISC"
- },
- "node_modules/grpc/node_modules/npm-packlist": {
- "version": "1.4.4",
- "inBundle": true,
- "license": "ISC",
- "dependencies": {
- "ignore-walk": "^3.0.1",
- "npm-bundled": "^1.0.1"
- }
- },
- "node_modules/grpc/node_modules/npmlog": {
- "version": "4.1.2",
- "inBundle": true,
- "license": "ISC",
- "dependencies": {
- "are-we-there-yet": "~1.1.2",
- "console-control-strings": "~1.1.0",
- "gauge": "~2.7.3",
- "set-blocking": "~2.0.0"
- }
- },
- "node_modules/grpc/node_modules/number-is-nan": {
- "version": "1.0.1",
- "inBundle": true,
- "license": "MIT",
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/grpc/node_modules/object-assign": {
- "version": "4.1.1",
- "inBundle": true,
- "license": "MIT",
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/grpc/node_modules/once": {
- "version": "1.4.0",
- "inBundle": true,
- "license": "ISC",
- "dependencies": {
- "wrappy": "1"
- }
- },
- "node_modules/grpc/node_modules/os-homedir": {
- "version": "1.0.2",
- "inBundle": true,
- "license": "MIT",
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/grpc/node_modules/os-tmpdir": {
- "version": "1.0.2",
- "inBundle": true,
- "license": "MIT",
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/grpc/node_modules/osenv": {
- "version": "0.1.5",
- "inBundle": true,
- "license": "ISC",
- "dependencies": {
- "os-homedir": "^1.0.0",
- "os-tmpdir": "^1.0.0"
- }
- },
- "node_modules/grpc/node_modules/path-is-absolute": {
- "version": "1.0.1",
- "inBundle": true,
- "license": "MIT",
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/grpc/node_modules/process-nextick-args": {
- "version": "2.0.1",
- "inBundle": true,
- "license": "MIT"
- },
- "node_modules/grpc/node_modules/protobufjs": {
- "version": "5.0.3",
- "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-5.0.3.tgz",
- "integrity": "sha512-55Kcx1MhPZX0zTbVosMQEO5R6/rikNXd9b6RQK4KSPcrSIIwoXTtebIczUrXlwaSrbz4x8XUVThGPob1n8I4QA==",
- "dependencies": {
- "ascli": "~1",
- "bytebuffer": "~5",
- "glob": "^7.0.5",
- "yargs": "^3.10.0"
- },
- "bin": {
- "pbjs": "bin/pbjs"
- },
- "engines": {
- "node": ">=0.8"
- }
- },
- "node_modules/grpc/node_modules/rc": {
- "version": "1.2.8",
- "inBundle": true,
- "license": "(BSD-2-Clause OR MIT OR Apache-2.0)",
- "dependencies": {
- "deep-extend": "^0.6.0",
- "ini": "~1.3.0",
- "minimist": "^1.2.0",
- "strip-json-comments": "~2.0.1"
- },
- "bin": {
- "rc": "cli.js"
- }
- },
- "node_modules/grpc/node_modules/readable-stream": {
- "version": "2.3.6",
- "inBundle": true,
- "license": "MIT",
- "dependencies": {
- "core-util-is": "~1.0.0",
- "inherits": "~2.0.3",
- "isarray": "~1.0.0",
- "process-nextick-args": "~2.0.0",
- "safe-buffer": "~5.1.1",
- "string_decoder": "~1.1.1",
- "util-deprecate": "~1.0.1"
- }
- },
- "node_modules/grpc/node_modules/rimraf": {
- "version": "2.7.1",
- "inBundle": true,
- "license": "ISC",
- "dependencies": {
- "glob": "^7.1.3"
- },
- "bin": {
- "rimraf": "bin.js"
- }
- },
- "node_modules/grpc/node_modules/safe-buffer": {
- "version": "5.1.2",
- "inBundle": true,
- "license": "MIT"
- },
- "node_modules/grpc/node_modules/safer-buffer": {
- "version": "2.1.2",
- "inBundle": true,
- "license": "MIT"
- },
- "node_modules/grpc/node_modules/sax": {
- "version": "1.2.4",
- "inBundle": true,
- "license": "ISC"
- },
- "node_modules/grpc/node_modules/semver": {
- "version": "5.7.1",
- "inBundle": true,
- "license": "ISC",
- "bin": {
- "semver": "bin/semver"
- }
- },
- "node_modules/grpc/node_modules/set-blocking": {
- "version": "2.0.0",
- "inBundle": true,
- "license": "ISC"
- },
- "node_modules/grpc/node_modules/signal-exit": {
- "version": "3.0.2",
- "inBundle": true,
- "license": "ISC"
- },
- "node_modules/grpc/node_modules/string_decoder": {
- "version": "1.1.1",
- "inBundle": true,
- "license": "MIT",
- "dependencies": {
- "safe-buffer": "~5.1.0"
- }
- },
- "node_modules/grpc/node_modules/string-width": {
- "version": "1.0.2",
- "inBundle": true,
- "license": "MIT",
- "dependencies": {
- "code-point-at": "^1.0.0",
- "is-fullwidth-code-point": "^1.0.0",
- "strip-ansi": "^3.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/grpc/node_modules/strip-ansi": {
- "version": "3.0.1",
- "inBundle": true,
- "license": "MIT",
- "dependencies": {
- "ansi-regex": "^2.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/grpc/node_modules/strip-json-comments": {
- "version": "2.0.1",
- "inBundle": true,
- "license": "MIT",
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/grpc/node_modules/tar": {
- "version": "4.4.10",
- "inBundle": true,
- "license": "ISC",
- "dependencies": {
- "chownr": "^1.1.1",
- "fs-minipass": "^1.2.5",
- "minipass": "^2.3.5",
- "minizlib": "^1.2.1",
- "mkdirp": "^0.5.0",
- "safe-buffer": "^5.1.2",
- "yallist": "^3.0.3"
- },
- "engines": {
- "node": ">=4.5"
- }
- },
- "node_modules/grpc/node_modules/util-deprecate": {
- "version": "1.0.2",
- "inBundle": true,
- "license": "MIT"
- },
- "node_modules/grpc/node_modules/wide-align": {
- "version": "1.1.3",
- "inBundle": true,
- "license": "ISC",
- "dependencies": {
- "string-width": "^1.0.2 || 2"
- }
- },
- "node_modules/grpc/node_modules/wrappy": {
- "version": "1.0.2",
- "inBundle": true,
- "license": "ISC"
- },
- "node_modules/grpc/node_modules/yallist": {
- "version": "3.0.3",
- "inBundle": true,
- "license": "ISC"
- },
- "node_modules/hammerjs": {
- "version": "2.0.8",
- "resolved": "https://registry.npmjs.org/hammerjs/-/hammerjs-2.0.8.tgz",
- "integrity": "sha1-BO93hiz/K7edMPdpIJWTAiK/YPE=",
- "engines": {
- "node": ">=0.8.0"
- }
- },
- "node_modules/handle-thing": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/handle-thing/-/handle-thing-2.0.0.tgz",
- "integrity": "sha512-d4sze1JNC454Wdo2fkuyzCr6aHcbL6PGGuFAz0Li/NcOm1tCHGnWDRmJP85dh9IhQErTc2svWFEX5xHIOo//kQ==",
- "dev": true
- },
- "node_modules/handlebars": {
- "version": "4.7.7",
- "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.7.7.tgz",
- "integrity": "sha512-aAcXm5OAfE/8IXkcZvCepKU3VzW1/39Fb5ZuqMtgI/hT8X2YgoMvBY5dLhq/cpOvw7Lk1nK/UF71aLG/ZnVYRA==",
- "dev": true,
- "dependencies": {
- "minimist": "^1.2.5",
- "neo-async": "^2.6.0",
- "source-map": "^0.6.1",
- "wordwrap": "^1.0.0"
- },
- "bin": {
- "handlebars": "bin/handlebars"
- },
- "engines": {
- "node": ">=0.4.7"
- },
- "optionalDependencies": {
- "uglify-js": "^3.1.4"
- }
- },
- "node_modules/handlebars/node_modules/source-map": {
- "version": "0.6.1",
- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
- "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/har-schema": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz",
- "integrity": "sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI=",
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/har-validator": {
- "version": "5.1.3",
- "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.1.3.tgz",
- "integrity": "sha512-sNvOCzEQNr/qrvJgc3UG/kD4QtlHycrzwS+6mfTrrSq97BvaYcPZZI1ZSqGSPR73Cxn4LKTD4PttRwfU7jWq5g==",
- "dependencies": {
- "ajv": "^6.5.5",
- "har-schema": "^2.0.0"
- },
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/has": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz",
- "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==",
- "dependencies": {
- "function-bind": "^1.1.1"
- },
- "engines": {
- "node": ">= 0.4.0"
- }
- },
- "node_modules/has-ansi": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz",
- "integrity": "sha1-NPUEnOHs3ysGSa8+8k5F7TVBbZE=",
- "dependencies": {
- "ansi-regex": "^2.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/has-binary": {
- "version": "0.1.7",
- "resolved": "https://registry.npmjs.org/has-binary/-/has-binary-0.1.7.tgz",
- "integrity": "sha1-aOYesWIQyVRaClzOBqhzkS/h5ow=",
- "dev": true,
- "dependencies": {
- "isarray": "0.0.1"
- }
- },
- "node_modules/has-binary/node_modules/isarray": {
- "version": "0.0.1",
- "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz",
- "integrity": "sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8=",
- "dev": true
- },
- "node_modules/has-binary2": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/has-binary2/-/has-binary2-1.0.3.tgz",
- "integrity": "sha512-G1LWKhDSvhGeAQ8mPVQlqNcOB2sJdwATtZKl2pDKKHfpf/rYj24lkinxf69blJbnsvtqqNU+L3SL50vzZhXOnw==",
- "dependencies": {
- "isarray": "2.0.1"
- }
- },
- "node_modules/has-binary2/node_modules/isarray": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.1.tgz",
- "integrity": "sha1-o32U7ZzaLVmGXJ92/llu4fM4dB4="
- },
- "node_modules/has-cors": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/has-cors/-/has-cors-1.1.0.tgz",
- "integrity": "sha1-XkdHk/fqmEPRu5nCPu9J/xJv/zk="
- },
- "node_modules/has-flag": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",
- "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=",
- "dev": true,
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/has-symbols": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.1.tgz",
- "integrity": "sha512-PLcsoqu++dmEIZB+6totNFKq/7Do+Z0u4oT0zKOJNl3lYK6vGwwu2hjHs+68OEZbTjiUE9bgOABXbP/GvrS0Kg==",
- "engines": {
- "node": ">= 0.4"
- }
- },
- "node_modules/has-unicode": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz",
- "integrity": "sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk="
- },
- "node_modules/has-value": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/has-value/-/has-value-1.0.0.tgz",
- "integrity": "sha1-GLKB2lhbHFxR3vJMkw7SmgvmsXc=",
- "dev": true,
- "dependencies": {
- "get-value": "^2.0.6",
- "has-values": "^1.0.0",
- "isobject": "^3.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/has-values": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/has-values/-/has-values-1.0.0.tgz",
- "integrity": "sha1-lbC2P+whRmGab+V/51Yo1aOe/k8=",
- "dev": true,
- "dependencies": {
- "is-number": "^3.0.0",
- "kind-of": "^4.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/has-values/node_modules/kind-of": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-4.0.0.tgz",
- "integrity": "sha1-IIE989cSkosgc3hpGkUGb65y3Vc=",
- "dev": true,
- "dependencies": {
- "is-buffer": "^1.1.5"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/hash-base": {
- "version": "3.0.4",
- "resolved": "https://registry.npmjs.org/hash-base/-/hash-base-3.0.4.tgz",
- "integrity": "sha1-X8hoaEfs1zSZQDMZprCj8/auSRg=",
- "dev": true,
- "dependencies": {
- "inherits": "^2.0.1",
- "safe-buffer": "^5.0.1"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/hash.js": {
- "version": "1.1.7",
- "resolved": "https://registry.npmjs.org/hash.js/-/hash.js-1.1.7.tgz",
- "integrity": "sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA==",
- "dev": true,
- "dependencies": {
- "inherits": "^2.0.3",
- "minimalistic-assert": "^1.0.1"
- }
- },
- "node_modules/hmac-drbg": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/hmac-drbg/-/hmac-drbg-1.0.1.tgz",
- "integrity": "sha1-0nRXAQJabHdabFRXk+1QL8DGSaE=",
- "dev": true,
- "dependencies": {
- "hash.js": "^1.0.3",
- "minimalistic-assert": "^1.0.0",
- "minimalistic-crypto-utils": "^1.0.1"
- }
- },
- "node_modules/hosted-git-info": {
- "version": "2.8.9",
- "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz",
- "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw=="
- },
- "node_modules/hpack.js": {
- "version": "2.1.6",
- "resolved": "https://registry.npmjs.org/hpack.js/-/hpack.js-2.1.6.tgz",
- "integrity": "sha1-h3dMCUnlE/QuhFdbPEVoH63ioLI=",
- "dev": true,
- "dependencies": {
- "inherits": "^2.0.1",
- "obuf": "^1.0.0",
- "readable-stream": "^2.0.1",
- "wbuf": "^1.1.0"
- }
- },
- "node_modules/html-entities": {
- "version": "1.2.1",
- "resolved": "https://registry.npmjs.org/html-entities/-/html-entities-1.2.1.tgz",
- "integrity": "sha1-DfKTUfByEWNRXfueVUPl9u7VFi8=",
- "dev": true,
- "engines": [
- "node >= 0.4.0"
- ]
- },
- "node_modules/http-cache-semantics": {
- "version": "3.8.1",
- "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-3.8.1.tgz",
- "integrity": "sha512-5ai2iksyV8ZXmnZhHH4rWPoxxistEexSi5936zIQ1bnNTW5VnA85B6P/VpXiRM017IgRvb2kKo1a//y+0wSp3w==",
- "dev": true
- },
- "node_modules/http-deceiver": {
- "version": "1.2.7",
- "resolved": "https://registry.npmjs.org/http-deceiver/-/http-deceiver-1.2.7.tgz",
- "integrity": "sha1-+nFolEq5pRnTN8sL7HKE3D5yPYc=",
- "dev": true
- },
- "node_modules/http-errors": {
- "version": "1.7.2",
- "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.7.2.tgz",
- "integrity": "sha512-uUQBt3H/cSIVfch6i1EuPNy/YsRSOUBXTVfZ+yR7Zjez3qjBz6i9+i4zjNaoqcoFVI4lQJ5plg63TvGfRSDCRg==",
- "dev": true,
- "dependencies": {
- "depd": "~1.1.2",
- "inherits": "2.0.3",
- "setprototypeof": "1.1.1",
- "statuses": ">= 1.5.0 < 2",
- "toidentifier": "1.0.0"
- },
- "engines": {
- "node": ">= 0.6"
- }
- },
- "node_modules/http-errors/node_modules/inherits": {
- "version": "2.0.3",
- "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz",
- "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=",
- "dev": true
- },
- "node_modules/http-parser-js": {
- "version": "0.4.10",
- "resolved": "https://registry.npmjs.org/http-parser-js/-/http-parser-js-0.4.10.tgz",
- "integrity": "sha1-ksnBN0w1CF912zWexWzCV8u5P6Q="
- },
- "node_modules/http-proxy": {
- "version": "1.18.1",
- "resolved": "https://registry.npmjs.org/http-proxy/-/http-proxy-1.18.1.tgz",
- "integrity": "sha512-7mz/721AbnJwIVbnaSv1Cz3Am0ZLT/UBwkC92VlxhXv/k/BBQfM2fXElQNC27BVGr0uwUpplYPQM9LnaBMR5NQ==",
- "dev": true,
- "dependencies": {
- "eventemitter3": "^4.0.0",
- "follow-redirects": "^1.0.0",
- "requires-port": "^1.0.0"
- },
- "engines": {
- "node": ">=8.0.0"
- }
- },
- "node_modules/http-proxy-agent": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-2.1.0.tgz",
- "integrity": "sha512-qwHbBLV7WviBl0rQsOzH6o5lwyOIvwp/BdFnvVxXORldu5TmjFfjzBcWUWS5kWAZhmv+JtiDhSuQCp4sBfbIgg==",
- "dev": true,
- "dependencies": {
- "agent-base": "4",
- "debug": "3.1.0"
- },
- "engines": {
- "node": ">= 4.5.0"
- }
- },
- "node_modules/http-proxy-agent/node_modules/debug": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz",
- "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==",
- "dev": true,
- "dependencies": {
- "ms": "2.0.0"
- }
- },
- "node_modules/http-proxy-middleware": {
- "version": "0.18.0",
- "resolved": "https://registry.npmjs.org/http-proxy-middleware/-/http-proxy-middleware-0.18.0.tgz",
- "integrity": "sha512-Fs25KVMPAIIcgjMZkVHJoKg9VcXcC1C8yb9JUgeDvVXY0S/zgVIhMb+qVswDIgtJe2DfckMSY2d6TuTEutlk6Q==",
- "dev": true,
- "dependencies": {
- "http-proxy": "^1.16.2",
- "is-glob": "^4.0.0",
- "lodash": "^4.17.5",
- "micromatch": "^3.1.9"
- },
- "engines": {
- "node": ">=4.0.0"
- }
- },
- "node_modules/http-proxy/node_modules/eventemitter3": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.0.tgz",
- "integrity": "sha512-qerSRB0p+UDEssxTtm6EDKcE7W4OaoisfIMl4CngyEhjpYglocpNg6UEqCvemdGhosAsg4sO2dXJOdyBifPGCg==",
- "dev": true
- },
- "node_modules/http-signature": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz",
- "integrity": "sha1-muzZJRFHcvPZW2WmCruPfBj7rOE=",
- "dependencies": {
- "assert-plus": "^1.0.0",
- "jsprim": "^1.2.2",
- "sshpk": "^1.7.0"
- },
- "engines": {
- "node": ">=0.8",
- "npm": ">=1.3.7"
- }
- },
- "node_modules/https-browserify": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/https-browserify/-/https-browserify-1.0.0.tgz",
- "integrity": "sha1-7AbBDgo0wPL68Zn3/X/Hj//QPHM=",
- "dev": true
- },
- "node_modules/https-proxy-agent": {
- "version": "2.2.4",
- "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-2.2.4.tgz",
- "integrity": "sha512-OmvfoQ53WLjtA9HeYP9RNrWMJzzAz1JGaSFr1nijg0PVR1JaD/xbJq1mdEIIlxGpXp9eSe/O2LgU9DJmTPd0Eg==",
- "dev": true,
- "dependencies": {
- "agent-base": "^4.3.0",
- "debug": "^3.1.0"
- },
- "engines": {
- "node": ">= 4.5.0"
- }
- },
- "node_modules/https-proxy-agent/node_modules/debug": {
- "version": "3.2.6",
- "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.6.tgz",
- "integrity": "sha512-mel+jf7nrtEl5Pn1Qx46zARXKDpBbvzezse7p7LqINmdoIk8PYP5SySaxEmYv6TZ0JyEKA1hsCId6DIhgITtWQ==",
- "dev": true,
- "dependencies": {
- "ms": "^2.1.1"
- }
- },
- "node_modules/https-proxy-agent/node_modules/ms": {
- "version": "2.1.2",
- "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
- "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
- "dev": true
- },
- "node_modules/humanize-ms": {
- "version": "1.2.1",
- "resolved": "https://registry.npmjs.org/humanize-ms/-/humanize-ms-1.2.1.tgz",
- "integrity": "sha1-xG4xWaKT9riW2ikxbYtv6Lt5u+0=",
- "dev": true,
- "dependencies": {
- "ms": "^2.0.0"
- }
- },
- "node_modules/iconv-lite": {
- "version": "0.4.24",
- "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz",
- "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==",
- "dependencies": {
- "safer-buffer": ">= 2.1.2 < 3"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/idb": {
- "version": "3.0.2",
- "resolved": "https://registry.npmjs.org/idb/-/idb-3.0.2.tgz",
- "integrity": "sha512-+FLa/0sTXqyux0o6C+i2lOR0VoS60LU/jzUo5xjfY6+7sEEgy4Gz1O7yFBXvjd7N0NyIGWIRg8DcQSLEG+VSPw=="
- },
- "node_modules/ieee754": {
- "version": "1.1.13",
- "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.1.13.tgz",
- "integrity": "sha512-4vf7I2LYV/HaWerSo3XmlMkp5eZ83i+/CDluXi/IGTs/O1sejBNhTtnxzmRZfvOUqj7lZjqHkeTvpgSFDlWZTg=="
- },
- "node_modules/iferr": {
- "version": "0.1.5",
- "resolved": "https://registry.npmjs.org/iferr/-/iferr-0.1.5.tgz",
- "integrity": "sha1-xg7taebY/bazEEofy8ocGS3FtQE=",
- "dev": true
- },
- "node_modules/ignore": {
- "version": "3.3.10",
- "resolved": "https://registry.npmjs.org/ignore/-/ignore-3.3.10.tgz",
- "integrity": "sha512-Pgs951kaMm5GXP7MOvxERINe3gsaVjUWFm+UZPSq9xYriQAksyhg0csnS0KXSNRD5NmNdapXEpjxG49+AKh/ug==",
- "dev": true
- },
- "node_modules/ignore-walk": {
- "version": "3.0.3",
- "resolved": "https://registry.npmjs.org/ignore-walk/-/ignore-walk-3.0.3.tgz",
- "integrity": "sha512-m7o6xuOaT1aqheYHKf8W6J5pYH85ZI9w077erOzLje3JsB1gkafkAhHHY19dqjulgIZHFm32Cp5uNZgcQqdJKw==",
- "dev": true,
- "dependencies": {
- "minimatch": "^3.0.4"
- }
- },
- "node_modules/image-size": {
- "version": "0.5.5",
- "resolved": "https://registry.npmjs.org/image-size/-/image-size-0.5.5.tgz",
- "integrity": "sha1-Cd/Uq50g4p6xw+gLiZA3jfnjy5w=",
- "dev": true,
- "optional": true,
- "bin": {
- "image-size": "bin/image-size.js"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/import-cwd": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/import-cwd/-/import-cwd-2.1.0.tgz",
- "integrity": "sha1-qmzzbnInYShcs3HsZRn1PiQ1sKk=",
- "dev": true,
- "dependencies": {
- "import-from": "^2.1.0"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/import-fresh": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-2.0.0.tgz",
- "integrity": "sha1-2BNVwVYS04bGH53dOSLUMEgipUY=",
- "dev": true,
- "dependencies": {
- "caller-path": "^2.0.0",
- "resolve-from": "^3.0.0"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/import-from": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/import-from/-/import-from-2.1.0.tgz",
- "integrity": "sha1-M1238qev/VOqpHHUuAId7ja387E=",
- "dev": true,
- "dependencies": {
- "resolve-from": "^3.0.0"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/import-local": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/import-local/-/import-local-2.0.0.tgz",
- "integrity": "sha512-b6s04m3O+s3CGSbqDIyP4R6aAwAeYlVq9+WUWep6iHa8ETRf9yei1U48C5MmfJmV9AiLYYBKPMq/W+/WRpQmCQ==",
- "dev": true,
- "dependencies": {
- "pkg-dir": "^3.0.0",
- "resolve-cwd": "^2.0.0"
- },
- "bin": {
- "import-local-fixture": "fixtures/cli.js"
- },
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/import-local/node_modules/find-up": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz",
- "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==",
- "dev": true,
- "dependencies": {
- "locate-path": "^3.0.0"
- },
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/import-local/node_modules/locate-path": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz",
- "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==",
- "dev": true,
- "dependencies": {
- "p-locate": "^3.0.0",
- "path-exists": "^3.0.0"
- },
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/import-local/node_modules/p-limit": {
- "version": "2.2.2",
- "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.2.2.tgz",
- "integrity": "sha512-WGR+xHecKTr7EbUEhyLSh5Dube9JtdiG78ufaeLxTgpudf/20KqyMioIUZJAezlTIi6evxuoUs9YXc11cU+yzQ==",
- "dev": true,
- "dependencies": {
- "p-try": "^2.0.0"
- },
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/import-local/node_modules/p-locate": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz",
- "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==",
- "dev": true,
- "dependencies": {
- "p-limit": "^2.0.0"
- },
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/import-local/node_modules/p-try": {
- "version": "2.2.0",
- "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz",
- "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==",
- "dev": true,
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/import-local/node_modules/path-exists": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz",
- "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=",
- "dev": true,
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/import-local/node_modules/pkg-dir": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-3.0.0.tgz",
- "integrity": "sha512-/E57AYkoeQ25qkxMj5PBOVgF8Kiu/h7cYS30Z5+R7WaiCCBfLq58ZI/dSeaEKb9WVJV5n/03QwrN3IeWIFllvw==",
- "dev": true,
- "dependencies": {
- "find-up": "^3.0.0"
- },
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/imurmurhash": {
- "version": "0.1.4",
- "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz",
- "integrity": "sha1-khi5srkoojixPcT7a21XbyMUU+o=",
- "dev": true,
- "engines": {
- "node": ">=0.8.19"
- }
- },
- "node_modules/in-publish": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/in-publish/-/in-publish-2.0.0.tgz",
- "integrity": "sha1-4g/146KvwmkDILbcVSaCqcf631E=",
- "bin": {
- "in-install": "in-install.js",
- "in-publish": "in-publish.js",
- "not-in-install": "not-in-install.js",
- "not-in-publish": "not-in-publish.js"
- }
- },
- "node_modules/indent-string": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-2.1.0.tgz",
- "integrity": "sha1-ji1INIdCEhtKghi3oTfppSBJ3IA=",
- "dependencies": {
- "repeating": "^2.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/indexof": {
- "version": "0.0.1",
- "resolved": "https://registry.npmjs.org/indexof/-/indexof-0.0.1.tgz",
- "integrity": "sha1-gtwzbSMrkGIXnQWrMpOmYFn9Q10="
- },
- "node_modules/inflight": {
- "version": "1.0.6",
- "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",
- "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=",
- "dependencies": {
- "once": "^1.3.0",
- "wrappy": "1"
- }
- },
- "node_modules/inherits": {
- "version": "2.0.4",
- "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
- "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="
- },
- "node_modules/ini": {
- "version": "1.3.5",
- "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.5.tgz",
- "integrity": "sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw==",
- "dev": true,
- "engines": {
- "node": "*"
- }
- },
- "node_modules/internal-ip": {
- "version": "3.0.1",
- "resolved": "https://registry.npmjs.org/internal-ip/-/internal-ip-3.0.1.tgz",
- "integrity": "sha512-NXXgESC2nNVtU+pqmC9e6R8B1GpKxzsAQhffvh5AL79qKnodd+L7tnEQmTiUAVngqLalPbSqRA7XGIEL5nCd0Q==",
- "dev": true,
- "os": [
- "android",
- "darwin",
- "freebsd",
- "linux",
- "openbsd",
- "sunos",
- "win32"
- ],
- "dependencies": {
- "default-gateway": "^2.6.0",
- "ipaddr.js": "^1.5.2"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/intl": {
- "version": "1.2.5",
- "resolved": "https://registry.npmjs.org/intl/-/intl-1.2.5.tgz",
- "integrity": "sha1-giRKIZDE5Bn4Nx9ao02qNCDiq94="
- },
- "node_modules/invariant": {
- "version": "2.2.4",
- "resolved": "https://registry.npmjs.org/invariant/-/invariant-2.2.4.tgz",
- "integrity": "sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA==",
- "dev": true,
- "dependencies": {
- "loose-envify": "^1.0.0"
- }
- },
- "node_modules/invert-kv": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/invert-kv/-/invert-kv-1.0.0.tgz",
- "integrity": "sha1-EEqOSqym09jNFXqO+L+rLXo//bY=",
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/ip": {
- "version": "1.1.5",
- "resolved": "https://registry.npmjs.org/ip/-/ip-1.1.5.tgz",
- "integrity": "sha1-vd7XARQpCCjAoDnnLvJfWq7ENUo=",
- "dev": true
- },
- "node_modules/ip-regex": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/ip-regex/-/ip-regex-2.1.0.tgz",
- "integrity": "sha1-+ni/XS5pE8kRzp+BnuUUa7bYROk=",
- "dev": true,
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/ipaddr.js": {
- "version": "1.9.0",
- "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.0.tgz",
- "integrity": "sha512-M4Sjn6N/+O6/IXSJseKqHoFc+5FdGJ22sXqnjTpdZweHK64MzEPAyQZyEU3R/KRv2GLoa7nNtg/C2Ev6m7z+eA==",
- "dev": true,
- "engines": {
- "node": ">= 0.10"
- }
- },
- "node_modules/is-accessor-descriptor": {
- "version": "0.1.6",
- "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz",
- "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=",
- "dev": true,
- "dependencies": {
- "kind-of": "^3.0.2"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/is-accessor-descriptor/node_modules/kind-of": {
- "version": "3.2.2",
- "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz",
- "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=",
- "dev": true,
- "dependencies": {
- "is-buffer": "^1.1.5"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/is-arguments": {
- "version": "1.0.4",
- "resolved": "https://registry.npmjs.org/is-arguments/-/is-arguments-1.0.4.tgz",
- "integrity": "sha512-xPh0Rmt8NE65sNzvyUmWgI1tz3mKq74lGA0mL8LYZcoIzKOzDh6HmrYm3d18k60nHerC8A9Km8kYu87zfSFnLA==",
- "engines": {
- "node": ">= 0.4"
- }
- },
- "node_modules/is-arrayish": {
- "version": "0.2.1",
- "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz",
- "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0="
- },
- "node_modules/is-binary-path": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-1.0.1.tgz",
- "integrity": "sha1-dfFmQrSA8YenEcgUFh/TpKdlWJg=",
- "dev": true,
- "dependencies": {
- "binary-extensions": "^1.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/is-buffer": {
- "version": "1.1.6",
- "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz",
- "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==",
- "dev": true
- },
- "node_modules/is-callable": {
- "version": "1.1.5",
- "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.1.5.tgz",
- "integrity": "sha512-ESKv5sMCJB2jnHTWZ3O5itG+O128Hsus4K4Qh1h2/cgn2vbgnLSVqfV46AeJA9D5EeeLa9w81KUXMtn34zhX+Q==",
- "engines": {
- "node": ">= 0.4"
- }
- },
- "node_modules/is-data-descriptor": {
- "version": "0.1.4",
- "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz",
- "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=",
- "dev": true,
- "dependencies": {
- "kind-of": "^3.0.2"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/is-data-descriptor/node_modules/kind-of": {
- "version": "3.2.2",
- "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz",
- "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=",
- "dev": true,
- "dependencies": {
- "is-buffer": "^1.1.5"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/is-date-object": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.2.tgz",
- "integrity": "sha512-USlDT524woQ08aoZFzh3/Z6ch9Y/EWXEHQ/AaRN0SkKq4t2Jw2R2339tSXmwuVoY7LLlBCbOIlx2myP/L5zk0g==",
- "engines": {
- "node": ">= 0.4"
- }
- },
- "node_modules/is-descriptor": {
- "version": "0.1.6",
- "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz",
- "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==",
- "dev": true,
- "dependencies": {
- "is-accessor-descriptor": "^0.1.6",
- "is-data-descriptor": "^0.1.4",
- "kind-of": "^5.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/is-descriptor/node_modules/kind-of": {
- "version": "5.1.0",
- "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz",
- "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/is-directory": {
- "version": "0.3.1",
- "resolved": "https://registry.npmjs.org/is-directory/-/is-directory-0.3.1.tgz",
- "integrity": "sha1-YTObbyR1/Hcv2cnYP1yFddwVSuE=",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/is-dotfile": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/is-dotfile/-/is-dotfile-1.0.3.tgz",
- "integrity": "sha1-pqLzL/0t+wT1yiXs0Pa4PPeYoeE=",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/is-equal-shallow": {
- "version": "0.1.3",
- "resolved": "https://registry.npmjs.org/is-equal-shallow/-/is-equal-shallow-0.1.3.tgz",
- "integrity": "sha1-IjgJj8Ih3gvPpdnqxMRdY4qhxTQ=",
- "dev": true,
- "dependencies": {
- "is-primitive": "^2.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/is-extendable": {
- "version": "0.1.1",
- "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz",
- "integrity": "sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/is-extglob": {
- "version": "2.1.1",
- "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz",
- "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/is-finite": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/is-finite/-/is-finite-1.0.2.tgz",
- "integrity": "sha1-zGZ3aVYCvlUO8R6LSqYwU0K20Ko=",
- "dependencies": {
- "number-is-nan": "^1.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/is-fullwidth-code-point": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz",
- "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=",
- "dependencies": {
- "number-is-nan": "^1.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/is-glob": {
- "version": "4.0.1",
- "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.1.tgz",
- "integrity": "sha512-5G0tKtBTFImOqDnLB2hG6Bp2qcKEFduo4tZu9MT/H6NQv/ghhy30o55ufafxJ/LdH79LLs2Kfrn85TLKyA7BUg==",
- "dev": true,
- "dependencies": {
- "is-extglob": "^2.1.1"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/is-number": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz",
- "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=",
- "dev": true,
- "dependencies": {
- "kind-of": "^3.0.2"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/is-number/node_modules/kind-of": {
- "version": "3.2.2",
- "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz",
- "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=",
- "dev": true,
- "dependencies": {
- "is-buffer": "^1.1.5"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/is-path-cwd": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/is-path-cwd/-/is-path-cwd-1.0.0.tgz",
- "integrity": "sha1-0iXsIxMuie3Tj9p2dHLmLmXxEG0=",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/is-path-in-cwd": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/is-path-in-cwd/-/is-path-in-cwd-1.0.1.tgz",
- "integrity": "sha512-FjV1RTW48E7CWM7eE/J2NJvAEEVektecDBVBE5Hh3nM1Jd0kvhHtX68Pr3xsDf857xt3Y4AkwVULK1Vku62aaQ==",
- "dev": true,
- "dependencies": {
- "is-path-inside": "^1.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/is-path-inside": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-1.0.1.tgz",
- "integrity": "sha1-jvW33lBDej/cprToZe96pVy0gDY=",
- "dev": true,
- "dependencies": {
- "path-is-inside": "^1.0.1"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/is-plain-object": {
- "version": "2.0.4",
- "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz",
- "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==",
- "dev": true,
- "dependencies": {
- "isobject": "^3.0.1"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/is-posix-bracket": {
- "version": "0.1.1",
- "resolved": "https://registry.npmjs.org/is-posix-bracket/-/is-posix-bracket-0.1.1.tgz",
- "integrity": "sha1-MzTceXdDaOkvAW5vvAqI9c1ua8Q=",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/is-primitive": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/is-primitive/-/is-primitive-2.0.0.tgz",
- "integrity": "sha1-IHurkWOEmcB7Kt8kCkGochADRXU=",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/is-regex": {
- "version": "1.0.5",
- "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.0.5.tgz",
- "integrity": "sha512-vlKW17SNq44owv5AQR3Cq0bQPEb8+kF3UKZ2fiZNOWtztYE5i0CzCZxFDwO58qAOWtxdBRVO/V5Qin1wjCqFYQ==",
- "dependencies": {
- "has": "^1.0.3"
- },
- "engines": {
- "node": ">= 0.4"
- }
- },
- "node_modules/is-stream": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz",
- "integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=",
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/is-symbol": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.3.tgz",
- "integrity": "sha512-OwijhaRSgqvhm/0ZdAcXNZt9lYdKFpcRDT5ULUuYXPoT794UNOdU+gpT6Rzo7b4V2HUl/op6GqY894AZwv9faQ==",
- "dependencies": {
- "has-symbols": "^1.0.1"
- },
- "engines": {
- "node": ">= 0.4"
- }
- },
- "node_modules/is-typedarray": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz",
- "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo="
- },
- "node_modules/is-utf8": {
- "version": "0.2.1",
- "resolved": "https://registry.npmjs.org/is-utf8/-/is-utf8-0.2.1.tgz",
- "integrity": "sha1-Sw2hRCEE0bM2NA6AeX6GXPOffXI="
- },
- "node_modules/is-windows": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/is-windows/-/is-windows-1.0.2.tgz",
- "integrity": "sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/is-wsl": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-1.1.0.tgz",
- "integrity": "sha1-HxbkqiKwTRM2tmGIpmrzxgDDpm0=",
- "dev": true,
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/isarray": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz",
- "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE="
- },
- "node_modules/isbinaryfile": {
- "version": "3.0.3",
- "resolved": "https://registry.npmjs.org/isbinaryfile/-/isbinaryfile-3.0.3.tgz",
- "integrity": "sha512-8cJBL5tTd2OS0dM4jz07wQd5g0dCCqIhUxPIGtZfa5L6hWlvV5MHTITy/DBAsF+Oe2LS1X3krBUhNwaGUWpWxw==",
- "dev": true,
- "dependencies": {
- "buffer-alloc": "^1.2.0"
- },
- "engines": {
- "node": ">=0.6.0"
- }
- },
- "node_modules/isexe": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz",
- "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA="
- },
- "node_modules/isobject": {
- "version": "3.0.1",
- "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz",
- "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/isomorphic-fetch": {
- "version": "2.2.1",
- "resolved": "https://registry.npmjs.org/isomorphic-fetch/-/isomorphic-fetch-2.2.1.tgz",
- "integrity": "sha1-YRrhrPFPXoH3KVB0coGf6XM1WKk=",
- "dependencies": {
- "node-fetch": "^1.0.1",
- "whatwg-fetch": ">=0.10.0"
- }
- },
- "node_modules/isstream": {
- "version": "0.1.2",
- "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz",
- "integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo="
- },
- "node_modules/istanbul": {
- "version": "0.4.5",
- "resolved": "https://registry.npmjs.org/istanbul/-/istanbul-0.4.5.tgz",
- "integrity": "sha1-ZcfXPUxNqE1POsMQuRj7C4Azczs=",
- "dev": true,
- "dependencies": {
- "abbrev": "1.0.x",
- "async": "1.x",
- "escodegen": "1.8.x",
- "esprima": "2.7.x",
- "glob": "^5.0.15",
- "handlebars": "^4.0.1",
- "js-yaml": "3.x",
- "mkdirp": "0.5.x",
- "nopt": "3.x",
- "once": "1.x",
- "resolve": "1.1.x",
- "supports-color": "^3.1.0",
- "which": "^1.1.1",
- "wordwrap": "^1.0.0"
- },
- "bin": {
- "istanbul": "lib/cli.js"
- }
- },
- "node_modules/istanbul-api": {
- "version": "1.3.7",
- "resolved": "https://registry.npmjs.org/istanbul-api/-/istanbul-api-1.3.7.tgz",
- "integrity": "sha512-4/ApBnMVeEPG3EkSzcw25wDe4N66wxwn+KKn6b47vyek8Xb3NBAcg4xfuQbS7BqcZuTX4wxfD5lVagdggR3gyA==",
- "dev": true,
- "dependencies": {
- "async": "^2.1.4",
- "fileset": "^2.0.2",
- "istanbul-lib-coverage": "^1.2.1",
- "istanbul-lib-hook": "^1.2.2",
- "istanbul-lib-instrument": "^1.10.2",
- "istanbul-lib-report": "^1.1.5",
- "istanbul-lib-source-maps": "^1.2.6",
- "istanbul-reports": "^1.5.1",
- "js-yaml": "^3.7.0",
- "mkdirp": "^0.5.1",
- "once": "^1.4.0"
- }
- },
- "node_modules/istanbul-api/node_modules/async": {
- "version": "2.6.3",
- "resolved": "https://registry.npmjs.org/async/-/async-2.6.3.tgz",
- "integrity": "sha512-zflvls11DCy+dQWzTW2dzuilv8Z5X/pjfmZOWba6TNIVDm+2UDaJmXSOXlasHKfNBs8oo3M0aT50fDEWfKZjXg==",
- "dev": true,
- "dependencies": {
- "lodash": "^4.17.14"
- }
- },
- "node_modules/istanbul-instrumenter-loader": {
- "version": "3.0.1",
- "resolved": "https://registry.npmjs.org/istanbul-instrumenter-loader/-/istanbul-instrumenter-loader-3.0.1.tgz",
- "integrity": "sha512-a5SPObZgS0jB/ixaKSMdn6n/gXSrK2S6q/UfRJBT3e6gQmVjwZROTODQsYW5ZNwOu78hG62Y3fWlebaVOL0C+w==",
- "dev": true,
- "dependencies": {
- "convert-source-map": "^1.5.0",
- "istanbul-lib-instrument": "^1.7.3",
- "loader-utils": "^1.1.0",
- "schema-utils": "^0.3.0"
- },
- "engines": {
- "node": ">= 4.8 < 5.0.0 || >= 5.10"
- }
- },
- "node_modules/istanbul-instrumenter-loader/node_modules/ajv": {
- "version": "5.5.2",
- "resolved": "https://registry.npmjs.org/ajv/-/ajv-5.5.2.tgz",
- "integrity": "sha1-c7Xuyj+rZT49P5Qis0GtQiBdyWU=",
- "dev": true,
- "dependencies": {
- "co": "^4.6.0",
- "fast-deep-equal": "^1.0.0",
- "fast-json-stable-stringify": "^2.0.0",
- "json-schema-traverse": "^0.3.0"
- }
- },
- "node_modules/istanbul-instrumenter-loader/node_modules/fast-deep-equal": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-1.1.0.tgz",
- "integrity": "sha1-wFNHeBfIa1HaqFPIHgWbcz0CNhQ=",
- "dev": true
- },
- "node_modules/istanbul-instrumenter-loader/node_modules/json-schema-traverse": {
- "version": "0.3.1",
- "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.3.1.tgz",
- "integrity": "sha1-NJptRMU6Ud6JtAgFxdXlm0F9M0A=",
- "dev": true
- },
- "node_modules/istanbul-instrumenter-loader/node_modules/schema-utils": {
- "version": "0.3.0",
- "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-0.3.0.tgz",
- "integrity": "sha1-9YdyIs4+kx7a4DnxfrNxbnE3+M8=",
- "dev": true,
- "dependencies": {
- "ajv": "^5.0.0"
- },
- "engines": {
- "node": ">= 4.3 < 5.0.0 || >= 5.10"
- }
- },
- "node_modules/istanbul-lib-coverage": {
- "version": "1.2.1",
- "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-1.2.1.tgz",
- "integrity": "sha512-PzITeunAgyGbtY1ibVIUiV679EFChHjoMNRibEIobvmrCRaIgwLxNucOSimtNWUhEib/oO7QY2imD75JVgCJWQ==",
- "dev": true
- },
- "node_modules/istanbul-lib-hook": {
- "version": "1.2.2",
- "resolved": "https://registry.npmjs.org/istanbul-lib-hook/-/istanbul-lib-hook-1.2.2.tgz",
- "integrity": "sha512-/Jmq7Y1VeHnZEQ3TL10VHyb564mn6VrQXHchON9Jf/AEcmQ3ZIiyD1BVzNOKTZf/G3gE+kiGK6SmpF9y3qGPLw==",
- "dev": true,
- "dependencies": {
- "append-transform": "^0.4.0"
- }
- },
- "node_modules/istanbul-lib-instrument": {
- "version": "1.10.2",
- "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-1.10.2.tgz",
- "integrity": "sha512-aWHxfxDqvh/ZlxR8BBaEPVSWDPUkGD63VjGQn3jcw8jCp7sHEMKcrj4xfJn/ABzdMEHiQNyvDQhqm5o8+SQg7A==",
- "dev": true,
- "dependencies": {
- "babel-generator": "^6.18.0",
- "babel-template": "^6.16.0",
- "babel-traverse": "^6.18.0",
- "babel-types": "^6.18.0",
- "babylon": "^6.18.0",
- "istanbul-lib-coverage": "^1.2.1",
- "semver": "^5.3.0"
- }
- },
- "node_modules/istanbul-lib-report": {
- "version": "1.1.5",
- "resolved": "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-1.1.5.tgz",
- "integrity": "sha512-UsYfRMoi6QO/doUshYNqcKJqVmFe9w51GZz8BS3WB0lYxAllQYklka2wP9+dGZeHYaWIdcXUx8JGdbqaoXRXzw==",
- "dev": true,
- "dependencies": {
- "istanbul-lib-coverage": "^1.2.1",
- "mkdirp": "^0.5.1",
- "path-parse": "^1.0.5",
- "supports-color": "^3.1.2"
- }
- },
- "node_modules/istanbul-lib-report/node_modules/has-flag": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz",
- "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/istanbul-lib-report/node_modules/supports-color": {
- "version": "3.2.3",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz",
- "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=",
- "dev": true,
- "dependencies": {
- "has-flag": "^1.0.0"
- },
- "engines": {
- "node": ">=0.8.0"
- }
- },
- "node_modules/istanbul-lib-source-maps": {
- "version": "1.2.6",
- "resolved": "https://registry.npmjs.org/istanbul-lib-source-maps/-/istanbul-lib-source-maps-1.2.6.tgz",
- "integrity": "sha512-TtbsY5GIHgbMsMiRw35YBHGpZ1DVFEO19vxxeiDMYaeOFOCzfnYVxvl6pOUIZR4dtPhAGpSMup8OyF8ubsaqEg==",
- "dev": true,
- "dependencies": {
- "debug": "^3.1.0",
- "istanbul-lib-coverage": "^1.2.1",
- "mkdirp": "^0.5.1",
- "rimraf": "^2.6.1",
- "source-map": "^0.5.3"
- }
- },
- "node_modules/istanbul-lib-source-maps/node_modules/debug": {
- "version": "3.2.6",
- "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.6.tgz",
- "integrity": "sha512-mel+jf7nrtEl5Pn1Qx46zARXKDpBbvzezse7p7LqINmdoIk8PYP5SySaxEmYv6TZ0JyEKA1hsCId6DIhgITtWQ==",
- "dev": true,
- "dependencies": {
- "ms": "^2.1.1"
- }
- },
- "node_modules/istanbul-lib-source-maps/node_modules/ms": {
- "version": "2.1.2",
- "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
- "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
- "dev": true
- },
- "node_modules/istanbul-lib-source-maps/node_modules/source-map": {
- "version": "0.5.7",
- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
- "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/istanbul-reports": {
- "version": "1.5.1",
- "resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-1.5.1.tgz",
- "integrity": "sha512-+cfoZ0UXzWjhAdzosCPP3AN8vvef8XDkWtTfgaN+7L3YTpNYITnCaEkceo5SEYy644VkHka/P1FvkWvrG/rrJw==",
- "dev": true,
- "dependencies": {
- "handlebars": "^4.0.3"
- }
- },
- "node_modules/istanbul/node_modules/abbrev": {
- "version": "1.0.9",
- "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.0.9.tgz",
- "integrity": "sha1-kbR5JYinc4wl813W9jdSovh3YTU=",
- "dev": true
- },
- "node_modules/istanbul/node_modules/glob": {
- "version": "5.0.15",
- "resolved": "https://registry.npmjs.org/glob/-/glob-5.0.15.tgz",
- "integrity": "sha1-G8k2ueAvSmA/zCIuz3Yz0wuLk7E=",
- "dev": true,
- "dependencies": {
- "inflight": "^1.0.4",
- "inherits": "2",
- "minimatch": "2 || 3",
- "once": "^1.3.0",
- "path-is-absolute": "^1.0.0"
- },
- "engines": {
- "node": "*"
- }
- },
- "node_modules/istanbul/node_modules/has-flag": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz",
- "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/istanbul/node_modules/resolve": {
- "version": "1.1.7",
- "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.1.7.tgz",
- "integrity": "sha1-IDEU2CrSxe2ejgQRs5ModeiJ6Xs=",
- "dev": true
- },
- "node_modules/istanbul/node_modules/supports-color": {
- "version": "3.2.3",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz",
- "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=",
- "dev": true,
- "dependencies": {
- "has-flag": "^1.0.0"
- },
- "engines": {
- "node": ">=0.8.0"
- }
- },
- "node_modules/jasmine": {
- "version": "2.99.0",
- "resolved": "https://registry.npmjs.org/jasmine/-/jasmine-2.99.0.tgz",
- "integrity": "sha1-jKctEC5jm4Z8ZImFbg4YqceqQrc=",
- "dev": true,
- "dependencies": {
- "exit": "^0.1.2",
- "glob": "^7.0.6",
- "jasmine-core": "~2.99.0"
- },
- "bin": {
- "jasmine": "bin/jasmine.js"
- }
- },
- "node_modules/jasmine-core": {
- "version": "2.6.3",
- "resolved": "https://registry.npmjs.org/jasmine-core/-/jasmine-core-2.6.3.tgz",
- "integrity": "sha1-RQcpUOSkKx4yL+VcABEApGXXeBU=",
- "dev": true
- },
- "node_modules/jasmine-diff": {
- "version": "0.1.3",
- "resolved": "https://registry.npmjs.org/jasmine-diff/-/jasmine-diff-0.1.3.tgz",
- "integrity": "sha1-k8zC3MQQKMXd1GBlWAdIOfLe6qg=",
- "dev": true,
- "dependencies": {
- "diff": "^3.2.0"
- }
- },
- "node_modules/jasmine-spec-reporter": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/jasmine-spec-reporter/-/jasmine-spec-reporter-4.1.0.tgz",
- "integrity": "sha1-uKp1hN9Y5Nq2Gs2++3bQlqo4Zj8=",
- "dev": true,
- "dependencies": {
- "colors": "1.1.2"
- }
- },
- "node_modules/jasmine/node_modules/jasmine-core": {
- "version": "2.99.1",
- "resolved": "https://registry.npmjs.org/jasmine-core/-/jasmine-core-2.99.1.tgz",
- "integrity": "sha1-5kAN8ea1bhMLYcS80JPap/boyhU=",
- "dev": true
- },
- "node_modules/jasminewd2": {
- "version": "2.2.0",
- "resolved": "https://registry.npmjs.org/jasminewd2/-/jasminewd2-2.2.0.tgz",
- "integrity": "sha1-43zwsX8ZnM4jvqcbIDk5Uka07E4=",
- "dev": true,
- "engines": {
- "node": ">= 6.9.x"
- }
- },
- "node_modules/jmespath": {
- "version": "0.15.0",
- "resolved": "https://registry.npmjs.org/jmespath/-/jmespath-0.15.0.tgz",
- "integrity": "sha1-o/Iiqarp+Wb10nx5ZRDigJF2Qhc=",
- "dev": true,
- "engines": {
- "node": ">= 0.6.0"
- }
- },
- "node_modules/jquery": {
- "version": "3.6.0",
- "resolved": "https://registry.npmjs.org/jquery/-/jquery-3.6.0.tgz",
- "integrity": "sha512-JVzAR/AjBvVt2BmYhxRCSYysDsPcssdmTFnzyLEts9qNwmjmu4JTAMYubEfwVOSwpQ1I1sKKFcxhZCI2buerfw=="
- },
- "node_modules/js-base64": {
- "version": "2.5.1",
- "resolved": "https://registry.npmjs.org/js-base64/-/js-base64-2.5.1.tgz",
- "integrity": "sha512-M7kLczedRMYX4L8Mdh4MzyAMM9O5osx+4FcOQuTvr3A9F2D9S5JXheN0ewNbrvK2UatkTRhL5ejGmGSjNMiZuw=="
- },
- "node_modules/js-cookie": {
- "version": "2.2.1",
- "resolved": "https://registry.npmjs.org/js-cookie/-/js-cookie-2.2.1.tgz",
- "integrity": "sha512-HvdH2LzI/EAZcUwA8+0nKNtWHqS+ZmijLA30RwZA0bo7ToCckjK5MkGhjED9KoRcXO6BaGI3I9UIzSA1FKFPOQ=="
- },
- "node_modules/js-tokens": {
- "version": "3.0.2",
- "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-3.0.2.tgz",
- "integrity": "sha1-mGbfOVECEw449/mWvOtlRDIJwls=",
- "dev": true
- },
- "node_modules/js-yaml": {
- "version": "3.13.1",
- "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.13.1.tgz",
- "integrity": "sha512-YfbcO7jXDdyj0DGxYVSlSeQNHbD7XPWvrVWeVUujrQEoZzWJIRrCPoyk6kL6IAjAG2IolMK4T0hNUe0HOUs5Jw==",
- "dev": true,
- "dependencies": {
- "argparse": "^1.0.7",
- "esprima": "^4.0.0"
- },
- "bin": {
- "js-yaml": "bin/js-yaml.js"
- }
- },
- "node_modules/js-yaml/node_modules/esprima": {
- "version": "4.0.1",
- "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz",
- "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==",
- "dev": true,
- "bin": {
- "esparse": "bin/esparse.js",
- "esvalidate": "bin/esvalidate.js"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/jsbn": {
- "version": "0.1.1",
- "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz",
- "integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM="
- },
- "node_modules/jsesc": {
- "version": "1.3.0",
- "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-1.3.0.tgz",
- "integrity": "sha1-RsP+yMGJKxKwgz25vHYiF226s0s=",
- "dev": true,
- "bin": {
- "jsesc": "bin/jsesc"
- }
- },
- "node_modules/json-parse-better-errors": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz",
- "integrity": "sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==",
- "dev": true
- },
- "node_modules/json-schema": {
- "version": "0.2.3",
- "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.2.3.tgz",
- "integrity": "sha1-tIDIkuWaLwWVTOcnvT8qTogvnhM="
- },
- "node_modules/json-schema-traverse": {
- "version": "0.4.1",
- "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz",
- "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg=="
- },
- "node_modules/json-stringify-safe": {
- "version": "5.0.1",
- "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz",
- "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus="
- },
- "node_modules/json3": {
- "version": "3.3.3",
- "resolved": "https://registry.npmjs.org/json3/-/json3-3.3.3.tgz",
- "integrity": "sha512-c7/8mbUsKigAbLkD5B010BK4D9LZm7A1pNItkEwiUZRpIN66exu/e7YQWysGun+TRKaJp8MhemM+VkfWv42aCA==",
- "dev": true
- },
- "node_modules/json5": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.1.tgz",
- "integrity": "sha512-aKS4WQjPenRxiQsC93MNfjx+nbF4PAdYzmd/1JIj8HYzqfbu86beTuNgXDzPknWk0n0uARlyewZo4s++ES36Ow==",
- "dependencies": {
- "minimist": "^1.2.0"
- },
- "bin": {
- "json5": "lib/cli.js"
- }
- },
- "node_modules/jsonparse": {
- "version": "1.3.1",
- "resolved": "https://registry.npmjs.org/jsonparse/-/jsonparse-1.3.1.tgz",
- "integrity": "sha1-P02uSpH6wxX3EGL4UhzCOfE2YoA=",
- "dev": true,
- "engines": [
- "node >= 0.2.0"
- ]
- },
- "node_modules/JSONStream": {
- "version": "1.3.5",
- "resolved": "https://registry.npmjs.org/JSONStream/-/JSONStream-1.3.5.tgz",
- "integrity": "sha512-E+iruNOY8VV9s4JEbe1aNEm6MiszPRr/UfcHMz0TQh1BXSxHK+ASV1R6W4HpjBhSeS+54PIsAMCBmwD06LLsqQ==",
- "dev": true,
- "dependencies": {
- "jsonparse": "^1.2.0",
- "through": ">=2.2.7 <3"
- },
- "bin": {
- "JSONStream": "bin.js"
- },
- "engines": {
- "node": "*"
- }
- },
- "node_modules/jsprim": {
- "version": "1.4.1",
- "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.1.tgz",
- "integrity": "sha1-MT5mvB5cwG5Di8G3SZwuXFastqI=",
- "engines": [
- "node >=0.6.0"
- ],
- "dependencies": {
- "assert-plus": "1.0.0",
- "extsprintf": "1.3.0",
- "json-schema": "0.2.3",
- "verror": "1.10.0"
- }
- },
- "node_modules/karma": {
- "version": "1.7.0",
- "resolved": "https://registry.npmjs.org/karma/-/karma-1.7.0.tgz",
- "integrity": "sha1-b3oaQGRG+i4YfslTmGmPTO5HYmk=",
- "dev": true,
- "dependencies": {
- "bluebird": "^3.3.0",
- "body-parser": "^1.16.1",
- "chokidar": "^1.4.1",
- "colors": "^1.1.0",
- "combine-lists": "^1.0.0",
- "connect": "^3.6.0",
- "core-js": "^2.2.0",
- "di": "^0.0.1",
- "dom-serialize": "^2.2.0",
- "expand-braces": "^0.1.1",
- "glob": "^7.1.1",
- "graceful-fs": "^4.1.2",
- "http-proxy": "^1.13.0",
- "isbinaryfile": "^3.0.0",
- "lodash": "^3.8.0",
- "log4js": "^0.6.31",
- "mime": "^1.3.4",
- "minimatch": "^3.0.2",
- "optimist": "^0.6.1",
- "qjobs": "^1.1.4",
- "range-parser": "^1.2.0",
- "rimraf": "^2.6.0",
- "safe-buffer": "^5.0.1",
- "socket.io": "1.7.3",
- "source-map": "^0.5.3",
- "tmp": "0.0.31",
- "useragent": "^2.1.12"
- },
- "bin": {
- "karma": "bin/karma"
- },
- "engines": {
- "node": "0.10 || 0.12 || 4 || 5 || 6 || 7"
- }
- },
- "node_modules/karma-chrome-launcher": {
- "version": "2.1.1",
- "resolved": "https://registry.npmjs.org/karma-chrome-launcher/-/karma-chrome-launcher-2.1.1.tgz",
- "integrity": "sha1-IWh5xorATY1RQOmWGboEtZr9Rs8=",
- "dev": true,
- "dependencies": {
- "fs-access": "^1.0.0",
- "which": "^1.2.1"
- }
- },
- "node_modules/karma-cli": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/karma-cli/-/karma-cli-1.0.1.tgz",
- "integrity": "sha1-rmw8WKMTodALRRZMRVubhs4X+WA=",
- "dev": true,
- "dependencies": {
- "resolve": "^1.1.6"
- },
- "bin": {
- "karma": "bin/karma"
- },
- "engines": {
- "node": "0.10 || 0.12 || 4 || 5 || 6"
- }
- },
- "node_modules/karma-coverage-istanbul-reporter": {
- "version": "1.3.0",
- "resolved": "https://registry.npmjs.org/karma-coverage-istanbul-reporter/-/karma-coverage-istanbul-reporter-1.3.0.tgz",
- "integrity": "sha1-0ULNnFVzHJ42Pvc3To7xoxvr+ts=",
- "dev": true,
- "dependencies": {
- "istanbul-api": "^1.1.8",
- "minimatch": "^3.0.4"
- }
- },
- "node_modules/karma-jasmine": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/karma-jasmine/-/karma-jasmine-1.1.2.tgz",
- "integrity": "sha1-OU8rJf+0pkS5rabyLUQ+L9CIhsM=",
- "engines": {
- "node": ">= 4"
- }
- },
- "node_modules/karma-jasmine-html-reporter": {
- "version": "0.2.2",
- "resolved": "https://registry.npmjs.org/karma-jasmine-html-reporter/-/karma-jasmine-html-reporter-0.2.2.tgz",
- "integrity": "sha1-SKjl7xiAdhfuK14zwRlMNbQ5Ukw=",
- "dev": true,
- "dependencies": {
- "karma-jasmine": "^1.0.2"
- }
- },
- "node_modules/karma-source-map-support": {
- "version": "1.3.0",
- "resolved": "https://registry.npmjs.org/karma-source-map-support/-/karma-source-map-support-1.3.0.tgz",
- "integrity": "sha512-HcPqdAusNez/ywa+biN4EphGz62MmQyPggUsDfsHqa7tSe4jdsxgvTKuDfIazjL+IOxpVWyT7Pr4dhAV+sxX5Q==",
- "dev": true,
- "dependencies": {
- "source-map-support": "^0.5.5"
- }
- },
- "node_modules/karma/node_modules/anymatch": {
- "version": "1.3.2",
- "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-1.3.2.tgz",
- "integrity": "sha512-0XNayC8lTHQ2OI8aljNCN3sSx6hsr/1+rlcDAotXJR7C1oZZHCNsfpbKwMjRA3Uqb5tF1Rae2oloTr4xpq+WjA==",
- "dev": true,
- "dependencies": {
- "micromatch": "^2.1.5",
- "normalize-path": "^2.0.0"
- }
- },
- "node_modules/karma/node_modules/arr-diff": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-2.0.0.tgz",
- "integrity": "sha1-jzuCf5Vai9ZpaX5KQlasPOrjVs8=",
- "dev": true,
- "dependencies": {
- "arr-flatten": "^1.0.1"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/karma/node_modules/array-unique": {
- "version": "0.2.1",
- "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.2.1.tgz",
- "integrity": "sha1-odl8yvy8JiXMcPrc6zalDFiwGlM=",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/karma/node_modules/braces": {
- "version": "1.8.5",
- "resolved": "https://registry.npmjs.org/braces/-/braces-1.8.5.tgz",
- "integrity": "sha1-uneWLhLf+WnWt2cR6RS3N4V79qc=",
- "dev": true,
- "dependencies": {
- "expand-range": "^1.8.1",
- "preserve": "^0.2.0",
- "repeat-element": "^1.1.2"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/karma/node_modules/chokidar": {
- "version": "1.7.0",
- "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-1.7.0.tgz",
- "integrity": "sha1-eY5ol3gVHIB2tLNg5e3SjNortGg=",
- "dev": true,
- "dependencies": {
- "anymatch": "^1.3.0",
- "async-each": "^1.0.0",
- "glob-parent": "^2.0.0",
- "inherits": "^2.0.1",
- "is-binary-path": "^1.0.0",
- "is-glob": "^2.0.0",
- "path-is-absolute": "^1.0.0",
- "readdirp": "^2.0.0"
- },
- "optionalDependencies": {
- "fsevents": "^1.0.0"
- }
- },
- "node_modules/karma/node_modules/expand-brackets": {
- "version": "0.1.5",
- "resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-0.1.5.tgz",
- "integrity": "sha1-3wcoTjQqgHzXM6xa9yQR5YHRF3s=",
- "dev": true,
- "dependencies": {
- "is-posix-bracket": "^0.1.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/karma/node_modules/extglob": {
- "version": "0.3.2",
- "resolved": "https://registry.npmjs.org/extglob/-/extglob-0.3.2.tgz",
- "integrity": "sha1-Lhj/PS9JqydlzskCPwEdqo2DSaE=",
- "dev": true,
- "dependencies": {
- "is-extglob": "^1.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/karma/node_modules/glob-parent": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-2.0.0.tgz",
- "integrity": "sha1-gTg9ctsFT8zPUzbaqQLxgvbtuyg=",
- "dev": true,
- "dependencies": {
- "is-glob": "^2.0.0"
- }
- },
- "node_modules/karma/node_modules/is-extglob": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-1.0.0.tgz",
- "integrity": "sha1-rEaBd8SUNAWgkvyPKXYMb/xiBsA=",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/karma/node_modules/is-glob": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-2.0.1.tgz",
- "integrity": "sha1-0Jb5JqPe1WAPP9/ZEZjLCIjC2GM=",
- "dev": true,
- "dependencies": {
- "is-extglob": "^1.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/karma/node_modules/kind-of": {
- "version": "3.2.2",
- "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz",
- "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=",
- "dev": true,
- "dependencies": {
- "is-buffer": "^1.1.5"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/karma/node_modules/lodash": {
- "version": "3.10.1",
- "resolved": "https://registry.npmjs.org/lodash/-/lodash-3.10.1.tgz",
- "integrity": "sha1-W/Rejkm6QYnhfUgnid/RW9FAt7Y=",
- "dev": true
- },
- "node_modules/karma/node_modules/micromatch": {
- "version": "2.3.11",
- "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-2.3.11.tgz",
- "integrity": "sha1-hmd8l9FyCzY0MdBNDRUpO9OMFWU=",
- "dev": true,
- "dependencies": {
- "arr-diff": "^2.0.0",
- "array-unique": "^0.2.1",
- "braces": "^1.8.2",
- "expand-brackets": "^0.1.4",
- "extglob": "^0.3.1",
- "filename-regex": "^2.0.0",
- "is-extglob": "^1.0.0",
- "is-glob": "^2.0.1",
- "kind-of": "^3.0.2",
- "normalize-path": "^2.0.1",
- "object.omit": "^2.0.0",
- "parse-glob": "^3.0.4",
- "regex-cache": "^0.4.2"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/karma/node_modules/source-map": {
- "version": "0.5.7",
- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
- "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/killable": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/killable/-/killable-1.0.1.tgz",
- "integrity": "sha512-LzqtLKlUwirEUyl/nicirVmNiPvYs7l5n8wOPP7fyJVpUPkvCnW/vuiXGpylGUlnPDnB7311rARzAt3Mhswpjg==",
- "dev": true
- },
- "node_modules/kind-of": {
- "version": "6.0.3",
- "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz",
- "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/lcid": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/lcid/-/lcid-1.0.0.tgz",
- "integrity": "sha1-MIrMr6C8SDo4Z7S28rlQYlHRuDU=",
- "dependencies": {
- "invert-kv": "^1.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/leaflet": {
- "version": "1.7.1",
- "resolved": "https://registry.npmjs.org/leaflet/-/leaflet-1.7.1.tgz",
- "integrity": "sha512-/xwPEBidtg69Q3HlqPdU3DnrXQOvQU/CCHA1tcDQVzOwm91YMYaILjNp7L4Eaw5Z4sOYdbBz6koWyibppd8Zqw=="
- },
- "node_modules/less": {
- "version": "3.9.0",
- "resolved": "https://registry.npmjs.org/less/-/less-3.9.0.tgz",
- "integrity": "sha512-31CmtPEZraNUtuUREYjSqRkeETFdyEHSEPAGq4erDlUXtda7pzNmctdljdIagSb589d/qXGWiiP31R5JVf+v0w==",
- "dev": true,
- "dependencies": {
- "clone": "^2.1.2",
- "errno": "^0.1.1",
- "graceful-fs": "^4.1.2",
- "mime": "^1.4.1",
- "mkdirp": "^0.5.0",
- "request": "^2.83.0"
- },
- "bin": {
- "lessc": "bin/lessc"
- },
- "engines": {
- "node": ">=4"
- },
- "optionalDependencies": {
- "image-size": "~0.5.0",
- "promise": "^7.1.1",
- "source-map": "~0.6.0"
- }
- },
- "node_modules/less-loader": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/less-loader/-/less-loader-4.1.0.tgz",
- "integrity": "sha512-KNTsgCE9tMOM70+ddxp9yyt9iHqgmSs0yTZc5XH5Wo+g80RWRIYNqE58QJKm/yMud5wZEvz50ugRDuzVIkyahg==",
- "dev": true,
- "dependencies": {
- "clone": "^2.1.1",
- "loader-utils": "^1.1.0",
- "pify": "^3.0.0"
- },
- "engines": {
- "node": ">= 4.8 < 5.0.0 || >= 5.10"
- }
- },
- "node_modules/less-loader/node_modules/pify": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz",
- "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=",
- "dev": true,
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/less/node_modules/source-map": {
- "version": "0.6.1",
- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
- "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
- "dev": true,
- "optional": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/levn": {
- "version": "0.3.0",
- "resolved": "https://registry.npmjs.org/levn/-/levn-0.3.0.tgz",
- "integrity": "sha1-OwmSTt+fCDwEkP3UwLxEIeBHZO4=",
- "dev": true,
- "dependencies": {
- "prelude-ls": "~1.1.2",
- "type-check": "~0.3.2"
- },
- "engines": {
- "node": ">= 0.8.0"
- }
- },
- "node_modules/libphonenumber-js": {
- "version": "0.4.52",
- "resolved": "https://registry.npmjs.org/libphonenumber-js/-/libphonenumber-js-0.4.52.tgz",
- "integrity": "sha512-Ns5FcEp8W/lZd+lKu7OB46RYBKcncN/S3C51OFh7qXbu6kOFAd75A4M0jtasK3MUWMxKsKXII4WL+GbqaLa2DQ==",
- "dependencies": {
- "babel-runtime": "^6.6.1",
- "bluebird": "^3.4.6",
- "minimist": "^1.2.0",
- "xml2js": "^0.4.17"
- },
- "bin": {
- "libphonenumber-generate-metadata": "bin/update-metadata.js"
- }
- },
- "node_modules/license-webpack-plugin": {
- "version": "2.0.4",
- "resolved": "https://registry.npmjs.org/license-webpack-plugin/-/license-webpack-plugin-2.0.4.tgz",
- "integrity": "sha512-FQgOqrrIcD4C/VQo6ecWgXZULK5rs0kIDJtHcSVO6SBUrD63kEHZwmKOvBTquFQSgMQn/yeH68qooKDfqiBF2Q==",
- "dev": true,
- "dependencies": {
- "@types/webpack-sources": "^0.1.5",
- "webpack-sources": "^1.2.0"
- }
- },
- "node_modules/load-json-file": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz",
- "integrity": "sha1-lWkFcI1YtLq0wiYbBPWfMcmTdMA=",
- "dependencies": {
- "graceful-fs": "^4.1.2",
- "parse-json": "^2.2.0",
- "pify": "^2.0.0",
- "pinkie-promise": "^2.0.0",
- "strip-bom": "^2.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/loader-runner": {
- "version": "2.4.0",
- "resolved": "https://registry.npmjs.org/loader-runner/-/loader-runner-2.4.0.tgz",
- "integrity": "sha512-Jsmr89RcXGIwivFY21FcRrisYZfvLMTWx5kOLc+JTxtpBOG6xML0vzbc6SEQG2FO9/4Fc3wW4LVcB5DmGflaRw==",
- "dev": true,
- "engines": {
- "node": ">=4.3.0 <5.0.0 || >=5.10"
- }
- },
- "node_modules/loader-utils": {
- "version": "1.2.3",
- "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-1.2.3.tgz",
- "integrity": "sha512-fkpz8ejdnEMG3s37wGL07iSBDg99O9D5yflE9RGNH3hRdx9SOwYfnGYdZOUIZitN8E+E2vkq3MUMYMvPYl5ZZA==",
- "dependencies": {
- "big.js": "^5.2.2",
- "emojis-list": "^2.0.0",
- "json5": "^1.0.1"
- },
- "engines": {
- "node": ">=4.0.0"
- }
- },
- "node_modules/locate-path": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz",
- "integrity": "sha1-K1aLJl7slExtnA3pw9u7ygNUzY4=",
- "dev": true,
- "dependencies": {
- "p-locate": "^2.0.0",
- "path-exists": "^3.0.0"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/locate-path/node_modules/path-exists": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz",
- "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=",
- "dev": true,
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/lodash": {
- "version": "4.17.21",
- "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz",
- "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg=="
- },
- "node_modules/lodash.assign": {
- "version": "4.2.0",
- "resolved": "https://registry.npmjs.org/lodash.assign/-/lodash.assign-4.2.0.tgz",
- "integrity": "sha1-DZnzzNem0mHRm9rrkkUAXShYCOc=",
- "dev": true,
- "optional": true
- },
- "node_modules/lodash.camelcase": {
- "version": "4.3.0",
- "resolved": "https://registry.npmjs.org/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz",
- "integrity": "sha1-soqmKIorn8ZRA1x3EfZathkDMaY="
- },
- "node_modules/lodash.clone": {
- "version": "4.5.0",
- "resolved": "https://registry.npmjs.org/lodash.clone/-/lodash.clone-4.5.0.tgz",
- "integrity": "sha1-GVhwRQ9aExkkeN9Lw9I9LeoZB7Y="
- },
- "node_modules/lodash.clonedeep": {
- "version": "4.5.0",
- "resolved": "https://registry.npmjs.org/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz",
- "integrity": "sha1-4j8/nE+Pvd6HJSnBBxhXoIblzO8=",
- "dev": true
- },
- "node_modules/lodash.debounce": {
- "version": "4.0.8",
- "resolved": "https://registry.npmjs.org/lodash.debounce/-/lodash.debounce-4.0.8.tgz",
- "integrity": "sha1-gteb/zCmfEAF/9XiUVMArZyk168=",
- "dev": true
- },
- "node_modules/lodash.mergewith": {
- "version": "4.6.2",
- "resolved": "https://registry.npmjs.org/lodash.mergewith/-/lodash.mergewith-4.6.2.tgz",
- "integrity": "sha512-GK3g5RPZWTRSeLSpgP8Xhra+pnjBC56q9FZYe1d5RN3TJ35dbkGy3YqBSMbyCrlbi+CM9Z3Jk5yTL7RCsqboyQ==",
- "dev": true,
- "optional": true
- },
- "node_modules/lodash.tail": {
- "version": "4.1.1",
- "resolved": "https://registry.npmjs.org/lodash.tail/-/lodash.tail-4.1.1.tgz",
- "integrity": "sha1-0jM6NtnncXyK0vfKyv7HwytERmQ=",
- "dev": true
- },
- "node_modules/log4js": {
- "version": "0.6.38",
- "resolved": "https://registry.npmjs.org/log4js/-/log4js-0.6.38.tgz",
- "integrity": "sha1-LElBFmldb7JUgJQ9P8hy5mKlIv0=",
- "dev": true,
- "dependencies": {
- "readable-stream": "~1.0.2",
- "semver": "~4.3.3"
- },
- "engines": {
- "node": ">=0.8"
- }
- },
- "node_modules/log4js/node_modules/isarray": {
- "version": "0.0.1",
- "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz",
- "integrity": "sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8=",
- "dev": true
- },
- "node_modules/log4js/node_modules/readable-stream": {
- "version": "1.0.34",
- "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.0.34.tgz",
- "integrity": "sha1-Elgg40vIQtLyqq+v5MKRbuMsFXw=",
- "dev": true,
- "dependencies": {
- "core-util-is": "~1.0.0",
- "inherits": "~2.0.1",
- "isarray": "0.0.1",
- "string_decoder": "~0.10.x"
- }
- },
- "node_modules/log4js/node_modules/semver": {
- "version": "4.3.6",
- "resolved": "https://registry.npmjs.org/semver/-/semver-4.3.6.tgz",
- "integrity": "sha1-MAvG4OhjdPe6YQaLWx7NV/xlMto=",
- "dev": true,
- "bin": {
- "semver": "bin/semver"
- }
- },
- "node_modules/log4js/node_modules/string_decoder": {
- "version": "0.10.31",
- "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz",
- "integrity": "sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ=",
- "dev": true
- },
- "node_modules/loglevel": {
- "version": "1.6.6",
- "resolved": "https://registry.npmjs.org/loglevel/-/loglevel-1.6.6.tgz",
- "integrity": "sha512-Sgr5lbboAUBo3eXCSPL4/KoVz3ROKquOjcctxmHIt+vol2DrqTQe3SwkKKuYhEiWB5kYa13YyopJ69deJ1irzQ==",
- "dev": true,
- "engines": {
- "node": ">= 0.6.0"
- }
- },
- "node_modules/long": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/long/-/long-4.0.0.tgz",
- "integrity": "sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA=="
- },
- "node_modules/loose-envify": {
- "version": "1.4.0",
- "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz",
- "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==",
- "dev": true,
- "dependencies": {
- "js-tokens": "^3.0.0 || ^4.0.0"
- },
- "bin": {
- "loose-envify": "cli.js"
- }
- },
- "node_modules/loud-rejection": {
- "version": "1.6.0",
- "resolved": "https://registry.npmjs.org/loud-rejection/-/loud-rejection-1.6.0.tgz",
- "integrity": "sha1-W0b4AUft7leIcPCG0Eghz5mOVR8=",
- "dependencies": {
- "currently-unhandled": "^0.4.1",
- "signal-exit": "^3.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/lru-cache": {
- "version": "4.1.5",
- "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-4.1.5.tgz",
- "integrity": "sha512-sWZlbEP2OsHNkXrMl5GYk/jKk70MBng6UU4YI/qGDYbgf6YbP4EvmqISbXCoJiRKs+1bSpFHVgQxvJ17F2li5g==",
- "dependencies": {
- "pseudomap": "^1.0.2",
- "yallist": "^2.1.2"
- }
- },
- "node_modules/make-dir": {
- "version": "1.3.0",
- "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-1.3.0.tgz",
- "integrity": "sha512-2w31R7SJtieJJnQtGc7RVL2StM2vGYVfqUOvUDxH6bC6aJTxPxTF0GnIgCyu7tjockiUWAYQRbxa7vKn34s5sQ==",
- "dev": true,
- "dependencies": {
- "pify": "^3.0.0"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/make-dir/node_modules/pify": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz",
- "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=",
- "dev": true,
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/make-error": {
- "version": "1.3.5",
- "resolved": "https://registry.npmjs.org/make-error/-/make-error-1.3.5.tgz",
- "integrity": "sha512-c3sIjNUow0+8swNwVpqoH4YCShKNFkMaw6oH1mNS2haDZQqkeZFlHS3dhoeEbKKmJB4vXpJucU6oH75aDYeE9g==",
- "dev": true
- },
- "node_modules/make-fetch-happen": {
- "version": "4.0.2",
- "resolved": "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-4.0.2.tgz",
- "integrity": "sha512-YMJrAjHSb/BordlsDEcVcPyTbiJKkzqMf48N8dAJZT9Zjctrkb6Yg4TY9Sq2AwSIQJFn5qBBKVTYt3vP5FMIHA==",
- "dev": true,
- "dependencies": {
- "agentkeepalive": "^3.4.1",
- "cacache": "^11.3.3",
- "http-cache-semantics": "^3.8.1",
- "http-proxy-agent": "^2.1.0",
- "https-proxy-agent": "^2.2.1",
- "lru-cache": "^5.1.1",
- "mississippi": "^3.0.0",
- "node-fetch-npm": "^2.0.2",
- "promise-retry": "^1.1.1",
- "socks-proxy-agent": "^4.0.0",
- "ssri": "^6.0.0"
- }
- },
- "node_modules/make-fetch-happen/node_modules/cacache": {
- "version": "11.3.3",
- "resolved": "https://registry.npmjs.org/cacache/-/cacache-11.3.3.tgz",
- "integrity": "sha512-p8WcneCytvzPxhDvYp31PD039vi77I12W+/KfR9S8AZbaiARFBCpsPJS+9uhWfeBfeAtW7o/4vt3MUqLkbY6nA==",
- "dev": true,
- "dependencies": {
- "bluebird": "^3.5.5",
- "chownr": "^1.1.1",
- "figgy-pudding": "^3.5.1",
- "glob": "^7.1.4",
- "graceful-fs": "^4.1.15",
- "lru-cache": "^5.1.1",
- "mississippi": "^3.0.0",
- "mkdirp": "^0.5.1",
- "move-concurrently": "^1.0.1",
- "promise-inflight": "^1.0.1",
- "rimraf": "^2.6.3",
- "ssri": "^6.0.1",
- "unique-filename": "^1.1.1",
- "y18n": "^4.0.0"
- }
- },
- "node_modules/make-fetch-happen/node_modules/lru-cache": {
- "version": "5.1.1",
- "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz",
- "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==",
- "dev": true,
- "dependencies": {
- "yallist": "^3.0.2"
- }
- },
- "node_modules/make-fetch-happen/node_modules/mississippi": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/mississippi/-/mississippi-3.0.0.tgz",
- "integrity": "sha512-x471SsVjUtBRtcvd4BzKE9kFC+/2TeWgKCgw0bZcw1b9l2X3QX5vCWgF+KaZaYm87Ss//rHnWryupDrgLvmSkA==",
- "dev": true,
- "dependencies": {
- "concat-stream": "^1.5.0",
- "duplexify": "^3.4.2",
- "end-of-stream": "^1.1.0",
- "flush-write-stream": "^1.0.0",
- "from2": "^2.1.0",
- "parallel-transform": "^1.1.0",
- "pump": "^3.0.0",
- "pumpify": "^1.3.3",
- "stream-each": "^1.1.0",
- "through2": "^2.0.0"
- },
- "engines": {
- "node": ">=4.0.0"
- }
- },
- "node_modules/make-fetch-happen/node_modules/pump": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz",
- "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==",
- "dev": true,
- "dependencies": {
- "end-of-stream": "^1.1.0",
- "once": "^1.3.1"
- }
- },
- "node_modules/make-fetch-happen/node_modules/ssri": {
- "version": "6.0.2",
- "resolved": "https://registry.npmjs.org/ssri/-/ssri-6.0.2.tgz",
- "integrity": "sha512-cepbSq/neFK7xB6A50KHN0xHDotYzq58wWCa5LeWqnPrHG8GzfEjO/4O8kpmcGW+oaxkvhEJCWgbgNk4/ZV93Q==",
- "dev": true,
- "dependencies": {
- "figgy-pudding": "^3.5.1"
- }
- },
- "node_modules/make-fetch-happen/node_modules/y18n": {
- "version": "4.0.3",
- "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.3.tgz",
- "integrity": "sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ==",
- "dev": true
- },
- "node_modules/make-fetch-happen/node_modules/yallist": {
- "version": "3.1.1",
- "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz",
- "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==",
- "dev": true
- },
- "node_modules/map-age-cleaner": {
- "version": "0.1.3",
- "resolved": "https://registry.npmjs.org/map-age-cleaner/-/map-age-cleaner-0.1.3.tgz",
- "integrity": "sha512-bJzx6nMoP6PDLPBFmg7+xRKeFZvFboMrGlxmNj9ClvX53KrmvM5bXFXEWjbz4cz1AFn+jWJ9z/DJSz7hrs0w3w==",
- "dev": true,
- "dependencies": {
- "p-defer": "^1.0.0"
- },
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/map-cache": {
- "version": "0.2.2",
- "resolved": "https://registry.npmjs.org/map-cache/-/map-cache-0.2.2.tgz",
- "integrity": "sha1-wyq9C9ZSXZsFFkW7TyasXcmKDb8=",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/map-obj": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-1.0.1.tgz",
- "integrity": "sha1-2TPOuSBdgr3PSIb2dCvcK03qFG0=",
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/map-visit": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/map-visit/-/map-visit-1.0.0.tgz",
- "integrity": "sha1-7Nyo8TFE5mDxtb1B8S80edmN+48=",
- "dev": true,
- "dependencies": {
- "object-visit": "^1.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/mat-table-exporter": {
- "version": "1.2.5",
- "resolved": "https://registry.npmjs.org/mat-table-exporter/-/mat-table-exporter-1.2.5.tgz",
- "integrity": "sha512-MS7OEgj+vcVbIWi2ekKLDHclLtvs1rGmfXzg1Ca3QWW5BqXy9GeeVb7EqOK7xRPRzUA7kZ/pEWl+2bHk5VHaiw==",
- "dependencies": {
- "cdk-table-exporter": "^1.2.5",
- "tslib": "^1.9.0"
- }
- },
- "node_modules/mat-video": {
- "version": "2.7.2",
- "resolved": "https://registry.npmjs.org/mat-video/-/mat-video-2.7.2.tgz",
- "integrity": "sha512-rwZt9+gxhyQeUYkWq+7JPwYdMEDMI4iT9mIdhO00TDnihbdv20WHiMZ4yYLudzFnuJIeXzgDrA9yltGWjG3vMw==",
- "dependencies": {
- "tslib": "^1.9.0"
- }
- },
- "node_modules/math-random": {
- "version": "1.0.4",
- "resolved": "https://registry.npmjs.org/math-random/-/math-random-1.0.4.tgz",
- "integrity": "sha512-rUxjysqif/BZQH2yhd5Aaq7vXMSx9NdEsQcyA07uEzIvxgI7zIr33gGsh+RU0/XjmQpCW7RsVof1vlkvQVCK5A==",
- "dev": true
- },
- "node_modules/md5.js": {
- "version": "1.3.5",
- "resolved": "https://registry.npmjs.org/md5.js/-/md5.js-1.3.5.tgz",
- "integrity": "sha512-xitP+WxNPcTTOgnTJcrhM0xvdPepipPSf3I8EIpGKeFLjt3PlJLIDG3u8EX53ZIubkb+5U2+3rELYpEhHhzdkg==",
- "dev": true,
- "dependencies": {
- "hash-base": "^3.0.0",
- "inherits": "^2.0.1",
- "safe-buffer": "^5.1.2"
- }
- },
- "node_modules/media-typer": {
- "version": "0.3.0",
- "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz",
- "integrity": "sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g=",
- "dev": true,
- "engines": {
- "node": ">= 0.6"
- }
- },
- "node_modules/mem": {
- "version": "4.3.0",
- "resolved": "https://registry.npmjs.org/mem/-/mem-4.3.0.tgz",
- "integrity": "sha512-qX2bG48pTqYRVmDB37rn/6PT7LcR8T7oAX3bf99u1Tt1nzxYfxkgqDwUwolPlXweM0XzBOBFzSx4kfp7KP1s/w==",
- "dev": true,
- "dependencies": {
- "map-age-cleaner": "^0.1.1",
- "mimic-fn": "^2.0.0",
- "p-is-promise": "^2.0.0"
- },
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/memory-fs": {
- "version": "0.4.1",
- "resolved": "https://registry.npmjs.org/memory-fs/-/memory-fs-0.4.1.tgz",
- "integrity": "sha1-OpoguEYlI+RHz7x+i7gO1me/xVI=",
- "dev": true,
- "dependencies": {
- "errno": "^0.1.3",
- "readable-stream": "^2.0.1"
- }
- },
- "node_modules/meow": {
- "version": "3.7.0",
- "resolved": "https://registry.npmjs.org/meow/-/meow-3.7.0.tgz",
- "integrity": "sha1-cstmi0JSKCkKu/qFaJJYcwioAfs=",
- "dependencies": {
- "camelcase-keys": "^2.0.0",
- "decamelize": "^1.1.2",
- "loud-rejection": "^1.0.0",
- "map-obj": "^1.0.1",
- "minimist": "^1.1.3",
- "normalize-package-data": "^2.3.4",
- "object-assign": "^4.0.1",
- "read-pkg-up": "^1.0.1",
- "redent": "^1.0.0",
- "trim-newlines": "^1.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/merge-descriptors": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz",
- "integrity": "sha1-sAqqVW3YtEVoFQ7J0blT8/kMu2E=",
- "dev": true
- },
- "node_modules/methods": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz",
- "integrity": "sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4=",
- "dev": true,
- "engines": {
- "node": ">= 0.6"
- }
- },
- "node_modules/micromatch": {
- "version": "3.1.10",
- "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz",
- "integrity": "sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==",
- "dev": true,
- "dependencies": {
- "arr-diff": "^4.0.0",
- "array-unique": "^0.3.2",
- "braces": "^2.3.1",
- "define-property": "^2.0.2",
- "extend-shallow": "^3.0.2",
- "extglob": "^2.0.4",
- "fragment-cache": "^0.2.1",
- "kind-of": "^6.0.2",
- "nanomatch": "^1.2.9",
- "object.pick": "^1.3.0",
- "regex-not": "^1.0.0",
- "snapdragon": "^0.8.1",
- "to-regex": "^3.0.2"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/miller-rabin": {
- "version": "4.0.1",
- "resolved": "https://registry.npmjs.org/miller-rabin/-/miller-rabin-4.0.1.tgz",
- "integrity": "sha512-115fLhvZVqWwHPbClyntxEVfVDfl9DLLTuJvq3g2O/Oxi8AiNouAHvDSzHS0viUJc+V5vm3eq91Xwqn9dp4jRA==",
- "dev": true,
- "dependencies": {
- "bn.js": "^4.0.0",
- "brorand": "^1.0.1"
- },
- "bin": {
- "miller-rabin": "bin/miller-rabin"
- }
- },
- "node_modules/mime": {
- "version": "1.6.0",
- "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz",
- "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==",
- "dev": true,
- "bin": {
- "mime": "cli.js"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/mime-db": {
- "version": "1.43.0",
- "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.43.0.tgz",
- "integrity": "sha512-+5dsGEEovYbT8UY9yD7eE4XTc4UwJ1jBYlgaQQF38ENsKR3wj/8q8RFZrF9WIZpB2V1ArTVFUva8sAul1NzRzQ==",
- "engines": {
- "node": ">= 0.6"
- }
- },
- "node_modules/mime-types": {
- "version": "2.1.26",
- "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.26.tgz",
- "integrity": "sha512-01paPWYgLrkqAyrlDorC1uDwl2p3qZT7yl806vW7DvDoxwXi46jsjFbg+WdwotBIk6/MbEhO/dh5aZ5sNj/dWQ==",
- "dependencies": {
- "mime-db": "1.43.0"
- },
- "engines": {
- "node": ">= 0.6"
- }
- },
- "node_modules/mimic-fn": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz",
- "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==",
- "dev": true,
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/mini-css-extract-plugin": {
- "version": "0.4.4",
- "resolved": "https://registry.npmjs.org/mini-css-extract-plugin/-/mini-css-extract-plugin-0.4.4.tgz",
- "integrity": "sha512-o+Jm+ocb0asEngdM6FsZWtZsRzA8koFUudIDwYUfl94M3PejPHG7Vopw5hN9V8WsMkSFpm3tZP3Fesz89EyrfQ==",
- "dev": true,
- "dependencies": {
- "loader-utils": "^1.1.0",
- "schema-utils": "^1.0.0",
- "webpack-sources": "^1.1.0"
- },
- "engines": {
- "node": ">= 6.9.0 <7.0.0 || >= 8.9.0"
- }
- },
- "node_modules/mini-css-extract-plugin/node_modules/schema-utils": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-1.0.0.tgz",
- "integrity": "sha512-i27Mic4KovM/lnGsy8whRCHhc7VicJajAjTrYg11K9zfZXnYIt4k5F+kZkwjnrhKzLic/HLU4j11mjsz2G/75g==",
- "dev": true,
- "dependencies": {
- "ajv": "^6.1.0",
- "ajv-errors": "^1.0.0",
- "ajv-keywords": "^3.1.0"
- },
- "engines": {
- "node": ">= 4"
- }
- },
- "node_modules/minimalistic-assert": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz",
- "integrity": "sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A==",
- "dev": true
- },
- "node_modules/minimalistic-crypto-utils": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz",
- "integrity": "sha1-9sAMHAsIIkblxNmd+4x8CDsrWCo=",
- "dev": true
- },
- "node_modules/minimatch": {
- "version": "3.0.4",
- "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz",
- "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==",
- "dependencies": {
- "brace-expansion": "^1.1.7"
- },
- "engines": {
- "node": "*"
- }
- },
- "node_modules/minimist": {
- "version": "1.2.5",
- "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz",
- "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw=="
- },
- "node_modules/minipass": {
- "version": "2.9.0",
- "resolved": "https://registry.npmjs.org/minipass/-/minipass-2.9.0.tgz",
- "integrity": "sha512-wxfUjg9WebH+CUDX/CdbRlh5SmfZiy/hpkxaRI16Y9W56Pa75sWgd/rvFilSgrauD9NyFymP/+JFV3KwzIsJeg==",
- "dev": true,
- "dependencies": {
- "safe-buffer": "^5.1.2",
- "yallist": "^3.0.0"
- }
- },
- "node_modules/minipass/node_modules/yallist": {
- "version": "3.1.1",
- "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz",
- "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==",
- "dev": true
- },
- "node_modules/minizlib": {
- "version": "1.3.3",
- "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-1.3.3.tgz",
- "integrity": "sha512-6ZYMOEnmVsdCeTJVE0W9ZD+pVnE8h9Hma/iOwwRDsdQoePpoX56/8B6z3P9VNwppJuBKNRuFDRNRqRWexT9G9Q==",
- "dev": true,
- "dependencies": {
- "minipass": "^2.9.0"
- }
- },
- "node_modules/mississippi": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/mississippi/-/mississippi-2.0.0.tgz",
- "integrity": "sha512-zHo8v+otD1J10j/tC+VNoGK9keCuByhKovAvdn74dmxJl9+mWHnx6EMsDN4lgRoMI/eYo2nchAxniIbUPb5onw==",
- "dev": true,
- "dependencies": {
- "concat-stream": "^1.5.0",
- "duplexify": "^3.4.2",
- "end-of-stream": "^1.1.0",
- "flush-write-stream": "^1.0.0",
- "from2": "^2.1.0",
- "parallel-transform": "^1.1.0",
- "pump": "^2.0.1",
- "pumpify": "^1.3.3",
- "stream-each": "^1.1.0",
- "through2": "^2.0.0"
- },
- "engines": {
- "node": ">=4.0.0"
- }
- },
- "node_modules/mixin-deep": {
- "version": "1.3.2",
- "resolved": "https://registry.npmjs.org/mixin-deep/-/mixin-deep-1.3.2.tgz",
- "integrity": "sha512-WRoDn//mXBiJ1H40rqa3vH0toePwSsGb45iInWlTySa+Uu4k3tYUSxa2v1KqAiLtvlrSzaExqS1gtk96A9zvEA==",
- "dev": true,
- "dependencies": {
- "for-in": "^1.0.2",
- "is-extendable": "^1.0.1"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/mixin-deep/node_modules/is-extendable": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz",
- "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==",
- "dev": true,
- "dependencies": {
- "is-plain-object": "^2.0.4"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/mixin-object": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/mixin-object/-/mixin-object-2.0.1.tgz",
- "integrity": "sha1-T7lJRB2rGCVA8f4DW6YOGUel5X4=",
- "dev": true,
- "dependencies": {
- "for-in": "^0.1.3",
- "is-extendable": "^0.1.1"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/mixin-object/node_modules/for-in": {
- "version": "0.1.8",
- "resolved": "https://registry.npmjs.org/for-in/-/for-in-0.1.8.tgz",
- "integrity": "sha1-2Hc5COMSVhCZUrH9ubP6hn0ndeE=",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/mkdirp": {
- "version": "0.5.5",
- "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.5.tgz",
- "integrity": "sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==",
- "dependencies": {
- "minimist": "^1.2.5"
- },
- "bin": {
- "mkdirp": "bin/cmd.js"
- }
- },
- "node_modules/mobx": {
- "version": "5.15.1",
- "resolved": "https://registry.npmjs.org/mobx/-/mobx-5.15.1.tgz",
- "integrity": "sha512-o4aN0GqKcDmKwu2wVsqbujU4F63ZvmbBLSc7WhzuAu9S9eF2wgNjqIkzrb/kbY3C9/mGYG4k1M0KbCuG1GJ7IQ=="
- },
- "node_modules/mobx-angular": {
- "version": "3.0.3",
- "resolved": "https://registry.npmjs.org/mobx-angular/-/mobx-angular-3.0.3.tgz",
- "integrity": "sha512-mZuuose70V+Sd0hMWDElpRe3mA6GhYjSQN3mHzqk2XWXRJ+eWQa/f3Lqhw+Me/Xd2etWsGR1hnRa1BfQ2ZDtpw=="
- },
- "node_modules/moment": {
- "version": "2.24.0",
- "resolved": "https://registry.npmjs.org/moment/-/moment-2.24.0.tgz",
- "integrity": "sha512-bV7f+6l2QigeBBZSM/6yTNq4P2fNpSWj/0e7jQcy87A8e7o2nAfP/34/2ky5Vw4B9S446EtIhodAzkFCcR4dQg==",
- "engines": {
- "node": "*"
- }
- },
- "node_modules/move-concurrently": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/move-concurrently/-/move-concurrently-1.0.1.tgz",
- "integrity": "sha1-viwAX9oy4LKa8fBdfEszIUxwH5I=",
- "dev": true,
- "dependencies": {
- "aproba": "^1.1.1",
- "copy-concurrently": "^1.0.0",
- "fs-write-stream-atomic": "^1.0.8",
- "mkdirp": "^0.5.1",
- "rimraf": "^2.5.4",
- "run-queue": "^1.0.3"
- }
- },
- "node_modules/ms": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
- "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=",
- "dev": true
- },
- "node_modules/multicast-dns": {
- "version": "6.2.3",
- "resolved": "https://registry.npmjs.org/multicast-dns/-/multicast-dns-6.2.3.tgz",
- "integrity": "sha512-ji6J5enbMyGRHIAkAOu3WdV8nggqviKCEKtXcOqfphZZtQrmHKycfynJ2V7eVPUA4NhJ6V7Wf4TmGbTwKE9B6g==",
- "dev": true,
- "dependencies": {
- "dns-packet": "^1.3.1",
- "thunky": "^1.0.2"
- },
- "bin": {
- "multicast-dns": "cli.js"
- }
- },
- "node_modules/multicast-dns-service-types": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/multicast-dns-service-types/-/multicast-dns-service-types-1.1.0.tgz",
- "integrity": "sha1-iZ8R2WhuXgXLkbNdXw5jt3PPyQE=",
- "dev": true
- },
- "node_modules/nan": {
- "version": "2.14.0",
- "resolved": "https://registry.npmjs.org/nan/-/nan-2.14.0.tgz",
- "integrity": "sha512-INOFj37C7k3AfaNTtX8RhsTw7qRy7eLET14cROi9+5HAVbbHuIWUHEauBv5qT4Av2tWasiTY1Jw6puUNqRJXQg=="
- },
- "node_modules/nanomatch": {
- "version": "1.2.13",
- "resolved": "https://registry.npmjs.org/nanomatch/-/nanomatch-1.2.13.tgz",
- "integrity": "sha512-fpoe2T0RbHwBTBUOftAfBPaDEi06ufaUai0mE6Yn1kacc3SnTErfb/h+X94VXzI64rKFHYImXSvdwGGCmwOqCA==",
- "dev": true,
- "dependencies": {
- "arr-diff": "^4.0.0",
- "array-unique": "^0.3.2",
- "define-property": "^2.0.2",
- "extend-shallow": "^3.0.2",
- "fragment-cache": "^0.2.1",
- "is-windows": "^1.0.2",
- "kind-of": "^6.0.2",
- "object.pick": "^1.3.0",
- "regex-not": "^1.0.0",
- "snapdragon": "^0.8.1",
- "to-regex": "^3.0.1"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/negotiator": {
- "version": "0.6.2",
- "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.2.tgz",
- "integrity": "sha512-hZXc7K2e+PgeI1eDBe/10Ard4ekbfrrqG8Ep+8Jmf4JID2bNg7NvCPOZN+kfF574pFQI7mum2AUqDidoKqcTOw==",
- "engines": {
- "node": ">= 0.6"
- }
- },
- "node_modules/neo-async": {
- "version": "2.6.1",
- "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.1.tgz",
- "integrity": "sha512-iyam8fBuCUpWeKPGpaNMetEocMt364qkCsfL9JuhjXX6dRnguRVOfk2GZaDpPjcOKiiXCPINZC1GczQ7iTq3Zw==",
- "dev": true
- },
- "node_modules/ng-pick-datetime": {
- "version": "6.0.16",
- "resolved": "https://registry.npmjs.org/ng-pick-datetime/-/ng-pick-datetime-6.0.16.tgz",
- "integrity": "sha512-96rHNg+tGXmzJHvGoH2O8dF+MF7N4rKIehsi8Px3IZUOZM4qA6PE1w8SQzDvHQTIp/1NpiICvmt6BZK5IaDsFg=="
- },
- "node_modules/ng2-charts": {
- "version": "1.6.0",
- "resolved": "https://registry.npmjs.org/ng2-charts/-/ng2-charts-1.6.0.tgz",
- "integrity": "sha512-9w0WH69x5/nuqC1og2WaY39NbaBqTGIP1+5gZaH7/KPN6UEPonNg/pYnsIVklLj1DWPWXKa8+XXIJZ1jy5nLxg==",
- "dependencies": {
- "chart.js": "^2.6.0"
- }
- },
- "node_modules/ng2-ckeditor": {
- "version": "1.2.6",
- "resolved": "https://registry.npmjs.org/ng2-ckeditor/-/ng2-ckeditor-1.2.6.tgz",
- "integrity": "sha512-/bw0ZzVBvHUrFrXFeP08XKSsIX67M85rTiZkcphn0kpripAj13JvX/l/SQ74Kfk5K226Y3c+rONDj6OtfZH0kA==",
- "dependencies": {
- "tslib": "^1.9.0"
- }
- },
- "node_modules/ng2-dragula": {
- "version": "1.3.1",
- "resolved": "https://registry.npmjs.org/ng2-dragula/-/ng2-dragula-1.3.1.tgz",
- "integrity": "sha1-EDhMJAApBDOm+0XpHHRm5ojjrTc=",
- "dependencies": {
- "dragula": "^3.7.2"
- }
- },
- "node_modules/ng2-file-upload": {
- "version": "1.2.1",
- "resolved": "https://registry.npmjs.org/ng2-file-upload/-/ng2-file-upload-1.2.1.tgz",
- "integrity": "sha1-VWPF39b0P7++gVwgbjQ0ZKCmoZc="
- },
- "node_modules/ng2-pdf-viewer": {
- "version": "5.2.3",
- "resolved": "https://registry.npmjs.org/ng2-pdf-viewer/-/ng2-pdf-viewer-5.2.3.tgz",
- "integrity": "sha512-Pf5Y64DEvYQn3p2AYJQSzCTLzOewB8yR83S/abEnEIZ+twv67hWvc23YCfDX1R5GqC9ZbO2/jJCq4osyxp/emQ==",
- "dependencies": {
- "@types/pdfjs-dist": "^0.1.2",
- "pdfjs-dist": "2.0.943"
- }
- },
- "node_modules/ng2-toastr": {
- "version": "4.1.2",
- "resolved": "https://registry.npmjs.org/ng2-toastr/-/ng2-toastr-4.1.2.tgz",
- "integrity": "sha1-G0UvBxOZYcOPhmxuJKBiR++iGxE="
- },
- "node_modules/ng2-validation": {
- "version": "4.2.0",
- "resolved": "https://registry.npmjs.org/ng2-validation/-/ng2-validation-4.2.0.tgz",
- "integrity": "sha1-841EHT+36GIVUWZIAEWq/5rRHbs=",
- "dependencies": {
- "libphonenumber-js": "^0.4.5"
- }
- },
- "node_modules/ngx-color-picker": {
- "version": "4.5.3",
- "resolved": "https://registry.npmjs.org/ngx-color-picker/-/ngx-color-picker-4.5.3.tgz",
- "integrity": "sha512-CJca1od05yf2j8OKUm5ar+mIVFB3n01+vbMpLeT+9/drKYCxgmtxxmmsgwWBNNXWYa2GNYB7PGH+mdKQkeypOg=="
- },
- "node_modules/ngx-mat-daterange-picker": {
- "version": "1.1.4",
- "resolved": "https://registry.npmjs.org/ngx-mat-daterange-picker/-/ngx-mat-daterange-picker-1.1.4.tgz",
- "integrity": "sha512-bfIYGJicxwg58j6LZjUE5JPXqq7yJfremFhX5S/DnUYwQjgmDWN6PUOFEegEO7ua4QdgGWrhK04ElOw25aWrzQ=="
- },
- "node_modules/ngx-mat-select-search": {
- "version": "1.8.0",
- "resolved": "https://registry.npmjs.org/ngx-mat-select-search/-/ngx-mat-select-search-1.8.0.tgz",
- "integrity": "sha512-oCuGWn0GYxqpOZ4mdJvHJ0l/vctVQ9kxMKEUy6HZ5bGx4dCBUsolwnQeUDM+vwGtlXoBzYQ27cxYgbfNSyuabg==",
- "dependencies": {
- "tslib": "^1.9.0"
- }
- },
- "node_modules/ngx-perfect-scrollbar": {
- "version": "5.0.0-7",
- "resolved": "https://registry.npmjs.org/ngx-perfect-scrollbar/-/ngx-perfect-scrollbar-5.0.0-7.tgz",
- "integrity": "sha512-vAX6efxDdiC3dfDBEH83CVwRUQfDmbM6FLgiXI4mp6J1x9o31lSCt8qJV2AsZyAKXPOv0w0cTJ1At3FG/aXILg==",
- "dependencies": {
- "perfect-scrollbar": "^0.8.0",
- "resize-observer-polyfill": "^1.4.0"
- }
- },
- "node_modules/ngx-perfect-scrollbar/node_modules/perfect-scrollbar": {
- "version": "0.8.1",
- "resolved": "https://registry.npmjs.org/perfect-scrollbar/-/perfect-scrollbar-0.8.1.tgz",
- "integrity": "sha512-RNC5tX/JMRYR+qVdJTEAWnRxw0Yf9lvbO8lTuAOvgDODkiA8lveTSkvrNMhmaGKEyimJpJl+myb/syVS9YyPuw==",
- "engines": {
- "node": ">= 0.12.0"
- }
- },
- "node_modules/ngx-socket-io": {
- "version": "3.0.1",
- "resolved": "https://registry.npmjs.org/ngx-socket-io/-/ngx-socket-io-3.0.1.tgz",
- "integrity": "sha512-6+99AULDEcdrsFSd9FVo5mUSpQMa2KL6twPbteoEv3qWO0Hh2kdrzTjvPdsC2jeTuEuqa8R9l5/3eGYdiLZyWQ==",
- "dependencies": {
- "core-js": "^3.0.0",
- "reflect-metadata": "^0.1.10",
- "socket.io": "^2.2.0",
- "socket.io-client": "^2.2.0",
- "tslib": "^1.9.0",
- "zone.js": "^0.10.1"
- }
- },
- "node_modules/ngx-socket-io/node_modules/arraybuffer.slice": {
- "version": "0.0.7",
- "resolved": "https://registry.npmjs.org/arraybuffer.slice/-/arraybuffer.slice-0.0.7.tgz",
- "integrity": "sha512-wGUIVQXuehL5TCqQun8OW81jGzAWycqzFF8lFp+GOM5BXLYj3bKNsYC4daB7n6XjCqxQA/qgTJ+8ANR3acjrog=="
- },
- "node_modules/ngx-socket-io/node_modules/base64-arraybuffer": {
- "version": "0.1.4",
- "resolved": "https://registry.npmjs.org/base64-arraybuffer/-/base64-arraybuffer-0.1.4.tgz",
- "integrity": "sha1-mBjHngWbE1X5fgQooBfIOOkLqBI=",
- "engines": {
- "node": ">= 0.6.0"
- }
- },
- "node_modules/ngx-socket-io/node_modules/base64id": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/base64id/-/base64id-2.0.0.tgz",
- "integrity": "sha512-lGe34o6EHj9y3Kts9R4ZYs/Gr+6N7MCaMlIFA3F1R2O5/m7K06AxfSeO5530PEERE6/WyEg3lsuyw4GHlPZHog==",
- "engines": {
- "node": "^4.5.0 || >= 5.9"
- }
- },
- "node_modules/ngx-socket-io/node_modules/blob": {
- "version": "0.0.5",
- "resolved": "https://registry.npmjs.org/blob/-/blob-0.0.5.tgz",
- "integrity": "sha512-gaqbzQPqOoamawKg0LGVd7SzLgXS+JH61oWprSLH+P+abTczqJbhTR8CmJ2u9/bUYNmHTGJx/UEmn6doAvvuig=="
- },
- "node_modules/ngx-socket-io/node_modules/component-emitter": {
- "version": "1.2.1",
- "resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.2.1.tgz",
- "integrity": "sha1-E3kY1teCg/ffemt8WmPhQOaUJeY="
- },
- "node_modules/ngx-socket-io/node_modules/cookie": {
- "version": "0.4.1",
- "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.4.1.tgz",
- "integrity": "sha512-ZwrFkGJxUR3EIoXtO+yVE69Eb7KlixbaeAWfBQB9vVsNn/o+Yw69gBWSSDK825hQNdN+wF8zELf3dFNl/kxkUA==",
- "engines": {
- "node": ">= 0.6"
- }
- },
- "node_modules/ngx-socket-io/node_modules/core-js": {
- "version": "3.6.5",
- "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.6.5.tgz",
- "integrity": "sha512-vZVEEwZoIsI+vPEuoF9Iqf5H7/M3eeQqWlQnYa8FSKKePuYTf5MWnxb5SDAzCa60b3JBRS5g9b+Dq7b1y/RCrA=="
- },
- "node_modules/ngx-socket-io/node_modules/debug": {
- "version": "4.1.1",
- "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz",
- "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==",
- "dependencies": {
- "ms": "^2.1.1"
- }
- },
- "node_modules/ngx-socket-io/node_modules/engine.io": {
- "version": "3.5.0",
- "resolved": "https://registry.npmjs.org/engine.io/-/engine.io-3.5.0.tgz",
- "integrity": "sha512-21HlvPUKaitDGE4GXNtQ7PLP0Sz4aWLddMPw2VTyFz1FVZqu/kZsJUO8WNpKuE/OCL7nkfRaOui2ZCJloGznGA==",
- "dependencies": {
- "accepts": "~1.3.4",
- "base64id": "2.0.0",
- "cookie": "~0.4.1",
- "debug": "~4.1.0",
- "engine.io-parser": "~2.2.0",
- "ws": "~7.4.2"
- },
- "engines": {
- "node": ">=8.0.0"
- }
- },
- "node_modules/ngx-socket-io/node_modules/engine.io-client": {
- "version": "3.5.2",
- "resolved": "https://registry.npmjs.org/engine.io-client/-/engine.io-client-3.5.2.tgz",
- "integrity": "sha512-QEqIp+gJ/kMHeUun7f5Vv3bteRHppHH/FMBQX/esFj/fuYfjyUKWGMo3VCvIP/V8bE9KcjHmRZrhIz2Z9oNsDA==",
- "dependencies": {
- "component-emitter": "~1.3.0",
- "component-inherit": "0.0.3",
- "debug": "~3.1.0",
- "engine.io-parser": "~2.2.0",
- "has-cors": "1.1.0",
- "indexof": "0.0.1",
- "parseqs": "0.0.6",
- "parseuri": "0.0.6",
- "ws": "~7.4.2",
- "xmlhttprequest-ssl": "~1.6.2",
- "yeast": "0.1.2"
- }
- },
- "node_modules/ngx-socket-io/node_modules/engine.io-client/node_modules/component-emitter": {
- "version": "1.3.0",
- "resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.3.0.tgz",
- "integrity": "sha512-Rd3se6QB+sO1TwqZjscQrurpEPIfO0/yYnSin6Q/rD3mOutHvUrCAhJub3r90uNb+SESBuE0QYoB90YdfatsRg=="
- },
- "node_modules/ngx-socket-io/node_modules/engine.io-client/node_modules/debug": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz",
- "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==",
- "dependencies": {
- "ms": "2.0.0"
- }
- },
- "node_modules/ngx-socket-io/node_modules/engine.io-client/node_modules/ms": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
- "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g="
- },
- "node_modules/ngx-socket-io/node_modules/engine.io-parser": {
- "version": "2.2.1",
- "resolved": "https://registry.npmjs.org/engine.io-parser/-/engine.io-parser-2.2.1.tgz",
- "integrity": "sha512-x+dN/fBH8Ro8TFwJ+rkB2AmuVw9Yu2mockR/p3W8f8YtExwFgDvBDi0GWyb4ZLkpahtDGZgtr3zLovanJghPqg==",
- "dependencies": {
- "after": "0.8.2",
- "arraybuffer.slice": "~0.0.7",
- "base64-arraybuffer": "0.1.4",
- "blob": "0.0.5",
- "has-binary2": "~1.0.2"
- }
- },
- "node_modules/ngx-socket-io/node_modules/isarray": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.1.tgz",
- "integrity": "sha1-o32U7ZzaLVmGXJ92/llu4fM4dB4="
- },
- "node_modules/ngx-socket-io/node_modules/ms": {
- "version": "2.1.2",
- "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
- "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="
- },
- "node_modules/ngx-socket-io/node_modules/parseqs": {
- "version": "0.0.6",
- "resolved": "https://registry.npmjs.org/parseqs/-/parseqs-0.0.6.tgz",
- "integrity": "sha512-jeAGzMDbfSHHA091hr0r31eYfTig+29g3GKKE/PPbEQ65X0lmMwlEoqmhzu0iztID5uJpZsFlUPDP8ThPL7M8w=="
- },
- "node_modules/ngx-socket-io/node_modules/parseuri": {
- "version": "0.0.6",
- "resolved": "https://registry.npmjs.org/parseuri/-/parseuri-0.0.6.tgz",
- "integrity": "sha512-AUjen8sAkGgao7UyCX6Ahv0gIK2fABKmYjvP4xmy5JaKvcbTRueIqIPHLAfq30xJddqSE033IOMUSOMCcK3Sow=="
- },
- "node_modules/ngx-socket-io/node_modules/socket.io": {
- "version": "2.4.1",
- "resolved": "https://registry.npmjs.org/socket.io/-/socket.io-2.4.1.tgz",
- "integrity": "sha512-Si18v0mMXGAqLqCVpTxBa8MGqriHGQh8ccEOhmsmNS3thNCGBwO8WGrwMibANsWtQQ5NStdZwHqZR3naJVFc3w==",
- "dependencies": {
- "debug": "~4.1.0",
- "engine.io": "~3.5.0",
- "has-binary2": "~1.0.2",
- "socket.io-adapter": "~1.1.0",
- "socket.io-client": "2.4.0",
- "socket.io-parser": "~3.4.0"
- }
- },
- "node_modules/ngx-socket-io/node_modules/socket.io-adapter": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/socket.io-adapter/-/socket.io-adapter-1.1.2.tgz",
- "integrity": "sha512-WzZRUj1kUjrTIrUKpZLEzFZ1OLj5FwLlAFQs9kuZJzJi5DKdU7FsWc36SNmA8iDOtwBQyT8FkrriRM8vXLYz8g=="
- },
- "node_modules/ngx-socket-io/node_modules/socket.io-client": {
- "version": "2.4.0",
- "resolved": "https://registry.npmjs.org/socket.io-client/-/socket.io-client-2.4.0.tgz",
- "integrity": "sha512-M6xhnKQHuuZd4Ba9vltCLT9oa+YvTsP8j9NcEiLElfIg8KeYPyhWOes6x4t+LTAC8enQbE/995AdTem2uNyKKQ==",
- "dependencies": {
- "backo2": "1.0.2",
- "component-bind": "1.0.0",
- "component-emitter": "~1.3.0",
- "debug": "~3.1.0",
- "engine.io-client": "~3.5.0",
- "has-binary2": "~1.0.2",
- "indexof": "0.0.1",
- "parseqs": "0.0.6",
- "parseuri": "0.0.6",
- "socket.io-parser": "~3.3.0",
- "to-array": "0.1.4"
- }
- },
- "node_modules/ngx-socket-io/node_modules/socket.io-client/node_modules/component-emitter": {
- "version": "1.3.0",
- "resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.3.0.tgz",
- "integrity": "sha512-Rd3se6QB+sO1TwqZjscQrurpEPIfO0/yYnSin6Q/rD3mOutHvUrCAhJub3r90uNb+SESBuE0QYoB90YdfatsRg=="
- },
- "node_modules/ngx-socket-io/node_modules/socket.io-client/node_modules/debug": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz",
- "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==",
- "dependencies": {
- "ms": "2.0.0"
- }
- },
- "node_modules/ngx-socket-io/node_modules/socket.io-client/node_modules/ms": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
- "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g="
- },
- "node_modules/ngx-socket-io/node_modules/socket.io-client/node_modules/socket.io-parser": {
- "version": "3.3.0",
- "resolved": "https://registry.npmjs.org/socket.io-parser/-/socket.io-parser-3.3.0.tgz",
- "integrity": "sha512-hczmV6bDgdaEbVqhAeVMM/jfUfzuEZHsQg6eOmLgJht6G3mPKMxYm75w2+qhAQZ+4X+1+ATZ+QFKeOZD5riHng==",
- "dependencies": {
- "component-emitter": "1.2.1",
- "debug": "~3.1.0",
- "isarray": "2.0.1"
- }
- },
- "node_modules/ngx-socket-io/node_modules/socket.io-parser": {
- "version": "3.4.0",
- "resolved": "https://registry.npmjs.org/socket.io-parser/-/socket.io-parser-3.4.0.tgz",
- "integrity": "sha512-/G/VOI+3DBp0+DJKW4KesGnQkQPFmUCbA/oO2QGT6CWxU7hLGWqU3tyuzeSK/dqcyeHsQg1vTe9jiZI8GU9SCQ==",
- "dependencies": {
- "component-emitter": "1.2.1",
- "debug": "~4.1.0",
- "isarray": "2.0.1"
- }
- },
- "node_modules/ngx-socket-io/node_modules/ws": {
- "version": "7.4.6",
- "resolved": "https://registry.npmjs.org/ws/-/ws-7.4.6.tgz",
- "integrity": "sha512-YmhHDO4MzaDLB+M9ym/mDA5z0naX8j7SIlT8f8z+I0VtzsRbekxEutHSme7NPS2qE8StCYQNUnfWdXta/Yu85A==",
- "engines": {
- "node": ">=8.3.0"
- },
- "peerDependencies": {
- "bufferutil": "^4.0.1",
- "utf-8-validate": "^5.0.2"
- },
- "peerDependenciesMeta": {
- "bufferutil": {
- "optional": true
- },
- "utf-8-validate": {
- "optional": true
- }
- }
- },
- "node_modules/ngx-socket-io/node_modules/xmlhttprequest-ssl": {
- "version": "1.6.3",
- "resolved": "https://registry.npmjs.org/xmlhttprequest-ssl/-/xmlhttprequest-ssl-1.6.3.tgz",
- "integrity": "sha512-3XfeQE/wNkvrIktn2Kf0869fC0BN6UpydVasGIeSm2B1Llihf7/0UfZM+eCkOw3P7bP4+qPgqhm7ZoxuJtFU0Q==",
- "engines": {
- "node": ">=0.4.0"
- }
- },
- "node_modules/ngx-socket-io/node_modules/zone.js": {
- "version": "0.10.3",
- "resolved": "https://registry.npmjs.org/zone.js/-/zone.js-0.10.3.tgz",
- "integrity": "sha512-LXVLVEq0NNOqK/fLJo3d0kfzd4sxwn2/h67/02pjCjfKDxgx1i9QqpvtHD8CrBnSSwMw5+dy11O7FRX5mkO7Cg=="
- },
- "node_modules/ngx-spinner": {
- "version": "7.2.0",
- "resolved": "https://registry.npmjs.org/ngx-spinner/-/ngx-spinner-7.2.0.tgz",
- "integrity": "sha512-E3IVOrSXCC4v/8iy/f1cGWMfRF5HrmuGCGcTTYbEzknTViDqH2kMLYzdwC0MVsyAEafisEIM1rmSUzftIzPJQA==",
- "dependencies": {
- "tslib": "^1.9.0"
- }
- },
- "node_modules/ngx-viewer": {
- "version": "1.0.5",
- "resolved": "https://registry.npmjs.org/ngx-viewer/-/ngx-viewer-1.0.5.tgz",
- "integrity": "sha512-0iFv83UhN2QhfFgjJWNKxFdNTgnrK3FftcwD+1yd368BWfApu0vTvVZwNDC669r42JCpCHMAVQxcFn7k32oXug==",
- "dependencies": {
- "tslib": "^1.9.0"
- }
- },
- "node_modules/nice-try": {
- "version": "1.0.5",
- "resolved": "https://registry.npmjs.org/nice-try/-/nice-try-1.0.5.tgz",
- "integrity": "sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==",
- "dev": true
- },
- "node_modules/node-ensure": {
- "version": "0.0.0",
- "resolved": "https://registry.npmjs.org/node-ensure/-/node-ensure-0.0.0.tgz",
- "integrity": "sha1-7K52QVDemYYexcgQ/V0Jaxg5Mqc="
- },
- "node_modules/node-fetch": {
- "version": "1.7.3",
- "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-1.7.3.tgz",
- "integrity": "sha512-NhZ4CsKx7cYm2vSrBAr2PvFOe6sWDf0UYLRqA6svUYg7+/TSfVAu49jYC4BvQ4Sms9SZgdqGBgroqfDhJdTyKQ==",
- "dependencies": {
- "encoding": "^0.1.11",
- "is-stream": "^1.0.1"
- }
- },
- "node_modules/node-fetch-npm": {
- "version": "2.0.2",
- "resolved": "https://registry.npmjs.org/node-fetch-npm/-/node-fetch-npm-2.0.2.tgz",
- "integrity": "sha512-nJIxm1QmAj4v3nfCvEeCrYSoVwXyxLnaPBK5W1W5DGEJwjlKuC2VEUycGw5oxk+4zZahRrB84PUJJgEmhFTDFw==",
- "dev": true,
- "dependencies": {
- "encoding": "^0.1.11",
- "json-parse-better-errors": "^1.0.0",
- "safe-buffer": "^5.1.1"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/node-forge": {
- "version": "0.10.0",
- "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-0.10.0.tgz",
- "integrity": "sha512-PPmu8eEeG9saEUvI97fm4OYxXVB6bFvyNTyiUOBichBpFG8A1Ljw3bY62+5oOjDEMHRnd0Y7HQ+x7uzxOzC6JA==",
- "dev": true,
- "engines": {
- "node": ">= 6.0.0"
- }
- },
- "node_modules/node-gyp": {
- "version": "3.8.0",
- "resolved": "https://registry.npmjs.org/node-gyp/-/node-gyp-3.8.0.tgz",
- "integrity": "sha512-3g8lYefrRRzvGeSowdJKAKyks8oUpLEd/DyPV4eMhVlhJ0aNaZqIrNUIPuEWWTAoPqyFkfGrM67MC69baqn6vA==",
- "dependencies": {
- "fstream": "^1.0.0",
- "glob": "^7.0.3",
- "graceful-fs": "^4.1.2",
- "mkdirp": "^0.5.0",
- "nopt": "2 || 3",
- "npmlog": "0 || 1 || 2 || 3 || 4",
- "osenv": "0",
- "request": "^2.87.0",
- "rimraf": "2",
- "semver": "~5.3.0",
- "tar": "^2.0.0",
- "which": "1"
- },
- "bin": {
- "node-gyp": "bin/node-gyp.js"
- },
- "engines": {
- "node": ">= 0.8.0"
- }
- },
- "node_modules/node-gyp/node_modules/semver": {
- "version": "5.3.0",
- "resolved": "https://registry.npmjs.org/semver/-/semver-5.3.0.tgz",
- "integrity": "sha1-myzl094C0XxgEq0yaqa00M9U+U8=",
- "bin": {
- "semver": "bin/semver"
- }
- },
- "node_modules/node-libs-browser": {
- "version": "2.2.1",
- "resolved": "https://registry.npmjs.org/node-libs-browser/-/node-libs-browser-2.2.1.tgz",
- "integrity": "sha512-h/zcD8H9kaDZ9ALUWwlBUDo6TKF8a7qBSCSEGfjTVIYeqsioSKaAX+BN7NgiMGp6iSIXZ3PxgCu8KS3b71YK5Q==",
- "dev": true,
- "dependencies": {
- "assert": "^1.1.1",
- "browserify-zlib": "^0.2.0",
- "buffer": "^4.3.0",
- "console-browserify": "^1.1.0",
- "constants-browserify": "^1.0.0",
- "crypto-browserify": "^3.11.0",
- "domain-browser": "^1.1.1",
- "events": "^3.0.0",
- "https-browserify": "^1.0.0",
- "os-browserify": "^0.3.0",
- "path-browserify": "0.0.1",
- "process": "^0.11.10",
- "punycode": "^1.2.4",
- "querystring-es3": "^0.2.0",
- "readable-stream": "^2.3.3",
- "stream-browserify": "^2.0.1",
- "stream-http": "^2.7.2",
- "string_decoder": "^1.0.0",
- "timers-browserify": "^2.0.4",
- "tty-browserify": "0.0.0",
- "url": "^0.11.0",
- "util": "^0.11.0",
- "vm-browserify": "^1.0.1"
- }
- },
- "node_modules/node-libs-browser/node_modules/crypto-browserify": {
- "version": "3.12.0",
- "resolved": "https://registry.npmjs.org/crypto-browserify/-/crypto-browserify-3.12.0.tgz",
- "integrity": "sha512-fz4spIh+znjO2VjL+IdhEpRJ3YN6sMzITSBijk6FK2UvTqruSQW+/cCZTSNsMiZNvUeq0CqurF+dAbyiGOY6Wg==",
- "dev": true,
- "dependencies": {
- "browserify-cipher": "^1.0.0",
- "browserify-sign": "^4.0.0",
- "create-ecdh": "^4.0.0",
- "create-hash": "^1.1.0",
- "create-hmac": "^1.1.0",
- "diffie-hellman": "^5.0.0",
- "inherits": "^2.0.1",
- "pbkdf2": "^3.0.3",
- "public-encrypt": "^4.0.0",
- "randombytes": "^2.0.0",
- "randomfill": "^1.0.3"
- },
- "engines": {
- "node": "*"
- }
- },
- "node_modules/node-libs-browser/node_modules/punycode": {
- "version": "1.4.1",
- "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz",
- "integrity": "sha1-wNWmOycYgArY4esPpSachN1BhF4=",
- "dev": true
- },
- "node_modules/node-releases": {
- "version": "1.1.73",
- "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-1.1.73.tgz",
- "integrity": "sha512-uW7fodD6pyW2FZNZnp/Z3hvWKeEW1Y8R1+1CnErE8cXFXzl5blBOoVB41CvMer6P6Q0S5FXDwcHgFd1Wj0U9zg==",
- "dev": true
- },
- "node_modules/node-sass": {
- "version": "4.14.1",
- "resolved": "https://registry.npmjs.org/node-sass/-/node-sass-4.14.1.tgz",
- "integrity": "sha512-sjCuOlvGyCJS40R8BscF5vhVlQjNN069NtQ1gSxyK1u9iqvn6tf7O1R4GNowVZfiZUCRt5MmMs1xd+4V/7Yr0g==",
- "hasInstallScript": true,
- "dependencies": {
- "async-foreach": "^0.1.3",
- "chalk": "^1.1.1",
- "cross-spawn": "^3.0.0",
- "gaze": "^1.0.0",
- "get-stdin": "^4.0.1",
- "glob": "^7.0.3",
- "in-publish": "^2.0.0",
- "lodash": "^4.17.15",
- "meow": "^3.7.0",
- "mkdirp": "^0.5.1",
- "nan": "^2.13.2",
- "node-gyp": "^3.8.0",
- "npmlog": "^4.0.0",
- "request": "^2.88.0",
- "sass-graph": "2.2.5",
- "stdout-stream": "^1.4.0",
- "true-case-path": "^1.0.2"
- },
- "bin": {
- "node-sass": "bin/node-sass"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/nopt": {
- "version": "3.0.6",
- "resolved": "https://registry.npmjs.org/nopt/-/nopt-3.0.6.tgz",
- "integrity": "sha1-xkZdvwirzU2zWTF/eaxopkayj/k=",
- "dependencies": {
- "abbrev": "1"
- },
- "bin": {
- "nopt": "bin/nopt.js"
- }
- },
- "node_modules/normalize-package-data": {
- "version": "2.5.0",
- "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz",
- "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==",
- "dependencies": {
- "hosted-git-info": "^2.1.4",
- "resolve": "^1.10.0",
- "semver": "2 || 3 || 4 || 5",
- "validate-npm-package-license": "^3.0.1"
- }
- },
- "node_modules/normalize-path": {
- "version": "2.1.1",
- "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-2.1.1.tgz",
- "integrity": "sha1-GrKLVW4Zg2Oowab35vogE3/mrtk=",
- "dev": true,
- "dependencies": {
- "remove-trailing-separator": "^1.0.1"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/normalize-range": {
- "version": "0.1.2",
- "resolved": "https://registry.npmjs.org/normalize-range/-/normalize-range-0.1.2.tgz",
- "integrity": "sha1-LRDAa9/TEuqXd2laTShDlFa3WUI=",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/npm-bundled": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/npm-bundled/-/npm-bundled-1.1.1.tgz",
- "integrity": "sha512-gqkfgGePhTpAEgUsGEgcq1rqPXA+tv/aVBlgEzfXwA1yiUJF7xtEt3CtVwOjNYQOVknDk0F20w58Fnm3EtG0fA==",
- "dev": true,
- "dependencies": {
- "npm-normalize-package-bin": "^1.0.1"
- }
- },
- "node_modules/npm-normalize-package-bin": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/npm-normalize-package-bin/-/npm-normalize-package-bin-1.0.1.tgz",
- "integrity": "sha512-EPfafl6JL5/rU+ot6P3gRSCpPDW5VmIzX959Ob1+ySFUuuYHWHekXpwdUZcKP5C+DS4GEtdJluwBjnsNDl+fSA==",
- "dev": true
- },
- "node_modules/npm-package-arg": {
- "version": "6.1.0",
- "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-6.1.0.tgz",
- "integrity": "sha512-zYbhP2k9DbJhA0Z3HKUePUgdB1x7MfIfKssC+WLPFMKTBZKpZh5m13PgexJjCq6KW7j17r0jHWcCpxEqnnncSA==",
- "dev": true,
- "dependencies": {
- "hosted-git-info": "^2.6.0",
- "osenv": "^0.1.5",
- "semver": "^5.5.0",
- "validate-npm-package-name": "^3.0.0"
- }
- },
- "node_modules/npm-packlist": {
- "version": "1.4.7",
- "resolved": "https://registry.npmjs.org/npm-packlist/-/npm-packlist-1.4.7.tgz",
- "integrity": "sha512-vAj7dIkp5NhieaGZxBJB8fF4R0078rqsmhJcAfXZ6O7JJhjhPK96n5Ry1oZcfLXgfun0GWTZPOxaEyqv8GBykQ==",
- "dev": true,
- "dependencies": {
- "ignore-walk": "^3.0.1",
- "npm-bundled": "^1.0.1"
- }
- },
- "node_modules/npm-pick-manifest": {
- "version": "2.2.3",
- "resolved": "https://registry.npmjs.org/npm-pick-manifest/-/npm-pick-manifest-2.2.3.tgz",
- "integrity": "sha512-+IluBC5K201+gRU85vFlUwX3PFShZAbAgDNp2ewJdWMVSppdo/Zih0ul2Ecky/X7b51J7LrrUAP+XOmOCvYZqA==",
- "dev": true,
- "dependencies": {
- "figgy-pudding": "^3.5.1",
- "npm-package-arg": "^6.0.0",
- "semver": "^5.4.1"
- }
- },
- "node_modules/npm-registry-client": {
- "version": "8.6.0",
- "resolved": "https://registry.npmjs.org/npm-registry-client/-/npm-registry-client-8.6.0.tgz",
- "integrity": "sha512-Qs6P6nnopig+Y8gbzpeN/dkt+n7IyVd8f45NTMotGk6Qo7GfBmzwYx6jRLoOOgKiMnaQfYxsuyQlD8Mc3guBhg==",
- "dev": true,
- "dependencies": {
- "concat-stream": "^1.5.2",
- "graceful-fs": "^4.1.6",
- "normalize-package-data": "~1.0.1 || ^2.0.0",
- "npm-package-arg": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0",
- "npmlog": "2 || ^3.1.0 || ^4.0.0",
- "once": "^1.3.3",
- "request": "^2.74.0",
- "retry": "^0.10.0",
- "safe-buffer": "^5.1.1",
- "semver": "2 >=2.2.1 || 3.x || 4 || 5",
- "slide": "^1.1.3",
- "ssri": "^5.2.4"
- }
- },
- "node_modules/npm-registry-fetch": {
- "version": "3.9.1",
- "resolved": "https://registry.npmjs.org/npm-registry-fetch/-/npm-registry-fetch-3.9.1.tgz",
- "integrity": "sha512-VQCEZlydXw4AwLROAXWUR7QDfe2Y8Id/vpAgp6TI1/H78a4SiQ1kQrKZALm5/zxM5n4HIi+aYb+idUAV/RuY0Q==",
- "dev": true,
- "dependencies": {
- "bluebird": "^3.5.1",
- "figgy-pudding": "^3.4.1",
- "JSONStream": "^1.3.4",
- "lru-cache": "^5.1.1",
- "make-fetch-happen": "^4.0.2",
- "npm-package-arg": "^6.1.0"
- }
- },
- "node_modules/npm-registry-fetch/node_modules/lru-cache": {
- "version": "5.1.1",
- "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz",
- "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==",
- "dev": true,
- "dependencies": {
- "yallist": "^3.0.2"
- }
- },
- "node_modules/npm-registry-fetch/node_modules/yallist": {
- "version": "3.1.1",
- "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz",
- "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==",
- "dev": true
- },
- "node_modules/npm-run-path": {
- "version": "2.0.2",
- "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-2.0.2.tgz",
- "integrity": "sha1-NakjLfo11wZ7TLLd8jV7GHFTbF8=",
- "dev": true,
- "dependencies": {
- "path-key": "^2.0.0"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/npmlog": {
- "version": "4.1.2",
- "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-4.1.2.tgz",
- "integrity": "sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg==",
- "dependencies": {
- "are-we-there-yet": "~1.1.2",
- "console-control-strings": "~1.1.0",
- "gauge": "~2.7.3",
- "set-blocking": "~2.0.0"
- }
- },
- "node_modules/null-check": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/null-check/-/null-check-1.0.0.tgz",
- "integrity": "sha1-l33/1xdgErnsMNKjnbXPcqBDnt0=",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/num2fraction": {
- "version": "1.2.2",
- "resolved": "https://registry.npmjs.org/num2fraction/-/num2fraction-1.2.2.tgz",
- "integrity": "sha1-b2gragJ6Tp3fpFZM0lidHU5mnt4=",
- "dev": true
- },
- "node_modules/number-is-nan": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz",
- "integrity": "sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=",
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/oauth-sign": {
- "version": "0.9.0",
- "resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz",
- "integrity": "sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ==",
- "engines": {
- "node": "*"
- }
- },
- "node_modules/object-assign": {
- "version": "4.1.1",
- "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz",
- "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=",
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/object-component": {
- "version": "0.0.3",
- "resolved": "https://registry.npmjs.org/object-component/-/object-component-0.0.3.tgz",
- "integrity": "sha1-8MaapQ78lbhmwYb0AKM3acsvEpE=",
- "dev": true
- },
- "node_modules/object-copy": {
- "version": "0.1.0",
- "resolved": "https://registry.npmjs.org/object-copy/-/object-copy-0.1.0.tgz",
- "integrity": "sha1-fn2Fi3gb18mRpBupde04EnVOmYw=",
- "dev": true,
- "dependencies": {
- "copy-descriptor": "^0.1.0",
- "define-property": "^0.2.5",
- "kind-of": "^3.0.3"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/object-copy/node_modules/define-property": {
- "version": "0.2.5",
- "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz",
- "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=",
- "dev": true,
- "dependencies": {
- "is-descriptor": "^0.1.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/object-copy/node_modules/kind-of": {
- "version": "3.2.2",
- "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz",
- "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=",
- "dev": true,
- "dependencies": {
- "is-buffer": "^1.1.5"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/object-inspect": {
- "version": "1.7.0",
- "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.7.0.tgz",
- "integrity": "sha512-a7pEHdh1xKIAgTySUGgLMx/xwDZskN1Ud6egYYN3EdRW4ZMPNEDUTF+hwy2LUC+Bl+SyLXANnwz/jyh/qutKUw=="
- },
- "node_modules/object-is": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/object-is/-/object-is-1.0.2.tgz",
- "integrity": "sha512-Epah+btZd5wrrfjkJZq1AOB9O6OxUQto45hzFd7lXGrpHPGE0W1k+426yrZV+k6NJOzLNNW/nVsmZdIWsAqoOQ==",
- "engines": {
- "node": ">= 0.4"
- }
- },
- "node_modules/object-keys": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz",
- "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==",
- "engines": {
- "node": ">= 0.4"
- }
- },
- "node_modules/object-visit": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/object-visit/-/object-visit-1.0.1.tgz",
- "integrity": "sha1-95xEk68MU3e1n+OdOV5BBC3QRbs=",
- "dev": true,
- "dependencies": {
- "isobject": "^3.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/object.assign": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.0.tgz",
- "integrity": "sha512-exHJeq6kBKj58mqGyTQ9DFvrZC/eR6OwxzoM9YRoGBqrXYonaFyGiFMuc9VZrXf7DarreEwMpurG3dd+CNyW5w==",
- "dependencies": {
- "define-properties": "^1.1.2",
- "function-bind": "^1.1.1",
- "has-symbols": "^1.0.0",
- "object-keys": "^1.0.11"
- },
- "engines": {
- "node": ">= 0.4"
- }
- },
- "node_modules/object.omit": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/object.omit/-/object.omit-2.0.1.tgz",
- "integrity": "sha1-Gpx0SCnznbuFjHbKNXmuKlTr0fo=",
- "dev": true,
- "dependencies": {
- "for-own": "^0.1.4",
- "is-extendable": "^0.1.1"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/object.omit/node_modules/for-own": {
- "version": "0.1.5",
- "resolved": "https://registry.npmjs.org/for-own/-/for-own-0.1.5.tgz",
- "integrity": "sha1-UmXGgaTylNq78XyVCbZ2OqhFEM4=",
- "dev": true,
- "dependencies": {
- "for-in": "^1.0.1"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/object.pick": {
- "version": "1.3.0",
- "resolved": "https://registry.npmjs.org/object.pick/-/object.pick-1.3.0.tgz",
- "integrity": "sha1-h6EKxMFpS9Lhy/U1kaZhQftd10c=",
- "dev": true,
- "dependencies": {
- "isobject": "^3.0.1"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/obuf": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/obuf/-/obuf-1.1.2.tgz",
- "integrity": "sha512-PX1wu0AmAdPqOL1mWhqmlOd8kOIZQwGZw6rh7uby9fTc5lhaOWFLX3I6R1hrF9k3zUY40e6igsLGkDXK92LJNg==",
- "dev": true
- },
- "node_modules/on-finished": {
- "version": "2.3.0",
- "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz",
- "integrity": "sha1-IPEzZIGwg811M3mSoWlxqi2QaUc=",
- "dev": true,
- "dependencies": {
- "ee-first": "1.1.1"
- },
- "engines": {
- "node": ">= 0.8"
- }
- },
- "node_modules/on-headers": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/on-headers/-/on-headers-1.0.2.tgz",
- "integrity": "sha512-pZAE+FJLoyITytdqK0U5s+FIpjN0JP3OzFi/u8Rx+EV5/W+JTWGXG8xFzevE7AjBfDqHv/8vL8qQsIhHnqRkrA==",
- "dev": true,
- "engines": {
- "node": ">= 0.8"
- }
- },
- "node_modules/once": {
- "version": "1.4.0",
- "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
- "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=",
- "dependencies": {
- "wrappy": "1"
- }
- },
- "node_modules/opn": {
- "version": "5.4.0",
- "resolved": "https://registry.npmjs.org/opn/-/opn-5.4.0.tgz",
- "integrity": "sha512-YF9MNdVy/0qvJvDtunAOzFw9iasOQHpVthTCvGzxt61Il64AYSGdK+rYwld7NAfk9qJ7dt+hymBNSc9LNYS+Sw==",
- "dev": true,
- "dependencies": {
- "is-wsl": "^1.1.0"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/optimist": {
- "version": "0.6.1",
- "resolved": "https://registry.npmjs.org/optimist/-/optimist-0.6.1.tgz",
- "integrity": "sha1-2j6nRob6IaGaERwybpDrFaAZZoY=",
- "dev": true,
- "dependencies": {
- "minimist": "~0.0.1",
- "wordwrap": "~0.0.2"
- }
- },
- "node_modules/optimist/node_modules/minimist": {
- "version": "0.0.10",
- "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.10.tgz",
- "integrity": "sha1-3j+YVD2/lggr5IrRoMfNqDYwHc8=",
- "dev": true
- },
- "node_modules/optimist/node_modules/wordwrap": {
- "version": "0.0.3",
- "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-0.0.3.tgz",
- "integrity": "sha1-o9XabNXAvAAI03I0u68b7WMFkQc=",
- "dev": true,
- "engines": {
- "node": ">=0.4.0"
- }
- },
- "node_modules/optionator": {
- "version": "0.8.3",
- "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.8.3.tgz",
- "integrity": "sha512-+IW9pACdk3XWmmTXG8m3upGUJst5XRGzxMRjXzAuJ1XnIFNvfhjjIuYkDvysnPQ7qzqVzLt78BCruntqRhWQbA==",
- "dev": true,
- "dependencies": {
- "deep-is": "~0.1.3",
- "fast-levenshtein": "~2.0.6",
- "levn": "~0.3.0",
- "prelude-ls": "~1.1.2",
- "type-check": "~0.3.2",
- "word-wrap": "~1.2.3"
- },
- "engines": {
- "node": ">= 0.8.0"
- }
- },
- "node_modules/options": {
- "version": "0.0.6",
- "resolved": "https://registry.npmjs.org/options/-/options-0.0.6.tgz",
- "integrity": "sha1-7CLTEoBrtT5zF3Pnza788cZDEo8=",
- "dev": true,
- "engines": {
- "node": ">=0.4.0"
- }
- },
- "node_modules/optjs": {
- "version": "3.2.2",
- "resolved": "https://registry.npmjs.org/optjs/-/optjs-3.2.2.tgz",
- "integrity": "sha1-aabOicRCpEQDFBrS+bNwvVu29O4="
- },
- "node_modules/original": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/original/-/original-1.0.2.tgz",
- "integrity": "sha512-hyBVl6iqqUOJ8FqRe+l/gS8H+kKYjrEndd5Pm1MfBtsEKA038HkkdbAl/72EAXGyonD/PFsvmVG+EvcIpliMBg==",
- "dev": true,
- "dependencies": {
- "url-parse": "^1.4.3"
- }
- },
- "node_modules/os-browserify": {
- "version": "0.3.0",
- "resolved": "https://registry.npmjs.org/os-browserify/-/os-browserify-0.3.0.tgz",
- "integrity": "sha1-hUNzx/XCMVkU/Jv8a9gjj92h7Cc=",
- "dev": true
- },
- "node_modules/os-homedir": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz",
- "integrity": "sha1-/7xJiDNuDoM94MFox+8VISGqf7M=",
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/os-locale": {
- "version": "1.4.0",
- "resolved": "https://registry.npmjs.org/os-locale/-/os-locale-1.4.0.tgz",
- "integrity": "sha1-IPnxeuKe00XoveWDsT0gCYA8FNk=",
- "dependencies": {
- "lcid": "^1.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/os-tmpdir": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz",
- "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=",
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/osenv": {
- "version": "0.1.5",
- "resolved": "https://registry.npmjs.org/osenv/-/osenv-0.1.5.tgz",
- "integrity": "sha512-0CWcCECdMVc2Rw3U5w9ZjqX6ga6ubk1xDVKxtBQPK7wis/0F2r9T6k4ydGYhecl7YUBxBVxhL5oisPsNxAPe2g==",
- "dependencies": {
- "os-homedir": "^1.0.0",
- "os-tmpdir": "^1.0.0"
- }
- },
- "node_modules/p-defer": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/p-defer/-/p-defer-1.0.0.tgz",
- "integrity": "sha1-n26xgvbJqozXQwBKfU+WsZaw+ww=",
- "dev": true,
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/p-finally": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz",
- "integrity": "sha1-P7z7FbiZpEEjs0ttzBi3JDNqLK4=",
- "dev": true,
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/p-is-promise": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/p-is-promise/-/p-is-promise-2.1.0.tgz",
- "integrity": "sha512-Y3W0wlRPK8ZMRbNq97l4M5otioeA5lm1z7bkNkxCka8HSPjR0xRWmpCmc9utiaLP9Jb1eD8BgeIxTW4AIF45Pg==",
- "dev": true,
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/p-limit": {
- "version": "1.3.0",
- "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz",
- "integrity": "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==",
- "dev": true,
- "dependencies": {
- "p-try": "^1.0.0"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/p-locate": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz",
- "integrity": "sha1-IKAQOyIqcMj9OcwuWAaA893l7EM=",
- "dev": true,
- "dependencies": {
- "p-limit": "^1.1.0"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/p-map": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/p-map/-/p-map-1.2.0.tgz",
- "integrity": "sha512-r6zKACMNhjPJMTl8KcFH4li//gkrXWfbD6feV8l6doRHlzljFWGJ2AP6iKaCJXyZmAUMOPtvbW7EXkbWO/pLEA==",
- "dev": true,
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/p-try": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz",
- "integrity": "sha1-y8ec26+P1CKOE/Yh8rGiN8GyB7M=",
- "dev": true,
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/pacote": {
- "version": "9.2.3",
- "resolved": "https://registry.npmjs.org/pacote/-/pacote-9.2.3.tgz",
- "integrity": "sha512-Y3+yY3nBRAxMlZWvr62XLJxOwCmG9UmkGZkFurWHoCjqF0cZL72cTOCRJTvWw8T4OhJS2RTg13x4oYYriauvEw==",
- "dev": true,
- "dependencies": {
- "bluebird": "^3.5.2",
- "cacache": "^11.2.0",
- "figgy-pudding": "^3.5.1",
- "get-stream": "^4.1.0",
- "glob": "^7.1.3",
- "lru-cache": "^4.1.3",
- "make-fetch-happen": "^4.0.1",
- "minimatch": "^3.0.4",
- "minipass": "^2.3.5",
- "mississippi": "^3.0.0",
- "mkdirp": "^0.5.1",
- "normalize-package-data": "^2.4.0",
- "npm-package-arg": "^6.1.0",
- "npm-packlist": "^1.1.12",
- "npm-pick-manifest": "^2.2.3",
- "npm-registry-fetch": "^3.8.0",
- "osenv": "^0.1.5",
- "promise-inflight": "^1.0.1",
- "promise-retry": "^1.1.1",
- "protoduck": "^5.0.1",
- "rimraf": "^2.6.2",
- "safe-buffer": "^5.1.2",
- "semver": "^5.6.0",
- "ssri": "^6.0.1",
- "tar": "^4.4.6",
- "unique-filename": "^1.1.1",
- "which": "^1.3.1"
- }
- },
- "node_modules/pacote/node_modules/cacache": {
- "version": "11.3.3",
- "resolved": "https://registry.npmjs.org/cacache/-/cacache-11.3.3.tgz",
- "integrity": "sha512-p8WcneCytvzPxhDvYp31PD039vi77I12W+/KfR9S8AZbaiARFBCpsPJS+9uhWfeBfeAtW7o/4vt3MUqLkbY6nA==",
- "dev": true,
- "dependencies": {
- "bluebird": "^3.5.5",
- "chownr": "^1.1.1",
- "figgy-pudding": "^3.5.1",
- "glob": "^7.1.4",
- "graceful-fs": "^4.1.15",
- "lru-cache": "^5.1.1",
- "mississippi": "^3.0.0",
- "mkdirp": "^0.5.1",
- "move-concurrently": "^1.0.1",
- "promise-inflight": "^1.0.1",
- "rimraf": "^2.6.3",
- "ssri": "^6.0.1",
- "unique-filename": "^1.1.1",
- "y18n": "^4.0.0"
- }
- },
- "node_modules/pacote/node_modules/cacache/node_modules/lru-cache": {
- "version": "5.1.1",
- "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz",
- "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==",
- "dev": true,
- "dependencies": {
- "yallist": "^3.0.2"
- }
- },
- "node_modules/pacote/node_modules/get-stream": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-4.1.0.tgz",
- "integrity": "sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w==",
- "dev": true,
- "dependencies": {
- "pump": "^3.0.0"
- },
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/pacote/node_modules/mississippi": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/mississippi/-/mississippi-3.0.0.tgz",
- "integrity": "sha512-x471SsVjUtBRtcvd4BzKE9kFC+/2TeWgKCgw0bZcw1b9l2X3QX5vCWgF+KaZaYm87Ss//rHnWryupDrgLvmSkA==",
- "dev": true,
- "dependencies": {
- "concat-stream": "^1.5.0",
- "duplexify": "^3.4.2",
- "end-of-stream": "^1.1.0",
- "flush-write-stream": "^1.0.0",
- "from2": "^2.1.0",
- "parallel-transform": "^1.1.0",
- "pump": "^3.0.0",
- "pumpify": "^1.3.3",
- "stream-each": "^1.1.0",
- "through2": "^2.0.0"
- },
- "engines": {
- "node": ">=4.0.0"
- }
- },
- "node_modules/pacote/node_modules/pump": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz",
- "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==",
- "dev": true,
- "dependencies": {
- "end-of-stream": "^1.1.0",
- "once": "^1.3.1"
- }
- },
- "node_modules/pacote/node_modules/ssri": {
- "version": "6.0.2",
- "resolved": "https://registry.npmjs.org/ssri/-/ssri-6.0.2.tgz",
- "integrity": "sha512-cepbSq/neFK7xB6A50KHN0xHDotYzq58wWCa5LeWqnPrHG8GzfEjO/4O8kpmcGW+oaxkvhEJCWgbgNk4/ZV93Q==",
- "dev": true,
- "dependencies": {
- "figgy-pudding": "^3.5.1"
- }
- },
- "node_modules/pacote/node_modules/tar": {
- "version": "4.4.13",
- "resolved": "https://registry.npmjs.org/tar/-/tar-4.4.13.tgz",
- "integrity": "sha512-w2VwSrBoHa5BsSyH+KxEqeQBAllHhccyMFVHtGtdMpF4W7IRWfZjFiQceJPChOeTsSDVUpER2T8FA93pr0L+QA==",
- "dev": true,
- "dependencies": {
- "chownr": "^1.1.1",
- "fs-minipass": "^1.2.5",
- "minipass": "^2.8.6",
- "minizlib": "^1.2.1",
- "mkdirp": "^0.5.0",
- "safe-buffer": "^5.1.2",
- "yallist": "^3.0.3"
- },
- "engines": {
- "node": ">=4.5"
- }
- },
- "node_modules/pacote/node_modules/y18n": {
- "version": "4.0.3",
- "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.3.tgz",
- "integrity": "sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ==",
- "dev": true
- },
- "node_modules/pacote/node_modules/yallist": {
- "version": "3.1.1",
- "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz",
- "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==",
- "dev": true
- },
- "node_modules/pako": {
- "version": "1.0.10",
- "resolved": "https://registry.npmjs.org/pako/-/pako-1.0.10.tgz",
- "integrity": "sha512-0DTvPVU3ed8+HNXOu5Bs+o//Mbdj9VNQMUOe9oKCwh8l0GNwpTDMKCWbRjgtD291AWnkAgkqA/LOnQS8AmS1tw==",
- "dev": true
- },
- "node_modules/parallel-transform": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/parallel-transform/-/parallel-transform-1.2.0.tgz",
- "integrity": "sha512-P2vSmIu38uIlvdcU7fDkyrxj33gTUy/ABO5ZUbGowxNCopBq/OoD42bP4UmMrJoPyk4Uqf0mu3mtWBhHCZD8yg==",
- "dev": true,
- "dependencies": {
- "cyclist": "^1.0.1",
- "inherits": "^2.0.3",
- "readable-stream": "^2.1.5"
- }
- },
- "node_modules/parchment": {
- "version": "1.1.4",
- "resolved": "https://registry.npmjs.org/parchment/-/parchment-1.1.4.tgz",
- "integrity": "sha512-J5FBQt/pM2inLzg4hEWmzQx/8h8D0CiDxaG3vyp9rKrQRSDgBlhjdP5jQGgosEajXPSQouXGHOmVdgo7QmJuOg=="
- },
- "node_modules/parse-asn1": {
- "version": "5.1.5",
- "resolved": "https://registry.npmjs.org/parse-asn1/-/parse-asn1-5.1.5.tgz",
- "integrity": "sha512-jkMYn1dcJqF6d5CpU689bq7w/b5ALS9ROVSpQDPrZsqqesUJii9qutvoT5ltGedNXMO2e16YUWIghG9KxaViTQ==",
- "dev": true,
- "dependencies": {
- "asn1.js": "^4.0.0",
- "browserify-aes": "^1.0.0",
- "create-hash": "^1.1.0",
- "evp_bytestokey": "^1.0.0",
- "pbkdf2": "^3.0.3",
- "safe-buffer": "^5.1.1"
- }
- },
- "node_modules/parse-glob": {
- "version": "3.0.4",
- "resolved": "https://registry.npmjs.org/parse-glob/-/parse-glob-3.0.4.tgz",
- "integrity": "sha1-ssN2z7EfNVE7rdFz7wu246OIORw=",
- "dev": true,
- "dependencies": {
- "glob-base": "^0.3.0",
- "is-dotfile": "^1.0.0",
- "is-extglob": "^1.0.0",
- "is-glob": "^2.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/parse-glob/node_modules/is-extglob": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-1.0.0.tgz",
- "integrity": "sha1-rEaBd8SUNAWgkvyPKXYMb/xiBsA=",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/parse-glob/node_modules/is-glob": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-2.0.1.tgz",
- "integrity": "sha1-0Jb5JqPe1WAPP9/ZEZjLCIjC2GM=",
- "dev": true,
- "dependencies": {
- "is-extglob": "^1.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/parse-json": {
- "version": "2.2.0",
- "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz",
- "integrity": "sha1-9ID0BDTvgHQfhGkJn43qGPVaTck=",
- "dependencies": {
- "error-ex": "^1.2.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/parse5": {
- "version": "5.1.1",
- "resolved": "https://registry.npmjs.org/parse5/-/parse5-5.1.1.tgz",
- "integrity": "sha512-ugq4DFI0Ptb+WWjAdOK16+u/nHfiIrcE+sh8kZMaM0WllQKLI9rOUq6c2b7cwPkXdzfQESqvoqK6ug7U/Yyzug==",
- "optional": true
- },
- "node_modules/parsejson": {
- "version": "0.0.3",
- "resolved": "https://registry.npmjs.org/parsejson/-/parsejson-0.0.3.tgz",
- "integrity": "sha1-q343WfIJ7OmUN5c/fQ8fZK4OZKs=",
- "dev": true,
- "dependencies": {
- "better-assert": "~1.0.0"
- }
- },
- "node_modules/parseqs": {
- "version": "0.0.5",
- "resolved": "https://registry.npmjs.org/parseqs/-/parseqs-0.0.5.tgz",
- "integrity": "sha1-1SCKNzjkZ2bikbouoXNoSSGouJ0=",
- "dev": true,
- "dependencies": {
- "better-assert": "~1.0.0"
- }
- },
- "node_modules/parseuri": {
- "version": "0.0.5",
- "resolved": "https://registry.npmjs.org/parseuri/-/parseuri-0.0.5.tgz",
- "integrity": "sha1-gCBKUNTbt3m/3G6+J3jZDkvOMgo=",
- "dev": true,
- "dependencies": {
- "better-assert": "~1.0.0"
- }
- },
- "node_modules/parseurl": {
- "version": "1.3.3",
- "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz",
- "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==",
- "dev": true,
- "engines": {
- "node": ">= 0.8"
- }
- },
- "node_modules/pascalcase": {
- "version": "0.1.1",
- "resolved": "https://registry.npmjs.org/pascalcase/-/pascalcase-0.1.1.tgz",
- "integrity": "sha1-s2PlXoAGym/iF4TS2yK9FdeRfxQ=",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/path-browserify": {
- "version": "0.0.1",
- "resolved": "https://registry.npmjs.org/path-browserify/-/path-browserify-0.0.1.tgz",
- "integrity": "sha512-BapA40NHICOS+USX9SN4tyhq+A2RrN/Ws5F0Z5aMHDp98Fl86lX8Oti8B7uN93L4Ifv4fHOEA+pQw87gmMO/lQ==",
- "dev": true
- },
- "node_modules/path-dirname": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/path-dirname/-/path-dirname-1.0.2.tgz",
- "integrity": "sha1-zDPSTVJeCZpTiMAzbG4yuRYGCeA=",
- "dev": true
- },
- "node_modules/path-exists": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-2.1.0.tgz",
- "integrity": "sha1-D+tsZPD8UY2adU3V77YscCJ2H0s=",
- "dependencies": {
- "pinkie-promise": "^2.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/path-is-absolute": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz",
- "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=",
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/path-is-inside": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/path-is-inside/-/path-is-inside-1.0.2.tgz",
- "integrity": "sha1-NlQX3t5EQw0cEa9hAn+s8HS9/FM=",
- "dev": true
- },
- "node_modules/path-key": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz",
- "integrity": "sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A=",
- "dev": true,
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/path-parse": {
- "version": "1.0.6",
- "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.6.tgz",
- "integrity": "sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw=="
- },
- "node_modules/path-to-regexp": {
- "version": "0.1.7",
- "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz",
- "integrity": "sha1-32BBeABfUi8V60SQ5yR6G/qmf4w=",
- "dev": true
- },
- "node_modules/path-type": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/path-type/-/path-type-1.1.0.tgz",
- "integrity": "sha1-WcRPfuSR2nBNpBXaWkBwuk+P5EE=",
- "dependencies": {
- "graceful-fs": "^4.1.2",
- "pify": "^2.0.0",
- "pinkie-promise": "^2.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/pbkdf2": {
- "version": "3.0.17",
- "resolved": "https://registry.npmjs.org/pbkdf2/-/pbkdf2-3.0.17.tgz",
- "integrity": "sha512-U/il5MsrZp7mGg3mSQfn742na2T+1/vHDCG5/iTI3X9MKUuYUZVLQhyRsg06mCgDBTd57TxzgZt7P+fYfjRLtA==",
- "dev": true,
- "dependencies": {
- "create-hash": "^1.1.2",
- "create-hmac": "^1.1.4",
- "ripemd160": "^2.0.1",
- "safe-buffer": "^5.0.1",
- "sha.js": "^2.4.8"
- },
- "engines": {
- "node": ">=0.12"
- }
- },
- "node_modules/pdfjs-dist": {
- "version": "2.0.943",
- "resolved": "https://registry.npmjs.org/pdfjs-dist/-/pdfjs-dist-2.0.943.tgz",
- "integrity": "sha512-iLhNcm4XceTHRaSU5o22ZGCm4YpuW5+rf4+BJFH/feBhMQLbCGBry+Jet8Q419QDI4qgARaIQzXuiNrsNWS8Yw==",
- "dependencies": {
- "node-ensure": "^0.0.0",
- "worker-loader": "^2.0.0"
- }
- },
- "node_modules/perfect-scrollbar": {
- "version": "1.4.0",
- "resolved": "https://registry.npmjs.org/perfect-scrollbar/-/perfect-scrollbar-1.4.0.tgz",
- "integrity": "sha512-/2Sk/khljhdrsamjJYS5NjrH+GKEHEwh7zFSiYyxROyYKagkE4kSn2zDQDRTOMo8mpT2jikxx6yI1dG7lNP/hw=="
- },
- "node_modules/performance-now": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz",
- "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns="
- },
- "node_modules/picomatch": {
- "version": "2.3.0",
- "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.0.tgz",
- "integrity": "sha512-lY1Q/PiJGC2zOv/z391WOTD+Z02bCgsFfvxoXXf6h7kv9o+WmsmzYqrAwY63sNgOxE4xEdq0WyUnXfKeBrSvYw==",
- "dev": true,
- "optional": true,
- "engines": {
- "node": ">=8.6"
- },
- "funding": {
- "url": "https://github.com/sponsors/jonschlinkert"
- }
- },
- "node_modules/pify": {
- "version": "2.3.0",
- "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz",
- "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=",
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/pinkie": {
- "version": "2.0.4",
- "resolved": "https://registry.npmjs.org/pinkie/-/pinkie-2.0.4.tgz",
- "integrity": "sha1-clVrgM+g1IqXToDnckjoDtT3+HA=",
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/pinkie-promise": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/pinkie-promise/-/pinkie-promise-2.0.1.tgz",
- "integrity": "sha1-ITXW36ejWMBprJsXh3YogihFD/o=",
- "dependencies": {
- "pinkie": "^2.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/pkg-dir": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-2.0.0.tgz",
- "integrity": "sha1-9tXREJ4Z1j7fQo4L1X4Sd3YVM0s=",
- "dev": true,
- "dependencies": {
- "find-up": "^2.1.0"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/pkg-dir/node_modules/find-up": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz",
- "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=",
- "dev": true,
- "dependencies": {
- "locate-path": "^2.0.0"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/portfinder": {
- "version": "1.0.17",
- "resolved": "https://registry.npmjs.org/portfinder/-/portfinder-1.0.17.tgz",
- "integrity": "sha512-syFcRIRzVI1BoEFOCaAiizwDolh1S1YXSodsVhncbhjzjZQulhczNRbqnUl9N31Q4dKGOXsNDqxC2BWBgSMqeQ==",
- "dev": true,
- "dependencies": {
- "async": "^1.5.2",
- "debug": "^2.2.0",
- "mkdirp": "0.5.x"
- },
- "engines": {
- "node": ">= 0.12.0"
- }
- },
- "node_modules/positioning": {
- "version": "1.5.1",
- "resolved": "https://registry.npmjs.org/positioning/-/positioning-1.5.1.tgz",
- "integrity": "sha512-Al3inO/WAlq7Q986pghpdWC9fsSCCKxOAwRt8ZGpcQn58SP8RJX7bjC53I7xeq9ngN+odcyF4B+wMdpyyiF5wQ=="
- },
- "node_modules/posix-character-classes": {
- "version": "0.1.1",
- "resolved": "https://registry.npmjs.org/posix-character-classes/-/posix-character-classes-0.1.1.tgz",
- "integrity": "sha1-AerA/jta9xoqbAL+q7jB/vfgDqs=",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/postcss": {
- "version": "7.0.13",
- "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.13.tgz",
- "integrity": "sha512-h8SY6kQTd1wISHWjz+E6cswdhMuyBZRb16pSTv3W4zYZ3/YbyWeJdNUeOXB5IdZqE1U76OUEjjjqsC3z2f3hVg==",
- "dev": true,
- "dependencies": {
- "chalk": "^2.4.2",
- "source-map": "^0.6.1",
- "supports-color": "^6.1.0"
- },
- "engines": {
- "node": ">=6.0.0"
- }
- },
- "node_modules/postcss-import": {
- "version": "12.0.1",
- "resolved": "https://registry.npmjs.org/postcss-import/-/postcss-import-12.0.1.tgz",
- "integrity": "sha512-3Gti33dmCjyKBgimqGxL3vcV8w9+bsHwO5UrBawp796+jdardbcFl4RP5w/76BwNL7aGzpKstIfF9I+kdE8pTw==",
- "dev": true,
- "dependencies": {
- "postcss": "^7.0.1",
- "postcss-value-parser": "^3.2.3",
- "read-cache": "^1.0.0",
- "resolve": "^1.1.7"
- },
- "engines": {
- "node": ">=6.0.0"
- }
- },
- "node_modules/postcss-load-config": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-2.1.0.tgz",
- "integrity": "sha512-4pV3JJVPLd5+RueiVVB+gFOAa7GWc25XQcMp86Zexzke69mKf6Nx9LRcQywdz7yZI9n1udOxmLuAwTBypypF8Q==",
- "dev": true,
- "dependencies": {
- "cosmiconfig": "^5.0.0",
- "import-cwd": "^2.0.0"
- },
- "engines": {
- "node": ">= 4"
- }
- },
- "node_modules/postcss-loader": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/postcss-loader/-/postcss-loader-3.0.0.tgz",
- "integrity": "sha512-cLWoDEY5OwHcAjDnkyRQzAXfs2jrKjXpO/HQFcc5b5u/r7aa471wdmChmwfnv7x2u840iat/wi0lQ5nbRgSkUA==",
- "dev": true,
- "dependencies": {
- "loader-utils": "^1.1.0",
- "postcss": "^7.0.0",
- "postcss-load-config": "^2.0.0",
- "schema-utils": "^1.0.0"
- },
- "engines": {
- "node": ">= 6"
- }
- },
- "node_modules/postcss-loader/node_modules/schema-utils": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-1.0.0.tgz",
- "integrity": "sha512-i27Mic4KovM/lnGsy8whRCHhc7VicJajAjTrYg11K9zfZXnYIt4k5F+kZkwjnrhKzLic/HLU4j11mjsz2G/75g==",
- "dev": true,
- "dependencies": {
- "ajv": "^6.1.0",
- "ajv-errors": "^1.0.0",
- "ajv-keywords": "^3.1.0"
- },
- "engines": {
- "node": ">= 4"
- }
- },
- "node_modules/postcss-value-parser": {
- "version": "3.3.1",
- "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz",
- "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==",
- "dev": true
- },
- "node_modules/postcss/node_modules/ansi-styles": {
- "version": "3.2.1",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
- "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",
- "dev": true,
- "dependencies": {
- "color-convert": "^1.9.0"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/postcss/node_modules/chalk": {
- "version": "2.4.2",
- "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",
- "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",
- "dev": true,
- "dependencies": {
- "ansi-styles": "^3.2.1",
- "escape-string-regexp": "^1.0.5",
- "supports-color": "^5.3.0"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/postcss/node_modules/chalk/node_modules/supports-color": {
- "version": "5.5.0",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",
- "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",
- "dev": true,
- "dependencies": {
- "has-flag": "^3.0.0"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/postcss/node_modules/source-map": {
- "version": "0.6.1",
- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
- "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/postcss/node_modules/supports-color": {
- "version": "6.1.0",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",
- "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==",
- "dev": true,
- "dependencies": {
- "has-flag": "^3.0.0"
- },
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/prelude-ls": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz",
- "integrity": "sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ=",
- "dev": true,
- "engines": {
- "node": ">= 0.8.0"
- }
- },
- "node_modules/preserve": {
- "version": "0.2.0",
- "resolved": "https://registry.npmjs.org/preserve/-/preserve-0.2.0.tgz",
- "integrity": "sha1-gV7R9uvGWSb4ZbMQwHE7yzMVzks=",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/printj": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/printj/-/printj-1.1.2.tgz",
- "integrity": "sha512-zA2SmoLaxZyArQTOPj5LXecR+RagfPSU5Kw1qP+jkWeNlrq+eJZyY2oS68SU1Z/7/myXM4lo9716laOFAVStCQ==",
- "bin": {
- "printj": "bin/printj.njs"
- },
- "engines": {
- "node": ">=0.8"
- }
- },
- "node_modules/process": {
- "version": "0.11.10",
- "resolved": "https://registry.npmjs.org/process/-/process-0.11.10.tgz",
- "integrity": "sha1-czIwDoQBYb2j5podHZGn1LwW8YI=",
- "dev": true,
- "engines": {
- "node": ">= 0.6.0"
- }
- },
- "node_modules/process-nextick-args": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz",
- "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag=="
- },
- "node_modules/promise": {
- "version": "7.3.1",
- "resolved": "https://registry.npmjs.org/promise/-/promise-7.3.1.tgz",
- "integrity": "sha512-nolQXZ/4L+bP/UGlkfaIujX9BKxGwmQ9OT4mOt5yvy8iK1h3wqTEJCijzGANTCCl9nWjY41juyAn2K3Q1hLLTg==",
- "dev": true,
- "optional": true,
- "dependencies": {
- "asap": "~2.0.3"
- }
- },
- "node_modules/promise-inflight": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/promise-inflight/-/promise-inflight-1.0.1.tgz",
- "integrity": "sha1-mEcocL8igTL8vdhoEputEsPAKeM=",
- "dev": true
- },
- "node_modules/promise-polyfill": {
- "version": "8.1.3",
- "resolved": "https://registry.npmjs.org/promise-polyfill/-/promise-polyfill-8.1.3.tgz",
- "integrity": "sha512-MG5r82wBzh7pSKDRa9y+vllNHz3e3d4CNj1PQE4BQYxLme0gKYYBm9YENq+UkEikyZ0XbiGWxYlVw3Rl9O/U8g=="
- },
- "node_modules/promise-retry": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/promise-retry/-/promise-retry-1.1.1.tgz",
- "integrity": "sha1-ZznpaOMFHaIM5kl/srUPaRHfPW0=",
- "dev": true,
- "dependencies": {
- "err-code": "^1.0.0",
- "retry": "^0.10.0"
- },
- "engines": {
- "node": ">=0.12"
- }
- },
- "node_modules/protobufjs": {
- "version": "6.8.8",
- "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-6.8.8.tgz",
- "integrity": "sha512-AAmHtD5pXgZfi7GMpllpO3q1Xw1OYldr+dMUlAnffGTAhqkg72WdmSY71uKBF/JuyiKs8psYbtKrhi0ASCD8qw==",
- "dependencies": {
- "@protobufjs/aspromise": "^1.1.2",
- "@protobufjs/base64": "^1.1.2",
- "@protobufjs/codegen": "^2.0.4",
- "@protobufjs/eventemitter": "^1.1.0",
- "@protobufjs/fetch": "^1.1.0",
- "@protobufjs/float": "^1.0.2",
- "@protobufjs/inquire": "^1.1.0",
- "@protobufjs/path": "^1.1.2",
- "@protobufjs/pool": "^1.1.0",
- "@protobufjs/utf8": "^1.1.0",
- "@types/long": "^4.0.0",
- "@types/node": "^10.1.0",
- "long": "^4.0.0"
- },
- "bin": {
- "pbjs": "bin/pbjs",
- "pbts": "bin/pbts"
- }
- },
- "node_modules/protobufjs/node_modules/@types/node": {
- "version": "10.17.13",
- "resolved": "https://registry.npmjs.org/@types/node/-/node-10.17.13.tgz",
- "integrity": "sha512-pMCcqU2zT4TjqYFrWtYHKal7Sl30Ims6ulZ4UFXxI4xbtQqK/qqKwkDoBFCfooRqqmRu9vY3xaJRwxSh673aYg=="
- },
- "node_modules/protoduck": {
- "version": "5.0.1",
- "resolved": "https://registry.npmjs.org/protoduck/-/protoduck-5.0.1.tgz",
- "integrity": "sha512-WxoCeDCoCBY55BMvj4cAEjdVUFGRWed9ZxPlqTKYyw1nDDTQ4pqmnIMAGfJlg7Dx35uB/M+PHJPTmGOvaCaPTg==",
- "dev": true,
- "dependencies": {
- "genfun": "^5.0.0"
- }
- },
- "node_modules/protractor": {
- "version": "5.1.2",
- "resolved": "https://registry.npmjs.org/protractor/-/protractor-5.1.2.tgz",
- "integrity": "sha1-myIXQXCaTGLVzVPGqt1UpxE36V8=",
- "dev": true,
- "dependencies": {
- "@types/node": "^6.0.46",
- "@types/q": "^0.0.32",
- "@types/selenium-webdriver": "~2.53.39",
- "blocking-proxy": "0.0.5",
- "chalk": "^1.1.3",
- "glob": "^7.0.3",
- "jasmine": "^2.5.3",
- "jasminewd2": "^2.1.0",
- "optimist": "~0.6.0",
- "q": "1.4.1",
- "saucelabs": "~1.3.0",
- "selenium-webdriver": "3.0.1",
- "source-map-support": "~0.4.0",
- "webdriver-js-extender": "^1.0.0",
- "webdriver-manager": "^12.0.6"
- },
- "bin": {
- "protractor": "bin/protractor",
- "webdriver-manager": "bin/webdriver-manager"
- },
- "engines": {
- "node": ">=6.9.x"
- }
- },
- "node_modules/protractor/node_modules/@types/node": {
- "version": "6.14.9",
- "resolved": "https://registry.npmjs.org/@types/node/-/node-6.14.9.tgz",
- "integrity": "sha512-leP/gxHunuazPdZaCvsCefPQxinqUDsCxCR5xaDUrY2MkYxQRFZZwU5e7GojyYsGB7QVtCi7iVEl/hoFXQYc+w==",
- "dev": true
- },
- "node_modules/protractor/node_modules/del": {
- "version": "2.2.2",
- "resolved": "https://registry.npmjs.org/del/-/del-2.2.2.tgz",
- "integrity": "sha1-wSyYHQZ4RshLyvhiz/kw2Qf/0ag=",
- "dev": true,
- "dependencies": {
- "globby": "^5.0.0",
- "is-path-cwd": "^1.0.0",
- "is-path-in-cwd": "^1.0.0",
- "object-assign": "^4.0.1",
- "pify": "^2.0.0",
- "pinkie-promise": "^2.0.0",
- "rimraf": "^2.2.8"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/protractor/node_modules/globby": {
- "version": "5.0.0",
- "resolved": "https://registry.npmjs.org/globby/-/globby-5.0.0.tgz",
- "integrity": "sha1-69hGZ8oNuzMLmbz8aOrCvFQ3Dg0=",
- "dev": true,
- "dependencies": {
- "array-union": "^1.0.1",
- "arrify": "^1.0.0",
- "glob": "^7.0.3",
- "object-assign": "^4.0.1",
- "pify": "^2.0.0",
- "pinkie-promise": "^2.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/protractor/node_modules/source-map": {
- "version": "0.5.7",
- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
- "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/protractor/node_modules/source-map-support": {
- "version": "0.4.18",
- "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.4.18.tgz",
- "integrity": "sha512-try0/JqxPLF9nOjvSta7tVondkP5dwgyLDjVoyMDlmjugT2lRZ1OfsrYTkCd2hkDnJTKRbO/Rl3orm8vlsUzbA==",
- "dev": true,
- "dependencies": {
- "source-map": "^0.5.6"
- }
- },
- "node_modules/protractor/node_modules/webdriver-manager": {
- "version": "12.1.7",
- "resolved": "https://registry.npmjs.org/webdriver-manager/-/webdriver-manager-12.1.7.tgz",
- "integrity": "sha512-XINj6b8CYuUYC93SG3xPkxlyUc3IJbD6Vvo75CVGuG9uzsefDzWQrhz0Lq8vbPxtb4d63CZdYophF8k8Or/YiA==",
- "dev": true,
- "dependencies": {
- "adm-zip": "^0.4.9",
- "chalk": "^1.1.1",
- "del": "^2.2.0",
- "glob": "^7.0.3",
- "ini": "^1.3.4",
- "minimist": "^1.2.0",
- "q": "^1.4.1",
- "request": "^2.87.0",
- "rimraf": "^2.5.2",
- "semver": "^5.3.0",
- "xml2js": "^0.4.17"
- },
- "bin": {
- "webdriver-manager": "bin/webdriver-manager"
- },
- "engines": {
- "node": ">=6.9.x"
- }
- },
- "node_modules/proxy-addr": {
- "version": "2.0.5",
- "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.5.tgz",
- "integrity": "sha512-t/7RxHXPH6cJtP0pRG6smSr9QJidhB+3kXu0KgXnbGYMgzEnUxRQ4/LDdfOwZEMyIh3/xHb8PX3t+lfL9z+YVQ==",
- "dev": true,
- "dependencies": {
- "forwarded": "~0.1.2",
- "ipaddr.js": "1.9.0"
- },
- "engines": {
- "node": ">= 0.10"
- }
- },
- "node_modules/prr": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/prr/-/prr-1.0.1.tgz",
- "integrity": "sha1-0/wRS6BplaRexok/SEzrHXj19HY=",
- "dev": true
- },
- "node_modules/pseudomap": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/pseudomap/-/pseudomap-1.0.2.tgz",
- "integrity": "sha1-8FKijacOYYkX7wqKw0wa5aaChrM="
- },
- "node_modules/psl": {
- "version": "1.7.0",
- "resolved": "https://registry.npmjs.org/psl/-/psl-1.7.0.tgz",
- "integrity": "sha512-5NsSEDv8zY70ScRnOTn7bK7eanl2MvFrOrS/R6x+dBt5g1ghnj9Zv90kO8GwT8gxcu2ANyFprnFYB85IogIJOQ=="
- },
- "node_modules/public-encrypt": {
- "version": "4.0.3",
- "resolved": "https://registry.npmjs.org/public-encrypt/-/public-encrypt-4.0.3.tgz",
- "integrity": "sha512-zVpa8oKZSz5bTMTFClc1fQOnyyEzpl5ozpi1B5YcvBrdohMjH2rfsBtyXcuNuwjsDIXmBYlF2N5FlJYhR29t8Q==",
- "dev": true,
- "dependencies": {
- "bn.js": "^4.1.0",
- "browserify-rsa": "^4.0.0",
- "create-hash": "^1.1.0",
- "parse-asn1": "^5.0.0",
- "randombytes": "^2.0.1",
- "safe-buffer": "^5.1.2"
- }
- },
- "node_modules/pump": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/pump/-/pump-2.0.1.tgz",
- "integrity": "sha512-ruPMNRkN3MHP1cWJc9OWr+T/xDP0jhXYCLfJcBuX54hhfIBnaQmAUMfDcG4DM5UMWByBbJY69QSphm3jtDKIkA==",
- "dev": true,
- "dependencies": {
- "end-of-stream": "^1.1.0",
- "once": "^1.3.1"
- }
- },
- "node_modules/pumpify": {
- "version": "1.5.1",
- "resolved": "https://registry.npmjs.org/pumpify/-/pumpify-1.5.1.tgz",
- "integrity": "sha512-oClZI37HvuUJJxSKKrC17bZ9Cu0ZYhEAGPsPUy9KlMUmv9dKX2o77RUmq7f3XjIxbwyGwYzbzQ1L2Ks8sIradQ==",
- "dev": true,
- "dependencies": {
- "duplexify": "^3.6.0",
- "inherits": "^2.0.3",
- "pump": "^2.0.0"
- }
- },
- "node_modules/punycode": {
- "version": "2.1.1",
- "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz",
- "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==",
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/q": {
- "version": "1.4.1",
- "resolved": "https://registry.npmjs.org/q/-/q-1.4.1.tgz",
- "integrity": "sha1-VXBbzZPF82c1MMLCy8DCs63cKG4=",
- "dev": true,
- "engines": {
- "node": ">=0.6.0",
- "teleport": ">=0.2.0"
- }
- },
- "node_modules/qjobs": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/qjobs/-/qjobs-1.2.0.tgz",
- "integrity": "sha512-8YOJEHtxpySA3fFDyCRxA+UUV+fA+rTWnuWvylOK/NCjhY+b4ocCtmu8TtsWb+mYeU+GCHf/S66KZF/AsteKHg==",
- "dev": true,
- "engines": {
- "node": ">=0.9"
- }
- },
- "node_modules/qs": {
- "version": "6.5.2",
- "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.2.tgz",
- "integrity": "sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA==",
- "engines": {
- "node": ">=0.6"
- }
- },
- "node_modules/querystring": {
- "version": "0.2.0",
- "resolved": "https://registry.npmjs.org/querystring/-/querystring-0.2.0.tgz",
- "integrity": "sha1-sgmEkgO7Jd+CDadW50cAWHhSFiA=",
- "dev": true,
- "engines": {
- "node": ">=0.4.x"
- }
- },
- "node_modules/querystring-es3": {
- "version": "0.2.1",
- "resolved": "https://registry.npmjs.org/querystring-es3/-/querystring-es3-0.2.1.tgz",
- "integrity": "sha1-nsYfeQSYdXB9aUFFlv2Qek1xHnM=",
- "dev": true,
- "engines": {
- "node": ">=0.4.x"
- }
- },
- "node_modules/querystringify": {
- "version": "2.1.1",
- "resolved": "https://registry.npmjs.org/querystringify/-/querystringify-2.1.1.tgz",
- "integrity": "sha512-w7fLxIRCRT7U8Qu53jQnJyPkYZIaR4n5151KMfcJlO/A9397Wxb1amJvROTK6TOnp7PfoAmg/qXiNHI+08jRfA==",
- "dev": true
- },
- "node_modules/quill": {
- "version": "1.3.7",
- "resolved": "https://registry.npmjs.org/quill/-/quill-1.3.7.tgz",
- "integrity": "sha512-hG/DVzh/TiknWtE6QmWAF/pxoZKYxfe3J/d/+ShUWkDvvkZQVTPeVmUJVu1uE6DDooC4fWTiCLh84ul89oNz5g==",
- "dependencies": {
- "clone": "^2.1.1",
- "deep-equal": "^1.0.1",
- "eventemitter3": "^2.0.3",
- "extend": "^3.0.2",
- "parchment": "^1.1.4",
- "quill-delta": "^3.6.2"
- }
- },
- "node_modules/quill-delta": {
- "version": "3.6.3",
- "resolved": "https://registry.npmjs.org/quill-delta/-/quill-delta-3.6.3.tgz",
- "integrity": "sha512-wdIGBlcX13tCHOXGMVnnTVFtGRLoP0imqxM696fIPwIf5ODIYUHIvHbZcyvGlZFiFhK5XzDC2lpjbxRhnM05Tg==",
- "dependencies": {
- "deep-equal": "^1.0.1",
- "extend": "^3.0.2",
- "fast-diff": "1.1.2"
- },
- "engines": {
- "node": ">=0.10"
- }
- },
- "node_modules/randomatic": {
- "version": "3.1.1",
- "resolved": "https://registry.npmjs.org/randomatic/-/randomatic-3.1.1.tgz",
- "integrity": "sha512-TuDE5KxZ0J461RVjrJZCJc+J+zCkTb1MbH9AQUq68sMhOMcy9jLcb3BrZKgp9q9Ncltdg4QVqWrH02W2EFFVYw==",
- "dev": true,
- "dependencies": {
- "is-number": "^4.0.0",
- "kind-of": "^6.0.0",
- "math-random": "^1.0.1"
- },
- "engines": {
- "node": ">= 0.10.0"
- }
- },
- "node_modules/randomatic/node_modules/is-number": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/is-number/-/is-number-4.0.0.tgz",
- "integrity": "sha512-rSklcAIlf1OmFdyAqbnWTLVelsQ58uvZ66S/ZyawjWqIviTWCjg2PzVGw8WUA+nNuPTqb4wgA+NszrJ+08LlgQ==",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/randombytes": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz",
- "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==",
- "dev": true,
- "dependencies": {
- "safe-buffer": "^5.1.0"
- }
- },
- "node_modules/randomfill": {
- "version": "1.0.4",
- "resolved": "https://registry.npmjs.org/randomfill/-/randomfill-1.0.4.tgz",
- "integrity": "sha512-87lcbR8+MhcWcUiQ+9e+Rwx8MyR2P7qnt15ynUlbm3TU/fjbgz4GsvfSUDTemtCCtVCqb4ZcEFlyPNTh9bBTLw==",
- "dev": true,
- "dependencies": {
- "randombytes": "^2.0.5",
- "safe-buffer": "^5.1.0"
- }
- },
- "node_modules/range-parser": {
- "version": "1.2.1",
- "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz",
- "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==",
- "dev": true,
- "engines": {
- "node": ">= 0.6"
- }
- },
- "node_modules/raw-body": {
- "version": "2.4.0",
- "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.4.0.tgz",
- "integrity": "sha512-4Oz8DUIwdvoa5qMJelxipzi/iJIi40O5cGV1wNYp5hvZP8ZN0T+jiNkL0QepXs+EsQ9XJ8ipEDoiH70ySUJP3Q==",
- "dev": true,
- "dependencies": {
- "bytes": "3.1.0",
- "http-errors": "1.7.2",
- "iconv-lite": "0.4.24",
- "unpipe": "1.0.0"
- },
- "engines": {
- "node": ">= 0.8"
- }
- },
- "node_modules/raw-body/node_modules/bytes": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.0.tgz",
- "integrity": "sha512-zauLjrfCG+xvoyaqLoV8bLVXXNGC4JqlxFCutSDWA6fJrTo2ZuvLYTqZ7aHBLZSMOopbzwv8f+wZcVzfVTI2Dg==",
- "dev": true,
- "engines": {
- "node": ">= 0.8"
- }
- },
- "node_modules/raw-loader": {
- "version": "0.5.1",
- "resolved": "https://registry.npmjs.org/raw-loader/-/raw-loader-0.5.1.tgz",
- "integrity": "sha1-DD0L6u2KAclm2Xh793goElKpeao=",
- "dev": true
- },
- "node_modules/read-cache": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/read-cache/-/read-cache-1.0.0.tgz",
- "integrity": "sha1-5mTvMRYRZsl1HNvo28+GtftY93Q=",
- "dev": true,
- "dependencies": {
- "pify": "^2.3.0"
- }
- },
- "node_modules/read-pkg": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-1.1.0.tgz",
- "integrity": "sha1-9f+qXs0pyzHAR0vKfXVra7KePyg=",
- "dependencies": {
- "load-json-file": "^1.0.0",
- "normalize-package-data": "^2.3.2",
- "path-type": "^1.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/read-pkg-up": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-1.0.1.tgz",
- "integrity": "sha1-nWPBMnbAZZGNV/ACpX9AobZD+wI=",
- "dependencies": {
- "find-up": "^1.0.0",
- "read-pkg": "^1.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/readable-stream": {
- "version": "2.3.7",
- "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz",
- "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==",
- "dependencies": {
- "core-util-is": "~1.0.0",
- "inherits": "~2.0.3",
- "isarray": "~1.0.0",
- "process-nextick-args": "~2.0.0",
- "safe-buffer": "~5.1.1",
- "string_decoder": "~1.1.1",
- "util-deprecate": "~1.0.1"
- }
- },
- "node_modules/readable-stream/node_modules/safe-buffer": {
- "version": "5.1.2",
- "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
- "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="
- },
- "node_modules/readdirp": {
- "version": "2.2.1",
- "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-2.2.1.tgz",
- "integrity": "sha512-1JU/8q+VgFZyxwrJ+SVIOsh+KywWGpds3NTqikiKpDMZWScmAYyKIgqkO+ARvNWJfXeXR1zxz7aHF4u4CyH6vQ==",
- "dev": true,
- "dependencies": {
- "graceful-fs": "^4.1.11",
- "micromatch": "^3.1.10",
- "readable-stream": "^2.0.2"
- },
- "engines": {
- "node": ">=0.10"
- }
- },
- "node_modules/recordrtc": {
- "version": "5.5.9",
- "resolved": "https://registry.npmjs.org/recordrtc/-/recordrtc-5.5.9.tgz",
- "integrity": "sha512-6T1tn80nRfsXrAoYWINwz+hBKk+pB5Im4I0BS52Og1ruQvrEdV3IUcm+AKwLMHNyBAhJ2DaVa+9pukTRxMF/uA=="
- },
- "node_modules/redent": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/redent/-/redent-1.0.0.tgz",
- "integrity": "sha1-z5Fqsf1fHxbfsggi3W7H9zDCr94=",
- "dependencies": {
- "indent-string": "^2.1.0",
- "strip-indent": "^1.0.1"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/reflect-metadata": {
- "version": "0.1.13",
- "resolved": "https://registry.npmjs.org/reflect-metadata/-/reflect-metadata-0.1.13.tgz",
- "integrity": "sha512-Ts1Y/anZELhSsjMcU605fU9RE4Oi3p5ORujwbIKXfWa+0Zxs510Qrmrce5/Jowq3cHSZSJqBjypxmHarc+vEWg=="
- },
- "node_modules/regenerate": {
- "version": "1.4.0",
- "resolved": "https://registry.npmjs.org/regenerate/-/regenerate-1.4.0.tgz",
- "integrity": "sha512-1G6jJVDWrt0rK99kBjvEtziZNCICAuvIPkSiUFIQxVP06RCVpq3dmDo2oi6ABpYaDYaTRr67BEhL8r1wgEZZKg==",
- "dev": true
- },
- "node_modules/regenerator-runtime": {
- "version": "0.11.1",
- "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz",
- "integrity": "sha512-MguG95oij0fC3QV3URf4V2SDYGJhJnJGqvIIgdECeODCT98wSWDAJ94SSuVpYQUoTcGUIL6L4yNB7j1DFFHSBg=="
- },
- "node_modules/regex-cache": {
- "version": "0.4.4",
- "resolved": "https://registry.npmjs.org/regex-cache/-/regex-cache-0.4.4.tgz",
- "integrity": "sha512-nVIZwtCjkC9YgvWkpM55B5rBhBYRZhAaJbgcFYXXsHnbZ9UZI9nnVWYZpBlCqv9ho2eZryPnWrZGsOdPwVWXWQ==",
- "dev": true,
- "dependencies": {
- "is-equal-shallow": "^0.1.3"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/regex-not": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/regex-not/-/regex-not-1.0.2.tgz",
- "integrity": "sha512-J6SDjUgDxQj5NusnOtdFxDwN/+HWykR8GELwctJ7mdqhcyy1xEc4SRFHUXvxTp661YaVKAjfRLZ9cCqS6tn32A==",
- "dev": true,
- "dependencies": {
- "extend-shallow": "^3.0.2",
- "safe-regex": "^1.1.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/regexp.prototype.flags": {
- "version": "1.3.0",
- "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.3.0.tgz",
- "integrity": "sha512-2+Q0C5g951OlYlJz6yu5/M33IcsESLlLfsyIaLJaG4FA2r4yP8MvVMJUUP/fVBkSpbbbZlS5gynbEWLipiiXiQ==",
- "dependencies": {
- "define-properties": "^1.1.3",
- "es-abstract": "^1.17.0-next.1"
- },
- "engines": {
- "node": ">= 0.4"
- }
- },
- "node_modules/regexpu-core": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-1.0.0.tgz",
- "integrity": "sha1-hqdj9Y7k18L2sQLkdkBQ3n7ZDGs=",
- "dev": true,
- "dependencies": {
- "regenerate": "^1.2.1",
- "regjsgen": "^0.2.0",
- "regjsparser": "^0.1.4"
- }
- },
- "node_modules/regjsgen": {
- "version": "0.2.0",
- "resolved": "https://registry.npmjs.org/regjsgen/-/regjsgen-0.2.0.tgz",
- "integrity": "sha1-bAFq3qxVT3WCP+N6wFuS1aTtsfc=",
- "dev": true
- },
- "node_modules/regjsparser": {
- "version": "0.1.5",
- "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.1.5.tgz",
- "integrity": "sha1-fuj4Tcb6eS0/0K4ijSS9lJ6tIFw=",
- "dev": true,
- "dependencies": {
- "jsesc": "~0.5.0"
- },
- "bin": {
- "regjsparser": "bin/parser"
- }
- },
- "node_modules/regjsparser/node_modules/jsesc": {
- "version": "0.5.0",
- "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-0.5.0.tgz",
- "integrity": "sha1-597mbjXW/Bb3EP6R1c9p9w8IkR0=",
- "dev": true,
- "bin": {
- "jsesc": "bin/jsesc"
- }
- },
- "node_modules/remove-trailing-separator": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/remove-trailing-separator/-/remove-trailing-separator-1.1.0.tgz",
- "integrity": "sha1-wkvOKig62tW8P1jg1IJJuSN52O8=",
- "dev": true
- },
- "node_modules/repeat-element": {
- "version": "1.1.3",
- "resolved": "https://registry.npmjs.org/repeat-element/-/repeat-element-1.1.3.tgz",
- "integrity": "sha512-ahGq0ZnV5m5XtZLMb+vP76kcAM5nkLqk0lpqAuojSKGgQtn4eRi4ZZGm2olo2zKFH+sMsWaqOCW1dqAnOru72g==",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/repeat-string": {
- "version": "1.6.1",
- "resolved": "https://registry.npmjs.org/repeat-string/-/repeat-string-1.6.1.tgz",
- "integrity": "sha1-jcrkcOHIirwtYA//Sndihtp15jc=",
- "dev": true,
- "engines": {
- "node": ">=0.10"
- }
- },
- "node_modules/repeating": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/repeating/-/repeating-2.0.1.tgz",
- "integrity": "sha1-UhTFOpJtNVJwdSf7q0FdvAjQbdo=",
- "dependencies": {
- "is-finite": "^1.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/request": {
- "version": "2.88.0",
- "resolved": "https://registry.npmjs.org/request/-/request-2.88.0.tgz",
- "integrity": "sha512-NAqBSrijGLZdM0WZNsInLJpkJokL72XYjUpnB0iwsRgxh7dB6COrHnTBNwN0E+lHDAJzu7kLAkDeY08z2/A0hg==",
- "dependencies": {
- "aws-sign2": "~0.7.0",
- "aws4": "^1.8.0",
- "caseless": "~0.12.0",
- "combined-stream": "~1.0.6",
- "extend": "~3.0.2",
- "forever-agent": "~0.6.1",
- "form-data": "~2.3.2",
- "har-validator": "~5.1.0",
- "http-signature": "~1.2.0",
- "is-typedarray": "~1.0.0",
- "isstream": "~0.1.2",
- "json-stringify-safe": "~5.0.1",
- "mime-types": "~2.1.19",
- "oauth-sign": "~0.9.0",
- "performance-now": "^2.1.0",
- "qs": "~6.5.2",
- "safe-buffer": "^5.1.2",
- "tough-cookie": "~2.4.3",
- "tunnel-agent": "^0.6.0",
- "uuid": "^3.3.2"
- },
- "engines": {
- "node": ">= 4"
- }
- },
- "node_modules/require-directory": {
- "version": "2.1.1",
- "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz",
- "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=",
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/require-main-filename": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-1.0.1.tgz",
- "integrity": "sha1-l/cXtp1IeE9fUmpsWqj/3aBVpNE=",
- "dev": true
- },
- "node_modules/requires-port": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/requires-port/-/requires-port-1.0.0.tgz",
- "integrity": "sha1-kl0mAdOaxIXgkc8NpcbmlNw9yv8=",
- "dev": true
- },
- "node_modules/resize-observer-polyfill": {
- "version": "1.5.1",
- "resolved": "https://registry.npmjs.org/resize-observer-polyfill/-/resize-observer-polyfill-1.5.1.tgz",
- "integrity": "sha512-LwZrotdHOo12nQuZlHEmtuXdqGoOD0OhaxopaNFxWzInpEgaLWoVuAMbTzixuosCx2nEG58ngzW3vxdWoxIgdg=="
- },
- "node_modules/resolve": {
- "version": "1.14.2",
- "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.14.2.tgz",
- "integrity": "sha512-EjlOBLBO1kxsUxsKjLt7TAECyKW6fOh1VRkykQkKGzcBbjjPIxBqGh0jf7GJ3k/f5mxMqW3htMD3WdTUVtW8HQ==",
- "dependencies": {
- "path-parse": "^1.0.6"
- }
- },
- "node_modules/resolve-cwd": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/resolve-cwd/-/resolve-cwd-2.0.0.tgz",
- "integrity": "sha1-AKn3OHVW4nA46uIyyqNypqWbZlo=",
- "dev": true,
- "dependencies": {
- "resolve-from": "^3.0.0"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/resolve-from": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-3.0.0.tgz",
- "integrity": "sha1-six699nWiBvItuZTM17rywoYh0g=",
- "dev": true,
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/resolve-url": {
- "version": "0.2.1",
- "resolved": "https://registry.npmjs.org/resolve-url/-/resolve-url-0.2.1.tgz",
- "integrity": "sha1-LGN/53yJOv0qZj/iGqkIAGjiBSo=",
- "dev": true
- },
- "node_modules/ret": {
- "version": "0.1.15",
- "resolved": "https://registry.npmjs.org/ret/-/ret-0.1.15.tgz",
- "integrity": "sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg==",
- "dev": true,
- "engines": {
- "node": ">=0.12"
- }
- },
- "node_modules/retry": {
- "version": "0.10.1",
- "resolved": "https://registry.npmjs.org/retry/-/retry-0.10.1.tgz",
- "integrity": "sha1-52OI0heZLCUnUCQdPTlW/tmNj/Q=",
- "dev": true,
- "engines": {
- "node": "*"
- }
- },
- "node_modules/rimraf": {
- "version": "2.7.1",
- "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz",
- "integrity": "sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==",
- "dependencies": {
- "glob": "^7.1.3"
- },
- "bin": {
- "rimraf": "bin.js"
- }
- },
- "node_modules/ripemd160": {
- "version": "2.0.2",
- "resolved": "https://registry.npmjs.org/ripemd160/-/ripemd160-2.0.2.tgz",
- "integrity": "sha512-ii4iagi25WusVoiC4B4lq7pbXfAp3D9v5CwfkY33vffw2+pkDjY1D8GaN7spsxvCSx8dkPqOZCEZyfxcmJG2IA==",
- "dev": true,
- "dependencies": {
- "hash-base": "^3.0.0",
- "inherits": "^2.0.1"
- }
- },
- "node_modules/run-queue": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/run-queue/-/run-queue-1.0.3.tgz",
- "integrity": "sha1-6Eg5bwV9Ij8kOGkkYY4laUFh7Ec=",
- "dev": true,
- "dependencies": {
- "aproba": "^1.1.1"
- }
- },
- "node_modules/rw": {
- "version": "1.3.3",
- "resolved": "https://registry.npmjs.org/rw/-/rw-1.3.3.tgz",
- "integrity": "sha1-P4Yt+pGrdmsUiF700BEkv9oHT7Q="
- },
- "node_modules/rxjs": {
- "version": "6.5.4",
- "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.5.4.tgz",
- "integrity": "sha512-naMQXcgEo3csAEGvw/NydRA0fuS2nDZJiw1YUWFKU7aPPAPGZEsD4Iimit96qwCieH6y614MCLYwdkrWx7z/7Q==",
- "dependencies": {
- "tslib": "^1.9.0"
- },
- "engines": {
- "npm": ">=2.0.0"
- }
- },
- "node_modules/rxjs-compat": {
- "version": "6.5.4",
- "resolved": "https://registry.npmjs.org/rxjs-compat/-/rxjs-compat-6.5.4.tgz",
- "integrity": "sha512-rkn+lbOHUQOurdd74J/hjmDsG9nFx0z66fvnbs8M95nrtKvNqCKdk7iZqdY51CGmDemTQk+kUPy4s8HVOHtkfA=="
- },
- "node_modules/safe-buffer": {
- "version": "5.2.0",
- "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.0.tgz",
- "integrity": "sha512-fZEwUGbVl7kouZs1jCdMLdt95hdIv0ZeHg6L7qPeciMZhZ+/gdesW4wgTARkrFWEpspjEATAzUGPG8N2jJiwbg=="
- },
- "node_modules/safe-regex": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/safe-regex/-/safe-regex-1.1.0.tgz",
- "integrity": "sha1-QKNmnzsHfR6UPURinhV91IAjvy4=",
- "dev": true,
- "dependencies": {
- "ret": "~0.1.10"
- }
- },
- "node_modules/safer-buffer": {
- "version": "2.1.2",
- "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz",
- "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg=="
- },
- "node_modules/sass-graph": {
- "version": "2.2.5",
- "resolved": "https://registry.npmjs.org/sass-graph/-/sass-graph-2.2.5.tgz",
- "integrity": "sha512-VFWDAHOe6mRuT4mZRd4eKE+d8Uedrk6Xnh7Sh9b4NGufQLQjOrvf/MQoOdx+0s92L89FeyUUNfU597j/3uNpag==",
- "dependencies": {
- "glob": "^7.0.0",
- "lodash": "^4.0.0",
- "scss-tokenizer": "^0.2.3",
- "yargs": "^13.3.2"
- },
- "bin": {
- "sassgraph": "bin/sassgraph"
- }
- },
- "node_modules/sass-graph/node_modules/ansi-regex": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz",
- "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==",
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/sass-graph/node_modules/ansi-styles": {
- "version": "3.2.1",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
- "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",
- "dependencies": {
- "color-convert": "^1.9.0"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/sass-graph/node_modules/cliui": {
- "version": "5.0.0",
- "resolved": "https://registry.npmjs.org/cliui/-/cliui-5.0.0.tgz",
- "integrity": "sha512-PYeGSEmmHM6zvoef2w8TPzlrnNpXIjTipYK780YswmIP9vjxmd6Y2a3CB2Ks6/AU8NHjZugXvo8w3oWM2qnwXA==",
- "dependencies": {
- "string-width": "^3.1.0",
- "strip-ansi": "^5.2.0",
- "wrap-ansi": "^5.1.0"
- }
- },
- "node_modules/sass-graph/node_modules/find-up": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz",
- "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==",
- "dependencies": {
- "locate-path": "^3.0.0"
- },
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/sass-graph/node_modules/get-caller-file": {
- "version": "2.0.5",
- "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz",
- "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==",
- "engines": {
- "node": "6.* || 8.* || >= 10.*"
- }
- },
- "node_modules/sass-graph/node_modules/is-fullwidth-code-point": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz",
- "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=",
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/sass-graph/node_modules/locate-path": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz",
- "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==",
- "dependencies": {
- "p-locate": "^3.0.0",
- "path-exists": "^3.0.0"
- },
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/sass-graph/node_modules/p-limit": {
- "version": "2.3.0",
- "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz",
- "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==",
- "dependencies": {
- "p-try": "^2.0.0"
- },
- "engines": {
- "node": ">=6"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
- "node_modules/sass-graph/node_modules/p-locate": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz",
- "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==",
- "dependencies": {
- "p-limit": "^2.0.0"
- },
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/sass-graph/node_modules/p-try": {
- "version": "2.2.0",
- "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz",
- "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==",
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/sass-graph/node_modules/path-exists": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz",
- "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=",
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/sass-graph/node_modules/require-main-filename": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-2.0.0.tgz",
- "integrity": "sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg=="
- },
- "node_modules/sass-graph/node_modules/string-width": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/string-width/-/string-width-3.1.0.tgz",
- "integrity": "sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w==",
- "dependencies": {
- "emoji-regex": "^7.0.1",
- "is-fullwidth-code-point": "^2.0.0",
- "strip-ansi": "^5.1.0"
- },
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/sass-graph/node_modules/strip-ansi": {
- "version": "5.2.0",
- "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz",
- "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==",
- "dependencies": {
- "ansi-regex": "^4.1.0"
- },
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/sass-graph/node_modules/wrap-ansi": {
- "version": "5.1.0",
- "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-5.1.0.tgz",
- "integrity": "sha512-QC1/iN/2/RPVJ5jYK8BGttj5z83LmSKmvbvrXPNCLZSEb32KKVDJDl/MOt2N01qU2H/FkzEa9PKto1BqDjtd7Q==",
- "dependencies": {
- "ansi-styles": "^3.2.0",
- "string-width": "^3.0.0",
- "strip-ansi": "^5.0.0"
- },
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/sass-graph/node_modules/y18n": {
- "version": "4.0.3",
- "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.3.tgz",
- "integrity": "sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ=="
- },
- "node_modules/sass-graph/node_modules/yargs": {
- "version": "13.3.2",
- "resolved": "https://registry.npmjs.org/yargs/-/yargs-13.3.2.tgz",
- "integrity": "sha512-AX3Zw5iPruN5ie6xGRIDgqkT+ZhnRlZMLMHAs8tg7nRruy2Nb+i5o9bwghAogtM08q1dpr2LVoS8KSTMYpWXUw==",
- "dependencies": {
- "cliui": "^5.0.0",
- "find-up": "^3.0.0",
- "get-caller-file": "^2.0.1",
- "require-directory": "^2.1.1",
- "require-main-filename": "^2.0.0",
- "set-blocking": "^2.0.0",
- "string-width": "^3.0.0",
- "which-module": "^2.0.0",
- "y18n": "^4.0.0",
- "yargs-parser": "^13.1.2"
- }
- },
- "node_modules/sass-loader": {
- "version": "7.1.0",
- "resolved": "https://registry.npmjs.org/sass-loader/-/sass-loader-7.1.0.tgz",
- "integrity": "sha512-+G+BKGglmZM2GUSfT9TLuEp6tzehHPjAMoRRItOojWIqIGPloVCMhNIQuG639eJ+y033PaGTSjLaTHts8Kw79w==",
- "dev": true,
- "dependencies": {
- "clone-deep": "^2.0.1",
- "loader-utils": "^1.0.1",
- "lodash.tail": "^4.1.1",
- "neo-async": "^2.5.0",
- "pify": "^3.0.0",
- "semver": "^5.5.0"
- },
- "engines": {
- "node": ">= 6.9.0 || >= 8.9.0"
- }
- },
- "node_modules/sass-loader/node_modules/pify": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz",
- "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=",
- "dev": true,
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/saucelabs": {
- "version": "1.3.0",
- "resolved": "https://registry.npmjs.org/saucelabs/-/saucelabs-1.3.0.tgz",
- "integrity": "sha1-0kDoAJ33+ocwbsRXimm6O1xCT+4=",
- "dev": true,
- "dependencies": {
- "https-proxy-agent": "^1.0.0"
- },
- "engines": {
- "node": "*"
- }
- },
- "node_modules/saucelabs/node_modules/agent-base": {
- "version": "2.1.1",
- "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-2.1.1.tgz",
- "integrity": "sha1-1t4Q1a9hMtW9aSQn1G/FOFOQlMc=",
- "dev": true,
- "dependencies": {
- "extend": "~3.0.0",
- "semver": "~5.0.1"
- }
- },
- "node_modules/saucelabs/node_modules/https-proxy-agent": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-1.0.0.tgz",
- "integrity": "sha1-NffabEjOTdv6JkiRrFk+5f+GceY=",
- "dev": true,
- "dependencies": {
- "agent-base": "2",
- "debug": "2",
- "extend": "3"
- }
- },
- "node_modules/saucelabs/node_modules/semver": {
- "version": "5.0.3",
- "resolved": "https://registry.npmjs.org/semver/-/semver-5.0.3.tgz",
- "integrity": "sha1-d0Zt5YnNXTyV8TiqeLxWmjy10no=",
- "dev": true,
- "bin": {
- "semver": "bin/semver"
- }
- },
- "node_modules/sax": {
- "version": "1.2.4",
- "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz",
- "integrity": "sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw=="
- },
- "node_modules/schema-utils": {
- "version": "0.4.7",
- "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-0.4.7.tgz",
- "integrity": "sha512-v/iwU6wvwGK8HbU9yi3/nhGzP0yGSuhQMzL6ySiec1FSrZZDkhm4noOSWzrNFo/jEc+SJY6jRTwuwbSXJPDUnQ==",
- "dependencies": {
- "ajv": "^6.1.0",
- "ajv-keywords": "^3.1.0"
- },
- "engines": {
- "node": ">= 4"
- }
- },
- "node_modules/screenfull": {
- "version": "3.3.3",
- "resolved": "https://registry.npmjs.org/screenfull/-/screenfull-3.3.3.tgz",
- "integrity": "sha512-DzYUuXr+OV2BDvYXaYzlYgJd4WXZZ2CW5NFC7Kw6TUCpzXJAx4MwlVD6CH+Mu6fi8rfAQIQfqdFZ4jtDsEkWig==",
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/scss-tokenizer": {
- "version": "0.2.3",
- "resolved": "https://registry.npmjs.org/scss-tokenizer/-/scss-tokenizer-0.2.3.tgz",
- "integrity": "sha1-jrBtualyMzOCTT9VMGQRSYR85dE=",
- "dependencies": {
- "js-base64": "^2.1.8",
- "source-map": "^0.4.2"
- }
- },
- "node_modules/select-hose": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/select-hose/-/select-hose-2.0.0.tgz",
- "integrity": "sha1-Yl2GWPhlr0Psliv8N2o3NZpJlMo=",
- "dev": true
- },
- "node_modules/selenium-webdriver": {
- "version": "3.0.1",
- "resolved": "https://registry.npmjs.org/selenium-webdriver/-/selenium-webdriver-3.0.1.tgz",
- "integrity": "sha1-ot6l2kqX9mcuiefKcnbO+jZRR6c=",
- "dev": true,
- "dependencies": {
- "adm-zip": "^0.4.7",
- "rimraf": "^2.5.4",
- "tmp": "0.0.30",
- "xml2js": "^0.4.17"
- },
- "engines": {
- "node": ">= 6.9.0"
- }
- },
- "node_modules/selenium-webdriver/node_modules/tmp": {
- "version": "0.0.30",
- "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.30.tgz",
- "integrity": "sha1-ckGdSovn1s51FI/YsyTlk6cRwu0=",
- "dev": true,
- "dependencies": {
- "os-tmpdir": "~1.0.1"
- },
- "engines": {
- "node": ">=0.4.0"
- }
- },
- "node_modules/selfsigned": {
- "version": "1.10.11",
- "resolved": "https://registry.npmjs.org/selfsigned/-/selfsigned-1.10.11.tgz",
- "integrity": "sha512-aVmbPOfViZqOZPgRBT0+3u4yZFHpmnIghLMlAcb5/xhp5ZtB/RVnKhz5vl2M32CLXAqR4kha9zfhNg0Lf/sxKA==",
- "dev": true,
- "dependencies": {
- "node-forge": "^0.10.0"
- }
- },
- "node_modules/semver": {
- "version": "5.7.1",
- "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz",
- "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==",
- "bin": {
- "semver": "bin/semver"
- }
- },
- "node_modules/semver-dsl": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/semver-dsl/-/semver-dsl-1.0.1.tgz",
- "integrity": "sha1-02eN5VVeimH2Ke7QJTZq5fJzQKA=",
- "dev": true,
- "dependencies": {
- "semver": "^5.3.0"
- }
- },
- "node_modules/semver-intersect": {
- "version": "1.4.0",
- "resolved": "https://registry.npmjs.org/semver-intersect/-/semver-intersect-1.4.0.tgz",
- "integrity": "sha512-d8fvGg5ycKAq0+I6nfWeCx6ffaWJCsBYU0H2Rq56+/zFePYfT8mXkB3tWBSjR5BerkHNZ5eTPIk1/LBYas35xQ==",
- "dev": true,
- "dependencies": {
- "semver": "^5.0.0"
- }
- },
- "node_modules/send": {
- "version": "0.17.1",
- "resolved": "https://registry.npmjs.org/send/-/send-0.17.1.tgz",
- "integrity": "sha512-BsVKsiGcQMFwT8UxypobUKyv7irCNRHk1T0G680vk88yf6LBByGcZJOTJCrTP2xVN6yI+XjPJcNuE3V4fT9sAg==",
- "dev": true,
- "dependencies": {
- "debug": "2.6.9",
- "depd": "~1.1.2",
- "destroy": "~1.0.4",
- "encodeurl": "~1.0.2",
- "escape-html": "~1.0.3",
- "etag": "~1.8.1",
- "fresh": "0.5.2",
- "http-errors": "~1.7.2",
- "mime": "1.6.0",
- "ms": "2.1.1",
- "on-finished": "~2.3.0",
- "range-parser": "~1.2.1",
- "statuses": "~1.5.0"
- },
- "engines": {
- "node": ">= 0.8.0"
- }
- },
- "node_modules/send/node_modules/ms": {
- "version": "2.1.1",
- "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz",
- "integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==",
- "dev": true
- },
- "node_modules/serialize-javascript": {
- "version": "1.9.1",
- "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-1.9.1.tgz",
- "integrity": "sha512-0Vb/54WJ6k5v8sSWN09S0ora+Hnr+cX40r9F170nT+mSkaxltoE/7R3OrIdBSUv1OoiobH1QoWQbCnAO+e8J1A==",
- "dev": true
- },
- "node_modules/serve-index": {
- "version": "1.9.1",
- "resolved": "https://registry.npmjs.org/serve-index/-/serve-index-1.9.1.tgz",
- "integrity": "sha1-03aNabHn2C5c4FD/9bRTvqEqkjk=",
- "dev": true,
- "dependencies": {
- "accepts": "~1.3.4",
- "batch": "0.6.1",
- "debug": "2.6.9",
- "escape-html": "~1.0.3",
- "http-errors": "~1.6.2",
- "mime-types": "~2.1.17",
- "parseurl": "~1.3.2"
- },
- "engines": {
- "node": ">= 0.8.0"
- }
- },
- "node_modules/serve-index/node_modules/http-errors": {
- "version": "1.6.3",
- "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.6.3.tgz",
- "integrity": "sha1-i1VoC7S+KDoLW/TqLjhYC+HZMg0=",
- "dev": true,
- "dependencies": {
- "depd": "~1.1.2",
- "inherits": "2.0.3",
- "setprototypeof": "1.1.0",
- "statuses": ">= 1.4.0 < 2"
- },
- "engines": {
- "node": ">= 0.6"
- }
- },
- "node_modules/serve-index/node_modules/inherits": {
- "version": "2.0.3",
- "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz",
- "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=",
- "dev": true
- },
- "node_modules/serve-index/node_modules/setprototypeof": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.0.tgz",
- "integrity": "sha512-BvE/TwpZX4FXExxOxZyRGQQv651MSwmWKZGqvmPcRIjDqWub67kTKuIMx43cZZrS/cBBzwBcNDWoFxt2XEFIpQ==",
- "dev": true
- },
- "node_modules/serve-static": {
- "version": "1.14.1",
- "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.14.1.tgz",
- "integrity": "sha512-JMrvUwE54emCYWlTI+hGrGv5I8dEwmco/00EvkzIIsR7MqrHonbD9pO2MOfFnpFntl7ecpZs+3mW+XbQZu9QCg==",
- "dev": true,
- "dependencies": {
- "encodeurl": "~1.0.2",
- "escape-html": "~1.0.3",
- "parseurl": "~1.3.3",
- "send": "0.17.1"
- },
- "engines": {
- "node": ">= 0.8.0"
- }
- },
- "node_modules/set-blocking": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz",
- "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc="
- },
- "node_modules/set-value": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/set-value/-/set-value-2.0.1.tgz",
- "integrity": "sha512-JxHc1weCN68wRY0fhCoXpyK55m/XPHafOmK4UWD7m2CI14GMcFypt4w/0+NV5f/ZMby2F6S2wwA7fgynh9gWSw==",
- "dev": true,
- "dependencies": {
- "extend-shallow": "^2.0.1",
- "is-extendable": "^0.1.1",
- "is-plain-object": "^2.0.3",
- "split-string": "^3.0.1"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/set-value/node_modules/extend-shallow": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz",
- "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=",
- "dev": true,
- "dependencies": {
- "is-extendable": "^0.1.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/setimmediate": {
- "version": "1.0.5",
- "resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz",
- "integrity": "sha1-KQy7Iy4waULX1+qbg3Mqt4VvgoU=",
- "dev": true
- },
- "node_modules/setprototypeof": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.1.tgz",
- "integrity": "sha512-JvdAWfbXeIGaZ9cILp38HntZSFSo3mWg6xGcJJsd+d4aRMOqauag1C63dJfDw7OaMYwEbHMOxEZ1lqVRYP2OAw==",
- "dev": true
- },
- "node_modules/sha.js": {
- "version": "2.4.11",
- "resolved": "https://registry.npmjs.org/sha.js/-/sha.js-2.4.11.tgz",
- "integrity": "sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ==",
- "dev": true,
- "dependencies": {
- "inherits": "^2.0.1",
- "safe-buffer": "^5.0.1"
- },
- "bin": {
- "sha.js": "bin.js"
- }
- },
- "node_modules/shallow-clone": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/shallow-clone/-/shallow-clone-1.0.0.tgz",
- "integrity": "sha512-oeXreoKR/SyNJtRJMAKPDSvd28OqEwG4eR/xc856cRGBII7gX9lvAqDxusPm0846z/w/hWYjI1NpKwJ00NHzRA==",
- "dev": true,
- "dependencies": {
- "is-extendable": "^0.1.1",
- "kind-of": "^5.0.0",
- "mixin-object": "^2.0.1"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/shallow-clone/node_modules/kind-of": {
- "version": "5.1.0",
- "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz",
- "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/shebang-command": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz",
- "integrity": "sha1-RKrGW2lbAzmJaMOfNj/uXer98eo=",
- "dev": true,
- "dependencies": {
- "shebang-regex": "^1.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/shebang-regex": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-1.0.0.tgz",
- "integrity": "sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM=",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/signal-exit": {
- "version": "3.0.2",
- "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.2.tgz",
- "integrity": "sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0="
- },
- "node_modules/simple-line-icons": {
- "version": "2.4.1",
- "resolved": "https://registry.npmjs.org/simple-line-icons/-/simple-line-icons-2.4.1.tgz",
- "integrity": "sha1-t1vFoNh+UwkowszaVzUnS7JW8jQ="
- },
- "node_modules/slash": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/slash/-/slash-1.0.0.tgz",
- "integrity": "sha1-xB8vbDn8FtHNF61LXYlhFK5HDVU=",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/slide": {
- "version": "1.1.6",
- "resolved": "https://registry.npmjs.org/slide/-/slide-1.1.6.tgz",
- "integrity": "sha1-VusCfWW00tzmyy4tMsTUr8nh1wc=",
- "dev": true,
- "engines": {
- "node": "*"
- }
- },
- "node_modules/smart-buffer": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/smart-buffer/-/smart-buffer-4.1.0.tgz",
- "integrity": "sha512-iVICrxOzCynf/SNaBQCw34eM9jROU/s5rzIhpOvzhzuYHfJR/DhZfDkXiZSgKXfgv26HT3Yni3AV/DGw0cGnnw==",
- "dev": true,
- "engines": {
- "node": ">= 6.0.0",
- "npm": ">= 3.0.0"
- }
- },
- "node_modules/snapdragon": {
- "version": "0.8.2",
- "resolved": "https://registry.npmjs.org/snapdragon/-/snapdragon-0.8.2.tgz",
- "integrity": "sha512-FtyOnWN/wCHTVXOMwvSv26d+ko5vWlIDD6zoUJ7LW8vh+ZBC8QdljveRP+crNrtBwioEUWy/4dMtbBjA4ioNlg==",
- "dev": true,
- "dependencies": {
- "base": "^0.11.1",
- "debug": "^2.2.0",
- "define-property": "^0.2.5",
- "extend-shallow": "^2.0.1",
- "map-cache": "^0.2.2",
- "source-map": "^0.5.6",
- "source-map-resolve": "^0.5.0",
- "use": "^3.1.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/snapdragon-node": {
- "version": "2.1.1",
- "resolved": "https://registry.npmjs.org/snapdragon-node/-/snapdragon-node-2.1.1.tgz",
- "integrity": "sha512-O27l4xaMYt/RSQ5TR3vpWCAB5Kb/czIcqUFOM/C4fYcLnbZUc1PkjTAMjof2pBWaSTwOUd6qUHcFGVGj7aIwnw==",
- "dev": true,
- "dependencies": {
- "define-property": "^1.0.0",
- "isobject": "^3.0.0",
- "snapdragon-util": "^3.0.1"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/snapdragon-node/node_modules/define-property": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz",
- "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=",
- "dev": true,
- "dependencies": {
- "is-descriptor": "^1.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/snapdragon-node/node_modules/is-accessor-descriptor": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz",
- "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==",
- "dev": true,
- "dependencies": {
- "kind-of": "^6.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/snapdragon-node/node_modules/is-data-descriptor": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz",
- "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==",
- "dev": true,
- "dependencies": {
- "kind-of": "^6.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/snapdragon-node/node_modules/is-descriptor": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz",
- "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==",
- "dev": true,
- "dependencies": {
- "is-accessor-descriptor": "^1.0.0",
- "is-data-descriptor": "^1.0.0",
- "kind-of": "^6.0.2"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/snapdragon-util": {
- "version": "3.0.1",
- "resolved": "https://registry.npmjs.org/snapdragon-util/-/snapdragon-util-3.0.1.tgz",
- "integrity": "sha512-mbKkMdQKsjX4BAL4bRYTj21edOf8cN7XHdYUJEe+Zn99hVEYcMvKPct1IqNe7+AZPirn8BCDOQBHQZknqmKlZQ==",
- "dev": true,
- "dependencies": {
- "kind-of": "^3.2.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/snapdragon-util/node_modules/kind-of": {
- "version": "3.2.2",
- "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz",
- "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=",
- "dev": true,
- "dependencies": {
- "is-buffer": "^1.1.5"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/snapdragon/node_modules/define-property": {
- "version": "0.2.5",
- "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz",
- "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=",
- "dev": true,
- "dependencies": {
- "is-descriptor": "^0.1.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/snapdragon/node_modules/extend-shallow": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz",
- "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=",
- "dev": true,
- "dependencies": {
- "is-extendable": "^0.1.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/snapdragon/node_modules/source-map": {
- "version": "0.5.7",
- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
- "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/socket.io": {
- "version": "1.7.3",
- "resolved": "https://registry.npmjs.org/socket.io/-/socket.io-1.7.3.tgz",
- "integrity": "sha1-uK+cq6AJSeVo42nxMn6pvp6iRhs=",
- "dev": true,
- "dependencies": {
- "debug": "2.3.3",
- "engine.io": "1.8.3",
- "has-binary": "0.1.7",
- "object-assign": "4.1.0",
- "socket.io-adapter": "0.5.0",
- "socket.io-client": "1.7.3",
- "socket.io-parser": "2.3.1"
- }
- },
- "node_modules/socket.io-adapter": {
- "version": "0.5.0",
- "resolved": "https://registry.npmjs.org/socket.io-adapter/-/socket.io-adapter-0.5.0.tgz",
- "integrity": "sha1-y21LuL7IHhB4uZZ3+c7QBGBmu4s=",
- "dev": true,
- "dependencies": {
- "debug": "2.3.3",
- "socket.io-parser": "2.3.1"
- }
- },
- "node_modules/socket.io-adapter/node_modules/debug": {
- "version": "2.3.3",
- "resolved": "https://registry.npmjs.org/debug/-/debug-2.3.3.tgz",
- "integrity": "sha1-QMRT5n5uE8kB3ewxeviYbNqe/4w=",
- "dev": true,
- "dependencies": {
- "ms": "0.7.2"
- }
- },
- "node_modules/socket.io-adapter/node_modules/ms": {
- "version": "0.7.2",
- "resolved": "https://registry.npmjs.org/ms/-/ms-0.7.2.tgz",
- "integrity": "sha1-riXPJRKziFodldfwN4aNhDESR2U=",
- "dev": true
- },
- "node_modules/socket.io-client": {
- "version": "1.7.3",
- "resolved": "https://registry.npmjs.org/socket.io-client/-/socket.io-client-1.7.3.tgz",
- "integrity": "sha1-sw6GqhDV7zVGYBwJzeR2Xjgdo3c=",
- "dev": true,
- "dependencies": {
- "backo2": "1.0.2",
- "component-bind": "1.0.0",
- "component-emitter": "1.2.1",
- "debug": "2.3.3",
- "engine.io-client": "1.8.3",
- "has-binary": "0.1.7",
- "indexof": "0.0.1",
- "object-component": "0.0.3",
- "parseuri": "0.0.5",
- "socket.io-parser": "2.3.1",
- "to-array": "0.1.4"
- }
- },
- "node_modules/socket.io-client/node_modules/component-emitter": {
- "version": "1.2.1",
- "resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.2.1.tgz",
- "integrity": "sha1-E3kY1teCg/ffemt8WmPhQOaUJeY=",
- "dev": true
- },
- "node_modules/socket.io-client/node_modules/debug": {
- "version": "2.3.3",
- "resolved": "https://registry.npmjs.org/debug/-/debug-2.3.3.tgz",
- "integrity": "sha1-QMRT5n5uE8kB3ewxeviYbNqe/4w=",
- "dev": true,
- "dependencies": {
- "ms": "0.7.2"
- }
- },
- "node_modules/socket.io-client/node_modules/ms": {
- "version": "0.7.2",
- "resolved": "https://registry.npmjs.org/ms/-/ms-0.7.2.tgz",
- "integrity": "sha1-riXPJRKziFodldfwN4aNhDESR2U=",
- "dev": true
- },
- "node_modules/socket.io-parser": {
- "version": "2.3.1",
- "resolved": "https://registry.npmjs.org/socket.io-parser/-/socket.io-parser-2.3.1.tgz",
- "integrity": "sha1-3VMgJRA85Clpcya+/WQAX8/ltKA=",
- "dev": true,
- "dependencies": {
- "component-emitter": "1.1.2",
- "debug": "2.2.0",
- "isarray": "0.0.1",
- "json3": "3.3.2"
- }
- },
- "node_modules/socket.io-parser/node_modules/component-emitter": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.1.2.tgz",
- "integrity": "sha1-KWWU8nU9qmOZbSrwjRWpURbJrsM=",
- "dev": true
- },
- "node_modules/socket.io-parser/node_modules/debug": {
- "version": "2.2.0",
- "resolved": "https://registry.npmjs.org/debug/-/debug-2.2.0.tgz",
- "integrity": "sha1-+HBX6ZWxofauaklgZkE3vFbwOdo=",
- "dev": true,
- "dependencies": {
- "ms": "0.7.1"
- }
- },
- "node_modules/socket.io-parser/node_modules/isarray": {
- "version": "0.0.1",
- "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz",
- "integrity": "sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8=",
- "dev": true
- },
- "node_modules/socket.io-parser/node_modules/json3": {
- "version": "3.3.2",
- "resolved": "https://registry.npmjs.org/json3/-/json3-3.3.2.tgz",
- "integrity": "sha1-PAQ0dD35Pi9cQq7nsZvLSDV19OE=",
- "dev": true
- },
- "node_modules/socket.io-parser/node_modules/ms": {
- "version": "0.7.1",
- "resolved": "https://registry.npmjs.org/ms/-/ms-0.7.1.tgz",
- "integrity": "sha1-nNE8A62/8ltl7/3nzoZO6VIBcJg=",
- "dev": true
- },
- "node_modules/socket.io/node_modules/debug": {
- "version": "2.3.3",
- "resolved": "https://registry.npmjs.org/debug/-/debug-2.3.3.tgz",
- "integrity": "sha1-QMRT5n5uE8kB3ewxeviYbNqe/4w=",
- "dev": true,
- "dependencies": {
- "ms": "0.7.2"
- }
- },
- "node_modules/socket.io/node_modules/ms": {
- "version": "0.7.2",
- "resolved": "https://registry.npmjs.org/ms/-/ms-0.7.2.tgz",
- "integrity": "sha1-riXPJRKziFodldfwN4aNhDESR2U=",
- "dev": true
- },
- "node_modules/socket.io/node_modules/object-assign": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.0.tgz",
- "integrity": "sha1-ejs9DpgGPUP0wD8uiubNUahog6A=",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/sockjs": {
- "version": "0.3.19",
- "resolved": "https://registry.npmjs.org/sockjs/-/sockjs-0.3.19.tgz",
- "integrity": "sha512-V48klKZl8T6MzatbLlzzRNhMepEys9Y4oGFpypBFFn1gLI/QQ9HtLLyWJNbPlwGLelOVOEijUbTTJeLLI59jLw==",
- "dev": true,
- "dependencies": {
- "faye-websocket": "^0.10.0",
- "uuid": "^3.0.1"
- }
- },
- "node_modules/sockjs-client": {
- "version": "1.3.0",
- "resolved": "https://registry.npmjs.org/sockjs-client/-/sockjs-client-1.3.0.tgz",
- "integrity": "sha512-R9jxEzhnnrdxLCNln0xg5uGHqMnkhPSTzUZH2eXcR03S/On9Yvoq2wyUZILRUhZCNVu2PmwWVoyuiPz8th8zbg==",
- "dev": true,
- "dependencies": {
- "debug": "^3.2.5",
- "eventsource": "^1.0.7",
- "faye-websocket": "~0.11.1",
- "inherits": "^2.0.3",
- "json3": "^3.3.2",
- "url-parse": "^1.4.3"
- }
- },
- "node_modules/sockjs-client/node_modules/debug": {
- "version": "3.2.6",
- "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.6.tgz",
- "integrity": "sha512-mel+jf7nrtEl5Pn1Qx46zARXKDpBbvzezse7p7LqINmdoIk8PYP5SySaxEmYv6TZ0JyEKA1hsCId6DIhgITtWQ==",
- "dev": true,
- "dependencies": {
- "ms": "^2.1.1"
- }
- },
- "node_modules/sockjs-client/node_modules/ms": {
- "version": "2.1.2",
- "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
- "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
- "dev": true
- },
- "node_modules/sockjs/node_modules/faye-websocket": {
- "version": "0.10.0",
- "resolved": "https://registry.npmjs.org/faye-websocket/-/faye-websocket-0.10.0.tgz",
- "integrity": "sha1-TkkvjQTftviQA1B/btvy1QHnxvQ=",
- "dev": true,
- "dependencies": {
- "websocket-driver": ">=0.5.1"
- },
- "engines": {
- "node": ">=0.4.0"
- }
- },
- "node_modules/socks": {
- "version": "2.3.3",
- "resolved": "https://registry.npmjs.org/socks/-/socks-2.3.3.tgz",
- "integrity": "sha512-o5t52PCNtVdiOvzMry7wU4aOqYWL0PeCXRWBEiJow4/i/wr+wpsJQ9awEu1EonLIqsfGd5qSgDdxEOvCdmBEpA==",
- "dev": true,
- "dependencies": {
- "ip": "1.1.5",
- "smart-buffer": "^4.1.0"
- },
- "engines": {
- "node": ">= 6.0.0",
- "npm": ">= 3.0.0"
- }
- },
- "node_modules/socks-proxy-agent": {
- "version": "4.0.2",
- "resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-4.0.2.tgz",
- "integrity": "sha512-NT6syHhI9LmuEMSK6Kd2V7gNv5KFZoLE7V5udWmn0de+3Mkj3UMA/AJPLyeNUVmElCurSHtUdM3ETpR3z770Wg==",
- "dev": true,
- "dependencies": {
- "agent-base": "~4.2.1",
- "socks": "~2.3.2"
- },
- "engines": {
- "node": ">= 6"
- }
- },
- "node_modules/socks-proxy-agent/node_modules/agent-base": {
- "version": "4.2.1",
- "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-4.2.1.tgz",
- "integrity": "sha512-JVwXMr9nHYTUXsBFKUqhJwvlcYU/blreOEUkhNR2eXZIvwd+c+o5V4MgDPKWnMS/56awN3TRzIP+KoPn+roQtg==",
- "dev": true,
- "dependencies": {
- "es6-promisify": "^5.0.0"
- },
- "engines": {
- "node": ">= 4.0.0"
- }
- },
- "node_modules/sortablejs": {
- "version": "1.10.2",
- "resolved": "https://registry.npmjs.org/sortablejs/-/sortablejs-1.10.2.tgz",
- "integrity": "sha512-YkPGufevysvfwn5rfdlGyrGjt7/CRHwvRPogD/lC+TnvcN29jDpCifKP+rBqf+LRldfXSTh+0CGLcSg0VIxq3A=="
- },
- "node_modules/source-list-map": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/source-list-map/-/source-list-map-2.0.1.tgz",
- "integrity": "sha512-qnQ7gVMxGNxsiL4lEuJwe/To8UnK7fAnmbGEEH8RpLouuKbeEm0lhbQVFIrNSuB+G7tVrAlVsZgETT5nljf+Iw==",
- "dev": true
- },
- "node_modules/source-map": {
- "version": "0.4.4",
- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.4.4.tgz",
- "integrity": "sha1-66T12pwNyZneaAMti092FzZSA2s=",
- "dependencies": {
- "amdefine": ">=0.0.4"
- },
- "engines": {
- "node": ">=0.8.0"
- }
- },
- "node_modules/source-map-loader": {
- "version": "0.2.4",
- "resolved": "https://registry.npmjs.org/source-map-loader/-/source-map-loader-0.2.4.tgz",
- "integrity": "sha512-OU6UJUty+i2JDpTItnizPrlpOIBLmQbWMuBg9q5bVtnHACqw1tn9nNwqJLbv0/00JjnJb/Ee5g5WS5vrRv7zIQ==",
- "dev": true,
- "dependencies": {
- "async": "^2.5.0",
- "loader-utils": "^1.1.0"
- },
- "engines": {
- "node": ">= 6"
- }
- },
- "node_modules/source-map-loader/node_modules/async": {
- "version": "2.6.3",
- "resolved": "https://registry.npmjs.org/async/-/async-2.6.3.tgz",
- "integrity": "sha512-zflvls11DCy+dQWzTW2dzuilv8Z5X/pjfmZOWba6TNIVDm+2UDaJmXSOXlasHKfNBs8oo3M0aT50fDEWfKZjXg==",
- "dev": true,
- "dependencies": {
- "lodash": "^4.17.14"
- }
- },
- "node_modules/source-map-resolve": {
- "version": "0.5.3",
- "resolved": "https://registry.npmjs.org/source-map-resolve/-/source-map-resolve-0.5.3.tgz",
- "integrity": "sha512-Htz+RnsXWk5+P2slx5Jh3Q66vhQj1Cllm0zvnaY98+NFx+Dv2CF/f5O/t8x+KaNdrdIAsruNzoh/KpialbqAnw==",
- "dev": true,
- "dependencies": {
- "atob": "^2.1.2",
- "decode-uri-component": "^0.2.0",
- "resolve-url": "^0.2.1",
- "source-map-url": "^0.4.0",
- "urix": "^0.1.0"
- }
- },
- "node_modules/source-map-support": {
- "version": "0.5.9",
- "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.9.tgz",
- "integrity": "sha512-gR6Rw4MvUlYy83vP0vxoVNzM6t8MUXqNuRsuBmBHQDu1Fh6X015FrLdgoDKcNdkwGubozq0P4N0Q37UyFVr1EA==",
- "dev": true,
- "dependencies": {
- "buffer-from": "^1.0.0",
- "source-map": "^0.6.0"
- }
- },
- "node_modules/source-map-support/node_modules/source-map": {
- "version": "0.6.1",
- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
- "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/source-map-url": {
- "version": "0.4.0",
- "resolved": "https://registry.npmjs.org/source-map-url/-/source-map-url-0.4.0.tgz",
- "integrity": "sha1-PpNdfd1zYxuXZZlW1VEo6HtQhKM=",
- "dev": true
- },
- "node_modules/spdx-correct": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.1.0.tgz",
- "integrity": "sha512-lr2EZCctC2BNR7j7WzJ2FpDznxky1sjfxvvYEyzxNyb6lZXHODmEoJeFu4JupYlkfha1KZpJyoqiJ7pgA1qq8Q==",
- "dependencies": {
- "spdx-expression-parse": "^3.0.0",
- "spdx-license-ids": "^3.0.0"
- }
- },
- "node_modules/spdx-exceptions": {
- "version": "2.2.0",
- "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.2.0.tgz",
- "integrity": "sha512-2XQACfElKi9SlVb1CYadKDXvoajPgBVPn/gOQLrTvHdElaVhr7ZEbqJaRnJLVNeaI4cMEAgVCeBMKF6MWRDCRA=="
- },
- "node_modules/spdx-expression-parse": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.0.tgz",
- "integrity": "sha512-Yg6D3XpRD4kkOmTpdgbUiEJFKghJH03fiC1OPll5h/0sO6neh2jqRDVHOQ4o/LMea0tgCkbMgea5ip/e+MkWyg==",
- "dependencies": {
- "spdx-exceptions": "^2.1.0",
- "spdx-license-ids": "^3.0.0"
- }
- },
- "node_modules/spdx-license-ids": {
- "version": "3.0.5",
- "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.5.tgz",
- "integrity": "sha512-J+FWzZoynJEXGphVIS+XEh3kFSjZX/1i9gFBaWQcB+/tmpe2qUsSBABpcxqxnAxFdiUFEgAX1bjYGQvIZmoz9Q=="
- },
- "node_modules/spdy": {
- "version": "4.0.1",
- "resolved": "https://registry.npmjs.org/spdy/-/spdy-4.0.1.tgz",
- "integrity": "sha512-HeZS3PBdMA+sZSu0qwpCxl3DeALD5ASx8pAX0jZdKXSpPWbQ6SYGnlg3BBmYLx5LtiZrmkAZfErCm2oECBcioA==",
- "dev": true,
- "dependencies": {
- "debug": "^4.1.0",
- "handle-thing": "^2.0.0",
- "http-deceiver": "^1.2.7",
- "select-hose": "^2.0.0",
- "spdy-transport": "^3.0.0"
- },
- "engines": {
- "node": ">=6.0.0"
- }
- },
- "node_modules/spdy-transport": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/spdy-transport/-/spdy-transport-3.0.0.tgz",
- "integrity": "sha512-hsLVFE5SjA6TCisWeJXFKniGGOpBgMLmerfO2aCyCU5s7nJ/rpAepqmFifv/GCbSbueEeAJJnmSQ2rKC/g8Fcw==",
- "dev": true,
- "dependencies": {
- "debug": "^4.1.0",
- "detect-node": "^2.0.4",
- "hpack.js": "^2.1.6",
- "obuf": "^1.1.2",
- "readable-stream": "^3.0.6",
- "wbuf": "^1.7.3"
- }
- },
- "node_modules/spdy-transport/node_modules/debug": {
- "version": "4.1.1",
- "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz",
- "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==",
- "dev": true,
- "dependencies": {
- "ms": "^2.1.1"
- }
- },
- "node_modules/spdy-transport/node_modules/ms": {
- "version": "2.1.2",
- "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
- "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
- "dev": true
- },
- "node_modules/spdy-transport/node_modules/readable-stream": {
- "version": "3.4.0",
- "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.4.0.tgz",
- "integrity": "sha512-jItXPLmrSR8jmTRmRWJXCnGJsfy85mB3Wd/uINMXA65yrnFo0cPClFIUWzo2najVNSl+mx7/4W8ttlLWJe99pQ==",
- "dev": true,
- "dependencies": {
- "inherits": "^2.0.3",
- "string_decoder": "^1.1.1",
- "util-deprecate": "^1.0.1"
- },
- "engines": {
- "node": ">= 6"
- }
- },
- "node_modules/spdy/node_modules/debug": {
- "version": "4.1.1",
- "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz",
- "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==",
- "dev": true,
- "dependencies": {
- "ms": "^2.1.1"
- }
- },
- "node_modules/spdy/node_modules/ms": {
- "version": "2.1.2",
- "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
- "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
- "dev": true
- },
- "node_modules/speed-measure-webpack-plugin": {
- "version": "1.2.5",
- "resolved": "https://registry.npmjs.org/speed-measure-webpack-plugin/-/speed-measure-webpack-plugin-1.2.5.tgz",
- "integrity": "sha512-S/guYjC4Izn5wY2d0+M4zowED/F77Lxh9yjkTZ+XAr244pr9c1MYNcXcRe9lx2hmAj0GPbOrBXgOF2YIp/CZ8A==",
- "dev": true,
- "dependencies": {
- "chalk": "^2.0.1"
- },
- "engines": {
- "node": ">=6.0.0"
- }
- },
- "node_modules/speed-measure-webpack-plugin/node_modules/ansi-styles": {
- "version": "3.2.1",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
- "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",
- "dev": true,
- "dependencies": {
- "color-convert": "^1.9.0"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/speed-measure-webpack-plugin/node_modules/chalk": {
- "version": "2.4.2",
- "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",
- "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",
- "dev": true,
- "dependencies": {
- "ansi-styles": "^3.2.1",
- "escape-string-regexp": "^1.0.5",
- "supports-color": "^5.3.0"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/speed-measure-webpack-plugin/node_modules/supports-color": {
- "version": "5.5.0",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",
- "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",
- "dev": true,
- "dependencies": {
- "has-flag": "^3.0.0"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/split-string": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/split-string/-/split-string-3.1.0.tgz",
- "integrity": "sha512-NzNVhJDYpwceVVii8/Hu6DKfD2G+NrQHlS/V/qgv763EYudVwEcMQNxd2lh+0VrUByXN/oJkl5grOhYWvQUYiw==",
- "dev": true,
- "dependencies": {
- "extend-shallow": "^3.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/sprintf-js": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz",
- "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=",
- "dev": true
- },
- "node_modules/ssf": {
- "version": "0.10.2",
- "resolved": "https://registry.npmjs.org/ssf/-/ssf-0.10.2.tgz",
- "integrity": "sha512-rDhAPm9WyIsY8eZEKyE8Qsotb3j/wBdvMWBUsOhJdfhKGLfQidRjiBUV0y/MkyCLiXQ38FG6LWW/VYUtqlIDZQ==",
- "dependencies": {
- "frac": "~1.1.2"
- },
- "bin": {
- "ssf": "bin/ssf.njs"
- },
- "engines": {
- "node": ">=0.8"
- }
- },
- "node_modules/sshpk": {
- "version": "1.16.1",
- "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.16.1.tgz",
- "integrity": "sha512-HXXqVUq7+pcKeLqqZj6mHFUMvXtOJt1uoUx09pFW6011inTMxqI8BA8PM95myrIyyKwdnzjdFjLiE6KBPVtJIg==",
- "dependencies": {
- "asn1": "~0.2.3",
- "assert-plus": "^1.0.0",
- "bcrypt-pbkdf": "^1.0.0",
- "dashdash": "^1.12.0",
- "ecc-jsbn": "~0.1.1",
- "getpass": "^0.1.1",
- "jsbn": "~0.1.0",
- "safer-buffer": "^2.0.2",
- "tweetnacl": "~0.14.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/ssri": {
- "version": "5.3.0",
- "resolved": "https://registry.npmjs.org/ssri/-/ssri-5.3.0.tgz",
- "integrity": "sha512-XRSIPqLij52MtgoQavH/x/dU1qVKtWUAAZeOHsR9c2Ddi4XerFy3mc1alf+dLJKl9EUIm/Ht+EowFkTUOA6GAQ==",
- "dev": true,
- "dependencies": {
- "safe-buffer": "^5.1.1"
- }
- },
- "node_modules/static-extend": {
- "version": "0.1.2",
- "resolved": "https://registry.npmjs.org/static-extend/-/static-extend-0.1.2.tgz",
- "integrity": "sha1-YICcOcv/VTNyJv1eC1IPNB8ftcY=",
- "dev": true,
- "dependencies": {
- "define-property": "^0.2.5",
- "object-copy": "^0.1.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/static-extend/node_modules/define-property": {
- "version": "0.2.5",
- "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz",
- "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=",
- "dev": true,
- "dependencies": {
- "is-descriptor": "^0.1.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/stats-webpack-plugin": {
- "version": "0.7.0",
- "resolved": "https://registry.npmjs.org/stats-webpack-plugin/-/stats-webpack-plugin-0.7.0.tgz",
- "integrity": "sha512-NT0YGhwuQ0EOX+uPhhUcI6/+1Sq/pMzNuSCBVT4GbFl/ac6I/JZefBcjlECNfAb1t3GOx5dEj1Z7x0cAxeeVLQ==",
- "dev": true,
- "dependencies": {
- "lodash": "^4.17.4"
- }
- },
- "node_modules/statuses": {
- "version": "1.5.0",
- "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz",
- "integrity": "sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow=",
- "dev": true,
- "engines": {
- "node": ">= 0.6"
- }
- },
- "node_modules/stdout-stream": {
- "version": "1.4.1",
- "resolved": "https://registry.npmjs.org/stdout-stream/-/stdout-stream-1.4.1.tgz",
- "integrity": "sha512-j4emi03KXqJWcIeF8eIXkjMFN1Cmb8gUlDYGeBALLPo5qdyTfA9bOtl8m33lRoC+vFMkP3gl0WsDr6+gzxbbTA==",
- "dependencies": {
- "readable-stream": "^2.0.1"
- }
- },
- "node_modules/stream-browserify": {
- "version": "2.0.2",
- "resolved": "https://registry.npmjs.org/stream-browserify/-/stream-browserify-2.0.2.tgz",
- "integrity": "sha512-nX6hmklHs/gr2FuxYDltq8fJA1GDlxKQCz8O/IM4atRqBH8OORmBNgfvW5gG10GT/qQ9u0CzIvr2X5Pkt6ntqg==",
- "dev": true,
- "dependencies": {
- "inherits": "~2.0.1",
- "readable-stream": "^2.0.2"
- }
- },
- "node_modules/stream-each": {
- "version": "1.2.3",
- "resolved": "https://registry.npmjs.org/stream-each/-/stream-each-1.2.3.tgz",
- "integrity": "sha512-vlMC2f8I2u/bZGqkdfLQW/13Zihpej/7PmSiMQsbYddxuTsJp8vRe2x2FvVExZg7FaOds43ROAuFJwPR4MTZLw==",
- "dev": true,
- "dependencies": {
- "end-of-stream": "^1.1.0",
- "stream-shift": "^1.0.0"
- }
- },
- "node_modules/stream-http": {
- "version": "2.8.3",
- "resolved": "https://registry.npmjs.org/stream-http/-/stream-http-2.8.3.tgz",
- "integrity": "sha512-+TSkfINHDo4J+ZobQLWiMouQYB+UVYFttRA94FpEzzJ7ZdqcL4uUUQ7WkdkI4DSozGmgBUE/a47L+38PenXhUw==",
- "dev": true,
- "dependencies": {
- "builtin-status-codes": "^3.0.0",
- "inherits": "^2.0.1",
- "readable-stream": "^2.3.6",
- "to-arraybuffer": "^1.0.0",
- "xtend": "^4.0.0"
- }
- },
- "node_modules/stream-shift": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/stream-shift/-/stream-shift-1.0.1.tgz",
- "integrity": "sha512-AiisoFqQ0vbGcZgQPY1cdP2I76glaVA/RauYR4G4thNFgkTqr90yXTo4LYX60Jl+sIlPNHHdGSwo01AvbKUSVQ==",
- "dev": true
- },
- "node_modules/string_decoder": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz",
- "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==",
- "dependencies": {
- "safe-buffer": "~5.1.0"
- }
- },
- "node_modules/string_decoder/node_modules/safe-buffer": {
- "version": "5.1.2",
- "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
- "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="
- },
- "node_modules/string-width": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz",
- "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=",
- "dependencies": {
- "code-point-at": "^1.0.0",
- "is-fullwidth-code-point": "^1.0.0",
- "strip-ansi": "^3.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/string.prototype.trimleft": {
- "version": "2.1.1",
- "resolved": "https://registry.npmjs.org/string.prototype.trimleft/-/string.prototype.trimleft-2.1.1.tgz",
- "integrity": "sha512-iu2AGd3PuP5Rp7x2kEZCrB2Nf41ehzh+goo8TV7z8/XDBbsvc6HQIlUl9RjkZ4oyrW1XM5UwlGl1oVEaDjg6Ag==",
- "dependencies": {
- "define-properties": "^1.1.3",
- "function-bind": "^1.1.1"
- },
- "engines": {
- "node": ">= 0.4"
- }
- },
- "node_modules/string.prototype.trimright": {
- "version": "2.1.1",
- "resolved": "https://registry.npmjs.org/string.prototype.trimright/-/string.prototype.trimright-2.1.1.tgz",
- "integrity": "sha512-qFvWL3/+QIgZXVmJBfpHmxLB7xsUXz6HsUmP8+5dRaC3Q7oKUv9Vo6aMCRZC1smrtyECFsIT30PqBJ1gTjAs+g==",
- "dependencies": {
- "define-properties": "^1.1.3",
- "function-bind": "^1.1.1"
- },
- "engines": {
- "node": ">= 0.4"
- }
- },
- "node_modules/strip-ansi": {
- "version": "3.0.1",
- "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz",
- "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=",
- "dependencies": {
- "ansi-regex": "^2.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/strip-bom": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-2.0.0.tgz",
- "integrity": "sha1-YhmoVhZSBJHzV4i9vxRHqZx+aw4=",
- "dependencies": {
- "is-utf8": "^0.2.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/strip-eof": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/strip-eof/-/strip-eof-1.0.0.tgz",
- "integrity": "sha1-u0P/VZim6wXYm1n80SnJgzE2Br8=",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/strip-indent": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-1.0.1.tgz",
- "integrity": "sha1-DHlipq3vp7vUrDZkYKY4VSrhoKI=",
- "dependencies": {
- "get-stdin": "^4.0.1"
- },
- "bin": {
- "strip-indent": "cli.js"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/style-loader": {
- "version": "0.23.1",
- "resolved": "https://registry.npmjs.org/style-loader/-/style-loader-0.23.1.tgz",
- "integrity": "sha512-XK+uv9kWwhZMZ1y7mysB+zoihsEj4wneFWAS5qoiLwzW0WzSqMrrsIy+a3zkQJq0ipFtBpX5W3MqyRIBF/WFGg==",
- "dev": true,
- "dependencies": {
- "loader-utils": "^1.1.0",
- "schema-utils": "^1.0.0"
- },
- "engines": {
- "node": ">= 0.12.0"
- }
- },
- "node_modules/style-loader/node_modules/schema-utils": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-1.0.0.tgz",
- "integrity": "sha512-i27Mic4KovM/lnGsy8whRCHhc7VicJajAjTrYg11K9zfZXnYIt4k5F+kZkwjnrhKzLic/HLU4j11mjsz2G/75g==",
- "dev": true,
- "dependencies": {
- "ajv": "^6.1.0",
- "ajv-errors": "^1.0.0",
- "ajv-keywords": "^3.1.0"
- },
- "engines": {
- "node": ">= 4"
- }
- },
- "node_modules/stylus": {
- "version": "0.54.5",
- "resolved": "https://registry.npmjs.org/stylus/-/stylus-0.54.5.tgz",
- "integrity": "sha1-QrlWCTHKcJDOhRWnmLqeaqPW3Hk=",
- "dev": true,
- "dependencies": {
- "css-parse": "1.7.x",
- "debug": "*",
- "glob": "7.0.x",
- "mkdirp": "0.5.x",
- "sax": "0.5.x",
- "source-map": "0.1.x"
- },
- "bin": {
- "stylus": "bin/stylus"
- },
- "engines": {
- "node": "*"
- }
- },
- "node_modules/stylus-loader": {
- "version": "3.0.2",
- "resolved": "https://registry.npmjs.org/stylus-loader/-/stylus-loader-3.0.2.tgz",
- "integrity": "sha512-+VomPdZ6a0razP+zinir61yZgpw2NfljeSsdUF5kJuEzlo3khXhY19Fn6l8QQz1GRJGtMCo8nG5C04ePyV7SUA==",
- "dev": true,
- "dependencies": {
- "loader-utils": "^1.0.2",
- "lodash.clonedeep": "^4.5.0",
- "when": "~3.6.x"
- }
- },
- "node_modules/stylus/node_modules/glob": {
- "version": "7.0.6",
- "resolved": "https://registry.npmjs.org/glob/-/glob-7.0.6.tgz",
- "integrity": "sha1-IRuvr0nlJbjNkyYNFKsTYVKz9Xo=",
- "dev": true,
- "dependencies": {
- "fs.realpath": "^1.0.0",
- "inflight": "^1.0.4",
- "inherits": "2",
- "minimatch": "^3.0.2",
- "once": "^1.3.0",
- "path-is-absolute": "^1.0.0"
- },
- "engines": {
- "node": "*"
- }
- },
- "node_modules/stylus/node_modules/sax": {
- "version": "0.5.8",
- "resolved": "https://registry.npmjs.org/sax/-/sax-0.5.8.tgz",
- "integrity": "sha1-1HLbIo6zMcJQaw6MFVJK25OdEsE=",
- "dev": true
- },
- "node_modules/stylus/node_modules/source-map": {
- "version": "0.1.43",
- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.1.43.tgz",
- "integrity": "sha1-wkvBRspRfBRx9drL4lcbK3+eM0Y=",
- "dev": true,
- "dependencies": {
- "amdefine": ">=0.0.4"
- },
- "engines": {
- "node": ">=0.8.0"
- }
- },
- "node_modules/supports-color": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
- "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=",
- "engines": {
- "node": ">=0.8.0"
- }
- },
- "node_modules/sweetalert2": {
- "version": "7.33.1",
- "resolved": "https://registry.npmjs.org/sweetalert2/-/sweetalert2-7.33.1.tgz",
- "integrity": "sha512-69KYtyhtxejFG0HDb8aVhAwbpAWPSTZwaL5vxDHgojErD2KeFxTmRgmkbiLtMC8UdTFXRmvTPtZTF4459MUb7w==",
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/symbol-observable": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/symbol-observable/-/symbol-observable-1.2.0.tgz",
- "integrity": "sha512-e900nM8RRtGhlV36KGEU9k65K3mPb1WV70OdjfxlG2EAuM1noi/E/BaW/uMhL7bPEssK8QV57vN3esixjUvcXQ==",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/tapable": {
- "version": "1.1.3",
- "resolved": "https://registry.npmjs.org/tapable/-/tapable-1.1.3.tgz",
- "integrity": "sha512-4WK/bYZmj8xLr+HUCODHGF1ZFzsYffasLUgEiMBY4fgtltdO6B4WJtlSbPaDTLpYTcGVwM2qLnFTICEcNxs3kA==",
- "dev": true,
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/tar": {
- "version": "2.2.2",
- "resolved": "https://registry.npmjs.org/tar/-/tar-2.2.2.tgz",
- "integrity": "sha512-FCEhQ/4rE1zYv9rYXJw/msRqsnmlje5jHP6huWeBZ704jUTy02c5AZyWujpMR1ax6mVw9NyJMfuK2CMDWVIfgA==",
- "dependencies": {
- "block-stream": "*",
- "fstream": "^1.0.12",
- "inherits": "2"
- }
- },
- "node_modules/terser": {
- "version": "3.17.0",
- "resolved": "https://registry.npmjs.org/terser/-/terser-3.17.0.tgz",
- "integrity": "sha512-/FQzzPJmCpjAH9Xvk2paiWrFq+5M6aVOf+2KRbwhByISDX/EujxsK+BAvrhb6H+2rtrLCHK9N01wO014vrIwVQ==",
- "dev": true,
- "dependencies": {
- "commander": "^2.19.0",
- "source-map": "~0.6.1",
- "source-map-support": "~0.5.10"
- },
- "bin": {
- "terser": "bin/uglifyjs"
- },
- "engines": {
- "node": ">=6.0.0"
- }
- },
- "node_modules/terser-webpack-plugin": {
- "version": "1.2.1",
- "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-1.2.1.tgz",
- "integrity": "sha512-GGSt+gbT0oKcMDmPx4SRSfJPE1XaN3kQRWG4ghxKQw9cn5G9x6aCKSsgYdvyM0na9NJ4Drv0RG6jbBByZ5CMjw==",
- "dev": true,
- "dependencies": {
- "cacache": "^11.0.2",
- "find-cache-dir": "^2.0.0",
- "schema-utils": "^1.0.0",
- "serialize-javascript": "^1.4.0",
- "source-map": "^0.6.1",
- "terser": "^3.8.1",
- "webpack-sources": "^1.1.0",
- "worker-farm": "^1.5.2"
- },
- "engines": {
- "node": ">= 6.9.0"
- }
- },
- "node_modules/terser-webpack-plugin/node_modules/cacache": {
- "version": "11.3.3",
- "resolved": "https://registry.npmjs.org/cacache/-/cacache-11.3.3.tgz",
- "integrity": "sha512-p8WcneCytvzPxhDvYp31PD039vi77I12W+/KfR9S8AZbaiARFBCpsPJS+9uhWfeBfeAtW7o/4vt3MUqLkbY6nA==",
- "dev": true,
- "dependencies": {
- "bluebird": "^3.5.5",
- "chownr": "^1.1.1",
- "figgy-pudding": "^3.5.1",
- "glob": "^7.1.4",
- "graceful-fs": "^4.1.15",
- "lru-cache": "^5.1.1",
- "mississippi": "^3.0.0",
- "mkdirp": "^0.5.1",
- "move-concurrently": "^1.0.1",
- "promise-inflight": "^1.0.1",
- "rimraf": "^2.6.3",
- "ssri": "^6.0.1",
- "unique-filename": "^1.1.1",
- "y18n": "^4.0.0"
- }
- },
- "node_modules/terser-webpack-plugin/node_modules/find-cache-dir": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-2.1.0.tgz",
- "integrity": "sha512-Tq6PixE0w/VMFfCgbONnkiQIVol/JJL7nRMi20fqzA4NRs9AfeqMGeRdPi3wIhYkxjeBaWh2rxwapn5Tu3IqOQ==",
- "dev": true,
- "dependencies": {
- "commondir": "^1.0.1",
- "make-dir": "^2.0.0",
- "pkg-dir": "^3.0.0"
- },
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/terser-webpack-plugin/node_modules/find-up": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz",
- "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==",
- "dev": true,
- "dependencies": {
- "locate-path": "^3.0.0"
- },
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/terser-webpack-plugin/node_modules/locate-path": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz",
- "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==",
- "dev": true,
- "dependencies": {
- "p-locate": "^3.0.0",
- "path-exists": "^3.0.0"
- },
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/terser-webpack-plugin/node_modules/lru-cache": {
- "version": "5.1.1",
- "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz",
- "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==",
- "dev": true,
- "dependencies": {
- "yallist": "^3.0.2"
- }
- },
- "node_modules/terser-webpack-plugin/node_modules/make-dir": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-2.1.0.tgz",
- "integrity": "sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==",
- "dev": true,
- "dependencies": {
- "pify": "^4.0.1",
- "semver": "^5.6.0"
- },
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/terser-webpack-plugin/node_modules/mississippi": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/mississippi/-/mississippi-3.0.0.tgz",
- "integrity": "sha512-x471SsVjUtBRtcvd4BzKE9kFC+/2TeWgKCgw0bZcw1b9l2X3QX5vCWgF+KaZaYm87Ss//rHnWryupDrgLvmSkA==",
- "dev": true,
- "dependencies": {
- "concat-stream": "^1.5.0",
- "duplexify": "^3.4.2",
- "end-of-stream": "^1.1.0",
- "flush-write-stream": "^1.0.0",
- "from2": "^2.1.0",
- "parallel-transform": "^1.1.0",
- "pump": "^3.0.0",
- "pumpify": "^1.3.3",
- "stream-each": "^1.1.0",
- "through2": "^2.0.0"
- },
- "engines": {
- "node": ">=4.0.0"
- }
- },
- "node_modules/terser-webpack-plugin/node_modules/p-limit": {
- "version": "2.2.2",
- "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.2.2.tgz",
- "integrity": "sha512-WGR+xHecKTr7EbUEhyLSh5Dube9JtdiG78ufaeLxTgpudf/20KqyMioIUZJAezlTIi6evxuoUs9YXc11cU+yzQ==",
- "dev": true,
- "dependencies": {
- "p-try": "^2.0.0"
- },
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/terser-webpack-plugin/node_modules/p-locate": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz",
- "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==",
- "dev": true,
- "dependencies": {
- "p-limit": "^2.0.0"
- },
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/terser-webpack-plugin/node_modules/p-try": {
- "version": "2.2.0",
- "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz",
- "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==",
- "dev": true,
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/terser-webpack-plugin/node_modules/path-exists": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz",
- "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=",
- "dev": true,
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/terser-webpack-plugin/node_modules/pify": {
- "version": "4.0.1",
- "resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz",
- "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==",
- "dev": true,
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/terser-webpack-plugin/node_modules/pkg-dir": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-3.0.0.tgz",
- "integrity": "sha512-/E57AYkoeQ25qkxMj5PBOVgF8Kiu/h7cYS30Z5+R7WaiCCBfLq58ZI/dSeaEKb9WVJV5n/03QwrN3IeWIFllvw==",
- "dev": true,
- "dependencies": {
- "find-up": "^3.0.0"
- },
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/terser-webpack-plugin/node_modules/pump": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz",
- "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==",
- "dev": true,
- "dependencies": {
- "end-of-stream": "^1.1.0",
- "once": "^1.3.1"
- }
- },
- "node_modules/terser-webpack-plugin/node_modules/schema-utils": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-1.0.0.tgz",
- "integrity": "sha512-i27Mic4KovM/lnGsy8whRCHhc7VicJajAjTrYg11K9zfZXnYIt4k5F+kZkwjnrhKzLic/HLU4j11mjsz2G/75g==",
- "dev": true,
- "dependencies": {
- "ajv": "^6.1.0",
- "ajv-errors": "^1.0.0",
- "ajv-keywords": "^3.1.0"
- },
- "engines": {
- "node": ">= 4"
- }
- },
- "node_modules/terser-webpack-plugin/node_modules/source-map": {
- "version": "0.6.1",
- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
- "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/terser-webpack-plugin/node_modules/ssri": {
- "version": "6.0.2",
- "resolved": "https://registry.npmjs.org/ssri/-/ssri-6.0.2.tgz",
- "integrity": "sha512-cepbSq/neFK7xB6A50KHN0xHDotYzq58wWCa5LeWqnPrHG8GzfEjO/4O8kpmcGW+oaxkvhEJCWgbgNk4/ZV93Q==",
- "dev": true,
- "dependencies": {
- "figgy-pudding": "^3.5.1"
- }
- },
- "node_modules/terser-webpack-plugin/node_modules/y18n": {
- "version": "4.0.3",
- "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.3.tgz",
- "integrity": "sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ==",
- "dev": true
- },
- "node_modules/terser-webpack-plugin/node_modules/yallist": {
- "version": "3.1.1",
- "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz",
- "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==",
- "dev": true
- },
- "node_modules/terser/node_modules/source-map": {
- "version": "0.6.1",
- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
- "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/terser/node_modules/source-map-support": {
- "version": "0.5.16",
- "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.16.tgz",
- "integrity": "sha512-efyLRJDr68D9hBBNIPWFjhpFzURh+KJykQwvMyW5UiZzYwoF6l4YMMDIJJEyFWxWCqfyxLzz6tSfUFR+kXXsVQ==",
- "dev": true,
- "dependencies": {
- "buffer-from": "^1.0.0",
- "source-map": "^0.6.0"
- }
- },
- "node_modules/tether": {
- "version": "1.4.7",
- "resolved": "https://registry.npmjs.org/tether/-/tether-1.4.7.tgz",
- "integrity": "sha512-Z0J1aExjoFU8pybVkQAo/vD2wfSO63r+XOPfWQMC5qtf1bI7IWqNk4MiyBcgvvnY8kqnY06dVdvwTK2S3PU/Fw=="
- },
- "node_modules/through": {
- "version": "2.3.8",
- "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz",
- "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=",
- "dev": true
- },
- "node_modules/through2": {
- "version": "2.0.5",
- "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz",
- "integrity": "sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==",
- "dev": true,
- "dependencies": {
- "readable-stream": "~2.3.6",
- "xtend": "~4.0.1"
- }
- },
- "node_modules/thunky": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/thunky/-/thunky-1.1.0.tgz",
- "integrity": "sha512-eHY7nBftgThBqOyHGVN+l8gF0BucP09fMo0oO/Lb0w1OF80dJv+lDVpXG60WMQvkcxAkNybKsrEIE3ZtKGmPrA==",
- "dev": true
- },
- "node_modules/ticky": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/ticky/-/ticky-1.0.1.tgz",
- "integrity": "sha1-t8+nHnaPHJAAxJe5FRswlHxQ5G0="
- },
- "node_modules/timers-browserify": {
- "version": "2.0.11",
- "resolved": "https://registry.npmjs.org/timers-browserify/-/timers-browserify-2.0.11.tgz",
- "integrity": "sha512-60aV6sgJ5YEbzUdn9c8kYGIqOubPoUdqQCul3SBAsRCZ40s6Y5cMcrW4dt3/k/EsbLVJNl9n6Vz3fTc+k2GeKQ==",
- "dev": true,
- "dependencies": {
- "setimmediate": "^1.0.4"
- },
- "engines": {
- "node": ">=0.6.0"
- }
- },
- "node_modules/tmp": {
- "version": "0.0.31",
- "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.31.tgz",
- "integrity": "sha1-jzirlDjhcxXl29izZX6L+yd65Kc=",
- "dev": true,
- "dependencies": {
- "os-tmpdir": "~1.0.1"
- },
- "engines": {
- "node": ">=0.4.0"
- }
- },
- "node_modules/to-array": {
- "version": "0.1.4",
- "resolved": "https://registry.npmjs.org/to-array/-/to-array-0.1.4.tgz",
- "integrity": "sha1-F+bBH3PdTz10zaek/zI46a2b+JA="
- },
- "node_modules/to-arraybuffer": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/to-arraybuffer/-/to-arraybuffer-1.0.1.tgz",
- "integrity": "sha1-fSKbH8xjfkZsoIEYCDanqr/4P0M=",
- "dev": true
- },
- "node_modules/to-fast-properties": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-1.0.3.tgz",
- "integrity": "sha1-uDVx+k2MJbguIxsG46MFXeTKGkc=",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/to-object-path": {
- "version": "0.3.0",
- "resolved": "https://registry.npmjs.org/to-object-path/-/to-object-path-0.3.0.tgz",
- "integrity": "sha1-KXWIt7Dn4KwI4E5nL4XB9JmeF68=",
- "dev": true,
- "dependencies": {
- "kind-of": "^3.0.2"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/to-object-path/node_modules/kind-of": {
- "version": "3.2.2",
- "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz",
- "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=",
- "dev": true,
- "dependencies": {
- "is-buffer": "^1.1.5"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/to-regex": {
- "version": "3.0.2",
- "resolved": "https://registry.npmjs.org/to-regex/-/to-regex-3.0.2.tgz",
- "integrity": "sha512-FWtleNAtZ/Ki2qtqej2CXTOayOH9bHDQF+Q48VpWyDXjbYxA4Yz8iDB31zXOBUlOHHKidDbqGVrTUvQMPmBGBw==",
- "dev": true,
- "dependencies": {
- "define-property": "^2.0.2",
- "extend-shallow": "^3.0.2",
- "regex-not": "^1.0.2",
- "safe-regex": "^1.1.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/to-regex-range": {
- "version": "2.1.1",
- "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-2.1.1.tgz",
- "integrity": "sha1-fIDBe53+vlmeJzZ+DU3VWQFB2zg=",
- "dev": true,
- "dependencies": {
- "is-number": "^3.0.0",
- "repeat-string": "^1.6.1"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/toidentifier": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.0.tgz",
- "integrity": "sha512-yaOH/Pk/VEhBWWTlhI+qXxDFXlejDGcQipMlyxda9nthulaxLZUNcUqFxokp0vcYnvteJln5FNQDRrxj3YcbVw==",
- "dev": true,
- "engines": {
- "node": ">=0.6"
- }
- },
- "node_modules/tough-cookie": {
- "version": "2.4.3",
- "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.4.3.tgz",
- "integrity": "sha512-Q5srk/4vDM54WJsJio3XNn6K2sCG+CQ8G5Wz6bZhRZoAe/+TxjWB/GlFAnYEbkYVlON9FMk/fE3h2RLpPXo4lQ==",
- "dependencies": {
- "psl": "^1.1.24",
- "punycode": "^1.4.1"
- },
- "engines": {
- "node": ">=0.8"
- }
- },
- "node_modules/tough-cookie/node_modules/punycode": {
- "version": "1.4.1",
- "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz",
- "integrity": "sha1-wNWmOycYgArY4esPpSachN1BhF4="
- },
- "node_modules/tree-kill": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/tree-kill/-/tree-kill-1.2.0.tgz",
- "integrity": "sha512-DlX6dR0lOIRDFxI0mjL9IYg6OTncLm/Zt+JiBhE5OlFcAR8yc9S7FFXU9so0oda47frdM/JFsk7UjNt9vscKcg==",
- "dev": true,
- "bin": {
- "tree-kill": "cli.js"
- }
- },
- "node_modules/trim-newlines": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-1.0.0.tgz",
- "integrity": "sha1-WIeWa7WCpFA6QetST301ARgVphM=",
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/trim-right": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/trim-right/-/trim-right-1.0.1.tgz",
- "integrity": "sha1-yy4SAwZ+DI3h9hQJS5/kVwTqYAM=",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/true-case-path": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/true-case-path/-/true-case-path-1.0.3.tgz",
- "integrity": "sha512-m6s2OdQe5wgpFMC+pAJ+q9djG82O2jcHPOI6RNg1yy9rCYR+WD6Nbpl32fDpfC56nirdRy+opFa/Vk7HYhqaew==",
- "dependencies": {
- "glob": "^7.1.2"
- }
- },
- "node_modules/ts-node": {
- "version": "5.0.1",
- "resolved": "https://registry.npmjs.org/ts-node/-/ts-node-5.0.1.tgz",
- "integrity": "sha512-XK7QmDcNHVmZkVtkiwNDWiERRHPyU8nBqZB1+iv2UhOG0q3RQ9HsZ2CMqISlFbxjrYFGfG2mX7bW4dAyxBVzUw==",
- "dev": true,
- "dependencies": {
- "arrify": "^1.0.0",
- "chalk": "^2.3.0",
- "diff": "^3.1.0",
- "make-error": "^1.1.1",
- "minimist": "^1.2.0",
- "mkdirp": "^0.5.1",
- "source-map-support": "^0.5.3",
- "yn": "^2.0.0"
- },
- "bin": {
- "ts-node": "dist/bin.js"
- },
- "engines": {
- "node": ">=4.2.0"
- }
- },
- "node_modules/ts-node/node_modules/ansi-styles": {
- "version": "3.2.1",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
- "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",
- "dev": true,
- "dependencies": {
- "color-convert": "^1.9.0"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/ts-node/node_modules/chalk": {
- "version": "2.4.2",
- "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",
- "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",
- "dev": true,
- "dependencies": {
- "ansi-styles": "^3.2.1",
- "escape-string-regexp": "^1.0.5",
- "supports-color": "^5.3.0"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/ts-node/node_modules/supports-color": {
- "version": "5.5.0",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",
- "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",
- "dev": true,
- "dependencies": {
- "has-flag": "^3.0.0"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/tsickle": {
- "version": "0.32.1",
- "resolved": "https://registry.npmjs.org/tsickle/-/tsickle-0.32.1.tgz",
- "integrity": "sha512-JW9j+W0SaMSZGejIFZBk0AiPfnhljK3oLx5SaqxrJhjlvzFyPml5zqG1/PuScUj6yTe1muEqwk5CnDK0cOZmKw==",
- "dev": true,
- "dependencies": {
- "jasmine-diff": "^0.1.3",
- "minimist": "^1.2.0",
- "mkdirp": "^0.5.1",
- "source-map": "^0.6.0",
- "source-map-support": "^0.5.0"
- },
- "bin": {
- "tsickle": "src/main.js"
- }
- },
- "node_modules/tsickle/node_modules/source-map": {
- "version": "0.6.1",
- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
- "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/tslib": {
- "version": "1.10.0",
- "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.10.0.tgz",
- "integrity": "sha512-qOebF53frne81cf0S9B41ByenJ3/IuH8yJKngAX35CmiZySA0khhkovshKK+jGCaMnVomla7gVlIcc3EvKPbTQ=="
- },
- "node_modules/tslint": {
- "version": "5.9.1",
- "resolved": "https://registry.npmjs.org/tslint/-/tslint-5.9.1.tgz",
- "integrity": "sha1-ElX4ej/1frCw4fDmEKi0dIBGya4=",
- "dev": true,
- "dependencies": {
- "babel-code-frame": "^6.22.0",
- "builtin-modules": "^1.1.1",
- "chalk": "^2.3.0",
- "commander": "^2.12.1",
- "diff": "^3.2.0",
- "glob": "^7.1.1",
- "js-yaml": "^3.7.0",
- "minimatch": "^3.0.4",
- "resolve": "^1.3.2",
- "semver": "^5.3.0",
- "tslib": "^1.8.0",
- "tsutils": "^2.12.1"
- },
- "bin": {
- "tslint": "bin/tslint"
- },
- "engines": {
- "node": ">=4.8.0"
- }
- },
- "node_modules/tslint/node_modules/ansi-styles": {
- "version": "3.2.1",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
- "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",
- "dev": true,
- "dependencies": {
- "color-convert": "^1.9.0"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/tslint/node_modules/chalk": {
- "version": "2.4.2",
- "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",
- "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",
- "dev": true,
- "dependencies": {
- "ansi-styles": "^3.2.1",
- "escape-string-regexp": "^1.0.5",
- "supports-color": "^5.3.0"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/tslint/node_modules/supports-color": {
- "version": "5.5.0",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",
- "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",
- "dev": true,
- "dependencies": {
- "has-flag": "^3.0.0"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/tsutils": {
- "version": "2.29.0",
- "resolved": "https://registry.npmjs.org/tsutils/-/tsutils-2.29.0.tgz",
- "integrity": "sha512-g5JVHCIJwzfISaXpXE1qvNalca5Jwob6FjI4AoPlqMusJ6ftFE7IkkFoMhVLRgK+4Kx3gkzb8UZK5t5yTTvEmA==",
- "dev": true,
- "dependencies": {
- "tslib": "^1.8.1"
- }
- },
- "node_modules/tty-browserify": {
- "version": "0.0.0",
- "resolved": "https://registry.npmjs.org/tty-browserify/-/tty-browserify-0.0.0.tgz",
- "integrity": "sha1-oVe6QC2iTpv5V/mqadUk7tQpAaY=",
- "dev": true
- },
- "node_modules/tunnel-agent": {
- "version": "0.6.0",
- "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz",
- "integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=",
- "dependencies": {
- "safe-buffer": "^5.0.1"
- },
- "engines": {
- "node": "*"
- }
- },
- "node_modules/tweetnacl": {
- "version": "0.14.5",
- "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz",
- "integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q="
- },
- "node_modules/type-check": {
- "version": "0.3.2",
- "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.3.2.tgz",
- "integrity": "sha1-WITKtRLPHTVeP7eE8wgEsrUg23I=",
- "dev": true,
- "dependencies": {
- "prelude-ls": "~1.1.2"
- },
- "engines": {
- "node": ">= 0.8.0"
- }
- },
- "node_modules/type-is": {
- "version": "1.6.18",
- "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz",
- "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==",
- "dev": true,
- "dependencies": {
- "media-typer": "0.3.0",
- "mime-types": "~2.1.24"
- },
- "engines": {
- "node": ">= 0.6"
- }
- },
- "node_modules/typedarray": {
- "version": "0.0.6",
- "resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz",
- "integrity": "sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=",
- "dev": true
- },
- "node_modules/typescript": {
- "version": "2.9.2",
- "resolved": "https://registry.npmjs.org/typescript/-/typescript-2.9.2.tgz",
- "integrity": "sha512-Gr4p6nFNaoufRIY4NMdpQRNmgxVIGMs4Fcu/ujdYk3nAZqk7supzBE9idmvfZIlH/Cuj//dvi+019qEue9lV0w==",
- "dev": true,
- "bin": {
- "tsc": "bin/tsc",
- "tsserver": "bin/tsserver"
- },
- "engines": {
- "node": ">=4.2.0"
- }
- },
- "node_modules/uglify-js": {
- "version": "3.7.4",
- "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.7.4.tgz",
- "integrity": "sha512-tinYWE8X1QfCHxS1lBS8yiDekyhSXOO6R66yNOCdUJeojxxw+PX2BHAz/BWyW7PQ7pkiWVxJfIEbiDxyLWvUGg==",
- "dev": true,
- "optional": true,
- "dependencies": {
- "commander": "~2.20.3",
- "source-map": "~0.6.1"
- },
- "bin": {
- "uglifyjs": "bin/uglifyjs"
- },
- "engines": {
- "node": ">=0.8.0"
- }
- },
- "node_modules/uglify-js/node_modules/source-map": {
- "version": "0.6.1",
- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
- "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
- "dev": true,
- "optional": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/ultron": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/ultron/-/ultron-1.0.2.tgz",
- "integrity": "sha1-rOEWq1V80Zc4ak6I9GhTeMiy5Po=",
- "dev": true
- },
- "node_modules/union-value": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/union-value/-/union-value-1.0.1.tgz",
- "integrity": "sha512-tJfXmxMeWYnczCVs7XAEvIV7ieppALdyepWMkHkwciRpZraG/xwT+s2JN8+pr1+8jCRf80FFzvr+MpQeeoF4Xg==",
- "dev": true,
- "dependencies": {
- "arr-union": "^3.1.0",
- "get-value": "^2.0.6",
- "is-extendable": "^0.1.1",
- "set-value": "^2.0.1"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/unique-filename": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/unique-filename/-/unique-filename-1.1.1.tgz",
- "integrity": "sha512-Vmp0jIp2ln35UTXuryvjzkjGdRyf9b2lTXuSYUiPmzRcl3FDtYqAwOnTJkAngD9SWhnoJzDbTKwaOrZ+STtxNQ==",
- "dev": true,
- "dependencies": {
- "unique-slug": "^2.0.0"
- }
- },
- "node_modules/unique-slug": {
- "version": "2.0.2",
- "resolved": "https://registry.npmjs.org/unique-slug/-/unique-slug-2.0.2.tgz",
- "integrity": "sha512-zoWr9ObaxALD3DOPfjPSqxt4fnZiWblxHIgeWqW8x7UqDzEtHEQLzji2cuJYQFCU6KmoJikOYAZlrTHHebjx2w==",
- "dev": true,
- "dependencies": {
- "imurmurhash": "^0.1.4"
- }
- },
- "node_modules/unpipe": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz",
- "integrity": "sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw=",
- "dev": true,
- "engines": {
- "node": ">= 0.8"
- }
- },
- "node_modules/unset-value": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/unset-value/-/unset-value-1.0.0.tgz",
- "integrity": "sha1-g3aHP30jNRef+x5vw6jtDfyKtVk=",
- "dev": true,
- "dependencies": {
- "has-value": "^0.3.1",
- "isobject": "^3.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/unset-value/node_modules/has-value": {
- "version": "0.3.1",
- "resolved": "https://registry.npmjs.org/has-value/-/has-value-0.3.1.tgz",
- "integrity": "sha1-ex9YutpiyoJ+wKIHgCVlSEWZXh8=",
- "dev": true,
- "dependencies": {
- "get-value": "^2.0.3",
- "has-values": "^0.1.4",
- "isobject": "^2.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/unset-value/node_modules/has-value/node_modules/isobject": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/isobject/-/isobject-2.1.0.tgz",
- "integrity": "sha1-8GVWEJaj8dou9GJy+BXIQNh+DIk=",
- "dev": true,
- "dependencies": {
- "isarray": "1.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/unset-value/node_modules/has-values": {
- "version": "0.1.4",
- "resolved": "https://registry.npmjs.org/has-values/-/has-values-0.1.4.tgz",
- "integrity": "sha1-bWHeldkd/Km5oCCJrThL/49it3E=",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/upath": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/upath/-/upath-1.2.0.tgz",
- "integrity": "sha512-aZwGpamFO61g3OlfT7OQCHqhGnW43ieH9WZeP7QxN/G/jS4jfqUkZxoryvJgVPEcrl5NL/ggHsSmLMHuH64Lhg==",
- "dev": true,
- "engines": {
- "node": ">=4",
- "yarn": "*"
- }
- },
- "node_modules/uri-js": {
- "version": "4.2.2",
- "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.2.2.tgz",
- "integrity": "sha512-KY9Frmirql91X2Qgjry0Wd4Y+YTdrdZheS8TFwvkbLWf/G5KNJDCh6pKL5OZctEW4+0Baa5idK2ZQuELRwPznQ==",
- "dependencies": {
- "punycode": "^2.1.0"
- }
- },
- "node_modules/urix": {
- "version": "0.1.0",
- "resolved": "https://registry.npmjs.org/urix/-/urix-0.1.0.tgz",
- "integrity": "sha1-2pN/emLiH+wf0Y1Js1wpNQZ6bHI=",
- "dev": true
- },
- "node_modules/url": {
- "version": "0.11.0",
- "resolved": "https://registry.npmjs.org/url/-/url-0.11.0.tgz",
- "integrity": "sha1-ODjpfPxgUh63PFJajlW/3Z4uKPE=",
- "dev": true,
- "dependencies": {
- "punycode": "1.3.2",
- "querystring": "0.2.0"
- }
- },
- "node_modules/url-parse": {
- "version": "1.5.1",
- "resolved": "https://registry.npmjs.org/url-parse/-/url-parse-1.5.1.tgz",
- "integrity": "sha512-HOfCOUJt7iSYzEx/UqgtwKRMC6EU91NFhsCHMv9oM03VJcVo2Qrp8T8kI9D7amFf1cu+/3CEhgb3rF9zL7k85Q==",
- "dev": true,
- "dependencies": {
- "querystringify": "^2.1.1",
- "requires-port": "^1.0.0"
- }
- },
- "node_modules/url/node_modules/punycode": {
- "version": "1.3.2",
- "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.3.2.tgz",
- "integrity": "sha1-llOgNvt8HuQjQvIyXM7v6jkmxI0=",
- "dev": true
- },
- "node_modules/use": {
- "version": "3.1.1",
- "resolved": "https://registry.npmjs.org/use/-/use-3.1.1.tgz",
- "integrity": "sha512-cwESVXlO3url9YWlFW/TA9cshCEhtu7IKJ/p5soJ/gGpj7vbvFrAY/eIioQ6Dw23KjZhYgiIo8HOs1nQ2vr/oQ==",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/useragent": {
- "version": "2.3.0",
- "resolved": "https://registry.npmjs.org/useragent/-/useragent-2.3.0.tgz",
- "integrity": "sha512-4AoH4pxuSvHCjqLO04sU6U/uE65BYza8l/KKBS0b0hnUPWi+cQ2BpeTEwejCSx9SPV5/U03nniDTrWx5NrmKdw==",
- "dev": true,
- "dependencies": {
- "lru-cache": "4.1.x",
- "tmp": "0.0.x"
- }
- },
- "node_modules/util": {
- "version": "0.11.1",
- "resolved": "https://registry.npmjs.org/util/-/util-0.11.1.tgz",
- "integrity": "sha512-HShAsny+zS2TZfaXxD9tYj4HQGlBezXZMZuM/S5PKLLoZkShZiGk9o5CzukI1LVHZvjdvZ2Sj1aW/Ndn2NB/HQ==",
- "dev": true,
- "dependencies": {
- "inherits": "2.0.3"
- }
- },
- "node_modules/util-deprecate": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
- "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8="
- },
- "node_modules/util/node_modules/inherits": {
- "version": "2.0.3",
- "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz",
- "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=",
- "dev": true
- },
- "node_modules/utils-merge": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz",
- "integrity": "sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM=",
- "dev": true,
- "engines": {
- "node": ">= 0.4.0"
- }
- },
- "node_modules/uuid": {
- "version": "3.3.3",
- "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.3.3.tgz",
- "integrity": "sha512-pW0No1RGHgzlpHJO1nsVrHKpOEIxkGg1xB+v0ZmdNH5OAeAwzAVrCnI2/6Mtx+Uys6iaylxa+D3g4j63IKKjSQ==",
- "bin": {
- "uuid": "bin/uuid"
- }
- },
- "node_modules/validate-npm-package-license": {
- "version": "3.0.4",
- "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz",
- "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==",
- "dependencies": {
- "spdx-correct": "^3.0.0",
- "spdx-expression-parse": "^3.0.0"
- }
- },
- "node_modules/validate-npm-package-name": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/validate-npm-package-name/-/validate-npm-package-name-3.0.0.tgz",
- "integrity": "sha1-X6kS2B630MdK/BQN5zF/DKffQ34=",
- "dev": true,
- "dependencies": {
- "builtins": "^1.0.3"
- }
- },
- "node_modules/vary": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz",
- "integrity": "sha1-IpnwLG3tMNSllhsLn3RSShj2NPw=",
- "dev": true,
- "engines": {
- "node": ">= 0.8"
- }
- },
- "node_modules/verror": {
- "version": "1.10.0",
- "resolved": "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz",
- "integrity": "sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA=",
- "engines": [
- "node >=0.6.0"
- ],
- "dependencies": {
- "assert-plus": "^1.0.0",
- "core-util-is": "1.0.2",
- "extsprintf": "^1.2.0"
- }
- },
- "node_modules/viewerjs": {
- "version": "1.5.0",
- "resolved": "https://registry.npmjs.org/viewerjs/-/viewerjs-1.5.0.tgz",
- "integrity": "sha512-ZiJ0vrXDvomLSY3ixaZCJtmdenomsvPPQwZKwvtXUMCiO2HHtFGoB/KqpS9QzABSeKaRLfcENp1uRYJ7l1MkYQ=="
- },
- "node_modules/vm-browserify": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/vm-browserify/-/vm-browserify-1.1.2.tgz",
- "integrity": "sha512-2ham8XPWTONajOR0ohOKOHXkm3+gaBmGut3SRuu75xLd/RRaY6vqgh8NBYYk7+RW3u5AtzPQZG8F10LHkl0lAQ==",
- "dev": true
- },
- "node_modules/void-elements": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/void-elements/-/void-elements-2.0.1.tgz",
- "integrity": "sha1-wGavtYK7HLQSjWDqkjkulNXp2+w=",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/watchpack": {
- "version": "1.7.5",
- "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-1.7.5.tgz",
- "integrity": "sha512-9P3MWk6SrKjHsGkLT2KHXdQ/9SNkyoJbabxnKOoJepsvJjJG8uYTR3yTPxPQvNDI3w4Nz1xnE0TLHK4RIVe/MQ==",
- "dev": true,
- "dependencies": {
- "graceful-fs": "^4.1.2",
- "neo-async": "^2.5.0"
- },
- "optionalDependencies": {
- "chokidar": "^3.4.1",
- "watchpack-chokidar2": "^2.0.1"
- }
- },
- "node_modules/watchpack-chokidar2": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/watchpack-chokidar2/-/watchpack-chokidar2-2.0.1.tgz",
- "integrity": "sha512-nCFfBIPKr5Sh61s4LPpy1Wtfi0HE8isJ3d2Yb5/Ppw2P2B/3eVSEBjKfN0fmHJSK14+31KwMKmcrzs2GM4P0Ww==",
- "dev": true,
- "optional": true,
- "dependencies": {
- "chokidar": "^2.1.8"
- }
- },
- "node_modules/watchpack-chokidar2/node_modules/chokidar": {
- "version": "2.1.8",
- "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-2.1.8.tgz",
- "integrity": "sha512-ZmZUazfOzf0Nve7duiCKD23PFSCs4JPoYyccjUFF3aQkQadqBhfzhjkwBH2mNOG9cTBwhamM37EIsIkZw3nRgg==",
- "deprecated": "Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.",
- "dev": true,
- "optional": true,
- "dependencies": {
- "anymatch": "^2.0.0",
- "async-each": "^1.0.1",
- "braces": "^2.3.2",
- "glob-parent": "^3.1.0",
- "inherits": "^2.0.3",
- "is-binary-path": "^1.0.0",
- "is-glob": "^4.0.0",
- "normalize-path": "^3.0.0",
- "path-is-absolute": "^1.0.0",
- "readdirp": "^2.2.1",
- "upath": "^1.1.1"
- },
- "optionalDependencies": {
- "fsevents": "^1.2.7"
- }
- },
- "node_modules/watchpack-chokidar2/node_modules/normalize-path": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz",
- "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==",
- "dev": true,
- "optional": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/watchpack/node_modules/anymatch": {
- "version": "3.1.2",
- "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.2.tgz",
- "integrity": "sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg==",
- "dev": true,
- "optional": true,
- "dependencies": {
- "normalize-path": "^3.0.0",
- "picomatch": "^2.0.4"
- },
- "engines": {
- "node": ">= 8"
- }
- },
- "node_modules/watchpack/node_modules/binary-extensions": {
- "version": "2.2.0",
- "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz",
- "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==",
- "dev": true,
- "optional": true,
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/watchpack/node_modules/braces": {
- "version": "3.0.2",
- "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz",
- "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==",
- "dev": true,
- "optional": true,
- "dependencies": {
- "fill-range": "^7.0.1"
- },
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/watchpack/node_modules/chokidar": {
- "version": "3.5.2",
- "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.2.tgz",
- "integrity": "sha512-ekGhOnNVPgT77r4K/U3GDhu+FQ2S8TnK/s2KbIGXi0SZWuwkZ2QNyfWdZW+TVfn84DpEP7rLeCt2UI6bJ8GwbQ==",
- "dev": true,
- "optional": true,
- "dependencies": {
- "anymatch": "~3.1.2",
- "braces": "~3.0.2",
- "glob-parent": "~5.1.2",
- "is-binary-path": "~2.1.0",
- "is-glob": "~4.0.1",
- "normalize-path": "~3.0.0",
- "readdirp": "~3.6.0"
- },
- "engines": {
- "node": ">= 8.10.0"
- },
- "optionalDependencies": {
- "fsevents": "~2.3.2"
- }
- },
- "node_modules/watchpack/node_modules/fill-range": {
- "version": "7.0.1",
- "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz",
- "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==",
- "dev": true,
- "optional": true,
- "dependencies": {
- "to-regex-range": "^5.0.1"
- },
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/watchpack/node_modules/fsevents": {
- "version": "2.3.2",
- "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz",
- "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==",
- "dev": true,
- "hasInstallScript": true,
- "optional": true,
- "os": [
- "darwin"
- ],
- "engines": {
- "node": "^8.16.0 || ^10.6.0 || >=11.0.0"
- }
- },
- "node_modules/watchpack/node_modules/glob-parent": {
- "version": "5.1.2",
- "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz",
- "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==",
- "dev": true,
- "optional": true,
- "dependencies": {
- "is-glob": "^4.0.1"
- },
- "engines": {
- "node": ">= 6"
- }
- },
- "node_modules/watchpack/node_modules/is-binary-path": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz",
- "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==",
- "dev": true,
- "optional": true,
- "dependencies": {
- "binary-extensions": "^2.0.0"
- },
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/watchpack/node_modules/is-number": {
- "version": "7.0.0",
- "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz",
- "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==",
- "dev": true,
- "optional": true,
- "engines": {
- "node": ">=0.12.0"
- }
- },
- "node_modules/watchpack/node_modules/normalize-path": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz",
- "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==",
- "dev": true,
- "optional": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/watchpack/node_modules/readdirp": {
- "version": "3.6.0",
- "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz",
- "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==",
- "dev": true,
- "optional": true,
- "dependencies": {
- "picomatch": "^2.2.1"
- },
- "engines": {
- "node": ">=8.10.0"
- }
- },
- "node_modules/watchpack/node_modules/to-regex-range": {
- "version": "5.0.1",
- "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz",
- "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==",
- "dev": true,
- "optional": true,
- "dependencies": {
- "is-number": "^7.0.0"
- },
- "engines": {
- "node": ">=8.0"
- }
- },
- "node_modules/wbuf": {
- "version": "1.7.3",
- "resolved": "https://registry.npmjs.org/wbuf/-/wbuf-1.7.3.tgz",
- "integrity": "sha512-O84QOnr0icsbFGLS0O3bI5FswxzRr8/gHwWkDlQFskhSPryQXvrTMxjxGP4+iWYoauLoBvfDpkrOauZ+0iZpDA==",
- "dev": true,
- "dependencies": {
- "minimalistic-assert": "^1.0.0"
- }
- },
- "node_modules/webdriver-js-extender": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/webdriver-js-extender/-/webdriver-js-extender-1.0.0.tgz",
- "integrity": "sha1-gcUzqeM9W/tZe05j4s2yW1R3dRU=",
- "dev": true,
- "dependencies": {
- "@types/selenium-webdriver": "^2.53.35",
- "selenium-webdriver": "^2.53.2"
- }
- },
- "node_modules/webdriver-js-extender/node_modules/adm-zip": {
- "version": "0.4.4",
- "resolved": "https://registry.npmjs.org/adm-zip/-/adm-zip-0.4.4.tgz",
- "integrity": "sha1-ph7VrmkFw66lizplfSUDMJEFJzY=",
- "dev": true,
- "engines": {
- "node": ">=0.3.0"
- }
- },
- "node_modules/webdriver-js-extender/node_modules/sax": {
- "version": "0.6.1",
- "resolved": "https://registry.npmjs.org/sax/-/sax-0.6.1.tgz",
- "integrity": "sha1-VjsZx8HeiS4Jv8Ty/DDjwn8JUrk=",
- "dev": true
- },
- "node_modules/webdriver-js-extender/node_modules/selenium-webdriver": {
- "version": "2.53.3",
- "resolved": "https://registry.npmjs.org/selenium-webdriver/-/selenium-webdriver-2.53.3.tgz",
- "integrity": "sha1-0p/1qVff8aG0ncRXdW5OS/vc4IU=",
- "dev": true,
- "dependencies": {
- "adm-zip": "0.4.4",
- "rimraf": "^2.2.8",
- "tmp": "0.0.24",
- "ws": "^1.0.1",
- "xml2js": "0.4.4"
- },
- "engines": {
- "node": ">= 4.2.x"
- }
- },
- "node_modules/webdriver-js-extender/node_modules/tmp": {
- "version": "0.0.24",
- "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.24.tgz",
- "integrity": "sha1-1qXhmNFKmDXMby18PZ4wJCjIzxI=",
- "dev": true,
- "engines": {
- "node": ">=0.4.0"
- }
- },
- "node_modules/webdriver-js-extender/node_modules/xml2js": {
- "version": "0.4.4",
- "resolved": "https://registry.npmjs.org/xml2js/-/xml2js-0.4.4.tgz",
- "integrity": "sha1-MREBAAMAiuGSQOuhdJe1fHKcVV0=",
- "dev": true,
- "dependencies": {
- "sax": "0.6.x",
- "xmlbuilder": ">=1.0.0"
- }
- },
- "node_modules/webpack": {
- "version": "4.28.4",
- "resolved": "https://registry.npmjs.org/webpack/-/webpack-4.28.4.tgz",
- "integrity": "sha512-NxjD61WsK/a3JIdwWjtIpimmvE6UrRi3yG54/74Hk9rwNj5FPkA4DJCf1z4ByDWLkvZhTZE+P3C/eh6UD5lDcw==",
- "dev": true,
- "dependencies": {
- "@webassemblyjs/ast": "1.7.11",
- "@webassemblyjs/helper-module-context": "1.7.11",
- "@webassemblyjs/wasm-edit": "1.7.11",
- "@webassemblyjs/wasm-parser": "1.7.11",
- "acorn": "^5.6.2",
- "acorn-dynamic-import": "^3.0.0",
- "ajv": "^6.1.0",
- "ajv-keywords": "^3.1.0",
- "chrome-trace-event": "^1.0.0",
- "enhanced-resolve": "^4.1.0",
- "eslint-scope": "^4.0.0",
- "json-parse-better-errors": "^1.0.2",
- "loader-runner": "^2.3.0",
- "loader-utils": "^1.1.0",
- "memory-fs": "~0.4.1",
- "micromatch": "^3.1.8",
- "mkdirp": "~0.5.0",
- "neo-async": "^2.5.0",
- "node-libs-browser": "^2.0.0",
- "schema-utils": "^0.4.4",
- "tapable": "^1.1.0",
- "terser-webpack-plugin": "^1.1.0",
- "watchpack": "^1.5.0",
- "webpack-sources": "^1.3.0"
- },
- "bin": {
- "webpack": "bin/webpack.js"
- },
- "engines": {
- "node": ">=6.11.5"
- }
- },
- "node_modules/webpack-core": {
- "version": "0.6.9",
- "resolved": "https://registry.npmjs.org/webpack-core/-/webpack-core-0.6.9.tgz",
- "integrity": "sha1-/FcViMhVjad76e+23r3Fo7FyvcI=",
- "dev": true,
- "dependencies": {
- "source-list-map": "~0.1.7",
- "source-map": "~0.4.1"
- },
- "engines": {
- "node": ">=0.6"
- }
- },
- "node_modules/webpack-core/node_modules/source-list-map": {
- "version": "0.1.8",
- "resolved": "https://registry.npmjs.org/source-list-map/-/source-list-map-0.1.8.tgz",
- "integrity": "sha1-xVCyq1Qn9rPyH1r+rYjE9Vh7IQY=",
- "dev": true
- },
- "node_modules/webpack-dev-middleware": {
- "version": "3.4.0",
- "resolved": "https://registry.npmjs.org/webpack-dev-middleware/-/webpack-dev-middleware-3.4.0.tgz",
- "integrity": "sha512-Q9Iyc0X9dP9bAsYskAVJ/hmIZZQwf/3Sy4xCAZgL5cUkjZmUZLt4l5HpbST/Pdgjn3u6pE7u5OdGd1apgzRujA==",
- "dev": true,
- "dependencies": {
- "memory-fs": "~0.4.1",
- "mime": "^2.3.1",
- "range-parser": "^1.0.3",
- "webpack-log": "^2.0.0"
- },
- "engines": {
- "node": ">= 6"
- }
- },
- "node_modules/webpack-dev-middleware/node_modules/mime": {
- "version": "2.4.4",
- "resolved": "https://registry.npmjs.org/mime/-/mime-2.4.4.tgz",
- "integrity": "sha512-LRxmNwziLPT828z+4YkNzloCFC2YM4wrB99k+AV5ZbEyfGNWfG8SO1FUXLmLDBSo89NrJZ4DIWeLjy1CHGhMGA==",
- "dev": true,
- "bin": {
- "mime": "cli.js"
- },
- "engines": {
- "node": ">=4.0.0"
- }
- },
- "node_modules/webpack-dev-server": {
- "version": "3.1.14",
- "resolved": "https://registry.npmjs.org/webpack-dev-server/-/webpack-dev-server-3.1.14.tgz",
- "integrity": "sha512-mGXDgz5SlTxcF3hUpfC8hrQ11yhAttuUQWf1Wmb+6zo3x6rb7b9mIfuQvAPLdfDRCGRGvakBWHdHOa0I9p/EVQ==",
- "dev": true,
- "dependencies": {
- "ansi-html": "0.0.7",
- "bonjour": "^3.5.0",
- "chokidar": "^2.0.0",
- "compression": "^1.5.2",
- "connect-history-api-fallback": "^1.3.0",
- "debug": "^3.1.0",
- "del": "^3.0.0",
- "express": "^4.16.2",
- "html-entities": "^1.2.0",
- "http-proxy-middleware": "~0.18.0",
- "import-local": "^2.0.0",
- "internal-ip": "^3.0.1",
- "ip": "^1.1.5",
- "killable": "^1.0.0",
- "loglevel": "^1.4.1",
- "opn": "^5.1.0",
- "portfinder": "^1.0.9",
- "schema-utils": "^1.0.0",
- "selfsigned": "^1.9.1",
- "semver": "^5.6.0",
- "serve-index": "^1.7.2",
- "sockjs": "0.3.19",
- "sockjs-client": "1.3.0",
- "spdy": "^4.0.0",
- "strip-ansi": "^3.0.0",
- "supports-color": "^5.1.0",
- "url": "^0.11.0",
- "webpack-dev-middleware": "3.4.0",
- "webpack-log": "^2.0.0",
- "yargs": "12.0.2"
- },
- "bin": {
- "webpack-dev-server": "bin/webpack-dev-server.js"
- },
- "engines": {
- "node": ">= 6.11.5"
- }
- },
- "node_modules/webpack-dev-server/node_modules/ansi-regex": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz",
- "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=",
- "dev": true,
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/webpack-dev-server/node_modules/camelcase": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-4.1.0.tgz",
- "integrity": "sha1-1UVjW+HjPFQmScaRc+Xeas+uNN0=",
- "dev": true,
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/webpack-dev-server/node_modules/cliui": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/cliui/-/cliui-4.1.0.tgz",
- "integrity": "sha512-4FG+RSG9DL7uEwRUZXZn3SS34DiDPfzP0VOiEwtUWlE+AR2EIg+hSyvrIgUUfhdgR/UkAeW2QHgeP+hWrXs7jQ==",
- "dev": true,
- "dependencies": {
- "string-width": "^2.1.1",
- "strip-ansi": "^4.0.0",
- "wrap-ansi": "^2.0.0"
- }
- },
- "node_modules/webpack-dev-server/node_modules/cliui/node_modules/strip-ansi": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz",
- "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=",
- "dev": true,
- "dependencies": {
- "ansi-regex": "^3.0.0"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/webpack-dev-server/node_modules/cross-spawn": {
- "version": "6.0.5",
- "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz",
- "integrity": "sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==",
- "dev": true,
- "dependencies": {
- "nice-try": "^1.0.4",
- "path-key": "^2.0.1",
- "semver": "^5.5.0",
- "shebang-command": "^1.2.0",
- "which": "^1.2.9"
- },
- "engines": {
- "node": ">=4.8"
- }
- },
- "node_modules/webpack-dev-server/node_modules/debug": {
- "version": "3.2.6",
- "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.6.tgz",
- "integrity": "sha512-mel+jf7nrtEl5Pn1Qx46zARXKDpBbvzezse7p7LqINmdoIk8PYP5SySaxEmYv6TZ0JyEKA1hsCId6DIhgITtWQ==",
- "dev": true,
- "dependencies": {
- "ms": "^2.1.1"
- }
- },
- "node_modules/webpack-dev-server/node_modules/decamelize": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-2.0.0.tgz",
- "integrity": "sha512-Ikpp5scV3MSYxY39ymh45ZLEecsTdv/Xj2CaQfI8RLMuwi7XvjX9H/fhraiSuU+C5w5NTDu4ZU72xNiZnurBPg==",
- "dev": true,
- "dependencies": {
- "xregexp": "4.0.0"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/webpack-dev-server/node_modules/execa": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/execa/-/execa-1.0.0.tgz",
- "integrity": "sha512-adbxcyWV46qiHyvSp50TKt05tB4tK3HcmF7/nxfAdhnox83seTDbwnaqKO4sXRy7roHAIFqJP/Rw/AuEbX61LA==",
- "dev": true,
- "dependencies": {
- "cross-spawn": "^6.0.0",
- "get-stream": "^4.0.0",
- "is-stream": "^1.1.0",
- "npm-run-path": "^2.0.0",
- "p-finally": "^1.0.0",
- "signal-exit": "^3.0.0",
- "strip-eof": "^1.0.0"
- },
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/webpack-dev-server/node_modules/find-up": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz",
- "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==",
- "dev": true,
- "dependencies": {
- "locate-path": "^3.0.0"
- },
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/webpack-dev-server/node_modules/get-stream": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-4.1.0.tgz",
- "integrity": "sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w==",
- "dev": true,
- "dependencies": {
- "pump": "^3.0.0"
- },
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/webpack-dev-server/node_modules/invert-kv": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/invert-kv/-/invert-kv-2.0.0.tgz",
- "integrity": "sha512-wPVv/y/QQ/Uiirj/vh3oP+1Ww+AWehmi1g5fFWGPF6IpCBCDVrhgHRMvrLfdYcwDh3QJbGXDW4JAuzxElLSqKA==",
- "dev": true,
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/webpack-dev-server/node_modules/is-fullwidth-code-point": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz",
- "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=",
- "dev": true,
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/webpack-dev-server/node_modules/lcid": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/lcid/-/lcid-2.0.0.tgz",
- "integrity": "sha512-avPEb8P8EGnwXKClwsNUgryVjllcRqtMYa49NTsbQagYuT1DcXnl1915oxWjoyGrXR6zH/Y0Zc96xWsPcoDKeA==",
- "dev": true,
- "dependencies": {
- "invert-kv": "^2.0.0"
- },
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/webpack-dev-server/node_modules/locate-path": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz",
- "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==",
- "dev": true,
- "dependencies": {
- "p-locate": "^3.0.0",
- "path-exists": "^3.0.0"
- },
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/webpack-dev-server/node_modules/ms": {
- "version": "2.1.2",
- "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
- "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
- "dev": true
- },
- "node_modules/webpack-dev-server/node_modules/os-locale": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/os-locale/-/os-locale-3.1.0.tgz",
- "integrity": "sha512-Z8l3R4wYWM40/52Z+S265okfFj8Kt2cC2MKY+xNi3kFs+XGI7WXu/I309QQQYbRW4ijiZ+yxs9pqEhJh0DqW3Q==",
- "dev": true,
- "dependencies": {
- "execa": "^1.0.0",
- "lcid": "^2.0.0",
- "mem": "^4.0.0"
- },
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/webpack-dev-server/node_modules/p-limit": {
- "version": "2.2.2",
- "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.2.2.tgz",
- "integrity": "sha512-WGR+xHecKTr7EbUEhyLSh5Dube9JtdiG78ufaeLxTgpudf/20KqyMioIUZJAezlTIi6evxuoUs9YXc11cU+yzQ==",
- "dev": true,
- "dependencies": {
- "p-try": "^2.0.0"
- },
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/webpack-dev-server/node_modules/p-locate": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz",
- "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==",
- "dev": true,
- "dependencies": {
- "p-limit": "^2.0.0"
- },
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/webpack-dev-server/node_modules/p-try": {
- "version": "2.2.0",
- "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz",
- "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==",
- "dev": true,
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/webpack-dev-server/node_modules/path-exists": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz",
- "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=",
- "dev": true,
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/webpack-dev-server/node_modules/pump": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz",
- "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==",
- "dev": true,
- "dependencies": {
- "end-of-stream": "^1.1.0",
- "once": "^1.3.1"
- }
- },
- "node_modules/webpack-dev-server/node_modules/schema-utils": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-1.0.0.tgz",
- "integrity": "sha512-i27Mic4KovM/lnGsy8whRCHhc7VicJajAjTrYg11K9zfZXnYIt4k5F+kZkwjnrhKzLic/HLU4j11mjsz2G/75g==",
- "dev": true,
- "dependencies": {
- "ajv": "^6.1.0",
- "ajv-errors": "^1.0.0",
- "ajv-keywords": "^3.1.0"
- },
- "engines": {
- "node": ">= 4"
- }
- },
- "node_modules/webpack-dev-server/node_modules/string-width": {
- "version": "2.1.1",
- "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz",
- "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==",
- "dev": true,
- "dependencies": {
- "is-fullwidth-code-point": "^2.0.0",
- "strip-ansi": "^4.0.0"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/webpack-dev-server/node_modules/string-width/node_modules/strip-ansi": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz",
- "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=",
- "dev": true,
- "dependencies": {
- "ansi-regex": "^3.0.0"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/webpack-dev-server/node_modules/supports-color": {
- "version": "5.5.0",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",
- "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",
- "dev": true,
- "dependencies": {
- "has-flag": "^3.0.0"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/webpack-dev-server/node_modules/yargs": {
- "version": "12.0.2",
- "resolved": "https://registry.npmjs.org/yargs/-/yargs-12.0.2.tgz",
- "integrity": "sha512-e7SkEx6N6SIZ5c5H22RTZae61qtn3PYUE8JYbBFlK9sYmh3DMQ6E5ygtaG/2BW0JZi4WGgTR2IV5ChqlqrDGVQ==",
- "dev": true,
- "dependencies": {
- "cliui": "^4.0.0",
- "decamelize": "^2.0.0",
- "find-up": "^3.0.0",
- "get-caller-file": "^1.0.1",
- "os-locale": "^3.0.0",
- "require-directory": "^2.1.1",
- "require-main-filename": "^1.0.1",
- "set-blocking": "^2.0.0",
- "string-width": "^2.0.0",
- "which-module": "^2.0.0",
- "y18n": "^3.2.1 || ^4.0.0",
- "yargs-parser": "^10.1.0"
- }
- },
- "node_modules/webpack-dev-server/node_modules/yargs-parser": {
- "version": "10.1.0",
- "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-10.1.0.tgz",
- "integrity": "sha512-VCIyR1wJoEBZUqk5PA+oOBF6ypbwh5aNB3I50guxAL/quggdfs4TtNHQrSazFA3fYZ+tEqfs0zIGlv0c/rgjbQ==",
- "dev": true,
- "dependencies": {
- "camelcase": "^4.1.0"
- }
- },
- "node_modules/webpack-log": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/webpack-log/-/webpack-log-2.0.0.tgz",
- "integrity": "sha512-cX8G2vR/85UYG59FgkoMamwHUIkSSlV3bBMRsbxVXVUk2j6NleCKjQ/WE9eYg9WY4w25O9w8wKP4rzNZFmUcUg==",
- "dev": true,
- "dependencies": {
- "ansi-colors": "^3.0.0",
- "uuid": "^3.3.2"
- },
- "engines": {
- "node": ">= 6"
- }
- },
- "node_modules/webpack-merge": {
- "version": "4.1.4",
- "resolved": "https://registry.npmjs.org/webpack-merge/-/webpack-merge-4.1.4.tgz",
- "integrity": "sha512-TmSe1HZKeOPey3oy1Ov2iS3guIZjWvMT2BBJDzzT5jScHTjVC3mpjJofgueEzaEd6ibhxRDD6MIblDr8tzh8iQ==",
- "dev": true,
- "dependencies": {
- "lodash": "^4.17.5"
- }
- },
- "node_modules/webpack-sources": {
- "version": "1.3.0",
- "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-1.3.0.tgz",
- "integrity": "sha512-OiVgSrbGu7NEnEvQJJgdSFPl2qWKkWq5lHMhgiToIiN9w34EBnjYzSYs+VbL5KoYiLNtFFa7BZIKxRED3I32pA==",
- "dev": true,
- "dependencies": {
- "source-list-map": "^2.0.0",
- "source-map": "~0.6.1"
- }
- },
- "node_modules/webpack-sources/node_modules/source-map": {
- "version": "0.6.1",
- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
- "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/webpack-subresource-integrity": {
- "version": "1.1.0-rc.6",
- "resolved": "https://registry.npmjs.org/webpack-subresource-integrity/-/webpack-subresource-integrity-1.1.0-rc.6.tgz",
- "integrity": "sha512-Az7y8xTniNhaA0620AV1KPwWOqawurVVDzQSpPAeR5RwNbL91GoBSJAAo9cfd+GiFHwsS5bbHepBw1e6Hzxy4w==",
- "dev": true,
- "dependencies": {
- "webpack-core": "^0.6.8"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/websocket-driver": {
- "version": "0.7.3",
- "resolved": "https://registry.npmjs.org/websocket-driver/-/websocket-driver-0.7.3.tgz",
- "integrity": "sha512-bpxWlvbbB459Mlipc5GBzzZwhoZgGEZLuqPaR0INBGnPAY1vdBX6hPnoFXiw+3yWxDuHyQjO2oXTMyS8A5haFg==",
- "dependencies": {
- "http-parser-js": ">=0.4.0 <0.4.11",
- "safe-buffer": ">=5.1.0",
- "websocket-extensions": ">=0.1.1"
- },
- "engines": {
- "node": ">=0.8.0"
- }
- },
- "node_modules/websocket-extensions": {
- "version": "0.1.4",
- "resolved": "https://registry.npmjs.org/websocket-extensions/-/websocket-extensions-0.1.4.tgz",
- "integrity": "sha512-OqedPIGOfsDlo31UNwYbCFMSaO9m9G/0faIHj5/dZFDMFqPTcx6UwqyOy3COEaEOg/9VsGIpdqn62W5KhoKSpg==",
- "engines": {
- "node": ">=0.8.0"
- }
- },
- "node_modules/whatwg-fetch": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/whatwg-fetch/-/whatwg-fetch-3.0.0.tgz",
- "integrity": "sha512-9GSJUgz1D4MfyKU7KRqwOjXCXTqWdFNvEr7eUBYchQiVc744mqK/MzXPNR2WsPkmkOa4ywfg8C2n8h+13Bey1Q=="
- },
- "node_modules/when": {
- "version": "3.6.4",
- "resolved": "https://registry.npmjs.org/when/-/when-3.6.4.tgz",
- "integrity": "sha1-RztRfsFZ4rhQBUl6E5g/CVQS404=",
- "dev": true
- },
- "node_modules/which": {
- "version": "1.3.1",
- "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz",
- "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==",
- "dependencies": {
- "isexe": "^2.0.0"
- },
- "bin": {
- "which": "bin/which"
- }
- },
- "node_modules/which-module": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.0.tgz",
- "integrity": "sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho="
- },
- "node_modules/wide-align": {
- "version": "1.1.3",
- "resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.3.tgz",
- "integrity": "sha512-QGkOQc8XL6Bt5PwnsExKBPuMKBxnGxWWW3fU55Xt4feHozMUhdUMaBCk290qpm/wG5u/RSKzwdAC4i51YigihA==",
- "dependencies": {
- "string-width": "^1.0.2 || 2"
- }
- },
- "node_modules/window-size": {
- "version": "0.1.4",
- "resolved": "https://registry.npmjs.org/window-size/-/window-size-0.1.4.tgz",
- "integrity": "sha1-+OGqHuWlPsW/FR/6CXQqatdpeHY=",
- "bin": {
- "window-size": "cli.js"
- },
- "engines": {
- "node": ">= 0.10.0"
- }
- },
- "node_modules/word-wrap": {
- "version": "1.2.3",
- "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz",
- "integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/wordwrap": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz",
- "integrity": "sha1-J1hIEIkUVqQXHI0CJkQa3pDLyus=",
- "dev": true
- },
- "node_modules/worker-farm": {
- "version": "1.7.0",
- "resolved": "https://registry.npmjs.org/worker-farm/-/worker-farm-1.7.0.tgz",
- "integrity": "sha512-rvw3QTZc8lAxyVrqcSGVm5yP/IJ2UcB3U0graE3LCFoZ0Yn2x4EoVSqJKdB/T5M+FLcRPjz4TDacRf3OCfNUzw==",
- "dev": true,
- "dependencies": {
- "errno": "~0.1.7"
- }
- },
- "node_modules/worker-loader": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/worker-loader/-/worker-loader-2.0.0.tgz",
- "integrity": "sha512-tnvNp4K3KQOpfRnD20m8xltE3eWh89Ye+5oj7wXEEHKac1P4oZ6p9oTj8/8ExqoSBnk9nu5Pr4nKfQ1hn2APJw==",
- "dependencies": {
- "loader-utils": "^1.0.0",
- "schema-utils": "^0.4.0"
- },
- "engines": {
- "node": ">= 6.9.0 || >= 8.9.0"
- }
- },
- "node_modules/wrap-ansi": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-2.1.0.tgz",
- "integrity": "sha1-2Pw9KE3QV5T+hJc8rs3Rz4JP3YU=",
- "dependencies": {
- "string-width": "^1.0.1",
- "strip-ansi": "^3.0.1"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/wrappy": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
- "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8="
- },
- "node_modules/ws": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/ws/-/ws-1.1.2.tgz",
- "integrity": "sha1-iiRPoFJAHgjJiGz0SoUYnh/UBn8=",
- "dev": true,
- "dependencies": {
- "options": ">=0.0.5",
- "ultron": "1.0.x"
- }
- },
- "node_modules/wtf-8": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/wtf-8/-/wtf-8-1.0.0.tgz",
- "integrity": "sha1-OS2LotDxw00e4tYw8V0O+2jhBIo=",
- "dev": true
- },
- "node_modules/xlsx": {
- "version": "0.14.5",
- "resolved": "https://registry.npmjs.org/xlsx/-/xlsx-0.14.5.tgz",
- "integrity": "sha512-s/5f4/mjeWREmIWZ+HtDfh/rnz51ar+dZ4LWKZU3u9VBx2zLdSIWTdXgoa52/pnZ9Oe/Vu1W1qzcKzLVe+lq4w==",
- "dependencies": {
- "adler-32": "~1.2.0",
- "cfb": "^1.1.2",
- "codepage": "~1.14.0",
- "commander": "~2.17.1",
- "crc-32": "~1.2.0",
- "exit-on-epipe": "~1.0.1",
- "ssf": "~0.10.2"
- },
- "bin": {
- "xlsx": "bin/xlsx.njs"
- },
- "engines": {
- "node": ">=0.8"
- }
- },
- "node_modules/xlsx/node_modules/commander": {
- "version": "2.17.1",
- "resolved": "https://registry.npmjs.org/commander/-/commander-2.17.1.tgz",
- "integrity": "sha512-wPMUt6FnH2yzG95SA6mzjQOEKUU3aLaDEmzs1ti+1E9h+CsrZghRlqEM/EJ4KscsQVG8uNN4uVreUeT8+drlgg=="
- },
- "node_modules/xml2js": {
- "version": "0.4.23",
- "resolved": "https://registry.npmjs.org/xml2js/-/xml2js-0.4.23.tgz",
- "integrity": "sha512-ySPiMjM0+pLDftHgXY4By0uswI3SPKLDw/i3UXbnO8M/p28zqexCUoPmQFrYD+/1BzhGJSs2i1ERWKJAtiLrug==",
- "dependencies": {
- "sax": ">=0.6.0",
- "xmlbuilder": "~11.0.0"
- },
- "engines": {
- "node": ">=4.0.0"
- }
- },
- "node_modules/xmlbuilder": {
- "version": "11.0.1",
- "resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-11.0.1.tgz",
- "integrity": "sha512-fDlsI/kFEx7gLvbecc0/ohLG50fugQp8ryHzMTuW9vSa1GJ0XYWKnhsUx7oie3G98+r56aTQIUB4kht42R3JvA==",
- "engines": {
- "node": ">=4.0"
- }
- },
- "node_modules/xmlhttprequest": {
- "version": "1.8.0",
- "resolved": "https://registry.npmjs.org/xmlhttprequest/-/xmlhttprequest-1.8.0.tgz",
- "integrity": "sha1-Z/4HXFwk/vOfnWX197f+dRcZaPw=",
- "engines": {
- "node": ">=0.4.0"
- }
- },
- "node_modules/xmlhttprequest-ssl": {
- "version": "1.5.3",
- "resolved": "https://registry.npmjs.org/xmlhttprequest-ssl/-/xmlhttprequest-ssl-1.5.3.tgz",
- "integrity": "sha1-GFqIjATspGw+QHDZn3tJ3jUomS0=",
- "dev": true,
- "engines": {
- "node": ">=0.4.0"
- }
- },
- "node_modules/xregexp": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/xregexp/-/xregexp-4.0.0.tgz",
- "integrity": "sha512-PHyM+sQouu7xspQQwELlGwwd05mXUFqwFYfqPO0cC7x4fxyHnnuetmQr6CjJiafIDoH4MogHb9dOoJzR/Y4rFg==",
- "dev": true
- },
- "node_modules/xtend": {
- "version": "4.0.2",
- "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz",
- "integrity": "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==",
- "dev": true,
- "engines": {
- "node": ">=0.4"
- }
- },
- "node_modules/y18n": {
- "version": "3.2.1",
- "resolved": "https://registry.npmjs.org/y18n/-/y18n-3.2.1.tgz",
- "integrity": "sha1-bRX7qITAhnnA136I53WegR4H+kE="
- },
- "node_modules/yallist": {
- "version": "2.1.2",
- "resolved": "https://registry.npmjs.org/yallist/-/yallist-2.1.2.tgz",
- "integrity": "sha1-HBH5IY8HYImkfdUS+TxmmaaoHVI="
- },
- "node_modules/yargs": {
- "version": "3.32.0",
- "resolved": "https://registry.npmjs.org/yargs/-/yargs-3.32.0.tgz",
- "integrity": "sha1-AwiOnr+edWtpdRYR0qXvWRSCyZU=",
- "dependencies": {
- "camelcase": "^2.0.1",
- "cliui": "^3.0.3",
- "decamelize": "^1.1.1",
- "os-locale": "^1.4.0",
- "string-width": "^1.0.1",
- "window-size": "^0.1.4",
- "y18n": "^3.2.0"
- }
- },
- "node_modules/yargs-parser": {
- "version": "13.1.2",
- "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-13.1.2.tgz",
- "integrity": "sha512-3lbsNRf/j+A4QuSZfDRA7HRSfWrzO0YjqTJd5kjAq37Zep1CEgaYmrH9Q3GwPiB9cHyd1Y1UwggGhJGoxipbzg==",
- "dependencies": {
- "camelcase": "^5.0.0",
- "decamelize": "^1.2.0"
- }
- },
- "node_modules/yargs-parser/node_modules/camelcase": {
- "version": "5.3.1",
- "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz",
- "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==",
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/yeast": {
- "version": "0.1.2",
- "resolved": "https://registry.npmjs.org/yeast/-/yeast-0.1.2.tgz",
- "integrity": "sha1-AI4G2AlDIMNy28L47XagymyKxBk="
- },
- "node_modules/yn": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/yn/-/yn-2.0.0.tgz",
- "integrity": "sha1-5a2ryKz0CPY4X8dklWhMiOavaJo=",
- "dev": true,
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/zone.js": {
- "version": "0.8.29",
- "resolved": "https://registry.npmjs.org/zone.js/-/zone.js-0.8.29.tgz",
- "integrity": "sha512-mla2acNCMkWXBD+c+yeUrBUrzOxYMNFdQ6FGfigGGtEVBPJx07BQeJekjt9DmH1FtZek4E9rE1eRR9qQpxACOQ=="
- }
- },
"dependencies": {
"@agm/core": {
"version": "1.0.0-beta.2",
@@ -18034,6 +1532,16 @@
"integrity": "sha512-GpSwvyXOcOOlV70vbnzjj4fW5xW/FdUF6nQEt1ENy7m4ZCczi1+/buVUPAqmGfqznsORNFzUMjctTIp8a9tuCQ==",
"dev": true
},
+ "JSONStream": {
+ "version": "1.3.5",
+ "resolved": "https://registry.npmjs.org/JSONStream/-/JSONStream-1.3.5.tgz",
+ "integrity": "sha512-E+iruNOY8VV9s4JEbe1aNEm6MiszPRr/UfcHMz0TQh1BXSxHK+ASV1R6W4HpjBhSeS+54PIsAMCBmwD06LLsqQ==",
+ "dev": true,
+ "requires": {
+ "jsonparse": "^1.2.0",
+ "through": ">=2.2.7 <3"
+ }
+ },
"abbrev": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz",
@@ -22047,15 +5555,6 @@
"dev": true,
"optional": true
},
- "string_decoder": {
- "version": "1.1.1",
- "bundled": true,
- "dev": true,
- "optional": true,
- "requires": {
- "safe-buffer": "~5.1.0"
- }
- },
"string-width": {
"version": "1.0.2",
"bundled": true,
@@ -22067,6 +5566,15 @@
"strip-ansi": "^3.0.0"
}
},
+ "string_decoder": {
+ "version": "1.1.1",
+ "bundled": true,
+ "dev": true,
+ "optional": true,
+ "requires": {
+ "safe-buffer": "~5.1.0"
+ }
+ },
"strip-ansi": {
"version": "3.0.1",
"bundled": true,
@@ -22683,13 +6191,6 @@
"version": "3.0.2",
"bundled": true
},
- "string_decoder": {
- "version": "1.1.1",
- "bundled": true,
- "requires": {
- "safe-buffer": "~5.1.0"
- }
- },
"string-width": {
"version": "1.0.2",
"bundled": true,
@@ -22699,6 +6200,13 @@
"strip-ansi": "^3.0.0"
}
},
+ "string_decoder": {
+ "version": "1.1.1",
+ "bundled": true,
+ "requires": {
+ "safe-buffer": "~5.1.0"
+ }
+ },
"strip-ansi": {
"version": "3.0.1",
"bundled": true,
@@ -24012,16 +7520,6 @@
"integrity": "sha1-P02uSpH6wxX3EGL4UhzCOfE2YoA=",
"dev": true
},
- "JSONStream": {
- "version": "1.3.5",
- "resolved": "https://registry.npmjs.org/JSONStream/-/JSONStream-1.3.5.tgz",
- "integrity": "sha512-E+iruNOY8VV9s4JEbe1aNEm6MiszPRr/UfcHMz0TQh1BXSxHK+ASV1R6W4HpjBhSeS+54PIsAMCBmwD06LLsqQ==",
- "dev": true,
- "requires": {
- "jsonparse": "^1.2.0",
- "through": ">=2.2.7 <3"
- }
- },
"jsprim": {
"version": "1.4.1",
"resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.1.tgz",
@@ -25350,6 +8848,13 @@
"component-emitter": "1.2.1",
"debug": "~3.1.0",
"isarray": "2.0.1"
+ },
+ "dependencies": {
+ "component-emitter": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.2.1.tgz",
+ "integrity": "sha1-E3kY1teCg/ffemt8WmPhQOaUJeY="
+ }
}
}
}
@@ -25656,9 +9161,9 @@
"integrity": "sha512-VQCEZlydXw4AwLROAXWUR7QDfe2Y8Id/vpAgp6TI1/H78a4SiQ1kQrKZALm5/zxM5n4HIi+aYb+idUAV/RuY0Q==",
"dev": true,
"requires": {
+ "JSONStream": "^1.3.4",
"bluebird": "^3.5.1",
"figgy-pudding": "^3.4.1",
- "JSONStream": "^1.3.4",
"lru-cache": "^5.1.1",
"make-fetch-happen": "^4.0.2",
"npm-package-arg": "^6.1.0"
@@ -28443,21 +11948,6 @@
"integrity": "sha512-AiisoFqQ0vbGcZgQPY1cdP2I76glaVA/RauYR4G4thNFgkTqr90yXTo4LYX60Jl+sIlPNHHdGSwo01AvbKUSVQ==",
"dev": true
},
- "string_decoder": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz",
- "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==",
- "requires": {
- "safe-buffer": "~5.1.0"
- },
- "dependencies": {
- "safe-buffer": {
- "version": "5.1.2",
- "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
- "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="
- }
- }
- },
"string-width": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz",
@@ -28486,6 +11976,21 @@
"function-bind": "^1.1.1"
}
},
+ "string_decoder": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz",
+ "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==",
+ "requires": {
+ "safe-buffer": "~5.1.0"
+ },
+ "dependencies": {
+ "safe-buffer": {
+ "version": "5.1.2",
+ "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
+ "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="
+ }
+ }
+ },
"strip-ansi": {
"version": "3.0.1",
"resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz",
diff --git a/ng6-seed/package.json b/ng6-seed/package.json
index de5cfd345..b68d62b2c 100755
--- a/ng6-seed/package.json
+++ b/ng6-seed/package.json
@@ -16,7 +16,7 @@
"dependencies": {
"@agm/core": "^1.0.0-beta.2",
"@angular/animations": "^6.1.10",
- "@angular/cdk": "^6.0.0-rc.5",
+ "@angular/cdk": "^6.4.7",
"@angular/common": "^6.1.10",
"@angular/compiler": "^6.1.10",
"@angular/core": "^6.1.10",
@@ -71,7 +71,7 @@
"ngx-socket-io": "^3.0.1",
"ngx-spinner": "^7.2.0",
"ngx-viewer": "^1.0.5",
- "node-sass": "^4.13.0",
+ "node-sass": "^4.14.1",
"perfect-scrollbar": "^1.3.0",
"quill": "^1.3.7",
"recordrtc": "^5.5.9",
diff --git a/ng6-seed/src/app/app.module.ts b/ng6-seed/src/app/app.module.ts
index 457d3b32c..655dae9cc 100755
--- a/ng6-seed/src/app/app.module.ts
+++ b/ng6-seed/src/app/app.module.ts
@@ -65,6 +65,7 @@ import { PushNotifyService } from './shared/push-notify.service';
import { MatVideoModule } from 'mat-video';
import { ReqTokenInterceptor } from './_guard/req-token.interceptor';
+
export function HttpLoaderFactory(http: HttpClient) {
return new TranslateHttpLoader(http);
}
diff --git a/ng6-seed/src/app/app.routing.ts b/ng6-seed/src/app/app.routing.ts
index b77156e35..fa70dcdb4 100755
--- a/ng6-seed/src/app/app.routing.ts
+++ b/ng6-seed/src/app/app.routing.ts
@@ -4,6 +4,7 @@ import { AdminLayoutComponent } from './layouts/admin/admin-layout.component';
import { AuthLayoutComponent } from './layouts/auth/auth-layout.component';
import { CognitoService} from './AwsService/cognito.service';
import { AuthGuard } from './_guard/auth.guard';
+
export const AppRoutes: Routes = [{
path: '',
redirectTo: 'home',
@@ -25,6 +26,9 @@ export const AppRoutes: Routes = [{
},{
path:'template',
loadChildren:'./template/template.module#TemplateModule'
+ },{
+ path:'template2',
+ loadChildren:'./template2/template2.module#Template2Module'
},
{
path:'quality_check_discussion',
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms-dynamic/answer-option-create-dialog/answer-option-create-dialog.component.html b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms-dynamic/answer-option-create-dialog/answer-option-create-dialog.component.html
new file mode 100644
index 000000000..2f2479e06
--- /dev/null
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms-dynamic/answer-option-create-dialog/answer-option-create-dialog.component.html
@@ -0,0 +1,75 @@
+
+
+ Add New Address
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms-dynamic/answer-option-create-dialog/answer-option-create-dialog.component.scss b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms-dynamic/answer-option-create-dialog/answer-option-create-dialog.component.scss
new file mode 100644
index 000000000..e69de29bb
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms-dynamic/answer-option-create-dialog/answer-option-create-dialog.component.spec.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms-dynamic/answer-option-create-dialog/answer-option-create-dialog.component.spec.ts
new file mode 100644
index 000000000..ee8ead3bc
--- /dev/null
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms-dynamic/answer-option-create-dialog/answer-option-create-dialog.component.spec.ts
@@ -0,0 +1,25 @@
+import { async, ComponentFixture, TestBed } from '@angular/core/testing';
+
+import { AnswerOptionCreateDialogComponent } from './answer-option-create-dialog.component';
+
+describe('AnswerOptionCreateDialogComponent', () => {
+ let component: AnswerOptionCreateDialogComponent;
+ let fixture: ComponentFixture;
+
+ beforeEach(async(() => {
+ TestBed.configureTestingModule({
+ declarations: [ AnswerOptionCreateDialogComponent ]
+ })
+ .compileComponents();
+ }));
+
+ beforeEach(() => {
+ fixture = TestBed.createComponent(AnswerOptionCreateDialogComponent);
+ component = fixture.componentInstance;
+ fixture.detectChanges();
+ });
+
+ it('should create', () => {
+ expect(component).toBeTruthy();
+ });
+});
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms-dynamic/answer-option-create-dialog/answer-option-create-dialog.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms-dynamic/answer-option-create-dialog/answer-option-create-dialog.component.ts
new file mode 100644
index 000000000..7caafe642
--- /dev/null
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms-dynamic/answer-option-create-dialog/answer-option-create-dialog.component.ts
@@ -0,0 +1,183 @@
+import { Component, Inject, OnInit } from '@angular/core';
+import { FormBuilder, FormControl, FormGroup, Validators } from '@angular/forms';
+import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material';
+import { PdTrigerService } from 'app/personal-discussion/pd-service/pd-triger.service';
+import { ReplaySubject } from 'rxjs';
+import { QuesFormService } from '../dynamic-form/ques-form/ques-form.service';
+
+@Component({
+ selector: 'app-answer-option-create-dialog',
+ templateUrl: './answer-option-create-dialog.component.html',
+ styleUrls: ['./answer-option-create-dialog.component.scss']
+})
+export class AnswerOptionCreateDialogComponent implements OnInit {
+ stateList:any = []
+ cityList:any = []
+ pincodeList:any = []
+
+ filteredstateList:ReplaySubject= new ReplaySubject(1)
+ filteredcityList:ReplaySubject = new ReplaySubject(1)
+ filteredpincodeList:ReplaySubject = new ReplaySubject(1)
+
+ stateSearch:FormControl = new FormControl('')
+ citySearch:FormControl = new FormControl('')
+ pinSearch:FormControl = new FormControl('')
+ newAddressForm:FormGroup;
+
+ field_appearance="outline"
+ errormsg: string = null;
+
+ constructor(@Inject(MAT_DIALOG_DATA) public data:any, private _pdService:PdTrigerService, private _fb:FormBuilder,
+ private dialogRef:MatDialogRef, private quesService:QuesFormService) {
+ this.newAddressForm = this._fb.group({
+ address:['',Validators.required],
+ state:['',Validators.required],
+ city:['',Validators.required],
+ pincode:['',Validators.required]
+ })
+ console.log(this.data)
+ }
+
+ ngOnInit() {
+ this._pdService.getAllMasterDatas('STATE').subscribe(
+ data => {
+ if (data.status == 200) {
+ this.stateList = data.records.filter(item => item.isactive == 1);
+ this.filteredstateList.next(this.stateList);
+ }
+ });
+ this.filterList()
+ }
+ filterList() {
+ this.stateSearch.valueChanges.pipe().subscribe(()=>{
+ this.applyFilter(this.stateSearch.value,this.filteredstateList,this.stateList,'name')
+ })
+ this.citySearch.valueChanges.pipe().subscribe(()=>{
+ this.applyFilter(this.citySearch.value,this.filteredcityList,this.cityList,'city_name')
+ })
+ this.pinSearch.valueChanges.pipe().subscribe(()=>{
+ this.applyFilter(this.pinSearch.value,this.filteredpincodeList,this.pincodeList,'pincode')
+ })
+
+
+ }
+ applyFilter(filtered_text,filter_list,raw_list,obj_name) {
+ if (!raw_list) {
+ return;
+ }
+ // get the search keyword
+ let search = filtered_text;
+ if (!search) {
+ filter_list.next(raw_list.slice());
+ return;
+ } else {
+ search = search.toLowerCase();
+ }
+ // filter the banks
+ filter_list.next(
+ raw_list.filter(bank => bank[obj_name].toLowerCase().indexOf(search) > -1)
+ );
+ }
+
+ //get city list details based on state id
+ getCityList(stateID: string) {
+ this._pdService.getStateWiseCities(stateID).subscribe(data => {
+ if (data.status == 200) {
+ this.cityList = data.records.cities;
+ this.pincodeList = data.records.pincode;
+ this.filteredcityList.next(this.cityList)
+ this.filteredpincodeList.next(this.pincodeList)
+ }
+ });
+ }
+ addNewAddress() {
+ console.log(this.newAddressForm.getRawValue())
+ if(this.newAddressForm.invalid) {
+ this.showMsg("Please Fill all the fields")
+ // this.findInvalidControls()
+ return;
+ }
+ let formValue=this.newAddressForm.getRawValue()
+ let params = {pd_id:this.data.pd_all_details.pdmaster_details.pd_id,file_id:null, addressline:formValue.address, state:formValue.state.state_id, city:formValue.city.city_id, pincode:formValue.pincode.pincode_id}
+ let display_address= formValue.address+ ', '+formValue.state.name+', '+formValue.city.city_name+', '+formValue.pincode.pincode
+ console.log(this.newAddressForm.getRawValue(),display_address)
+ this._pdService.saveNewSMCTempAddresses(params).subscribe(res=>{
+ if(res['dataStatus']) {
+ this._pdService.getSMCTempAddresses(this.data.pd_all_details.pdmaster_details.pd_id).subscribe(rr=>{
+ if(rr && rr['dataStatus'] && rr['records']) {
+ let address_data = this.quesService.convertArrayNames(["display","display"],rr['records'])
+ this.dialogRef.close({update:true, address_for_display:address_data})
+ }
+ else {
+ this.dialogRef.close({update:false, error_msg:"Unable to get the address"})
+ }
+ },err=> {
+ this.dialogRef.close({update:false, error_msg:"Network error. Unable to get the address"})
+ })
+ // this.dialogRef.close({update:true, address_for_display:display_address})
+ }
+ else {
+ this.showMsg("Something went wrong")
+ }
+ },err=>{
+ this.showMsg("Network Error")
+ })
+
+ }
+ showMsg(msg) {
+ this.errormsg = msg
+ setTimeout(()=>{
+ this.errormsg = null
+ }, 3000)
+ }
+ public findInvalidControls() {
+ const invalid = [];
+
+ for (const name in (this.newAddressForm.controls)) {
+ console.log(this.newAddressForm.controls[name],name)
+ if (this.newAddressForm.controls[name].invalid) {
+ invalid.push(name);
+ let invalidFields = [].slice.call(document.getElementsByClassName('ng-invalid'));
+ let firstInvalidField;
+ for(let val in invalidFields){
+ if( invalidFields[val].nodeName == 'MAT-FORM-FIELD' || invalidFields[val].nodeName == 'MAT-SELECT' || invalidFields[val].nodeName == 'TEXTAREA' || invalidFields[val].nodeName == 'MAT-RADIO-GROUP' ){ //INPUT FOR INPUT FIELD
+ firstInvalidField=invalidFields[val]
+
+ break;
+ }
+ }
+
+ if(firstInvalidField != undefined){
+ // firstInvalidField.scrollIntoView({behavior: "smooth", block: "end", inline: "nearest"})
+
+ setTimeout(()=>{
+ firstInvalidField.scrollIntoView({block: "start", inline: "nearest"})
+ setTimeout(()=>{
+ firstInvalidField.focus()
+ },0)
+ // firstInvalidField.style.background = 'red'
+ firstInvalidField.classList.remove('field_highlight')
+ setTimeout(()=>{
+ firstInvalidField.classList.add('field_highlight')
+ },300)
+ },300)
+
+ }
+ break
+ }
+ }
+
+ // }
+ // }
+ // let business_group_ctrl = formArray.at(2).get('business_group') as FormArray
+ // const controls = this.getQuestionControl().at(1)['controls']
+ // for (const name in controls) {
+ // if (controls[name].invalid) {
+ // invalid.push(name);
+ // }
+ // }
+ return invalid;
+ }
+
+
+}
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms-dynamic/dynamic-form/dynamic-form/dynamic-form.component.html b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms-dynamic/dynamic-form/dynamic-form/dynamic-form.component.html
new file mode 100644
index 000000000..fe738ac4e
--- /dev/null
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms-dynamic/dynamic-form/dynamic-form/dynamic-form.component.html
@@ -0,0 +1,188 @@
+ 0" #whole_form>
+
+
+
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms-dynamic/dynamic-form/dynamic-form/dynamic-form.component.scss b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms-dynamic/dynamic-form/dynamic-form/dynamic-form.component.scss
new file mode 100644
index 000000000..1f1770e58
--- /dev/null
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms-dynamic/dynamic-form/dynamic-form/dynamic-form.component.scss
@@ -0,0 +1,15 @@
+::ng-deep {
+ .mat-expansion-panel-body{
+ flex-flow: wrap;
+
+ }
+form{
+ flex-flow: row wrap;
+ box-sizing: border-box;
+ display: flex;
+ /* place-content: stretch space-between; */
+ align-items: stretch;
+ flex: 1 1 100%;
+ max-width: 100%;
+}
+}
\ No newline at end of file
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms-dynamic/dynamic-form/dynamic-form/dynamic-form.component.spec.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms-dynamic/dynamic-form/dynamic-form/dynamic-form.component.spec.ts
new file mode 100644
index 000000000..1d3b4a433
--- /dev/null
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms-dynamic/dynamic-form/dynamic-form/dynamic-form.component.spec.ts
@@ -0,0 +1,25 @@
+import { async, ComponentFixture, TestBed } from '@angular/core/testing';
+
+import { DynamicFormComponent } from './dynamic-form.component';
+
+describe('DynamicFormComponent', () => {
+ let component: DynamicFormComponent;
+ let fixture: ComponentFixture;
+
+ beforeEach(async(() => {
+ TestBed.configureTestingModule({
+ declarations: [ DynamicFormComponent ]
+ })
+ .compileComponents();
+ }));
+
+ beforeEach(() => {
+ fixture = TestBed.createComponent(DynamicFormComponent);
+ component = fixture.componentInstance;
+ fixture.detectChanges();
+ });
+
+ it('should create', () => {
+ expect(component).toBeTruthy();
+ });
+});
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms-dynamic/dynamic-form/dynamic-form/dynamic-form.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms-dynamic/dynamic-form/dynamic-form/dynamic-form.component.ts
new file mode 100644
index 000000000..716c399e2
--- /dev/null
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms-dynamic/dynamic-form/dynamic-form/dynamic-form.component.ts
@@ -0,0 +1,566 @@
+import { Component, OnInit, Input, ViewChild } from '@angular/core';
+import { FormGroup, FormBuilder, FormArray } from '@angular/forms';
+import { MatExpansionPanel,MatAccordion } from '@angular/material';
+import { QuesFormService } from '../ques-form/ques-form.service';
+
+import {SelectionModel} from '@angular/cdk/collections';
+import {FlatTreeControl} from '@angular/cdk/tree';
+import {Injectable} from '@angular/core';
+import {MatTreeFlatDataSource, MatTreeFlattener} from '@angular/material/tree';
+import {BehaviorSubject} from 'rxjs';
+import { PdTrigerService } from 'app/personal-discussion/pd-service/pd-triger.service';
+
+/**
+ * Node for to-do item
+ */
+ export class TodoItemNode {
+ children: TodoItemNode[];
+ item: string;
+}
+
+/** Flat to-do item node with expandable and level information */
+export class TodoItemFlatNode {
+ item: string;
+ level: number;
+ expandable: boolean;
+}
+
+/**
+ * The Json object for to-do list data.
+ */
+
+
+
+/**
+ * Checklist database, it can build a tree structured Json object.
+ * Each node in Json object represents a to-do item or a category.
+ * If a node is a category, it has children items and new items can be added under the category.
+ */
+@Injectable()
+export class ChecklistDatabase {
+
+ dataChange = new BehaviorSubject([]);
+ commonFormGroup: FormGroup;
+ questions_JSON: any = {questions:[],section_name:''};
+ val: any;
+
+ get data(): TodoItemNode[] { return this.dataChange.value; }
+
+ constructor( private questionService:QuesFormService) {
+ this.questionService.currentMessageSubscriber.subscribe((data : any)=>{
+ console.log(data)
+
+ this.val = data
+
+ })
+ this.initialize()
+ }
+
+ initialize() {
+ // Build the tree nodes from Json object. The result is a list of `TodoItemNode` with nested
+ // file node as children.
+ let TREE_DATA;
+
+ if(this.val.questions[0].question instanceof Array){
+ let tmp =[]
+ this.val.questions[0].question.forEach(element => {
+
+ console.log( element.question)
+ tmp.push(element.question)
+ });
+ TREE_DATA = {
+
+ Group_Questions: tmp,
+ Questions:[this.val.questions[1].question],
+
+ };
+ }else{
+ let tmp =[]
+ this.val.questions.forEach(element => {
+
+ console.log( element.question)
+ tmp.push(element.question)
+ });
+ TREE_DATA = {
+
+
+ Questions:tmp,
+
+ };
+ }
+
+
+ console.log( this.val)
+ // console.log( this.val.questions[0].group_questions)
+ console.log( this.val.questions[0].question)
+
+
+ console.log( this.val.questions[1].question)
+ // console.log(tmp)
+
+ // this.val.forEach(element => {
+
+ // element.questions.forEach(e => {
+ // e.question.forEach(s => {
+
+ // console.log( s.question)
+ // });
+ // });
+
+ // });
+ const data = this.buildFileTree(TREE_DATA, 0);
+
+ console.log(TREE_DATA)
+console.log(data)
+ // Notify the change.
+ this.dataChange.next(data);
+ }
+
+ /**
+ * Build the file structure tree. The `value` is the Json object, or a sub-tree of a Json object.
+ * The return value is the list of `TodoItemNode`.
+ */
+ buildFileTree(obj: {[key: string]: any}, level: number): TodoItemNode[] {
+ return Object.keys(obj).reduce((accumulator, key) => {
+ const value = obj[key];
+ const node = new TodoItemNode();
+ node.item = key;
+
+ if (value != null) {
+ if (typeof value === 'object') {
+ node.children = this.buildFileTree(value, level + 1);
+ } else {
+ node.item = value;
+ }
+ }
+
+ return accumulator.concat(node);
+ }, []);
+ }
+
+ /** Add an item to to-do list */
+ insertItem(parent: TodoItemNode, name: string) {
+ if (parent.children) {
+ parent.children.push({item: name} as TodoItemNode);
+ this.dataChange.next(this.data);
+ }
+ }
+
+ updateItem(node: TodoItemNode, name: string) {
+ node.item = name;
+ this.dataChange.next(this.data);
+ }
+}
+
+/**
+ * @title Tree with checkboxes
+ */
+
+@Component({
+ selector: 'app-dynamic-form',
+ templateUrl: './dynamic-form.component.html',
+ styleUrls: ['./dynamic-form.component.scss'],
+ providers: [ChecklistDatabase]
+})
+export class DynamicFormComponent {
+ /** Map from flat node to nested node. This helps us finding the nested node to be modified */
+ flatNodeMap = new Map();
+
+ /** Map from nested node to flattened node. This helps us to keep the same object for selection */
+ nestedNodeMap = new Map();
+
+ /** A selected parent node to be inserted */
+ selectedParent: TodoItemFlatNode | null = null;
+
+ /** The new item's name */
+ newItemName = '';
+
+ treeControl: FlatTreeControl;
+
+ treeFlattener: MatTreeFlattener;
+
+ dataSource: MatTreeFlatDataSource;
+
+ /** The selection for checklist */
+ checklistSelection = new SelectionModel(true /* multiple */);
+ // form_group_name: FormGroup;
+ @Input() form_group_name:FormGroup;
+ @Input() questions_JSON:any;
+ @Input() json_answers:any;
+ length:any;
+ step: number=0;
+ isDefaultGenerated:boolean = false
+ step_child:number = 0
+ @ViewChild('mapanel') matExpansionPanel:MatExpansionPanel
+ @ViewChild('accordion') Accordion: MatAccordion
+ vr: boolean = false;
+ constructor(private _fb:FormBuilder,private questionService:QuesFormService,private database: ChecklistDatabase) {
+ this.treeFlattener = new MatTreeFlattener(this.transformer, this.getLevel,
+ this.isExpandable, this.getChildren);
+ this.treeControl = new FlatTreeControl(this.getLevel, this.isExpandable);
+ this.dataSource = new MatTreeFlatDataSource(this.treeControl, this.treeFlattener);
+ console.log(this.dataSource)
+ database.dataChange.subscribe(data => {
+ this.dataSource.data = data;
+
+ console.log(this.dataSource)
+ });
+
+ this.questionService.currentMessageSubscriber.subscribe((data : any)=>{
+ console.log(data)
+
+ })
+ }
+
+ ngOnInit() {
+
+ this.form_group_name=this.questionService.assignFormControl_array(this.form_group_name,this.questions_JSON.questions)
+
+ this.generateGroupControls();
+ console.log( this.questions_JSON.questions)
+ this.questionService.notify(this.questions_JSON)
+ if(this.questions_JSON.questions){
+ this.questions_JSON.questions.forEach(element => {
+ if(element.question instanceof Array){
+ element.question.forEach(e => {
+ console.log(e.question)
+ });
+ }else{
+ console.log(this.questions_JSON.questions)
+ }
+ });
+
+ }
+
+
+
+ }
+
+ generateGroupControls() {
+
+
+ if(this.json_answers && this.json_answers != null){
+ this.isDefaultGenerated = true;
+ console.log( this.questions_JSON.questions)
+ this.questions_JSON.questions.forEach(parent_ques=>{
+
+
+ // debugger;
+ // FOR ADDING THE GROUP QUES TO DISPLAY WITHOUT CONSIDERING INDEX 0
+ if(parent_ques.is_repeatable == '1'){
+ if(this.json_answers[parent_ques.group_key] && this.json_answers[parent_ques.group_key].length > this.form_group_name.value[parent_ques.group_key].length) {
+
+ // this.json_answers[parent_ques.group_key].mobile_numbers= [{mobile_no:93299},{mobile_no:948392}]
+ this.json_answers[parent_ques.group_key].forEach((group_ques,g_i)=>{
+
+
+ // debugger;
+
+ if(g_i != 0){
+ // let parent_control=this.form_group_name
+
+ // if(parent_control.value.hasOwnProperty('questions_group')){
+ this.addData(g_i,parent_ques)
+ // }
+ }
+ // FOR CHILD REPEATABLE
+ let keys= Object.keys(group_ques)
+ keys.forEach((vv,key_index)=>{
+ if(typeof(group_ques[vv]) != 'string') {
+
+ if(group_ques[vv] && group_ques[vv].length > 0) {
+ //
+ group_ques[vv].forEach((child_val,child_index)=>{
+ if(child_index != 0) {
+
+ let find_json = parent_ques.group_questions[g_i].filter(val=>val.hasOwnProperty('group_key') && val.group_key == vv)
+ if(find_json.length > 0) {
+ find_json = find_json[0]
+
+ this.addSecondLevelChild(g_i,find_json,this.form_group_name.get(parent_ques.group_key)['controls'][g_i])
+ }
+
+ }
+ })
+ }
+ }
+ })
+})
+}
+ }
+ })
+ }
+ }
+ ngOnChanges() {
+ // console.log(this.questions_JSON,this.json_answers,this.questionService);
+ // debugger
+// if(this.json_answers && this.json_answers != null ){
+// this.questions_JSON.questions.forEach(parent_ques=>{
+// console.log(parent_ques);
+// // debugger;
+// // FOR ADDING THE GROUP QUES TO DISPLAY WITHOUT CONSIDERING INDEX 0
+// if(parent_ques.is_repeatable == '1'){
+// console.log(this.json_answers[parent_ques.group_key]);
+// debugger;
+// this.json_answers[parent_ques.group_key].forEach((group_ques,g_i)=>{
+// console.log(parent_ques,g_i)
+// debugger;
+// if(g_i != 0){
+// // let parent_control=this.form_group_name
+
+// // if(parent_control.value.hasOwnProperty('questions_group')){
+// this.addData(g_i,parent_ques)
+// // }
+// }
+// })
+// }
+// })
+// }
+ // this.form_group_name=new FormGroup({questions:this._fb.array([])})
+
+
+ // this.form_group_name.valueChanges.subscribe(()=>{
+ // this.form_group_name.updateValueAndValidity();
+ // })
+ // debugger;
+ // this.form_group_name.patchValue(this.json_answers)
+ }
+ addData(index,json_obj) {
+ let control_names:any= {}
+ let control = this.form_group_name.get(json_obj.group_key) as FormArray
+ json_obj.question.map(val=>{
+ // FOR CHILD REPEATABLE
+ if(val.is_repeatable == '2') {
+ val.question.map(rr=>{
+ control_names[val.group_key]=this._fb.array([this._fb.group({[rr.question_key]:''})])
+ // control_names[val.group_key].push({[rr.question_key]:''})
+ })
+ }
+ else {
+ control_names[val.question_key] = ''
+ }
+ })
+
+ // debugger;
+
+ json_obj.group_questions.push(json_obj.question);
+ control.push(this._fb.group(control_names))
+
+ json_obj.question.forEach((group_indi,arr_index)=>{
+
+
+ if(group_indi.is_repeatable == '2' && group_indi.hasOwnProperty('questions_level_two') && group_indi.questions_level_two.length > 0) {
+ group_indi.questions_level_two[0].forEach((child_val,child_index)=> {
+ // console.log("sd",group_indi,arr_index,control.at(control.length-1),control)
+ // debugger;
+ let child_control = control.at(control.length-1).get(group_indi.group_key) as FormArray
+
+ this.questionService.addAdditionalControl(child_val, child_control.controls[child_control.length-1], child_index)
+ })
+ }
+ else{
+ this.questionService.addAdditionalControl(group_indi, control.controls[control.length-1], arr_index)
+ }
+ })
+ json_obj.question = JSON.parse(JSON.stringify(json_obj.question))
+ control.updateValueAndValidity();
+ control.controls[control.length-1].updateValueAndValidity();
+ this.form_group_name.updateValueAndValidity();
+ this.step = control.length-1
+
+ // debugger;
+ }
+ // ADDING A CHILD REPEATABLE OBJ IN A EXISTING FORM ARRYA
+ addSecondLevelChild(index,json_obj,parent_group) {
+
+ let control_names:any= {}
+ let control = parent_group.get(json_obj.group_key) as FormArray
+ json_obj.question.map(val=>{
+ control_names[val.question_key] = ''
+ })
+
+
+ json_obj.questions_level_two.push(json_obj.question);
+ control.push(this._fb.group(control_names))
+
+ json_obj.question.forEach((group_indi,arr_index)=>{
+ // console.log("sd",childControl)
+ this.questionService.addAdditionalControl(group_indi, control.controls[control.length-1], arr_index)
+ })
+ json_obj.question = JSON.parse(JSON.stringify(json_obj.question))
+ control.updateValueAndValidity();
+ control.controls[control.length-1].updateValueAndValidity();
+ parent_group.updateValueAndValidity();
+ this.step_child = control.length-1
+
+ // debugger;
+ }
+ // REMOVE OF CHILD REPEATABLE OBJ
+ removeSecondLevelChild(index,json_obj,parent_group) {
+
+ // debugger;
+ let control = parent_group.get(json_obj.group_key)
+ control.removeAt(index)
+ json_obj.questions_level_two.splice(index,1)
+ this.step_child = control.length-1
+
+ }
+
+ removeData(index,json_obj) {
+
+ // debugger;
+ let control = this.form_group_name.get(json_obj.group_key) as FormArray
+ control.removeAt(index)
+ json_obj.group_questions.splice(index,1)
+ this.step = control.length-1
+
+ }
+ openMatExpansionPanel() {
+
+ if(this.matExpansionPanel!= undefined){
+ this.matExpansionPanel.open()
+ }
+ }
+ openAllPanels(){
+ this.Accordion.openAll();
+
+ return;
+}
+updateAllComplete(a,b){
+ console.log(a)
+ console.log(b.checked)
+
+ if(b.checked){
+
+
+ this.vr = true
+ }else{
+
+ this.vr = false
+
+
+
+}
+}
+
+getLevel = (node: TodoItemFlatNode) => node.level;
+
+isExpandable = (node: TodoItemFlatNode) => node.expandable;
+
+getChildren = (node: TodoItemNode): TodoItemNode[] => node.children;
+
+hasChild = (_: number, _nodeData: TodoItemFlatNode) => _nodeData.expandable;
+
+hasNoContent = (_: number, _nodeData: TodoItemFlatNode) => _nodeData.item === '';
+
+/**
+ * Transformer to convert nested node to flat node. Record the nodes in maps for later use.
+ */
+transformer = (node: TodoItemNode, level: number) => {
+ const existingNode = this.nestedNodeMap.get(node);
+ const flatNode = existingNode && existingNode.item === node.item
+ ? existingNode
+ : new TodoItemFlatNode();
+ flatNode.item = node.item;
+ flatNode.level = level;
+ flatNode.expandable = !!node.children;
+ this.flatNodeMap.set(flatNode, node);
+ this.nestedNodeMap.set(node, flatNode);
+ return flatNode;
+}
+
+/** Whether all the descendants of the node are selected. */
+descendantsAllSelected(node: TodoItemFlatNode): boolean {
+ const descendants = this.treeControl.getDescendants(node);
+ const descAllSelected = descendants.every(child =>
+ this.checklistSelection.isSelected(child)
+ );
+ return descAllSelected;
+}
+
+/** Whether part of the descendants are selected */
+descendantsPartiallySelected(node: TodoItemFlatNode): boolean {
+ const descendants = this.treeControl.getDescendants(node);
+ const result = descendants.some(child => this.checklistSelection.isSelected(child));
+ return result && !this.descendantsAllSelected(node);
+}
+
+/** Toggle the to-do item selection. Select/deselect all the descendants node */
+todoItemSelectionToggle(node: TodoItemFlatNode): void {
+ this.checklistSelection.toggle(node);
+ const descendants = this.treeControl.getDescendants(node);
+ this.checklistSelection.isSelected(node)
+ ? this.checklistSelection.select(...descendants)
+ : this.checklistSelection.deselect(...descendants);
+
+ // Force update for the parent
+ descendants.every(child =>
+ this.checklistSelection.isSelected(child)
+ );
+ this.checkAllParentsSelection(node);
+}
+
+/** Toggle a leaf to-do item selection. Check all the parents to see if they changed */
+todoLeafItemSelectionToggle(node: TodoItemFlatNode): void {
+ this.checklistSelection.toggle(node);
+ this.checkAllParentsSelection(node);
+}
+
+/* Checks all the parents when a leaf node is selected/unselected */
+checkAllParentsSelection(node: TodoItemFlatNode): void {
+ let parent: TodoItemFlatNode | null = this.getParentNode(node);
+ while (parent) {
+ this.checkRootNodeSelection(parent);
+ parent = this.getParentNode(parent);
+ }
+}
+
+/** Check root node checked state and change it accordingly */
+checkRootNodeSelection(node: TodoItemFlatNode): void {
+ const nodeSelected = this.checklistSelection.isSelected(node);
+ const descendants = this.treeControl.getDescendants(node);
+ const descAllSelected = descendants.every(child =>
+ this.checklistSelection.isSelected(child)
+ );
+ if (nodeSelected && !descAllSelected) {
+ this.checklistSelection.deselect(node);
+ } else if (!nodeSelected && descAllSelected) {
+ this.checklistSelection.select(node);
+ }
+}
+
+/* Get the parent node of a node */
+getParentNode(node: TodoItemFlatNode): TodoItemFlatNode | null {
+ const currentLevel = this.getLevel(node);
+
+ if (currentLevel < 1) {
+ return null;
+ }
+
+ const startIndex = this.treeControl.dataNodes.indexOf(node) - 1;
+
+ for (let i = startIndex; i >= 0; i--) {
+ const currentNode = this.treeControl.dataNodes[i];
+
+ if (this.getLevel(currentNode) < currentLevel) {
+ return currentNode;
+ }
+ }
+ return null;
+}
+
+/** Select the category so we can insert the new item. */
+addNewItem(node: TodoItemFlatNode) {
+ const parentNode = this.flatNodeMap.get(node);
+ this.database.insertItem(parentNode!, '');
+ this.treeControl.expand(node);
+}
+
+/** Save the node to database */
+saveNode(node: TodoItemFlatNode, itemValue: string) {
+ const nestedNode = this.flatNodeMap.get(node);
+ this.database.updateItem(nestedNode!, itemValue);
+ console.log(this.dataSource)
+}
+
+}
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms-dynamic/dynamic-form/dynamic-question-template/dynamic-question-template.component.html b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms-dynamic/dynamic-form/dynamic-question-template/dynamic-question-template.component.html
new file mode 100644
index 000000000..db2c6c659
--- /dev/null
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms-dynamic/dynamic-form/dynamic-question-template/dynamic-question-template.component.html
@@ -0,0 +1,230 @@
+
+
+
+
+
+
+
+
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms-dynamic/dynamic-form/dynamic-question-template/dynamic-question-template.component.scss b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms-dynamic/dynamic-form/dynamic-question-template/dynamic-question-template.component.scss
new file mode 100644
index 000000000..c1d7cf27d
--- /dev/null
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms-dynamic/dynamic-form/dynamic-question-template/dynamic-question-template.component.scss
@@ -0,0 +1,90 @@
+mat-radio-button,mat-checkbox{
+ margin-top: 13px;
+ }
+ mat-form-field {
+ width: 100%;
+ }
+ .radio-gap{
+ margin-top: 10px;
+ margin-bottom: 10px;
+ }
+ .radio-btn-gap{
+ margin:10px;
+ }
+
+ ::ng-deep .mat-radio-button.mat-accent.mat-radio-checked .mat-radio-outer-circle{
+ border-color:rgb(212, 15, 15);
+ }
+
+ ::ng-deep .mat-radio-button.mat-accent .mat-radio-inner-circle{
+ color:rgb(212, 15, 15);
+ background-color:rgb(212, 15, 15);
+ }
+
+ ::ng-deep .mat-radio-button.mat-accent .mat-radio-ripple .mat-ripple-element {
+ background-color:rgba(224, 22, 22, 0.308);
+ }
+ input {
+ // width: 100px;
+ // border-radius: 4px;
+ // border-color: gray;
+ // font-size: 12px;
+ height: 31px;
+
+ }
+ .mat-select, .text-area {
+ margin-top: 8px;
+ }
+
+ @-webkit-keyframes highlight-fade {
+ 0% {
+ background: orange;
+ }
+ 100% {
+ background: white;
+ }
+ }
+ @-moz-keyframes highlight-fade {
+ 0% {
+ background: orange;
+ }
+ 100% {
+ background: white;
+ }
+ }
+ @-ms-keyframes highlight-fade {
+ 0% {
+ background: orange;
+ }
+ 100% {
+ background: white;
+ }
+ }
+ @keyframes highlight-fade {
+ 0% {
+ background: orange;
+ }
+ 100% {
+ background: white;
+ }
+ }
+ .field_highlight {
+ -webkit-animation: highlight-fade 4s ease-out;
+ -moz-animation: highlight-fade 4s ease-out;
+ -o-animation: highlight-fade 4s ease-out;
+ animation: highlight-fade 4s ease-out;
+ // background: blue;
+ }
+
+ ::ng-deep .mat-form-field-label{
+ white-space: pre-wrap;
+ }
+ .large-select-option {
+ height: unset !important;
+ line-height: 1.2em !important;
+ padding-top: 0.9em !important;
+ padding-bottom: 0.9em !important;
+ span {
+ white-space: normal;
+ }
+ }
\ No newline at end of file
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms-dynamic/dynamic-form/dynamic-question-template/dynamic-question-template.component.spec.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms-dynamic/dynamic-form/dynamic-question-template/dynamic-question-template.component.spec.ts
new file mode 100644
index 000000000..6303295da
--- /dev/null
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms-dynamic/dynamic-form/dynamic-question-template/dynamic-question-template.component.spec.ts
@@ -0,0 +1,25 @@
+import { async, ComponentFixture, TestBed } from '@angular/core/testing';
+
+import { DynamicQuestionTemplateComponent } from './dynamic-question-template.component';
+
+describe('DynamicQuestionTemplateComponent', () => {
+ let component: DynamicQuestionTemplateComponent;
+ let fixture: ComponentFixture;
+
+ beforeEach(async(() => {
+ TestBed.configureTestingModule({
+ declarations: [ DynamicQuestionTemplateComponent ]
+ })
+ .compileComponents();
+ }));
+
+ beforeEach(() => {
+ fixture = TestBed.createComponent(DynamicQuestionTemplateComponent);
+ component = fixture.componentInstance;
+ fixture.detectChanges();
+ });
+
+ it('should create', () => {
+ expect(component).toBeTruthy();
+ });
+});
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms-dynamic/dynamic-form/dynamic-question-template/dynamic-question-template.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms-dynamic/dynamic-form/dynamic-question-template/dynamic-question-template.component.ts
new file mode 100644
index 000000000..13854a64b
--- /dev/null
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms-dynamic/dynamic-form/dynamic-question-template/dynamic-question-template.component.ts
@@ -0,0 +1,913 @@
+import { Component, OnInit, Input, Output, EventEmitter } from '@angular/core';
+import { FormGroup, FormArray, FormControl, FormBuilder } from '@angular/forms';
+import { QuesFormService } from '../ques-form/ques-form.service';
+import { startWith, map } from 'rxjs/operators';
+import { Observable, ReplaySubject } from 'rxjs';
+import { MatDialog } from '@angular/material';
+import { AnswerOptionCreateDialogComponent } from '../../answer-option-create-dialog/answer-option-create-dialog.component';
+import { LoaderService } from 'app/shared/loaderService/loader.service';
+
+@Component({
+ selector: 'app-dynamic-question-template',
+ templateUrl: './dynamic-question-template.component.html',
+ styleUrls: ['./dynamic-question-template.component.scss'],
+})
+export class DynamicQuestionTemplateComponent implements OnInit {
+ @Input() formGroupN : FormGroup;
+ @Input() currFormArrayObj;
+
+
+ parent_ques: any;
+ fileredSearchValue: any=[];
+ @Input() whole_json:any;
+ @Input() json_index:any;
+ @Input() whole_form:FormGroup;
+ @Input() json_answers:any;
+ @Input()group_key:any;
+ length:any;
+ @Output() generateGroupControls= new EventEmitter()
+ local_city: any;
+ local_pincode: any;
+ json_answers1:any;
+ autoCompleteAns:Observable
+ public commonFilterCtrl:FormControl = new FormControl();
+ public ngxFilteredValue:ReplaySubject = new ReplaySubject(1);
+ vr: boolean;
+ check: boolean = false;
+
+ constructor(private quesService:QuesFormService,private _fb:FormBuilder, private matDialog:MatDialog, private loaderService:LoaderService) { }
+
+ ngOnInit() {
+ this.quesService.currentMessageSubscriber.subscribe((data : any)=>{
+ console.log(data)
+ if(data){
+ this.check = true
+ }else{
+ this.check = false
+ }
+
+ // output : {msg : 'do something'}
+ })
+ console.log( this.whole_json)
+ this.parent_ques = this.currFormArrayObj
+
+
+ if(this.parent_ques.type == '9' && this.parent_ques.answers && this.parent_ques.answers.length > 0) {
+ this.autoCompleteAns =this.formGroupN.get(this.parent_ques.question_key).valueChanges.pipe(
+ startWith(''),
+ map(value => this.autoCompleteFilter(value))
+ )
+ }
+ //let length=this.quesService.ans_length()
+
+ }
+
+ ngOnChanges() {
+ //alert('ans');
+ this.parent_ques = this.currFormArrayObj
+
+ this.json_answers1=[{
+ stakeholder_name0: "SUMIT KHANDELWAL",
+ share_holding0: 10,
+ vintage_in_current_biz0: 5,
+ total_work_exp0: 10,
+ started_biz0: "",
+
+ stakeholder_name1: "RAM",
+ share_holding1: 10.5,
+ vintage_in_current_biz1: 8,
+ total_work_exp1: 5,
+ started_biz1: "",
+
+ stakeholder_name2: "VIGNESH",
+ share_holding2: 55,
+ vintage_in_current_biz2: 6,
+ total_work_exp2: 0,
+ started_biz2: "",
+ stakeholder_length:'2',
+ company_name: 3},
+ {
+ stakeholder_name0: "SUMIT KHANDELWAL",
+ share_holding0: 15,
+ vintage_in_current_biz0: 6,
+ total_work_exp0: 11,
+ started_biz0: "",
+
+
+
+ stakeholder_name1: "RAM",
+ share_holding1: 0,
+ vintage_in_current_biz1: 10,
+ total_work_exp1: 9,
+ started_biz1: "",
+
+
+
+ stakeholder_name2: "VIGNESH",
+ share_holding2: 25,
+ vintage_in_current_biz2: 12,
+ total_work_exp2: 8,
+ started_biz2: "",
+
+ stakeholder_length:'2',
+ company_name: 2},{
+ stakeholder_name0: "SUMIT KHANDELWAL",
+ share_holding0: 25,
+ vintage_in_current_biz0: 7,
+ total_work_exp0: 12,
+ started_biz0: "",
+
+
+
+ stakeholder_name1: "RAM",
+ share_holding1: 25.5,
+ vintage_in_current_biz1: 15,
+ total_work_exp1: 0,
+ started_biz1: "",
+
+
+
+ stakeholder_name2: "VIGNESH",
+ share_holding2: 0,
+ vintage_in_current_biz2: 10,
+ total_work_exp2: 9,
+ started_biz2: "",
+
+ stakeholder_length:'2',
+ company_name: 1}
+
+ ]
+
+ if(this.json_answers!=null && this.json_answers != undefined && this.json_answers) {
+
+ // setTimeout(()=>{
+ // console.clear()
+
+ if(this.json_answers!=null && this.json_answers!= undefined && this.json_answers&& !this.group_key) {
+ this.formGroupN.get(this.parent_ques.question_key).patchValue((this.json_answers[this.parent_ques.question_key] || ''))
+
+ this.onChangeProperty({value:this.json_answers[this.parent_ques.question_key]},this.parent_ques,'','','','TS')
+ }
+ else if(this.json_answers!=null && this.json_answers != undefined && this.json_answers){
+ // this.formGroupN.patchValue((this.json_answers[this.group_key] || ''))
+
+ // debugger;
+
+ this.formGroupN.get(this.parent_ques.question_key)
+
+ this.whole_form.get(this.group_key).patchValue(this.json_answers)
+ if(this.json_answers.length > 1) {
+ this.generateGroupControls.emit()
+ }
+
+
+ this.json_answers.forEach((value,index)=>{
+
+
+ let keys= Object.keys(value)
+ keys.forEach(vv=>{
+
+ // debugger;
+ if(typeof(value[vv])== 'string') {
+
+
+
+ if(this.whole_form.get(this.group_key) && this.whole_json.length > 0) {
+
+ let curr_obj=this.whole_json.filter(vl=>vl.question_key == vv)[0]
+ this.onChangeProperty({value:value[vv]},curr_obj,'','','','TS')
+ }
+
+ }
+ })
+
+ })
+ // debugger;
+
+ }
+ // this.formGroupN.get(this.parent_ques.question_key).patchValue((this.json_answers[this.parent_ques.question_key] || ''))
+ // setTimeout(()=>{
+ // console.log("last on change fun",this.json_answers[this.parent_ques.question_key],this.parent_ques.question_key)
+ // debugger;
+ // this.onChangeProperty({value:this.json_answers[this.parent_ques.question_key]},this.parent_ques,'')
+ // },1000)
+ // this.formGroupN.patchValue(this.json_answers)
+ // })
+ this.loaderService.closeMatSpinnerDialog();
+ // this.formGroupN.get(this.parent_ques.question_key).patchValue(this.json_answers[this.parent_ques.question_key])
+ // this.onChangeProperty({value:this.json_answers[this.parent_ques.question_key]},this.parent_ques,'')
+ // setTimeout(()=>{
+ // this.json_answers = null
+ // },700)
+ // if(this.json_answers == )
+ // console.log("KEY TO BE FIND",this.json_index,this.whole_json)
+ setTimeout(() => {
+ // this.quesService.formanswers=null;
+ this.loaderService.closeMatSpinnerDialog();
+ },0)
+ }
+
+ // console.log(this.parent_ques,this.formGroupN,this.whole_json ,this.json_answers);
+ // debugger;
+
+ if(this.parent_ques.type == '8') {
+
+ if(this.parent_ques.answers && this.parent_ques.answers.length > 0){
+ this.ngxFilteredValue.next(this.parent_ques.answers.slice())
+ // this.filterList()
+ }
+ else{
+ setTimeout(()=>{
+
+ if(this.parent_ques.answers && this.parent_ques.answers.length > 0){
+ this.ngxFilteredValue.next(this.parent_ques.answers.slice())
+ // this.filterList()
+ }
+ },1600)
+ }
+ this.filterList()
+ }
+ }
+ filterList() {
+ this.commonFilterCtrl.valueChanges.pipe().subscribe(()=>{
+
+ if(this.parent_ques.type == '8' && this.parent_ques.answers && this.parent_ques.answers.length > 0) {
+ this.applyFilter(this.commonFilterCtrl.value,this.ngxFilteredValue,this.parent_ques.answers,'answer')
+ }
+ })
+
+ }
+ applyFilter(filtered_text,filter_list,raw_list,obj_name) {
+ if (!raw_list) {
+ return;
+ }
+ // get the search keyword
+ let search = filtered_text;
+ if (!search) {
+ filter_list.next(raw_list.slice());
+ return;
+ } else {
+ search = search.toLowerCase();
+ }
+ // filter the banks
+ filter_list.next(
+ raw_list.filter(bank => bank[obj_name].toLowerCase().indexOf(search) > -1)
+ );
+ }
+ autoCompleteFilter(value:string): string[] {
+ if(value) {
+ const filterValue = value.toLowerCase();
+
+ return this.parent_ques.answers.filter(option => option.answer.toLowerCase().indexOf(filterValue) === 0);
+ }
+ else {
+ return this.parent_ques.answers
+ }
+ }
+ onChange_checkbox(event,sec_control){
+
+ const control=this.formGroupN.get(sec_control.question_key) as FormArray
+
+ if(event.checked) {
+ control.push(new FormControl(event.source.value))
+ } else {
+ const i = control.controls.findIndex(x => x.value === event.source.value);
+ control.removeAt(i);
+ }
+ }
+ onChangeProperty(event,sec_control,question_key,options?,sec_index?,from?){
+ // alert('datatamil');
+ if(!from && from != 'TS' && this.quesService.formanswers != null) {
+ console.log("Value changes",from);
+ this.quesService.formanswers = null
+ }
+
+ // this.fileredSearchValue=[]
+
+ if(sec_control && sec_control.answers!= null && sec_control.answers.length > 0){
+ // this.creatSubField(sec_control,event.value)
+ }
+ //FOR API CALLS
+ // console.log(sec_control.value);
+ if(sec_control && sec_control.onchange_properties != null && sec_control.onchange_properties.length >0){
+
+ let onChangeProperties_value=sec_control.onchange_properties
+
+// let new_name=`{
+// "purpose":"FORM_CTRL",
+// "form_controls":[
+// {
+// "insert_index":"total_work_exp",
+// "expression":"(total_work_exp > vintage_in_current_biz)",
+// "value_keys":[
+// "total_work_exp",
+// "vintage_in_current_biz"],
+// "questions":[
+// {
+// "question_key":"previous_experience_details2",
+// "question":"Previous Experience2",
+// "type":"1",
+// "api_properties":null,
+// "answers":null,
+// "onchange_properties":null,
+// "is_repeatable":null,
+// "field_type":"string",
+// "validations":[{
+// "isactive": "1",
+// "message": "Name Required",
+// "name": "required",
+// "validator": "Validators.required",
+// "value": null
+// }]
+
+// }]
+
+// },
+// {
+// "insert_index":"vintage_in_current_biz",
+// "expression":"(total_work_exp > vintage_in_current_biz)",
+// "value_keys":[
+// "total_work_exp",
+// "vintage_in_current_biz"],
+// "questions":[{
+// "question_key":"vintage1",
+// "question":"Vintage check",
+// "type":"1",
+// "api_properties":null,
+// "answers":null,
+// "onchange_properties":null,
+// "is_repeatable":null,
+// "field_type":"string",
+// "validations":[]
+
+// }]
+
+// }
+// ]
+
+// }`
+// onChangeProperties_value.push(JSON.parse(new_name))
+
+ onChangeProperties_value.forEach(onChangeProperty=>{
+
+ if(onChangeProperty.purpose == 'api'){
+ if(onChangeProperty.api == 'getListOfStatesAndCities'){
+ // console.log(event.value,onChangeProperty.params)
+ // onChangeProperty.params = JSON.stringify(onChangeProperty.params);
+ // let updatedParams =JSON.stringify(onChangeProperty.params);
+ // updatedParams = updatedParams.replace('value_of_answer',event.value);
+ // // updatedParams = JSON.parse(updatedParams)
+ // console.log(JSON.parse(updatedParams),updatedParams,JSON.parse(JSON.stringify(updatedParams)))
+ // debugger;
+ let params={records:{state_id:event.value}}
+
+ this.quesService.apiCall(onChangeProperty.api,params,onChangeProperty.api_method).subscribe(res=>{
+
+ if(res['dataStatus']){
+ this.local_city=res['records'].cities
+ this.local_pincode=res['records'].pincode
+
+ this.whole_json.forEach((val,index)=>{
+
+ if(val.api_properties == 'local_city'){
+
+ this.local_city=this.quesService.convertArrayNames(['city_id','city_name'],this.local_city)
+ val.answers = (this.local_city)
+ }
+ else if(val.api_properties == 'local_pincode'){
+ this.local_pincode=this.quesService.convertArrayNames(['pincode_id','pincode'],this.local_pincode)
+ val.answers = (this.local_pincode)
+ }
+
+ })
+
+ }
+ })
+ }
+ else{
+
+ this.quesService.apiCall(onChangeProperty.api,onChangeProperty.params,onChangeProperty.api_method).subscribe((result:any)=>{
+
+ if(result['dataStatus']){
+ if(result.hasOwnProperty('records')){
+ result=result['records']
+ }
+ // let ques_control= this.quesAnsForm.controls.questions['controls']
+ // if(options == 2){
+ // ques_control=group_ques.controls.questions['controls']
+ // }
+ if(onChangeProperty.hasOwnProperty('filter_properties') && onChangeProperty.filter_properties && result.length > 0) {
+ let filter_properties = onChangeProperty.filter_properties
+ result = result.filter(vv=>vv[filter_properties.key_name] == filter_properties.value)
+ }
+
+ this.whole_json.forEach((val,index)=>{
+
+ if(val.api_properties == onChangeProperty.local_variable){
+ let values1=this.quesService.convertArrayNames(onChangeProperty.fields,result)
+ val.answers = (values1)
+ }
+
+ })
+ }
+ })
+ }
+ }
+ if(onChangeProperty.purpose == 'validations'){
+
+ // if(options == 2){
+ this.setValidations_onChange(onChangeProperty,this.formGroupN,sec_control,sec_index)
+ // }
+ // else{
+ // this.setValidations_onChange(onChangeProperty,this.quesAnsForm,sec_control,sec_index)
+ // }
+ }
+ if(onChangeProperty.purpose == 'FORM_CTRL'){
+
+ // if(options == 2){
+
+ // debugger;
+ this.creteNewField(onChangeProperty,this.formGroupN,sec_control,sec_index)
+ // }
+ // else{
+ // this.creteNewField(onChangeProperty,this.quesAnsForm,sec_control,sec_index)
+ // }
+ }
+ if(onChangeProperty.purpose == 'answer_value' || onChangeProperty.purpose == 'question_label') {
+ this.setModifiedValuetoControl(onChangeProperty,this.formGroupN,sec_index)
+ }
+ // for calculation field from multiple arr values
+ if(onChangeProperty.purpose == 'answer_value_arr') {
+ let index = JSON.parse(JSON.stringify(this.json_index))
+ this.setModifiedValuetoControl_frommultiple(onChangeProperty,this.whole_form.get(this.group_key),index,sec_control)
+ }
+ })
+ }
+ }
+ setModifiedValuetoControl_frommultiple(curr_obj,formArray,curr_index ?,sec_control?) {
+
+ if(curr_obj && curr_obj.value_keys.length > 0 && curr_obj.arr_include.length > 0 ) {
+ let expression_value=curr_obj.expression
+ for(let index_str of curr_obj.arr_include) {
+ let value_index;
+ if(index_str == 'py') {
+ if(curr_index == 0) {
+ formArray.controls[curr_index].controls[curr_obj.insert_control].setValue(0)
+ // curr_obj.is_hidden = true;
+
+ this.whole_json.filter(vv=>{
+ if(vv.question_key == curr_obj.insert_control) {
+ vv.is_hidden = true
+ }})
+
+ }
+ if(formArray.value.length < 2) {
+
+ return;
+ }
+ value_index = curr_index-1
+ }
+ if(index_str == 'now'){
+ value_index = curr_index
+ }
+ for(let value of curr_obj.value_keys) {
+
+ let control_value = formArray.getRawValue()[value_index] ? formArray.getRawValue()[value_index][value] : ''
+ if(control_value) {
+
+ if(sec_control.type == '1' && sec_control.field_type == 'num' || sec_control.field_type == 'numtoword') {
+ let val = Number(control_value)
+
+ if(val == undefined || isNaN(val)) {
+ control_value = 0
+ }
+ }
+ expression_value = expression_value.split(value+'['+index_str+']').join(control_value)
+ }
+ else{
+ if(formArray.value.length > curr_index+1) {
+
+ this.setModifiedValuetoControl_frommultiple(curr_obj,formArray,curr_index+1,sec_control)
+ }
+
+ return
+ }
+ }
+ }
+ if(expression_value) {
+
+ let calc_exp=eval(expression_value)
+
+ if(calc_exp){
+ if(typeof(calc_exp) == 'number'){
+ calc_exp = calc_exp.toFixed(2)
+ }
+ if(curr_obj.insert_control) {
+ formArray.controls[curr_index].controls[curr_obj.insert_control].setValue(calc_exp)
+ if(formArray.value.length > curr_index+1) {
+
+ this.setModifiedValuetoControl_frommultiple(curr_obj,formArray,curr_index+1,sec_control)
+ }
+ }
+ }
+ }
+ }
+
+ }
+ // for setting the modified value to another or same control while field change
+ setModifiedValuetoControl(curr_obj,form_control_obj,curr_index) {
+
+ if(curr_obj && curr_obj.value_keys.length > 0){
+ let expression_value=curr_obj.expression
+ // curr_obj.value_keys.forEach(val=>{
+ for(let val of curr_obj.value_keys) {
+ let control_value
+ control_value =form_control_obj.getRawValue()[val]
+ if(control_value) {
+ expression_value = expression_value.split(val).join(control_value)
+ }
+ else{
+ return;
+ }
+ }
+ // })
+
+ let calc_exp=eval(expression_value)
+
+ if( (typeof(calc_exp) == 'string' || typeof(calc_exp) == 'number' ) ){
+ // if(typeof(calc_exp) == 'number'){
+ // calc_exp = calc_exp.toFixed(2)
+ // }
+ if(curr_obj.insert_control) {
+ // FOR SETTING THE ANSWER TO OTHER OR SAME FIELD
+ if(curr_obj.purpose == 'answer_value') {
+ form_control_obj.controls[curr_obj.insert_control].setValue(calc_exp)
+ }
+ // FOR SETTING THE Question Label TO OTHER OR SAME Question
+ if(curr_obj.purpose == 'question_label') {
+ let curr_question_obj
+ let curr_json = this.whole_json
+ if(curr_obj.hasOwnProperty('insert_group_key') && curr_obj.insert_group_key != null) {
+ curr_json = curr_json.filter(val=>val.group_key == curr_obj.insert_group_key)
+ curr_json = curr_json[0]
+ if(curr_json && curr_json.group_questions && curr_json.group_questions.length > 0) {
+ curr_json.group_questions.forEach(rr=>{
+ let temp_curr = rr.filter(val=>val.question_key == curr_obj.insert_control)
+ if(temp_curr && temp_curr.length > 0) {
+ temp_curr[0].question = calc_exp
+ }
+ })
+ curr_json = curr_json.question
+ }
+ }
+
+ if(curr_json) {
+ curr_question_obj = curr_json.filter(val=>val.question_key == curr_obj.insert_control)
+ if(curr_question_obj && curr_question_obj.length > 0) {
+ curr_question_obj[0].question = calc_exp
+ }
+ }
+ }
+ }
+ }
+ }
+
+ }
+
+ creteNewField(form_control_obj_raw,group_ques,sec_control,sec_index,purpose?){
+
+ if(form_control_obj_raw.form_controls.length > 0){
+ form_control_obj_raw.form_controls.forEach(form_control_obj=>{
+ if(form_control_obj.value_keys != null && form_control_obj.value_keys.length > 0 ){
+ let expression_value=form_control_obj.expression
+ form_control_obj.value_keys.forEach(res=>{
+ let control_value_obj
+ if(purpose != 'edit'){
+ control_value_obj =group_ques.value[res]
+ }
+ else{
+ control_value_obj = sec_index.questions.filter(val=>val.question_key == res)[0]
+ }
+ if(control_value_obj){
+ // if(control_value_obj.answer_value == ''){
+ // control_value_obj.answer_value =0
+ // }
+ expression_value=expression_value.split(res).join(control_value_obj)
+ }
+ })
+
+ let calc_exp=eval(expression_value)
+
+ if(calc_exp != false){
+ if(form_control_obj.questions.length > 0){
+ let question_index_after
+ this.whole_json.forEach((val,index,arr)=>{
+
+ if(val.question_key == form_control_obj.insert_index){
+ question_index_after= arr.indexOf(val)
+ }
+ })
+
+ this.createControl(form_control_obj,group_ques,question_index_after,1) //FOR ADD CONTOL
+ }
+ }
+ else{
+ this.createControl(form_control_obj,group_ques,'',2) //FOR REMOVE CONTROL
+ }
+ }
+ })
+ }
+ }
+ createControl(form_control_obj,group_ques,question_index_after,options){
+
+ let ques_control=this.whole_json
+ let inserted_control_obj=form_control_obj
+ // inserted_control_obj.questions.sort()
+ // inserted_control_obj.questions.reverse()
+
+ inserted_control_obj.questions.forEach((val,index)=>{
+ if(val.hasOwnProperty('is_repeatable') && val.is_repeatable == '1') {
+ if(options == 1) {
+ let check_dup=ques_control.filter(control_key=>control_key.group_key == val.group_key)
+
+ if(check_dup.length == 0){
+ this.formGroupN.addControl(val.group_key,this._fb.array([]))
+ // val.question.reverse()
+ let childControl: any = this.formGroupN.get(val.group_key) as FormArray
+ let control_names:any={}
+ inserted_control_obj.questions[index].group_questions = []
+ inserted_control_obj.questions[index].group_questions.push(val.question)
+ this.whole_json.splice(question_index_after+1,0,val);
+ val.question.forEach(group_val=>{
+ control_names[group_val.question_key] = ''
+ // console.log("check ffffff",inserted_control_obj.questions.reverse(),inserted_control_obj.questions,group_val)
+ this.addOrRemoveControl(group_val,ques_control,question_index_after,options,val)
+ })
+ const question_temp:any = JSON.parse(JSON.stringify(val.question));
+ inserted_control_obj.questions[index].question = question_temp
+ childControl.push(this._fb.group(control_names))
+ val.group_questions[0].forEach((group_indi,arr_index)=>{
+
+ this.quesService.addAdditionalControl(group_indi, childControl.controls[0], arr_index)
+ })
+ }
+ }
+ else{
+ // let childControl: any = this.formGroupN.get(val.group_key) as FormArray
+ val.question.forEach(group_val=>{
+ // control_names[group_val.question_key] = ''
+ // console.log("check ffffff",inserted_control_obj.questions.reverse(),inserted_control_obj.questions,group_val)
+ this.addOrRemoveControl(group_val,ques_control,question_index_after,options,val)
+ })
+ }
+ }
+ else{
+ this.addOrRemoveControl(val,ques_control,question_index_after,options,val)
+ }
+ })
+ }
+ addOrRemoveControl(val,ques_control,question_index_after,options,paren_ques) {
+ console.log(val);
+ console.log(ques_control);
+ console.log(question_index_after);
+ console.log(paren_ques);
+ if(options == 1){
+ let check_dup=ques_control.filter(control_key=>control_key.question_key == val.question_key)
+
+
+ // let check_dup = []
+ if(check_dup.length == 0){
+ val.raw_validations=val.validations
+ // ques_control.insert(question_index_after+1,this.questionService.createValue(val))
+ if(paren_ques.hasOwnProperty('is_repeatable') && paren_ques.is_repeatable == '1') {
+
+ // this.formGroupN.addControl(val.question_key,new FormControl(''))
+ }
+ else{
+ this.whole_json.splice(question_index_after+1,0,val);
+ this.formGroupN.addControl(val.question_key,new FormControl(''))
+ this.quesService.addAdditionalControl(val, this.formGroupN, question_index_after+1,"")
+ }
+
+ }
+ }
+ else{
+
+ ques_control.forEach((control_key,index)=>{
+ if(paren_ques.hasOwnProperty('is_repeatable') && paren_ques.is_repeatable == '1') {
+ if(control_key.group_key == paren_ques.group_key){
+ this.whole_json.splice(index,1)
+ // this.formGroupN.controls[val.question_key].reset()
+ this.formGroupN.removeControl(paren_ques.group_key);
+ }
+
+ }
+ else{
+ if(control_key.question_key == val.question_key){
+ this.whole_json.splice(index,1)
+ this.formGroupN.controls[val.question_key].reset()
+ this.formGroupN.removeControl(val.question_key);
+ this.checkAndRemoveSubQuestion(control_key,ques_control)
+ // let getSubQuestion = this.whole_json.filter(vv=>vv.parent_question_key == control_key.question_key)
+ // console.log(getSubQuestion,control_key,this.whole_json)
+ }
+ }
+ })
+ }
+ }
+ checkAndRemoveSubQuestion(question_obj,ques_control) {
+
+ let getSubQuestion = this.whole_json.filter(vv=>vv.parent_question_key == question_obj.question_key)
+ if(getSubQuestion.length > 0) {
+ getSubQuestion.forEach(val=>{
+ this.addOrRemoveControl(val,ques_control,'',2,val)
+ })
+ }
+
+ }
+ setValidations_onChange(validation_obj_raw,group_ques,sec_control,sec_index){
+
+
+ if(validation_obj_raw.validations.length > 0){
+ validation_obj_raw.validations.forEach(validation_obj=>{
+
+ //FOR CHECKING THE EXPRESSION OR NORMAL VALIDATION
+ if(validation_obj.hasOwnProperty('value_keys')){
+
+ if( validation_obj.value_keys != null){
+
+
+ let expression_value=validation_obj.value
+ validation_obj.value_keys.forEach(res=>{
+ let validator_value_obj=group_ques.value[res]
+ // if(validator_value_obj){
+ expression_value=expression_value.split(res).join(validator_value_obj)
+ // }
+ })
+
+ // validation_obj.value=expression_value
+ validation_obj.validator=eval(expression_value)
+
+ if(validation_obj.validator == false){
+ validation_obj.isactive='0'
+ // // MAKING THE DECISION FOR SETTING THE VALIDATOR FOR CURRENT CONTROL OR OTHERS
+ this.proceedValidationSet(validation_obj,group_ques,sec_control,'')
+ }
+ else{
+ validation_obj.isactive='1'
+ let validator_single=this.quesService.setValueForValidator(validation_obj)
+
+ // // MAKING THE DECISION FOR SETTING THE VALIDATOR FOR CURRENT CONTROL OR OTHERS
+ this.proceedValidationSet(validation_obj,group_ques,sec_control,validator_single)
+ }
+ //END OF EXPRESSION CHECK
+ }
+ else{
+ // STARTING VALUE VALIDATION
+ let validator_value_obj
+
+
+
+ validator_value_obj=this.formGroupN.value[ validation_obj.value]
+
+
+ validation_obj.validator=validator_value_obj
+
+ // let validator_single=this.questionService.setValueForValidator(validation_obj)
+ // console.log(validator_single)
+ // MAKING THE DECISION FOR SETTING THE VALIDATOR FOR CURRENT CONTROL OR OTHERS
+ this.proceedValidationSet(validation_obj,group_ques,sec_control,'')
+
+ // END OF VALUE VALIDATION
+ }
+
+ //
+
+ // }
+ // else{
+
+ // }
+
+ }
+ })
+ }
+ }
+
+ proceedValidationSet(validation_obj,group_ques,sec_control,validator_single?){
+
+ let ques_control;
+ if(validation_obj.validation_to == null){
+
+ ques_control=this.whole_json[this.json_index]
+
+
+ // if(validation_obj.isactive == '1'){
+ // ques_control.controls.answer_value.setValidators(validator_single)
+ // ques_control.controls.answer_value.updateValueAndValidity()
+ // }
+ // else{
+ // ques_control.controls.answer_value.clearValidators()
+ // ques_control.controls.answer_value.updateValueAndValidity()
+ // }
+ // validation_obj.validator=validator_single
+ let new_validation_obj=this.updateValidationMsg(ques_control,validation_obj)
+
+ this.quesService.settingArrayofValidators({validations:new_validation_obj,question_key:sec_control.question_key},this.formGroupN,'')
+ }
+ else{
+ ques_control=this.whole_json[this.json_index]
+
+ let other_control = ques_control
+ if(ques_control.hasOwnProperty('is_repeatable') && ques_control.is_repeatable == '2') {
+ return;
+ }
+ // =ques_control.filter(val=>{
+ // if(val.question_key == validation_obj.validation_to){
+ // return val
+ // }
+ // })[0]
+ // let updateMsg=other_control.value.validations.filter(val=>val.name != validation_obj.name)
+ // updateMsg.push(validation_obj)
+
+ // other_control.controls.answer_value.setValidators(validator_single)
+ // if(validation_obj.isactive == '1'){
+ // other_control.controls.answer_value.setValidators(validator_single)
+ // other_control.controls.answer_value.updateValueAndValidity()
+ // }
+ // else{
+ // other_control.controls.answer_value.clearValidators()
+ // other_control.controls.answer_value.updateValueAndValidity()
+ // }
+
+ // other_control.controls.validations.setValue(updateMsg);
+ // validation_obj.validator=validator_single
+ let new_validations_obj=this.updateValidationMsg(other_control,validation_obj)
+
+ this.quesService.settingArrayofValidators({validations:new_validations_obj,question_key:validation_obj.validation_to},this.formGroupN,'')
+ }
+ }
+ newAnswerCreateDialog(choosed_answer_obj,curr_ques_obj) {
+ // console.log('aa');
+ // console.log(choosed_answer_obj);
+ // console.log(curr_ques_obj);
+ // console.log('abx');
+ // console.log(choosed_answer_obj.answer)
+ // if(choosed_answer_obj.answer!='')
+ // {
+ // console.log('changed');
+
+ // let company=this.quesService.companynamechanged(choosed_answer_obj,curr_ques_obj)
+ // }
+ if(choosed_answer_obj.is_others == '-1') {
+ this.formGroupN.get(curr_ques_obj.question_key).setValue('')
+ let dialog = this.matDialog.open(AnswerOptionCreateDialogComponent,{
+ data:{pd_all_details:this.quesService.pd_all_details},
+ disableClose: true,
+ width: '80vw',
+ maxHeight: '100vh',
+ panelClass:'min-padding'
+ })
+ dialog.afterClosed().subscribe(rr=>{
+ if(rr.update && rr.address_for_display && rr.address_for_display.length > 0) {
+ // curr_ques_obj.answers.splice(curr_ques_obj.answers.length -1,0,{answer:rr.address_for_display,answer_id:rr.address_for_display})
+ curr_ques_obj.answers = rr.address_for_display
+
+ let lastAddress = curr_ques_obj.answers[curr_ques_obj.answers.length-1].answer_id && curr_ques_obj.answers[curr_ques_obj.answers.length-1].answer_id != null && curr_ques_obj.answers[curr_ques_obj.answers.length-1].is_others != -1 ? curr_ques_obj.answers[curr_ques_obj.answers.length-1].answer_id : curr_ques_obj.answers[curr_ques_obj.answers.length-2].answer_id
+ this.formGroupN.get(curr_ques_obj.question_key).patchValue(lastAddress)
+ }
+ else if(rr.hasOwnProperty('update') && rr.update == false){
+ alert(rr.error_msg ? rr.error_msg : "Something went wrong while getting address")
+ }
+ })
+ }
+ }
+ updateValidationMsg(ques_control,validation_obj){
+ if(!ques_control) {
+ return;
+ }
+ let updateMsg=ques_control.validations.filter(val=>val.name != validation_obj.name)
+ updateMsg.push(validation_obj)
+ // ques_control.controls.validations.setValue(updateMsg);
+ ques_control.validations = updateMsg
+ return updateMsg;
+ }
+ updateAllComplete(a,b){
+ console.log(a)
+ console.log(b.checked)
+ if(b.checked){
+ console.log( this.whole_json)
+ this.formGroupN.get(a).disable()
+ this.parent_ques.disable =true
+
+ this.vr = true
+ }else{
+ console.log( this.whole_json)
+ this.formGroupN.get(a).enable()
+ this.parent_ques.disable = false
+ this.vr = false
+ console.log(this.parent_ques.disable)
+
+
+ }
+}
+}
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms-dynamic/dynamic-form/ques-form/ques-form.service.spec.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms-dynamic/dynamic-form/ques-form/ques-form.service.spec.ts
new file mode 100644
index 000000000..56b5b153f
--- /dev/null
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms-dynamic/dynamic-form/ques-form/ques-form.service.spec.ts
@@ -0,0 +1,12 @@
+import { TestBed } from '@angular/core/testing';
+
+import { QuesFormService } from './ques-form.service';
+
+describe('QuesFormService', () => {
+ beforeEach(() => TestBed.configureTestingModule({}));
+
+ it('should be created', () => {
+ const service: QuesFormService = TestBed.get(QuesFormService);
+ expect(service).toBeTruthy();
+ });
+});
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms-dynamic/dynamic-form/ques-form/ques-form.service.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms-dynamic/dynamic-form/ques-form/ques-form.service.ts
new file mode 100644
index 000000000..0745ad071
--- /dev/null
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms-dynamic/dynamic-form/ques-form/ques-form.service.ts
@@ -0,0 +1,1250 @@
+import { Injectable, Testability } from '@angular/core';
+import { FormGroup, FormArray, FormBuilder, FormControl, Validators } from '@angular/forms';
+import { HttpClient, HttpParams } from '@angular/common/http';
+import { environment } from 'environments/environment';
+import { DatePipe } from '@angular/common';
+
+import { BehaviorSubject } from 'rxjs';
+const apiUrl = environment.apiEndpoint
+
+@Injectable({
+ providedIn: 'root'
+})
+export class QuesFormService {
+ formgroup_company:FormGroup;
+ ques_data_company:any;
+ company_name:any;
+ length:any;
+
+ len:any;
+ formanswers=null;
+ pd_all_details:any= {} ;
+ datepipe: DatePipe;
+ //length: any;
+ constructor(private _fb:FormBuilder,private http:HttpClient) {
+ this.datepipe=new DatePipe('en-US')
+ // this.apiUrl = constantProvider.environment().url
+ }
+ // FOR CREATING A FORM CONTROL DYNAMICALLY
+ // companynamechanged(choosed_answer_obj,curr_ques_obj) {
+ // alert('new');
+ // console.log('aa');
+ // console.log(choosed_answer_obj);
+ // console.log(curr_ques_obj);
+ // console.log('abx');
+ // console.log(choosed_answer_obj.answer)
+ // if(choosed_answer_obj.answer!='')
+ // {
+ // console.log(hanged');
+ // this.company_name=choosed_answer_obj.answer
+ // }
+
+ // }
+ private messageSource = new BehaviorSubject('default message');
+ public currentMessageSubscriber = this.messageSource.asObservable();
+ notify(message: any) {
+ this.messageSource.next(message)
+ }
+
+ ques_length(length1: any)
+ {
+ this.len=length1;
+
+ }
+ assignFormControl_array(formgroup: FormGroup, ques_data: any) {
+
+ const control: any = formgroup
+
+ ques_data.forEach((val, index) => {
+
+ if (val.hasOwnProperty('is_repeatable') && val.is_repeatable == '1') {
+
+ // control.push(this._fb.group({
+ // "is_repeatable": [val.is_repeatable || null],
+ // "group_title": [val.group_title || null], "group_type": [val.group_type || null]
+ // ,"question_key":[val.question[0].question_key]
+ // }))
+
+ control.addControl(val.group_key, this._fb.array([]))
+
+ let childControl: any = control.get(val.group_key) as FormArray
+
+
+
+
+ // childControl.push(this._fb.group({ 'questions': this._fb.array([]) }))
+
+
+ if(this.len=='3' && val.form_name=='Key Stakeholders in Business')
+ {
+
+ val.question.push({
+ "question":"",
+ "question_key":"stakeholder_name1",
+ "place_holder":"Enter text",
+ "type":"1",
+ "field_width":"19",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Name Required",
+ "value":null
+ }
+ ]
+
+ },
+ {
+ "question":"",
+ "question_key":"share_holding1",
+ "place_holder":"Enter number",
+ "type":"1",
+ "field_width":"19",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"num",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Share value Required",
+ "value":null
+ },
+ {
+ "name":"max",
+ "validator":"100",
+ "isactive":"1",
+ "message":"Number must be less than 100",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"",
+ "question_key":"vintage_in_current_biz1",
+ "place_holder":"Enter in years",
+ "type":"1",
+ "field_width":"19",
+ "api_properties":null,
+ "answers":null,
+ "is_repeatable":null,
+ "field_type":"num",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Current vintage Required",
+ "value":null
+ }
+ ],
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"started_biz1",
+ "expression":"(total_work_exp1 > vintage_in_current_biz1)",
+ "value_keys":[
+ "total_work_exp1",
+ "vintage_in_current_biz1"
+ ],
+ "questions":[
+ {
+ "question_key":"previous_experience_details1",
+ "question":"Previous Experience Details",
+ "place_holder":"Enter text",
+ "type":"1",
+
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "parent_question_key":"vintage_in_current_biz1",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Previous Experience Required",
+ "value":null
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "question":"",
+ "question_key":"total_work_exp1",
+ "place_holder":"Enter in years",
+ "type":"1",
+ "field_width":"19",
+ "api_properties":null,
+ "answers":null,
+ "is_repeatable":null,
+ "field_type":"num",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Total experience Required",
+ "value":null
+ }
+ ],
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"started_biz1",
+ "expression":"(total_work_exp1 > vintage_in_current_biz1)",
+ "value_keys":[
+ "total_work_exp1",
+ "vintage_in_current_biz1"
+ ],
+ "questions":[
+ {
+ "question":"Previous Experience Details",
+ "question_key":"previous_experience_details1",
+ "place_holder":"Enter text",
+ "type":"1",
+
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "parent_question_key":"total_work_exp1",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Previous Experience Required",
+ "value":null
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "question":"",
+ "question_key":"started_biz1",
+ "type":"2",
+ "field_width":"19",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "answers":[
+ {
+ "answer_id":"Yes",
+ "answer":"Yes"
+ },
+ {
+ "answer_id":"No",
+ "answer":"No"
+ }
+ ],
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Started Business Required",
+ "value":null
+ }
+ ]
+
+ },{
+ "question":"",
+ "question_key":"stakeholder_name2",
+ "place_holder":"Enter text",
+ "type":"1",
+ "field_width":"19",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Name Required",
+ "value":null
+ }
+ ]
+
+ },
+ {
+ "question":"",
+ "question_key":"share_holding2",
+ "place_holder":"Enter number",
+ "type":"1",
+ "field_width":"19",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"num",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Share value Required",
+ "value":null
+ },
+ {
+ "name":"max",
+ "validator":"100",
+ "isactive":"1",
+ "message":"Number must be less than 100",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"",
+ "question_key":"vintage_in_current_biz2",
+ "place_holder":"Enter in years",
+ "type":"1",
+ "field_width":"19",
+ "api_properties":null,
+ "answers":null,
+ "is_repeatable":null,
+ "field_type":"num",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Current vintage Required",
+ "value":null
+ }
+ ],
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"started_biz2",
+ "expression":"(total_work_exp2 > vintage_in_current_biz2)",
+ "value_keys":[
+ "total_work_exp2",
+ "vintage_in_current_biz2"
+ ],
+ "questions":[
+ {
+ "question_key":"previous_experience_details2",
+ "question":"Previous Experience Details",
+ "place_holder":"Enter text",
+ "type":"1",
+
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "parent_question_key":"vintage_in_current_biz2",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Previous Experience Required",
+ "value":null
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "question":"",
+ "question_key":"total_work_exp2",
+ "place_holder":"Enter in years",
+ "type":"1",
+ "field_width":"19",
+ "api_properties":null,
+ "answers":null,
+ "is_repeatable":null,
+ "field_type":"num",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Total experience Required",
+ "value":null
+ }
+ ],
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"started_biz2",
+ "expression":"(total_work_exp2 > vintage_in_current_biz2)",
+ "value_keys":[
+ "total_work_exp2",
+ "vintage_in_current_biz2"
+ ],
+ "questions":[
+ {
+ "question":"Previous Experience Details",
+ "question_key":"previous_experience_details2",
+ "place_holder":"Enter text",
+ "type":"1",
+
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "parent_question_key":"total_work_exp2",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Previous Experience Required",
+ "value":null
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "question":"",
+ "question_key":"started_biz2",
+ "type":"2",
+ "field_width":"19",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "answers":[
+ {
+ "answer_id":"Yes",
+ "answer":"Yes"
+ },
+ {
+ "answer_id":"No",
+ "answer":"No"
+ }
+ ],
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Started Business Required",
+ "value":null
+ }
+ ]
+
+ }
+ )
+ }
+ else if(this.len=='2' && val.form_name=='Key Stakeholders in Business')
+ {
+
+ val.question.push({
+ "question":"",
+ "question_key":"stakeholder_name1",
+ "place_holder":"Enter text",
+ "type":"1",
+ "field_width":"19",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Name Required",
+ "value":null
+ }
+ ]
+
+ },
+ {
+ "question":"",
+ "question_key":"share_holding1",
+ "place_holder":"Enter number",
+ "type":"1",
+ "field_width":"19",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"num",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Share value Required",
+ "value":null
+ },
+ {
+ "name":"max",
+ "validator":"100",
+ "isactive":"1",
+ "message":"Number must be less than 100",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"",
+ "question_key":"vintage_in_current_biz1",
+ "place_holder":"Enter in years",
+ "type":"1",
+ "field_width":"19",
+ "api_properties":null,
+ "answers":null,
+ "is_repeatable":null,
+ "field_type":"num",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Current vintage Required",
+ "value":null
+ }
+ ],
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"started_biz1",
+ "expression":"(total_work_exp1 > vintage_in_current_biz1)",
+ "value_keys":[
+ "total_work_exp1",
+ "vintage_in_current_biz1"
+ ],
+ "questions":[
+ {
+ "question_key":"previous_experience_details1",
+ "question":"Previous Experience Details",
+ "place_holder":"Enter text",
+ "type":"1",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "parent_question_key":"vintage_in_current_biz1",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Previous Experience Required",
+ "value":null
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "question":"",
+ "question_key":"total_work_exp1",
+ "place_holder":"Enter in years",
+ "type":"1",
+ "field_width":"19",
+ "api_properties":null,
+ "answers":null,
+ "is_repeatable":null,
+ "field_type":"num",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Total experience Required",
+ "value":null
+ }
+ ],
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"started_biz1",
+ "expression":"(total_work_exp1 > vintage_in_current_biz1)",
+ "value_keys":[
+ "total_work_exp1",
+ "vintage_in_current_biz1"
+ ],
+ "questions":[
+ {
+ "question":"Previous Experience Details",
+ "question_key":"previous_experience_details1",
+ "place_holder":"Enter text",
+ "type":"1",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "parent_question_key":"total_work_exp1",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Previous Experience Required",
+ "value":null
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "question":"",
+ "question_key":"started_biz1",
+ "type":"2",
+ "field_width":"19",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "answers":[
+ {
+ "answer_id":"Yes",
+ "answer":"Yes"
+ },
+ {
+ "answer_id":"No",
+ "answer":"No"
+ }
+ ],
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Started Business Required",
+ "value":null
+ }
+ ]
+
+ })
+ }
+
+
+
+ // let sub_childControl: any = childControl.controls[0].get('questions') as FormArray
+ let control_names:any={}
+ ques_data[index].group_questions = []
+
+ //ques_data[index].group_questions1 = []
+ ques_data[index].group_questions.push(val.question)
+
+ val.group_questions[0].forEach((group_indi, arr_index) => {
+ // CREATING A FORMARRAY AND CONTROL FOR CHILD REPEATABLE
+ if(group_indi.is_repeatable == '2') {
+ this.addLevelTwoControls(group_indi,childControl,val.group_questions[0],val.question,arr_index)
+ }
+ else {
+ group_indi.raw_validations = group_indi.validations
+
+ control_names[group_indi.question_key] = ''
+
+
+ if (group_indi.api_properties != null) {
+ if(group_indi.api_properties.hasOwnProperty('purpose') && group_indi.api_properties.purpose == 'answer_options_local') {
+ if(group_indi.api_properties.master_name == 'pd_applicants') {
+ group_indi.answers = (this.convertArrayNames( group_indi.api_properties.fields,this.pd_all_details.pdapplicants_detials))
+ val.question[arr_index].answers = group_indi.answers
+ }
+ }
+ else{
+ this.apiPropertiesCall(group_indi).then(res => {
+ if (res != false) {
+ group_indi.answers = []
+ // group_indi.answers=this.convertArrayNames(val.api_properties.fields,res)
+ group_indi.answers = (this.convertArrayNames(group_indi.api_properties.fields, res))
+ val.question[arr_index].answers = group_indi.answers
+
+ }
+ })
+ }
+ }
+
+ const question_temp:any = JSON.parse(JSON.stringify(val.question));
+ ques_data[index].question = question_temp
+ }
+ // else{
+ // setTimeout(()=>{
+ // sub_childControl.push(this.createValue(group_indi))
+ // },200)
+ // }
+ // sub_childControl.push(this.createValue(group_indi))
+ })
+
+ // debugger
+ // val.questions[0]=val.question;
+ if(childControl.value.length == 0) {
+
+ childControl.push(this._fb.group(control_names))
+ }
+ else{
+ // MERGINE THE 0 INDEX ARRAY WITH CHILD REPEATABLE
+ // control_names[childControl.at(0)] =''
+ let previous_added_controls = childControl.at(0).controls
+ control_names = Object.assign(previous_added_controls,control_names)
+
+ // debugger;
+ childControl.setControl(0,this._fb.group(control_names))
+ }
+
+ // debugger;
+ val.group_questions[0].forEach((group_indi,arr_index)=>{
+
+ if(group_indi.is_repeatable == '2' && group_indi.hasOwnProperty('questions_level_two') && group_indi.questions_level_two.length > 0) {
+ group_indi.questions_level_two[0].forEach((child_val,child_index)=> {
+ this.addAdditionalControl(child_val, childControl.at(0).get(group_indi.group_key).controls[0], child_index)
+ })
+ }
+ else{
+ this.addAdditionalControl(group_indi, childControl.controls[0], arr_index)
+ }
+ })
+
+ // }
+ // else{
+ // sub_childControl.push(this.createValue(group_indi))
+ // }
+ // setTimeout(()=>{
+
+ // },500)
+
+
+ // let key_list=Object.keys(val)
+ // console.log(Object.keys(val))
+ // key_list.forEach(key=>{
+ // childControl.controls
+ // })
+ }
+ else {
+
+ // console.log("con",control)
+ // let key_list=Object.keys(val)
+ // console.log(Object.keys(val))
+ // let curr_object
+ // console.log("apikd",typeof(val.api_properties))
+ // if(val.api_properties != null && typeof(val.api_properties) == 'object'){
+ val.raw_validations = val.validations
+ // control.push(this.createValue(val))
+ formgroup.addControl(val.question_key,new FormControl(''))
+ // for checkbox remove the form control and add the formarray for multiple values
+ this.addAdditionalControl(val, formgroup, index)
+ // if(val.type == '5'){
+ // control.controls[index].removeControl('answer_value');
+ // console.log("loop",index,control);
+ // control.controls[index].addControl('answer_value',this._fb.array([]))
+ // }
+ // if(val.type == '1'){
+ // control.controls[index].addControl('field_type',new FormControl(val.field_type))
+ // }
+ // if(val.type == '8'){
+ // control.controls[index].addControl('select_search',new FormControl(val.field_type))
+ // }
+ if (val.api_properties != null) {
+ if(val.api_properties.hasOwnProperty('purpose') && val.api_properties.purpose == 'answer_options_local') {
+ if(val.api_properties.master_name == 'pd_applicants') {
+ val.answers = (this.convertArrayNames( val.api_properties.fields,this.pd_all_details.pdapplicants_detials))
+ }
+ }
+ else{
+ this.apiPropertiesCall(val).then(res => {
+
+ if (res != false) {
+ // val.answers=[]
+ // val.answers=this.convertArrayNames(val.api_properties.fields,res)
+ val.answers = this.convertArrayNames(val.api_properties.fields, res)
+
+ }
+ }, err => console.log(err))
+ }
+ }
+ // else{
+ // setTimeout(()=>{
+ // control.push(this.createValue(val))
+ // },200)
+ // }
+
+ // }
+ // else{
+ // control.push(this.createValue(val))
+ // }
+ console.log(formgroup,ques_data)
+ // debugger;
+
+ }
+ }, err => console.log(err))
+ return formgroup
+ }
+ // END OF FORM CREATION
+
+ // FUNCTIONAL TO HANDLE THE CREATION OF CHILD REPEABLE 2
+ addLevelTwoControls(curr_obj:any,child_control,group_ques,valQues,group_index) {
+
+ // CURR VALUE(MULTI ARRAY)
+ const question_temp:any = JSON.parse(JSON.stringify(curr_obj.questions_level_two));
+ group_ques[group_index].questions_level_two = []
+ group_ques[group_index].questions_level_two.push(question_temp)
+ group_ques[group_index].question = question_temp
+
+ // RAW VALUES(SINGLE ARRAY)
+ valQues[group_index].question = question_temp
+ valQues[group_index].questions_level_two = []
+ valQues[group_index].questions_level_two.push(question_temp)
+
+ // debugger;
+ let group_key:any = {}
+ group_key[curr_obj.group_key] = this._fb.array([])
+ child_control.push(this._fb.group(group_key))
+
+ // debugger;
+ let levelTwoChildCtrl: any = child_control.at(0).get(curr_obj.group_key) as FormArray
+ let control_names:any={}
+ curr_obj.questions_level_two[0].forEach((val,arr_index)=>{
+
+ val.raw_validations = val.validations
+ control_names[val.question_key] = ''
+
+ if (val.api_properties != null) {
+ if(val.api_properties.hasOwnProperty('purpose') && val.api_properties.purpose == 'answer_options_local') {
+ if(val.api_properties.master_name == 'pd_applicants') {
+ val.answers = (this.convertArrayNames( val.api_properties.fields,this.pd_all_details.pdapplicants_detials))
+ // val.question[arr_index].answers = val.answers
+ }
+ }
+ else{
+ this.apiPropertiesCall(val).then(res => {
+ if (res != false) {
+ val.answers = []
+ // group_indi.answers=this.convertArrayNames(val.api_properties.fields,res)
+ val.answers = (this.convertArrayNames(val.api_properties.fields, res))
+ // val.question[arr_index].answers = val.answers
+
+ }
+ })
+ }
+ }
+
+ })
+
+
+ levelTwoChildCtrl.push(this._fb.group(control_names))
+ // console.log(formgroup.value);
+ }
+
+ // FOR CREATING THE FORM CONTROL FOR SPECIFIC FORM ARRAY
+ createValue(data){
+ let is_amt_in_words=false
+ let answer_value_loc='';
+ let answers_from_client=[]
+ // if(data.hasOwnProperty('answer_value') && data.answer_value != '' || null){
+ // let values_for_cli:any = this.getAnswerValue(data)
+ // if(values_for_cli.flag == 1){
+ // answer_value_loc=values_for_cli.values
+ // }
+ // else{
+ // answers_from_client=values_for_cli.values
+ // }
+ // }
+ // if(data.hasOwnProperty('field_type')){
+ // if(data.field_type == 'num'){
+ // is_amt_in_words=true
+ // }
+ // }
+ return this._fb.group({
+ "answer_value":[{value:answer_value_loc,disabled:answer_value_loc != '' ? true : false}], // OLD VALIDATION >>>> data.type != '6' ? Validators.compose([Validators.required]) : ''
+ "question":[data.question],
+ "question_key":[data.question_key],
+ "type":[data.type],
+ "raw_validations":[data.raw_validations],
+ "validations":[data.raw_validations],
+ "api_properties":[data.api_properties],
+ "onchange_properties":[data.onchange_properties],
+ "answers":[answers_from_client.length != 0 ? answers_from_client: data.answers],
+ "is_repeatable":[data.is_repeatable || null],
+ "group_title":[data.group_title || null]
+ })
+ }
+ // END OF CREATEVALUE FUN
+
+ // FOR REQUESTING THE API AUTOMATICALLY FROM JSON
+ apiPropertiesCall(val){
+ return new Promise((resolve,reject)=>{
+ if(val.api_properties != null && typeof(val.api_properties) == 'object'){
+ this.apiCall(val.api_properties.api,val.api_properties.params,val.api_properties.api_method).subscribe((res:any)=>{
+ if(res['dataStatus']){
+ if(res.hasOwnProperty('records')){
+ res=res['records']
+ // res.push({display:"Add New", id:"00",is_others:"-1"})
+ }
+ if(val.api_properties.hasOwnProperty('filter_properties') && val.api_properties.filter_properties && res.length > 0) {
+ let filter_properties = val.api_properties.filter_properties
+ res = res.filter(vv=>vv[filter_properties.key_name] == filter_properties.value)
+ }
+ resolve(res)
+
+ // val.answers=res
+ }
+ else{
+ resolve(false)
+ }
+ })
+ }
+ else{
+ resolve(false)
+ }
+ })
+ }
+ apiCall(api_name:string,params,api_method?){
+
+ if(api_method.toUpperCase() == 'POST'){
+ //let param = params;
+ let temp=params;
+ if(temp.hasOwnProperty("records")) {
+ temp=temp.records
+
+ }
+ let keysList = Object.keys(temp)
+ if(keysList.length > 0) {
+ keysList.forEach(val=>{
+ if(temp[val] == 'VAR_PD_ID') {
+ console.log(this.pd_all_details.pdmaster_details.pd_id)
+ temp[val] = this.pd_all_details.pdmaster_details.pd_id
+ }
+ if(temp[val]=='VAR_RANDOM_STRING')
+ {
+ temp[val] = this.pd_all_details.pdmaster_details.random_string
+ }
+
+ //param = param.set(val,params[val])
+ })
+ // console.log('13may');
+ // console.log(temp);
+ // console.log('13may');
+ if(params.hasOwnProperty("records"))
+ {
+ params.records=temp
+ }
+ else
+ {
+ params=temp;
+ }
+ }
+
+ return this.http.post(apiUrl+api_name,params)
+
+ }
+ else{
+ let httpParams = new HttpParams()
+ if(params) {
+ let keysList = Object.keys(params)
+ if(keysList.length > 0) {
+ keysList.forEach(val=>{
+ if(params[val] == 'VAR_PD_ID') {
+ params[val] = this.pd_all_details.pdmaster_details.pd_id
+ }
+
+ httpParams = httpParams.set(val,params[val])
+ })
+ }
+ }
+ return this.http.get(apiUrl+api_name,{params:httpParams})
+ }
+
+ }
+ // END OF API PROPERTIES CALL
+
+ // ---FOR CONVERTING THE ANSWER KEYS UNIQUE
+ convertArrayNames(fieldName,data_from_api){
+ let val1=[]
+ let modified_json = data_from_api.map(
+ obj => {
+ return {
+ "answer_id" : obj[fieldName[0]],
+ "answer":obj[fieldName[1]],
+ "is_others":obj.is_others ? obj.is_others : '0'
+ }
+ });
+ return modified_json
+ }
+ // END OF CONVERTARRAYNAMES FUN--
+
+ setAnswerOptionsorValue(data_json,control) {
+
+ let answer_value_loc='';
+ let answers_from_client=[]
+ if(data_json.hasOwnProperty('answer_value') && data_json.answer_value != '' || null){
+
+ let values_for_cli:any = this.getAnswerValue(data_json)
+ if(values_for_cli.flag == 1){
+ answer_value_loc=values_for_cli.values
+ }
+ else{
+ answers_from_client=values_for_cli.values
+ }
+ data_json.answers = answers_from_client;
+ if(answer_value_loc){
+ control.setValue(answer_value_loc)
+ }
+ }
+ }
+
+ // --- FOR SETTING THE VALUE DEFAULT WITH DISABLED AND GENERATE THE ANSWERS FOR FIELDS(EX. refer 'GET_FY_YEARS' switch)
+ getAnswerValue(value_obj) {
+ if (value_obj != null && value_obj.hasOwnProperty('answer_value')) {
+ let return_value = { flag: 1, values: '' };
+ let user_det: any = localStorage.getItem("user_details")
+ user_det = JSON.parse(user_det);
+ switch (value_obj.answer_value) {
+ case 'CURRENT_USER':
+
+ return_value.values = user_det.user_first_name + ' ' + user_det.user_last_name
+ break;
+ case "CURRENT_DESIGNATION":
+ return_value.values = user_det.designation_name != null ? user_det.designation_name : ''
+ break;
+ case "CURRENT_DATE":
+ let date = new Date()
+ return_value.values = this.datepipe.transform(date, 'dd-MM-yyyy, h:mm:ss a')
+ break;
+ case "GET_FY_YEARS":
+ return_value.values = this.getCurrentFyYears()
+ return_value.flag = 2
+ break;
+ default:
+ return_value.values = ''
+ break
+ }
+ return return_value
+ }
+ return ''
+ }
+ // --END OF GETANSWERVALUE FUN
+
+ addAdditionalControl(data,curr_control,curr_index,purpose?){
+
+ //FOR CHECKBOX CHANGE THE VALUE STORAGE AS ARRAY
+ if(data.type == '5'){
+ // curr_control.controls[curr_index].removeControl('answer_value');
+ // curr_control.controls[curr_index].addControl('answer_value',this._fb.array([]))
+ curr_control.removeControl(data.question_key)
+ curr_control.addControl(data.question_key,this._fb.array([]))
+ }
+
+ //FOR numeric of string field
+ if(data.type == '1'){
+ // curr_control.controls[curr_index].addControl('field_type',new FormControl(data.field_type))
+ // curr_control.controls[curr_index].addControl('place_holder',new FormControl(data.place_holder))
+ }
+
+ //FOR SEARCHABLE FIELD VALUE KEY ()
+ if(data.type == '8'){
+ // curr_control.controls[curr_index].addControl('select_search',new FormControl(data.field_type))
+ curr_control.addControl(data.question_key+'_searchControl',new FormControl(data.field_type))
+ }
+ if(purpose == 'additional_field'){
+ curr_control.controls[curr_index].addControl('additional_field',new FormControl(1))
+ }
+
+ // FOR IMAGE STATUS
+ if(data.type == '6'){
+ curr_control.controls[curr_index].addControl('is_loader',new FormControl(''))
+ curr_control.controls[curr_index].addControl('is_saved',new FormControl(''))
+ curr_control.controls[curr_index].addControl('is_image_status',new FormControl(false))
+ }
+ if (data.api_properties != null) {
+ if(data.api_properties.hasOwnProperty('purpose') && data.api_properties.purpose == 'answer_options_local') {
+ if(data.api_properties.master_name == 'pd_applicants') {
+ data.answers = (this.convertArrayNames( data.api_properties.fields,this.pd_all_details.pdapplicants_detials))
+ // val.question[arr_index].answers = group_indi.answers
+ }
+ }
+ else{
+ this.apiPropertiesCall(data).then(res => {
+ if (res != false) {
+ data.answers = []
+ // group_indi.answers=this.convertArrayNames(val.api_properties.fields,res)
+ data.answers = (this.convertArrayNames(data.api_properties.fields, res))
+ // val.question[arr_index].answers = group_indi.answers
+
+ }
+ })
+ }
+ }
+
+ // FOR DISABLE THE CONTROL
+ if(data.hasOwnProperty('is_disabled') && data.is_disabled == '1') {
+ curr_control.controls[data.question_key].disable();
+ }
+
+ //FOR SETTING THE VALIDATORS
+ this.settingArrayofValidators(data,curr_control,curr_index)
+ this.setAnswerOptionsorValue(data,curr_control)
+ }
+
+ // FOR SETTING THE ARRAY OF VALIDATORS COMING FROM JSON Temp,
+ settingArrayofValidators(data,curr_control,curr_index){
+
+ if(data.hasOwnProperty('validations') && data.validations.length > 0 ){
+ const validList :any= [];
+ let validator_value
+ data.validations=data.validations.filter(val=>val.isactive != '0')
+ data.validations.forEach(valid => {
+ if(valid.value != null && !valid.hasOwnProperty('validation_to')){
+ validator_value= this.getvalidatorValue(valid)
+ }
+ else{
+ validator_value=this.setValueForValidator(valid)
+
+
+ }
+ validList.push(validator_value);
+ });
+ // console.log("valid",validList,curr_control)
+ // let val="Validators.required"
+ // console.log(typeof(Validators))
+ // console.log(typeof(`${val}`))
+
+ // let val1=`${val}`
+ // console.log(typeof(eval(val)))
+ // console.log(eval(val))
+
+ // curr_control.controls[curr_index].controls.answer_value.setValidators(validList)
+ if(curr_control.controls[data.question_key]) {
+ curr_control.controls[data.question_key].setValidators(validList)
+
+ curr_control.controls[data.question_key].updateValueAndValidity()
+ }
+
+ // debugger;
+ }
+ }
+ // END OF SETTINGARRAYOFVALIDATORS FUN
+
+ // FOR GETTING THE VALIDATION VALUE
+ getvalidatorValue(value_obj){
+ if(value_obj != null && value_obj.hasOwnProperty('value')){
+ let value_of_validator
+ switch(value_obj.value){
+ case 'CURRENT_YEAR':
+ value_of_validator=new Date().getFullYear()
+ break;
+ default:
+ value_of_validator=''
+ break;
+ }
+ value_obj.validator=String(value_of_validator)
+ return this.setValueForValidator(value_obj)
+ }
+ }
+ // END OF GETVALIDATORVALUE FUN
+
+
+ // FOR GENERATING THE FY YEAR FIELD ANSWERS
+ getCurrentFyYears(){
+ let month=new Date().getMonth()
+ let year=new Date().getFullYear()
+ let fy:any=[];
+ if(month >=3){
+ fy.push({fy_year:year-1+'-'+(year),curr:year})
+ }
+ else{
+ fy.push({fy_year:year-2+'-'+(year-1),curr:year-1})
+ }
+
+ for(let i=0;i<=2;i++){
+ fy.push({fy_year:(fy[i].curr-2)+'-'+(fy[i].curr-1),curr:fy[i].curr-1})
+ }
+ fy.reverse();
+ return fy.map(val=>({answer:val.fy_year,answer_id:val.fy_year}))
+ }
+ // END OF GETCURRFYYEARS FUN
+
+ // FOR CREATING THE CORRECT VALIDATION
+ setValueForValidator(value_obj){
+
+ let return_value
+ if(value_obj != null && value_obj.hasOwnProperty('validator')){
+ switch(value_obj.name)
+ {
+ case 'required':
+ return_value=Validators.required
+ break;
+ case 'minLength':
+ return_value=Validators.minLength(value_obj.validator)
+ break;
+ case 'maxLength':
+ return_value=Validators.maxLength(value_obj.validator)
+ break;
+ case 'min':
+ return_value=Validators.min(value_obj.validator)
+ break;
+ case 'max':
+ return_value=Validators.max(value_obj.validator)
+ break;
+ case 'pattern':
+ return_value=Validators.pattern(value_obj.validator)
+ break;
+ default:
+ return_value=''
+ break;
+ }
+ return return_value
+ }
+ else{
+ return false
+ }
+ }
+ // END OF SETVALUEFORVALIDATOR FUN
+}
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms-dynamic/form-group/form-group.component.html b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms-dynamic/form-group/form-group.component.html
new file mode 100644
index 000000000..14a8280d7
--- /dev/null
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms-dynamic/form-group/form-group.component.html
@@ -0,0 +1,38 @@
+
+
+ {{main_applicant}} {{lender_applicant_id ? '('+lender_applicant_id+')' : ''}}, {{customer_segment_abbr}} - {{subproduct_abbr}}
+ {{pageTitle}}
+
+
+
+
+
+
+
+ 0 ;">
+
+
+ {{companyList.company_name}}
+
+
+
+
+
+
+
+ {{ formButton.form_name }}
+
+
+
+
+
+
+
+
+
+ Business Related Information is Not Available.Please Check General Information
+
+
+
+
+
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms-dynamic/form-group/form-group.component.scss b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms-dynamic/form-group/form-group.component.scss
new file mode 100644
index 000000000..4df6c6f0a
--- /dev/null
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms-dynamic/form-group/form-group.component.scss
@@ -0,0 +1,34 @@
+.paragraph_change {
+ color: #fff !important;
+ background-color: #e00201 !important;
+ }
+
+ .p-text {
+ color:#e00201 !important;
+ font-weight: bold;
+ }
+ ::ng-deep .mat-card-header-text{
+ margin:0px !important;
+}
+.mat-purple{
+ background-color: gray !important;
+}
+ .cdk-global-overlay-wrapper{
+ justify-content: center !important;
+}
+
+ $base-card-box-shadow:1.5px 2.6px 24px 0 rgba(0, 35, 136, 0.08) !important;
+mat-card .child_mat_card > mat-card {
+ border-radius: 0px 0px 0px 15px;
+ box-shadow: $base-card-box-shadow;
+ transform: scale(0.95);
+ transition: box-shadow 0.5s, transform 0.5s;
+ border: 1px solid lavender;
+ &:hover {
+ cursor: pointer;
+ // background-color: #e00201 !important;
+ transform: scale(1);
+ box-shadow: 5px 20px 30px rgba(0, 0, 0, 0.2);
+ }
+
+ }
\ No newline at end of file
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms-dynamic/form-group/form-group.component.spec.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms-dynamic/form-group/form-group.component.spec.ts
new file mode 100644
index 000000000..6853c7f42
--- /dev/null
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms-dynamic/form-group/form-group.component.spec.ts
@@ -0,0 +1,25 @@
+import { async, ComponentFixture, TestBed } from '@angular/core/testing';
+
+import { FormGroupComponent } from './form-group.component';
+
+describe('FormGroupComponent', () => {
+ let component: FormGroupComponent;
+ let fixture: ComponentFixture;
+
+ beforeEach(async(() => {
+ TestBed.configureTestingModule({
+ declarations: [ FormGroupComponent ]
+ })
+ .compileComponents();
+ }));
+
+ beforeEach(() => {
+ fixture = TestBed.createComponent(FormGroupComponent);
+ component = fixture.componentInstance;
+ fixture.detectChanges();
+ });
+
+ it('should create', () => {
+ expect(component).toBeTruthy();
+ });
+});
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms-dynamic/form-group/form-group.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms-dynamic/form-group/form-group.component.ts
new file mode 100644
index 000000000..a027f43fd
--- /dev/null
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms-dynamic/form-group/form-group.component.ts
@@ -0,0 +1,150 @@
+import { Component,OnInit,Inject,Input} from '@angular/core';
+import { NotifierService } from 'angular-notifier';
+import {MatDialog,MatDialogRef,MAT_DIALOG_DATA, MatTableDataSource} from '@angular/material';
+/** Service */
+import { PdTrigerService } from './../../../../../pd-service/pd-triger.service';
+import {ActivatedRoute, Router} from "@angular/router";
+import { FormComponent } from '../form/form.component';
+@Component({
+ selector: 'app-form-group',
+ templateUrl: './form-group.component.html',
+ styleUrls: ['./form-group.component.scss']
+})
+export class FormGroupComponent implements OnInit {
+
+ customer_segment_abbr: any;
+ subproduct_abbr: any;
+ lender_applicant_id: any;
+ main_applicant: any;
+ pageTitle: string = "Business Related Information";
+ existCompanyList: any = [];
+ pdid: number;
+ form_id: number;
+ waitLoading:boolean;
+ lender_short_name :any;
+ product_abbr :any;
+ prod_catagory: any;
+ selectedFormsCategory: any;
+ // vendor_status_arr: any=[];
+
+ constructor(notifier: NotifierService,
+ private route: ActivatedRoute,
+ private router: Router,
+ private _pd: PdTrigerService,
+ @Inject(MAT_DIALOG_DATA) public pd_all_details: any, private dialog: MatDialog) {
+ console.log(this.pd_all_details)
+ this.pdid = this.pd_all_details.pdMasterList.pd_id;
+ console.log(this.pdid)
+ this.form_id = 13;
+ // this.waitLoading=false;
+ // this.main_applicant = this.pd_all_details.pdmaster_details.main_applicant;
+ // this.lender_applicant_id = this.pd_all_details.pdmaster_details.lender_applicant_id;
+ // this.subproduct_abbr = this.pd_all_details.pdmaster_details.subproduct_abbr;
+ // this.customer_segment_abbr = this.pd_all_details.pdmaster_details.customer_segment_abbr;
+ // this.lender_short_name = this.pd_all_details.pdmaster_details.lender_short_name;
+ // console.log(this.lender_short_name);
+ // this.product_abbr = this.pd_all_details.pdmaster_details.product_abbr;
+ // console.log(this.product_abbr);
+ // this.prod_catagory = this.pd_all_details.pdmaster_details.prod_catagory;
+
+ }
+
+ ngOnInit() {
+ this.getCompanyListForBusiness();
+
+ }
+ getCompanyListForBusiness(): void{
+ console.log("data")
+ this._pd.getCompaniesListsForBusiness(this.pdid).subscribe(data=>{
+ console.log(data)
+ if(data.dataStatus){
+ console.log(data)
+ //this.existCompanyList = data.records.filter(val =>val.is_active == 1);
+ this.existCompanyList = data.records;
+ console.log( this.existCompanyList)
+ // VENDOR FORM ANSWER FETCH STATUS START(SMART PD ONLY)
+ // if(this.existCompanyList.length > 0 && this.pd_all_details.pdmaster_details.fk_pd_type == '2') {
+ // if(this.existCompanyList[0].hasOwnProperty('vendor_form_status') && this.existCompanyList[0].vendor_form_status && this.existCompanyList[0].vendor_form_status.length > 0) {
+ // // temp_vendor_status = JSON.parse(temp_vendor_status)
+ // // if(temp_vendor_status && temp_vendor_status.length > 0 ) {
+ // this.vendor_status_arr = this.existCompanyList[0].vendor_form_status
+ // // }
+ // }
+ // }
+ // END OF VENDOR FORM ANSWER FETCH
+ this.waitLoading = true;
+ }
+ else {
+ this.waitLoading = false;
+ }
+ })
+ }
+
+ // direct form based questions
+ OnSelectBusinessGroupForms(details: any, company: any,id:any) {
+ console.log(details.form_id)
+ console.log(company)
+ // this.pd_all_details.company_id =company.company_order_id;
+ // this.pd_all_details.company_name =company.company_name;
+ // this.pd_all_details.business_entity_type=company.business_entity_type;
+ // this.pd_all_details.business_entity_type_other=company.business_entity_type_other;
+ // this.pd_all_details.business_years = company.business_years;
+ // this.pd_all_details.business_month = company.business_month;
+
+ let curr_vendor_ans_fetch_status = null
+ console.log(this.pd_all_details)
+ if(this.pd_all_details.pdMasterList.fk_pd_type == '2') {
+ if(company.hasOwnProperty('vendor_form_status') && company.vendor_form_status && company.vendor_form_status.length > 0) {
+ curr_vendor_ans_fetch_status =company.vendor_form_status.filter(val=>val.fk_form_id == String(details.form_id))
+ if(curr_vendor_ans_fetch_status.length > 0) {
+ curr_vendor_ans_fetch_status = curr_vendor_ans_fetch_status[0].form_status
+ }
+ else {
+ curr_vendor_ans_fetch_status = null
+ }
+ }
+ }
+ this.pd_all_details.pdMasterList.curr_vendor_ans_fetch_status = curr_vendor_ans_fetch_status
+ // this.selectedFormsCategory = details;
+
+ // let curr_vendor_ans_fetch_status = null
+ // if(this.pdMasterList.fk_pd_type == '2') {
+ // if(this.vendor_status_arr && this.vendor_status_arr.length > 0 && this.selectedFormsCategory.form_id != 13) {
+ // console.log(this.vendor_status_arr,this.selectedFormsCategory)
+ // curr_vendor_ans_fetch_status =this.vendor_status_arr.filter(val=>val.fk_form_id == String(this.selectedFormsCategory.form_id))
+ // if(curr_vendor_ans_fetch_status.length > 0) {
+ // curr_vendor_ans_fetch_status = curr_vendor_ans_fetch_status[0].form_status
+ // }
+ // else {
+ // curr_vendor_ans_fetch_status = null
+ // }
+ // }
+ // }
+ // this.pdFullDetails.pdmaster_details.curr_vendor_ans_fetch_status = curr_vendor_ans_fetch_status
+ console.log(this.pd_all_details.pdMasterList);
+
+ const dialogRef = this.dialog.open(FormComponent, {
+ data: {pd_FullDetails:this.pd_all_details.pd_FullDetails,pdMasterList:this.pd_all_details.pdMasterList,FormData:details,tmpid:id,Form_parent:this.pd_all_details.FormData},
+ position: { right: '0'},
+ maxWidth: '100vw',
+ maxHeight: '100vh',
+ height: '100%',
+ width: '100%',
+ disableClose: true,
+ closeOnNavigation:true,
+ panelClass:'no-padding'
+ });
+ dialogRef.afterClosed()
+ .subscribe(dataresult => {
+ this.getCompanyListForBusiness();
+ });
+
+
+
+
+
+
+
+}
+
+}
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms-dynamic/form/form.component.html b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms-dynamic/form/form.component.html
new file mode 100644
index 000000000..c7b9b3961
--- /dev/null
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms-dynamic/form/form.component.html
@@ -0,0 +1,61 @@
+
+
+ {{main_applicant}} {{lender_applicant_id ? '('+lender_applicant_id+')' : ''}}, {{customer_segment_abbr}} - {{subproduct_abbr}}
+ {{questions_JSON.section_name}}
+
+
+
+
+
+
+
+ No Templates Found
+ Loading...
+ 0">
+
+
+
+
+
+
+
+
+
+
+ 0" >
+
+ Remarks
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms-dynamic/form/form.component.scss b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms-dynamic/form/form.component.scss
new file mode 100644
index 000000000..feddb1578
--- /dev/null
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms-dynamic/form/form.component.scss
@@ -0,0 +1,34 @@
+.paragraph_change {
+ color: #fff !important;
+ background-color: #e00201 !important;
+ }
+ ::ng-deep { .no-padding > mat-dialog-container {
+ // background: black;
+ padding: 0;
+ // overflow-y: scroll !important;
+ }
+}
+.mat-dialog-content{
+ margin:0px !important;
+}
+ // mat-placeholder{
+ // margin-top: 20px;
+ // word-wrap: break-word;
+ // }
+// input{
+// height:40px;
+// }
+
+ .mat-form-field-label {
+ white-space: normal;
+ }
+
+ textarea.mat-input-element {
+ padding: 0px 0;
+ margin: 5px 0;
+ }
+
+ .mat-input-placeholder {
+ white-space: normal;
+ }
+
\ No newline at end of file
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms-dynamic/form/form.component.spec.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms-dynamic/form/form.component.spec.ts
new file mode 100644
index 000000000..0ace80a53
--- /dev/null
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms-dynamic/form/form.component.spec.ts
@@ -0,0 +1,25 @@
+import { async, ComponentFixture, TestBed } from '@angular/core/testing';
+
+import { FormComponent } from './form.component';
+
+describe('FormComponent', () => {
+ let component: FormComponent;
+ let fixture: ComponentFixture;
+
+ beforeEach(async(() => {
+ TestBed.configureTestingModule({
+ declarations: [ FormComponent ]
+ })
+ .compileComponents();
+ }));
+
+ beforeEach(() => {
+ fixture = TestBed.createComponent(FormComponent);
+ component = fixture.componentInstance;
+ fixture.detectChanges();
+ });
+
+ it('should create', () => {
+ expect(component).toBeTruthy();
+ });
+});
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms-dynamic/form/form.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms-dynamic/form/form.component.ts
new file mode 100644
index 000000000..72009d707
--- /dev/null
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms-dynamic/form/form.component.ts
@@ -0,0 +1,594 @@
+import { Component, Inject, OnInit, ViewChild, Input } from '@angular/core';
+import { FormBuilder, FormGroup } from '@angular/forms';
+import { MatDialogRef, MatDialog, MAT_DIALOG_DATA } from '@angular/material';
+import { ActivatedRoute, Router } from '@angular/router';
+import { NotifierService } from 'angular-notifier';
+import { AwsService } from 'app/AwsService/aws.service';
+import { PdTrigerService } from 'app/personal-discussion/pd-service/pd-triger.service';
+import { LoaderService } from 'app/shared/loaderService/loader.service';
+import { environment } from 'environments/environment';
+import { DynamicFormComponent } from '../dynamic-form/dynamic-form/dynamic-form.component';
+import { QuesFormService } from '../dynamic-form/ques-form/ques-form.service';
+
+@Component({
+ selector: 'app-form',
+ templateUrl: './form.component.html',
+ styleUrls: ['./form.component.scss'],
+})
+export class FormComponent implements OnInit {
+ anslength:any;
+ form_id: number;
+ parent_pdid: any;
+ pdid: any;
+ notifier: NotifierService;
+ main_applicant: any;
+ lender_applicant_id: any;
+ subproduct_abbr: any;
+ customer_segment_abbr: any;
+ lenderShortName: any;
+ fk_pd_type: any;
+ image_doc_params: { pdid: any; form_id: any; company_id: string; };
+ questions_JSON: any = {questions:[],section_name:''};
+ commonFormGroup:FormGroup;
+
+ @Input() json_answers:any;
+ @ViewChild(DynamicFormComponent) formComponent:DynamicFormComponent
+ is_loading: boolean = false;
+ pd_all_details: any=[];
+ pdMasterList:any=[];
+ constructor(notifier: NotifierService,
+ private fb: FormBuilder,
+ private route: ActivatedRoute,
+ private router: Router,
+ private _pd: PdTrigerService,
+ private questionService:QuesFormService,
+ private dialogRef: MatDialogRef,
+ private dialog: MatDialog, public quesService:QuesFormService,
+ @Inject(MAT_DIALOG_DATA) public pd_all_details_data: any,
+
+
+ private pdTriggerService:PdTrigerService,
+ private awsService:AwsService,private loaderService:LoaderService) {
+ console.log(this.pd_all_details_data)
+
+ this.pd_all_details = this.pd_all_details_data.pd_FullDetails
+ console.log(this.pd_all_details_data)
+ console.log(this.pd_all_details_data.pd_FullDetails)
+ // debugger;
+ this.form_id = 24;
+ this.pdMasterList= this.pd_all_details_data.pdMasterList
+ this.parent_pdid = this.pdMasterList.parent_pd_id;
+ this.pdid = this.pdMasterList.pd_id;
+ this.notifier = notifier;
+ // this.quesService.formanswers=null;
+ console.log(this.quesService.formanswers)
+ this.main_applicant = this.pdMasterList.main_applicant;
+ this.lender_applicant_id = this.pdMasterList.lender_applicant_id;
+ this.subproduct_abbr = this.pdMasterList.subproduct_abbr;
+ this.customer_segment_abbr = this.pdMasterList.customer_segment_abbr;
+ this.lenderShortName = this.pdMasterList.lender_short_name;
+ this.fk_pd_type = this.pdMasterList.fk_pd_type;
+ this.image_doc_params={pdid:this.pdid,form_id:this.form_id,company_id:''}
+ console.log(this.pd_all_details)
+ //console.log( this.quesService.pd_all_details)
+ this.quesService.pd_all_details = this.pd_all_details
+ console.log('image_doc_params',this.image_doc_params)
+
+ }
+
+ ngOnInit() {
+ this.getSectionData()
+
+ if(this.pd_all_details.form_id=='5' && this.pdMasterList.product_abbr=='LFMP')
+ {
+
+
+
+ let params = {"fk_pd_id":this.pdMasterList.pd_id,"fk_form_id":this.pd_all_details.form_id}
+
+ this.pdTriggerService.getPDSectionData(params,params,params).subscribe(result=>{
+
+ if(result['dataStatus']) {
+
+
+ let records = result['records']
+ let formValues:any ={};
+
+ if(records && records.hasOwnProperty('json') && records.json) {
+ formValues = JSON.parse(records.json)
+ if(formValues.key_stakeholders[0].stakeholder_length=='2')
+ {
+ let controlcount='2';
+ this.quesService.ques_length(controlcount)
+ this.loadTemplate()
+ }
+ else
+ {
+ let controlcount1='3';
+ this.quesService.ques_length(controlcount1)
+ this.loadTemplate()
+ }
+ // if(formValues.key_stakeholders[0].stakeholder_length=="undefined")
+ // {
+
+ // }
+ }
+ }
+ else
+ {
+
+ let params = {"pd_id":this.pdMasterList.pd_id,"random_string":this.pdMasterList.random_string,"form_id":this.pd_all_details.form_id}
+ this.pdTriggerService.loadDataFromExcel(params).subscribe(result=>{
+ if(result['dataStatus']) {
+ let records = result['records']
+ let formValues1:any ={};
+ if(records ) {
+ formValues1 = records
+ if(formValues1.key_stakeholders[0].stakeholder_length=='2')
+ {
+ let controlcount='2';
+ this.quesService.ques_length(controlcount)
+ this.loadTemplate()
+ }
+ else
+ {
+ let controlcount1='3';
+ this.quesService.ques_length(controlcount1)
+ this.loadTemplate()
+ }
+ }
+ }
+ })
+ }
+ })
+
+ if(this.pd_all_details.is_answered == '1') {
+ this.getSectionData()
+ }
+ else{
+ this.getExcelData();
+ }
+
+
+}
+else
+{
+
+ this.loadTemplate()
+ if(this.pd_all_details.is_answered == '1') {
+ this.getSectionData()
+ }
+ else{
+ this.getExcelData();
+ }
+}
+ }
+ loadTemplate() {
+
+ this.is_loading = true
+ // let localId = this.getLocalFormId()
+ // console.log("d",this.pd_all_details.form_id,Number(this.pd_all_details.form_id))
+ // this.pdTriggerService.loadTemplate(Number(this.pd_all_details.form_id)).subscribe(result=>{
+ let params = this.pd_all_details_data.FormData.mapid;
+ console.log(params)
+ let map_id = this.pd_all_details_data.FormData.map_id
+ let form_id = this.pd_all_details_data.FormData.form_id
+ this.pd_all_details_data.Formname
+ // let params = {"fk_entity_id":this.pdMasterList.fk_lender_id,"fk_product_id":this.pdMasterList.fk_product_id,"pd_form_id":this.pd_all_details.form_id,"fk_pd_id":this.pdMasterList.pd_id}
+ this.pdTriggerService.loadCreditPDTemplate2(form_id,map_id, this.pd_all_details_data.Formname).subscribe(result=>{
+
+
+ console.log(result)
+ if(!environment.production){
+ result.dataStatus = true
+ }
+
+ console.log()
+ if(result.dataStatus) {
+ let question_template: any = result.records
+
+
+ if (question_template && question_template != null && question_template != undefined
+ ) {
+
+ // question_template = JSON.parse(question_template)
+ if (question_template.hasOwnProperty('template') && question_template.template) {
+ question_template =JSON.parse(question_template.template);
+ this.commonFormGroup = new FormGroup({})
+ console.log(question_template.json)
+ this.questions_JSON = JSON.parse(question_template.json);
+ //this.questions_JSON = question_template;
+ console.log( this.questions_JSON)
+ this.getSectionData()
+ this.questionService.notify(this.questions_JSON)
+ // setTimeout(() => {
+ // this.covidAnswers = null
+ // console.log("cleared")
+ // }, 2000)
+ }
+ }
+ }
+ // FOR LOCAL TEMPLATES ENV PURPOSE
+ else if(!environment.production){
+ console.log( this.pdMasterList.product_abbr)
+ let map_id = this.pd_all_details_data.FormData.map_id
+ let form_id = this.pd_all_details_data.FormData.form_id
+ this.pd_all_details_data.Formname
+ console.log( this.pd_all_details_data.Formname)
+ //let param = this.pdMasterList.product_abbr+'/'+Number(this.pd_all_details.form_id)
+ console.log(map_id)
+ this.pdTriggerService.loadTemplate(form_id,map_id, this.pd_all_details_data.Formname).subscribe(result=>{
+ console.log(result)
+ this.questionService.notify(result)
+ if(result.dataStatus) {
+ let question_template: any = result.records
+ if (question_template && question_template != null && question_template != undefined
+ ) {
+ // question_template = JSON.parse(question_template)
+ if (question_template.hasOwnProperty('template') && question_template.template) {
+ question_template =JSON.parse(question_template.template);
+ this.commonFormGroup = new FormGroup({})
+ // this.questions_JSON = question_template;
+ this.questions_JSON = JSON.parse(question_template.json);
+ console.log(this.questions_JSON);
+ // this.getSectionData()
+ this.questionService.notify(this.questions_JSON)
+ setTimeout(() => {
+
+ // this.covidAnswers = null
+ console.log("cleared")
+ }, 3)
+ }
+ }
+ }
+ })
+ }
+ this.is_loading = false
+ },err => {
+ this.is_loading = false
+ })
+ }
+ getSectionData() {
+ // let params = {"fk_pd_id":this.pdMasterList.pd_id,"fk_form_id":this.pd_all_details.form_id}
+ // let params = { "pd_id":this.pdMasterList.pd_id,"pd_form_id":this.pd_all_details_data.FormData.form_id}
+
+ // console.log(params)
+ console.log(this.pd_all_details_data)
+ let form_group = this.pd_all_details_data.FormData.is_group_form
+ //let params :any = {"pdid":this.pdMasterList.pd_id,"parent_pdid":this.pdMasterList.pd_id,formid:this.pd_all_details_data.FormData.form_id,"json":this.commonFormGroup.getRawValue(),fk_createdby:''}
+ this.pdTriggerService.getPDSectionData(this.pdMasterList.pd_id,this.pd_all_details_data.FormData.form_id,form_group).subscribe(result=>{
+ console.log(result)
+ if(result['dataStatus']) {
+ let records = result['records']
+ let formValues:any ={};
+ if(records && records.hasOwnProperty('json') && records.json) {
+
+ //formValues = JSON.parse(records.json)
+ formValues = records.json
+
+ this.quesService.formanswers= formValues
+ this.loaderService.showMatSpinnerDialog("")
+ // setTimeout(()=>{
+ // this.quesService.formanswers = null
+ // },2000)
+ // this.commonFormGroup.patchValue(formValues)
+ }
+ }
+ if(this.pdMasterList.re_uploaded == '1' && this.pd_all_details.is_reupload_data_fetched != '1') {
+ // console.log("Reuploaded excel")
+ // let data = {"permanant_employees_person_met":"1","temporary_employees_person_met":"2","permanant_employees_cm":"3","temporary_employees_cm":"45","permanant_employees_salary":"55","temporary_employees_salary":"55","common_remarks":"dummy datas"}
+ // setTimeout(()=>{
+ // this.commonFormGroup.patchValue(data)
+ // },1000)
+ this.getExcelData(1)
+ }
+ })
+ }
+ getExcelData(re_uploaded?) {
+ let params = {"pd_id":this.pdMasterList.pd_id,"random_string":this.pdMasterList.random_string,"form_id":this.pd_all_details.form_id}
+ this.pdTriggerService.loadDataFromExcel(params).subscribe(result=>{
+ if(result['dataStatus']) {
+ let records = result['records']
+ let formValues:any ={};
+ if(records ) {
+ formValues = records
+
+
+ // records.forEach(val=>{
+ // if(val) {
+ // formValues[val.key_name] = val.value
+ // }
+ // })
+ // console.log(formValues)
+ // debugger;
+ if(re_uploaded && re_uploaded == '1') {
+ this.commonFormGroup.patchValue(formValues)
+ }
+ else {
+ this.loaderService.showMatSpinnerDialog("")
+ this.quesService.formanswers= formValues
+ // setTimeout(()=>{
+ // this.quesService.formanswers = null
+ // },2500)
+ }
+ // this.commonFormGroup.patchValue(formValues)
+ }
+ }
+ })
+ }
+ getLocalFormId() {
+ // console.log(this.pd_all_details)
+ switch(this.pd_all_details.form_id) {
+ case '5':
+ return 2
+ break
+ case '18':
+ return 1
+ break;
+ case '10':
+ return 3
+ break;
+ }
+
+ }
+ private markFormGroupTouched(formGroup: FormGroup) {
+ (Object).values(formGroup.controls).forEach(control => {
+ control.markAsTouched();
+
+ if (control.controls) {
+ this.markFormGroupTouched(control);
+ }
+ });
+ }
+ public findInvalidControls() {
+ const invalid = [];
+ let msg=''
+ // let formArray:any = this.commonFormGroup ;
+ // console.log(formArray);
+ // for( const group in (this.commonFormGroup.controls)) {
+ // if(group.invalid) {
+ // console.log(group,group.value.form_name,this.commonFormGroup.controls);
+ // debugger;
+ // msg= group.value.form_name+" are not complete"
+ // let index = this.stepperInfo.findIndex(vv=>vv.form_id == group.value.form_id);
+ // console.log("Index",index);
+ // if(index != -1) {
+ // msg = this.stepperInfo[index].form_name+" are not complete"
+ // this.myStepper.selectedIndex = this.stepperInfo[index].stepper_index
+ // }
+ for (const name in (this.commonFormGroup.controls)) {
+ // console.log(this.commonFormGroup.controls[name],name)
+ if (this.commonFormGroup.controls[name].invalid) {
+ invalid.push(name);
+ let invalidFields = [].slice.call(document.getElementsByClassName('ng-invalid'));
+ let firstInvalidField;
+ for(let val in invalidFields){
+ if( invalidFields[val].nodeName == 'MAT-FORM-FIELD' || invalidFields[val].nodeName == 'MAT-SELECT' || invalidFields[val].nodeName == 'TEXTAREA' || invalidFields[val].nodeName == 'MAT-RADIO-GROUP' ){ //INPUT FOR INPUT FIELD
+ firstInvalidField=invalidFields[val]
+
+ break;
+ }
+ }
+
+ if(firstInvalidField != undefined){
+ // firstInvalidField.scrollIntoView({behavior: "smooth", block: "end", inline: "nearest"})
+ this.formComponent.openMatExpansionPanel()
+
+ setTimeout(()=>{
+ firstInvalidField.scrollIntoView({block: "start", inline: "nearest"})
+ setTimeout(()=>{
+ firstInvalidField.focus()
+ },0)
+ // firstInvalidField.style.background = 'red'
+ firstInvalidField.classList.remove('field_highlight')
+ setTimeout(()=>{
+ firstInvalidField.classList.add('field_highlight')
+ },300)
+ },300)
+ // this.myStepper.selectedIndex = 0;
+
+ }
+ else {
+ // msg = this.stepperInfo[index].form_name+" images are not taken"
+ }
+
+ // console.log("kkdd",group['controls'][name],firstInvalidField)
+
+ // if(typeof(group['controls'][name].value) == 'string') {
+ // return name+' field is not '
+ // }
+ break
+ }
+ }
+
+ // }
+ // }
+ // let business_group_ctrl = formArray.at(2).get('business_group') as FormArray
+ // const controls = this.getQuestionControl().at(1)['controls']
+ // for (const name in controls) {
+ // if (controls[name].invalid) {
+ // invalid.push(name);
+ // }
+ // }
+ return invalid;
+ }
+ saveForm() {
+
+ console.log(this.pd_all_details_data)
+ //console.log("values",this.commonFormGroup.getRawValue(),this.questions_JSON)
+ if(this.commonFormGroup.invalid) {
+ this.commonFormGroup.markAsDirty();
+ this.commonFormGroup.markAsTouched()
+ this.markFormGroupTouched(this.commonFormGroup)
+ let invalidfield = this.findInvalidControls()
+ console.log("Invalid field",invalidfield)
+ this.notifier.notify("info","Please fill all the required fields");
+ this.formComponent.openAllPanels()
+ return
+ }
+ let checkProperty=this.onSubmitProperty()
+ console.log("check rp",checkProperty)
+ if(checkProperty == false){
+ return;
+ }
+ this.loaderService.showMatSpinnerDialog('')
+ // "pdid":"2888","parent_pdid":"2888","formid":"5","fk_createdby":"165"
+ let params:any ;
+ console.log(this.pd_all_details_data)
+
+
+ if(this.pd_all_details_data.hasOwnProperty("Form_parent")){
+ let form_group = this.pd_all_details_data.Form_parent.is_group_form
+ let company_id = this.pd_all_details_data.Form_parent.is_business_form
+ if(form_group == 1){
+ params = {"pdid":this.pdMasterList.pd_id,"parent_pdid":this.pdMasterList.pd_id,formid:this.pd_all_details_data.FormData.form_id,"json":this.commonFormGroup.getRawValue(),fk_createdby:'',"company_id":company_id}
+ }
+
+ }else{
+ params = {"pdid":this.pdMasterList.pd_id,"parent_pdid":this.pdMasterList.pd_id,formid:this.pd_all_details_data.FormData.form_id,"json":this.commonFormGroup.getRawValue(),fk_createdby:''}
+
+ }
+
+ if(this.pdMasterList.re_uploaded == '1') {
+ params.is_reupload_data_fetched = '1'
+ }
+ console.log(params)
+ this.pdTriggerService.saveForm(params).subscribe(result=>{
+ if(result['dataStatus']) {
+ this.notifier.notify("success","Saved successfully..")
+ setTimeout(()=>{
+ this.dialogRef.close('refresh')
+ },1500)
+ }
+ else {
+ this.notifier.notify("warning","Something went wrong");
+ }
+ this.loaderService.closeMatSpinnerDialog()
+ },err=>{
+ this.loaderService.closeMatSpinnerDialog()
+ this.notifier.notify("warning","Network Error");
+ })
+ }
+ onSubmitProperty(){
+ let return_val=[]
+ let send_val:boolean=true
+ // this.local_ques_JSON.onsubmit=[
+ // {
+ // "expression": "(function () {let sum_val=null;let ques_key=[];control.questions_group.forEach(ques_obj=>{ques_obj.questions.map(ques=>{if(ques.question_key == submitProperty.key_name){ques_key.push(ques)}})});if(ques_key.length >=3){return true}else{return false}return sum_val}())",
+ // "key_name": "approach_to_pd_location",
+ // "msg": "Minimum 3 image required in approach"
+ // },
+ // {
+ // "expression": "(function () {let sum_val=null;let ques_key=[];if(control.question_key == submitProperty.key_name && control.answer_value == ''){return false}else{return true}return sum_val}())",
+ // "key_name": "selfie_with_person_met",
+ // "msg": "Selfie Person met pic is required"
+ // }
+ // {
+ // "expression": "(function () {let sum_val=null;let ques_key=[];if(control.question_key == submitProperty.key_name){return control.answer_value.length >= 100}}())",
+ // "key_name": "brief_business_service",
+ // "msg": "Please enter more details"
+ // }
+ // ]
+ // console.log(this.local_ques_JSON);
+ if(this.questions_JSON.hasOwnProperty('onsubmit') && this.questions_JSON.onsubmit != null){
+ for(let i=0; i{
+ // let parent_ques
+ // for( parent_ques of this.commonFormGroup.getRawValue()){
+ // this.local_ques_JSON.onsubmit.forEach(submitProperty=>{
+
+ let submitProperty=this.questions_JSON.onsubmit[i]
+
+
+ if((submitProperty.hasOwnProperty('group_key') && submitProperty.group_key)){
+
+
+ return_val.length = 0
+ let val=this.calculation(this.commonFormGroup.getRawValue()[submitProperty.group_key],submitProperty)
+
+ if(val != true && val != 100){
+ this.notifier.notify("info",submitProperty.msg)
+ return_val.push(false) ;
+ break;
+ }
+ else {
+ return_val.push(true) ;
+ }
+ }
+ else{
+ send_val =true
+ }
+ // })
+ // })
+ // }
+ // console.log(return_val.filter(val=>val == false).length > 0)
+ if(return_val.filter(val=>val == false).length > 0){
+ break;
+ }
+ }
+ console.log(return_val)
+ if(return_val.length > 0){
+ if(return_val.filter(res=>res == false).length > 0){
+ send_val = false
+ }
+ else{
+ send_val =true
+ }
+ }
+ }
+ return send_val
+ }
+ calculation(control,submitProperty){
+ console.log("control",control)
+ let exp=`
+ (function () {let sum_val=null
+ let ques_key=[]
+ control.questions_group.forEach(ques_obj=>{
+ ques_obj.questions.map(ques=>{
+ // console.log(ques)
+ if(ques.question_key == 'share_holding'){
+ ques_key.push(ques)
+ }
+ })
+ })
+ if(ques_key.length > 0){
+ console.log(ques_key)
+ sum_val= ques_key.map(val=>val.answer_value).reduce((tot,val)=>{
+ console.log(">>>>",tot,val)
+ return parseInt(tot)+parseInt(val)
+ })
+ }
+ return sum_val == 100}());`
+ let exp1 = `(function (){let sum_val=null;let ques_key=[];
+ control.forEach(ques_obj=>{ques_key.push(ques_obj[submitProperty.key_name])});console.log('none',ques_key);return new Set(ques_key).size === ques_key.length}())`
+ let exp2 = `(function (){let sum_val=null;let ques_key=[];
+ control.forEach(ques_obj=>{ques_key.push(ques_obj[submitProperty.key_name])});console.log('none',ques_key);return new Set(ques_key).size === ques_key.length}())`
+
+ //for image total check
+ // let exp=`
+ // (function () {let sum_val=null
+ // let ques_key=[]
+ // control.questions_group.forEach(ques_obj=>{
+ // ques_obj.questions.map(ques=>{
+ // // console.log(ques)
+ // if(ques.question_key == 'name_board_seen'){
+ // ques_key.push(ques)
+ // }
+ // })
+ // })
+ // if(ques_key.length >= 3){
+ // sum_val=true
+ // }
+ // else{
+ // sum_val=false
+ // }
+ // return sum_val }());`
+
+
+ let val= eval(submitProperty.expression);
+ // let val= eval(exp1);
+ console.log(val)
+ return val
+ }
+
+}
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/general-info/general-info.component.scss b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/general-info/general-info.component.scss
index 4d5f3892e..babdf4ec1 100755
--- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/general-info/general-info.component.scss
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/general-info/general-info.component.scss
@@ -5,6 +5,9 @@
.example-section {
height: 120px;
}
+ form{
+ display: inline-table !important
+ }
.example-margin {
margin: 0 10px;
@@ -41,7 +44,7 @@
}
mat-header-cell mat-cell {
- display:flex;
+ // display:flex;
justify-content:flex-end;
}
mat-cell:nth-child(1),
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/images-all/images-all.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/images-all/images-all.component.ts
index 686de7e2b..7556eec4b 100644
--- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/images-all/images-all.component.ts
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/images-all/images-all.component.ts
@@ -27,7 +27,7 @@ export class ImagesAllComponent implements OnInit { imageData: any;
ngOnInit() {
- console.log('abi');
+
console.log(this.data);
this.getPDImageDetails();
}
@@ -42,6 +42,9 @@ export class ImagesAllComponent implements OnInit { imageData: any;
this.params = {"pd_id":"","random_string":this.pd_all_details.pdmaster_details.random_string}
}
+ console.log(this.pd_all_details)
+
+ let params = {"pd_id":"","random_string":this.pd_all_details.pdMasterList.random_string}
//let params = {"pd_id":"","random_string":'i2PnHMA7cdGx8zkz'}
// console.log(params);
this._pd.getPDImgDetails(this.params).subscribe(result=>{
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/start-pd-routing.module.module.spec.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/start-pd-routing.module.module.spec.ts
new file mode 100644
index 000000000..2a48b8fa5
--- /dev/null
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/start-pd-routing.module.module.spec.ts
@@ -0,0 +1,13 @@
+import { StartPdRouting.ModuleModule } from './start-pd-routing.module.module';
+
+describe('StartPdRouting.ModuleModule', () => {
+ let startPdRoutingModuleModule: StartPdRouting.ModuleModule;
+
+ beforeEach(() => {
+ startPdRoutingModuleModule = new StartPdRouting.ModuleModule();
+ });
+
+ it('should create an instance', () => {
+ expect(startPdRoutingModuleModule).toBeTruthy();
+ });
+});
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/start-pd-routing.module.module.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/start-pd-routing.module.module.ts
new file mode 100644
index 000000000..4517bc762
--- /dev/null
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/start-pd-routing.module.module.ts
@@ -0,0 +1,18 @@
+import { NgModule } from '@angular/core';
+import { Routes, RouterModule } from '@angular/router';
+import { StartPdComponent } from './start-pd.component';
+
+const routes: Routes = [
+ {
+ path:'',
+ component:StartPdComponent
+ }
+];
+
+@NgModule({
+ imports: [RouterModule.forChild(routes)],
+ exports: [RouterModule]
+})
+export class StartPdRoutingModule { }
+
+
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/start-pd.component.html b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/start-pd.component.html
index d4516e49f..d74caa7dd 100755
--- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/start-pd.component.html
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/start-pd.component.html
@@ -16,7 +16,7 @@
-
+
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/start-pd.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/start-pd.component.ts
index 4219f6edc..96d635bbc 100755
--- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/start-pd.component.ts
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/start-pd.component.ts
@@ -99,7 +99,9 @@ export class StartPdComponent implements OnInit, OnDestroy {
getCreditPDTemplate() {
// let params = { "fk_entity_id":this.pddetails.fk_lender_id,"fk_product_id":this.pddetails.fk_product_id,"pd_form_id":this.pddetails.pd_id }
let params = { "fk_entity_id":"","fk_product_id":"","pd_form_id":"24","fk_pd_id": this.startPD }
+ let tmp;
this._pd.loadCreditPDTemplate(params).subscribe(result=> {
+ //this._pd.loadCreditPDTemplate(params).subscribe(result=> {
let creditTemplate:any = null;
if(result['dataStatus']) {
if(result.hasOwnProperty('records') && result['records']) {
@@ -608,3 +610,4 @@ export class StartPdComponent implements OnInit, OnDestroy {
}
}
+
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/start-pd.module.module.spec.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/start-pd.module.module.spec.ts
new file mode 100644
index 000000000..aa9337623
--- /dev/null
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/start-pd.module.module.spec.ts
@@ -0,0 +1,13 @@
+import { StartPd.ModuleModule } from './start-pd.module.module';
+
+describe('StartPd.ModuleModule', () => {
+ let startPdModuleModule: StartPd.ModuleModule;
+
+ beforeEach(() => {
+ startPdModuleModule = new StartPd.ModuleModule();
+ });
+
+ it('should create an instance', () => {
+ expect(startPdModuleModule).toBeTruthy();
+ });
+});
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/start-pd.module.module.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/start-pd.module.module.ts
new file mode 100644
index 000000000..704637065
--- /dev/null
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/start-pd.module.module.ts
@@ -0,0 +1,85 @@
+import { NgModule } from '@angular/core';
+import { CommonModule } from '@angular/common';
+
+import { StartPdRoutingModule } from './start-pd-routing.module.module';
+import { StartPdComponent } from './start-pd.component';
+import { SharedModule } from 'app/shared/shared.module';
+import { DemoMaterialModule } from 'app/shared/demo.module';
+import { NotifierModule, NotifierOptions } from 'angular-notifier';
+import { FormComponent } from './forms-dynamic/form/form.component';
+import { FormGroupComponent } from './forms-dynamic/form-group/form-group.component';
+import { StartPd2Component } from './start-pd2/start-pd2.component';
+
+import { DynamicFormComponent } from './forms/dynamic-form/dynamic-form/dynamic-form.component';
+import { FormsModule, ReactiveFormsModule } from '@angular/forms';
+import { FlexLayoutModule } from '@angular/flex-layout';
+import { DynamicQuestionTemplateComponent } from './forms/dynamic-form/dynamic-question-template/dynamic-question-template.component';
+import { NgxMatSelectSearchModule } from 'ngx-mat-select-search';
+import { MatIconModule } from '@angular/material';
+// import { ImageCaptureComponent } from './forms/image-capture/image-capture.component';
+// import { CaptureBtnComponent } from './forms/image-capture/capture-btn/capture-btn.component';
+// import { Ng2ImgMaxModule } from 'ng2-img-max';
+import { NgxViewerModule } from 'ngx-viewer';
+import { AnswerOptionCreateDialogComponent } from './forms-dynamic/answer-option-create-dialog/answer-option-create-dialog.component';
+import {MatTreeModule} from '@angular/material/tree';
+// import { QuestionControlComponent } from './forms-dynamic/question-control/question-control.component';
+const pdCustomNotifierOptions: NotifierOptions = {
+ position: {
+ horizontal: {
+ position: 'right',
+ distance: 12
+ },
+ vertical: {
+ position: 'top',
+ distance: 32,
+ gap: 10
+ }
+ },
+ theme: 'material',
+ behaviour: {
+ autoHide: 2000,
+ onClick: 'hide',
+ onMouseover: 'pauseAutoHide',
+ showDismissButton: true,
+ stacking: 4
+ },
+ animations: {
+ enabled: true,
+ show: {
+ preset: 'slide',
+ speed: 300,
+ easing: 'ease'
+ },
+ hide: {
+ preset: 'fade',
+ speed: 300,
+ easing: 'ease',
+ offset: 50
+ },
+ shift: {
+ speed: 300,
+ easing: 'ease'
+ },
+ overlap: 150
+ }
+};
+
+@NgModule({
+ imports: [
+ CommonModule,
+ StartPdRoutingModule,
+ SharedModule,
+ DemoMaterialModule,
+ ReactiveFormsModule,
+ FormsModule,
+ FlexLayoutModule,
+ NotifierModule.withConfig(pdCustomNotifierOptions),
+ NgxMatSelectSearchModule,
+ MatIconModule,
+ MatTreeModule,
+ NgxViewerModule
+ ],
+ declarations: [StartPdComponent, StartPd2Component,FormComponent,DynamicFormComponent,DynamicQuestionTemplateComponent, AnswerOptionCreateDialogComponent,FormGroupComponent],
+ entryComponents:[FormComponent,FormGroupComponent,AnswerOptionCreateDialogComponent]
+})
+export class StartPdModule { }
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/start-pd2/start-pd2.component.html b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/start-pd2/start-pd2.component.html
new file mode 100644
index 000000000..54624b548
--- /dev/null
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/start-pd2/start-pd2.component.html
@@ -0,0 +1,50 @@
+
+
+
+
+
{{mainApplicantName}}
+ {{pdMasterList.customer_segment_name}}
+
+
+
{{pdMasterList.product_name}}/{{pdMasterList.subproduct_name}}
+
+
+ {{pdMasterList.lender_full_name}}/{{pdMasterList.lender_applicant_id}}
+
+
+
+
+
+
+
+
+
+ {{ formButton.form_name }}
+
+
+
+
+
+
+
+
+
+ {{ photoButton.form_name }}
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/start-pd2/start-pd2.component.scss b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/start-pd2/start-pd2.component.scss
new file mode 100644
index 000000000..ac597212f
--- /dev/null
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/start-pd2/start-pd2.component.scss
@@ -0,0 +1,84 @@
+// .child_mat_card mat-card {
+// margin: 2 0%;
+// }
+::ng-deep .mat-dialog-container{
+ overflow: hidden !important;
+}
+ ::ng-deep .mat-card-header-text{
+ margin:0px !important;
+ }
+ .mat-purple{
+ background-color: gray !important;
+ }
+ .cdk-global-overlay-wrapper{
+ justify-content: center !important;
+}
+mat-card.parent_mat_card > {
+ mat-card-header {
+ display: flex;
+ flex-direction: column;
+ }
+ mat-card-content {
+ min-height:auto;
+ max-height:52vh;
+ overflow:auto;
+ }
+
+
+ .user-thumb {
+ position: absolute;
+ bottom: -35%;
+ // img {
+ // border: 5px solid $white;
+ // border-radius: 100%;
+ // height: 75px;
+ // width: 75px;
+ // }
+}
+ // @media only screen and (max-width:319px) {
+ // mat-card-content {
+ // max-height: 350px;
+ // overflow: auto;
+ // }
+ // }
+ // @media only screen and (min-width:320px) and (max-width:767px) {
+ // mat-card-content {
+ // max-height: 350px;
+ // overflow: auto;
+ // }
+ // }
+ // @media only screen and (min-width:768px) and (max-width:1023px) {
+ // mat-card-content {
+ // max-height: 350px;
+ // overflow: auto;
+ // }
+ // }
+ // @media only screen and (min-width:1024px) and (max-width:1899px) {
+ // mat-card-content {
+ // max-height: 400px;
+ // overflow: auto;
+ // }
+ // }
+ // @media only screen and (min-width:1900px) {
+ // mat-card-content {
+ // max-height: 500px;
+ // overflow: auto;
+ // }
+ // }
+}
+$base-card-box-shadow:1.5px 2.6px 24px 0 rgba(0, 35, 136, 0.08) !important;
+mat-card .child_mat_card > mat-card {
+ border-radius: 0px 0px 0px 15px;
+ box-shadow: $base-card-box-shadow;
+ transform: scale(0.95);
+ transition: box-shadow 0.5s, transform 0.5s;
+ border: 1px solid lavender;
+ &:hover {
+ cursor: pointer;
+ // background-color: #e00201 !important;
+ transform: scale(1);
+ box-shadow: 5px 20px 30px rgba(0, 0, 0, 0.2);
+ }
+
+ }
+
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/start-pd2/start-pd2.component.spec.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/start-pd2/start-pd2.component.spec.ts
new file mode 100644
index 000000000..682ff86d8
--- /dev/null
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/start-pd2/start-pd2.component.spec.ts
@@ -0,0 +1,25 @@
+import { async, ComponentFixture, TestBed } from '@angular/core/testing';
+
+import { StartPd2Component } from './start-pd2.component';
+
+describe('StartPd2Component', () => {
+ let component: StartPd2Component;
+ let fixture: ComponentFixture
;
+
+ beforeEach(async(() => {
+ TestBed.configureTestingModule({
+ declarations: [ StartPd2Component ]
+ })
+ .compileComponents();
+ }));
+
+ beforeEach(() => {
+ fixture = TestBed.createComponent(StartPd2Component);
+ component = fixture.componentInstance;
+ fixture.detectChanges();
+ });
+
+ it('should create', () => {
+ expect(component).toBeTruthy();
+ });
+});
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/start-pd2/start-pd2.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/start-pd2/start-pd2.component.ts
new file mode 100644
index 000000000..18f9835ff
--- /dev/null
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/start-pd2/start-pd2.component.ts
@@ -0,0 +1,290 @@
+import {Component, ViewChild, OnInit, ViewEncapsulation, OnDestroy} from '@angular/core';
+import {FormBuilder, FormGroup, Validators, FormControl, FormArray, AbstractControl} from '@angular/forms';
+import {ActivatedRoute, Router} from '@angular/router';
+import {MatDialog } from '@angular/material';
+import {NotifierService} from 'angular-notifier';
+import {ListPdComponent} from './../../list-pd.component';
+
+import {PdTrigerService} from '../../../../pd-service/pd-triger.service';
+
+import {GeneralInfoComponent} from './../forms/general-info/general-info.component';
+
+import {PdStatusChangeDialogueComponent } from './../../pd-status-change-dialogue/pd-status-change-dialogue.component';
+
+import { ImagesAllComponent } from './../forms/images-all/images-all.component';
+
+import { FormComponent } from './../forms-dynamic/form/form.component';
+import { FormGroupComponent } from './../forms-dynamic/form-group/form-group.component';
+
+// import { ImageCaptureComponent } from './Form-Dynamic/image-capture/image-capture.component';
+import { LoaderService } from 'app/shared/loaderService/loader.service';
+
+
+
+@Component({
+ selector: 'app-start-pd2',
+ templateUrl: './start-pd2.component.html',
+ styleUrls: ['./start-pd2.component.scss']
+})
+export class StartPd2Component implements OnInit, OnDestroy {
+ public startPD: string;
+ public mainApplicantName: string;
+ public randomString: string;
+//public remarks: string;
+ errorMessage: any;
+ selectedCategory: any = [];
+ categoryList: any = [];
+ pdMasterList: any = [];
+ pdFullDetails:any=[];
+
+// category static form buttons
+ categoryFormButtons: any;
+ formsCategoryEnable: boolean = false;
+ selectedFormsCategory: any;
+// create values for status check
+ pdStatusCheck: any = {
+ "DRAFT": 'DRAFT',
+ "TRIGGERED": 'TRIGGERED',
+ "ALLOCATED": 'ALLOCATED',
+ "SCHEDULED": 'SCHEDULED',
+ "INPROGRESS": 'INPROGRESS',
+ "COMPLETED": 'COMPLETED',
+ "QC_COMPLETED": 'QC_COMPLETED',
+ };
+ currentPDStatus: boolean;
+ actualQuestions: number;
+ answeredQuestions: number;
+ private notifier: NotifierService;
+ vendor_status_arr: any = [];
+ photographButtons: any[];
+
+ constructor(notifier: NotifierService, private dialog: MatDialog, private fb: FormBuilder, private route: ActivatedRoute,
+ private router: Router,
+ private listPDComponent: ListPdComponent, private _pd: PdTrigerService,private loaderService:LoaderService) {
+ this.startPD = this.route.snapshot.params['pdid'];
+ this.randomString = this.route.snapshot.params['rdmstr'];
+ // console.log(this.route.snapshot.params['pdid'],this.route.snapshot.params['rdmstr']);
+ this.notifier = notifier;
+ this.currentPDStatus = false;
+ }
+
+ ngOnInit() {
+
+ this.listPDComponent.showListView(false);
+ const elemSidebar = document.querySelector('.app-inner .mail-sidebar');
+ const elemContent = document.querySelector('.app-inner .main-content');
+
+ if (window.matchMedia(`(min-width: 960px)`).matches && !this.isMac()) {
+ // Ps.initialize(elemSidebar, { wheelSpeed: 2, suppressScrollX: true });
+ // Ps.initialize(elemContent, { wheelSpeed: 2, suppressScrollX: true });
+ }
+ this.loadTemplates(this.startPD,1,this.randomString);
+
+ // this.getCreditPDTemplate();
+
+
+ }
+ // getCreditPDTemplate() {
+ // // let params = { "fk_entity_id":this.pddetails.fk_lender_id,"fk_product_id":this.pddetails.fk_product_id,"pd_form_id":this.pddetails.pd_id }
+ // let params = { "fk_entity_id":"","fk_product_id":"","pd_form_id":"24","fk_pd_id": this.startPD }
+ // this._pd.loadCreditPDTemplate(params).subscribe(result=> {
+ // let creditTemplate:any = null;
+ // if(result['dataStatus']) {
+ // if(result.hasOwnProperty('records') && result['records']) {
+ // creditTemplate = result['records'];
+ // }
+ // }
+ // localStorage.setItem("dynamicQuesTemplate",JSON.stringify(creditTemplate));
+ // })
+ // }
+
+ isMac(): boolean {
+ let bool = false;
+ if (navigator.platform.toUpperCase().indexOf('MAC') >= 0 || navigator.platform.toUpperCase().indexOf('IPAD') >= 0) {
+ bool = true;
+ }
+ return bool;
+ }
+
+ isOver(): boolean {
+ return window.matchMedia(`(max-width: 960px)`).matches;
+ }
+
+
+ // load templates details
+ loadTemplates(startID:string,type:number,randomString:string){
+ // console.log('start pd component inside - loadTemplates params are,',startID,type,randomString);
+ this._pd.loadPDTemplates(startID,randomString).subscribe(
+ data => {
+ console.log("after reponse = ", data);
+ console.log("after reponse = ", data.records.pdmaster_details);
+
+
+ if (data.status == 200) {
+ this.pdMasterList=data.records.pdmaster_details;
+ // this.categoryList=data.records.question_answers;
+ let filterApplicantName= data.records.pdapplicants_detials.filter(item => item.applicant_type == 1);
+ this.mainApplicantName = filterApplicantName.length > 0 ? filterApplicantName[0].applicant_name : '';
+ this.currentPDStatus = data.records.pdmaster_details.pd_status=='INPROGRESS' ? true : data.records.pdmaster_details.pd_status=='SCHEDULED' ? true :data.records.pdmaster_details.pd_status=='ALLOCATED' ? true : false;
+ //let categoryFormButtons1 = Object.keys(data.records.template_forms).map((item)=>data.records.template_forms[item]).filter(item=>item.isAnswerable===true);
+ //this.categoryFormButtons =categoryFormButtons1.filter(item=>item.form_id!=26);
+ this.categoryFormButtons = data.records.template_forms
+
+ // this.photographButtons=categoryFormButtons1.filter(item=>item.form_id==26);
+ // console.log(this.photographButtons);
+ // this.categoryFormButtons = this.categoryFormButtons.filter(item=>item.isAnswerable===true);
+ this.actualQuestions = this.categoryFormButtons.length;
+ let getAnsweredFormsCount = this.categoryFormButtons.filter(item=>item.isAnswered===true);
+ this.answeredQuestions = getAnsweredFormsCount.length;
+ console.log("ans",this.answeredQuestions,this.actualQuestions)
+ this.pdFullDetails = data.records;
+ // VENDOR FORM ANSWER FETCH STATUS START(SMART PD ONLY)
+ // if(this.pdMasterList.fk_pd_type == '2') {
+ // if(data.records.vendor_form_status && data.records.vendor_form_status.length > 0) {
+ // this.vendor_form_status_arr = JSON.stringify(data.records.vendor_form_status)
+ // localStorage.setItem("vendorFormStatus_arr",this.vendor_form_status_arr)
+ // }
+ // }
+ console.log(this.pdMasterList)
+ console.log(this.pdMasterList.fk_pd_type)
+ if(this.pdMasterList.fk_pd_type == '2') {
+ // let temp_vendor_status = localStorage.getItem("vendorFormStatus_arr")
+ if(data.records.hasOwnProperty('vendor_form_status') && data.records.vendor_form_status && data.records.vendor_form_status.length > 0) {
+ // temp_vendor_status = JSON.parse(temp_vendor_status)
+ // if(temp_vendor_status && temp_vendor_status.length > 0 ) {
+ this.vendor_status_arr = data.records.vendor_form_status
+
+ // }
+ }
+ }
+ // END OF VENDOR FORM ANSWER FETCH
+ if(type==1 && (data.records.pdmaster_details.pd_status=='SCHEDULED' || data.records.pdmaster_details.pd_status=='ALLOCATED')) {
+ this.pdStatusDialogue(this.pdStatusCheck.INPROGRESS,1)
+ }
+ }
+ else{
+ this.pdMasterList = "";
+ this.mainApplicantName = "";
+ this.categoryList = [];
+ this.currentPDStatus = false;
+ }
+ // this.getAnswers(serachQuestions);
+
+ });
+ }
+
+ // load pd status change dialogue
+ pdStatusDialogue(status: string, checkType: number): void {
+
+ const dialogRef = this.dialog.open(PdStatusChangeDialogueComponent, {
+ data: { pdid: this.startPD, pd_status: status ,random_string:this.randomString,pd_type:this.pdMasterList.fk_pd_type },
+ disableClose: true,
+ minWidth:'30%',
+ maxWidth:'40%',
+ });
+ dialogRef.afterClosed()
+ .subscribe(dataresult => {
+ if(dataresult.update_status==true){
+ setTimeout(()=>{
+ checkType==2 ? this.router.navigate(['../../viewpd', this.pdMasterList.parent_pd_id], {relativeTo: this.route}) : this.loadTemplates(this.startPD,2,this.randomString);
+ let data = {
+ "pd_id": this.startPD,
+ "regenerate":0,
+ "random_string":this.randomString
+ };
+ },2000)
+ // this._pd.archivePDImages(data).subscribe(data => {
+
+ // })
+ let data1 = {
+ "pd_id": this.startPD,
+ "regenerate":0,
+ "random_string":this.randomString
+ };
+ this._pd.photoPDFDownload(data1).subscribe(data => {
+
+ })
+
+ }
+ else {
+ checkType==1 ? this.router.navigate(['../../viewpd', this.pdMasterList.parent_pd_id], {relativeTo: this.route}) : this.loadTemplates(this.startPD,2,this.randomString);
+ }
+ if(checkType == 2){
+ // this.loadTemplates(this.startPD,2,this.randomString);
+ }
+ });
+}
+
+ // start
+ // direct form based questions
+ OnSelectDirectForms(details: any,id:any) {
+
+ console.log(details.form_name)
+ console.log( this.vendor_status_arr )
+ // this.formsCategoryEnable = true;
+ this.selectedFormsCategory = details;
+
+ let curr_vendor_ans_fetch_status = null
+ if(this.pdMasterList.fk_pd_type == '2') {
+ if(this.vendor_status_arr && this.vendor_status_arr.length > 0 && this.selectedFormsCategory.form_id != 13) {
+ console.log(this.vendor_status_arr,this.selectedFormsCategory)
+ curr_vendor_ans_fetch_status =this.vendor_status_arr.filter(val=>val.fk_form_id == String(this.selectedFormsCategory.form_id))
+ if(curr_vendor_ans_fetch_status.length > 0) {
+ curr_vendor_ans_fetch_status = curr_vendor_ans_fetch_status[0].form_status
+ }
+ else {
+ curr_vendor_ans_fetch_status = null
+ }
+ }
+ }
+ this.pdFullDetails.pdmaster_details.curr_vendor_ans_fetch_status = curr_vendor_ans_fetch_status
+ // this.pdFullDetails.form_id= this.selectedFormsCategory.fk_form_id
+ // this.pdFullDetails.is_answered = this.selectedFormsCategory.is_answered
+ this.pdFullDetails.pdmaster_details = this.pdMasterList
+
+ console.log(this.pdFullDetails);
+ console.log(this.pdMasterList);
+ console.log(details);
+ console.log(this.startPD,2,this.randomString)
+ let componen_name:any = FormComponent
+ if(details.is_group_form == 1) {
+ componen_name = FormGroupComponent
+ }else if(details.form_name == 'Photograph'){
+ componen_name = ImagesAllComponent
+ }else if(details.form_name == 'General Information'){
+ componen_name = GeneralInfoComponent
+ }
+ const dialogRef = this.dialog.open(componen_name, {
+
+ data: {pd_FullDetails:this.pdFullDetails,pdMasterList:this.pdMasterList,FormData:details,Formname:details.form_name,pdmaster_details:this.pdMasterList},
+
+ position: { right: '0'},
+ maxWidth: '100vw',
+ maxHeight: '100vh',
+ height: '100%',
+ width: '100%',
+ disableClose: true,
+ closeOnNavigation:true,
+ panelClass:'no-padding'
+ });
+ dialogRef.afterClosed()
+ .subscribe(dataresult => {
+ // this.notifier.notify('success', 'Successfully allocated.!');
+ // if(dataresult == 'refresh') {
+ this.loadTemplates(this.startPD,2,this.randomString);
+ // }
+ });
+
+
+ }
+
+ ngOnDestroy(): void {
+ this.listPDComponent.showListView(true);
+ }
+ // load pd view component
+ loadPdViewCompoent() {
+ this.router.navigate(['../../../viewpd', this.pdMasterList.parent_pd_id,this.randomString], {relativeTo: this.route});
+ }
+
+ }
+
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/manage-pd.module.ts b/ng6-seed/src/app/personal-discussion/manage-pd/manage-pd.module.ts
index 4a297b734..46691f1d7 100755
--- a/ng6-seed/src/app/personal-discussion/manage-pd/manage-pd.module.ts
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/manage-pd.module.ts
@@ -50,6 +50,7 @@ import {SchedulePdComponent} from './list-pd/schedule-pd/schedule-pd.component';
import {EditPdApplicantComponent} from './list-pd/edit-pd-applicant/edit-pd-applicant.component';
import {EditPdMasterComponent} from './list-pd/edit-pd-master/edit-pd-master.component';
import {StartPdComponent} from './list-pd/start-pd/start-pd.component';
+import {StartPd2Component} from './list-pd/start-pd/start-pd2/start-pd2.component';
import {InprogressPdComponent} from './list-pd/inprogress-pd/inprogress-pd.component';
import {AllPdComponent} from './list-pd/all-pd/all-pd.component';
import {ScheduledPdComponent} from './list-pd/scheduled-pd/scheduled-pd.component';
@@ -133,14 +134,34 @@ import { ImageDocsComponent } from './list-pd/start-pd/forms/image-docs/image-do
import { environment } from 'environments/environment'
import { CustomTitleCaseDirective } from '../pd-directive/custom-title-case.directive';
import { SpeedDialFabComponent } from './list-pd/view-pd/speed-dial-fab/speed-dial-fab.component';
-import { DynamicFormComponent } from './list-pd/start-pd/forms/dynamic-form/dynamic-form/dynamic-form.component';
-import { DynamicQuestionTemplateComponent } from './list-pd/start-pd/forms/dynamic-form/dynamic-question-template/dynamic-question-template.component';
-import { QuesFormService } from './list-pd/start-pd/forms/dynamic-form/ques-form/ques-form.service';
+import { DynamicFormComponent } from './list-pd/start-pd/forms-dynamic/dynamic-form/dynamic-form/dynamic-form.component';
+import { DynamicQuestionTemplateComponent } from './list-pd/start-pd/forms-dynamic/dynamic-form/dynamic-question-template/dynamic-question-template.component';
+import { QuesFormService } from './list-pd/start-pd/forms-dynamic/dynamic-form/ques-form/ques-form.service';
import { VideoPlayerComponent } from 'app/video-chat/video-player/video-player.component';
import { MatVideoModule } from 'mat-video';
import { ImagesAllComponent } from './list-pd/start-pd/forms/images-all/images-all.component';
+import { AnswerOptionCreateDialogComponent } from './list-pd/start-pd/forms-dynamic/answer-option-create-dialog/answer-option-create-dialog.component';
+import { FormComponent } from './list-pd/start-pd/forms-dynamic/form/form.component';
+import { FormGroupComponent } from './list-pd/start-pd/forms-dynamic/form-group/form-group.component';
+// import { QuestionControlComponent } from './list-pd/start-pd/forms/question-control/question-control.component';
+// import { ImageCaptureComponent } from './list-pd/start-pd/Form-Dynamic/image-capture/image-capture.component';
-
+import {
+
+ MatBottomSheetModule,
+
+ MatDividerModule,
+
+ MatNativeDateModule,
+
+ MatRippleModule,
+
+ MatSliderModule,
+
+ MatSnackBarModule,
+
+ MatTreeModule,
+ } from '@angular/material';
/**
* Custom angular notifier options
*/
@@ -186,8 +207,8 @@ const pdCustomNotifierOptions: NotifierOptions = {
};
@NgModule({
- declarations: [TelePdAllocationComponent, FinancialInfoComponent, BusinessInfoComponent, EmploymentInfoComponent, StockComponent, BankingDetailsComponent, ListPdComponent, FamilyDetailsComponent, AddressComponent, ManagePdComponent, MapPdViewComponent, AddPdComponent, ViewPdComponent,VendorPdAllocationComponent, DuplicatePdComponent, PdAllocationComponent, SmartPdAllocationComponent, SchedulePdComponent, EditPdApplicantComponent, EditPdMasterComponent, StartPdComponent, InprogressPdComponent, AllPdComponent, ScheduledPdComponent, CompletedPdComponent, QcCompletedPdComponent, ClientInfoComponent, CurrentLoanComponent, AssetsInfoComponent, LoanDetailsComponent, OtherIncomeComponent, SupplierInfoComponent, PersonalInfoComponent, LenderRepresentativeComponent, PdReportComponent, AssessedIncomeComponent, AllocationViewMoreComponent, PdRequirementComponent,PdCollectedDocsComponent, GeneralInfoComponent, ModelEditPdReportComponent, OtherApplicantDetailsComponent, NeighbourHoodComponent, DialogChangeCurrentVenrsion, FinalRemarksComponent, BusinessOtherFamilyMemberComponent, QcReviewComponent, BusinessInfoGroupComponent, SearchRelationPipe, RupeeCurrencyFormatPipe, NumberToWordsPipe, DeleteRecordsCountPipe, BusinessAssetsInfoComponent, BusinessBankingDetailsComponent, SalesDetailsComponent, DailySalesDetailsComponent, SalesCalculationComponent, ManageSalesComponent, PurchaseDetailsComponent, BusinessExpenseDetailsComponent, HouseHoldDetailsComponent, OtherBusinessIncomeDetailsComponent, ManagePurchaseComponent, ManageBusinesExpenseComponent, ManageHouseHoldComponent, ManageOtherBusinessIncomeComponent, GrossProfitCalculationComponent, ManageDailySalesComponent, PdStatusChangeDialogueComponent, PdLocatedMapViewDirective, ViewLocationComponent, GetAnswerableFormsPipe, ConfirmAiDetailsComponent, RentalVerificationComponent, InitiateAdditionalPdComponent ,ManageDailyPurchaseComponent, DailyPurchaseDetailsComponent, ManageRentalVerificationComponent, FuturePlansAndBusinessEnvironmentComponent, ImageCropComponent,PurchaseCalculationComponent,QueriesDocsComponent, ImageDocsComponent,CustomTitleCaseDirective, SpeedDialFabComponent,VideoPlayerComponent,
- DynamicFormComponent,DynamicQuestionTemplateComponent, ImagesAllComponent],
+ declarations: [TelePdAllocationComponent, FinancialInfoComponent, BusinessInfoComponent, EmploymentInfoComponent, StockComponent, BankingDetailsComponent, ListPdComponent, FamilyDetailsComponent, AddressComponent, ManagePdComponent, MapPdViewComponent, AddPdComponent, ViewPdComponent,VendorPdAllocationComponent, DuplicatePdComponent, PdAllocationComponent, SmartPdAllocationComponent, SchedulePdComponent, EditPdApplicantComponent, EditPdMasterComponent, StartPdComponent,StartPd2Component, InprogressPdComponent, AllPdComponent, ScheduledPdComponent, CompletedPdComponent, QcCompletedPdComponent, ClientInfoComponent, CurrentLoanComponent, AssetsInfoComponent, LoanDetailsComponent, OtherIncomeComponent, SupplierInfoComponent, PersonalInfoComponent, LenderRepresentativeComponent, PdReportComponent, AssessedIncomeComponent, AllocationViewMoreComponent, PdRequirementComponent,PdCollectedDocsComponent, GeneralInfoComponent, ModelEditPdReportComponent, OtherApplicantDetailsComponent, NeighbourHoodComponent, DialogChangeCurrentVenrsion, FinalRemarksComponent, BusinessOtherFamilyMemberComponent, QcReviewComponent, BusinessInfoGroupComponent, SearchRelationPipe, RupeeCurrencyFormatPipe, NumberToWordsPipe, DeleteRecordsCountPipe, BusinessAssetsInfoComponent, BusinessBankingDetailsComponent, SalesDetailsComponent, DailySalesDetailsComponent, SalesCalculationComponent, ManageSalesComponent, PurchaseDetailsComponent, BusinessExpenseDetailsComponent, HouseHoldDetailsComponent, OtherBusinessIncomeDetailsComponent, ManagePurchaseComponent, ManageBusinesExpenseComponent, ManageHouseHoldComponent, ManageOtherBusinessIncomeComponent, GrossProfitCalculationComponent, ManageDailySalesComponent, PdStatusChangeDialogueComponent, PdLocatedMapViewDirective, ViewLocationComponent, GetAnswerableFormsPipe, ConfirmAiDetailsComponent, RentalVerificationComponent, InitiateAdditionalPdComponent ,ManageDailyPurchaseComponent, DailyPurchaseDetailsComponent, ManageRentalVerificationComponent, FuturePlansAndBusinessEnvironmentComponent, ImageCropComponent,PurchaseCalculationComponent,QueriesDocsComponent, ImageDocsComponent,CustomTitleCaseDirective, SpeedDialFabComponent,VideoPlayerComponent,
+ DynamicFormComponent,DynamicQuestionTemplateComponent, ImagesAllComponent,AnswerOptionCreateDialogComponent,FormComponent,FormGroupComponent],
imports: [
CommonModule,
ManagePdRoutingModule,
@@ -211,8 +232,22 @@ const pdCustomNotifierOptions: NotifierOptions = {
NgxSpinnerModule,
MatChipsModule,MatProgressSpinnerModule,
FormsModule,MatSlideToggleModule,
+
MatSelectModule, MatListModule,MatGridListModule, MatTabsModule, MatBadgeModule, MatCheckboxModule,MatStepperModule,MatSidenavModule ,MatMenuModule, MatButtonToggleModule,
ReactiveFormsModule,
+ MatBottomSheetModule,
+
+ MatDividerModule,
+
+ MatNativeDateModule,
+
+ MatRippleModule,
+
+ MatSliderModule,
+
+ MatSnackBarModule,
+
+ MatTreeModule,
FileUploadModule,
TreeModule,
MatDatepickerModule,
@@ -224,14 +259,14 @@ const pdCustomNotifierOptions: NotifierOptions = {
MatVideoModule
],
- exports: [DuplicatePdComponent,VendorPdAllocationComponent,PdLocatedMapViewDirective, PdAllocationComponent, SmartPdAllocationComponent, TelePdAllocationComponent, SchedulePdComponent, EditPdApplicantComponent, EditPdMasterComponent, StartPdComponent, CompletedPdComponent, QcCompletedPdComponent, ClientInfoComponent, SupplierInfoComponent, PersonalInfoComponent, CurrentLoanComponent, LoanDetailsComponent, OtherIncomeComponent, AssetsInfoComponent, AddressComponent, FamilyDetailsComponent, BankingDetailsComponent, StockComponent, EmploymentInfoComponent, BusinessInfoComponent, FinancialInfoComponent, LenderRepresentativeComponent, AssessedIncomeComponent, AllocationViewMoreComponent, GeneralInfoComponent, PdRequirementComponent,PdCollectedDocsComponent, OtherApplicantDetailsComponent, NeighbourHoodComponent, BusinessOtherFamilyMemberComponent, BusinessInfoGroupComponent,DailySalesDetailsComponent, SalesCalculationComponent, PurchaseDetailsComponent, BusinessExpenseDetailsComponent, HouseHoldDetailsComponent, OtherBusinessIncomeDetailsComponent, ManageSalesComponent, ManagePurchaseComponent, ManageBusinesExpenseComponent, ManageHouseHoldComponent, ManageOtherBusinessIncomeComponent, GrossProfitCalculationComponent, ManageDailySalesComponent, PdStatusChangeDialogueComponent, ViewLocationComponent, ConfirmAiDetailsComponent, RentalVerificationComponent, InitiateAdditionalPdComponent, DailyPurchaseDetailsComponent, ManageDailyPurchaseComponent,ManageRentalVerificationComponent,ImageCropComponent,PurchaseCalculationComponent],
+ exports: [DuplicatePdComponent,VendorPdAllocationComponent,PdLocatedMapViewDirective, PdAllocationComponent, SmartPdAllocationComponent, TelePdAllocationComponent, SchedulePdComponent, EditPdApplicantComponent, EditPdMasterComponent, StartPdComponent,StartPd2Component, CompletedPdComponent, QcCompletedPdComponent, ClientInfoComponent, SupplierInfoComponent, PersonalInfoComponent, CurrentLoanComponent, LoanDetailsComponent, OtherIncomeComponent, AssetsInfoComponent, AddressComponent, FamilyDetailsComponent, BankingDetailsComponent, StockComponent, EmploymentInfoComponent, BusinessInfoComponent, FinancialInfoComponent, LenderRepresentativeComponent, AssessedIncomeComponent, AllocationViewMoreComponent, GeneralInfoComponent, PdRequirementComponent,PdCollectedDocsComponent, OtherApplicantDetailsComponent, NeighbourHoodComponent, BusinessOtherFamilyMemberComponent, BusinessInfoGroupComponent,DailySalesDetailsComponent, SalesCalculationComponent, PurchaseDetailsComponent, BusinessExpenseDetailsComponent, HouseHoldDetailsComponent, OtherBusinessIncomeDetailsComponent, ManageSalesComponent, ManagePurchaseComponent, ManageBusinesExpenseComponent, ManageHouseHoldComponent, ManageOtherBusinessIncomeComponent, GrossProfitCalculationComponent, ManageDailySalesComponent, PdStatusChangeDialogueComponent, ViewLocationComponent, ConfirmAiDetailsComponent, RentalVerificationComponent, InitiateAdditionalPdComponent, DailyPurchaseDetailsComponent, ManageDailyPurchaseComponent,ManageRentalVerificationComponent,ImageCropComponent,PurchaseCalculationComponent],
providers: [PdTrigerService, GetGeometricLocationService,{provide: MAT_DATE_LOCALE, useValue: 'en-GB'},
{provide: DateAdapter, useClass: MomentDateAdapter, deps: [MAT_DATE_LOCALE]},
{provide: MAT_DATE_FORMATS, useValue: MAT_MOMENT_DATE_FORMATS}, PdLocatedMapViewDirective,QuesFormService],
entryComponents: [DuplicatePdComponent,VendorPdAllocationComponent,PdAllocationComponent, SmartPdAllocationComponent, SchedulePdComponent, EditPdApplicantComponent, EditPdMasterComponent, TelePdAllocationComponent, AllocationViewMoreComponent, PersonalInfoComponent,BusinessAssetsInfoComponent,
ClientInfoComponent, SupplierInfoComponent, CurrentLoanComponent, LoanDetailsComponent, OtherIncomeComponent, AssetsInfoComponent, AddressComponent, FamilyDetailsComponent, BankingDetailsComponent, StockComponent, EmploymentInfoComponent, BusinessInfoComponent, FinancialInfoComponent, LenderRepresentativeComponent, AssessedIncomeComponent, GeneralInfoComponent, PdRequirementComponent,PdCollectedDocsComponent, ModelEditPdReportComponent, OtherApplicantDetailsComponent, NeighbourHoodComponent, DialogChangeCurrentVenrsion, FinalRemarksComponent, BusinessOtherFamilyMemberComponent, QcReviewComponent, BusinessInfoGroupComponent,BusinessBankingDetailsComponent, ManageSalesComponent, ManagePurchaseComponent, ManageBusinesExpenseComponent, ManageHouseHoldComponent, ManageOtherBusinessIncomeComponent, ManageDailySalesComponent,PdStatusChangeDialogueComponent, ViewLocationComponent, ConfirmAiDetailsComponent, RentalVerificationComponent, InitiateAdditionalPdComponent, ManageDailyPurchaseComponent,ManageRentalVerificationComponent,FuturePlansAndBusinessEnvironmentComponent,ImageCropComponent,QueriesDocsComponent,
- DynamicFormComponent,DynamicQuestionTemplateComponent,VideoPlayerComponent,ImageDocsComponent,ImagesAllComponent],
+ DynamicFormComponent,DynamicQuestionTemplateComponent,VideoPlayerComponent,ImageDocsComponent,ImagesAllComponent,FormComponent,FormGroupComponent],
})
export class ManagePdModule {
}
\ No newline at end of file
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/manage-pd.routing.ts b/ng6-seed/src/app/personal-discussion/manage-pd/manage-pd.routing.ts
index ed878004b..87dd51206 100755
--- a/ng6-seed/src/app/personal-discussion/manage-pd/manage-pd.routing.ts
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/manage-pd.routing.ts
@@ -6,6 +6,7 @@ import { MapPdViewComponent } from './list-pd/map-pd-view/map-pd-view.component'
import { AddPdComponent } from '../manage-pd/list-pd/add-pd/add-pd.component';
import { ViewPdComponent } from '../manage-pd/list-pd/view-pd/view-pd.component';
import { StartPdComponent } from './list-pd/start-pd/start-pd.component';
+import { StartPd2Component } from './list-pd/start-pd/start-pd2/start-pd2.component';
import { PdReportComponent } from './list-pd/pd-report/pd-report.component';
/*
* manage pd router
@@ -39,6 +40,10 @@ const routes: Routes = [
path: 'startpd/:pdid/:rdmstr',
component: StartPdComponent,
},
+ {
+ path: 'startpd2/:pdid/:rdmstr',
+ component: StartPd2Component,
+ },
{
path: 'pd_report/:pdid/:rdmstr',
component: PdReportComponent,
diff --git a/ng6-seed/src/app/personal-discussion/pd-service/pd-triger.service.ts b/ng6-seed/src/app/personal-discussion/pd-service/pd-triger.service.ts
index c81f1b523..d6beb2474 100755
--- a/ng6-seed/src/app/personal-discussion/pd-service/pd-triger.service.ts
+++ b/ng6-seed/src/app/personal-discussion/pd-service/pd-triger.service.ts
@@ -387,11 +387,14 @@ export class PdTrigerService {
httpParams = httpParams.append('random_string',randomString);
// console.log('loadFullTemplate api load httpParams are',httpParams);
const options = pdId ? { params: httpParams } : {};
- return this._http.get(this.apiUrl + "loadFullTemplate", options)
+ console.log(options)
+ //return this._http.get(this.apiUrl + "loadFullTemplate", options)
+ return this._http.get(this.apiUrl + "loadFullTemplateV2", options)
.pipe(
catchError(this.handleError('operation', []))
)
}
+
// load PD question answers
@@ -1006,7 +1009,7 @@ export class PdTrigerService {
loadCreditPDTemplate(params) {
return this._http.post(this.apiUrl+'loadCreditPDTemplate', params)
- // dummy data
+ // // dummy data
// return this._http.get('../../../assets/sample_covid19_ques.json').map(result=>{
// console.log(result)
// let apivalue ={dataStatus:true,records:{template:JSON.stringify(result)}}
@@ -1014,6 +1017,7 @@ export class PdTrigerService {
// return apivalue
// })
}
+
updateVendorFormStatus(params) {
console.log("update",params);
return this._http.post(this.apiUrl+'updateVendorFormStatus',params)
@@ -1039,6 +1043,97 @@ export class PdTrigerService {
console.log(params);
return this._http.post(this.apiUrl+'updateMISReportRemarks',params);
}
+///////////////////////////////////////////////////
+ savePDFormDetails(params) {
+ // {"fk_pd_id":"1","fk_form_id":"1"}
+ return this._http.post(this.apiUrl+'getSMCCreditPDSectionData',{records:params})
+ }
+ loadDataFromExcel(params) {
+ return this._http.post(this.apiUrl+'loadDataFromExcel',{records:params})
+ }
+ loadTemplate(form_id,mapid,Formname) {
+ console.log( Formname)
+ // return this._http.get('assets/data/SMC_CREDIT_TEMPLATES/'+form_id+'.json').map(rr=>{
+ // return this._http.get('assets/data/SMC_CREDIT_TEMPLATES/LFMP/16.json').map(rr=>{
+ if( Formname == 'Business Information'){
+ return this._http.get('assets/data/SMC_CREDIT_TEMPLATES/LFMP/'+form_id+'.json').map(rr=>{
+ let returnValue ={dataStatus:true,status:200,records:{template:JSON.stringify(rr)}}
+ // this.raw_credit_pd_template= returnValue.records.template
+ return returnValue
+ })
+
+ }else{
+ return this._http.get(this.apiUrl + "formWiseJSONTemplateV2?form_id="+form_id+"&map_id="+mapid+"").map(result=>{
+ console.log(result)
+ let apivalue ={dataStatus:true,status:200,records:{template:JSON.stringify(result)}}
+ console.log(apivalue)
+ return apivalue
+ })
+ // return this._http.get('assets/data/SMC_CREDIT_TEMPLATES/DONE/'+form_id+'.json').map(rr=>{
+ // // return this._http.get('assets/data/SMC_CREDIT_TEMPLATES/LFMP/9.json').map(rr=>{
+ // let returnValue ={dataStatus:true,status:200,records:{template:JSON.stringify(rr)}}
+ // // this.raw_credit_pd_template= returnValue.records.template
+ // console.log("12345")
+ // return returnValue
+ // })
+ }
+
+ }
+ saveSMCCreditPDsection(params1):Observable {
+ params1.createdby = this._aws.getlocale()
+ // "fk_pd_id":"1","fk_form_id":"1","json":"SOMEDATA","fk_createdby":"12"
+ // let params = {"records":{"smc_credit_pd":this.curr_credit_pd_data.smc_credit_pd,"lender_id":this.curr_credit_pd_data.lender_id,"product_id":this.curr_credit_pd_data.product_id,"fk_createdby":this._awsService.getlocale(),"geo_location":"","section_id":params1.section_id,"questions":params1.questions,"is_complete":"0"}}
+ return this._http.post(this.apiUrl+'saveSMCCreditPDsection',{records:params1})
+ }
+ // saveNewSMCTempAddresses(params) {
+ // params = {records:params}
+ // return this._http.post(this.apiUrl+'saveNewSMCTempAddresses',params)
+ // }
+ saveNewSMCTempAddresses(params) {
+ params = {records:params}
+ return this._http.post(this.apiUrl+'saveNewSMCTempAddresses',params)
+ }
+ getPDSectionData(pd_id,pd_form_id,form_group) {
+ if(form_group == 1){
+ return this._http.post(this.apiUrl+'getPDFormDetails',{ "pd_id":pd_id,"pd_form_id":pd_form_id,"company_id":1})
+ }else{
+ return this._http.post(this.apiUrl+'getPDFormDetails',{ "pd_id":pd_id,"pd_form_id":pd_form_id,parent_pdid:"2904"})
+ }
+
+
+ }
+ getSMCTempAddresses(params) {
+
+ return this._http.get(this.apiUrl+'getPDFormDetails',params)
+ }
+
+ loadCreditPDTemplate2(form_id,mapid,Formname):Observable {
+
+ //return this._http.get(this.apiUrl + "formWiseJSONTemplateV2?form_id=5&map_id=7").map(result)
+
+ // return this._http.get(this.apiUrl + "formWiseJSONTemplateV2?form_id=5&map_id=7").map(result=>{
+ // console.log(result)
+ // let apivalue ={dataStatus:true,records:{template:JSON.stringify(result)}}
+ // console.log(apivalue)
+ // return apivalue
+ // })
+ // if( Formname == 'Business Information'){
+ // return this._http.get('assets/data/SMC_CREDIT_TEMPLATES/LFMP/'+form_id+'.json').map(rr=>{
+ // let returnValue ={dataStatus:true,status:200,records:{template:JSON.stringify(rr)}}
+ // // this.raw_credit_pd_template= returnValue.records.template
+ // return returnValue
+ // })
+
+ // }else{
+ return this._http.get(this.apiUrl + "formWiseJSONTemplateV2?form_id="+form_id+"&map_id="+mapid+"").map(result=>{
+ console.log(result)
+ let apivalue ={dataStatus:true,status:200,records:{template:JSON.stringify(result)}}
+ console.log(apivalue)
+ return apivalue
+ })
+ // }
+
+ }
generatesalereport(params :any): Observable {
// let httpParams = new HttpParams().set('pdid', countpdid);
// httpParams = httpParams.append('random_string',randomString);
diff --git a/ng6-seed/src/app/settings/entity/entity-list/entity.list.component.ts b/ng6-seed/src/app/settings/entity/entity-list/entity.list.component.ts
index adb00948c..3ac843ab5 100755
--- a/ng6-seed/src/app/settings/entity/entity-list/entity.list.component.ts
+++ b/ng6-seed/src/app/settings/entity/entity-list/entity.list.component.ts
@@ -57,6 +57,8 @@ export class EntityListComponent implements OnInit {
// this.filterFormGroupCtrl = this._formBuilder.group({
// category: [null, '']
// });
+ let id = this.route.snapshot.params
+ console.log(id)
}
ngOnInit() {
diff --git a/ng6-seed/src/app/shared/menu-items/horizontal-menu-items.ts b/ng6-seed/src/app/shared/menu-items/horizontal-menu-items.ts
index 6699f2e37..ad8d26cad 100755
--- a/ng6-seed/src/app/shared/menu-items/horizontal-menu-items.ts
+++ b/ng6-seed/src/app/shared/menu-items/horizontal-menu-items.ts
@@ -51,6 +51,7 @@ const HORIZONTALMENUITEMS = [
{state:'setting/pdteamlist',name:'PD Team'},
// {state:'template/questions', name: 'Questions'},
{state:'template/templates', name: 'Templates'},
+ {state:'template2', name: 'Templates 2.0'},
]
},
diff --git a/ng6-seed/src/app/shared/menu-items/menu-items.ts b/ng6-seed/src/app/shared/menu-items/menu-items.ts
index a62c56fd5..dc5d85e16 100755
--- a/ng6-seed/src/app/shared/menu-items/menu-items.ts
+++ b/ng6-seed/src/app/shared/menu-items/menu-items.ts
@@ -83,6 +83,7 @@ const MENUITEMS : Menu[] = [
{state:'setting/pdteamlist',name:'PD Team'},
// {state:'template/questions', name: 'Questions'},
{state:'template/templates', name: 'Templates'},
+ {state:'template2/template2', name: 'Templates 2.0'},
]
},
{
diff --git a/ng6-seed/src/app/template/templates/templates-list/edit/edit-lender/edit-lender.component.ts b/ng6-seed/src/app/template/templates/templates-list/edit/edit-lender/edit-lender.component.ts
index 5066c460c..40a8d0096 100755
--- a/ng6-seed/src/app/template/templates/templates-list/edit/edit-lender/edit-lender.component.ts
+++ b/ng6-seed/src/app/template/templates/templates-list/edit/edit-lender/edit-lender.component.ts
@@ -83,6 +83,7 @@ export class EditLenderComponent implements OnInit {
if (data.records) {
this.noTemplateLendersFound = false;
this.templateLenderRecord = data.records;
+ console.log( this.templateLenderRecord)
this.setFormDatas(this.templateLenderRecord);
// this.templateListData = data.records;
// this.dataLength = data.records.length;
diff --git a/ng6-seed/src/app/template2/edit-template/edit-template.component.html b/ng6-seed/src/app/template2/edit-template/edit-template.component.html
new file mode 100644
index 000000000..263d48f5f
--- /dev/null
+++ b/ng6-seed/src/app/template2/edit-template/edit-template.component.html
@@ -0,0 +1,67 @@
+
+
+
+
+ Deselective Questions will be Disable
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{node.item}}
+
+
+
+
+
+
+
+
+
+
+
+
+ {{node.item}}
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/ng6-seed/src/app/template2/edit-template/edit-template.component.scss b/ng6-seed/src/app/template2/edit-template/edit-template.component.scss
new file mode 100644
index 000000000..22d66cb25
--- /dev/null
+++ b/ng6-seed/src/app/template2/edit-template/edit-template.component.scss
@@ -0,0 +1,38 @@
+.cdk-global-overlay-wrapper {
+ overflow: auto;
+ pointer-events: auto; // needed for chrome but prevents backdrop click close
+ }
+ .paragraph_change {
+ color: #fff !important;
+ background-color: #e00201 !important;
+ }
+ ::ng-deep { .no-padding > mat-dialog-container {
+ // background: black;
+ padding: 0;
+ // overflow-y: scroll !important;
+ }
+}
+.mat-dialog-content{
+ margin:0px !important;
+}
+ // mat-placeholder{
+ // margin-top: 20px;
+ // word-wrap: break-word;
+ // }
+// input{
+// height:40px;
+// }
+
+ .mat-form-field-label {
+ white-space: normal;
+ }
+
+ textarea.mat-input-element {
+ padding: 0px 0;
+ margin: 5px 0;
+ }
+
+ .mat-input-placeholder {
+ white-space: normal;
+ }
+
\ No newline at end of file
diff --git a/ng6-seed/src/app/template2/edit-template/edit-template.component.spec.ts b/ng6-seed/src/app/template2/edit-template/edit-template.component.spec.ts
new file mode 100644
index 000000000..f52268284
--- /dev/null
+++ b/ng6-seed/src/app/template2/edit-template/edit-template.component.spec.ts
@@ -0,0 +1,25 @@
+import { async, ComponentFixture, TestBed } from '@angular/core/testing';
+
+import { EditTemplateComponent } from './edit-template.component';
+
+describe('EditTemplateComponent', () => {
+ let component: EditTemplateComponent;
+ let fixture: ComponentFixture;
+
+ beforeEach(async(() => {
+ TestBed.configureTestingModule({
+ declarations: [ EditTemplateComponent ]
+ })
+ .compileComponents();
+ }));
+
+ beforeEach(() => {
+ fixture = TestBed.createComponent(EditTemplateComponent);
+ component = fixture.componentInstance;
+ fixture.detectChanges();
+ });
+
+ it('should create', () => {
+ expect(component).toBeTruthy();
+ });
+});
diff --git a/ng6-seed/src/app/template2/edit-template/edit-template.component.ts b/ng6-seed/src/app/template2/edit-template/edit-template.component.ts
new file mode 100644
index 000000000..52ac2baab
--- /dev/null
+++ b/ng6-seed/src/app/template2/edit-template/edit-template.component.ts
@@ -0,0 +1,752 @@
+
+
+import {SelectionModel} from '@angular/cdk/collections';
+import {FlatTreeControl} from '@angular/cdk/tree';
+import {Component, Injectable} from '@angular/core';
+import {MatTreeFlatDataSource, MatTreeFlattener} from '@angular/material/tree';
+import {BehaviorSubject} from 'rxjs';
+import { MasterService } from '../master.service';
+import { NotifierService } from 'angular-notifier';
+import { ActivatedRoute, Router, Params } from '@angular/router';
+import { FocusTrap } from '@angular/cdk/a11y';
+/**
+ * Node for to-do item
+ */
+export class TodoItemNode {
+ children: TodoItemNode[];
+ item: string;
+}
+
+/** Flat to-do item node with expandable and level information */
+export class TodoItemFlatNode {
+ item: string;
+ level: number;
+ expandable: boolean;
+}
+
+/**
+ * The Json object for to-do list data.
+ */
+
+
+/**
+ * Checklist database, it can build a tree structured Json object.
+ * Each node in Json object represents a to-do item or a category.
+ * If a node is a category, it has children items and new items can be added under the category.
+ */
+@Injectable()
+export class ChecklistDatabase {
+ dataChange = new BehaviorSubject([]);
+ val: any;
+ g: any=[];
+ checked:any=true;
+ myModel = true;
+ get data(): TodoItemNode[] { return this.dataChange.value; }
+
+ constructor( private masterService: MasterService) {
+ let formid = localStorage.getItem('form_id');
+ let mapid = localStorage.getItem('map_id');
+
+ this.masterService.questionsjson(formid,mapid).subscribe(
+ data => {
+
+ console.log(data)
+ this.initialize(data);
+ });
+
+ var data;
+ this.masterService.list_3_observable$.subscribe(res=> {
+ console.log("nav list 3",res)
+
+ data =res
+
+ })
+
+
+ console.log()
+ // let question_json = JSON.parse(JSON.parse(data.json))
+ // console.log(question_json)
+ let question_json;
+ if(data != [] && data.json){
+ question_json = JSON.parse(data.json)
+ }else{
+
+ question_json = []
+ }
+ //question_json = JSON.parse(data.json)
+ console.log(question_json)
+
+ // let dd = JSON.parse(JSON.stringify(data))
+ // console.log(dd)
+ // var b=JSON.stringify(data);
+ // let str = b.replace(/\\/g, '');
+
+
+
+
+ }
+
+ initialize(tmp:any) {
+ // Build the tree nodes from Json object. The result is a list of `TodoItemNode` with nested
+ // file node as children.
+ console.log(this.val)
+// let TREE_DATA;
+// let child_l1 = []
+// let group =[];
+
+
+// console.log(group)
+// if(this.val.questions[0].question instanceof Array){
+// let tmp =[]
+
+// this.val.questions[0].question.forEach(element => {
+
+// console.log( element.question)
+// let sub_question =[]
+// if(element.onchange_properties instanceof Array){
+// console.log(element.onchange_properties[0].form_controls[0].questions);
+// element.question
+// element.onchange_properties[0].form_controls[0].questions.forEach(child => {
+// sub_question.push( child.question)
+// });
+
+
+// console
+
+
+// // tmp.push({g1})
+// let u = element.question
+
+// tmp[u] = tmp[tmp.length]
+
+// tmp[u] = sub_question // remove prior key
+// delete tmp[tmp.length];
+
+
+
+// //tmp["4"] = {[element.question]:g1}
+
+// console.log(tmp)
+// // tmp.push([element.question]:null)
+// }else{
+// tmp.push(element.question)
+// console.log(tmp)
+// }
+
+// });
+// this.val.questions.forEach(sub => {
+// if( sub.question instanceof Array == false){
+// child_l1.push(sub.question)
+// }else{
+// group.push(sub.group_title)
+
+// }
+// let u;
+// // if(sub.group_title != undefined){
+// // u = sub.group_title
+// // console.log(u)
+
+// // group[u] = group[group.length]
+// // console.log(group[u])
+// // group[u] = tmp // remove prior key
+// // delete group[group.length];
+// // }
+
+
+// });
+// console.log(group)
+// TREE_DATA = {
+
+// Available_Group_Questions: group,
+
+// Available_Questions:child_l1,
+
+// };
+// }else{
+// let tmp =[]
+// this.val.questions.forEach(element => {
+
+// console.log(element.question)
+// let sub_question=[]
+// if(element.onchange_properties instanceof Array && element.onchange_properties !=""){
+// if(element.onchange_properties[0].form_controls instanceof Array){
+
+
+// console.log(element.onchange_properties[0].form_controls[0].questions);
+// element.question
+// element.onchange_properties[0].form_controls[0].questions.forEach(child => {
+
+// if(child.question instanceof Array){
+// child.question.forEach(q1 => {
+// sub_question.push( q1.question)
+// });
+
+// }else{
+// sub_question.push( child.question)
+// }
+
+// console.log(child.question)
+// });
+
+
+// tmp.length
+
+
+// // tmp.push({g1})
+// let u = element.question
+
+// tmp[u] = tmp[tmp.length]
+
+// tmp[u] = sub_question // remove prior key
+// delete tmp[tmp.length];
+
+// //tmp["4"] = {[element.question]:g1}
+
+// console.log(tmp)
+// }
+// // tmp.push([element.question]:null)
+// }else{
+// tmp.push(element.question)
+// console.log(tmp)
+// }
+// // tmp.push(element.question)
+// });
+// TREE_DATA = {
+
+
+// Available_Questions:tmp,
+
+// };
+// }
+
+
+// console.log( this.val)
+// // console.log( this.val.questions[0].group_questions)
+// console.log( this.val.questions[0].question)
+
+
+// console.log( this.val.questions[1].question)
+// // const TREE_DATA = {
+// // Groceries: {
+// // 'Almond Meal flour': null,
+// // 'Organic eggs': null,
+// // 'Protein Powder': null,
+// // Fruits: {
+// // Apple: null,
+// // Berries: ['Blueberry', 'Raspberry'],
+// // Orange: null
+// // }
+// // },
+// // Reminders: [
+// // 'Cook dinner',
+// // 'Read the Material Design spec',
+// // 'Upgrade Application to Angular'
+// // ]
+// // };
+ this.val = tmp.available_question;
+ let TREE_DATA = {
+
+
+
+ Questions:this.val,
+
+ };
+
+ const data = this.buildFileTree( TREE_DATA , 0);
+
+ // Notify the change.
+ this.dataChange.next(data);
+ }
+
+ /**
+ * Build the file structure tree. The `value` is the Json object, or a sub-tree of a Json object.
+ * The return value is the list of `TodoItemNode`.
+ */
+ buildFileTree(obj: {[key: string]: any}, level: number): TodoItemNode[] {
+ return Object.keys(obj).reduce((accumulator, key) => {
+ const value = obj[key];
+ const node = new TodoItemNode();
+ node.item = key;
+
+ if (value != null) {
+ if (typeof value === 'object') {
+ node.children = this.buildFileTree(value, level + 1);
+ } else {
+ node.item = value;
+ }
+ }
+
+ return accumulator.concat(node);
+ }, []);
+ }
+
+ /** Add an item to to-do list */
+ insertItem(parent: TodoItemNode, name: string) {
+ if (parent.children) {
+ parent.children.push({item: name} as TodoItemNode);
+ this.dataChange.next(this.data);
+ }
+ }
+
+ updateItem(node: TodoItemNode, name: string) {
+ node.item = name;
+ this.dataChange.next(this.data);
+ }
+}
+
+/**
+ * @title Tree with checkboxes
+ */
+// @Component({
+// selector: 'tree-checklist-example',
+// templateUrl: 'tree-checklist-example.html',
+// styleUrls: ['tree-checklist-example.css'],
+// providers: [ChecklistDatabase]
+// })
+@Component({
+ selector: 'app-edit-template',
+ templateUrl: './edit-template.component.html',
+ styleUrls: ['./edit-template.component.scss'],
+ providers: [ChecklistDatabase]
+})
+export class EditTemplateComponent {
+ /** Map from flat node to nested node. This helps us finding the nested node to be modified */
+ flatNodeMap = new Map();
+
+ /** Map from nested node to flattened node. This helps us to keep the same object for selection */
+ nestedNodeMap = new Map();
+
+ /** A selected parent node to be inserted */
+ selectedParent: TodoItemFlatNode | null = null;
+
+ /** The new item's name */
+ newItemName = '';
+
+ treeControl: FlatTreeControl;
+
+ treeFlattener: MatTreeFlattener;
+
+ dataSource: MatTreeFlatDataSource;
+
+ /** The selection for checklist */
+ checklistSelection = new SelectionModel(true /* multiple */);
+ val: any;
+ result: any[];
+ errorMessage: string;
+ form_id: any;
+
+ constructor(private database: ChecklistDatabase, private masterService: MasterService, private notifier: NotifierService , private route: ActivatedRoute,
+ private router: Router) {
+ this.treeFlattener = new MatTreeFlattener(this.transformer, this.getLevel,
+ this.isExpandable, this.getChildren);
+ this.treeControl = new FlatTreeControl(this.getLevel, this.isExpandable);
+ this.dataSource = new MatTreeFlatDataSource(this.treeControl, this.treeFlattener);
+
+ database.dataChange.subscribe(data => {
+ this.dataSource.data = data;
+ });
+
+ this.masterService.list_3_observable$.subscribe(res=> {
+ console.log("nav list 3",res)
+
+ this.form_id = res.form_id;
+
+ this.val = JSON.parse(res.json)
+ this.val
+
+ })
+ }
+getLevel = (node: TodoItemFlatNode) => node.level;
+
+ isExpandable = (node: TodoItemFlatNode) => node.expandable;
+
+ getChildren = (node: TodoItemNode): TodoItemNode[] => node.children;
+
+ hasChild = (_: number, _nodeData: TodoItemFlatNode) => _nodeData.expandable;
+
+ hasNoContent = (_: number, _nodeData: TodoItemFlatNode) => _nodeData.item === '';
+
+ /**
+ * Transformer to convert nested node to flat node. Record the nodes in maps for later use.
+ */
+ transformer = (node: TodoItemNode, level: number) => {
+ const existingNode = this.nestedNodeMap.get(node);
+ const flatNode = existingNode && existingNode.item === node.item
+ ? existingNode
+ : new TodoItemFlatNode();
+ flatNode.item = node.item;
+ flatNode.level = level;
+ flatNode.expandable = !!node.children;
+ this.flatNodeMap.set(flatNode, node);
+ this.nestedNodeMap.set(node, flatNode);
+ return flatNode;
+ }
+
+ /** Whether all the descendants of the node are selected. */
+ descendantsAllSelected(node: TodoItemFlatNode): boolean {
+ const descendants = this.treeControl.getDescendants(node);
+ const descAllSelected = descendants.every(child =>
+ this.checklistSelection.isSelected(child)
+ );
+ return descAllSelected;
+ }
+
+ /** Whether part of the descendants are selected */
+ descendantsPartiallySelected(node: TodoItemFlatNode): boolean {
+ const descendants = this.treeControl.getDescendants(node);
+ const result = descendants.some(child => this.checklistSelection.isSelected(child));
+ return result && !this.descendantsAllSelected(node);
+ }
+
+ /** Toggle the to-do item selection. Select/deselect all the descendants node */
+ todoItemSelectionToggle(node: TodoItemFlatNode,b): void {
+ ///all select
+ console.log(node.item + b)
+
+ console.log(node)
+ console.log(this.val)
+ if(node.item == 'Available_Group_Questions'){
+ console.log("1")
+ if(b==false){
+ this.val.questions[0].disable = true
+ }else{
+ this.val.questions[0].disable = false
+ }
+
+ if(this.val.questions[0].question instanceof Array){
+
+ this.val.questions[0].question.forEach(element => {
+ if(b==false){
+ element.disable = true
+ }else{
+ element.disable = false
+ }
+
+ //element.onchange_properties[0].form_controls[0].questions
+ console.log(element)
+ });
+ }
+ }
+ else if(node.item == 'Available_Questions'){
+ console.log("2")
+ if(this.val.questions instanceof Array){
+ this.val.questions.forEach(element => {
+ if(b==false){
+ element.disable = true
+ }else{
+ element.disable = false
+ }
+ if(element.onchange_properties instanceof Array && element.onchange_properties !=null){
+ if(element.onchange_properties[0] && element.onchange_properties[0].form_controls){
+
+
+ console.log(element.onchange_properties[0].form_controls[0].questions);
+ element.onchange_properties[0].form_controls[0].questions.forEach(sub => {
+
+ console.log(sub.question)
+ if(b==false){
+ sub.disable = true
+ }else{
+ sub.disable = false
+ }
+
+ });
+ }
+ // alert("if disable this General & Address form will be affected")
+ }
+ console.log(element)
+ });
+ }
+ }else{
+ console.log("3")
+
+ this.val.questions.forEach(element => {
+ if(element.question == node.item ){
+
+
+ if(b==false){
+ element.disable = true
+ }else{
+ element.disable = false
+ }
+ console.log(element)
+
+
+ if(element.onchange_properties instanceof Array ){
+ if( element.onchange_properties[0].form_controls instanceof Array){
+
+
+ element.onchange_properties[0].form_controls[0].questions.forEach(e => {
+ console.log(e)
+
+ if(b==false){
+ e.disable = true
+ }else{
+ e.disable = false
+ }
+
+ });
+ }
+ }
+ }
+ });
+
+ }
+
+
+
+
+
+
+ console.log(this.val)
+ this.result =[]
+ this.result.push(this.val)
+ this.checklistSelection.toggle(node);
+ const descendants = this.treeControl.getDescendants(node);
+ this.checklistSelection.isSelected(node)
+ ? this.checklistSelection.select(...descendants)
+ : this.checklistSelection.deselect(...descendants);
+
+ // Force update for the parent
+ descendants.every(child =>
+ this.checklistSelection.isSelected(child)
+ );
+ this.checkAllParentsSelection(node);
+ }
+
+ /** Toggle a leaf to-do item selection. Check all the parents to see if they changed */
+ todoLeafItemSelectionToggle(node: TodoItemFlatNode,b): void {
+ //single select
+ console.log(node.item + b)
+ console.log(node)
+ console.log(this.val)
+ if(this.val.questions[0].question instanceof Array && this.val.length ==0){
+ console.log('node')
+ this.val.questions[0].question.forEach(element => {
+ if(element.question == node.item){
+ if(b==false){
+ element.disable = true
+ }else{
+ element.disable = false
+ }
+ if(element.onchange_properties instanceof Array && b== false){
+ console.log(element.onchange_properties[0].form_controls[0].questions);
+ alert("if disable this General & Address form will be affected")
+ }
+ }
+ else{
+
+ if(this.val.questions[1].question == node.item){
+
+ if(b==false){
+ this.val.questions[1].disable = true
+ }else{
+ this.val.questions[1].disable = false
+ }
+
+ }
+ }
+
+ console.log(element)
+ });
+ }else if(!this.val.questions[1]){
+ console.log('node 2 ')
+ this.val.questions.forEach(element => {
+ if(element.question == node.item){
+
+ if(b==false){
+ element.disable = true
+ }else{
+ element.disable = false
+ }
+ if(element.onchange_properties instanceof Array && b== false){
+ console.log(element.onchange_properties[0].form_controls[0].questions);
+ alert("if disable this General & Address form will be affected")
+ }
+
+ }
+ console.log(element)
+ });
+ }
+ else{
+ console.log('node 3')
+ this.val.questions.forEach(element => {
+ console.log(element)
+ if(element.question == node.item || element.group_title == node.item ){
+
+ if(b==false){
+ element.disable = true
+ }else{
+ element.disable = false
+ }
+ console.log(element.onchange_properties)
+
+
+ }
+ if(element.onchange_properties instanceof Array && element.onchange_properties !=""){
+ console.log(element.onchange_properties)
+ if( element.onchange_properties[0].form_controls != undefined){
+
+
+ console.log(element.onchange_properties[0].form_controls[0].questions);
+ element.onchange_properties[0].form_controls[0].questions.forEach(sub => {
+ console.log(sub.question)
+ if(sub.question == node.item){
+
+ if(b==false){
+ sub.disable = true
+ }else{
+ sub.disable = false
+ }
+ }
+ if(sub.question instanceof Array){
+
+
+ sub.question.forEach(c => {
+ if(c.question == node.item){
+
+ if(b==false){
+ c.disable = true
+ }else{
+ c.disable = false
+ }
+ }
+ });
+ }
+ });
+ // alert("if disable this General & Address form will be affected")
+ }
+ }
+ console.log(element)
+ });
+
+ // if(this.val.questions[1].question == node.item){
+
+ // if(b==false){
+ // this.val.questions[1].disable = true
+ // }else{
+ // this.val.questions[1].disable = false
+ // }
+
+ // }
+ //console.log(element)
+ }
+
+ console.log(this.val)
+ this.result =[]
+ this.result.push(this.val)
+ this.checklistSelection.toggle(node);
+ this.checkAllParentsSelection(node);
+ // console.log(node);
+ }
+
+ /* Checks all the parents when a leaf node is selected/unselected */
+ checkAllParentsSelection(node: TodoItemFlatNode): void {
+ let parent: TodoItemFlatNode | null = this.getParentNode(node);
+ while (parent) {
+ this.checkRootNodeSelection(parent);
+ parent = this.getParentNode(parent);
+ }
+ console.log(node)
+ }
+
+ /** Check root node checked state and change it accordingly */
+ checkRootNodeSelection(node: TodoItemFlatNode): void {
+ const nodeSelected = this.checklistSelection.isSelected(node);
+ const descendants = this.treeControl.getDescendants(node);
+ const descAllSelected = descendants.every(child =>
+ this.checklistSelection.isSelected(child)
+ );
+ if (nodeSelected && !descAllSelected) {
+ this.checklistSelection.deselect(node);
+ } else if (!nodeSelected && descAllSelected) {
+ this.checklistSelection.select(node);
+ }
+ }
+
+ /* Get the parent node of a node */
+ getParentNode(node: TodoItemFlatNode): TodoItemFlatNode | null {
+ const currentLevel = this.getLevel(node);
+
+ if (currentLevel < 1) {
+ return null;
+ }
+
+ const startIndex = this.treeControl.dataNodes.indexOf(node) - 1;
+
+ for (let i = startIndex; i >= 0; i--) {
+ const currentNode = this.treeControl.dataNodes[i];
+
+ if (this.getLevel(currentNode) < currentLevel) {
+ return currentNode;
+ }
+ }
+ return null;
+ }
+
+ /** Select the category so we can insert the new item. */
+ addNewItem(node: TodoItemFlatNode) {
+ const parentNode = this.flatNodeMap.get(node);
+ this.database.insertItem(parentNode!, '');
+ this.treeControl.expand(node);
+ }
+
+ /** Save the node to database */
+ saveNode(node: TodoItemFlatNode, itemValue: string) {
+ const nestedNode = this.flatNodeMap.get(node);
+ this.database.updateItem(nestedNode!, itemValue);
+ console.log(this.dataSource)
+ }
+ loadPdViewCompoent(){
+ //this.router.routeReuseStrategy.shouldReuseRoute = () => false;
+ //this.router.onSameUrlNavigation = 'reload';
+
+ this.router.navigate(['template2/lenderlist']);
+ setTimeout(()=>{ //<<<---using ()=> syntax
+ window.location.reload()
+ }, 1);
+
+ //this.router.navigate([ 'template2/lenderlist'], { relativeTo: this.route });
+ }
+
+ submit(){
+ console.log(this.result)
+ console.log(this.val)
+ console.log(localStorage.getItem('map_id'));
+ let map_id = localStorage.getItem('map_id');
+ console.log( this.form_id )
+ // this.result.forEach(element => {
+ // const blob = new Blob([JSON.stringify(element)], {type : 'application/json'});
+
+ // saveAs(blob, 'sample');
+ // });
+
+ let formValues;
+ console.log("worked")
+ this.masterService.saveupdatejsondetails(map_id,this.form_id ,this.result[0]).subscribe(
+ dataresult => {
+ if (dataresult.status == 200) {
+ console.log(dataresult);
+ this.notifier.notify('success', 'Your Changes Updated.!');
+
+ }
+ else {
+ this.notifier.notify('warning', 'Something Went Wrong Try Again.!');
+ this.errorMessage = "Something Went Wrong Try Again.!";
+ }
+ }, error => {
+ this.notifier.notify('error', 'Something Went Wrong Try Again.! \t\"' + (error.error_type == 2 ? error.error_status + ' ( ' + error.error_text + ' ) ' : ' ( ' + error.error_text + ' ) ') +'\" Error Occur.!');
+ this.errorMessage = "Some Thing Wents Wrong Try Again.!";
+ });
+
+
+
+
+
+
+
+ }
+
+ }
+
+
diff --git a/ng6-seed/src/app/template2/form-group/form-group.component.html b/ng6-seed/src/app/template2/form-group/form-group.component.html
new file mode 100644
index 000000000..82232a921
--- /dev/null
+++ b/ng6-seed/src/app/template2/form-group/form-group.component.html
@@ -0,0 +1,52 @@
+
+
+ {{main_applicant}} {{lender_applicant_id ? '('+lender_applicant_id+')' : ''}}, {{customer_segment_abbr}} - {{subproduct_abbr}}
+ {{pageTitle}}
+
+
+
+
+
+
+
+ 0 ;">
+
+
+ {{companyList.company_name}}
+
+
+
+
+
+
+
+ {{ formButton.form_name }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Business Related Information is Not Available.Please Check General Information
+
+
+
+
+
diff --git a/ng6-seed/src/app/template2/form-group/form-group.component.scss b/ng6-seed/src/app/template2/form-group/form-group.component.scss
new file mode 100644
index 000000000..4df6c6f0a
--- /dev/null
+++ b/ng6-seed/src/app/template2/form-group/form-group.component.scss
@@ -0,0 +1,34 @@
+.paragraph_change {
+ color: #fff !important;
+ background-color: #e00201 !important;
+ }
+
+ .p-text {
+ color:#e00201 !important;
+ font-weight: bold;
+ }
+ ::ng-deep .mat-card-header-text{
+ margin:0px !important;
+}
+.mat-purple{
+ background-color: gray !important;
+}
+ .cdk-global-overlay-wrapper{
+ justify-content: center !important;
+}
+
+ $base-card-box-shadow:1.5px 2.6px 24px 0 rgba(0, 35, 136, 0.08) !important;
+mat-card .child_mat_card > mat-card {
+ border-radius: 0px 0px 0px 15px;
+ box-shadow: $base-card-box-shadow;
+ transform: scale(0.95);
+ transition: box-shadow 0.5s, transform 0.5s;
+ border: 1px solid lavender;
+ &:hover {
+ cursor: pointer;
+ // background-color: #e00201 !important;
+ transform: scale(1);
+ box-shadow: 5px 20px 30px rgba(0, 0, 0, 0.2);
+ }
+
+ }
\ No newline at end of file
diff --git a/ng6-seed/src/app/template2/form-group/form-group.component.spec.ts b/ng6-seed/src/app/template2/form-group/form-group.component.spec.ts
new file mode 100644
index 000000000..6853c7f42
--- /dev/null
+++ b/ng6-seed/src/app/template2/form-group/form-group.component.spec.ts
@@ -0,0 +1,25 @@
+import { async, ComponentFixture, TestBed } from '@angular/core/testing';
+
+import { FormGroupComponent } from './form-group.component';
+
+describe('FormGroupComponent', () => {
+ let component: FormGroupComponent;
+ let fixture: ComponentFixture;
+
+ beforeEach(async(() => {
+ TestBed.configureTestingModule({
+ declarations: [ FormGroupComponent ]
+ })
+ .compileComponents();
+ }));
+
+ beforeEach(() => {
+ fixture = TestBed.createComponent(FormGroupComponent);
+ component = fixture.componentInstance;
+ fixture.detectChanges();
+ });
+
+ it('should create', () => {
+ expect(component).toBeTruthy();
+ });
+});
diff --git a/ng6-seed/src/app/template2/form-group/form-group.component.ts b/ng6-seed/src/app/template2/form-group/form-group.component.ts
new file mode 100644
index 000000000..3fe88216b
--- /dev/null
+++ b/ng6-seed/src/app/template2/form-group/form-group.component.ts
@@ -0,0 +1,131 @@
+import { Component,OnInit,Inject,Input} from '@angular/core';
+import { NotifierService } from 'angular-notifier';
+import {MatDialog,MatDialogRef,MAT_DIALOG_DATA, MatTableDataSource} from '@angular/material';
+/** Service */
+// import { PdTrigerService } from './../../../../../pd-service/pd-triger.service';
+import { MasterService } from '../master.service';
+import {ActivatedRoute, Router} from "@angular/router";
+
+import { EditTemplateComponent } from '../edit-template/edit-template.component';
+@Component({
+ selector: 'app-form-group',
+ templateUrl: './form-group.component.html',
+ styleUrls: ['./form-group.component.scss']
+})
+export class FormGroupComponent implements OnInit {
+
+ customer_segment_abbr: any;
+ subproduct_abbr: any;
+ lender_applicant_id: any;
+ main_applicant: any;
+ pageTitle: string = "Business Related Information";
+ existCompanyList: any = [];
+ pdid: number;
+ form_id: number;
+ waitLoading:boolean;
+ lender_short_name :any;
+ product_abbr :any;
+ prod_catagory: any;
+ selectedFormsCategory: any;
+ pd_all_details: any;
+ CompanyList: any;
+ errorMessage: any;
+ // vendor_status_arr: any=[];
+
+ constructor( private notifier: NotifierService,
+ private route: ActivatedRoute,
+ private router: Router,
+ private masterService: MasterService,
+ ) {
+ console.log(this.pd_all_details)
+ this.pdid = 1;
+ console.log(this.pdid)
+ this.form_id = 13;
+ // this.waitLoading=false;
+ // this.main_applicant = this.pd_all_details.pdmaster_details.main_applicant;
+ // this.lender_applicant_id = this.pd_all_details.pdmaster_details.lender_applicant_id;
+ // this.subproduct_abbr = this.pd_all_details.pdmaster_details.subproduct_abbr;
+ // this.customer_segment_abbr = this.pd_all_details.pdmaster_details.customer_segment_abbr;
+ // this.lender_short_name = this.pd_all_details.pdmaster_details.lender_short_name;
+ // console.log(this.lender_short_name);
+ // this.product_abbr = this.pd_all_details.pdmaster_details.product_abbr;
+ // console.log(this.product_abbr);
+ // this.prod_catagory = this.pd_all_details.pdmaster_details.prod_catagory;
+
+ }
+
+ ngOnInit() {
+ this.getCompanyListForBusiness();
+
+ }
+ getCompanyListForBusiness(): void{
+ console.log("data")
+ let map_id = localStorage.getItem('map_id');
+ this.masterService.getCompaniesListsForBusiness(map_id).subscribe(data=>{
+ console.log(data)
+ if(data.dataStatus){
+ console.log(data)
+ //this.existCompanyList = data.records.filter(val =>val.is_active == 1);
+ this.existCompanyList = data.records;
+ this.CompanyList = data.records[0].forms;
+ console.log( this.existCompanyList)
+ // VENDOR FORM ANSWER FETCH STATUS START(SMART PD ONLY)
+ // if(this.existCompanyList.length > 0 && this.pd_all_details.pdmaster_details.fk_pd_type == '2') {
+ // if(this.existCompanyList[0].hasOwnProperty('vendor_form_status') && this.existCompanyList[0].vendor_form_status && this.existCompanyList[0].vendor_form_status.length > 0) {
+ // // temp_vendor_status = JSON.parse(temp_vendor_status)
+ // // if(temp_vendor_status && temp_vendor_status.length > 0 ) {
+ // this.vendor_status_arr = this.existCompanyList[0].vendor_form_status
+ // // }
+ // }
+ // }
+ // END OF VENDOR FORM ANSWER FETCH
+ this.waitLoading = true;
+ }
+ else {
+ this.waitLoading = false;
+ }
+ })
+ }
+ OnSelectform(details,index,disable_key){
+ console.log(details)
+ console.log(index)
+ console.log(disable_key)
+ let form_id = details.form_id;
+ let map_id = localStorage.getItem('map_id');
+
+ let disabled = disable_key
+
+ this.masterService.disableform(form_id,map_id,disabled).subscribe(
+ dataresult => {
+ if (dataresult.status == 200) {
+ console.log(dataresult);
+ this.notifier.notify('success', 'Your Changes Updated.!');
+ // this.loadTemplates();
+ this.getCompanyListForBusiness();
+ }
+ else {
+ this.notifier.notify('warning', 'Something Went Wrong Try Again.!');
+ this.errorMessage = "Something Went Wrong Try Again.!";
+ }
+ }, error => {
+ this.notifier.notify('error', 'Something Went Wrong Try Again.! \t\"' + (error.error_type == 2 ? error.error_status + ' ( ' + error.error_text + ' ) ' : ' ( ' + error.error_text + ' ) ') +'\" Error Occur.!');
+ this.errorMessage = "Some Thing Wents Wrong Try Again.!";
+ });
+
+
+
+
+
+}
+ // direct form based questions
+ OnSelectBusinessGroupForms(details: any, company: any,id:any) {
+ console.log(details)
+ console.log(company)
+
+ this.masterService.list_3.next(details);
+ console.log(id)
+ //this.router.navigate(['Group-form'], { relativeTo: this.route });
+ this.router.navigate(['Edit-template'], { relativeTo: this.route });
+}
+
+}
diff --git a/ng6-seed/src/app/template2/lender-list/lender-list.component.html b/ng6-seed/src/app/template2/lender-list/lender-list.component.html
new file mode 100644
index 000000000..a3f8217d5
--- /dev/null
+++ b/ng6-seed/src/app/template2/lender-list/lender-list.component.html
@@ -0,0 +1,69 @@
+
+
+
+
+
+
+
+ 0">
+
+
+
+
+ {{ product.entity_name }}
+ LENDER
+
+
+
+
+ {{ product.full_name }} ({{product.short_name}})
+ {{ product.branch_name }}
+ {{product.city_name}}, {{product.state_name}}
+
+
+
+
+ {{ product.phone_number }}
+ {{ product.official_email }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ No Record Found ...
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ng6-seed/src/app/template2/lender-list/lender-list.component.scss b/ng6-seed/src/app/template2/lender-list/lender-list.component.scss
new file mode 100644
index 000000000..e69de29bb
diff --git a/ng6-seed/src/app/template2/lender-list/lender-list.component.spec.ts b/ng6-seed/src/app/template2/lender-list/lender-list.component.spec.ts
new file mode 100644
index 000000000..1cacd3e96
--- /dev/null
+++ b/ng6-seed/src/app/template2/lender-list/lender-list.component.spec.ts
@@ -0,0 +1,25 @@
+import { async, ComponentFixture, TestBed } from '@angular/core/testing';
+
+import { LenderListComponent } from './lender-list.component';
+
+describe('LenderListComponent', () => {
+ let component: LenderListComponent;
+ let fixture: ComponentFixture;
+
+ beforeEach(async(() => {
+ TestBed.configureTestingModule({
+ declarations: [ LenderListComponent ]
+ })
+ .compileComponents();
+ }));
+
+ beforeEach(() => {
+ fixture = TestBed.createComponent(LenderListComponent);
+ component = fixture.componentInstance;
+ fixture.detectChanges();
+ });
+
+ it('should create', () => {
+ expect(component).toBeTruthy();
+ });
+});
diff --git a/ng6-seed/src/app/template2/lender-list/lender-list.component.ts b/ng6-seed/src/app/template2/lender-list/lender-list.component.ts
new file mode 100644
index 000000000..af8a183e8
--- /dev/null
+++ b/ng6-seed/src/app/template2/lender-list/lender-list.component.ts
@@ -0,0 +1,222 @@
+import { Component, ViewChild, OnInit } from '@angular/core';
+import { MatPaginator, MatSort, MatTableDataSource, MatDialog, PageEvent } from '@angular/material';
+import { FormGroup, FormControl, FormBuilder } from '@angular/forms';
+import { ActivatedRoute, Router, Params } from '@angular/router';
+import { DataSource } from '@angular/cdk/table';
+import { Observable } from 'rxjs/Observable';
+// import { MastersService } from './../../service/masters/masters.service';
+import { MastersService } from './../../settings/service/masters/masters.service';
+/** Dialog Component */
+// import { EntityAddComponent } from './../entity-add/entity.add.component';
+import { EntityAddComponent } from './../../settings/entity/entity-add/entity.add.component';
+// import { EditComponent } from './../entity-edit/entity.edit.component';
+// import { EntityService } from './../../service/entity/entity.service';
+import { EntityService } from './../../settings/service/entity/entity.service';
+import { MasterService } from '../master.service';
+// import { EntityEditComponent } from "./../entity-edit/entity.edit.component";
+/*
+* Questions master List component
+* : kdk
+*/
+
+@Component({
+ selector: 'app-lender-list',
+ templateUrl: './lender-list.component.html',
+ styleUrls: ['./lender-list.component.scss']
+})
+export class LenderListComponent implements OnInit {
+
+ public listView: any = true;
+
+ public enityList: any[] = [];
+ public paginationList: any[] = [];
+ public categories: any = [];
+ public search_cid: any = null;
+ public noQuesMasterRecrdFound: boolean = false;
+
+ public filterFormGroupCtrl: FormGroup;
+
+ // @ViewChild(EntityEditComponent) child;
+
+ // pagination variable details
+ length = 50;
+ pageIndex = 0;
+ pageSize = 10;
+ pageEvent: PageEvent;
+
+ // data source variable details
+ questionListData = null;
+ public dataLength: number;
+ public dataSource = new MatTableDataSource();
+ displayedColumns = ['entity_name', 'name','contact', 'actions'];
+
+ @ViewChild(MatPaginator) paginator: MatPaginator;
+ @ViewChild(MatSort) sort: MatSort;
+
+ constructor(private dialog: MatDialog,
+ private masterService: MasterService,
+ private _formBuilder: FormBuilder,
+ private route: ActivatedRoute,
+ private router: Router,
+ private entityService: EntityService) {
+ // this.filterFormGroupCtrl = this._formBuilder.group({
+ // category: [null, '']
+ // });
+ //<<<---using ()=> syntax
+
+
+
+
+
+ }
+
+ ngOnInit() {
+
+ }
+
+ // get question master list details
+ getEntityListMasters() {
+ this.noQuesMasterRecrdFound = false;
+ // this.search_cid = this.filterFormGroupCtrl.controls.category.value;
+ console.log(this.search_cid + ", " + this.filterFormGroupCtrl);
+ this.masterService.getEntityListMasterDetails().subscribe(
+ data => {
+ console.log(data.records)
+
+
+
+ if (data) {
+ if (data.records) {
+ this.enityList = data.records;
+ // this.questionListData = data.records;
+ this.dataLength = data.records.length;
+ this.dataSource.data = this.enityList;
+ this.dataSource.paginator = this.paginator;
+
+ } else {
+ this.enityList = [];
+ this.dataLength = null;
+ this.noQuesMasterRecrdFound = true;
+ }
+ } else {
+ this.enityList = [];
+ this.dataLength = null;
+ this.noQuesMasterRecrdFound = true;
+ }
+ }
+ )
+ }
+
+ // get category master details
+ getCategorMaster() {
+ this.masterService.getAllMasterData('QUESTIONCATEGORY').subscribe(
+ data => {
+ this.categories = data.records.filter(category => category.isactive == 1);
+ },
+ error => {
+ // this.errorMessage = "No Category Record Found.";
+ }
+ )
+ }
+
+ ngAfterViewInit() {
+ this.getCategorMaster();
+ this.getEntityListMasters();
+ this.dataSource.paginator = this.paginator;
+ this.dataSource.sort = this.sort;
+ }
+
+ applyFilter(filterValue: string) {
+ filterValue = filterValue.trim(); // Remove whitespace
+ filterValue = filterValue.toLowerCase(); // Datasource defaults to lowercase matches
+ this.dataSource.filter = filterValue;
+ }
+
+ // add questions popup model call
+ addNewQuestion() {
+ this.router.navigate(['/setting/entity/add']);
+
+ // const dialogRef = this.dialog.open(EntityAddComponent, {
+ // data: {},
+ // disableClose: true
+ // });
+ // dialogRef.afterClosed()
+ // .subscribe(dataresult => {
+ // this.getQuestionsMasters();
+ // // this.getBranch();
+ // // this.isPopupOpened = false;
+ // });
+ }
+
+ public parentMessage: any = [];
+ editEntity(detail){
+ // this.parentMessage = detail;
+ this.router.navigate([ '../lenderlist/lps', detail.entity_id ], { relativeTo: this.route });
+ this.listView = false;
+ localStorage.setItem('listView', this.listView);
+ localStorage.setItem('entity_id', detail.entity_id);
+
+ console.log(detail)
+ }
+
+ // goToEdit(template_id : number){
+ // this.router.navigate([ '../list/edit', template_id ], { relativeTo: this.route });
+ // this.listView = false;
+ // }
+
+ showListView(status: boolean){
+ // alert(2);
+ this.listView = status;
+ }
+
+ changeListView(){
+
+ this.getEntityListMasters();
+ this.listView = true;
+ }
+
+ // edit questions master details popup model
+// editQuestion(rowDetails: any) {
+// const dialogRef = this.dialog.open(EditComponent, {
+// data: rowDetails,
+// disableClose: true
+// });
+// dialogRef.afterClosed()
+// .subscribe(dataresult => {
+// this.getQuestionsMasters();
+// // this.getBranch();
+// // this.isPopupOpened = false;
+// });
+// }
+
+ // padination page event call
+ pageChange(e) {
+ console.log(e);
+ }
+
+ addNewEntity(): void {
+ const dialogRef = this.dialog.open(EntityAddComponent, {
+ disableClose: true,
+ data: { }
+ });
+
+ dialogRef.afterClosed().subscribe(result => {
+ if(result != null) {
+ this.getEntityListMasters();
+ this.editEntity({'entity_id':result.record});
+ } else {
+
+ }
+ console.log('The dialog was closed');
+ // alert(result);
+ });
+ }
+
+
+}
+
+// {"dataStatus":true,"status":200,"records":
+// [
+// {"entity_id":"4","full_name":"chech","short_name":"check","fk_region":"2","region_name":"South India","fk_state":"2","state_name":"Tamil Nadu","fk_city":"2","city_name":"Chennai","fk_branch":"10","branch_name":"Ahmedabad","addressline1":"c","pincode":"c","official_email":"c@gmail.com","alt_email":"c@gmail.com","phone_number":"3423423444","mobile_no":"234234234","remarks":"234234","createdon":"2018-10-05 05:18:08","fk_createdby":"1","createdby":"sriram v","updatedon":null,"fk_updatedby":null,"updatedby":null,"isactive":"1","pan":"234234","gst_no":"2342","gst_state_code":"dfw","tat":"12","fk_entity_type_id":"2","entity_name":"LENDOR","0":[{"entity_child_id":"1","contact_person":"cc","contact_email":"cc@gmai.com","contact_mobile_no":"23412341234","isactive":"1","createdon":"2018-10-05 05:18:08","fk_createdby":"1","createdby":"sriram v","updatedon":null,"fk_updatedby":null,"updatedby":null}]},
+// {"entity_id":"1","full_name":"ICICI","short_name":"ICICI","fk_region":"1","region_name":"North India","fk_state":"1","state_name":"Jammu and Kashmir","fk_city":"1","city_name":"Srinagar (summer), Jammu (winter)","fk_branch":"1","branch_name":"Main Branch","addressline1":"add1","pincode":"add2","official_email":null,"alt_email":null,"phone_number":null,"mobile_no":null,"remarks":null,"createdon":"2018-09-28 08:55:56","fk_createdby":"1","createdby":"sriram v","updatedon":"2018-10-03 10:11:28","fk_updatedby":null,"updatedby":null,"isactive":"1","pan":null,"gst_no":null,"gst_state_code":null,"tat":null,"fk_entity_type_id":"2","entity_name":"LENDOR","0":[{"entity_child_id":"2","contact_person":"ccee","contact_email":"ccee@gmai.com","contact_mobile_no":"234123412111","isactive":"1","createdon":"2018-10-05 05:18:08","fk_createdby":"1","createdby":"sriram v","updatedon":"2018-10-05 05:18:08","fk_updatedby":"1","updatedby":"sriram v"}]},
+// {"entity_id":"8","full_name":"ICICIedited","short_name":"checkee","fk_region":"2","region_name":"South India","fk_state":"2","state_name":"Tamil Nadu","fk_city":"2","city_name":"Chennai","fk_branch":"10","branch_name":"Ahmedabad","addressline1":"cee","pincode":"cee","official_email":"cee@gmail.com","alt_email":"cee@gmail.com","phone_number":"3423423111","mobile_no":"234234111","remarks":"edietd","createdon":"2018-10-05 05:18:08","fk_createdby":"1","createdby":"sriram v","updatedon":"2018-10-05 05:18:08","fk_updatedby":"1","updatedby":"sriram v","isactive":"1","pan":"234111","gst_no":"2111","gst_state_code":"dfwee","tat":"12111","fk_entity_type_id":"2","entity_name":"LENDOR","0":[]}]}
diff --git a/ng6-seed/src/app/template2/lender-product-seg-mapping/lender-product-seg-mapping.component.html b/ng6-seed/src/app/template2/lender-product-seg-mapping/lender-product-seg-mapping.component.html
new file mode 100644
index 000000000..7a80ddcc0
--- /dev/null
+++ b/ng6-seed/src/app/template2/lender-product-seg-mapping/lender-product-seg-mapping.component.html
@@ -0,0 +1,64 @@
+
+
+
+
+ Lender product and Customer Segment (Add / Edit)
+
+
+
+
+
+
+
diff --git a/ng6-seed/src/app/template2/lender-product-seg-mapping/lender-product-seg-mapping.component.scss b/ng6-seed/src/app/template2/lender-product-seg-mapping/lender-product-seg-mapping.component.scss
new file mode 100644
index 000000000..e69de29bb
diff --git a/ng6-seed/src/app/template2/lender-product-seg-mapping/lender-product-seg-mapping.component.spec.ts b/ng6-seed/src/app/template2/lender-product-seg-mapping/lender-product-seg-mapping.component.spec.ts
new file mode 100644
index 000000000..198274ce7
--- /dev/null
+++ b/ng6-seed/src/app/template2/lender-product-seg-mapping/lender-product-seg-mapping.component.spec.ts
@@ -0,0 +1,25 @@
+import { async, ComponentFixture, TestBed } from '@angular/core/testing';
+
+import { LenderProductSegMappingComponent } from './lender-product-seg-mapping.component';
+
+describe('LenderProductSegMappingComponent', () => {
+ let component: LenderProductSegMappingComponent;
+ let fixture: ComponentFixture;
+
+ beforeEach(async(() => {
+ TestBed.configureTestingModule({
+ declarations: [ LenderProductSegMappingComponent ]
+ })
+ .compileComponents();
+ }));
+
+ beforeEach(() => {
+ fixture = TestBed.createComponent(LenderProductSegMappingComponent);
+ component = fixture.componentInstance;
+ fixture.detectChanges();
+ });
+
+ it('should create', () => {
+ expect(component).toBeTruthy();
+ });
+});
diff --git a/ng6-seed/src/app/template2/lender-product-seg-mapping/lender-product-seg-mapping.component.ts b/ng6-seed/src/app/template2/lender-product-seg-mapping/lender-product-seg-mapping.component.ts
new file mode 100644
index 000000000..c47218c3a
--- /dev/null
+++ b/ng6-seed/src/app/template2/lender-product-seg-mapping/lender-product-seg-mapping.component.ts
@@ -0,0 +1,314 @@
+
+import { Component, ViewChild, OnInit, OnDestroy, Input } from '@angular/core';
+import { MatPaginator, MatSort, MatTableDataSource, MatDialog, PageEvent } from '@angular/material';
+import { FormGroup, FormControl, FormBuilder, Validators, FormArray } from '@angular/forms';
+import { ActivatedRoute, Router, Params } from '@angular/router';
+import { DataSource } from '@angular/cdk/table';
+import { Observable } from 'rxjs/Observable';
+
+import { NotifierService } from 'angular-notifier';
+// import { TemplatesService } from './../../../../service/templates/templates.service';
+
+// import { TemplatesService } from './../../template/service/templates/templates.service';
+import { MasterService } from '../master.service';
+// import { MastersService } from './../../../../service/masters/masters.service';
+
+// import { MastersService } from './../../template/service/masters/masters.service';
+
+@Component({
+ selector: 'app-lender-product-seg-mapping',
+ templateUrl: './lender-product-seg-mapping.component.html',
+ styleUrls: ['./lender-product-seg-mapping.component.scss']
+})
+export class LenderProductSegMappingComponent implements OnInit {
+
+
+ @Input() questionId: number;
+ public noTemplateLendersFound: boolean;
+ public templateLenderRecord: any =[];
+ public template: any =[];
+ public errorMessage;
+
+ public m_lender: any;
+ public m_product: any;
+ public m_customerSegment: any;
+
+ public _editTempLenderFrom: FormGroup;
+ public submitted = false;
+
+
+ /**
+ * Notifier service
+ */
+ private notifier: NotifierService;
+ entity_id: string;
+ index: any;
+ value: any;
+
+
+ constructor(
+ notifier: NotifierService,
+ private masterService: MasterService, private route: ActivatedRoute,
+ private router: Router,
+
+ private _formBuilder: FormBuilder) {
+ this.notifier = notifier;
+ }
+
+ ngOnInit() {
+ this.getTemplateLenderDetails();
+ this.getLenderMasters();
+ this.getProductsMasters();
+ this.getCustomerSegmentMasters();
+ this.get_template_mapping_List();
+ this.template.push(true)
+ this._editTempLenderFrom = this._formBuilder.group({
+ temp_lender: this._formBuilder.array([
+ // this.initAnswers(),
+ ])
+ })
+ }
+ setFormDatas(record) {
+ if (record.length > 0) {
+ for (let val of record) {
+ console.log(val)
+ this.value = val;
+ localStorage.setItem('map_id',val.map_id);
+ let vals = {
+ template_lender_map_id: val.map_id,
+ fk_template_id: val.fk_template_id,
+ fk_lender_id: val.fk_lender_id,
+ fk_product_id: val.product_id,
+ fk_customer_segment: val.customer_segment_id,
+ isactive: val.isactive,
+ };
+ this.addLanguage(vals, null);
+ }
+ }
+ }
+
+ getTemplateLenderDetails() {
+ this.entity_id = localStorage.getItem('entity_id')
+ this.masterService.get_template_mapping_List(this.entity_id).subscribe(
+ data => {
+ if (data) {
+ if (data.records) {
+ this.noTemplateLendersFound = false;
+ if(!data.records){
+ this.template =[]
+ this.templateLenderRecord.push(false)
+ }else{
+ this.templateLenderRecord =[]
+ this.templateLenderRecord = data.records;
+ this.setFormDatas(this.templateLenderRecord);
+ }
+
+ console.log(this.templateLenderRecord)
+
+ // this.templateListData = data.records;
+ // this.dataLength = data.records.length;
+ // this.dataSource.data = this.templateListData;
+ } else {
+ this.noTemplateLendersFound = true;
+ }
+ } else {
+ this.noTemplateLendersFound = true;
+ }
+ }
+ );
+ }
+
+ getLenderMasters() {
+ this.masterService.getLenderMasterListDetails().subscribe(
+ data => {
+ this.m_lender = data.records;
+ },
+ error => {
+ this.notifier.notify('warning', 'No Lender Master Records Found.!');
+ this.errorMessage = "No Lender Master Record Found.";
+ }
+ );
+ }
+ get_template_mapping_List() {
+ this.entity_id = localStorage.getItem('entity_id')
+ this.masterService.get_template_mapping_List( this.entity_id).subscribe(
+ data => {
+ console.log(data)
+ },
+ error => {
+ this.notifier.notify('warning', 'No Lender Master Records Found.!');
+ this.errorMessage = "No Lender Master Record Found.";
+ }
+ );
+ }
+
+ getProductsMasters() {
+ this.masterService.getProductsMasterListDetails().subscribe(
+ data => {
+ console.log(data)
+ this.m_product = data.records;
+ console.log(this.m_product)
+ },
+ error => {
+ this.notifier.notify('warning', 'No Products Master Records Found.!');
+ this.errorMessage = "No Products Master Record Found.";
+ }
+ );
+ }
+
+ getCustomerSegmentMasters() {
+ this.masterService.getCustomerSegmentsMasterListDetails().subscribe(
+ data => {
+ console.log(data)
+ this.m_customerSegment = data.records;
+ console.log( this.m_customerSegment)
+ console.log(this.templateLenderRecord)
+ },
+ error => {
+ this.notifier.notify('warning', 'No Customer Segment Master Records Found.!');
+ this.errorMessage = "No Customer Segment Master Record Found.";
+ }
+ );
+ }
+ editEntity(detail,index){
+ // this.parentMessage = detail;
+ var formValues = this._editTempLenderFrom.value;
+ console.log(formValues)
+ this.masterService.list_2.next(formValues.temp_lender[index]);
+ this.router.navigate([ 'selection-list'], { relativeTo: this.route });
+ //this.listView = false;
+ // localStorage.setItem('entity_id', detail.entity_id);
+
+ console.log(detail)
+ }
+ // convenience getter for easy access to form fields
+ get f() { return this._editTempLenderFrom.controls; }
+
+ // Dynamic Form field creation Functionality : START ===>
+ initAnswers(data) {
+ return this._formBuilder.group({
+ template_lender_map_id: [data.template_lender_map_id],
+ fk_template_id: [data.fk_template_id],
+ fk_lender_id: [data.fk_lender_id, Validators.compose([Validators.required])],
+ fk_product_id: [data.fk_product_id, Validators.compose([Validators.required])],
+ fk_customer_segment: [data.fk_customer_segment, Validators.compose([Validators.required])],
+ isactive: [data.isactive],
+ });
+ }
+ addLanguage(data, e) {
+ console.log(data)
+ if (data == null) {
+ let newDate = {
+ template_lender_map_id: null,
+ fk_template_id: this.questionId,
+ fk_lender_id: null,
+ fk_product_id: null,
+ fk_customer_segment: null,
+ isactive: 1,
+ }
+ const control = this._editTempLenderFrom.controls['temp_lender'];
+ control.push(this.initAnswers(newDate));
+ } else {
+ const control = this._editTempLenderFrom.controls['temp_lender'];
+ control.push(this.initAnswers(data));
+ }
+ }
+ removeLanguage(i: number) {
+ const control = this._editTempLenderFrom.controls['temp_lender'];
+ control.removeAt(i);
+ }
+
+ // END ===>
+
+ save(ans,index){
+ this.index = index;
+ const arr = this._editTempLenderFrom.controls.temp_lender;
+ console.log(this._editTempLenderFrom.controls.temp_lender)
+ console.log(arr)
+ console.log(ans)
+ }
+
+ /** To Save/Edited Popup Data */
+ onSubmit() {
+ this.submitted = true;
+ var formValues = this._editTempLenderFrom.value;
+ console.log(this.templateLenderRecord)
+ console.log(formValues)
+ console.log(this._editTempLenderFrom)
+ console.log(this.index)
+ console.log(localStorage.getItem('entity_id'));
+ this.entity_id = localStorage.getItem('entity_id')
+ console.log(this.value )
+ this.value
+
+ let params = {"records":{"entity_id":this.entity_id,"product_id":formValues.temp_lender[this.index].fk_product_id,"customer_segment_id":formValues.temp_lender[this.index].fk_customer_segment}}
+ console.log(params)
+ //stop here if form is invalid
+ console.log(this._editTempLenderFrom.invalid)
+ // if (this._editTempLenderFrom.invalid) {
+ // console.log("1")
+ // this.notifier.notify('warning', 'Please Fill All Mandate Fields.!');
+ // this.errorMessage = "Please Fill All Mandate Fields.";
+ // return;
+ // } else {
+ // console.log("2")
+ // var formValues = this._editTempLenderFrom.value;
+ // console.log(formValues)
+ //To Remove The "Null" With Key also
+ // Object.keys(formValues).forEach((key) => (formValues[key] == null) && delete formValues[key]);
+ // // alert(JSON.stringify(formValues.temp_lender));
+ // console.log(formValues)
+ if (!this.checkDuplicateInObject(formValues.temp_lender)) {
+ console.log("worked")
+ this.masterService.savedetails(formValues).subscribe(
+ dataresult => {
+ if (dataresult.status == 200) {
+ console.log(dataresult);
+ this.notifier.notify('success', 'Your Changes Updated.!');
+ const arr = this._editTempLenderFrom.controls.temp_lender;
+ arr.controls.splice(0);
+ this.getTemplateLenderDetails();
+ }
+ else {
+ this.notifier.notify('warning', 'Something Went Wrong Try Again.!');
+ this.errorMessage = "Something Went Wrong Try Again.!";
+ }
+ }, error => {
+ this.notifier.notify('error', 'Something Went Wrong Try Again.! \t\"' + (error.error_type == 2 ? error.error_status + ' ( ' + error.error_text + ' ) ' : ' ( ' + error.error_text + ' ) ') +'\" Error Occur.!');
+ this.errorMessage = "Some Thing Wents Wrong Try Again.!";
+ });
+ } else {
+ this.notifier.notify('warning', 'duplication records occured.!');
+ }
+ // }
+ }
+
+ reset() {
+ const arr = this._editTempLenderFrom.controls.temp_lender;
+ arr.controls.splice(0);
+ this.getTemplateLenderDetails();
+ }
+
+
+ checkDuplicateInObject(inputArray) {
+ let seenDuplicate = false;
+ inputArray.map(function (item, index) {
+ let currentVal = inputArray[index];
+ for (let i = index + 1; i < inputArray.length; i++) {
+ if (currentVal.fk_lender_id === inputArray[i].fk_lender_id
+ && currentVal.fk_product_id === inputArray[i].fk_product_id
+ && currentVal.fk_customer_segment === inputArray[i].fk_customer_segment) {
+ console.log('duplication: ' + i);
+ seenDuplicate = true;
+ }
+ }
+ console.log(index);
+ });
+ return seenDuplicate;
+ }
+
+ ngOnDestroy(): void {
+ //Called once, before the instance is destroyed.
+ //Add 'implements OnDestroy' to the class.
+ }
+}
diff --git a/ng6-seed/src/app/template2/master.service.spec.ts b/ng6-seed/src/app/template2/master.service.spec.ts
new file mode 100644
index 000000000..af5ce64bf
--- /dev/null
+++ b/ng6-seed/src/app/template2/master.service.spec.ts
@@ -0,0 +1,12 @@
+import { TestBed } from '@angular/core/testing';
+
+import { MasterService } from './master.service';
+
+describe('MasterService', () => {
+ beforeEach(() => TestBed.configureTestingModule({}));
+
+ it('should be created', () => {
+ const service: MasterService = TestBed.get(MasterService);
+ expect(service).toBeTruthy();
+ });
+});
diff --git a/ng6-seed/src/app/template2/master.service.ts b/ng6-seed/src/app/template2/master.service.ts
new file mode 100644
index 000000000..7b2039547
--- /dev/null
+++ b/ng6-seed/src/app/template2/master.service.ts
@@ -0,0 +1,140 @@
+import { Injectable } from '@angular/core';
+
+// @Injectable({
+// providedIn: 'root'
+// })
+// // export class MasterService {
+
+// // constructor() { }
+// // }
+
+
+/** Common Import Section */
+
+import { BehaviorSubject, Observable } from 'rxjs';//for Datatables
+import { HttpClient } from '@angular/common/http';
+import { catchError } from 'rxjs/operators';
+import { of } from 'rxjs';
+
+/** Imported Service Files Are., */
+
+import { AwsService } from '../AwsService/aws.service';
+
+/** Environment */
+import { environment } from 'environments/environment';
+
+/** Consant Value For Created Date And Updated Date */
+const currentdate = new Date().toJSON().slice(0,19).replace('T',' ');
+
+/** Master Interface */
+export interface Master {
+ master_id:number;
+ master_name:string;
+ constant_name:string;
+}
+
+@Injectable({
+ providedIn: 'root'
+})
+
+export class MasterService {
+ public list_2:BehaviorSubject = new BehaviorSubject([]);
+ public list_2_observable$ = this.list_2.asObservable();
+ public list_3:BehaviorSubject = new BehaviorSubject([]);
+ public list_3_observable$ = this.list_3.asObservable();
+
+// private apiUrl = "http://ssa.sineedge.com/sparqapi/api/";
+private apiUrll = 'http://localhost/sparqapi/api/';
+private apiUrl = environment.apiEndpoint;
+
+
+ constructor(private _http: HttpClient,
+ private _aws:AwsService) { }
+
+
+
+ getAllMasterData(TableName:string): Observable {
+ return this._http.post(this.apiUrl+"getListOfMaster", { "master_name":TableName })
+ .pipe(
+ catchError(this.handleError('role', []))
+ )
+ }
+
+ getEntityListMasterDetails(): Observable {
+ // Add safe, URL encoded search parameter if there is a search term
+ return this._http.get(this.apiUrl + "getListOfLenders");
+ }
+
+ getTemplateIDLenderDetails(temp_id: number): Observable{
+ // Add safe, URL encoded search parameter if there is a search term
+ return this._http.post(this.apiUrl + "getTemplateLenders", {'template_id': temp_id });
+ }
+
+ getProductsMasterListDetails(): Observable {
+ // return this._http.get(this.apiUrl + "getListOfProducts ");
+ return this._http.post(this.apiUrl + "getListOfMaster", { "master_name":"PRODUCTS"});
+ }
+
+ get_template_mapping_List(entity_id): Observable {
+
+ return this._http.get(this.apiUrl + "getTemplateMappingDetailsV2?entity_id="+entity_id);
+
+ }
+ getCustomerSegmentsMasterListDetails(): Observable {
+ // return this._http.get(this.apiUrl + "getListOfCustomerSegments");
+ return this._http.post(this.apiUrl + "getListOfMaster", { "master_name":"CUSTOMERSEGMENT"});
+ }
+
+ loadPDTemplates(map_id: any): Observable{
+ console.log(map_id)
+ return this._http.get(this.apiUrl + "getTemplateFormsV2?map_id="+map_id);
+ //return this._http.get(this.apiUrl + "getTemplateFormsV2?map_id=1");
+ //return this._http.post(this.apiUrl + "getTemplateFormsV2", {"records":{"entity_id":entity_id,"product_id":formValues[0].fk_product_id,"customer_segment_id":formValues[0].fk_customer_segment}} );
+ // return this._http.post(this.apiUrl + "getTemplateFormsV2", {"records":{"entity_id":"42","product_id":"24","customer_segment_id":"5"}} );
+ }
+
+ saveupdatejsondetails(mapid: any,formid:any,json:any): Observable{
+
+ return this._http.post(this.apiUrl + "saveAndUpdateTemplateFormsV2", {"records" : {"map_id": mapid,"form_id": formid, "json":json }});
+ }
+ savedetails(formValues: any): Observable{
+
+ return this._http.post(this.apiUrl + "saveTemplateMappingDetailsV2", {"records":{"entity_id":"5","product_id":formValues.temp_lender[0].fk_product_id,"customer_segment_id":formValues.temp_lender[0].fk_customer_segment}} );
+ }
+ getLenderMasterListDetails(): Observable {
+ return this._http.get(this.apiUrl + "getListOfLenders");
+ }
+ getCompaniesListsForBusiness(map_id): Observable {
+ return this._http.get(this.apiUrl + "getBuinessGroupForms?map_id="+map_id);
+ }
+ disableform(form_id: any,map_id:any,disabled:any): Observable{
+
+ return this._http.post(this.apiUrl + "disableformV2", {"records" : {"form_id":form_id,"map_id":map_id,"is_form_disabled":disabled}});
+ }
+ questionsjson(form_id: any,map_id:any){
+ return this._http.get(this.apiUrl + "questionsV2?form_id="+form_id+"&map_id="+map_id);
+ }
+
+ private extractData(res : Response) {
+
+ let Response = res['_body'];
+ Response = JSON.parse(Response);
+
+ return Response['dataStatus'] === true
+ ? Response['records']
+ : [];
+
+ }
+
+ /**
+ * TO Handle The Error
+ */
+ private handleError(operation = 'operation', result?: T) {
+
+ return (error: any): Observable => {
+ return of(result as T);
+ };
+}
+
+
+}
diff --git a/ng6-seed/src/app/template2/selection-list-view/selection-list-view.component.html b/ng6-seed/src/app/template2/selection-list-view/selection-list-view.component.html
new file mode 100644
index 000000000..2a1e17140
--- /dev/null
+++ b/ng6-seed/src/app/template2/selection-list-view/selection-list-view.component.html
@@ -0,0 +1,71 @@
+
+
+
+
+ Section List Edit Items (Enable / Disable)
+
+
+
+
+
+
+
+
+
+
+
+ {{ formButton.form_name }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ photoButton.form_name }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/ng6-seed/src/app/template2/selection-list-view/selection-list-view.component.scss b/ng6-seed/src/app/template2/selection-list-view/selection-list-view.component.scss
new file mode 100644
index 000000000..d44278cbe
--- /dev/null
+++ b/ng6-seed/src/app/template2/selection-list-view/selection-list-view.component.scss
@@ -0,0 +1,99 @@
+// .child_mat_card mat-card {
+// margin: 2 0%;
+// }
+::ng-deep .mat-dialog-container{
+ overflow: hidden !important;
+}
+ ::ng-deep .mat-card-header-text{
+ margin:0px !important;
+ }
+ .mat-purple{
+ background-color: gray !important;
+ }
+ .cdk-global-overlay-wrapper{
+ justify-content: center !important;
+}
+mat-card.parent_mat_card > {
+ mat-card-header {
+ display: flex;
+ flex-direction: column;
+ }
+ mat-card-content {
+ min-height:auto;
+ max-height:52vh;
+ overflow:auto;
+ }
+
+
+
+ ::ng-deep .mat-menu-content {
+ padding-top: 0px !important;
+ padding-bottom: 0px !important;
+ }
+
+ .mat-menu-item{
+ line-height:35px;
+ height:35px;
+ }
+ .user-thumb {
+ position: absolute;
+ bottom: -35%;
+ // img {
+ // border: 5px solid $white;
+ // border-radius: 100%;
+ // height: 75px;
+ // width: 75px;
+ // }
+}
+ // @media only screen and (max-width:319px) {
+ // mat-card-content {
+ // max-height: 350px;
+ // overflow: auto;
+ // }
+ // }
+ // @media only screen and (min-width:320px) and (max-width:767px) {
+ // mat-card-content {
+ // max-height: 350px;
+ // overflow: auto;
+ // }
+ // }
+ // @media only screen and (min-width:768px) and (max-width:1023px) {
+ // mat-card-content {
+ // max-height: 350px;
+ // overflow: auto;
+ // }
+ // }
+ // @media only screen and (min-width:1024px) and (max-width:1899px) {
+ // mat-card-content {
+ // max-height: 400px;
+ // overflow: auto;
+ // }
+ // }
+ // @media only screen and (min-width:1900px) {
+ // mat-card-content {
+ // max-height: 500px;
+ // overflow: auto;
+ // }
+ // }
+}
+$base-card-box-shadow:1.5px 2.6px 24px 0 rgba(0, 35, 136, 0.08) !important;
+mat-card .child_mat_card > mat-card {
+ border-radius: 0px 0px 0px 15px;
+ box-shadow: $base-card-box-shadow;
+ transform: scale(0.95);
+ transition: box-shadow 0.5s, transform 0.5s;
+ border: 1px solid lavender;
+ &:hover {
+ cursor: pointer;
+ // background-color: #e00201 !important;
+ transform: scale(1);
+ box-shadow: 5px 20px 30px rgba(0, 0, 0, 0.2);
+ }
+
+ }
+
+
+ .my-disable{
+ pointer-events:none;
+ }
+
diff --git a/ng6-seed/src/app/template2/selection-list-view/selection-list-view.component.spec.ts b/ng6-seed/src/app/template2/selection-list-view/selection-list-view.component.spec.ts
new file mode 100644
index 000000000..8ed0e74d6
--- /dev/null
+++ b/ng6-seed/src/app/template2/selection-list-view/selection-list-view.component.spec.ts
@@ -0,0 +1,25 @@
+import { async, ComponentFixture, TestBed } from '@angular/core/testing';
+
+import { SelectionListViewComponent } from './selection-list-view.component';
+
+describe('SelectionListViewComponent', () => {
+ let component: SelectionListViewComponent;
+ let fixture: ComponentFixture;
+
+ beforeEach(async(() => {
+ TestBed.configureTestingModule({
+ declarations: [ SelectionListViewComponent ]
+ })
+ .compileComponents();
+ }));
+
+ beforeEach(() => {
+ fixture = TestBed.createComponent(SelectionListViewComponent);
+ component = fixture.componentInstance;
+ fixture.detectChanges();
+ });
+
+ it('should create', () => {
+ expect(component).toBeTruthy();
+ });
+});
diff --git a/ng6-seed/src/app/template2/selection-list-view/selection-list-view.component.ts b/ng6-seed/src/app/template2/selection-list-view/selection-list-view.component.ts
new file mode 100644
index 000000000..f035d039c
--- /dev/null
+++ b/ng6-seed/src/app/template2/selection-list-view/selection-list-view.component.ts
@@ -0,0 +1,260 @@
+ import {Component, ViewChild, OnInit, ViewEncapsulation, OnDestroy} from '@angular/core';
+import {FormBuilder, FormGroup, Validators, FormControl, FormArray, AbstractControl} from '@angular/forms';
+import {ActivatedRoute, Router} from '@angular/router';
+import {MatDialog } from '@angular/material';
+import {NotifierService} from 'angular-notifier';
+ import {ListPdComponent} from '../../personal-discussion/manage-pd/list-pd/list-pd.component';
+
+import { LoaderService } from 'app/shared/loaderService/loader.service';
+import { PdTrigerService } from 'app/personal-discussion/pd-service/pd-triger.service';
+import { MasterService } from '../master.service';
+import { EditTemplateComponent } from '../edit-template/edit-template.component';
+import { LenderProductSegMappingComponent } from '../lender-product-seg-mapping/lender-product-seg-mapping.component';
+@Component({
+ selector: 'app-selection-list-view',
+ templateUrl: './selection-list-view.component.html',
+ styleUrls: ['./selection-list-view.component.scss']
+})
+export class SelectionListViewComponent implements OnInit {
+
+
+ public startPD: string;
+ public mainApplicantName: string;
+ public randomString: string;
+//public remarks: string;
+ errorMessage: any;
+ selectedCategory: any = [];
+ categoryList: any = [];
+ pdMasterList: any = [];
+ pdFullDetails:any=[];
+
+// category static form buttons
+ categoryFormButtons: any;
+ formsCategoryEnable: boolean = false;
+ selectedFormsCategory: any;
+// create values for status check
+ pdStatusCheck: any = {
+ "DRAFT": 'DRAFT',
+ "TRIGGERED": 'TRIGGERED',
+ "ALLOCATED": 'ALLOCATED',
+ "SCHEDULED": 'SCHEDULED',
+ "INPROGRESS": 'INPROGRESS',
+ "COMPLETED": 'COMPLETED',
+ "QC_COMPLETED": 'QC_COMPLETED',
+ };
+ currentPDStatus: boolean;
+ actualQuestions: number;
+ answeredQuestions: number;
+ private notifier: NotifierService;
+ vendor_status_arr: any = [];
+ photographButtons: any[];
+ formvalue: any;
+ entity_id: string;
+ map_id: any;
+ Record: any = [];
+ isDisabled:any =true;
+
+ constructor(notifier: NotifierService, private dialog: MatDialog, private fb: FormBuilder, private route: ActivatedRoute,
+ private router: Router, private masterService: MasterService,
+ private _pd: PdTrigerService,private loaderService:LoaderService) {
+ this.startPD = this.route.snapshot.params['pdid'];
+ this.randomString = this.route.snapshot.params['rdmstr'];
+ // console.log(this.route.snapshot.params['pdid'],this.route.snapshot.params['rdmstr']);
+ this.notifier = notifier;
+ this.currentPDStatus = false;
+ this.isDisabled = true;
+ }
+
+ ngOnInit() {
+ this.masterService.list_2_observable$.subscribe(res=> {
+ console.log("nav list 3",res)
+ this.formvalue = res
+
+ })
+ // this.listPDComponent.showListView(false);
+ // const elemSidebar = document.querySelector('.app-inner .mail-sidebar');
+ // const elemContent = document.querySelector('.app-inner .main-content');
+
+ // if (window.matchMedia(`(min-width: 960px)`).matches && !this.isMac()) {
+ // // Ps.initialize(elemSidebar, { wheelSpeed: 2, suppressScrollX: true });
+ // // Ps.initialize(elemContent, { wheelSpeed: 2, suppressScrollX: true });
+ // }
+ this.loadTemplates();
+
+
+ //this.getCreditPDTemplate();
+
+
+ }
+ // getCreditPDTemplate() {
+ // // let params = { "fk_entity_id":this.pddetails.fk_lender_id,"fk_product_id":this.pddetails.fk_product_id,"pd_form_id":this.pddetails.pd_id }
+ // let params = { "fk_entity_id":"","fk_product_id":"","pd_form_id":"24","fk_pd_id": this.startPD }
+ // this._pd.loadCreditPDTemplate(params).subscribe(result=> {
+ // let creditTemplate:any = null;
+ // if(result['dataStatus']) {
+ // if(result.hasOwnProperty('records') && result['records']) {
+ // creditTemplate = result['records'];
+ // }
+ // }
+ // localStorage.setItem("dynamicQuesTemplate",JSON.stringify(creditTemplate));
+ // })
+ // }
+
+ isMac(): boolean {
+ let bool = false;
+ if (navigator.platform.toUpperCase().indexOf('MAC') >= 0 || navigator.platform.toUpperCase().indexOf('IPAD') >= 0) {
+ bool = true;
+ }
+ return bool;
+ }
+
+ isOver(): boolean {
+ return window.matchMedia(`(max-width: 960px)`).matches;
+ }
+
+
+ // load templates details
+ loadTemplates(){
+ this.formvalue
+ console.log(this.formvalue.template_lender_map_id)
+ this.entity_id = localStorage.getItem('entity_id')
+ console.log( this.entity_id)
+ let map_id = localStorage.getItem('map_id');
+ console.log(map_id)
+ // console.log('start pd component inside - loadTemplates params are,',startID,type,randomString);
+ this.masterService.loadPDTemplates(this.formvalue.template_lender_map_id).subscribe(
+ data => {
+ console.log("after reponse = ", data);
+ //console.log("after reponse = ", data.records.pdmaster_details);
+
+
+ if (data.status == 200) {
+
+ this.categoryFormButtons = data.records[0].forms
+
+
+
+ this.map_id = data.records[0].map_id
+ localStorage.setItem('map_id',this.map_id);
+
+ }
+
+
+ });
+ }
+
+ // load pd status change dialogue
+ pdStatusDialogue(status: string, checkType: number): void {
+
+ // const dialogRef = this.dialog.open(PdStatusChangeDialogueComponent, {
+ // data: { pdid: this.startPD, pd_status: status ,random_string:this.randomString,pd_type:this.pdMasterList.fk_pd_type },
+ // disableClose: true,
+ // minWidth:'30%',
+ // maxWidth:'40%',
+ // });
+ // dialogRef.afterClosed()
+ // .subscribe(dataresult => {
+ // if(dataresult.update_status==true){
+ // setTimeout(()=>{
+ // checkType==2 ? this.router.navigate(['../../viewpd', this.pdMasterList.parent_pd_id], {relativeTo: this.route}) : this.loadTemplates(this.startPD,2,this.randomString);
+ // let data = {
+ // "pd_id": this.startPD,
+ // "regenerate":0,
+ // "random_string":this.randomString
+ // };
+ // },2000)
+ // // this._pd.archivePDImages(data).subscribe(data => {
+
+ // // })
+ // let data1 = {
+ // "pd_id": this.startPD,
+ // "regenerate":0,
+ // "random_string":this.randomString
+ // };
+ // this._pd.photoPDFDownload(data1).subscribe(data => {
+
+ // })
+
+ // }
+ // else {
+ // checkType==1 ? this.router.navigate(['../../viewpd', this.pdMasterList.parent_pd_id], {relativeTo: this.route}) : this.loadTemplates(this.startPD,2,this.randomString);
+ // }
+ // if(checkType == 2){
+ // // this.loadTemplates(this.startPD,2,this.randomString);
+ // }
+ // });
+}
+ redirect(){
+ //this.router.routeReuseStrategy.shouldReuseRoute = () => false;
+ //this.router.onSameUrlNavigation = 'reload';
+
+ this.router.navigate(['template2/lenderlist']);
+ setTimeout(()=>{ //<<<---using ()=> syntax
+ window.location.reload()
+ }, 1);
+
+ //this.router.navigate([ 'template2/lenderlist'], { relativeTo: this.route });
+ }
+ // start
+ // direct form based questions
+ OnSelectDirectForms(details: any,id:any) {
+
+ console.log(details)
+ console.log(details.is_group_form)
+
+ localStorage.setItem('form_id',details.form_id);
+ if(details.is_group_form == 1){
+ this.masterService.list_3.next(details);
+ console.log(id)
+ this.router.navigate(['Group-form'], { relativeTo: this.route });
+
+
+ }else{
+ this.masterService.list_3.next(details);
+ console.log(id)
+ //this.router.navigate(['Group-form'], { relativeTo: this.route });
+ this.router.navigate(['Edit-template'], { relativeTo: this.route });
+ }
+
+
+
+ }
+ OnSelectform(details,index,disable_key){
+ console.log(details)
+ console.log(index)
+ let form_id = details.form_id;
+ let map_id = this.formvalue.template_lender_map_id;
+ let disabled = disable_key
+
+ this.masterService.disableform(form_id,map_id,disabled).subscribe(
+ dataresult => {
+ if (dataresult.status == 200) {
+ console.log(dataresult);
+ this.notifier.notify('success', 'Your Changes Updated.!');
+ this.loadTemplates();
+ }
+ else {
+ this.notifier.notify('warning', 'Something Went Wrong Try Again.!');
+ this.errorMessage = "Something Went Wrong Try Again.!";
+ }
+ }, error => {
+ this.notifier.notify('error', 'Something Went Wrong Try Again.! \t\"' + (error.error_type == 2 ? error.error_status + ' ( ' + error.error_text + ' ) ' : ' ( ' + error.error_text + ' ) ') +'\" Error Occur.!');
+ this.errorMessage = "Some Thing Wents Wrong Try Again.!";
+ });
+
+
+
+
+
+ }
+
+ ngOnDestroy(): void {
+ // this.listPDComponent.showListView(true);
+ }
+ // load pd view component
+ loadPdViewCompoent() {
+ this.router.navigate(['../../../viewpd', this.pdMasterList.parent_pd_id,this.randomString], {relativeTo: this.route});
+ }
+
+ }
+
diff --git a/ng6-seed/src/app/template2/template2.module.spec.ts b/ng6-seed/src/app/template2/template2.module.spec.ts
new file mode 100644
index 000000000..2b304c656
--- /dev/null
+++ b/ng6-seed/src/app/template2/template2.module.spec.ts
@@ -0,0 +1,13 @@
+import { Template2Module } from './template2.module';
+
+describe('Template2Module', () => {
+ let template2Module: Template2Module;
+
+ beforeEach(() => {
+ template2Module = new Template2Module();
+ });
+
+ it('should create an instance', () => {
+ expect(template2Module).toBeTruthy();
+ });
+});
diff --git a/ng6-seed/src/app/template2/template2.module.ts b/ng6-seed/src/app/template2/template2.module.ts
new file mode 100644
index 000000000..534d26cef
--- /dev/null
+++ b/ng6-seed/src/app/template2/template2.module.ts
@@ -0,0 +1,163 @@
+import { NgModule } from '@angular/core';
+import { CommonModule } from '@angular/common';
+import { RouterModule } from '@angular/router';
+import { Template2Routes } from './template2.routing';
+import { LenderListComponent } from './lender-list/lender-list.component';
+import { NotifierModule, NotifierOptions } from 'angular-notifier';
+import { FlexLayoutModule } from '@angular/flex-layout';
+import { EntityService } from './../settings/service/entity/entity.service';
+import { MasterService } from './master.service';
+import { CKEditorModule } from 'ng2-ckeditor';
+import { PdfViewerModule } from 'ng2-pdf-viewer';
+import {FileUploadModule} from 'ng2-file-upload/ng2-file-upload';
+import {TreeModule} from 'angular-tree-component';
+import {NgxDatatableModule} from '@swimlane/ngx-datatable';
+import {NgxSpinnerModule} from 'ngx-spinner'
+
+import {
+ MatCardModule,
+ MatIconModule,
+ MatInputModule,
+ MatRadioModule,
+ MatButtonModule,MatTableModule,MatPaginatorModule,
+ MatProgressBarModule,MatDialogModule, MatSortModule,
+ MatToolbarModule,MatSelectModule,
+ MatListModule, MatMenuModule,
+ MatCheckboxModule,MatTabsModule,
+ MatExpansionModule,
+ MatChipsModule,
+ MatFormFieldModule
+} from '@angular/material';
+import {A11yModule} from '@angular/cdk/a11y';
+import {PortalModule} from '@angular/cdk/portal';
+import {CdkStepperModule} from '@angular/cdk/stepper';
+import {CdkTableModule} from '@angular/cdk/table';
+import {CdkTreeModule} from '@angular/cdk/tree';
+import {MatSlideToggleModule} from '@angular/material/slide-toggle';
+import { FormsModule, ReactiveFormsModule } from '@angular/forms';
+import { NgxMatSelectSearchModule } from 'ngx-mat-select-search';
+import { MatTooltipModule } from '@angular/material/tooltip';
+import { LenderProductSegMappingComponent } from './lender-product-seg-mapping/lender-product-seg-mapping.component';
+import { SelectionListViewComponent } from './selection-list-view/selection-list-view.component';
+import { EditTemplateComponent } from './edit-template/edit-template.component';
+import {
+
+ MatAutocompleteModule,
+ MatBadgeModule,
+ MatBottomSheetModule,
+ MatButtonToggleModule,
+ MatDatepickerModule,
+ MatDividerModule,
+ MatGridListModule,
+ MatNativeDateModule,
+ MatProgressSpinnerModule,
+ MatRippleModule,
+ MatSidenavModule,
+ MatSliderModule,
+ MatSnackBarModule,
+ MatStepperModule,
+ MatTreeModule,
+} from '@angular/material';
+import { FormGroupComponent } from './form-group/form-group.component';
+
+const customNotifierOptions: NotifierOptions = {
+ position: {
+ horizontal: {
+ position: 'right',
+ distance: 12
+ },
+ vertical: {
+ position: 'top',
+ distance: 32,
+ gap: 10
+ }
+ },
+ theme: 'material',
+ behaviour: {
+ autoHide: 5000,
+ onClick: 'hide',
+ onMouseover: 'pauseAutoHide',
+ showDismissButton: true,
+ stacking: 4
+ },
+ animations: {
+ enabled: true,
+ show: {
+ preset: 'slide',
+ speed: 300,
+ easing: 'ease'
+ },
+ hide: {
+ preset: 'fade',
+ speed: 300,
+ easing: 'ease',
+ offset: 50
+ },
+ shift: {
+ speed: 300,
+ easing: 'ease'
+ },
+ overlap: 150
+ }
+};
+@NgModule({
+ imports: [
+ A11yModule,
+ PortalModule,
+ CdkStepperModule,
+ CdkTableModule,
+ CommonModule,
+ CdkTreeModule,
+ PdfViewerModule,FileUploadModule,TreeModule,NgxDatatableModule,NgxSpinnerModule,
+
+
+
+ CKEditorModule,
+ NotifierModule.withConfig(customNotifierOptions),
+ FlexLayoutModule,
+ MatCardModule,
+ MatIconModule,
+ MatInputModule,
+ MatRadioModule,
+ MatButtonModule,MatTableModule,MatPaginatorModule,
+ MatProgressBarModule,MatDialogModule, MatSortModule,
+ MatToolbarModule,MatSelectModule,MatListModule, MatMenuModule,
+ MatCheckboxModule,
+ MatTooltipModule,
+ MatTabsModule,
+ MatChipsModule,
+ MatExpansionModule,
+ MatSlideToggleModule,
+ FormsModule,
+ NgxMatSelectSearchModule,
+ ReactiveFormsModule,
+ MatFormFieldModule,
+ MatAutocompleteModule,
+ MatBadgeModule,
+ MatBottomSheetModule,
+ MatButtonToggleModule,
+ MatDatepickerModule,
+ MatDividerModule,
+ MatGridListModule,
+ MatNativeDateModule,
+ MatProgressSpinnerModule,
+ MatRippleModule,
+ MatSidenavModule,
+ MatSliderModule,
+ MatSnackBarModule,
+ MatStepperModule,
+ MatTreeModule,
+ RouterModule.forChild(Template2Routes),
+ ],
+ declarations: [LenderListComponent, LenderProductSegMappingComponent, SelectionListViewComponent, EditTemplateComponent, FormGroupComponent],
+ entryComponents: [EditTemplateComponent],
+ exports: [
+ EditTemplateComponent
+],
+ providers : [
+ MasterService,EditTemplateComponent
+ ]
+})
+export class Template2Module { }
+
+
diff --git a/ng6-seed/src/app/template2/template2.routing.ts b/ng6-seed/src/app/template2/template2.routing.ts
new file mode 100644
index 000000000..10bcc7323
--- /dev/null
+++ b/ng6-seed/src/app/template2/template2.routing.ts
@@ -0,0 +1,93 @@
+import { Routes } from '@angular/router';
+import { EditTemplateComponent } from './edit-template/edit-template.component';
+import { FormGroupComponent } from './form-group/form-group.component';
+import { LenderListComponent } from './lender-list/lender-list.component';
+import { LenderProductSegMappingComponent } from './lender-product-seg-mapping/lender-product-seg-mapping.component';
+import { SelectionListViewComponent } from './selection-list-view/selection-list-view.component';
+import { Template2Module } from './template2.module';
+export const Template2Routes: Routes = [
+
+ {
+ path: '',
+ redirectTo: 'lenderlist',
+ pathMatch: 'full',
+ },{
+ path: '',
+ children: [
+ {
+ path: 'lenderlist',
+ component: LenderListComponent,
+ children: [
+ {
+ path: 'lps/:question-id',
+ component: LenderProductSegMappingComponent,
+ },
+ {
+ path: 'lps/:question-id/selection-list',
+ component: SelectionListViewComponent,
+ },
+ {
+ path: 'lps/:question-id/selection-list/Edit-template',
+ component: EditTemplateComponent,
+ },
+ {
+ path: 'lps/:question-id/selection-list/Group-form',
+ component: FormGroupComponent,
+ },
+ {
+ path: 'lps/:question-id/selection-list/Group-form/Edit-template',
+ component: EditTemplateComponent,
+ }
+ ]
+ },
+ // {
+ // path: 'add',
+ // component: EntityAddComponent,
+ // },
+ // {
+ // path: 'edit',
+ // component: EntityEditComponent,
+ // }
+ ]
+ }
+
+ // {
+
+
+ // path: '',
+ // pathMatch: 'full',
+ // redirectTo: 'lenderlist'
+ // },
+
+
+ // {
+ // path: 'lenderlist',
+ // component: LenderListComponent,
+ // children: [
+
+ // {
+ // path: 'lps/:question-id',
+ // component: LenderProductSegMappingComponent,
+ // },
+ // {
+ // path: 'lps/:question-id/selection-list',
+ // component: SelectionListViewComponent,
+ // },
+ // {
+ // path: 'lps/:question-id/selection-list/Edit-template',
+ // component: EditTemplateComponent,
+ // },
+ // {
+ // path: 'lps/:question-id/selection-list/Group-form',
+ // component: FormGroupComponent,
+ // },
+ // {
+ // path: 'lps/:question-id/selection-list/Group-form/Edit-template',
+ // component: EditTemplateComponent,
+ // }
+
+ // ]
+ // }
+
+
+ ]
diff --git a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/BACKUP/1.json b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/BACKUP/1.json
new file mode 100644
index 000000000..a2857c1ff
--- /dev/null
+++ b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/BACKUP/1.json
@@ -0,0 +1,315 @@
+{
+ "section_id":"1",
+ "section_name":"Borrower & Guarantor Details",
+ "onsubmit":null,
+ "questions":[
+ {
+ "question":[{
+ "question":"Borrower Type",
+ "question_key":"borrower_type",
+ "type":"1",
+ "field_width":"100",
+ "answers":null,
+ "api_properties":null,
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"relationship",
+ "expression":"(String('borrower_type').toLowerCase() != String('guarantor'))",
+ "value_keys":[
+ "borrower_type"
+ ],
+ "questions":[
+ {
+ "question":"Numbers of years for which the business has been running",
+ "question_key":"numbers_of_years_business_running",
+ "type":"1",
+ "field_width":"45",
+ "field_type":"num",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_subfield":"1",
+ "parent_question_key":"entity_type",
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "purpose":"validations",
+ "validations":[{
+ "value_keys":["borrower_type"],
+ "value":"(String('borrower_type').toLowerCase() != String('guarantor'))",
+ "validation_to":"borrower_age",
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Required"
+ }]}
+ ],
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Name",
+ "question_key":"borrower_name",
+ "type":"1",
+ "field_width":"100",
+ "onchange_properties":null,
+ "api_properties":null,
+ "answers":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "questions_level_two":[
+ {
+ "question":"Mobile Number",
+ "question_key":"mobile_no",
+ "type":"1",
+ "field_type":"num",
+ "field_width":"100",
+ "onchange_properties":null,
+ "api_properties":null,
+ "answers":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"pattern",
+ "isactive":"1",
+ "validator":"[0-9]{10}",
+ "message":"Mobile number should be 10 digit",
+ "value":null
+ }
+ ]
+ }
+ ],
+ "is_repeatable":"2",
+ "group_key":"mobile_numbers",
+ "group_title":"Mobile Number"
+ },
+ {
+ "question":"Entity Type",
+ "question_key":"entity_type",
+ "type":"1",
+ "field_width":"100",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"relationship",
+ "expression":"(String('entity_type').toLowerCase() == String('individual'))",
+ "value_keys":[
+ "entity_type"
+ ],
+ "questions":[
+ {
+ "question":"Age",
+ "question_key":"borrower_age",
+ "type":"1",
+ "field_type":"num",
+ "field_width":"50",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_subfield":"1",
+ "parent_question_key":"entity_type",
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ }
+ ]},
+ {
+ "insert_index":"relationship",
+ "expression":"(String('entity_type').toLowerCase() == String('individual'))",
+ "value_keys":[
+ "entity_type"
+ ],
+ "questions":[
+ {
+ "question":"Met / Not Met",
+ "question_key":"borrower_met",
+ "type":"2",
+
+ "field_width":"20",
+ "api_properties":null,
+ "answers":[
+ {
+ "answer_id":"Yes",
+ "answer":"Yes"
+ },
+ {
+ "answer_id":"No",
+ "answer":"No"
+ }
+ ],
+ "onchange_properties":null,
+ "is_subfield":"1",
+ "parent_question_key":"entity_type",
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ }
+ ]
+ }
+
+ ]
+ },
+ {
+ "purpose":"question_label",
+ "expression":"(function () {let label= '';(String('entity_type').toLowerCase().includes('individual')) ? label= 'Number of years the borrower has been in this business.' : label = 'Number of years for which the business has been running';return label}())",
+ "value_keys":[
+ "entity_type"
+ ],
+ "insert_control":"numbers_of_years_business_running"
+ },
+ {
+ "purpose":"validations",
+ "validations":[{
+ "value_keys":["borrower_type"],
+ "value":"(String('borrower_type').toLowerCase() != String('guarantor'))",
+ "validation_to":"borrower_age",
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Required"
+ }]}
+ ],
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Designation",
+ "question_key":"designation",
+ "type":"1",
+ "field_width":"100",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Relationship to",
+ "question_key":"relationship_to",
+ "type":"1",
+ "field_width":"100",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Relationship",
+ "question_key":"relationship",
+ "type":"1",
+ "field_width":"100",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ }
+
+
+
+ ],
+ "is_repeatable":"1",
+ "group_key":"borrower_details",
+ "group_title":"Borrower Details"},
+ {
+ "question_key":"common_remarks",
+ "question":"Remarks",
+ "place_holder":"Enter the text",
+ "type":"7",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"45",
+ "validations":[
+ ]
+ }
+ ]
+}
diff --git a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/BACKUP/10.json b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/BACKUP/10.json
new file mode 100644
index 000000000..9ee4a9b08
--- /dev/null
+++ b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/BACKUP/10.json
@@ -0,0 +1,721 @@
+{
+ "section_id": "10",
+ "section_name": "Financial Information",
+ "onsubmit": [
+ {
+ "expression": "(function (){let sum_val=null;let ques_key=[];if(!control || control == undefined || control == null){return true};control.forEach(ques_obj=>{ques_key.push(ques_obj[submitProperty.key_name])});console.log('none',ques_key);return new Set(ques_key).size === ques_key.length}())",
+ "group_key": "financial_info",
+ "key_name": "fy",
+ "msg": "Financial Year already entered earlier"
+ }
+ ],
+ "questions": [
+ {
+ "question":"Is the Financial information available?",
+ "question_key":"financial_info_available",
+ "type":"2",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"financial_info_available",
+ "expression":"(String('financial_info_available') && String('financial_info_available').toLowerCase() == String('yes'))",
+ "value_keys":[
+ "financial_info_available"
+ ],
+ "questions":[
+ {
+ "question": "Net Profit / (Net Loss) (Rs)",
+ "question_key": "net_profit_rs",
+ "place_holder": "Enter the text",
+ "type": "1",
+ "field_width": "45",
+ "api_properties": null,
+ "answers": null,
+ "is_repeatable": null,
+ "field_type": "numtoword",
+ "validations": [
+
+ ],
+ "onchange_properties": [
+ {
+ "purpose": "answer_value",
+ "expression": "((Number(net_profit_rs)/Number(sales_amount))*100).toFixed(2)",
+ "value_keys": [
+ "sales_amount",
+ "net_profit_rs"
+ ],
+ "insert_control": "net_profit_to_sales_percent"
+ }
+ ]
+ },
+ {
+ "question": "Net Profit or (Net Loss) to Sales % ",
+ "question_key": "net_profit_to_sales_percent",
+ "place_holder": "Enter number",
+ "type": "1",
+ "field_width": "45",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": [
+ {
+ "purpose": "answer_value",
+ "expression": "(Number(sales_amount)*Number(net_profit_to_sales_percent))/100",
+ "value_keys": [
+ "sales_amount",
+ "net_profit_to_sales_percent"
+ ],
+ "insert_control": "net_profit_rs"
+ }
+ ],
+ "is_repeatable": null,
+ "field_type": "num",
+ "validations": [
+
+ {
+ "name": "max",
+ "validator": "100",
+ "isactive": "1",
+ "message": "Number must be less than 100",
+ "value": null
+ }
+ ]
+ },
+ {
+ "question": "Sales / Revenue (Rs)",
+ "sub_title": "Particulars of Financials for Latest Year as per person met during PD visit",
+ "question_key": "sales_amount",
+ "place_holder": "Enter text",
+ "type": "1",
+ "field_width": "100",
+ "field_type": "numtoword",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": [
+ {
+ "purpose": "answer_value",
+ "expression": "(function (){let final_value; Number(net_profit_to_sales_percent) ? final_value = (Number(sales_amount)*Number(net_profit_to_sales_percent))/100 : '';return final_value}())",
+ "value_keys": [
+ "sales_amount",
+ "net_profit_to_sales_percent"
+ ],
+ "insert_control": "net_profit_rs"
+ },
+ {
+ "purpose": "answer_value",
+ "expression": "(function (){let final_value; Number(net_profit_rs) ? final_value = (Number(net_profit_rs)/Number(sales_amount))*100 : '';return final_value.toFixed(2)}())",
+ "value_keys": [
+ "sales_amount",
+ "net_profit_rs"
+ ],
+ "insert_control": "net_profit_to_sales_percent"
+ }
+ ],
+ "is_repeatable": null,
+ "validations": [
+
+ ]
+ },
+ {
+ "question": "Does the business have any working capital facility from any lender other than Moneywise?",
+ "question_key": "is_any_other_working_captial_facility",
+ "type": "2",
+ "field_width": "45",
+ "answers": [
+ {
+ "answer": "Yes",
+ "answer_id": "Yes"
+ },
+ {
+ "answer": "No",
+ "answer_id": "No"
+ }
+ ],
+ "api_properties": null,
+ "onchange_properties": [
+ {
+ "purpose": "FORM_CTRL",
+ "form_controls": [
+ {
+ "insert_index": "is_any_other_working_captial_facility",
+ "expression": "(String('is_any_other_working_captial_facility') === String('Yes'))",
+ "value_keys": [
+ "is_any_other_working_captial_facility"
+ ],
+ "questions": [
+ {
+ "question": "Details of above facilities need to be entered",
+ "question_key": "facility_details_specify",
+ "type": "7",
+ "placeholder": "Enter the text",
+ "answers": null,
+ "api_properties": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "is_subfield": "1",
+ "parent_question_key": "is_any_other_working_captial_facility",
+ "validations": [
+
+ ]
+ },
+ {
+ "question": "Facility details i.e. Letter of Credit/ Bank guarantee, CC limit etc.",
+ "question_key": "facility_details_other_lender",
+ "type": "3",
+ "field_width": "45",
+ "answers": [
+ {
+ "answer": "Letter of Credit",
+ "answer_id": "Letter of Credit"
+ },
+ {
+ "answer": "Bank guarantee",
+ "answer_id": "Bank guarantee"
+ },
+ {
+ "answer": "CC limit",
+ "answer_id": "CC limit"
+ },
+ {
+ "answer": "Others",
+ "answer_id": "Others"
+ }
+ ],
+ "api_properties": null,
+ "onchange_properties": [
+ {
+ "purpose": "FORM_CTRL",
+ "form_controls": [
+ {
+ "insert_index": "facility_details_other_lender",
+ "expression": "(String('facility_details_other_lender').toLowerCase() == String('others'))",
+ "value_keys": [
+ "facility_details_other_lender"
+ ],
+ "questions": [
+ {
+ "question": "Specify Facility details",
+ "question_key": "facility_details_other",
+ "type": "1",
+ "field_width": "45",
+ "field_type": "string",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "is_subfield": "1",
+ "parent_question_key": "facility_details_other_lender",
+ "validations": []
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "is_repeatable": null,
+ "is_subfield": "1",
+ "parent_question_key": "is_any_other_working_captial_facility",
+ "validations": [
+
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "is_repeatable": null,
+ "validations": [
+
+ ]
+ },
+ {
+ "question": "Increase / Decrease in Turnover for Broken Period %",
+ "question_key": "broken_period_turnover_percent",
+ "type": "1",
+ "field_width": "45",
+ "answers": null,
+ "api_properties": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "field_type": "num",
+ "validations": [
+
+ ]
+ },
+ {
+ "question": "Turnover for Broken Period in PY (Rs)",
+ "question_key": "broken_period_turnover_py",
+ "type": "1",
+ "field_width": "45",
+ "answers": null,
+ "api_properties": null,
+ "onchange_properties": [
+ {
+ "purpose": "answer_value",
+ "expression": "(((Number(broken_period_turnover_cy)-Number(broken_period_turnover_py))/Number(broken_period_turnover_cy))*100).toFixed(2)",
+ "value_keys": [
+ "broken_period_turnover_py",
+ "broken_period_turnover_cy"
+ ],
+ "insert_control": "broken_period_turnover_percent"
+ }
+ ],
+ "is_repeatable": null,
+ "field_type": "numtoword",
+ "validations": [
+
+ ]
+ },
+ {
+ "question": "Turnover for Broken Period in CY (Rs)",
+ "question_key": "broken_period_turnover_cy",
+ "type": "1",
+ "field_width": "45",
+ "answers": null,
+ "api_properties": null,
+ "onchange_properties": [
+ {
+ "purpose": "answer_value",
+ "expression": "(((Number(broken_period_turnover_cy)-Number(broken_period_turnover_py))/Number(broken_period_turnover_cy))*100).toFixed(2)",
+ "value_keys": [
+ "broken_period_turnover_py",
+ "broken_period_turnover_cy"
+ ],
+ "insert_control": "broken_period_turnover_percent"
+ }
+ ],
+ "is_repeatable": null,
+ "field_type": "numtoword",
+ "validations": [
+
+ ]
+ },
+ {
+ "question": "No of Months",
+ "question_key": "broken_period_no_of_months",
+ "type": "1",
+ "field_width": "45",
+ "answers": null,
+ "api_properties": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "field_type": "num",
+ "validations": [
+
+ ]
+ },
+ {
+ "question": "Broken Period starting to (Date)",
+ "question_key": "broken_period_to_month",
+ "type": "1",
+ "place_holder": "DD-MM-YYYY (Eg 03-12-2020)",
+ "field_width": "45",
+ "answers": null,
+ "api_properties": null,
+ "onchange_properties": [
+ {
+ "purpose": "answer_value",
+ "expression": "(function (){let final_value = ''; if(String('broken_period_to_month') && String('broken_period_from_month')) {let from_date = new Date((String('broken_period_from_month')).split('-').reverse().join('-'));let to_date = new Date((String('broken_period_to_month')).split('-').reverse().join('-'));console.log(to_date);if(!from_date || !to_date || !from_date instanceof Date || !to_date instanceof Date || isNaN(from_date) || isNaN(to_date)) {final_value = '';return;}final_value = to_date.getMonth() - from_date.getMonth() + (12 * (to_date.getFullYear() - from_date.getFullYear()))};return final_value}())",
+ "value_keys": [
+ "broken_period_to_month",
+ "broken_period_from_month"
+ ],
+ "insert_control": "broken_period_no_of_months"
+ }
+ ],
+ "is_repeatable": null,
+ "field_type": "string",
+ "validations": [
+
+ ]
+ },
+ {
+ "question": "Broken Period starting from (Date)",
+ "question_key": "broken_period_from_month",
+ "type": "1",
+ "field_width": "45",
+ "place_holder": "DD-MM-YYYY (Eg 05-02-2020)",
+ "answers": null,
+ "api_properties": null,
+ "onchange_properties": [
+ {
+ "purpose": "answer_value",
+ "expression": "(function (){let final_value = ''; if(String('broken_period_to_month') && String('broken_period_from_month')) {let from_date = new Date((String('broken_period_from_month')).split('-').reverse().join('-'));let to_date = new Date((String('broken_period_to_month')).split('-').reverse().join('-'));console.log(to_date);if(!from_date || !to_date || !from_date instanceof Date || !to_date instanceof Date || isNaN(from_date) || isNaN(to_date)) {final_value = '';return;}final_value = to_date.getMonth() - from_date.getMonth() + (12 * (to_date.getFullYear() - from_date.getFullYear()))};return final_value}())",
+ "value_keys": [
+ "broken_period_to_month",
+ "broken_period_from_month"
+ ],
+ "insert_control": "broken_period_no_of_months"
+ }
+ ],
+ "is_repeatable": null,
+ "field_type": "string",
+ "validations": [
+
+ ]
+ },
+ {
+ "question": "Inventory Days as per CM Discussion",
+ "question_key": "inventory_days_cm",
+ "type": "1",
+ "field_width": "45",
+ "answers": null,
+ "api_properties": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "field_type": "num",
+ "validations": [
+
+ ]
+ },
+ {
+ "question": "Creditor Days as per CM Discussion",
+ "question_key": "creditor_days_cm",
+ "type": "1",
+ "field_width": "45",
+ "answers": null,
+ "api_properties": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "field_type": "num",
+ "validations": [
+
+ ]
+ },
+ {
+ "question": "Debtor Days as per CM Discussion",
+ "question_key": "debtor_days_cm",
+ "type": "1",
+ "field_width": "45",
+ "answers": null,
+ "api_properties": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "field_type": "num",
+ "validations": [
+
+ ]
+ },
+ {
+ "question": [
+ {
+ "question": "Enter FY",
+ "question_key": "fy",
+ "type": "3",
+ "field_width": "45",
+ "answers": [],
+ "answer_value": "GET_FY_YEARS",
+ "api_properties": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "field_type": "num",
+ "validations": [
+ ]
+ },
+ {
+ "question": "Sales / Revenue (Rs)",
+ "question_key": "sales_revenue",
+ "type": "1",
+ "field_width": "45",
+ "answers": null,
+ "api_properties": null,
+ "onchange_properties": [
+ {
+ "purpose": "answer_value",
+ "expression": "((Number(net_profit)/Number(sales_revenue))*100).toFixed(2)",
+ "value_keys": [
+ "sales_revenue",
+ "net_profit"
+ ],
+ "insert_control": "net_profit_sales_percent"
+ },
+ {
+ "purpose": "answer_value_arr",
+ "arr_include": [
+ "py",
+ "now"
+ ],
+ "expression": "((Number(sales_revenue[now])-Number(sales_revenue[py]))/Number(sales_revenue[py]))*100",
+ "value_keys": [
+ "sales_revenue"
+ ],
+ "insert_control": "sales_py"
+ },
+ {
+ "purpose": "answer_value_arr",
+ "arr_include": [
+ "py",
+ "now"
+ ],
+ "expression": "(((Number(net_profit_sales_percent[now])-Number(net_profit_sales_percent[py]))/Number(net_profit_sales_percent[py]))*100).toFixed(2)",
+ "value_keys": [
+ "net_profit_sales_percent"
+ ],
+ "insert_control": "netprofit_py_percent"
+ }
+ ],
+ "is_repeatable": null,
+ "field_type": "numtoword",
+ "validations": [
+
+ ]
+ },
+ {
+ "question": "Net Profit / (Net Loss) (Rs) ",
+ "question_key": "net_profit",
+ "type": "1",
+ "field_width": "45",
+ "answers": null,
+ "api_properties": null,
+ "onchange_properties": [
+ {
+ "purpose": "answer_value",
+ "expression": "((Number(net_profit)/Number(sales_revenue))*100).toFixed(2)",
+ "value_keys": [
+ "sales_revenue",
+ "net_profit"
+ ],
+ "insert_control": "net_profit_sales_percent"
+ },
+ {
+ "purpose": "answer_value_arr",
+ "arr_include": [
+ "py",
+ "now"
+ ],
+ "expression": "((Number(net_profit[now])-Number(net_profit[py]))/Number(net_profit[py]))*100",
+ "value_keys": [
+ "net_profit"
+ ],
+ "insert_control": "netprofit_py"
+ },
+ {
+ "purpose": "answer_value_arr",
+ "arr_include": [
+ "py",
+ "now"
+ ],
+ "expression": "(((Number(net_profit_sales_percent[now])-Number(net_profit_sales_percent[py]))/Number(net_profit_sales_percent[py]))*100).toFixed(2)",
+ "value_keys": [
+ "net_profit_sales_percent"
+ ],
+ "insert_control": "netprofit_py_percent"
+ }
+ ],
+ "is_repeatable": null,
+ "field_type": "numtoword",
+ "validations": [
+
+ ]
+ },
+ {
+ "question": "Net Profit or (Net Loss) to Sales % ",
+ "question_key": "net_profit_sales_percent",
+ "type": "1",
+ "is_disabled": "1",
+ "field_width": "45",
+ "answers": null,
+ "api_properties": null,
+ "onchange_properties": [
+ {
+ "purpose": "answer_value_arr",
+ "arr_include": [
+ "py",
+ "now"
+ ],
+ "expression": "(((Number(net_profit_sales_percent[now])-Number(net_profit_sales_percent[py]))/Number(net_profit_sales_percent[py]))*100).toFixed(2)",
+ "value_keys": [
+ "net_profit_sales_percent"
+ ],
+ "insert_control": "netprofit_py_percent"
+ }
+ ],
+ "is_repeatable": null,
+ "field_type": "num",
+ "validations": [
+
+ ]
+ },
+ {
+ "question": "% Variation in Sales over PY",
+ "question_key": "sales_py",
+ "type": "1",
+ "is_disabled": "1",
+ "field_width": "45",
+ "answers": null,
+ "api_properties": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "field_type": "num",
+ "validations": [
+
+ ]
+ },
+ {
+ "question": "% Variation in Net Profit over PY",
+ "question_key": "netprofit_py",
+ "type": "1",
+ "is_disabled": "1",
+ "field_width": "45",
+ "answers": null,
+ "api_properties": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "field_type": "num",
+ "validations": [
+
+ ]
+ },
+ {
+ "question": "Variation in Net Profit % over PY",
+ "question_key": "netprofit_py_percent",
+ "type": "1",
+ "is_disabled": "1",
+ "field_width": "45",
+ "answers": null,
+ "api_properties": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "field_type": "num",
+ "validations": [
+
+ ]
+ },
+ {
+ "question": "Debtor Days as per CET",
+ "sub_title": "In Case of credit sales, what is the average no. of days taken to receive the money?",
+ "question_key": "debtor_days_cet",
+ "type": "1",
+ "field_width": "100",
+ "answers": null,
+ "api_properties": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "field_type": "num",
+ "validations": [
+
+ ]
+ },
+ {
+ "question": "Creditor Days as per CET",
+ "sub_title": "In Case of credit purchases, what is the average no. of days taken to pay the money?",
+ "question_key": "creditor_days_cet",
+ "type": "1",
+ "field_width": "100",
+ "answers": null,
+ "api_properties": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "field_type": "num",
+ "validations": [
+
+ ]
+ },
+ {
+ "question": "Inventory Days as per CET",
+ "sub_title": "What is the average no. of days for which stock lies unsold during the year?",
+ "question_key": "inventory_days_cet",
+ "type": "1",
+ "field_width": "100",
+ "answers": null,
+ "api_properties": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "field_type": "num",
+ "validations": [
+
+ ]
+ }
+ ],
+ "is_repeatable": "1",
+ "group_key": "financial_info",
+ "group_title": "Financial Information"
+ },
+ {
+ "question":"Name of the Company",
+ "question_key":"company_name",
+ "place_holder":"Enter text",
+ "type":"3",
+ "api_properties":{
+ "api":"getCompanyListForSMCList",
+ "api_method":"POST",
+ "params":{"records":{
+ "pd_id":"VAR_PD_ID",
+ "random_string":"VAR_RANDOM_STRING"
+ }},
+ "fields":[
+ "company_id",
+ "borrower_name"
+ ]
+ },
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Company Name Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question": "Number of financial years for which we have financials",
+ "question_key": "no_of_financial_years",
+ "place_holder": "Enter the number",
+ "type": "1",
+ "field_width": "45",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "field_type": "num",
+ "validations": [
+ {
+ "name": "pattern",
+ "isactive": "1",
+ "validator": "[0-9]*",
+ "message": "Numeric only ",
+ "value": null
+ }
+ ]
+ }
+ ]
+ }]
+ }],
+ "is_repeatable":null,
+ "answers":[{
+ "answer":"Yes",
+ "answer_id":"yes"
+ },
+ {
+ "answer":"No",
+ "answer_id":"no"
+ }],
+ "validations":[
+
+ ]
+ },
+
+ {
+ "question_key": "common_remarks",
+ "question": "Remarks",
+ "place_holder": "Enter the text",
+ "type": "7",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "field_type": "string",
+ "field_width": "45",
+ "validations": []
+ }
+ ]
+}
\ No newline at end of file
diff --git a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/BACKUP/11.json b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/BACKUP/11.json
new file mode 100644
index 000000000..faaaa4c2a
--- /dev/null
+++ b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/BACKUP/11.json
@@ -0,0 +1,359 @@
+{
+ "section_id":"11",
+ "section_name":"Supplier details",
+ "onsubmit":null,
+ "questions":[
+ {
+ "question":"Is the Supplier information available?",
+ "question_key":"supplier_info_available",
+ "type":"2",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"supplier_info_available",
+ "expression":"(String('supplier_info_available') == String('No'))",
+ "value_keys":[
+ "supplier_info_available"
+ ],
+ "questions":[
+ { "question":"Reason",
+ "question_key":"supplier_not_available_reason",
+ "type":"7",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"supplier_info_available",
+ "answers":null,
+ "validations":[
+
+ ]
+ } ] } ] },
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"supplier_info_available",
+ "expression":"(String('supplier_info_available') == String('Yes'))",
+ "value_keys":[
+ "supplier_info_available"
+ ],
+ "questions":[
+ {
+ "question":[{
+ "question":"Raw Material Name/ Trading Product Name/ Service Name",
+ "question_key":"provider_name",
+ "type":"1",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"supplier_info_available",
+ "answers":null,
+ "validations":[
+
+ ]
+ },
+ {
+ "question":"Supplier Name",
+ "question_key":"supplier_name",
+ "type":"1",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"supplier_info_available",
+ "answers":null,
+ "validations":[
+
+ ]
+ },
+ {
+ "question":"Contact Person name",
+ "question_key":"contact_person_name",
+ "type":"1",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"supplier_info_available",
+ "answers":null,
+ "validations":[
+
+ ]
+ },
+ {
+ "question":"Contact Person Designation",
+ "question_key":"contact_person_designation",
+ "type":"8",
+ "field_width":"100",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"COMPANYRELATIONSHIPS"
+ },
+ "fields":[
+ "company_relationship_id",
+ "name"
+ ]
+ },
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"supplier_info_available",
+ "answers":null,
+ "validations":[
+ ]
+ },
+ {
+ "question":"Contact Person Mobile Number",
+ "question_key":"contact_person_mobile_no",
+ "type":"1",
+ "field_type":"num",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"supplier_info_available",
+ "answers":null,
+ "validations":[
+ {
+ "name":"pattern",
+ "isactive":"1",
+ "validator":"[0-9]{10,12}",
+ "message":"Mobile number should be 10-12 digit",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"STD Code",
+ "sub_title":"Contact Person Landline number",
+ "question_key":"person_stdcode",
+ "type":"1",
+ "field_type":"num",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"supplier_info_available",
+ "answers":null,
+ "validations":[
+ {
+ "name":"pattern",
+ "isactive":"1",
+ "validator":"[0-9]{3,5}",
+ "message":"Maximum 5 digit allowed",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Contact Person Landline number",
+ "question_key":"person_landline",
+ "type":"1",
+ "field_type":"num",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"supplier_info_available",
+ "answers":null,
+ "validations":[
+ {
+ "name":"pattern",
+ "isactive":"1",
+ "validator":"[0-9]{6,8}",
+ "message":"Maximum 8 digit allowed",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Payment Terms",
+ "question_key":"payment_type",
+ "type":"3",
+ "field_width":"100",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"PAYMENTMODE"
+ },
+ "fields":[
+ "id",
+ "name"
+ ]
+ },
+ "onchange_properties":[{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"payment_type",
+ "expression":"(String('payment_type') == String('3'))",
+ "value_keys":[
+ "payment_type"
+ ],
+ "questions":[
+ {
+ "question":"No. of credit period provided by supplier",
+ "question_key":"credit_period_no",
+ "type":"1",
+ "field_type":"num",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"payment_type",
+ "answers":null,
+ "validations":[
+
+ ]
+ },
+ {
+ "question":"What % of total purchases are done on credit?",
+ "question_key":"credit_total_purchase",
+ "type":"1",
+ "field_type":"num",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"payment_type",
+ "answers":null,
+ "validations":[
+
+ {
+ "name":"max",
+ "isactive":"1",
+ "validator":"100",
+ "message":"Percentage should lower or equal to '100'",
+ "value":null
+ }
+ ]
+ }
+
+ ]}]}],
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"payment_type",
+ "answers":null,
+ "validations":[
+
+ ]
+ },
+ {
+ "question":"Payment Mode",
+ "question_key":"payment_mode",
+ "type":"3",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"supplier_info_available",
+ "answers":[
+ {
+ "answer_id":"Payment made in Cash",
+ "answer":"Payment made in Cash"
+ },
+ {
+ "answer_id":"Payment made through Banking channels",
+ "answer":"Payment made through Banking channels"
+ },
+ {
+ "answer_id":"Payment made through Cash and Banking channels",
+ "answer":"Payment made through Cash and Banking channels"
+ }
+ ],
+ "validations":[
+
+ ]
+ },
+ {
+ "question":"Name of the Company",
+ "question_key":"company_name",
+ "place_holder":"Enter text",
+ "type":"3",
+ "api_properties":{
+ "api":"getCompanyListForSMCList",
+ "api_method":"POST",
+ "params":{"records":{
+ "pd_id":"VAR_PD_ID",
+ "random_string":"VAR_RANDOM_STRING"
+ }},
+ "fields":[
+ "company_id",
+ "borrower_name"
+ ]
+ },
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Company Name Required",
+ "value":null
+ }
+ ]
+ }
+ ],
+ "is_repeatable":"1",
+ "group_title":"Supplier Details",
+ "group_key":"supplier_details"
+ }
+
+ ]
+ }
+ ]
+ }],
+ "is_repeatable":null,
+ "answers":[{
+ "answer":"Yes",
+ "answer_id":"Yes"
+ },
+ {
+ "answer":"No",
+ "answer_id":"No"
+ }],
+ "validations":[
+
+ ]
+ },
+ {
+ "question_key":"common_remarks",
+ "question":"Remarks",
+ "place_holder":"Enter the text",
+ "type":"7",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"45",
+ "validations":[
+ ]
+ }
+
+
+ ]
+ }
+
\ No newline at end of file
diff --git a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/BACKUP/12.json b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/BACKUP/12.json
new file mode 100644
index 000000000..007656584
--- /dev/null
+++ b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/BACKUP/12.json
@@ -0,0 +1,359 @@
+{
+ "section_id":"12",
+ "section_name":"Clients details",
+ "onsubmit":null,
+ "questions":[
+ {
+ "question":"Is the Client information available?",
+ "question_key":"client_info_available",
+ "type":"2",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"client_info_available",
+ "expression":"(String('client_info_available') == String('No'))",
+ "value_keys":[
+ "client_info_available"
+ ],
+ "questions":[
+ { "question":"Reason",
+ "question_key":"client_not_available_reason",
+ "type":"7",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"client_info_available",
+ "answers":null,
+ "validations":[
+
+ ]
+ } ] } ] },
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"client_info_available",
+ "expression":"(String('client_info_available') == String('Yes'))",
+ "value_keys":[
+ "client_info_available"
+ ],
+ "questions":[
+ {
+ "question":[{
+ "question":"Trading Product/Service/Manufacturing Product name",
+ "question_key":"provider_name",
+ "type":"1",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"client_info_available",
+ "answers":null,
+ "validations":[
+
+ ]
+ },
+ {
+ "question":"Client Name",
+ "question_key":"client_name",
+ "type":"1",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"client_info_available",
+ "answers":null,
+ "validations":[
+
+ ]
+ },
+ {
+ "question":"Contact Person name",
+ "question_key":"contact_person_name",
+ "type":"1",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"client_info_available",
+ "answers":null,
+ "validations":[
+
+ ]
+ },
+ {
+ "question":"Contact Person Designation",
+ "question_key":"contact_person_designation",
+ "type":"8",
+ "field_width":"100",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"COMPANYRELATIONSHIPS"
+ },
+ "fields":[
+ "company_relationship_id",
+ "name"
+ ]
+ },
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"client_info_available",
+ "answers":null,
+ "validations":[
+ ]
+ },
+ {
+ "question":"Contact Person Mobile Number",
+ "question_key":"contact_person_mobile_no",
+ "type":"1",
+ "field_type":"num",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"client_info_available",
+ "answers":null,
+ "validations":[
+ {
+ "name":"pattern",
+ "isactive":"1",
+ "validator":"[0-9]{10,12}",
+ "message":"Mobile number should be 10-12 digit",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"STD Code",
+ "sub_title":"Contact Person Landline number",
+ "question_key":"person_stdcode",
+ "type":"1",
+ "field_type":"num",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"client_info_available",
+ "answers":null,
+ "validations":[
+ {
+ "name":"pattern",
+ "isactive":"1",
+ "validator":"[0-9]{3,5}",
+ "message":"Maximum 5 digit allowed",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Contact Person Landline number",
+ "question_key":"person_landline",
+ "type":"1",
+ "field_type":"num",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"client_info_available",
+ "answers":null,
+ "validations":[
+ {
+ "name":"pattern",
+ "isactive":"1",
+ "validator":"[0-9]{6,8}",
+ "message":"Maximum 8 digit allowed",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Payment Terms",
+ "question_key":"payment_type",
+ "type":"3",
+ "field_width":"100",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"PAYMENTMODE"
+ },
+ "fields":[
+ "id",
+ "name"
+ ]
+ },
+ "onchange_properties":[{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"payment_type",
+ "expression":"(String('payment_type') == String('3'))",
+ "value_keys":[
+ "payment_type"
+ ],
+ "questions":[
+ {
+ "question":"No. of days of credit period provided by client",
+ "question_key":"credit_period_no",
+ "type":"1",
+ "field_type":"num",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"payment_type",
+ "answers":null,
+ "validations":[
+
+ ]
+ },
+ {
+ "question":"What % of total sales are done on credit?",
+ "question_key":"credit_total_purchase",
+ "type":"1",
+ "field_type":"num",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"payment_type",
+ "answers":null,
+ "validations":[
+
+ {
+ "name":"max",
+ "isactive":"1",
+ "validator":"100",
+ "message":"Percentage should lower or equal to '100'",
+ "value":null
+ }
+ ]
+ }
+
+ ]}]}],
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"payment_type",
+ "answers":null,
+ "validations":[
+
+ ]
+ },
+ {
+ "question":"Payment Mode",
+ "question_key":"payment_mode",
+ "type":"3",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"client_info_available",
+ "answers":[
+ {
+ "answer_id":"Payment made in Cash",
+ "answer":"Payment made in Cash"
+ },
+ {
+ "answer_id":"Payment made through Banking channels",
+ "answer":"Payment made through Banking channels"
+ },
+ {
+ "answer_id":"Payment made through Cash and Banking channels",
+ "answer":"Payment made through Cash and Banking channels"
+ }
+ ],
+ "validations":[
+
+ ]
+ },
+ {
+ "question":"Name of the Company",
+ "question_key":"company_name",
+ "place_holder":"Enter text",
+ "type":"3",
+ "api_properties":{
+ "api":"getCompanyListForSMCList",
+ "api_method":"POST",
+ "params":{"records":{
+ "pd_id":"VAR_PD_ID",
+ "random_string":"VAR_RANDOM_STRING"
+ }},
+ "fields":[
+ "company_id",
+ "borrower_name"
+ ]
+ },
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Company Name Required",
+ "value":null
+ }
+ ]
+ }
+ ],
+ "is_repeatable":"1",
+ "group_title":"Client Details",
+ "group_key":"client_details"
+ }
+
+ ]
+ }
+ ]
+ }],
+ "is_repeatable":null,
+ "answers":[{
+ "answer":"Yes",
+ "answer_id":"Yes"
+ },
+ {
+ "answer":"No",
+ "answer_id":"No"
+ }],
+ "validations":[
+
+ ]
+ },
+ {
+ "question_key":"common_remarks",
+ "question":"Remarks",
+ "place_holder":"Enter the text",
+ "type":"7",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"45",
+ "validations":[
+ ]
+ }
+
+
+ ]
+ }
+
\ No newline at end of file
diff --git a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/BACKUP/13.json b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/BACKUP/13.json
new file mode 100644
index 000000000..4fbfbe025
--- /dev/null
+++ b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/BACKUP/13.json
@@ -0,0 +1,330 @@
+{
+ "section_id": "13",
+ "section_name": "Stock details",
+ "onsubmit": [],
+ "questions": [
+ {
+ "question": "Is stock applicable to the business (Yes / No)",
+ "question_key": "stock_info_available",
+ "type": "2",
+ "field_width": "45",
+ "api_properties": null,
+ "onchange_properties": [
+ {
+ "purpose": "FORM_CTRL",
+ "form_controls": [
+ {
+ "insert_index": "stock_info_available",
+ "expression": "(String('stock_info_available') == String('No'))",
+ "value_keys": [
+ "stock_info_available"
+ ],
+ "questions": [
+ {
+ "question": "Reason",
+ "question_key": "stock_not_available_reason",
+ "type": "7",
+ "field_width": "100",
+ "api_properties": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "is_subfield": "1",
+ "parent_question_key": "stock_info_available",
+ "answers": null,
+ "validations": [
+
+ ]
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "purpose": "FORM_CTRL",
+ "form_controls": [
+ {
+ "insert_index": "stock_info_available",
+ "expression": "(String('stock_info_available') == String('Yes'))",
+ "value_keys": [
+ "stock_info_available"
+ ],
+ "questions":[
+ {
+ "question": "Is the stock of finished goods observed, sufficient considering the size of operations",
+ "question_key": "estimated_uom",
+ "type": "3",
+ "field_width": "100",
+ "api_properties": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "is_subfield": "1",
+ "parent_question_key": "stock_info_available",
+ "answers": [
+ {
+ "answer": "Yes",
+ "answer_id": "yes"
+ },
+ {
+ "answer": "No",
+ "answer_id": "no"
+ },
+ {
+ "answer": "Stock not required to be maintained",
+ "answer_id": "not applicable"
+ }
+ ],
+ "validations": [
+
+ ]
+ }
+ ]
+ },
+ {
+ "insert_index": "stock_info_available",
+ "expression": "(String('stock_info_available') == String('Yes'))",
+ "value_keys": [
+ "stock_info_available"
+ ],
+ "questions": [
+ {
+ "question": [
+ {
+ "question": "Type of Stock",
+ "question_key": "stock_type",
+ "type": "3",
+ "field_width": "100",
+ "api_properties": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "is_subfield": "1",
+ "parent_question_key": "stock_info_available",
+ "answers": [
+ {
+ "answer": "RM",
+ "answer_id": "RM"
+ },
+ {
+ "answer": "FG",
+ "answer_id": "FG"
+ },
+ {
+ "answer": "SFG",
+ "answer_id": "SFG"
+ }
+ ],
+ "validations": [
+
+ ]
+ },
+ {
+ "question": "Name of trading goods/manufacturing goods (raw material/finished goods)/ Service Provided",
+ "question_key": "provider_name",
+ "place_holder": "Enter text",
+ "type": "1",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "field_type": "string",
+ "validations": [
+
+ ]
+ },
+ {
+ "question": "Stock",
+ "question_key": "provider_observed",
+ "type": "3",
+ "api_properties": null,
+ "answers": [
+ {
+ "answer": "Add Stock Details",
+ "answer_id": "yes"
+ },
+ {
+ "answer": "No Stock Observed",
+ "answer_id": "no"
+ }
+ ],
+ "is_repeatable": null,
+ "validations": [
+
+ ],
+ "onchange_properties": [
+ {
+ "purpose": "FORM_CTRL",
+ "form_controls": [
+ {
+ "insert_index": "provider_observed",
+ "expression": "(String('provider_observed') === String('yes'))",
+ "value_keys": [
+ "provider_observed"
+ ],
+ "questions": [
+ {
+ "question": "Estimated Quantity",
+ "question_key": "estimated_quantity",
+ "type": "1",
+ "field_width": "100",
+ "field_type": "num",
+ "api_properties": null,
+ "onchange_properties": [
+ {
+ "purpose": "validations",
+ "validations": [
+
+ {
+ "name": "required",
+ "isactive": "1",
+ "validator": "",
+ "message": "Either Estimated Stock value or Estimated Quantity is required",
+ "value": "(String('estimated_quantity') === String(''))",
+ "validation_to": "estimated_stock_value",
+ "value_keys": [
+ "estimated_quantity",
+ "estimated_stock_value"
+ ]
+ }
+ ]
+ }
+ ],
+ "is_repeatable": null,
+ "is_subfield": "1",
+ "parent_question_key": "provider_observed",
+ "answers": null,
+ "validations": [
+
+ ]
+ },
+ {
+ "question": "UOM",
+ "question_key": "estimated_uom",
+ "type": "3",
+ "field_width": "100",
+ "api_properties": {
+ "api": "getListOfMaster",
+ "api_method": "POST",
+ "params": {
+ "master_name": "UOM"
+ },
+ "fields": [
+ "uom_id",
+ "name"
+ ]
+ },
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "is_subfield": "1",
+ "parent_question_key": "provider_observed",
+ "answers": null,
+ "validations": [
+ ]
+ },
+ {
+ "question": "Estimated value of stock observed",
+ "question_key": "estimated_stock_value",
+ "type": "1",
+ "field_type": "numtoword",
+ "field_width": "100",
+ "api_properties": null,
+ "onchange_properties": [
+ {
+ "purpose": "validations",
+ "validations": [
+ {
+ "name": "required",
+ "isactive": "1",
+ "validator": "",
+ "message": "Either Estimated Stock value or Estimated Quantity is required",
+ "value": "(String('estimated_stock_value') === String(''))",
+ "validation_to": "estimated_quantity",
+ "value_keys": [
+ "estimated_stock_value"
+ ]
+ }
+ ]
+ }
+ ],
+ "is_repeatable": null,
+ "is_subfield": "1",
+ "parent_question_key": "provider_observed",
+ "answers": null,
+ "validations": []
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "question":"Name of the Company",
+ "question_key":"company_name",
+ "place_holder":"Enter text",
+ "type":"3",
+ "api_properties":{
+ "api":"getCompanyListForSMCList",
+ "api_method":"POST",
+ "params":{"records":{
+ "pd_id":"VAR_PD_ID",
+ "random_string":"VAR_RANDOM_STRING"
+ }},
+ "fields":[
+ "company_id",
+ "borrower_name"
+ ]
+ },
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Company Name Required",
+ "value":null
+ }
+ ]
+ }
+ ],
+ "is_repeatable": "1",
+ "group_title": "Stock details",
+ "group_key": "stock_details"
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "is_repeatable": null,
+ "answers": [
+ {
+ "answer": "Yes",
+ "answer_id": "Yes"
+ },
+ {
+ "answer": "No",
+ "answer_id": "No"
+ }
+ ],
+ "validations": [
+
+ ]
+ },
+ {
+ "question_key":"common_remarks",
+ "question":"Remarks",
+ "place_holder":"Enter the text",
+ "type":"7",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"45",
+ "validations":[
+ ]
+ }
+ ]
+}
\ No newline at end of file
diff --git a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/BACKUP/14.json b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/BACKUP/14.json
new file mode 100644
index 000000000..6f19b9e15
--- /dev/null
+++ b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/BACKUP/14.json
@@ -0,0 +1,118 @@
+{
+ "section_id":"14",
+ "section_name":"Future Plans & Business Environments",
+ "onsubmit":null,
+ "questions":[
+ {
+ "question":"USP of the business- How is applicant's business different from others in the same line of business",
+ "question_key":"usp_of_business",
+ "type":"1",
+ "field_width":"100",
+ "answers":null,
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Future plans for business expansion",
+ "question_key":"future_business_expansion",
+ "type":"1",
+ "field_type":"string",
+ "field_width":"100",
+ "onchange_properties":null,
+ "api_properties":null,
+ "answers":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Key competitors",
+ "question_key":"key_competitors",
+ "type":"1",
+ "field_width":"100",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Sucession plan- who will look after the business after applicant retire/are unable to run business due to any reason",
+ "question_key":"sucession_plan",
+ "type":"1",
+ "field_width":"100",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Brief of other group concerns/Business run by the applicants",
+ "question_key":"other_group_business_applicants",
+ "type":"1",
+ "field_width":"100",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question_key":"common_remarks",
+ "question":"Remarks",
+ "place_holder":"Enter the text",
+ "type":"7",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"45",
+ "validations":[
+ ]
+ }
+ ]
+ }
+
\ No newline at end of file
diff --git a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/BACKUP/15.json b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/BACKUP/15.json
new file mode 100644
index 000000000..a6fd1c0c3
--- /dev/null
+++ b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/BACKUP/15.json
@@ -0,0 +1,197 @@
+{
+ "section_id": "15",
+ "section_name": "Existing Loan Obligations",
+ "onsubmit": null,
+ "questions": [
+ {
+ "question": [
+ {
+ "question": "Loan type",
+ "question_key": "loan_type",
+ "type": "1",
+ "field_width": "100",
+ "answers": null,
+ "api_properties": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": [
+ ]
+ },
+ {
+ "question": "Loan amount",
+ "question_key": "loan_amount",
+ "type": "1",
+ "field_type": "numtoword",
+ "field_width": "100",
+ "onchange_properties": null,
+ "api_properties": null,
+ "answers": null,
+ "is_repeatable": null,
+ "validations": [
+ ]
+ },
+ {
+ "question": "Lender name",
+ "question_key": "lender_name",
+ "type": "1",
+ "field_width": "100",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": [
+ ]
+ },
+ {
+ "question": "Loan taken by",
+ "question_key": "loan_taken_by",
+ "type": "1",
+ "field_width": "100",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": [
+ ]
+ },
+ {
+ "question": "Installment Amount",
+ "question_key": "instalment_amount",
+ "type": "1",
+ "field_width": "100",
+ "field_type": "numtoword",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": [
+ ]
+ },
+ {
+ "question": "Installment frequency",
+ "question_key": "instalment_frequency",
+ "type": "3",
+ "field_width": "100",
+ "api_properties": null,
+ "answers": [
+ {
+ "answer_id": "Daily",
+ "answer": "Daily"
+ },
+ {
+ "answer_id": "Every 12 days",
+ "answer": "Every 12 days"
+ },
+ {
+ "answer_id": "Every 15 days",
+ "answer": "Every 15 days"
+ },
+ {
+ "answer_id": "Monthly",
+ "answer": "Monthly"
+ },
+ {
+ "answer_id": "Every 3 months",
+ "answer": "Every 3 months"
+ },
+ {
+ "answer_id": "Every 6 months",
+ "answer": "Every 6 months"
+ },
+ {
+ "answer_id": "Yearly",
+ "answer": "Yearly"
+ }
+ ],
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": [
+ ]
+ },
+ {
+ "question": "Original tenure in months",
+ "question_key": "original_tenure_months",
+ "type": "1",
+ "field_width": "100",
+ "field_type": "num",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": [
+ {
+ "purpose":"answer_value",
+ "expression":"(Number(original_tenure_months)-Number(current_tenure_months))",
+ "value_keys":[
+ "original_tenure_months", "current_tenure_months"
+ ],
+ "insert_control":"elapsed_tenure_months"
+ }
+ ],
+ "is_repeatable": null,
+ "validations": [
+ ]
+ },
+ {
+ "question": "Current balance tenure in months",
+ "question_key": "current_tenure_months",
+ "type": "1",
+ "field_type": "num",
+ "field_width": "100",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": [
+ {
+ "purpose":"answer_value",
+ "expression":"(Number(original_tenure_months)-Number(current_tenure_months))",
+ "value_keys":[
+ "original_tenure_months", "current_tenure_months"
+ ],
+ "insert_control":"elapsed_tenure_months"
+ }
+ ],
+ "is_repeatable": null,
+ "validations": [
+ ]
+ },
+ {
+ "question": "Elapsed tenure in mths",
+ "question_key": "elapsed_tenure_months",
+ "type": "1",
+ "field_width": "45",
+ "field_type": "num",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": [
+ {
+ "purpose":"answer_value",
+ "expression":"(Number(original_tenure_months)-Number(elapsed_tenure_months))",
+ "value_keys":[
+ "original_tenure_months", "elapsed_tenure_months"
+ ],
+ "insert_control":"current_tenure_months"
+ }
+ ],
+ "is_repeatable": null,
+ "validations": [
+ ]
+ }
+ ],
+ "is_repeatable": "1",
+ "group_title": "Existing Loan Obligations",
+ "group_key": "existing_loan_details"
+ },
+ {
+ "question_key":"common_remarks",
+ "question":"Remarks",
+ "place_holder":"Enter the text",
+ "type":"7",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"45",
+ "validations":[
+ ]
+ }
+ ]
+}
\ No newline at end of file
diff --git a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/BACKUP/16.json b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/BACKUP/16.json
new file mode 100644
index 000000000..00388db3c
--- /dev/null
+++ b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/BACKUP/16.json
@@ -0,0 +1,228 @@
+{
+ "section_id":"16",
+ "section_name":"Family Members Involved in Business",
+ "onsubmit":null,
+ "questions":[
+ {
+ "question":"Is any other family member involved in the business",
+ "question_key":"is_family_details_available",
+ "type":"2",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":[{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"is_family_details_available",
+ "expression":"(String('is_family_details_available') == String('Yes'))",
+ "value_keys":[
+ "is_family_details_available"
+ ],
+ "questions":[
+ {
+ "question":[
+ {
+ "question":"Name",
+ "question_key":"member_name",
+ "place_holder":"Enter text",
+ "type":"1",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Name Required",
+ "value":null
+ },
+ {
+ "name":"pattern",
+ "isactive":"1",
+ "validator":"[A-Za-z ]*",
+ "message":"alphabets only ",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Relationship",
+ "question_key":"relationship",
+ "place_holder":"Enter the text",
+ "type":"8",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"RELATIONSHIPS"
+ },
+ "fields":[
+ "relationship_id",
+ "name"
+ ]
+ },
+ "answers":null,
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[{
+ "insert_index":"relationship",
+ "expression":"(String('relationship').toLowerCase() == String('1'))",
+ "value_keys":[
+ "relationship"
+ ],
+ "questions":[
+ {
+ "question": "Specify Facility details",
+ "question_key": "relationship_other",
+ "type": "1",
+ "field_width": "45",
+ "field_type": "string",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": [
+ ]
+ }
+ ]
+ }]
+ }
+ ],
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Relation to Individual Stakeholders",
+ "question_key":"stakeholder_relation",
+ "place_holder":"Enter text",
+ "type":"3",
+ "api_properties":{
+ "purpose":"answer_options_local",
+ "master_name":"pd_applicants",
+ "fields":["pd_co_applicant_id","applicant_name"]
+ },
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Relation to Company / Firm",
+ "question_key":"company_relation",
+ "place_holder":"Enter text",
+ "type":"8",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"COMPANYRELATIONSHIPS"
+ },
+ "fields":[
+ "company_relationship_id",
+ "name"
+ ]
+ },
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Started Business (Yes / No)",
+ "question_key":"started_biz",
+ "place_holder":"Enter text",
+ "type":"2",
+ "api_properties":null,
+ "answers":[
+ {
+ "answer_id":"Yes",
+ "answer":"Yes"
+ },
+ {
+ "answer_id":"No",
+ "answer":"No"
+ }
+ ],
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Required",
+ "value":null
+ }
+ ]
+ }
+
+ ],
+ "is_repeatable":"1",
+ "group_title":"Family Members Involved in Business",
+ "group_key":"family_details"
+ }
+ ]}]
+ }],
+ "is_repeatable":null,
+ "answers":[{
+ "answer":"Yes",
+ "answer_id":"Yes"
+ },
+ {
+ "answer":"No",
+ "answer_id":"No"
+ }],
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question_key":"common_remarks",
+ "question":"Remarks",
+ "place_holder":"Enter the text",
+ "type":"7",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"45",
+ "validations":[
+ ]
+ }
+
+ ]
+ }
\ No newline at end of file
diff --git a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/BACKUP/17.json b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/BACKUP/17.json
new file mode 100644
index 000000000..0f4bf4230
--- /dev/null
+++ b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/BACKUP/17.json
@@ -0,0 +1,269 @@
+{
+ "section_id":"17",
+ "section_name":"Neighbourhood Details",
+ "onsubmit":[],
+ "questions":[
+ {
+ "question":[
+ {
+ "question":"Neighbour name",
+ "question_key":"neighbourhood_name",
+ "place_holder":"Enter text",
+ "type":"1",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Do you know about the applicant or their business?",
+ "question_key":"do_know",
+ "type":"3",
+ "api_properties":null,
+ "answers":[
+ {
+ "answer":"Yes",
+ "answer_id":"yes"
+ },
+ {
+ "answer":"No",
+ "answer_id":"no"
+ }
+ ],
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"As per you how long has this business been in operation",
+ "question_key":"know_business_operation",
+ "place_holder":"Enter the text",
+ "type":"2",
+ "api_properties":null,
+ "answers":[
+ {
+ "answer":"Know",
+ "answer_id":"yes"
+ },
+ {
+ "answer":"Do not know",
+ "answer_id":"no"
+ }
+ ],
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Required",
+ "value":null
+ }
+ ],
+ "onchange_properties": [ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"know_business_operation",
+ "expression":"(String('know_business_operation') === String('yes'))",
+ "value_keys":[
+ "know_business_operation"
+ ],
+ "questions":[
+ {
+ "question":"Years",
+ "question_key":"how_long_do_know_in_year",
+ "type":"1",
+ "field_width":"100",
+ "field_type":"num",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"know_business_operation",
+ "answers":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field required",
+ "value":null
+ }
+ ]
+ } ,
+ {
+ "question":"Months",
+ "question_key":"how_long_do_know_in_month",
+ "type":"1",
+ "field_type":"num",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"know_business_operation",
+ "answers":null,
+ "validations":[
+ ]
+ }
+
+ ] } ] }]
+ },
+ {
+ "question":"Who is the owner of organisation?",
+ "question_key":"know_organisation_owner",
+ "type":"2",
+ "api_properties":null,
+ "answers":[
+ {
+ "answer":"Know",
+ "answer_id":"yes"
+ },
+ {
+ "answer":"Do not know",
+ "answer_id":"no"
+ }
+ ],
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Required",
+ "value":null
+ }
+ ],
+ "onchange_properties": [ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"know_organisation_owner",
+ "expression":"(String('know_organisation_owner') === String('yes'))",
+ "value_keys":[
+ "know_organisation_owner"
+ ],
+ "questions":[
+ {
+ "question":"Who is the owner of the organisation",
+ "question_key":"organisation_owner",
+ "type":"4",
+ "field_width":"100",
+ "field_type":"num",
+ "api_properties": {
+ "purpose":"answer_options_local",
+ "master_name":"pd_applicants",
+ "fields":["pd_co_applicant_id","applicant_name"]
+ },
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"know_organisation_owner",
+ "answers":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field required",
+ "value":null
+ }
+ ]
+ }
+
+ ] } ] }]
+ }
+
+ ],
+ "is_repeatable":"1",
+ "group_title":"Neighbourhood Details",
+ "group_key":"neighbourhood_list"
+ },
+ {
+ "question":"Status of the neighbour check as per Credit Manager",
+ "question_key":"neighbourhood_status",
+ "type":"3",
+ "api_properties":null,
+ "answers":[
+ {
+ "answer":"Select",
+ "answer_id":""
+ },
+ {
+ "answer":"Positive",
+ "answer_id":"Positive"
+ },
+ {
+ "answer":"Negative",
+ "answer_id":"Negative"
+ },
+ {
+ "answer":"Could Not Verify",
+ "answer_id":"Could Not Verify"
+ }
+ ],
+ "onchange_properties":[
+ {
+ "purpose":"validations",
+ "validations":[{
+ "value_keys":["neighbourhood_status"],
+ "value":"(String('neighbourhood_status').toLowerCase() != String('positive'))",
+ "validation_to":"neighbourhood_remarks",
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Required"
+ }]}
+ ],
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Remarks",
+ "question_key":"neighbourhood_remarks",
+ "type":"7",
+ "placeholder":"Enter the remarks",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Required",
+ "value":null
+ }
+ ]
+ }
+ ]
+ }
\ No newline at end of file
diff --git a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/BACKUP/18.json b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/BACKUP/18.json
new file mode 100644
index 000000000..481c1aa36
--- /dev/null
+++ b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/BACKUP/18.json
@@ -0,0 +1,53 @@
+{
+ "section_id":"18",
+ "section_name":"Credit manager specific queries",
+ "onsubmit":[],
+ "questions":[
+ {
+ "question":[
+ {
+ "question":"Question",
+ "question_key":"question",
+ "place_holder":"Enter text",
+ "type":"1",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ ]
+ },
+ {
+ "question":"Answer",
+ "question_key":"answer",
+ "place_holder":"Enter the answer here",
+ "type":"7",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+ ]
+ }
+ ],
+ "is_repeatable":"1",
+ "group_title":"Query",
+ "group_key":"cm_queries"
+ },
+ {
+ "question_key":"common_remarks",
+ "question":"Remarks",
+ "place_holder":"Enter the text",
+ "type":"7",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"45",
+ "validations":[
+ ]
+ }
+ ]
+ }
\ No newline at end of file
diff --git a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/BACKUP/19.json b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/BACKUP/19.json
new file mode 100644
index 000000000..fac96f75c
--- /dev/null
+++ b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/BACKUP/19.json
@@ -0,0 +1,218 @@
+{
+ "section_id":"19",
+ "section_name":"Final remarks",
+ "onsubmit":null,
+ "questions":[
+ {
+ "question":"Customer Behaviour",
+ "question_key":"customer_behaviour",
+ "type":"3",
+ "field_width":"45",
+ "answers":null,
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"CUSTOMERBEHAVIOUR"
+ },
+ "fields":[
+ "customer_behaviour_id",
+ "description"
+ ]
+ },
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"customer_behaviour",
+ "expression":"(String('customer_behaviour') == String('1'))",
+ "value_keys":[
+ "customer_behaviour"
+ ],
+ "questions":[
+ { "question":"Specify Customer behaviour",
+ "question_key":"customer_behaviour_other",
+ "type":"1",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"customer_behaviour",
+ "answers":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field required",
+ "value":null
+ }
+ ]
+ } ] }
+ ]}] ,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Is the location of the business suited to the nature of the business provided?",
+ "question_key":"business_location_suited",
+ "type":"3",
+ "field_width":"45",
+ "onchange_properties":null,
+ "api_properties":null,
+ "answers":[
+ {
+ "answer":"Well Suited",
+ "answer_id":"Well Suited"
+ },
+ {
+ "answer":"Fairly suited",
+ "answer_id":"Fairly suited"
+ },
+ {
+ "answer":"Not suited",
+ "answer_id":"Not suited"
+ }
+ ],
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Credit Manager recommendation (Positive/negative/ refer to credit)",
+ "question_key":"pd_officer_recommendation",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"PDOFFICERRECOMMENDATIONS"
+ },
+ "fields":[
+ "pdofficer_recommendation_id",
+ "pdofficer_recommendation"
+ ]
+ },
+ "answers":null,
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"pd_officer_recommendation",
+ "expression":"(String('pd_officer_recommendation') == String('1'))",
+ "value_keys":[
+ "pd_officer_recommendation"
+ ],
+ "questions":[
+ { "question":"Specify Credit Manager Recommendation",
+ "question_key":"pd_officer_recommendation_other",
+ "type":"1",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"pd_officer_recommendation",
+ "answers":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field required",
+ "value":null
+ }
+ ]
+ } ] } ,
+ {
+ "insert_index":"pd_officer_recommendation",
+ "expression":"(String('pd_officer_recommendation') != String('1')) && (String('pdofficer_recommendation') != String(''))",
+ "value_keys":[
+ "pd_officer_recommendation"
+ ],
+ "questions":[
+ {
+ "question":[{
+ "question":"Reasons for marking PD status as Positive/negative/ refer to credit",
+ "question_key":"reason",
+ "type":"1",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"pd_officer_recommendation",
+ "answers":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field required",
+ "value":null
+ }
+ ]
+ }
+ ],
+ "is_repeatable":"1",
+ "group_title":"Remarks",
+ "group_title_shown":"0",
+ "group_key":"pd_officer_recommendation_remarks"
+ } ] }
+ ] },
+ {
+ "purpose":"question_label",
+ "expression":"(function () {let label= 'Reasons for marking PD status as ';('pd_officer_recommendation' == '2') ? label+= 'Positive' : ('pd_officer_recommendation' == '3') ? label+= 'Negative' : ('pd_officer_recommendation' == '4') ? label+= 'Refer to Credit' : label+= 'Positive/negative/ refer to credit';return label}())",
+ "value_keys":[
+ "pd_officer_recommendation"
+ ],
+ "insert_control":"reason",
+ "insert_group_key":"pd_officer_recommendation_remarks"
+ }
+ ],
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Common Remarks",
+ "question_key":"final_form_remarks",
+ "place_holder":"Enter the remarks here",
+ "type":"7",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+ ]
+ }
+
+ ]
+ }
+
\ No newline at end of file
diff --git a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/BACKUP/2.json b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/BACKUP/2.json
new file mode 100644
index 000000000..40302fa46
--- /dev/null
+++ b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/BACKUP/2.json
@@ -0,0 +1,389 @@
+{
+ "section_id":"2",
+ "section_name":"Address details",
+ "onsubmit":null,
+ "questions":[
+ {
+ "question":"Address at which PD was initiated",
+ "question_key":"initiated_address",
+ "type":"7",
+ "field_width":"100",
+ "answers":null,
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Is this the address where PD is done ?",
+ "question_key":"is_pd_done_on_initiated_address",
+ "type":"2",
+ "field_width":"45",
+ "onchange_properties": [{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"is_pd_done_on_initiated_address",
+ "expression":"(String('is_pd_done_on_initiated_address') == String('No'))",
+ "value_keys":[
+ "is_pd_done_on_initiated_address"
+ ],
+ "questions":[
+ {
+ "question":"Choose the actual PD address",
+ "question_key":"alternative_address",
+ "place_holder":"",
+ "field_type":"string",
+ "type":"3",
+ "field_width":"100",
+ "api_properties":{
+ "api":"getSMCTempAddresses",
+ "api_method":"GET",
+ "params":{
+ "pdid":"VAR_PD_ID"
+ },
+ "fields":[
+ "display",
+ "display"
+ ]
+ },
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"is_pd_done_on_initiated_address",
+ "answers":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field required",
+ "value":null
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }],
+ "api_properties":null,
+ "answers":[
+ {
+ "answer_id":"Yes",
+ "answer":"Yes"
+ },
+ {
+ "answer_id":"No",
+ "answer":"No"
+ }
+ ],
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Type of PD address",
+ "question_key":"address_type",
+ "type":"3",
+ "field_width":"90",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"ADDRESSTYPE"
+ },
+ "fields":[
+ "address_type_id",
+ "address_type"
+ ]
+ },
+ "answers":null,
+ "onchange_properties": [{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"address_type",
+ "expression":"(String('address_type') == String('1'))",
+ "value_keys":[
+ "address_type"
+ ],
+ "questions":[
+ {
+ "question":"Specify the Address Type",
+ "question_key":"address_type_others",
+ "place_holder":"",
+ "field_type":"string",
+ "type":"1",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"uom",
+ "answers":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field required",
+ "value":null
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }],
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"PD locality",
+ "question_key":"pd_locality",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"LOCALITY"
+ },
+ "fields":[
+ "locality_id",
+ "locality_name"
+ ]
+ },
+ "answers":null,
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[{
+ "insert_index":"pd_locality",
+ "expression":"(String('pd_locality').toLowerCase() == String('1'))",
+ "value_keys":[
+ "pd_locality"
+ ],
+ "questions":[
+ {
+ "question": "Specify Locality",
+ "question_key": "locality_other",
+ "type": "1",
+ "field_width": "45",
+ "field_type": "string",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": [
+ ]
+ }
+ ]
+ }]
+ }
+ ],
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Approach to PD location*",
+ "question_key":"pd_location",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"PDLOCATIONAPPROACH"
+ },
+ "fields":[
+ "pd_location_approach_id",
+ "description"
+ ]
+ },
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Comment on locality",
+ "question_key":"comment_locality",
+ "type":"3",
+ "field_width":"25",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"COMMENTSONLOCALITY"
+ },
+ "fields":[
+ "comments_on_locality_id",
+ "rating"
+ ]
+ },
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Estimated Area of the business",
+ "question_key":"business_estimated_area",
+ "type":"1",
+ "field_width":"30",
+ "field_type":"num",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"UOM",
+ "question_key":"uom",
+ "type":"8",
+ "field_width":"30",
+ "api_properties":null,
+ "answers":[
+ {
+ "answer":"Acres",
+ "answer_id":"Acres"
+ },
+ {
+ "answer":"Hectares",
+ "answer_id":"Hectares"
+ },
+ {
+ "answer":"Square Feet",
+ "answer_id":"Square Feet"
+ },
+ {
+ "answer":"Square Meters",
+ "answer_id":"Square Meters"
+ },
+ {
+ "answer":"Square Yards",
+ "answer_id":"Square Yards"
+ }
+ ],
+ "onchange_properties": [{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"uom",
+ "expression":"(String('uom') == String('1'))",
+ "value_keys":[
+ "uom"
+ ],
+ "questions":[
+ {
+ "question":"Specify the UOM",
+ "question_key":"uom_specify",
+ "place_holder":"",
+ "field_type":"string",
+ "type":"1",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"uom",
+ "answers":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field required",
+ "value":null
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }],
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question_key":"common_remarks",
+ "question":"Remarks",
+ "place_holder":"Enter the text",
+ "type":"7",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"45",
+ "validations":[
+ ]
+ }
+ ]
+ }
+
\ No newline at end of file
diff --git a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/BACKUP/3.json b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/BACKUP/3.json
new file mode 100644
index 000000000..7032ca8d9
--- /dev/null
+++ b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/BACKUP/3.json
@@ -0,0 +1,409 @@
+{
+ "section_id":"2",
+ "section_name":"Loan details",
+ "onsubmit":null,
+ "questions":[
+ {
+ "question":"Loan amount applied for",
+ "question_key":"loan_amount",
+ "type":"1",
+ "field_type":"numtoword",
+ "field_width":"100",
+ "answers":null,
+ "api_properties":null,
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"total_fund_requirement",
+ "expression":" typeof(total_fund_requirement) == 'number' && (Number(total_fund_requirement) < Number(loan_amount))",
+ "value_keys":[
+ "total_fund_requirement","loan_amount"
+ ],
+ "questions":[
+ {
+ "question":"Remarks on source of funds for balance amount required",
+ "question_key":"remarks_fund_source_balance",
+ "place_holder":"",
+ "field_type":"string",
+ "type":"1",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"total_fund_requirement",
+ "answers":null,
+ "validations":[
+
+ ]
+ }
+ ]
+ }]
+ }
+ ],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ },
+ {
+ "question":"Loan Tenure (in months)",
+ "question_key":"loan_tenure",
+ "type":"1",
+ "field_type":"num",
+ "field_width":"100",
+ "onchange_properties": null,
+ "api_properties":null,
+ "answers":null,
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ },
+ {
+ "question":"Sub Product",
+ "question_key":"sub_product",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"SUBPRODUCTS"
+ },
+ "fields":[
+ "subproduct_id",
+ "name"
+ ]
+ },
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ },
+ {
+ "question":"End use of loan",
+ "question_key":"end_use",
+ "type":"1",
+ "field_width":"100",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ },
+ {
+ "question":"Total fund requirement",
+ "question_key":"total_fund_requirement",
+ "type":"1",
+ "field_width":"45",
+ "api_properties":null,
+ "field_type":"numtoword",
+ "answers":null,
+ "onchange_properties": [
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"total_fund_requirement",
+ "expression":" typeof(total_fund_requirement) == 'number' && (Number(total_fund_requirement) < Number(loan_amount))",
+ "value_keys":[
+ "total_fund_requirement","loan_amount"
+ ],
+ "questions":[
+ {
+ "question":"Remarks on source of funds for balance amount required",
+ "question_key":"remarks_fund_source_balance",
+ "place_holder":"",
+ "field_type":"string",
+ "type":"1",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"total_fund_requirement",
+ "answers":null,
+ "validations":[
+
+ ]
+ }
+ ]
+ }]
+ }],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ },
+ {
+ "question":"Is there a BT?",
+ "question_key":"is_transfer",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":null,
+ "answers":[
+ {
+ "answer_id":"Yes",
+ "answer":"Yes"
+ },
+ {
+ "answer_id":"No",
+ "answer":"No"
+ }
+ ],
+ "onchange_properties": [{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"is_transfer",
+ "expression":"(String('is_transfer') == String('Yes'))",
+ "value_keys":[
+ "is_transfer"
+ ],
+ "questions":[
+ {
+ "question":"What is the amount of balance transfer",
+ "question_key":"balance_transfer_amount",
+ "place_holder":"",
+ "field_type":"numtoword",
+ "type":"1",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"is_transfer",
+ "answers":null,
+ "validations":[
+
+ ]
+ },
+ {
+ "question":"Lender from where BT is done",
+ "question_key":"lender",
+ "type":"8",
+ "field_width":"45",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"BTLENDERLIST"
+ },
+ "fields":[
+ "bt_lender_list_id",
+ "lender_name"
+ ]
+ },
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ },
+ {
+ "question":"Top up amount",
+ "question_key":"topup_amount",
+ "type":"1",
+ "field_type":"numtoword",
+ "field_width":"45",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ }
+ ]
+ }
+ ]
+ }],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ },
+ {
+ "question":"Type of property being Mortgaged",
+ "question_key":"property_type",
+ "type":"1",
+ "field_width":"45",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ },
+ {
+ "question":"Name of Owner",
+ "question_key":"owner_name",
+ "type":"4",
+ "field_width":"45",
+ "api_properties":
+ {
+ "purpose":"answer_options_local",
+ "master_name":"pd_applicants",
+ "fields":["pd_co_applicant_id","applicant_name"]
+ },
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ },
+ {
+ "question":"Property Completion Stage",
+ "question_key":"construction_status",
+ "type":"1",
+ "field_width":"45",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[ {
+ "insert_index":"construction_status",
+ "expression":"(String('construction_status') != String(''))",
+ "value_keys":[
+ "construction_status"
+ ],
+ "questions":[
+ {
+ "question":"Stage of Construction",
+ "question_key":"construction_stage",
+ "place_holder":"",
+ "field_type":"string",
+ "type":"1",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"construction_status",
+ "answers":null,
+ "validations":[
+
+ ]
+ }
+ ]
+ }]
+ }
+ ],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ },
+ {
+ "question":"Estimated market value as per customer",
+ "question_key":"emv_per_customer",
+ "place_holder":"",
+ "field_type":"numtoword",
+ "type":"1",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "answers":null,
+ "validations":[
+
+ ]
+ },
+ {
+ "question":"Market Value Considered for LTV Calculation (Rs)",
+ "question_key":"ltv_market_value_calculation",
+ "place_holder":"",
+ "field_type":"numtoword",
+ "type":"1",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "answers":null,
+ "validations":[
+
+ ]
+ },
+ {
+ "question":"Address of the proposed property",
+ "question_key":"address",
+ "place_holder":"",
+ "field_type":"string",
+ "type":"3",
+ "field_width":"100",
+ "api_properties":{
+ "api":"getSMCTempAddresses",
+ "api_method":"GET",
+ "params":{
+ "pdid":"VAR_PD_ID"
+ },
+ "fields":[
+ "display",
+ "display"
+ ]
+ },
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "answers":null,
+ "validations":[
+ ]
+ },
+ {
+ "question":"Property Usage",
+ "question_key":"property_usage",
+ "place_holder":"",
+ "field_type":"string",
+ "type":"1",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "answers":null,
+ "validations":[
+
+ ]
+ },
+ {
+ "question":"Structure Type",
+ "question_key":"structure_type",
+ "place_holder":"",
+ "field_type":"string",
+ "type":"1",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "answers":null,
+ "validations":[
+
+ ]
+ },
+ {
+ "question_key":"common_remarks",
+ "question":"Remarks",
+ "place_holder":"Enter the text",
+ "type":"7",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"45",
+ "validations":[
+ ]
+ }
+
+ ]
+ }
+
\ No newline at end of file
diff --git a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/BACKUP/4.json b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/BACKUP/4.json
new file mode 100644
index 000000000..80dea62ca
--- /dev/null
+++ b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/BACKUP/4.json
@@ -0,0 +1,267 @@
+{
+ "section_id": "4",
+ "section_name": "General Business Information",
+ "onsubmit": null,
+ "questions": [
+ {
+ "question": [
+ {
+ "question":"Name of the Company",
+ "question_key":"company_name",
+ "place_holder":"Enter text",
+ "type":"3",
+ "default_index_if_len_one":true,
+ "api_properties":{
+ "api":"getCompanyListForSMCList",
+ "api_method":"POST",
+ "params":{"records":{
+ "pd_id":"VAR_PD_ID",
+ "random_string":"VAR_RANDOM_STRING"
+ }},
+ "fields":[
+ "company_id",
+ "borrower_name"
+ ]
+ },
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Company Name Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question": "Type of Business Entity",
+ "question_key": "business_entity_type",
+ "type": "1",
+ "field_width": "45",
+ "answers": null,
+ "api_properties": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": [
+ {
+ "name": "required",
+ "isactive": "1",
+ "validator": "Validators.required",
+ "message": "Field Required",
+ "value": null
+ }
+ ]
+ },
+ {
+ "question": "Type of Business activities",
+ "question_key": "select_business_activity_type",
+ "type": "1",
+ "field_width": "45",
+ "onchange_properties": null,
+ "api_properties": null,
+ "answers": null,
+ "is_repeatable": null,
+ "validations": [
+ {
+ "name": "required",
+ "isactive": "1",
+ "validator": "Validators.required",
+ "message": "Field Required",
+ "value": null
+ }
+ ]
+ },
+ {
+ "question": "Area of Sale",
+ "question_key": "area_of_sale",
+ "type": "3",
+ "field_width": "45",
+ "api_properties": null,
+ "answers": [
+ {
+ "answer": "Within India",
+ "answer_id": "Within India"
+ },
+ {
+ "answer": "Export",
+ "answer_id": "Export"
+ },
+ {
+ "answer": "Both (within India and Export)",
+ "answer_id": "Both (within India and Export)"
+ }
+ ],
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": [
+ {
+ "name": "required",
+ "isactive": "1",
+ "validator": "Validators.required",
+ "message": "Field Required",
+ "value": null
+ }
+ ]
+ },
+ {
+ "question": "Is the business seasonal (Yes / No)",
+ "question_key": "seasonality",
+ "type": "2",
+ "field_width": "45",
+ "api_properties": null,
+ "answers": [
+ {
+ "answer": "Yes",
+ "answer_id": "Yes"
+ },
+ {
+ "answer": "No",
+ "answer_id": "No"
+ }
+ ],
+ "onchange_properties": [
+ {
+ "purpose": "FORM_CTRL",
+ "form_controls": [
+ {
+ "insert_index": "seasonality",
+ "expression": "(String('seasonality') == String('Yes'))",
+ "value_keys": [
+ "seasonality"
+ ],
+ "questions": [
+ {
+ "question_key": "low_sale_month_reason",
+ "question": "Reason for Months in which sales/services is low?",
+ "place_holder": "Enter the text",
+ "type": "1",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "field_type": "string",
+ "is_subfield": "1",
+ "field_width": "45",
+ "parent_question_key": "seasonality",
+ "validations": [
+ {
+ "name": "required",
+ "isactive": "1",
+ "validator": "Validators.required",
+ "message": "Required",
+ "value": null
+ }
+ ]
+ },
+ {
+ "question_key": "low_sale_month",
+ "question": "Months in which sales/services is low?",
+ "place_holder": "",
+ "type": "4",
+ "api_properties": null,
+ "answers": [
+ {
+ "answer_id": "January",
+ "answer": "January"
+ },
+ {
+ "answer_id": "February",
+ "answer": "February"
+ },
+ {
+ "answer_id": "March",
+ "answer": "March"
+ },
+ {
+ "answer_id": "April",
+ "answer": "April"
+ },
+ {
+ "answer_id": "May",
+ "answer": "May"
+ },
+ {
+ "answer_id": "June",
+ "answer": "June"
+ },
+ {
+ "answer_id": "July",
+ "answer": "July"
+ },
+ {
+ "answer_id": "August",
+ "answer": "August"
+ },
+ {
+ "answer_id": "September",
+ "answer": "September"
+ },
+ {
+ "answer_id": "October",
+ "answer": "October"
+ },
+ {
+ "answer_id": "November",
+ "answer": "November"
+ },
+ {
+ "answer_id": "December",
+ "answer": "December"
+ }
+ ],
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "field_type": "num",
+ "field_width": "45",
+ "is_subfield": "1",
+ "parent_question_key": "seasonality",
+ "validations": [
+ {
+ "name": "required",
+ "isactive": "1",
+ "validator": "Validators.required",
+ "message": "Required",
+ "value": null
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "is_repeatable": null,
+ "validations": [
+ {
+ "name": "required",
+ "isactive": "1",
+ "validator": "Validators.required",
+ "message": "Field Required",
+ "value": null
+ }
+ ]
+ }
+ ],
+ "is_repeatable": "1",
+ "group_title": "Details of General Business Information",
+ "group_key": "business_entity"
+ },
+ {
+ "question_key": "common_remarks",
+ "question": "Remarks",
+ "place_holder": "Enter the text",
+ "type": "7",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "field_type": "string",
+ "field_width": "45",
+ "validations": []
+ }
+ ]
+}
\ No newline at end of file
diff --git a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/BACKUP/5.json b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/BACKUP/5.json
new file mode 100644
index 000000000..eeb246cc2
--- /dev/null
+++ b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/BACKUP/5.json
@@ -0,0 +1,273 @@
+{
+ "section_id":"5",
+ "section_name":"Key Stakeholders in Business",
+ "onsubmit":[
+ ],
+ "questions":[
+ {
+ "question":[
+ {
+ "question":"Name of the Entity",
+ "question_key":"company_name",
+ "place_holder":"Enter text",
+ "type":"3",
+ "api_properties":{
+ "api":"getCompanyListForSMCList",
+ "api_method":"POST",
+ "params":{"records":{
+ "pd_id":"VAR_PD_ID",
+ "random_string":"VAR_RANDOM_STRING"
+ }},
+ "fields":[
+ "company_id",
+ "borrower_name"
+ ]
+ },
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Entity Name Required",
+ "value":null
+ }
+ ]
+
+ },
+ {
+ "question":"length",
+ "question_key":"stakeholder_length",
+ "type":"hidden",
+
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string"
+ },
+
+ {
+ "question":"Name of key Stakeholder",
+ "question_key":"stakeholder_name0",
+ "place_holder":"Enter text",
+ "type":"1",
+ "field_width":"19",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Name Required",
+ "value":null
+ }
+ ]
+
+ },
+ {
+ "question":"Share Holding (%)",
+ "question_key":"share_holding0",
+ "place_holder":"Enter number",
+ "type":"1",
+ "field_width":"19",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"num",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Share value Required",
+ "value":null
+ },
+ {
+ "name":"max",
+ "validator":"100",
+ "isactive":"1",
+ "message":"Number must be less than 100",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Vintage in Current Business (in years)",
+ "question_key":"vintage_in_current_biz0",
+ "place_holder":"Enter in years",
+ "type":"1",
+ "field_width":"19",
+ "api_properties":null,
+ "answers":null,
+ "is_repeatable":null,
+ "field_type":"num",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Current vintage Required",
+ "value":null
+ }
+ ],
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"started_biz0",
+ "expression":"(total_work_exp0 > vintage_in_current_biz0)",
+ "value_keys":[
+ "total_work_exp0",
+ "vintage_in_current_biz0"
+ ],
+ "questions":[
+ {
+ "question_key":"previous_experience_details0",
+ "question":"Previous Experience Details",
+ "place_holder":"Enter text",
+ "type":"1",
+
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "parent_question_key":"vintage_in_current_biz0",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Previous Experience Required",
+ "value":null
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "question":"Total Work Experience (in years)",
+ "question_key":"total_work_exp0",
+ "place_holder":"Enter in years",
+ "type":"1",
+ "field_width":"19",
+ "api_properties":null,
+ "answers":null,
+ "is_repeatable":null,
+ "field_type":"num",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Total experience Required",
+ "value":null
+ }
+ ],
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"started_biz0",
+ "expression":"(total_work_exp0 > vintage_in_current_biz0)",
+ "value_keys":[
+ "total_work_exp0",
+ "vintage_in_current_biz0"
+ ],
+ "questions":[
+ {
+ "question":"Previous Experience Details",
+ "question_key":"previous_experience_details0",
+ "place_holder":"Enter text",
+ "type":"1",
+
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "parent_question_key":"total_work_exp0",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Previous Experience Required",
+ "value":null
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "question":"Started Business (Yes / No)",
+ "question_key":"started_biz0",
+ "type":"2",
+ "field_width":"19",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "answers":[
+ {
+ "answer_id":"Yes",
+ "answer":"Yes"
+ },
+ {
+ "answer_id":"No",
+ "answer":"No"
+ }
+ ],
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Started Business Required",
+ "value":null
+ }
+ ]
+
+ }
+
+
+ ],
+ "is_repeatable":"1",
+ "group_title":"Details of Key Stakeholders in the Business",
+ "group_key":"key_stakeholders",
+ "form_name":"Key Stakeholders in Business"
+ },
+ {
+ "question_key":"common_remarks",
+ "question":"Remarks",
+ "place_holder":"Enter the text",
+ "type":"7",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"45",
+ "validations":[
+ ]
+ }
+ ]
+ }
\ No newline at end of file
diff --git a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/BACKUP/6.json b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/BACKUP/6.json
new file mode 100644
index 000000000..462e3ece7
--- /dev/null
+++ b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/BACKUP/6.json
@@ -0,0 +1,139 @@
+{
+ "section_id":"6",
+ "section_name":"Key Products and Business Contribution",
+ "onsubmit":[],
+ "questions":[
+ {
+ "question":[
+ {
+ "question":"Key Product Name",
+ "question_key":"product_name",
+ "place_holder":"Enter text",
+ "type":"1",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Contribution to Business of the Product (%)",
+ "question_key":"contribution_business_product",
+ "place_holder":"Enter number",
+ "type":"1",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"num",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Required",
+ "value":null
+ },
+ {
+ "name":"max",
+ "validator":"100",
+ "isactive":"1",
+ "message":"Number must be less than 100",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Remarks if any",
+ "question_key":"remarks",
+ "place_holder":"Enter the text",
+ "type":"1",
+ "api_properties":null,
+ "answers":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ ],
+ "onchange_properties":null
+ },
+ {
+ "question":"Name of the Company",
+ "question_key":"company_name",
+ "place_holder":"Enter text",
+ "type":"3",
+ "api_properties":{
+ "api":"getCompanyListForSMCList",
+ "api_method":"POST",
+ "params":{"records":{
+ "pd_id":"VAR_PD_ID",
+ "random_string":"VAR_RANDOM_STRING"
+ }},
+ "fields":[
+ "company_id",
+ "borrower_name"
+ ]
+ },
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Company Name Required",
+ "value":null
+ }
+ ]
+ }
+ ],
+ "is_repeatable":"1",
+ "group_title":"Key Products and Business Contribution",
+ "group_key":"key_products_contribution"
+ },
+ {
+ "question":"Business Process Brief",
+ "question_key":"business_process",
+ "place_holder":"Enter the text",
+ "type":"7",
+ "api_properties":null,
+ "answers":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Required",
+ "value":null
+ }
+ ],
+ "onchange_properties":null
+ },
+ {
+ "question_key":"common_remarks",
+ "question":"Remarks",
+ "place_holder":"Enter the text",
+ "type":"7",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"45",
+ "validations":[
+ ]
+ }
+ ]
+ }
\ No newline at end of file
diff --git a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/BACKUP/7.json b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/BACKUP/7.json
new file mode 100644
index 000000000..6d511686f
--- /dev/null
+++ b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/BACKUP/7.json
@@ -0,0 +1,131 @@
+{
+ "section_id":"7",
+ "section_name":"Employee Strength",
+ "onsubmit":[],
+ "questions":[
+ {
+ "question":"Permanent Employees",
+ "sub_title":"No of Employees (As per person met)",
+ "question_key":"permanant_employees_person_met",
+ "place_holder":"Enter the number",
+ "type":"1",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"num",
+ "field_width":"45",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Temporary Employees",
+ "question_key":"temporary_employees_person_met",
+ "place_holder":"Enter the number",
+ "type":"1",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"num",
+ "field_width":"45",
+ "validations":[
+ ]
+ },
+ {
+ "question":"Permanent Employees",
+ "sub_title":"No of Employees (Sighted by Credit Manager)",
+ "question_key":"permanant_employees_cm",
+ "place_holder":"Enter the number",
+ "type":"1",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"num",
+ "field_width":"45",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Temporary Employees",
+ "question_key":"temporary_employees_cm",
+ "place_holder":"Enter the number",
+ "type":"1",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"num",
+ "field_width":"45",
+ "validations":[
+ ]
+ },
+ {
+ "question":"Permanent Employees",
+ "sub_title":"Approximate Salary Paid (Rs Per Month)",
+ "question_key":"permanant_employees_salary",
+ "place_holder":"Enter the number",
+ "type":"1",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"numtoword",
+ "field_width":"45",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Temporary Employees",
+ "question_key":"temporary_employees_salary",
+ "place_holder":"Enter the number",
+ "type":"1",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"numtoword",
+ "field_width":"45",
+ "validations":[
+ ]
+ },
+ {
+ "question_key":"common_remarks",
+ "question":"Remarks",
+ "place_holder":"Enter the text",
+ "type":"7",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"45",
+ "validations":[
+ ]
+ }
+
+ ]
+
+ }
\ No newline at end of file
diff --git a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/BACKUP/8.json b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/BACKUP/8.json
new file mode 100644
index 000000000..e25db336b
--- /dev/null
+++ b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/BACKUP/8.json
@@ -0,0 +1,816 @@
+{
+ "section_id":"8",
+ "section_name":"Business Assets",
+ "onsubmit":null,
+ "questions":[
+ {
+ "question":"Address",
+ "question_key":"initiated_address",
+ "type":"7",
+ "field_width":"100",
+ "answers":null,
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ },
+ {
+ "question":" Is this the business address?",
+ "question_key":"is_business_address",
+ "type":"2",
+ "field_width":"100",
+ "answers":[{
+ "answer":"Yes",
+ "answer_id":"Yes"
+ },
+ {
+ "answer":"No",
+ "answer_id":"No"
+ }],
+ "api_properties":null,
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"is_business_address",
+ "expression":"(String('is_business_address') == String('Yes'))",
+ "value_keys":[
+ "is_business_address"
+ ],
+ "questions":[
+ {
+ "question":"No of Months",
+ "question_key":"business_months",
+ "place_holder":"",
+ "field_type":"num",
+ "type":"1",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"is_business_address",
+ "answers":null,
+ "validations":[
+ ]
+ },
+ {
+ "question":"No of Years",
+ "sub_title":"How Long has business been operated from visited premises? (Eg. If operating for 5 years and 4 months enter 5 in Years field and 4 in months field)",
+ "question_key":"business_years",
+ "place_holder":"",
+ "field_type":"num",
+ "type":"1",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"is_business_address",
+ "answers":null,
+ "validations":[
+
+ ]
+ },
+ {
+ "question":"Was any business activities seen during visit?",
+ "question_key":"business_is_pd_visited",
+ "place_holder":"",
+ "type":"2",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"business_is_pd_visited",
+ "expression":"(String('business_is_pd_visited') != String('')) && (String('is_business_address') == String('Yes'))",
+ "value_keys":[
+ "business_is_pd_visited",
+ "is_business_address"
+ ],
+ "questions":[
+ {
+ "question":"Remarks",
+ "question_key":"business_pd_visited_remark",
+ "place_holder":"",
+ "field_type":"string",
+ "type":"7",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"business_is_pd_visited",
+ "answers":null,
+ "validations":[
+
+ ]
+ }
+ ]
+ }
+ ]}],
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"is_business_address",
+ "answers":[{
+ "answer":"Yes",
+ "answer_id":"Yes"
+ },
+ {
+ "answer":"No",
+ "answer_id":"No"
+ }],
+ "validations":[
+
+ ]
+ },
+ {
+ "question":"Ownership type",
+ "question_key":"business_ownership_type",
+ "place_holder":"",
+ "type":"2",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"business_ownership_type",
+ "expression":"(String('business_ownership_type') == String('Owned')) && (String('is_business_address') == String('Yes'))",
+ "value_keys":[
+ "business_ownership_type",
+ "is_business_address"
+ ],
+ "questions":[
+ {
+ "question":"Approximate Market value",
+ "question_key":"business_approximate_market_value",
+ "place_holder":"",
+ "field_type":"numtoword",
+ "type":"1",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"business_ownership_type",
+ "answers":null,
+ "validations":[
+
+ ]
+ },
+ {
+ "question":"Owned by",
+ "question_key":"business_name_of_the_owner",
+ "type":"4",
+ "field_width":"45",
+ "api_properties":
+ {
+ "purpose":"answer_options_local",
+ "master_name":"pd_applicants",
+ "fields":["pd_co_applicant_id","applicant_name"]
+ },
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"business_ownership_type",
+ "answers":null,
+ "validations":[
+
+ ]
+ },
+ {
+ "question":"Age of asset in years",
+ "question_key":"business_vintage",
+ "place_holder":"",
+ "field_type":"num",
+ "type":"1",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":[
+ {
+ "purpose":"answer_value",
+ "expression":"(function(){let current_year = new Date().getFullYear(); return current_year-Number(business_vintage)}())",
+ "value_keys":[
+ "business_vintage"
+ ],
+ "insert_control":"business_purchase_year"
+ }
+ ],
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"business_ownership_type",
+ "answers":null,
+ "validations":[
+ ]
+ },
+ {
+ "question":"Purchase year",
+ "question_key":"business_purchase_year",
+ "place_holder":"",
+ "field_type":"num",
+ "type":"1",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":[
+ {
+ "purpose":"answer_value",
+ "expression":"(function(){let current_year = new Date().getFullYear(); return current_year-Number(business_purchase_year)}())",
+ "value_keys":[
+ "business_purchase_year"
+ ],
+ "insert_control":"business_vintage"
+ }
+ ],
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"business_ownership_type",
+ "answers":null,
+ "validations":[
+ ]
+ }
+ ,
+ {
+ "question":"Is there a Loan Existing against this asset",
+ "question_key":"business_emi",
+ "type":"2",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"business_ownership_type",
+ "answers":[
+ {
+ "answer":"Yes",
+ "answer_id":"Yes"
+ },
+ {
+ "answer":"No",
+ "answer_id":"No"
+ }
+ ],
+ "validations":[
+
+ ]
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"business_ownership_type",
+ "expression":"(String('business_ownership_type') == String('Rented')) && (String('is_business_address') == String('Yes'))",
+ "value_keys":[
+ "business_ownership_type",
+ "is_business_address"
+ ],
+ "questions":[
+ {
+ "question":"Monthly Rent Amount",
+ "question_key":"business_monthly_rented_amt",
+ "place_holder":"",
+ "field_type":"numtoword",
+ "type":"1",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"business_ownership_type",
+ "answers":null,
+ "validations":[
+
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"is_business_address",
+ "answers":[
+ {
+ "answer":"Owned",
+ "answer_id":"Owned"
+ },
+ {
+ "answer":"Rented",
+ "answer_id":"Rented"
+ }
+ ],
+ "validations":[
+
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ },
+ {
+ "question":"Is there any other business asset available?",
+ "question_key":"asset_info_available",
+ "type":"2",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":[{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"asset_info_available",
+ "expression":"(String('asset_info_available') == String('Yes'))",
+ "value_keys":[
+ "asset_info_available"
+ ],
+ "questions":[
+ {
+ "question":[{
+ "question":"Asset Type",
+ "question_key":"business_assets_mode",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"ASSETTYPE"
+ },
+ "fields":[
+ "id",
+ "name"
+ ],
+ "filter_properties":{
+ "key_name":"flag",
+ "value":"1"
+ }
+ },
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"business_assets_mode",
+ "expression":"(String('business_assets_mode') == String('2'))",
+ "value_keys":[
+ "business_assets_mode"
+ ],
+ "questions":[
+ {
+ "question":"Property Type",
+ "question_key":"property_type",
+ "place_holder":"",
+ "field_type":"string",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"ADDRESSTYPE"
+ },
+ "fields":[
+ "address_type_id",
+ "address_type"
+ ]
+ },
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[{
+ "insert_index":"property_type",
+ "expression":"String('property_type') && (String('property_type') != String('')) && (String('business_assets_mode') == String('2'))",
+ "value_keys":[
+ "property_type",
+ "business_assets_mode"
+ ],
+ "questions":[
+ {
+ "question":"Address of the property",
+ "question_key":"property_address",
+ "place_holder":"",
+ "field_type":"string",
+ "type":"3",
+ "field_width":"100",
+ "api_properties":{
+ "api":"getSMCTempAddresses",
+ "api_method":"GET",
+ "params":{
+ "pdid":"VAR_PD_ID"
+ },
+ "fields":[
+ "display",
+ "display"
+ ]
+ },
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"property_type",
+ "answers":null,
+ "validations":[
+ ]
+ }
+ ]
+ },
+ {
+ "insert_index":"property_type",
+ "expression":"(String('property_type') == String('1')) && (String('business_assets_mode') == String('2'))",
+ "value_keys":[
+ "property_type",
+ "business_assets_mode"
+ ],
+ "questions":[
+ {
+ "question":"Specify the Property",
+ "question_key":"property_type_others",
+ "place_holder":"",
+ "field_type":"string",
+ "type":"1",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"property_type",
+ "answers":null,
+ "validations":[
+
+ ]
+ }
+ ]
+ }]
+ }
+ ],
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"business_assets_mode",
+ "answers":null,
+ "validations":[
+
+ ]
+ }
+ ]
+ },
+ {
+ "insert_index":"business_assets_mode",
+ "expression":"(String('business_assets_mode') == String('3'))",
+ "value_keys":[
+ "business_assets_mode"
+ ],
+ "questions":[
+ {
+ "question":"Type of Vehicle",
+ "question_key":"vehicle_type",
+ "place_holder":"",
+ "field_type":"string",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"VEHICLETYPE"
+ },
+ "fields":[
+ "vehicle_type_id",
+ "vehicle_type_name"
+ ]
+ },
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"vehicle_type",
+ "expression":"(String('vehicle_type') == String('1')) && (String('business_assets_mode') == String('3'))",
+ "value_keys":[
+ "vehicle_type",
+ "business_assets_mode"
+ ],
+ "questions":[
+ {
+ "question":"Specify the Vehicle",
+ "question_key":"vehicle_type_others",
+ "place_holder":"",
+ "field_type":"string",
+ "type":"1",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"vehicle_type",
+ "answers":null,
+ "validations":[
+
+ ]
+ }
+ ]
+ }]
+ }
+ ],
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"business_assets_mode",
+ "answers":null,
+ "validations":[
+
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "is_repeatable":null,
+ "answers":null,
+ "validations":[
+
+ ]
+ },
+ {
+ "question":"Description",
+ "question_key":"other_asset_description",
+ "type":"7",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "answers":null,
+ "validations":[
+ ]
+ },
+ {
+ "question":"Ownership type",
+ "question_key":"business_ownership_type",
+ "place_holder":"",
+ "type":"2",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"business_ownership_type",
+ "expression":"(String('business_ownership_type') == String('Owned'))",
+ "value_keys":[
+ "business_ownership_type"
+ ],
+ "questions":[
+ {
+ "question":"Approximate Market value",
+ "question_key":"business_approximate_market_value",
+ "place_holder":"",
+ "field_type":"numtoword",
+ "type":"1",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"business_ownership_type",
+ "answers":null,
+ "validations":[
+
+ ]
+ },
+ {
+ "question":"Asset owned by",
+ "question_key":"business_name_of_the_owner",
+ "type":"4",
+ "field_width":"45",
+ "api_properties":
+ {
+ "purpose":"answer_options_local",
+ "master_name":"pd_applicants",
+ "fields":["pd_co_applicant_id","applicant_name"]
+ },
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"business_ownership_type",
+ "answers":null,
+ "validations":[
+
+ ]
+ },
+ {
+ "question":"Age of asset in years",
+ "question_key":"business_vintage",
+ "place_holder":"",
+ "field_type":"num",
+ "type":"1",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":[
+ {
+ "purpose":"answer_value",
+ "expression":"(function(){let current_year = new Date().getFullYear(); return current_year-Number(business_vintage)}())",
+ "value_keys":[
+ "business_vintage"
+ ],
+ "insert_control":"business_purchase_year"
+ }
+ ],
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"business_ownership_type",
+ "answers":null,
+ "validations":[
+
+ ]
+ },
+ {
+ "question":"Purchase year",
+ "question_key":"business_purchase_year",
+ "place_holder":"",
+ "field_type":"num",
+ "type":"1",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":[
+ {
+ "purpose":"answer_value",
+ "expression":"(function(){let current_year = new Date().getFullYear(); return current_year-Number(business_purchase_year)}())",
+ "value_keys":[
+ "business_purchase_year"
+ ],
+ "insert_control":"business_vintage"
+ }
+ ],
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"business_ownership_type",
+ "answers":null,
+ "validations":[
+
+ ]
+ }
+ ,
+ {
+ "question":"Is there a Loan Existing against this asset",
+ "question_key":"business_emi",
+ "type":"2",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"business_ownership_type",
+ "answers":[
+ {
+ "answer":"Yes",
+ "answer_id":"Yes"
+ },
+ {
+ "answer":"No",
+ "answer_id":"No"
+ }
+ ],
+ "validations":[
+
+ ]
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"business_ownership_type",
+ "expression":"(String('business_ownership_type') == String('Rented'))",
+ "value_keys":[
+ "business_ownership_type"
+ ],
+ "questions":[
+ {
+ "question":"Monthly Rent Amount",
+ "question_key":"business_monthly_rented_amt",
+ "place_holder":"",
+ "field_type":"numtoword",
+ "type":"1",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"business_ownership_type",
+ "answers":null,
+ "validations":[
+
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"is_business_address",
+ "answers":[
+ {
+ "answer":"Owned",
+ "answer_id":"Owned"
+ },
+ {
+ "answer":"Rented",
+ "answer_id":"Rented"
+ }
+ ],
+ "validations":[
+
+ ]
+ },
+ {
+ "question":"Name of the Company",
+ "question_key":"company_name",
+ "place_holder":"Enter text",
+ "type":"3",
+ "api_properties":{
+ "api":"getCompanyListForSMCList",
+ "api_method":"POST",
+ "params":{"records":{
+ "pd_id":"VAR_PD_ID",
+ "random_string":"VAR_RANDOM_STRING"
+ }},
+ "fields":[
+ "company_id",
+ "borrower_name"
+ ]
+ },
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Company Name Required",
+ "value":null
+ }
+ ]
+ }],
+ "is_repeatable":"1",
+ "group_title":"Business Asset Details",
+ "group_key":"business_assets_details"
+ }
+
+ ]
+ }
+ ]
+ }],
+ "is_repeatable":null,
+ "answers":[{
+ "answer":"Yes",
+ "answer_id":"Yes"
+ },
+ {
+ "answer":"No",
+ "answer_id":"No"
+ }],
+ "validations":[
+
+ ]
+ },
+ {
+ "question_key":"common_remarks",
+ "question":"Remarks",
+ "place_holder":"Enter the text",
+ "type":"7",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"45",
+ "validations":[
+ ]
+ }
+
+
+ ]
+ }
+
\ No newline at end of file
diff --git a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/BACKUP/9.json b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/BACKUP/9.json
new file mode 100644
index 000000000..95c2d22cd
--- /dev/null
+++ b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/BACKUP/9.json
@@ -0,0 +1,117 @@
+{
+ "section_id": "9",
+ "section_name": "Business and Personal Banking Details",
+ "onsubmit": [],
+ "questions": [
+ {
+ "question": [
+ {
+ "question": "Account holder name",
+ "question_key": "applicant_name",
+ "type": "1",
+ "api_properties": {
+ "purpose": "answer_options_local",
+ "master_name": "pd_applicants",
+ "fields": [
+ "pd_co_applicant_id",
+ "applicant_name"
+ ]
+ },
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "field_type": "string",
+ "validations": [
+ ]
+ },
+ {
+ "question": "Bank Name",
+ "question_key": "bank_name",
+ "type": "1",
+ "field_width": "45",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": [
+ ]
+ },
+ {
+ "question": "Account type",
+ "question_key": "account_type",
+ "type": "3",
+ "field_width": "45",
+ "api_properties": null,
+ "answers": [
+ {
+ "answer": "Savings",
+ "answer_id": "Savings"
+ },
+ {
+ "answer": "OD",
+ "answer_id": "OD"
+ },
+ {
+ "answer": "Current",
+ "answer_id": "Current"
+ },
+ {
+ "answer": "CC",
+ "answer_id": "CC"
+ }
+ ],
+ "onchange_properties": [
+ {
+ "purpose": "FORM_CTRL",
+ "form_controls": [
+ {
+ "insert_index": "account_type",
+ "expression": "(String('account_type').toLowerCase() != String('savings') && String('account_type').toLowerCase() != String('current'))",
+ "value_keys": [
+ "account_type"
+ ],
+ "questions": [
+ {
+ "question": "OD/CC Limit",
+ "question_key": "cc_limit",
+ "type": "1",
+ "field_width": "45",
+ "field_type": "num",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": [
+
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "is_repeatable": null,
+ "validations": [
+
+ ]
+ }
+ ],
+ "is_repeatable": "1",
+ "group_title": "Banking Details",
+ "group_key": "banking_details"
+ },
+ {
+ "question_key": "common_remarks",
+ "question": "Remarks",
+ "place_holder": "Enter the text",
+ "type": "7",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "field_type": "string",
+ "field_width": "45",
+ "validations": []
+ }
+ ]
+}
\ No newline at end of file
diff --git a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/DONE/1.json b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/DONE/1.json
new file mode 100644
index 000000000..a2857c1ff
--- /dev/null
+++ b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/DONE/1.json
@@ -0,0 +1,315 @@
+{
+ "section_id":"1",
+ "section_name":"Borrower & Guarantor Details",
+ "onsubmit":null,
+ "questions":[
+ {
+ "question":[{
+ "question":"Borrower Type",
+ "question_key":"borrower_type",
+ "type":"1",
+ "field_width":"100",
+ "answers":null,
+ "api_properties":null,
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"relationship",
+ "expression":"(String('borrower_type').toLowerCase() != String('guarantor'))",
+ "value_keys":[
+ "borrower_type"
+ ],
+ "questions":[
+ {
+ "question":"Numbers of years for which the business has been running",
+ "question_key":"numbers_of_years_business_running",
+ "type":"1",
+ "field_width":"45",
+ "field_type":"num",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_subfield":"1",
+ "parent_question_key":"entity_type",
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "purpose":"validations",
+ "validations":[{
+ "value_keys":["borrower_type"],
+ "value":"(String('borrower_type').toLowerCase() != String('guarantor'))",
+ "validation_to":"borrower_age",
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Required"
+ }]}
+ ],
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Name",
+ "question_key":"borrower_name",
+ "type":"1",
+ "field_width":"100",
+ "onchange_properties":null,
+ "api_properties":null,
+ "answers":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "questions_level_two":[
+ {
+ "question":"Mobile Number",
+ "question_key":"mobile_no",
+ "type":"1",
+ "field_type":"num",
+ "field_width":"100",
+ "onchange_properties":null,
+ "api_properties":null,
+ "answers":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"pattern",
+ "isactive":"1",
+ "validator":"[0-9]{10}",
+ "message":"Mobile number should be 10 digit",
+ "value":null
+ }
+ ]
+ }
+ ],
+ "is_repeatable":"2",
+ "group_key":"mobile_numbers",
+ "group_title":"Mobile Number"
+ },
+ {
+ "question":"Entity Type",
+ "question_key":"entity_type",
+ "type":"1",
+ "field_width":"100",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"relationship",
+ "expression":"(String('entity_type').toLowerCase() == String('individual'))",
+ "value_keys":[
+ "entity_type"
+ ],
+ "questions":[
+ {
+ "question":"Age",
+ "question_key":"borrower_age",
+ "type":"1",
+ "field_type":"num",
+ "field_width":"50",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_subfield":"1",
+ "parent_question_key":"entity_type",
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ }
+ ]},
+ {
+ "insert_index":"relationship",
+ "expression":"(String('entity_type').toLowerCase() == String('individual'))",
+ "value_keys":[
+ "entity_type"
+ ],
+ "questions":[
+ {
+ "question":"Met / Not Met",
+ "question_key":"borrower_met",
+ "type":"2",
+
+ "field_width":"20",
+ "api_properties":null,
+ "answers":[
+ {
+ "answer_id":"Yes",
+ "answer":"Yes"
+ },
+ {
+ "answer_id":"No",
+ "answer":"No"
+ }
+ ],
+ "onchange_properties":null,
+ "is_subfield":"1",
+ "parent_question_key":"entity_type",
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ }
+ ]
+ }
+
+ ]
+ },
+ {
+ "purpose":"question_label",
+ "expression":"(function () {let label= '';(String('entity_type').toLowerCase().includes('individual')) ? label= 'Number of years the borrower has been in this business.' : label = 'Number of years for which the business has been running';return label}())",
+ "value_keys":[
+ "entity_type"
+ ],
+ "insert_control":"numbers_of_years_business_running"
+ },
+ {
+ "purpose":"validations",
+ "validations":[{
+ "value_keys":["borrower_type"],
+ "value":"(String('borrower_type').toLowerCase() != String('guarantor'))",
+ "validation_to":"borrower_age",
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Required"
+ }]}
+ ],
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Designation",
+ "question_key":"designation",
+ "type":"1",
+ "field_width":"100",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Relationship to",
+ "question_key":"relationship_to",
+ "type":"1",
+ "field_width":"100",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Relationship",
+ "question_key":"relationship",
+ "type":"1",
+ "field_width":"100",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ }
+
+
+
+ ],
+ "is_repeatable":"1",
+ "group_key":"borrower_details",
+ "group_title":"Borrower Details"},
+ {
+ "question_key":"common_remarks",
+ "question":"Remarks",
+ "place_holder":"Enter the text",
+ "type":"7",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"45",
+ "validations":[
+ ]
+ }
+ ]
+}
diff --git a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/DONE/10.json b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/DONE/10.json
new file mode 100644
index 000000000..78f61e139
--- /dev/null
+++ b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/DONE/10.json
@@ -0,0 +1,197 @@
+{
+ "section_id": "10",
+ "section_name": "Neighbourhood / Reference Check",
+ "onsubmit": [
+
+ ],
+ "questions": [
+ {
+ "question":[
+ {
+ "question_key": "Neighbour_Name",
+ "question": "Neighbour Name",
+ "place_holder": "Enter the text",
+ "type": "1",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "field_type": "string",
+ "field_width": "45",
+ "validations": []
+ }, {
+ "question_key": "Do_you_known_about_the_applicants_or_their_business",
+ "question": "Do you known about the applicants or their business?",
+ "place_holder": "Enter the text",
+ "type": "3",
+ "api_properties": null,
+ "answers":[
+ {
+ "answer_id":"Yes",
+ "answer":"Yes"
+ },
+ {
+ "answer_id":"No",
+ "answer":"No"
+ }
+ ],
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Do_you_known_about_the_applicants_or_their_business",
+ "expression":"(String('Do_you_known_about_the_applicants_or_their_business') == String('Yes'))",
+ "value_keys":[
+ "Do_you_known_about_the_applicants_or_their_business"
+ ],
+ "questions":[
+ {
+ "question_key": "As_per_you_how_long_has_this_business_been_in_operation",
+ "question": "As per you how long has this business been in operation?",
+ "place_holder": "Enter the text",
+ "type": "5",
+ "api_properties": null,
+ "answers":[
+ {
+ "answer_id":"Do_not_know",
+ "answer":"Do not know"
+ }
+
+ ],
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"As_per_you_how_long_has_this_business_been_in_operation",
+ "expression":"(String('As_per_you_how_long_has_this_business_been_in_operation') != String('Do_not_know'))",
+ "value_keys":[
+ "As_per_you_how_long_has_this_business_been_in_operation"
+ ],
+ "questions":[
+ { "question":"Year",
+ "question_key":"Year",
+ "type":"1",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"As_per_you_how_long_has_this_business_been_in_operation",
+ "answers":null,
+ "validations":[
+
+ ]
+ },
+ { "question":"Month",
+ "question_key":"YeMonthar",
+ "type":"1",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"As_per_you_how_long_has_this_business_been_in_operation",
+ "answers":null,
+ "validations":[
+
+ ]
+ } ] } ] }],
+ "is_repeatable": null,
+ "field_type": "string",
+ "field_width": "100",
+ "validations": []
+ },
+ {
+ "question_key": "Who_is_the_owner_of_the_organisation",
+ "question": "Who is the owner of the organisation?",
+ "place_holder": "Enter the text",
+ "type": "5",
+ "api_properties": null,
+ "answers":[
+ {
+ "answer_id":"Do_not_know",
+ "answer":"Do not know"
+ }
+
+ ],
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Who_is_the_owner_of_the_organisation",
+ "expression":"(String('Who_is_the_owner_of_the_organisation') != String('Do_not_know'))",
+ "value_keys":[
+ "Who_is_the_owner_of_the_organisation"
+ ],
+ "questions":[
+ { "question_key": "Who_is_the_owner_of_the_organisations",
+ "question": "Who is the owner of the organisation?",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":
+ {
+ "purpose":"answer_options_local",
+ "master_name":"pd_applicants",
+ "fields":["pd_co_applicant_id","applicant_name"]
+ },
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Who_is_the_owner_of_the_organisation",
+ "answers":null,
+ "validations":[
+
+ ]
+ }
+ ] } ] }],
+ "is_repeatable": null,
+ "field_type": "string",
+ "field_width": "100",
+ "validations": []
+ }
+ ]
+ } ] }],
+ "is_repeatable": null,
+ "field_type": "string",
+ "field_width": "45",
+ "validations": []
+ }
+ ],
+ "is_repeatable":"1",
+ "hidden_button":true,
+ "group_title":"Neighbourhood",
+ "group_key":"Neighbourhood"
+ },
+
+ {
+ "question_key": "Status of the check as per PD officer?",
+ "question": "Status of the check as per PD officer?",
+ "place_holder": "Enter the text",
+ "type": "3",
+ "api_properties": null,
+ "answers":[
+ {
+ "answer_id":"Positive",
+ "answer":"Positive"
+ },
+ {
+ "answer_id":"Negative",
+ "answer":"Negative"
+ }, {
+ "answer_id":"Could_not_verify",
+ "answer":"Could not verify"
+ }
+ ],
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "field_type": "string",
+ "field_width": "45",
+ "validations": []
+
+ }
+
+ ]
+}
\ No newline at end of file
diff --git a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/DONE/11.json b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/DONE/11.json
new file mode 100644
index 000000000..69fa506dd
--- /dev/null
+++ b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/DONE/11.json
@@ -0,0 +1,267 @@
+{
+ "section_id":"11",
+ "section_name":"Credit Manager Queries",
+ "onsubmit":null,
+ "questions":[
+ {
+ "question":"Is your business adversely impacted by coronavirus outbreak ?",
+ "question_key":"Is_your_business_adversely_impacted_by_coronavirus_outbreak",
+ "type":"2",
+ "sub_title":"Covid 19 Questions",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Is_your_business_adversely_impacted_by_coronavirus_outbreak",
+ "expression":"(String('Is_your_business_adversely_impacted_by_coronavirus_outbreak') == String('No'))",
+ "value_keys":[
+ "Is_your_business_adversely_impacted_by_coronavirus_outbreak"
+ ],
+ "questions":[
+ { "question":"Enter Your Remarks",
+ "question_key":"Enter_Your_Remarks",
+ "type":"1",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Is_your_business_adversely_impacted_by_coronavirus_outbreak",
+ "answers":null,
+ "validations":[
+
+ ]
+ } ] } ] },
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Is_your_business_adversely_impacted_by_coronavirus_outbreak",
+ "expression":"(String('Is_your_business_adversely_impacted_by_coronavirus_outbreak') == String('Yes'))",
+ "value_keys":[
+ "Is_your_business_adversely_impacted_by_coronavirus_outbreak"
+ ],
+ "questions":[
+ { "question":"Enter Your Remarks",
+ "question_key":"enter_Your_Remarks",
+ "type":"1",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Is_your_business_adversely_impacted_by_coronavirus_outbreak",
+ "answers":null,
+ "validations":[
+
+ ]
+ }
+
+
+
+ ]
+ }
+ ]
+ }],
+ "is_repeatable":null,
+ "answers":[{
+ "answer":"Yes",
+ "answer_id":"Yes"
+ },
+ {
+ "answer":"No",
+ "answer_id":"No"
+ }],
+ "validations":[
+
+ ]
+ },{
+ "question":"Did you avail the loan moratorium facility on your existing loans which is extended by your bank or financial institution?",
+ "question_key":"your_bank_or_financial_institution",
+ "type":"2",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":[
+ ],
+ "is_repeatable":null,
+ "answers":[{
+ "answer":"Yes",
+ "answer_id":"Yes"
+ },
+ {
+ "answer":"No",
+ "answer_id":"No"
+ }],
+ "validations":[
+
+ ]
+ },{
+ "question":"Are you planning to avail/ or already availed any loan or any other term facility for your business or personal use?",
+ "question_key":"your_business_or_personal_use",
+ "type":"2",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":[
+
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"your_business_or_personal_use",
+ "expression":"(String('your_business_or_personal_use') == String('Yes'))",
+ "value_keys":[
+ "your_business_or_personal_use"
+ ],
+ "questions":[
+ { "question":"How much is your sales/revenue from April till date?",
+ "question_key":"sales/revenue_April_till_date",
+ "type":"1",
+ "field_width":"100",
+ "field_type":"numtoword",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"your_business_or_personal_use",
+ "answers":null,
+ "validations":[
+
+ ]
+ }, {
+ "question":"Please specify amount,lender etc",
+ "question_key":"Please_specify_amount_lender_etc",
+ "type":"7",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"your_business_or_personal_use",
+ "answers":null,
+ "validations":[
+
+ ]
+ }
+
+
+
+ ]
+ }
+ ]
+ }, {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"your_business_or_personal_use",
+ "expression":"(String('your_business_or_personal_use') == String('No'))",
+ "value_keys":[
+ "your_business_or_personal_use"
+ ],
+ "questions":[
+ { "question":"How much is your sales/revenue from April till date?",
+ "question_key":"How_much_is_your_sales/revenue_from_April_till_date",
+ "type":"1",
+ "field_width":"100",
+ "field_type":"numtoword",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"your_business_or_personal_use",
+ "answers":null,
+ "validations":[
+
+ ]
+ }
+
+
+
+ ]
+ }
+ ]
+ }],
+ "is_repeatable":null,
+ "answers":[{
+ "answer":"Yes",
+ "answer_id":"Yes"
+ },
+ {
+ "answer":"No",
+ "answer_id":"No"
+ }],
+ "validations":[
+
+ ]
+ },{
+ "question":"Is turnover mentioned above (sales/revenue from April till date) validated?",
+ "question_key":"sales/revenue_from_April_till_date_validated",
+ "type":"2",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":[
+
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"sales/revenue_from_April_till_date_validated",
+ "expression":"(String('sales/revenue_from_April_till_date_validated') == String('Yes'))",
+ "value_keys":[
+ "sales/revenue_from_April_till_date_validated"
+ ],
+ "questions":[
+ { "question":"Choose any ",
+ "question_key":"Choose any",
+ "type":"3",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"your_business_or_personal_use",
+ "answers":[
+ {
+ "answer_id":"Bills",
+ "answer":"Bills"
+ },
+ {
+ "answer_id":"Gst_returns",
+ "answer":"Gst returns"
+ },
+ {
+ "answer_id":"records_shown",
+ "answer":"records shown"
+ }
+ ],
+ "validations":[
+
+ ]
+ }
+
+
+
+ ]
+ }
+ ]
+ } ],
+ "is_repeatable":null,
+ "answers":[{
+ "answer":"Yes",
+ "answer_id":"Yes"
+ },
+ {
+ "answer":"No",
+ "answer_id":"No"
+ }],
+ "validations":[
+
+ ]
+ }
+
+
+
+ ]
+ }
+
\ No newline at end of file
diff --git a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/DONE/12.json b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/DONE/12.json
new file mode 100644
index 000000000..91a7eebc3
--- /dev/null
+++ b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/DONE/12.json
@@ -0,0 +1,297 @@
+{
+ "section_id":"12",
+ "section_name":"Final Remarks Details",
+ "onsubmit":null,
+ "questions":[
+ {
+ "question":"Customer Behaviour",
+ "question_key":"Customer_Behaviour",
+ "place_holder":"Enter the text",
+ "type":"3",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"CUSTOMERBEHAVIOUR"
+ },
+ "fields":[
+ "customer_behaviour_id",
+ "description"
+ ]
+ },
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"45",
+ "validations":[
+ ]
+ },
+ {
+ "question":"Is the location of the business / profession suited to the nature of business / service provided?",
+ "question_key":"location_of_the_business",
+ "place_holder":"Enter the text",
+ "type":"3",
+ "api_properties":null,
+ "answers":[{
+ "answer":"Well Suited",
+ "answer_id":"Well Suited"
+ },
+ {
+ "answer":"Fairly Suited",
+ "answer_id":"Fairly Suited"
+ },{
+ "answer":"Not Suited",
+ "answer_id":"Not Suited"
+ }],
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "sub_title":"Location",
+ "field_type":"string",
+ "field_width":"100",
+ "validations":[
+ ]
+ },
+ {
+ "question":"Personal feedback or market intelligence on the case (if any)",
+ "question_key":"Personal_feedback_or_market_intelligence_on_the_case",
+ "place_holder":"Enter the text",
+ "type":"1",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"100",
+ "validations":[
+ ]
+ },
+ {
+ "question_key":"PD_Officers_Recommendation",
+ "question":"PD Officers Recommendation",
+ "place_holder":"Enter the text",
+ "type":"3",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"PDOFFICERRECOMMENDATIONS"
+ },
+ "fields":[
+ "pdofficer_recommendation_id",
+ "pdofficer_recommendation"
+ ]
+ },
+ "answers":null,
+ "onchange_properties":[{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"PD_Officers_Recommendation",
+ "expression":"(String('PD_Officers_Recommendation') == String('2'))",
+ "value_keys":[
+ "PD_Officers_Recommendation"
+ ],
+ "questions":[
+ {
+ "question":[
+ {
+ "question":"Reasons for marking PD status as Positive",
+ "question_key":"Reasons_for_marking_PD_status_as_Positive",
+ "type":"1",
+ "field_width":"100",
+ "onchange_properties":null,
+ "api_properties":null,
+ "answers":null,
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ }
+ ],
+ "is_repeatable":"1",
+ "group_key":"Reasons_for_marking_PD_status_as_Positive",
+ "group_title":"Reasons for marking PD status as Positive"
+ }]
+ }]
+
+
+
+ },{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"PD_Officers_Recommendation",
+ "expression":"(String('PD_Officers_Recommendation') == String('3'))",
+ "value_keys":[
+ "PD_Officers_Recommendation"
+ ],
+ "questions":[
+ {
+ "question":[
+ {
+ "question":"Reasons for marking PD status as Negative",
+ "question_key":"Reasons_for_marking_PD_status_as_Negative",
+ "type":"1",
+ "field_width":"100",
+ "onchange_properties":null,
+ "api_properties":null,
+ "answers":null,
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ }
+ ],
+ "is_repeatable":"1",
+ "group_key":"Reasons_for_marking_PD_status_as_Negative",
+ "group_title":"Reasons for marking PD status as Negative"
+ }]
+ }]
+
+
+
+ },{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"PD_Officers_Recommendation",
+ "expression":"(String('PD_Officers_Recommendation') == String('1'))",
+ "value_keys":[
+ "PD_Officers_Recommendation"
+ ],
+ "questions":[
+ {
+ "question":"Specify PD Officers Recommendation",
+ "question_key":"Specify_PD_Officers_Recommendation",
+ "type":"1",
+ "field_width":"45",
+ "onchange_properties":null,
+ "api_properties":null,
+ "answers":null,
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ }
+ ]
+ }]
+
+
+
+ },{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"PD_Officers_Recommendation",
+ "expression":"(String('PD_Officers_Recommendation') == String('4'))",
+ "value_keys":[
+ "PD_Officers_Recommendation"
+ ],
+ "questions":[
+ {
+ "question":[
+ {
+ "question":"Reasons for marking PD status as Refer to Credit",
+ "question_key":"Reasons_for_marking_PD_status_as_Refer_to_Credit",
+ "type":"1",
+ "field_width":"100",
+ "onchange_properties":null,
+ "api_properties":null,
+ "answers":null,
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ }
+ ],
+ "is_repeatable":"1",
+ "group_key":"Reasons_for_marking_PD_status_as_Refer_to_Credit",
+ "group_title":"Reasons for marking PD status as Refer to Credit"
+ }]
+ }]
+
+
+
+}],
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"45",
+ "validations":[
+ ]
+ }, {
+ "question_key":"Any_additional_visit_(Godown/multiple_rental_properties)",
+ "question":"Any additional visit (Godown /multiple rental properties)",
+ "place_holder":"Enter the text",
+ "type":"12",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"100",
+ "validations":[
+ ]
+ }, {
+ "question":"Mode of Transport Used to Visit the PD address",
+ "question_key":"Mode_of_Transport_Used_to_Visit_the_PD_address",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":null,
+ "answers":[
+ {
+ "answer_id":"Two_Wheeler",
+ "answer":"Two Wheeler"
+ },{
+ "answer_id":"Four_Wheeler",
+ "answer":" Four Wheeler"
+ },{
+ "answer_id":"Public_Transport",
+ "answer":"Public Transport"
+ },
+ {
+ "answer_id":"Others",
+ "answer":"Others"
+ }
+
+ ],
+ "onchange_properties": [{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Mode_of_Transport_Used_to_Visit_the_PD_address",
+ "expression":"(String('Mode_of_Transport_Used_to_Visit_the_PD_address') == String('Others'))",
+ "value_keys":[
+ "Mode_of_Transport_Used_to_Visit_the_PD_address"
+ ],
+ "questions":[
+ {
+ "question":"Specify the Mode of Transport Used to Visit the PD address",
+ "question_key":"Specify_the_Mode_of_Transport_Used_to_Visit_the_PD_address",
+ "type":"1",
+ "field_width":"45",
+ "onchange_properties":null,
+ "api_properties":null,
+ "answers":null,
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ }
+ ]
+ }]
+
+
+
+ }],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ }
+
+
+
+ ]
+ }
+
\ No newline at end of file
diff --git a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/DONE/13.json b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/DONE/13.json
new file mode 100644
index 000000000..4fbfbe025
--- /dev/null
+++ b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/DONE/13.json
@@ -0,0 +1,330 @@
+{
+ "section_id": "13",
+ "section_name": "Stock details",
+ "onsubmit": [],
+ "questions": [
+ {
+ "question": "Is stock applicable to the business (Yes / No)",
+ "question_key": "stock_info_available",
+ "type": "2",
+ "field_width": "45",
+ "api_properties": null,
+ "onchange_properties": [
+ {
+ "purpose": "FORM_CTRL",
+ "form_controls": [
+ {
+ "insert_index": "stock_info_available",
+ "expression": "(String('stock_info_available') == String('No'))",
+ "value_keys": [
+ "stock_info_available"
+ ],
+ "questions": [
+ {
+ "question": "Reason",
+ "question_key": "stock_not_available_reason",
+ "type": "7",
+ "field_width": "100",
+ "api_properties": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "is_subfield": "1",
+ "parent_question_key": "stock_info_available",
+ "answers": null,
+ "validations": [
+
+ ]
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "purpose": "FORM_CTRL",
+ "form_controls": [
+ {
+ "insert_index": "stock_info_available",
+ "expression": "(String('stock_info_available') == String('Yes'))",
+ "value_keys": [
+ "stock_info_available"
+ ],
+ "questions":[
+ {
+ "question": "Is the stock of finished goods observed, sufficient considering the size of operations",
+ "question_key": "estimated_uom",
+ "type": "3",
+ "field_width": "100",
+ "api_properties": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "is_subfield": "1",
+ "parent_question_key": "stock_info_available",
+ "answers": [
+ {
+ "answer": "Yes",
+ "answer_id": "yes"
+ },
+ {
+ "answer": "No",
+ "answer_id": "no"
+ },
+ {
+ "answer": "Stock not required to be maintained",
+ "answer_id": "not applicable"
+ }
+ ],
+ "validations": [
+
+ ]
+ }
+ ]
+ },
+ {
+ "insert_index": "stock_info_available",
+ "expression": "(String('stock_info_available') == String('Yes'))",
+ "value_keys": [
+ "stock_info_available"
+ ],
+ "questions": [
+ {
+ "question": [
+ {
+ "question": "Type of Stock",
+ "question_key": "stock_type",
+ "type": "3",
+ "field_width": "100",
+ "api_properties": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "is_subfield": "1",
+ "parent_question_key": "stock_info_available",
+ "answers": [
+ {
+ "answer": "RM",
+ "answer_id": "RM"
+ },
+ {
+ "answer": "FG",
+ "answer_id": "FG"
+ },
+ {
+ "answer": "SFG",
+ "answer_id": "SFG"
+ }
+ ],
+ "validations": [
+
+ ]
+ },
+ {
+ "question": "Name of trading goods/manufacturing goods (raw material/finished goods)/ Service Provided",
+ "question_key": "provider_name",
+ "place_holder": "Enter text",
+ "type": "1",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "field_type": "string",
+ "validations": [
+
+ ]
+ },
+ {
+ "question": "Stock",
+ "question_key": "provider_observed",
+ "type": "3",
+ "api_properties": null,
+ "answers": [
+ {
+ "answer": "Add Stock Details",
+ "answer_id": "yes"
+ },
+ {
+ "answer": "No Stock Observed",
+ "answer_id": "no"
+ }
+ ],
+ "is_repeatable": null,
+ "validations": [
+
+ ],
+ "onchange_properties": [
+ {
+ "purpose": "FORM_CTRL",
+ "form_controls": [
+ {
+ "insert_index": "provider_observed",
+ "expression": "(String('provider_observed') === String('yes'))",
+ "value_keys": [
+ "provider_observed"
+ ],
+ "questions": [
+ {
+ "question": "Estimated Quantity",
+ "question_key": "estimated_quantity",
+ "type": "1",
+ "field_width": "100",
+ "field_type": "num",
+ "api_properties": null,
+ "onchange_properties": [
+ {
+ "purpose": "validations",
+ "validations": [
+
+ {
+ "name": "required",
+ "isactive": "1",
+ "validator": "",
+ "message": "Either Estimated Stock value or Estimated Quantity is required",
+ "value": "(String('estimated_quantity') === String(''))",
+ "validation_to": "estimated_stock_value",
+ "value_keys": [
+ "estimated_quantity",
+ "estimated_stock_value"
+ ]
+ }
+ ]
+ }
+ ],
+ "is_repeatable": null,
+ "is_subfield": "1",
+ "parent_question_key": "provider_observed",
+ "answers": null,
+ "validations": [
+
+ ]
+ },
+ {
+ "question": "UOM",
+ "question_key": "estimated_uom",
+ "type": "3",
+ "field_width": "100",
+ "api_properties": {
+ "api": "getListOfMaster",
+ "api_method": "POST",
+ "params": {
+ "master_name": "UOM"
+ },
+ "fields": [
+ "uom_id",
+ "name"
+ ]
+ },
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "is_subfield": "1",
+ "parent_question_key": "provider_observed",
+ "answers": null,
+ "validations": [
+ ]
+ },
+ {
+ "question": "Estimated value of stock observed",
+ "question_key": "estimated_stock_value",
+ "type": "1",
+ "field_type": "numtoword",
+ "field_width": "100",
+ "api_properties": null,
+ "onchange_properties": [
+ {
+ "purpose": "validations",
+ "validations": [
+ {
+ "name": "required",
+ "isactive": "1",
+ "validator": "",
+ "message": "Either Estimated Stock value or Estimated Quantity is required",
+ "value": "(String('estimated_stock_value') === String(''))",
+ "validation_to": "estimated_quantity",
+ "value_keys": [
+ "estimated_stock_value"
+ ]
+ }
+ ]
+ }
+ ],
+ "is_repeatable": null,
+ "is_subfield": "1",
+ "parent_question_key": "provider_observed",
+ "answers": null,
+ "validations": []
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "question":"Name of the Company",
+ "question_key":"company_name",
+ "place_holder":"Enter text",
+ "type":"3",
+ "api_properties":{
+ "api":"getCompanyListForSMCList",
+ "api_method":"POST",
+ "params":{"records":{
+ "pd_id":"VAR_PD_ID",
+ "random_string":"VAR_RANDOM_STRING"
+ }},
+ "fields":[
+ "company_id",
+ "borrower_name"
+ ]
+ },
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Company Name Required",
+ "value":null
+ }
+ ]
+ }
+ ],
+ "is_repeatable": "1",
+ "group_title": "Stock details",
+ "group_key": "stock_details"
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "is_repeatable": null,
+ "answers": [
+ {
+ "answer": "Yes",
+ "answer_id": "Yes"
+ },
+ {
+ "answer": "No",
+ "answer_id": "No"
+ }
+ ],
+ "validations": [
+
+ ]
+ },
+ {
+ "question_key":"common_remarks",
+ "question":"Remarks",
+ "place_holder":"Enter the text",
+ "type":"7",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"45",
+ "validations":[
+ ]
+ }
+ ]
+}
\ No newline at end of file
diff --git a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/DONE/2.json b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/DONE/2.json
new file mode 100644
index 000000000..f5d414a0c
--- /dev/null
+++ b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/DONE/2.json
@@ -0,0 +1,478 @@
+{
+ "section_id":"5",
+ "section_name":"Address details",
+ "onsubmit":null,
+ "questions":[
+ {
+ "question":"Address at which PD was initiated",
+ "question_key":"initiated_address",
+ "type":"7",
+ "disable":false,
+ "field_width":"100",
+ "title":"Address Details",
+ "answers":true,
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question": "State",
+ "question_key": "state",
+ "type": "3",
+ "answers": null,
+ "field_width":"25",
+ "api_properties": {
+ "api": "getListOfMaster",
+ "api_method": "POST",
+ "params": {
+ "master_name": "STATE"
+ },
+ "fields": [
+ "state_id",
+ "name"
+ ]
+ },
+ "onchange_properties": [
+ {
+ "purpose": "api",
+ "api": "getListOfStatesAndCities",
+ "api_method": "POST",
+ "params": "{records:{state_id:'value_of_answer'}}",
+ "fields": [
+ "state_id",
+ "name"
+ ],
+ "local_variable": "local_city"
+ }
+ ],
+ "is_repeatable": null,
+ "validations": [
+ {
+ "name": "required",
+ "isactive": "1",
+ "validator": "Validators.required",
+ "message": "State Required",
+ "value": null
+ }
+ ]
+ },
+ {
+ "question": "City",
+ "question_key": "city",
+ "type": "3",
+ "answers": null,
+ "field_width":"25",
+ "api_properties": "local_city",
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": [
+ {
+ "name": "required",
+ "isactive": "1",
+ "validator": "Validators.required",
+ "message": "CIty Required",
+ "value": null
+ }
+ ]
+ },
+ {
+ "question": "Pincode",
+ "question_key": "pincode",
+ "type": "3",
+ "answers": null,
+ "field_width":"25",
+ "api_properties": "local_pincode",
+ "onchange_properties": [
+ {
+ "purpose": "FORM_CTRL",
+ "form_controls": [
+ {
+ "insert_index": "pincode",
+ "expression": "(pincode == 1)",
+ "value_keys": [
+ "pincode"
+ ],
+ "questions": [
+ {
+ "question_key": "pincode_others",
+ "question": "Specify the Pincode",
+ "place_holder": "Enter the Pincode",
+ "type": "1",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "field_type": "num",
+ "validations": [
+ {
+ "name": "required",
+ "isactive": "1",
+ "validator": "Validators.required",
+ "message": "Pincode is Required",
+ "value": null
+ },
+ {
+ "name": "pattern",
+ "isactive": "1",
+ "validator": "[0-9]{6}",
+ "message": "Pincode should be 6 digit",
+ "value": null
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "is_repeatable": null,
+ "validations": [
+ {
+ "name": "required",
+ "isactive": "1",
+ "validator": "Validators.required",
+ "message": "Pincode Required",
+ "value": null
+ }
+ ]
+ },
+ {
+ "question":"Is this the address where PD is done ?",
+ "question_key":"is_pd_done_on_initiated_address",
+ "type":"2",
+ "disable":false,
+ "field_width":"100",
+ "onchange_properties": [{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"is_pd_done_on_initiated_address",
+ "expression":"(String('is_pd_done_on_initiated_address') == String('No'))",
+ "value_keys":[
+ "is_pd_done_on_initiated_address"
+ ],
+ "questions":[
+ {
+ "question":"Reason for change in PD visit address",
+ "question_key":"end_use",
+ "type":"1",
+ "field_width":"100",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ },
+ {
+ "question":"Pincode",
+ "question_key":"Pincode_list",
+ "type":"3",
+ "disable":false,
+ "field_width":"25",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"COMMENTSONLOCALITY"
+ },
+ "fields":[
+ "comments_on_locality_id",
+ "rating"
+ ]
+ },
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ }, {
+ "question":"City",
+ "question_key":"City_list",
+ "type":"3",
+ "disable":false,
+ "field_width":"25",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"COMMENTSONLOCALITY"
+ },
+ "fields":[
+ "comments_on_locality_id",
+ "rating"
+ ]
+ },
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"State",
+ "question_key":"State_list",
+ "type":"3",
+ "disable":false,
+ "field_width":"25",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"STATE"
+ },
+ "fields":[
+ "state_id",
+ "name"
+ ]
+
+ },
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ }, {
+ "question":"Enter actual PD address",
+ "question_key":"actual_pd_address",
+ "type":"1",
+ "field_width":"100",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ }
+
+ ]
+ }
+ ]
+ }],
+ "api_properties":null,
+ "answers":[
+ {
+ "answer_id":"Yes",
+ "answer":"Yes"
+ },
+ {
+ "answer_id":"No",
+ "answer":"No"
+ }
+ ],
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Address Type",
+ "question_key":"Address_Type",
+ "type":"3",
+ "disable":false,
+ "field_width":"45",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"ADDRESSTYPE"
+ },
+ "fields":[
+ "address_type_id",
+ "address_type"
+ ]
+ },
+ "answers": null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Locality",
+ "question_key":"Locality",
+ "type":"3",
+ "disable":false,
+ "field_width":"45",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"LOCALITY"
+ },
+ "fields":[
+ "locality_id",
+ "locality_name"
+ ]
+ },
+
+ "answers": null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Approach to PD location*",
+ "question_key":"Approach_to_PD_location",
+ "type":"3",
+ "disable":false,
+ "field_width":"45",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"PDLOCATIONAPPROACH"
+ },
+ "fields":[
+ "pd_location_approach_id",
+ "description"
+ ]
+ },
+ "answers": null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Comment on Locality",
+ "question_key":"Comment_on_Locality",
+ "type":"3",
+ "disable":false,
+ "field_width":"45",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"COMMENTSONLOCALITY"
+ },
+ "fields":[
+ "comments_on_locality_id",
+ "rating"
+ ]
+ },
+ "answers": null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ }, {
+ "question":"Unit of Measurement",
+ "question_key":"Unit_of_Measurement",
+ "type":"3",
+ "disable":false,
+ "field_width":"45",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"UOM"
+ },
+ "fields":[
+ "uom_id",
+ "name"
+ ]
+ },
+ "answers": null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ },{
+ "question":"Estimate area of the Residence",
+ "question_key":"Estimate_area_of_the_Residence",
+ "type":"1",
+ "disable":false,
+ "field_width":"45",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ }
+
+ ]
+ }
+
\ No newline at end of file
diff --git a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/DONE/3.json b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/DONE/3.json
new file mode 100644
index 000000000..80140a283
--- /dev/null
+++ b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/DONE/3.json
@@ -0,0 +1,410 @@
+{
+ "section_id":"3",
+ "section_name":"Loan details",
+ "onsubmit":null,
+ "questions":[
+ {
+ "question":"Loan amount applied for ?",
+ "question_key":"loan_amount",
+ "type":"1",
+ "field_type":"numtoword",
+ "field_width":"65",
+ "answers":null,
+ "api_properties":null,
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"total_fund_requirement",
+ "expression":" typeof(total_fund_requirement) == 'number' && (Number(total_fund_requirement) < Number(loan_amount))",
+ "value_keys":[
+ "total_fund_requirement","loan_amount"
+ ],
+ "questions":[
+ {
+ "question":"Remarks on source of funds for balance amount required",
+ "question_key":"remarks_fund_source_balance",
+ "place_holder":"",
+ "field_type":"string",
+ "type":"1",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"total_fund_requirement",
+ "answers":null,
+ "validations":[
+
+ ]
+ }
+ ]
+ }]
+ }
+ ],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ },
+ {
+ "question":"Loan Tenure applied for ?",
+ "question_key":"loan_tenure",
+ "type":"1",
+ "field_type":"num",
+ "field_width":"25",
+ "onchange_properties": null,
+ "api_properties":null,
+ "answers":null,
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ },
+ {
+ "question":"Sub Product",
+ "question_key":"sub_product",
+ "type":"3",
+ "field_width":"65",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"SUBPRODUCTS"
+ },
+ "fields":[
+ "subproduct_id",
+ "name"
+ ]
+ },
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ },
+ {
+ "question":"What is the end use",
+ "question_key":"end_use",
+ "type":"3",
+ "field_width":"65",
+ "api_properties":{
+ "api":"getEndUseOfLoan",
+ "api_method":"POST",
+ "params":{
+ "master_name":null
+ },
+ "fields":["enduse_of_loan_id","enduse_of_loan"]
+ },
+
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ },
+ {
+ "question":"Is there a balance transfer?",
+ "question_key":"balance_transfer",
+ "type":"3",
+ "field_width":"65",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"BTLENDERLIST"
+ },
+ "fields":[
+ "bt_lender_list_id",
+ "lender_name"
+ ]
+ },
+ "answers": null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ },
+ {
+ "question":"EMI Amount comfortable paying",
+ "question_key":"emi_amount",
+ "type":"1",
+ "field_type":"numtoword",
+ "field_width":"65",
+ "answers":null,
+ "api_properties":null,
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"total_fund_requirement",
+ "expression":" typeof(total_fund_requirement) == 'number' && (Number(total_fund_requirement) < Number(loan_amount))",
+ "value_keys":[
+ "total_fund_requirement","loan_amount"
+ ],
+ "questions":[
+
+ ]
+ }]
+ }
+ ],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ },
+ {
+ "question":"Type of Property",
+ "question_key":"is_transfer",
+ "type":"3",
+ "sub_title":"Details of Property being Mortgaged",
+ "field_width":"55",
+ "api_properties":null,
+ "answers":[
+ {
+ "answer_id":"Chawl",
+ "answer":"Chawl"
+ },{
+ "answer_id":"Flat",
+ "answer":"Flat"
+ },{
+ "answer_id":"Floor",
+ "answer":"Floor"
+ },
+ {
+ "answer_id":"Independent House",
+ "answer":"Independent House"
+ }, {
+ "answer_id":"Row House",
+ "answer":"Row House"
+ }
+
+ ],
+ "onchange_properties": [],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ },
+ {
+ "question":"Specify Type of Property*",
+ "question_key":"Specify_Type",
+ "type":"1",
+ "field_width":"55",
+ "api_properties":null,
+ "answers":[
+ {
+ "answer_id":"other",
+ "answer":"other"
+ }
+
+ ],
+ "onchange_properties": [],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ },
+ {
+ "question":"Name of Owner",
+ "question_key":"owner_name",
+ "type":"4",
+ "field_width":"45",
+ "api_properties":
+ {
+ "purpose":"answer_options_local",
+ "master_name":"pd_applicants",
+ "fields":["pd_co_applicant_id","applicant_name"]
+ },
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ },
+ {
+ "question":"Status of Construction",
+ "question_key":"is_transfer",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"STATUSOFCONSTRUCTION"
+ },
+ "fields":[
+ "id",
+ "name"
+ ]
+ },
+ "answers": null,
+ "onchange_properties": [],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ },
+
+ {
+ "question":"Estimated market value as per customer",
+ "question_key":"emv_per_customer",
+ "place_holder":"",
+ "field_type":"numtoword",
+ "type":"1",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "answers":null,
+ "validations":[
+
+ ]
+ },
+ {
+ "question":"Address of Property*",
+ "question_key":"Address_of_Property",
+ "place_holder":"",
+ "field_type":"text",
+ "type":"1",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "answers":null,
+ "validations":[
+
+ ]
+ },
+ {
+ "question": "State",
+ "question_key": "state",
+ "type": "3",
+ "answers": null,
+ "field_width":"45",
+ "api_properties": {
+ "api": "getListOfMaster",
+ "api_method": "POST",
+ "params": {
+ "master_name": "STATE"
+ },
+ "fields": [
+ "state_id",
+ "name"
+ ]
+ },
+ "onchange_properties": [
+ {
+ "purpose": "api",
+ "api": "getListOfStatesAndCities",
+ "api_method": "POST",
+ "params": "{records:{state_id:'value_of_answer'}}",
+ "fields": [
+ "state_id",
+ "name"
+ ],
+ "local_variable": "local_city"
+ }
+ ],
+ "is_repeatable": null,
+ "validations": [
+ {
+ "name": "required",
+ "isactive": "1",
+ "validator": "Validators.required",
+ "message": "State Required",
+ "value": null
+ }
+ ]
+ },
+ {
+ "question": "City",
+ "question_key": "city",
+ "type": "3",
+ "answers": null,
+ "field_width":"45",
+ "api_properties": "local_city",
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": [
+ {
+ "name": "required",
+ "isactive": "1",
+ "validator": "Validators.required",
+ "message": "CIty Required",
+ "value": null
+ }
+ ]
+ },
+ {
+ "question": "Pincode",
+ "question_key": "pincode",
+ "type": "3",
+ "answers": null,
+ "field_width":"45",
+ "api_properties": "local_pincode",
+ "onchange_properties": [
+ {
+ "purpose": "FORM_CTRL",
+ "form_controls": [
+ {
+ "insert_index": "pincode",
+ "expression": "(pincode == 1)",
+ "value_keys": [
+ "pincode"
+ ],
+ "questions": [
+ {
+ "question_key": "pincode_others",
+ "question": "Specify the Pincode",
+ "place_holder": "Enter the Pincode",
+ "type": "1",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "field_type": "num",
+ "validations": [
+ {
+ "name": "required",
+ "isactive": "1",
+ "validator": "Validators.required",
+ "message": "Pincode is Required",
+ "value": null
+ },
+ {
+ "name": "pattern",
+ "isactive": "1",
+ "validator": "[0-9]{6}",
+ "message": "Pincode should be 6 digit",
+ "value": null
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "is_repeatable": null,
+ "validations": [
+ {
+ "name": "required",
+ "isactive": "1",
+ "validator": "Validators.required",
+ "message": "Pincode Required",
+ "value": null
+ }
+ ]
+ }
+
+
+ ]
+ }
+
\ No newline at end of file
diff --git a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/DONE/4.json b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/DONE/4.json
new file mode 100644
index 000000000..ef9f27ef7
--- /dev/null
+++ b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/DONE/4.json
@@ -0,0 +1,764 @@
+{
+ "section_id": "4",
+ "section_name": "Employement Information",
+ "onsubmit": null,
+ "questions": [
+
+
+
+ {
+ "question": "Name of Employer*",
+ "question_key": "Name_of_Employer",
+ "type": "3",
+ "disable":false,
+ "field_width": "35",
+ "answers": null,
+ "api_properties": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": [
+ {
+ "name": "required",
+ "isactive": "1",
+ "validator": "Validators.required",
+ "message": "Field Required",
+ "value": null
+ }
+ ]
+ },
+ {
+ "question": "Company profile in brief",
+ "question_key": "Company_profile_in_brief",
+ "type": "7",
+ "disable":false,
+ "field_width": "100",
+ "answers": null,
+ "api_properties": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": [
+ {
+ "name": "required",
+ "isactive": "1",
+ "validator": "Validators.required",
+ "message": "Field Required",
+ "value": null
+ }
+ ]
+ },
+ {
+ "question": "Since how long working with this employer?",
+ "question_key": "Since_how_long_working_with_this_employer?",
+ "field_type":"null",
+ "sub_title":"Since how long working with this employer?",
+ "disable":false,
+ "field_width": "100",
+ "answers": null,
+ "api_properties": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": []
+ },
+ {
+ "question": "Year*",
+ "question_key": "Year",
+ "type": "1",
+ "field_type":"num",
+
+ "disable":false,
+ "field_width": "25",
+ "answers": null,
+ "api_properties": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": [
+ {
+ "name": "required",
+ "isactive": "1",
+ "validator": "Validators.required",
+ "message": "Field Required",
+ "value": null
+ }
+ ]
+ },
+ {
+ "question": "Month",
+ "question_key": "Month",
+ "type": "1",
+ "disable":false,
+ "field_type":"num",
+ "field_width": "25",
+ "answers": null,
+ "api_properties": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": [
+ {
+ "name": "required",
+ "isactive": "1",
+ "validator": "Validators.required",
+ "message": "Field Required",
+ "value": null
+ }
+ ]
+ },
+ {
+ "question": "Total Work Experience",
+ "question_key": "Total_Work_Experience",
+ "type": "1",
+ "disable":false,
+ "field_width": "25",
+ "answers": null,
+ "api_properties": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": [
+ {
+ "name": "required",
+ "isactive": "1",
+ "validator": "Validators.required",
+ "message": "Field Required",
+ "value": null
+ }
+ ]
+ },
+ {
+ "question":"Was the employee met?",
+ "question_key":"Was_the_employee_met",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":null,
+ "answers":[
+ {
+ "answer_id":"Yes",
+ "answer":"Yes"
+ },
+ {
+ "answer_id":"No",
+ "answer":"No"
+ }
+ ],
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Was_the_employee_met",
+ "expression":"(String('Was_the_employee_met') == String('Yes'))",
+ "value_keys":[
+ "Was_the_employee_met"
+ ],
+ "questions":[
+ {
+ "question":"Name of the Person met",
+ "question_key":"Name_of_the_Person_met",
+ "place_holder":"",
+ "field_type":"text",
+ "type":"1",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Was_the_employee_met",
+ "answers":null,
+ "validations":[
+ ]
+ },{
+ "question":"Designation of Person met",
+ "question_key":"Designation_of_Person_met",
+ "place_holder":"",
+ "field_type":"text",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Was_the_employee_met",
+ "answers":null,
+ "validations":[
+ ]
+ },{
+ "question":"Photograph of 'Photo ID card of the Employee/Manager'",
+ "question_key":"Photograph",
+ "place_holder":"",
+ "field_type":"text",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Was_the_employee_met",
+ "answers":null,
+ "validations":[
+ ]
+ },{
+ "question":"Employer's/Manager's Company ID card / Visiting card provided?",
+ "question_key":"Visiting_card_provided",
+ "place_holder":"",
+ "field_type":"text",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Was_the_employee_met",
+ "answers":[
+ {
+ "answer_id":"Yes",
+ "answer":"Yes"
+ },
+ {
+ "answer_id":"No",
+ "answer":"No"
+ }
+ ],
+ "validations":[
+ ]
+ }]
+ }]
+
+ }],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ },
+ {
+ "question":"Salary Amount confirmed?",
+ "question_key":"Salary_Amount_confirmed",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":null,
+ "answers":[
+ {
+ "answer_id":"Yes",
+ "answer":"Yes"
+ },
+ {
+ "answer_id":"No",
+ "answer":"No"
+ }
+ ],
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Salary_Amount_confirmed",
+ "expression":"(String('Salary_Amount_confirmed') == String('No'))",
+ "value_keys":[
+ "Salary_Amount_confirmed"
+ ],
+ "questions":[
+ {
+ "question":"why salary amount was not confirmed",
+ "question_key":"why_salary_amount_was_not_confirmed",
+ "place_holder":"why salary amount was not confirmed",
+ "field_type":"text",
+ "type":"7",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Salary_Amount_confirmed",
+ "answers":null,
+ "validations":[
+ ]
+
+ }]
+ }]
+ }],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ },
+ {
+ "question":"Attendance register seen?",
+ "question_key":"Attendance_register_seen",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":null,
+ "answers":[
+ {
+ "answer_id":"Yes",
+ "answer":"yes"
+ },
+ {
+ "answer_id":"No",
+ "answer":"no"
+ }
+ ],
+ "onchange_properties": [],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ },
+ {
+ "question":"Salary register seen?",
+ "question_key":"Salary_register_seen",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":null,
+ "answers":[
+ {
+ "answer_id":"Yes",
+ "answer":"yes"
+ },
+ {
+ "answer_id":"No",
+ "answer":"no"
+ }
+ ],
+ "onchange_properties": [],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ },
+ {
+ "question":"Cash Voucher",
+ "question_key":"Cash_Voucher",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":null,
+ "answers":[
+ {
+ "answer_id":"Yes",
+ "answer":"yes"
+ },
+ {
+ "answer_id":"No",
+ "answer":"no"
+ }
+ ],
+ "onchange_properties": [],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ },
+ {
+ "question":"Salary Certificate",
+ "question_key":"Salary_Certificate",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":null,
+ "answers":[
+ {
+ "answer_id":"Yes",
+ "answer":"yes"
+ },
+ {
+ "answer_id":"No",
+ "answer":"no"
+ }
+ ],
+ "onchange_properties": [],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ },
+ {
+ "question":"Salary Slip",
+ "question_key":"Salary_Slip",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":null,
+ "answers":[
+ {
+ "answer_id":"Yes",
+ "answer":"yes"
+ },
+ {
+ "answer_id":"No",
+ "answer":"no"
+ }
+ ],
+ "onchange_properties": [],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ },
+ {
+ "question":"Others please specify",
+ "question_key":"Others_please_specify",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":null,
+ "answers":[
+ {
+ "answer_id":"Yes",
+ "answer":"Yes"
+ },
+ {
+ "answer_id":"No",
+ "answer":"No"
+ }
+ ],
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Others_please_specify",
+ "expression":"(String('Others_please_specify') == String('Yes'))",
+ "value_keys":[
+ "Others_please_specify"
+ ],
+ "questions":[
+ {
+ "question":"Specify the Document",
+ "question_key":"Specify_the_Document",
+ "type":"1",
+ "field_width":"45",
+ "api_properties":null,
+ "parent_question_key":"Others_please_specify",
+ "answers":[
+
+ ],
+ "onchange_properties": [],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ }]
+ }]
+
+ },{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Others_please_specify",
+ "expression":"(String('Others_please_specify') == String('No'))",
+ "value_keys":[
+ "Others_please_specify"
+ ],
+ "questions":[
+ {
+ "question":"Why Documents are not available?",
+ "question_key":"Why_Documents_are_not_available",
+ "place_holder":"",
+ "field_type":"text",
+ "type":"1",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Others_please_specify",
+ "answers":null,
+ "validations":[
+ ]
+ }]
+ }]
+
+ }],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ },
+
+ {
+ "question":"Mode of getting salary",
+ "question_key":"Mode_of_getting_salary",
+ "type":"3",
+ "field_width":"65",
+ "api_properties":null,
+ "answers":[
+ {
+ "answer":"Bank Transfer",
+ "answer_id":"Bank_Transfer"
+ },
+ {
+ "answer":"Paid in Cash",
+ "answer_id":"Paid_in_Cash"
+ },
+ {
+ "answer":"Both Bank Transfer & Cash",
+ "answer_id":"Both_Bank_Transfer_and _Cash"
+ }
+ ],
+ "onchange_properties": [],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ }, {
+ "question": "Salary Details",
+ "question_key": "Salary_Details",
+ "field_type":"null",
+ "sub_title":"Salary Details",
+ "disable":false,
+ "field_width": "100",
+ "answers": null,
+ "api_properties": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": []
+ },
+ {
+ "question": "Date of Salary",
+ "question_key": "Date_of_Salary",
+ "field_type":"null",
+ "sub_title":"Date of Salary",
+ "disable":false,
+ "field_width": "100",
+ "answers": null,
+ "api_properties": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": []
+ },
+ {
+ "question":"From",
+ "question_key":"from",
+ "type":"3",
+
+ "field_width":"45",
+ "api_properties":null,
+ "answers":[
+ {
+ "answer":"Bank Transfer",
+ "answer_id":"Bank_Transfer"
+ },
+ {
+ "answer":"Paid in Cash",
+ "answer_id":"Paid_in_Cash"
+ },
+ {
+ "answer":"Both Bank Transfer & Cash",
+ "answer_id":"Both_Bank_Transfer_and _Cash"
+ }
+ ],
+ "onchange_properties": [],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ },
+ {
+ "question":"To",
+ "question_key":"to",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":null,
+ "answers":[
+ {
+ "answer":"Bank Transfer",
+ "answer_id":"Bank_Transfer"
+ },
+ {
+ "answer":"Paid in Cash",
+ "answer_id":"Paid_in_Cash"
+ },
+ {
+ "answer":"Both Bank Transfer & Cash",
+ "answer_id":"Both_Bank_Transfer_and _Cash"
+ }
+ ],
+ "onchange_properties": [],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ }, {
+ "question":"Has salary been paid regularly in last 3 months",
+ "question_key":"Has_salary_been_paid_regularly_in_last_3_months",
+ "type":"3",
+ "field_width":"65",
+ "api_properties":null,
+ "answers":[
+ {
+ "answer":"Yes",
+ "answer_id":"yes"
+ },
+ {
+ "answer":"No",
+ "answer_id":"no"
+ }
+
+ ],
+ "onchange_properties": [],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ },
+ {
+ "question":"Gross Monthly Salary",
+ "question_key":"Gross_Monthly_Salary",
+ "type":"1",
+ "field_type":"numtoword",
+ "field_width":"65",
+ "api_properties":null,
+ "answers":[
+ ],
+ "onchange_properties": [],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ },
+ {
+ "question":"Net Monthly Salary",
+ "question_key":"Net_Monthly_Salary",
+ "type":"1",
+ "field_width":"65",
+ "field_type":"numtoword",
+ "api_properties":null,
+ "answers":[
+
+ ],
+ "onchange_properties": [],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ },
+ {
+ "question":"Bounce or incentive*",
+ "question_key":"Bounce_or_incentive",
+ "type":"1",
+ "field_type":"numtoword",
+ "field_width":"65",
+ "api_properties":null,
+ "answers":[
+
+ ],
+ "onchange_properties": [],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ }, {
+ "question": "Bonus Frequency",
+ "question_key": "Bonus_Frequency",
+ "type": "3",
+ "field_width": "45",
+ "api_properties": null,
+ "answers": [
+ {
+ "answer": "Daily",
+ "answer_id": "Daily"
+ },
+ {
+ "answer": "Every 12 days",
+ "answer_id": "Every_12_days"
+ },
+ {
+ "answer": " Every 15 days",
+ "answer_id": " Every_15_days"
+ },
+ {
+ "answer": " Every 3 months",
+ "answer_id": " Every_3_months"
+ },
+ {
+ "answer": " Every 6 month",
+ "answer_id": " Every_6_month"
+ },
+ {
+ "answer": " Monthly",
+ "answer_id": "Monthly"
+ },
+ {
+ "answer": " Yearly",
+ "answer_id": "Yearly"
+ }
+ ],
+ "onchange_properties": [
+ ],
+ "is_repeatable": null,
+ "validations": [
+
+ ]
+ },
+ {
+ "question": "Type of Bonus",
+ "question_key": "Type_of_Bonus",
+ "type": "3",
+ "field_width": "45",
+ "api_properties": null,
+ "answers": [
+ {
+ "answer": "Fixed",
+ "answer_id": "Fixed"
+ },
+ {
+ "answer": "Variable depending on performance",
+ "answer_id": "Variable_depending_on_performance"
+ },
+ {
+ "answer": " Others",
+ "answer_id": "Others"
+ }
+
+ ],
+ "onchange_properties": [
+ ],
+ "is_repeatable": null,
+ "validations": [
+
+ ]
+ },{
+ "question":"ID card issued by the Company seen?*",
+ "question_key":"ID_card_issued_by_the_Company_seen",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":null,
+ "answers":[
+ {
+ "answer_id":"Yes",
+ "answer":"Yes"
+ },
+ {
+ "answer_id":"No",
+ "answer":"No"
+ }
+ ],
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"ID_card_issued_by_the_Company_seen",
+ "expression":"(String('ID_card_issued_by_the_Company_seen') == String('No'))",
+ "value_keys":[
+ "ID_card_issued_by_the_Company_seen"
+ ],
+ "questions":[
+ {
+ "question_key": "common_remarks",
+ "question": "Remarks",
+ "place_holder": "Enter the text",
+ "type": "7",
+ "disable":false,
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "field_type": "string",
+ "field_width": "45",
+ "validations": []
+ }]
+ }]
+ }],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ }
+
+
+ ]
+}
\ No newline at end of file
diff --git a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/DONE/5.json b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/DONE/5.json
new file mode 100644
index 000000000..c7b1124d0
--- /dev/null
+++ b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/DONE/5.json
@@ -0,0 +1,1141 @@
+{
+ "section_id":"5",
+ "section_name":"Other Assets Details",
+ "onsubmit":[
+ ],
+ "questions":[ {
+ "question":"Is the Asset Information Available?",
+ "question_key":"Is_the_Asset_Information_Available",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":null,
+ "answers":[
+ {
+ "answer_id":"Yes",
+ "answer":"Yes"
+ },
+ {
+ "answer_id":"No",
+ "answer":"No"
+ }
+ ],
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Is_the_Asset_Information_Available",
+ "expression":"(String('Is_the_Asset_Information_Available') == String('Yes'))",
+ "value_keys":[
+ "Is_the_Asset_Information_Available"
+ ],
+ "questions":[
+ {
+ "question":[
+ {
+ "question":"Assets Type",
+ "question_key":"Assets_Type",
+ "place_holder":"Enter text",
+ "type":"3",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"ASSETTYPE"
+ },
+ "fields":[
+ "id",
+ "name"
+ ]
+ },
+ "answers":null,
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Assets_Type",
+ "expression":"(String('Assets_Type') == String('4'))",
+ "value_keys":[
+ "Assets_Type"
+ ],
+ "questions":[
+ {
+ "question":"Description",
+ "question_key":"Description",
+ "place_holder":"",
+ "type":"1",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Assets_Type",
+ "answers":null,
+ "validations":[
+ ]
+ },{
+ "question":"Appromximate Market Value",
+ "question_key":"Appromximate_Market_Value",
+ "place_holder":"",
+ "type":"1",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Assets_Type",
+ "answers":null,
+ "validations":[
+ ]
+ }]
+ }]
+
+ }, {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Assets_Type",
+ "expression":"(String('Assets_Type') == String('7'))",
+ "value_keys":[
+ "Assets_Type"
+ ],
+ "questions":[
+ {
+ "question":"Type",
+ "question_key":"type",
+ "place_holder":"Enter text",
+ "type":"3",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"INVESTMENTTYPE"
+ },
+ "fields":[
+ "id",
+ "name"
+ ]
+ },
+ "answers": null,
+ "onchange_properties": [{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"type",
+ "expression":"(String('type') == String('6'))",
+ "value_keys":[
+ "type"
+ ],
+ "questions":[
+
+ {
+ "question":"Name of organisation in which investment done",
+ "question_key":"Name_of_organisation_in_which_investment_done1",
+ "type":"1",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "answers": null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Started Business Required",
+ "value":null
+ }
+ ]
+
+ },{
+ "question":"Current Market Value",
+ "question_key":"Current_Market_Value1",
+ "type":"1",
+ "field_width":"45",
+ "field_type":"numtoword",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "answers": null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Started Business Required",
+ "value":null
+ }
+ ]
+
+ }
+
+ ]
+ }
+ ]
+ },{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"type",
+ "expression":"(String('type') == String('3'))",
+ "value_keys":[
+ "type"
+ ],
+ "questions":[
+
+ {
+ "question":"Bank Name",
+ "question_key":"BankName1",
+ "type":"1",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "answers": null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Started Business Required",
+ "value":null
+ }
+ ]
+
+ } ,{
+ "question":"Current Market Value",
+ "question_key":"Current_MarketValue2",
+ "type":"1",
+ "field_width":"45",
+ "field_type":"numtoword",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "answers": null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Started Business Required",
+ "value":null
+ }
+ ]
+
+ }
+
+ ]
+ }
+ ]
+ },{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"type",
+ "expression":"(String('type') == String('4'))",
+ "value_keys":[
+ "type"
+ ],
+ "questions":[
+
+ {
+ "question":"Name of organisation in which investment done",
+ "question_key":"Name_of_organisation_in_which_investment_done2",
+ "type":"1",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "answers": null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Started Business Required",
+ "value":null
+ }
+ ]
+
+ },{
+ "question":"Current Market Value",
+ "question_key":"Current_Market_Value3",
+ "type":"1",
+ "field_width":"45",
+ "field_type":"numtoword",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "answers": null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Started Business Required",
+ "value":null
+ }
+ ]
+
+ }
+
+ ]
+ }
+ ]
+ },{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"type",
+ "expression":"(String('type') == String('2'))",
+ "value_keys":[
+ "type"
+ ],
+ "questions":[
+
+ {
+ "question":"Bank Name",
+ "question_key":"Bank_Name2",
+ "type":"1",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "answers": null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Started Business Required",
+ "value":null
+ }
+ ]
+
+ },{
+ "question":"Current Market Value",
+ "question_key":"Current_Market_Value4",
+ "type":"1",
+ "field_width":"45",
+ "field_type":"numtoword",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "answers": null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Started Business Required",
+ "value":null
+ }
+ ]
+
+ }
+
+ ]
+ }
+ ]
+ },{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"type",
+ "expression":"(String('type') == String('5'))",
+ "value_keys":[
+ "type"
+ ],
+ "questions":[
+
+ {
+ "question":"Name of organisation in which investment done",
+ "question_key":"Name_of_organisation_in_which_investment_done3",
+ "type":"1",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "answers": null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Started Business Required",
+ "value":null
+ }
+ ]
+
+ },{
+ "question":"Current Market Value",
+ "question_key":"Current_Market_Value4",
+ "type":"1",
+ "field_width":"45",
+ "field_type":"numtoword",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "answers": null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Started Business Required",
+ "value":null
+ }
+ ]
+
+ }
+
+ ]
+ }
+ ]
+ },{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"type",
+ "expression":"(String('type') == String('1'))",
+ "value_keys":[
+ "type"
+ ],
+ "questions":[
+
+ {
+ "question":"Specify Type",
+ "question_key":"Specify_Type",
+ "type":"1",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "answers": null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Started Business Required",
+ "value":null
+ }
+ ]
+
+ },{
+ "question":"Bank Name",
+ "question_key":"Bank_Name3",
+ "type":"1",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "answers": null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Started Business Required",
+ "value":null
+ }
+ ]
+
+ },{
+ "question":"Current Market Value",
+ "question_key":"Current_Market_Value5",
+ "type":"1",
+ "field_width":"45",
+ "field_type":"numtoword",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "answers": null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Started Business Required",
+ "value":null
+ }
+ ]
+
+ }
+
+ ]
+ }
+ ]
+ }],
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Entity Name Required",
+ "value":null
+ }
+ ]
+
+ }
+ ]
+ }]
+
+ } ,{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Assets_Type",
+ "expression":"(String('Assets_Type') == String('6'))",
+ "value_keys":[
+ "Assets_Type"
+ ],
+ "questions":[
+ {
+ "question":"Premium Paid",
+ "question_key":"Premium_Paid",
+ "place_holder":"Enter text",
+ "type":"1",
+ "field_width":"45",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Entity Name Required",
+ "value":null
+ }
+ ]
+
+ },{
+ "question":"Frequency",
+ "question_key":"Frequency",
+ "place_holder":"Enter text",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"FREQUENCY"
+ },
+ "fields":[
+ "frequency_id",
+ "name"
+ ]
+ },
+ "answers": null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Entity Name Required",
+ "value":null
+ }
+ ]
+
+ },{
+ "question":"Sum Assured",
+ "question_key":"Sum_Assured",
+ "place_holder":"Enter text",
+ "type":"1",
+ "field_width":"45",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Entity Name Required",
+ "value":null
+ }
+ ]
+
+ },{
+ "question":"Member Covered",
+ "question_key":"Member_Covered",
+ "place_holder":"Enter text",
+ "type":"1",
+ "field_width":"45",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Entity Name Required",
+ "value":null
+ }
+ ]
+
+ }
+ ]
+ }]
+
+ },{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Assets_Type",
+ "expression":"(String('Assets_Type') == String('2'))",
+ "value_keys":[
+ "Assets_Type"
+ ],
+ "questions":[
+ {
+ "question":"Property Type",
+ "question_key":"Property_Type",
+ "place_holder":"Enter text",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"PROPERTIES"
+ },
+ "fields":[
+ "id",
+ "name"
+ ]
+ },
+ "answers": null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Entity Name Required",
+ "value":null
+ }
+ ]
+
+ },{
+ "question":"Area Covered",
+ "question_key":"Area_Covered",
+ "place_holder":"Enter text",
+ "type":"1",
+ "field_width":"45",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Entity Name Required",
+ "value":null
+ }
+ ]
+
+ },{
+ "question":"Appromximate Market Value",
+ "question_key":"appromximate_market_Value",
+ "place_holder":"",
+ "type":"1",
+ "field_width":"45",
+ "field_type": "numtoword",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Assets_Type",
+ "answers":null,
+ "validations":[
+ ]
+
+ },{
+ "question":"Unit of Measurement",
+ "question_key":"Unit_of_Measurement",
+ "place_holder":"Enter text",
+ "type":"3",
+ "field_width":"45",
+ "api_properties": null,
+ "answers": [
+ {
+ "answer": "Acres",
+ "answer_id": "Acres"
+ },
+ {
+ "answer": "Hectares",
+ "answer_id": "Hectares"
+ },
+ {
+ "answer": " Square Feet",
+ "answer_id": " Square_Feet"
+ },
+ {
+ "answer": "Square Meters",
+ "answer_id": "Square_Meters"
+ },
+ {
+ "answer": "Others",
+ "answer_id": "Others"
+ }
+
+ ],
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Entity Name Required",
+ "value":null
+ }
+ ]
+
+ },{
+ "question":"Age of Assets in Years",
+ "question_key":"Age_of_Assets_in_years",
+ "place_holder":"Enter text",
+ "type":"1",
+ "field_width":"45",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Entity Name Required",
+ "value":null
+ }
+ ]
+
+ } ,{
+ "question":"Age of Assets in Months",
+ "question_key":"Age_of_Assets_in_months",
+ "place_holder":"Enter text",
+ "type":"1",
+ "field_width":"45",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Entity Name Required",
+ "value":null
+ }
+ ]
+
+ },{
+ "question":"Purchase Year",
+ "question_key":"Purchase_year",
+ "place_holder":"Enter text",
+ "type":"1",
+ "field_width":"45",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Entity Name Required",
+ "value":null
+ }
+ ]
+
+ }
+ ]
+ }]
+
+ },{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Assets_Type",
+ "expression":"(String('Assets_Type') == String('1'))",
+ "value_keys":[
+ "Assets_Type"
+ ],
+ "questions":[
+ {
+ "question":"Description of Assets*",
+ "question_key":"Description_of_Assets",
+ "place_holder":"Enter text",
+ "type":"1",
+ "field_width":"100",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Entity Name Required",
+ "value":null
+ }
+ ]
+
+ },{
+ "question":"Appromximate Market Value",
+ "question_key":"Appromximate_market_Value",
+ "place_holder":"",
+ "type":"1",
+ "field_width":"45",
+ "field_type": "numtoword",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Assets_Type",
+ "answers":null,
+ "validations":[
+ ]
+
+ },{
+ "question":"Age of Assets in Years",
+ "question_key":"Age_of_Assets_Years",
+ "place_holder":"Enter text",
+ "type":"1",
+ "field_width":"45",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Entity Name Required",
+ "value":null
+ }
+ ]
+
+ } ,{
+ "question":"Age of Assets in Months",
+ "question_key":"Age_of_Assets_Months",
+ "place_holder":"Enter text",
+ "type":"1",
+ "field_width":"45",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Entity Name Required",
+ "value":null
+ }
+ ]
+
+ },{
+ "question":"Purchase Year",
+ "question_key":"Purchases_Year",
+ "place_holder":"Enter text",
+ "type":"1",
+ "field_width":"45",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Entity Name Required",
+ "value":null
+ }
+ ]
+
+ }
+ ]
+ }]
+
+ },{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Assets_Type",
+ "expression":"(String('Assets_Type') == String('3'))",
+ "value_keys":[
+ "Assets_Type"
+ ],
+ "questions":[
+ {
+ "question":"Type of Vehicle",
+ "question_key":"Type_of_Vehicle",
+ "place_holder":"Enter text",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"VEHICLETYPE"
+ },
+ "fields":[
+ "vehicle_type_id",
+ "vehicle_type_name"
+ ]
+ },
+ "answers": null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Entity Name Required",
+ "value":null
+ }
+ ]
+
+ },{
+ "question":"Description of Vehicle(example - Toyota Altis)",
+ "question_key":"Description_of_Vehicle",
+ "place_holder":"Enter text",
+ "type":"1",
+ "field_width":"45",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Entity Name Required",
+ "value":null
+ }
+ ]
+
+ },{
+ "question":"Appromximate Market Value",
+ "question_key":"Appromximate_marketValue",
+ "place_holder":"",
+ "type":"1",
+ "field_width":"45",
+ "field_type": "numtoword",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Assets_Type",
+ "answers":null,
+ "validations":[
+ ]
+
+ },{
+ "question":"Age of Assets in Years",
+ "question_key":"Age_of_Assets_in_Years",
+ "place_holder":"Enter text",
+ "type":"1",
+ "field_width":"45",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Entity Name Required",
+ "value":null
+ }
+ ]
+
+ } ,{
+ "question":"Age of Assets in Months",
+ "question_key":"Age_of_Assets_in_Months",
+ "place_holder":"Enter text",
+ "type":"1",
+ "field_width":"45",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Entity Name Required",
+ "value":null
+ }
+ ]
+
+ },{
+ "question":"Purchase Year",
+ "question_key":"Purchase_Year",
+ "place_holder":"Enter text",
+ "type":"1",
+ "field_width":"45",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Entity Name Required",
+ "value":null
+ }
+ ]
+
+ }
+ ]
+ }]
+
+ }],
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Entity Name Required",
+ "value":null
+ }
+ ]
+
+ },
+
+ {
+ "question":"Name of the Owner",
+ "question_key":"Name_of_the_Owner",
+ "type":"4",
+ "field_width":"45",
+ "api_properties":
+ {
+ "purpose":"answer_options_local",
+ "master_name":"pd_applicants",
+ "fields":["pd_co_applicant_id","applicant_name"]
+ },
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "answers": null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Started Business Required",
+ "value":null
+ }
+ ]
+
+ },{
+ "question":"Is there a Loan Exiting Against the Assets? ",
+ "question_key":"Is_there_a_Loan_Exiting_Against_the_Assets",
+ "type":"3",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "answers":[{
+ "answer":"Yes",
+ "answer_id":"yes"
+ },
+ {
+ "answer":"No",
+ "answer_id":"no"
+ }],
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Started Business Required",
+ "value":null
+ }
+ ]
+
+ }
+
+
+ ],
+ "is_repeatable":"1",
+ "group_title":"Assets Information",
+ "group_key":"Assets Information",
+ "form_name":"Assets Information"
+ }
+ ]
+ }]
+
+ }],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ },
+
+ {
+ "question_key":"common_remarks",
+ "question":"Remarks",
+ "place_holder":"Enter the text",
+ "type":"7",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"65",
+ "validations":[
+ ]
+ }
+ ]
+ }
\ No newline at end of file
diff --git a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/DONE/6.json b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/DONE/6.json
new file mode 100644
index 000000000..7f8fd455e
--- /dev/null
+++ b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/DONE/6.json
@@ -0,0 +1,683 @@
+{
+ "section_id":"6",
+ "section_name":"Banking Details",
+ "onsubmit":[
+ ],
+ "questions":[ {
+ "question":"Is the Personal Banking Information Available",
+ "question_key":"Is_the_Personal_Banking_Information_Available",
+ "type":"3",
+ "sub_title":"Personal Banking Details",
+ "field_width":"65",
+ "api_properties":null,
+ "answers":[
+ {
+ "answer_id":"Yes",
+ "answer":"Yes"
+ },
+ {
+ "answer_id":"No",
+ "answer":"No"
+ }
+ ],
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Is_the_Personal_Banking_Information_Available",
+ "expression":"(String('Is_the_Personal_Banking_Information_Available') == String('Yes'))",
+ "value_keys":[
+ "Is_the_Personal_Banking_Information_Available"
+ ],
+ "questions":[
+ {
+ "question":[
+ {
+ "question_key":"Account_Holder_Name",
+ "question":"Account Holder's Name",
+ "place_holder":"Enter the text",
+ "type":"3",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"30",
+ "validations":[
+ ]
+ },{
+ "question_key":"Banking_name",
+ "question":"Banking Name",
+ "place_holder":"Enter the text",
+ "type":"8",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"BTLENDERLIST"
+ },
+ "fields":[
+ "bt_lender_list_id",
+ "lender_name"
+ ]
+ },
+ "answers":null,
+ "onchange_properties":[{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Banking_name",
+ "expression":"(String('Banking_name') == String('1'))",
+ "value_keys":[
+ "Banking_name"
+ ],
+ "questions":[
+ {
+ "question":"Salary Credited in this account",
+ "question_key":"Salary_Credited_in_this_account",
+ "type":"1",
+ "field_width":"30",
+ "api_properties":null,
+ "parent_question_key":"Banking_name",
+ "answers":[
+ {
+ "answer_id":"YES",
+ "answer":"YES"
+ },
+ {
+ "answer_id":"NO",
+ "answer":"NO"
+ }, {
+ "answer_id":"NA",
+ "answer":"NA"
+ }
+
+
+ ],
+ "onchange_properties": [],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ }]
+ }]
+
+
+
+ }],
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"30",
+ "validations":[
+ ]
+ }, {
+ "question":"Account Type",
+ "question_key":"Is_the_Personal_Banking_Information_Available",
+ "place_holder":"Enter text",
+ "type":"3",
+ "field_width":"30",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"ACCOUNTTYPE"
+ },
+ "fields":[
+ "id",
+ "name"
+ ]
+ },
+ "answers": null,
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Is_the_Personal_Banking_Information_Available",
+ "expression":"(String('Is_the_Personal_Banking_Information_Available') == String('4'))",
+ "value_keys":[
+ "Is_the_Personal_Banking_Information_Available"
+ ],
+ "questions":[
+ {
+ "question":"Limit in case of OD / CC account",
+ "question_key":"Limit_in_case_of_OD_CC_account",
+ "type":"1",
+ "field_type":"numtoword",
+ "field_width":"45",
+ "api_properties":null,
+ "parent_question_key":"loan_type",
+ "answers":[
+
+ ],
+ "onchange_properties": [],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ }]
+ }]
+
+
+
+ }, {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Is_the_Personal_Banking_Information_Available",
+ "expression":"(String('Is_the_Personal_Banking_Information_Available') == String('3'))",
+ "value_keys":[
+ "Is_the_Personal_Banking_Information_Available"
+ ],
+ "questions":[
+ {
+ "question":"Limit in case of OD / CC account",
+ "question_key":"limit_in_case_of_OD_CC_account",
+ "type":"1",
+ "field_width":"45",
+ "field_type":"numtoword",
+ "api_properties":null,
+ "parent_question_key":"loan_type",
+ "answers":[
+
+ ],
+ "onchange_properties": [],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ }]
+ }]
+
+
+
+ }],
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Personal Banking Information Required",
+ "value":null
+ }
+ ]
+ }, {
+ "question_key":null,
+ "question":null,
+ "place_holder":"Enter the text",
+ "type":null,
+ "api_properties":null,
+ "sub_title":"Number of Years / Months since account was started",
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"100",
+ "validations":[
+ ]
+ }, {
+ "question_key":"year",
+ "question":"Year",
+ "place_holder":"Enter the text",
+ "type":"1",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"25",
+ "validations":[
+ ]
+ }, {
+ "question_key":"month",
+ "question":"Month",
+ "place_holder":"Enter the text",
+ "type":"1",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"25",
+ "validations":[
+ ]
+ },
+ {
+ "question":"Is this same AC used for?",
+ "question_key":"Is_this_same_AC_used_for",
+ "place_holder":"Enter the text",
+ "type":"3",
+ "api_properties":null,
+ "answers":[
+ {
+ "answer_id":"Personal",
+ "answer":"Personal"
+ },
+ {
+ "answer_id":"Business",
+ "answer":"Business"
+ },
+ {
+ "answer_id":"Both",
+ "answer":"Both"
+ }
+ ],
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"25",
+ "validations":[
+ ]
+ }
+ ],
+ "is_repeatable":"1",
+ "group_title":"Personal Banking Details",
+ "group_key":"Personal_Banking_Details",
+ "form_name":"Personal Banking Details"
+ }
+ ]
+ }]
+
+}],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ }, {
+ "question":"Is the Business Information Available",
+ "question_key":"Is_the_Business_Information_Available",
+ "type":"3",
+ "sub_title":"Business Details",
+ "field_width":"65",
+ "api_properties":null,
+ "answers":[
+ {
+ "answer_id":"Yes",
+ "answer":"Yes"
+ },
+ {
+ "answer_id":"No",
+ "answer":"No"
+ }
+ ],
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Is_the_Business_Information_Available",
+ "expression":"(String('Is_the_Business_Information_Available') == String('Yes'))",
+ "value_keys":[
+ "Is_the_Business_Information_Available"
+ ],
+ "questions":[
+ {
+ "question":[
+ {
+ "question_key":"Account_Holder_name",
+ "question":"Account Holder's Name",
+ "place_holder":"Enter the text",
+ "type":"3",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"30",
+ "validations":[
+ ]
+ },{
+ "question_key":"banking_name",
+ "question":"Banking Name",
+ "place_holder":"Enter the text",
+ "type":"8",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"BTLENDERLIST"
+ },
+ "fields":[
+ "bt_lender_list_id",
+ "lender_name"
+ ]
+ },
+ "answers":null,
+ "onchange_properties":[{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"banking_name",
+ "expression":"(String('banking_name') == String('1'))",
+ "value_keys":[
+ "banking_name"
+ ],
+ "questions":[
+ {
+ "question":"Salary Credited in this account",
+ "question_key":"salary_Credited_in_this_account",
+ "type":"1",
+ "field_width":"30",
+ "api_properties":null,
+ "parent_question_key":"banking_name",
+ "answers":[
+ {
+ "answer_id":"YES",
+ "answer":"YES"
+ },
+ {
+ "answer_id":"NO",
+ "answer":"NO"
+ }, {
+ "answer_id":"NA",
+ "answer":"NA"
+ }
+
+
+ ],
+ "onchange_properties": [],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ }]
+ }]
+
+
+
+ }],
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"30",
+ "validations":[
+ ]
+ }, {
+ "question":"Account Type",
+ "question_key":"Account_Type",
+ "place_holder":"Enter text",
+ "type":"3",
+ "field_width":"30",
+ "api_properties":null,
+ "answers":[
+ {
+ "answer_id":"CC",
+ "answer":"CC"
+ },
+ {
+ "answer_id":"Current",
+ "answer":"Current"
+ },
+ {
+ "answer_id":"OD",
+ "answer":"OD"
+ },
+ {
+ "answer_id":"Savings",
+ "answer":"Savings"
+ }
+ ],
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Account_Type",
+ "expression":"(String('Account_Type') == String('4'))",
+ "value_keys":[
+ "Account_Type"
+ ],
+ "questions":[
+
+ {
+ "question":"Limit in case of OD / CC account",
+ "question_key":"Limit_in_case_of_OD_CC_account",
+ "type": "1",
+ "field_width": "45",
+ "field_type":"numtoword",
+ "api_properties": null,
+ "parent_question_key":"loan_type",
+ "answers":[
+
+ ],
+ "onchange_properties": [],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ }, {
+ "question":"Is the main business account",
+ "question_key":"Is_the_main_business_account",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":null,
+ "parent_question_key":"loan_type",
+ "answers":[
+ {
+ "answer_id":"YES",
+ "answer":"YES"
+ },
+ {
+ "answer_id":"NO",
+ "answer":"NO"
+ }
+
+
+ ],
+ "onchange_properties": [],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ }]
+ }]
+
+
+
+ }, {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Account_Type",
+ "expression":"(String('Account_Type') == String('3'))",
+ "value_keys":[
+ "Account_Type"
+ ],
+ "questions":[
+ {
+ "question":"Limit in case of OD / CC account",
+ "question_key":"limit_in_case_of_OD_CC_account",
+ "type":"1",
+ "field_width":"45",
+ "api_properties":null,
+ "parent_question_key":"loan_type",
+ "answers":[
+
+ ],
+ "onchange_properties": [],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ }, {
+ "question":"Is the main business account",
+ "question_key":"is_the_main_business_account",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":null,
+ "parent_question_key":"loan_type",
+ "answers":[
+ {
+ "answer_id":"YES",
+ "answer":"YES"
+ },
+ {
+ "answer_id":"NO",
+ "answer":"NO"
+ }
+
+
+ ],
+ "onchange_properties": [],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ }]
+ }]
+
+
+
+ }, {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Account_Type",
+ "expression":"(String('Account_Type') == String('2'))",
+ "value_keys":[
+ "Account_Type"
+ ],
+ "questions":[
+ {
+ "question":"Is the main business account",
+ "question_key":"is_the_main_Business_account",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":null,
+ "parent_question_key":"loan_type",
+ "answers":[
+ {
+ "answer_id":"YES",
+ "answer":"YES"
+ },
+ {
+ "answer_id":"NO",
+ "answer":"NO"
+ }
+
+
+ ],
+ "onchange_properties": [],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ }]
+ }]
+
+
+
+ },{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Account_Type",
+ "expression":"(String('Account_Type') == String('1'))",
+ "value_keys":[
+ "Account_Type"
+ ],
+ "questions":[
+ {
+ "question":"Is the main business account",
+ "question_key":"is_the_main_Business_Account",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":null,
+ "parent_question_key":"loan_type",
+ "answers":[
+ {
+ "answer_id":"YES",
+ "answer":"YES"
+ },
+ {
+ "answer_id":"NO",
+ "answer":"NO"
+ }
+
+
+ ],
+ "onchange_properties": [],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ }]
+ }]
+
+
+
+ }],
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Business Details Required",
+ "value":null
+ }
+ ]
+ }, {
+ "question_key":null,
+ "question":null,
+ "place_holder":"Enter the text",
+ "type":null,
+ "api_properties":null,
+ "sub_title":"Number of Years / Months since account was started",
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"100",
+ "validations":[
+ ]
+ }, {
+ "question_key":"year",
+ "question":"Year",
+ "place_holder":"Enter the text",
+ "type":"1",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"25",
+ "validations":[
+ ]
+ }, {
+ "question_key":"month",
+ "question":"Month",
+ "place_holder":"Enter the text",
+ "type":"1",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"25",
+ "validations":[
+ ]
+ }
+
+ ],
+ "is_repeatable":"1",
+ "group_title":"Business Details",
+ "group_key":"Business_Details",
+ "form_name":"Business Details"
+ }
+ ]
+ }]
+
+}],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+}
+
+
+ ]
+}
\ No newline at end of file
diff --git a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/DONE/7.json b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/DONE/7.json
new file mode 100644
index 000000000..8d9e560b3
--- /dev/null
+++ b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/DONE/7.json
@@ -0,0 +1,472 @@
+{
+ "section_id": "7",
+ "section_name": "Existing Loan Obligations",
+ "onsubmit": null,
+ "questions": [
+ {
+ "question":"Do you have any exiting loan",
+ "question_key":"Do_you_have_any_exiting_loan",
+ "type":"3",
+ "field_width":"45",
+ "answers":[{
+ "answer":"Yes",
+ "answer_id":"yes"
+ },
+ {
+ "answer":"No",
+ "answer_id":"no"
+ }],
+ "api_properties":null,
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Do_you_have_any_exiting_loan",
+ "expression":"(String('Do_you_have_any_exiting_loan') == String('yes'))",
+ "value_keys":[
+ "Do_you_have_any_exiting_loan"
+ ],
+ "questions":[
+ {
+ "question": [
+
+
+ {
+ "question": "Loan type",
+ "question_key": "loan_type",
+ "type": "3",
+ "field_width": "45",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"EXISTINGLOANTYPES"
+ },
+ "fields":[
+ "existing_loan_type_id",
+ "loan_type_name"
+ ]
+ },
+ "answers": null,
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"loan_type",
+ "expression":"(String('loan_type') == String('1'))",
+ "value_keys":[
+ "loan_type"
+ ],
+ "questions":[
+ {
+ "question":"Specify Loan Type",
+ "question_key":"Specify_Loan_Type",
+ "type":"1",
+ "field_width":"45",
+ "api_properties":null,
+ "parent_question_key":"loan_type",
+ "answers":[
+
+ ],
+ "onchange_properties": [],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ }]
+ }]
+
+
+
+ }],
+ "is_repeatable": null,
+ "validations": [
+ ]
+ },
+ {
+ "question": "Loan amount",
+ "question_key": "loan_amount",
+ "type": "1",
+ "field_type": "numtoword",
+ "field_width": "65",
+ "onchange_properties": null,
+ "api_properties": null,
+ "answers": null,
+ "is_repeatable": null,
+ "validations": [
+ ]
+ },
+ {
+ "question": "Lender name",
+ "question_key": "lender_name",
+ "type": "4",
+ "field_width": "45",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"BTLENDERLIST"
+ },
+ "fields":[
+ "bt_lender_list_id",
+ "lender_name"
+ ]
+ },
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": [
+ ]
+ },
+ {
+ "question": "Loan taken by",
+ "question_key": "loan_taken_by",
+ "type": "1",
+ "field_width": "45",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": [
+ ]
+ },
+
+ {
+ "question": "Instalment frequency",
+ "question_key": "instalment_frequency",
+ "type": "3",
+ "field_width": "45",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"FREQUENCY"
+ },
+ "fields":[
+ "frequency_id",
+ "name"
+ ]
+ },
+ "answers": null,
+
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"instalment_frequency",
+ "expression":"(String('instalment_frequency') == String('5'))",
+ "value_keys":[
+ "instalment_frequency"
+ ],
+ "questions":[
+ {
+ "question":"Daily Instalment Amount",
+ "question_key":"Daily_Instalment_Amount",
+ "type":"1",
+ "field_width":"45",
+ "field_type": "numtoword",
+ "api_properties":null,
+ "parent_question_key":"instalment_frequency",
+ "answers":[
+
+ ],
+ "onchange_properties": [],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ }]
+ }]
+
+
+
+ },{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"instalment_frequency",
+ "expression":"(String('instalment_frequency') == String('8'))",
+ "value_keys":[
+ "instalment_frequency"
+ ],
+ "questions":[
+ {
+ "question":"Instalment Amount",
+ "question_key":"Instalment_Amount",
+ "type":"1",
+ "field_width":"45",
+ "field_type": "numtoword",
+ "api_properties":null,
+ "parent_question_key":"instalment_frequency",
+ "answers":[
+
+ ],
+ "onchange_properties": [],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ }]
+ }]
+
+
+
+ },{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"instalment_frequency",
+ "expression":"(String('instalment_frequency') == String('4'))",
+ "value_keys":[
+ "instalment_frequency"
+ ],
+ "questions":[
+ {
+ "question":"Fortnightly Instalment Amount",
+ "question_key":"Fortnightly_Instalment_Amount",
+ "type":"1",
+ "field_width":"45",
+ "field_type": "numtoword",
+ "api_properties":null,
+ "parent_question_key":"instalment_frequency",
+ "answers":[
+
+ ],
+ "onchange_properties": [],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ }]
+ }]
+
+
+
+ },{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"instalment_frequency",
+ "expression":"(String('instalment_frequency') == String('6'))",
+ "value_keys":[
+ "instalment_frequency"
+ ],
+ "questions":[
+ {
+ "question":"Quartly Instalment Amount",
+ "question_key":"Quartly_Instalment_Amount",
+ "type":"1",
+ "field_width":"45",
+ "field_type": "numtoword",
+ "api_properties":null,
+ "parent_question_key":"instalment_frequency",
+ "answers":[
+
+ ],
+ "onchange_properties": [],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ }]
+ }]
+
+
+
+ },{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"instalment_frequency",
+ "expression":"(String('instalment_frequency') == String('3'))",
+ "value_keys":[
+ "instalment_frequency"
+ ],
+ "questions":[
+ {
+ "question":"Halfyearly Instalment Amount",
+ "question_key":"Halfyearly_Instalment_Amount",
+ "type":"1",
+ "field_width":"45",
+ "field_type": "numtoword",
+ "api_properties":null,
+ "parent_question_key":"instalment_frequency",
+ "answers":[
+
+ ],
+ "onchange_properties": [],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ }]
+ }]
+
+
+
+ },{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"instalment_frequency",
+ "expression":"(String('instalment_frequency') == String('7'))",
+ "value_keys":[
+ "instalment_frequency"
+ ],
+ "questions":[
+ {
+ "question":"Monthly Instalment Amount",
+ "question_key":"Monthly_Instalment_Amount",
+ "type":"1",
+ "field_width":"45",
+ "field_type": "numtoword",
+ "api_properties":null,
+ "parent_question_key":"instalment_frequency",
+ "answers":[
+
+ ],
+ "onchange_properties": [],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ }]
+ }]
+
+
+
+ },{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"instalment_frequency",
+ "expression":"(String('instalment_frequency') == String('2'))",
+ "value_keys":[
+ "instalment_frequency"
+ ],
+ "questions":[
+ {
+ "question":"Annual Instalment Amount",
+ "question_key":"Annual_Instalment_Amount",
+ "type":"1",
+ "field_width":"45",
+ "field_type": "numtoword",
+ "api_properties":null,
+ "parent_question_key":"instalment_frequency",
+ "answers":[
+
+ ],
+ "onchange_properties": [],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ }]
+ }]
+
+
+
+ }],
+ "is_repeatable": null,
+ "validations": [
+ ]
+ },
+ {
+ "question": "Original tenure in months",
+ "question_key": "original_tenure_months",
+ "type": "1",
+ "field_width": "65",
+ "field_type": "num",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": [
+ {
+ "purpose":"answer_value",
+ "expression":"(Number(original_tenure_months)-Number(current_tenure_months))",
+ "value_keys":[
+ "original_tenure_months", "current_tenure_months"
+ ],
+ "insert_control":"elapsed_tenure_months"
+ }
+ ],
+ "is_repeatable": null,
+ "validations": [
+ ]
+ },
+ {
+ "question": "Current balance tenure in months",
+ "question_key": "current_tenure_months",
+ "type": "1",
+ "field_type": "num",
+ "field_width": "65",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": [
+ {
+ "purpose":"answer_value",
+ "expression":"(Number(original_tenure_months)-Number(current_tenure_months))",
+ "value_keys":[
+ "original_tenure_months", "current_tenure_months"
+ ],
+ "insert_control":"elapsed_tenure_months"
+ }
+ ],
+ "is_repeatable": null,
+ "validations": [
+ ]
+ },
+ {
+ "question": "Elapsed tenure in mths",
+ "question_key": "elapsed_tenure_months",
+ "type": "1",
+ "field_width": "65",
+ "field_type": "num",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": [
+ {
+ "purpose":"answer_value",
+ "expression":"(Number(original_tenure_months)-Number(elapsed_tenure_months))",
+ "value_keys":[
+ "original_tenure_months", "elapsed_tenure_months"
+ ],
+ "insert_control":"current_tenure_months"
+ }
+ ],
+ "is_repeatable": null,
+ "validations": [
+ ]
+ }
+ ],
+ "is_repeatable": "1",
+ "group_title": "Loan Details",
+ "group_key": "Loan_Details"
+ } ]
+ }]
+
+ }],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ }, {
+ "question_key":"common_remarks",
+ "question":"Remarks",
+ "place_holder":"Enter the text",
+ "type":"7",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"45",
+ "validations":[
+ ]
+ }
+
+
+ ]
+}
\ No newline at end of file
diff --git a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/DONE/8.json b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/DONE/8.json
new file mode 100644
index 000000000..5c91cc62e
--- /dev/null
+++ b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/DONE/8.json
@@ -0,0 +1,630 @@
+{
+ "section_id": "8",
+ "section_name": "Family Details",
+ "onsubmit": [],
+ "questions": [{
+ "question":"Select a person*",
+ "question_key":"Select_a_person",
+ "type":"3",
+ "field_width":"65",
+ "answers":null,
+ "api_properties":
+ {
+ "purpose":"answer_options_local",
+ "master_name":"pd_applicants",
+ "fields":["pd_co_applicant_id","applicant_name"]
+ },
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ }, {
+ "question": "Residence Details of",
+ "question_key": "Residence_Details_of",
+ "field_type":"null",
+ "sub_title":"Residence Details of",
+ "disable":false,
+ "field_width": "100",
+ "answers": null,
+ "api_properties": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": []
+ },
+ {
+ "question": "State",
+ "question_key": "state",
+ "type": "3",
+ "answers": null,
+ "field_width":"45",
+ "api_properties": {
+ "api": "getListOfMaster",
+ "api_method": "POST",
+ "params": {
+ "master_name": "STATE"
+ },
+ "fields": [
+ "state_id",
+ "name"
+ ]
+ },
+ "onchange_properties": [
+ {
+ "purpose": "api",
+ "api": "getListOfStatesAndCities",
+ "api_method": "POST",
+ "params": "{records:{state_id:'value_of_answer'}}",
+ "fields": [
+ "state_id",
+ "name"
+ ],
+ "local_variable": "local_city"
+ }
+ ],
+ "is_repeatable": null,
+ "validations": [
+ {
+ "name": "required",
+ "isactive": "1",
+ "validator": "Validators.required",
+ "message": "State Required",
+ "value": null
+ }
+ ]
+ },
+ {
+ "question": "City",
+ "question_key": "city",
+ "type": "3",
+ "answers": null,
+ "field_width":"45",
+ "api_properties": "local_city",
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": [
+ {
+ "name": "required",
+ "isactive": "1",
+ "validator": "Validators.required",
+ "message": "CIty Required",
+ "value": null
+ }
+ ]
+ },
+ {
+ "question":"Place*",
+ "question_key":"Place_list",
+ "type":"1",
+ "disable":false,
+ "field_width":"45",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question": "Pincode",
+ "question_key": "pincode",
+ "type": "3",
+ "answers": null,
+ "field_width":"45",
+ "api_properties": "local_pincode",
+ "onchange_properties": [
+ {
+ "purpose": "FORM_CTRL",
+ "form_controls": [
+ {
+ "insert_index": "pincode",
+ "expression": "(pincode == 1)",
+ "value_keys": [
+ "pincode"
+ ],
+ "questions": [
+ {
+ "question_key": "pincode_others",
+ "question": "Specify the Pincode",
+ "place_holder": "Enter the Pincode",
+ "type": "1",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "field_type": "num",
+ "validations": [
+ {
+ "name": "required",
+ "isactive": "1",
+ "validator": "Validators.required",
+ "message": "Pincode is Required",
+ "value": null
+ },
+ {
+ "name": "pattern",
+ "isactive": "1",
+ "validator": "[0-9]{6}",
+ "message": "Pincode should be 6 digit",
+ "value": null
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "is_repeatable": null,
+ "validations": [
+ {
+ "name": "required",
+ "isactive": "1",
+ "validator": "Validators.required",
+ "message": "Pincode Required",
+ "value": null
+ }
+ ]
+ },{
+ "question":"Year*",
+ "question_key":"Year",
+ "type":"1",
+ "disable":false,
+ "field_width":"25",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ }, {
+ "question":"Month*",
+ "question_key":"Month",
+ "type":"1",
+ "disable":false,
+ "field_width":"25",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ }, {
+ "question":"Ownership*",
+ "question_key":"Ownership",
+ "type":"3",
+ "disable":false,
+ "field_width":"25",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"RESIDENCEOWNERSHIP"
+ },
+ "fields":[
+ "id",
+ "name"
+ ]
+ },
+ "answers": null,
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Ownership",
+ "expression":"(String('Ownership') == String('3'))",
+ "value_keys":[
+ "Ownership"
+ ],
+ "questions":[
+ {
+ "question":"Monthly Rent Amount",
+ "question_key":"Monthly_Rent_Amount",
+ "place_holder":"",
+ "type":"1",
+ "field_width":"45",
+ "field_type": "numtoword",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "answers":null,
+ "validations":[
+ ]
+
+ }]
+ }]
+ },{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Ownership",
+ "expression":"(String('Ownership') == String('1'))",
+ "value_keys":[
+ "Ownership"
+ ],
+ "questions":[
+ {
+ "question":"Specify Ownership",
+ "question_key":"Specify_Ownership",
+ "place_holder":"",
+ "type":"1",
+ "field_width":"45",
+ "field_type": "text",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "answers":null,
+ "validations":[
+ ]
+
+ }]
+ }]
+ }],
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question": [
+ {
+ "question": "Title",
+ "question_key": "Title",
+ "type": "3",
+ "field_width": "20",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"TITLES"
+ },
+ "fields":[
+ "title_id",
+ "name"
+ ]
+ },
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "field_type": "string",
+ "validations": [
+ ]
+ },
+ {
+ "question": "Name*",
+ "question_key": "name",
+ "type": "1",
+ "field_width": "20",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": [
+ ]
+ },{
+ "question": "Relationship*",
+ "question_key": "Relationship",
+ "type": "3",
+ "field_width": "20",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"RELATIONSHIPS"
+ },
+ "fields":[
+ "relationship_id",
+ "name"
+ ]
+ },
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": [
+ ]
+ },{
+ "question": "Age*",
+ "question_key": "Age",
+ "type": "1",
+ "field_width": "20",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": [
+ ]
+ },{
+ "question": "Earning Status*",
+ "question_key": "Earning_Status",
+ "type": "3",
+ "field_width": "25",
+ "api_properties": null,
+ "answers":[
+ {
+ "answer_id":"Earning",
+ "answer":"Earning"
+ },
+ {
+ "answer_id":"Non_Earning",
+ "answer":"Non Earning"
+ }
+ ],
+ "onchange_properties": [
+ {
+ "purpose": "FORM_CTRL",
+ "form_controls": [
+ {
+ "insert_index": "Earning_Status",
+ "expression":"(String('Earning_Status') == String('Earning'))",
+ "value_keys": [
+ "Earning_Status"
+ ],
+ "questions": [
+ {
+ "question": "Segment*",
+ "question_key": "Segment",
+ "type": "3",
+ "field_width": "45",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"EARNINGMEMBERSSTATUS"
+ },
+ "fields":[
+ "earning_member_status_id",
+ "earning_member_status"
+ ]
+ },
+ "answers": null,
+ "onchange_properties": [
+ {
+ "purpose": "FORM_CTRL",
+ "form_controls": [
+ {
+ "insert_index": "Segment",
+ "expression":"(String('Segment') == String('1'))",
+ "value_keys": [
+ "Segment"
+ ],
+ "questions": [
+ {
+ "question": "Specify Others",
+ "question_key": "SpecifyOthers",
+ "type": "1",
+ "field_width": "45",
+ "api_properties": null,
+ "answers": null,
+ "parent_question_key":"Segment",
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": [
+
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "is_repeatable": null,
+ "validations": [
+
+ ]
+ }, {
+ "question": "Income Per Month",
+ "question_key": "Income_Per_Month",
+ "type": "1",
+ "field_width": "45",
+ "field_type": "numtoword",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": [
+
+ ]
+ }, {
+ "question": "Name of the Employer/Business",
+ "question_key": "Name_of_the_Employer/Business",
+ "type": "1",
+ "field_width": "45",
+ "field_type": "text",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": [
+
+ ]
+ }, {
+ "question": "No of Years in Employment/Business",
+ "question_key": "No_of_Years_in_Employment/Business",
+ "type": "1",
+ "field_width": "45",
+ "field_type": "text",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": [
+
+ ]
+ }
+ ]
+ }
+
+ ],
+ "is_repeatable": null,
+ "validations": [
+
+ ]
+ }, {
+ "purpose": "FORM_CTRL",
+ "form_controls": [
+ {
+ "insert_index": "Earning_Status",
+ "expression":"(String('Earning_Status') == String('Non_Earning'))",
+ "value_keys": [
+ "Earning_Status"
+ ],
+ "questions": [
+ {
+ "question": "Occupation*",
+ "question_key": "Occupation",
+ "type": "3",
+ "field_width": "45",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"OCCUPATIONMEMBERS"
+ },
+ "fields":[
+ "occupation_non_earning_member_id",
+ "name"
+ ]
+ },
+
+ "answers": null,
+ "onchange_properties": [
+ {
+ "purpose": "FORM_CTRL",
+ "form_controls": [
+ {
+ "insert_index": "Occupation",
+ "expression":"(String('Occupation') == String('1'))",
+ "value_keys": [
+ "Occupation"
+ ],
+ "questions": [
+ {
+ "question": "Specify Others",
+ "question_key": "SpecifyOthers",
+ "type": "1",
+ "field_width": "45",
+ "api_properties": null,
+ "answers": null,
+ "parent_question_key":"Occupation",
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": [
+
+ ]
+ }
+ ]
+ }
+ ]
+ },{
+ "purpose": "FORM_CTRL",
+ "form_controls": [
+ {
+ "insert_index": "Occupation",
+ "expression":"(String('Occupation') == String('3'))",
+ "value_keys": [
+ "Occupation"
+ ],
+ "questions": [
+ {
+ "question": "Retired Form",
+ "question_key": "Retired_Form",
+ "type": "1",
+ "field_width": "45",
+ "api_properties": null,
+ "answers": null,
+ "parent_question_key":"Occupation",
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": [
+
+ ]
+ }
+ ]
+ }
+ ]
+ },{
+ "purpose": "FORM_CTRL",
+ "form_controls": [
+ {
+ "insert_index": "Occupation",
+ "expression":"(String('Occupation') == String('2'))",
+ "value_keys": [
+ "Occupation"
+ ],
+ "questions": [
+ {
+ "question": "Specify School/College Name",
+ "question_key": "Specify_School/College_Name",
+ "type": "1",
+ "field_width": "45",
+ "api_properties": null,
+ "answers": null,
+ "parent_question_key":"Occupation",
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": [
+
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "is_repeatable": null,
+ "validations": [
+
+ ]
+ } ]
+ }
+
+ ],
+ "is_repeatable": null,
+ "validations": [
+
+ ]
+ }
+ ],
+ "is_repeatable": null,
+ "validations": [
+ ]
+ }
+
+ ],
+ "is_repeatable": "1",
+ "group_title": "Family Details",
+ "group_key": "Family_Details"
+ }
+
+ ]
+}
\ No newline at end of file
diff --git a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/DONE/9.json b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/DONE/9.json
new file mode 100644
index 000000000..11a21e8aa
--- /dev/null
+++ b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/DONE/9.json
@@ -0,0 +1,322 @@
+{
+ "section_id": "9",
+ "section_name": "Other Income Details",
+ "onsubmit": [],
+ "questions": [
+ {
+ "question":"Other Income of Loan Application",
+ "question_key":"Other_Income_of_Loan_Application",
+ "type":"3",
+ "field_width":"45",
+ "answers":[{
+ "answer":"Yes",
+ "answer_id":"yes"
+ },
+ {
+ "answer":"No",
+ "answer_id":"no"
+ }],
+ "api_properties":null,
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Other_Income_of_Loan_Application",
+ "expression":"(String('Other_Income_of_Loan_Application') == String('yes'))",
+ "value_keys":[
+ "Other_Income_of_Loan_Application"
+ ],
+ "questions":[
+ {
+ "question": [
+ {
+ "question": "Source",
+ "question_key": "Source",
+ "type": "3",
+ "field_width": "45",
+ "api_properties": null,
+ "answers":[{
+
+ "answer":"Agricultural Income",
+ "answer_id":"Agricultural_Income"
+ },
+ {
+ "answer":"Dividend Income",
+ "answer_id":"Dividend_Income"
+ }, {
+ "answer":"Interest Income",
+ "answer_id":"Interest_Income"
+ }, {
+ "answer":"Rental Income",
+ "answer_id":"Rental_Income"
+ },
+ {
+ "answer":"Others(Please Specify)",
+ "answer_id":"Others(Please_Specify)"
+ }
+
+ ],
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Source",
+ "expression":"(String('Source') == String('Rental_Income'))",
+ "value_keys":[
+ "Source"
+ ],
+ "questions":[
+ {
+ "question":"Address",
+ "question_key":"Address",
+ "place_holder":"",
+ "field_type":"num",
+ "type":"1",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Source",
+ "answers":null,
+ "validations":[
+ ]
+ }]
+ }]
+
+ },{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Source",
+ "expression":"(String('Source') == String('Others(Please_Specify)'))",
+ "value_keys":[
+ "Source"
+ ],
+ "questions":[
+ {
+ "question":"Specify Source",
+ "question_key":"Specify_Source",
+ "place_holder":"",
+ "field_type":"num",
+ "type":"1",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Source",
+ "answers":null,
+ "validations":[
+ ]
+ }]
+ }]
+
+ }],
+ "is_repeatable": null,
+ "field_type": "string",
+ "validations": [
+ ]
+ },
+ {
+ "question": "Income earned by",
+ "question_key": "Income_earned_by",
+ "type": "3",
+ "field_width": "45",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": [
+ ]
+ },
+ {
+ "question": "Amount",
+ "question_key": "amount",
+ "type": "1",
+ "field_width": "45",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": [
+ ]
+ },
+ {
+ "question": "Frequency",
+ "question_key": "account_type",
+ "type": "3",
+ "field_width": "45",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"FREQUENCY"
+ },
+ "fields":[
+ "frequency_id",
+ "name"
+ ]
+ },
+ "answers":null,
+ "onchange_properties": [
+ ],
+ "is_repeatable": null,
+ "validations": [
+
+ ]
+ }
+ ],
+ "is_repeatable": "1",
+ "group_title": "Income Details",
+ "group_key": "Income_Details"
+ }]
+ }]
+
+ }],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ },
+ {
+ "question": [
+ {
+ "question": "Source",
+ "question_key": "Source",
+ "type": "3",
+ "field_width": "45",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"SOURCEOFOTHERINCOME"
+ },
+ "fields":[
+ "id",
+ "name"
+ ]
+ },
+ "answers": null,
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Source",
+ "expression":"(String('Source') == String('5'))",
+ "value_keys":[
+ "Source"
+ ],
+ "questions":[
+ {
+ "question":"Address",
+ "question_key":"Address",
+ "place_holder":"",
+ "field_type":"text",
+ "type":"1",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Source",
+ "answers":null,
+ "validations":[
+ ]
+ }]
+ }]
+
+ },{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Source",
+ "expression":"(String('Source') == String('1'))",
+ "value_keys":[
+ "Source"
+ ],
+ "questions":[
+ {
+ "question":"Specify Source",
+ "question_key":"Specify_Source",
+ "place_holder":"",
+ "field_type":"text",
+ "type":"1",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Source",
+ "answers":null,
+ "validations":[
+ ]
+ }]
+ }]
+
+ }],
+ "is_repeatable": null,
+ "field_type": "string",
+ "validations": [
+ ]
+ },
+ {
+ "question": "Income earned by",
+ "question_key": "Income_earned_by",
+ "type": "3",
+ "field_width": "45",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": [
+ ]
+ },
+ {
+ "question": "Amount",
+ "question_key": "amount",
+ "type": "1",
+ "field_width": "45",
+ "field_type":"numtoword",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": [
+ ]
+ },
+ {
+ "question": "Frequency",
+ "question_key": "account_type",
+ "type": "3",
+ "field_width": "45",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"FREQUENCY"
+ },
+ "fields":[
+ "frequency_id",
+ "name"
+ ]
+ },
+ "answers": null,
+ "onchange_properties": [
+ ],
+ "is_repeatable": null,
+ "validations": [
+
+ ]
+ }
+ ],
+ "is_repeatable": "1",
+ "group_title": "Income Details",
+ "group_key": "Income_Details"
+ }
+
+ ]
+}
\ No newline at end of file
diff --git a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/LFMP/1.json b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/LFMP/1.json
new file mode 100644
index 000000000..e07f24025
--- /dev/null
+++ b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/LFMP/1.json
@@ -0,0 +1,2941 @@
+{
+ "section_id":"13",
+ "section_name":"About Business",
+ "onsubmit":null,
+ "questions":[
+
+ {
+ "question": [
+ {
+ "question":"Name",
+ "question_key":"name",
+ "type":"4",
+ "field_width":"45",
+ "api_properties":
+ {
+ "purpose":"answer_options_local",
+ "master_name":"pd_applicants",
+ "fields":["pd_co_applicant_id","applicant_name"]
+ },
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ },
+ {
+ "question":"Share of Profit / Shareholding (%)",
+ "question_key":"Share of Profit / Shareholding (%)",
+ "type":"1",
+ "field_width":"45",
+ "answers":null,
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ }, {
+ "question":"Started Business",
+ "question_key":"Started Business",
+ "type":"3",
+ "field_width":"45",
+ "answers":[{
+ "answer":"Yes",
+ "answer_id":"yes"
+ },
+ {
+ "answer":"No",
+ "answer_id":"no"
+ }],
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ }, {
+ "question_key":"No of Years in Current Business",
+ "question":"No of Years in Current Business",
+ "place_holder":"Enter the text",
+ "type":null,
+ "sub_title":"No of Years in Current Business",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"100",
+ "validations":[
+ ]
+ }, {
+ "question_key":"Year",
+ "question":"Year",
+ "place_holder":"Enter the text",
+ "type":"1",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"30",
+ "validations":[
+ ]
+ },{
+ "question_key":"Month",
+ "question":"Month",
+ "place_holder":"Enter the text",
+ "type":"1",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"30",
+ "validations":[
+ ]
+ },{
+ "question_key":"Total Work Experience (in years)",
+ "question":"Total Work Experience (in years)",
+ "place_holder":"Enter the text",
+ "type":"1",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"30",
+ "validations":[
+ ]
+ }
+ ],
+ "is_repeatable": "1",
+ "group_title": "Director Details",
+ "group_key": "Director Details"
+ },
+ {
+ "question": [
+ {
+ "question":"Title",
+ "question_key":"Title",
+ "type":"3",
+ "field_width":"25",
+ "answers":null,
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"TITLES"
+ },
+ "fields":[
+ "id",
+ "name"
+ ]
+ },
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ }, {
+ "question":"Name",
+ "question_key":"Name",
+ "type":"1",
+ "field_width":"25",
+ "answers":null,
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ }, {
+ "question":"Relation",
+ "question_key":"Relation",
+ "type":"3",
+ "field_width":"25",
+ "answers":null,
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"RELATIONSHIPS"
+ },
+ "fields":[
+ "relationship_id",
+ "name"
+ ]
+ },
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ }, {
+ "question":"Relationship To",
+ "question_key":"Relationship to",
+ "type":"4",
+ "field_width":"25",
+ "answers":null,
+ "api_properties":
+ {
+ "purpose":"answer_options_local",
+ "master_name":"pd_applicants",
+ "fields":["pd_co_applicant_id","applicant_name"]
+ },
+
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ }, {
+ "question":"Relationship with Company",
+ "question_key":"Relationship_with_Company",
+ "type":"3",
+ "field_width":"25",
+ "answers":null,
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"COMPANYRELATIONSHIPS"
+ },
+ "fields":[
+ "company_relationship_id",
+ "name"
+ ]
+ },
+
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ } , {
+ "question":"Started Busniess",
+ "question_key":"Started_Busniess",
+ "type":"3",
+ "field_width":"25",
+ "answers":[{
+ "answer":"Yes",
+ "answer_id":"yes"
+ },
+ {
+ "answer":"No",
+ "answer_id":"no"
+ }],
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ }
+ ],
+ "is_repeatable": "1",
+ "group_title": "Add Other Family Members Involved In Business",
+ "group_key": "Add Other Family Members Involved In Business"
+ },
+
+
+
+ {
+ "question_key":"Type_of_Business_Activity",
+ "question":"Type of Business Activity",
+ "place_holder":"Enter the text",
+ "type":"5",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"TYPEOFACTIVITY"
+ },
+ "fields":[
+ "type_of_activity_id",
+ "name"
+ ]
+ },
+ "answers": null,
+ "onchange_properties":[{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Type_of_Business_Activity",
+ "expression":"(String('Type_of_Business_Activity') == String('2'))",
+ "value_keys":[
+ "Type_of_Business_Activity"
+ ],
+ "questions":[
+ {
+ "question": [
+ {
+ "question":"Main Product*",
+ "question_key":"Main Product",
+ "type":"1",
+ "field_width":"45",
+ "answers":null,
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ } , {
+ "question":"Area of Sales*",
+ "question_key":"Area_of_Sales",
+ "type":"3",
+ "field_width":"45",
+ "answers":[{
+ "answer":"Within India",
+ "answer_id":"within_India"
+ },
+ {
+ "answer":"Export",
+ "answer_id":"Export"
+ }, {
+ "answer":"Both",
+ "answer_id":"Both"
+ }],
+ "api_properties":null,
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Area_of_Sales",
+ "expression":"(String('Area_of_Sales') == String('within_India'))",
+ "value_keys":[
+ "Area_of_Sales"
+ ],
+ "questions":[
+ { "question_key": "Is_Pan_india",
+ "question": "Is Pan India",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Is_Pan_india",
+ "expression":"(String('Is_Pan_india') == String('yes'))",
+ "value_keys":[
+ "Is_Pan_india"
+ ],
+ "questions":[
+ { "question_key": "States_Where_Max_Sales_Done_for ",
+ "question": "States Where Max Sales Done for ",
+ "type":"4",
+ "field_width":"100",
+ "api_properties":{
+ "api":"getListOfStatesCities",
+ "api_method":"POST",
+ "params":{
+ "master_name":null
+ },
+ "fields":[
+ "state_id",
+ "state_name"
+ ]
+ },
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Is_Pan_india",
+ "answers":null,
+ "validations":[
+
+ ]
+ }
+
+ ] } ] }, {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Is_Pan_india",
+ "expression":"(String('Is_Pan_india') == String('no'))",
+ "value_keys":[
+ "Is_Pan_india"
+ ],
+ "questions":[
+
+ {
+ "questions_level_two":[
+ {
+ "question":"State",
+ "question_key":"State",
+ "type":"3",
+ "field_type":"num",
+ "field_width":"100",
+ "onchange_properties":null,
+ "api_properties":null,
+ "answers":null,
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ },{
+ "question":"city",
+ "question_key":"city",
+ "type":"3",
+ "field_type":"num",
+ "field_width":"100",
+ "onchange_properties":null,
+ "api_properties":null,
+ "answers":null,
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ }
+ ],
+ "is_repeatable":"2",
+ "group_key":"State",
+ "group_title":"State"
+ }, { "question_key": "States Where Max Sales Done for ",
+ "question": "States Where Max Sales Done for ",
+ "type":"4",
+ "field_width":"45",
+ "api_properties":{
+ "api":"getListOfStatesCities",
+ "api_method":"POST",
+ "params":{
+ "master_name":null
+ },
+ "fields":[
+ "state_id",
+ "state_name"
+ ]
+ },
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Is_pan_india",
+ "answers":null,
+ "validations":[
+
+ ]
+ },
+ { "question_key": "Cities Where Max Sales Done for ",
+ "question": "Cities Where Max Sales Done for ",
+ "type":"4",
+ "field_width":"45",
+ "api_properties":{
+ "api":"getListOfStatesCities",
+ "api_method":"POST",
+ "params":{
+ "master_name":null
+ },
+ "fields":[
+ "state_id",
+ "state_name"
+ ]
+ },
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Is_pan_india",
+ "answers":null,
+ "validations":[
+
+ ]
+ }
+
+
+ ] }
+ ] }],
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Area_of_Sales",
+ "answers":[{
+ "answer":"Yes",
+ "answer_id":"yes"
+ },
+ {
+ "answer":"No",
+ "answer_id":"no"
+ }],
+ "validations":[
+
+ ]
+ }
+ ] } ] }, {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Area_of_Sales",
+ "expression":"(String('Area_of_Sales') == String('Export'))",
+ "value_keys":[
+ "Area_of_Sales"
+ ],
+ "questions":[
+ {
+ "questions_level_two":[
+ { "question_key": "Countries_Where_The_Export_Is_Being_Done_for",
+ "question": "Countries Where The Export Is Being Done for ",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":{
+ "api":"getListOfStatesCities",
+ "api_method":"POST",
+
+ "fields":[
+ "state_id",
+ "state_name"
+ ]
+ },
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Area_of_Sales",
+ "answers":null,
+ "validations":[
+
+ ]
+ }, {
+ "question_key": "Out_of_Total_Export_Sales_what_of_Sales_is_done_in",
+ "question": "Out of Total Export Sales what % of Sales is done in",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":{
+ "api":"getListOfStatesCities",
+ "api_method":"POST",
+
+ "fields":[
+ "state_id",
+ "state_name"
+ ]
+ },
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Area_of_Sales",
+ "answers":null,
+ "validations":[
+
+ ]
+ }
+ ],
+ "is_repeatable":"2",
+ "group_key":"Countries",
+ "group_title":"Countries"
+ }
+
+ ] } ] }, {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Area_of_Sales",
+ "expression":"(String('Area_of_Sales') == String('Both'))",
+ "value_keys":[
+ "Area_of_Sales"
+ ],
+ "questions":[
+ {
+ "question_key":"Within India",
+ "question":"Within India",
+ "place_holder":"Enter the text",
+ "type":null,
+ "sub_title":"Within India",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"100",
+ "validations":[
+ ]
+ },
+ {
+ "question_key": "is_Pan_India",
+ "question": "Is Pan India",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"is_Pan_India",
+ "expression":"(String('is_Pan_India') == String('yes'))",
+ "value_keys":[
+ "is_Pan_India"
+ ],
+ "questions":[
+
+ { "question_key": "States Where Max Sales Done for ",
+ "question": "States Where Max Sales Done for ",
+ "type":"4",
+ "field_width":"65",
+ "api_properties":{
+ "api":"getListOfStatesCities",
+ "api_method":"POST",
+ "params":{
+ "master_name":null
+ },
+ "fields":[
+ "state_id",
+ "state_name"
+ ]
+ },
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"is_Pan_India",
+ "answers":null,
+ "validations":[
+
+ ]
+ }
+
+ ] } ] }, {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"is_Pan_India",
+ "expression":"(String('is_Pan_India') == String('no'))",
+ "value_keys":[
+ "is_Pan_India"
+ ],
+ "questions":[
+ {
+ "questions_level_two":[
+ {
+ "question":"State",
+ "question_key":"State",
+ "type":"3",
+ "field_type":"num",
+ "field_width":"100",
+ "onchange_properties":null,
+ "api_properties":null,
+ "answers":null,
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ }
+ ],
+ "is_repeatable":"2",
+ "group_key":"State",
+ "group_title":"State"
+ },
+ {
+ "questions_level_two":[
+ {
+ "question":"city",
+ "question_key":"city",
+ "type":"3",
+ "field_type":"num",
+ "field_width":"100",
+ "onchange_properties":null,
+ "api_properties":null,
+ "answers":null,
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ }
+ ],
+ "is_repeatable":"2",
+ "group_key":"city",
+ "group_title":"city"
+ },
+
+ { "question_key": "States Where Max Sales Done for ",
+ "question": "States Where Max Sales Done for ",
+ "type":"4",
+ "field_width":"45",
+ "api_properties":{
+ "api":"getListOfStatesCities",
+ "api_method":"POST",
+ "params":{
+ "master_name":null
+ },
+ "fields":[
+ "state_id",
+ "state_name"
+ ]
+ },
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"is_Pan_India",
+ "answers":null,
+ "validations":[
+
+ ]
+ },
+ { "question_key": "Cities Where Max Sales Done for ",
+ "question": "Cities Where Max Sales Done for ",
+ "type":"4",
+ "field_width":"45",
+ "api_properties":{
+ "api":"getListOfStatesCities",
+ "api_method":"POST",
+ "params":{
+ "master_name":null
+ },
+ "fields":[
+ "state_id",
+ "state_name"
+ ]
+ },
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"is_Pan_India",
+ "answers":null,
+ "validations":[
+
+ ]
+ }
+
+ ] }
+ ] }],
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Area_of_Sales",
+ "answers":[{
+ "answer":"Yes",
+ "answer_id":"yes"
+ },
+ {
+ "answer":"No",
+ "answer_id":"no"
+ }],
+ "validations":[
+
+ ]
+ },
+ {
+ "question_key":"Export",
+ "question":"Within India",
+ "place_holder":"Enter the text",
+ "type":null,
+ "sub_title":"Export",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"100",
+ "validations":[
+ ]
+ }, {
+ "questions_level_two":[
+ { "question_key": "Countries_Where_The_Export_Is_Being_Done_for",
+ "question": "Countries Where The Export Is Being Done for ",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":{
+ "api":"getListOfStatesCities",
+ "api_method":"POST",
+
+ "fields":[
+ "state_id",
+ "state_name"
+ ]
+ },
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Area_of_Sales",
+ "answers":null,
+ "validations":[
+
+ ]
+ }, {
+ "question_key": "Out_of_Total_Export_Sales_what_of_Sales_is_done_in",
+ "question": "Out of Total Export Sales what % of Sales is done in",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":{
+ "api":"getListOfStatesCities",
+ "api_method":"POST",
+
+ "fields":[
+ "state_id",
+ "state_name"
+ ]
+ },
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Area_of_Sales",
+ "answers":null,
+ "validations":[
+
+ ]
+ }
+ ],
+ "is_repeatable":"2",
+ "group_key":"Countries",
+ "group_title":"Countries"
+ }
+
+ ] } ] }],
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ } ,{
+ "question_key":"Description of manufacturing process",
+ "question":"Description of manufacturing process",
+ "place_holder":"Enter the text",
+ "type":"7",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"100",
+ "validations":[
+ ]
+ }
+ ],
+ "is_repeatable": "1",
+ "group_title": "Manufacturing",
+ "group_key": "Manufacturing"
+ }
+ ]
+ }]
+
+
+
+ },{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Type_of_Business_Activity",
+ "expression":"(String('Type_of_Business_Activity') == String('5'))",
+ "value_keys":[
+ "Type_of_Business_Activity"
+ ],
+ "questions":[
+ {
+ "question": [
+ {
+ "question":"Main Product*",
+ "question_key":"Main Product",
+ "type":"1",
+ "field_width":"45",
+ "answers":null,
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ } , {
+ "question":"Area of Sales*",
+ "question_key":"Area_of_Sales",
+ "type":"3",
+ "field_width":"45",
+ "answers":[{
+ "answer":"Within India",
+ "answer_id":"within_India"
+ },
+ {
+ "answer":"Export",
+ "answer_id":"Export"
+ }, {
+ "answer":"Both",
+ "answer_id":"Both"
+ }],
+ "api_properties":null,
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Area_of_Sales",
+ "expression":"(String('Area_of_Sales') == String('within_India'))",
+ "value_keys":[
+ "Area_of_Sales"
+ ],
+ "questions":[
+ { "question_key": "Is_Pan_india",
+ "question": "Is Pan India",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Is_Pan_india",
+ "expression":"(String('Is_Pan_india') == String('yes'))",
+ "value_keys":[
+ "Is_Pan_india"
+ ],
+ "questions":[
+ { "question_key": "States_Where_Max_Sales_Done_for ",
+ "question": "States Where Max Sales Done for ",
+ "type":"4",
+ "field_width":"100",
+ "api_properties":{
+ "api":"getListOfStatesCities",
+ "api_method":"POST",
+ "params":{
+ "master_name":null
+ },
+ "fields":[
+ "state_id",
+ "state_name"
+ ]
+ },
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Is_Pan_india",
+ "answers":null,
+ "validations":[
+
+ ]
+ }
+
+ ] } ] }, {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Is_Pan_india",
+ "expression":"(String('Is_Pan_india') == String('no'))",
+ "value_keys":[
+ "Is_Pan_india"
+ ],
+ "questions":[
+
+ {
+ "questions_level_two":[
+ {
+ "question":"State",
+ "question_key":"State",
+ "type":"3",
+ "field_type":"num",
+ "field_width":"100",
+ "onchange_properties":null,
+ "api_properties":null,
+ "answers":null,
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ },{
+ "question":"city",
+ "question_key":"city",
+ "type":"3",
+ "field_type":"num",
+ "field_width":"100",
+ "onchange_properties":null,
+ "api_properties":null,
+ "answers":null,
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ }
+ ],
+ "is_repeatable":"2",
+ "group_key":"State",
+ "group_title":"State"
+ }, { "question_key": "States Where Max Sales Done for ",
+ "question": "States Where Max Sales Done for ",
+ "type":"4",
+ "field_width":"45",
+ "api_properties":{
+ "api":"getListOfStatesCities",
+ "api_method":"POST",
+ "params":{
+ "master_name":null
+ },
+ "fields":[
+ "state_id",
+ "state_name"
+ ]
+ },
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Is_pan_india",
+ "answers":null,
+ "validations":[
+
+ ]
+ },
+ { "question_key": "Cities Where Max Sales Done for ",
+ "question": "Cities Where Max Sales Done for ",
+ "type":"4",
+ "field_width":"45",
+ "api_properties":{
+ "api":"getListOfStatesCities",
+ "api_method":"POST",
+ "params":{
+ "master_name":null
+ },
+ "fields":[
+ "state_id",
+ "state_name"
+ ]
+ },
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Is_pan_india",
+ "answers":null,
+ "validations":[
+
+ ]
+ }
+
+
+ ] }
+ ] }],
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Area_of_Sales",
+ "answers":[{
+ "answer":"Yes",
+ "answer_id":"yes"
+ },
+ {
+ "answer":"No",
+ "answer_id":"no"
+ }],
+ "validations":[
+
+ ]
+ }
+ ] } ] }, {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Area_of_Sales",
+ "expression":"(String('Area_of_Sales') == String('Export'))",
+ "value_keys":[
+ "Area_of_Sales"
+ ],
+ "questions":[
+ {
+ "questions_level_two":[
+ { "question_key": "Countries_Where_The_Export_Is_Being_Done_for",
+ "question": "Countries Where The Export Is Being Done for ",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":{
+ "api":"getListOfStatesCities",
+ "api_method":"POST",
+
+ "fields":[
+ "state_id",
+ "state_name"
+ ]
+ },
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Area_of_Sales",
+ "answers":null,
+ "validations":[
+
+ ]
+ }, {
+ "question_key": "Out_of_Total_Export_Sales_what_of_Sales_is_done_in",
+ "question": "Out of Total Export Sales what % of Sales is done in",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":{
+ "api":"getListOfStatesCities",
+ "api_method":"POST",
+
+ "fields":[
+ "state_id",
+ "state_name"
+ ]
+ },
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Area_of_Sales",
+ "answers":null,
+ "validations":[
+
+ ]
+ }
+ ],
+ "is_repeatable":"2",
+ "group_key":"Countries",
+ "group_title":"Countries"
+ }
+
+ ] } ] }, {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Area_of_Sales",
+ "expression":"(String('Area_of_Sales') == String('Both'))",
+ "value_keys":[
+ "Area_of_Sales"
+ ],
+ "questions":[
+ {
+ "question_key":"Within India",
+ "question":"Within India",
+ "place_holder":"Enter the text",
+ "type":null,
+ "sub_title":"Within India",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"100",
+ "validations":[
+ ]
+ },
+ {
+ "question_key": "is_Pan_India",
+ "question": "Is Pan India",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"is_Pan_India",
+ "expression":"(String('is_Pan_India') == String('yes'))",
+ "value_keys":[
+ "is_Pan_India"
+ ],
+ "questions":[
+
+ { "question_key": "States Where Max Sales Done for ",
+ "question": "States Where Max Sales Done for ",
+ "type":"4",
+ "field_width":"65",
+ "api_properties":{
+ "api":"getListOfStatesCities",
+ "api_method":"POST",
+ "params":{
+ "master_name":null
+ },
+ "fields":[
+ "state_id",
+ "state_name"
+ ]
+ },
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"is_Pan_India",
+ "answers":null,
+ "validations":[
+
+ ]
+ }
+
+ ] } ] }, {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"is_Pan_India",
+ "expression":"(String('is_Pan_India') == String('no'))",
+ "value_keys":[
+ "is_Pan_India"
+ ],
+ "questions":[
+ {
+ "questions_level_two":[
+ {
+ "question":"State",
+ "question_key":"State",
+ "type":"3",
+ "field_type":"num",
+ "field_width":"100",
+ "onchange_properties":null,
+ "api_properties":null,
+ "answers":null,
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ }
+ ],
+ "is_repeatable":"2",
+ "group_key":"State",
+ "group_title":"State"
+ },
+ {
+ "questions_level_two":[
+ {
+ "question":"city",
+ "question_key":"city",
+ "type":"3",
+ "field_type":"num",
+ "field_width":"100",
+ "onchange_properties":null,
+ "api_properties":null,
+ "answers":null,
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ }
+ ],
+ "is_repeatable":"2",
+ "group_key":"city",
+ "group_title":"city"
+ },
+ { "question_key": "States Where Max Sales Done for ",
+ "question": "States Where Max Sales Done for ",
+ "type":"4",
+ "field_width":"45",
+ "api_properties":{
+ "api":"getListOfStatesCities",
+ "api_method":"POST",
+ "params":{
+ "master_name":null
+ },
+ "fields":[
+ "state_id",
+ "state_name"
+ ]
+ },
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"is_Pan_India",
+ "answers":null,
+ "validations":[
+
+ ]
+ },
+ { "question_key": "Cities Where Max Sales Done for ",
+ "question": "Cities Where Max Sales Done for ",
+ "type":"4",
+ "field_width":"45",
+ "api_properties":{
+ "api":"getListOfStatesCities",
+ "api_method":"POST",
+ "params":{
+ "master_name":null
+ },
+ "fields":[
+ "state_id",
+ "state_name"
+ ]
+ },
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"is_Pan_India",
+ "answers":null,
+ "validations":[
+
+ ]
+ }
+
+ ] }
+ ] }],
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Area_of_Sales",
+ "answers":[{
+ "answer":"Yes",
+ "answer_id":"yes"
+ },
+ {
+ "answer":"No",
+ "answer_id":"no"
+ }],
+ "validations":[
+
+ ]
+ },
+ {
+ "question_key":"Export",
+ "question":"Within India",
+ "place_holder":"Enter the text",
+ "type":null,
+ "sub_title":"Export",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"100",
+ "validations":[
+ ]
+ }, {
+ "questions_level_two":[
+ { "question_key": "Countries_Where_The_Export_Is_Being_Done_for",
+ "question": "Countries Where The Export Is Being Done for ",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":{
+ "api":"getListOfStatesCities",
+ "api_method":"POST",
+
+ "fields":[
+ "state_id",
+ "state_name"
+ ]
+ },
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Area_of_Sales",
+ "answers":null,
+ "validations":[
+
+ ]
+ }, {
+ "question_key": "Out_of_Total_Export_Sales_what_of_Sales_is_done_in",
+ "question": "Out of Total Export Sales what % of Sales is done in",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":{
+ "api":"getListOfStatesCities",
+ "api_method":"POST",
+
+ "fields":[
+ "state_id",
+ "state_name"
+ ]
+ },
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Area_of_Sales",
+ "answers":null,
+ "validations":[
+
+ ]
+ }
+ ],
+ "is_repeatable":"2",
+ "group_key":"Countries",
+ "group_title":"Countries"
+ }
+
+ ] } ] }],
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ } ,{
+ "question_key":"Description of manufacturing process",
+ "question":"Description of manufacturing process",
+ "place_holder":"Enter the text",
+ "type":"7",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"100",
+ "validations":[
+ ]
+ }
+ ],
+ "is_repeatable": "1",
+ "group_title": "Service Provider ",
+ "group_key": "Service Provider"
+ }
+ ]
+ }]
+
+
+
+ },{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Type_of_Business_Activity",
+ "expression":"(String('Type_of_Business_Activity') == String('3'))",
+ "value_keys":[
+ "Type_of_Business_Activity"
+ ],
+ "questions":[
+ {
+ "question": [
+ {
+ "question":"Main Product*",
+ "question_key":"Main Product",
+ "type":"1",
+ "field_width":"45",
+ "answers":null,
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ } , {
+ "question":"Area of Sales*",
+ "question_key":"Area_of_Sales",
+ "type":"3",
+ "field_width":"45",
+ "answers":[{
+ "answer":"Within India",
+ "answer_id":"within_India"
+ },
+ {
+ "answer":"Export",
+ "answer_id":"Export"
+ }, {
+ "answer":"Both",
+ "answer_id":"Both"
+ }],
+ "api_properties":null,
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Area_of_Sales",
+ "expression":"(String('Area_of_Sales') == String('within_India'))",
+ "value_keys":[
+ "Area_of_Sales"
+ ],
+ "questions":[
+ { "question_key": "Is_Pan_india",
+ "question": "Is Pan India",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Is_Pan_india",
+ "expression":"(String('Is_Pan_india') == String('yes'))",
+ "value_keys":[
+ "Is_Pan_india"
+ ],
+ "questions":[
+ { "question_key": "States_Where_Max_Sales_Done_for ",
+ "question": "States Where Max Sales Done for ",
+ "type":"4",
+ "field_width":"100",
+ "api_properties":{
+ "api":"getListOfStatesCities",
+ "api_method":"POST",
+ "params":{
+ "master_name":null
+ },
+ "fields":[
+ "state_id",
+ "state_name"
+ ]
+ },
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Is_Pan_india",
+ "answers":null,
+ "validations":[
+
+ ]
+ }
+
+ ] } ] }, {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Is_Pan_india",
+ "expression":"(String('Is_Pan_india') == String('no'))",
+ "value_keys":[
+ "Is_Pan_india"
+ ],
+ "questions":[
+ {
+ "questions_level_two":[
+ {
+ "question":"State",
+ "question_key":"State",
+ "type":"3",
+ "field_type":"num",
+ "field_width":"100",
+ "onchange_properties":null,
+ "api_properties":null,
+ "answers":null,
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ }
+ ],
+ "is_repeatable":"2",
+ "group_key":"State",
+ "group_title":"State"
+ },
+ {
+ "questions_level_two":[
+ {
+ "question":"city",
+ "question_key":"city",
+ "type":"3",
+ "field_type":"num",
+ "field_width":"100",
+ "onchange_properties":null,
+ "api_properties":null,
+ "answers":null,
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ }
+ ],
+ "is_repeatable":"2",
+ "group_key":"city",
+ "group_title":"city"
+ },
+
+
+ { "question_key": "States Where Max Sales Done for ",
+ "question": "States Where Max Sales Done for ",
+ "type":"4",
+ "field_width":"45",
+ "api_properties":{
+ "api":"getListOfStatesCities",
+ "api_method":"POST",
+ "params":{
+ "master_name":null
+ },
+ "fields":[
+ "state_id",
+ "state_name"
+ ]
+ },
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Is_pan_india",
+ "answers":null,
+ "validations":[
+
+ ]
+ },
+ { "question_key": "Cities Where Max Sales Done for ",
+ "question": "Cities Where Max Sales Done for ",
+ "type":"4",
+ "field_width":"45",
+ "api_properties":{
+ "api":"getListOfStatesCities",
+ "api_method":"POST",
+ "params":{
+ "master_name":null
+ },
+ "fields":[
+ "state_id",
+ "state_name"
+ ]
+ },
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Is_pan_india",
+ "answers":null,
+ "validations":[
+
+ ]
+ }
+
+
+ ] }
+ ] }],
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Area_of_Sales",
+ "answers":[{
+ "answer":"Yes",
+ "answer_id":"yes"
+ },
+ {
+ "answer":"No",
+ "answer_id":"no"
+ }],
+ "validations":[
+
+ ]
+ }
+ ] } ] }, {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Area_of_Sales",
+ "expression":"(String('Area_of_Sales') == String('Export'))",
+ "value_keys":[
+ "Area_of_Sales"
+ ],
+ "questions":[
+ {
+ "questions_level_two":[
+ { "question_key": "Countries_Where_The_Export_Is_Being_Done_for",
+ "question": "Countries Where The Export Is Being Done for ",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":{
+ "api":"getListOfStatesCities",
+ "api_method":"POST",
+
+ "fields":[
+ "state_id",
+ "state_name"
+ ]
+ },
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Area_of_Sales",
+ "answers":null,
+ "validations":[
+
+ ]
+ }, {
+ "question_key": "Out_of_Total_Export_Sales_what_of_Sales_is_done_in",
+ "question": "Out of Total Export Sales what % of Sales is done in",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":{
+ "api":"getListOfStatesCities",
+ "api_method":"POST",
+
+ "fields":[
+ "state_id",
+ "state_name"
+ ]
+ },
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Area_of_Sales",
+ "answers":null,
+ "validations":[
+
+ ]
+ }
+ ],
+ "is_repeatable":"2",
+ "group_key":"Countries",
+ "group_title":"Countries"
+ }
+
+ ] } ] }, {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Area_of_Sales",
+ "expression":"(String('Area_of_Sales') == String('Both'))",
+ "value_keys":[
+ "Area_of_Sales"
+ ],
+ "questions":[
+ {
+ "question_key":"Within India",
+ "question":"Within India",
+ "place_holder":"Enter the text",
+ "type":null,
+ "sub_title":"Within India",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"100",
+ "validations":[
+ ]
+ },
+ {
+ "question_key": "is_Pan_India",
+ "question": "Is Pan India",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"is_Pan_India",
+ "expression":"(String('is_Pan_India') == String('yes'))",
+ "value_keys":[
+ "is_Pan_India"
+ ],
+ "questions":[
+
+ { "question_key": "States Where Max Sales Done for ",
+ "question": "States Where Max Sales Done for ",
+ "type":"4",
+ "field_width":"65",
+ "api_properties":{
+ "api":"getListOfStatesCities",
+ "api_method":"POST",
+ "params":{
+ "master_name":null
+ },
+ "fields":[
+ "state_id",
+ "state_name"
+ ]
+ },
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"is_Pan_India",
+ "answers":null,
+ "validations":[
+
+ ]
+ }
+
+ ] } ] }, {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"is_Pan_India",
+ "expression":"(String('is_Pan_India') == String('no'))",
+ "value_keys":[
+ "is_Pan_India"
+ ],
+ "questions":[
+ {
+ "questions_level_two":[
+ {
+ "question":"State",
+ "question_key":"State",
+ "type":"3",
+ "field_type":"num",
+ "field_width":"100",
+ "onchange_properties":null,
+ "api_properties":null,
+ "answers":null,
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ }
+ ],
+ "is_repeatable":"2",
+ "group_key":"State",
+ "group_title":"State"
+ },
+ {
+ "questions_level_two":[
+ {
+ "question":"city",
+ "question_key":"city",
+ "type":"3",
+ "field_type":"num",
+ "field_width":"100",
+ "onchange_properties":null,
+ "api_properties":null,
+ "answers":null,
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ }
+ ],
+ "is_repeatable":"2",
+ "group_key":"city",
+ "group_title":"city"
+ },
+
+ { "question_key": "States Where Max Sales Done for ",
+ "question": "States Where Max Sales Done for ",
+ "type":"4",
+ "field_width":"45",
+ "api_properties":{
+ "api":"getListOfStatesCities",
+ "api_method":"POST",
+ "params":{
+ "master_name":null
+ },
+ "fields":[
+ "state_id",
+ "state_name"
+ ]
+ },
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"is_Pan_India",
+ "answers":null,
+ "validations":[
+
+ ]
+ },
+ { "question_key": "Cities Where Max Sales Done for ",
+ "question": "Cities Where Max Sales Done for ",
+ "type":"4",
+ "field_width":"45",
+ "api_properties":{
+ "api":"getListOfStatesCities",
+ "api_method":"POST",
+ "params":{
+ "master_name":null
+ },
+ "fields":[
+ "state_id",
+ "state_name"
+ ]
+ },
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"is_Pan_India",
+ "answers":null,
+ "validations":[
+
+ ]
+ }
+
+ ] }
+ ] }],
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Area_of_Sales",
+ "answers":[{
+ "answer":"Yes",
+ "answer_id":"yes"
+ },
+ {
+ "answer":"No",
+ "answer_id":"no"
+ }],
+ "validations":[
+
+ ]
+ },
+ {
+ "question_key":"Export",
+ "question":"Within India",
+ "place_holder":"Enter the text",
+ "type":null,
+ "sub_title":"Export",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"100",
+ "validations":[
+ ]
+ }, {
+ "questions_level_two":[
+ { "question_key": "Countries_Where_The_Export_Is_Being_Done_for",
+ "question": "Countries Where The Export Is Being Done for ",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":{
+ "api":"getListOfStatesCities",
+ "api_method":"POST",
+
+ "fields":[
+ "state_id",
+ "state_name"
+ ]
+ },
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Area_of_Sales",
+ "answers":null,
+ "validations":[
+
+ ]
+ }, {
+ "question_key": "Out_of_Total_Export_Sales_what_of_Sales_is_done_in",
+ "question": "Out of Total Export Sales what % of Sales is done in",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":{
+ "api":"getListOfStatesCities",
+ "api_method":"POST",
+
+ "fields":[
+ "state_id",
+ "state_name"
+ ]
+ },
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Area_of_Sales",
+ "answers":null,
+ "validations":[
+
+ ]
+ }
+ ],
+ "is_repeatable":"2",
+ "group_key":"Countries",
+ "group_title":"Countries"
+ }
+
+ ] } ] }],
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ } ,{
+ "question_key":"Description of manufacturing process",
+ "question":"Description of manufacturing process",
+ "place_holder":"Enter the text",
+ "type":"7",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"100",
+ "validations":[
+ ]
+ }
+ ],
+ "is_repeatable": "1",
+ "group_title": "Retail trading ",
+ "group_key": "Retail trading"
+ }
+ ]
+ }]
+
+
+
+ },{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Type_of_Business_Activity",
+ "expression":"(String('Type_of_Business_Activity') == String('4'))",
+ "value_keys":[
+ "Type_of_Business_Activity"
+ ],
+ "questions":[
+ {
+ "question": [
+ {
+ "question":"Main Product*",
+ "question_key":"Main Product",
+ "type":"1",
+ "field_width":"45",
+ "answers":null,
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ } , {
+ "question":"Area of Sales*",
+ "question_key":"Area_of_Sales",
+ "type":"3",
+ "field_width":"45",
+ "answers":[{
+ "answer":"Within India",
+ "answer_id":"within_India"
+ },
+ {
+ "answer":"Export",
+ "answer_id":"Export"
+ }, {
+ "answer":"Both",
+ "answer_id":"Both"
+ }],
+ "api_properties":null,
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Area_of_Sales",
+ "expression":"(String('Area_of_Sales') == String('within_India'))",
+ "value_keys":[
+ "Area_of_Sales"
+ ],
+ "questions":[
+ { "question_key": "Is_Pan_india",
+ "question": "Is Pan India",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Is_Pan_india",
+ "expression":"(String('Is_Pan_india') == String('yes'))",
+ "value_keys":[
+ "Is_Pan_india"
+ ],
+ "questions":[
+ { "question_key": "States_Where_Max_Sales_Done_for ",
+ "question": "States Where Max Sales Done for ",
+ "type":"4",
+ "field_width":"100",
+ "api_properties":{
+ "api":"getListOfStatesCities",
+ "api_method":"POST",
+ "params":{
+ "master_name":null
+ },
+ "fields":[
+ "state_id",
+ "state_name"
+ ]
+ },
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Is_Pan_india",
+ "answers":null,
+ "validations":[
+
+ ]
+ }
+
+ ] } ] }, {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Is_Pan_india",
+ "expression":"(String('Is_Pan_india') == String('no'))",
+ "value_keys":[
+ "Is_Pan_india"
+ ],
+ "questions":[
+ {
+ "questions_level_two":[
+ {
+ "question":"State",
+ "question_key":"State",
+ "type":"3",
+ "field_type":"num",
+ "field_width":"100",
+ "onchange_properties":null,
+ "api_properties":null,
+ "answers":null,
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ }
+ ],
+ "is_repeatable":"2",
+ "group_key":"State",
+ "group_title":"State"
+ },
+ {
+ "questions_level_two":[
+ {
+ "question":"city",
+ "question_key":"city",
+ "type":"3",
+ "field_type":"num",
+ "field_width":"100",
+ "onchange_properties":null,
+ "api_properties":null,
+ "answers":null,
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ }
+ ],
+ "is_repeatable":"2",
+ "group_key":"city",
+ "group_title":"city"
+ },
+ { "question_key": "States Where Max Sales Done for ",
+ "question": "States Where Max Sales Done for ",
+ "type":"4",
+ "field_width":"45",
+ "api_properties":{
+ "api":"getListOfStatesCities",
+ "api_method":"POST",
+ "params":{
+ "master_name":null
+ },
+ "fields":[
+ "state_id",
+ "state_name"
+ ]
+ },
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Is_pan_india",
+ "answers":null,
+ "validations":[
+
+ ]
+ },
+ { "question_key": "Cities Where Max Sales Done for ",
+ "question": "Cities Where Max Sales Done for ",
+ "type":"4",
+ "field_width":"45",
+ "api_properties":{
+ "api":"getListOfStatesCities",
+ "api_method":"POST",
+ "params":{
+ "master_name":null
+ },
+ "fields":[
+ "state_id",
+ "state_name"
+ ]
+ },
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Is_pan_india",
+ "answers":null,
+ "validations":[
+
+ ]
+ }
+
+
+ ] }
+ ] }],
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Area_of_Sales",
+ "answers":[{
+ "answer":"Yes",
+ "answer_id":"yes"
+ },
+ {
+ "answer":"No",
+ "answer_id":"no"
+ }],
+ "validations":[
+
+ ]
+ }
+ ] } ] }, {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Area_of_Sales",
+ "expression":"(String('Area_of_Sales') == String('Export'))",
+ "value_keys":[
+ "Area_of_Sales"
+ ],
+ "questions":[
+ {
+ "questions_level_two":[
+ { "question_key": "Countries_Where_The_Export_Is_Being_Done_for",
+ "question": "Countries Where The Export Is Being Done for ",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":{
+ "api":"getListOfStatesCities",
+ "api_method":"POST",
+
+ "fields":[
+ "state_id",
+ "state_name"
+ ]
+ },
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Area_of_Sales",
+ "answers":null,
+ "validations":[
+
+ ]
+ }, {
+ "question_key": "Out_of_Total_Export_Sales_what_of_Sales_is_done_in",
+ "question": "Out of Total Export Sales what % of Sales is done in",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":{
+ "api":"getListOfStatesCities",
+ "api_method":"POST",
+
+ "fields":[
+ "state_id",
+ "state_name"
+ ]
+ },
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Area_of_Sales",
+ "answers":null,
+ "validations":[
+
+ ]
+ }
+ ],
+ "is_repeatable":"2",
+ "group_key":"Countries",
+ "group_title":"Countries"
+ }
+
+ ] } ] }, {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Area_of_Sales",
+ "expression":"(String('Area_of_Sales') == String('Both'))",
+ "value_keys":[
+ "Area_of_Sales"
+ ],
+ "questions":[
+ {
+ "question_key":"Within India",
+ "question":"Within India",
+ "place_holder":"Enter the text",
+ "type":null,
+ "sub_title":"Within India",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"100",
+ "validations":[
+ ]
+ },
+ {
+ "question_key": "is_Pan_India",
+ "question": "Is Pan India",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"is_Pan_India",
+ "expression":"(String('is_Pan_India') == String('yes'))",
+ "value_keys":[
+ "is_Pan_India"
+ ],
+ "questions":[
+
+ { "question_key": "States Where Max Sales Done for ",
+ "question": "States Where Max Sales Done for ",
+ "type":"4",
+ "field_width":"65",
+ "api_properties":{
+ "api":"getListOfStatesCities",
+ "api_method":"POST",
+ "params":{
+ "master_name":null
+ },
+ "fields":[
+ "state_id",
+ "state_name"
+ ]
+ },
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"is_Pan_India",
+ "answers":null,
+ "validations":[
+
+ ]
+ }
+
+ ] } ] }, {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"is_Pan_India",
+ "expression":"(String('is_Pan_India') == String('no'))",
+ "value_keys":[
+ "is_Pan_India"
+ ],
+ "questions":[
+ {
+ "questions_level_two":[
+ {
+ "question":"State",
+ "question_key":"State",
+ "type":"3",
+ "field_type":"num",
+ "field_width":"100",
+ "onchange_properties":null,
+ "api_properties":null,
+ "answers":null,
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ },{
+ "question":"city",
+ "question_key":"city",
+ "type":"3",
+ "field_type":"num",
+ "field_width":"100",
+ "onchange_properties":null,
+ "api_properties":null,
+ "answers":null,
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ }
+ ],
+ "is_repeatable":"2",
+ "group_key":"State",
+ "group_title":"State"
+ }, {
+ "questions_level_two":[
+ {
+ "question":"State",
+ "question_key":"State",
+ "type":"3",
+ "field_type":"num",
+ "field_width":"100",
+ "onchange_properties":null,
+ "api_properties":null,
+ "answers":null,
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ }
+ ],
+ "is_repeatable":"2",
+ "group_key":"State",
+ "group_title":"State"
+ },
+ {
+ "questions_level_two":[
+ {
+ "question":"city",
+ "question_key":"city",
+ "type":"3",
+ "field_type":"num",
+ "field_width":"100",
+ "onchange_properties":null,
+ "api_properties":null,
+ "answers":null,
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ }
+ ],
+ "is_repeatable":"2",
+ "group_key":"city",
+ "group_title":"city"
+ },
+
+ { "question_key": "States Where Max Sales Done for ",
+ "question": "States Where Max Sales Done for ",
+ "type":"4",
+ "field_width":"45",
+ "api_properties":{
+ "api":"getListOfStatesCities",
+ "api_method":"POST",
+ "params":{
+ "master_name":null
+ },
+ "fields":[
+ "state_id",
+ "state_name"
+ ]
+ },
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"is_Pan_India",
+ "answers":null,
+ "validations":[
+
+ ]
+ },
+ { "question_key": "Cities Where Max Sales Done for ",
+ "question": "Cities Where Max Sales Done for ",
+ "type":"4",
+ "field_width":"45",
+ "api_properties":{
+ "api":"getListOfStatesCities",
+ "api_method":"POST",
+ "params":{
+ "master_name":null
+ },
+ "fields":[
+ "state_id",
+ "state_name"
+ ]
+ },
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"is_Pan_India",
+ "answers":null,
+ "validations":[
+
+ ]
+ }
+
+ ] }
+ ] }],
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Area_of_Sales",
+ "answers":[{
+ "answer":"Yes",
+ "answer_id":"yes"
+ },
+ {
+ "answer":"No",
+ "answer_id":"no"
+ }],
+ "validations":[
+
+ ]
+ },
+ {
+ "question_key":"Export",
+ "question":"Within India",
+ "place_holder":"Enter the text",
+ "type":null,
+ "sub_title":"Export",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"100",
+ "validations":[
+ ]
+ }, {
+ "questions_level_two":[
+ { "question_key": "Countries_Where_The_Export_Is_Being_Done_for",
+ "question": "Countries Where The Export Is Being Done for ",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":{
+ "api":"getListOfStatesCities",
+ "api_method":"POST",
+
+ "fields":[
+ "state_id",
+ "state_name"
+ ]
+ },
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Area_of_Sales",
+ "answers":null,
+ "validations":[
+
+ ]
+ }, {
+ "question_key": "Out_of_Total_Export_Sales_what_of_Sales_is_done_in",
+ "question": "Out of Total Export Sales what % of Sales is done in",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":{
+ "api":"getListOfStatesCities",
+ "api_method":"POST",
+
+ "fields":[
+ "state_id",
+ "state_name"
+ ]
+ },
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Area_of_Sales",
+ "answers":null,
+ "validations":[
+
+ ]
+ }
+ ],
+ "is_repeatable":"2",
+ "group_key":"Countries",
+ "group_title":"Countries"
+ }
+
+ ] } ] }],
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ } ,{
+ "question_key":"Description of manufacturing process",
+ "question":"Description of manufacturing process",
+ "place_holder":"Enter the text",
+ "type":"7",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"100",
+ "validations":[
+ ]
+ }
+ ],
+ "is_repeatable": "1",
+ "group_title": "Wholesale Trade",
+ "group_key": "Wholesale Trade"
+ }
+ ]
+ }]
+
+
+
+ } ],
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"100",
+ "validations":[
+ ]
+ }, {
+ "question_key":"Does the Applicant Use Mobile Wallets / UPI Apps",
+ "question":"Does the Applicant Use Mobile Wallets / UPI Apps",
+ "place_holder":"Enter the text",
+ "type":"3",
+ "sub_title":"Digital Payments",
+ "api_properties":null,
+ "answers":[{
+ "answer":"Yes",
+ "answer_id":"yes"
+ },
+ {
+ "answer":"No",
+ "answer_id":"no"
+ }],
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"65",
+ "validations":[
+ ]
+ }, {
+ "question_key":"Does the Applicant Use POS Machines in His Business / Profession",
+ "question":"Does the Applicant Use POS Machines in His Business / Profession",
+ "place_holder":"Enter the text",
+ "type":"3",
+ "api_properties":null,
+ "answers":[{
+ "answer":"Yes",
+ "answer_id":"yes"
+ },
+ {
+ "answer":"No",
+ "answer_id":"no"
+ }],
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"65",
+ "validations":[
+ ]
+ },{
+ "question_key":"Is The Business Seasonal",
+ "question":"Is The Business Seasonal",
+ "place_holder":"Enter the text",
+ "type":"3",
+ "sub_title":"Digital Payments",
+ "api_properties":null,
+ "answers":[{
+ "answer":"Yes",
+ "answer_id":"yes"
+ },
+ {
+ "answer":"No Major Changes In Sales",
+ "answer_id":"No Major Changes In Sales"
+ }],
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"65",
+ "validations":[
+ ]
+ },
+ {
+ "question":"Employees As Per Applicant",
+ "question_key":"Employees As Per Applicant",
+ "place_holder":"",
+ "type":null,
+ "sub_title":"Employees As Per Applicant",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "answers": null,
+ "validations":[
+ ]
+ }, {
+ "question":"Permanent",
+ "question_key":"Permanent",
+ "place_holder":"",
+ "type":"1",
+ "field_width":"30",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "answers": null,
+ "validations":[
+ ]
+ }, {
+ "question":"Temporary",
+ "question_key":"Temporary",
+ "place_holder":"",
+ "type":"1",
+ "field_width":"30",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "answers": null,
+ "validations":[
+ ]
+ }, {
+ "question":"Total",
+ "question_key":"Total",
+ "place_holder":"",
+ "type":"1",
+ "field_width":"30",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "answers": null,
+ "validations":[
+ ]
+ }, {
+ "question":"Approximate total monthly salary paid to employees",
+ "question_key":"Approximate total monthly salary paid to employees",
+ "place_holder":"",
+ "type":"1",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "answers": null,
+ "validations":[
+ ]
+ },
+ {
+ "question":"No of Employees Sighted By PD Officer During His Visit",
+ "question_key":"No of Employees Sighted By PD Officer During His Visit",
+ "place_holder":"",
+ "type":null,
+ "sub_title":"No of Employees Sighted By PD Officer During His Visit",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "answers": null,
+ "validations":[
+ ]
+ }, {
+ "question":"Total",
+ "question_key":"total",
+ "place_holder":"",
+ "type":"1",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "answers": null,
+ "validations":[
+ ]
+ }, {
+ "question":"Was the Company name board sighted ?",
+ "question_key":"Was the Company name board sighted ?",
+ "place_holder":"",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "answers":[{
+
+ "answer":"Yes",
+ "answer_id":"yes"
+ },
+ {
+ "answer":"No",
+ "answer_id":"no"
+ }],
+ "validations":[
+ ]
+ } ,
+ {
+ "question":"Documents Sighted",
+ "question_key":"Documents Sighted",
+ "place_holder":"",
+ "type":null,
+ "sub_title":"Documents Sighted",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "answers": null,
+ "validations":[
+ ]
+ }, {
+ "question":"Shop and Est Act Cert",
+ "question_key":"Shop and Est Act Cert",
+ "place_holder":"",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "answers":[{
+
+ "answer":"Yes",
+ "answer_id":"yes"
+ },
+ {
+ "answer":"No",
+ "answer_id":"no"
+ }, {
+ "answer":"Not Applicable",
+ "answer_id":"Not Applicable"
+ }],
+ "validations":[
+ ]
+ } , {
+ "question":"GST Regn Cert",
+ "question_key":"GST Regn Cert",
+ "place_holder":"",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "answers":[{
+
+ "answer":"Yes",
+ "answer_id":"yes"
+ },
+ {
+ "answer":"No",
+ "answer_id":"no"
+ }, {
+ "answer":"Not Applicable",
+ "answer_id":"Not Applicable"
+ }],
+ "validations":[
+ ]
+ } , {
+ "question":"Cert of Practice",
+ "question_key":"Cert of Practice",
+ "place_holder":"",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "answers":[{
+
+ "answer":"Yes",
+ "answer_id":"yes"
+ },
+ {
+ "answer":"No",
+ "answer_id":"no"
+ }, {
+ "answer":"Not Applicable",
+ "answer_id":"Not Applicable"
+ }],
+ "validations":[
+ ]
+ } , {
+ "question":"PF Regn",
+ "question_key":"PF Regn",
+ "place_holder":"",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "answers":[{
+
+ "answer":"Yes",
+ "answer_id":"yes"
+ },
+ {
+ "answer":"No",
+ "answer_id":"no"
+ }, {
+ "answer":"Not Applicable",
+ "answer_id":"Not Applicable"
+ }],
+ "validations":[
+ ]
+ } , {
+ "question":"ESIC Regn",
+ "question_key":"ESIC Regn",
+ "place_holder":"",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "answers":[{
+
+ "answer":"Yes",
+ "answer_id":"yes"
+ },
+ {
+ "answer":"No",
+ "answer_id":"no"
+ }, {
+ "answer":"Not Applicable",
+ "answer_id":"Not Applicable"
+ }],
+ "validations":[
+ ]
+ } , {
+ "question":"Do You Want to Add Other Documents?",
+ "question_key":"Do You Want to Add Other Documents?",
+ "place_holder":"",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "answers":[{
+
+ "answer":"Yes",
+ "answer_id":"yes"
+ },
+ {
+ "answer":"No",
+ "answer_id":"no"
+ } ],
+ "validations":[
+ ]
+ }
+ ]
+}
diff --git a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/LFMP/10.json b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/LFMP/10.json
new file mode 100644
index 000000000..007d8e200
--- /dev/null
+++ b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/LFMP/10.json
@@ -0,0 +1,192 @@
+{
+ "section_id": "10",
+ "section_name": "Neighbourhood / Reference Check",
+ "onsubmit": [
+
+ ],
+ "questions": [
+ {
+ "question":[
+ {
+ "question_key": "Neighbour_Name",
+ "question": "Neighbour Name",
+ "place_holder": "Enter the text",
+ "type": "1",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "field_type": "string",
+ "field_width": "45",
+ "validations": []
+ }, {
+ "question_key": "Do_you_known_about_the_applicants_or_their_business",
+ "question": "Do you known about the applicants or their business?",
+ "place_holder": "Enter the text",
+ "type": "3",
+ "api_properties": null,
+ "answers":[
+ {
+ "answer_id":"Yes",
+ "answer":"Yes"
+ },
+ {
+ "answer_id":"No",
+ "answer":"No"
+ }
+ ],
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Do_you_known_about_the_applicants_or_their_business",
+ "expression":"(String('Do_you_known_about_the_applicants_or_their_business') == String('Yes'))",
+ "value_keys":[
+ "Do_you_known_about_the_applicants_or_their_business"
+ ],
+ "questions":[
+ {
+ "question_key": "As_per_you_how_long_has_this_business_been_in_operation",
+ "question": "As per you how long has this business been in operation?",
+ "place_holder": "Enter the text",
+ "type": "5",
+ "api_properties": null,
+ "answers":[
+ {
+ "answer_id":"Do_not_know",
+ "answer":"Do not know"
+ }
+
+ ],
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"As_per_you_how_long_has_this_business_been_in_operation",
+ "expression":"(String('As_per_you_how_long_has_this_business_been_in_operation') != String('Do_not_know'))",
+ "value_keys":[
+ "As_per_you_how_long_has_this_business_been_in_operation"
+ ],
+ "questions":[
+ { "question":"Year",
+ "question_key":"Year",
+ "type":"1",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"As_per_you_how_long_has_this_business_been_in_operation",
+ "answers":null,
+ "validations":[
+
+ ]
+ },
+ { "question":"Month",
+ "question_key":"YeMonthar",
+ "type":"1",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"As_per_you_how_long_has_this_business_been_in_operation",
+ "answers":null,
+ "validations":[
+
+ ]
+ } ] } ] }],
+ "is_repeatable": null,
+ "field_type": "string",
+ "field_width": "100",
+ "validations": []
+ },
+ {
+ "question_key": "Who_is_the_owner_of_the_organisation",
+ "question": "Who is the owner of the organisation?",
+ "place_holder": "Enter the text",
+ "type": "5",
+ "api_properties": null,
+ "answers":[
+ {
+ "answer_id":"Do_not_know",
+ "answer":"Do not know"
+ }
+
+ ],
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Who_is_the_owner_of_the_organisation",
+ "expression":"(String('Who_is_the_owner_of_the_organisation') != String('Do_not_know'))",
+ "value_keys":[
+ "Who_is_the_owner_of_the_organisation"
+ ],
+ "questions":[
+ { "question_key": "Who_is_the_owner_of_the_organisations",
+ "question": "Who is the owner of the organisation?",
+ "type":"1",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Who_is_the_owner_of_the_organisation",
+ "answers":null,
+ "validations":[
+
+ ]
+ }
+ ] } ] }],
+ "is_repeatable": null,
+ "field_type": "string",
+ "field_width": "100",
+ "validations": []
+ }
+ ]
+ } ] }],
+ "is_repeatable": null,
+ "field_type": "string",
+ "field_width": "45",
+ "validations": []
+ }
+ ],
+ "is_repeatable":"1",
+ "hidden_button":true,
+ "group_title":"Neighbourhood",
+ "group_key":"Neighbourhood"
+ },
+
+ {
+ "question_key": "Status of the check as per PD officer?",
+ "question": "Status of the check as per PD officer?",
+ "place_holder": "Enter the text",
+ "type": "3",
+ "api_properties": null,
+ "answers":[
+ {
+ "answer_id":"Positive",
+ "answer":"Positive"
+ },
+ {
+ "answer_id":"Negative",
+ "answer":"Negative"
+ }, {
+ "answer_id":"Could_not_verify",
+ "answer":"Could not verify"
+ }
+ ],
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "field_type": "string",
+ "field_width": "45",
+ "validations": []
+
+ }
+
+ ]
+}
\ No newline at end of file
diff --git a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/LFMP/11.json b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/LFMP/11.json
new file mode 100644
index 000000000..69fa506dd
--- /dev/null
+++ b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/LFMP/11.json
@@ -0,0 +1,267 @@
+{
+ "section_id":"11",
+ "section_name":"Credit Manager Queries",
+ "onsubmit":null,
+ "questions":[
+ {
+ "question":"Is your business adversely impacted by coronavirus outbreak ?",
+ "question_key":"Is_your_business_adversely_impacted_by_coronavirus_outbreak",
+ "type":"2",
+ "sub_title":"Covid 19 Questions",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Is_your_business_adversely_impacted_by_coronavirus_outbreak",
+ "expression":"(String('Is_your_business_adversely_impacted_by_coronavirus_outbreak') == String('No'))",
+ "value_keys":[
+ "Is_your_business_adversely_impacted_by_coronavirus_outbreak"
+ ],
+ "questions":[
+ { "question":"Enter Your Remarks",
+ "question_key":"Enter_Your_Remarks",
+ "type":"1",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Is_your_business_adversely_impacted_by_coronavirus_outbreak",
+ "answers":null,
+ "validations":[
+
+ ]
+ } ] } ] },
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Is_your_business_adversely_impacted_by_coronavirus_outbreak",
+ "expression":"(String('Is_your_business_adversely_impacted_by_coronavirus_outbreak') == String('Yes'))",
+ "value_keys":[
+ "Is_your_business_adversely_impacted_by_coronavirus_outbreak"
+ ],
+ "questions":[
+ { "question":"Enter Your Remarks",
+ "question_key":"enter_Your_Remarks",
+ "type":"1",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Is_your_business_adversely_impacted_by_coronavirus_outbreak",
+ "answers":null,
+ "validations":[
+
+ ]
+ }
+
+
+
+ ]
+ }
+ ]
+ }],
+ "is_repeatable":null,
+ "answers":[{
+ "answer":"Yes",
+ "answer_id":"Yes"
+ },
+ {
+ "answer":"No",
+ "answer_id":"No"
+ }],
+ "validations":[
+
+ ]
+ },{
+ "question":"Did you avail the loan moratorium facility on your existing loans which is extended by your bank or financial institution?",
+ "question_key":"your_bank_or_financial_institution",
+ "type":"2",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":[
+ ],
+ "is_repeatable":null,
+ "answers":[{
+ "answer":"Yes",
+ "answer_id":"Yes"
+ },
+ {
+ "answer":"No",
+ "answer_id":"No"
+ }],
+ "validations":[
+
+ ]
+ },{
+ "question":"Are you planning to avail/ or already availed any loan or any other term facility for your business or personal use?",
+ "question_key":"your_business_or_personal_use",
+ "type":"2",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":[
+
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"your_business_or_personal_use",
+ "expression":"(String('your_business_or_personal_use') == String('Yes'))",
+ "value_keys":[
+ "your_business_or_personal_use"
+ ],
+ "questions":[
+ { "question":"How much is your sales/revenue from April till date?",
+ "question_key":"sales/revenue_April_till_date",
+ "type":"1",
+ "field_width":"100",
+ "field_type":"numtoword",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"your_business_or_personal_use",
+ "answers":null,
+ "validations":[
+
+ ]
+ }, {
+ "question":"Please specify amount,lender etc",
+ "question_key":"Please_specify_amount_lender_etc",
+ "type":"7",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"your_business_or_personal_use",
+ "answers":null,
+ "validations":[
+
+ ]
+ }
+
+
+
+ ]
+ }
+ ]
+ }, {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"your_business_or_personal_use",
+ "expression":"(String('your_business_or_personal_use') == String('No'))",
+ "value_keys":[
+ "your_business_or_personal_use"
+ ],
+ "questions":[
+ { "question":"How much is your sales/revenue from April till date?",
+ "question_key":"How_much_is_your_sales/revenue_from_April_till_date",
+ "type":"1",
+ "field_width":"100",
+ "field_type":"numtoword",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"your_business_or_personal_use",
+ "answers":null,
+ "validations":[
+
+ ]
+ }
+
+
+
+ ]
+ }
+ ]
+ }],
+ "is_repeatable":null,
+ "answers":[{
+ "answer":"Yes",
+ "answer_id":"Yes"
+ },
+ {
+ "answer":"No",
+ "answer_id":"No"
+ }],
+ "validations":[
+
+ ]
+ },{
+ "question":"Is turnover mentioned above (sales/revenue from April till date) validated?",
+ "question_key":"sales/revenue_from_April_till_date_validated",
+ "type":"2",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":[
+
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"sales/revenue_from_April_till_date_validated",
+ "expression":"(String('sales/revenue_from_April_till_date_validated') == String('Yes'))",
+ "value_keys":[
+ "sales/revenue_from_April_till_date_validated"
+ ],
+ "questions":[
+ { "question":"Choose any ",
+ "question_key":"Choose any",
+ "type":"3",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"your_business_or_personal_use",
+ "answers":[
+ {
+ "answer_id":"Bills",
+ "answer":"Bills"
+ },
+ {
+ "answer_id":"Gst_returns",
+ "answer":"Gst returns"
+ },
+ {
+ "answer_id":"records_shown",
+ "answer":"records shown"
+ }
+ ],
+ "validations":[
+
+ ]
+ }
+
+
+
+ ]
+ }
+ ]
+ } ],
+ "is_repeatable":null,
+ "answers":[{
+ "answer":"Yes",
+ "answer_id":"Yes"
+ },
+ {
+ "answer":"No",
+ "answer_id":"No"
+ }],
+ "validations":[
+
+ ]
+ }
+
+
+
+ ]
+ }
+
\ No newline at end of file
diff --git a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/LFMP/12.json b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/LFMP/12.json
new file mode 100644
index 000000000..91a7eebc3
--- /dev/null
+++ b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/LFMP/12.json
@@ -0,0 +1,297 @@
+{
+ "section_id":"12",
+ "section_name":"Final Remarks Details",
+ "onsubmit":null,
+ "questions":[
+ {
+ "question":"Customer Behaviour",
+ "question_key":"Customer_Behaviour",
+ "place_holder":"Enter the text",
+ "type":"3",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"CUSTOMERBEHAVIOUR"
+ },
+ "fields":[
+ "customer_behaviour_id",
+ "description"
+ ]
+ },
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"45",
+ "validations":[
+ ]
+ },
+ {
+ "question":"Is the location of the business / profession suited to the nature of business / service provided?",
+ "question_key":"location_of_the_business",
+ "place_holder":"Enter the text",
+ "type":"3",
+ "api_properties":null,
+ "answers":[{
+ "answer":"Well Suited",
+ "answer_id":"Well Suited"
+ },
+ {
+ "answer":"Fairly Suited",
+ "answer_id":"Fairly Suited"
+ },{
+ "answer":"Not Suited",
+ "answer_id":"Not Suited"
+ }],
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "sub_title":"Location",
+ "field_type":"string",
+ "field_width":"100",
+ "validations":[
+ ]
+ },
+ {
+ "question":"Personal feedback or market intelligence on the case (if any)",
+ "question_key":"Personal_feedback_or_market_intelligence_on_the_case",
+ "place_holder":"Enter the text",
+ "type":"1",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"100",
+ "validations":[
+ ]
+ },
+ {
+ "question_key":"PD_Officers_Recommendation",
+ "question":"PD Officers Recommendation",
+ "place_holder":"Enter the text",
+ "type":"3",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"PDOFFICERRECOMMENDATIONS"
+ },
+ "fields":[
+ "pdofficer_recommendation_id",
+ "pdofficer_recommendation"
+ ]
+ },
+ "answers":null,
+ "onchange_properties":[{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"PD_Officers_Recommendation",
+ "expression":"(String('PD_Officers_Recommendation') == String('2'))",
+ "value_keys":[
+ "PD_Officers_Recommendation"
+ ],
+ "questions":[
+ {
+ "question":[
+ {
+ "question":"Reasons for marking PD status as Positive",
+ "question_key":"Reasons_for_marking_PD_status_as_Positive",
+ "type":"1",
+ "field_width":"100",
+ "onchange_properties":null,
+ "api_properties":null,
+ "answers":null,
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ }
+ ],
+ "is_repeatable":"1",
+ "group_key":"Reasons_for_marking_PD_status_as_Positive",
+ "group_title":"Reasons for marking PD status as Positive"
+ }]
+ }]
+
+
+
+ },{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"PD_Officers_Recommendation",
+ "expression":"(String('PD_Officers_Recommendation') == String('3'))",
+ "value_keys":[
+ "PD_Officers_Recommendation"
+ ],
+ "questions":[
+ {
+ "question":[
+ {
+ "question":"Reasons for marking PD status as Negative",
+ "question_key":"Reasons_for_marking_PD_status_as_Negative",
+ "type":"1",
+ "field_width":"100",
+ "onchange_properties":null,
+ "api_properties":null,
+ "answers":null,
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ }
+ ],
+ "is_repeatable":"1",
+ "group_key":"Reasons_for_marking_PD_status_as_Negative",
+ "group_title":"Reasons for marking PD status as Negative"
+ }]
+ }]
+
+
+
+ },{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"PD_Officers_Recommendation",
+ "expression":"(String('PD_Officers_Recommendation') == String('1'))",
+ "value_keys":[
+ "PD_Officers_Recommendation"
+ ],
+ "questions":[
+ {
+ "question":"Specify PD Officers Recommendation",
+ "question_key":"Specify_PD_Officers_Recommendation",
+ "type":"1",
+ "field_width":"45",
+ "onchange_properties":null,
+ "api_properties":null,
+ "answers":null,
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ }
+ ]
+ }]
+
+
+
+ },{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"PD_Officers_Recommendation",
+ "expression":"(String('PD_Officers_Recommendation') == String('4'))",
+ "value_keys":[
+ "PD_Officers_Recommendation"
+ ],
+ "questions":[
+ {
+ "question":[
+ {
+ "question":"Reasons for marking PD status as Refer to Credit",
+ "question_key":"Reasons_for_marking_PD_status_as_Refer_to_Credit",
+ "type":"1",
+ "field_width":"100",
+ "onchange_properties":null,
+ "api_properties":null,
+ "answers":null,
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ }
+ ],
+ "is_repeatable":"1",
+ "group_key":"Reasons_for_marking_PD_status_as_Refer_to_Credit",
+ "group_title":"Reasons for marking PD status as Refer to Credit"
+ }]
+ }]
+
+
+
+}],
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"45",
+ "validations":[
+ ]
+ }, {
+ "question_key":"Any_additional_visit_(Godown/multiple_rental_properties)",
+ "question":"Any additional visit (Godown /multiple rental properties)",
+ "place_holder":"Enter the text",
+ "type":"12",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"100",
+ "validations":[
+ ]
+ }, {
+ "question":"Mode of Transport Used to Visit the PD address",
+ "question_key":"Mode_of_Transport_Used_to_Visit_the_PD_address",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":null,
+ "answers":[
+ {
+ "answer_id":"Two_Wheeler",
+ "answer":"Two Wheeler"
+ },{
+ "answer_id":"Four_Wheeler",
+ "answer":" Four Wheeler"
+ },{
+ "answer_id":"Public_Transport",
+ "answer":"Public Transport"
+ },
+ {
+ "answer_id":"Others",
+ "answer":"Others"
+ }
+
+ ],
+ "onchange_properties": [{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Mode_of_Transport_Used_to_Visit_the_PD_address",
+ "expression":"(String('Mode_of_Transport_Used_to_Visit_the_PD_address') == String('Others'))",
+ "value_keys":[
+ "Mode_of_Transport_Used_to_Visit_the_PD_address"
+ ],
+ "questions":[
+ {
+ "question":"Specify the Mode of Transport Used to Visit the PD address",
+ "question_key":"Specify_the_Mode_of_Transport_Used_to_Visit_the_PD_address",
+ "type":"1",
+ "field_width":"45",
+ "onchange_properties":null,
+ "api_properties":null,
+ "answers":null,
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ }
+ ]
+ }]
+
+
+
+ }],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ }
+
+
+
+ ]
+ }
+
\ No newline at end of file
diff --git a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/LFMP/13.json b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/LFMP/13.json
new file mode 100644
index 000000000..4fbfbe025
--- /dev/null
+++ b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/LFMP/13.json
@@ -0,0 +1,330 @@
+{
+ "section_id": "13",
+ "section_name": "Stock details",
+ "onsubmit": [],
+ "questions": [
+ {
+ "question": "Is stock applicable to the business (Yes / No)",
+ "question_key": "stock_info_available",
+ "type": "2",
+ "field_width": "45",
+ "api_properties": null,
+ "onchange_properties": [
+ {
+ "purpose": "FORM_CTRL",
+ "form_controls": [
+ {
+ "insert_index": "stock_info_available",
+ "expression": "(String('stock_info_available') == String('No'))",
+ "value_keys": [
+ "stock_info_available"
+ ],
+ "questions": [
+ {
+ "question": "Reason",
+ "question_key": "stock_not_available_reason",
+ "type": "7",
+ "field_width": "100",
+ "api_properties": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "is_subfield": "1",
+ "parent_question_key": "stock_info_available",
+ "answers": null,
+ "validations": [
+
+ ]
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "purpose": "FORM_CTRL",
+ "form_controls": [
+ {
+ "insert_index": "stock_info_available",
+ "expression": "(String('stock_info_available') == String('Yes'))",
+ "value_keys": [
+ "stock_info_available"
+ ],
+ "questions":[
+ {
+ "question": "Is the stock of finished goods observed, sufficient considering the size of operations",
+ "question_key": "estimated_uom",
+ "type": "3",
+ "field_width": "100",
+ "api_properties": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "is_subfield": "1",
+ "parent_question_key": "stock_info_available",
+ "answers": [
+ {
+ "answer": "Yes",
+ "answer_id": "yes"
+ },
+ {
+ "answer": "No",
+ "answer_id": "no"
+ },
+ {
+ "answer": "Stock not required to be maintained",
+ "answer_id": "not applicable"
+ }
+ ],
+ "validations": [
+
+ ]
+ }
+ ]
+ },
+ {
+ "insert_index": "stock_info_available",
+ "expression": "(String('stock_info_available') == String('Yes'))",
+ "value_keys": [
+ "stock_info_available"
+ ],
+ "questions": [
+ {
+ "question": [
+ {
+ "question": "Type of Stock",
+ "question_key": "stock_type",
+ "type": "3",
+ "field_width": "100",
+ "api_properties": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "is_subfield": "1",
+ "parent_question_key": "stock_info_available",
+ "answers": [
+ {
+ "answer": "RM",
+ "answer_id": "RM"
+ },
+ {
+ "answer": "FG",
+ "answer_id": "FG"
+ },
+ {
+ "answer": "SFG",
+ "answer_id": "SFG"
+ }
+ ],
+ "validations": [
+
+ ]
+ },
+ {
+ "question": "Name of trading goods/manufacturing goods (raw material/finished goods)/ Service Provided",
+ "question_key": "provider_name",
+ "place_holder": "Enter text",
+ "type": "1",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "field_type": "string",
+ "validations": [
+
+ ]
+ },
+ {
+ "question": "Stock",
+ "question_key": "provider_observed",
+ "type": "3",
+ "api_properties": null,
+ "answers": [
+ {
+ "answer": "Add Stock Details",
+ "answer_id": "yes"
+ },
+ {
+ "answer": "No Stock Observed",
+ "answer_id": "no"
+ }
+ ],
+ "is_repeatable": null,
+ "validations": [
+
+ ],
+ "onchange_properties": [
+ {
+ "purpose": "FORM_CTRL",
+ "form_controls": [
+ {
+ "insert_index": "provider_observed",
+ "expression": "(String('provider_observed') === String('yes'))",
+ "value_keys": [
+ "provider_observed"
+ ],
+ "questions": [
+ {
+ "question": "Estimated Quantity",
+ "question_key": "estimated_quantity",
+ "type": "1",
+ "field_width": "100",
+ "field_type": "num",
+ "api_properties": null,
+ "onchange_properties": [
+ {
+ "purpose": "validations",
+ "validations": [
+
+ {
+ "name": "required",
+ "isactive": "1",
+ "validator": "",
+ "message": "Either Estimated Stock value or Estimated Quantity is required",
+ "value": "(String('estimated_quantity') === String(''))",
+ "validation_to": "estimated_stock_value",
+ "value_keys": [
+ "estimated_quantity",
+ "estimated_stock_value"
+ ]
+ }
+ ]
+ }
+ ],
+ "is_repeatable": null,
+ "is_subfield": "1",
+ "parent_question_key": "provider_observed",
+ "answers": null,
+ "validations": [
+
+ ]
+ },
+ {
+ "question": "UOM",
+ "question_key": "estimated_uom",
+ "type": "3",
+ "field_width": "100",
+ "api_properties": {
+ "api": "getListOfMaster",
+ "api_method": "POST",
+ "params": {
+ "master_name": "UOM"
+ },
+ "fields": [
+ "uom_id",
+ "name"
+ ]
+ },
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "is_subfield": "1",
+ "parent_question_key": "provider_observed",
+ "answers": null,
+ "validations": [
+ ]
+ },
+ {
+ "question": "Estimated value of stock observed",
+ "question_key": "estimated_stock_value",
+ "type": "1",
+ "field_type": "numtoword",
+ "field_width": "100",
+ "api_properties": null,
+ "onchange_properties": [
+ {
+ "purpose": "validations",
+ "validations": [
+ {
+ "name": "required",
+ "isactive": "1",
+ "validator": "",
+ "message": "Either Estimated Stock value or Estimated Quantity is required",
+ "value": "(String('estimated_stock_value') === String(''))",
+ "validation_to": "estimated_quantity",
+ "value_keys": [
+ "estimated_stock_value"
+ ]
+ }
+ ]
+ }
+ ],
+ "is_repeatable": null,
+ "is_subfield": "1",
+ "parent_question_key": "provider_observed",
+ "answers": null,
+ "validations": []
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "question":"Name of the Company",
+ "question_key":"company_name",
+ "place_holder":"Enter text",
+ "type":"3",
+ "api_properties":{
+ "api":"getCompanyListForSMCList",
+ "api_method":"POST",
+ "params":{"records":{
+ "pd_id":"VAR_PD_ID",
+ "random_string":"VAR_RANDOM_STRING"
+ }},
+ "fields":[
+ "company_id",
+ "borrower_name"
+ ]
+ },
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Company Name Required",
+ "value":null
+ }
+ ]
+ }
+ ],
+ "is_repeatable": "1",
+ "group_title": "Stock details",
+ "group_key": "stock_details"
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "is_repeatable": null,
+ "answers": [
+ {
+ "answer": "Yes",
+ "answer_id": "Yes"
+ },
+ {
+ "answer": "No",
+ "answer_id": "No"
+ }
+ ],
+ "validations": [
+
+ ]
+ },
+ {
+ "question_key":"common_remarks",
+ "question":"Remarks",
+ "place_holder":"Enter the text",
+ "type":"7",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"45",
+ "validations":[
+ ]
+ }
+ ]
+}
\ No newline at end of file
diff --git a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/LFMP/14.json b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/LFMP/14.json
new file mode 100644
index 000000000..6f19b9e15
--- /dev/null
+++ b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/LFMP/14.json
@@ -0,0 +1,118 @@
+{
+ "section_id":"14",
+ "section_name":"Future Plans & Business Environments",
+ "onsubmit":null,
+ "questions":[
+ {
+ "question":"USP of the business- How is applicant's business different from others in the same line of business",
+ "question_key":"usp_of_business",
+ "type":"1",
+ "field_width":"100",
+ "answers":null,
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Future plans for business expansion",
+ "question_key":"future_business_expansion",
+ "type":"1",
+ "field_type":"string",
+ "field_width":"100",
+ "onchange_properties":null,
+ "api_properties":null,
+ "answers":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Key competitors",
+ "question_key":"key_competitors",
+ "type":"1",
+ "field_width":"100",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Sucession plan- who will look after the business after applicant retire/are unable to run business due to any reason",
+ "question_key":"sucession_plan",
+ "type":"1",
+ "field_width":"100",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Brief of other group concerns/Business run by the applicants",
+ "question_key":"other_group_business_applicants",
+ "type":"1",
+ "field_width":"100",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question_key":"common_remarks",
+ "question":"Remarks",
+ "place_holder":"Enter the text",
+ "type":"7",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"45",
+ "validations":[
+ ]
+ }
+ ]
+ }
+
\ No newline at end of file
diff --git a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/LFMP/15.json b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/LFMP/15.json
new file mode 100644
index 000000000..305e590b0
--- /dev/null
+++ b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/LFMP/15.json
@@ -0,0 +1,506 @@
+{
+ "section_id": "15",
+ "section_name": "Existing Loan Obligations",
+ "onsubmit": null,
+ "questions": [
+ {
+ "question":"Do you have any exiting loan",
+ "question_key":"Do_you_have_any_exiting_loan",
+ "type":"3",
+ "field_width":"45",
+ "answers":[{
+ "answer":"Yes",
+ "answer_id":"yes"
+ },
+ {
+ "answer":"No",
+ "answer_id":"no"
+ }],
+ "api_properties":null,
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Do_you_have_any_exiting_loan",
+ "expression":"(String('Do_you_have_any_exiting_loan') == String('yes'))",
+ "value_keys":[
+ "Do_you_have_any_exiting_loan"
+ ],
+ "questions":[
+ {
+ "question": [
+
+
+ {
+ "question": "Loan type",
+ "question_key": "loan_type",
+ "type": "3",
+ "field_width": "45",
+ "api_properties": null,
+ "answers":[
+
+
+ {
+ "answer":" Business Loan",
+ "answer_id":"Business_Loan"
+ },
+ {
+ "answer":"Consumer Loan",
+ "answer_id":"Consumer_Loan"
+ },
+ {
+ "answer":" Education Loan",
+ "answer_id":" Education_Loan"
+ }, {
+ "answer":"Gold Loan",
+ "answer_id":" Gold_Loan"
+ }, {
+ "answer":"Home Loan",
+ "answer_id":"Home_Loan"
+ }, {
+ "answer":"Loan Against Property",
+ "answer_id":"Loan_Against_Property"
+ }, {
+ "answer":"Loan Against Shares",
+ "answer_id":"Loan_Against_Shares"
+ }, {
+ "answer":" Personal Loan",
+ "answer_id":" Personal_Loan"
+ }, {
+ "answer":"Vehicle Loan",
+ "answer_id":"Vehicle_Loan"
+ }, {
+ "answer":" Others (Please Specify)",
+ "answer_id":"Others_(Please Specify)"
+ }
+ ],
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"loan_type",
+ "expression":"(String('loan_type') == String('Others_(Please Specify)'))",
+ "value_keys":[
+ "loan_type"
+ ],
+ "questions":[
+ {
+ "question":"Specify Loan Type",
+ "question_key":"Specify_Loan_Type",
+ "type":"1",
+ "field_width":"45",
+ "api_properties":null,
+ "parent_question_key":"loan_type",
+ "answers":[
+
+ ],
+ "onchange_properties": [],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ }]
+ }]
+
+
+
+ }],
+ "is_repeatable": null,
+ "validations": [
+ ]
+ },
+ {
+ "question": "Loan amount",
+ "question_key": "loan_amount",
+ "type": "1",
+ "field_type": "numtoword",
+ "field_width": "65",
+ "onchange_properties": null,
+ "api_properties": null,
+ "answers": null,
+ "is_repeatable": null,
+ "validations": [
+ ]
+ },
+ {
+ "question": "Lender name",
+ "question_key": "lender_name",
+ "type": "1",
+ "field_width": "45",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": [
+ ]
+ },
+ {
+ "question": "Loan taken by",
+ "question_key": "loan_taken_by",
+ "type": "1",
+ "field_width": "45",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": [
+ ]
+ },
+
+ {
+ "question": "Instalment frequency",
+ "question_key": "instalment_frequency",
+ "type": "3",
+ "field_width": "45",
+ "api_properties": null,
+ "answers": [
+ {
+ "answer_id": "Daily",
+ "answer": "Daily"
+ },
+ {
+ "answer_id": "Every_12_days",
+ "answer": "Every 12 days"
+ },
+ {
+ "answer_id": "Every_15_days",
+ "answer": "Every 15 days"
+ },
+ {
+ "answer_id": "Monthly",
+ "answer": "Monthly"
+ },
+ {
+ "answer_id": "Every_3_months",
+ "answer": "Every 3 months"
+ },
+ {
+ "answer_id": "Every_6_months",
+ "answer": "Every 6 months"
+ },
+ {
+ "answer_id": "Yearly",
+ "answer": "Yearly"
+ }
+ ],
+
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"instalment_frequency",
+ "expression":"(String('instalment_frequency') == String('Daily'))",
+ "value_keys":[
+ "instalment_frequency"
+ ],
+ "questions":[
+ {
+ "question":"Daily Instalment Amount",
+ "question_key":"Daily_Instalment_Amount",
+ "type":"1",
+ "field_width":"45",
+ "field_type": "numtoword",
+ "api_properties":null,
+ "parent_question_key":"instalment_frequency",
+ "answers":[
+
+ ],
+ "onchange_properties": [],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ }]
+ }]
+
+
+
+ },{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"instalment_frequency",
+ "expression":"(String('instalment_frequency') == String('Every_12_days'))",
+ "value_keys":[
+ "instalment_frequency"
+ ],
+ "questions":[
+ {
+ "question":"Instalment Amount",
+ "question_key":"Instalment_Amount",
+ "type":"1",
+ "field_width":"45",
+ "field_type": "numtoword",
+ "api_properties":null,
+ "parent_question_key":"instalment_frequency",
+ "answers":[
+
+ ],
+ "onchange_properties": [],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ }]
+ }]
+
+
+
+ },{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"instalment_frequency",
+ "expression":"(String('instalment_frequency') == String('Every_15_days'))",
+ "value_keys":[
+ "instalment_frequency"
+ ],
+ "questions":[
+ {
+ "question":"Fortnightly Instalment Amount",
+ "question_key":"Fortnightly_Instalment_Amount",
+ "type":"1",
+ "field_width":"45",
+ "field_type": "numtoword",
+ "api_properties":null,
+ "parent_question_key":"instalment_frequency",
+ "answers":[
+
+ ],
+ "onchange_properties": [],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ }]
+ }]
+
+
+
+ },{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"instalment_frequency",
+ "expression":"(String('instalment_frequency') == String('Every_3_months'))",
+ "value_keys":[
+ "instalment_frequency"
+ ],
+ "questions":[
+ {
+ "question":"Quartly Instalment Amount",
+ "question_key":"Quartly_Instalment_Amount",
+ "type":"1",
+ "field_width":"45",
+ "field_type": "numtoword",
+ "api_properties":null,
+ "parent_question_key":"instalment_frequency",
+ "answers":[
+
+ ],
+ "onchange_properties": [],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ }]
+ }]
+
+
+
+ },{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"instalment_frequency",
+ "expression":"(String('instalment_frequency') == String('Every_6_months'))",
+ "value_keys":[
+ "instalment_frequency"
+ ],
+ "questions":[
+ {
+ "question":"Halfyearly Instalment Amount",
+ "question_key":"Halfyearly_Instalment_Amount",
+ "type":"1",
+ "field_width":"45",
+ "field_type": "numtoword",
+ "api_properties":null,
+ "parent_question_key":"instalment_frequency",
+ "answers":[
+
+ ],
+ "onchange_properties": [],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ }]
+ }]
+
+
+
+ },{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"instalment_frequency",
+ "expression":"(String('instalment_frequency') == String('Monthly'))",
+ "value_keys":[
+ "instalment_frequency"
+ ],
+ "questions":[
+ {
+ "question":"Monthly Instalment Amount",
+ "question_key":"Monthly_Instalment_Amount",
+ "type":"1",
+ "field_width":"45",
+ "field_type": "numtoword",
+ "api_properties":null,
+ "parent_question_key":"instalment_frequency",
+ "answers":[
+
+ ],
+ "onchange_properties": [],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ }]
+ }]
+
+
+
+ },{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"instalment_frequency",
+ "expression":"(String('instalment_frequency') == String('Yearly'))",
+ "value_keys":[
+ "instalment_frequency"
+ ],
+ "questions":[
+ {
+ "question":"Annual Instalment Amount",
+ "question_key":"Annual_Instalment_Amount",
+ "type":"1",
+ "field_width":"45",
+ "field_type": "numtoword",
+ "api_properties":null,
+ "parent_question_key":"instalment_frequency",
+ "answers":[
+
+ ],
+ "onchange_properties": [],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ }]
+ }]
+
+
+
+ }],
+ "is_repeatable": null,
+ "validations": [
+ ]
+ },
+ {
+ "question": "Original tenure in months",
+ "question_key": "original_tenure_months",
+ "type": "1",
+ "field_width": "65",
+ "field_type": "num",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": [
+ {
+ "purpose":"answer_value",
+ "expression":"(Number(original_tenure_months)-Number(current_tenure_months))",
+ "value_keys":[
+ "original_tenure_months", "current_tenure_months"
+ ],
+ "insert_control":"elapsed_tenure_months"
+ }
+ ],
+ "is_repeatable": null,
+ "validations": [
+ ]
+ },
+ {
+ "question": "Current balance tenure in months",
+ "question_key": "current_tenure_months",
+ "type": "1",
+ "field_type": "num",
+ "field_width": "65",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": [
+ {
+ "purpose":"answer_value",
+ "expression":"(Number(original_tenure_months)-Number(current_tenure_months))",
+ "value_keys":[
+ "original_tenure_months", "current_tenure_months"
+ ],
+ "insert_control":"elapsed_tenure_months"
+ }
+ ],
+ "is_repeatable": null,
+ "validations": [
+ ]
+ },
+ {
+ "question": "Elapsed tenure in mths",
+ "question_key": "elapsed_tenure_months",
+ "type": "1",
+ "field_width": "65",
+ "field_type": "num",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": [
+ {
+ "purpose":"answer_value",
+ "expression":"(Number(original_tenure_months)-Number(elapsed_tenure_months))",
+ "value_keys":[
+ "original_tenure_months", "elapsed_tenure_months"
+ ],
+ "insert_control":"current_tenure_months"
+ }
+ ],
+ "is_repeatable": null,
+ "validations": [
+ ]
+ }
+ ],
+ "is_repeatable": "1",
+ "group_title": "Loan Details",
+ "group_key": "Loan_Details"
+ } ]
+ }]
+
+ }],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ },
+
+ {
+ "question_key": "common_remarks",
+ "question": "Remarks",
+ "place_holder": "Enter the text",
+ "type": "7",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "field_type": "string",
+ "field_width": "60",
+ "validations": []
+ }
+ ]
+}
\ No newline at end of file
diff --git a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/LFMP/16.json b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/LFMP/16.json
new file mode 100644
index 000000000..00388db3c
--- /dev/null
+++ b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/LFMP/16.json
@@ -0,0 +1,228 @@
+{
+ "section_id":"16",
+ "section_name":"Family Members Involved in Business",
+ "onsubmit":null,
+ "questions":[
+ {
+ "question":"Is any other family member involved in the business",
+ "question_key":"is_family_details_available",
+ "type":"2",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":[{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"is_family_details_available",
+ "expression":"(String('is_family_details_available') == String('Yes'))",
+ "value_keys":[
+ "is_family_details_available"
+ ],
+ "questions":[
+ {
+ "question":[
+ {
+ "question":"Name",
+ "question_key":"member_name",
+ "place_holder":"Enter text",
+ "type":"1",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Name Required",
+ "value":null
+ },
+ {
+ "name":"pattern",
+ "isactive":"1",
+ "validator":"[A-Za-z ]*",
+ "message":"alphabets only ",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Relationship",
+ "question_key":"relationship",
+ "place_holder":"Enter the text",
+ "type":"8",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"RELATIONSHIPS"
+ },
+ "fields":[
+ "relationship_id",
+ "name"
+ ]
+ },
+ "answers":null,
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[{
+ "insert_index":"relationship",
+ "expression":"(String('relationship').toLowerCase() == String('1'))",
+ "value_keys":[
+ "relationship"
+ ],
+ "questions":[
+ {
+ "question": "Specify Facility details",
+ "question_key": "relationship_other",
+ "type": "1",
+ "field_width": "45",
+ "field_type": "string",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": [
+ ]
+ }
+ ]
+ }]
+ }
+ ],
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Relation to Individual Stakeholders",
+ "question_key":"stakeholder_relation",
+ "place_holder":"Enter text",
+ "type":"3",
+ "api_properties":{
+ "purpose":"answer_options_local",
+ "master_name":"pd_applicants",
+ "fields":["pd_co_applicant_id","applicant_name"]
+ },
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Relation to Company / Firm",
+ "question_key":"company_relation",
+ "place_holder":"Enter text",
+ "type":"8",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"COMPANYRELATIONSHIPS"
+ },
+ "fields":[
+ "company_relationship_id",
+ "name"
+ ]
+ },
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Started Business (Yes / No)",
+ "question_key":"started_biz",
+ "place_holder":"Enter text",
+ "type":"2",
+ "api_properties":null,
+ "answers":[
+ {
+ "answer_id":"Yes",
+ "answer":"Yes"
+ },
+ {
+ "answer_id":"No",
+ "answer":"No"
+ }
+ ],
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Required",
+ "value":null
+ }
+ ]
+ }
+
+ ],
+ "is_repeatable":"1",
+ "group_title":"Family Members Involved in Business",
+ "group_key":"family_details"
+ }
+ ]}]
+ }],
+ "is_repeatable":null,
+ "answers":[{
+ "answer":"Yes",
+ "answer_id":"Yes"
+ },
+ {
+ "answer":"No",
+ "answer_id":"No"
+ }],
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question_key":"common_remarks",
+ "question":"Remarks",
+ "place_holder":"Enter the text",
+ "type":"7",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"45",
+ "validations":[
+ ]
+ }
+
+ ]
+ }
\ No newline at end of file
diff --git a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/LFMP/17.json b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/LFMP/17.json
new file mode 100644
index 000000000..0f4bf4230
--- /dev/null
+++ b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/LFMP/17.json
@@ -0,0 +1,269 @@
+{
+ "section_id":"17",
+ "section_name":"Neighbourhood Details",
+ "onsubmit":[],
+ "questions":[
+ {
+ "question":[
+ {
+ "question":"Neighbour name",
+ "question_key":"neighbourhood_name",
+ "place_holder":"Enter text",
+ "type":"1",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Do you know about the applicant or their business?",
+ "question_key":"do_know",
+ "type":"3",
+ "api_properties":null,
+ "answers":[
+ {
+ "answer":"Yes",
+ "answer_id":"yes"
+ },
+ {
+ "answer":"No",
+ "answer_id":"no"
+ }
+ ],
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"As per you how long has this business been in operation",
+ "question_key":"know_business_operation",
+ "place_holder":"Enter the text",
+ "type":"2",
+ "api_properties":null,
+ "answers":[
+ {
+ "answer":"Know",
+ "answer_id":"yes"
+ },
+ {
+ "answer":"Do not know",
+ "answer_id":"no"
+ }
+ ],
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Required",
+ "value":null
+ }
+ ],
+ "onchange_properties": [ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"know_business_operation",
+ "expression":"(String('know_business_operation') === String('yes'))",
+ "value_keys":[
+ "know_business_operation"
+ ],
+ "questions":[
+ {
+ "question":"Years",
+ "question_key":"how_long_do_know_in_year",
+ "type":"1",
+ "field_width":"100",
+ "field_type":"num",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"know_business_operation",
+ "answers":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field required",
+ "value":null
+ }
+ ]
+ } ,
+ {
+ "question":"Months",
+ "question_key":"how_long_do_know_in_month",
+ "type":"1",
+ "field_type":"num",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"know_business_operation",
+ "answers":null,
+ "validations":[
+ ]
+ }
+
+ ] } ] }]
+ },
+ {
+ "question":"Who is the owner of organisation?",
+ "question_key":"know_organisation_owner",
+ "type":"2",
+ "api_properties":null,
+ "answers":[
+ {
+ "answer":"Know",
+ "answer_id":"yes"
+ },
+ {
+ "answer":"Do not know",
+ "answer_id":"no"
+ }
+ ],
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Required",
+ "value":null
+ }
+ ],
+ "onchange_properties": [ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"know_organisation_owner",
+ "expression":"(String('know_organisation_owner') === String('yes'))",
+ "value_keys":[
+ "know_organisation_owner"
+ ],
+ "questions":[
+ {
+ "question":"Who is the owner of the organisation",
+ "question_key":"organisation_owner",
+ "type":"4",
+ "field_width":"100",
+ "field_type":"num",
+ "api_properties": {
+ "purpose":"answer_options_local",
+ "master_name":"pd_applicants",
+ "fields":["pd_co_applicant_id","applicant_name"]
+ },
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"know_organisation_owner",
+ "answers":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field required",
+ "value":null
+ }
+ ]
+ }
+
+ ] } ] }]
+ }
+
+ ],
+ "is_repeatable":"1",
+ "group_title":"Neighbourhood Details",
+ "group_key":"neighbourhood_list"
+ },
+ {
+ "question":"Status of the neighbour check as per Credit Manager",
+ "question_key":"neighbourhood_status",
+ "type":"3",
+ "api_properties":null,
+ "answers":[
+ {
+ "answer":"Select",
+ "answer_id":""
+ },
+ {
+ "answer":"Positive",
+ "answer_id":"Positive"
+ },
+ {
+ "answer":"Negative",
+ "answer_id":"Negative"
+ },
+ {
+ "answer":"Could Not Verify",
+ "answer_id":"Could Not Verify"
+ }
+ ],
+ "onchange_properties":[
+ {
+ "purpose":"validations",
+ "validations":[{
+ "value_keys":["neighbourhood_status"],
+ "value":"(String('neighbourhood_status').toLowerCase() != String('positive'))",
+ "validation_to":"neighbourhood_remarks",
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Required"
+ }]}
+ ],
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Remarks",
+ "question_key":"neighbourhood_remarks",
+ "type":"7",
+ "placeholder":"Enter the remarks",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Required",
+ "value":null
+ }
+ ]
+ }
+ ]
+ }
\ No newline at end of file
diff --git a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/LFMP/18.json b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/LFMP/18.json
new file mode 100644
index 000000000..481c1aa36
--- /dev/null
+++ b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/LFMP/18.json
@@ -0,0 +1,53 @@
+{
+ "section_id":"18",
+ "section_name":"Credit manager specific queries",
+ "onsubmit":[],
+ "questions":[
+ {
+ "question":[
+ {
+ "question":"Question",
+ "question_key":"question",
+ "place_holder":"Enter text",
+ "type":"1",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ ]
+ },
+ {
+ "question":"Answer",
+ "question_key":"answer",
+ "place_holder":"Enter the answer here",
+ "type":"7",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+ ]
+ }
+ ],
+ "is_repeatable":"1",
+ "group_title":"Query",
+ "group_key":"cm_queries"
+ },
+ {
+ "question_key":"common_remarks",
+ "question":"Remarks",
+ "place_holder":"Enter the text",
+ "type":"7",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"45",
+ "validations":[
+ ]
+ }
+ ]
+ }
\ No newline at end of file
diff --git a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/LFMP/2.json b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/LFMP/2.json
new file mode 100644
index 000000000..5820e7029
--- /dev/null
+++ b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/LFMP/2.json
@@ -0,0 +1,1678 @@
+{
+ "section_id":"2",
+ "section_name":"Business Assets",
+ "onsubmit":[
+ ],
+ "questions":[ {
+ "question":"Is this the business address ?*",
+ "question_key":"Is_this_the_business_address",
+ "type":"3",
+ "sub_title":"Address Details : ",
+ "field_width":"65",
+ "api_properties":null,
+ "answers":[
+ {
+ "answer_id":"Yes",
+ "answer":"Yes"
+ },
+ {
+ "answer_id":"No",
+ "answer":"No"
+ }
+ ],
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Is_this_the_business_address",
+ "expression":"(String('Is_this_the_business_address') == String('Yes'))",
+ "value_keys":[
+ "Is_this_the_business_address"
+ ],
+ "questions":[
+ {
+ "question":"OwnerShip Type",
+ "question_key":"OwnerShip_Type",
+ "place_holder":"Enter the text",
+ "type":"3",
+ "api_properties":null,
+ "answers":[
+ {
+ "answer_id":"Owned",
+ "answer":"Owned"
+ },
+ {
+ "answer_id":"Rented",
+ "answer":"Rented"
+ }
+ ],
+ "onchange_properties":[{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"OwnerShip_Type",
+ "expression":"(String('OwnerShip_Type') == String('Rented'))",
+ "value_keys":[
+ "OwnerShip_Type"
+ ],
+ "questions":[
+ {
+ "question_key":"Monthly_Residence_Rent_Amount",
+ "question":"Monthly Residence Rent Amount",
+ "place_holder":"Enter the text",
+ "type":"1",
+ "api_properties":null,
+ "answers": null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"45",
+ "validations":[
+ ]
+ }
+
+ ]
+ }]
+ }],
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"45",
+ "validations":[
+ ]
+ },
+ {
+ "question_key":"Remarks",
+ "question":"Remarks",
+ "place_holder":"Enter the text",
+ "type":"1",
+ "api_properties":null,
+ "answers": null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"100",
+ "validations":[
+ ]
+ },
+ {
+ "question_key":"Was_any_business_activity_seen_at_the_Residence_during_PD_visit",
+ "question":"Was any business activity seen at the Residence during PD visit?",
+ "place_holder":"Enter the text",
+ "type":"3",
+ "api_properties":null,
+ "answers":[
+ {
+ "answer_id":"Yes",
+ "answer":"Yes"
+ },
+ {
+ "answer_id":"No",
+ "answer":"No"
+ }
+ ],
+ "onchange_properties":[],
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"100",
+ "validations":[
+ ]
+ },
+ {
+ "question_key":"month",
+ "question":"Month",
+ "place_holder":"Enter the text",
+ "type":"1",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"25",
+ "validations":[
+ ]
+ },{
+ "question_key":"year",
+ "question":"Year",
+ "place_holder":"Enter the text",
+ "type":"1",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"25",
+ "validations":[
+ ]
+ }, {
+ "question_key":"How long has business been operated from this premise?",
+ "question":"How long has business been operated from this premise?",
+ "place_holder":"Enter the text",
+ "type":null,
+ "api_properties":null,
+ "sub_title":"How long has business been operated from this premise?",
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"100",
+ "validations":[
+ ]
+ }
+
+ ]
+
+ }
+ ]
+
+
+}],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ },
+ {
+ "question":"Is the Asset Information Available?",
+ "question_key":"Is_the_Asset_Information_Available",
+ "type":"3",
+ "field_width":"65",
+ "api_properties":null,
+ "answers":[
+ {
+ "answer_id":"Yes",
+ "answer":"Yes"
+ },
+ {
+ "answer_id":"No",
+ "answer":"No"
+ }
+ ],
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Is_the_Asset_Information_Available",
+ "expression":"(String('Is_the_Asset_Information_Available') == String('Yes'))",
+ "value_keys":[
+ "Is_the_Asset_Information_Available"
+ ],
+ "questions":[
+ {
+ "question":[
+ {
+ "question":"Assets Type",
+ "question_key":"Assets_Type",
+ "place_holder":"Enter text",
+ "type":"3",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"ASSETTYPE"
+ },
+ "fields":[
+ "id",
+ "name"
+ ]
+ },
+ "answers":null,
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Assets_Type",
+ "expression":"(String('Assets_Type') == String('4'))",
+ "value_keys":[
+ "Assets_Type"
+ ],
+ "questions":[
+ {
+ "question":"Description",
+ "question_key":"Description",
+ "place_holder":"",
+ "type":"1",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Assets_Type",
+ "answers":null,
+ "validations":[
+ ]
+ },
+ {
+ "question":"OwnerShip Type",
+ "question_key":"OwnerShip_type",
+ "place_holder":"Enter the text",
+ "type":"3",
+ "api_properties":null,
+ "answers":[
+ {
+ "answer_id":"Owned",
+ "answer":"Owned"
+ },
+ {
+ "answer_id":"Rented",
+ "answer":"Rented"
+ }
+ ],
+ "onchange_properties":[{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"OwnerShip_Type",
+ "expression":"(String('OwnerShip_Type') == String('Rented'))",
+ "value_keys":[
+ "OwnerShip_Type"
+ ],
+ "questions":[
+ {
+ "question_key":"Monthly_Residence_Rent_Amount",
+ "question":"Monthly Residence Rent Amount",
+ "place_holder":"Enter the text",
+ "type":"1",
+ "api_properties":null,
+ "answers": null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"45",
+ "validations":[
+ ]
+ }
+
+ ]
+ }]
+ }],
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"45",
+ "validations":[
+ ]
+ },{
+ "question":"Appromximate Market Value",
+ "question_key":"Appromximate_Market_Value",
+ "place_holder":"",
+ "type":"1",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Assets_Type",
+ "answers":null,
+ "validations":[
+ ]
+ },{
+ "question":"Assets Owned by",
+ "question_key":"Assets_Owned_by",
+ "place_holder":"",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Assets_Type",
+ "answers":null,
+ "validations":[
+ ]
+ },{
+ "question":"Age of Assets in Years",
+ "question_key":"age_of_Assets_in_years",
+ "place_holder":"Enter text",
+ "type":"1",
+ "field_width":"45",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Entity Name Required",
+ "value":null
+ }
+ ]
+
+ } ,{
+ "question":"Age of Assets in Months",
+ "question_key":"age_of_Assets_in_months",
+ "place_holder":"Enter text",
+ "type":"1",
+ "field_width":"45",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Entity Name Required",
+ "value":null
+ }
+ ]
+
+ },{
+ "question":"Purchase Year",
+ "question_key":"purchase_year",
+ "place_holder":"Enter text",
+ "type":"1",
+ "field_width":"45",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Entity Name Required",
+ "value":null
+ }
+ ]
+
+ }, {
+ "question":"Is there a Loan Exiting Against the Assets? ",
+ "question_key":"Is_there_a_Loan_Exiting_Against_the_Assets",
+ "type":"3",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "answers":[{
+ "answer":"Yes",
+ "answer_id":"yes"
+ },
+ {
+ "answer":"No",
+ "answer_id":"no"
+ }],
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Started Business Required",
+ "value":null
+ }
+ ]
+
+ }
+ ]
+ }]
+
+ }, {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Assets_Type",
+ "expression":"(String('Assets_Type') == String('7'))",
+ "value_keys":[
+ "Assets_Type"
+ ],
+ "questions":[
+ {
+ "question":"Type",
+ "question_key":"type",
+ "place_holder":"Enter text",
+ "type":"3",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"INVESTMENTTYPE"
+ },
+ "fields":[
+ "id",
+ "name"
+ ]
+ },
+ "answers": null,
+ "onchange_properties": [{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"type",
+ "expression":"(String('type') == String('6'))",
+ "value_keys":[
+ "type"
+ ],
+ "questions":[
+
+ {
+ "question":"Name of organisation in which investment done",
+ "question_key":"Name_of_organisation_in_which_investment_done1",
+ "type":"1",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "answers": null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Started Business Required",
+ "value":null
+ }
+ ]
+
+ },{
+ "question":"Current Market Value",
+ "question_key":"Current_Market_Value1",
+ "type":"1",
+ "field_width":"45",
+ "field_type":"numtoword",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "answers": null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Started Business Required",
+ "value":null
+ }
+ ]
+
+ }
+
+ ]
+ }
+ ]
+ },{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"type",
+ "expression":"(String('type') == String('3'))",
+ "value_keys":[
+ "type"
+ ],
+ "questions":[
+
+ {
+ "question":"Bank Name",
+ "question_key":"BankName1",
+ "type":"1",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "answers": null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Started Business Required",
+ "value":null
+ }
+ ]
+
+ } ,{
+ "question":"Current Market Value",
+ "question_key":"Current_MarketValue2",
+ "type":"1",
+ "field_width":"45",
+ "field_type":"numtoword",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "answers": null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Started Business Required",
+ "value":null
+ }
+ ]
+
+ }
+
+ ]
+ }
+ ]
+ },{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"type",
+ "expression":"(String('type') == String('4'))",
+ "value_keys":[
+ "type"
+ ],
+ "questions":[
+
+ {
+ "question":"Name of organisation in which investment done",
+ "question_key":"Name_of_organisation_in_which_investment_done2",
+ "type":"1",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "answers": null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Started Business Required",
+ "value":null
+ }
+ ]
+
+ },{
+ "question":"Current Market Value",
+ "question_key":"Current_Market_Value3",
+ "type":"1",
+ "field_width":"45",
+ "field_type":"numtoword",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "answers": null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Started Business Required",
+ "value":null
+ }
+ ]
+
+ }
+
+ ]
+ }
+ ]
+ },{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"type",
+ "expression":"(String('type') == String('2'))",
+ "value_keys":[
+ "type"
+ ],
+ "questions":[
+
+ {
+ "question":"Bank Name",
+ "question_key":"Bank_Name2",
+ "type":"1",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "answers": null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Started Business Required",
+ "value":null
+ }
+ ]
+
+ },{
+ "question":"Current Market Value",
+ "question_key":"Current_Market_Value4",
+ "type":"1",
+ "field_width":"45",
+ "field_type":"numtoword",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "answers": null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Started Business Required",
+ "value":null
+ }
+ ]
+
+ }
+
+ ]
+ }
+ ]
+ },{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"type",
+ "expression":"(String('type') == String('5'))",
+ "value_keys":[
+ "type"
+ ],
+ "questions":[
+
+ {
+ "question":"Name of organisation in which investment done",
+ "question_key":"Name_of_organisation_in_which_investment_done3",
+ "type":"1",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "answers": null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Started Business Required",
+ "value":null
+ }
+ ]
+
+ },{
+ "question":"Current Market Value",
+ "question_key":"Current_Market_Value4",
+ "type":"1",
+ "field_width":"45",
+ "field_type":"numtoword",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "answers": null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Started Business Required",
+ "value":null
+ }
+ ]
+
+ }
+
+ ]
+ }
+ ]
+ },{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"type",
+ "expression":"(String('type') == String('1'))",
+ "value_keys":[
+ "type"
+ ],
+ "questions":[
+
+ {
+ "question":"Specify Type",
+ "question_key":"Specify_Type",
+ "type":"1",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "answers": null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Started Business Required",
+ "value":null
+ }
+ ]
+
+ },{
+ "question":"Bank Name",
+ "question_key":"Bank_Name3",
+ "type":"1",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "answers": null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Started Business Required",
+ "value":null
+ }
+ ]
+
+ },{
+ "question":"Current Market Value",
+ "question_key":"Current_Market_Value5",
+ "type":"1",
+ "field_width":"45",
+ "field_type":"numtoword",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "answers": null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Started Business Required",
+ "value":null
+ }
+ ]
+
+ }
+
+ ]
+ }
+ ]
+ }],
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Entity Name Required",
+ "value":null
+ }
+ ]
+
+ }
+ ]
+ }]
+
+ } ,{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Assets_Type",
+ "expression":"(String('Assets_Type') == String('6'))",
+ "value_keys":[
+ "Assets_Type"
+ ],
+ "questions":[
+ {
+ "question":"Premium Paid",
+ "question_key":"Premium_Paid",
+ "place_holder":"Enter text",
+ "type":"1",
+ "field_width":"45",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Entity Name Required",
+ "value":null
+ }
+ ]
+
+ },{
+ "question":"Frequency",
+ "question_key":"Frequency",
+ "place_holder":"Enter text",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"FREQUENCY"
+ },
+ "fields":[
+ "frequency_id",
+ "name"
+ ]
+ },
+ "answers": null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Entity Name Required",
+ "value":null
+ }
+ ]
+
+ },{
+ "question":"Sum Assured",
+ "question_key":"Sum_Assured",
+ "place_holder":"Enter text",
+ "type":"1",
+ "field_width":"45",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Entity Name Required",
+ "value":null
+ }
+ ]
+
+ },{
+ "question":"Member Covered",
+ "question_key":"Member_Covered",
+ "place_holder":"Enter text",
+ "type":"1",
+ "field_width":"45",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Entity Name Required",
+ "value":null
+ }
+ ]
+
+ }
+ ]
+ }]
+
+ },{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Assets_Type",
+ "expression":"(String('Assets_Type') == String('2'))",
+ "value_keys":[
+ "Assets_Type"
+ ],
+ "questions":[
+ {
+ "question":"Is there a Loan Exiting Against the Assets? ",
+ "question_key":"Is_there_a_Loan_Exiting_Against_the_Assets",
+ "type":"3",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "answers":[{
+ "answer":"Yes",
+ "answer_id":"yes"
+ },
+ {
+ "answer":"No",
+ "answer_id":"no"
+ }],
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Started Business Required",
+ "value":null
+ }
+ ]
+
+ },
+ {
+ "question":"Assets Owned by",
+ "question_key":"Assets_Owned_by",
+ "place_holder":"",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Assets_Type",
+ "answers":null,
+ "validations":[
+ ]
+ },
+ {
+ "question":"OwnerShip Type",
+ "question_key":"OwnerShip_type",
+ "place_holder":"Enter the text",
+ "type":"3",
+ "api_properties":null,
+ "answers":[
+ {
+ "answer_id":"Owned",
+ "answer":"Owned"
+ },
+ {
+ "answer_id":"Rented",
+ "answer":"Rented"
+ }
+ ],
+ "onchange_properties":[{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"OwnerShip_Type",
+ "expression":"(String('OwnerShip_Type') == String('Rented'))",
+ "value_keys":[
+ "OwnerShip_Type"
+ ],
+ "questions":[
+ {
+ "question_key":"Monthly_Residence_Rent_Amount",
+ "question":"Monthly Residence Rent Amount",
+ "place_holder":"Enter the text",
+ "type":"1",
+ "api_properties":null,
+ "answers": null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"45",
+ "validations":[
+ ]
+ }
+
+ ]
+ }]
+ }],
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"45",
+ "validations":[
+ ]
+ },
+
+ {
+ "question":"Property Type",
+ "question_key":"Property_Type",
+ "place_holder":"Enter text",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"PROPERTIES"
+ },
+ "fields":[
+ "id",
+ "name"
+ ]
+ },
+ "answers": null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Entity Name Required",
+ "value":null
+ }
+ ]
+
+ },{
+ "question":"Area Covered",
+ "question_key":"Area_Covered",
+ "place_holder":"Enter text",
+ "type":"1",
+ "field_width":"45",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Entity Name Required",
+ "value":null
+ }
+ ]
+
+ },{
+ "question":"Appromximate Market Value",
+ "question_key":"appromximate_market_Value",
+ "place_holder":"",
+ "type":"1",
+ "field_width":"45",
+ "field_type": "numtoword",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Assets_Type",
+ "answers":null,
+ "validations":[
+ ]
+
+ } ,{
+ "question":"Age of Assets in Years",
+ "question_key":"Age_of_Assets_in_years",
+ "place_holder":"Enter text",
+ "type":"1",
+ "field_width":"45",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Entity Name Required",
+ "value":null
+ }
+ ]
+
+ } ,{
+ "question":"Age of Assets in Months",
+ "question_key":"Age_of_Assets_in_months",
+ "place_holder":"Enter text",
+ "type":"1",
+ "field_width":"45",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Entity Name Required",
+ "value":null
+ }
+ ]
+
+ },{
+ "question":"Purchase Year",
+ "question_key":"Purchase_year",
+ "place_holder":"Enter text",
+ "type":"1",
+ "field_width":"45",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Entity Name Required",
+ "value":null
+ }
+ ]
+
+ }
+ ]
+ }]
+
+ },{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Assets_Type",
+ "expression":"(String('Assets_Type') == String('1'))",
+ "value_keys":[
+ "Assets_Type"
+ ],
+ "questions":[
+ {
+ "question":"Description of Assets*",
+ "question_key":"Description_of_Assets",
+ "place_holder":"Enter text",
+ "type":"1",
+ "field_width":"100",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Entity Name Required",
+ "value":null
+ }
+ ]
+
+ }, {
+ "question":"Is there a Loan Exiting Against the Assets? ",
+ "question_key":"is_there_a_Loan_Exiting_Against_the_Assets",
+ "type":"3",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "answers":[{
+ "answer":"Yes",
+ "answer_id":"yes"
+ },
+ {
+ "answer":"No",
+ "answer_id":"no"
+ }],
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Started Business Required",
+ "value":null
+ }
+ ]
+
+ },
+ {
+ "question":"Assets Owned by",
+ "question_key":"assets_Owned_by",
+ "place_holder":"",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Assets_Type",
+ "answers":null,
+ "validations":[
+ ]
+ },
+ {
+ "question":"OwnerShip Type",
+ "question_key":"OwnerShip_type",
+ "place_holder":"Enter the text",
+ "type":"3",
+ "api_properties":null,
+ "answers":[
+ {
+ "answer_id":"Owned",
+ "answer":"Owned"
+ },
+ {
+ "answer_id":"Rented",
+ "answer":"Rented"
+ }
+ ],
+ "onchange_properties":[{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"OwnerShip_Type",
+ "expression":"(String('OwnerShip_Type') == String('Rented'))",
+ "value_keys":[
+ "OwnerShip_Type"
+ ],
+ "questions":[
+ {
+ "question_key":"monthly_Residence_Rent_Amount",
+ "question":"onthly Residence Rent Amount",
+ "place_holder":"Enter the text",
+ "type":"1",
+ "api_properties":null,
+ "answers": null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"45",
+ "validations":[
+ ]
+ }
+
+ ]
+ }]
+ }],
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"45",
+ "validations":[
+ ]
+ },
+
+ {
+ "question":"Area Covered",
+ "question_key":"area_Covered",
+ "place_holder":"Enter text",
+ "type":"1",
+ "field_width":"45",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Entity Name Required",
+ "value":null
+ }
+ ]
+
+ },{
+ "question":"Appromximate Market Value",
+ "question_key":"appromximate_market_value",
+ "place_holder":"",
+ "type":"1",
+ "field_width":"45",
+ "field_type": "numtoword",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Assets_Type",
+ "answers":null,
+ "validations":[
+ ]
+
+ } ,{
+ "question":"Age of Assets in Years",
+ "question_key":"age_of_Assets_in_years",
+ "place_holder":"Enter text",
+ "type":"1",
+ "field_width":"45",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Entity Name Required",
+ "value":null
+ }
+ ]
+
+ } ,{
+ "question":"Age of Assets in Months",
+ "question_key":"age_of_Assets_in_months",
+ "place_holder":"Enter text",
+ "type":"1",
+ "field_width":"45",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Entity Name Required",
+ "value":null
+ }
+ ]
+
+ },{
+ "question":"Purchase Year",
+ "question_key":"purchase_year",
+ "place_holder":"Enter text",
+ "type":"1",
+ "field_width":"45",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Entity Name Required",
+ "value":null
+ }
+ ]
+
+ }
+ ]
+ }]
+
+ },{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Assets_Type",
+ "expression":"(String('Assets_Type') == String('3'))",
+ "value_keys":[
+ "Assets_Type"
+ ],
+ "questions":[
+ {
+ "question":"Type of Vehicle",
+ "question_key":"Type_of_Vehicle",
+ "place_holder":"Enter text",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"VEHICLETYPE"
+ },
+ "fields":[
+ "vehicle_type_id",
+ "vehicle_type_name"
+ ]
+ },
+ "answers": null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Entity Name Required",
+ "value":null
+ }
+ ]
+
+ },{
+ "question":"Description of Vehicle(example - Toyota Altis)",
+ "question_key":"Description_of_Vehicle",
+ "place_holder":"Enter text",
+ "type":"1",
+ "field_width":"45",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Entity Name Required",
+ "value":null
+ }
+ ]
+
+ }, {
+ "question":"Is there a Loan Exiting Against the Assets? ",
+ "question_key":"Is_there_a_Loan_Exiting_Against_the_Assets",
+ "type":"3",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "answers":[{
+ "answer":"Yes",
+ "answer_id":"yes"
+ },
+ {
+ "answer":"No",
+ "answer_id":"no"
+ }],
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Started Business Required",
+ "value":null
+ }
+ ]
+
+ },
+ {
+ "question":"Assets Owned by",
+ "question_key":"Assets_Owned_by",
+ "place_holder":"",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Assets_Type",
+ "answers":null,
+ "validations":[
+ ]
+ },
+ {
+ "question":"OwnerShip Type",
+ "question_key":"OwnerShip_type",
+ "place_holder":"Enter the text",
+ "type":"3",
+ "api_properties":null,
+ "answers":[
+ {
+ "answer_id":"Owned",
+ "answer":"Owned"
+ },
+ {
+ "answer_id":"Rented",
+ "answer":"Rented"
+ }
+ ],
+ "onchange_properties":[{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"OwnerShip_Type",
+ "expression":"(String('OwnerShip_Type') == String('Rented'))",
+ "value_keys":[
+ "OwnerShip_Type"
+ ],
+ "questions":[
+ {
+ "question_key":"Monthly_Residence_Rent_Amount",
+ "question":"Monthly Residence Rent Amount",
+ "place_holder":"Enter the text",
+ "type":"1",
+ "api_properties":null,
+ "answers": null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"45",
+ "validations":[
+ ]
+ }
+
+ ]
+ }]
+ }],
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"45",
+ "validations":[
+ ]
+ },
+
+ {
+ "question":"Area Covered",
+ "question_key":"Area_Covered",
+ "place_holder":"Enter text",
+ "type":"1",
+ "field_width":"45",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Entity Name Required",
+ "value":null
+ }
+ ]
+
+ },{
+ "question":"Appromximate Market Value",
+ "question_key":"appromximate_market_Value",
+ "place_holder":"",
+ "type":"1",
+ "field_width":"45",
+ "field_type": "numtoword",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Assets_Type",
+ "answers":null,
+ "validations":[
+ ]
+
+ } ,{
+ "question":"Age of Assets in Years",
+ "question_key":"Age_of_Assets_in_years",
+ "place_holder":"Enter text",
+ "type":"1",
+ "field_width":"45",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Entity Name Required",
+ "value":null
+ }
+ ]
+
+ } ,{
+ "question":"Age of Assets in Months",
+ "question_key":"Age_of_Assets_in_months",
+ "place_holder":"Enter text",
+ "type":"1",
+ "field_width":"45",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Entity Name Required",
+ "value":null
+ }
+ ]
+
+ },{
+ "question":"Purchase Year",
+ "question_key":"Purchase_year",
+ "place_holder":"Enter text",
+ "type":"1",
+ "field_width":"45",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Entity Name Required",
+ "value":null
+ }
+ ]
+
+ }
+ ]
+ }]
+
+ }],
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Entity Name Required",
+ "value":null
+ }
+ ]
+
+ }
+
+
+ ],
+ "is_repeatable":"1",
+ "group_title":"Business Assets",
+ "group_key":"Business Assets",
+ "form_name":"Business Assets"
+ }
+ ]
+ }]
+
+ }],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ }
+
+
+
+ ]
+}
\ No newline at end of file
diff --git a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/LFMP/22.json b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/LFMP/22.json
new file mode 100644
index 000000000..4159343bc
--- /dev/null
+++ b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/LFMP/22.json
@@ -0,0 +1,218 @@
+{
+ "section_id":"22",
+ "section_name":"Final remarks",
+ "onsubmit":null,
+ "questions":[
+ {
+ "question":"Customer Behaviour",
+ "question_key":"customer_behaviour",
+ "type":"3",
+ "field_width":"45",
+ "answers":null,
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"CUSTOMERBEHAVIOUR"
+ },
+ "fields":[
+ "customer_behaviour_id",
+ "description"
+ ]
+ },
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"customer_behaviour",
+ "expression":"(String('customer_behaviour') == String('1'))",
+ "value_keys":[
+ "customer_behaviour"
+ ],
+ "questions":[
+ { "question":"Specify Customer behaviour",
+ "question_key":"customer_behaviour_other",
+ "type":"1",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"customer_behaviour",
+ "answers":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field required",
+ "value":null
+ }
+ ]
+ } ] }
+ ]}] ,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Is the location of the business suited to the nature of the business provided?",
+ "question_key":"business_location_suited",
+ "type":"3",
+ "field_width":"45",
+ "onchange_properties":null,
+ "api_properties":null,
+ "answers":[
+ {
+ "answer":"Well Suited",
+ "answer_id":"Well Suited"
+ },
+ {
+ "answer":"Fairly suited",
+ "answer_id":"Fairly suited"
+ },
+ {
+ "answer":"Not suited",
+ "answer_id":"Not suited"
+ }
+ ],
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Credit Manager recommendation (Positive/negative/ refer to credit)",
+ "question_key":"pd_officer_recommendation",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"PDOFFICERRECOMMENDATIONS"
+ },
+ "fields":[
+ "pdofficer_recommendation_id",
+ "pdofficer_recommendation"
+ ]
+ },
+ "answers":null,
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"pd_officer_recommendation",
+ "expression":"(String('pd_officer_recommendation') == String('1'))",
+ "value_keys":[
+ "pd_officer_recommendation"
+ ],
+ "questions":[
+ { "question":"Specify Credit Manager Recommendation",
+ "question_key":"pd_officer_recommendation_other",
+ "type":"1",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"pd_officer_recommendation",
+ "answers":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field required",
+ "value":null
+ }
+ ]
+ } ] } ,
+ {
+ "insert_index":"pd_officer_recommendation",
+ "expression":"(String('pd_officer_recommendation') != String('1')) && (String('pdofficer_recommendation') != String(''))",
+ "value_keys":[
+ "pd_officer_recommendation"
+ ],
+ "questions":[
+ {
+ "question":[{
+ "question":"Reasons for marking PD status as Positive/negative/ refer to credit",
+ "question_key":"reason",
+ "type":"1",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"pd_officer_recommendation",
+ "answers":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field required",
+ "value":null
+ }
+ ]
+ }
+ ],
+ "is_repeatable":"1",
+ "group_title":"Remarks",
+ "group_title_shown":"0",
+ "group_key":"pd_officer_recommendation_remarks"
+ } ] }
+ ] },
+ {
+ "purpose":"question_label",
+ "expression":"(function () {let label= 'Reasons for marking PD status as ';('pd_officer_recommendation' == '2') ? label+= 'Positive' : ('pd_officer_recommendation' == '3') ? label+= 'Negative' : ('pd_officer_recommendation' == '4') ? label+= 'Refer to Credit' : label+= 'Positive/negative/ refer to credit';return label}())",
+ "value_keys":[
+ "pd_officer_recommendation"
+ ],
+ "insert_control":"reason",
+ "insert_group_key":"pd_officer_recommendation_remarks"
+ }
+ ],
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Common Remarks",
+ "question_key":"final_form_remarks",
+ "place_holder":"Enter the remarks here",
+ "type":"7",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+ ]
+ }
+
+ ]
+ }
+
\ No newline at end of file
diff --git a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/LFMP/3.json b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/LFMP/3.json
new file mode 100644
index 000000000..40d020701
--- /dev/null
+++ b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/LFMP/3.json
@@ -0,0 +1,519 @@
+{
+ "section_id": "3",
+ "section_name": "Financial Information",
+ "onsubmit": [],
+ "questions": [
+ {
+ "question":"Financial Statements Available ?",
+ "question_key":"Financial_Statements_Available",
+ "type":"3",
+ "sub_title":"Data as Per Financial Statements",
+ "field_width":"65",
+ "answers":[{
+ "answer":"Yes",
+ "answer_id":"yes"
+ },
+ {
+ "answer":"No",
+ "answer_id":"no"
+ }],
+ "api_properties":null,
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Financial_Statements_Available",
+ "expression":"(String('Financial_Statements_Available') == String('yes'))",
+ "value_keys":[
+ "Financial_Statements_Available"
+ ],
+ "questions":[
+
+ {
+ "question": "Latest year’s financials as per applicant met ?",
+ "question_key": "Latest_years_financials_as_per_applicant_met",
+ "type": "3",
+ "field_width": "65",
+ "api_properties": null,
+ "answers":[{
+ "answer":"Yes",
+ "answer_id":"yes"
+ },
+ {
+ "answer":"No",
+ "answer_id":"no"
+ }],
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Latest_years_financials_as_per_applicant_met",
+ "expression":"(String('Latest_years_financials_as_per_applicant_met') == String('no'))",
+ "value_keys":[
+ "Latest_years_financials_as_per_applicant_met"
+ ],
+ "questions":[
+ {
+ "question":"Enter year from which financials provided",
+ "question_key":"Enter_year_from_which_financials_provided",
+ "place_holder":"",
+ "field_type":"num",
+ "type":"1",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Latest_years_financials_as_per_applicant_met",
+ "answers":null,
+ "validations":[
+ ]
+ }, {
+ "question":"Number of Financial Years",
+ "question_key":"Number_of_Financial_Years",
+ "place_holder":"",
+ "field_type":"num",
+ "type":"1",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Latest_years_financials_as_per_applicant_met",
+ "answers":null,
+ "validations":[
+ ]
+ }]
+ }]
+
+ }],
+ "is_repeatable": null,
+ "field_type": "string",
+ "validations": [
+ ]
+ }
+
+
+
+ ]
+
+ }]
+
+ }],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ },
+ {
+ "question":"Same as Financial Statements ?",
+ "question_key":"Same_as_Financial_Statements",
+ "type":"3",
+ "sub_title":"Latest year’s financials as per Applicant met ",
+ "field_width":"65",
+ "answers":[{
+ "answer":"Yes",
+ "answer_id":"yes"
+ },
+ {
+ "answer":"No",
+ "answer_id":"no"
+ }],
+ "api_properties":null,
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Same_as_Financial_Statements",
+ "expression":"(String('Same_as_Financial_Statements') == String('no'))",
+ "value_keys":[
+ "Same_as_Financial_Statements"
+ ],
+ "questions":[
+ {
+ "question":"Were the Kuccha records shown to the PD officer",
+ "question_key":"Were_the_Kuccha_records_shown_to_the_PD_officer",
+ "place_holder":"Enter the text",
+ "type":"2",
+ "api_properties":null,
+ "answers":[{
+ "answer":"Yes",
+ "answer_id":"yes"
+ },
+ {
+ "answer":"No",
+ "answer_id":"no"
+ }],
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Were_the_Kuccha_records_shown_to_the_PD_officer",
+ "expression":"(String('Were_the_Kuccha_records_shown_to_the_PD_officer') == String('yes'))",
+ "value_keys":[
+ "Were_the_Kuccha_records_shown_to_the_PD_officer"
+ ],
+ "questions":[
+ {
+ "question_key":"Photograph of Kuchha bills allowed",
+ "question":"Photograph of Kuchha bills allowed",
+ "place_holder":"Enter the text",
+ "type":"2",
+ "api_properties":null,
+ "field_width":"100",
+ "answers":[{
+ "answer":"Yes",
+ "answer_id":"yes"
+ },
+ {
+ "answer":"No",
+ "answer_id":"no"
+ }],
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Were_the_Kuccha_records_shown_to_the_PD_officer",
+
+ "validations":[
+ ]
+ }, {
+ "question":"Does the Number of Kuccha Bills and Values therein, justify the customer declared turnover?",
+ "question_key":"Does the Number of Kuccha Bills and Values therein, justify the customer declared turnover?",
+ "place_holder":"",
+ "field_type":"num",
+ "type":"2",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Latest_years_financials_as_per_applicant_met",
+ "answers":[{
+ "answer":"Yes",
+ "answer_id":"yes"
+ },
+ {
+ "answer":"No",
+ "answer_id":"no"
+ }],
+ "validations":[
+ ]
+ }]
+ }]
+
+ }],
+ "is_repeatable":null,
+ "parent_question_key":"Same_as_Financial_Statements",
+ "field_type":"string",
+ "field_width":"100",
+ "validations":[
+ ]
+ },
+ {
+ "question":" Was there Net Profit or Net Loss?",
+ "question_key": "Was_there_Net_Profit_or_Net_Loss",
+ "type": "3",
+ "field_width": "45",
+ "api_properties": null,
+ "answers":[{
+ "answer":"Net Profit",
+ "answer_id":"Net_Profit"
+ },
+ {
+ "answer":"Net Loss",
+ "answer_id":"Net_Loss"
+ }],
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Was_there_Net_Profit_or_Net_Loss",
+ "expression":"(String('Was_there_Net_Profit_or_Net_Loss') == String('Net_Profit'))",
+ "value_keys":[
+ "Was_there_Net_Profit_or_Net_Loss"
+ ],
+ "questions":[
+ {
+ "question":"Is there Net Margin Information Available",
+ "question_key":"Is_there_Net_Margin_Information_Available",
+ "place_holder":"",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Is_there_Net_Margin_Information_Available",
+ "expression":"(String('Is_there_Net_Margin_Information_Available') == String('yes'))",
+ "value_keys":[
+ "Is_there_Net_Margin_Information_Available"
+ ],
+ "questions":[
+ {
+ "question":"Net Profit % From",
+ "question_key":"Net Profit % From",
+ "place_holder":"",
+ "type":"1",
+ "field_width":"30",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Is_there_Net_Margin_Information_Available",
+ "answers": null,
+ "validations":[
+ ]
+ }, {
+ "question":"Net Profit % To",
+ "question_key":"Net Profit % To",
+ "place_holder":"",
+ "type":"1",
+ "field_width":"30",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Is_there_Net_Margin_Information_Available",
+ "answers": null,
+ "validations":[
+ ]
+ }, {
+ "question":"Net Profit % Considered",
+ "question_key":"Net Profit % Considered",
+ "place_holder":"",
+ "type":"1",
+ "field_width":"30",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Is_there_Net_Margin_Information_Available",
+ "answers": null,
+ "validations":[
+ ]
+ }, {
+ "question":"Net Profit Amount Considered",
+ "question_key":"Net Profit Amount Considered",
+ "place_holder":"",
+ "type":"1",
+ "field_width":"30",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Is_there_Net_Margin_Information_Available",
+ "answers": null,
+ "validations":[
+ ]
+ } ]
+ }]
+
+ }, {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Is_there_Net_Margin_Information_Available",
+ "expression":"(String('Is_there_Net_Margin_Information_Available') == String('no'))",
+ "value_keys":[
+ "Is_there_Net_Margin_Information_Available"
+ ],
+ "questions":[
+
+ {
+ "question":"Net Profit Amount From",
+ "question_key":"Net Profit Amount From",
+ "place_holder":"",
+ "type":"1",
+ "field_width":"30",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Is_there_Net_Margin_Information_Available",
+ "answers": null,
+ "validations":[
+ ]
+ }, {
+ "question":"Net Profit Amount To",
+ "question_key":"Net Profit Amount To",
+ "place_holder":"",
+ "type":"1",
+ "field_width":"30",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Is_there_Net_Margin_Information_Available",
+ "answers": null,
+ "validations":[
+ ]
+ }, {
+ "question":"Considered Net Profit % ",
+ "question_key":"Considered Net Profit % ",
+ "place_holder":"",
+ "type":"1",
+ "field_width":"30",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Is_there_Net_Margin_Information_Available",
+ "answers": null,
+ "validations":[
+ ]
+ }, {
+ "question":"Considered Profit Amount",
+ "question_key":"Considered Profit Amount",
+ "place_holder":"",
+ "type":"1",
+ "field_width":"30",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Is_there_Net_Margin_Information_Available",
+ "answers": null,
+ "validations":[
+ ]
+ } ]
+ }]
+
+ }],
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Was_there_Net_Profit_or_Net_Loss",
+ "answers":[{
+ "answer":"Yes",
+ "answer_id":"yes"
+ },
+ {
+ "answer":"No",
+ "answer_id":"no"
+ }],
+ "validations":[
+ ]
+ } ]
+ }]
+
+ }],
+ "is_repeatable": null,
+ "field_type": "string",
+ "validations": [
+ ]
+ },{
+ "question":"Considered Sales Average",
+ "question_key":"Considered Sales Average",
+ "place_holder":"",
+ "field_type":"numtoword",
+ "type":"1",
+ "field_width":"30",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Same_as_Financial_Statements",
+ "answers":null,
+ "validations":[
+ ]
+ }, {
+ "question":"Annual Sales To",
+ "question_key":"Annual Sales To",
+ "place_holder":"",
+ "field_type":"numtoword",
+ "type":"1",
+ "field_width":"30",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Same_as_Financial_Statements",
+ "answers":null,
+ "validations":[
+ ]
+ }, {
+ "question":"Annual Sales From",
+ "question_key":"Annual Sales From",
+ "place_holder":"",
+ "field_type":"numtoword",
+ "type":"1",
+ "field_width":"30",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Same_as_Financial_Statements",
+ "answers":null,
+ "validations":[
+ ]
+ }
+
+
+
+
+ ]
+
+ }]
+
+ }],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ },{
+ "question_key":"In case of Credit Sales, what is the average no of days taken to receive the money?",
+ "question":"In case of Credit Sales, what is the average no of days taken to receive the money?",
+ "place_holder":"Enter the text",
+ "type":"1",
+ "sub_title":"Total Banking Facilities",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"100",
+ "validations":[
+ ]
+ }, {
+ "question_key":"In case of Credit Purchase, what is the average no of days taken to pay the money?",
+ "question":"In case of Credit Purchase, what is the average no of days taken to pay the money?",
+ "place_holder":"Enter the text",
+ "type":"1",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"100",
+ "validations":[
+ ]
+ }, {
+ "question_key":"Is there Working Capital Facilities?",
+ "question":"Is there Working Capital Facilities?",
+ "place_holder":"Enter the text",
+ "type":"1",
+ "api_properties":null,
+ "answers":[{
+ "answer":"Yes",
+ "answer_id":"yes"
+ },
+ {
+ "answer":"No",
+ "answer_id":"no"
+ }],
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"100",
+ "validations":[
+ ]
+ }
+
+
+ ]
+}
\ No newline at end of file
diff --git a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/LFMP/4.json b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/LFMP/4.json
new file mode 100644
index 000000000..3652dd0b2
--- /dev/null
+++ b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/LFMP/4.json
@@ -0,0 +1,324 @@
+{
+ "section_id": "4",
+ "section_name": "Supplier Details",
+ "onsubmit": [],
+ "questions": [
+ {
+ "question":"Is the Supplier information Available",
+ "question_key":"Is_the_Supplier_information_Available",
+ "type":"3",
+ "field_width":"65",
+ "answers":[{
+ "answer":"Yes",
+ "answer_id":"yes"
+ },
+ {
+ "answer":"No",
+ "answer_id":"no"
+ }],
+ "api_properties":null,
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Is_the_Supplier_information_Available",
+ "expression":"(String('Is_the_Supplier_information_Available') == String('yes'))",
+ "value_keys":[
+ "Is_the_Supplier_information_Available"
+ ],
+ "questions":[
+ {
+ "question":"Is the Billing Infomation Available",
+ "question_key":"Is the Billing Infomation Available",
+ "type":"3",
+ "field_width":"65",
+ "answers":[{
+ "answer":"Yes",
+ "answer_id":"yes"
+ },
+ {
+ "answer":"No",
+ "answer_id":"no"
+ }],
+ "place_holder":"Enter the text",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ ]
+ },
+ {
+ "question": [
+ {
+ "question_key":"Service_Name",
+ "question":"Service Name",
+ "place_holder":"Enter the text",
+ "type":"1",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"45",
+ "validations":[
+ ]
+ },{
+ "question_key":"Supplier_Name",
+ "question":"Supplier Name",
+ "place_holder":"Enter the text",
+ "type":"1",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"45",
+ "validations":[
+ ]
+ },{
+ "question_key":"Title",
+ "question":"Title",
+ "place_holder":"Enter the text",
+ "type":"3",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"TITLES"
+ },
+ "fields":[
+ "title_id",
+ "name"
+ ]
+ },
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"20",
+ "validations":[
+ ]
+ },{
+ "question_key":"Contact_person_Name",
+ "question":"Contact Name",
+ "place_holder":"Enter the text",
+ "type":"1",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"40",
+ "validations":[
+ ]
+ },{
+ "question_key":"Contact_person_Designation",
+ "question":"Contact person Designation",
+ "place_holder":"Enter the text",
+ "type":"3",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"COMPANYRELATIONSHIPS"
+ },
+ "fields":[
+ "company_relationship_id",
+ "name"
+ ]
+ },
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"40",
+ "validations":[
+ ]
+ },{
+ "question_key":"Contact_person_Mobile_number",
+ "question":"Contact person Mobile Number",
+ "place_holder":"Enter the text",
+ "type":"1",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"40",
+ "validations":[
+ ]
+ },{
+ "question_key":"STD_code",
+ "question":"STD Code",
+ "place_holder":"Enter the text",
+ "type":"1",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"20",
+ "validations":[
+ ]
+ },{
+ "question_key":"Contact_person_Landline_number",
+ "question":"Contact person Landline Number",
+ "place_holder":"Enter the text",
+ "type":"1",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"40",
+ "validations":[
+ ]
+ },{
+ "question_key":"Payment_Terms",
+ "question":"Payment Terms",
+ "place_holder":"Enter the text",
+ "type":"3",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"PAYMENTMODE"
+ },
+ "fields":[
+ "id",
+ "name"
+ ]
+ },
+ "answers":null,
+ "onchange_properties":[{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Payment_Terms",
+ "expression":"(String('Payment_Terms') == String('3'))",
+ "value_keys":[
+ "Payment_Terms"
+ ],
+ "questions":[
+ {
+ "question_key":"What % of Total Purchase is done on Credit?",
+ "question":"What % of Total Purchase is done on Credit?",
+ "place_holder":"",
+ "type":"1",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"num",
+ "field_width":"100",
+ "validations":[
+ ]
+ },
+ {
+ "question_key":"Day_To",
+ "question":"Day To",
+ "place_holder":"Enter the text",
+ "type":"1",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"40",
+ "validations":[
+ ]
+ }, {
+ "question_key":"Day_From",
+ "question":"Day From",
+ "place_holder":"Enter the text",
+ "type":"1",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"40",
+ "validations":[
+ ]
+ }, {
+ "question_key":"No.of days of Credit Provided by Supplier",
+ "question":"No.of days of Credit Provided by Supplier",
+ "place_holder":"Enter the text",
+ "type":null,
+ "sub_title":"No.of days of Credit Provided by Supplier",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"100",
+ "validations":[
+ ]
+ } ]
+ }]
+
+
+
+ }],
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"45",
+ "validations":[
+ ]
+ },{
+ "question_key":"Payment_Mode",
+ "question":"Payment Mode",
+ "place_holder":"Enter the text",
+ "type":"3",
+ "api_properties":null,
+ "answers":[{
+
+ "answer":"Payment made in Cash.",
+ "answer_id":"Payment made in Cash."
+ },
+ {
+ "answer":"Payment made through Banking channels.",
+ "answer_id":"Payment made through Banking channels."
+ }, {
+ "answer":"Payment made through Cash and Banking channels.",
+ "answer_id":"Payment made through Cash and Banking channels."
+ }],
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"45",
+ "validations":[
+ ]
+ }
+ ],
+ "is_repeatable": "1",
+ "group_title": "Service Provider Details",
+ "group_key": "Service Provider Details"
+ }]
+ }]
+
+ }],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ },{
+ "question_key":"common_remarks",
+ "question":"Remarks",
+ "place_holder":"Enter the text",
+ "type":"7",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"45",
+ "validations":[
+ ]
+ }
+
+
+ ]
+}
\ No newline at end of file
diff --git a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/LFMP/5.json b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/LFMP/5.json
new file mode 100644
index 000000000..eabf2c9f0
--- /dev/null
+++ b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/LFMP/5.json
@@ -0,0 +1,324 @@
+{
+ "section_id": "5",
+ "section_name": "Client Details",
+ "onsubmit": [],
+ "questions": [
+ {
+ "question":"Is the Client information Available",
+ "question_key":"Is_the_Client_information_Available",
+ "type":"3",
+ "field_width":"65",
+ "answers":[{
+ "answer":"Yes",
+ "answer_id":"yes"
+ },
+ {
+ "answer":"No",
+ "answer_id":"no"
+ }],
+ "api_properties":null,
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Is_the_Client_information_Available",
+ "expression":"(String('Is_the_Client_information_Available') == String('yes'))",
+ "value_keys":[
+ "Is_the_Client_information_Available"
+ ],
+ "questions":[
+ {
+ "question":"Is the Billing Infomation Available",
+ "question_key":"Is the Billing Infomation Available",
+ "type":"3",
+ "field_width":"65",
+ "answers":[{
+ "answer":"Yes",
+ "answer_id":"yes"
+ },
+ {
+ "answer":"No",
+ "answer_id":"no"
+ }],
+ "place_holder":"Enter the text",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ ]
+ },
+ {
+ "question": [
+ {
+ "question_key":"Select_the_Service_Provider",
+ "question":"Select the Service Provider",
+ "place_holder":"Enter the text",
+ "type":"3",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"45",
+ "validations":[
+ ]
+ },{
+ "question_key":"Client_Name",
+ "question":"Client Name",
+ "place_holder":"Enter the text",
+ "type":"1",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"45",
+ "validations":[
+ ]
+ },{
+ "question_key":"Title",
+ "question":"Title",
+ "place_holder":"Enter the text",
+ "type":"3",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"TITLES"
+ },
+ "fields":[
+ "title_id",
+ "name"
+ ]
+ },
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"20",
+ "validations":[
+ ]
+ },{
+ "question_key":"Contact_person_Name",
+ "question":"Contact Name",
+ "place_holder":"Enter the text",
+ "type":"1",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"40",
+ "validations":[
+ ]
+ },{
+ "question_key":"Contact_person_Designation",
+ "question":"Contact person Designation",
+ "place_holder":"Enter the text",
+ "type":"3",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"COMPANYRELATIONSHIPS"
+ },
+ "fields":[
+ "company_relationship_id",
+ "name"
+ ]
+ },
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"40",
+ "validations":[
+ ]
+ },{
+ "question_key":"Contact_person_Mobile_number",
+ "question":"Contact person Mobile Number",
+ "place_holder":"Enter the text",
+ "type":"1",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"40",
+ "validations":[
+ ]
+ },{
+ "question_key":"STD_code",
+ "question":"STD Code",
+ "place_holder":"Enter the text",
+ "type":"1",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"20",
+ "validations":[
+ ]
+ },{
+ "question_key":"Contact_person_Landline_number",
+ "question":"Contact person Landline Number",
+ "place_holder":"Enter the text",
+ "type":"1",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"40",
+ "validations":[
+ ]
+ },{
+ "question_key":"Payment_Terms",
+ "question":"Payment Terms",
+ "place_holder":"Enter the text",
+ "type":"3",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"PAYMENTMODE"
+ },
+ "fields":[
+ "id",
+ "name"
+ ]
+ },
+ "answers":null,
+ "onchange_properties":[{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Payment_Terms",
+ "expression":"(String('Payment_Terms') == String('3'))",
+ "value_keys":[
+ "Payment_Terms"
+ ],
+ "questions":[
+ {
+ "question_key":"What % of Total Purchase is done on Credit?",
+ "question":"What % of Total Purchase is done on Credit?",
+ "place_holder":"",
+ "type":"1",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"num",
+ "field_width":"100",
+ "validations":[
+ ]
+ },
+ {
+ "question_key":"Day_To",
+ "question":"Day To",
+ "place_holder":"Enter the text",
+ "type":"1",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"40",
+ "validations":[
+ ]
+ }, {
+ "question_key":"Day_From",
+ "question":"Day From",
+ "place_holder":"Enter the text",
+ "type":"1",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"40",
+ "validations":[
+ ]
+ }, {
+ "question_key":"No.of days of Credit Provided by Supplier",
+ "question":"No.of days of Credit Provided by Supplier",
+ "place_holder":"Enter the text",
+ "type":null,
+ "sub_title":"No.of days of Credit Provided by Supplier",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"100",
+ "validations":[
+ ]
+ } ]
+ }]
+
+
+
+ }],
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"45",
+ "validations":[
+ ]
+ },{
+ "question_key":"Payment_Mode",
+ "question":"Payment Mode",
+ "place_holder":"Enter the text",
+ "type":"3",
+ "api_properties":null,
+ "answers":[{
+
+ "answer":"Payment made in Cash.",
+ "answer_id":"Payment made in Cash."
+ },
+ {
+ "answer":"Payment made through Banking channels.",
+ "answer_id":"Payment made through Banking channels."
+ }, {
+ "answer":"Payment made through Cash and Banking channels.",
+ "answer_id":"Payment made through Cash and Banking channels."
+ }],
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"45",
+ "validations":[
+ ]
+ }
+ ],
+ "is_repeatable": "1",
+ "group_title": "Service Provider Details",
+ "group_key": "Service Provider Details"
+ }
+ ]
+ }]
+
+ }],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ },{
+ "question_key":"common_remarks",
+ "question":"Remarks",
+ "place_holder":"Enter the text",
+ "type":"7",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"45",
+ "validations":[
+ ]
+ }
+
+ ]
+}
\ No newline at end of file
diff --git a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/LFMP/6.json b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/LFMP/6.json
new file mode 100644
index 000000000..d314ab33b
--- /dev/null
+++ b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/LFMP/6.json
@@ -0,0 +1,188 @@
+{
+ "section_id": "6",
+ "section_name": "Stock Details",
+ "onsubmit": [],
+
+ "questions":[
+
+ {
+ "question": [
+ {
+ "question_key":"Name",
+ "question":"Name",
+ "place_holder":"Enter the text",
+ "type":"1",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"45",
+ "validations":[
+ ]
+ } ,
+ {
+ "question_key":"stock",
+ "question":"Stock",
+ "place_holder":"Enter the text",
+ "type":"3",
+ "api_properties":null,
+ "answers":[{
+ "answer":"Add Stock Details",
+ "answer_id":"Add_Stock_Details"
+ },
+ {
+ "answer":"No Stock Observed",
+ "answer_id":"No_Stock_Observed"
+ }],
+ "onchange_properties":[{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"stock",
+ "expression":"(String('stock') == String('Add_Stock_Details'))",
+ "value_keys":[
+ "stock"
+ ],
+ "questions":[
+ {
+ "question_key":"Estimated_Value_of_Stock_Observed",
+ "question":"Estimated Value of Stock Observed",
+ "place_holder":"Enter the text",
+ "type":"1",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"100",
+ "validations":[
+ ]
+ } ,
+ {
+ "question_key":"Unit_of_Measurement",
+ "question":"Unit of Measurement",
+ "place_holder":"Enter the text",
+ "type":"3",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"UOM"
+ },
+ "fields":[
+ "uom_id",
+ "name"
+ ]
+ },
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"45",
+ "validations":[
+ ]
+ }, {
+ "question_key":"Estimated Quantity",
+ "question":"Estimated Quantity",
+ "place_holder":"Enter the text",
+ "type":"1",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"45",
+ "validations":[
+ ]
+ }
+ ]
+ }]
+
+
+
+ }],
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"45",
+ "validations":[
+ ]
+ }
+ ],
+ "is_repeatable": "1",
+ "group_title": "Service Provider Details",
+ "group_key": "Service Provider Details"
+ }, {
+ "question":"Is the stock of finished / goods observed, sufficient considering the size of operations",
+ "question_key":"sufficient_considering_the_size_of_operations",
+ "type":"3",
+ "field_width":"65",
+ "answers":[{
+
+ "answer":"Yes",
+ "answer_id":"yes"
+ },
+ {
+ "answer":"No",
+ "answer_id":"no"
+ },{
+ "answer":"Stock not required to be maintained",
+ "answer_id":"Stock not required to be maintained"
+ }],
+ "place_holder":"Enter the text",
+ "api_properties":null,
+ "onchange_properties":[{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"sufficient_considering_the_size_of_operations",
+ "expression":"(String('sufficient_considering_the_size_of_operations') == String('no'))",
+ "value_keys":[
+ "sufficient_considering_the_size_of_operations"
+ ],
+ "questions":[
+ {
+ "question_key":"Please comment on the stock level observed?",
+ "question":"Please comment on the stock level observed?",
+ "place_holder":"Please comment on the stock level observed?",
+ "type":"7",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"100",
+ "validations":[
+ ]
+ }
+ ]
+ }]
+
+
+
+ }],
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ ]
+ }
+
+
+
+ ,{
+ "question_key":"common_remarks",
+ "question":"Remarks",
+ "place_holder":"Enter the text",
+ "type":"7",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"45",
+ "validations":[
+ ]
+ }
+
+ ]
+}
\ No newline at end of file
diff --git a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/LFMP/7.json b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/LFMP/7.json
new file mode 100644
index 000000000..7938d11c6
--- /dev/null
+++ b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/LFMP/7.json
@@ -0,0 +1,396 @@
+{
+ "section_id": "7",
+ "section_name": "Facility & Anchor Details Section",
+ "onsubmit": null,
+ "questions": [
+ {
+ "question_key":"Facility Amount Applied For?",
+ "question":"Facility Amount Applied For?",
+ "place_holder":"Enter the text",
+ "type":"1",
+ "api_properties":null,
+ "answers":null,
+ "title":"Anchor Details Section",
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"65",
+ "validations":[
+ ]
+ }, {
+ "question_key":"Name of the Anchor",
+ "question":"Name of the Anchor",
+ "place_holder":"Enter the text",
+ "type":"1",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"35",
+ "validations":[
+ ]
+ },
+ {
+ "question_key":"Applicant's association vintage with the Anchor",
+ "question":"Applicant's association vintage with the Anchor",
+ "place_holder":"Enter the text",
+ "type":null,
+ "api_properties":null,
+ "sub_title":"Applicant's association vintage with the Anchor",
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"100",
+ "validations":[
+ ]
+ },{
+ "question_key":"Year",
+ "question":"Year",
+ "place_holder":"Enter the text",
+ "type":"1",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"30",
+ "validations":[
+ ]
+ },{
+ "question_key":"Month",
+ "question":"Month",
+ "place_holder":"Enter the text",
+ "type":"1",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"30",
+ "validations":[
+ ]
+ },{
+ "question_key":"Monthly business (sale/purchase) with the Anchor",
+ "question":"Monthly business (sale/purchase) with the Anchor",
+ "place_holder":"Enter the text",
+ "type":"1",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"numtoword",
+ "field_width":"30",
+ "validations":[
+ ]
+ },{
+ "question_key":"Business concentration with Anchor %",
+ "question":"Business concentration with Anchor %",
+ "place_holder":"Enter the text",
+ "type":"1",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"30",
+ "validations":[
+ ]
+ }, {
+ "question_key":"Credit period with the Anchor (Days)",
+ "question":"Credit period with the Anchor (Days)",
+ "place_holder":"Enter the text",
+ "type":null,
+ "api_properties":null,
+ "sub_title":"Credit period with the Anchor (Days)",
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"100",
+ "validations":[
+ ]
+ },{
+ "question_key":"Number of Days",
+ "question":"Number of Days",
+ "place_holder":"Enter the text",
+ "type":"1",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"35",
+ "validations":[
+ ]
+ },{
+ "question_key":"Payment Mechanism",
+ "question":"Payment Mechanism",
+ "place_holder":"Enter the text",
+ "type":"1",
+ "api_properties":null,
+ "answers":[
+
+ {
+ "answer_id":"Bill-Wise",
+ "answer":"Bill-Wise"
+ },
+ {
+ "answer_id":"Open Account",
+ "answer":"Open Account"
+ }
+ ],
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"65",
+ "validations":[
+ ]
+ },{
+ "question_key":"Average Invoice Value",
+ "question":"Average Invoice Value",
+ "place_holder":"Enter the text",
+ "type":"1",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"numtoword",
+ "field_width":"35",
+ "validations":[
+ ]
+ },{
+ "question_key":"Are_there_peak_seasons_for_the_business_with_Anchor",
+ "question":"Are there peak seasons for the business with Anchor",
+ "place_holder":"Enter the text",
+ "type":"3",
+ "api_properties":null,
+ "answers":[
+ {
+ "answer_id":"Yes",
+ "answer":"Yes"
+ },
+ {
+ "answer_id":"No Major Changes In Sales",
+ "answer":"No Major Changes In Sales"
+ }
+ ],
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Are_there_peak_seasons_for_the_business_with_Anchor",
+ "expression":"(String('Are_there_peak_seasons_for_the_business_with_Anchor') == String('Yes'))",
+ "value_keys":[
+ "Are_there_peak_seasons_for_the_business_with_Anchor"
+ ],
+ "questions":[
+ {
+ "question":"Comments*",
+ "question_key":"Comments",
+ "place_holder":"",
+ "field_type":"text",
+ "type":"7",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Are_there_peak_seasons_for_the_business_with_Anchor",
+ "answers":null,
+ "validations":[
+ ]
+ }, {
+ "question":"Months in which sales/service is low?",
+ "question_key":"Months in which sales/service is low?",
+ "place_holder":"",
+ "field_type":"text",
+ "type":"4",
+ "field_width":"45",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"STATE"
+ },
+ "fields":[
+ "state_id",
+ "name"
+ ]
+
+ },
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Are_there_peak_seasons_for_the_business_with_Anchor",
+ "answers":null,
+ "validations":[
+ ]
+ }]
+ }]
+
+ }],
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"65",
+ "validations":[
+ ]
+ },{
+ "question_key":"Are_there_debit_credit_notes_being_issued_to_by_Anchor",
+ "question":"Are there debit/credit notes being issued to/by Anchor",
+ "place_holder":"Enter the text",
+ "type":"3",
+ "api_properties":null,
+ "answers":[
+ {
+ "answer_id":"Yes",
+ "answer":"Yes"
+ },
+ {
+ "answer_id":"No",
+ "answer":"No"
+ }
+ ],
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Are_there_debit_credit_notes_being_issued_to_by_Anchor",
+ "expression":"(String('Are_there_debit_credit_notes_being_issued_to_by_Anchor') == String('Yes'))",
+ "value_keys":[
+ "Are_there_debit_credit_notes_being_issued_to_by_Anchor"
+ ],
+ "questions":[
+ {
+ "question":"Reason for such debit/credit notes",
+ "question_key":"Reason for such debit/credit notes",
+ "place_holder":"",
+ "field_type":"text",
+ "type":"1",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Are_there_debit_credit_notes_being_issued_to_by_Anchor",
+ "answers":null,
+ "validations":[
+ ]
+ } ]
+ }]
+
+ }],
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"65",
+ "validations":[
+ ]
+ },{
+ "question_key":"Reason for such debit/credit notes",
+ "question":"Reason for such debit/credit notes",
+ "place_holder":"Enter the text",
+ "type":"1",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"45",
+ "validations":[
+ ]
+ },{
+ "question_key":"Value of stock related to Anchor",
+ "question":"Value of stock related to Anchor",
+ "place_holder":"Enter the text",
+ "type":"1",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"numtoword",
+ "field_width":"45",
+ "validations":[
+ ]
+ },{
+ "question_key":"Observations_on_Sample_Invoices",
+ "question":"Observations on Sample Invoices",
+ "place_holder":"Enter the text",
+ "type":"3",
+ "api_properties":null,
+ "answers":[
+ {
+ "answer_id":"Yes",
+ "answer":"Yes"
+ },
+ {
+ "answer_id":"No",
+ "answer":"No"
+ }
+ ],
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Observations_on_Sample_Invoices",
+ "expression":"(String('Observations_on_Sample_Invoices') == String('Yes'))",
+ "value_keys":[
+ "Observations_on_Sample_Invoices"
+ ],
+ "questions":[
+ {
+ "question_key":"observations on Invoice and lorry receipts",
+ "question":"observations on Invoice and lorry receipts",
+ "place_holder":"Enter the text",
+ "type":"7",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"45",
+ "validations":[
+ ]
+ } ]
+ }]
+
+ },{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Observations_on_Sample_Invoices",
+ "expression":"(String('Observations_on_Sample_Invoices') == String('No'))",
+ "value_keys":[
+ "Observations_on_Sample_Invoices"
+ ],
+ "questions":[
+ {
+ "question_key":"reason for no sample invoices",
+ "question":"reason for no sample invoices",
+ "place_holder":"Enter the text",
+ "type":"1",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"45",
+ "validations":[
+ ]
+ } ]
+ }]
+
+ }],
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"45",
+ "validations":[
+ ]
+ }
+
+
+ ]
+}
\ No newline at end of file
diff --git a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/LFMP/8.json b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/LFMP/8.json
new file mode 100644
index 000000000..84bfded35
--- /dev/null
+++ b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/LFMP/8.json
@@ -0,0 +1,87 @@
+ {
+ "section_id": "8",
+ "section_name": "Future Plans & Business Environments",
+ "onsubmit": [],
+ "questions": [
+ {
+ "question_key":"USP of the business - How is the applicants business different from others in the same line of business?",
+ "question":"USP of the business - How is the applicants business different from others in the same line of business?",
+ "place_holder":"Enter the text",
+ "type":"1",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"100",
+ "validations":[
+ ]
+ },{
+ "question_key":"Future plans for business expansion",
+ "question":"Future plans for business expansion",
+ "place_holder":"Enter the text",
+ "type":"1",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"100",
+ "validations":[
+ ]
+ },{
+ "question_key":"Impact of GST on the business",
+ "question":"Impact of GST on the business",
+ "place_holder":"Enter the text",
+ "type":"1",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"100",
+ "validations":[
+ ]
+ },{
+ "question_key":"Key Competitors",
+ "question":"Key Competitors",
+ "place_holder":"Enter the text",
+ "type":"1",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"100",
+ "validations":[
+ ]
+ },{
+ "question_key":"Succession plan - who will look after the business after applicants retire / are unable to run the business due to any reason?",
+ "question":"Succession plan - who will look after the business after applicants retire / are unable to run the business due to any reason?",
+ "place_holder":"Enter the text",
+ "type":"1",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"100",
+ "validations":[
+ ]
+ },{
+ "question_key":"Brief of Other Group Concerns / Businesses run by the applicants",
+ "question":"Brief of Other Group Concerns / Businesses run by the applicants",
+ "place_holder":"Enter the text",
+ "type":"1",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"100",
+ "validations":[
+ ]
+ }
+
+ ]
+ }
\ No newline at end of file
diff --git a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/LFMP/9.json b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/LFMP/9.json
new file mode 100644
index 000000000..e679e4b84
--- /dev/null
+++ b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/LFMP/9.json
@@ -0,0 +1,1244 @@
+{
+ "section_id": "4",
+ "section_name": "Rental Information",
+ "onsubmit": [],
+ "questions": [
+ {
+ "question_key":"Address of the Property",
+ "question":"Address of the Property",
+ "place_holder":"Enter the text",
+ "type":"7",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"65",
+ "validations":[
+ ]
+ }, {
+ "question": "State",
+ "question_key": "state",
+ "type": "3",
+ "answers": null,
+ "field_width":"30",
+ "api_properties": {
+ "api": "getListOfMaster",
+ "api_method": "POST",
+ "params": {
+ "master_name": "STATE"
+ },
+ "fields": [
+ "state_id",
+ "name"
+ ]
+ },
+ "onchange_properties": [
+ {
+ "purpose": "api",
+ "api": "getListOfStatesAndCities",
+ "api_method": "POST",
+ "params": "{records:{state_id:'value_of_answer'}}",
+ "fields": [
+ "state_id",
+ "name"
+ ],
+ "local_variable": "local_city"
+ }
+ ],
+ "is_repeatable": null,
+ "validations": [
+ {
+ "name": "required",
+ "isactive": "1",
+ "validator": "Validators.required",
+ "message": "State Required",
+ "value": null
+ }
+ ]
+ },
+ {
+ "question": "City",
+ "question_key": "city",
+ "type": "3",
+ "answers": null,
+ "field_width":"30",
+ "api_properties": "local_city",
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": [
+ {
+ "name": "required",
+ "isactive": "1",
+ "validator": "Validators.required",
+ "message": "CIty Required",
+ "value": null
+ }
+ ]
+ },
+ {
+ "question": "Pincode",
+ "question_key": "pincode",
+ "type": "3",
+ "answers": null,
+ "field_width":"30",
+ "api_properties": "local_pincode",
+ "onchange_properties": [
+ {
+ "purpose": "FORM_CTRL",
+ "form_controls": [
+ {
+ "insert_index": "pincode",
+ "expression": "(pincode == 1)",
+ "value_keys": [
+ "pincode"
+ ],
+ "questions": [
+ {
+ "question_key": "pincode_others",
+ "question": "Specify the Pincode",
+ "place_holder": "Enter the Pincode",
+ "type": "1",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "field_type": "num",
+ "validations": [
+ {
+ "name": "required",
+ "isactive": "1",
+ "validator": "Validators.required",
+ "message": "Pincode is Required",
+ "value": null
+ },
+ {
+ "name": "pattern",
+ "isactive": "1",
+ "validator": "[0-9]{6}",
+ "message": "Pincode should be 6 digit",
+ "value": null
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "is_repeatable": null,
+ "validations": [
+ {
+ "name": "required",
+ "isactive": "1",
+ "validator": "Validators.required",
+ "message": "Pincode Required",
+ "value": null
+ }
+ ]
+ },{
+ "question_key":"Is_This_the_Address_Visited",
+ "question":"Is This the Address Visited ?",
+ "place_holder":"Enter the text",
+ "type":"5",
+ "api_properties":null,
+ "answers":[
+
+ {
+ "answer_id":"No",
+ "answer":"No"
+ }
+ ],
+ "onchange_properties":[{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Is_This_the_Address_Visited",
+ "expression":"(String('Is_This_the_Address_Visited') == String('No'))",
+ "value_keys":[
+ "Is_This_the_Address_Visited"
+ ],
+ "questions":[
+ {
+ "question":"Actual Address Visited",
+ "question_key":"Actual Address Visited",
+ "place_holder":"",
+ "field_type":"text",
+ "type":"7",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Nature_of_Let_Out_Property_as_per_Loan_Applicant",
+ "answers":null,
+ "validations":[
+ ]
+ }]
+ }]
+
+ }],
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"100",
+ "validations":[
+ ]
+ },{
+ "question_key":"Name of the Person Who is Showing the Property to Sineedge Officer",
+ "question":"Name of the Person Who is Showing the Property to Sineedge Officer",
+ "place_holder":"Enter the text",
+ "type":"3",
+ "api_properties":
+ {
+ "purpose":"answer_options_local",
+ "master_name":"pd_applicants",
+ "fields":["pd_co_applicant_id","applicant_name"]
+ },
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"100",
+ "validations":[
+ ]
+ },{
+ "question_key":"Name of the Owner/Owners of the Let out Property as per Loan Applicants",
+ "question":"Name of the Owner/Owners of the Let out Property as per Loan Applicants",
+ "place_holder":"Enter the text",
+ "type":"4",
+ "api_properties":
+ {
+ "purpose":"answer_options_local",
+ "master_name":"pd_applicants",
+ "fields":["pd_co_applicant_id","applicant_name"]
+ },
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"100",
+ "validations":[
+ ]
+ },{
+ "question_key":"Ownership_Proof_Documents_Sighted",
+ "question":"Ownership Proof Documents Sighted",
+ "place_holder":"Enter the text",
+ "type":"3",
+ "api_properties":null,
+ "answers":[
+ {
+ "answer_id":"Yes",
+ "answer":"Yes"
+ },
+ {
+ "answer_id":"No",
+ "answer":"No"
+ }
+ ],
+ "onchange_properties":[{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Ownership_Proof_Documents_Sighted",
+ "expression":"(String('Ownership_Proof_Documents_Sighted') == String('Yes'))",
+ "value_keys":[
+ "Ownership_Proof_Documents_Sighted"
+ ],
+ "questions":[
+ {
+ "question":"Type of Document Sighted",
+ "question_key":"Type_of_Document_Sighted",
+ "place_holder":"",
+ "field_type":"text",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":[{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Type_of_Document_Sighted",
+ "expression":"(String('Type_of_Document_Sighted') == String('Others_Please_Specify'))",
+ "value_keys":[
+ "Type_of_Document_Sighted"
+ ],
+ "questions":[
+ {
+ "question":"Other Type of Document",
+ "question_key":"TOther Type of Document",
+ "place_holder":"",
+ "field_type":"text",
+ "type":"1",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Type_of_Document_Sighted",
+ "answers":null,
+ "validations":[
+ ]
+ }]
+ }]
+
+ }],
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Ownership_Proof_Documents_Sighted",
+ "answers":[
+
+ {
+ "answer_id":"Property Title Document",
+ "answer":"Property Title Document"
+ },
+ {
+ "answer_id":"Electricity Bill With Name Of Owner Mentioned Therein",
+ "answer":"Electricity Bill With Name Of Owner Mentioned Therein"
+ },{
+ "answer_id":"Property Tax Receipts",
+ "answer":"Property Tax Receipts"
+ },
+ {
+ "answer_id":"Others_Please_Specify",
+ "answer":"Others (Please Specify)"
+ }
+ ],
+ "validations":[
+ ]
+ }]
+ }]
+
+ }],
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"65",
+ "validations":[
+ ]
+ },{
+ "question_key":"Nature_of_Let_Out_Property_as_per_Loan_Applicant",
+ "question":"Nature of Let Out Property as per Loan Applicant",
+ "place_holder":"Enter the text",
+ "type":"3",
+ "api_properties":null,
+ "answers":[
+
+ {
+ "answer_id":"Residential Property",
+ "answer":"Residential Property"
+ },
+ {
+ "answer_id":"Commercial Property",
+ "answer":"Commercial Property"
+ },{
+ "answer_id":"Industrial Property",
+ "answer":"Industrial Property"
+ },
+ {
+ "answer_id":"Others_Please_Specify",
+ "answer":"Others (Please Specify)"
+ }
+ ],
+ "onchange_properties":[{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Nature_of_Let_Out_Property_as_per_Loan_Applicant",
+ "expression":"(String('Nature_of_Let_Out_Property_as_per_Loan_Applicant') == String('Others_Please_Specify'))",
+ "value_keys":[
+ "Nature_of_Let_Out_Property_as_per_Loan_Applicant"
+ ],
+ "questions":[
+ {
+ "question":"Other Property",
+ "question_key":"Other Property",
+ "place_holder":"",
+ "field_type":"text",
+ "type":"1",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Nature_of_Let_Out_Property_as_per_Loan_Applicant",
+ "answers":null,
+ "validations":[
+ ]
+ }]
+ }]
+
+ }],
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"65",
+ "validations":[
+ ]
+ },{
+ "question_key":"Type_of_Units_as_per_Loan_Applicants",
+ "question":"Type of Units as per Loan Applicants",
+ "place_holder":"Enter the text",
+ "type":"3",
+ "api_properties":null,
+ "answers":[
+
+
+ {
+ "answer_id":"Others_Please_Specify",
+ "answer":"Others (Please Specify)"
+ }
+ ],
+ "onchange_properties":[{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Type_of_Units_as_per_Loan_Applicants",
+ "expression":"(String('Type_of_Units_as_per_Loan_Applicants') == String('Others_Please_Specify'))",
+ "value_keys":[
+ "Type_of_Units_as_per_Loan_Applicants"
+ ],
+ "questions":[
+ {
+ "question":"Specify_Other_Unit_Type",
+ "question_key":"Specify Other Unit Type",
+ "place_holder":"",
+ "field_type":"text",
+ "type":"1",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Type_of_Units_as_per_Loan_Applicants",
+ "answers":null,
+ "validations":[
+ ]
+ }]
+ }]
+
+ }],
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"65",
+ "validations":[
+ ]
+ },{
+ "question_key":"Tot No of Units",
+ "question":"Tot No of Units",
+ "place_holder":"Enter the text",
+ "type":"1",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"65",
+ "validations":[
+ ]
+ }, {
+ "question": [
+ {
+ "question": "Is Name of the Tenant(s)/Lessees(s) of the Let out Property Provided ?",
+ "question_key": "Is_Name_of_the_Tenant_Lesseess_of_the_Let_out_Property_Provided",
+ "type": "3",
+ "field_width": "45",
+ "answers":[
+ {
+ "answer_id":"Yes",
+ "answer":"Yes"
+ }, {
+ "answer_id":"Name_not_provided",
+ "answer":"Name(s) not provided"
+ }
+ ],
+ "api_properties": null,
+ "onchange_properties":[{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Is_Name_of_the_Tenant_Lesseess_of_the_Let_out_Property_Provided",
+ "expression":"(String('Is_Name_of_the_Tenant_Lesseess_of_the_Let_out_Property_Provided') == String('Yes'))",
+ "value_keys":[
+ "Is_Name_of_the_Tenant_Lesseess_of_the_Let_out_Property_Provided"
+ ],
+ "questions":[
+ {
+ "question":"Name of Tenant(s)/Lessees(s)",
+ "question_key":"Name of Tenant(s)/Lessees(s)",
+ "place_holder":"",
+ "field_type":"text",
+ "type":"1",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Is_Name_of_the_Tenant_Lesseess_of_the_Let_out_Property_Provided",
+ "answers":null,
+ "validations":[
+ ]
+ }]
+ }]
+
+ },{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Is_Name_of_the_Tenant_Lesseess_of_the_Let_out_Property_Provided",
+ "expression":"(String('Is_Name_of_the_Tenant_Lesseess_of_the_Let_out_Property_Provided') == String('Name_not_provided'))",
+ "value_keys":[
+ "Is_Name_of_the_Tenant_Lesseess_of_the_Let_out_Property_Provided"
+ ],
+ "questions":[
+ {
+ "question":"Why Tenant(s)/Lessees(s) Name not Provided",
+ "question_key":"Why Tenant(s)/Lessees(s) Name not Provided",
+ "place_holder":"",
+ "field_type":"text",
+ "type":"1",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Is_Name_of_the_Tenant_Lesseess_of_the_Let_out_Property_Provided",
+ "answers":null,
+ "validations":[
+ ]
+ }]
+ }]
+
+ }],
+ "is_repeatable": null,
+ "validations": [
+ ]
+ },
+ {
+ "question": "Monthly Rent Amount as per Loan Applicant",
+ "question_key": "Monthly Rent Amount as per Loan Applicant",
+ "type": "1",
+ "field_type": "numtoword",
+ "field_width": "45",
+ "onchange_properties": null,
+ "api_properties": null,
+ "answers": null,
+ "is_repeatable": null,
+ "validations": [
+ ]
+ },
+ {
+ "question": "Mode of Payment of Rent as per Loan Applicant",
+ "question_key": "Mode_of_Payment_of_Rent_as_per_Loan_Applicant",
+ "type": "3",
+ "field_width": "45",
+ "api_properties": null,
+ "answers":[
+
+ {
+ "answer_id":"Received in Cash",
+ "answer":"Received in Cash"
+ }, {
+ "answer_id":"Received through Banking Channel",
+ "answer":"Received through Banking Channel"
+ },{
+ "answer_id":"Combination_of_Cash_Bank",
+ "answer":"Combination of Cash & Bank"
+ }
+ ],
+ "onchange_properties":[{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Mode_of_Payment_of_Rent_as_per_Loan_Applicant",
+ "expression":"(String('Mode_of_Payment_of_Rent_as_per_Loan_Applicant') == String('Combination_of_Cash_Bank'))",
+ "value_keys":[
+ "Mode_of_Payment_of_Rent_as_per_Loan_Applicant"
+ ],
+ "questions":[
+ {
+ "question":"Amount Received in Bank",
+ "question_key":"Amount Received in Bank",
+ "place_holder":"",
+ "field_type":"text",
+ "type":"1",
+ "field_width":"30",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Mode_of_Payment_of_Rent_as_per_Loan_Applicant",
+ "answers":null,
+ "validations":[
+ ]
+ }, {
+ "question":"Amount Received in Cash",
+ "question_key":"Amount Received in Cash",
+ "place_holder":"",
+ "field_type":"text",
+ "type":"1",
+ "field_width":"30",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Mode_of_Payment_of_Rent_as_per_Loan_Applicant",
+ "answers":null,
+ "validations":[
+ ]
+ },{
+ "question":"Reason for Receiving Multiple Payment Mode",
+ "question_key":"Reason for Receiving Multiple Payment Mode",
+ "place_holder":"",
+ "field_type":"text",
+ "type":"7",
+ "field_width":"30",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Mode_of_Payment_of_Rent_as_per_Loan_Applicant",
+ "answers":null,
+ "validations":[
+ ]
+ }]
+ }]
+
+ }],
+ "is_repeatable": null,
+ "validations": [
+ ]
+ },
+ {
+ "question": "Securtity Deposit amount as per Loan Applicant",
+ "question_key": "Securtity Deposit amount as per Loan Applicant",
+ "type": "3",
+ "field_width": "100",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": [
+ ]
+ },
+ {
+ "question": "Area Covered by the Unit",
+ "question_key": "Area Covered by the Unit",
+ "type": "1",
+ "field_width": "45",
+ "field_type": "string",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": [
+ ]
+ },
+ {
+ "question": "Unit of Measurement",
+ "question_key": "Unit of Measurement",
+ "type": "3",
+ "field_width": "45",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"UOM"
+ },
+ "fields":[
+ "uom_id",
+ "name"
+ ]
+ },
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": [
+ ]
+ },
+
+ {
+ "question": "Is Rent Agreement executed for the Property let out",
+ "question_key": "Is_Rent_Agreement_executed_for_the_Property_let_out",
+ "type": "3",
+ "field_type": "num",
+ "field_width": "100",
+ "api_properties": null,
+ "answers":[
+ {
+ "answer_id":"Yes",
+ "answer":"Yes"
+ }, {
+ "answer_id":"No",
+ "answer":"No"
+ }
+ ],
+ "onchange_properties":[{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Is_Rent_Agreement_executed_for_the_Property_let_out",
+ "expression":"(String('Is_Rent_Agreement_executed_for_the_Property_let_out') == String('Yes'))",
+ "value_keys":[
+ "Is_Rent_Agreement_executed_for_the_Property_let_out"
+ ],
+ "questions":[
+ {
+ "question":"Rent Agreement Seen",
+ "question_key":"Rent_Agreement_Seen",
+ "place_holder":"",
+ "field_type":"text",
+ "type":"3",
+ "sub_title":"As per rent agreement Questions",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":[{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Rent_Agreement_Seen",
+ "expression":"(String('Rent_Agreement_Seen') == String('Yes'))",
+ "value_keys":[
+ "Rent_Agreement_Seen"
+ ],
+ "questions":[
+ {
+ "question":"Is the Rent Agreement Registered at Sub-Registrar Office",
+ "question_key":"Is_the_Rent_Agreement_Registered_at_Sub_Registrar_Office",
+ "place_holder":"",
+ "field_type":"text",
+ "type":"3",
+ "sub_title":null,
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":[{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Is_the_Rent_Agreement_Registered_at_Sub_Registrar_Office",
+ "expression":"(String('Is_the_Rent_Agreement_Registered_at_Sub_Registrar_Office') == String('Yes'))",
+ "value_keys":[
+ "Is_the_Rent_Agreement_Registered_at_Sub_Registrar_Office"
+ ],
+ "questions":[
+ {
+ "question":"Name of Tenants / Lessees as per Rent Agreement",
+ "question_key":"Name of Tenants / Lessees as per Rent Agreement",
+ "place_holder":"",
+ "field_type":"text",
+ "type":"7",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Is_the_Rent_Agreement_Registered_at_Sub_Registrar_Office",
+ "answers":null,
+ "validations":[
+ ]
+ },
+ {
+ "question":"Name of Owner / Owners of Rented Property as per Rent Agreement",
+ "question_key":"Name of Owner / Owners of Rented Property as per Rent Agreement",
+ "place_holder":"",
+ "field_type":"text",
+ "type":"4",
+ "field_width":"45",
+ "api_properties":
+ {
+ "purpose":"answer_options_local",
+ "master_name":"pd_applicants",
+ "fields":["pd_co_applicant_id","applicant_name"]
+ },
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Is_the_Rent_Agreement_Registered_at_Sub_Registrar_Office",
+ "answers":null,
+ "validations":[
+ ]
+ },
+ {
+ "question":"Security Deposit Amount as per Agreement",
+ "question_key":"Security Deposit Amount as per Agreement",
+ "place_holder":"",
+ "field_type":"text",
+ "type":"1",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Is_the_Rent_Agreement_Registered_at_Sub_Registrar_Office",
+ "answers":null,
+ "validations":[
+ ]
+ },
+ {
+ "question":"Monthly Rent Amount as per Agreement",
+ "question_key":"Monthly Rent Amount as per Agreement",
+ "place_holder":"",
+ "field_type":"text",
+ "type":"1",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Is_the_Rent_Agreement_Registered_at_Sub_Registrar_Office",
+ "answers":null,
+ "validations":[
+ ]
+ },
+ {
+ "question":"No of Rental Months Remaining as per Agreement",
+ "question_key":"No of Rental Months Remaining as per Agreement",
+ "place_holder":"",
+ "field_type":"text",
+ "type":"1",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Is_the_Rent_Agreement_Registered_at_Sub_Registrar_Office",
+ "answers":null,
+ "validations":[
+ ]
+ },
+ {
+ "question":"Date on which Agreement is Expiring",
+ "question_key":"Date on which Agreement is Expiring",
+ "place_holder":"",
+ "field_type":"text",
+ "type":"1",
+ "field_width":"30",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Is_the_Rent_Agreement_Registered_at_Sub_Registrar_Office",
+ "answers":null,
+ "validations":[
+ ]
+ },
+ {
+ "question":"No of Months for Which Property has been let out as per Agreement",
+ "question_key":"No of Months for Which Property has been let out as per Agreement",
+ "place_holder":"",
+ "field_type":"text",
+ "type":"1",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Is_the_Rent_Agreement_Registered_at_Sub_Registrar_Office",
+ "answers":null,
+ "validations":[
+ ]
+ },
+ {
+ "question":"Date of Agreement",
+ "question_key":"Date of Agreement",
+ "place_holder":"",
+ "field_type":"text",
+ "type":"11",
+ "field_width":"30",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Is_the_Rent_Agreement_Registered_at_Sub_Registrar_Office",
+ "answers":null,
+ "validations":[
+ ]
+ }]
+ }]
+
+ }],
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Rent_Agreement_Seen",
+ "answers":[
+ {
+ "answer_id":"Yes",
+ "answer":"Yes"
+ }, {
+ "answer_id":"No",
+ "answer":"No"
+ }
+ ],
+ "validations":[
+ ]
+ }]
+ }]
+
+ }],
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Is_Rent_Agreement_executed_for_the_Property_let_out",
+ "answers":[
+ {
+ "answer_id":"Yes",
+ "answer":"Yes"
+ }, {
+ "answer_id":"No",
+ "answer":"No"
+ }
+ ],
+ "validations":[
+ ]
+ }]
+ }]
+
+ }],
+ "is_repeatable": null,
+ "validations": [
+ ]
+ },
+ {
+ "question": "Tenant(s) / Lessee(s) Met During Visit of the Rented Property",
+ "question_key": "Tenant_Lessee_Met_During_Visit_of_the_Rented_Property",
+ "type": "3",
+ "sub_title":"As per Tenant(s)/Lessee Met Questions",
+ "field_width": "100",
+ "field_type": "num",
+ "api_properties": null,
+ "answers":[
+ {
+ "answer_id":"Yes",
+ "answer":"Yes"
+ }, {
+ "answer_id":"No",
+ "answer":"No"
+ }
+ ],
+ "onchange_properties":[{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Tenant_Lessee_Met_During_Visit_of_the_Rented_Property",
+ "expression":"(String('Tenant_Lessee_Met_During_Visit_of_the_Rented_Property') == String('Yes'))",
+ "value_keys":[
+ "Tenant_Lessee_Met_During_Visit_of_the_Rented_Property"
+ ],
+ "questions":[
+ {
+ "question":"Period (Months) of Stay as per Tenant / Lessee Met",
+ "question_key":"Period (Months) of Stay as per Tenant / Lessee Met",
+ "place_holder":"",
+ "field_type":"text",
+ "type":"1",
+ "sub_title":null,
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Tenant_Lessee_Met_During_Visit_of_the_Rented_Property",
+ "answers": null,
+ "validations":[
+ ]
+ },
+ {
+ "question":"Monthly Rent Amount Paid as per Tenant / Lessee Met",
+ "question_key":"Monthly Rent Amount Paid as per Tenant / Lessee Met",
+ "place_holder":"",
+ "field_type":"text",
+ "type":"1",
+ "sub_title":null,
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Tenant_Lessee_Met_During_Visit_of_the_Rented_Property",
+ "answers": null,
+ "validations":[
+ ]
+ },
+ {
+ "question":"Name of Owner as per Tenant / Lessee Met",
+ "question_key":"Name_of_Owner_as_per_Tenant_Lessee_Met",
+ "place_holder":"",
+ "field_type":"text",
+ "type":"4",
+ "field_width":"100",
+ "api_properties":
+ {
+ "purpose":"answer_options_local",
+ "master_name":"pd_applicants",
+ "fields":["pd_co_applicant_id","applicant_name"]
+ },
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Tenant_Lessee_Met_During_Visit_of_the_Rented_Property",
+ "answers": null,
+ "validations":[
+ ]
+ },
+ {
+ "question":"Name of the Tenant / Lessee Met",
+ "question_key":"Name of the Tenant / Lessee Met",
+ "place_holder":"",
+ "field_type":"text",
+ "type":"1",
+ "sub_title":null,
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Tenant_Lessee_Met_During_Visit_of_the_Rented_Property",
+ "answers": null,
+ "validations":[
+ ]
+ },
+ {
+ "question":"Mode of Payment of Rent as Validated by PD Officer with Tenant / Lessee During Visit",
+ "question_key":"Mode_of_Payment_of_Rent_as_Validated_by_PD_Officer_with_Tenant_Lessee_During_Visit",
+ "place_holder":"",
+ "field_type":"text",
+ "type":"3",
+ "sub_title":null,
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":[{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Mode_of_Payment_of_Rent_as_Validated_by_PD_Officer_with_Tenant_Lessee_During_Visit",
+ "expression":"(String('Mode_of_Payment_of_Rent_as_Validated_by_PD_Officer_with_Tenant_Lessee_During_Visit') == String('Combination_of_Cash_Bank'))",
+ "value_keys":[
+ "Mode_of_Payment_of_Rent_as_Validated_by_PD_Officer_with_Tenant_Lessee_During_Visit"
+ ],
+ "questions":[
+ {
+ "question":"Reason for Paid Multiple Payment Mode",
+ "question_key":"Reason for Paid Multiple Payment Mode",
+ "place_holder":"",
+ "field_type":"text",
+ "type":"7",
+ "sub_title":null,
+ "field_width":"35",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Mode_of_Payment_of_Rent_as_Validated_by_PD_Officer_with_Tenant_Lessee_During_Visit",
+ "answers": null,
+ "validations":[
+ ]
+ } ,
+ {
+ "question":"Amount Paid in Cash",
+ "question_key":"Amount Paid in Cash",
+ "place_holder":"",
+ "field_type":"text",
+ "type":"1",
+ "sub_title":null,
+ "field_width":"30",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Mode_of_Payment_of_Rent_as_Validated_by_PD_Officer_with_Tenant_Lessee_During_Visit",
+ "answers": null,
+ "validations":[
+ ]
+ },{
+ "question":"Amount Paid in Bank",
+ "question_key":"Amount Paid in Bank",
+ "place_holder":"",
+ "field_type":"text",
+ "type":"1",
+ "sub_title":null,
+ "field_width":"30",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Mode_of_Payment_of_Rent_as_Validated_by_PD_Officer_with_Tenant_Lessee_During_Visit",
+ "answers": null,
+ "validations":[
+ ]
+ }
+ ]
+ }]
+
+ }],
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Tenant_Lessee_Met_During_Visit_of_the_Rented_Property",
+ "answers":[
+
+ {
+ "answer_id":"Paid in Cash",
+ "answer":"Paid in Cash"
+ }, {
+ "answer_id":"Paid through Banking Channel",
+ "answer":"Paid through Banking Channel"
+ }, {
+ "answer_id":"Combination_of_Cash_Bank",
+ "answer":"Combination of Cash & Bank"
+ }
+ ],
+ "validations":[
+ ]
+ }]
+ }]
+
+ },{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Tenant_Lessee_Met_During_Visit_of_the_Rented_Property",
+ "expression":"(String('Tenant_Lessee_Met_During_Visit_of_the_Rented_Property') == String('No'))",
+ "value_keys":[
+ "Tenant_Lessee_Met_During_Visit_of_the_Rented_Property"
+ ],
+ "questions":[
+ {
+ "question":"Why Tenant / Lessee not Met ?",
+ "question_key":"Why Tenant / Lessee not Met ?",
+ "place_holder":"",
+ "field_type":"text",
+ "type":"7",
+ "sub_title":null,
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Tenant_Lessee_Met_During_Visit_of_the_Rented_Property",
+ "answers": null,
+ "validations":[
+ ]
+ }
+ ]
+ }]
+
+ }],
+ "is_repeatable": null,
+ "validations": [
+ ]
+ }
+ ],
+ "is_repeatable": "1",
+ "group_title": "Unit",
+ "group_key": "Unit"
+ },{
+ "question": "Third party check done on prevailing rent in the area",
+ "question_key": "Third_party_check_done_on_prevailing_rent_in_the_area",
+ "type": "3",
+ "sub_title":"Third Party Check",
+ "field_width": "100",
+ "field_type": "num",
+ "api_properties": null,
+ "answers":[
+ {
+ "answer_id":"Yes",
+ "answer":"Yes"
+ }, {
+ "answer_id":"No",
+ "answer":"No"
+ }
+ ],
+ "onchange_properties":[{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Third_party_check_done_on_prevailing_rent_in_the_area",
+ "expression":"(String('Third_party_check_done_on_prevailing_rent_in_the_area') == String('Yes'))",
+ "value_keys":[
+ "Third_party_check_done_on_prevailing_rent_in_the_area"
+ ],
+ "questions":[
+ {
+ "question":"Rental rates in the area as per the person with whom Third Party Check is done",
+ "question_key":"Rental rates in the area as per the person with whom Third Party Check is done",
+ "place_holder":"",
+ "field_type":"text",
+ "type":"7",
+ "sub_title":null,
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Third_party_check_done_on_prevailing_rent_in_the_area",
+ "answers": null,
+ "validations":[
+ ]
+ },
+ {
+ "question":"Description of the person with whom the Third Party Check is done",
+ "question_key":"Description of the person with whom the Third Party Check is done",
+ "place_holder":"",
+ "field_type":"text",
+ "type":"1",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Third_party_check_done_on_prevailing_rent_in_the_area",
+ "answers": null,
+ "validations":[
+ ]
+ }, {
+ "question":"Name of person with whom Third Party Check on going rentals in the area done",
+ "question_key":"Name of person with whom Third Party Check on going rentals in the area done",
+ "place_holder":"",
+ "field_type":"text",
+ "type":"1",
+ "sub_title":null,
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Third_party_check_done_on_prevailing_rent_in_the_area",
+ "answers": null,
+ "validations":[
+ ]
+ }]
+ }]
+
+ },{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Third_party_check_done_on_prevailing_rent_in_the_area",
+ "expression":"(String('Third_party_check_done_on_prevailing_rent_in_the_area') == String('No'))",
+ "value_keys":[
+ "Third_party_check_done_on_prevailing_rent_in_the_area"
+ ],
+ "questions":[
+ {
+ "question":"Why Third party check not done",
+ "question_key":"Why Third party check not done",
+ "place_holder":"",
+ "field_type":"text",
+ "type":"7",
+ "sub_title":null,
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Third_party_check_done_on_prevailing_rent_in_the_area",
+ "answers": null,
+ "validations":[
+ ]
+ }
+ ]
+ }]
+
+ }],
+ "is_repeatable": null,
+ "validations": [
+ ]
+ }
+
+ ]
+ }
\ No newline at end of file
diff --git a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/LFMP/Unconfirmed 207808.crdownload b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/LFMP/Unconfirmed 207808.crdownload
new file mode 100644
index 000000000..fcd273380
Binary files /dev/null and b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/LFMP/Unconfirmed 207808.crdownload differ
diff --git a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/LFMP/sample.json b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/LFMP/sample.json
new file mode 100644
index 000000000..76605dc37
--- /dev/null
+++ b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/LFMP/sample.json
@@ -0,0 +1 @@
+{"section_id":"2","section_name":"Address details","onsubmit":null,"questions":[{"question":"Address at which PD was initiated","question_key":"initiated_address","type":"7","disable":true,"field_width":"100","answers":null,"api_properties":null,"onchange_properties":null,"is_repeatable":null,"validations":[{"name":"required","isactive":"1","validator":"Validators.required","message":"Field Required","value":null}],"raw_validations":[{"name":"required","isactive":"1","validator":"Validators.required","message":"Field Required","value":null}]},{"question":"Is this the address where PD is done ?","question_key":"is_pd_done_on_initiated_address","type":"2","disable":true,"field_width":"45","onchange_properties":[{"purpose":"FORM_CTRL","form_controls":[{"insert_index":"is_pd_done_on_initiated_address","expression":"(String('is_pd_done_on_initiated_address') == String('No'))","value_keys":["is_pd_done_on_initiated_address"],"questions":[{"question":"Choose the actual PD address","question_key":"alternative_address","place_holder":"","field_type":"string","type":"3","field_width":"100","api_properties":{"api":"getSMCTempAddresses","api_method":"GET","params":{"pdid":"VAR_PD_ID"},"fields":["display","display"]},"onchange_properties":null,"is_repeatable":null,"is_subfield":"1","parent_question_key":"is_pd_done_on_initiated_address","answers":null,"validations":[{"name":"required","isactive":"1","validator":"Validators.required","message":"Field required","value":null}]}]}]}],"api_properties":null,"answers":[{"answer_id":"Yes","answer":"Yes"},{"answer_id":"No","answer":"No"}],"is_repeatable":null,"validations":[{"name":"required","isactive":"1","validator":"Validators.required","message":"Field Required","value":null}],"raw_validations":[{"name":"required","isactive":"1","validator":"Validators.required","message":"Field Required","value":null}]},{"question":"Type of PD address","question_key":"address_type","type":"3","disable":false,"field_width":"90","api_properties":{"api":"getListOfMaster","api_method":"POST","params":{"master_name":"ADDRESSTYPE"},"fields":["address_type_id","address_type"]},"answers":[{"answer_id":"10","answer":"Business Centre","is_others":"0"},{"answer_id":"2","answer":"Clinic","is_others":"0"},{"answer_id":"3","answer":"Factory","is_others":"0"},{"answer_id":"8","answer":"Industrial Shed","is_others":"0"},{"answer_id":"12","answer":"Office","is_others":"0"},{"answer_id":"6","answer":"Residence","is_others":"0"},{"answer_id":"7","answer":"Residence cum Office","is_others":"0"},{"answer_id":"11","answer":"Shared Office","is_others":"0"},{"answer_id":"5","answer":"Shop","is_others":"0"},{"answer_id":"4","answer":"Warehouse / Godown","is_others":"0"},{"answer_id":"9","answer":"Workshop","is_others":"0"},{"answer_id":"1","answer":"Others ","is_others":"1"}],"onchange_properties":[{"purpose":"FORM_CTRL","form_controls":[{"insert_index":"address_type","expression":"(String('address_type') == String('1'))","value_keys":["address_type"],"questions":[{"question":"Specify the Address Type","question_key":"address_type_others","place_holder":"","field_type":"string","type":"1","field_width":"100","api_properties":null,"onchange_properties":null,"is_repeatable":null,"is_subfield":"1","parent_question_key":"uom","answers":null,"validations":[{"name":"required","isactive":"1","validator":"Validators.required","message":"Field required","value":null}]}]}]}],"is_repeatable":null,"validations":[{"name":"required","isactive":"1","validator":"Validators.required","message":"Field Required","value":null}],"raw_validations":[{"name":"required","isactive":"1","validator":"Validators.required","message":"Field Required","value":null}]},{"question":"PD locality","question_key":"pd_locality","type":"3","disable":true,"field_width":"45","api_properties":{"api":"getListOfMaster","api_method":"POST","params":{"master_name":"LOCALITY"},"fields":["locality_id","locality_name"]},"answers":[{"answer_id":"2","answer":"Commercial (Office type) Area","is_others":"0"},{"answer_id":"7","answer":"Commercial (Shop type) Area","is_others":"0"},{"answer_id":"3","answer":"Industrial Area","is_others":"0"},{"answer_id":"4","answer":"Residential Area","is_others":"0"},{"answer_id":"6","answer":"Rural (Village) area","is_others":"0"},{"answer_id":"5","answer":"Mix Use Area","is_others":"1"},{"answer_id":"1","answer":"Others","is_others":"1"}],"onchange_properties":[{"purpose":"FORM_CTRL","form_controls":[{"insert_index":"pd_locality","expression":"(String('pd_locality').toLowerCase() == String('1'))","value_keys":["pd_locality"],"questions":[{"question":"Specify Locality","question_key":"locality_other","type":"1","field_width":"45","field_type":"string","api_properties":null,"answers":null,"onchange_properties":null,"is_repeatable":null,"validations":[]}]}]}],"is_repeatable":null,"validations":[{"name":"required","isactive":"1","validator":"Validators.required","message":"Field Required","value":null}],"raw_validations":[{"name":"required","isactive":"1","validator":"Validators.required","message":"Field Required","value":null}]},{"question":"Approach to PD location*","question_key":"pd_location","type":"3","disable":true,"field_width":"45","api_properties":{"api":"getListOfMaster","api_method":"POST","params":{"master_name":"PDLOCATIONAPPROACH"},"fields":["pd_location_approach_id","description"]},"answers":[{"answer_id":"1","answer":"Very Easy to locate & Reach","is_others":"0"},{"answer_id":"2","answer":"Easy to locate & Reach","is_others":"0"},{"answer_id":"3","answer":"Difficult to locate & Reach","is_others":"0"},{"answer_id":"4","answer":"Very Difficult to locate & Reach","is_others":"0"}],"onchange_properties":null,"is_repeatable":null,"validations":[{"name":"required","isactive":"1","validator":"Validators.required","message":"Field Required","value":null}],"raw_validations":[{"name":"required","isactive":"1","validator":"Validators.required","message":"Field Required","value":null}]},{"question":"Comment on locality","question_key":"comment_locality","type":"3","disable":true,"field_width":"25","api_properties":{"api":"getListOfMaster","api_method":"POST","params":{"master_name":"COMMENTSONLOCALITY"},"fields":["comments_on_locality_id","rating"]},"answers":[{"answer_id":"5","answer":"Excellent","is_others":"0"},{"answer_id":"2","answer":"Good","is_others":"0"},{"answer_id":"3","answer":"Poor","is_others":"0"},{"answer_id":"4","answer":"Very Poor","is_others":"0"}],"onchange_properties":null,"is_repeatable":null,"validations":[{"name":"required","isactive":"1","validator":"Validators.required","message":"Field Required","value":null}],"raw_validations":[{"name":"required","isactive":"1","validator":"Validators.required","message":"Field Required","value":null}]},{"question":"Estimated Area of the business","question_key":"business_estimated_area","type":"1","disable":true,"field_width":"30","field_type":"num","api_properties":null,"answers":null,"onchange_properties":null,"is_repeatable":null,"validations":[{"name":"required","isactive":"1","validator":"Validators.required","message":"Field Required","value":null}],"raw_validations":[{"name":"required","isactive":"1","validator":"Validators.required","message":"Field Required","value":null}]},{"question":"UOM","question_key":"uom","type":"8","disable":true,"field_width":"30","api_properties":null,"answers":[{"answer":"Acres","answer_id":"Acres"},{"answer":"Hectares","answer_id":"Hectares"},{"answer":"Square Feet","answer_id":"Square Feet"},{"answer":"Square Meters","answer_id":"Square Meters"},{"answer":"Square Yards","answer_id":"Square Yards"}],"onchange_properties":[{"purpose":"FORM_CTRL","form_controls":[{"insert_index":"uom","expression":"(String('uom') == String('1'))","value_keys":["uom"],"questions":[{"question":"Specify the UOM","question_key":"uom_specify","place_holder":"","field_type":"string","type":"1","field_width":"100","api_properties":null,"onchange_properties":null,"is_repeatable":null,"is_subfield":"1","parent_question_key":"uom","answers":null,"validations":[{"name":"required","isactive":"1","validator":"Validators.required","message":"Field required","value":null}]}]}]}],"is_repeatable":null,"validations":[{"name":"required","isactive":"1","validator":"Validators.required","message":"Field Required","value":null}],"raw_validations":[{"name":"required","isactive":"1","validator":"Validators.required","message":"Field Required","value":null}]},{"question_key":"common_remarks","question":"Remarks","place_holder":"Enter the text","type":"7","disable":true,"api_properties":null,"answers":null,"onchange_properties":null,"is_repeatable":null,"field_type":"string","field_width":"45","validations":[],"raw_validations":[]}]}
\ No newline at end of file
diff --git a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/LFMP/sample2.json b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/LFMP/sample2.json
new file mode 100644
index 000000000..625be28ce
--- /dev/null
+++ b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/LFMP/sample2.json
@@ -0,0 +1 @@
+{"section_id":"4","section_name":"General Business Information","onsubmit":null,"questions":[{"question":[{"question":"Name of the Company","question_key":"company_name","place_holder":"Enter text","type":"3","disable":false,"default_index_if_len_one":true,"api_properties":{"api":"getCompanyListForSMCList","api_method":"POST","params":{"records":{"pd_id":"VAR_PD_ID","random_string":"VAR_RANDOM_STRING"}},"fields":["company_id","borrower_name"]},"answers":null,"onchange_properties":null,"is_repeatable":null,"field_type":"string","validations":[{"name":"required","isactive":"1","validator":"Validators.required","message":"Company Name Required","value":null}]},{"question":"Type of Business Entity","question_key":"business_entity_type","type":"1","disable":false,"field_width":"45","answers":null,"api_properties":null,"onchange_properties":null,"is_repeatable":null,"validations":[{"name":"required","isactive":"1","validator":"Validators.required","message":"Field Required","value":null}]},{"question":"Type of Business activities","question_key":"select_business_activity_type","type":"1","disable":false,"field_width":"45","onchange_properties":null,"api_properties":null,"answers":null,"is_repeatable":null,"validations":[{"name":"required","isactive":"1","validator":"Validators.required","message":"Field Required","value":null}]},{"question":"Area of Sale","question_key":"area_of_sale","type":"3","disable":false,"field_width":"45","api_properties":null,"answers":[{"answer":"Within India","answer_id":"Within India"},{"answer":"Export","answer_id":"Export"},{"answer":"Both (within India and Export)","answer_id":"Both (within India and Export)"}],"onchange_properties":null,"is_repeatable":null,"validations":[{"name":"required","isactive":"1","validator":"Validators.required","message":"Field Required","value":null}]},{"question":"Is the business seasonal (Yes / No)","question_key":"seasonality","type":"2","disable":true,"field_width":"45","api_properties":null,"answers":[{"answer":"Yes","answer_id":"Yes"},{"answer":"No","answer_id":"No"}],"onchange_properties":[{"purpose":"FORM_CTRL","form_controls":[{"insert_index":"seasonality","expression":"(String('seasonality') == String('Yes'))","value_keys":["seasonality"],"questions":[{"question_key":"low_sale_month_reason","question":"Reason for Months in which sales/services is low?","place_holder":"Enter the text","type":"1","disable":false,"api_properties":null,"answers":null,"onchange_properties":null,"is_repeatable":null,"field_type":"string","is_subfield":"1","field_width":"45","parent_question_key":"seasonality","validations":[{"name":"required","isactive":"1","validator":"Validators.required","message":"Required","value":null}]},{"question_key":"low_sale_month","question":"Months in which sales/services is low?","place_holder":"","type":"4","disable":false,"api_properties":null,"answers":[{"answer_id":"January","answer":"January"},{"answer_id":"February","answer":"February"},{"answer_id":"March","answer":"March"},{"answer_id":"April","answer":"April"},{"answer_id":"May","answer":"May"},{"answer_id":"June","answer":"June"},{"answer_id":"July","answer":"July"},{"answer_id":"August","answer":"August"},{"answer_id":"September","answer":"September"},{"answer_id":"October","answer":"October"},{"answer_id":"November","answer":"November"},{"answer_id":"December","answer":"December"}],"onchange_properties":null,"is_repeatable":null,"field_type":"num","field_width":"45","is_subfield":"1","parent_question_key":"seasonality","validations":[{"name":"required","isactive":"1","validator":"Validators.required","message":"Required","value":null}]}]}]}],"is_repeatable":null,"validations":[{"name":"required","isactive":"1","validator":"Validators.required","message":"Field Required","value":null}]}],"is_repeatable":"1","group_title":"Details of General Business Information","group_key":"business_entity","disable":false},{"question_key":"common_remarks","question":"Remarks","place_holder":"Enter the text","type":"7","disable":false,"api_properties":null,"answers":null,"onchange_properties":null,"is_repeatable":null,"field_type":"string","field_width":"45","validations":[]}]}
\ No newline at end of file
diff --git a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/NBFCMFI.zip b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/NBFCMFI.zip
new file mode 100644
index 000000000..cf5fd5e4a
Binary files /dev/null and b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/NBFCMFI.zip differ
diff --git a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/NBFCMFI/1.json b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/NBFCMFI/1.json
new file mode 100644
index 000000000..5c6bcca14
--- /dev/null
+++ b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/NBFCMFI/1.json
@@ -0,0 +1,68 @@
+{
+ "section_id": "1",
+ "section_name": "General Information",
+ "onsubmit": null,
+ "questions": [
+ {
+ "question": "Name",
+ "question_key": "name",
+ "type": "1",
+ "field_width": "45",
+ "answers": null,
+ "api_properties": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": [
+ {
+ "name": "required",
+ "isactive": "1",
+ "validator": "Validators.required",
+ "message": "Field Required",
+ "value": null
+ }
+ ]
+ },
+ {
+ "question": "Loan amount ",
+ "question_key": "loan_amount",
+ "type": "1",
+ "field_width": "45",
+ "field_type": "numtoword",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": [
+
+ ]
+ },
+ {
+ "question": "Product",
+ "question_key": "product",
+ "type": "1",
+ "field_width": "45",
+ "field_type": "text",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": [
+
+ ]
+ },
+ {
+ "question": "Location",
+ "question_key": "location",
+ "type": "1",
+ "field_width": "45",
+ "field_type": "text",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": [
+
+ ]
+ }
+ ]
+}
\ No newline at end of file
diff --git a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/NBFCMFI/10.json b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/NBFCMFI/10.json
new file mode 100644
index 000000000..bc27a346f
--- /dev/null
+++ b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/NBFCMFI/10.json
@@ -0,0 +1,149 @@
+{
+ "section_id": "19",
+ "section_name": "Final remarks",
+ "onsubmit": null,
+ "questions": [
+ {
+ "question": "Customer Behaviour",
+ "question_key": "customer_behaviour",
+ "type": "3",
+ "field_width": "45",
+ "answers": null,
+ "api_properties": {
+ "api": "getListOfMaster",
+ "api_method": "POST",
+ "params": {
+ "master_name": "CUSTOMERBEHAVIOUR"
+ },
+ "fields": [
+ "customer_behaviour_id",
+ "description"
+ ]
+ },
+ "onchange_properties": [
+ {
+ "purpose": "FORM_CTRL",
+ "form_controls": [
+ {
+ "insert_index": "customer_behaviour",
+ "expression": "(String('customer_behaviour') == String('1'))",
+ "value_keys": [
+ "customer_behaviour"
+ ],
+ "questions": [
+ {
+ "question": "Specify Customer behaviour",
+ "question_key": "customer_behaviour_other",
+ "type": "1",
+ "field_width": "45",
+ "api_properties": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "is_subfield": "1",
+ "parent_question_key": "customer_behaviour",
+ "answers": null
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "is_repeatable": null
+ },
+ {
+ "question": "Credit Manager recommendation (Positive/negative/ refer to credit)",
+ "question_key": "pd_officer_recommendation",
+ "type": "7",
+ "field_width": "45",
+ "api_properties": {
+ "api": "getListOfMaster",
+ "api_method": "POST",
+ "params": {
+ "master_name": "PDOFFICERRECOMMENDATIONS"
+ },
+ "fields": [
+ "pdofficer_recommendation_id",
+ "pdofficer_recommendation"
+ ]
+ },
+ "answers": null,
+ "onchange_properties": [
+ {
+ "purpose": "FORM_CTRL",
+ "form_controls": [
+ {
+ "insert_index": "pd_officer_recommendation",
+ "expression": "(String('pd_officer_recommendation') == String('1'))",
+ "value_keys": [
+ "pd_officer_recommendation"
+ ],
+ "questions": [
+ {
+ "question": "Specify Credit Manager Recommendation",
+ "question_key": "pd_officer_recommendation_other",
+ "type": "7",
+ "field_width": "45",
+ "api_properties": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "is_subfield": "1",
+ "parent_question_key": "pd_officer_recommendation",
+ "answers": null
+ }
+ ]
+ },
+ {
+ "insert_index": "pd_officer_recommendation",
+ "expression": "(String('pd_officer_recommendation') != String('1')) && (String('pdofficer_recommendation') != String(''))",
+ "value_keys": [
+ "pd_officer_recommendation"
+ ],
+ "questions": [
+ {
+ "question": [
+ {
+ "question": "Reasons for marking PD status as Positive/negative/ refer to credit",
+ "question_key": "reason",
+ "type": "1",
+ "field_width": "100",
+ "api_properties": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "is_subfield": "1",
+ "parent_question_key": "pd_officer_recommendation",
+ "answers": null
+ }
+ ],
+ "is_repeatable": "1",
+ "group_title": "Remarks",
+ "group_title_shown": "0",
+ "group_key": "pd_officer_recommendation_remarks"
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "purpose": "question_label",
+ "expression": "(function () {let label= 'Reasons for marking PD status as ';('pd_officer_recommendation' == '2') ? label+= 'Positive' : ('pd_officer_recommendation' == '3') ? label+= 'Negative' : ('pd_officer_recommendation' == '4') ? label+= 'Refer to Credit' : label+= 'Positive/negative/ refer to credit';return label}())",
+ "value_keys": [
+ "pd_officer_recommendation"
+ ],
+ "insert_control": "reason",
+ "insert_group_key": "pd_officer_recommendation_remarks"
+ }
+ ],
+ "is_repeatable": null
+ },
+ {
+ "question": "Common Remarks",
+ "question_key": "final_form_remarks",
+ "place_holder": "Enter the remarks here",
+ "type": "7",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null
+ }
+ ]
+}
\ No newline at end of file
diff --git a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/NBFCMFI/2.json b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/NBFCMFI/2.json
new file mode 100644
index 000000000..af68b1614
--- /dev/null
+++ b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/NBFCMFI/2.json
@@ -0,0 +1,39 @@
+{
+ "section_id": "22",
+ "section_name": "Profile",
+ "onsubmit": null,
+ "questions": [
+ {
+ "question": "History & Vintage and Lineage ",
+ "question_key": "history_vintage",
+ "type": "7",
+ "field_width": "100",
+ "answers": null,
+ "api_properties": null,
+ "onchange_properties": null,
+ "is_repeatable": null
+ },
+ {
+ "question": " Primary shareholding , promoters and major equity partners",
+ "question_key": "primary_partners",
+ "type": "7",
+ "field_width": "45",
+ "field_type": "text",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null
+ },
+ {
+ "question": "The capital structure and details of the various investments vehicles ",
+ "question_key": "capital_details",
+ "type": "7",
+ "field_width": "45",
+ "field_type": "text",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null
+ }
+ ]
+}
\ No newline at end of file
diff --git a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/NBFCMFI/3.json b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/NBFCMFI/3.json
new file mode 100644
index 000000000..a4f79b53b
--- /dev/null
+++ b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/NBFCMFI/3.json
@@ -0,0 +1,72 @@
+{
+ "section_id": "23",
+ "section_name": "Size and Geographical Reach",
+ "onsubmit": null,
+ "questions": [
+ {
+ "question": "AUM ( off book & on book ) &e. Trend of Disbursement in last 2 quarters",
+ "question_key": "aum_book",
+ "type": "7",
+ "field_width": "100",
+ "answers": null,
+ "api_properties": null,
+ "onchange_properties": null,
+ "is_repeatable": null
+ },
+ {
+ "question": "States and geographical regions & Branches & geographical customer base",
+ "question_key": "geographical_details",
+ "type": "7",
+ "field_width": "45",
+ "field_type": "text",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null
+ },
+ {
+ "question": "Branches /employees / structure",
+ "question_key": "branches_employees",
+ "type": "7",
+ "field_width": "45",
+ "field_type": "text",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null
+ },
+ {
+ "question": "Portfolio concentration and Cuts to be discussed",
+ "question_key": "portfolio_concentration",
+ "type": "7",
+ "field_width": "45",
+ "field_type": "text",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null
+ },
+ {
+ "question": "Who are the competitors to the business",
+ "question_key": "business_competitors",
+ "type": "7",
+ "field_width": "45",
+ "field_type": "text",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null
+ },
+ {
+ "question": "Estimated Market Size of the Business& Market share",
+ "question_key": "estimated_market",
+ "type": "7",
+ "field_width": "45",
+ "field_type": "text",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null
+ }
+ ]
+}
\ No newline at end of file
diff --git a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/NBFCMFI/4.json b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/NBFCMFI/4.json
new file mode 100644
index 000000000..f417283e1
--- /dev/null
+++ b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/NBFCMFI/4.json
@@ -0,0 +1,94 @@
+{
+ "section_id": "24",
+ "section_name": "Product and Process",
+ "onsubmit": null,
+ "questions": [
+ {
+ "question": "Products",
+ "question_key": "products",
+ "type": "7",
+ "field_width": "45",
+ "answers": null,
+ "api_properties": null,
+ "onchange_properties": null,
+ "is_repeatable": null
+ },
+ {
+ "question": "Policies",
+ "question_key": "policies",
+ "type": "7",
+ "field_width": "45",
+ "field_type": "text",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null
+ },
+ {
+ "question": "Credit appraisal mechanism",
+ "question_key": "credit_appraisal",
+ "type": "7",
+ "field_width": "45",
+ "field_type": "text",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null
+ },
+ {
+ "question": "Technology and usage for acquisition and credit",
+ "question_key": "technology_credit",
+ "type": "7",
+ "field_width": "45",
+ "field_type": "text",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null
+ },
+ {
+ "question": " Collection policy and mechanism -Collection efficiency trends in last 12 months (CC/CD, TC/CD,TC/TD) any deviation to be discussed in detail",
+ "question_key": "collection_policy",
+ "type": "7",
+ "field_width": "100",
+ "field_type": "text",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null
+ },
+ {
+ "question": " Provisioning policy",
+ "question_key": "provisioning_policy",
+ "type": "7",
+ "field_width": "45",
+ "field_type": "text",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null
+ },
+ {
+ "question": "Restructuring policy",
+ "question_key": "restructuring_policy",
+ "type": "7",
+ "field_width": "45",
+ "field_type": "text",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null
+ },
+ {
+ "question": "Covid impact and policy",
+ "question_key": "covid_policy",
+ "type": "7",
+ "field_width": "45",
+ "field_type": "text",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null
+ }
+ ]
+}
\ No newline at end of file
diff --git a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/NBFCMFI/5.json b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/NBFCMFI/5.json
new file mode 100644
index 000000000..7f917e2e4
--- /dev/null
+++ b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/NBFCMFI/5.json
@@ -0,0 +1,61 @@
+{
+ "section_id": "25",
+ "section_name": "Portfolio Health",
+ "onsubmit": null,
+ "questions": [
+ {
+ "question": "Par own book /Par off book -d",
+ "question_key": "par_book",
+ "type": "7",
+ "field_width": "45",
+ "answers": null,
+ "api_properties": null,
+ "onchange_properties": null,
+ "is_repeatable": null
+ },
+ {
+ "question": "NPAs/Provisioning & resolution strategy",
+ "question_key": "provisioning_resolution",
+ "type": "7",
+ "field_width": "45",
+ "field_type": "text",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null
+ },
+ {
+ "question": "Strategy to manage flow as well as post moratorium stress",
+ "question_key": "post_morotorium",
+ "type": "7",
+ "field_width": "45",
+ "field_type": "text",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null
+ },
+ {
+ "question": "Strategy for non-paying customers",
+ "question_key": " non-paying_customers",
+ "type": "7",
+ "field_width": "45",
+ "field_type": "text",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null
+ },
+ {
+ "question": " PAR (Productwise)/Net NPAs/Write offs Movement of Bucket ,PAR 90+",
+ "question_key": "par",
+ "type": "7",
+ "field_width": "100",
+ "field_type": "text",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null
+ }
+ ]
+}
\ No newline at end of file
diff --git a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/NBFCMFI/6.json b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/NBFCMFI/6.json
new file mode 100644
index 000000000..859177cb1
--- /dev/null
+++ b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/NBFCMFI/6.json
@@ -0,0 +1,86 @@
+{
+ "section_id": "26",
+ "section_name": "Total Overall Debt/Equity Profile",
+ "onsubmit": null,
+ "questions": [
+ {
+ "question": "Types of debt structures and major debt providers",
+ "question_key": "dept_structures",
+ "type": "7",
+ "field_width": "45",
+ "answers": null,
+ "api_properties": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": [
+ {
+ "name": "required",
+ "isactive": "1",
+ "validator": "Validators.required",
+ "message": "Field Required",
+ "value": null
+ }
+ ]
+ },
+ {
+ "question": "Future plan for additional funding ",
+ "question_key": "future_plan",
+ "type": "7",
+ "field_width": "45",
+ "field_type": "text",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": [
+ {
+ "name": "required",
+ "isactive": "1",
+ "validator": "Validators.required",
+ "message": "Field Required",
+ "value": null
+ }
+ ]
+ },
+ {
+ "question": "Funding received during covid times including liquidity support from DFIs & Banks",
+ "question_key": "dfi_banks",
+ "type": "7",
+ "field_width": "45",
+ "field_type": "text",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": [
+ {
+ "name": "required",
+ "isactive": "1",
+ "validator": "Validators.required",
+ "message": "Field Required",
+ "value": null
+ }
+ ]
+ },
+ {
+ "question": "Fresh sanctions lined up in the present month and coming quarters",
+ "question_key": "fresh_sanctions",
+ "type": "7",
+ "field_width": "45",
+ "field_type": "text",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": [
+ {
+ "name": "required",
+ "isactive": "1",
+ "validator": "Validators.required",
+ "message": "Field Required",
+ "value": null
+ }
+ ]
+ }
+ ]
+}
\ No newline at end of file
diff --git a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/NBFCMFI/7.json b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/NBFCMFI/7.json
new file mode 100644
index 000000000..f4a9e42e4
--- /dev/null
+++ b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/NBFCMFI/7.json
@@ -0,0 +1,174 @@
+{
+ "section_id": "27",
+ "section_name": "Financial analysis",
+ "onsubmit": null,
+ "questions": [
+ {
+ "question": "CAR (Tier-1)/CAR (Tier-1 + Tier-2)",
+ "question_key": "car_type",
+ "type": "1",
+ "field_width": "45",
+ "answers": null,
+ "api_properties": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": [
+
+ ]
+ },
+ {
+ "question": "Leverage (D/E) (excluding Managed)",
+ "question_key": "leverage",
+ "type": "1",
+ "field_width": "45",
+ "field_type": "text",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": [
+
+ ]
+ },
+ {
+ "question": "ALM",
+ "question_key": "alm",
+ "type": "1",
+ "field_width": "45",
+ "field_type": "text",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": [
+
+ ]
+ },
+ {
+ "question": "Opex",
+ "question_key": "opex",
+ "type": "1",
+ "field_width": "45",
+ "field_type": "text",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": [
+
+ ]
+ },
+ {
+ "question": "NIM (%) - as per Audited B/S",
+ "question_key": "nim",
+ "type": "1",
+ "field_width": "100",
+ "field_type": "text",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": [
+
+ ]
+ },
+ {
+ "question": "Opex (% of Avg. Book)",
+ "question_key": "opex_average",
+ "type": "1",
+ "field_width": "45",
+ "field_type": "text",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": [
+
+ ]
+ },
+ {
+ "question": " Opex (% of NII)",
+ "question_key": "opex_nii",
+ "type": "1",
+ "field_width": "45",
+ "field_type": "text",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": [
+
+ ]
+ },
+ {
+ "question": "Return on Assets",
+ "question_key": "return_asset",
+ "type": "1",
+ "field_width": "45",
+ "field_type": "text",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": [
+
+ ]
+ },
+ {
+ "question": "Return on Equity",
+ "question_key": "return_equity",
+ "type": "1",
+ "field_width": "45",
+ "field_type": "text",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": [
+
+ ]
+ },
+ {
+ "question": " IRR (Derived)",
+ "question_key": "irr",
+ "type": "1",
+ "field_width": "45",
+ "field_type": "text",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": [
+
+ ]
+ },
+ {
+ "question": "Avg. Borrowing Cost (Derived)",
+ "question_key": "avg_borrowing",
+ "type": "1",
+ "field_width": "45",
+ "field_type": "text",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": [
+
+ ]
+ },
+ {
+ "question": "Spread (Derived)",
+ "question_key": "spread",
+ "type": "1",
+ "field_width": "45",
+ "field_type": "text",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": [
+
+ ]
+ }
+ ]
+}
\ No newline at end of file
diff --git a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/NBFCMFI/8.json b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/NBFCMFI/8.json
new file mode 100644
index 000000000..53b121905
--- /dev/null
+++ b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/NBFCMFI/8.json
@@ -0,0 +1,17 @@
+{
+ "section_id": "28",
+ "section_name": "Overall Plan of Action",
+ "onsubmit": null,
+ "questions": [
+ {
+ "question": "Future plan on expansion geographies wise , products and regions . Equity and debt structuring as well as dilution in future. Target book for the present quarter and YOY projections ",
+ "question_key": "future_plan",
+ "type": "7",
+ "field_width": "100",
+ "answers": null,
+ "api_properties": null,
+ "onchange_properties": null,
+ "is_repeatable": null
+ }
+ ]
+}
\ No newline at end of file
diff --git a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/NBFCMFI/9.json b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/NBFCMFI/9.json
new file mode 100644
index 000000000..f9eb92479
--- /dev/null
+++ b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/NBFCMFI/9.json
@@ -0,0 +1,149 @@
+{
+ "section_id": "29",
+ "section_name": "Validation Points vide Systems and Books at HQ and Branches",
+ "onsubmit": null,
+ "questions": [
+ {
+ "question": "Stock to be validated from system",
+ "question_key": "stock_validated",
+ "type": "1",
+ "field_width": "45",
+ "answers": null,
+ "api_properties": null,
+ "onchange_properties": null,
+ "is_repeatable": null
+ },
+ {
+ "question": "Collateral coverage for existing borrowing ( System Mapping to be checked)",
+ "question_key": "collateral_coverage",
+ "type": "7",
+ "field_width": "45",
+ "field_type": "text",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null
+ },
+ {
+ "question": "Collection efficiency and system flagging to be counterchecked and same with PAR cuts",
+ "question_key": "collection_efficiency",
+ "type": "1",
+ "field_width": "45",
+ "field_type": "text",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null
+ },
+ {
+ "question": "Sample check of loan dox, application form along with PAN for Active loan accounts",
+ "question_key": "loan_dox",
+ "type": "1",
+ "field_width": "45",
+ "field_type": "text",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null
+ },
+ {
+ "question": "Disbursement no to be checked from system",
+ "question_key": "disbursement",
+ "type": "1",
+ "field_width": "45",
+ "field_type": "text",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null
+ },
+ {
+ "question": "Top 20 exposure to be checked with data submitted",
+ "question_key": "top20_exposure",
+ "type": "7",
+ "field_width": "45",
+ "field_type": "text",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null
+ },
+ {
+ "question": "Sample Sanction letters to validate collateral cover stipulated for existing Borrowing",
+ "question_key": "sanction_letters",
+ "type": "1",
+ "field_width": "45",
+ "field_type": "text",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null
+ },
+ {
+ "question": "Provisioning /Write-off/NPA flagging to be counter checked",
+ "question_key": "provisioning",
+ "type": "7",
+ "field_width": "45",
+ "field_type": "text",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null
+ },
+ {
+ "question": "Restructuring of Loans in system on sample basis",
+ "question_key": "restructuring_loan",
+ "type": "1",
+ "field_width": "45",
+ "field_type": "text",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null
+ },
+ {
+ "question": "EMI cycle date in system",
+ "question_key": "emi_date",
+ "type": "1",
+ "field_width": "45",
+ "field_type": "text",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null
+ },
+ {
+ "question": "Cash and Bank ledger to be checked",
+ "question_key": "cash_checked",
+ "type": "1",
+ "field_width": "45",
+ "field_type": "text",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null
+ },
+ {
+ "question": "Free FD details to be taken and validated from Accounting system",
+ "question_key": "fd_details",
+ "type": "7",
+ "field_width": "45",
+ "field_type": "text",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null
+ },
+ {
+ "question": "Application/Systems used for Boarding /Loan management",
+ "question_key": "loan_management",
+ "type": "1",
+ "field_width": "45",
+ "field_type": "text",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null
+ }
+ ]
+}
\ No newline at end of file
diff --git a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/WCTL/1.json b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/WCTL/1.json
new file mode 100644
index 000000000..ec14e8c47
--- /dev/null
+++ b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/WCTL/1.json
@@ -0,0 +1,217 @@
+{
+ "section_id":"1",
+ "section_name":"Borrower & Guarantor Details",
+ "onsubmit":null,
+ "questions":[
+ {
+ "question":[{
+ "question":"Borrower Type",
+ "question_key":"borrower_type",
+ "type":"1",
+ "field_width":"100",
+ "answers":null,
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Name",
+ "question_key":"borrower_name",
+ "type":"1",
+ "field_width":"100",
+ "onchange_properties":null,
+ "api_properties":null,
+ "answers":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Entity Type",
+ "question_key":"entity_type",
+ "type":"1",
+ "field_width":"100",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":[{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"relationship",
+ "expression":"(String('entity_type').toLowerCase() == String('individual'))",
+ "value_keys":[
+ "entity_type"
+ ],
+ "questions":[
+ {
+ "question":"Met / Not Met",
+ "question_key":"borrower_met",
+ "type":"2",
+ "field_width":"20",
+
+ "api_properties":null,
+ "answers":[
+ {
+ "answer_id":"Yes",
+ "answer":"Yes"
+ },
+ {
+ "answer_id":"No",
+ "answer":"No"
+ }
+ ],
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "purpose":"question_label",
+ "expression":"(function () {let label= '';(String('entity_type').toLowerCase().includes('individual')) ? label= 'Number of years the borrower has been in this business.' : label = 'Number of years for which the business has been running';return label}())",
+ "value_keys":[
+ "entity_type"
+ ],
+ "insert_control":"numbers_of_years_business_running"
+ }],
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Designation",
+ "question_key":"designation",
+ "type":"1",
+ "field_width":"100",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Relationship to",
+ "question_key":"relationship_to",
+ "type":"1",
+ "field_width":"100",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Relationship",
+ "question_key":"relationship",
+ "type":"1",
+ "field_width":"100",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ },
+
+ {
+ "question":"Age",
+ "question_key":"borrower_age",
+ "type":"1",
+ "field_type":"num",
+ "field_width":"50",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Numbers of years for which the business has been running",
+ "question_key":"numbers_of_years_business_running",
+ "type":"1",
+ "field_width":"45",
+ "field_type":"num",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ }
+ ],
+ "is_repeatable":"1",
+ "group_key":"borrower_details",
+ "group_title":"Borrower Details"}
+ ]
+}
diff --git a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/WCTL/10.json b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/WCTL/10.json
new file mode 100644
index 000000000..9ee4a9b08
--- /dev/null
+++ b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/WCTL/10.json
@@ -0,0 +1,721 @@
+{
+ "section_id": "10",
+ "section_name": "Financial Information",
+ "onsubmit": [
+ {
+ "expression": "(function (){let sum_val=null;let ques_key=[];if(!control || control == undefined || control == null){return true};control.forEach(ques_obj=>{ques_key.push(ques_obj[submitProperty.key_name])});console.log('none',ques_key);return new Set(ques_key).size === ques_key.length}())",
+ "group_key": "financial_info",
+ "key_name": "fy",
+ "msg": "Financial Year already entered earlier"
+ }
+ ],
+ "questions": [
+ {
+ "question":"Is the Financial information available?",
+ "question_key":"financial_info_available",
+ "type":"2",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"financial_info_available",
+ "expression":"(String('financial_info_available') && String('financial_info_available').toLowerCase() == String('yes'))",
+ "value_keys":[
+ "financial_info_available"
+ ],
+ "questions":[
+ {
+ "question": "Net Profit / (Net Loss) (Rs)",
+ "question_key": "net_profit_rs",
+ "place_holder": "Enter the text",
+ "type": "1",
+ "field_width": "45",
+ "api_properties": null,
+ "answers": null,
+ "is_repeatable": null,
+ "field_type": "numtoword",
+ "validations": [
+
+ ],
+ "onchange_properties": [
+ {
+ "purpose": "answer_value",
+ "expression": "((Number(net_profit_rs)/Number(sales_amount))*100).toFixed(2)",
+ "value_keys": [
+ "sales_amount",
+ "net_profit_rs"
+ ],
+ "insert_control": "net_profit_to_sales_percent"
+ }
+ ]
+ },
+ {
+ "question": "Net Profit or (Net Loss) to Sales % ",
+ "question_key": "net_profit_to_sales_percent",
+ "place_holder": "Enter number",
+ "type": "1",
+ "field_width": "45",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": [
+ {
+ "purpose": "answer_value",
+ "expression": "(Number(sales_amount)*Number(net_profit_to_sales_percent))/100",
+ "value_keys": [
+ "sales_amount",
+ "net_profit_to_sales_percent"
+ ],
+ "insert_control": "net_profit_rs"
+ }
+ ],
+ "is_repeatable": null,
+ "field_type": "num",
+ "validations": [
+
+ {
+ "name": "max",
+ "validator": "100",
+ "isactive": "1",
+ "message": "Number must be less than 100",
+ "value": null
+ }
+ ]
+ },
+ {
+ "question": "Sales / Revenue (Rs)",
+ "sub_title": "Particulars of Financials for Latest Year as per person met during PD visit",
+ "question_key": "sales_amount",
+ "place_holder": "Enter text",
+ "type": "1",
+ "field_width": "100",
+ "field_type": "numtoword",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": [
+ {
+ "purpose": "answer_value",
+ "expression": "(function (){let final_value; Number(net_profit_to_sales_percent) ? final_value = (Number(sales_amount)*Number(net_profit_to_sales_percent))/100 : '';return final_value}())",
+ "value_keys": [
+ "sales_amount",
+ "net_profit_to_sales_percent"
+ ],
+ "insert_control": "net_profit_rs"
+ },
+ {
+ "purpose": "answer_value",
+ "expression": "(function (){let final_value; Number(net_profit_rs) ? final_value = (Number(net_profit_rs)/Number(sales_amount))*100 : '';return final_value.toFixed(2)}())",
+ "value_keys": [
+ "sales_amount",
+ "net_profit_rs"
+ ],
+ "insert_control": "net_profit_to_sales_percent"
+ }
+ ],
+ "is_repeatable": null,
+ "validations": [
+
+ ]
+ },
+ {
+ "question": "Does the business have any working capital facility from any lender other than Moneywise?",
+ "question_key": "is_any_other_working_captial_facility",
+ "type": "2",
+ "field_width": "45",
+ "answers": [
+ {
+ "answer": "Yes",
+ "answer_id": "Yes"
+ },
+ {
+ "answer": "No",
+ "answer_id": "No"
+ }
+ ],
+ "api_properties": null,
+ "onchange_properties": [
+ {
+ "purpose": "FORM_CTRL",
+ "form_controls": [
+ {
+ "insert_index": "is_any_other_working_captial_facility",
+ "expression": "(String('is_any_other_working_captial_facility') === String('Yes'))",
+ "value_keys": [
+ "is_any_other_working_captial_facility"
+ ],
+ "questions": [
+ {
+ "question": "Details of above facilities need to be entered",
+ "question_key": "facility_details_specify",
+ "type": "7",
+ "placeholder": "Enter the text",
+ "answers": null,
+ "api_properties": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "is_subfield": "1",
+ "parent_question_key": "is_any_other_working_captial_facility",
+ "validations": [
+
+ ]
+ },
+ {
+ "question": "Facility details i.e. Letter of Credit/ Bank guarantee, CC limit etc.",
+ "question_key": "facility_details_other_lender",
+ "type": "3",
+ "field_width": "45",
+ "answers": [
+ {
+ "answer": "Letter of Credit",
+ "answer_id": "Letter of Credit"
+ },
+ {
+ "answer": "Bank guarantee",
+ "answer_id": "Bank guarantee"
+ },
+ {
+ "answer": "CC limit",
+ "answer_id": "CC limit"
+ },
+ {
+ "answer": "Others",
+ "answer_id": "Others"
+ }
+ ],
+ "api_properties": null,
+ "onchange_properties": [
+ {
+ "purpose": "FORM_CTRL",
+ "form_controls": [
+ {
+ "insert_index": "facility_details_other_lender",
+ "expression": "(String('facility_details_other_lender').toLowerCase() == String('others'))",
+ "value_keys": [
+ "facility_details_other_lender"
+ ],
+ "questions": [
+ {
+ "question": "Specify Facility details",
+ "question_key": "facility_details_other",
+ "type": "1",
+ "field_width": "45",
+ "field_type": "string",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "is_subfield": "1",
+ "parent_question_key": "facility_details_other_lender",
+ "validations": []
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "is_repeatable": null,
+ "is_subfield": "1",
+ "parent_question_key": "is_any_other_working_captial_facility",
+ "validations": [
+
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "is_repeatable": null,
+ "validations": [
+
+ ]
+ },
+ {
+ "question": "Increase / Decrease in Turnover for Broken Period %",
+ "question_key": "broken_period_turnover_percent",
+ "type": "1",
+ "field_width": "45",
+ "answers": null,
+ "api_properties": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "field_type": "num",
+ "validations": [
+
+ ]
+ },
+ {
+ "question": "Turnover for Broken Period in PY (Rs)",
+ "question_key": "broken_period_turnover_py",
+ "type": "1",
+ "field_width": "45",
+ "answers": null,
+ "api_properties": null,
+ "onchange_properties": [
+ {
+ "purpose": "answer_value",
+ "expression": "(((Number(broken_period_turnover_cy)-Number(broken_period_turnover_py))/Number(broken_period_turnover_cy))*100).toFixed(2)",
+ "value_keys": [
+ "broken_period_turnover_py",
+ "broken_period_turnover_cy"
+ ],
+ "insert_control": "broken_period_turnover_percent"
+ }
+ ],
+ "is_repeatable": null,
+ "field_type": "numtoword",
+ "validations": [
+
+ ]
+ },
+ {
+ "question": "Turnover for Broken Period in CY (Rs)",
+ "question_key": "broken_period_turnover_cy",
+ "type": "1",
+ "field_width": "45",
+ "answers": null,
+ "api_properties": null,
+ "onchange_properties": [
+ {
+ "purpose": "answer_value",
+ "expression": "(((Number(broken_period_turnover_cy)-Number(broken_period_turnover_py))/Number(broken_period_turnover_cy))*100).toFixed(2)",
+ "value_keys": [
+ "broken_period_turnover_py",
+ "broken_period_turnover_cy"
+ ],
+ "insert_control": "broken_period_turnover_percent"
+ }
+ ],
+ "is_repeatable": null,
+ "field_type": "numtoword",
+ "validations": [
+
+ ]
+ },
+ {
+ "question": "No of Months",
+ "question_key": "broken_period_no_of_months",
+ "type": "1",
+ "field_width": "45",
+ "answers": null,
+ "api_properties": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "field_type": "num",
+ "validations": [
+
+ ]
+ },
+ {
+ "question": "Broken Period starting to (Date)",
+ "question_key": "broken_period_to_month",
+ "type": "1",
+ "place_holder": "DD-MM-YYYY (Eg 03-12-2020)",
+ "field_width": "45",
+ "answers": null,
+ "api_properties": null,
+ "onchange_properties": [
+ {
+ "purpose": "answer_value",
+ "expression": "(function (){let final_value = ''; if(String('broken_period_to_month') && String('broken_period_from_month')) {let from_date = new Date((String('broken_period_from_month')).split('-').reverse().join('-'));let to_date = new Date((String('broken_period_to_month')).split('-').reverse().join('-'));console.log(to_date);if(!from_date || !to_date || !from_date instanceof Date || !to_date instanceof Date || isNaN(from_date) || isNaN(to_date)) {final_value = '';return;}final_value = to_date.getMonth() - from_date.getMonth() + (12 * (to_date.getFullYear() - from_date.getFullYear()))};return final_value}())",
+ "value_keys": [
+ "broken_period_to_month",
+ "broken_period_from_month"
+ ],
+ "insert_control": "broken_period_no_of_months"
+ }
+ ],
+ "is_repeatable": null,
+ "field_type": "string",
+ "validations": [
+
+ ]
+ },
+ {
+ "question": "Broken Period starting from (Date)",
+ "question_key": "broken_period_from_month",
+ "type": "1",
+ "field_width": "45",
+ "place_holder": "DD-MM-YYYY (Eg 05-02-2020)",
+ "answers": null,
+ "api_properties": null,
+ "onchange_properties": [
+ {
+ "purpose": "answer_value",
+ "expression": "(function (){let final_value = ''; if(String('broken_period_to_month') && String('broken_period_from_month')) {let from_date = new Date((String('broken_period_from_month')).split('-').reverse().join('-'));let to_date = new Date((String('broken_period_to_month')).split('-').reverse().join('-'));console.log(to_date);if(!from_date || !to_date || !from_date instanceof Date || !to_date instanceof Date || isNaN(from_date) || isNaN(to_date)) {final_value = '';return;}final_value = to_date.getMonth() - from_date.getMonth() + (12 * (to_date.getFullYear() - from_date.getFullYear()))};return final_value}())",
+ "value_keys": [
+ "broken_period_to_month",
+ "broken_period_from_month"
+ ],
+ "insert_control": "broken_period_no_of_months"
+ }
+ ],
+ "is_repeatable": null,
+ "field_type": "string",
+ "validations": [
+
+ ]
+ },
+ {
+ "question": "Inventory Days as per CM Discussion",
+ "question_key": "inventory_days_cm",
+ "type": "1",
+ "field_width": "45",
+ "answers": null,
+ "api_properties": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "field_type": "num",
+ "validations": [
+
+ ]
+ },
+ {
+ "question": "Creditor Days as per CM Discussion",
+ "question_key": "creditor_days_cm",
+ "type": "1",
+ "field_width": "45",
+ "answers": null,
+ "api_properties": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "field_type": "num",
+ "validations": [
+
+ ]
+ },
+ {
+ "question": "Debtor Days as per CM Discussion",
+ "question_key": "debtor_days_cm",
+ "type": "1",
+ "field_width": "45",
+ "answers": null,
+ "api_properties": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "field_type": "num",
+ "validations": [
+
+ ]
+ },
+ {
+ "question": [
+ {
+ "question": "Enter FY",
+ "question_key": "fy",
+ "type": "3",
+ "field_width": "45",
+ "answers": [],
+ "answer_value": "GET_FY_YEARS",
+ "api_properties": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "field_type": "num",
+ "validations": [
+ ]
+ },
+ {
+ "question": "Sales / Revenue (Rs)",
+ "question_key": "sales_revenue",
+ "type": "1",
+ "field_width": "45",
+ "answers": null,
+ "api_properties": null,
+ "onchange_properties": [
+ {
+ "purpose": "answer_value",
+ "expression": "((Number(net_profit)/Number(sales_revenue))*100).toFixed(2)",
+ "value_keys": [
+ "sales_revenue",
+ "net_profit"
+ ],
+ "insert_control": "net_profit_sales_percent"
+ },
+ {
+ "purpose": "answer_value_arr",
+ "arr_include": [
+ "py",
+ "now"
+ ],
+ "expression": "((Number(sales_revenue[now])-Number(sales_revenue[py]))/Number(sales_revenue[py]))*100",
+ "value_keys": [
+ "sales_revenue"
+ ],
+ "insert_control": "sales_py"
+ },
+ {
+ "purpose": "answer_value_arr",
+ "arr_include": [
+ "py",
+ "now"
+ ],
+ "expression": "(((Number(net_profit_sales_percent[now])-Number(net_profit_sales_percent[py]))/Number(net_profit_sales_percent[py]))*100).toFixed(2)",
+ "value_keys": [
+ "net_profit_sales_percent"
+ ],
+ "insert_control": "netprofit_py_percent"
+ }
+ ],
+ "is_repeatable": null,
+ "field_type": "numtoword",
+ "validations": [
+
+ ]
+ },
+ {
+ "question": "Net Profit / (Net Loss) (Rs) ",
+ "question_key": "net_profit",
+ "type": "1",
+ "field_width": "45",
+ "answers": null,
+ "api_properties": null,
+ "onchange_properties": [
+ {
+ "purpose": "answer_value",
+ "expression": "((Number(net_profit)/Number(sales_revenue))*100).toFixed(2)",
+ "value_keys": [
+ "sales_revenue",
+ "net_profit"
+ ],
+ "insert_control": "net_profit_sales_percent"
+ },
+ {
+ "purpose": "answer_value_arr",
+ "arr_include": [
+ "py",
+ "now"
+ ],
+ "expression": "((Number(net_profit[now])-Number(net_profit[py]))/Number(net_profit[py]))*100",
+ "value_keys": [
+ "net_profit"
+ ],
+ "insert_control": "netprofit_py"
+ },
+ {
+ "purpose": "answer_value_arr",
+ "arr_include": [
+ "py",
+ "now"
+ ],
+ "expression": "(((Number(net_profit_sales_percent[now])-Number(net_profit_sales_percent[py]))/Number(net_profit_sales_percent[py]))*100).toFixed(2)",
+ "value_keys": [
+ "net_profit_sales_percent"
+ ],
+ "insert_control": "netprofit_py_percent"
+ }
+ ],
+ "is_repeatable": null,
+ "field_type": "numtoword",
+ "validations": [
+
+ ]
+ },
+ {
+ "question": "Net Profit or (Net Loss) to Sales % ",
+ "question_key": "net_profit_sales_percent",
+ "type": "1",
+ "is_disabled": "1",
+ "field_width": "45",
+ "answers": null,
+ "api_properties": null,
+ "onchange_properties": [
+ {
+ "purpose": "answer_value_arr",
+ "arr_include": [
+ "py",
+ "now"
+ ],
+ "expression": "(((Number(net_profit_sales_percent[now])-Number(net_profit_sales_percent[py]))/Number(net_profit_sales_percent[py]))*100).toFixed(2)",
+ "value_keys": [
+ "net_profit_sales_percent"
+ ],
+ "insert_control": "netprofit_py_percent"
+ }
+ ],
+ "is_repeatable": null,
+ "field_type": "num",
+ "validations": [
+
+ ]
+ },
+ {
+ "question": "% Variation in Sales over PY",
+ "question_key": "sales_py",
+ "type": "1",
+ "is_disabled": "1",
+ "field_width": "45",
+ "answers": null,
+ "api_properties": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "field_type": "num",
+ "validations": [
+
+ ]
+ },
+ {
+ "question": "% Variation in Net Profit over PY",
+ "question_key": "netprofit_py",
+ "type": "1",
+ "is_disabled": "1",
+ "field_width": "45",
+ "answers": null,
+ "api_properties": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "field_type": "num",
+ "validations": [
+
+ ]
+ },
+ {
+ "question": "Variation in Net Profit % over PY",
+ "question_key": "netprofit_py_percent",
+ "type": "1",
+ "is_disabled": "1",
+ "field_width": "45",
+ "answers": null,
+ "api_properties": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "field_type": "num",
+ "validations": [
+
+ ]
+ },
+ {
+ "question": "Debtor Days as per CET",
+ "sub_title": "In Case of credit sales, what is the average no. of days taken to receive the money?",
+ "question_key": "debtor_days_cet",
+ "type": "1",
+ "field_width": "100",
+ "answers": null,
+ "api_properties": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "field_type": "num",
+ "validations": [
+
+ ]
+ },
+ {
+ "question": "Creditor Days as per CET",
+ "sub_title": "In Case of credit purchases, what is the average no. of days taken to pay the money?",
+ "question_key": "creditor_days_cet",
+ "type": "1",
+ "field_width": "100",
+ "answers": null,
+ "api_properties": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "field_type": "num",
+ "validations": [
+
+ ]
+ },
+ {
+ "question": "Inventory Days as per CET",
+ "sub_title": "What is the average no. of days for which stock lies unsold during the year?",
+ "question_key": "inventory_days_cet",
+ "type": "1",
+ "field_width": "100",
+ "answers": null,
+ "api_properties": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "field_type": "num",
+ "validations": [
+
+ ]
+ }
+ ],
+ "is_repeatable": "1",
+ "group_key": "financial_info",
+ "group_title": "Financial Information"
+ },
+ {
+ "question":"Name of the Company",
+ "question_key":"company_name",
+ "place_holder":"Enter text",
+ "type":"3",
+ "api_properties":{
+ "api":"getCompanyListForSMCList",
+ "api_method":"POST",
+ "params":{"records":{
+ "pd_id":"VAR_PD_ID",
+ "random_string":"VAR_RANDOM_STRING"
+ }},
+ "fields":[
+ "company_id",
+ "borrower_name"
+ ]
+ },
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Company Name Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question": "Number of financial years for which we have financials",
+ "question_key": "no_of_financial_years",
+ "place_holder": "Enter the number",
+ "type": "1",
+ "field_width": "45",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "field_type": "num",
+ "validations": [
+ {
+ "name": "pattern",
+ "isactive": "1",
+ "validator": "[0-9]*",
+ "message": "Numeric only ",
+ "value": null
+ }
+ ]
+ }
+ ]
+ }]
+ }],
+ "is_repeatable":null,
+ "answers":[{
+ "answer":"Yes",
+ "answer_id":"yes"
+ },
+ {
+ "answer":"No",
+ "answer_id":"no"
+ }],
+ "validations":[
+
+ ]
+ },
+
+ {
+ "question_key": "common_remarks",
+ "question": "Remarks",
+ "place_holder": "Enter the text",
+ "type": "7",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "field_type": "string",
+ "field_width": "45",
+ "validations": []
+ }
+ ]
+}
\ No newline at end of file
diff --git a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/WCTL/11.json b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/WCTL/11.json
new file mode 100644
index 000000000..d29c657c2
--- /dev/null
+++ b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/WCTL/11.json
@@ -0,0 +1,406 @@
+{
+ "section_id":"11",
+ "section_name":"Supplier details",
+ "onsubmit":null,
+ "questions":[
+ {
+ "question":"Is the Supplier information available?",
+ "question_key":"supplier_info_available",
+ "type":"2",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"supplier_info_available",
+ "expression":"(String('supplier_info_available') == String('No'))",
+ "value_keys":[
+ "supplier_info_available"
+ ],
+ "questions":[
+ { "question":"Reason",
+ "question_key":"supplier_not_available_reason",
+ "type":"7",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"supplier_info_available",
+ "answers":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field required",
+ "value":null
+ }
+ ]
+ } ] } ] },
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"supplier_info_available",
+ "expression":"(String('supplier_info_available') == String('Yes'))",
+ "value_keys":[
+ "supplier_info_available"
+ ],
+ "questions":[
+ {
+ "question":[{
+ "question":"Raw Material Name/ Trading Product Name/ Service Name",
+ "question_key":"provider_name",
+ "type":"1",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"supplier_info_available",
+ "answers":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Supplier Name",
+ "question_key":"supplier_name",
+ "type":"1",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"supplier_info_available",
+ "answers":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Contact Person name",
+ "question_key":"contact_person_name",
+ "type":"1",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"supplier_info_available",
+ "answers":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Contact Person Designation",
+ "question_key":"contact_person_designation",
+ "type":"8",
+ "field_width":"100",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"COMPANYRELATIONSHIPS"
+ },
+ "fields":[
+ "company_relationship_id",
+ "name"
+ ]
+ },
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"supplier_info_available",
+ "answers":null,
+ "validations":[
+ ]
+ },
+ {
+ "question":"Contact Person Mobile Number",
+ "question_key":"contact_person_mobile_no",
+ "type":"1",
+ "field_type":"num",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"supplier_info_available",
+ "answers":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field required",
+ "value":null
+ },
+ {
+ "name":"pattern",
+ "isactive":"1",
+ "validator":"[0-9]{10,12}",
+ "message":"Mobile number should be 10-12 digit",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"STD Code",
+ "sub_title":"Contact Person Landline number",
+ "question_key":"person_stdcode",
+ "type":"1",
+ "field_type":"num",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"supplier_info_available",
+ "answers":null,
+ "validations":[
+ {
+ "name":"pattern",
+ "isactive":"1",
+ "validator":"[0-9]{3,5}",
+ "message":"Maximum 5 digit allowed",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Contact Person Landline number",
+ "question_key":"person_landline",
+ "type":"1",
+ "field_type":"num",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"supplier_info_available",
+ "answers":null,
+ "validations":[
+ {
+ "name":"pattern",
+ "isactive":"1",
+ "validator":"[0-9]{6,8}",
+ "message":"Maximum 8 digit allowed",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Payment Terms",
+ "question_key":"payment_type",
+ "type":"3",
+ "field_width":"100",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"PAYMENTMODE"
+ },
+ "fields":[
+ "id",
+ "name"
+ ]
+ },
+ "onchange_properties":[{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"payment_type",
+ "expression":"(String('payment_type') == String('3'))",
+ "value_keys":[
+ "payment_type"
+ ],
+ "questions":[
+ {
+ "question":"No. of credit period provided by supplier",
+ "question_key":"credit_period_no",
+ "type":"1",
+ "field_type":"num",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"payment_type",
+ "answers":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"What % of total purchases are done on credit?",
+ "question_key":"credit_total_purchase",
+ "type":"1",
+ "field_type":"num",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"payment_type",
+ "answers":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field required",
+ "value":null
+ },
+ {
+ "name":"max",
+ "isactive":"1",
+ "validator":"100",
+ "message":"Percentage should lower or equal to '100'",
+ "value":null
+ }
+ ]
+ }
+
+ ]}]}],
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"payment_type",
+ "answers":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Payment Mode",
+ "question_key":"payment_mode",
+ "type":"3",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"supplier_info_available",
+ "answers":[
+ {
+ "answer_id":"Payment made in Cash",
+ "answer":"Payment made in Cash"
+ },
+ {
+ "answer_id":"Payment made through Banking channels",
+ "answer":"Payment made through Banking channels"
+ },
+ {
+ "answer_id":"Payment made through Cash and Banking channels",
+ "answer":"Payment made through Cash and Banking channels"
+ }
+ ],
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Name of the Company",
+ "question_key":"company_name",
+ "place_holder":"Enter text",
+ "type":"3",
+ "api_properties":{
+ "api":"getCompanyListForSMCList",
+ "api_method":"POST",
+ "params":{"records":{
+ "pd_id":"VAR_PD_ID",
+ "random_string":"VAR_RANDOM_STRING"
+ }},
+ "fields":[
+ "company_id",
+ "borrower_name"
+ ]
+ },
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Company Name Required",
+ "value":null
+ }
+ ]
+ }
+ ],
+ "is_repeatable":"1",
+ "group_title":"Supplier Details",
+ "group_key":"supplier_details"
+ }
+
+ ]
+ }
+ ]
+ }],
+ "is_repeatable":null,
+ "answers":[{
+ "answer":"Yes",
+ "answer_id":"Yes"
+ },
+ {
+ "answer":"No",
+ "answer_id":"No"
+ }],
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field required",
+ "value":null
+ }
+ ]
+ }
+
+
+ ]
+ }
+
\ No newline at end of file
diff --git a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/WCTL/12.json b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/WCTL/12.json
new file mode 100644
index 000000000..f77687cfd
--- /dev/null
+++ b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/WCTL/12.json
@@ -0,0 +1,406 @@
+{
+ "section_id":"12",
+ "section_name":"Clients details",
+ "onsubmit":null,
+ "questions":[
+ {
+ "question":"Is the Client information available?",
+ "question_key":"client_info_available",
+ "type":"2",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"client_info_available",
+ "expression":"(String('client_info_available') == String('No'))",
+ "value_keys":[
+ "client_info_available"
+ ],
+ "questions":[
+ { "question":"Reason",
+ "question_key":"client_not_available_reason",
+ "type":"7",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"client_info_available",
+ "answers":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field required",
+ "value":null
+ }
+ ]
+ } ] } ] },
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"client_info_available",
+ "expression":"(String('client_info_available') == String('Yes'))",
+ "value_keys":[
+ "client_info_available"
+ ],
+ "questions":[
+ {
+ "question":[{
+ "question":"Trading Product/Service/Manufacturing Product name",
+ "question_key":"provider_name",
+ "type":"1",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"client_info_available",
+ "answers":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Client Name",
+ "question_key":"client_name",
+ "type":"1",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"client_info_available",
+ "answers":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Contact Person name",
+ "question_key":"contact_person_name",
+ "type":"1",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"client_info_available",
+ "answers":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Contact Person Designation",
+ "question_key":"contact_person_designation",
+ "type":"8",
+ "field_width":"100",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"COMPANYRELATIONSHIPS"
+ },
+ "fields":[
+ "company_relationship_id",
+ "name"
+ ]
+ },
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"client_info_available",
+ "answers":null,
+ "validations":[
+ ]
+ },
+ {
+ "question":"Contact Person Mobile Number",
+ "question_key":"contact_person_mobile_no",
+ "type":"1",
+ "field_type":"num",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"client_info_available",
+ "answers":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field required",
+ "value":null
+ },
+ {
+ "name":"pattern",
+ "isactive":"1",
+ "validator":"[0-9]{10,12}",
+ "message":"Mobile number should be 10-12 digit",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"STD Code",
+ "sub_title":"Contact Person Landline number",
+ "question_key":"person_stdcode",
+ "type":"1",
+ "field_type":"num",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"client_info_available",
+ "answers":null,
+ "validations":[
+ {
+ "name":"pattern",
+ "isactive":"1",
+ "validator":"[0-9]{3,5}",
+ "message":"Maximum 5 digit allowed",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Contact Person Landline number",
+ "question_key":"person_landline",
+ "type":"1",
+ "field_type":"num",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"client_info_available",
+ "answers":null,
+ "validations":[
+ {
+ "name":"pattern",
+ "isactive":"1",
+ "validator":"[0-9]{6,8}",
+ "message":"Maximum 8 digit allowed",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Payment Terms",
+ "question_key":"payment_type",
+ "type":"3",
+ "field_width":"100",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"PAYMENTMODE"
+ },
+ "fields":[
+ "id",
+ "name"
+ ]
+ },
+ "onchange_properties":[{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"payment_type",
+ "expression":"(String('payment_type') == String('3'))",
+ "value_keys":[
+ "payment_type"
+ ],
+ "questions":[
+ {
+ "question":"No. of credit period provided by client",
+ "question_key":"credit_period_no",
+ "type":"1",
+ "field_type":"num",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"payment_type",
+ "answers":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"What % of total purchases are done on credit?",
+ "question_key":"credit_total_purchase",
+ "type":"1",
+ "field_type":"num",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"payment_type",
+ "answers":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field required",
+ "value":null
+ },
+ {
+ "name":"max",
+ "isactive":"1",
+ "validator":"100",
+ "message":"Percentage should lower or equal to '100'",
+ "value":null
+ }
+ ]
+ }
+
+ ]}]}],
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"payment_type",
+ "answers":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Payment Mode",
+ "question_key":"payment_mode",
+ "type":"3",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"client_info_available",
+ "answers":[
+ {
+ "answer_id":"Payment made in Cash",
+ "answer":"Payment made in Cash"
+ },
+ {
+ "answer_id":"Payment made through Banking channels",
+ "answer":"Payment made through Banking channels"
+ },
+ {
+ "answer_id":"Payment made through Cash and Banking channels",
+ "answer":"Payment made through Cash and Banking channels"
+ }
+ ],
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Name of the Company",
+ "question_key":"company_name",
+ "place_holder":"Enter text",
+ "type":"3",
+ "api_properties":{
+ "api":"getCompanyListForSMCList",
+ "api_method":"POST",
+ "params":{"records":{
+ "pd_id":"VAR_PD_ID",
+ "random_string":"VAR_RANDOM_STRING"
+ }},
+ "fields":[
+ "company_id",
+ "borrower_name"
+ ]
+ },
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Company Name Required",
+ "value":null
+ }
+ ]
+ }
+ ],
+ "is_repeatable":"1",
+ "group_title":"Client Details",
+ "group_key":"client_details"
+ }
+
+ ]
+ }
+ ]
+ }],
+ "is_repeatable":null,
+ "answers":[{
+ "answer":"Yes",
+ "answer_id":"Yes"
+ },
+ {
+ "answer":"No",
+ "answer_id":"No"
+ }],
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field required",
+ "value":null
+ }
+ ]
+ }
+
+
+ ]
+ }
+
\ No newline at end of file
diff --git a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/WCTL/13.json b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/WCTL/13.json
new file mode 100644
index 000000000..2fee665bb
--- /dev/null
+++ b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/WCTL/13.json
@@ -0,0 +1,355 @@
+{
+ "section_id": "13",
+ "section_name": "Stock details",
+ "onsubmit": [],
+ "questions": [
+ {
+ "question": "Is stock applicable to the business (Yes / No)",
+ "question_key": "stock_info_available",
+ "type": "2",
+ "field_width": "45",
+ "api_properties": null,
+ "onchange_properties": [
+ {
+ "purpose": "FORM_CTRL",
+ "form_controls": [
+ {
+ "insert_index": "stock_info_available",
+ "expression": "(String('stock_info_available') == String('No'))",
+ "value_keys": [
+ "stock_info_available"
+ ],
+ "questions": [
+ {
+ "question": "Reason",
+ "question_key": "stock_not_available_reason",
+ "type": "7",
+ "field_width": "100",
+ "api_properties": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "is_subfield": "1",
+ "parent_question_key": "stock_info_available",
+ "answers": null,
+ "validations": [
+ {
+ "name": "required",
+ "isactive": "1",
+ "validator": "Validators.required",
+ "message": "Field required",
+ "value": null
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "purpose": "FORM_CTRL",
+ "form_controls": [
+ {
+ "insert_index": "stock_info_available",
+ "expression": "(String('stock_info_available') == String('Yes'))",
+ "value_keys": [
+ "stock_info_available"
+ ],
+ "questions":[
+ {
+ "question": "Is the stock of finished goods observed, sufficient considering the size of operations",
+ "question_key": "estimated_uom",
+ "type": "3",
+ "field_width": "100",
+ "api_properties": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "is_subfield": "1",
+ "parent_question_key": "stock_info_available",
+ "answers": [
+ {
+ "answer": "Yes",
+ "answer_id": "yes"
+ },
+ {
+ "answer": "No",
+ "answer_id": "no"
+ },
+ {
+ "answer": "Stock not required to be maintained",
+ "answer_id": "not applicable"
+ }
+ ],
+ "validations": [
+ {
+ "name": "required",
+ "isactive": "1",
+ "validator": "Validators.required",
+ "message": "Field required",
+ "value": null
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "insert_index": "stock_info_available",
+ "expression": "(String('stock_info_available') == String('Yes'))",
+ "value_keys": [
+ "stock_info_available"
+ ],
+ "questions": [
+ {
+ "question": [
+ {
+ "question": "Type of Stock",
+ "question_key": "stock_type",
+ "type": "3",
+ "field_width": "100",
+ "api_properties": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "is_subfield": "1",
+ "parent_question_key": "stock_info_available",
+ "answers": [
+ {
+ "answer": "RM",
+ "answer_id": "RM"
+ },
+ {
+ "answer": "FG",
+ "answer_id": "FG"
+ },
+ {
+ "answer": "SFG",
+ "answer_id": "SFG"
+ }
+ ],
+ "validations": [
+ {
+ "name": "required",
+ "isactive": "1",
+ "validator": "Validators.required",
+ "message": "Field required",
+ "value": null
+ }
+ ]
+ },
+ {
+ "question": "Name of trading goods/manufacturing goods (raw material/finished goods)/ Service Provided",
+ "question_key": "provider_name",
+ "place_holder": "Enter text",
+ "type": "1",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "field_type": "string",
+ "validations": [
+ {
+ "name": "required",
+ "isactive": "1",
+ "validator": "Validators.required",
+ "message": "Required",
+ "value": null
+ }
+ ]
+ },
+ {
+ "question": "Stock",
+ "question_key": "provider_observed",
+ "type": "3",
+ "api_properties": null,
+ "answers": [
+ {
+ "answer": "Add Stock Details",
+ "answer_id": "yes"
+ },
+ {
+ "answer": "No Stock Observed",
+ "answer_id": "no"
+ }
+ ],
+ "is_repeatable": null,
+ "validations": [
+ {
+ "name": "required",
+ "isactive": "1",
+ "validator": "Validators.required",
+ "message": "Required",
+ "value": null
+ }
+ ],
+ "onchange_properties": [
+ {
+ "purpose": "FORM_CTRL",
+ "form_controls": [
+ {
+ "insert_index": "provider_observed",
+ "expression": "(String('provider_observed') === String('yes'))",
+ "value_keys": [
+ "provider_observed"
+ ],
+ "questions": [
+ {
+ "question": "Estimated Quantity",
+ "question_key": "estimated_quantity",
+ "type": "1",
+ "field_width": "100",
+ "field_type": "num",
+ "api_properties": null,
+ "onchange_properties": [
+ {
+ "purpose": "validations",
+ "validations": [
+
+ {
+ "name": "required",
+ "isactive": "1",
+ "validator": "",
+ "message": "Either Estimated Stock value or Estimated Quantity is required",
+ "value": "(String('estimated_quantity') === String(''))",
+ "validation_to": "estimated_stock_value",
+ "value_keys": [
+ "estimated_quantity",
+ "estimated_stock_value"
+ ]
+ }
+ ]
+ }
+ ],
+ "is_repeatable": null,
+ "is_subfield": "1",
+ "parent_question_key": "provider_observed",
+ "answers": null,
+ "validations": [
+ {
+ "name": "required",
+ "isactive": "1",
+ "validator": "Validators.required",
+ "message": "Either Estimated Stock value or Estimated Quantity is required",
+ "value": null
+ }
+ ]
+ },
+ {
+ "question": "UOM",
+ "question_key": "estimated_uom",
+ "type": "3",
+ "field_width": "100",
+ "api_properties":null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "is_subfield": "1",
+ "parent_question_key": "provider_observed",
+ "answers": null,
+ "validations": [
+ {
+ "name": "required",
+ "isactive": "1",
+ "validator": "Validators.required",
+ "message": "Field required",
+ "value": null
+ }
+ ]
+ },
+ {
+ "question": "Estimated value of stock observed",
+ "question_key": "estimated_stock_value",
+ "type": "1",
+ "field_type": "num",
+ "field_width": "100",
+ "api_properties": null,
+ "onchange_properties": [
+ {
+ "purpose": "validations",
+ "validations": [
+ {
+ "name": "required",
+ "isactive": "1",
+ "validator": "",
+ "message": "Either Estimated Stock value or Estimated Quantity is required",
+ "value": "(String('estimated_stock_value') === String(''))",
+ "validation_to": "estimated_quantity",
+ "value_keys": [
+ "estimated_stock_value"
+ ]
+ }
+ ]
+ }
+ ],
+ "is_repeatable": null,
+ "is_subfield": "1",
+ "parent_question_key": "provider_observed",
+ "answers": null,
+ "validations": []
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "question":"Name of the Company",
+ "question_key":"company_name",
+ "place_holder":"Enter text",
+ "type":"3",
+ "api_properties":{
+ "api":"getCompanyListForSMCList",
+ "api_method":"POST",
+ "params":{"records":{
+ "pd_id":"VAR_PD_ID",
+ "random_string":"VAR_RANDOM_STRING"
+ }},
+ "fields":[
+ "company_id",
+ "borrower_name"
+ ]
+ },
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Company Name Required",
+ "value":null
+ }
+ ]
+ }
+ ],
+ "is_repeatable": "1",
+ "group_title": "Stock details",
+ "group_key": "stock_details"
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "is_repeatable": null,
+ "answers": [
+ {
+ "answer": "Yes",
+ "answer_id": "Yes"
+ },
+ {
+ "answer": "No",
+ "answer_id": "No"
+ }
+ ],
+ "validations": [
+ {
+ "name": "required",
+ "isactive": "1",
+ "validator": "Validators.required",
+ "message": "Field required",
+ "value": null
+ }
+ ]
+ }
+ ]
+}
\ No newline at end of file
diff --git a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/WCTL/14.json b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/WCTL/14.json
new file mode 100644
index 000000000..7fa5d20ca
--- /dev/null
+++ b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/WCTL/14.json
@@ -0,0 +1,104 @@
+{
+ "section_id":"14",
+ "section_name":"Future Plans & Business Environments",
+ "onsubmit":null,
+ "questions":[
+ {
+ "question":"USP of the business- How is applicant's business different from others in the same line of business",
+ "question_key":"usp_of_business",
+ "type":"1",
+ "field_width":"100",
+ "answers":null,
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Future plans for business expansion",
+ "question_key":"future_business_expansion",
+ "type":"1",
+ "field_type":"string",
+ "field_width":"100",
+ "onchange_properties":null,
+ "api_properties":null,
+ "answers":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Key competitors",
+ "question_key":"key_competitors",
+ "type":"1",
+ "field_width":"100",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Sucession plan- who will look after the business after applicant retire/are unable to run business due to any reason",
+ "question_key":"sucession_plan",
+ "type":"1",
+ "field_width":"100",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Brief of other group concerns/Business run by the applicants",
+ "question_key":"other_group_business_applicants",
+ "type":"1",
+ "field_width":"100",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ }
+ ]
+ }
+
\ No newline at end of file
diff --git a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/WCTL/15.json b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/WCTL/15.json
new file mode 100644
index 000000000..fe79dac51
--- /dev/null
+++ b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/WCTL/15.json
@@ -0,0 +1,219 @@
+{
+ "section_id": "15",
+ "section_name": "Existing Loan Obligations",
+ "onsubmit": null,
+ "questions": [
+ {
+ "question": [
+ {
+ "question": "Loan type",
+ "question_key": "loan_type",
+ "type": "1",
+ "field_width": "100",
+ "answers": null,
+ "api_properties": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": [
+ {
+ "name": "required",
+ "isactive": "1",
+ "validator": "Validators.required",
+ "message": "Field Required",
+ "value": null
+ }
+ ]
+ },
+ {
+ "question": "Loan amount",
+ "question_key": "loan_amount",
+ "type": "1",
+ "field_type": "num",
+ "field_width": "100",
+ "onchange_properties": null,
+ "api_properties": null,
+ "answers": null,
+ "is_repeatable": null,
+ "validations": [
+ {
+ "name": "required",
+ "isactive": "1",
+ "validator": "Validators.required",
+ "message": "Field Required",
+ "value": null
+ }
+ ]
+ },
+ {
+ "question": "Lender name",
+ "question_key": "lender_name",
+ "type": "1",
+ "field_width": "100",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": [
+ {
+ "name": "required",
+ "isactive": "1",
+ "validator": "Validators.required",
+ "message": "Field Required",
+ "value": null
+ }
+ ]
+ },
+ {
+ "question": "Loan taken by",
+ "question_key": "loan_taken_by",
+ "type": "1",
+ "field_width": "100",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": [
+ {
+ "name": "required",
+ "isactive": "1",
+ "validator": "Validators.required",
+ "message": "Field Required",
+ "value": null
+ }
+ ]
+ },
+ {
+ "question": "Instalment Amount",
+ "question_key": "instalment_amount",
+ "type": "1",
+ "field_width": "100",
+ "field_type": "numtoword",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": [
+ {
+ "name": "required",
+ "isactive": "1",
+ "validator": "Validators.required",
+ "message": "Field Required",
+ "value": null
+ }
+ ]
+ },
+ {
+ "question": "Installment frequency",
+ "question_key": "instalment_frequency",
+ "type": "3",
+ "field_width": "100",
+ "api_properties": null,
+ "answers": [
+ {
+ "answer_id": "Daily",
+ "answer": "Daily"
+ },
+ {
+ "answer_id": "Every 12 days",
+ "answer": "Every 12 days"
+ },
+ {
+ "answer_id": "Every 15 days",
+ "answer": "Every 15 days"
+ },
+ {
+ "answer_id": "Monthly",
+ "answer": "Monthly"
+ },
+ {
+ "answer_id": "Every 3 months",
+ "answer": "Every 3 months"
+ },
+ {
+ "answer_id": "Every 6 months",
+ "answer": "Every 6 months"
+ },
+ {
+ "answer_id": "Yearly",
+ "answer": "Yearly"
+ }
+ ],
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": [
+ {
+ "name": "required",
+ "isactive": "1",
+ "validator": "Validators.required",
+ "message": "Field Required",
+ "value": null
+ }
+ ]
+ },
+ {
+ "question": "Original tenure in months",
+ "question_key": "original_tenure_months",
+ "type": "1",
+ "field_width": "100",
+ "field_type": "num",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": [
+ {
+ "name": "required",
+ "isactive": "1",
+ "validator": "Validators.required",
+ "message": "Field Required",
+ "value": null
+ }
+ ]
+ },
+ {
+ "question": "Current balance tenure in months",
+ "question_key": "current_tenure_months",
+ "type": "1",
+ "field_type": "num",
+ "field_width": "100",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": [
+ {
+ "name": "required",
+ "isactive": "1",
+ "validator": "Validators.required",
+ "message": "Field Required",
+ "value": null
+ }
+ ]
+ },
+ {
+ "question": "Elapsed tenure in mths",
+ "question_key": "elapsed_tenure_months",
+ "type": "1",
+ "field_width": "45",
+ "field_type": "num",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": [
+ {
+ "name": "required",
+ "isactive": "1",
+ "validator": "Validators.required",
+ "message": "Field Required",
+ "value": null
+ }
+ ]
+ }
+ ],
+ "is_repeatable": "1",
+ "group_title": "Existing Loan Obligations",
+ "group_key": "existing_loan_details"
+ }
+ ]
+}
\ No newline at end of file
diff --git a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/WCTL/16.json b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/WCTL/16.json
new file mode 100644
index 000000000..da9cc1f3b
--- /dev/null
+++ b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/WCTL/16.json
@@ -0,0 +1,188 @@
+{
+ "section_id":"16",
+ "section_name":"Family Members Involved in Business",
+ "onsubmit":null,
+ "questions":[
+ {
+ "question":"Is any other family member involved in the business",
+ "question_key":"is_family_details_available",
+ "type":"2",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":[{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"is_family_details_available",
+ "expression":"(String('is_family_details_available') == String('Yes'))",
+ "value_keys":[
+ "is_family_details_available"
+ ],
+ "questions":[
+ {
+ "question":[
+ {
+ "question":"Name",
+ "question_key":"member_name",
+ "place_holder":"Enter text",
+ "type":"1",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Name Required",
+ "value":null
+ },
+ {
+ "name":"pattern",
+ "isactive":"1",
+ "validator":"[A-Za-z ]*",
+ "message":"alphabets only ",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Relationship",
+ "question_key":"relationship",
+ "place_holder":"Enter the text",
+ "type":"8",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"RELATIONSHIPS"
+ },
+ "fields":[
+ "relationship_id",
+ "name"
+ ]
+ },
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Relation to Individual Stakeholders",
+ "question_key":"stakeholder_relation",
+ "place_holder":"Enter text",
+ "type":"3",
+ "api_properties":{
+ "purpose":"answer_options_local",
+ "master_name":"pd_applicants",
+ "fields":["pd_co_applicant_id","applicant_name"]
+ },
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Relation to Company / Firm",
+ "question_key":"company_relation",
+ "place_holder":"Enter text",
+ "type":"8",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"COMPANYRELATIONSHIPS"
+ },
+ "fields":[
+ "company_relationship_id",
+ "name"
+ ]
+ },
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Started Business (Yes / No)",
+ "question_key":"started_biz",
+ "place_holder":"Enter text",
+ "type":"2",
+ "api_properties":null,
+ "answers":[
+ {
+ "answer_id":"Yes",
+ "answer":"Yes"
+ },
+ {
+ "answer_id":"No",
+ "answer":"No"
+ }
+ ],
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Required",
+ "value":null
+ }
+ ]
+ }
+
+ ],
+ "is_repeatable":"1",
+ "group_title":"Family Members Involved in Business",
+ "group_key":"family_details"
+ }
+ ]}]
+ }],
+ "is_repeatable":null,
+ "answers":[{
+ "answer":"Yes",
+ "answer_id":"Yes"
+ },
+ {
+ "answer":"No",
+ "answer_id":"No"
+ }],
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Required",
+ "value":null
+ }
+ ]
+ }
+
+ ]
+ }
\ No newline at end of file
diff --git a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/WCTL/17.json b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/WCTL/17.json
new file mode 100644
index 000000000..9b13eaabd
--- /dev/null
+++ b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/WCTL/17.json
@@ -0,0 +1,264 @@
+{
+ "section_id":"17",
+ "section_name":"Neighbourhood Details",
+ "onsubmit":[],
+ "questions":[
+ {
+ "question":[
+ {
+ "question":"Neighbour name",
+ "question_key":"neighbourhood_name",
+ "place_holder":"Enter text",
+ "type":"1",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Do you know about the applicant or their business?",
+ "question_key":"do_know",
+ "type":"3",
+ "api_properties":null,
+ "answers":[
+ {
+ "answer":"Yes",
+ "answer_id":"yes"
+ },
+ {
+ "answer":"No",
+ "answer_id":"no"
+ }
+ ],
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"As per you how long has this business been in operation",
+ "question_key":"know_business_operation",
+ "place_holder":"Enter the text",
+ "type":"2",
+ "api_properties":null,
+ "answers":[
+ {
+ "answer":"Know",
+ "answer_id":"yes"
+ },
+ {
+ "answer":"Do not know",
+ "answer_id":"no"
+ }
+ ],
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Required",
+ "value":null
+ }
+ ],
+ "onchange_properties": [ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"know_business_operation",
+ "expression":"(String('know_business_operation') === String('yes'))",
+ "value_keys":[
+ "know_business_operation"
+ ],
+ "questions":[
+ {
+ "question":"Years",
+ "question_key":"how_long_do_know_in_year",
+ "type":"1",
+ "field_width":"100",
+ "field_type":"num",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"know_business_operation",
+ "answers":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field required",
+ "value":null
+ }
+ ]
+ } ,
+ {
+ "question":"Months",
+ "question_key":"how_long_do_know_in_month",
+ "type":"1",
+ "field_type":"num",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"know_business_operation",
+ "answers":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field required",
+ "value":null
+ }
+ ]
+ }
+
+ ] } ] }]
+ },
+ {
+ "question":"Who is the owner of organisation?",
+ "question_key":"know_organisation_owner",
+ "type":"2",
+ "api_properties":null,
+ "answers":[
+ {
+ "answer":"Know",
+ "answer_id":"yes"
+ },
+ {
+ "answer":"Do not know",
+ "answer_id":"no"
+ }
+ ],
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Required",
+ "value":null
+ }
+ ],
+ "onchange_properties": [ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"know_organisation_owner",
+ "expression":"(String('know_organisation_owner') === String('yes'))",
+ "value_keys":[
+ "know_organisation_owner"
+ ],
+ "questions":[
+ {
+ "question":"Who is the owner of the organisation",
+ "question_key":"organisation_owner",
+ "type":"4",
+ "field_width":"100",
+ "field_type":"num",
+ "api_properties": {
+ "purpose":"answer_options_local",
+ "master_name":"pd_applicants",
+ "fields":["pd_co_applicant_id","applicant_name"]
+ },
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"know_organisation_owner",
+ "answers":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field required",
+ "value":null
+ }
+ ]
+ }
+
+ ] } ] }]
+ }
+
+ ],
+ "is_repeatable":"1",
+ "group_title":"Neighbourhood Details",
+ "group_key":"neighbourhood_list"
+ },
+ {
+ "question":"Status of the neighbour check as per PD officer",
+ "question_key":"neighbourhood_status",
+ "type":"3",
+ "api_properties":null,
+ "answers":[
+ {
+ "answer":"Select",
+ "answer_id":""
+ },
+ {
+ "answer":"Positive",
+ "answer_id":"Positive"
+ },
+ {
+ "answer":"Negative",
+ "answer_id":"Negative"
+ },
+ {
+ "answer":"Could Not Verify",
+ "answer_id":"Could Not Verify"
+ }
+ ],
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Remarks",
+ "question_key":"neighbourhood_remarks",
+ "type":"7",
+ "placeholder":"Enter the remarks",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Required",
+ "value":null
+ }
+ ]
+ }
+ ]
+ }
\ No newline at end of file
diff --git a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/WCTL/18.json b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/WCTL/18.json
new file mode 100644
index 000000000..e09078b6b
--- /dev/null
+++ b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/WCTL/18.json
@@ -0,0 +1,39 @@
+{
+ "section_id":"18",
+ "section_name":"Credit manager specific queries",
+ "onsubmit":[],
+ "questions":[
+ {
+ "question":[
+ {
+ "question":"Question",
+ "question_key":"question",
+ "place_holder":"Enter text",
+ "type":"1",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ ]
+ },
+ {
+ "question":"Answer",
+ "question_key":"answer",
+ "place_holder":"Enter the answer here",
+ "type":"7",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+ ]
+ }
+ ],
+ "is_repeatable":"1",
+ "group_title":"Query",
+ "group_key":"cm_queries"
+ }
+ ]
+ }
\ No newline at end of file
diff --git a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/WCTL/19.json b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/WCTL/19.json
new file mode 100644
index 000000000..0ede0b842
--- /dev/null
+++ b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/WCTL/19.json
@@ -0,0 +1,208 @@
+{
+ "section_id":"19",
+ "section_name":"Final remarks",
+ "onsubmit":null,
+ "questions":[
+ {
+ "question":"Customer Behaviour",
+ "question_key":"customer_behaviour",
+ "type":"3",
+ "field_width":"45",
+ "answers":null,
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"CUSTOMERBEHAVIOUR"
+ },
+ "fields":[
+ "customer_behaviour_id",
+ "description"
+ ]
+ },
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"customer_behaviour",
+ "expression":"(String('customer_behaviour') == String('1'))",
+ "value_keys":[
+ "customer_behaviour"
+ ],
+ "questions":[
+ { "question":"Specify Customer behaviour",
+ "question_key":"customer_behaviour_other",
+ "type":"1",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"customer_behaviour",
+ "answers":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field required",
+ "value":null
+ }
+ ]
+ } ] }
+ ]}] ,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Is the location of the business suited to the nature of the business provided?",
+ "question_key":"business_location_suited",
+ "type":"3",
+ "field_width":"45",
+ "onchange_properties":null,
+ "api_properties":null,
+ "answers":[
+ {
+ "answer":"Well Suited",
+ "answer_id":"Well Suited"
+ },
+ {
+ "answer":"Fairly suited",
+ "answer_id":"Fairly suited"
+ },
+ {
+ "answer":"Not suited",
+ "answer_id":"Not suited"
+ }
+ ],
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"PD officer recommendation (Positive/negative/ refer to credit)",
+ "question_key":"pd_officer_recommendation",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"PDOFFICERRECOMMENDATIONS"
+ },
+ "fields":[
+ "pdofficer_recommendation_id",
+ "pdofficer_recommendation"
+ ]
+ },
+ "answers":null,
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"pd_officer_recommendation",
+ "expression":"(String('pd_officer_recommendation') == String('1'))",
+ "value_keys":[
+ "pd_officer_recommendation"
+ ],
+ "questions":[
+ { "question":"Specify PD Officer Recommendation",
+ "question_key":"pd_officer_recommendation_other",
+ "type":"1",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"pd_officer_recommendation",
+ "answers":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field required",
+ "value":null
+ }
+ ]
+ } ] } ,
+ {
+ "insert_index":"pd_officer_recommendation",
+ "expression":"(String('pd_officer_recommendation') != String('1')) && (String('pdofficer_recommendation') != String(''))",
+ "value_keys":[
+ "pd_officer_recommendation"
+ ],
+ "questions":[
+ {
+ "question":[{
+ "question":"Reasons for marking PD status as Positive/negative/ refer to credit",
+ "question_key":"reason",
+ "type":"1",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"pd_officer_recommendation",
+ "answers":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field required",
+ "value":null
+ }
+ ]
+ }
+ ],
+ "is_repeatable":"1",
+ "group_title":"Remarks",
+ "group_key":"pd_officer_recommendation_remarks"
+ } ] }
+
+ ] }],
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Common Remarks",
+ "question_key":"final_form_remarks",
+ "place_holder":"Enter the remarks here",
+ "type":"7",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+ ]
+ }
+
+ ]
+ }
+
\ No newline at end of file
diff --git a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/WCTL/2.json b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/WCTL/2.json
new file mode 100644
index 000000000..4927a8948
--- /dev/null
+++ b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/WCTL/2.json
@@ -0,0 +1,303 @@
+{
+ "section_id":"2",
+ "section_name":"Address details",
+ "onsubmit":null,
+ "questions":[
+ {
+ "question":"Address at which PD was initiated",
+ "question_key":"initiated_address",
+ "type":"7",
+ "field_width":"100",
+ "answers":null,
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Is this the address where PD is done ?",
+ "question_key":"is_pd_done_on_initiated_address",
+ "type":"2",
+ "field_width":"45",
+ "onchange_properties": [{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"is_pd_done_on_initiated_address",
+ "expression":"(String('is_pd_done_on_initiated_address') == String('No'))",
+ "value_keys":[
+ "is_pd_done_on_initiated_address"
+ ],
+ "questions":[
+ {
+ "question":"Enter actual PD address",
+ "question_key":"alternative_address",
+ "place_holder":"",
+ "field_type":"string",
+ "type":"7",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"is_pd_done_on_initiated_address",
+ "answers":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field required",
+ "value":null
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }],
+ "api_properties":null,
+ "answers":[
+ {
+ "answer_id":"Yes",
+ "answer":"Yes"
+ },
+ {
+ "answer_id":"No",
+ "answer":"No"
+ }
+ ],
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Type of PD address",
+ "question_key":"address_type",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"ADDRESSTYPE"
+ },
+ "fields":[
+ "address_type_id",
+ "address_type"
+ ]
+ },
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"PD locality",
+ "question_key":"pd_locality",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"LOCALITY"
+ },
+ "fields":[
+ "locality_id",
+ "locality_name"
+ ]
+ },
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Approach to PD location*",
+ "question_key":"pd_location",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"PDLOCATIONAPPROACH"
+ },
+ "fields":[
+ "pd_location_approach_id",
+ "description"
+ ]
+ },
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Comment on locality",
+ "question_key":"comment_locality",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"COMMENTSONLOCALITY"
+ },
+ "fields":[
+ "comments_on_locality_id",
+ "rating"
+ ]
+ },
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Estimated Area of the business",
+ "question_key":"business_estimated_area",
+ "type":"1",
+ "field_width":"45",
+ "field_type":"num",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"UOM",
+ "question_key":"uom",
+ "type":"8",
+ "field_width":"45",
+ "api_properties":null,
+ "answers":[
+ {
+ "answer":"Acres",
+ "answer_id":"Acres"
+ },
+ {
+ "answer":"Hectares",
+ "answer_id":"Hectares"
+ },
+ {
+ "answer":"Square Feet",
+ "answer_id":"Square Feet"
+ },
+ {
+ "answer":"Square Meters",
+ "answer_id":"Square Meters"
+ },
+ {
+ "answer":"Square Yards",
+ "answer_id":"Square Yards"
+ }
+ ],
+ "onchange_properties": [{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"uom",
+ "expression":"(String('uom') == String('1'))",
+ "value_keys":[
+ "uom"
+ ],
+ "questions":[
+ {
+ "question":"Specify the UOM",
+ "question_key":"uom_specify",
+ "place_holder":"",
+ "field_type":"string",
+ "type":"1",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"uom",
+ "answers":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field required",
+ "value":null
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }],
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ }
+ ]
+ }
+
\ No newline at end of file
diff --git a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/WCTL/3.json b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/WCTL/3.json
new file mode 100644
index 000000000..02954cb0b
--- /dev/null
+++ b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/WCTL/3.json
@@ -0,0 +1,139 @@
+{
+ "section_id":"2",
+ "section_name":"Loan details",
+ "onsubmit":null,
+ "questions":[
+ {
+ "question":"Loan amount applied for",
+ "question_key":"loan_amount",
+ "type":"1",
+ "field_type":"numtoword",
+ "field_width":"100",
+ "answers":null,
+ "api_properties":null,
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"total_fund_requirement",
+ "expression":" typeof(total_fund_requirement) == 'number' && (Number(total_fund_requirement) < Number(loan_amount))",
+ "value_keys":[
+ "total_fund_requirement","loan_amount"
+ ],
+ "questions":[
+ {
+ "question":"Remarks on source of funds for balance amount required",
+ "question_key":"remarks_fund_source_balance",
+ "place_holder":"",
+ "field_type":"string",
+ "type":"1",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"total_fund_requirement",
+ "answers":null,
+ "validations":[
+
+ ]
+ }
+ ]
+ }]
+ }
+ ],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ },
+ {
+ "question":"Loan Tenure (in months)",
+ "question_key":"loan_tenure",
+ "type":"1",
+ "field_type":"num",
+ "field_width":"100",
+ "onchange_properties": null,
+ "api_properties":null,
+ "answers":null,
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ },
+ {
+ "question":"End use of loan",
+ "question_key":"end_use",
+ "type":"1",
+ "field_width":"100",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ },
+ {
+ "question":"Total fund requirement",
+ "question_key":"total_fund_requirement",
+ "type":"1",
+ "field_type":"numtoword",
+ "field_width":"45",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties": [
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"total_fund_requirement",
+ "expression":" typeof(total_fund_requirement) == 'number' && (Number(total_fund_requirement) < Number(loan_amount))",
+ "value_keys":[
+ "total_fund_requirement","loan_amount"
+ ],
+ "questions":[
+ {
+ "question":"Remarks on source of funds for balance amount required",
+ "question_key":"remarks_fund_source_balance",
+ "place_holder":"",
+ "field_type":"string",
+ "type":"1",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"total_fund_requirement",
+ "answers":null,
+ "validations":[
+
+ ]
+ }
+ ]
+ }]
+ }],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ },
+ {
+ "question_key":"common_remarks",
+ "question":"Remarks",
+ "place_holder":"Enter the text",
+ "type":"7",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"45",
+ "validations":[
+ ]
+ }
+
+ ]
+ }
+
\ No newline at end of file
diff --git a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/WCTL/4.json b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/WCTL/4.json
new file mode 100644
index 000000000..2cc6fad2c
--- /dev/null
+++ b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/WCTL/4.json
@@ -0,0 +1,202 @@
+{
+ "section_id":"4",
+ "section_name":"General Business Information",
+ "onsubmit":null,
+ "questions":[
+ {
+ "question":[
+ {
+ "question":"Name of the Company",
+ "question_key":"company_name",
+ "place_holder":"Enter text",
+ "type":"3",
+ "api_properties":{
+ "api":"getCompanyListForSMCList",
+ "api_method":"POST",
+ "params":{"records":{
+ "pd_id":"VAR_PD_ID",
+ "random_string":"VAR_RANDOM_STRING"
+ }},
+ "fields":[
+ "company_id",
+ "borrower_name"
+ ]
+ },
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Company Name Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Type of Business Entity",
+ "question_key":"business_entity_type",
+ "type":"1",
+ "field_width":"45",
+ "answers":null,
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Type of Business activities",
+ "question_key":"select_business_activity_type",
+ "type":"1",
+ "field_width":"45",
+ "onchange_properties":null,
+ "api_properties":null,
+ "answers":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Area of Sale",
+ "question_key":"area_of_sale",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":null,
+ "answers":[{
+ "answer":"Within India",
+ "answer_id":"Within India"
+ },
+ {
+ "answer":"Export",
+ "answer_id":"Export"
+ },
+ {
+ "answer":"Both",
+ "answer_id":"Both"
+ }],
+
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Is the business seasonal (Yes / No)",
+ "question_key":"seasonality",
+ "type":"2",
+ "field_width":"45",
+ "api_properties":null,
+ "answers":[{
+ "answer":"Yes",
+ "answer_id":"Yes"
+ },{
+ "answer":"No",
+ "answer_id":"No"
+ }],
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"seasonality",
+ "expression":"(String('seasonality') == String('Yes'))",
+ "value_keys":[
+ "seasonality"
+ ],
+ "questions":[
+ {
+ "question_key":"low_sale_month",
+ "question":"Months in which sales/services is low?",
+ "place_holder":"Enter the number",
+ "type":"1",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"num",
+ "field_width":"45",
+ "is_subfield":"1",
+ "parent_question_key":"seasonality",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question_key":"low_sale_month_reason",
+ "question":"Reason for Months in which sales/services is low?",
+ "place_holder":"Enter the text",
+ "type":"1",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "is_subfield":"1",
+ "field_width":"45",
+ "parent_question_key":"seasonality",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Required",
+ "value":null
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ }
+ ],
+
+ "is_repeatable":"1",
+ "group_title":"Details of General Business Information",
+ "group_key":"business_entity"
+ }
+ ]
+ }
+
\ No newline at end of file
diff --git a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/WCTL/5.json b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/WCTL/5.json
new file mode 100644
index 000000000..42c543b60
--- /dev/null
+++ b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/WCTL/5.json
@@ -0,0 +1,234 @@
+{
+ "section_id":"5",
+ "section_name":"Key Stakeholders in Business",
+ "onsubmit":[
+ ],
+ "questions":[
+ {
+ "question":[
+ {
+ "question":"Name of key Stakeholder11",
+ "question_key":"stakeholder_name",
+ "place_holder":"Enter text",
+ "type":"1",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Name Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Share Holding (%)",
+ "question_key":"share_holding",
+ "place_holder":"Enter number",
+ "type":"1",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"num",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Share value Required",
+ "value":null
+ },
+ {
+ "name":"max",
+ "validator":"100",
+ "isactive":"1",
+ "message":"Number must be less than 100",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Vintage in Current Business",
+ "question_key":"vintage_in_current_biz",
+ "place_holder":"Enter in years",
+ "type":"1",
+ "api_properties":null,
+ "answers":null,
+ "is_repeatable":null,
+ "field_type":"num",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Current vintage Required",
+ "value":null
+ }
+ ],
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"total_work_exp",
+ "expression":"(total_work_exp > vintage_in_current_biz)",
+ "value_keys":[
+ "total_work_exp",
+ "vintage_in_current_biz"
+ ],
+ "questions":[
+ {
+ "question_key":"previous_experience_details",
+ "question":"Previous Experience Details",
+ "place_holder":"Enter text",
+ "type":"1",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "parent_question_key":"vintage_in_current_biz",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Previous Experience Required",
+ "value":null
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "question":"Total Work Experience",
+ "question_key":"total_work_exp",
+ "place_holder":"Enter in years",
+ "type":"1",
+ "api_properties":null,
+ "answers":null,
+ "is_repeatable":null,
+ "field_type":"num",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Total experience Required",
+ "value":null
+ }
+ ],
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"total_work_exp",
+ "expression":"(total_work_exp > vintage_in_current_biz)",
+ "value_keys":[
+ "total_work_exp",
+ "vintage_in_current_biz"
+ ],
+ "questions":[
+ {
+ "question":"Previous Experience Details",
+ "question_key":"previous_experience_details",
+ "place_holder":"Enter text",
+ "type":"1",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "parent_question_key":"total_work_exp",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Previous Experience Required",
+ "value":null
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "question":"Started Business (Yes / No)",
+ "question_key":"started_biz",
+ "type":"2",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "answers":[
+ {
+ "answer_id":"Yes",
+ "answer":"Yes"
+ },
+ {
+ "answer_id":"No",
+ "answer":"No"
+ }
+ ],
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Started Business Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Name of the Company",
+ "question_key":"company_name",
+ "place_holder":"Enter text",
+ "type":"3",
+ "api_properties":{
+ "api":"getCompanyListForSMCList",
+ "api_method":"POST",
+ "params":{"records":{
+ "pd_id":"VAR_PD_ID",
+ "random_string":"VAR_RANDOM_STRING"
+ }},
+ "fields":[
+ "company_id",
+ "borrower_name"
+ ]
+ },
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Company Name Required",
+ "value":null
+ }
+ ]
+ }
+ ],
+ "is_repeatable":"1",
+ "group_title":"Details of Key Stakeholders in the Business",
+ "group_key":"key_stakeholders"
+ }
+ ]
+ }
\ No newline at end of file
diff --git a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/WCTL/6.json b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/WCTL/6.json
new file mode 100644
index 000000000..0ddf792a8
--- /dev/null
+++ b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/WCTL/6.json
@@ -0,0 +1,125 @@
+{
+ "section_id":"6",
+ "section_name":"Key Products and Business Contribution",
+ "onsubmit":[],
+ "questions":[
+ {
+ "question":[
+ {
+ "question":"Key Product Name",
+ "question_key":"product_name",
+ "place_holder":"Enter text",
+ "type":"1",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Contribution to Business of the Product (%)",
+ "question_key":"contribution_business_product",
+ "place_holder":"Enter number",
+ "type":"1",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"num",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Required",
+ "value":null
+ },
+ {
+ "name":"max",
+ "validator":"100",
+ "isactive":"1",
+ "message":"Number must be less than 100",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Remarks if any",
+ "question_key":"remarks",
+ "place_holder":"Enter the text",
+ "type":"1",
+ "api_properties":null,
+ "answers":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ ],
+ "onchange_properties":null
+ },
+ {
+ "question":"Name of the Company",
+ "question_key":"company_name",
+ "place_holder":"Enter text",
+ "type":"3",
+ "api_properties":{
+ "api":"getCompanyListForSMCList",
+ "api_method":"POST",
+ "params":{"records":{
+ "pd_id":"VAR_PD_ID",
+ "random_string":"VAR_RANDOM_STRING"
+ }},
+ "fields":[
+ "company_id",
+ "borrower_name"
+ ]
+ },
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Company Name Required",
+ "value":null
+ }
+ ]
+ }
+ ],
+ "is_repeatable":"1",
+ "group_title":"Key Products and Business Contribution",
+ "group_key":"key_products_contribution"
+ },
+ {
+ "question":"Business Process Brief",
+ "question_key":"business_process",
+ "place_holder":"Enter the text",
+ "type":"7",
+ "api_properties":null,
+ "answers":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Required",
+ "value":null
+ }
+ ],
+ "onchange_properties":null
+ }
+ ]
+ }
\ No newline at end of file
diff --git a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/WCTL/7.json b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/WCTL/7.json
new file mode 100644
index 000000000..129263e29
--- /dev/null
+++ b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/WCTL/7.json
@@ -0,0 +1,138 @@
+{
+ "section_id":"7",
+ "section_name":"Employee Strength",
+ "onsubmit":[],
+ "questions":[
+ {
+ "question":"Permanent Employees",
+ "sub_title":"No of Employees (As per person met)",
+ "question_key":"permanant_employees_person_met",
+ "place_holder":"Enter the number",
+ "type":"1",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"num",
+ "field_width":"45",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Temporary Employees",
+ "question_key":"temporary_employees_person_met",
+ "place_holder":"Enter the number",
+ "type":"1",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"num",
+ "field_width":"45",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Permanent Employees",
+ "sub_title":"No of Employees (Sighted by Credit Manager)",
+ "question_key":"permanant_employees_cm",
+ "place_holder":"Enter the number",
+ "type":"1",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"num",
+ "field_width":"45",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Temporary Employees",
+ "question_key":"temporary_employees_cm",
+ "place_holder":"Enter the number",
+ "type":"1",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"num",
+ "field_width":"45",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Permanent Employees",
+ "sub_title":"Approximate Salary Paid (Rs Per Month)",
+ "question_key":"permanant_employees_salary",
+ "place_holder":"Enter the number",
+ "type":"1",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"numtoword",
+ "field_width":"45",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Temporary Employees",
+ "question_key":"temporary_employees_salary",
+ "place_holder":"Enter the number",
+ "type":"1",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"numtoword",
+ "field_width":"45",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Required",
+ "value":null
+ }
+ ]
+ }
+
+ ]
+
+ }
\ No newline at end of file
diff --git a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/WCTL/8.json b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/WCTL/8.json
new file mode 100644
index 000000000..b0d3cb467
--- /dev/null
+++ b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/WCTL/8.json
@@ -0,0 +1,697 @@
+{
+ "section_id":"8",
+ "section_name":"Business Assets",
+ "onsubmit":null,
+ "questions":[
+ {
+ "question":" Is this the business address?",
+ "question_key":"is_business_address",
+ "type":"2",
+ "field_width":"100",
+ "answers":[{
+ "answer":"Yes",
+ "answer_id":"Yes"
+ },
+ {
+ "answer":"No",
+ "answer_id":"No"
+ }],
+ "api_properties":null,
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"is_business_address",
+ "expression":"(String('is_business_address') == String('Yes'))",
+ "value_keys":[
+ "is_business_address"
+ ],
+ "questions":[
+ {
+ "question":"No of Years",
+ "sub_title":"How Long has business been operated from visited premises? (Eg. If operating for 5 years and 4 months enter 5 in Years field and 4 in months field",
+ "question_key":"business_years",
+ "place_holder":"",
+ "field_type":"num",
+ "type":"1",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"is_business_address",
+ "answers":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"No of Months",
+ "question_key":"business_months",
+ "place_holder":"",
+ "field_type":"num",
+ "type":"1",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"is_business_address",
+ "answers":null,
+ "validations":[
+ ]
+ },
+ {
+ "question":"Was any business activities seen during visit?",
+ "question_key":"business_is_pd_visited",
+ "place_holder":"",
+ "type":"2",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"business_is_pd_visited",
+ "expression":"(String('business_is_pd_visited') != String('')) && (String('is_business_address') == String('Yes'))",
+ "value_keys":[
+ "business_is_pd_visited",
+ "is_business_address"
+ ],
+ "questions":[
+ {
+ "question":"Remarks",
+ "question_key":"business_pd_visited_remark",
+ "place_holder":"",
+ "field_type":"string",
+ "type":"7",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"business_is_pd_visited",
+ "answers":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field required",
+ "value":null
+ }
+ ]
+ }
+ ]
+ }
+ ]}],
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"is_business_address",
+ "answers":[{
+ "answer":"Yes",
+ "answer_id":"Yes"
+ },
+ {
+ "answer":"No",
+ "answer_id":"No"
+ }],
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Ownership type",
+ "question_key":"business_ownership_type",
+ "place_holder":"",
+ "type":"2",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"business_ownership_type",
+ "expression":"(String('business_ownership_type') == String('Owned')) && (String('is_business_address') == String('Yes'))",
+ "value_keys":[
+ "business_ownership_type",
+ "is_business_address"
+ ],
+ "questions":[
+ {
+ "question":"Approximate Market value",
+ "question_key":"business_approximate_market_value",
+ "place_holder":"",
+ "field_type":"numtoword",
+ "type":"1",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"business_ownership_type",
+ "answers":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Factory owned by",
+ "question_key":"business_name_of_the_owner",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":
+ {
+ "purpose":"answer_options_local",
+ "master_name":"pd_applicants",
+ "fields":["pd_co_applicant_id","applicant_name"]
+ },
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"business_ownership_type",
+ "answers":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Age of asset in years",
+ "question_key":"business_vintage",
+ "place_holder":"",
+ "field_type":"num",
+ "type":"1",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"business_ownership_type",
+ "answers":null,
+ "validations":[
+ ]
+ },
+ {
+ "question":"Purchase year",
+ "question_key":"business_purchase_year",
+ "place_holder":"",
+ "field_type":"num",
+ "type":"1",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"business_ownership_type",
+ "answers":null,
+ "validations":[
+ ]
+ }
+ ,
+ {
+ "question":"Is there a Loan Existing against this asset",
+ "question_key":"business_emi",
+ "type":"2",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"business_ownership_type",
+ "answers":[
+ {
+ "answer":"Yes",
+ "answer_id":"Yes"
+ },
+ {
+ "answer":"No",
+ "answer_id":"No"
+ }
+ ],
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field required",
+ "value":null
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"business_ownership_type",
+ "expression":"(String('business_ownership_type') == String('Rented')) && (String('is_business_address') == String('Yes'))",
+ "value_keys":[
+ "business_ownership_type",
+ "is_business_address"
+ ],
+ "questions":[
+ {
+ "question":"Monthly Rent Amount",
+ "question_key":"business_monthly_rented_amt",
+ "place_holder":"",
+ "field_type":"numtoword",
+ "type":"1",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"business_ownership_type",
+ "answers":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field required",
+ "value":null
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"is_business_address",
+ "answers":[
+ {
+ "answer":"Owned",
+ "answer_id":"Owned"
+ },
+ {
+ "answer":"Rented",
+ "answer_id":"Rented"
+ }
+ ],
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field required",
+ "value":null
+ }
+ ]
+ }
+
+
+
+ ]
+ }
+ ]
+ }
+ ],
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Is there any other business asset available?",
+ "question_key":"asset_info_available",
+ "type":"2",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":[{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"asset_info_available",
+ "expression":"(String('asset_info_available') == String('Yes'))",
+ "value_keys":[
+ "asset_info_available"
+ ],
+ "questions":[
+ {
+ "question":[{
+ "question":"Asset Type",
+ "question_key":"business_assets_mode",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"ASSETTYPE"
+ },
+ "fields":[
+ "id",
+ "name"
+ ]
+ },
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "answers":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Description",
+ "question_key":"other_asset_description",
+ "type":"7",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "answers":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Ownership type",
+ "question_key":"business_ownership_type",
+ "place_holder":"",
+ "type":"2",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"business_ownership_type",
+ "expression":"(String('business_ownership_type') == String('Owned'))",
+ "value_keys":[
+ "business_ownership_type"
+ ],
+ "questions":[
+ {
+ "question":"Approximate Market value",
+ "question_key":"business_approximate_market_value",
+ "place_holder":"",
+ "field_type":"numtoword",
+ "type":"1",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"business_ownership_type",
+ "answers":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Factory owned by",
+ "question_key":"business_name_of_the_owner",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":
+ {
+ "purpose":"answer_options_local",
+ "master_name":"pd_applicants",
+ "fields":["pd_co_applicant_id","applicant_name"]
+ },
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"business_ownership_type",
+ "answers":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Age of asset in years",
+ "question_key":"business_vintage",
+ "place_holder":"",
+ "field_type":"num",
+ "type":"1",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":[
+ {
+ "purpose":"answer_value",
+ "expression":"(function(){let current_year = new Date().getFullYear(); return current_year-Number(business_vintage)}())",
+ "value_keys":[
+ "business_vintage"
+ ],
+ "insert_control":"business_purchase_year"
+ }
+ ],
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"business_ownership_type",
+ "answers":null,
+ "validations":[
+
+ ]
+ },
+ {
+ "question":"Purchase year",
+ "question_key":"business_purchase_year",
+ "place_holder":"",
+ "field_type":"num",
+ "type":"1",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":[
+ {
+ "purpose":"answer_value",
+ "expression":"(function(){let current_year = new Date().getFullYear(); return current_year-Number(business_purchase_year)}())",
+ "value_keys":[
+ "business_purchase_year"
+ ],
+ "insert_control":"business_vintage"
+ }
+ ],
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"business_ownership_type",
+ "answers":null,
+ "validations":[
+
+ ]
+ }
+ ,
+ {
+ "question":"Is there a Loan Existing against this asset",
+ "question_key":"business_emi",
+ "type":"2",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"business_ownership_type",
+ "answers":[
+ {
+ "answer":"Yes",
+ "answer_id":"Yes"
+ },
+ {
+ "answer":"No",
+ "answer_id":"No"
+ }
+ ],
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field required",
+ "value":null
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"business_ownership_type",
+ "expression":"(String('business_ownership_type') == String('Rented'))",
+ "value_keys":[
+ "business_ownership_type"
+ ],
+ "questions":[
+ {
+ "question":"Monthly Rent Amount",
+ "question_key":"business_monthly_rented_amt",
+ "place_holder":"",
+ "field_type":"numtoword",
+ "type":"1",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"business_ownership_type",
+ "answers":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field required",
+ "value":null
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"is_business_address",
+ "answers":[
+ {
+ "answer":"Owned",
+ "answer_id":"Owned"
+ },
+ {
+ "answer":"Rented",
+ "answer_id":"Rented"
+ }
+ ],
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Name of the Company",
+ "question_key":"company_name",
+ "place_holder":"Enter text",
+ "type":"3",
+ "api_properties":{
+ "api":"getCompanyListForSMCList",
+ "api_method":"POST",
+ "params":{"records":{
+ "pd_id":"VAR_PD_ID",
+ "random_string":"VAR_RANDOM_STRING"
+ }},
+ "fields":[
+ "company_id",
+ "borrower_name"
+ ]
+ },
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Company Name Required",
+ "value":null
+ }
+ ]
+ }],
+ "is_repeatable":"1",
+ "group_title":"Business Asset Details",
+ "group_key":"business_assets_details"
+ }
+
+ ]
+ }
+ ]
+ }],
+ "is_repeatable":null,
+ "answers":[{
+ "answer":"Yes",
+ "answer_id":"Yes"
+ },
+ {
+ "answer":"No",
+ "answer_id":"No"
+ }],
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field required",
+ "value":null
+ }
+ ]
+ }
+
+
+
+ ]
+ }
+
\ No newline at end of file
diff --git a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/WCTL/9.json b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/WCTL/9.json
new file mode 100644
index 000000000..f47f4bab0
--- /dev/null
+++ b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/WCTL/9.json
@@ -0,0 +1,108 @@
+{
+ "section_id": "9",
+ "section_name": "Business and Personal Banking Details",
+ "onsubmit": [],
+ "questions": [
+ {
+ "question": [
+ {
+ "question": "Business Account holder name",
+ "question_key": "applicant_name",
+ "type": "1",
+ "api_properties": {
+ "purpose": "answer_options_local",
+ "master_name": "pd_applicants",
+ "fields": [
+ "pd_co_applicant_id",
+ "applicant_name"
+ ]
+ },
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "field_type": "string",
+ "validations": [
+ {
+ "name": "required",
+ "isactive": "1",
+ "validator": "Validators.required",
+ "message": "Required",
+ "value": null
+ }
+ ]
+ },
+ {
+ "question": "Bank Name",
+ "question_key": "bank_name",
+ "type": "1",
+ "field_width": "45",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": [
+ {
+ "name": "required",
+ "isactive": "1",
+ "validator": "Validators.required",
+ "message": "Field Required",
+ "value": null
+ }
+ ]
+ },
+ {
+ "question": "Business Account type",
+ "question_key": "account_type",
+ "type": "1",
+ "field_width": "45",
+ "api_properties": {
+ "api": "getListOfMaster",
+ "api_method": "POST",
+ "params": {
+ "master_name": "ACCOUNTTYPE"
+ },
+ "fields": [
+ "bt_lender_list_id",
+ "lender_name"
+ ]
+ },
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": [
+ {
+ "name": "required",
+ "isactive": "1",
+ "validator": "Validators.required",
+ "message": "Field Required",
+ "value": null
+ }
+ ]
+ },
+ {
+ "question": "OD/CC Limit",
+ "question_key": "cc_limit",
+ "type": "1",
+ "field_width": "45",
+ "field_type": "num",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": [
+ {
+ "name": "required",
+ "isactive": "1",
+ "validator": "Validators.required",
+ "message": "Field Required",
+ "value": null
+ }
+ ]
+ }
+ ],
+ "is_repeatable": "1",
+ "group_title": "Banking Details",
+ "group_key": "banking_details"
+ }
+ ]
+}
\ No newline at end of file
diff --git a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/all/1.json b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/all/1.json
new file mode 100644
index 000000000..a2857c1ff
--- /dev/null
+++ b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/all/1.json
@@ -0,0 +1,315 @@
+{
+ "section_id":"1",
+ "section_name":"Borrower & Guarantor Details",
+ "onsubmit":null,
+ "questions":[
+ {
+ "question":[{
+ "question":"Borrower Type",
+ "question_key":"borrower_type",
+ "type":"1",
+ "field_width":"100",
+ "answers":null,
+ "api_properties":null,
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"relationship",
+ "expression":"(String('borrower_type').toLowerCase() != String('guarantor'))",
+ "value_keys":[
+ "borrower_type"
+ ],
+ "questions":[
+ {
+ "question":"Numbers of years for which the business has been running",
+ "question_key":"numbers_of_years_business_running",
+ "type":"1",
+ "field_width":"45",
+ "field_type":"num",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_subfield":"1",
+ "parent_question_key":"entity_type",
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "purpose":"validations",
+ "validations":[{
+ "value_keys":["borrower_type"],
+ "value":"(String('borrower_type').toLowerCase() != String('guarantor'))",
+ "validation_to":"borrower_age",
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Required"
+ }]}
+ ],
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Name",
+ "question_key":"borrower_name",
+ "type":"1",
+ "field_width":"100",
+ "onchange_properties":null,
+ "api_properties":null,
+ "answers":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "questions_level_two":[
+ {
+ "question":"Mobile Number",
+ "question_key":"mobile_no",
+ "type":"1",
+ "field_type":"num",
+ "field_width":"100",
+ "onchange_properties":null,
+ "api_properties":null,
+ "answers":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"pattern",
+ "isactive":"1",
+ "validator":"[0-9]{10}",
+ "message":"Mobile number should be 10 digit",
+ "value":null
+ }
+ ]
+ }
+ ],
+ "is_repeatable":"2",
+ "group_key":"mobile_numbers",
+ "group_title":"Mobile Number"
+ },
+ {
+ "question":"Entity Type",
+ "question_key":"entity_type",
+ "type":"1",
+ "field_width":"100",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"relationship",
+ "expression":"(String('entity_type').toLowerCase() == String('individual'))",
+ "value_keys":[
+ "entity_type"
+ ],
+ "questions":[
+ {
+ "question":"Age",
+ "question_key":"borrower_age",
+ "type":"1",
+ "field_type":"num",
+ "field_width":"50",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_subfield":"1",
+ "parent_question_key":"entity_type",
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ }
+ ]},
+ {
+ "insert_index":"relationship",
+ "expression":"(String('entity_type').toLowerCase() == String('individual'))",
+ "value_keys":[
+ "entity_type"
+ ],
+ "questions":[
+ {
+ "question":"Met / Not Met",
+ "question_key":"borrower_met",
+ "type":"2",
+
+ "field_width":"20",
+ "api_properties":null,
+ "answers":[
+ {
+ "answer_id":"Yes",
+ "answer":"Yes"
+ },
+ {
+ "answer_id":"No",
+ "answer":"No"
+ }
+ ],
+ "onchange_properties":null,
+ "is_subfield":"1",
+ "parent_question_key":"entity_type",
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ }
+ ]
+ }
+
+ ]
+ },
+ {
+ "purpose":"question_label",
+ "expression":"(function () {let label= '';(String('entity_type').toLowerCase().includes('individual')) ? label= 'Number of years the borrower has been in this business.' : label = 'Number of years for which the business has been running';return label}())",
+ "value_keys":[
+ "entity_type"
+ ],
+ "insert_control":"numbers_of_years_business_running"
+ },
+ {
+ "purpose":"validations",
+ "validations":[{
+ "value_keys":["borrower_type"],
+ "value":"(String('borrower_type').toLowerCase() != String('guarantor'))",
+ "validation_to":"borrower_age",
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Required"
+ }]}
+ ],
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Designation",
+ "question_key":"designation",
+ "type":"1",
+ "field_width":"100",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Relationship to",
+ "question_key":"relationship_to",
+ "type":"1",
+ "field_width":"100",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Relationship",
+ "question_key":"relationship",
+ "type":"1",
+ "field_width":"100",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ }
+
+
+
+ ],
+ "is_repeatable":"1",
+ "group_key":"borrower_details",
+ "group_title":"Borrower Details"},
+ {
+ "question_key":"common_remarks",
+ "question":"Remarks",
+ "place_holder":"Enter the text",
+ "type":"7",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"45",
+ "validations":[
+ ]
+ }
+ ]
+}
diff --git a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/all/10.json b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/all/10.json
new file mode 100644
index 000000000..80140a283
--- /dev/null
+++ b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/all/10.json
@@ -0,0 +1,410 @@
+{
+ "section_id":"3",
+ "section_name":"Loan details",
+ "onsubmit":null,
+ "questions":[
+ {
+ "question":"Loan amount applied for ?",
+ "question_key":"loan_amount",
+ "type":"1",
+ "field_type":"numtoword",
+ "field_width":"65",
+ "answers":null,
+ "api_properties":null,
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"total_fund_requirement",
+ "expression":" typeof(total_fund_requirement) == 'number' && (Number(total_fund_requirement) < Number(loan_amount))",
+ "value_keys":[
+ "total_fund_requirement","loan_amount"
+ ],
+ "questions":[
+ {
+ "question":"Remarks on source of funds for balance amount required",
+ "question_key":"remarks_fund_source_balance",
+ "place_holder":"",
+ "field_type":"string",
+ "type":"1",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"total_fund_requirement",
+ "answers":null,
+ "validations":[
+
+ ]
+ }
+ ]
+ }]
+ }
+ ],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ },
+ {
+ "question":"Loan Tenure applied for ?",
+ "question_key":"loan_tenure",
+ "type":"1",
+ "field_type":"num",
+ "field_width":"25",
+ "onchange_properties": null,
+ "api_properties":null,
+ "answers":null,
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ },
+ {
+ "question":"Sub Product",
+ "question_key":"sub_product",
+ "type":"3",
+ "field_width":"65",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"SUBPRODUCTS"
+ },
+ "fields":[
+ "subproduct_id",
+ "name"
+ ]
+ },
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ },
+ {
+ "question":"What is the end use",
+ "question_key":"end_use",
+ "type":"3",
+ "field_width":"65",
+ "api_properties":{
+ "api":"getEndUseOfLoan",
+ "api_method":"POST",
+ "params":{
+ "master_name":null
+ },
+ "fields":["enduse_of_loan_id","enduse_of_loan"]
+ },
+
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ },
+ {
+ "question":"Is there a balance transfer?",
+ "question_key":"balance_transfer",
+ "type":"3",
+ "field_width":"65",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"BTLENDERLIST"
+ },
+ "fields":[
+ "bt_lender_list_id",
+ "lender_name"
+ ]
+ },
+ "answers": null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ },
+ {
+ "question":"EMI Amount comfortable paying",
+ "question_key":"emi_amount",
+ "type":"1",
+ "field_type":"numtoword",
+ "field_width":"65",
+ "answers":null,
+ "api_properties":null,
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"total_fund_requirement",
+ "expression":" typeof(total_fund_requirement) == 'number' && (Number(total_fund_requirement) < Number(loan_amount))",
+ "value_keys":[
+ "total_fund_requirement","loan_amount"
+ ],
+ "questions":[
+
+ ]
+ }]
+ }
+ ],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ },
+ {
+ "question":"Type of Property",
+ "question_key":"is_transfer",
+ "type":"3",
+ "sub_title":"Details of Property being Mortgaged",
+ "field_width":"55",
+ "api_properties":null,
+ "answers":[
+ {
+ "answer_id":"Chawl",
+ "answer":"Chawl"
+ },{
+ "answer_id":"Flat",
+ "answer":"Flat"
+ },{
+ "answer_id":"Floor",
+ "answer":"Floor"
+ },
+ {
+ "answer_id":"Independent House",
+ "answer":"Independent House"
+ }, {
+ "answer_id":"Row House",
+ "answer":"Row House"
+ }
+
+ ],
+ "onchange_properties": [],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ },
+ {
+ "question":"Specify Type of Property*",
+ "question_key":"Specify_Type",
+ "type":"1",
+ "field_width":"55",
+ "api_properties":null,
+ "answers":[
+ {
+ "answer_id":"other",
+ "answer":"other"
+ }
+
+ ],
+ "onchange_properties": [],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ },
+ {
+ "question":"Name of Owner",
+ "question_key":"owner_name",
+ "type":"4",
+ "field_width":"45",
+ "api_properties":
+ {
+ "purpose":"answer_options_local",
+ "master_name":"pd_applicants",
+ "fields":["pd_co_applicant_id","applicant_name"]
+ },
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ },
+ {
+ "question":"Status of Construction",
+ "question_key":"is_transfer",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"STATUSOFCONSTRUCTION"
+ },
+ "fields":[
+ "id",
+ "name"
+ ]
+ },
+ "answers": null,
+ "onchange_properties": [],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ },
+
+ {
+ "question":"Estimated market value as per customer",
+ "question_key":"emv_per_customer",
+ "place_holder":"",
+ "field_type":"numtoword",
+ "type":"1",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "answers":null,
+ "validations":[
+
+ ]
+ },
+ {
+ "question":"Address of Property*",
+ "question_key":"Address_of_Property",
+ "place_holder":"",
+ "field_type":"text",
+ "type":"1",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "answers":null,
+ "validations":[
+
+ ]
+ },
+ {
+ "question": "State",
+ "question_key": "state",
+ "type": "3",
+ "answers": null,
+ "field_width":"45",
+ "api_properties": {
+ "api": "getListOfMaster",
+ "api_method": "POST",
+ "params": {
+ "master_name": "STATE"
+ },
+ "fields": [
+ "state_id",
+ "name"
+ ]
+ },
+ "onchange_properties": [
+ {
+ "purpose": "api",
+ "api": "getListOfStatesAndCities",
+ "api_method": "POST",
+ "params": "{records:{state_id:'value_of_answer'}}",
+ "fields": [
+ "state_id",
+ "name"
+ ],
+ "local_variable": "local_city"
+ }
+ ],
+ "is_repeatable": null,
+ "validations": [
+ {
+ "name": "required",
+ "isactive": "1",
+ "validator": "Validators.required",
+ "message": "State Required",
+ "value": null
+ }
+ ]
+ },
+ {
+ "question": "City",
+ "question_key": "city",
+ "type": "3",
+ "answers": null,
+ "field_width":"45",
+ "api_properties": "local_city",
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": [
+ {
+ "name": "required",
+ "isactive": "1",
+ "validator": "Validators.required",
+ "message": "CIty Required",
+ "value": null
+ }
+ ]
+ },
+ {
+ "question": "Pincode",
+ "question_key": "pincode",
+ "type": "3",
+ "answers": null,
+ "field_width":"45",
+ "api_properties": "local_pincode",
+ "onchange_properties": [
+ {
+ "purpose": "FORM_CTRL",
+ "form_controls": [
+ {
+ "insert_index": "pincode",
+ "expression": "(pincode == 1)",
+ "value_keys": [
+ "pincode"
+ ],
+ "questions": [
+ {
+ "question_key": "pincode_others",
+ "question": "Specify the Pincode",
+ "place_holder": "Enter the Pincode",
+ "type": "1",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "field_type": "num",
+ "validations": [
+ {
+ "name": "required",
+ "isactive": "1",
+ "validator": "Validators.required",
+ "message": "Pincode is Required",
+ "value": null
+ },
+ {
+ "name": "pattern",
+ "isactive": "1",
+ "validator": "[0-9]{6}",
+ "message": "Pincode should be 6 digit",
+ "value": null
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "is_repeatable": null,
+ "validations": [
+ {
+ "name": "required",
+ "isactive": "1",
+ "validator": "Validators.required",
+ "message": "Pincode Required",
+ "value": null
+ }
+ ]
+ }
+
+
+ ]
+ }
+
\ No newline at end of file
diff --git a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/all/12.json b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/all/12.json
new file mode 100644
index 000000000..ef9f27ef7
--- /dev/null
+++ b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/all/12.json
@@ -0,0 +1,764 @@
+{
+ "section_id": "4",
+ "section_name": "Employement Information",
+ "onsubmit": null,
+ "questions": [
+
+
+
+ {
+ "question": "Name of Employer*",
+ "question_key": "Name_of_Employer",
+ "type": "3",
+ "disable":false,
+ "field_width": "35",
+ "answers": null,
+ "api_properties": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": [
+ {
+ "name": "required",
+ "isactive": "1",
+ "validator": "Validators.required",
+ "message": "Field Required",
+ "value": null
+ }
+ ]
+ },
+ {
+ "question": "Company profile in brief",
+ "question_key": "Company_profile_in_brief",
+ "type": "7",
+ "disable":false,
+ "field_width": "100",
+ "answers": null,
+ "api_properties": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": [
+ {
+ "name": "required",
+ "isactive": "1",
+ "validator": "Validators.required",
+ "message": "Field Required",
+ "value": null
+ }
+ ]
+ },
+ {
+ "question": "Since how long working with this employer?",
+ "question_key": "Since_how_long_working_with_this_employer?",
+ "field_type":"null",
+ "sub_title":"Since how long working with this employer?",
+ "disable":false,
+ "field_width": "100",
+ "answers": null,
+ "api_properties": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": []
+ },
+ {
+ "question": "Year*",
+ "question_key": "Year",
+ "type": "1",
+ "field_type":"num",
+
+ "disable":false,
+ "field_width": "25",
+ "answers": null,
+ "api_properties": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": [
+ {
+ "name": "required",
+ "isactive": "1",
+ "validator": "Validators.required",
+ "message": "Field Required",
+ "value": null
+ }
+ ]
+ },
+ {
+ "question": "Month",
+ "question_key": "Month",
+ "type": "1",
+ "disable":false,
+ "field_type":"num",
+ "field_width": "25",
+ "answers": null,
+ "api_properties": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": [
+ {
+ "name": "required",
+ "isactive": "1",
+ "validator": "Validators.required",
+ "message": "Field Required",
+ "value": null
+ }
+ ]
+ },
+ {
+ "question": "Total Work Experience",
+ "question_key": "Total_Work_Experience",
+ "type": "1",
+ "disable":false,
+ "field_width": "25",
+ "answers": null,
+ "api_properties": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": [
+ {
+ "name": "required",
+ "isactive": "1",
+ "validator": "Validators.required",
+ "message": "Field Required",
+ "value": null
+ }
+ ]
+ },
+ {
+ "question":"Was the employee met?",
+ "question_key":"Was_the_employee_met",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":null,
+ "answers":[
+ {
+ "answer_id":"Yes",
+ "answer":"Yes"
+ },
+ {
+ "answer_id":"No",
+ "answer":"No"
+ }
+ ],
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Was_the_employee_met",
+ "expression":"(String('Was_the_employee_met') == String('Yes'))",
+ "value_keys":[
+ "Was_the_employee_met"
+ ],
+ "questions":[
+ {
+ "question":"Name of the Person met",
+ "question_key":"Name_of_the_Person_met",
+ "place_holder":"",
+ "field_type":"text",
+ "type":"1",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Was_the_employee_met",
+ "answers":null,
+ "validations":[
+ ]
+ },{
+ "question":"Designation of Person met",
+ "question_key":"Designation_of_Person_met",
+ "place_holder":"",
+ "field_type":"text",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Was_the_employee_met",
+ "answers":null,
+ "validations":[
+ ]
+ },{
+ "question":"Photograph of 'Photo ID card of the Employee/Manager'",
+ "question_key":"Photograph",
+ "place_holder":"",
+ "field_type":"text",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Was_the_employee_met",
+ "answers":null,
+ "validations":[
+ ]
+ },{
+ "question":"Employer's/Manager's Company ID card / Visiting card provided?",
+ "question_key":"Visiting_card_provided",
+ "place_holder":"",
+ "field_type":"text",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Was_the_employee_met",
+ "answers":[
+ {
+ "answer_id":"Yes",
+ "answer":"Yes"
+ },
+ {
+ "answer_id":"No",
+ "answer":"No"
+ }
+ ],
+ "validations":[
+ ]
+ }]
+ }]
+
+ }],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ },
+ {
+ "question":"Salary Amount confirmed?",
+ "question_key":"Salary_Amount_confirmed",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":null,
+ "answers":[
+ {
+ "answer_id":"Yes",
+ "answer":"Yes"
+ },
+ {
+ "answer_id":"No",
+ "answer":"No"
+ }
+ ],
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Salary_Amount_confirmed",
+ "expression":"(String('Salary_Amount_confirmed') == String('No'))",
+ "value_keys":[
+ "Salary_Amount_confirmed"
+ ],
+ "questions":[
+ {
+ "question":"why salary amount was not confirmed",
+ "question_key":"why_salary_amount_was_not_confirmed",
+ "place_holder":"why salary amount was not confirmed",
+ "field_type":"text",
+ "type":"7",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Salary_Amount_confirmed",
+ "answers":null,
+ "validations":[
+ ]
+
+ }]
+ }]
+ }],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ },
+ {
+ "question":"Attendance register seen?",
+ "question_key":"Attendance_register_seen",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":null,
+ "answers":[
+ {
+ "answer_id":"Yes",
+ "answer":"yes"
+ },
+ {
+ "answer_id":"No",
+ "answer":"no"
+ }
+ ],
+ "onchange_properties": [],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ },
+ {
+ "question":"Salary register seen?",
+ "question_key":"Salary_register_seen",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":null,
+ "answers":[
+ {
+ "answer_id":"Yes",
+ "answer":"yes"
+ },
+ {
+ "answer_id":"No",
+ "answer":"no"
+ }
+ ],
+ "onchange_properties": [],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ },
+ {
+ "question":"Cash Voucher",
+ "question_key":"Cash_Voucher",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":null,
+ "answers":[
+ {
+ "answer_id":"Yes",
+ "answer":"yes"
+ },
+ {
+ "answer_id":"No",
+ "answer":"no"
+ }
+ ],
+ "onchange_properties": [],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ },
+ {
+ "question":"Salary Certificate",
+ "question_key":"Salary_Certificate",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":null,
+ "answers":[
+ {
+ "answer_id":"Yes",
+ "answer":"yes"
+ },
+ {
+ "answer_id":"No",
+ "answer":"no"
+ }
+ ],
+ "onchange_properties": [],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ },
+ {
+ "question":"Salary Slip",
+ "question_key":"Salary_Slip",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":null,
+ "answers":[
+ {
+ "answer_id":"Yes",
+ "answer":"yes"
+ },
+ {
+ "answer_id":"No",
+ "answer":"no"
+ }
+ ],
+ "onchange_properties": [],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ },
+ {
+ "question":"Others please specify",
+ "question_key":"Others_please_specify",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":null,
+ "answers":[
+ {
+ "answer_id":"Yes",
+ "answer":"Yes"
+ },
+ {
+ "answer_id":"No",
+ "answer":"No"
+ }
+ ],
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Others_please_specify",
+ "expression":"(String('Others_please_specify') == String('Yes'))",
+ "value_keys":[
+ "Others_please_specify"
+ ],
+ "questions":[
+ {
+ "question":"Specify the Document",
+ "question_key":"Specify_the_Document",
+ "type":"1",
+ "field_width":"45",
+ "api_properties":null,
+ "parent_question_key":"Others_please_specify",
+ "answers":[
+
+ ],
+ "onchange_properties": [],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ }]
+ }]
+
+ },{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Others_please_specify",
+ "expression":"(String('Others_please_specify') == String('No'))",
+ "value_keys":[
+ "Others_please_specify"
+ ],
+ "questions":[
+ {
+ "question":"Why Documents are not available?",
+ "question_key":"Why_Documents_are_not_available",
+ "place_holder":"",
+ "field_type":"text",
+ "type":"1",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Others_please_specify",
+ "answers":null,
+ "validations":[
+ ]
+ }]
+ }]
+
+ }],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ },
+
+ {
+ "question":"Mode of getting salary",
+ "question_key":"Mode_of_getting_salary",
+ "type":"3",
+ "field_width":"65",
+ "api_properties":null,
+ "answers":[
+ {
+ "answer":"Bank Transfer",
+ "answer_id":"Bank_Transfer"
+ },
+ {
+ "answer":"Paid in Cash",
+ "answer_id":"Paid_in_Cash"
+ },
+ {
+ "answer":"Both Bank Transfer & Cash",
+ "answer_id":"Both_Bank_Transfer_and _Cash"
+ }
+ ],
+ "onchange_properties": [],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ }, {
+ "question": "Salary Details",
+ "question_key": "Salary_Details",
+ "field_type":"null",
+ "sub_title":"Salary Details",
+ "disable":false,
+ "field_width": "100",
+ "answers": null,
+ "api_properties": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": []
+ },
+ {
+ "question": "Date of Salary",
+ "question_key": "Date_of_Salary",
+ "field_type":"null",
+ "sub_title":"Date of Salary",
+ "disable":false,
+ "field_width": "100",
+ "answers": null,
+ "api_properties": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": []
+ },
+ {
+ "question":"From",
+ "question_key":"from",
+ "type":"3",
+
+ "field_width":"45",
+ "api_properties":null,
+ "answers":[
+ {
+ "answer":"Bank Transfer",
+ "answer_id":"Bank_Transfer"
+ },
+ {
+ "answer":"Paid in Cash",
+ "answer_id":"Paid_in_Cash"
+ },
+ {
+ "answer":"Both Bank Transfer & Cash",
+ "answer_id":"Both_Bank_Transfer_and _Cash"
+ }
+ ],
+ "onchange_properties": [],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ },
+ {
+ "question":"To",
+ "question_key":"to",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":null,
+ "answers":[
+ {
+ "answer":"Bank Transfer",
+ "answer_id":"Bank_Transfer"
+ },
+ {
+ "answer":"Paid in Cash",
+ "answer_id":"Paid_in_Cash"
+ },
+ {
+ "answer":"Both Bank Transfer & Cash",
+ "answer_id":"Both_Bank_Transfer_and _Cash"
+ }
+ ],
+ "onchange_properties": [],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ }, {
+ "question":"Has salary been paid regularly in last 3 months",
+ "question_key":"Has_salary_been_paid_regularly_in_last_3_months",
+ "type":"3",
+ "field_width":"65",
+ "api_properties":null,
+ "answers":[
+ {
+ "answer":"Yes",
+ "answer_id":"yes"
+ },
+ {
+ "answer":"No",
+ "answer_id":"no"
+ }
+
+ ],
+ "onchange_properties": [],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ },
+ {
+ "question":"Gross Monthly Salary",
+ "question_key":"Gross_Monthly_Salary",
+ "type":"1",
+ "field_type":"numtoword",
+ "field_width":"65",
+ "api_properties":null,
+ "answers":[
+ ],
+ "onchange_properties": [],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ },
+ {
+ "question":"Net Monthly Salary",
+ "question_key":"Net_Monthly_Salary",
+ "type":"1",
+ "field_width":"65",
+ "field_type":"numtoword",
+ "api_properties":null,
+ "answers":[
+
+ ],
+ "onchange_properties": [],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ },
+ {
+ "question":"Bounce or incentive*",
+ "question_key":"Bounce_or_incentive",
+ "type":"1",
+ "field_type":"numtoword",
+ "field_width":"65",
+ "api_properties":null,
+ "answers":[
+
+ ],
+ "onchange_properties": [],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ }, {
+ "question": "Bonus Frequency",
+ "question_key": "Bonus_Frequency",
+ "type": "3",
+ "field_width": "45",
+ "api_properties": null,
+ "answers": [
+ {
+ "answer": "Daily",
+ "answer_id": "Daily"
+ },
+ {
+ "answer": "Every 12 days",
+ "answer_id": "Every_12_days"
+ },
+ {
+ "answer": " Every 15 days",
+ "answer_id": " Every_15_days"
+ },
+ {
+ "answer": " Every 3 months",
+ "answer_id": " Every_3_months"
+ },
+ {
+ "answer": " Every 6 month",
+ "answer_id": " Every_6_month"
+ },
+ {
+ "answer": " Monthly",
+ "answer_id": "Monthly"
+ },
+ {
+ "answer": " Yearly",
+ "answer_id": "Yearly"
+ }
+ ],
+ "onchange_properties": [
+ ],
+ "is_repeatable": null,
+ "validations": [
+
+ ]
+ },
+ {
+ "question": "Type of Bonus",
+ "question_key": "Type_of_Bonus",
+ "type": "3",
+ "field_width": "45",
+ "api_properties": null,
+ "answers": [
+ {
+ "answer": "Fixed",
+ "answer_id": "Fixed"
+ },
+ {
+ "answer": "Variable depending on performance",
+ "answer_id": "Variable_depending_on_performance"
+ },
+ {
+ "answer": " Others",
+ "answer_id": "Others"
+ }
+
+ ],
+ "onchange_properties": [
+ ],
+ "is_repeatable": null,
+ "validations": [
+
+ ]
+ },{
+ "question":"ID card issued by the Company seen?*",
+ "question_key":"ID_card_issued_by_the_Company_seen",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":null,
+ "answers":[
+ {
+ "answer_id":"Yes",
+ "answer":"Yes"
+ },
+ {
+ "answer_id":"No",
+ "answer":"No"
+ }
+ ],
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"ID_card_issued_by_the_Company_seen",
+ "expression":"(String('ID_card_issued_by_the_Company_seen') == String('No'))",
+ "value_keys":[
+ "ID_card_issued_by_the_Company_seen"
+ ],
+ "questions":[
+ {
+ "question_key": "common_remarks",
+ "question": "Remarks",
+ "place_holder": "Enter the text",
+ "type": "7",
+ "disable":false,
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "field_type": "string",
+ "field_width": "45",
+ "validations": []
+ }]
+ }]
+ }],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ }
+
+
+ ]
+}
\ No newline at end of file
diff --git a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/all/13.json b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/all/13.json
new file mode 100644
index 000000000..4fbfbe025
--- /dev/null
+++ b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/all/13.json
@@ -0,0 +1,330 @@
+{
+ "section_id": "13",
+ "section_name": "Stock details",
+ "onsubmit": [],
+ "questions": [
+ {
+ "question": "Is stock applicable to the business (Yes / No)",
+ "question_key": "stock_info_available",
+ "type": "2",
+ "field_width": "45",
+ "api_properties": null,
+ "onchange_properties": [
+ {
+ "purpose": "FORM_CTRL",
+ "form_controls": [
+ {
+ "insert_index": "stock_info_available",
+ "expression": "(String('stock_info_available') == String('No'))",
+ "value_keys": [
+ "stock_info_available"
+ ],
+ "questions": [
+ {
+ "question": "Reason",
+ "question_key": "stock_not_available_reason",
+ "type": "7",
+ "field_width": "100",
+ "api_properties": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "is_subfield": "1",
+ "parent_question_key": "stock_info_available",
+ "answers": null,
+ "validations": [
+
+ ]
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "purpose": "FORM_CTRL",
+ "form_controls": [
+ {
+ "insert_index": "stock_info_available",
+ "expression": "(String('stock_info_available') == String('Yes'))",
+ "value_keys": [
+ "stock_info_available"
+ ],
+ "questions":[
+ {
+ "question": "Is the stock of finished goods observed, sufficient considering the size of operations",
+ "question_key": "estimated_uom",
+ "type": "3",
+ "field_width": "100",
+ "api_properties": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "is_subfield": "1",
+ "parent_question_key": "stock_info_available",
+ "answers": [
+ {
+ "answer": "Yes",
+ "answer_id": "yes"
+ },
+ {
+ "answer": "No",
+ "answer_id": "no"
+ },
+ {
+ "answer": "Stock not required to be maintained",
+ "answer_id": "not applicable"
+ }
+ ],
+ "validations": [
+
+ ]
+ }
+ ]
+ },
+ {
+ "insert_index": "stock_info_available",
+ "expression": "(String('stock_info_available') == String('Yes'))",
+ "value_keys": [
+ "stock_info_available"
+ ],
+ "questions": [
+ {
+ "question": [
+ {
+ "question": "Type of Stock",
+ "question_key": "stock_type",
+ "type": "3",
+ "field_width": "100",
+ "api_properties": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "is_subfield": "1",
+ "parent_question_key": "stock_info_available",
+ "answers": [
+ {
+ "answer": "RM",
+ "answer_id": "RM"
+ },
+ {
+ "answer": "FG",
+ "answer_id": "FG"
+ },
+ {
+ "answer": "SFG",
+ "answer_id": "SFG"
+ }
+ ],
+ "validations": [
+
+ ]
+ },
+ {
+ "question": "Name of trading goods/manufacturing goods (raw material/finished goods)/ Service Provided",
+ "question_key": "provider_name",
+ "place_holder": "Enter text",
+ "type": "1",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "field_type": "string",
+ "validations": [
+
+ ]
+ },
+ {
+ "question": "Stock",
+ "question_key": "provider_observed",
+ "type": "3",
+ "api_properties": null,
+ "answers": [
+ {
+ "answer": "Add Stock Details",
+ "answer_id": "yes"
+ },
+ {
+ "answer": "No Stock Observed",
+ "answer_id": "no"
+ }
+ ],
+ "is_repeatable": null,
+ "validations": [
+
+ ],
+ "onchange_properties": [
+ {
+ "purpose": "FORM_CTRL",
+ "form_controls": [
+ {
+ "insert_index": "provider_observed",
+ "expression": "(String('provider_observed') === String('yes'))",
+ "value_keys": [
+ "provider_observed"
+ ],
+ "questions": [
+ {
+ "question": "Estimated Quantity",
+ "question_key": "estimated_quantity",
+ "type": "1",
+ "field_width": "100",
+ "field_type": "num",
+ "api_properties": null,
+ "onchange_properties": [
+ {
+ "purpose": "validations",
+ "validations": [
+
+ {
+ "name": "required",
+ "isactive": "1",
+ "validator": "",
+ "message": "Either Estimated Stock value or Estimated Quantity is required",
+ "value": "(String('estimated_quantity') === String(''))",
+ "validation_to": "estimated_stock_value",
+ "value_keys": [
+ "estimated_quantity",
+ "estimated_stock_value"
+ ]
+ }
+ ]
+ }
+ ],
+ "is_repeatable": null,
+ "is_subfield": "1",
+ "parent_question_key": "provider_observed",
+ "answers": null,
+ "validations": [
+
+ ]
+ },
+ {
+ "question": "UOM",
+ "question_key": "estimated_uom",
+ "type": "3",
+ "field_width": "100",
+ "api_properties": {
+ "api": "getListOfMaster",
+ "api_method": "POST",
+ "params": {
+ "master_name": "UOM"
+ },
+ "fields": [
+ "uom_id",
+ "name"
+ ]
+ },
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "is_subfield": "1",
+ "parent_question_key": "provider_observed",
+ "answers": null,
+ "validations": [
+ ]
+ },
+ {
+ "question": "Estimated value of stock observed",
+ "question_key": "estimated_stock_value",
+ "type": "1",
+ "field_type": "numtoword",
+ "field_width": "100",
+ "api_properties": null,
+ "onchange_properties": [
+ {
+ "purpose": "validations",
+ "validations": [
+ {
+ "name": "required",
+ "isactive": "1",
+ "validator": "",
+ "message": "Either Estimated Stock value or Estimated Quantity is required",
+ "value": "(String('estimated_stock_value') === String(''))",
+ "validation_to": "estimated_quantity",
+ "value_keys": [
+ "estimated_stock_value"
+ ]
+ }
+ ]
+ }
+ ],
+ "is_repeatable": null,
+ "is_subfield": "1",
+ "parent_question_key": "provider_observed",
+ "answers": null,
+ "validations": []
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "question":"Name of the Company",
+ "question_key":"company_name",
+ "place_holder":"Enter text",
+ "type":"3",
+ "api_properties":{
+ "api":"getCompanyListForSMCList",
+ "api_method":"POST",
+ "params":{"records":{
+ "pd_id":"VAR_PD_ID",
+ "random_string":"VAR_RANDOM_STRING"
+ }},
+ "fields":[
+ "company_id",
+ "borrower_name"
+ ]
+ },
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Company Name Required",
+ "value":null
+ }
+ ]
+ }
+ ],
+ "is_repeatable": "1",
+ "group_title": "Stock details",
+ "group_key": "stock_details"
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "is_repeatable": null,
+ "answers": [
+ {
+ "answer": "Yes",
+ "answer_id": "Yes"
+ },
+ {
+ "answer": "No",
+ "answer_id": "No"
+ }
+ ],
+ "validations": [
+
+ ]
+ },
+ {
+ "question_key":"common_remarks",
+ "question":"Remarks",
+ "place_holder":"Enter the text",
+ "type":"7",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"45",
+ "validations":[
+ ]
+ }
+ ]
+}
\ No newline at end of file
diff --git a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/all/19.json b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/all/19.json
new file mode 100644
index 000000000..78f61e139
--- /dev/null
+++ b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/all/19.json
@@ -0,0 +1,197 @@
+{
+ "section_id": "10",
+ "section_name": "Neighbourhood / Reference Check",
+ "onsubmit": [
+
+ ],
+ "questions": [
+ {
+ "question":[
+ {
+ "question_key": "Neighbour_Name",
+ "question": "Neighbour Name",
+ "place_holder": "Enter the text",
+ "type": "1",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "field_type": "string",
+ "field_width": "45",
+ "validations": []
+ }, {
+ "question_key": "Do_you_known_about_the_applicants_or_their_business",
+ "question": "Do you known about the applicants or their business?",
+ "place_holder": "Enter the text",
+ "type": "3",
+ "api_properties": null,
+ "answers":[
+ {
+ "answer_id":"Yes",
+ "answer":"Yes"
+ },
+ {
+ "answer_id":"No",
+ "answer":"No"
+ }
+ ],
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Do_you_known_about_the_applicants_or_their_business",
+ "expression":"(String('Do_you_known_about_the_applicants_or_their_business') == String('Yes'))",
+ "value_keys":[
+ "Do_you_known_about_the_applicants_or_their_business"
+ ],
+ "questions":[
+ {
+ "question_key": "As_per_you_how_long_has_this_business_been_in_operation",
+ "question": "As per you how long has this business been in operation?",
+ "place_holder": "Enter the text",
+ "type": "5",
+ "api_properties": null,
+ "answers":[
+ {
+ "answer_id":"Do_not_know",
+ "answer":"Do not know"
+ }
+
+ ],
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"As_per_you_how_long_has_this_business_been_in_operation",
+ "expression":"(String('As_per_you_how_long_has_this_business_been_in_operation') != String('Do_not_know'))",
+ "value_keys":[
+ "As_per_you_how_long_has_this_business_been_in_operation"
+ ],
+ "questions":[
+ { "question":"Year",
+ "question_key":"Year",
+ "type":"1",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"As_per_you_how_long_has_this_business_been_in_operation",
+ "answers":null,
+ "validations":[
+
+ ]
+ },
+ { "question":"Month",
+ "question_key":"YeMonthar",
+ "type":"1",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"As_per_you_how_long_has_this_business_been_in_operation",
+ "answers":null,
+ "validations":[
+
+ ]
+ } ] } ] }],
+ "is_repeatable": null,
+ "field_type": "string",
+ "field_width": "100",
+ "validations": []
+ },
+ {
+ "question_key": "Who_is_the_owner_of_the_organisation",
+ "question": "Who is the owner of the organisation?",
+ "place_holder": "Enter the text",
+ "type": "5",
+ "api_properties": null,
+ "answers":[
+ {
+ "answer_id":"Do_not_know",
+ "answer":"Do not know"
+ }
+
+ ],
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Who_is_the_owner_of_the_organisation",
+ "expression":"(String('Who_is_the_owner_of_the_organisation') != String('Do_not_know'))",
+ "value_keys":[
+ "Who_is_the_owner_of_the_organisation"
+ ],
+ "questions":[
+ { "question_key": "Who_is_the_owner_of_the_organisations",
+ "question": "Who is the owner of the organisation?",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":
+ {
+ "purpose":"answer_options_local",
+ "master_name":"pd_applicants",
+ "fields":["pd_co_applicant_id","applicant_name"]
+ },
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Who_is_the_owner_of_the_organisation",
+ "answers":null,
+ "validations":[
+
+ ]
+ }
+ ] } ] }],
+ "is_repeatable": null,
+ "field_type": "string",
+ "field_width": "100",
+ "validations": []
+ }
+ ]
+ } ] }],
+ "is_repeatable": null,
+ "field_type": "string",
+ "field_width": "45",
+ "validations": []
+ }
+ ],
+ "is_repeatable":"1",
+ "hidden_button":true,
+ "group_title":"Neighbourhood",
+ "group_key":"Neighbourhood"
+ },
+
+ {
+ "question_key": "Status of the check as per PD officer?",
+ "question": "Status of the check as per PD officer?",
+ "place_holder": "Enter the text",
+ "type": "3",
+ "api_properties": null,
+ "answers":[
+ {
+ "answer_id":"Positive",
+ "answer":"Positive"
+ },
+ {
+ "answer_id":"Negative",
+ "answer":"Negative"
+ }, {
+ "answer_id":"Could_not_verify",
+ "answer":"Could not verify"
+ }
+ ],
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "field_type": "string",
+ "field_width": "45",
+ "validations": []
+
+ }
+
+ ]
+}
\ No newline at end of file
diff --git a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/all/20.json b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/all/20.json
new file mode 100644
index 000000000..91a7eebc3
--- /dev/null
+++ b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/all/20.json
@@ -0,0 +1,297 @@
+{
+ "section_id":"12",
+ "section_name":"Final Remarks Details",
+ "onsubmit":null,
+ "questions":[
+ {
+ "question":"Customer Behaviour",
+ "question_key":"Customer_Behaviour",
+ "place_holder":"Enter the text",
+ "type":"3",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"CUSTOMERBEHAVIOUR"
+ },
+ "fields":[
+ "customer_behaviour_id",
+ "description"
+ ]
+ },
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"45",
+ "validations":[
+ ]
+ },
+ {
+ "question":"Is the location of the business / profession suited to the nature of business / service provided?",
+ "question_key":"location_of_the_business",
+ "place_holder":"Enter the text",
+ "type":"3",
+ "api_properties":null,
+ "answers":[{
+ "answer":"Well Suited",
+ "answer_id":"Well Suited"
+ },
+ {
+ "answer":"Fairly Suited",
+ "answer_id":"Fairly Suited"
+ },{
+ "answer":"Not Suited",
+ "answer_id":"Not Suited"
+ }],
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "sub_title":"Location",
+ "field_type":"string",
+ "field_width":"100",
+ "validations":[
+ ]
+ },
+ {
+ "question":"Personal feedback or market intelligence on the case (if any)",
+ "question_key":"Personal_feedback_or_market_intelligence_on_the_case",
+ "place_holder":"Enter the text",
+ "type":"1",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"100",
+ "validations":[
+ ]
+ },
+ {
+ "question_key":"PD_Officers_Recommendation",
+ "question":"PD Officers Recommendation",
+ "place_holder":"Enter the text",
+ "type":"3",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"PDOFFICERRECOMMENDATIONS"
+ },
+ "fields":[
+ "pdofficer_recommendation_id",
+ "pdofficer_recommendation"
+ ]
+ },
+ "answers":null,
+ "onchange_properties":[{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"PD_Officers_Recommendation",
+ "expression":"(String('PD_Officers_Recommendation') == String('2'))",
+ "value_keys":[
+ "PD_Officers_Recommendation"
+ ],
+ "questions":[
+ {
+ "question":[
+ {
+ "question":"Reasons for marking PD status as Positive",
+ "question_key":"Reasons_for_marking_PD_status_as_Positive",
+ "type":"1",
+ "field_width":"100",
+ "onchange_properties":null,
+ "api_properties":null,
+ "answers":null,
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ }
+ ],
+ "is_repeatable":"1",
+ "group_key":"Reasons_for_marking_PD_status_as_Positive",
+ "group_title":"Reasons for marking PD status as Positive"
+ }]
+ }]
+
+
+
+ },{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"PD_Officers_Recommendation",
+ "expression":"(String('PD_Officers_Recommendation') == String('3'))",
+ "value_keys":[
+ "PD_Officers_Recommendation"
+ ],
+ "questions":[
+ {
+ "question":[
+ {
+ "question":"Reasons for marking PD status as Negative",
+ "question_key":"Reasons_for_marking_PD_status_as_Negative",
+ "type":"1",
+ "field_width":"100",
+ "onchange_properties":null,
+ "api_properties":null,
+ "answers":null,
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ }
+ ],
+ "is_repeatable":"1",
+ "group_key":"Reasons_for_marking_PD_status_as_Negative",
+ "group_title":"Reasons for marking PD status as Negative"
+ }]
+ }]
+
+
+
+ },{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"PD_Officers_Recommendation",
+ "expression":"(String('PD_Officers_Recommendation') == String('1'))",
+ "value_keys":[
+ "PD_Officers_Recommendation"
+ ],
+ "questions":[
+ {
+ "question":"Specify PD Officers Recommendation",
+ "question_key":"Specify_PD_Officers_Recommendation",
+ "type":"1",
+ "field_width":"45",
+ "onchange_properties":null,
+ "api_properties":null,
+ "answers":null,
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ }
+ ]
+ }]
+
+
+
+ },{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"PD_Officers_Recommendation",
+ "expression":"(String('PD_Officers_Recommendation') == String('4'))",
+ "value_keys":[
+ "PD_Officers_Recommendation"
+ ],
+ "questions":[
+ {
+ "question":[
+ {
+ "question":"Reasons for marking PD status as Refer to Credit",
+ "question_key":"Reasons_for_marking_PD_status_as_Refer_to_Credit",
+ "type":"1",
+ "field_width":"100",
+ "onchange_properties":null,
+ "api_properties":null,
+ "answers":null,
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ }
+ ],
+ "is_repeatable":"1",
+ "group_key":"Reasons_for_marking_PD_status_as_Refer_to_Credit",
+ "group_title":"Reasons for marking PD status as Refer to Credit"
+ }]
+ }]
+
+
+
+}],
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"45",
+ "validations":[
+ ]
+ }, {
+ "question_key":"Any_additional_visit_(Godown/multiple_rental_properties)",
+ "question":"Any additional visit (Godown /multiple rental properties)",
+ "place_holder":"Enter the text",
+ "type":"12",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"100",
+ "validations":[
+ ]
+ }, {
+ "question":"Mode of Transport Used to Visit the PD address",
+ "question_key":"Mode_of_Transport_Used_to_Visit_the_PD_address",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":null,
+ "answers":[
+ {
+ "answer_id":"Two_Wheeler",
+ "answer":"Two Wheeler"
+ },{
+ "answer_id":"Four_Wheeler",
+ "answer":" Four Wheeler"
+ },{
+ "answer_id":"Public_Transport",
+ "answer":"Public Transport"
+ },
+ {
+ "answer_id":"Others",
+ "answer":"Others"
+ }
+
+ ],
+ "onchange_properties": [{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Mode_of_Transport_Used_to_Visit_the_PD_address",
+ "expression":"(String('Mode_of_Transport_Used_to_Visit_the_PD_address') == String('Others'))",
+ "value_keys":[
+ "Mode_of_Transport_Used_to_Visit_the_PD_address"
+ ],
+ "questions":[
+ {
+ "question":"Specify the Mode of Transport Used to Visit the PD address",
+ "question_key":"Specify_the_Mode_of_Transport_Used_to_Visit_the_PD_address",
+ "type":"1",
+ "field_width":"45",
+ "onchange_properties":null,
+ "api_properties":null,
+ "answers":null,
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ }
+ ]
+ }]
+
+
+
+ }],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ }
+
+
+
+ ]
+ }
+
\ No newline at end of file
diff --git a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/all/24.json b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/all/24.json
new file mode 100644
index 000000000..69fa506dd
--- /dev/null
+++ b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/all/24.json
@@ -0,0 +1,267 @@
+{
+ "section_id":"11",
+ "section_name":"Credit Manager Queries",
+ "onsubmit":null,
+ "questions":[
+ {
+ "question":"Is your business adversely impacted by coronavirus outbreak ?",
+ "question_key":"Is_your_business_adversely_impacted_by_coronavirus_outbreak",
+ "type":"2",
+ "sub_title":"Covid 19 Questions",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Is_your_business_adversely_impacted_by_coronavirus_outbreak",
+ "expression":"(String('Is_your_business_adversely_impacted_by_coronavirus_outbreak') == String('No'))",
+ "value_keys":[
+ "Is_your_business_adversely_impacted_by_coronavirus_outbreak"
+ ],
+ "questions":[
+ { "question":"Enter Your Remarks",
+ "question_key":"Enter_Your_Remarks",
+ "type":"1",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Is_your_business_adversely_impacted_by_coronavirus_outbreak",
+ "answers":null,
+ "validations":[
+
+ ]
+ } ] } ] },
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Is_your_business_adversely_impacted_by_coronavirus_outbreak",
+ "expression":"(String('Is_your_business_adversely_impacted_by_coronavirus_outbreak') == String('Yes'))",
+ "value_keys":[
+ "Is_your_business_adversely_impacted_by_coronavirus_outbreak"
+ ],
+ "questions":[
+ { "question":"Enter Your Remarks",
+ "question_key":"enter_Your_Remarks",
+ "type":"1",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Is_your_business_adversely_impacted_by_coronavirus_outbreak",
+ "answers":null,
+ "validations":[
+
+ ]
+ }
+
+
+
+ ]
+ }
+ ]
+ }],
+ "is_repeatable":null,
+ "answers":[{
+ "answer":"Yes",
+ "answer_id":"Yes"
+ },
+ {
+ "answer":"No",
+ "answer_id":"No"
+ }],
+ "validations":[
+
+ ]
+ },{
+ "question":"Did you avail the loan moratorium facility on your existing loans which is extended by your bank or financial institution?",
+ "question_key":"your_bank_or_financial_institution",
+ "type":"2",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":[
+ ],
+ "is_repeatable":null,
+ "answers":[{
+ "answer":"Yes",
+ "answer_id":"Yes"
+ },
+ {
+ "answer":"No",
+ "answer_id":"No"
+ }],
+ "validations":[
+
+ ]
+ },{
+ "question":"Are you planning to avail/ or already availed any loan or any other term facility for your business or personal use?",
+ "question_key":"your_business_or_personal_use",
+ "type":"2",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":[
+
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"your_business_or_personal_use",
+ "expression":"(String('your_business_or_personal_use') == String('Yes'))",
+ "value_keys":[
+ "your_business_or_personal_use"
+ ],
+ "questions":[
+ { "question":"How much is your sales/revenue from April till date?",
+ "question_key":"sales/revenue_April_till_date",
+ "type":"1",
+ "field_width":"100",
+ "field_type":"numtoword",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"your_business_or_personal_use",
+ "answers":null,
+ "validations":[
+
+ ]
+ }, {
+ "question":"Please specify amount,lender etc",
+ "question_key":"Please_specify_amount_lender_etc",
+ "type":"7",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"your_business_or_personal_use",
+ "answers":null,
+ "validations":[
+
+ ]
+ }
+
+
+
+ ]
+ }
+ ]
+ }, {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"your_business_or_personal_use",
+ "expression":"(String('your_business_or_personal_use') == String('No'))",
+ "value_keys":[
+ "your_business_or_personal_use"
+ ],
+ "questions":[
+ { "question":"How much is your sales/revenue from April till date?",
+ "question_key":"How_much_is_your_sales/revenue_from_April_till_date",
+ "type":"1",
+ "field_width":"100",
+ "field_type":"numtoword",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"your_business_or_personal_use",
+ "answers":null,
+ "validations":[
+
+ ]
+ }
+
+
+
+ ]
+ }
+ ]
+ }],
+ "is_repeatable":null,
+ "answers":[{
+ "answer":"Yes",
+ "answer_id":"Yes"
+ },
+ {
+ "answer":"No",
+ "answer_id":"No"
+ }],
+ "validations":[
+
+ ]
+ },{
+ "question":"Is turnover mentioned above (sales/revenue from April till date) validated?",
+ "question_key":"sales/revenue_from_April_till_date_validated",
+ "type":"2",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":[
+
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"sales/revenue_from_April_till_date_validated",
+ "expression":"(String('sales/revenue_from_April_till_date_validated') == String('Yes'))",
+ "value_keys":[
+ "sales/revenue_from_April_till_date_validated"
+ ],
+ "questions":[
+ { "question":"Choose any ",
+ "question_key":"Choose any",
+ "type":"3",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"your_business_or_personal_use",
+ "answers":[
+ {
+ "answer_id":"Bills",
+ "answer":"Bills"
+ },
+ {
+ "answer_id":"Gst_returns",
+ "answer":"Gst returns"
+ },
+ {
+ "answer_id":"records_shown",
+ "answer":"records shown"
+ }
+ ],
+ "validations":[
+
+ ]
+ }
+
+
+
+ ]
+ }
+ ]
+ } ],
+ "is_repeatable":null,
+ "answers":[{
+ "answer":"Yes",
+ "answer_id":"Yes"
+ },
+ {
+ "answer":"No",
+ "answer_id":"No"
+ }],
+ "validations":[
+
+ ]
+ }
+
+
+
+ ]
+ }
+
\ No newline at end of file
diff --git a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/all/4.json b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/all/4.json
new file mode 100644
index 000000000..c7b1124d0
--- /dev/null
+++ b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/all/4.json
@@ -0,0 +1,1141 @@
+{
+ "section_id":"5",
+ "section_name":"Other Assets Details",
+ "onsubmit":[
+ ],
+ "questions":[ {
+ "question":"Is the Asset Information Available?",
+ "question_key":"Is_the_Asset_Information_Available",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":null,
+ "answers":[
+ {
+ "answer_id":"Yes",
+ "answer":"Yes"
+ },
+ {
+ "answer_id":"No",
+ "answer":"No"
+ }
+ ],
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Is_the_Asset_Information_Available",
+ "expression":"(String('Is_the_Asset_Information_Available') == String('Yes'))",
+ "value_keys":[
+ "Is_the_Asset_Information_Available"
+ ],
+ "questions":[
+ {
+ "question":[
+ {
+ "question":"Assets Type",
+ "question_key":"Assets_Type",
+ "place_holder":"Enter text",
+ "type":"3",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"ASSETTYPE"
+ },
+ "fields":[
+ "id",
+ "name"
+ ]
+ },
+ "answers":null,
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Assets_Type",
+ "expression":"(String('Assets_Type') == String('4'))",
+ "value_keys":[
+ "Assets_Type"
+ ],
+ "questions":[
+ {
+ "question":"Description",
+ "question_key":"Description",
+ "place_holder":"",
+ "type":"1",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Assets_Type",
+ "answers":null,
+ "validations":[
+ ]
+ },{
+ "question":"Appromximate Market Value",
+ "question_key":"Appromximate_Market_Value",
+ "place_holder":"",
+ "type":"1",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Assets_Type",
+ "answers":null,
+ "validations":[
+ ]
+ }]
+ }]
+
+ }, {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Assets_Type",
+ "expression":"(String('Assets_Type') == String('7'))",
+ "value_keys":[
+ "Assets_Type"
+ ],
+ "questions":[
+ {
+ "question":"Type",
+ "question_key":"type",
+ "place_holder":"Enter text",
+ "type":"3",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"INVESTMENTTYPE"
+ },
+ "fields":[
+ "id",
+ "name"
+ ]
+ },
+ "answers": null,
+ "onchange_properties": [{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"type",
+ "expression":"(String('type') == String('6'))",
+ "value_keys":[
+ "type"
+ ],
+ "questions":[
+
+ {
+ "question":"Name of organisation in which investment done",
+ "question_key":"Name_of_organisation_in_which_investment_done1",
+ "type":"1",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "answers": null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Started Business Required",
+ "value":null
+ }
+ ]
+
+ },{
+ "question":"Current Market Value",
+ "question_key":"Current_Market_Value1",
+ "type":"1",
+ "field_width":"45",
+ "field_type":"numtoword",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "answers": null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Started Business Required",
+ "value":null
+ }
+ ]
+
+ }
+
+ ]
+ }
+ ]
+ },{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"type",
+ "expression":"(String('type') == String('3'))",
+ "value_keys":[
+ "type"
+ ],
+ "questions":[
+
+ {
+ "question":"Bank Name",
+ "question_key":"BankName1",
+ "type":"1",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "answers": null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Started Business Required",
+ "value":null
+ }
+ ]
+
+ } ,{
+ "question":"Current Market Value",
+ "question_key":"Current_MarketValue2",
+ "type":"1",
+ "field_width":"45",
+ "field_type":"numtoword",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "answers": null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Started Business Required",
+ "value":null
+ }
+ ]
+
+ }
+
+ ]
+ }
+ ]
+ },{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"type",
+ "expression":"(String('type') == String('4'))",
+ "value_keys":[
+ "type"
+ ],
+ "questions":[
+
+ {
+ "question":"Name of organisation in which investment done",
+ "question_key":"Name_of_organisation_in_which_investment_done2",
+ "type":"1",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "answers": null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Started Business Required",
+ "value":null
+ }
+ ]
+
+ },{
+ "question":"Current Market Value",
+ "question_key":"Current_Market_Value3",
+ "type":"1",
+ "field_width":"45",
+ "field_type":"numtoword",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "answers": null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Started Business Required",
+ "value":null
+ }
+ ]
+
+ }
+
+ ]
+ }
+ ]
+ },{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"type",
+ "expression":"(String('type') == String('2'))",
+ "value_keys":[
+ "type"
+ ],
+ "questions":[
+
+ {
+ "question":"Bank Name",
+ "question_key":"Bank_Name2",
+ "type":"1",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "answers": null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Started Business Required",
+ "value":null
+ }
+ ]
+
+ },{
+ "question":"Current Market Value",
+ "question_key":"Current_Market_Value4",
+ "type":"1",
+ "field_width":"45",
+ "field_type":"numtoword",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "answers": null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Started Business Required",
+ "value":null
+ }
+ ]
+
+ }
+
+ ]
+ }
+ ]
+ },{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"type",
+ "expression":"(String('type') == String('5'))",
+ "value_keys":[
+ "type"
+ ],
+ "questions":[
+
+ {
+ "question":"Name of organisation in which investment done",
+ "question_key":"Name_of_organisation_in_which_investment_done3",
+ "type":"1",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "answers": null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Started Business Required",
+ "value":null
+ }
+ ]
+
+ },{
+ "question":"Current Market Value",
+ "question_key":"Current_Market_Value4",
+ "type":"1",
+ "field_width":"45",
+ "field_type":"numtoword",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "answers": null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Started Business Required",
+ "value":null
+ }
+ ]
+
+ }
+
+ ]
+ }
+ ]
+ },{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"type",
+ "expression":"(String('type') == String('1'))",
+ "value_keys":[
+ "type"
+ ],
+ "questions":[
+
+ {
+ "question":"Specify Type",
+ "question_key":"Specify_Type",
+ "type":"1",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "answers": null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Started Business Required",
+ "value":null
+ }
+ ]
+
+ },{
+ "question":"Bank Name",
+ "question_key":"Bank_Name3",
+ "type":"1",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "answers": null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Started Business Required",
+ "value":null
+ }
+ ]
+
+ },{
+ "question":"Current Market Value",
+ "question_key":"Current_Market_Value5",
+ "type":"1",
+ "field_width":"45",
+ "field_type":"numtoword",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "answers": null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Started Business Required",
+ "value":null
+ }
+ ]
+
+ }
+
+ ]
+ }
+ ]
+ }],
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Entity Name Required",
+ "value":null
+ }
+ ]
+
+ }
+ ]
+ }]
+
+ } ,{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Assets_Type",
+ "expression":"(String('Assets_Type') == String('6'))",
+ "value_keys":[
+ "Assets_Type"
+ ],
+ "questions":[
+ {
+ "question":"Premium Paid",
+ "question_key":"Premium_Paid",
+ "place_holder":"Enter text",
+ "type":"1",
+ "field_width":"45",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Entity Name Required",
+ "value":null
+ }
+ ]
+
+ },{
+ "question":"Frequency",
+ "question_key":"Frequency",
+ "place_holder":"Enter text",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"FREQUENCY"
+ },
+ "fields":[
+ "frequency_id",
+ "name"
+ ]
+ },
+ "answers": null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Entity Name Required",
+ "value":null
+ }
+ ]
+
+ },{
+ "question":"Sum Assured",
+ "question_key":"Sum_Assured",
+ "place_holder":"Enter text",
+ "type":"1",
+ "field_width":"45",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Entity Name Required",
+ "value":null
+ }
+ ]
+
+ },{
+ "question":"Member Covered",
+ "question_key":"Member_Covered",
+ "place_holder":"Enter text",
+ "type":"1",
+ "field_width":"45",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Entity Name Required",
+ "value":null
+ }
+ ]
+
+ }
+ ]
+ }]
+
+ },{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Assets_Type",
+ "expression":"(String('Assets_Type') == String('2'))",
+ "value_keys":[
+ "Assets_Type"
+ ],
+ "questions":[
+ {
+ "question":"Property Type",
+ "question_key":"Property_Type",
+ "place_holder":"Enter text",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"PROPERTIES"
+ },
+ "fields":[
+ "id",
+ "name"
+ ]
+ },
+ "answers": null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Entity Name Required",
+ "value":null
+ }
+ ]
+
+ },{
+ "question":"Area Covered",
+ "question_key":"Area_Covered",
+ "place_holder":"Enter text",
+ "type":"1",
+ "field_width":"45",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Entity Name Required",
+ "value":null
+ }
+ ]
+
+ },{
+ "question":"Appromximate Market Value",
+ "question_key":"appromximate_market_Value",
+ "place_holder":"",
+ "type":"1",
+ "field_width":"45",
+ "field_type": "numtoword",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Assets_Type",
+ "answers":null,
+ "validations":[
+ ]
+
+ },{
+ "question":"Unit of Measurement",
+ "question_key":"Unit_of_Measurement",
+ "place_holder":"Enter text",
+ "type":"3",
+ "field_width":"45",
+ "api_properties": null,
+ "answers": [
+ {
+ "answer": "Acres",
+ "answer_id": "Acres"
+ },
+ {
+ "answer": "Hectares",
+ "answer_id": "Hectares"
+ },
+ {
+ "answer": " Square Feet",
+ "answer_id": " Square_Feet"
+ },
+ {
+ "answer": "Square Meters",
+ "answer_id": "Square_Meters"
+ },
+ {
+ "answer": "Others",
+ "answer_id": "Others"
+ }
+
+ ],
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Entity Name Required",
+ "value":null
+ }
+ ]
+
+ },{
+ "question":"Age of Assets in Years",
+ "question_key":"Age_of_Assets_in_years",
+ "place_holder":"Enter text",
+ "type":"1",
+ "field_width":"45",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Entity Name Required",
+ "value":null
+ }
+ ]
+
+ } ,{
+ "question":"Age of Assets in Months",
+ "question_key":"Age_of_Assets_in_months",
+ "place_holder":"Enter text",
+ "type":"1",
+ "field_width":"45",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Entity Name Required",
+ "value":null
+ }
+ ]
+
+ },{
+ "question":"Purchase Year",
+ "question_key":"Purchase_year",
+ "place_holder":"Enter text",
+ "type":"1",
+ "field_width":"45",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Entity Name Required",
+ "value":null
+ }
+ ]
+
+ }
+ ]
+ }]
+
+ },{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Assets_Type",
+ "expression":"(String('Assets_Type') == String('1'))",
+ "value_keys":[
+ "Assets_Type"
+ ],
+ "questions":[
+ {
+ "question":"Description of Assets*",
+ "question_key":"Description_of_Assets",
+ "place_holder":"Enter text",
+ "type":"1",
+ "field_width":"100",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Entity Name Required",
+ "value":null
+ }
+ ]
+
+ },{
+ "question":"Appromximate Market Value",
+ "question_key":"Appromximate_market_Value",
+ "place_holder":"",
+ "type":"1",
+ "field_width":"45",
+ "field_type": "numtoword",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Assets_Type",
+ "answers":null,
+ "validations":[
+ ]
+
+ },{
+ "question":"Age of Assets in Years",
+ "question_key":"Age_of_Assets_Years",
+ "place_holder":"Enter text",
+ "type":"1",
+ "field_width":"45",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Entity Name Required",
+ "value":null
+ }
+ ]
+
+ } ,{
+ "question":"Age of Assets in Months",
+ "question_key":"Age_of_Assets_Months",
+ "place_holder":"Enter text",
+ "type":"1",
+ "field_width":"45",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Entity Name Required",
+ "value":null
+ }
+ ]
+
+ },{
+ "question":"Purchase Year",
+ "question_key":"Purchases_Year",
+ "place_holder":"Enter text",
+ "type":"1",
+ "field_width":"45",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Entity Name Required",
+ "value":null
+ }
+ ]
+
+ }
+ ]
+ }]
+
+ },{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Assets_Type",
+ "expression":"(String('Assets_Type') == String('3'))",
+ "value_keys":[
+ "Assets_Type"
+ ],
+ "questions":[
+ {
+ "question":"Type of Vehicle",
+ "question_key":"Type_of_Vehicle",
+ "place_holder":"Enter text",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"VEHICLETYPE"
+ },
+ "fields":[
+ "vehicle_type_id",
+ "vehicle_type_name"
+ ]
+ },
+ "answers": null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Entity Name Required",
+ "value":null
+ }
+ ]
+
+ },{
+ "question":"Description of Vehicle(example - Toyota Altis)",
+ "question_key":"Description_of_Vehicle",
+ "place_holder":"Enter text",
+ "type":"1",
+ "field_width":"45",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Entity Name Required",
+ "value":null
+ }
+ ]
+
+ },{
+ "question":"Appromximate Market Value",
+ "question_key":"Appromximate_marketValue",
+ "place_holder":"",
+ "type":"1",
+ "field_width":"45",
+ "field_type": "numtoword",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Assets_Type",
+ "answers":null,
+ "validations":[
+ ]
+
+ },{
+ "question":"Age of Assets in Years",
+ "question_key":"Age_of_Assets_in_Years",
+ "place_holder":"Enter text",
+ "type":"1",
+ "field_width":"45",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Entity Name Required",
+ "value":null
+ }
+ ]
+
+ } ,{
+ "question":"Age of Assets in Months",
+ "question_key":"Age_of_Assets_in_Months",
+ "place_holder":"Enter text",
+ "type":"1",
+ "field_width":"45",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Entity Name Required",
+ "value":null
+ }
+ ]
+
+ },{
+ "question":"Purchase Year",
+ "question_key":"Purchase_Year",
+ "place_holder":"Enter text",
+ "type":"1",
+ "field_width":"45",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Entity Name Required",
+ "value":null
+ }
+ ]
+
+ }
+ ]
+ }]
+
+ }],
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Entity Name Required",
+ "value":null
+ }
+ ]
+
+ },
+
+ {
+ "question":"Name of the Owner",
+ "question_key":"Name_of_the_Owner",
+ "type":"4",
+ "field_width":"45",
+ "api_properties":
+ {
+ "purpose":"answer_options_local",
+ "master_name":"pd_applicants",
+ "fields":["pd_co_applicant_id","applicant_name"]
+ },
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "answers": null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Started Business Required",
+ "value":null
+ }
+ ]
+
+ },{
+ "question":"Is there a Loan Exiting Against the Assets? ",
+ "question_key":"Is_there_a_Loan_Exiting_Against_the_Assets",
+ "type":"3",
+ "field_width":"100",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "answers":[{
+ "answer":"Yes",
+ "answer_id":"yes"
+ },
+ {
+ "answer":"No",
+ "answer_id":"no"
+ }],
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Started Business Required",
+ "value":null
+ }
+ ]
+
+ }
+
+
+ ],
+ "is_repeatable":"1",
+ "group_title":"Assets Information",
+ "group_key":"Assets Information",
+ "form_name":"Assets Information"
+ }
+ ]
+ }]
+
+ }],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ },
+
+ {
+ "question_key":"common_remarks",
+ "question":"Remarks",
+ "place_holder":"Enter the text",
+ "type":"7",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"65",
+ "validations":[
+ ]
+ }
+ ]
+ }
\ No newline at end of file
diff --git a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/all/5.json b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/all/5.json
new file mode 100644
index 000000000..36073889f
--- /dev/null
+++ b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/all/5.json
@@ -0,0 +1,508 @@
+{
+ "section_id":"5",
+ "section_name":"Address details",
+ "onsubmit":null,
+ "questions":[
+ {
+ "question":"Address at which PD was initiated",
+ "question_key":"initiated_address",
+ "type":"7",
+ "disable":false,
+ "field_width":"100",
+ "title":"Address Details",
+ "answers":true,
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question": "State",
+ "question_key": "state",
+ "type": "3",
+ "answers": null,
+ "field_width":"25",
+ "api_properties": {
+ "api": "getListOfMaster",
+ "api_method": "POST",
+ "params": {
+ "master_name": "STATE"
+ },
+ "fields": [
+ "state_id",
+ "name"
+ ]
+ },
+ "onchange_properties": [
+ {
+ "purpose": "api",
+ "api": "getListOfStatesAndCities",
+ "api_method": "POST",
+ "params": "{records:{state_id:'value_of_answer'}}",
+ "fields": [
+ "state_id",
+ "name"
+ ],
+ "local_variable": "local_city"
+ }
+ ],
+ "is_repeatable": null,
+ "validations": [
+ {
+ "name": "required",
+ "isactive": "1",
+ "validator": "Validators.required",
+ "message": "State Required",
+ "value": null
+ }
+ ]
+ },
+ {
+ "question": "City",
+ "question_key": "city",
+ "type": "3",
+ "answers": null,
+ "field_width":"25",
+ "api_properties": "local_city",
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": [
+ {
+ "name": "required",
+ "isactive": "1",
+ "validator": "Validators.required",
+ "message": "CIty Required",
+ "value": null
+ }
+ ]
+ },
+ {
+ "question": "Pincode",
+ "question_key": "pincode",
+ "type": "3",
+ "answers": null,
+ "field_width":"25",
+ "api_properties": "local_pincode",
+ "onchange_properties": [
+ {
+ "purpose": "FORM_CTRL",
+ "form_controls": [
+ {
+ "insert_index": "pincode",
+ "expression": "(pincode == 1)",
+ "value_keys": [
+ "pincode"
+ ],
+ "questions": [
+ {
+ "question_key": "pincode_others",
+ "question": "Specify the Pincode",
+ "place_holder": "Enter the Pincode",
+ "type": "1",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "field_type": "num",
+ "validations": [
+ {
+ "name": "required",
+ "isactive": "1",
+ "validator": "Validators.required",
+ "message": "Pincode is Required",
+ "value": null
+ },
+ {
+ "name": "pattern",
+ "isactive": "1",
+ "validator": "[0-9]{6}",
+ "message": "Pincode should be 6 digit",
+ "value": null
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "is_repeatable": null,
+ "validations": [
+ {
+ "name": "required",
+ "isactive": "1",
+ "validator": "Validators.required",
+ "message": "Pincode Required",
+ "value": null
+ }
+ ]
+ },
+ {
+ "question":"Is this the address where PD is done ?",
+ "question_key":"is_pd_done_on_initiated_address",
+ "type":"2",
+ "disable":false,
+ "field_width":"100",
+ "onchange_properties": [{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"is_pd_done_on_initiated_address",
+ "expression":"(String('is_pd_done_on_initiated_address') == String('No'))",
+ "value_keys":[
+ "is_pd_done_on_initiated_address"
+ ],
+ "questions":[
+ {
+ "question":"Reason for change in PD visit address",
+ "question_key":"end_use",
+ "type":"1",
+ "field_width":"100",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ },
+ {
+ "question": "Pincode",
+ "question_key": "pincode",
+ "type": "3",
+ "answers": null,
+ "field_width":"25",
+ "api_properties": "local_pincode",
+ "onchange_properties": [
+ {
+ "purpose": "FORM_CTRL",
+ "form_controls": [
+ {
+ "insert_index": "pincode",
+ "expression": "(pincode == 1)",
+ "value_keys": [
+ "pincode"
+ ],
+ "questions": [
+ {
+ "question_key": "pincode_others",
+ "question": "Specify the Pincode",
+ "place_holder": "Enter the Pincode",
+ "type": "1",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "field_type": "num",
+ "validations": [
+ {
+ "name": "required",
+ "isactive": "1",
+ "validator": "Validators.required",
+ "message": "Pincode is Required",
+ "value": null
+ },
+ {
+ "name": "pattern",
+ "isactive": "1",
+ "validator": "[0-9]{6}",
+ "message": "Pincode should be 6 digit",
+ "value": null
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "is_repeatable": null,
+ "validations": [
+ {
+ "name": "required",
+ "isactive": "1",
+ "validator": "Validators.required",
+ "message": "Pincode Required",
+ "value": null
+ }
+ ]
+ }, {
+ "question": "City",
+ "question_key": "city",
+ "type": "3",
+ "answers": null,
+ "field_width":"25",
+ "api_properties": "local_city",
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": [
+ {
+ "name": "required",
+ "isactive": "1",
+ "validator": "Validators.required",
+ "message": "CIty Required",
+ "value": null
+ }
+ ]
+ },
+ {
+ "question": "State",
+ "question_key": "state",
+ "type": "3",
+ "answers": null,
+ "field_width":"25",
+ "api_properties": {
+ "api": "getListOfMaster",
+ "api_method": "POST",
+ "params": {
+ "master_name": "STATE"
+ },
+ "fields": [
+ "state_id",
+ "name"
+ ]
+ },
+ "onchange_properties": [
+ {
+ "purpose": "api",
+ "api": "getListOfStatesAndCities",
+ "api_method": "POST",
+ "params": "{records:{state_id:'value_of_answer'}}",
+ "fields": [
+ "state_id",
+ "name"
+ ],
+ "local_variable": "local_city"
+ }
+ ],
+ "is_repeatable": null,
+ "validations": [
+ {
+ "name": "required",
+ "isactive": "1",
+ "validator": "Validators.required",
+ "message": "State Required",
+ "value": null
+ }
+ ]
+ }, {
+ "question":"Enter actual PD address",
+ "question_key":"actual_pd_address",
+ "type":"1",
+ "field_width":"100",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ }
+
+ ]
+ }
+ ]
+ }],
+ "api_properties":null,
+ "answers":[
+ {
+ "answer_id":"Yes",
+ "answer":"Yes"
+ },
+ {
+ "answer_id":"No",
+ "answer":"No"
+ }
+ ],
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Address Type",
+ "question_key":"Address_Type",
+ "type":"3",
+ "disable":false,
+ "field_width":"45",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"ADDRESSTYPE"
+ },
+ "fields":[
+ "address_type_id",
+ "address_type"
+ ]
+ },
+ "answers": null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Locality",
+ "question_key":"Locality",
+ "type":"3",
+ "disable":false,
+ "field_width":"45",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"LOCALITY"
+ },
+ "fields":[
+ "locality_id",
+ "locality_name"
+ ]
+ },
+
+ "answers": null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Approach to PD location*",
+ "question_key":"Approach_to_PD_location",
+ "type":"3",
+ "disable":false,
+ "field_width":"45",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"PDLOCATIONAPPROACH"
+ },
+ "fields":[
+ "pd_location_approach_id",
+ "description"
+ ]
+ },
+ "answers": null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question":"Comment on Locality",
+ "question_key":"Comment_on_Locality",
+ "type":"3",
+ "disable":false,
+ "field_width":"45",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"COMMENTSONLOCALITY"
+ },
+ "fields":[
+ "comments_on_locality_id",
+ "rating"
+ ]
+ },
+ "answers": null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ }, {
+ "question":"Unit of Measurement",
+ "question_key":"Unit_of_Measurement",
+ "type":"3",
+ "disable":false,
+ "field_width":"45",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"UOM"
+ },
+ "fields":[
+ "uom_id",
+ "name"
+ ]
+ },
+ "answers": null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ },{
+ "question":"Estimate area of the Residence",
+ "question_key":"Estimate_area_of_the_Residence",
+ "type":"1",
+ "disable":false,
+ "field_width":"45",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ }
+
+ ]
+ }
+
\ No newline at end of file
diff --git a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/all/6.json b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/all/6.json
new file mode 100644
index 000000000..5c91cc62e
--- /dev/null
+++ b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/all/6.json
@@ -0,0 +1,630 @@
+{
+ "section_id": "8",
+ "section_name": "Family Details",
+ "onsubmit": [],
+ "questions": [{
+ "question":"Select a person*",
+ "question_key":"Select_a_person",
+ "type":"3",
+ "field_width":"65",
+ "answers":null,
+ "api_properties":
+ {
+ "purpose":"answer_options_local",
+ "master_name":"pd_applicants",
+ "fields":["pd_co_applicant_id","applicant_name"]
+ },
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ }, {
+ "question": "Residence Details of",
+ "question_key": "Residence_Details_of",
+ "field_type":"null",
+ "sub_title":"Residence Details of",
+ "disable":false,
+ "field_width": "100",
+ "answers": null,
+ "api_properties": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": []
+ },
+ {
+ "question": "State",
+ "question_key": "state",
+ "type": "3",
+ "answers": null,
+ "field_width":"45",
+ "api_properties": {
+ "api": "getListOfMaster",
+ "api_method": "POST",
+ "params": {
+ "master_name": "STATE"
+ },
+ "fields": [
+ "state_id",
+ "name"
+ ]
+ },
+ "onchange_properties": [
+ {
+ "purpose": "api",
+ "api": "getListOfStatesAndCities",
+ "api_method": "POST",
+ "params": "{records:{state_id:'value_of_answer'}}",
+ "fields": [
+ "state_id",
+ "name"
+ ],
+ "local_variable": "local_city"
+ }
+ ],
+ "is_repeatable": null,
+ "validations": [
+ {
+ "name": "required",
+ "isactive": "1",
+ "validator": "Validators.required",
+ "message": "State Required",
+ "value": null
+ }
+ ]
+ },
+ {
+ "question": "City",
+ "question_key": "city",
+ "type": "3",
+ "answers": null,
+ "field_width":"45",
+ "api_properties": "local_city",
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": [
+ {
+ "name": "required",
+ "isactive": "1",
+ "validator": "Validators.required",
+ "message": "CIty Required",
+ "value": null
+ }
+ ]
+ },
+ {
+ "question":"Place*",
+ "question_key":"Place_list",
+ "type":"1",
+ "disable":false,
+ "field_width":"45",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question": "Pincode",
+ "question_key": "pincode",
+ "type": "3",
+ "answers": null,
+ "field_width":"45",
+ "api_properties": "local_pincode",
+ "onchange_properties": [
+ {
+ "purpose": "FORM_CTRL",
+ "form_controls": [
+ {
+ "insert_index": "pincode",
+ "expression": "(pincode == 1)",
+ "value_keys": [
+ "pincode"
+ ],
+ "questions": [
+ {
+ "question_key": "pincode_others",
+ "question": "Specify the Pincode",
+ "place_holder": "Enter the Pincode",
+ "type": "1",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "field_type": "num",
+ "validations": [
+ {
+ "name": "required",
+ "isactive": "1",
+ "validator": "Validators.required",
+ "message": "Pincode is Required",
+ "value": null
+ },
+ {
+ "name": "pattern",
+ "isactive": "1",
+ "validator": "[0-9]{6}",
+ "message": "Pincode should be 6 digit",
+ "value": null
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "is_repeatable": null,
+ "validations": [
+ {
+ "name": "required",
+ "isactive": "1",
+ "validator": "Validators.required",
+ "message": "Pincode Required",
+ "value": null
+ }
+ ]
+ },{
+ "question":"Year*",
+ "question_key":"Year",
+ "type":"1",
+ "disable":false,
+ "field_width":"25",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ }, {
+ "question":"Month*",
+ "question_key":"Month",
+ "type":"1",
+ "disable":false,
+ "field_width":"25",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ }, {
+ "question":"Ownership*",
+ "question_key":"Ownership",
+ "type":"3",
+ "disable":false,
+ "field_width":"25",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"RESIDENCEOWNERSHIP"
+ },
+ "fields":[
+ "id",
+ "name"
+ ]
+ },
+ "answers": null,
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Ownership",
+ "expression":"(String('Ownership') == String('3'))",
+ "value_keys":[
+ "Ownership"
+ ],
+ "questions":[
+ {
+ "question":"Monthly Rent Amount",
+ "question_key":"Monthly_Rent_Amount",
+ "place_holder":"",
+ "type":"1",
+ "field_width":"45",
+ "field_type": "numtoword",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "answers":null,
+ "validations":[
+ ]
+
+ }]
+ }]
+ },{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Ownership",
+ "expression":"(String('Ownership') == String('1'))",
+ "value_keys":[
+ "Ownership"
+ ],
+ "questions":[
+ {
+ "question":"Specify Ownership",
+ "question_key":"Specify_Ownership",
+ "place_holder":"",
+ "type":"1",
+ "field_width":"45",
+ "field_type": "text",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "answers":null,
+ "validations":[
+ ]
+
+ }]
+ }]
+ }],
+ "is_repeatable":null,
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Field Required",
+ "value":null
+ }
+ ]
+ },
+ {
+ "question": [
+ {
+ "question": "Title",
+ "question_key": "Title",
+ "type": "3",
+ "field_width": "20",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"TITLES"
+ },
+ "fields":[
+ "title_id",
+ "name"
+ ]
+ },
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "field_type": "string",
+ "validations": [
+ ]
+ },
+ {
+ "question": "Name*",
+ "question_key": "name",
+ "type": "1",
+ "field_width": "20",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": [
+ ]
+ },{
+ "question": "Relationship*",
+ "question_key": "Relationship",
+ "type": "3",
+ "field_width": "20",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"RELATIONSHIPS"
+ },
+ "fields":[
+ "relationship_id",
+ "name"
+ ]
+ },
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": [
+ ]
+ },{
+ "question": "Age*",
+ "question_key": "Age",
+ "type": "1",
+ "field_width": "20",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": [
+ ]
+ },{
+ "question": "Earning Status*",
+ "question_key": "Earning_Status",
+ "type": "3",
+ "field_width": "25",
+ "api_properties": null,
+ "answers":[
+ {
+ "answer_id":"Earning",
+ "answer":"Earning"
+ },
+ {
+ "answer_id":"Non_Earning",
+ "answer":"Non Earning"
+ }
+ ],
+ "onchange_properties": [
+ {
+ "purpose": "FORM_CTRL",
+ "form_controls": [
+ {
+ "insert_index": "Earning_Status",
+ "expression":"(String('Earning_Status') == String('Earning'))",
+ "value_keys": [
+ "Earning_Status"
+ ],
+ "questions": [
+ {
+ "question": "Segment*",
+ "question_key": "Segment",
+ "type": "3",
+ "field_width": "45",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"EARNINGMEMBERSSTATUS"
+ },
+ "fields":[
+ "earning_member_status_id",
+ "earning_member_status"
+ ]
+ },
+ "answers": null,
+ "onchange_properties": [
+ {
+ "purpose": "FORM_CTRL",
+ "form_controls": [
+ {
+ "insert_index": "Segment",
+ "expression":"(String('Segment') == String('1'))",
+ "value_keys": [
+ "Segment"
+ ],
+ "questions": [
+ {
+ "question": "Specify Others",
+ "question_key": "SpecifyOthers",
+ "type": "1",
+ "field_width": "45",
+ "api_properties": null,
+ "answers": null,
+ "parent_question_key":"Segment",
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": [
+
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "is_repeatable": null,
+ "validations": [
+
+ ]
+ }, {
+ "question": "Income Per Month",
+ "question_key": "Income_Per_Month",
+ "type": "1",
+ "field_width": "45",
+ "field_type": "numtoword",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": [
+
+ ]
+ }, {
+ "question": "Name of the Employer/Business",
+ "question_key": "Name_of_the_Employer/Business",
+ "type": "1",
+ "field_width": "45",
+ "field_type": "text",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": [
+
+ ]
+ }, {
+ "question": "No of Years in Employment/Business",
+ "question_key": "No_of_Years_in_Employment/Business",
+ "type": "1",
+ "field_width": "45",
+ "field_type": "text",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": [
+
+ ]
+ }
+ ]
+ }
+
+ ],
+ "is_repeatable": null,
+ "validations": [
+
+ ]
+ }, {
+ "purpose": "FORM_CTRL",
+ "form_controls": [
+ {
+ "insert_index": "Earning_Status",
+ "expression":"(String('Earning_Status') == String('Non_Earning'))",
+ "value_keys": [
+ "Earning_Status"
+ ],
+ "questions": [
+ {
+ "question": "Occupation*",
+ "question_key": "Occupation",
+ "type": "3",
+ "field_width": "45",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"OCCUPATIONMEMBERS"
+ },
+ "fields":[
+ "occupation_non_earning_member_id",
+ "name"
+ ]
+ },
+
+ "answers": null,
+ "onchange_properties": [
+ {
+ "purpose": "FORM_CTRL",
+ "form_controls": [
+ {
+ "insert_index": "Occupation",
+ "expression":"(String('Occupation') == String('1'))",
+ "value_keys": [
+ "Occupation"
+ ],
+ "questions": [
+ {
+ "question": "Specify Others",
+ "question_key": "SpecifyOthers",
+ "type": "1",
+ "field_width": "45",
+ "api_properties": null,
+ "answers": null,
+ "parent_question_key":"Occupation",
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": [
+
+ ]
+ }
+ ]
+ }
+ ]
+ },{
+ "purpose": "FORM_CTRL",
+ "form_controls": [
+ {
+ "insert_index": "Occupation",
+ "expression":"(String('Occupation') == String('3'))",
+ "value_keys": [
+ "Occupation"
+ ],
+ "questions": [
+ {
+ "question": "Retired Form",
+ "question_key": "Retired_Form",
+ "type": "1",
+ "field_width": "45",
+ "api_properties": null,
+ "answers": null,
+ "parent_question_key":"Occupation",
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": [
+
+ ]
+ }
+ ]
+ }
+ ]
+ },{
+ "purpose": "FORM_CTRL",
+ "form_controls": [
+ {
+ "insert_index": "Occupation",
+ "expression":"(String('Occupation') == String('2'))",
+ "value_keys": [
+ "Occupation"
+ ],
+ "questions": [
+ {
+ "question": "Specify School/College Name",
+ "question_key": "Specify_School/College_Name",
+ "type": "1",
+ "field_width": "45",
+ "api_properties": null,
+ "answers": null,
+ "parent_question_key":"Occupation",
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": [
+
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "is_repeatable": null,
+ "validations": [
+
+ ]
+ } ]
+ }
+
+ ],
+ "is_repeatable": null,
+ "validations": [
+
+ ]
+ }
+ ],
+ "is_repeatable": null,
+ "validations": [
+ ]
+ }
+
+ ],
+ "is_repeatable": "1",
+ "group_title": "Family Details",
+ "group_key": "Family_Details"
+ }
+
+ ]
+}
\ No newline at end of file
diff --git a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/all/7.json b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/all/7.json
new file mode 100644
index 000000000..7f8fd455e
--- /dev/null
+++ b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/all/7.json
@@ -0,0 +1,683 @@
+{
+ "section_id":"6",
+ "section_name":"Banking Details",
+ "onsubmit":[
+ ],
+ "questions":[ {
+ "question":"Is the Personal Banking Information Available",
+ "question_key":"Is_the_Personal_Banking_Information_Available",
+ "type":"3",
+ "sub_title":"Personal Banking Details",
+ "field_width":"65",
+ "api_properties":null,
+ "answers":[
+ {
+ "answer_id":"Yes",
+ "answer":"Yes"
+ },
+ {
+ "answer_id":"No",
+ "answer":"No"
+ }
+ ],
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Is_the_Personal_Banking_Information_Available",
+ "expression":"(String('Is_the_Personal_Banking_Information_Available') == String('Yes'))",
+ "value_keys":[
+ "Is_the_Personal_Banking_Information_Available"
+ ],
+ "questions":[
+ {
+ "question":[
+ {
+ "question_key":"Account_Holder_Name",
+ "question":"Account Holder's Name",
+ "place_holder":"Enter the text",
+ "type":"3",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"30",
+ "validations":[
+ ]
+ },{
+ "question_key":"Banking_name",
+ "question":"Banking Name",
+ "place_holder":"Enter the text",
+ "type":"8",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"BTLENDERLIST"
+ },
+ "fields":[
+ "bt_lender_list_id",
+ "lender_name"
+ ]
+ },
+ "answers":null,
+ "onchange_properties":[{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Banking_name",
+ "expression":"(String('Banking_name') == String('1'))",
+ "value_keys":[
+ "Banking_name"
+ ],
+ "questions":[
+ {
+ "question":"Salary Credited in this account",
+ "question_key":"Salary_Credited_in_this_account",
+ "type":"1",
+ "field_width":"30",
+ "api_properties":null,
+ "parent_question_key":"Banking_name",
+ "answers":[
+ {
+ "answer_id":"YES",
+ "answer":"YES"
+ },
+ {
+ "answer_id":"NO",
+ "answer":"NO"
+ }, {
+ "answer_id":"NA",
+ "answer":"NA"
+ }
+
+
+ ],
+ "onchange_properties": [],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ }]
+ }]
+
+
+
+ }],
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"30",
+ "validations":[
+ ]
+ }, {
+ "question":"Account Type",
+ "question_key":"Is_the_Personal_Banking_Information_Available",
+ "place_holder":"Enter text",
+ "type":"3",
+ "field_width":"30",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"ACCOUNTTYPE"
+ },
+ "fields":[
+ "id",
+ "name"
+ ]
+ },
+ "answers": null,
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Is_the_Personal_Banking_Information_Available",
+ "expression":"(String('Is_the_Personal_Banking_Information_Available') == String('4'))",
+ "value_keys":[
+ "Is_the_Personal_Banking_Information_Available"
+ ],
+ "questions":[
+ {
+ "question":"Limit in case of OD / CC account",
+ "question_key":"Limit_in_case_of_OD_CC_account",
+ "type":"1",
+ "field_type":"numtoword",
+ "field_width":"45",
+ "api_properties":null,
+ "parent_question_key":"loan_type",
+ "answers":[
+
+ ],
+ "onchange_properties": [],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ }]
+ }]
+
+
+
+ }, {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Is_the_Personal_Banking_Information_Available",
+ "expression":"(String('Is_the_Personal_Banking_Information_Available') == String('3'))",
+ "value_keys":[
+ "Is_the_Personal_Banking_Information_Available"
+ ],
+ "questions":[
+ {
+ "question":"Limit in case of OD / CC account",
+ "question_key":"limit_in_case_of_OD_CC_account",
+ "type":"1",
+ "field_width":"45",
+ "field_type":"numtoword",
+ "api_properties":null,
+ "parent_question_key":"loan_type",
+ "answers":[
+
+ ],
+ "onchange_properties": [],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ }]
+ }]
+
+
+
+ }],
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Personal Banking Information Required",
+ "value":null
+ }
+ ]
+ }, {
+ "question_key":null,
+ "question":null,
+ "place_holder":"Enter the text",
+ "type":null,
+ "api_properties":null,
+ "sub_title":"Number of Years / Months since account was started",
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"100",
+ "validations":[
+ ]
+ }, {
+ "question_key":"year",
+ "question":"Year",
+ "place_holder":"Enter the text",
+ "type":"1",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"25",
+ "validations":[
+ ]
+ }, {
+ "question_key":"month",
+ "question":"Month",
+ "place_holder":"Enter the text",
+ "type":"1",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"25",
+ "validations":[
+ ]
+ },
+ {
+ "question":"Is this same AC used for?",
+ "question_key":"Is_this_same_AC_used_for",
+ "place_holder":"Enter the text",
+ "type":"3",
+ "api_properties":null,
+ "answers":[
+ {
+ "answer_id":"Personal",
+ "answer":"Personal"
+ },
+ {
+ "answer_id":"Business",
+ "answer":"Business"
+ },
+ {
+ "answer_id":"Both",
+ "answer":"Both"
+ }
+ ],
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"25",
+ "validations":[
+ ]
+ }
+ ],
+ "is_repeatable":"1",
+ "group_title":"Personal Banking Details",
+ "group_key":"Personal_Banking_Details",
+ "form_name":"Personal Banking Details"
+ }
+ ]
+ }]
+
+}],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ }, {
+ "question":"Is the Business Information Available",
+ "question_key":"Is_the_Business_Information_Available",
+ "type":"3",
+ "sub_title":"Business Details",
+ "field_width":"65",
+ "api_properties":null,
+ "answers":[
+ {
+ "answer_id":"Yes",
+ "answer":"Yes"
+ },
+ {
+ "answer_id":"No",
+ "answer":"No"
+ }
+ ],
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Is_the_Business_Information_Available",
+ "expression":"(String('Is_the_Business_Information_Available') == String('Yes'))",
+ "value_keys":[
+ "Is_the_Business_Information_Available"
+ ],
+ "questions":[
+ {
+ "question":[
+ {
+ "question_key":"Account_Holder_name",
+ "question":"Account Holder's Name",
+ "place_holder":"Enter the text",
+ "type":"3",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"30",
+ "validations":[
+ ]
+ },{
+ "question_key":"banking_name",
+ "question":"Banking Name",
+ "place_holder":"Enter the text",
+ "type":"8",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"BTLENDERLIST"
+ },
+ "fields":[
+ "bt_lender_list_id",
+ "lender_name"
+ ]
+ },
+ "answers":null,
+ "onchange_properties":[{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"banking_name",
+ "expression":"(String('banking_name') == String('1'))",
+ "value_keys":[
+ "banking_name"
+ ],
+ "questions":[
+ {
+ "question":"Salary Credited in this account",
+ "question_key":"salary_Credited_in_this_account",
+ "type":"1",
+ "field_width":"30",
+ "api_properties":null,
+ "parent_question_key":"banking_name",
+ "answers":[
+ {
+ "answer_id":"YES",
+ "answer":"YES"
+ },
+ {
+ "answer_id":"NO",
+ "answer":"NO"
+ }, {
+ "answer_id":"NA",
+ "answer":"NA"
+ }
+
+
+ ],
+ "onchange_properties": [],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ }]
+ }]
+
+
+
+ }],
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"30",
+ "validations":[
+ ]
+ }, {
+ "question":"Account Type",
+ "question_key":"Account_Type",
+ "place_holder":"Enter text",
+ "type":"3",
+ "field_width":"30",
+ "api_properties":null,
+ "answers":[
+ {
+ "answer_id":"CC",
+ "answer":"CC"
+ },
+ {
+ "answer_id":"Current",
+ "answer":"Current"
+ },
+ {
+ "answer_id":"OD",
+ "answer":"OD"
+ },
+ {
+ "answer_id":"Savings",
+ "answer":"Savings"
+ }
+ ],
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Account_Type",
+ "expression":"(String('Account_Type') == String('4'))",
+ "value_keys":[
+ "Account_Type"
+ ],
+ "questions":[
+
+ {
+ "question":"Limit in case of OD / CC account",
+ "question_key":"Limit_in_case_of_OD_CC_account",
+ "type": "1",
+ "field_width": "45",
+ "field_type":"numtoword",
+ "api_properties": null,
+ "parent_question_key":"loan_type",
+ "answers":[
+
+ ],
+ "onchange_properties": [],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ }, {
+ "question":"Is the main business account",
+ "question_key":"Is_the_main_business_account",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":null,
+ "parent_question_key":"loan_type",
+ "answers":[
+ {
+ "answer_id":"YES",
+ "answer":"YES"
+ },
+ {
+ "answer_id":"NO",
+ "answer":"NO"
+ }
+
+
+ ],
+ "onchange_properties": [],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ }]
+ }]
+
+
+
+ }, {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Account_Type",
+ "expression":"(String('Account_Type') == String('3'))",
+ "value_keys":[
+ "Account_Type"
+ ],
+ "questions":[
+ {
+ "question":"Limit in case of OD / CC account",
+ "question_key":"limit_in_case_of_OD_CC_account",
+ "type":"1",
+ "field_width":"45",
+ "api_properties":null,
+ "parent_question_key":"loan_type",
+ "answers":[
+
+ ],
+ "onchange_properties": [],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ }, {
+ "question":"Is the main business account",
+ "question_key":"is_the_main_business_account",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":null,
+ "parent_question_key":"loan_type",
+ "answers":[
+ {
+ "answer_id":"YES",
+ "answer":"YES"
+ },
+ {
+ "answer_id":"NO",
+ "answer":"NO"
+ }
+
+
+ ],
+ "onchange_properties": [],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ }]
+ }]
+
+
+
+ }, {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Account_Type",
+ "expression":"(String('Account_Type') == String('2'))",
+ "value_keys":[
+ "Account_Type"
+ ],
+ "questions":[
+ {
+ "question":"Is the main business account",
+ "question_key":"is_the_main_Business_account",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":null,
+ "parent_question_key":"loan_type",
+ "answers":[
+ {
+ "answer_id":"YES",
+ "answer":"YES"
+ },
+ {
+ "answer_id":"NO",
+ "answer":"NO"
+ }
+
+
+ ],
+ "onchange_properties": [],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ }]
+ }]
+
+
+
+ },{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Account_Type",
+ "expression":"(String('Account_Type') == String('1'))",
+ "value_keys":[
+ "Account_Type"
+ ],
+ "questions":[
+ {
+ "question":"Is the main business account",
+ "question_key":"is_the_main_Business_Account",
+ "type":"3",
+ "field_width":"45",
+ "api_properties":null,
+ "parent_question_key":"loan_type",
+ "answers":[
+ {
+ "answer_id":"YES",
+ "answer":"YES"
+ },
+ {
+ "answer_id":"NO",
+ "answer":"NO"
+ }
+
+
+ ],
+ "onchange_properties": [],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ }]
+ }]
+
+
+
+ }],
+ "is_repeatable":null,
+ "field_type":"string",
+ "validations":[
+ {
+ "name":"required",
+ "isactive":"1",
+ "validator":"Validators.required",
+ "message":"Business Details Required",
+ "value":null
+ }
+ ]
+ }, {
+ "question_key":null,
+ "question":null,
+ "place_holder":"Enter the text",
+ "type":null,
+ "api_properties":null,
+ "sub_title":"Number of Years / Months since account was started",
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"100",
+ "validations":[
+ ]
+ }, {
+ "question_key":"year",
+ "question":"Year",
+ "place_holder":"Enter the text",
+ "type":"1",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"25",
+ "validations":[
+ ]
+ }, {
+ "question_key":"month",
+ "question":"Month",
+ "place_holder":"Enter the text",
+ "type":"1",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"25",
+ "validations":[
+ ]
+ }
+
+ ],
+ "is_repeatable":"1",
+ "group_title":"Business Details",
+ "group_key":"Business_Details",
+ "form_name":"Business Details"
+ }
+ ]
+ }]
+
+}],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+}
+
+
+ ]
+}
\ No newline at end of file
diff --git a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/all/8.json b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/all/8.json
new file mode 100644
index 000000000..8d9e560b3
--- /dev/null
+++ b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/all/8.json
@@ -0,0 +1,472 @@
+{
+ "section_id": "7",
+ "section_name": "Existing Loan Obligations",
+ "onsubmit": null,
+ "questions": [
+ {
+ "question":"Do you have any exiting loan",
+ "question_key":"Do_you_have_any_exiting_loan",
+ "type":"3",
+ "field_width":"45",
+ "answers":[{
+ "answer":"Yes",
+ "answer_id":"yes"
+ },
+ {
+ "answer":"No",
+ "answer_id":"no"
+ }],
+ "api_properties":null,
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Do_you_have_any_exiting_loan",
+ "expression":"(String('Do_you_have_any_exiting_loan') == String('yes'))",
+ "value_keys":[
+ "Do_you_have_any_exiting_loan"
+ ],
+ "questions":[
+ {
+ "question": [
+
+
+ {
+ "question": "Loan type",
+ "question_key": "loan_type",
+ "type": "3",
+ "field_width": "45",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"EXISTINGLOANTYPES"
+ },
+ "fields":[
+ "existing_loan_type_id",
+ "loan_type_name"
+ ]
+ },
+ "answers": null,
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"loan_type",
+ "expression":"(String('loan_type') == String('1'))",
+ "value_keys":[
+ "loan_type"
+ ],
+ "questions":[
+ {
+ "question":"Specify Loan Type",
+ "question_key":"Specify_Loan_Type",
+ "type":"1",
+ "field_width":"45",
+ "api_properties":null,
+ "parent_question_key":"loan_type",
+ "answers":[
+
+ ],
+ "onchange_properties": [],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ }]
+ }]
+
+
+
+ }],
+ "is_repeatable": null,
+ "validations": [
+ ]
+ },
+ {
+ "question": "Loan amount",
+ "question_key": "loan_amount",
+ "type": "1",
+ "field_type": "numtoword",
+ "field_width": "65",
+ "onchange_properties": null,
+ "api_properties": null,
+ "answers": null,
+ "is_repeatable": null,
+ "validations": [
+ ]
+ },
+ {
+ "question": "Lender name",
+ "question_key": "lender_name",
+ "type": "4",
+ "field_width": "45",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"BTLENDERLIST"
+ },
+ "fields":[
+ "bt_lender_list_id",
+ "lender_name"
+ ]
+ },
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": [
+ ]
+ },
+ {
+ "question": "Loan taken by",
+ "question_key": "loan_taken_by",
+ "type": "1",
+ "field_width": "45",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": [
+ ]
+ },
+
+ {
+ "question": "Instalment frequency",
+ "question_key": "instalment_frequency",
+ "type": "3",
+ "field_width": "45",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"FREQUENCY"
+ },
+ "fields":[
+ "frequency_id",
+ "name"
+ ]
+ },
+ "answers": null,
+
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"instalment_frequency",
+ "expression":"(String('instalment_frequency') == String('5'))",
+ "value_keys":[
+ "instalment_frequency"
+ ],
+ "questions":[
+ {
+ "question":"Daily Instalment Amount",
+ "question_key":"Daily_Instalment_Amount",
+ "type":"1",
+ "field_width":"45",
+ "field_type": "numtoword",
+ "api_properties":null,
+ "parent_question_key":"instalment_frequency",
+ "answers":[
+
+ ],
+ "onchange_properties": [],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ }]
+ }]
+
+
+
+ },{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"instalment_frequency",
+ "expression":"(String('instalment_frequency') == String('8'))",
+ "value_keys":[
+ "instalment_frequency"
+ ],
+ "questions":[
+ {
+ "question":"Instalment Amount",
+ "question_key":"Instalment_Amount",
+ "type":"1",
+ "field_width":"45",
+ "field_type": "numtoword",
+ "api_properties":null,
+ "parent_question_key":"instalment_frequency",
+ "answers":[
+
+ ],
+ "onchange_properties": [],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ }]
+ }]
+
+
+
+ },{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"instalment_frequency",
+ "expression":"(String('instalment_frequency') == String('4'))",
+ "value_keys":[
+ "instalment_frequency"
+ ],
+ "questions":[
+ {
+ "question":"Fortnightly Instalment Amount",
+ "question_key":"Fortnightly_Instalment_Amount",
+ "type":"1",
+ "field_width":"45",
+ "field_type": "numtoword",
+ "api_properties":null,
+ "parent_question_key":"instalment_frequency",
+ "answers":[
+
+ ],
+ "onchange_properties": [],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ }]
+ }]
+
+
+
+ },{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"instalment_frequency",
+ "expression":"(String('instalment_frequency') == String('6'))",
+ "value_keys":[
+ "instalment_frequency"
+ ],
+ "questions":[
+ {
+ "question":"Quartly Instalment Amount",
+ "question_key":"Quartly_Instalment_Amount",
+ "type":"1",
+ "field_width":"45",
+ "field_type": "numtoword",
+ "api_properties":null,
+ "parent_question_key":"instalment_frequency",
+ "answers":[
+
+ ],
+ "onchange_properties": [],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ }]
+ }]
+
+
+
+ },{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"instalment_frequency",
+ "expression":"(String('instalment_frequency') == String('3'))",
+ "value_keys":[
+ "instalment_frequency"
+ ],
+ "questions":[
+ {
+ "question":"Halfyearly Instalment Amount",
+ "question_key":"Halfyearly_Instalment_Amount",
+ "type":"1",
+ "field_width":"45",
+ "field_type": "numtoword",
+ "api_properties":null,
+ "parent_question_key":"instalment_frequency",
+ "answers":[
+
+ ],
+ "onchange_properties": [],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ }]
+ }]
+
+
+
+ },{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"instalment_frequency",
+ "expression":"(String('instalment_frequency') == String('7'))",
+ "value_keys":[
+ "instalment_frequency"
+ ],
+ "questions":[
+ {
+ "question":"Monthly Instalment Amount",
+ "question_key":"Monthly_Instalment_Amount",
+ "type":"1",
+ "field_width":"45",
+ "field_type": "numtoword",
+ "api_properties":null,
+ "parent_question_key":"instalment_frequency",
+ "answers":[
+
+ ],
+ "onchange_properties": [],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ }]
+ }]
+
+
+
+ },{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"instalment_frequency",
+ "expression":"(String('instalment_frequency') == String('2'))",
+ "value_keys":[
+ "instalment_frequency"
+ ],
+ "questions":[
+ {
+ "question":"Annual Instalment Amount",
+ "question_key":"Annual_Instalment_Amount",
+ "type":"1",
+ "field_width":"45",
+ "field_type": "numtoword",
+ "api_properties":null,
+ "parent_question_key":"instalment_frequency",
+ "answers":[
+
+ ],
+ "onchange_properties": [],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ }]
+ }]
+
+
+
+ }],
+ "is_repeatable": null,
+ "validations": [
+ ]
+ },
+ {
+ "question": "Original tenure in months",
+ "question_key": "original_tenure_months",
+ "type": "1",
+ "field_width": "65",
+ "field_type": "num",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": [
+ {
+ "purpose":"answer_value",
+ "expression":"(Number(original_tenure_months)-Number(current_tenure_months))",
+ "value_keys":[
+ "original_tenure_months", "current_tenure_months"
+ ],
+ "insert_control":"elapsed_tenure_months"
+ }
+ ],
+ "is_repeatable": null,
+ "validations": [
+ ]
+ },
+ {
+ "question": "Current balance tenure in months",
+ "question_key": "current_tenure_months",
+ "type": "1",
+ "field_type": "num",
+ "field_width": "65",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": [
+ {
+ "purpose":"answer_value",
+ "expression":"(Number(original_tenure_months)-Number(current_tenure_months))",
+ "value_keys":[
+ "original_tenure_months", "current_tenure_months"
+ ],
+ "insert_control":"elapsed_tenure_months"
+ }
+ ],
+ "is_repeatable": null,
+ "validations": [
+ ]
+ },
+ {
+ "question": "Elapsed tenure in mths",
+ "question_key": "elapsed_tenure_months",
+ "type": "1",
+ "field_width": "65",
+ "field_type": "num",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": [
+ {
+ "purpose":"answer_value",
+ "expression":"(Number(original_tenure_months)-Number(elapsed_tenure_months))",
+ "value_keys":[
+ "original_tenure_months", "elapsed_tenure_months"
+ ],
+ "insert_control":"current_tenure_months"
+ }
+ ],
+ "is_repeatable": null,
+ "validations": [
+ ]
+ }
+ ],
+ "is_repeatable": "1",
+ "group_title": "Loan Details",
+ "group_key": "Loan_Details"
+ } ]
+ }]
+
+ }],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ }, {
+ "question_key":"common_remarks",
+ "question":"Remarks",
+ "place_holder":"Enter the text",
+ "type":"7",
+ "api_properties":null,
+ "answers":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "field_type":"string",
+ "field_width":"45",
+ "validations":[
+ ]
+ }
+
+
+ ]
+}
\ No newline at end of file
diff --git a/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/all/9.json b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/all/9.json
new file mode 100644
index 000000000..11a21e8aa
--- /dev/null
+++ b/ng6-seed/src/assets/data/SMC_CREDIT_TEMPLATES/all/9.json
@@ -0,0 +1,322 @@
+{
+ "section_id": "9",
+ "section_name": "Other Income Details",
+ "onsubmit": [],
+ "questions": [
+ {
+ "question":"Other Income of Loan Application",
+ "question_key":"Other_Income_of_Loan_Application",
+ "type":"3",
+ "field_width":"45",
+ "answers":[{
+ "answer":"Yes",
+ "answer_id":"yes"
+ },
+ {
+ "answer":"No",
+ "answer_id":"no"
+ }],
+ "api_properties":null,
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Other_Income_of_Loan_Application",
+ "expression":"(String('Other_Income_of_Loan_Application') == String('yes'))",
+ "value_keys":[
+ "Other_Income_of_Loan_Application"
+ ],
+ "questions":[
+ {
+ "question": [
+ {
+ "question": "Source",
+ "question_key": "Source",
+ "type": "3",
+ "field_width": "45",
+ "api_properties": null,
+ "answers":[{
+
+ "answer":"Agricultural Income",
+ "answer_id":"Agricultural_Income"
+ },
+ {
+ "answer":"Dividend Income",
+ "answer_id":"Dividend_Income"
+ }, {
+ "answer":"Interest Income",
+ "answer_id":"Interest_Income"
+ }, {
+ "answer":"Rental Income",
+ "answer_id":"Rental_Income"
+ },
+ {
+ "answer":"Others(Please Specify)",
+ "answer_id":"Others(Please_Specify)"
+ }
+
+ ],
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Source",
+ "expression":"(String('Source') == String('Rental_Income'))",
+ "value_keys":[
+ "Source"
+ ],
+ "questions":[
+ {
+ "question":"Address",
+ "question_key":"Address",
+ "place_holder":"",
+ "field_type":"num",
+ "type":"1",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Source",
+ "answers":null,
+ "validations":[
+ ]
+ }]
+ }]
+
+ },{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Source",
+ "expression":"(String('Source') == String('Others(Please_Specify)'))",
+ "value_keys":[
+ "Source"
+ ],
+ "questions":[
+ {
+ "question":"Specify Source",
+ "question_key":"Specify_Source",
+ "place_holder":"",
+ "field_type":"num",
+ "type":"1",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Source",
+ "answers":null,
+ "validations":[
+ ]
+ }]
+ }]
+
+ }],
+ "is_repeatable": null,
+ "field_type": "string",
+ "validations": [
+ ]
+ },
+ {
+ "question": "Income earned by",
+ "question_key": "Income_earned_by",
+ "type": "3",
+ "field_width": "45",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": [
+ ]
+ },
+ {
+ "question": "Amount",
+ "question_key": "amount",
+ "type": "1",
+ "field_width": "45",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": [
+ ]
+ },
+ {
+ "question": "Frequency",
+ "question_key": "account_type",
+ "type": "3",
+ "field_width": "45",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"FREQUENCY"
+ },
+ "fields":[
+ "frequency_id",
+ "name"
+ ]
+ },
+ "answers":null,
+ "onchange_properties": [
+ ],
+ "is_repeatable": null,
+ "validations": [
+
+ ]
+ }
+ ],
+ "is_repeatable": "1",
+ "group_title": "Income Details",
+ "group_key": "Income_Details"
+ }]
+ }]
+
+ }],
+ "is_repeatable":null,
+ "validations":[
+
+ ]
+ },
+ {
+ "question": [
+ {
+ "question": "Source",
+ "question_key": "Source",
+ "type": "3",
+ "field_width": "45",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"SOURCEOFOTHERINCOME"
+ },
+ "fields":[
+ "id",
+ "name"
+ ]
+ },
+ "answers": null,
+ "onchange_properties":[
+ {
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Source",
+ "expression":"(String('Source') == String('5'))",
+ "value_keys":[
+ "Source"
+ ],
+ "questions":[
+ {
+ "question":"Address",
+ "question_key":"Address",
+ "place_holder":"",
+ "field_type":"text",
+ "type":"1",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Source",
+ "answers":null,
+ "validations":[
+ ]
+ }]
+ }]
+
+ },{
+ "purpose":"FORM_CTRL",
+ "form_controls":[
+ {
+ "insert_index":"Source",
+ "expression":"(String('Source') == String('1'))",
+ "value_keys":[
+ "Source"
+ ],
+ "questions":[
+ {
+ "question":"Specify Source",
+ "question_key":"Specify_Source",
+ "place_holder":"",
+ "field_type":"text",
+ "type":"1",
+ "field_width":"45",
+ "api_properties":null,
+ "onchange_properties":null,
+ "is_repeatable":null,
+ "is_subfield":"1",
+ "parent_question_key":"Source",
+ "answers":null,
+ "validations":[
+ ]
+ }]
+ }]
+
+ }],
+ "is_repeatable": null,
+ "field_type": "string",
+ "validations": [
+ ]
+ },
+ {
+ "question": "Income earned by",
+ "question_key": "Income_earned_by",
+ "type": "3",
+ "field_width": "45",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": [
+ ]
+ },
+ {
+ "question": "Amount",
+ "question_key": "amount",
+ "type": "1",
+ "field_width": "45",
+ "field_type":"numtoword",
+ "api_properties": null,
+ "answers": null,
+ "onchange_properties": null,
+ "is_repeatable": null,
+ "validations": [
+ ]
+ },
+ {
+ "question": "Frequency",
+ "question_key": "account_type",
+ "type": "3",
+ "field_width": "45",
+ "api_properties":{
+ "api":"getListOfMaster",
+ "api_method":"POST",
+ "params":{
+ "master_name":"FREQUENCY"
+ },
+ "fields":[
+ "frequency_id",
+ "name"
+ ]
+ },
+ "answers": null,
+ "onchange_properties": [
+ ],
+ "is_repeatable": null,
+ "validations": [
+
+ ]
+ }
+ ],
+ "is_repeatable": "1",
+ "group_title": "Income Details",
+ "group_key": "Income_Details"
+ }
+
+ ]
+}
\ No newline at end of file