@csmart/ngc-smart-victim 0.1.7 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
- package/karma.conf.js +32 -0
- package/ng-package.json +7 -0
- package/package.json +13 -26
- package/src/lib/caseNote/caseNote.component.css +20 -0
- package/src/lib/caseNote/caseNote.component.html +188 -0
- package/src/lib/caseNote/caseNote.component.ts +248 -0
- package/src/lib/common-dialog/common-dialog.component.css +10 -0
- package/src/lib/common-dialog/common-dialog.component.html +23 -0
- package/src/lib/common-dialog/common-dialog.component.spec.ts +25 -0
- package/src/lib/common-dialog/common-dialog.component.ts +21 -0
- package/src/lib/common-dialog/common-dialog.module.ts +25 -0
- package/src/lib/common-dialog/common-dialog.service.ts +35 -0
- package/src/lib/contact/contact.component.css +20 -0
- package/src/lib/contact/contact.component.html +124 -0
- package/src/lib/contact/contact.component.ts +176 -0
- package/src/lib/intake.service.ts +82 -0
- package/src/lib/safetyPlan/serviceProvider.component.ts +94 -0
- package/src/lib/safetyPlan/victimSafetyPlan.component.css +27 -0
- package/src/lib/safetyPlan/victimSafetyPlan.component.html +85 -0
- package/src/lib/safetyPlan/victimSafetyPlan.component.ts +178 -0
- package/src/lib/safetyPlan/victimSafetyPlanDetail.component.html +234 -0
- package/src/lib/safetyPlan/victimSafetyPlanDetail.component.ts +492 -0
- package/src/lib/shared/app.shared.module.ts +118 -0
- package/src/lib/shared/directives/phone-mask.directive.ts +41 -0
- package/src/lib/shared/validators/date.validator.ts +73 -0
- package/src/lib/shared/validators/index.ts +1 -0
- package/src/lib/smart-victim-delete-confirm.component.ts +35 -0
- package/src/lib/smart-victim-detail/smart-victim-detail.component.css +43 -0
- package/src/lib/smart-victim-detail/smart-victim-detail.component.html +860 -0
- package/src/lib/smart-victim-detail/smart-victim-detail.component.spec.ts +25 -0
- package/src/lib/smart-victim-detail/smart-victim-detail.component.ts +1241 -0
- package/src/lib/smart-victim.component.css +192 -0
- package/src/lib/smart-victim.component.html +133 -0
- package/src/lib/smart-victim.component.spec.ts +25 -0
- package/src/lib/smart-victim.component.ts +323 -0
- package/src/lib/smart-victim.model.ts +301 -0
- package/src/lib/smart-victim.module.ts +116 -0
- package/src/lib/smart-victim.service.spec.ts +12 -0
- package/src/lib/smart-victim.service.ts +563 -0
- package/src/lib/victim-routing.module.ts +34 -0
- package/{lib/victimSearch/VictimSearchFilter.d.ts → src/lib/victimSearch/VictimSearchFilter.ts} +4 -2
- package/src/lib/victimSearch/victimSearchForm.component.html +35 -0
- package/src/lib/victimSearch/victimSearchForm.component.ts +41 -0
- package/src/public-api.ts +12 -0
- package/src/test.ts +22 -0
- package/tsconfig.lib.json +37 -0
- package/tsconfig.spec.json +17 -0
- package/tslint.json +17 -0
- package/bundles/csmart-ngc-smart-victim.umd.js +0 -6434
- package/bundles/csmart-ngc-smart-victim.umd.js.map +0 -1
- package/bundles/csmart-ngc-smart-victim.umd.min.js +0 -16
- package/bundles/csmart-ngc-smart-victim.umd.min.js.map +0 -1
- package/csmart-ngc-smart-victim.d.ts +0 -19
- package/csmart-ngc-smart-victim.metadata.json +0 -1
- package/esm2015/csmart-ngc-smart-victim.js +0 -25
- package/esm2015/lib/caseNote/caseNote.component.js +0 -349
- package/esm2015/lib/common-dialog/common-dialog.component.js +0 -46
- package/esm2015/lib/common-dialog/common-dialog.module.js +0 -32
- package/esm2015/lib/common-dialog/common-dialog.service.js +0 -63
- package/esm2015/lib/contact/contact.component.js +0 -232
- package/esm2015/lib/intake.service.js +0 -183
- package/esm2015/lib/safetyPlan/serviceProvider.component.js +0 -130
- package/esm2015/lib/safetyPlan/victimSafetyPlan.component.js +0 -257
- package/esm2015/lib/safetyPlan/victimSafetyPlanDetail.component.js +0 -556
- package/esm2015/lib/shared/app.shared.module.js +0 -81
- package/esm2015/lib/shared/directives/phone-mask.directive.js +0 -168
- package/esm2015/lib/shared/validators/date.validator.js +0 -108
- package/esm2015/lib/shared/validators/index.js +0 -7
- package/esm2015/lib/smart-victim-delete-confirm.component.js +0 -61
- package/esm2015/lib/smart-victim-detail/smart-victim-detail.component.js +0 -1410
- package/esm2015/lib/smart-victim.component.js +0 -476
- package/esm2015/lib/smart-victim.model.js +0 -631
- package/esm2015/lib/smart-victim.module.js +0 -84
- package/esm2015/lib/smart-victim.service.js +0 -792
- package/esm2015/lib/victim-routing.module.js +0 -40
- package/esm2015/lib/victimSearch/VictimSearchFilter.js +0 -20
- package/esm2015/lib/victimSearch/victimSearchForm.component.js +0 -59
- package/esm2015/public-api.js +0 -13
- package/esm5/csmart-ngc-smart-victim.js +0 -25
- package/esm5/lib/caseNote/caseNote.component.js +0 -372
- package/esm5/lib/common-dialog/common-dialog.component.js +0 -48
- package/esm5/lib/common-dialog/common-dialog.module.js +0 -36
- package/esm5/lib/common-dialog/common-dialog.service.js +0 -75
- package/esm5/lib/contact/contact.component.js +0 -285
- package/esm5/lib/intake.service.js +0 -194
- package/esm5/lib/safetyPlan/serviceProvider.component.js +0 -99
- package/esm5/lib/safetyPlan/victimSafetyPlan.component.js +0 -306
- package/esm5/lib/safetyPlan/victimSafetyPlanDetail.component.js +0 -628
- package/esm5/lib/shared/app.shared.module.js +0 -85
- package/esm5/lib/shared/directives/phone-mask.directive.js +0 -184
- package/esm5/lib/shared/validators/date.validator.js +0 -108
- package/esm5/lib/shared/validators/index.js +0 -7
- package/esm5/lib/smart-victim-delete-confirm.component.js +0 -51
- package/esm5/lib/smart-victim-detail/smart-victim-detail.component.js +0 -1502
- package/esm5/lib/smart-victim.component.js +0 -528
- package/esm5/lib/smart-victim.model.js +0 -541
- package/esm5/lib/smart-victim.module.js +0 -84
- package/esm5/lib/smart-victim.service.js +0 -1063
- package/esm5/lib/victim-routing.module.js +0 -44
- package/esm5/lib/victimSearch/VictimSearchFilter.js +0 -24
- package/esm5/lib/victimSearch/victimSearchForm.component.js +0 -70
- package/esm5/public-api.js +0 -13
- package/fesm2015/csmart-ngc-smart-victim.js +0 -5690
- package/fesm2015/csmart-ngc-smart-victim.js.map +0 -1
- package/fesm5/csmart-ngc-smart-victim.js +0 -6211
- package/fesm5/csmart-ngc-smart-victim.js.map +0 -1
- package/lib/caseNote/caseNote.component.d.ts +0 -45
- package/lib/common-dialog/common-dialog.component.d.ts +0 -11
- package/lib/common-dialog/common-dialog.module.d.ts +0 -2
- package/lib/common-dialog/common-dialog.service.d.ts +0 -8
- package/lib/contact/contact.component.d.ts +0 -37
- package/lib/intake.service.d.ts +0 -54
- package/lib/safetyPlan/serviceProvider.component.d.ts +0 -16
- package/lib/safetyPlan/victimSafetyPlan.component.d.ts +0 -49
- package/lib/safetyPlan/victimSafetyPlanDetail.component.d.ts +0 -57
- package/lib/shared/app.shared.module.d.ts +0 -2
- package/lib/shared/directives/phone-mask.directive.d.ts +0 -14
- package/lib/shared/validators/date.validator.d.ts +0 -9
- package/lib/shared/validators/index.d.ts +0 -1
- package/lib/smart-victim-delete-confirm.component.d.ts +0 -9
- package/lib/smart-victim-detail/smart-victim-detail.component.d.ts +0 -109
- package/lib/smart-victim.component.d.ts +0 -63
- package/lib/smart-victim.model.d.ts +0 -204
- package/lib/smart-victim.module.d.ts +0 -2
- package/lib/smart-victim.service.d.ts +0 -67
- package/lib/victim-routing.module.d.ts +0 -2
- package/lib/victimSearch/victimSearchForm.component.d.ts +0 -11
- package/public-api.d.ts +0 -4
package/src/test.ts
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
// This file is required by karma.conf.js and loads recursively all the .spec and framework files
|
2
|
+
|
3
|
+
import 'core-js/es7/reflect';
|
4
|
+
import 'zone.js/dist/zone';
|
5
|
+
import 'zone.js/dist/zone-testing';
|
6
|
+
import { getTestBed } from '@angular/core/testing';
|
7
|
+
import {
|
8
|
+
BrowserDynamicTestingModule,
|
9
|
+
platformBrowserDynamicTesting
|
10
|
+
} from '@angular/platform-browser-dynamic/testing';
|
11
|
+
|
12
|
+
declare const require: any;
|
13
|
+
|
14
|
+
// First, initialize the Angular testing environment.
|
15
|
+
getTestBed().initTestEnvironment(
|
16
|
+
BrowserDynamicTestingModule,
|
17
|
+
platformBrowserDynamicTesting()
|
18
|
+
);
|
19
|
+
// Then we find all the tests.
|
20
|
+
const context = require.context('./', true, /\.spec\.ts$/);
|
21
|
+
// And load the modules.
|
22
|
+
context.keys().map(context);
|
@@ -0,0 +1,37 @@
|
|
1
|
+
{
|
2
|
+
"extends": "../../tsconfig.json",
|
3
|
+
"compilerOptions": {
|
4
|
+
"outDir": "../../out-tsc/lib",
|
5
|
+
"target": "es2015",
|
6
|
+
"module": "es2015",
|
7
|
+
"moduleResolution": "node",
|
8
|
+
"declaration": true,
|
9
|
+
"sourceMap": true,
|
10
|
+
"inlineSources": true,
|
11
|
+
"emitDecoratorMetadata": true,
|
12
|
+
"experimentalDecorators": true,
|
13
|
+
"importHelpers": true,
|
14
|
+
"types": [],
|
15
|
+
"lib": [
|
16
|
+
"dom",
|
17
|
+
"es2018",
|
18
|
+
"esnext.asynciterable"
|
19
|
+
],
|
20
|
+
"paths": {
|
21
|
+
"ngc-smart-victim/*": ["dist/libs/*"]
|
22
|
+
}
|
23
|
+
},
|
24
|
+
"angularCompilerOptions": {
|
25
|
+
"annotateForClosureCompiler": true,
|
26
|
+
"skipTemplateCodegen": true,
|
27
|
+
"strictMetadataEmit": true,
|
28
|
+
"fullTemplateTypeCheck": true,
|
29
|
+
"strictInjectionParameters": true,
|
30
|
+
"enableResourceInlining": true,
|
31
|
+
"compilationMode": "partial"
|
32
|
+
},
|
33
|
+
"exclude": [
|
34
|
+
"src/test.ts",
|
35
|
+
"**/*.spec.ts"
|
36
|
+
]
|
37
|
+
}
|
package/tslint.json
ADDED