@sachin9822/reports-lib 0.0.211 → 0.0.212
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/karma.conf.js +44 -0
- package/ng-package.json +17 -0
- package/package.json +16 -31
- package/src/assets/images/BreadcrumbArrow.png +0 -0
- package/src/lib/assets/images/Search.svg +10 -0
- package/src/lib/assets/images/XMLogo.png +0 -0
- package/src/lib/components/acc-gl-details-enquiry-report/acc-gl-details-enquiry-report.component.html +27 -0
- package/src/lib/components/acc-gl-details-enquiry-report/acc-gl-details-enquiry-report.component.scss +46 -0
- package/src/lib/components/acc-gl-details-enquiry-report/acc-gl-details-enquiry-report.component.spec.ts +23 -0
- package/src/lib/components/acc-gl-details-enquiry-report/acc-gl-details-enquiry-report.component.ts +292 -0
- package/src/lib/components/accounting-report/accounting-report.component.html +64 -0
- package/src/lib/components/accounting-report/accounting-report.component.scss +24 -0
- package/src/lib/components/accounting-report/accounting-report.component.spec.ts +23 -0
- package/src/lib/components/accounting-report/accounting-report.component.ts +738 -0
- package/src/lib/components/branch-activity-receive-report/branch-activity-receive-report.component.html +46 -0
- package/src/lib/components/branch-activity-receive-report/branch-activity-receive-report.component.scss +2 -0
- package/src/lib/components/branch-activity-receive-report/branch-activity-receive-report.component.spec.ts +23 -0
- package/src/lib/components/branch-activity-receive-report/branch-activity-receive-report.component.ts +247 -0
- package/src/lib/components/branch-activity-send-report/branch-activity-send-report.component.html +46 -0
- package/src/lib/components/branch-activity-send-report/branch-activity-send-report.component.scss +3 -0
- package/src/lib/components/branch-activity-send-report/branch-activity-send-report.component.spec.ts +23 -0
- package/src/lib/components/branch-activity-send-report/branch-activity-send-report.component.ts +276 -0
- package/src/lib/components/branch-activity-send-summary-report/branch-activity-send-summary-report.component.html +51 -0
- package/src/lib/components/branch-activity-send-summary-report/branch-activity-send-summary-report.component.scss +7 -0
- package/src/lib/components/branch-activity-send-summary-report/branch-activity-send-summary-report.component.spec.ts +23 -0
- package/src/lib/components/branch-activity-send-summary-report/branch-activity-send-summary-report.component.ts +840 -0
- package/src/lib/components/cancellation-transaction-report/cancellation-transaction-report.component.html +68 -0
- package/src/lib/components/cancellation-transaction-report/cancellation-transaction-report.component.scss +65 -0
- package/src/lib/components/cancellation-transaction-report/cancellation-transaction-report.component.spec.ts +23 -0
- package/src/lib/components/cancellation-transaction-report/cancellation-transaction-report.component.ts +290 -0
- package/src/lib/components/credit-limit-status-enquiry-report/credit-limit-status-enquiry-report.component.html +25 -0
- package/src/lib/components/credit-limit-status-enquiry-report/credit-limit-status-enquiry-report.component.scss +1 -0
- package/src/lib/components/credit-limit-status-enquiry-report/credit-limit-status-enquiry-report.component.spec.ts +23 -0
- package/src/lib/components/credit-limit-status-enquiry-report/credit-limit-status-enquiry-report.component.ts +213 -0
- package/src/lib/components/funding-report/funding-report.component.html +49 -0
- package/src/lib/components/funding-report/funding-report.component.scss +1 -0
- package/src/lib/components/funding-report/funding-report.component.spec.ts +23 -0
- package/src/lib/components/funding-report/funding-report.component.ts +221 -0
- package/src/lib/components/revenue-per-transaction-report/revenue-per-transaction-report.component.html +26 -0
- package/src/lib/components/revenue-per-transaction-report/revenue-per-transaction-report.component.scss +1 -0
- package/src/lib/components/revenue-per-transaction-report/revenue-per-transaction-report.component.spec.ts +23 -0
- package/src/lib/components/revenue-per-transaction-report/revenue-per-transaction-report.component.ts +267 -0
- package/src/lib/components/statement-of-accounts-report/statement-of-accounts-report.component.html +95 -0
- package/src/lib/components/statement-of-accounts-report/statement-of-accounts-report.component.scss +54 -0
- package/src/lib/components/statement-of-accounts-report/statement-of-accounts-report.component.spec.ts +23 -0
- package/src/lib/components/statement-of-accounts-report/statement-of-accounts-report.component.ts +904 -0
- package/src/lib/components/transaction-enquiry-report/transaction-enquiry-report.component.html +49 -0
- package/src/lib/components/transaction-enquiry-report/transaction-enquiry-report.component.scss +2 -0
- package/src/lib/components/transaction-enquiry-report/transaction-enquiry-report.component.spec.ts +32 -0
- package/src/lib/components/transaction-enquiry-report/transaction-enquiry-report.component.ts +304 -0
- package/src/lib/components/transaction-monitoring-report/transaction-monitoring-report.component.html +46 -0
- package/src/lib/components/transaction-monitoring-report/transaction-monitoring-report.component.scss +7 -0
- package/src/lib/components/transaction-monitoring-report/transaction-monitoring-report.component.ts +343 -0
- package/src/lib/components/trial-balance-accounts-report/trial-balance-accounts-report.component.html +25 -0
- package/src/lib/components/trial-balance-accounts-report/trial-balance-accounts-report.component.scss +23 -0
- package/src/lib/components/trial-balance-accounts-report/trial-balance-accounts-report.component.spec.ts +23 -0
- package/src/lib/components/trial-balance-accounts-report/trial-balance-accounts-report.component.ts +745 -0
- package/src/lib/models/acc-gl-details-enquiry-report/accgl-details-enquiry-reportmodel.ts +10 -0
- package/src/lib/models/acc-gl-details-enquiry-report/journal-voucher-entry-model.ts +20 -0
- package/src/lib/models/accounting-report/accounting-report-branch-group.ts +7 -0
- package/src/lib/models/accounting-report/accounting-report-entry-model.ts +25 -0
- package/src/lib/models/accounting-report/accounting-report-model.ts +7 -0
- package/{lib/models/accounting-report/accounting-report-sub-group.d.ts → src/lib/models/accounting-report/accounting-report-sub-group.ts} +3 -2
- package/{lib/models/app-config.model.d.ts → src/lib/models/app-config.model.ts} +8 -7
- package/src/lib/models/branch-activity-receive-report/branch-activity-receive.model.ts +18 -0
- package/src/lib/models/branch-activity-report/branch-activity-send-report-request-domain-model.ts +16 -0
- package/src/lib/models/branch-activity-report/branch-activity-send-report.ts +26 -0
- package/src/lib/models/cancellation-transaction-report/cancellation-transaction.model.ts +65 -0
- package/src/lib/models/component-loading-states.ts +5 -0
- package/src/lib/models/credit-limit-status-enquiry-report/credit-limit-status-enquiry.model.ts +28 -0
- package/{lib/models/revenue-per-transaction-report/revenue-per-transaction.model.d.ts → src/lib/models/revenue-per-transaction-report/revenue-per-transaction.model.ts} +1 -1
- package/src/lib/models/statement-of-account-report/statement-of-accounts.model.ts +21 -0
- package/src/lib/models/transaction-enquiry-report/transaction-enquiry.model.ts +127 -0
- package/src/lib/models/transaction-monitoring-report/transaction-monitoring-report-request-domain-model.ts +16 -0
- package/src/lib/models/transaction-monitoring-report/transaction-monitoring-report.ts +29 -0
- package/src/lib/models/trial-balance-accounts-report/trial-balance-accounts.models.ts +46 -0
- package/src/lib/reports-lib-routing.module.ts +20 -0
- package/src/lib/reports-lib.component.spec.ts +23 -0
- package/src/lib/reports-lib.component.ts +20 -0
- package/src/lib/reports-lib.module.ts +102 -0
- package/src/lib/reports-lib.service.spec.ts +16 -0
- package/src/lib/reports-lib.service.ts +9 -0
- package/src/lib/services/config.service.ts +43 -0
- package/src/lib/services/report.service.spec.ts +16 -0
- package/src/lib/services/report.service.ts +463 -0
- package/src/lib/shared/export-generic.service.ts +557 -0
- package/src/lib/shared/export.service.spec.ts +16 -0
- package/src/lib/shared/export.service.ts +457 -0
- package/src/lib/shared/loader/loader.component.html +8 -0
- package/src/lib/shared/loader/loader.component.scss +52 -0
- package/src/lib/shared/loader/loader.component.ts +10 -0
- package/src/lib/shared/metadata/metadata.component.html +42 -0
- package/src/lib/shared/metadata/metadata.component.scss +95 -0
- package/src/lib/shared/metadata/metadata.component.spec.ts +23 -0
- package/src/lib/shared/metadata/metadata.component.ts +38 -0
- package/src/lib/shared/page-size-selector/page-size-selector.component.html +7 -0
- package/src/lib/shared/page-size-selector/page-size-selector.component.scss +42 -0
- package/src/lib/shared/page-size-selector/page-size-selector.component.spec.ts +23 -0
- package/src/lib/shared/page-size-selector/page-size-selector.component.ts +38 -0
- package/src/lib/shared/search-filter/search-filter.component.html +601 -0
- package/src/lib/shared/search-filter/search-filter.component.scss +203 -0
- package/src/lib/shared/search-filter/search-filter.component.spec.ts +23 -0
- package/src/lib/shared/search-filter/search-filter.component.ts +2387 -0
- package/src/lib/shared/shared.module.ts +13 -0
- package/{public-api.d.ts → src/public-api.ts} +17 -7
- package/src/styles/ag-grid-report-style.scss +71 -0
- package/src/styles/common-ag-grid-style.scss +146 -0
- package/src/styles/common-report-style.scss +395 -0
- package/src/styles/common-style.scss +615 -0
- package/src/test.ts +27 -0
- package/tsconfig.lib.json +15 -0
- package/tsconfig.lib.prod.json +10 -0
- package/tsconfig.spec.json +17 -0
- package/esm2020/lib/components/acc-gl-details-enquiry-report/acc-gl-details-enquiry-report.component.mjs +0 -240
- package/esm2020/lib/components/accounting-report/accounting-report.component.mjs +0 -596
- package/esm2020/lib/components/branch-activity-receive-report/branch-activity-receive-report.component.mjs +0 -218
- package/esm2020/lib/components/branch-activity-send-report/branch-activity-send-report.component.mjs +0 -243
- package/esm2020/lib/components/branch-activity-send-summary-report/branch-activity-send-summary-report.component.mjs +0 -700
- package/esm2020/lib/components/cancellation-transaction-report/cancellation-transaction-report.component.mjs +0 -255
- package/esm2020/lib/components/credit-limit-status-enquiry-report/credit-limit-status-enquiry-report.component.mjs +0 -192
- package/esm2020/lib/components/funding-report/funding-report.component.mjs +0 -198
- package/esm2020/lib/components/revenue-per-transaction-report/revenue-per-transaction-report.component.mjs +0 -244
- package/esm2020/lib/components/statement-of-accounts-report/statement-of-accounts-report.component.mjs +0 -776
- package/esm2020/lib/components/transaction-enquiry-report/transaction-enquiry-report.component.mjs +0 -266
- package/esm2020/lib/components/transaction-monitoring-report/transaction-monitoring-report.component.mjs +0 -311
- package/esm2020/lib/components/trial-balance-accounts-report/trial-balance-accounts-report.component.mjs +0 -631
- package/esm2020/lib/models/acc-gl-details-enquiry-report/accgl-details-enquiry-reportmodel.mjs +0 -2
- package/esm2020/lib/models/acc-gl-details-enquiry-report/journal-voucher-entry-model.mjs +0 -2
- package/esm2020/lib/models/accounting-report/accounting-report-branch-group.mjs +0 -2
- package/esm2020/lib/models/accounting-report/accounting-report-entry-model.mjs +0 -2
- package/esm2020/lib/models/accounting-report/accounting-report-model.mjs +0 -2
- package/esm2020/lib/models/accounting-report/accounting-report-sub-group.mjs +0 -2
- package/esm2020/lib/models/app-config.model.mjs +0 -2
- package/esm2020/lib/models/branch-activity-receive-report/branch-activity-receive.model.mjs +0 -2
- package/esm2020/lib/models/branch-activity-report/branch-activity-send-report-request-domain-model.mjs +0 -6
- package/esm2020/lib/models/branch-activity-report/branch-activity-send-report.mjs +0 -3
- package/esm2020/lib/models/cancellation-transaction-report/cancellation-transaction.model.mjs +0 -10
- package/esm2020/lib/models/component-loading-states.mjs +0 -7
- package/esm2020/lib/models/credit-limit-status-enquiry-report/credit-limit-status-enquiry.model.mjs +0 -5
- package/esm2020/lib/models/revenue-per-transaction-report/revenue-per-transaction.model.mjs +0 -2
- package/esm2020/lib/models/statement-of-account-report/statement-of-accounts.model.mjs +0 -2
- package/esm2020/lib/models/transaction-enquiry-report/transaction-enquiry.model.mjs +0 -8
- package/esm2020/lib/models/transaction-monitoring-report/transaction-monitoring-report-request-domain-model.mjs +0 -6
- package/esm2020/lib/models/transaction-monitoring-report/transaction-monitoring-report.mjs +0 -5
- package/esm2020/lib/models/trial-balance-accounts-report/trial-balance-accounts.models.mjs +0 -3
- package/esm2020/lib/reports-lib-routing.module.mjs +0 -24
- package/esm2020/lib/reports-lib.component.mjs +0 -22
- package/esm2020/lib/reports-lib.module.mjs +0 -172
- package/esm2020/lib/reports-lib.service.mjs +0 -14
- package/esm2020/lib/services/config.service.mjs +0 -39
- package/esm2020/lib/services/report.service.mjs +0 -374
- package/esm2020/lib/shared/export-generic.service.mjs +0 -443
- package/esm2020/lib/shared/export.service.mjs +0 -379
- package/esm2020/lib/shared/loader/loader.component.mjs +0 -11
- package/esm2020/lib/shared/metadata/metadata.component.mjs +0 -51
- package/esm2020/lib/shared/page-size-selector/page-size-selector.component.mjs +0 -44
- package/esm2020/lib/shared/search-filter/search-filter.component.mjs +0 -2134
- package/esm2020/lib/shared/shared.module.mjs +0 -21
- package/esm2020/public-api.mjs +0 -41
- package/esm2020/sachin9822-reports-lib.mjs +0 -5
- package/fesm2015/sachin9822-reports-lib.mjs +0 -8402
- package/fesm2015/sachin9822-reports-lib.mjs.map +0 -1
- package/fesm2020/sachin9822-reports-lib.mjs +0 -8384
- package/fesm2020/sachin9822-reports-lib.mjs.map +0 -1
- package/index.d.ts +0 -5
- package/lib/components/acc-gl-details-enquiry-report/acc-gl-details-enquiry-report.component.d.ts +0 -70
- package/lib/components/accounting-report/accounting-report.component.d.ts +0 -76
- package/lib/components/branch-activity-receive-report/branch-activity-receive-report.component.d.ts +0 -58
- package/lib/components/branch-activity-send-report/branch-activity-send-report.component.d.ts +0 -69
- package/lib/components/branch-activity-send-summary-report/branch-activity-send-summary-report.component.d.ts +0 -78
- package/lib/components/cancellation-transaction-report/cancellation-transaction-report.component.d.ts +0 -95
- package/lib/components/credit-limit-status-enquiry-report/credit-limit-status-enquiry-report.component.d.ts +0 -55
- package/lib/components/funding-report/funding-report.component.d.ts +0 -55
- package/lib/components/revenue-per-transaction-report/revenue-per-transaction-report.component.d.ts +0 -57
- package/lib/components/statement-of-accounts-report/statement-of-accounts-report.component.d.ts +0 -109
- package/lib/components/transaction-enquiry-report/transaction-enquiry-report.component.d.ts +0 -76
- package/lib/components/transaction-monitoring-report/transaction-monitoring-report.component.d.ts +0 -68
- package/lib/components/trial-balance-accounts-report/trial-balance-accounts-report.component.d.ts +0 -71
- package/lib/models/acc-gl-details-enquiry-report/accgl-details-enquiry-reportmodel.d.ts +0 -8
- package/lib/models/acc-gl-details-enquiry-report/journal-voucher-entry-model.d.ts +0 -18
- package/lib/models/accounting-report/accounting-report-branch-group.d.ts +0 -6
- package/lib/models/accounting-report/accounting-report-entry-model.d.ts +0 -24
- package/lib/models/accounting-report/accounting-report-model.d.ts +0 -6
- package/lib/models/branch-activity-receive-report/branch-activity-receive.model.d.ts +0 -18
- package/lib/models/branch-activity-report/branch-activity-send-report-request-domain-model.d.ts +0 -13
- package/lib/models/branch-activity-report/branch-activity-send-report.d.ts +0 -24
- package/lib/models/cancellation-transaction-report/cancellation-transaction.model.d.ts +0 -44
- package/lib/models/component-loading-states.d.ts +0 -5
- package/lib/models/credit-limit-status-enquiry-report/credit-limit-status-enquiry.model.d.ts +0 -26
- package/lib/models/statement-of-account-report/statement-of-accounts.model.d.ts +0 -18
- package/lib/models/transaction-enquiry-report/transaction-enquiry.model.d.ts +0 -113
- package/lib/models/transaction-monitoring-report/transaction-monitoring-report-request-domain-model.d.ts +0 -13
- package/lib/models/transaction-monitoring-report/transaction-monitoring-report.d.ts +0 -23
- package/lib/models/trial-balance-accounts-report/trial-balance-accounts.models.d.ts +0 -38
- package/lib/reports-lib-routing.module.d.ts +0 -7
- package/lib/reports-lib.component.d.ts +0 -8
- package/lib/reports-lib.module.d.ts +0 -33
- package/lib/reports-lib.service.d.ts +0 -6
- package/lib/services/config.service.d.ts +0 -20
- package/lib/services/report.service.d.ts +0 -80
- package/lib/shared/export-generic.service.d.ts +0 -50
- package/lib/shared/export.service.d.ts +0 -32
- package/lib/shared/loader/loader.component.d.ts +0 -5
- package/lib/shared/metadata/metadata.component.d.ts +0 -24
- package/lib/shared/page-size-selector/page-size-selector.component.d.ts +0 -15
- package/lib/shared/search-filter/search-filter.component.d.ts +0 -127
- package/lib/shared/shared.module.d.ts +0 -11
- /package/{lib → src}/assets/images/Search.svg +0 -0
- /package/{lib/assets/images/XMLogo.png → src/assets/images/XMCoral.png} +0 -0
- /package/{lib → src/lib}/assets/config/app-config.json +0 -0
- /package/{lib → src/lib}/assets/svg-loaders/blue-tail-spin.svg +0 -0
|
@@ -0,0 +1,615 @@
|
|
|
1
|
+
/* Button Report */
|
|
2
|
+
.btn-report{
|
|
3
|
+
border-radius: 3px;
|
|
4
|
+
background-color: #8091a5;
|
|
5
|
+
color: #fff !important;
|
|
6
|
+
font-size: 14px !important;
|
|
7
|
+
height: 32px;
|
|
8
|
+
min-width: 130px;
|
|
9
|
+
margin: 0 0 0 20px !important;
|
|
10
|
+
padding: 4px 15px !important;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
/* Date Picker */
|
|
14
|
+
.dpicker {
|
|
15
|
+
border: 1px solid #ccc !important;
|
|
16
|
+
font-family: system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue","Noto Sans","Liberation Sans",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji" !important;
|
|
17
|
+
font-size: 12px !important;
|
|
18
|
+
font-weight: 400 !important;
|
|
19
|
+
height: 36px !important;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.dpicker:focus{
|
|
23
|
+
box-shadow: 0 0 5px 3px rgba(24,119,242,1.000) !important;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.cal{
|
|
27
|
+
height: 36px !important;
|
|
28
|
+
background-color: #1877F2;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.cal:focus{
|
|
32
|
+
box-shadow: none !important;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
/* Meta Data */
|
|
36
|
+
.labl {
|
|
37
|
+
font-size: 11.2px;
|
|
38
|
+
font-weight: bold !important;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.info {
|
|
42
|
+
font-size: 12px !important;
|
|
43
|
+
font-weight: 400;
|
|
44
|
+
padding-left: 0.5rem;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.label-data {
|
|
48
|
+
font-weight: 600 !important;
|
|
49
|
+
font-size: 0.7rem !important;
|
|
50
|
+
line-height: 1rem;
|
|
51
|
+
padding-top: 0.15rem !important;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.title {
|
|
55
|
+
text-align: center;
|
|
56
|
+
font-size: 18px;
|
|
57
|
+
font-weight: bold !important;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
// Export Options
|
|
61
|
+
.export-options{
|
|
62
|
+
font-size: 0.75rem;
|
|
63
|
+
height: 2rem !important;
|
|
64
|
+
width: 5rem !important;
|
|
65
|
+
margin-right: -1;
|
|
66
|
+
margin-left: 0.4rem;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.opt-cls{
|
|
70
|
+
display: block;
|
|
71
|
+
height:100%;
|
|
72
|
+
width: 5rem;
|
|
73
|
+
border: 1px solid #ccc !important;
|
|
74
|
+
border-radius: 4px !important;
|
|
75
|
+
margin-right: 1rem !important;
|
|
76
|
+
outline: none !important;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.opt-cls:focus{
|
|
80
|
+
box-shadow: 0 0 5px 3px rgba(24,119,242,1.000);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.export-selector{
|
|
84
|
+
height: 2rem !important;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
// Search-Function
|
|
88
|
+
.search-btn {
|
|
89
|
+
height: 32px;
|
|
90
|
+
width: 36px;
|
|
91
|
+
background-color: #8091a5;
|
|
92
|
+
border: none;
|
|
93
|
+
border-top-right-radius: 4px;
|
|
94
|
+
border-bottom-right-radius: 4px;
|
|
95
|
+
border-top-left-radius: 0;
|
|
96
|
+
border-bottom-left-radius: 0;
|
|
97
|
+
display: flex;
|
|
98
|
+
justify-content: center;
|
|
99
|
+
align-items: center;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.search-btn:hover {
|
|
103
|
+
background-color: #8091a5;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.search-icon {
|
|
107
|
+
height: 16px;
|
|
108
|
+
width: 16px;
|
|
109
|
+
object-fit: contain;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.search-input {
|
|
113
|
+
outline: none !important;
|
|
114
|
+
border: 1px solid #ccc !important;
|
|
115
|
+
width: 190px;
|
|
116
|
+
height: 32px !important;
|
|
117
|
+
font-size: 0.75rem;
|
|
118
|
+
padding: 0.25rem 0.5rem;
|
|
119
|
+
border-top-left-radius: 4px;
|
|
120
|
+
border-bottom-left-radius: 4px;
|
|
121
|
+
border-top-right-radius: 0 !important;
|
|
122
|
+
border-bottom-right-radius: 0 !important;
|
|
123
|
+
text-transform: uppercase;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.search-input:focus{
|
|
127
|
+
box-shadow: 0 0 5px 3px rgba(24,119,242,1.000) !important;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
table {
|
|
132
|
+
width: 100%;
|
|
133
|
+
border-collapse: separate;
|
|
134
|
+
margin-bottom: 0 !important;
|
|
135
|
+
table-layout: fixed !important;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
td{
|
|
139
|
+
padding:0 1rem 10px 0!important;
|
|
140
|
+
border-right: 0 solid #ffffff !important;
|
|
141
|
+
background-color: white !important;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.row-cls{
|
|
145
|
+
height: 2.5rem !important;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.inputbox{
|
|
149
|
+
padding-left: 1rem;
|
|
150
|
+
font-family: system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue","Noto Sans","Liberation Sans",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"
|
|
151
|
+
;
|
|
152
|
+
}
|
|
153
|
+
// .inputbox input{
|
|
154
|
+
// height: 2rem;
|
|
155
|
+
// }
|
|
156
|
+
|
|
157
|
+
// ng-select style
|
|
158
|
+
/* Select Box */
|
|
159
|
+
::ng-deep .ng-select.ng-select-multiple .ng-select-container .ng-value-container {
|
|
160
|
+
max-height: 36px !important; /* Adjust as needed */
|
|
161
|
+
overflow-x: auto !important;
|
|
162
|
+
white-space: nowrap !important;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
::ng-deep .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value {
|
|
166
|
+
max-width: 200px !important; /* Adjust as needed */
|
|
167
|
+
overflow: hidden !important;
|
|
168
|
+
text-overflow: ellipsis !important;
|
|
169
|
+
white-space: nowrap !important;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
::ng-deep .ng-select .ng-select-container {
|
|
173
|
+
cursor: default;
|
|
174
|
+
display: flex;
|
|
175
|
+
outline: none;
|
|
176
|
+
overflow: hidden;
|
|
177
|
+
position: relative;
|
|
178
|
+
width: 100%;
|
|
179
|
+
// max-width: 18.25rem !important;
|
|
180
|
+
}
|
|
181
|
+
::ng-deep .ng-dropdown-panel .ng-dropdown-panel-items .ng-option {
|
|
182
|
+
box-sizing: border-box;
|
|
183
|
+
cursor: pointer;
|
|
184
|
+
display: block;
|
|
185
|
+
white-space: nowrap;
|
|
186
|
+
overflow-x: scroll !important;
|
|
187
|
+
text-overflow:clip !important;
|
|
188
|
+
}
|
|
189
|
+
::ng-deep .ng-dropdown-panel .ng-dropdown-panel-items .ng-option::-webkit-scrollbar {
|
|
190
|
+
display: none !important;
|
|
191
|
+
width: 0 !important;
|
|
192
|
+
}
|
|
193
|
+
::ng-deep .ng-select .ng-select-container:focus-within{
|
|
194
|
+
box-shadow: 0 0 5px 3px rgba(24,119,242,1.000) !important;
|
|
195
|
+
}
|
|
196
|
+
::ng-deep .ng-select .ng-select-container:focus{
|
|
197
|
+
box-shadow: 0 0 5px 3px rgba(24,119,242,1.000) !important;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
// Ag-Grid css
|
|
201
|
+
/* theme overrides for AG Grid */
|
|
202
|
+
.ag-theme-alpine {
|
|
203
|
+
--ag-header-font-size: 9px;
|
|
204
|
+
--ag-font-size: 10px;
|
|
205
|
+
--ag-header-background-color: #fdfdfd;
|
|
206
|
+
--ag-header-foreground-color: rgb(0, 0, 0);
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
/* header cell label alignments */
|
|
210
|
+
.ag-theme-alpine .ag-header-cell-label,
|
|
211
|
+
.ag-theme-alpine .ag-header-group-cell-label {
|
|
212
|
+
justify-content: flex-start !important;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
/* AG Grid root container */
|
|
216
|
+
::ng-deep .ag-root {
|
|
217
|
+
user-select: text !important;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
/* Compact‐grid styling */
|
|
221
|
+
::ng-deep .compact-grid {
|
|
222
|
+
font-weight: 500 !important;
|
|
223
|
+
line-height: 1.1 !important;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
/* Header cell formatting */
|
|
227
|
+
::ng-deep .compact-grid .ag-header-cell {
|
|
228
|
+
padding: 1px 2px !important;
|
|
229
|
+
font-size: 10px !important;
|
|
230
|
+
font-weight: 700 !important;
|
|
231
|
+
line-height: 1.2 !important;
|
|
232
|
+
height: 36px !important;
|
|
233
|
+
display: flex !important;
|
|
234
|
+
align-items: center !important;
|
|
235
|
+
justify-content: center !important;
|
|
236
|
+
text-align: center !important;
|
|
237
|
+
background-color: #f8f9fa;
|
|
238
|
+
border-right: 1px solid #e0e0e0;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
.myGrid .ag-center-cols-clipper,
|
|
242
|
+
.myGrid .ag-body-viewport {
|
|
243
|
+
display: none;
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
|
|
247
|
+
/* Header-cell text */
|
|
248
|
+
::ng-deep .compact-grid .ag-header-cell-text {
|
|
249
|
+
font-size: 10px !important;
|
|
250
|
+
font-weight: 700 !important;
|
|
251
|
+
text-align: center !important;
|
|
252
|
+
width: 100%;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
/* Data cells */
|
|
256
|
+
::ng-deep .compact-grid .ag-cell {
|
|
257
|
+
cursor: default !important;
|
|
258
|
+
border-right: 1px solid #e0e0e0;
|
|
259
|
+
padding: 2px 3px !important;
|
|
260
|
+
font-size: 9px !important;
|
|
261
|
+
display: flex !important;
|
|
262
|
+
align-items: center !important;
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
::ng-deep .compact-grid .ag-cell-value {
|
|
266
|
+
cursor: text !important;
|
|
267
|
+
font-size: 9px !important;
|
|
268
|
+
padding: 0 3px 0 2px !important;
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
/* Description cells (multi-line wrapping) */
|
|
272
|
+
::ng-deep .compact-grid .description-cell {
|
|
273
|
+
white-space: normal !important;
|
|
274
|
+
word-break: normal !important;
|
|
275
|
+
overflow-wrap: break-word !important;
|
|
276
|
+
text-overflow: clip !important;
|
|
277
|
+
text-align: left !important;
|
|
278
|
+
padding: 3px 4px !important;
|
|
279
|
+
line-height: 1.5 !important;
|
|
280
|
+
display: block !important;
|
|
281
|
+
overflow: hidden !important;
|
|
282
|
+
max-height: none !important;
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
/* Truncated single-line cells */
|
|
286
|
+
::ng-deep .compact-grid .compact-cell {
|
|
287
|
+
white-space: nowrap !important;
|
|
288
|
+
overflow: hidden !important;
|
|
289
|
+
text-overflow: ellipsis !important;
|
|
290
|
+
align-items: center !important;
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
/* Transaction-specific truncation */
|
|
294
|
+
::ng-deep .compact-cell-transaction {
|
|
295
|
+
white-space: nowrap !important;
|
|
296
|
+
overflow: hidden !important;
|
|
297
|
+
text-overflow: ellipsis !important;
|
|
298
|
+
align-items: left !important;
|
|
299
|
+
padding-left: 5px !important;
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
/* Right‑aligned numeric cells */
|
|
303
|
+
::ng-deep .compact-grid .ag-right-aligned-cell {
|
|
304
|
+
text-align: right !important;
|
|
305
|
+
justify-content: flex-end !important;
|
|
306
|
+
text-overflow: ellipsis;
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
/* Left columns cell styling */
|
|
310
|
+
::ng-deep .ag-left-cols-cell {
|
|
311
|
+
text-align: left !important;
|
|
312
|
+
text-overflow: ellipsis !important;
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
/* Center‑aligned columns */
|
|
316
|
+
::ng-deep .compact-grid .ag-center-cols-cell {
|
|
317
|
+
text-align: center !important;
|
|
318
|
+
justify-content: center !important;
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
/* Disable horizontal scroll overflow */
|
|
322
|
+
::ng-deep .ag-center-cols-viewport {
|
|
323
|
+
width: 100%;
|
|
324
|
+
overflow-x: hidden !important;
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
/* Row styling */
|
|
328
|
+
::ng-deep .compact-grid .ag-row {
|
|
329
|
+
min-height: 20px !important;
|
|
330
|
+
max-height: none !important;
|
|
331
|
+
border-bottom: 1px solid #f0f0f0;
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
::ng-deep .compact-grid .ag-row:hover {
|
|
335
|
+
background-color: #f8f9fa !important;
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
/* Link cells cursor */
|
|
339
|
+
::ng-deep .ag-cell-value.ag-cell-link {
|
|
340
|
+
cursor: pointer !important;
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
/* Pagination panel */
|
|
344
|
+
::ng-deep .ag-paging-panel {
|
|
345
|
+
border-top: 1px solid;
|
|
346
|
+
border-top-color: var(--ag-border-color);
|
|
347
|
+
color: var(--ag-secondary-foreground-color);
|
|
348
|
+
height: 30px;
|
|
349
|
+
font-size: 11px !important;
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
|
|
353
|
+
|
|
354
|
+
|
|
355
|
+
// /* Button Report */
|
|
356
|
+
// .btn-report{
|
|
357
|
+
// border-radius: 3px;
|
|
358
|
+
// background-color: #8091a5;
|
|
359
|
+
// color: #fff !important;
|
|
360
|
+
// font-size: 14px !important;
|
|
361
|
+
// height: 32px;
|
|
362
|
+
// min-width: 130px;
|
|
363
|
+
// margin: 0 0 0 20px !important;
|
|
364
|
+
// padding: 4px 15px !important;
|
|
365
|
+
// }
|
|
366
|
+
|
|
367
|
+
// /* Date Picker */
|
|
368
|
+
// .dpicker {
|
|
369
|
+
// border: 1px solid #ddd !important;
|
|
370
|
+
// font-family: system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue","Noto Sans","Liberation Sans",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji" !important;
|
|
371
|
+
// font-size: 12px !important;
|
|
372
|
+
// font-weight: 400 !important;
|
|
373
|
+
// height: 36px !important;
|
|
374
|
+
// }
|
|
375
|
+
|
|
376
|
+
// .cal{
|
|
377
|
+
// height: 36px !important;
|
|
378
|
+
// }
|
|
379
|
+
|
|
380
|
+
// /* Meta Data */
|
|
381
|
+
// .labl {
|
|
382
|
+
// font-size: 11.2px;
|
|
383
|
+
// font-weight: bold !important;
|
|
384
|
+
// }
|
|
385
|
+
|
|
386
|
+
// .info {
|
|
387
|
+
// font-size: 12px !important;
|
|
388
|
+
// font-weight: 400;
|
|
389
|
+
// }
|
|
390
|
+
|
|
391
|
+
// .label-data {
|
|
392
|
+
// font-weight: 600 !important;
|
|
393
|
+
// font-size: 0.7rem !important;
|
|
394
|
+
// line-height: 1rem;
|
|
395
|
+
// padding-top: 0.5rem !important;
|
|
396
|
+
// }
|
|
397
|
+
|
|
398
|
+
// .title {
|
|
399
|
+
// text-align: center;
|
|
400
|
+
// font-size: 18px;
|
|
401
|
+
// font-weight: bold !important;
|
|
402
|
+
// }
|
|
403
|
+
|
|
404
|
+
// // Export Options
|
|
405
|
+
// .export-options{
|
|
406
|
+
// font-size: 0.75rem;
|
|
407
|
+
// height: 2rem !important;
|
|
408
|
+
// width: 5rem !important;
|
|
409
|
+
// margin-right: -1;
|
|
410
|
+
// margin-left: 0.4rem;
|
|
411
|
+
// }
|
|
412
|
+
|
|
413
|
+
// .opt-cls{
|
|
414
|
+
// display: block;
|
|
415
|
+
// height:100%;
|
|
416
|
+
// width: 5rem;
|
|
417
|
+
// margin-right: 1rem !important;
|
|
418
|
+
// outline: none !important;
|
|
419
|
+
// }
|
|
420
|
+
|
|
421
|
+
// .opt-cls:focus{
|
|
422
|
+
// box-shadow: 0 0 5px 3px rgba(24,119,242,1.000);
|
|
423
|
+
// }
|
|
424
|
+
|
|
425
|
+
// // Search-Function
|
|
426
|
+
// .search-btn {
|
|
427
|
+
// height: 32px;
|
|
428
|
+
// width: 36px;
|
|
429
|
+
// background-color: #8091a5;
|
|
430
|
+
// border: none;
|
|
431
|
+
// border-top-right-radius: 4px;
|
|
432
|
+
// border-bottom-right-radius: 4px;
|
|
433
|
+
// border-top-left-radius: 0;
|
|
434
|
+
// border-bottom-left-radius: 0;
|
|
435
|
+
// display: flex;
|
|
436
|
+
// justify-content: center;
|
|
437
|
+
// align-items: center;
|
|
438
|
+
// }
|
|
439
|
+
|
|
440
|
+
// .search-btn:hover {
|
|
441
|
+
// background-color: #8091a5;
|
|
442
|
+
// }
|
|
443
|
+
|
|
444
|
+
// .search-icon {
|
|
445
|
+
// height: 16px;
|
|
446
|
+
// width: 16px;
|
|
447
|
+
// object-fit: contain;
|
|
448
|
+
// }
|
|
449
|
+
|
|
450
|
+
// .search-input {
|
|
451
|
+
// width: 190px;
|
|
452
|
+
// height: 32px !important;
|
|
453
|
+
// font-size: 0.75rem;
|
|
454
|
+
// padding: 0.25rem 0.5rem;
|
|
455
|
+
// border-top-left-radius: 4px;
|
|
456
|
+
// border-bottom-left-radius: 4px;
|
|
457
|
+
// border-top-right-radius: 0;
|
|
458
|
+
// border-bottom-right-radius: 0;
|
|
459
|
+
// }
|
|
460
|
+
|
|
461
|
+
// .search-input:focus{
|
|
462
|
+
// box-shadow: 0 0 5px 3px rgba(24,119,242,1.000) !important;
|
|
463
|
+
// }
|
|
464
|
+
|
|
465
|
+
// // Ag-Grid css
|
|
466
|
+
// /* theme overrides for AG Grid */
|
|
467
|
+
// .ag-theme-alpine {
|
|
468
|
+
// --ag-header-font-size: 9px;
|
|
469
|
+
// --ag-font-size: 10px;
|
|
470
|
+
// --ag-header-background-color: #fdfdfd;
|
|
471
|
+
// --ag-header-foreground-color: rgb(0, 0, 0);
|
|
472
|
+
// }
|
|
473
|
+
|
|
474
|
+
// /* header cell label alignments */
|
|
475
|
+
// .ag-theme-alpine .ag-header-cell-label,
|
|
476
|
+
// .ag-theme-alpine .ag-header-group-cell-label {
|
|
477
|
+
// justify-content: flex-start !important;
|
|
478
|
+
// }
|
|
479
|
+
|
|
480
|
+
// /* AG Grid root container */
|
|
481
|
+
// ::ng-deep .ag-root {
|
|
482
|
+
// user-select: text !important;
|
|
483
|
+
// }
|
|
484
|
+
|
|
485
|
+
// /* Compact‐grid styling */
|
|
486
|
+
// ::ng-deep .compact-grid {
|
|
487
|
+
// font-weight: 500 !important;
|
|
488
|
+
// line-height: 1.1 !important;
|
|
489
|
+
// }
|
|
490
|
+
|
|
491
|
+
// /* Header cell formatting */
|
|
492
|
+
// ::ng-deep .compact-grid .ag-header-cell {
|
|
493
|
+
// padding: 1px 2px !important;
|
|
494
|
+
// font-size: 10px !important;
|
|
495
|
+
// font-weight: 700 !important;
|
|
496
|
+
// line-height: 1.2 !important;
|
|
497
|
+
// height: 36px !important;
|
|
498
|
+
// display: flex !important;
|
|
499
|
+
// align-items: center !important;
|
|
500
|
+
// justify-content: center !important;
|
|
501
|
+
// text-align: center !important;
|
|
502
|
+
// background-color: #f8f9fa;
|
|
503
|
+
// border-right: 1px solid #e0e0e0;
|
|
504
|
+
// }
|
|
505
|
+
|
|
506
|
+
// .myGrid .ag-center-cols-clipper,
|
|
507
|
+
// .myGrid .ag-body-viewport {
|
|
508
|
+
// display: none;
|
|
509
|
+
// }
|
|
510
|
+
|
|
511
|
+
|
|
512
|
+
// /* Header-cell text */
|
|
513
|
+
// ::ng-deep .compact-grid .ag-header-cell-text {
|
|
514
|
+
// font-size: 10px !important;
|
|
515
|
+
// font-weight: 700 !important;
|
|
516
|
+
// text-align: center !important;
|
|
517
|
+
// width: 100%;
|
|
518
|
+
// }
|
|
519
|
+
|
|
520
|
+
// /* Data cells */
|
|
521
|
+
// ::ng-deep .compact-grid .ag-cell {
|
|
522
|
+
// cursor: default !important;
|
|
523
|
+
// border-right: 1px solid #e0e0e0;
|
|
524
|
+
// padding: 2px 3px !important;
|
|
525
|
+
// font-size: 9px !important;
|
|
526
|
+
// display: flex !important;
|
|
527
|
+
// align-items: center !important;
|
|
528
|
+
// }
|
|
529
|
+
|
|
530
|
+
// ::ng-deep .compact-grid .ag-cell-value {
|
|
531
|
+
// cursor: text !important;
|
|
532
|
+
// font-size: 9px !important;
|
|
533
|
+
// padding: 0 3px 0 2px !important;
|
|
534
|
+
// }
|
|
535
|
+
|
|
536
|
+
// /* Description cells (multi-line wrapping) */
|
|
537
|
+
// ::ng-deep .compact-grid .description-cell {
|
|
538
|
+
// white-space: normal !important;
|
|
539
|
+
// word-break: normal !important;
|
|
540
|
+
// overflow-wrap: break-word !important;
|
|
541
|
+
// text-overflow: clip !important;
|
|
542
|
+
// text-align: left !important;
|
|
543
|
+
// padding: 3px 4px !important;
|
|
544
|
+
// line-height: 1.5 !important;
|
|
545
|
+
// display: block !important;
|
|
546
|
+
// overflow: hidden !important;
|
|
547
|
+
// max-height: none !important;
|
|
548
|
+
// }
|
|
549
|
+
|
|
550
|
+
// /* Truncated single-line cells */
|
|
551
|
+
// ::ng-deep .compact-grid .compact-cell {
|
|
552
|
+
// white-space: nowrap !important;
|
|
553
|
+
// overflow: hidden !important;
|
|
554
|
+
// text-overflow: ellipsis !important;
|
|
555
|
+
// align-items: center !important;
|
|
556
|
+
// }
|
|
557
|
+
|
|
558
|
+
// /* Transaction-specific truncation */
|
|
559
|
+
// ::ng-deep .compact-cell-transaction {
|
|
560
|
+
// white-space: nowrap !important;
|
|
561
|
+
// overflow: hidden !important;
|
|
562
|
+
// text-overflow: ellipsis !important;
|
|
563
|
+
// align-items: left !important;
|
|
564
|
+
// padding-left: 5px !important;
|
|
565
|
+
// }
|
|
566
|
+
|
|
567
|
+
// /* Right‑aligned numeric cells */
|
|
568
|
+
// ::ng-deep .compact-grid .ag-right-aligned-cell {
|
|
569
|
+
// text-align: right !important;
|
|
570
|
+
// justify-content: flex-end !important;
|
|
571
|
+
// text-overflow: ellipsis;
|
|
572
|
+
// }
|
|
573
|
+
|
|
574
|
+
// /* Left columns cell styling */
|
|
575
|
+
// ::ng-deep .ag-left-cols-cell {
|
|
576
|
+
// text-align: left !important;
|
|
577
|
+
// text-overflow: ellipsis !important;
|
|
578
|
+
// }
|
|
579
|
+
|
|
580
|
+
// /* Center‑aligned columns */
|
|
581
|
+
// ::ng-deep .compact-grid .ag-center-cols-cell {
|
|
582
|
+
// text-align: center !important;
|
|
583
|
+
// justify-content: center !important;
|
|
584
|
+
// }
|
|
585
|
+
|
|
586
|
+
// /* Disable horizontal scroll overflow */
|
|
587
|
+
// ::ng-deep .ag-center-cols-viewport {
|
|
588
|
+
// width: 100%;
|
|
589
|
+
// overflow-x: hidden !important;
|
|
590
|
+
// }
|
|
591
|
+
|
|
592
|
+
// /* Row styling */
|
|
593
|
+
// ::ng-deep .compact-grid .ag-row {
|
|
594
|
+
// min-height: 20px !important;
|
|
595
|
+
// max-height: none !important;
|
|
596
|
+
// border-bottom: 1px solid #f0f0f0;
|
|
597
|
+
// }
|
|
598
|
+
|
|
599
|
+
// ::ng-deep .compact-grid .ag-row:hover {
|
|
600
|
+
// background-color: #f8f9fa !important;
|
|
601
|
+
// }
|
|
602
|
+
|
|
603
|
+
// /* Link cells cursor */
|
|
604
|
+
// ::ng-deep .ag-cell-value.ag-cell-link {
|
|
605
|
+
// cursor: pointer !important;
|
|
606
|
+
// }
|
|
607
|
+
|
|
608
|
+
// /* Pagination panel */
|
|
609
|
+
// ::ng-deep .ag-paging-panel {
|
|
610
|
+
// border-top: 1px solid;
|
|
611
|
+
// border-top-color: var(--ag-border-color);
|
|
612
|
+
// color: var(--ag-secondary-foreground-color);
|
|
613
|
+
// height: 30px;
|
|
614
|
+
// }
|
|
615
|
+
|
package/src/test.ts
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
// This file is required by karma.conf.js and loads recursively all the .spec and framework files
|
|
2
|
+
|
|
3
|
+
import 'zone.js';
|
|
4
|
+
import 'zone.js/testing';
|
|
5
|
+
import { getTestBed } from '@angular/core/testing';
|
|
6
|
+
import {
|
|
7
|
+
BrowserDynamicTestingModule,
|
|
8
|
+
platformBrowserDynamicTesting
|
|
9
|
+
} from '@angular/platform-browser-dynamic/testing';
|
|
10
|
+
|
|
11
|
+
declare const require: {
|
|
12
|
+
context(path: string, deep?: boolean, filter?: RegExp): {
|
|
13
|
+
<T>(id: string): T;
|
|
14
|
+
keys(): string[];
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
// First, initialize the Angular testing environment.
|
|
19
|
+
getTestBed().initTestEnvironment(
|
|
20
|
+
BrowserDynamicTestingModule,
|
|
21
|
+
platformBrowserDynamicTesting(),
|
|
22
|
+
);
|
|
23
|
+
|
|
24
|
+
// Then we find all the tests.
|
|
25
|
+
const context = require.context('./', true, /\.spec\.ts$/);
|
|
26
|
+
// And load the modules.
|
|
27
|
+
context.keys().forEach(context);
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/* To learn more about this file see: https://angular.io/config/tsconfig. */
|
|
2
|
+
{
|
|
3
|
+
"extends": "../../tsconfig.json",
|
|
4
|
+
"compilerOptions": {
|
|
5
|
+
"outDir": "../../out-tsc/lib",
|
|
6
|
+
"declaration": true,
|
|
7
|
+
"declarationMap": true,
|
|
8
|
+
"inlineSources": true,
|
|
9
|
+
"types": ["node"]
|
|
10
|
+
},
|
|
11
|
+
"exclude": [
|
|
12
|
+
"src/test.ts",
|
|
13
|
+
"**/*.spec.ts"
|
|
14
|
+
]
|
|
15
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/* To learn more about this file see: https://angular.io/config/tsconfig. */
|
|
2
|
+
{
|
|
3
|
+
"extends": "../../tsconfig.json",
|
|
4
|
+
"compilerOptions": {
|
|
5
|
+
"outDir": "../../out-tsc/spec",
|
|
6
|
+
"types": [
|
|
7
|
+
"jasmine"
|
|
8
|
+
]
|
|
9
|
+
},
|
|
10
|
+
"files": [
|
|
11
|
+
"src/test.ts"
|
|
12
|
+
],
|
|
13
|
+
"include": [
|
|
14
|
+
"**/*.spec.ts",
|
|
15
|
+
"**/*.d.ts"
|
|
16
|
+
]
|
|
17
|
+
}
|