@hmcts/ccd-case-ui-toolkit 4.13.2 → 4.13.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.umd.js +502 -96
- package/dist/index.umd.js.map +1 -1
- package/dist/index.umd.min.js +1 -1
- package/dist/index.umd.min.js.LICENSE.txt +1 -1
- package/dist/index.umd.min.js.map +1 -1
- package/dist/shared/components/palette/payment/case-payment-history-viewer-field.component.js +1 -1
- package/dist/shared/components/palette/payment/case-payment-history-viewer-field.component.js.map +1 -1
- package/dist/shared/components/palette/payment/case-payment-history-viewer-field.component.metadata.json +1 -1
- package/dist/shared/pipes/case-reference/case-reference.pipe.js +10 -1
- package/dist/shared/pipes/case-reference/case-reference.pipe.js.map +1 -1
- package/package.json +2 -2
package/dist/shared/components/palette/payment/case-payment-history-viewer-field.component.js
CHANGED
|
@@ -60,7 +60,7 @@ var CasePaymentHistoryViewerFieldComponent = /** @class */ (function (_super) {
|
|
|
60
60
|
CasePaymentHistoryViewerFieldComponent = __decorate([
|
|
61
61
|
core_1.Component({
|
|
62
62
|
selector: 'ccd-case-payment-history-viewer-field',
|
|
63
|
-
template: "\n <ccpay-payment-lib\n [API_ROOT]=\"getBaseURL()\"\n [CCD_CASE_NUMBER]=\"caseReference\"\n [BULKSCAN_API_ROOT]=\"getPayBulkScanBaseURL()\"\n [SELECTED_OPTION]=\"'CCDorException'\"\n [ISBSENABLE]=\"'true'\"\n [LOGGEDINUSEREMAIL]=\"getUserEmail()\"\n [LOGGEDINUSERROLES]=\"getUserRoles()\"\n [REFUNDS_API_ROOT]=\"getRefundsUrl()\"\n [VIEW]=\"'case-transactions'\"\n ></ccpay-payment-lib>\n ",
|
|
63
|
+
template: "\n <ccpay-payment-lib\n [API_ROOT]=\"getBaseURL()\"\n [CCD_CASE_NUMBER]=\"caseReference\"\n [BULKSCAN_API_ROOT]=\"getPayBulkScanBaseURL()\"\n [SELECTED_OPTION]=\"'CCDorException'\"\n [ISBSENABLE]=\"'true'\"\n [LOGGEDINUSEREMAIL]=\"getUserEmail()\"\n [LOGGEDINUSERROLES]=\"getUserRoles()\"\n [REFUNDS_API_ROOT]=\"getRefundsUrl()\"\n [VIEW]=\"'case-transactions'\"\n [SERVICEREQUEST]= \"'false'\"\n ></ccpay-payment-lib>\n ",
|
|
64
64
|
}),
|
|
65
65
|
__metadata("design:paramtypes", [app_config_1.AbstractAppConfig,
|
|
66
66
|
session_storage_service_1.SessionStorageService])
|
package/dist/shared/components/palette/payment/case-payment-history-viewer-field.component.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"case-payment-history-viewer-field.component.js","sourceRoot":"","sources":["../../../../../tmp/src-inlined/shared/components/palette/payment/case-payment-history-viewer-field.component.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA,6FAAyF;AACzF,sCAA0C;AAC1C,qDAA2D;AAC3D,6FAA0F;
|
|
1
|
+
{"version":3,"file":"case-payment-history-viewer-field.component.js","sourceRoot":"","sources":["../../../../../tmp/src-inlined/shared/components/palette/payment/case-payment-history-viewer-field.component.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA,6FAAyF;AACzF,sCAA0C;AAC1C,qDAA2D;AAC3D,6FAA0F;AAmB1F;IAA4D,0DAA0B;IAEpF,gDACU,SAA4B,EACnB,cAAqC;QAFxD,YAIE,iBAAO,SACR;QAJS,eAAS,GAAT,SAAS,CAAmB;QACnB,oBAAc,GAAd,cAAc,CAAuB;;IAGxD,CAAC;IAEM,2DAAU,GAAjB;QACE,OAAO,IAAI,CAAC,SAAS,CAAC,cAAc,EAAE,CAAC;IACzC,CAAC;IAEM,sEAAqB,GAA5B;QACE,OAAO,IAAI,CAAC,SAAS,CAAC,qBAAqB,EAAE,CAAC;IAChD,CAAC;IAEM,8DAAa,GAApB;QACE,OAAO,IAAI,CAAC,SAAS,CAAC,aAAa,EAAE,CAAC;IACxC,CAAC;IAEM,6DAAY,GAAnB;QACE,IAAM,WAAW,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,aAAa,CAAC,IAAI,IAAI,CAAC,CAAC;QACnF,IAAI,CAAC,WAAW,IAAI,CAAC,WAAW,CAAC,cAAc,CAAC,OAAO,CAAC,EAAE;YACtD,OAAO,EAAE,CAAC;SACb;QACD,OAAO,WAAW,CAAC,KAAK,CAAC;IAC3B,CAAC;IAEM,6DAAY,GAAnB;QACE,IAAM,WAAW,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,aAAa,CAAC,IAAI,IAAI,CAAC,CAAC;QACnF,IAAI,CAAC,WAAW,IAAI,CAAC,WAAW,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE;YACpD,OAAO,EAAE,CAAC;SACb;QACD,OAAO,WAAW,CAAC,GAAG,CAAC;IACzB,CAAC;IAnCU,sCAAsC;QAjBlD,gBAAS,CAAC;YACT,QAAQ,EAAE,uCAAuC;YACjD,QAAQ,EAAE,ofAaT;SACF,CAAC;yCAIqB,8BAAiB;YACH,+CAAqB;OAJ7C,sCAAsC,CAqClD;IAAD,6CAAC;CAAA,AArCD,CAA4D,0DAA0B,GAqCrF;AArCY,wFAAsC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
[{"__symbolic":"module","version":4,"metadata":{"CasePaymentHistoryViewerFieldComponent":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"../base-field/abstract-field-read.component","name":"AbstractFieldReadComponent","line":
|
|
1
|
+
[{"__symbolic":"module","version":4,"metadata":{"CasePaymentHistoryViewerFieldComponent":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"../base-field/abstract-field-read.component","name":"AbstractFieldReadComponent","line":22,"character":60},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":5,"character":1},"arguments":[{"selector":"ccd-case-payment-history-viewer-field","template":"\n <ccpay-payment-lib\n [API_ROOT]=\"getBaseURL()\"\n [CCD_CASE_NUMBER]=\"caseReference\"\n [BULKSCAN_API_ROOT]=\"getPayBulkScanBaseURL()\"\n [SELECTED_OPTION]=\"'CCDorException'\"\n [ISBSENABLE]=\"'true'\"\n [LOGGEDINUSEREMAIL]=\"getUserEmail()\"\n [LOGGEDINUSERROLES]=\"getUserRoles()\"\n [REFUNDS_API_ROOT]=\"getRefundsUrl()\"\n [VIEW]=\"'case-transactions'\"\n [SERVICEREQUEST]= \"'false'\"\n ></ccpay-payment-lib>\n "}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"../../../../app.config","name":"AbstractAppConfig","line":25,"character":23},{"__symbolic":"reference","module":"../../../services/session/session-storage.service","name":"SessionStorageService","line":26,"character":37}]}],"getBaseURL":[{"__symbolic":"method"}],"getPayBulkScanBaseURL":[{"__symbolic":"method"}],"getRefundsUrl":[{"__symbolic":"method"}],"getUserRoles":[{"__symbolic":"method"}],"getUserEmail":[{"__symbolic":"method"}]}}}}]
|
|
@@ -19,7 +19,16 @@ var CaseReferencePipe = /** @class */ (function () {
|
|
|
19
19
|
return draft_model_1.DRAFT_PREFIX;
|
|
20
20
|
}
|
|
21
21
|
else {
|
|
22
|
-
|
|
22
|
+
var regex = /(?:\/)?(\d{4})(\d{4})(\d{4})(\d{4})/g;
|
|
23
|
+
var result = String(caseReference).replace(regex, function (match, g1, g2, g3, g4) {
|
|
24
|
+
var isLink = match[0] === '/';
|
|
25
|
+
if (isLink) {
|
|
26
|
+
return match;
|
|
27
|
+
}
|
|
28
|
+
;
|
|
29
|
+
return [g1, g2, g3, g4].join('-');
|
|
30
|
+
});
|
|
31
|
+
return result;
|
|
23
32
|
}
|
|
24
33
|
};
|
|
25
34
|
CaseReferencePipe = __decorate([
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"case-reference.pipe.js","sourceRoot":"","sources":["../../../../tmp/src-inlined/shared/pipes/case-reference/case-reference.pipe.ts"],"names":[],"mappings":";;;;;;;;AAAA,sCAAoD;AACpD,wDAA+D;AAK/D;IAAA;
|
|
1
|
+
{"version":3,"file":"case-reference.pipe.js","sourceRoot":"","sources":["../../../../tmp/src-inlined/shared/pipes/case-reference/case-reference.pipe.ts"],"names":[],"mappings":";;;;;;;;AAAA,sCAAoD;AACpD,wDAA+D;AAK/D;IAAA;IAuBA,CAAC;IArBC,qCAAS,GAAT,UAAU,aAAqB;QAC7B,IAAI,CAAC,aAAa,EAAE;YAClB,OAAO,EAAE,CAAC;SACX;QACD,IAAI,mBAAK,CAAC,OAAO,CAAC,aAAa,CAAC,EAAE;YAChC,OAAO,0BAAY,CAAC;SACrB;aAAM;YACL,IAAM,KAAK,GAAG,sCAAsC,CAAC;YACrD,IAAM,MAAM,GAAG,MAAM,CAAC,aAAa,CAAC,CAAC,OAAO,CAAC,KAAK,EAAE,UAAC,KAAK,EACxD,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE;gBACZ,IAAM,MAAM,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,GAAG,CAAC;gBAChC,IAAI,MAAM,EAAE;oBACV,OAAO,KAAK,CAAC;iBACd;gBAAA,CAAC;gBAEF,OAAO,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;YACtC,CAAC,CAAC,CAAC;YAEH,OAAO,MAAM,CAAC;SACf;IACH,CAAC;IAtBU,iBAAiB;QAH7B,WAAI,CAAC;YACJ,IAAI,EAAE,kBAAkB;SACzB,CAAC;OACW,iBAAiB,CAuB7B;IAAD,wBAAC;CAAA,AAvBD,IAuBC;AAvBY,8CAAiB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hmcts/ccd-case-ui-toolkit",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.13.5",
|
|
4
4
|
"engines": {
|
|
5
5
|
"yarn": "^1.12.3",
|
|
6
6
|
"npm": "^5.6.0"
|
|
@@ -96,7 +96,7 @@
|
|
|
96
96
|
"@angular/router": "~7.0.3",
|
|
97
97
|
"@angular/upgrade": "~7.0.3",
|
|
98
98
|
"@compodoc/compodoc": "^1.1.7",
|
|
99
|
-
"@hmcts/ccpay-web-component": "
|
|
99
|
+
"@hmcts/ccpay-web-component": "5.0.4",
|
|
100
100
|
"@nicky-lenaers/ngx-scroll-to": "^1.0.0",
|
|
101
101
|
"@types/jasmine": "~2.8.0",
|
|
102
102
|
"@types/jasminewd2": "^2.0.3",
|