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AA,GAAiB;QAAjBA,yDAAA,SAAAwE,GAAA,CAAA/D,GAAA,CAAAyE,OAAA,CAAiB;QAI6BlF,wDAAA,EAAoM;QAApMA,yDAAA,YAAAA,8DAAA,IAAAoF,GAAA,EAAAZ,GAAA,CAAA/D,GAAA,CAAAyE,OAAA,GAAAV,GAAA,CAAAhE,WAAA,UAAAgE,GAAA,CAAAhE,WAAA,qFAAoM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AClB3M;AAEQ;AACxB;AACK;AACA;AAcnB;AAIU;AAG2D;AACG;AAChB;AACW;AACd;AACoB;AAC7C;AACT;AACgD;AAC0B;AACN;AACe;AAC1D;AACxE;AAC6F;AACD;AACsC;AACY;AAClB;AACxD;AACD;AAC8D;AACK;AACN;AACe;AACH;AACM;AACvB;AACH;AACnE;AACrD;AACsI;AACM;AACe;AACN;AACX;AACf;AACe;AACK;AACY;AACN;AAC7B;AACI;AACQ;AACK;AACY;AACN;AACY;AACf;AACO;AACD;AAChD;AACkC;AACV;AAC1B;AACiD;AACA;AACpC;AAChC;AAE7E;AACiE;AACuB;AAElC;AACyD;AACT;AACJ;AACjB;AACa;AACtB;AACG;AACY;AACY;AACZ;AACkC;AACM;AACjB;AACjB;AACkC;AACH;AACN;AACP;AACJ;AACY;AACiB;AACN;AACN;AAC5B;AACa;AACvB;AACR;AACqB;AACsB;AAChC;AAC0B;AACb;AACA;AACQ;AACiB;AACN;AACN;AACV;AACQ;AACK;AACzB;AACU;AACD;AACS;AACT;AACqB;AAClB;AACA;AACiB;AACV;AACX;AACS;AACS;AACT;AACG;AACA;AACc;AACS;AACT;AACG;AACA;AACT;AACS;AACT;AACG;AAC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AED,IAAIR,kEAAW,CAACC,UAAU,EAAE;EAC1BC,6DAAc,EAAE;AAClB;AAEAO,sEAAA,CAAuBJ,SAAS,CAAC,CAACM,eAAe,CAAC18E,sDAAS,CAAC,CACzD8oB,KAAK,CAACyN,GAAG,IAAI9lC,OAAO,CAACC,GAAG,CAAC6lC,GAAG,CAAC,CAAC","sources":["./src/app/app.component.ts","./src/app/app.component.html","./src/app/app.module.ts","./src/app/header/header.component.ts","./src/app/header/header.component.html","./src/app/header/header.module.ts","./src/app/landing-page/landing-page.component.ts","./src/app/landing-page/landing-page.component.html","./src/app/landing-page/landing-page.service.ts","./src/app/nav-menu/nav-menu-item/nav-menu-item.component.ts","./src/app/nav-menu/nav-menu-item/nav-menu-item.component.html","./src/app/nav-menu/nav-menu.component.ts","./src/app/nav-menu/nav-menu.component.html","./src/app/prop-search/components/city-town-ex/city-town-ex.component.ts","./src/app/prop-search/components/city-town-ex/city-town-ex.component.html","./src/app/prop-search/components/city-town-ex/city-town-ex.service.ts","./src/app/prop-search/components/date-range-ps/date-range-ps.component.ts","./src/app/prop-search/components/date-range-ps/date-range-ps.component.html","./src/app/prop-search/components/doc-category-ex2/doc-category-ex2.component.ts","./src/app/prop-search/components/doc-category-ex2/doc-category-ex2.component.html","./src/app/prop-search/components/property-search-doc-detail/property-search-doc-detail.component.ts","./src/app/prop-search/components/property-search-doc-detail/property-search-doc-detail.component.html","./src/app/prop-search/components/property-search-doc-image/property-search-doc-image.component.ts","./src/app/prop-search/components/property-search-doc-image/property-search-doc-image.component.html","./src/app/prop-search/components/property-search-grid/property-search-grid.component.ts","./src/app/prop-search/components/property-search-grid/property-search-grid.component.html","./src/app/prop-search/components/property-search-header/property-search-header.component.ts","./src/app/prop-search/components/property-search-header/property-search-header.component.html","./src/app/prop-search/pages/property-search-doc-disp-pg/property-search-doc-disp-pg.component.ts","./src/app/prop-search/pages/property-search-doc-disp-pg/property-search-doc-disp-pg.component.html","./src/app/prop-search/pages/property-search-pg/property-search-pg.component.ts","./src/app/prop-search/pages/property-search-pg/property-search-pg.component.html","./src/app/prop-search/pages/property-search-result-pg/property-search-result-pg.component.ts","./src/app/prop-search/pages/property-search-result-pg/property-search-result-pg.component.html","./src/app/prop-search/prop-search.component.ts","./src/app/prop-search/prop-search.component.html","./src/app/prop-search/property-search-service.ts","./src/app/rec-plan-search/components/plan-num/plan-num.component.ts","./src/app/rec-plan-search/components/plan-num/plan-num.component.html","./src/app/rec-plan-search/components/planrole/planrole.component.ts","./src/app/rec-plan-search/components/planrole/planrole.component.html","./src/app/rec-plan-search/components/rec-plan-bp-search-grid/rec-plan-bp-search-grid.component.ts","./src/app/rec-plan-search/components/rec-plan-bp-search-grid/rec-plan-bp-search-grid.component.html","./src/app/rec-plan-search/components/rec-plan-bp-search-header/rec-plan-bp-search-header.component.ts","./src/app/rec-plan-search/components/rec-plan-bp-search-header/rec-plan-bp-search-header.component.html","./src/app/rec-plan-search/components/rec-plan-doc-detail/rec-plan-doc-detail.component.ts","./src/app/rec-plan-search/components/rec-plan-doc-image/rec-plan-doc-image.component.ts","./src/app/rec-plan-search/components/rec-plan-doc-image/rec-plan-doc-image.component.html","./src/app/rec-plan-search/components/rec-plan-name-search-grid/rec-plan-name-search-grid.component.ts","./src/app/rec-plan-search/components/rec-plan-name-search-grid/rec-plan-name-search-grid.component.html","./src/app/rec-plan-search/components/rec-plan-name-search-header/rec-plan-name-search-header.component.ts","./src/app/rec-plan-search/components/rec-plan-name-search-header/rec-plan-name-search-header.component.html","./src/app/rec-plan-search/components/rec-plan-plannum-search-grid/rec-plan-plannum-search-grid.component.ts","./src/app/rec-plan-search/components/rec-plan-plannum-search-grid/rec-plan-plannum-search-grid.component.html","./src/app/rec-plan-search/components/rec-plan-plannum-search-header/rec-plan-plannum-search-header.component.ts","./src/app/rec-plan-search/components/rec-plan-plannum-search-header/rec-plan-plannum-search-header.component.html","./src/app/rec-plan-search/pages/rec-plan-bp-doc-disp-pg/rec-plan-bp-doc-disp-pg.component.ts","./src/app/rec-plan-search/pages/rec-plan-bp-doc-disp-pg/rec-plan-bp-doc-disp-pg.component.html","./src/app/rec-plan-search/pages/rec-plan-bp-result-pg/rec-plan-bp-result-pg.component.ts","./src/app/rec-plan-search/pages/rec-plan-bp-result-pg/rec-plan-bp-result-pg.component.html","./src/app/rec-plan-search/pages/rec-plan-bp-search/rec-plan-bp-search.component.ts","./src/app/rec-plan-search/pages/rec-plan-bp-search/rec-plan-bp-search.component.html","./src/app/rec-plan-search/pages/rec-plan-name-doc-disp-pg/rec-plan-name-doc-disp-pg.component.ts","./src/app/rec-plan-search/pages/rec-plan-name-doc-disp-pg/rec-plan-name-doc-disp-pg.component.html","./src/app/rec-plan-search/pages/rec-plan-name-result-pg/rec-plan-name-result-pg.component.ts","./src/app/rec-plan-search/pages/rec-plan-name-result-pg/rec-plan-name-result-pg.component.html","./src/app/rec-plan-search/pages/rec-plan-name-search/rec-plan-name-search.component.ts","./src/app/rec-plan-search/pages/rec-plan-name-search/rec-plan-name-search.component.html","./src/app/rec-plan-search/pages/rec-plan-plannum-doc-disp-pg/rec-plan-plannum-doc-disp-pg.component.ts","./src/app/rec-plan-search/pages/rec-plan-plannum-doc-disp-pg/rec-plan-plannum-doc-disp-pg.component.html","./src/app/rec-plan-search/pages/rec-plan-plannum-result-pg/rec-plan-plannum-result-pg.component.ts","./src/app/rec-plan-search/pages/rec-plan-plannum-result-pg/rec-plan-plannum-result-pg.component.html","./src/app/rec-plan-search/pages/rec-plan-plannum-search/rec-plan-plannum-search.component.ts","./src/app/rec-plan-search/pages/rec-plan-plannum-search/rec-plan-plannum-search.component.html","./src/app/rec-plan-search/rec-plan-search-service.ts","./src/app/rec-search/components/image-viewer/image-viewer.component.ts","./src/app/rec-search/components/image-viewer/image-viewer.component.html","./src/app/rec-search/components/rec-address-search-grid/rec-address-search-grid.component.ts","./src/app/rec-search/components/rec-address-search-grid/rec-address-search-grid.component.html","./src/app/rec-search/components/rec-address-search-header/rec-address-search-header.component.ts","./src/app/rec-search/components/rec-address-search-header/rec-address-search-header.component.html","./src/app/rec-search/components/rec-date-search-grid/rec-date-search-grid.component.ts","./src/app/rec-search/components/rec-date-search-grid/rec-date-search-grid.component.html","./src/app/rec-search/components/rec-date-search-header/rec-date-search-header.component.ts","./src/app/rec-search/components/rec-date-search-header/rec-date-search-header.component.html","./src/app/rec-search/components/rec-doc-detail-info/rec-doc-detail-info.component.ts","./src/app/rec-search/components/rec-doc-detail-info/rec-doc-detail-info.component.html","./src/app/rec-search/components/rec-doc-detail-parent/rec-doc-detail-parent.component.ts","./src/app/rec-search/components/rec-doc-detail-parent/rec-doc-detail-parent.component.html","./src/app/rec-search/components/rec-name-search-detail/rec-name-search-detail.component.ts","./src/app/rec-search/components/rec-name-search-detail/rec-name-search-detail.component.html","./src/app/rec-search/components/rec-name-search-grid/rec-name-search-grid.component.ts","./src/app/rec-search/components/rec-name-search-grid/rec-name-search-grid.component.html","./src/app/rec-search/components/rec-name-search-header/rec-name-search-header.component.ts","./src/app/rec-search/components/rec-name-search-header/rec-name-search-header.component.html","./src/app/rec-search/components/rec-value-search-grid/rec-value-search-grid.component.ts","./src/app/rec-search/components/rec-value-search-grid/rec-value-search-grid.component.html","./src/app/rec-search/components/rec-value-search-header/rec-value-search-header.component.ts","./src/app/rec-search/components/rec-value-search-header/rec-value-search-header.component.html","./src/app/rec-search/pages/rec-address-doc-disp-pg/rec-address-doc-disp-pg.component.ts","./src/app/rec-search/pages/rec-address-doc-disp-pg/rec-address-doc-disp-pg.component.html","./src/app/rec-search/pages/rec-address-result-pg/rec-address-result-pg.component.ts","./src/app/rec-search/pages/rec-address-result-pg/rec-address-result-pg.component.html","./src/app/rec-search/pages/rec-address-search/rec-address-search.component.ts","./src/app/rec-search/pages/rec-address-search/rec-address-search.component.html","./src/app/rec-search/pages/rec-bp-doc-disp-pg/rec-bp-doc-disp-pg.component.ts","./src/app/rec-search/pages/rec-bp-doc-disp-pg/rec-bp-doc-disp-pg.component.html","./src/app/rec-search/pages/rec-bp-search/rec-bp-search.component.ts","./src/app/rec-search/pages/rec-bp-search/rec-bp-search.component.html","./src/app/rec-search/pages/rec-date-doc-disp-pg/rec-date-doc-disp-pg.component.ts","./src/app/rec-search/pages/rec-date-doc-disp-pg/rec-date-doc-disp-pg.component.html","./src/app/rec-search/pages/rec-date-result-pg/rec-date-result-pg.component.ts","./src/app/rec-search/pages/rec-date-result-pg/rec-date-result-pg.component.html","./src/app/rec-search/pages/rec-date-search/rec-date-search.component.ts","./src/app/rec-search/pages/rec-date-search/rec-date-search.component.html","./src/app/rec-search/pages/rec-doc-search/rec-doc-search.component.ts","./src/app/rec-search/pages/rec-doc-search/rec-doc-search.component.html","./src/app/rec-search/pages/rec-docnum-doc-disp-pg/rec-docnum-doc-disp-pg.component.ts","./src/app/rec-search/pages/rec-docnum-doc-disp-pg/rec-docnum-doc-disp-pg.component.html","./src/app/rec-search/pages/rec-name-doc-disp-pg/rec-name-doc-disp-pg.component.ts","./src/app/rec-search/pages/rec-name-doc-disp-pg/rec-name-doc-disp-pg.component.html","./src/app/rec-search/pages/rec-name-result-pg/rec-name-result-pg.component.ts","./src/app/rec-search/pages/rec-name-result-pg/rec-name-result-pg.component.html","./src/app/rec-search/pages/rec-name-search/rec-name-search.component.ts","./src/app/rec-search/pages/rec-name-search/rec-name-search.component.html","./src/app/rec-search/pages/rec-value-doc-disp-pg/rec-value-doc-disp-pg.component.ts","./src/app/rec-search/pages/rec-value-doc-disp-pg/rec-value-doc-disp-pg.component.html","./src/app/rec-search/pages/rec-value-result-pg/rec-value-result-pg.component.ts","./src/app/rec-search/pages/rec-value-result-pg/rec-value-result-pg.component.html","./src/app/rec-search/pages/rec-value-search/rec-value-search.component.ts","./src/app/rec-search/pages/rec-value-search/rec-value-search.component.html","./src/app/rec-search/rec-search-communication-service.ts","./src/app/rec-search/rec-search-service.ts","./src/app/reg-plan-search/components/plan-certificate-no/plan-certificate-no.component.ts","./src/app/reg-plan-search/components/plan-certificate-no/plan-certificate-no.component.html","./src/app/reg-plan-search/components/reg-plan-address-search-grid/reg-plan-address-search-grid.component.ts","./src/app/reg-plan-search/components/reg-plan-address-search-grid/reg-plan-address-search-grid.component.html","./src/app/reg-plan-search/components/reg-plan-address-search-header/reg-plan-address-search-header.component.ts","./src/app/reg-plan-search/components/reg-plan-address-search-header/reg-plan-address-search-header.component.html","./src/app/reg-plan-search/components/reg-plan-cert-search-grid/reg-plan-cert-search-grid.component.ts","./src/app/reg-plan-search/components/reg-plan-cert-search-grid/reg-plan-cert-search-grid.component.html","./src/app/reg-plan-search/components/reg-plan-cert-search-header/reg-plan-cert-search-header.component.ts","./src/app/reg-plan-search/components/reg-plan-cert-search-header/reg-plan-cert-search-header.component.html","./src/app/reg-plan-search/components/reg-plan-doc-image/reg-plan-doc-image.component.ts","./src/app/reg-plan-search/components/reg-plan-doc-image/reg-plan-doc-image.component.html","./src/app/reg-plan-search/components/reg-plan-owner-search-grid/reg-plan-owner-search-grid.component.ts","./src/app/reg-plan-search/components/reg-plan-owner-search-grid/reg-plan-owner-search-grid.component.html","./src/app/reg-plan-search/components/reg-plan-owner-search-header/reg-plan-owner-search-header.component.ts","./src/app/reg-plan-search/components/reg-plan-owner-search-header/reg-plan-owner-search-header.component.html","./src/app/reg-plan-search/pages/reg-plan-address-doc-disp-pg/reg-plan-address-doc-disp-pg.component.ts","./src/app/reg-plan-search/pages/reg-plan-address-doc-disp-pg/reg-plan-address-doc-disp-pg.component.html","./src/app/reg-plan-search/pages/reg-plan-address-result-pg/reg-plan-address-result-pg.component.ts","./src/app/reg-plan-search/pages/reg-plan-address-result-pg/reg-plan-address-result-pg.component.html","./src/app/reg-plan-search/pages/reg-plan-address-search/reg-plan-address-search.component.ts","./src/app/reg-plan-search/pages/reg-plan-address-search/reg-plan-address-search.component.html","./src/app/reg-plan-search/pages/reg-plan-certificate-doc-disp-pg/reg-plan-certificate-doc-disp-pg.component.ts","./src/app/reg-plan-search/pages/reg-plan-certificate-doc-disp-pg/reg-plan-certificate-doc-disp-pg.component.html","./src/app/reg-plan-search/pages/reg-plan-certificate-result/reg-plan-certificate-result-pg.component.ts","./src/app/reg-plan-search/pages/reg-plan-certificate-result/reg-plan-certificate-result-pg.component.html","./src/app/reg-plan-search/pages/reg-plan-certificate-search/reg-plan-certificate-search.component.ts","./src/app/reg-plan-search/pages/reg-plan-certificate-search/reg-plan-certificate-search.component.html","./src/app/reg-plan-search/pages/reg-plan-owner-doc-disp-pg/reg-plan-owner-doc-disp-pg.component.ts","./src/app/reg-plan-search/pages/reg-plan-owner-doc-disp-pg/reg-plan-owner-doc-disp-pg.component.html","./src/app/reg-plan-search/pages/reg-plan-owner-result-pg/reg-plan-owner-result-pg.component.ts","./src/app/reg-plan-search/pages/reg-plan-owner-result-pg/reg-plan-owner-result-pg.component.html","./src/app/reg-plan-search/pages/reg-plan-owner-search/reg-plan-owner-search.component.ts","./src/app/reg-plan-search/pages/reg-plan-owner-search/reg-plan-owner-search.component.html","./src/app/reg-plan-search/reg-plan-search-service.ts","./src/app/reg-search/components/city-town-ex-lc/city-town-ex-lc.component.ts","./src/app/reg-search/components/city-town-ex-lc/city-town-ex-lc.component.html","./src/app/reg-search/components/doc-type-ex-lc/doc-type-ex-lc.component.ts","./src/app/reg-search/components/doc-type-ex-lc/doc-type-ex-lc.component.html","./src/app/reg-search/components/reg-address-search-grid/reg-address-search-grid.component.ts","./src/app/reg-search/components/reg-address-search-grid/reg-address-search-grid.component.html","./src/app/reg-search/components/reg-address-search-header/reg-address-search-header.component.ts","./src/app/reg-search/components/reg-address-search-header/reg-address-search-header.component.html","./src/app/reg-search/components/reg-cert-image/reg-cert-image.component.ts","./src/app/reg-search/components/reg-cert-image/reg-cert-image.component.html","./src/app/reg-search/components/reg-date-search-grid/reg-date-search-grid.component.ts","./src/app/reg-search/components/reg-date-search-grid/reg-date-search-grid.component.html","./src/app/reg-search/components/reg-date-search-header/reg-date-search-header.component.ts","./src/app/reg-search/components/reg-date-search-header/reg-date-search-header.component.html","./src/app/reg-search/components/reg-doc-detail/reg-doc-detail.component.ts","./src/app/reg-search/components/reg-doc-detail/reg-doc-detail.component.html","./src/app/reg-search/components/reg-doc-image/reg-doc-image.component.ts","./src/app/reg-search/components/reg-doc-image/reg-doc-image.component.html","./src/app/reg-search/components/reg-encumbrances/reg-encumbrances.component.ts","./src/app/reg-search/components/reg-encumbrances/reg-encumbrances.component.html","./src/app/reg-search/components/reg-name-search-grid/reg-name-search-grid.component.ts","./src/app/reg-search/components/reg-name-search-grid/reg-name-search-grid.component.html","./src/app/reg-search/components/reg-name-search-header/reg-name-search-header.component.ts","./src/app/reg-search/components/reg-name-search-header/reg-name-search-header.component.html","./src/app/reg-search/components/reg-owner-search-grid/reg-owner-search-grid.component.ts","./src/app/reg-search/components/reg-owner-search-grid/reg-owner-search-grid.component.html","./src/app/reg-search/components/reg-owner-search-header/reg-owner-search-header.component.ts","./src/app/reg-search/components/reg-owner-search-header/reg-owner-search-header.component.html","./src/app/reg-search/components/reg-value-search-grid/reg-value-search-grid.component.ts","./src/app/reg-search/components/reg-value-search-grid/reg-value-search-grid.component.html","./src/app/reg-search/components/reg-value-search-header/reg-value-search-header.component.ts","./src/app/reg-search/components/reg-value-search-header/reg-value-search-header.component.html","./src/app/reg-search/pages/reg-address-doc-disp-pg/reg-address-doc-disp-pg.component.ts","./src/app/reg-search/pages/reg-address-doc-disp-pg/reg-address-doc-disp-pg.component.html","./src/app/reg-search/pages/reg-address-result-pg/reg-address-result-pg.component.ts","./src/app/reg-search/pages/reg-address-result-pg/reg-address-result-pg.component.html","./src/app/reg-search/pages/reg-address-search/reg-address-search.component.ts","./src/app/reg-search/pages/reg-address-search/reg-address-search.component.html","./src/app/reg-search/pages/reg-cert-disp-pg/reg-cert-disp-pg.component.ts","./src/app/reg-search/pages/reg-cert-disp-pg/reg-cert-disp-pg.component.html","./src/app/reg-search/pages/reg-certificate-cert-disp-pg/reg-certificate-cert-disp-pg.component.ts","./src/app/reg-search/pages/reg-certificate-cert-disp-pg/reg-certificate-cert-disp-pg.component.html","./src/app/reg-search/pages/reg-certificate-doc-disp-pg/reg-certificate-doc-disp-pg.component.ts","./src/app/reg-search/pages/reg-certificate-doc-disp-pg/reg-certificate-doc-disp-pg.component.html","./src/app/reg-search/pages/reg-certificate-search/reg-certificate-search.component.ts","./src/app/reg-search/pages/reg-certificate-search/reg-certificate-search.component.html","./src/app/reg-search/pages/reg-date-doc-disp-pg/reg-date-doc-disp-pg.component.ts","./src/app/reg-search/pages/reg-date-doc-disp-pg/reg-date-doc-disp-pg.component.html","./src/app/reg-search/pages/reg-date-result-pg/reg-date-result-pg.component.ts","./src/app/reg-search/pages/reg-date-result-pg/reg-date-result-pg.component.html","./src/app/reg-search/pages/reg-date-search/reg-date-search.component.ts","./src/app/reg-search/pages/reg-date-search/reg-date-search.component.html","./src/app/reg-search/pages/reg-document-no-doc-disp-pg/reg-document-no-doc-disp-pg.component.ts","./src/app/reg-search/pages/reg-document-no-doc-disp-pg/reg-document-no-doc-disp-pg.component.html","./src/app/reg-search/pages/reg-document-no-search/reg-document-no-search.component.ts","./src/app/reg-search/pages/reg-document-no-search/reg-document-no-search.component.html","./src/app/reg-search/pages/reg-name-doc-disp-pg/reg-name-doc-disp-pg.component.ts","./src/app/reg-search/pages/reg-name-doc-disp-pg/reg-name-doc-disp-pg.component.html","./src/app/reg-search/pages/reg-name-result-pg/reg-name-result-pg.component.ts","./src/app/reg-search/pages/reg-name-result-pg/reg-name-result-pg.component.html","./src/app/reg-search/pages/reg-name-search/reg-name-search.component.ts","./src/app/reg-search/pages/reg-name-search/reg-name-search.component.html","./src/app/reg-search/pages/reg-owner-doc-disp-pg/reg-owner-doc-disp-pg.component.ts","./src/app/reg-search/pages/reg-owner-doc-disp-pg/reg-owner-doc-disp-pg.component.html","./src/app/reg-search/pages/reg-owner-result-pg/reg-owner-result-pg.component.ts","./src/app/reg-search/pages/reg-owner-result-pg/reg-owner-result-pg.component.html","./src/app/reg-search/pages/reg-owner-search/reg-owner-search.component.ts","./src/app/reg-search/pages/reg-owner-search/reg-owner-search.component.html","./src/app/reg-search/pages/reg-value-doc-disp-pg/reg-value-doc-disp-pg.component.ts","./src/app/reg-search/pages/reg-value-doc-disp-pg/reg-value-doc-disp-pg.component.html","./src/app/reg-search/pages/reg-value-result-pg/reg-value-result-pg.component.ts","./src/app/reg-search/pages/reg-value-result-pg/reg-value-result-pg.component.html","./src/app/reg-search/pages/reg-value-search/reg-value-search.component.ts","./src/app/reg-search/pages/reg-value-search/reg-value-search.component.html","./src/app/reg-search/reg-search-communication-service.ts","./src/app/reg-search/reg-search-service.ts","./src/app/shared/components/EvalonLightbox/EvalonLightbox.component.ts","./src/app/shared/components/EvalonLightbox/Evalonlightbox.component.html","./src/app/shared/components/EvalonPayment/Evalon.component.ts","./src/app/shared/components/address/address.component.ts","./src/app/shared/components/address/address.component.html","./src/app/shared/components/amountrange/amountrange.component.ts","./src/app/shared/components/amountrange/amountrange.component.html","./src/app/shared/components/book-page/book-page.component.ts","./src/app/shared/components/book-page/book-page.component.html","./src/app/shared/components/certificate-no/certificate-no.component.ts","./src/app/shared/components/certificate-no/certificate-no.component.html","./src/app/shared/components/city-town-ex/city-town-ex.component.ts","./src/app/shared/components/city-town-ex/city-town-ex.component.html","./src/app/shared/components/compound-address/compound-address.component.ts","./src/app/shared/components/compound-address/compound-address.component.html","./src/app/shared/components/compound-name-idx/compound-name-idx.component.ts","./src/app/shared/components/compound-name-idx/compound-name-idx.component.html","./src/app/shared/components/compound-name/compound-name.component.ts","./src/app/shared/components/compound-name/compound-name.component.html","./src/app/shared/components/compund-name-owner/compund-name-owner.component.ts","./src/app/shared/components/compund-name-owner/compund-name-owner.component.html","./src/app/shared/components/contains/contains.component.ts","./src/app/shared/components/contains/contains.component.html","./src/app/shared/components/date-picker/date-picker.component.ts","./src/app/shared/components/date-picker/date-picker.component.html","./src/app/shared/components/date-range-parent/date-range-parent.component.ts","./src/app/shared/components/date-range-parent/date-range-parent.component.html","./src/app/shared/components/daterange/daterange.component.ts","./src/app/shared/components/daterange/daterange.component.html","./src/app/shared/components/doc-basket-add/doc-basket-add.component.ts","./src/app/shared/components/doc-basket-add/doc-basket-add.component.html","./src/app/shared/components/doc-basket-ex/doc-basket-ex.component.ts","./src/app/shared/components/doc-basket-ex/doc-basket-ex.component.html","./src/app/shared/components/doc-basket/doc-basket.component.ts","./src/app/shared/components/doc-basket/doc-basket.component.html","./src/app/shared/components/doc-category-vs/doc-category-vs.component.ts","./src/app/shared/components/doc-category-vs/doc-category-vs.component.html","./src/app/shared/components/doccategoryex/doccategoryex.component.ts","./src/app/shared/components/doccategoryex/doccategoryex.component.html","./src/app/shared/components/doctypeex/doctypeex.component.ts","./src/app/shared/components/doctypeex/doctypeex.component.html","./src/app/shared/components/name/name.component.ts","./src/app/shared/components/name/name.component.html","./src/app/shared/components/plan-download/plan-download.component.ts","./src/app/shared/components/plan-download/plan-download.component.html","./src/app/shared/components/recdoc/recdoc.component.ts","./src/app/shared/components/recdoc/recdoc.component.html","./src/app/shared/components/report-viewer-plan/report-viewer-plan.component.ts","./src/app/shared/components/report-viewer-plan/report-viewer-plan.component.html","./src/app/shared/components/report-viewer/report-viewer.component.ts","./src/app/shared/components/report-viewer/report-viewer.component.html","./src/app/shared/components/role2/role2.component.ts","./src/app/shared/components/role2/role2.component.html","./src/app/shared/components/role/role.component.ts","./src/app/shared/components/role/role.component.html","./src/app/shared/components/select-index/select-index.component.ts","./src/app/shared/components/select-index/select-index.component.html","./src/app/shared/helpers/amount-range.validator.ts","./src/app/shared/services/EvalonPayment.service.ts","./src/app/shared/services/authentication.service.ts","./src/app/shared/services/cc-payment-service.ts","./src/app/shared/services/nav-menu-service.ts","./src/app/shared/services/report-viewer-es.service.ts","./src/app/shared/services/report-viewer.service.ts","./src/app/shared/services/shopping-basket.service.ts","./src/app/shared/viewmodels/ISearchService.ts","./src/app/shared/viewmodels/ISearchServiceReg.ts","./src/app/shared/viewmodels/RegUtility.ts","./src/app/shared/viewmodels/UtilityObj.ts","./src/app/shared/viewmodels/basketVM.ts","./src/app/shared/viewmodels/ccPaymentVM.ts","./src/app/store/actions/address.action.ts","./src/app/store/actions/amountrange.action.ts","./src/app/store/actions/bookpage.action.ts","./src/app/store/actions/certnum.action.ts","./src/app/store/actions/citytown.action.ts","./src/app/store/actions/compoundname.action.ts","./src/app/store/actions/contains.action.ts","./src/app/store/actions/daterange.action.ts","./src/app/store/actions/doccategories.action.ts","./src/app/store/actions/doccategories2.action.ts","./src/app/store/actions/docnum.action.ts","./src/app/store/actions/doctype.action.ts","./src/app/store/actions/name.action.ts","./src/app/store/actions/plancerttype.action.ts","./src/app/store/actions/plannum.action.ts","./src/app/store/actions/planrole.action.ts","./src/app/store/actions/role.action.ts","./src/app/store/actions/roletype.action.ts","./src/app/store/actions/selectindex.action.ts","./src/app/store/reducers/address.reducer.ts","./src/app/store/reducers/amountrange.reducer.ts","./src/app/store/reducers/bookpage.reducer.ts","./src/app/store/reducers/citytown.reducer.ts","./src/app/store/reducers/compoundname.reducer.ts","./src/app/store/reducers/contains.reducer.ts","./src/app/store/reducers/daterange.reducer.ts","./src/app/store/reducers/doccategories.reducer.ts","./src/app/store/reducers/doccategories2.reducer.ts","./src/app/store/reducers/docnum.reducer.ts","./src/app/store/reducers/doctype.reducer.ts","./src/app/store/reducers/name-reducer.ts","./src/app/store/reducers/plancerttype.reducer.ts","./src/app/store/reducers/plannum.reducer.ts","./src/app/store/reducers/planrole.reducer.ts","./src/app/store/reducers/reducers.ts","./src/app/store/reducers/role.reducer.ts","./src/app/store/reducers/roletype.reducer.ts","./src/app/store/reducers/selectindex.reducer.ts","./src/app/unindexed-search/components/date-range-unindex/date-range-unindex.component.ts","./src/app/unindexed-search/components/date-range-unindex/date-range-unindex.component.html","./src/app/unindexed-search/components/role-type/role-type.component.ts","./src/app/unindexed-search/components/role-type/role-type.component.html","./src/app/unindexed-search/components/unindexed-record-doc-image/unindexed-record-doc-image.component.ts","./src/app/unindexed-search/components/unindexed-record-doc-image/unindexed-record-doc-image.component.html","./src/app/unindexed-search/pages/unindexed-record-doc-disp-pg/unindexed-record-doc-disp-pg.component.ts","./src/app/unindexed-search/pages/unindexed-record-doc-disp-pg/unindexed-record-doc-disp-pg.component.html","./src/app/unindexed-search/pages/unindexed-record-search/unindexed-record-search.component.ts","./src/app/unindexed-search/pages/unindexed-record-search/unindexed-record-search.component.html","./src/app/unindexed-search/unindexed-search-service.ts","./src/environments/environment.ts","./src/main.ts"],"sourcesContent":["import { Component, OnInit, ViewChild, HostListener } from '@angular/core';\r\nimport { Router, RoutesRecognized } from '@angular/router';\r\nimport { Store } from '@ngrx/store';\r\nimport { filter, pairwise } from 'rxjs/operators';\r\nimport * as PlanNumActions from './store/actions/plannum.action';\r\nimport * as AddressActions from './store/actions/address.action';\r\nimport * as NameActions from './store/actions/name.action';\r\nimport { AppState } from './store/reducers/reducers';\r\nimport * as DateRangeActions from './store/actions/daterange.action';\r\nimport * as CityActions from './store/actions/citytown.action';\r\nimport * as BookPageActions from './store/actions/bookpage.action';\r\nimport { NavMenuService } from './shared/services/nav-menu-service';\r\nimport * as PlanRoleActions from './store/actions/planrole.action';\r\nimport * as CertTypeActions from './store/actions/plancerttype.action';\r\nimport { ShoppingBasketService } from './shared/services/shopping-basket.service';\r\nimport { DocBasketExComponent } from './shared/components/doc-basket-ex/doc-basket-ex.component';\r\n\r\n@Component({\r\n selector: 'app-root',\r\n templateUrl: './app.component.html',\r\n styleUrls: ['./app.component.css']\r\n})\r\nexport class AppComponent implements OnInit {\r\n title = 'ClientApp';\r\n\r\n screenWidth: any;\r\n showLoader: any;\r\n @ViewChild(DocBasketExComponent, { static: false }) docBasketChild;\r\n\r\n receiveLoader($event) {\r\n this.showLoader = $event;\r\n console.log(\"show - \" + this.showLoader)\r\n }\r\n\r\n constructor(public nav: NavMenuService, private router: Router, private store: Store, private sbService: ShoppingBasketService) {\r\n console.log('app component constructor');\r\n var newNavMenuItem = {\r\n displayName: \"Recorded Land Plans\",\r\n name: \"RecordedLandPlans\",\r\n links: [\r\n {\r\n displayName: \"Name\",\r\n path: \"rec-plan-name-search\"\r\n },\r\n {\r\n displayName: \"Address\",\r\n path: \"rec-address-search/PLAN\"\r\n //path: \"rec-plan-address-search\"\r\n },\r\n {\r\n displayName: \"Book & Page\",\r\n path: \"rec-plan-bp-search\"\r\n },\r\n //{\r\n // displayName: \"Plan No.\",\r\n // path: \"rec-plan-plannum-search\"\r\n //},\r\n\r\n ],\r\n isActive: false\r\n };\r\n var newNavMenuItem2 = {\r\n displayName: \"Registered Land Plans\",\r\n name: \"RegisteredLandPlans\",\r\n links: [\r\n {\r\n displayName: \"Address\",\r\n path: \"reg-plan-address-search\"\r\n },\r\n {\r\n displayName: \"Owner\",\r\n path: \"reg-plan-owner-search\"\r\n },\r\n {\r\n displayName: \"Plan/Case Number\",\r\n path: \"reg-plan-certificate-search\"\r\n },\r\n //{\r\n // displayName: \"Court Case No.\",\r\n // path: \"reg-plan-courtcasenum-search\"\r\n //}\r\n\r\n ],\r\n isActive: false\r\n };\r\n //var newNavMenuItem3 = {\r\n // displayName: \"Unindexed Records\",\r\n // name: \"UnindexedRecords\",\r\n // links: [\r\n // //{\r\n // // displayName: \"Unindexed Property\",\r\n // // //path: \"/espropsearch\"\r\n // //},\r\n // //{\r\n // // displayName: \"1890-1940\",\r\n // // path: \"/fetch-data\"\r\n // //},\r\n // //{\r\n // // displayName: \"1941-1950\",\r\n // // path: \"/fetch-data\"\r\n // //}\r\n // //{\r\n // // displayName: \"1640-1799\",\r\n // // path: \"unindexed-record-search1\"\r\n // //},\r\n // //{\r\n // // displayName: \"1800-1854\",\r\n // // path: \"unindexed-record-search2\"\r\n // //},\r\n // //{\r\n // // displayName: \"1855-1950\",\r\n // // path: \"unindexed-record-search3\"\r\n // //},\r\n // //{\r\n // // displayName: \"1951-1963\",\r\n // // path: \"unindexed-record-search4\"\r\n // //},\r\n // //{\r\n // // displayName: \"1964-1978\",\r\n // // path: \"unindexed-record-search5\"\r\n // //}\r\n\r\n // ],\r\n // isActive: false\r\n //};\r\n this.nav.pushNavMenuItem(newNavMenuItem);\r\n this.nav.pushNavMenuItem(newNavMenuItem2);\r\n //this.nav.pushNavMenuItem(newNavMenuItem3);\r\n\r\n }\r\n\r\n ngOnInit(): void {\r\n console.log('app component ngInit');\r\n\r\n this.router.events.pipe(\r\n filter(e => e instanceof RoutesRecognized),\r\n pairwise()\r\n ).subscribe((event: any[]) => {\r\n console.log(event[0].urlAfterRedirects); // previous url\r\n console.log(event[1].urlAfterRedirects); //current url\r\n\r\n if (!event[0].urlAfterRedirects.endsWith('/rec-plan-name-result-pg') &&\r\n event[1].urlAfterRedirects.endsWith('/rec-plan-name-search')) {\r\n console.log(\"Calling delete from store\");\r\n this.delRecFromStore(0);\r\n }\r\n\r\n if (!event[0].urlAfterRedirects.endsWith('/rec-plan-address-result-pg') &&\r\n event[1].urlAfterRedirects.endsWith('/rec-plan-address-search')) {\r\n console.log(\"Calling delete from store\");\r\n this.delRecFromStore(0);\r\n }\r\n\r\n\r\n if (!event[0].urlAfterRedirects.endsWith('/rec-plan-plannum-doc-disp-pg') &&\r\n event[1].urlAfterRedirects.endsWith('/rec-plan-plannum-search')) {\r\n console.log(\"Calling delete from store\");\r\n this.delRecFromStore(0);\r\n }\r\n\r\n if (!event[0].urlAfterRedirects.endsWith('/rec-plan-bp-doc-disp-pg') &&\r\n event[1].urlAfterRedirects.endsWith('/rec-plan-bp-search')) {\r\n console.log(\"Calling delete from store\");\r\n this.delRecFromStore(0);\r\n }\r\n\r\n if (!event[0].urlAfterRedirects.endsWith('/reg-plan-address-result-pg') &&\r\n event[1].urlAfterRedirects.endsWith('/reg-plan-address-search')) {\r\n console.log(\"Calling delete from store\");\r\n this.delRecFromStore(0);\r\n }\r\n\r\n //if (!event[0].urlAfterRedirects.endsWith('/reg-plan-certificate-doc-disp-pg') &&\r\n // event[1].urlAfterRedirects.endsWith('/reg-plan-certificate-search')) {\r\n // console.log(\"Calling delete from store\");\r\n // this.delRecFromStore(0);\r\n //}\r\n\r\n if (!event[0].urlAfterRedirects.endsWith('/reg-plan-courtcasenum-result-pg') &&\r\n event[1].urlAfterRedirects.endsWith('/reg-plan-courtcasenum-search')) {\r\n console.log(\"Calling delete from store\");\r\n this.delRecFromStore(0);\r\n }\r\n\r\n if (!event[0].urlAfterRedirects.includes('/unindexed-record-search') &&\r\n event[1].urlAfterRedirects.includes('/unindexed-record-search')) {\r\n console.log(\"Calling delete from store\");\r\n this.delRecFromStore(0);\r\n }\r\n\r\n\r\n\r\n });\r\n\r\n }\r\n\r\n /**\r\n * Delete input parameters from store.\r\n * @param index\r\n */\r\n delRecFromStore(index) {\r\n\r\n this.store.dispatch(new NameActions.RemoveName(index));\r\n this.store.dispatch(new AddressActions.RemoveAddress(index));\r\n this.store.dispatch(new PlanNumActions.RemovePlanNum(index));\r\n this.store.dispatch(new DateRangeActions.RemoveDate(index));\r\n this.store.dispatch(new CityActions.RemoveCity(index));\r\n this.store.dispatch(new BookPageActions.RemoveBP(index));\r\n this.store.dispatch(new PlanRoleActions.RemoveRole(index));\r\n this.store.dispatch(new CertTypeActions.RemoveCertType(index));\r\n }\r\n\r\n @HostListener('window:resize', ['$event'])\r\n getScreenSize(event?) {\r\n this.screenWidth = window.innerWidth;\r\n }\r\n\r\n @HostListener('document:visibilitychange', ['$event'])\r\n visibilitychange() {\r\n this.checkHiddenDocument();\r\n }\r\n\r\n checkHiddenDocument() {\r\n console.log('OnPageVisible');\r\n console.log('visible');\r\n this.sbService.forceRefresh();\r\n this.sbService.triggerRender();\r\n //let cnt = JSON.parse(localStorage.getItem(\"basket\")).length;\r\n //this.sbService.updateBasketCount(cnt);\r\n //this.docBasketChild.checkHiddenDocument();\r\n /* location.reload();*/\r\n }\r\n\r\n}\r\n","
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n \r\n\r\n \r\n\r\n
\r\n
\r\n
521 ? '0px': (!nav.toggleMenu) ? '-200px' : '0px'}\">\r\n \r\n
\r\n\r\n
520 && screenWidth <=768 ? 'calc(100% - 200px)' : 'calc(100% - 242px)' : '100%', 'background-image':false ? 'url(\\'images/rod-bg.jpg\\')' : 'none' }\">\r\n \r\n
\r\n","import { BrowserModule } from '@angular/platform-browser';\r\nimport { NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';\r\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\r\nimport { StoreModule } from '@ngrx/store';\r\nimport { AppComponent } from './app.component';\r\nimport { RouterModule } from '@angular/router';\r\nimport {\r\n DxDataGridModule,\r\n DxSelectBoxModule,\r\n DxCheckBoxModule,\r\n DxTabPanelModule,\r\n DxTemplateModule,\r\n DxListModule,\r\n DxLoadPanelModule,\r\n DxDateBoxModule,\r\n DxValidatorModule,\r\n DxButtonModule,\r\n DxTooltipModule,\r\n DxPopupModule\r\n} from 'devextreme-angular';\r\n\r\nimport {\r\n DxReportViewerModule\r\n} from 'devexpress-reporting-angular';\r\n\r\nimport { ScrollingModule } from '@angular/cdk/scrolling';\r\nimport { DocBasketExComponent } from './shared/components/doc-basket-ex/doc-basket-ex.component';\r\nimport { DocBasketAddComponent } from './shared/components/doc-basket-add/doc-basket-add.component';\r\nimport { ContainsComponent } from './shared/components/contains/contains.component';\r\nimport { SelectIndexComponent } from './shared/components/select-index/select-index.component';\r\nimport { PropSearchComponentES } from '../app/prop-search/prop-search.component';\r\nimport { MyCityTownEXComponent } from './prop-search/components/city-town-ex/city-town-ex.component';\r\nimport { HttpClientModule } from '@angular/common/http';\r\nimport { CommonModule } from '@angular/common';\r\nimport { CityTownExService } from './prop-search/components/city-town-ex/city-town-ex.service';\r\nimport { RecPlanNameSearchComponent } from './rec-plan-search/pages/rec-plan-name-search/rec-plan-name-search.component';\r\nimport { RecPlanBpSearchComponent } from './rec-plan-search/pages/rec-plan-bp-search/rec-plan-bp-search.component';\r\nimport { RecPlanPlannumSearchComponent } from './rec-plan-search/pages/rec-plan-plannum-search/rec-plan-plannum-search.component';\r\nimport { NameComponent } from './shared/components/name/name.component';\r\n//import { reducers } from './store/reducers/reducers';\r\nimport { PlanroleComponent } from './rec-plan-search/components/planrole/planrole.component';\r\nimport { PlanNumComponent } from './rec-plan-search/components/plan-num/plan-num.component';\r\nimport { RegPlanAddressSearchComponent } from './reg-plan-search/pages/reg-plan-address-search/reg-plan-address-search.component';\r\nimport { RegPlanCertificateSearchComponent } from './reg-plan-search/pages/reg-plan-certificate-search/reg-plan-certificate-search.component';\r\nimport { PlanCertificateNoComponent } from './reg-plan-search/components/plan-certificate-no/plan-certificate-no.component';\r\nimport { NavMenuService } from './shared/services/nav-menu-service';\r\nimport { RecSearchService } from './rec-search/rec-search-service';\r\nimport { RecPlanNameResultPgComponent } from './rec-plan-search/pages/rec-plan-name-result-pg/rec-plan-name-result-pg.component';\r\nimport { RecPlanNameDocDispPgComponent } from './rec-plan-search/pages/rec-plan-name-doc-disp-pg/rec-plan-name-doc-disp-pg.component';\r\nimport { RecPlanBpDocDispPgComponent } from './rec-plan-search/pages/rec-plan-bp-doc-disp-pg/rec-plan-bp-doc-disp-pg.component';\r\nimport { RecPlanPlannumDocDispPgComponent } from './rec-plan-search/pages/rec-plan-plannum-doc-disp-pg/rec-plan-plannum-doc-disp-pg.component';\r\nimport { RecPlanNameSearchGridComponent } from './rec-plan-search/components/rec-plan-name-search-grid/rec-plan-name-search-grid.component';\r\nimport { RecPlanNameSearchHeaderComponent } from './rec-plan-search/components/rec-plan-name-search-header/rec-plan-name-search-header.component';\r\nimport { RecPlanDocDetailComponent } from './rec-plan-search/components/rec-plan-doc-detail/rec-plan-doc-detail.component';\r\nimport { RecPlanDocImageComponent } from './rec-plan-search/components/rec-plan-doc-image/rec-plan-doc-image.component';\r\nimport { reducers } from './store/reducers/reducers';\r\n//import { regreducers } from './store/reducers/reducers';\r\nimport { RecPlanBpSearchGridComponent } from './rec-plan-search/components/rec-plan-bp-search-grid/rec-plan-bp-search-grid.component';\r\nimport { RecPlanBpSearchHeaderComponent } from './rec-plan-search/components/rec-plan-bp-search-header/rec-plan-bp-search-header.component';\r\nimport { RecPlanPlannumSearchHeaderComponent } from './rec-plan-search/components/rec-plan-plannum-search-header/rec-plan-plannum-search-header.component';\r\nimport { RecPlanPlannumSearchGridComponent } from './rec-plan-search/components/rec-plan-plannum-search-grid/rec-plan-plannum-search-grid.component';\r\nimport { RecPlanPlannumResultPgComponent } from './rec-plan-search/pages/rec-plan-plannum-result-pg/rec-plan-plannum-result-pg.component';\r\nimport { RecPlanBpResultPgComponent } from './rec-plan-search/pages/rec-plan-bp-result-pg/rec-plan-bp-result-pg.component';\r\nimport { RegPlanAddressResultPgComponent } from './reg-plan-search/pages/reg-plan-address-result-pg/reg-plan-address-result-pg.component';\r\nimport { RegPlanAddressDocDispPgComponent } from './reg-plan-search/pages/reg-plan-address-doc-disp-pg/reg-plan-address-doc-disp-pg.component';\r\nimport { RegPlanAddressSearchHeaderComponent } from './reg-plan-search/components/reg-plan-address-search-header/reg-plan-address-search-header.component';\r\nimport { RegPlanAddressSearchGridComponent } from './reg-plan-search/components/reg-plan-address-search-grid/reg-plan-address-search-grid.component';\r\nimport { RegPlanDocImageComponent } from './reg-plan-search/components/reg-plan-doc-image/reg-plan-doc-image.component';\r\nimport { RegPlanOwnerSearchComponent } from './reg-plan-search/pages/reg-plan-owner-search/reg-plan-owner-search.component';\r\nimport { RegPlanOwnerResultPgComponent } from './reg-plan-search/pages/reg-plan-owner-result-pg/reg-plan-owner-result-pg.component';\r\nimport { RegPlanOwnerDocDispPgComponent } from './reg-plan-search/pages/reg-plan-owner-doc-disp-pg/reg-plan-owner-doc-disp-pg.component';\r\nimport { RegPlanOwnerSearchHeaderComponent } from './reg-plan-search/components/reg-plan-owner-search-header/reg-plan-owner-search-header.component';\r\nimport { RegPlanOwnerSearchGridComponent } from './reg-plan-search/components/reg-plan-owner-search-grid/reg-plan-owner-search-grid.component';\r\nimport { RegPlanCertificateDocDispPgComponent } from './reg-plan-search/pages/reg-plan-certificate-doc-disp-pg/reg-plan-certificate-doc-disp-pg.component';\r\nimport { RegPlanCertSearchGridComponent } from './reg-plan-search/components/reg-plan-cert-search-grid/reg-plan-cert-search-grid.component';\r\nimport { RegPlanCertificateResultPgComponent } from './reg-plan-search/pages/reg-plan-certificate-result/reg-plan-certificate-result-pg.component';\r\nimport { RegPlanCertSearchHeaderComponent } from './reg-plan-search/components/reg-plan-cert-search-header/reg-plan-cert-search-header.component';\r\nimport { PlanDownloadComponent } from './shared/components/plan-download/plan-download.component';\r\nimport { UnindexedRecordSearchComponent } from './unindexed-search/pages/unindexed-record-search/unindexed-record-search.component';\r\nimport { DateRangeUnindexComponent } from './unindexed-search/components/date-range-unindex/date-range-unindex.component';\r\nimport { RoleTypeComponent } from './unindexed-search/components/role-type/role-type.component';\r\nimport { UnindexedRecordDocDispPgComponent } from './unindexed-search/pages/unindexed-record-doc-disp-pg/unindexed-record-doc-disp-pg.component';\r\nimport { UnindexedRecordDocImageComponent } from './unindexed-search/components/unindexed-record-doc-image/unindexed-record-doc-image.component';\r\nimport { CompoundNameIdxComponent } from './shared/components/compound-name-idx/compound-name-idx.component';\r\nimport { LandingPageComponent } from './landing-page/landing-page.component';\r\n\r\n//Core\r\nimport { NavMenuComponent } from './nav-menu/nav-menu.component';\r\nimport { NavMenuItemComponent } from './nav-menu/nav-menu-item/nav-menu-item.component';\r\nimport { HeaderComponent } from './header/header.component';\r\nimport { HeaderModule } from './header/header.module';\r\nimport { DocCategoryEX2Component } from './prop-search/components/doc-category-ex2/doc-category-ex2.component';\r\nimport { DateRangePSComponent } from './prop-search/components/date-range-ps/date-range-ps.component';\r\nimport { CompoundNameComponent } from './shared/components/compound-name/compound-name.component';\r\nimport { AddressComponent } from './shared/components/address/address.component';\r\nimport { CityTownEXComponent } from './shared/components/city-town-ex/city-town-ex.component';\r\nimport { RoleComponent } from './shared/components/role/role.component';\r\nimport { RoleComponent2 } from './shared/components/role2/role2.component';\r\nimport { DaterangeComponent } from './shared/components/daterange/daterange.component';\r\nimport { DoccategoryexComponent } from './shared/components/doccategoryex/doccategoryex.component';\r\nimport { DoctypeexComponent } from './shared/components/doctypeex/doctypeex.component';\r\nimport { RecNameSearchGridComponent } from './rec-search/components/rec-name-search-grid/rec-name-search-grid.component';\r\nimport { RecNameSearchHeaderComponent } from './rec-search/components/rec-name-search-header/rec-name-search-header.component';\r\nimport { RecNameResultPgComponent } from './rec-search/pages/rec-name-result-pg/rec-name-result-pg.component';\r\nimport { RecImageViewer } from './rec-search/components/image-viewer/image-viewer.component';\r\nimport { RecNameSearchDetailComponent } from './rec-search/components/rec-name-search-detail/rec-name-search-detail.component';\r\nimport { RecDocDetailParentComponent } from './rec-search/components/rec-doc-detail-parent/rec-doc-detail-parent.component';\r\nimport { RecDocDetailInfoComponent } from './rec-search/components/rec-doc-detail-info/rec-doc-detail-info.component';\r\nimport { RecAddressSearchComponent } from './rec-search/pages/rec-address-search/rec-address-search.component';\r\nimport { CompoundAddressComponent } from './shared/components/compound-address/compound-address.component';\r\nimport { RecAddressResultPgComponent } from './rec-search/pages/rec-address-result-pg/rec-address-result-pg.component';\r\nimport { RecAddressSearchHeaderComponent } from './rec-search/components/rec-address-search-header/rec-address-search-header.component';\r\nimport { RecAddressSearchGridComponent } from './rec-search/components/rec-address-search-grid/rec-address-search-grid.component';\r\nimport { RecAddressDocDispPgComponent } from './rec-search/pages/rec-address-doc-disp-pg/rec-address-doc-disp-pg.component';\r\nimport { RecBpSearchComponent } from './rec-search/pages/rec-bp-search/rec-bp-search.component';\r\nimport { RecBpDocDispPgComponent } from './rec-search/pages/rec-bp-doc-disp-pg/rec-bp-doc-disp-pg.component';\r\nimport { BookPageComponent } from './shared/components/book-page/book-page.component';\r\nimport { RecdocComponent } from './shared/components/recdoc/recdoc.component';\r\nimport { RecDocSearchComponent } from './rec-search/pages/rec-doc-search/rec-doc-search.component';\r\nimport { RecDocnumDocDispPgComponent } from './rec-search/pages/rec-docnum-doc-disp-pg/rec-docnum-doc-disp-pg.component';\r\nimport { DocBasketComponent } from './shared/components/doc-basket/doc-basket.component';\r\nimport { RecNameDocDispPgComponent } from './rec-search/pages/rec-name-doc-disp-pg/rec-name-doc-disp-pg.component';\r\nimport { RecNameSearchComponent } from './rec-search/pages/rec-name-search/rec-name-search.component';\r\nimport { RecDateSearchComponent } from './rec-search/pages/rec-date-search/rec-date-search.component';\r\nimport { RecDateResultPgComponent } from './rec-search/pages/rec-date-result-pg/rec-date-result-pg.component';\r\nimport { RecDateSearchHeaderComponent } from './rec-search/components/rec-date-search-header/rec-date-search-header.component';\r\nimport { RecDateSearchGridComponent } from './rec-search/components/rec-date-search-grid/rec-date-search-grid.component';\r\nimport { RecDateDocDispPgComponent } from './rec-search/pages/rec-date-doc-disp-pg/rec-date-doc-disp-pg.component';\r\nimport { RecValueSearchComponent } from './rec-search/pages/rec-value-search/rec-value-search.component';\r\nimport { RecValueResultPgComponent } from './rec-search/pages/rec-value-result-pg/rec-value-result-pg.component';\r\nimport { RecValueDocDispPgComponent } from './rec-search/pages/rec-value-doc-disp-pg/rec-value-doc-disp-pg.component';\r\nimport { AmountrangeComponent } from './shared/components/amountrange/amountrange.component';\r\nimport { DocCategoryVsComponent } from './shared/components/doc-category-vs/doc-category-vs.component';\r\nimport { RegNameSearchComponent } from './reg-search/pages/reg-name-search/reg-name-search.component';\r\nimport { RegAddressSearchComponent } from './reg-search/pages/reg-address-search/reg-address-search.component';\r\nimport { RegDateSearchComponent } from './reg-search/pages/reg-date-search/reg-date-search.component';\r\nimport { RegCertificateSearchComponent } from './reg-search/pages/reg-certificate-search/reg-certificate-search.component';\r\nimport { RegValueSearchComponent } from './reg-search/pages/reg-value-search/reg-value-search.component';\r\nimport { RegOwnerSearchComponent } from './reg-search/pages/reg-owner-search/reg-owner-search.component';\r\nimport { RegDocumentNoSearchComponent } from './reg-search/pages/reg-document-no-search/reg-document-no-search.component';\r\nimport { CompundNameOwnerComponent } from './shared/components/compund-name-owner/compund-name-owner.component';\r\nimport { CertificateNoComponent } from './shared/components/certificate-no/certificate-no.component';\r\nimport { RegNameResultPgComponent } from './reg-search/pages/reg-name-result-pg/reg-name-result-pg.component';\r\nimport { RegAddressResultPgComponent } from './reg-search/pages/reg-address-result-pg/reg-address-result-pg.component';\r\nimport { RegDateResultPgComponent } from './reg-search/pages/reg-date-result-pg/reg-date-result-pg.component';\r\nimport { RegValueResultPgComponent } from './reg-search/pages/reg-value-result-pg/reg-value-result-pg.component';\r\nimport { RegOwnerResultPgComponent } from './reg-search/pages/reg-owner-result-pg/reg-owner-result-pg.component';\r\nimport { RegNameSearchHeaderComponent } from './reg-search/components/reg-name-search-header/reg-name-search-header.component';\r\nimport { RegAddressSearchHeaderComponent } from './reg-search/components/reg-address-search-header/reg-address-search-header.component';\r\nimport { RegDateSearchHeaderComponent } from './reg-search/components/reg-date-search-header/reg-date-search-header.component';\r\nimport { RegOwnerSearchHeaderComponent } from './reg-search/components/reg-owner-search-header/reg-owner-search-header.component';\r\nimport { RegValueSearchHeaderComponent } from './reg-search/components/reg-value-search-header/reg-value-search-header.component';\r\nimport { RegNameSearchGridComponent } from './reg-search/components/reg-name-search-grid/reg-name-search-grid.component';\r\nimport { RegAddressSearchGridComponent } from './reg-search/components/reg-address-search-grid/reg-address-search-grid.component';\r\nimport { RegDateSearchGridComponent } from './reg-search/components/reg-date-search-grid/reg-date-search-grid.component';\r\nimport { RegOwnerSearchGridComponent } from './reg-search/components/reg-owner-search-grid/reg-owner-search-grid.component';\r\nimport { RegValueSearchGridComponent } from './reg-search/components/reg-value-search-grid/reg-value-search-grid.component';\r\nimport { RegNameDocDispPgComponent } from './reg-search/pages/reg-name-doc-disp-pg/reg-name-doc-disp-pg.component';\r\nimport { RegAddressDocDispPgComponent } from './reg-search/pages/reg-address-doc-disp-pg/reg-address-doc-disp-pg.component';\r\nimport { RegCertificateDocDispPgComponent } from './reg-search/pages/reg-certificate-doc-disp-pg/reg-certificate-doc-disp-pg.component';\r\nimport { RegDateDocDispPgComponent } from './reg-search/pages/reg-date-doc-disp-pg/reg-date-doc-disp-pg.component';\r\nimport { RegDocumentNoDocDispPgComponent } from './reg-search/pages/reg-document-no-doc-disp-pg/reg-document-no-doc-disp-pg.component';\r\nimport { RegOwnerDocDispPgComponent } from './reg-search/pages/reg-owner-doc-disp-pg/reg-owner-doc-disp-pg.component';\r\nimport { RegValueDocDispPgComponent } from './reg-search/pages/reg-value-doc-disp-pg/reg-value-doc-disp-pg.component';\r\nimport { RegDocDetailComponent } from './reg-search/components/reg-doc-detail/reg-doc-detail.component';\r\nimport { RegDocImageComponent } from './reg-search/components/reg-doc-image/reg-doc-image.component';\r\nimport { PropertySearchPgComponent } from './prop-search/pages/property-search-pg/property-search-pg.component';\r\nimport { PropertySearchResultPgComponent } from './prop-search/pages/property-search-result-pg/property-search-result-pg.component';\r\nimport { PropertySearchDocDispPgComponent } from './prop-search/pages/property-search-doc-disp-pg/property-search-doc-disp-pg.component';\r\nimport { PropertySearchHeaderComponent } from './prop-search/components/property-search-header/property-search-header.component';\r\nimport { PropertySearchDocDetailComponent } from './prop-search/components/property-search-doc-detail/property-search-doc-detail.component';\r\nimport { PropertySearchDocImageComponent } from './prop-search/components/property-search-doc-image/property-search-doc-image.component';\r\nimport { PropertySearchGridComponent } from './prop-search/components/property-search-grid/property-search-grid.component';\r\nimport { CityTownExLcComponent } from './reg-search/components/city-town-ex-lc/city-town-ex-lc.component';\r\nimport { DocTypeExLcComponent } from './reg-search/components/doc-type-ex-lc/doc-type-ex-lc.component';\r\nimport { RegCertImageComponent } from './reg-search/components/reg-cert-image/reg-cert-image.component';\r\nimport { RegEncumbrancesComponent } from './reg-search/components/reg-encumbrances/reg-encumbrances.component';\r\nimport { RegCertDispPgComponent } from './reg-search/pages/reg-cert-disp-pg/reg-cert-disp-pg.component';\r\nimport { RegCertificateCertDispPgComponent } from './reg-search/pages/reg-certificate-cert-disp-pg/reg-certificate-cert-disp-pg.component';\r\nimport { ReportViewerComponent } from './shared/components/report-viewer/report-viewer.component';\r\nimport { ReportViewerPlanComponent } from './shared/components/report-viewer-plan/report-viewer-plan.component';\r\nimport { RecValueSearchHeaderComponent } from './rec-search/components/rec-value-search-header/rec-value-search-header.component';\r\nimport { RecValueSearchGridComponent } from './rec-search/components/rec-value-search-grid/rec-value-search-grid.component';\r\nimport { DateRangeParentComponent } from './shared/components/date-range-parent/date-range-parent.component';\r\nimport { DatePickerComponent } from './shared/components/date-picker/date-picker.component';\r\nimport { ShoppingBasketService } from '../app/shared/services/shopping-basket.service';\r\nimport { AuthenticationService } from '../app/shared/services/authentication.service';\r\nimport { CCPaymentService } from './shared/services/cc-payment-service';\r\nimport { EvalonPaymentService } from './shared/services/EvalonPayment.service'\r\nimport { basketVM } from './shared/viewmodels/basketVM';\r\nimport { DxReportViewer } from 'devexpress-reporting/dx-webdocumentviewer';\r\nimport { NgxExtendedPdfViewerModule } from 'ngx-extended-pdf-viewer';\r\nimport { EvalonPaymentComponent } from './shared/components/EvalonPayment/Evalon.component'\r\nimport { EvalonLightboxComponent } from './shared/components/EvalonLightbox/EvalonLightbox.component'\r\nimport { BrowserAnimationsModule } from '@angular/platform-browser/animations';\r\n\r\n\r\n@NgModule({\r\n declarations: [\r\n AppComponent,\r\n DocBasketExComponent,\r\n DocBasketAddComponent,\r\n ContainsComponent,\r\n SelectIndexComponent,\r\n PropSearchComponentES,\r\n DocCategoryEX2Component,\r\n DateRangePSComponent,\r\n AddressComponent,\r\n MyCityTownEXComponent,\r\n RecPlanNameSearchComponent,\r\n RecPlanBpSearchComponent,\r\n RecPlanPlannumSearchComponent,\r\n NameComponent,\r\n PlanroleComponent,\r\n PlanNumComponent,\r\n RegPlanAddressSearchComponent,\r\n RegPlanCertificateSearchComponent,\r\n PlanCertificateNoComponent,\r\n RecPlanNameResultPgComponent,\r\n RecPlanNameDocDispPgComponent,\r\n RecPlanBpDocDispPgComponent,\r\n RecPlanPlannumDocDispPgComponent,\r\n RecPlanNameSearchGridComponent,\r\n RecPlanNameSearchHeaderComponent,\r\n RecPlanDocDetailComponent,\r\n RecPlanDocImageComponent,\r\n RecPlanBpSearchGridComponent,\r\n RecPlanBpSearchHeaderComponent,\r\n RecPlanPlannumSearchHeaderComponent,\r\n RecPlanPlannumSearchGridComponent,\r\n RecPlanPlannumResultPgComponent,\r\n RecPlanBpResultPgComponent,\r\n RegPlanAddressResultPgComponent,\r\n RegPlanAddressDocDispPgComponent,\r\n RegPlanAddressSearchHeaderComponent,\r\n RegPlanAddressSearchGridComponent,\r\n RegPlanDocImageComponent,\r\n RegPlanOwnerSearchComponent,\r\n RegPlanOwnerResultPgComponent,\r\n RegPlanOwnerDocDispPgComponent,\r\n RegPlanOwnerSearchHeaderComponent,\r\n RegPlanOwnerSearchGridComponent,\r\n RegPlanCertificateDocDispPgComponent,\r\n RegPlanCertSearchGridComponent,\r\n RegPlanCertificateResultPgComponent,\r\n RegPlanCertSearchHeaderComponent,\r\n PlanDownloadComponent,\r\n UnindexedRecordSearchComponent,\r\n DateRangeUnindexComponent,\r\n RoleTypeComponent,\r\n UnindexedRecordDocDispPgComponent,\r\n UnindexedRecordDocImageComponent,\r\n CompoundNameIdxComponent,\r\n LandingPageComponent,\r\n NavMenuComponent,\r\n NavMenuItemComponent,\r\n DocCategoryEX2Component,\r\n DateRangePSComponent,\r\n CompoundNameComponent,\r\n AddressComponent,\r\n CityTownEXComponent,\r\n RoleComponent,\r\n RoleComponent2,\r\n DaterangeComponent,\r\n DoccategoryexComponent,\r\n DoctypeexComponent,\r\n RecNameSearchGridComponent,\r\n RecNameSearchDetailComponent,\r\n RecNameSearchHeaderComponent,\r\n RecNameResultPgComponent,\r\n RecImageViewer,\r\n RecDocDetailParentComponent,\r\n RecDocDetailInfoComponent,\r\n RecAddressSearchComponent,\r\n CompoundAddressComponent,\r\n RecAddressResultPgComponent,\r\n RecAddressSearchHeaderComponent,\r\n RecAddressSearchGridComponent,\r\n RecAddressDocDispPgComponent,\r\n RecBpSearchComponent,\r\n RecBpDocDispPgComponent,\r\n BookPageComponent,\r\n RecdocComponent,\r\n RecDocSearchComponent,\r\n RecDocnumDocDispPgComponent,\r\n DocBasketComponent,\r\n RecNameDocDispPgComponent,\r\n RecNameSearchComponent,\r\n RecDateSearchComponent,\r\n RecDateResultPgComponent,\r\n RecDateSearchHeaderComponent,\r\n RecDateSearchGridComponent,\r\n RecDateDocDispPgComponent,\r\n RecValueSearchComponent,\r\n RecValueResultPgComponent,\r\n RecValueDocDispPgComponent,\r\n RecValueSearchHeaderComponent,\r\n AmountrangeComponent,\r\n DocCategoryVsComponent,\r\n RegNameSearchComponent,\r\n RegAddressSearchComponent,\r\n RegDateSearchComponent,\r\n RegCertificateSearchComponent,\r\n RegValueSearchComponent,\r\n RegOwnerSearchComponent,\r\n RegDocumentNoSearchComponent,\r\n CompundNameOwnerComponent,\r\n CertificateNoComponent,\r\n RegNameResultPgComponent,\r\n RegAddressResultPgComponent,\r\n RegDateResultPgComponent,\r\n RegValueResultPgComponent,\r\n RegOwnerResultPgComponent,\r\n RegNameSearchHeaderComponent,\r\n RegAddressSearchHeaderComponent,\r\n RegDateSearchHeaderComponent,\r\n RegOwnerSearchHeaderComponent,\r\n RegValueSearchHeaderComponent,\r\n RegNameSearchGridComponent,\r\n RegAddressSearchGridComponent,\r\n RegDateSearchGridComponent,\r\n RegOwnerSearchGridComponent,\r\n RegValueSearchGridComponent,\r\n RegNameDocDispPgComponent,\r\n RegAddressDocDispPgComponent,\r\n RegCertificateDocDispPgComponent,\r\n RegDateDocDispPgComponent,\r\n RegDocumentNoDocDispPgComponent,\r\n RegOwnerDocDispPgComponent,\r\n RegValueDocDispPgComponent,\r\n RegDocDetailComponent,\r\n RegDocImageComponent,\r\n PropertySearchPgComponent,\r\n PropertySearchDocDispPgComponent,\r\n PropertySearchHeaderComponent,\r\n PropertySearchDocDetailComponent,\r\n PropertySearchDocImageComponent,\r\n PropertySearchResultPgComponent,\r\n PropertySearchGridComponent,\r\n CityTownExLcComponent,\r\n DocTypeExLcComponent,\r\n RegCertImageComponent,\r\n RegEncumbrancesComponent,\r\n //RegCertDispPgComponent,\r\n RegCertificateCertDispPgComponent,\r\n ReportViewerComponent,\r\n ReportViewerPlanComponent,\r\n RecValueSearchGridComponent,\r\n DateRangeParentComponent,\r\n DatePickerComponent,\r\n EvalonPaymentComponent,\r\n EvalonLightboxComponent\r\n ],\r\n imports: [\r\n BrowserModule.withServerTransition({ appId: 'ng-cli-universal' }),\r\n BrowserAnimationsModule,\r\n CommonModule,\r\n FormsModule,\r\n ReactiveFormsModule,\r\n DxDataGridModule,\r\n DxSelectBoxModule,\r\n DxCheckBoxModule,\r\n DxTabPanelModule,\r\n DxTemplateModule,\r\n DxListModule,\r\n DxLoadPanelModule,\r\n DxDateBoxModule,\r\n DxValidatorModule,\r\n DxButtonModule,\r\n DxTooltipModule,\r\n DxPopupModule,\r\n DxReportViewerModule,\r\n ReactiveFormsModule,\r\n HttpClientModule,\r\n NgxExtendedPdfViewerModule,\r\n HeaderModule,\r\n StoreModule.forRoot({\r\n\r\n }),\r\n StoreModule.forFeature('coresearchdata', reducers),\r\n //StoreModule.forFeature('regsearchdata', regreducers),\r\n\r\n //LibRodCoreModule,\r\n RouterModule.forRoot([\r\n { path: '', component: LandingPageComponent, pathMatch: 'full' },\r\n { path: 'propsearch', redirectTo: '/rodcore', pathMatch: 'full' },\r\n { path: 'espropsearch', component: PropSearchComponentES },\r\n { path: 'rodcore', component: PropertySearchPgComponent, pathMatch: 'full', data: { title: 'South Bristol' } },\r\n { path: 'property-search-result-pg', component: PropertySearchResultPgComponent },\r\n { path: 'property-search-doc-disp-pg/:docId/:book/:page', component: PropertySearchDocDispPgComponent },\r\n { path: 'property-search-doc-disp-pg/:docId/:docNum', component: PropertySearchDocDispPgComponent },\r\n { path: 'rec-name-result-pg', component: RecNameResultPgComponent },\r\n { path: 'rec-image-viewer/:docId/:book/:page', component: RecImageViewer },\r\n { path: 'rec-doc-detail-parent/:docId/:book/:page', component: RecDocDetailParentComponent },\r\n { path: 'rec-address-search', component: RecAddressSearchComponent },\r\n { path: 'rec-address-search/:docType', component: RecAddressSearchComponent },\r\n { path: 'rec-address-result-pg', component: RecAddressResultPgComponent },\r\n { path: 'rec-address-doc-disp-pg/:docId/:book/:page', component: RecAddressDocDispPgComponent },\r\n { path: 'rec-address-doc-disp-pg/:docId/:book/:page/:index_page', component: RecAddressDocDispPgComponent },\r\n { path: 'rec-bp-search', component: RecBpSearchComponent },\r\n { path: 'rec-bp-doc-disp-pg/:book/:page', component: RecBpDocDispPgComponent },\r\n { path: 'rec-doc-search', component: RecDocSearchComponent },\r\n { path: 'rec-docnum-doc-disp-pg/:docId', component: RecDocnumDocDispPgComponent },\r\n { path: 'rec-name-doc-disp-pg/:docId/:book/:page', component: RecNameDocDispPgComponent },\r\n { path: 'rec-name-search', component: RecNameSearchComponent },\r\n { path: 'rec-date-search', component: RecDateSearchComponent },\r\n { path: 'rec-date-result-pg', component: RecDateResultPgComponent },\r\n { path: 'rec-value-search', component: RecValueSearchComponent },\r\n { path: 'rec-value-result-pg', component: RecValueResultPgComponent },\r\n { path: 'reg-name-search', component: RegNameSearchComponent },\r\n { path: 'reg-name-result-pg', component: RegNameResultPgComponent },\r\n { path: 'reg-name-doc-disp-pg/:docId/:docNum', component: RegNameDocDispPgComponent },\r\n { path: 'reg-cert-disp-pg/:certNum/:certId/:linkname', component: RegCertDispPgComponent },\r\n { path: 'reg-address-search', component: RegAddressSearchComponent },\r\n { path: 'reg-address-result-pg', component: RegAddressResultPgComponent },\r\n { path: 'reg-address-doc-disp-pg/:docId/:docNum', component: RegAddressDocDispPgComponent },\r\n { path: 'reg-date-search', component: RegDateSearchComponent },\r\n { path: 'reg-date-result-pg', component: RegDateResultPgComponent },\r\n { path: 'reg-date-doc-disp-pg/:docId/:docNum', component: RegDateDocDispPgComponent },\r\n { path: 'reg-owner-search', component: RegOwnerSearchComponent },\r\n { path: 'reg-owner-result-pg', component: RegOwnerResultPgComponent },\r\n { path: 'reg-owner-doc-disp-pg/:docId/:docNum', component: RegOwnerDocDispPgComponent },\r\n { path: 'reg-value-search', component: RegValueSearchComponent },\r\n { path: 'reg-value-result-pg', component: RegValueResultPgComponent },\r\n { path: 'reg-value-doc-disp-pg/:docId/:docNum', component: RegValueDocDispPgComponent },\r\n { path: 'reg-document-no-search', component: RegDocumentNoSearchComponent },\r\n { path: 'reg-document-no-doc-disp-pg/:docNum', component: RegDocumentNoDocDispPgComponent },\r\n { path: 'reg-document-no-doc-disp-pg/:docID/:docNum', component: RegDocumentNoDocDispPgComponent },\r\n { path: 'reg-certificate-search', component: RegCertificateSearchComponent },\r\n { path: 'reg-certificate-cert-disp-pg/:certNum/:certId/:linkname', component: RegCertificateCertDispPgComponent },\r\n //{ path: 'reg-certificate-cert-disp-pg/:certNum', component: RegCertificateCertDispPgComponent },\r\n { path: 'reg-certificate-doc-disp-pg/:docId/:docNum', component: RegCertificateDocDispPgComponent },\r\n { path: 'report-viewer/:repName', component: ReportViewerComponent },\r\n { path: 'rec-plan-name-search', component: RecPlanNameSearchComponent },\r\n { path: 'rec-plan-name-result-pg', component: RecPlanNameResultPgComponent },\r\n { path: 'rec-plan-name-doc-disp-pg/:book/:page/:bookType', component: RecPlanNameDocDispPgComponent },\r\n { path: 'rec-plan-plannum-search', component: RecPlanPlannumSearchComponent },\r\n { path: 'rec-plan-plannum-result-pg', component: RecPlanPlannumResultPgComponent },\r\n { path: 'rec-plan-plannum-doc-disp-pg/:book/:page/:bookType', component: RecPlanPlannumDocDispPgComponent },\r\n { path: 'rec-plan-bp-search', component: RecPlanBpSearchComponent },\r\n { path: 'rec-plan-bp-result-pg', component: RecPlanBpResultPgComponent },\r\n { path: 'rec-plan-bp-doc-disp-pg/:book/:page/:bookType', component: RecPlanBpDocDispPgComponent },\r\n { path: 'reg-plan-address-search', component: RegPlanAddressSearchComponent },\r\n { path: 'reg-plan-address-result-pg', component: RegPlanAddressResultPgComponent },\r\n { path: 'reg-plan-address-doc-disp-pg/:planname', component: RegPlanAddressDocDispPgComponent },\r\n { path: 'reg-plan-certificate-search', component: RegPlanCertificateSearchComponent },\r\n { path: 'reg-plan-certificate-result-pg', component: RegPlanCertificateResultPgComponent },\r\n { path: 'reg-plan-certificate-doc-disp-pg/:imagetypeid/:planname', component: RegPlanCertificateDocDispPgComponent },\r\n { path: 'reg-plan-owner-search', component: RegPlanOwnerSearchComponent },\r\n { path: 'reg-plan-owner-result-pg', component: RegPlanOwnerResultPgComponent },\r\n { path: 'reg-plan-owner-doc-disp-pg/:planname', component: RegPlanOwnerDocDispPgComponent },\r\n { path: 'unindexed-record-search1/:majorgroup', component: UnindexedRecordSearchComponent },\r\n { path: 'unindexed-record-search2/:majorgroup', component: UnindexedRecordSearchComponent },\r\n { path: 'unindexed-record-search3/:majorgroup', component: UnindexedRecordSearchComponent },\r\n { path: 'unindexed-record-search4/:majorgroup', component: UnindexedRecordSearchComponent },\r\n { path: 'unindexed-record-search5/:majorgroup', component: UnindexedRecordSearchComponent },\r\n { path: 'unindexed-record-doc-disp-pg/:indexbook/:indexgroup/:indexpage/:dategroup', component: UnindexedRecordDocDispPgComponent },\r\n ]\r\n )\r\n ],\r\n providers: [\r\n NavMenuService,\r\n RecSearchService,\r\n CityTownExService,\r\n AuthenticationService,\r\n ShoppingBasketService,\r\n CCPaymentService,\r\n EvalonPaymentService\r\n ],\r\n exports: [\r\n CommonModule,\r\n CompoundNameComponent,\r\n /*CompoundNameComponent2,*/\r\n CityTownEXComponent,\r\n DaterangeComponent,\r\n BookPageComponent,\r\n DateRangeParentComponent,\r\n DatePickerComponent,\r\n /*ImageViewerComponent,*/\r\n /* ImageViewerModule,*/\r\n DxPopupModule,\r\n DocBasketComponent,\r\n DocBasketAddComponent,\r\n DocBasketExComponent\r\n\r\n ],\r\n bootstrap: [AppComponent],\r\n schemas: [CUSTOM_ELEMENTS_SCHEMA]\r\n})\r\nexport class AppModule { }\r\n","import { Component, EventEmitter, OnInit, Input, Output, Renderer2, SimpleChanges, ViewChild, HostListener, Inject, ChangeDetectionStrategy, NgZone } from '@angular/core';\nimport { Router, ActivatedRoute, ParamMap } from '@angular/router';\nimport { AuthenticationService } from '../shared/services/authentication.service';\nimport { basketVM } from '../shared/viewmodels/basketVM';\nimport { ccPaymentVM } from '../shared/viewmodels/ccPaymentVM';\nimport { ShoppingBasketService } from '../shared/services/shopping-basket.service';\nimport { CCPaymentService } from '../shared/services/cc-payment-service';\nimport { DocBasketExComponent } from '../shared/components/doc-basket-ex/doc-basket-ex.component';\nimport { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { MatMenuModule } from '@angular/material/menu';\n\n@Component({\n selector: 'app-header',\n templateUrl: './header.component.html',\n styleUrls: ['./header.component.css']\n})\nexport class HeaderComponent implements OnInit {\n\n loginLink: string = \"\";\n menuItems: any;\n @Input() basketItems: Array;\n basketItem: basketVM;\n ccPmt: ccPaymentVM;\n evtEmitter = new EventEmitter();\n @ViewChild(DocBasketExComponent, { static: false }) docBasketChild;\n\n constructor(private router: Router, public service: AuthenticationService, private SBservice: ShoppingBasketService, private ccPmtSvc: CCPaymentService) {\n this.basketItems = new Array();\n this.ccPmt = new ccPaymentVM();\n\n if (localStorage.getItem(\"basket\") !== null && localStorage.getItem(\"basket\").length > 0) {\n this.basketItems = JSON.parse(localStorage.getItem(\"basket\"));\n //localStorage.clear();\n }\n }\n\n async ngOnInit() {\n //this.router.navigate(['/']);\n\n //figure out what the role of the machine is\n let loc = localStorage.getItem(\"machineLocation\");\n console.log('loc ' + loc);\n if (loc === undefined || loc === null || loc === '0')\n this.service.showLogin = true;\n else\n this.service.showLogin = false;\n\n if (localStorage.getItem('uid') === null || localStorage.getItem('guid') === null)\n this.service.loginLink = \"Login\";\n else {\n //check if guid is valid\n if (localStorage.getItem('guid') > '') {\n await this.service.ValidateGuid();\n console.log('ret - ' + this.service.success);\n if (this.service.success > 0) {\n //valid session\n console.log('true');\n this.service.isLoggedIn = true;\n this.service.loginLink = localStorage.getItem('uid');\n this.service.uid = localStorage.getItem('uid');\n this.service.guid = localStorage.getItem('guid');\n }\n else {\n console.log('false');\n this.service.loginLink = \"Login\";\n }\n }\n else {\n }\n }\n }\n\n async getCredentials() {\n //console.log('login call');\n await this.service.getCredentials();\n this.router.navigate(['/']);\n }\n\n //getBasket() {\n // console.log('get basket');\n //}\n\n //logout() {\n // //console.log('login call');\n // this.service.logout();\n //}\n\n changePassword() {\n //console.log('login call');\n this.service.changePassword();\n }\n\n menuClick(item) {\n\n if (item === 1)\n this.service.getAccountActivity();\n\n else if (item === 2)\n this.service.logout();\n\n }\n\n}\n","\r\n\r\n
\r\n \r\n \r\n

South Bristol
Registry of Deeds

\r\n \r\n\r\n\r\n
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n\r\n
\r\n
\r\n\r\n\r\n\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { RouterModule } from '@angular/router'; // Import RouterModule\r\nimport { MatMenuModule } from '@angular/material/menu';\r\nimport { MatButtonModule } from '@angular/material/button';\r\nimport { MatIconModule } from '@angular/material/icon';\r\nimport { HeaderComponent } from './header.component';\r\n\r\n@NgModule({\r\n declarations: [HeaderComponent],\r\n imports: [\r\n CommonModule,\r\n MatMenuModule, // Import the MatMenuModule for matMenu\r\n MatButtonModule, // If you are using buttons with the menu\r\n MatIconModule,\r\n RouterModule, // Add RouterModule here\r\n ],\r\n exports: [HeaderComponent], // Export HeaderComponent if it will be used in other modules\r\n})\r\nexport class HeaderModule { }\r\n","import { Component, OnInit, ChangeDetectionStrategy } from '@angular/core';\r\nimport { NavMenuService } from '../shared/services/nav-menu-service';\r\nimport { Router, RoutesRecognized, ActivatedRoute } from '@angular/router';\r\nimport { filter, startWith, takeUntil, pairwise } from 'rxjs/operators';\r\nimport { LandingPageService } from './landing-page.service'\r\nimport { ValidMachine } from '../shared/viewmodels/ISearchService';\r\nimport Swal from 'sweetalert2';\r\n\r\n@Component({\r\n selector: 'app-landing-page',\r\n providers: [LandingPageService],\r\n templateUrl: './landing-page.component.html',\r\n styleUrls: ['./landing-page.component.css'],\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class LandingPageComponent implements OnInit {\r\n\r\n machineObj: ValidMachine;\r\n machineId: string;\r\n stationId: string;\r\n machineLocation: number;\r\n\r\n constructor(private nav: NavMenuService, private router: Router, private route: ActivatedRoute, private service: LandingPageService) { }\r\n\r\n async ngOnInit() {\r\n var x = window.location.href;\r\n\r\n var id = this.route.snapshot.params.machineId;\r\n\r\n //For local machines....... comment out for remote.....\r\n\r\n \r\n localStorage.removeItem(\"machineId\");\r\n localStorage.removeItem(\"machineLocation\");\r\n\r\n //if (id != 'DEEDS-PC1') {\r\n // localStorage.setItem(\"machineLocation\", '1')\r\n // localStorage.setItem(\"machineId\", 'VAULT');\r\n //} else {\r\n // localStorage.setItem(\"machineLocation\", '2')\r\n // localStorage.setItem(\"machineId\", 'DEEDS-PC1');\r\n //}\r\n\r\n //.....................................................\r\n\r\n //For remote machines....... comment out for local.....\r\n\r\n if (id === 'resetToWeb') {\r\n //reset back to web user\r\n localStorage.removeItem('machineId');\r\n this.machineLocation = 0;\r\n localStorage.setItem(\"machineLocation\", this.machineLocation.toString());\r\n\r\n } else if (id !== undefined) {\r\n localStorage.removeItem(\"machineId\");\r\n localStorage.removeItem(\"machineLocation\");\r\n await this.service.getValidMachine(id).toPromise()\r\n .then(data => {\r\n this.machineObj = data;\r\n this.machineId = data.validMachine;\r\n this.stationId = data.validStation;\r\n this.machineLocation = data.machineLocation;\r\n localStorage.setItem(\"machineId\", this.machineId);\r\n localStorage.setItem(\"machineLocation\", this.machineLocation.toString());\r\n });\r\n //this.service.getValidMachine(id).subscribe(\r\n // (data) => {\r\n // this.machineObj = data;\r\n // this.machineId = data.validMachine;\r\n // this.stationId = data.validStation;\r\n // this.machineLocation = data.machineLocation;\r\n // localStorage.setItem(\"machineId\", this.machineId);\r\n // localStorage.setItem(\"machineLocation\", this.machineLocation.toString());\r\n // });\r\n }\r\n else {\r\n this.machineId = localStorage.getItem(\"machineId\");\r\n let i = localStorage.getItem(\"machineLocation\")\r\n if (i !== undefined && i != null) {\r\n this.machineLocation = i == '1' ? 1 : i == '2' ? 2 : 0;\r\n localStorage.setItem(\"machineLocation\", this.machineLocation.toString());\r\n } else {\r\n this.machineLocation = 0\r\n localStorage.setItem(\"machineLocation\", '0');\r\n }\r\n }\r\n\r\n //GetParameters here????\r\n\r\n console.log('machine ' + this.machineLocation)\r\n //...................................................\r\n\r\n this.nav.show();\r\n this.router.events.pipe(\r\n filter(e => e instanceof RoutesRecognized),\r\n pairwise()\r\n ).subscribe((event: any[]) => {\r\n\r\n if (event[1].urlAfterRedirects.endsWith('/')) {\r\n this.nav.navItems.forEach(value => {\r\n if (value.isActive) {\r\n value.isActive = false;\r\n }\r\n });\r\n }\r\n });\r\n }\r\n\r\n linkClick(name) {\r\n console.log(`clicked ${name}`);\r\n\r\n this.nav.navItems.forEach(function (value) {\r\n console.log(value.name + value.isActive);\r\n if (value.isActive) {\r\n value.isActive = false;\r\n console.log('prev acive' + value.name);\r\n }\r\n if (value.name == name) {\r\n value.isActive = true;\r\n console.log('new active' + value.name + value.isActive);\r\n }\r\n\r\n }\r\n );\r\n if (name == 'RecordedLand') {\r\n this.router.navigate(['/rec-name-search']);\r\n }\r\n else if (name == 'registeredLand') {\r\n this.router.navigate(['/reg-name-search']);\r\n }\r\n else if (name == 'propertySearch') {\r\n this.router.navigate(['/propsearch']);\r\n }\r\n else if (name == 'RecordedLandPlans') {\r\n this.router.navigate(['/rec-plan-name-search']);\r\n }\r\n else if (name == 'RegisteredLandPlans') {\r\n this.router.navigate(['/reg-plan-address-search']);\r\n }\r\n else if (name == 'UnindexedRecords') {\r\n this.router.navigate(['/unindexed-record-search1/1640-1799']);\r\n }\r\n\r\n \r\n }\r\n\r\n}\r\n","
\r\n
\r\n
\r\n
\r\n

Searches available to our customers:

\r\n

 

\r\n
\r\n
\r\n \r\n
\r\n
 
\r\n
\r\n
\r\n \r\n
\r\n

Recorded Land

\r\n

You may search the Recorded Land records by date range, name, address, document type, and Book/Page reference. These searches will provide index information stored on the system; you may also view document images, and download them to your own system.

\r\n
\r\n
\r\n
\r\n
 
\r\n
\r\n
\r\n \r\n
\r\n

Registered Land

\r\n

You may search the Registered Land records by date range, name, address, and/or document type. These searches will provide index information stored on the system and allow you to download document images. You may also view the certificates issued as a result of the registration process.

\r\n
\r\n
\r\n
\r\n
 
\r\n
\r\n
\r\n \r\n
\r\n

Recorded Land Plans

\r\n

This search provides access to non-Registered Land plans that have been recorded or filed with the Registry.

\r\n
\r\n
\r\n
\r\n
 
\r\n
\r\n
\r\n \r\n
\r\n

Registered Land Plans

\r\n

This search provides access to plans that originate with the Land Court that are attached to specific Certificates of Title.

\r\n
\r\n
\r\n
\r\n
 
\r\n
\r\n
\r\n \r\n
\r\n

Unindexed Records

\r\n

We are diligently working with our new system to provide access to older records that may not be electronically index. Stay tuned to this page for the latest imformation, as we implement access to these records.

\r\n \r\n
\r\n
\r\n
\r\n
\r\n","import { Injectable, Inject } from '@angular/core';\r\nimport { HttpClient, HttpParams, HttpErrorResponse, HttpHeaders, HttpResponseBase, HttpResponse } from '@angular/common/http';\r\nimport { ValidMachine } from '../shared/viewmodels/ISearchService';\r\n\r\n@Injectable()\r\nexport class LandingPageService {\r\n myAppUrl: string = \"\";\r\n\r\n constructor(private _http: HttpClient, @Inject('BASE_URL') baseUrl: string) {\r\n this.myAppUrl = baseUrl;\r\n }\r\n\r\n getValidMachine(machineId: string) {\r\n const params = new HttpParams().set('MachineId', machineId);\r\n return this._http.get(this.myAppUrl + 'api/CoreData/GetValidMachine?MachineID=' + machineId);\r\n }\r\n}\r\n","import { Component, OnInit, Input, Renderer2 } from '@angular/core';\r\nimport { NavMenuItem } from '../../shared/viewmodels/NavMenuItem';\r\nimport { NavMenuService } from '../../shared/services/nav-menu-service';\r\n\r\n@Component({\r\n selector: 'app-nav-menu-item',\r\n templateUrl: './nav-menu-item.component.html',\r\n styleUrls: ['./nav-menu-item.component.css']\r\n})\r\nexport class NavMenuItemComponent implements OnInit {\r\n @Input() Item: NavMenuItem;\r\n @Input() DataParent: string;\r\n renderer: Renderer2;\r\n nav: any;\r\n\r\n constructor(service: NavMenuService) {\r\n this.nav = service;\r\n }\r\n //toggleCollapsed() {\r\n // console.log('Click worked');\r\n // console.log(this.nav.isShown);\r\n // this.nav.isShown = false;\r\n // //this.isShown = true;\r\n // //this.collapse = !this.collapse;\r\n // console.log(this.nav.isShown);\r\n // this.nav.toggleMenu = this.nav.isShown;\r\n //}\r\n\r\n expandMenu(name) {\r\n console.log('active menu' + name);\r\n\r\n this.nav.navItems.forEach(function(value) {\r\n console.log(value.name + value.isActive);\r\n if (value.isActive) {\r\n value.isActive = false;\r\n console.log('prev acive' + value.name);\r\n }\r\n if (value.name == name) {\r\n value.isActive = true;\r\n console.log('new active' + value.name + value.isActive);\r\n }\r\n\r\n }\r\n );\r\n\r\n }\r\n\r\n ngOnInit() {\r\n\r\n }\r\n\r\n}\r\n","
\r\n
\r\n \r\n 0 ; else Propsearch\">\r\n \r\n {{ Item.displayName }}\r\n \r\n \r\n \r\n \r\n {{ Item.displayName }}\r\n \r\n \r\n\r\n
\r\n 0\">\r\n
\r\n
\r\n \r\n {{link.displayName}} \r\n \r\n
\r\n \r\n \r\n {{link.displayName}} \r\n \r\n \r\n
\r\n
\r\n
\r\n","import { Component, ViewChild } from '@angular/core';\r\nimport { NavMenuService } from '../shared/services/nav-menu-service';\r\nimport {\r\n trigger,\r\n state,\r\n style,\r\n animate,\r\n transition\r\n} from '@angular/animations';\r\nimport { NavMenuItem } from '../shared/viewmodels/NavMenuItem';\r\n\r\n@Component({\r\n selector: 'app-nav-menu',\r\n templateUrl: './nav-menu.component.html',\r\n styleUrls: ['./nav-menu.component.css']\r\n})\r\nexport class NavMenuComponent {\r\n isExpanded: boolean = false;\r\n menuItems: NavMenuItem[];\r\n constructor(public nav: NavMenuService) {\r\n this.menuItems = this.nav.getMenu();\r\n }\r\n\r\n collapse: boolean = false;\r\n\r\n toggleCollapse() {\r\n this.collapse = !this.collapse;\r\n this.nav.toggleMenu = this.collapse;\r\n\r\n }\r\n\r\n\r\n\r\n}\r\n","\r\n\r\n\r\n","import { Component, OnInit } from '@angular/core';\nimport { CityTownVM } from './CityTownVM';\r\nimport { Observable } from 'rxjs';\r\nimport { CityTownExService } from './city-town-ex.service';\r\n\n@Component({\n selector: 'myapp-city-town-ex',\n templateUrl: './city-town-ex.component.html',\n styleUrls: ['./city-town-ex.component.css'],\n providers: [CityTownExService]\n})\nexport class MyCityTownEXComponent implements OnInit {\n\n\n public citytowns$: Observable;\n public isLoading: boolean = true;\n public citytowns: CityTownVM[];\n error: any;\r\n toggleCheck: boolean = false;\r\n\n constructor(private service: CityTownExService) {\n //this.populateCityTowns();\n }\n populateCityTowns() {\r\n\r\n // this.selectedcities = new Array();\r\n\r\n this.service.getCityTown().subscribe(\r\n data => {\r\n\r\n this.citytowns = data\r\n this.citytowns.forEach(function (value) {\r\n value[\"isChecked\"] = false;\r\n console.log(value);\r\n } \r\n );\r\n this.isLoading = false;\r\n },\r\n error => { this.error = error }\r\n );\r\n\r\n }\r\n\n ngOnInit() {\n //this.citytowns$ = this.service.getCityTown();\n this.populateCityTowns();\n }\n checkAll(event) {\r\n if (this.toggleCheck) {\r\n this.citytowns.forEach(function (val) {\r\n val[\"isChecked\"] = false;\r\n });\r\n }\r\n else {\r\n this.citytowns.forEach(function (val) {\r\n val[\"isChecked\"] = true;\r\n });\r\n }\r\n this.toggleCheck = !this.toggleCheck;\r\n }\r\n\n}\n","
\r\n \r\n
\r\n Loading Cities And Towns ...\r\n
\r\n \r\n\r\n
\r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n
\r\n\r\n","import { Injectable, Inject } from '@angular/core';\r\nimport { HttpClient } from '@angular/common/http';\r\nimport { CityTownVM } from './CityTownVM';\r\n\r\n@Injectable()\r\nexport class CityTownExService {\r\n myAppUrl: string = \"\";\r\n\r\n constructor(private _http: HttpClient, @Inject('BASE_URL') baseUrl: string) {\r\n this.myAppUrl = baseUrl;\r\n }\r\n getCityTown() {\r\n\r\n return this._http.get(this.myAppUrl + 'api/CoreData/GetCityTown');\r\n }\r\n\r\n}\r\n","import { Component, OnInit } from '@angular/core';\n\n@Component({\n selector: 'app-date-range-ps',\n templateUrl: './date-range-ps.component.html',\n styleUrls: ['./date-range-ps.component.css']\n})\nexport class DateRangePSComponent implements OnInit {\n\n constructor() { }\n\n ngOnInit() {\n }\n\n}\n","
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { Store } from '@ngrx/store';\r\nimport { AppState, getCoreSearchState } from '../../../store/reducers/reducers';\r\nimport { FormBuilder, FormGroup, ValidationErrors } from '@angular/forms';\r\nimport { DocCategories2CIF } from '../../../shared/viewmodels/UtilityObj';\r\n\r\n@Component({\r\n selector: 'app-doc-category-ex2',\r\n templateUrl: './doc-category-ex2.component.html',\r\n styleUrls: ['./doc-category-ex2.component.css']\r\n})\r\nexport class DocCategoryEX2Component implements OnInit {\r\n\r\n public DocCategories2: DocCategories2CIF;\r\n public group: DocCategories2CIF;\r\n message: any;\r\n\r\n public form: FormGroup;\r\n\r\n constructor(private store: Store, private fb: FormBuilder) {\r\n this.group = new DocCategories2CIF();\r\n this.store.select(getCoreSearchState).subscribe(data => {\r\n this.message = data;\r\n console.log(`DocCategories2 from store: ${JSON.stringify(data.docCategories2.docCategories2[0])}`);\r\n });\r\n\r\n if (this.message.docCategories2.docCategories2[0] != null) {\r\n //this.DocCategories2.allDocuments = this.message.docCategories2[0].allDocuments;\r\n //this.DocCategories2.deeds = this.message.docCategories2[0].deeds;\r\n //this.DocCategories2.discharges = this.message.docCategories2[0].discharges;\r\n //this.DocCategories2.foreclosures = this.message.docCategories2[0].foreclosures;\r\n //this.DocCategories2.homestead = this.message.docCategories2[0].homestead;\r\n //this.DocCategories2.liensAndMortgages = this.message.docCategories2[0].liensAndMortgages;\r\n this.group = this.message.docCategories2.docCategories2[0];\r\n console.log(`group in control constructor: ${JSON.stringify(this.group)}`);\r\n }\r\n }\r\n\r\n ngOnInit() {\r\n this.form = this.fb.group({\r\n 'group': [this.group.docCategory],\r\n });\r\n\r\n //This valueChanges subscription may not be necessary since\r\n //we have [ngModel] binding in the template.\r\n this.form.valueChanges.subscribe((value) => {\r\n console.log(`group valueChanges: ${JSON.stringify(value)}`);\r\n \r\n if (this.form.valid) {\r\n //this.DocCategories2.allDocuments = value.AllDocuments;\r\n //this.DocCategories2.discharges = value.Discharges;\r\n //this.DocCategories2.deeds = value.Deeds;\r\n //this.DocCategories2.foreclosures = value.Foreclosures;\r\n //this.DocCategories2.homestead = value.Homestead;\r\n //this.DocCategories2.liensAndMortgages = value.LiensAndMortgages;\r\n console.log(`value.group: ${JSON.stringify(value.group)}`);\r\n //this.group.docCategory = value.group;\r\n this.group = value.group;\r\n console.log(`group in valueChanges: ${JSON.stringify(this.group)}`);\r\n\r\n }\r\n });\r\n\r\n }\r\n\r\n ValidateRequired(control: FormGroup): ValidationErrors | null {\r\n\r\n const deeds = control.get('Deeds').value;\r\n const hmstd = control.get('Homestead').value;//make sure this is boolean\r\n const frclsrs = control.get('Foreclosures').value;\r\n const liensAndMort = control.get('LiensAndMortgages').value;\r\n const discharges = control.get('Discharges').value;\r\n const alldocs = control.get('AllDocuments').value;\r\n\r\n if (!deeds && !hmstd && !frclsrs && !liensAndMort && !discharges && !alldocs) return {oneisrequired: true};\r\n\r\n return null;\r\n }\r\n\r\n}\r\n","
\r\n
\r\n \r\n  \r\n
\r\n \r\n
\r\n Please select at least one\r\n
\r\n
\r\n\r\n","import { Component, OnInit, Input, EventEmitter, Output } from '@angular/core';\nimport { InstrumentVM } from '../../../shared/viewmodels/ISearchService';\r\n\n@Component({\n selector: 'app-property-search-doc-detail',\n templateUrl: './property-search-doc-detail.component.html',\n styleUrls: ['./property-search-doc-detail.component.css']\n})\nexport class PropertySearchDocDetailComponent implements OnInit {\n\n @Input() recDocVM: any;\n @Input() loadingVisible: boolean = true;\n @Output() moveToRef = new EventEmitter();\n @Input() book: string;\n @Input() page: string;\n @Input() isImgVwVisible: boolean;\n\n constructor() {\n console.log(\"info cons\");\n\n //this.referrences[0].items = this.recDocVM.docRefTo;\n //this.referrences[1].items = this.recDocVM.docRefBy;\n\n }\n\n ngOnInit() {\n // console.log(\"detail info\"+this.recDocVM.docID);\n }\n\n ItemClick(e) {\n if (e === null) {\n console.log('ItemClick fired and event is null');\n }\n else {\n console.log(`ItemClick fired: ${e.itemData}`);\n let payload = e.itemData as InstrumentVM;\n console.log(`primaryID: ${payload.primaryID}`);\n console.log(`secondaryID: ${payload.secondaryID}`);\n this.moveToRef.emit(payload);\n }\n }\n\n}\n","
\r\n

Date {{recDocVM.docDetail.recDate | date:'MM-dd-yyyy'}} Time {{recDocVM.docDetail.recDate | date:'h:mm a'}}

\r\n \r\n

Type {{recDocVM.docDetail.primaryID}}/{{recDocVM.docDetail.secondaryID}}/{{recDocVM.docDetail.docType}}

\r\n

\r\n Address, City/Town\r\n

\r\n
\r\n

Instrument No. {{recDocVM.docDetail.docID}}

\r\n \r\n \r\n
\r\n
\r\n\r\n
\r\n

Grantors

\r\n \r\n \r\n
\r\n {{dtor.lastCorpName}}, {{dtor.fName}}\r\n
\r\n \r\n {{dtor.lastCorpName}}\r\n \r\n
\r\n
\r\n
\r\n
\r\n

Grantees

\r\n \r\n \r\n
\r\n {{dtee.lastCorpName}}, {{dtee.fName}}\r\n
\r\n \r\n {{dtee.lastCorpName}}\r\n \r\n
\r\n
\r\n
\r\n
\r\n

Referred by

\r\n \r\n\r\n
\r\n {{item.docType}}:{{item.primaryID}}/{{item.secondaryID}}\r\n
\r\n\r\n
\r\n
\r\n
\r\n

Refers to

\r\n \r\n\r\n
\r\n {{item.docType}}:{{item.primaryID}}/{{item.secondaryID}}\r\n
\r\n\r\n
\r\n
\r\n
\r\n

Transaction Documents

\r\n \r\n\r\n
\r\n {{item.docType}}:{{item.primaryID}}/{{item.secondaryID}}\r\n
\r\n\r\n
\r\n
\r\n
\r\n

Consideration

\r\n

Locus

\r\n
\r\n \r\n
\r\n
\r\n\r\n\r\n\r\n\r\n\r\n\r\n","import { Component, OnInit } from '@angular/core';\n\n@Component({\n selector: 'app-property-search-doc-image',\n templateUrl: './property-search-doc-image.component.html',\n styleUrls: ['./property-search-doc-image.component.css']\n})\nexport class PropertySearchDocImageComponent implements OnInit {\n\n constructor() { }\n\n ngOnInit() {\n }\n\n}\n","

\n property-search-doc-image works!\n

\n","import { Component, OnInit, ViewChild } from '@angular/core';\r\n\r\nimport { DxDataGridComponent } from 'devextreme-angular';\r\nimport { SearchResult } from '../../property-search-service';\r\nimport { PropertySearchService } from '../../property-search-service';\r\nimport { Store } from '@ngrx/store';\r\nimport { AppState, getCoreSearchState } from '../../../store/reducers/reducers';\r\nimport { Router } from '@angular/router';\r\nimport { take } from 'rxjs/operators';\r\nimport { PropertySearchRowVM, GetProperySearchQuery, GetPropertySearchReportQuery, SearchFilter } from '../../../shared/viewmodels/ISearchService';\r\nimport { ReportViewerService } from '../../../shared/services/report-viewer.service';\r\n\r\n@Component({\r\n selector: 'app-property-search-grid',\r\n providers: [PropertySearchService, ReportViewerService],\r\n templateUrl: './property-search-grid.component.html',\r\n styleUrls: ['./property-search-grid.component.css']\r\n})\r\nexport class PropertySearchGridComponent {\r\n\r\n @ViewChild(DxDataGridComponent, {static: true}) dataGrid: DxDataGridComponent;\r\n public psresults: PropertySearchRowVM[];\r\n applyFilterTypes: any;\r\n currentFilter: any;\r\n showFilterRow: boolean;\r\n focusedRowKey: number;\r\n recordCount: number;\r\n towns: string[] = [];\r\n doctypes: string[] = [];\r\n //doccategories: string[] = [];\r\n group: number;\r\n userInput: any;\r\n public errorMsg;\r\n\r\n constructor(private service: PropertySearchService, private store: Store, private router: Router, private reportService: ReportViewerService) {\r\n this.store.select(getCoreSearchState).pipe(take(1)).subscribe(data => \r\n this.userInput = data);\r\n\r\n for (let city of this.userInput.city.city[0].citytowns) {\r\n if (city.isChecked)\r\n this.towns.push(city.townAbbrev);\r\n }\r\n\r\n //Group Mapping to integer goes here\r\n console.log(`docCategories2[0]: ${JSON.stringify(this.userInput.docCategories2[0])}`);\r\n switch (this.userInput.docCategories2.docCategories2[0].docCategory) {\r\n case \"allDocuments\": {\r\n this.group = 0;\r\n break;\r\n }\r\n case \"owner\": {\r\n this.group = 1;\r\n break;\r\n }\r\n case \"deeds\": {\r\n this.group = 2;\r\n break;\r\n }\r\n case \"discharges\": {\r\n this.group = 3;\r\n break;\r\n }\r\n case \"foreclosures\": {\r\n this.group = 4;\r\n break;\r\n }\r\n case \"homestead\": {\r\n this.group = 5;\r\n break;\r\n }\r\n case \"mortgages\": {\r\n this.group = 6;\r\n break;\r\n }\r\n case \"liensAndMortgages\": {\r\n this.group = 7;\r\n break;\r\n }\r\n default:\r\n this.group = 0;\r\n }\r\n\r\n\r\n //for (let doctype of this.userInput.doct[0].doctypes) {\r\n // if (doctype.isChecked)\r\n // this.doctypes.push(doctype.docCode);\r\n //}\r\n\r\n //if (this.userInput.docCategoriesVS[0].mortgages) {\r\n // this.doccategories.push(\"mortgages\");\r\n //}\r\n\r\n //if (this.userInput.docCategoriesVS[0].conveyances) {\r\n // this.doccategories.push(\"conveyances\");\r\n //}\r\n\r\n\r\n this.getPropertyResults();\r\n\r\n\r\n this.showFilterRow = true;\r\n this.applyFilterTypes = [{\r\n key: \"auto\",\r\n name: \"Immediately\"\r\n }, {\r\n key: \"onClick\",\r\n name: \"On Button Click\"\r\n }];\r\n\r\n this.currentFilter = this.applyFilterTypes[0].key;\r\n\r\n }\r\n\r\n getPropertyResults() {\r\n\r\n let query = new GetProperySearchQuery({\r\n lastName: this.userInput.name.name[0].lastcorpName,\r\n firstName: this.userInput.name.name[0].fName,\r\n fromDate: this.userInput.date.date[0].fromDate,\r\n toDate: this.userInput.date.date[0].toDate,\r\n towns: this.towns,\r\n group: this.group\r\n });\r\n\r\n console.log(`prop search query: ${JSON.stringify(query)}`);\r\n this.service.getPropertySearchResults(query).subscribe(\r\n data => {\r\n console.log(`prop search results:${JSON.stringify(data.propertySearchRows)}`);\r\n this.psresults = data.propertySearchRows;\r\n this.recordCount = this.psresults.length;\r\n }\r\n );\r\n }\r\n\r\n clearFilter() {\r\n this.dataGrid.instance.clearFilter();\r\n }\r\n\r\n onInitialized(e) {\r\n\r\n }\r\n imgClicked(event) {\r\n if (!this.dataGrid.instance.isRowSelected(event.row.key)) {\r\n this.dataGrid.instance.selectRows(event.row.key, false);\r\n }\r\n // this.nav.visible = false;\r\n\r\n\r\n }\r\n\r\n onExpanding(e) {\r\n this.focusedRowKey = e.component.option(\"focusedRowIndex\");\r\n this.focusedRowKey = e.key.index;\r\n e.component.collapseAll(-1);\r\n }\r\n\r\n assignTypes(filters: SearchFilter[]) {\r\n if (filters) {\r\n filters.forEach(fl => {\r\n if (fl.filterType == 'join') {\r\n this.assignTypes(fl.filters);\r\n } else {\r\n for (var prop in this.psresults[0]) {\r\n if (prop == fl.fieldName) {\r\n fl.fieldType = typeof this.psresults[0][prop];\r\n }\r\n }\r\n }\r\n\r\n });\r\n }\r\n }\r\n\r\n export() {\r\n\r\n var filtersUsed = this.dataGrid.instance.getCombinedFilter(true);// [[\"firstGrantor\", \"contains\", \"bed\"], \"and\", [\"firstGrantee\", \"contains\", \"or\"], \"and\", [\"recLandBook\", \"contains\", \"3\"]];//[[[\"recordDate\", \"<\", \"2000-04-03T04:00:00.000Z\"], \"or\", [\"recordDate\", \">=\", \"2000-04-04T04:00:00.000Z\"]], \"and\", [\"firstGrantor\", \"contains\", \"BED\"]];//\r\n var filters = new Array();\r\n var filterExpression = filtersUsed ? JSON.stringify(filtersUsed) : \"\";\r\n console.log(`filterExpression: ${filterExpression}`);\r\n var filterObjs = new Array();\r\n if (filterExpression) {\r\n var filtersOnGrid = SearchFilter.subHelper(filtersUsed, 0);\r\n filterObjs = [...filtersOnGrid];\r\n this.assignTypes(filterObjs);\r\n console.log(`filterObjs: ${JSON.stringify(filterObjs)}`);\r\n //filtersOnGrid.forEach(f => filters.push(JSON.stringify(f)));\r\n //console.log(`filters: ${JSON.stringify(filters)}`);\r\n }\r\n\r\n\r\n\r\n let query = new GetPropertySearchReportQuery({\r\n lastName: this.userInput.name.name[0].lastcorpName,\r\n firstName: this.userInput.name.name[0].fName,\r\n fromDate: this.userInput.date.date[0].fromDate,\r\n toDate: this.userInput.date.date[0].toDate,\r\n towns: this.towns,\r\n group: this.group,\r\n sortBy: new Array(),\r\n sortDirection: \"desc\",\r\n filterExpression: filterExpression,\r\n filterObjects: filterObjs\r\n });\r\n\r\n this.reportService.getPropertySearchReport(query).subscribe((reportName) => {\r\n //this.reportUrl = reportName.reportName;\r\n console.log(`rerportName: ${reportName.reportName}`);\r\n this.router.navigate([`/report-viewer/${reportName.reportName}`]);\r\n\r\n });\r\n\r\n\r\n }\r\n}\r\n","
{{errorMsg}}
\r\n\r\n\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n","import { Component, OnInit, Input } from '@angular/core';\nimport { Router } from '@angular/router';\r\nimport { NavMenuService } from '../../../shared/services/nav-menu-service';\r\nimport { Store } from '@ngrx/store';\r\nimport { AppState, getCoreSearchState } from '../../../store/reducers/reducers';\r\n\n@Component({\n selector: 'app-property-search-header',\n templateUrl: './property-search-header.component.html',\n styleUrls: ['./property-search-header.component.css']\n})\nexport class PropertySearchHeaderComponent implements OnInit {\n recs: any;\n @Input() recordCount!: number;\n towns: string[] = [];\n DocCategories2!: string;\n\n constructor(private router: Router, private store: Store, public nav: NavMenuService) {\n store.select(getCoreSearchState).subscribe(data => this.recs = data);\r\n\r\n for (let city of this.recs.city.city[0].citytowns) {\r\n if (city.isChecked)\r\n this.towns.push(city.townName);\r\n }\r\n\n }\n\n back(url) {\r\n try {\r\n this.nav.show();\r\n this.router.navigate([url]);\r\n }\r\n catch (error) {\r\n }\r\n\r\n }\r\n\n\n ngOnInit() {\n }\n\n}\n","\r\n\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n

Property Search Results

\r\n

\r\n Name: {{ recs.name.name[0].lastcorpName }} \r\n Date: {{recs.date.date[0].fromDate| date:'MM-dd-yyyy'}} to {{recs.date.date[0].toDate| date:'MM-dd-yyyy'}} City/Town: {{recordCount}} records found\r\n

\r\n
\r\n \r\n
\r\n
\r\n","import { Component, OnInit, ViewChild, HostListener } from '@angular/core';\r\nimport { ActivatedRoute, Router } from '@angular/router';\r\nimport { PropertySearchService } from '../../property-search-service';\r\nimport { InstrumentVM, RecDocVM } from '../../../shared/viewmodels/ISearchService';\r\nimport { RecSearchService } from '../../../rec-search/rec-search-service';\r\nimport { RegSearchService } from '../../../reg-search/reg-search-service';\r\nimport { RegDocImageComponent } from '../../../reg-search/components/reg-doc-image/reg-doc-image.component';\r\nimport { RecDocDetailParentComponent } from '../../../rec-search/components/rec-doc-detail-parent/rec-doc-detail-parent.component';\r\nimport { NgxExtendedPdfViewerComponent, PdfBreakpoints, pdfDefaultOptions } from 'ngx-extended-pdf-viewer';\r\n\r\n@Component({\r\n selector: 'app-property-search-doc-disp-pg',\r\n providers: [RecSearchService, RegSearchService],\r\n templateUrl: './property-search-doc-disp-pg.component.html',\r\n styleUrls: ['./property-search-doc-disp-pg.component.css']\r\n})\r\nexport class PropertySearchDocDispPgComponent implements OnInit {\r\n\r\n public docId: number;\r\n public docNum: string;\r\n public book: string;\r\n public page: string;\r\n collapsesideinfo: boolean = false;\r\n public record: any;\r\n error: any;\r\n public isImgVwVisible: boolean = true;\r\n public isLoadingDetail: boolean = true;\r\n public blobImage: string;\r\n @ViewChild(RegDocImageComponent) regDocImageChild: RegDocImageComponent;\r\n @ViewChild(RecDocDetailParentComponent) recDocDetailParentChild: RecDocDetailParentComponent;\r\n @ViewChild(NgxExtendedPdfViewerComponent, { static: false }) pdfViewer: NgxExtendedPdfViewerComponent;\r\n\r\n screenWidth: any;\r\n public linkname: string = \"/property-search-doc-disp-pg\"; \r\n\r\n\r\n constructor(private route: ActivatedRoute, private service: RecSearchService, private regservice: RegSearchService, private router: Router) {\r\n this.book = this.route.snapshot.paramMap.get('book');\r\n console.log('book: ' + this.book);\r\n this.page = this.route.snapshot.paramMap.get('page');\r\n console.log('page: ' + this.page);\r\n this.docId = Number(this.route.snapshot.paramMap.get('docId'));\r\n console.log('docId: ' + this.docId);\r\n this.docNum = this.route.snapshot.paramMap.get('docNum');\r\n this.isLoadingDetail = true;\r\n if (this.book != undefined && this.page != null) {\r\n this.service.getRecDoc(this.docId).subscribe(\r\n data => {\r\n this.record = data;\r\n this.isLoadingDetail = false;\r\n },\r\n error => { this.error = error }\r\n );\r\n }\r\n else {\r\n this.regservice.getRegDoc(this.docId).subscribe(\r\n data => {\r\n this.record = data;\r\n this.isLoadingDetail = false;\r\n },\r\n error => { this.error = error }\r\n );\r\n }\r\n }\r\n\r\n ngOnInit(): void {\r\n //throw new Error(\"Method not implemented.\");\r\n }\r\n\r\n back(url) {\r\n\r\n //this.router.navigate([url]);\r\n window.opener = 'Self';\r\n window.open('', '_parent', '');\r\n window.close();\r\n\r\n }\r\n\r\n\r\n toggleSideInfo() {\r\n this.collapsesideinfo = !this.collapsesideinfo;\r\n\r\n }\r\n\r\n loadRef(e: InstrumentVM) {\r\n console.log(`loadRef fired: ${e}`);\r\n this.isLoadingDetail = true;\r\n this.docId = e.docID;\r\n this.book = e.primaryID;\r\n this.page = e.secondaryID;\r\n if (this.book != null && this.page != null)\r\n this.recDocDetailParentChild.loadRef(e);\r\n else\r\n console.log(`Book or page is null`);\r\n //this.regDocImageChild.loadRef(e);\r\n this.isLoadingDetail = false;\r\n }\r\n\r\n @HostListener('window:resize', ['$event'])\r\n getScreenSize(event?) {\r\n this.screenWidth = window.innerWidth;\r\n }\r\n\r\n getIsImgVwVisible(e) {\r\n this.isImgVwVisible = e;\r\n }\r\n\r\n loadInfo(e) {\r\n this.record = e;\r\n }\r\n\r\n}\r\n","
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n \r\n
\r\n \r\n \r\n \r\n
\r\n\r\n
\r\n \r\n
\r\n\r\n \r\n\r\n","import { Component, OnInit, ViewChild } from '@angular/core';\nimport { FormGroup, NgForm, FormBuilder, FormControl } from '@angular/forms';\r\nimport { DocCategoryEX2Component } from '../../components/doc-category-ex2/doc-category-ex2.component';\r\nimport { DateRangePSComponent } from '../../components/date-range-ps/date-range-ps.component';\r\nimport { CompoundNameComponent } from '../../../shared/components/compound-name/compound-name.component';\r\nimport { CompoundAddressComponent } from '../../../shared/components/compound-address/compound-address.component';\r\nimport { CityTownEXComponent } from '../../../shared/components/city-town-ex/city-town-ex.component';\r\nimport { Router } from '@angular/router';\r\nimport { Store } from '@ngrx/store';\nimport { AppState } from '../../../store/reducers/reducers';\r\nimport * as CompoundNameActions from './../../../store/actions/compoundname.action';\nimport * as RoleActions from './../../../store/actions/role.action';\nimport * as DateRangeActions from './../../../store/actions/daterange.action';\nimport * as CityActions from './../../../store/actions/citytown.action';\nimport * as DocTypeActions from './../../../store/actions/doctype.action';\nimport * as AddressActions from '../../../store/actions/address.action';\r\nimport * as DocCategories2Actions from '../../../store/actions/doccategories2.action';\r\nimport { DaterangeComponent } from '../../../shared/components/daterange/daterange.component';\r\n\r\n\n@Component({\n selector: 'app-property-search-pg',\n templateUrl: './property-search-pg.component.html',\n styleUrls: ['./property-search-pg.component.css']\n})\nexport class PropertySearchPgComponent implements OnInit {\n\n @ViewChild(DocCategoryEX2Component, {static: false}) docCategoryEX2Child: DocCategoryEX2Component;\n @ViewChild(CompoundNameComponent) compoundNameChild!: CompoundNameComponent;\n //@ViewChild(CompoundAddressComponent) compoundAddressChild;\r\n @ViewChild(CityTownEXComponent) cityTownChild!: CityTownEXComponent;\n @ViewChild(DaterangeComponent) dateRangeChild!: DaterangeComponent;\r\n\n @ViewChild('f', {static: true}) propertySearchForm: NgForm;\n parentForm!: FormGroup;\n\n constructor(private router: Router, private store: Store, private fb: FormBuilder) { }\n\n ngOnInit() {\n\n this.parentForm = this.fb.group({\n });\n\n this.propertySearchForm.form = this.fb.group({});\n\n }\n\n addRecToStore() {\n this.store.dispatch(new CompoundNameActions.AddName({\n fName: this.compoundNameChild.utilityobj.fName,\n lastcorpName: this.compoundNameChild.utilityobj.lastcorpName\n }));\n //this.store.dispatch(new AddressActions.AddAddress({\r\n // streetNumber: this.compoundAddressChild.utilityobj.streetNumber,\r\n // streetAddress: this.compoundAddressChild.utilityobj.streetAddress\r\n //}));\r\n this.store.dispatch(new CityActions.AddCity({\r\n citytowns: this.cityTownChild.utilityobj.citytowns\r\n }));\r\n this.store.dispatch(new DateRangeActions.AddDate({\r\n fromDate: this.dateRangeChild.utilityobj.fromDate, \r\n toDate: this.dateRangeChild.utilityobj.toDate\r\n }));\r\n\r\n console.log(`docCategoryEX2Child.DocCategories2: ${JSON.stringify(this.docCategoryEX2Child.DocCategories2)}`);\r\n this.store.dispatch(new DocCategories2Actions.AddDocCategories2({\n //deeds: this.docCategoryEX2Child.DocCategories2.deeds,\n //homestead: this.docCategoryEX2Child.DocCategories2.homestead,\n //foreclosures: this.docCategoryEX2Child.DocCategories2.foreclosures,\n //liensAndMortgages: this.docCategoryEX2Child.DocCategories2.liensAndMortgages,\n //discharges: this.docCategoryEX2Child.DocCategories2.discharges,\n //allDocuments: this.docCategoryEX2Child.DocCategories2.allDocuments\n docCategory: this.docCategoryEX2Child.group.docCategory\n }));\n }\n /**\r\n * Delete input parameters from store.\r\n * @param index\r\n */\n delRecFromStore(index) {\n //this.store.dispatch(new RecActions.RemoveRec(index));\n this.store.dispatch(new CompoundNameActions.RemoveName(index));\n //this.store.dispatch(new AddressActions.RemoveAddress(index));\r\n this.store.dispatch(new CityActions.RemoveCity(index));\n this.store.dispatch(new DateRangeActions.RemoveDate(index));\r\n this.store.dispatch(new DocCategories2Actions.RemoveDocCategories2(index));\r\n\n }\n\n onSubmit(e) {\n if (this.propertySearchForm.valid) {\n\n this.delRecFromStore(0);\n\n this.addRecToStore();\n this.router.navigate(['/property-search-result-pg']);\n\n }\n else {\n this.validateAllFormFields(this.propertySearchForm.form);\n }\n }\n\n\n validateAllFormFields(formGroup: FormGroup) { //{1}\r\n Object.keys(formGroup.controls).forEach(field => { //{2}\r\n const control = formGroup.get(field); //{3}\r\n if (control instanceof FormControl) { //{4}\r\n control.markAsTouched({ onlySelf: true });\r\n } else if (control instanceof FormGroup) { //{5}\r\n this.validateAllFormFields(control); //{6}\r\n }\r\n });\r\n }\n\n ngAfterViewInit() {\n this.propertySearchForm.form.addControl('compoundNameForm', this.compoundNameChild.form);\n this.compoundNameChild.form.setParent(this.propertySearchForm.form);\n //this.propertySearchForm.form.addControl('compoundAddressForm', this.compoundAddressChild.form);\r\n //this.compoundAddressChild.form.setParent(this.propertySearchForm.form);\r\n this.propertySearchForm.form.addControl('dateRangeForm', this.dateRangeChild.form);\r\n this.dateRangeChild.form.setParent(this.propertySearchForm.form);\r\n this.propertySearchForm.form.addControl('docCategories2Form', this.docCategoryEX2Child.form);\n this.docCategoryEX2Child.form.setParent(this.propertySearchForm.form);\n //this.propertySearchForm.form.addControl('dateRangeForm', this.dateRangeChild.form);\n //this.dateRangeChild.form.setParent(this.propertySearchForm.form);\n }\n\n search(url) { }\n}\n","\n
\r\n

I want to search for

\r\n
\r\n\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n\r\n \r\n \r\n\r\n\r\n \r\n
\r\n
\n\n","import { Component, OnInit, ViewChild } from '@angular/core';\nimport { PropertySearchGridComponent } from '../../components/property-search-grid/property-search-grid.component';\r\nimport { NavMenuService } from '../../../shared/services/nav-menu-service';\r\n\n@Component({\n selector: 'app-property-search-result-pg',\n templateUrl: './property-search-result-pg.component.html',\n styleUrls: ['./property-search-result-pg.component.css']\n})\nexport class PropertySearchResultPgComponent implements OnInit {\n @ViewChild(PropertySearchGridComponent, { static: true }) propSearchGrid: PropertySearchGridComponent;\n\n constructor(public nav: NavMenuService) { }\n ngOnInit() {\r\n\r\n //// hide the navigation menu.\r\n this.nav.hide();\r\n\r\n }\n}\n","\n
\n \n
\n
\n \n
\n\n","import { Component, OnInit } from '@angular/core';\n\n@Component({\n selector: 'app-prop-search',\n templateUrl: './prop-search.component.html',\n styleUrls: ['./prop-search.component.css']\n})\nexport class PropSearchComponentES implements OnInit {\n\n constructor() { }\n\n ngOnInit() {\n }\n\n}\n","\r\n
\r\n
I want to search for
\r\n \r\n
\r\n
\r\n
The document was created
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n\r\n","import { Injectable, Inject } from '@angular/core';\r\n//import { Http, Response } from '@angular/http';\r\n//import { Router } from '@angular/router';\r\n//import 'rxjs/add/operator/catch';\r\n//import 'rxjs/add/observable/throw';\r\nimport { HttpClient, HttpHeaders, HttpResponseBase, HttpResponse } from '@angular/common/http';\r\n//import { map } from 'rxjs/operators';\r\nimport { GetProperySearchQuery, PropertySearchListVM } from '../shared/viewmodels/ISearchService';\r\nimport { Observable, throwError as _observableThrow, of as _observableOf } from 'rxjs';\r\nimport { mergeMap as _observableMergeMap, catchError as _observableCatch } from 'rxjs/operators';\r\n\r\n\r\nexport class SearchResult {\r\n ID: number;\r\n Date: string;\r\n BusinessName: string;\r\n Address: string;\r\n CityTown: string;\r\n Type: string;\r\n BookPage: string;\r\n DocumentNo: number;\r\n}\r\nexport class SwaggerException extends Error {\r\n message: string;\r\n status: number;\r\n response: string;\r\n headers: { [key: string]: any; };\r\n result: any;\r\n\r\n constructor(message: string, status: number, response: string, headers: { [key: string]: any; }, result: any) {\r\n super();\r\n\r\n this.message = message;\r\n this.status = status;\r\n this.response = response;\r\n this.headers = headers;\r\n this.result = result;\r\n }\r\n\r\n protected isSwaggerException = true;\r\n\r\n static isSwaggerException(obj: any): obj is SwaggerException {\r\n return obj.isSwaggerException === true;\r\n }\r\n}\r\n\r\n\r\n\r\n@Injectable()\r\nexport class PropertySearchService {\r\n myAppUrl: string = \"\";\r\n protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined;\r\n\r\n constructor(private _http: HttpClient, @Inject('BASE_URL') baseUrl: string) {\r\n this.myAppUrl = baseUrl;\r\n }\r\n\r\n getPropertySearchResults(search: GetProperySearchQuery) : Observable {\r\n let url_ = this.myAppUrl + \"api/CoreData/GetPropertySearchResult\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n const content_ = JSON.stringify(search);\r\n console.log(`Sending ${content_} to GetPropertySearchResult`);\r\n\r\n let options_: any = {\r\n body: content_,\r\n observe: \"response\",\r\n responseType: \"blob\",\r\n headers: new HttpHeaders({\r\n \"Content-Type\": \"application/json\",\r\n })\r\n };\r\n return this._http.request(\"post\", url_, options_).pipe(_observableMergeMap((response_: any) => {\r\n return this.processPropetySearchResponse(response_);\r\n })).pipe(_observableCatch((response_: any) => {\r\n if (response_ instanceof HttpResponseBase) {\r\n try {\r\n return this.processPropetySearchResponse(response_);\r\n } catch (e) {\r\n return >_observableThrow(e);\r\n }\r\n } else\r\n return >_observableThrow(response_);\r\n\r\n }));\r\n\r\n }\r\n processPropetySearchResponse(response: HttpResponseBase): Observable {\r\n const status = response.status;\r\n const responseBlob =\r\n response instanceof HttpResponse ? response.body :\r\n (response).error instanceof Blob ? (response).error : undefined;\r\n\r\n let _headers: any = {}; if (response.headers) { for (let key of response.headers.keys()) { _headers[key] = response.headers.get(key); } };\r\n if (status === 200) {\r\n return this.blobToText(responseBlob).pipe(_observableMergeMap(_responseText => {\r\n let result200: any = null;\r\n let resultData200 = _responseText === \"\" ? null : JSON.parse(_responseText, this.jsonParseReviver);\r\n result200 = PropertySearchListVM.fromJS(resultData200);\r\n return _observableOf(result200);\r\n }));\r\n } else if (status !== 200 && status !== 204) {\r\n return this.blobToText(responseBlob).pipe(_observableMergeMap(_responseText => {\r\n return this.throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }));\r\n }\r\n return _observableOf(null);\r\n\r\n }\r\n blobToText(blob: any): Observable {\r\n return new Observable((observer: any) => {\r\n if (!blob) {\r\n observer.next(\"\");\r\n observer.complete();\r\n } else {\r\n let reader = new FileReader();\r\n reader.onload = event => {\r\n observer.next((event.target).result);\r\n observer.complete();\r\n };\r\n reader.readAsText(blob);\r\n }\r\n });\r\n }\r\n throwException(message: string, status: number, response: string, headers: { [key: string]: any; }, result?: any): Observable {\r\n if (result !== null && result !== undefined)\r\n return _observableThrow(result);\r\n else\r\n return _observableThrow(new SwaggerException(message, status, response, headers, null));\r\n }\r\n\r\n}\r\n","import { Component, OnInit } from '@angular/core';\nimport { PlanNumCIF } from '../../../shared/viewmodels/RegUtility';\r\nimport { FormGroup, FormBuilder, Validators } from '@angular/forms';\r\nimport { Store } from '@ngrx/store';\r\nimport { AppState, getCoreSearchState } from '../../../store/reducers/reducers';\r\n\r\n\n@Component({\n selector: 'app-plan-num',\n templateUrl: './plan-num.component.html',\n styleUrls: ['./plan-num.component.css']\n})\nexport class PlanNumComponent implements OnInit {\n\n public utilityobj: PlanNumCIF;\n message: any;\n public form: FormGroup;\n plannumPattern = \"[0-9]*\";\n\n constructor(private store: Store, private fb: FormBuilder) {\n this.utilityobj = new PlanNumCIF();\n this.store.select(getCoreSearchState).subscribe(data => this.message = data);\n\n if (this.message.plannum.plannum[0] != null) {\n this.utilityobj.plannum = this.message.plannum.plannum[0].plannum;\n }\n }\n\n ngOnInit() {\n this.form = this.fb.group({\n 'plannum': [this.utilityobj.plannum, [Validators.required, Validators.pattern(this.plannumPattern)]]\n });\n this.form.valueChanges.subscribe(value => {\n if (this.form.valid) {\n this.utilityobj.plannum = value.plannum ? value.plannum : '';\n }\n });\n\n }\n\n}\n","
\r\n
\r\n \r\n \r\n
\r\n Enter Plan Number\r\n Use numbers in Plan Number\r\n
\r\n
\r\n
\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { PlanRoleCIF } from '../../../shared/viewmodels/RegUtility';\r\nimport { Store } from '@ngrx/store';\r\nimport { AppState, getCoreSearchState } from '../../../store/reducers/reducers';\r\n\r\n@Component({\r\n selector: 'app-planrole',\r\n templateUrl: './planrole.component.html',\r\n styleUrls: ['./planrole.component.css']\r\n})\r\nexport class PlanroleComponent implements OnInit {\r\n\r\n public utilityobj: PlanRoleCIF;\r\n message: any;\r\n constructor(private store: Store) {\r\n this.utilityobj = new PlanRoleCIF();\r\n this.store.select(getCoreSearchState).subscribe(data => this.message = data);\r\n if (this.message.planrole.role.length != 0) {\r\n this.utilityobj.planroleID = Number(this.message.planrole.role[0].planroleID);\r\n console.log(this.message.planrole.role[0]);\r\n } else {\r\n this.utilityobj.planroleID = 0;\r\n }\r\n }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n reset() {\r\n this.utilityobj.planroleID = 0; // Reset to default value\r\n\r\n // Optionally, if you need to restore from the store:\r\n if (this.message?.planrole?.role?.length) {\r\n this.utilityobj.planroleID = Number(this.message.planrole.role[0].planroleID);\r\n }\r\n\r\n console.log(\"Plan Role reset to default:\", this.utilityobj.planroleID);\r\n }\r\n\r\n}\r\n","\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n\r\n\r\n\r\n","import { Component, OnInit, ViewChild } from '@angular/core';\r\nimport { RecPlanSearchService } from '../../rec-plan-search-service';\r\nimport { DxDataGridComponent } from 'devextreme-angular';\r\nimport { NameComponent } from '../../../shared/components/name/name.component';\r\nimport { PlanRoom2VM, SearchPlanRoom2ListVM, GetRecPlanBPSearchQuery } from '../../../shared/viewmodels/ISearchServiceReg';\r\nimport { Store } from '@ngrx/store';\r\nimport { AppState } from '../../../store/reducers/reducers';\r\nimport { Router } from '@angular/router';\r\nimport { DomSanitizer } from '@angular/platform-browser';\r\nimport { BookPageComponent } from '../../../shared/components/book-page/book-page.component';\r\nimport Swal from 'sweetalert2';\r\n\r\n@Component({\r\n selector: 'app-rec-plan-bp-search-grid',\r\n providers: [RecPlanSearchService],\r\n templateUrl: './rec-plan-bp-search-grid.component.html',\r\n styleUrls: ['./rec-plan-bp-search-grid.component.css']\r\n})\r\nexport class RecPlanBpSearchGridComponent implements OnInit {\r\n\r\n @ViewChild(DxDataGridComponent, { static: true }) dataGrid: DxDataGridComponent;\r\n @ViewChild(BookPageComponent) cBP: BookPageComponent;\r\n public recsresults!: PlanRoom2VM[];\r\n //public recdoc: RecDocVM;\r\n public re!: string;\r\n applyFilterTypes: any;\r\n currentFilter: any;\r\n showFilterRow!: boolean;\r\n console = console;\r\n towns: string[] = [];\r\n doctypes: string[] = [];\r\n rolename!: string;\r\n\r\n userInput: any;\r\n public errorMsg!: string;\r\n\r\n focusedRowKey!: number;\r\n recordCount!: number;\r\n public noDataText: string = \"Loading...\";\r\n\r\n\r\n constructor(private service: RecPlanSearchService, private store: Store, private router: Router, private sanitizer: DomSanitizer) {\r\n }\r\n\r\n ngOnInit() {\r\n this.store.select((state: any) => state).subscribe(data => this.userInput = data);\r\n\r\n this.getResults(\r\n this.userInput.coresearchdata.bp.bp[0].docNumPrimary,\r\n this.userInput.coresearchdata.bp.bp[0].docNumSecondary,\r\n );\r\n\r\n this.showFilterRow = true;\r\n this.applyFilterTypes = [{\r\n key: \"auto\",\r\n name: \"Immediately\"\r\n }, {\r\n key: \"onClick\",\r\n name: \"On Button Click\"\r\n }];\r\n\r\n this.currentFilter = this.applyFilterTypes[0].key;\r\n }\r\n\r\n getResults(book, page) {\r\n let getRecPlanBPSearchQuery = new GetRecPlanBPSearchQuery({\r\n\r\n book: book,\r\n page: page\r\n });\r\n\r\n this.service.getRecPlanBPSearchResults(getRecPlanBPSearchQuery).subscribe(result => {\r\n\r\n this.recsresults = result.recPlanSearchRows;\r\n this.recordCount = this.recsresults.length;\r\n if (this.recordCount == 0) {\r\n this.noDataText = \"No records found.\";\r\n Swal.fire(\"No records found.\");\r\n }\r\n });\r\n\r\n\r\n\r\n }\r\n\r\n //getRecDoc(docId: number) {\r\n // this.service.getRecDoc(docId).subscribe(\r\n // data => { this.recdoc = data },\r\n // error => { this.errorMsg = error }\r\n // );\r\n //}\r\n\r\n\r\n\r\n clearFilter() {\r\n this.dataGrid.instance.clearFilter();\r\n }\r\n\r\n onInitialized(e) {\r\n\r\n }\r\n\r\n //Open image in another tab'\r\n imgClicked(event) {\r\n if (!this.dataGrid.instance.isRowSelected(event.row.key)) {\r\n this.dataGrid.instance.selectRows(event.row.key, false);\r\n }\r\n // this.nav.visible = false;\r\n\r\n\r\n }\r\n\r\n onExpanding(e) {\r\n this.focusedRowKey = e.component.option(\"focusedRowIndex\");\r\n this.focusedRowKey = e.key.index;\r\n e.component.collapseAll(-1);\r\n }\r\n\r\n\r\n //export() {\r\n\r\n\r\n // //this.console.log('Inside Export');\r\n // let getRecNameSearchReportQuery = new GetRecNameSearchReportQuery({\r\n // lastName: this.userInput.name[0].lastcorpName,\r\n // firstName: this.userInput.name[0].fName,\r\n // fromDate: this.userInput.date[0].fromDate,\r\n // toDate: this.userInput.date[0].toDate,\r\n // roleId: (this.userInput.role[0].roleID == -1) ? 0 : this.userInput.role[0].roleID,\r\n // towns: this.towns,\r\n // doctypes: this.doctypes,\r\n // sortBy: new Array(),\r\n // sortDirection: \"desc\",\r\n // filter: new Array()\r\n // });\r\n // this.console.log(this.userInput.date[0].fromDate);\r\n // this.console.log(getRecNameSearchReportQuery.toJSON());\r\n // this.reportService.getRecNameSearchReport(getRecNameSearchReportQuery).subscribe((reportName) => {\r\n // //this.reportUrl = reportName.reportName;\r\n // this.console.log(`rerportName: ${reportName.reportName}`);\r\n // this.router.navigate([`/report-viewer/${reportName.reportName}`]);\r\n\r\n // });\r\n\r\n\r\n //}\r\n\r\n}\r\n","\r\n\r\n\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n\r\n","import { Component, OnInit, Input, OnDestroy } from '@angular/core';\nimport { Router } from '@angular/router';\r\nimport { Store } from '@ngrx/store';\r\nimport { AppState } from '../../../store/reducers/reducers';\r\nimport { NavMenuService } from '../../../shared/services/nav-menu-service';\r\nimport { RecPlanSearchService } from '../../rec-plan-search-service';\r\n\n@Component({\n selector: 'app-rec-plan-bp-search-header',\n providers: [RecPlanSearchService],\n templateUrl: './rec-plan-bp-search-header.component.html',\n styleUrls: ['./rec-plan-bp-search-header.component.css']\n})\nexport class RecPlanBpSearchHeaderComponent implements OnInit, OnDestroy {\n\n recs: any;\n @Input() recordCount: number;\n towns: string[] = [];\n\n constructor(private router: Router, private store: Store, public nav: NavMenuService, private service: RecPlanSearchService) {\n //this.recs = store.select('rec');\n store.select((state: any) => state).subscribe(data => this.recs = data);\n console.log(this.recs.coresearchdata.bp.bp[0].docNumPrimary);\n console.log(this.recs.coresearchdata.bp.bp[0].docNumSecondary);\n \n\n \n\n }\n\n back(url) {\n try {\n this.service.logInfo('Clicked back button');\n this.nav.show();\n //if (localStorage.getItem('recPlanNameSearchResults') !== null) {\n // localStorage.removeItem('recPlanNameSearchResults');\n //}\n this.router.navigate([url]);\n }\n catch (error) {\n this.service.logError(error);\n }\n\n }\n\n ngOnInit() {\n\n }\n\n ngOnDestroy() {\n this.nav.show();\n }\n}\n","
\r\n
\r\n \r\n
\r\n
\r\n
\r\n

Recorded Land Plan Search Results

\r\n

\r\n Book: {{ recs.coresearchdata.bp.bp[0].docNumPrimary }} Page: {{recs.coresearchdata.bp.bp[0].docNumSecondary}} {{recordCount}} records found\r\n

\r\n
\r\n
\r\n
\r\n","import { Component, OnInit, Input } from '@angular/core';\n\n@Component({\n selector: 'app-rec-plan-doc-detail',\n templateUrl: './rec-plan-doc-detail.component.html',\n styleUrls: ['./rec-plan-doc-detail.component.css']\n})\nexport class RecPlanDocDetailComponent implements OnInit {\n\n \n \n constructor() {\n console.log(\"info cons\");\n\n \n\n }\n\n ngOnInit() {\n \n }\n\n\n}\n","import { Component, OnInit, Input, HostListener, EventEmitter, ViewChild, Output, Renderer2 } from '@angular/core';\r\nimport { ActivatedRoute, Router } from '@angular/router';\r\nimport { NavMenuService } from '../../../shared/services/nav-menu-service';\r\nimport { NgxExtendedPdfViewerComponent, PdfBreakpoints, pdfDefaultOptions } from 'ngx-extended-pdf-viewer';\r\nimport { RecPlanSearchService } from '../../rec-plan-search-service';\r\nimport { PlanImgPage, basketVM } from '../../../shared/viewmodels/ISearchServiceReg';\r\nimport { PlanDownloadComponent } from '../../../shared/components/plan-download/plan-download.component';\r\n\r\n@Component({\r\n selector: 'app-rec-plan-doc-image',\r\n providers: [RecPlanSearchService],\r\n templateUrl: './rec-plan-doc-image.component.html',\r\n styleUrls: ['./rec-plan-doc-image.component.css']\r\n})\r\nexport class RecPlanDocImageComponent implements OnInit {\r\n\r\n @Input() bookType: string;\r\n @Input() book: string;\r\n @Input() page: string;\r\n public pageCount!: number;\r\n public currentIndex!: number;\r\n public currentImageIndex!: number;\r\n public docImages: Array;\r\n @Input() currentImage: Array;\r\n public bufferSize: number = 5;\r\n public isLoadingImage: boolean = true;\r\n public showimageviewer: boolean = false;\r\n public isImgVwVisible: boolean = true;\r\n public blobImage: string;\r\n\r\n error: any;\r\n evtEmitter = new EventEmitter();\r\n previewImage: any;\r\n public imgvwr: any;\r\n public isFirstPage!: boolean;\r\n public isLastPage!: boolean;\r\n @ViewChild(PlanDownloadComponent, { static: true }) docBasketChild: PlanDownloadComponent;\r\n @ViewChild(NgxExtendedPdfViewerComponent, { static: false }) pdfViewer: NgxExtendedPdfViewerComponent;\r\n basketItem!: basketVM;\r\n collapseGo: boolean = false;\r\n collapseReturn: boolean = false;\r\n screenWidth: any;\r\n @Output() public changeImgVwVisible = new EventEmitter();\r\n popupVisible: boolean = false;\r\n Message!: string;\r\n public path!: string;\r\n planImagePage: Array;\r\n planImages: Array;\r\n doctype: string;\r\n isSmallScreen = false; // Tracks if the screen is small\r\n\r\n constructor(private route: ActivatedRoute,\r\n private service: RecPlanSearchService,\r\n private router: Router, private renderer: Renderer2, public nav: NavMenuService) {\r\n this.docImages = new Array();\r\n this.currentImage = new Array();\r\n this.planImagePage = new Array();\r\n this.planImages = new Array();\r\n this.book = this.route.snapshot.paramMap.get('book');\r\n console.log('book: ' + this.book);\r\n this.page = this.route.snapshot.paramMap.get('page');\r\n console.log('page: ' + this.page);\r\n this.bookType = this.route.snapshot.paramMap.get('bookType');\r\n console.log('docId: ' + this.bookType);\r\n this.nav.hide();\r\n this.getScreenSize();\r\n this.doctype = 'PLAN_RC';\r\n }\r\n\r\n /** Initialize image viewer */\r\n ngOnInit() {\r\n console.log('ngOnInit() fired');\r\n this.currentIndex = 1;\r\n this.currentImageIndex = 0;\r\n this.isLoadingImage = true;\r\n this.service.getDocPlanImgByBP(this.book, this.page, this.bookType).subscribe(\r\n data => {\r\n console.log(data.imgType);\r\n console.log(data.pageList[0].imgPath);\r\n console.log(data.pageList[0]);\r\n this.planImagePage = data.pageList;\r\n console.log(this.planImagePage);\r\n var pgs: string[] = new Array();\r\n this.planImagePage.forEach(function (plan) {\r\n pgs.push(plan.imgPath);\r\n });\r\n this.planImages = pgs;\r\n console.log(this.planImages);\r\n this.pageCount = data.pageList.length;\r\n this.getImageByBookPage(this.planImagePage[this.currentIndex - 1].imgPath, this.currentIndex-1);\r\n this.changeNavigationbutton(this.pageCount);\r\n this.isLoadingImage = true;\r\n }\r\n )\r\n }\r\n\r\n\r\n getImageByBookPage(path: string, page: number, push: boolean = true) {\r\n console.log(\"current path and page\" + path + page);\r\n this.service.GetDocPlanPage(path, page).subscribe(\r\n data => {\r\n if (push) {\r\n this.docImages.push(data);\r\n console.log('push' + this.docImages.length);\r\n //TODO: code to manage the size of the docImages array\r\n if (this.docImages.length > this.bufferSize) {\r\n this.docImages.shift();\r\n console.log('shift' + this.docImages.length);\r\n this.currentImageIndex = this.bufferSize;\r\n\r\n }\r\n else {\r\n this.currentImageIndex++;\r\n }\r\n console.log(\"docimages and CII\" + this.docImages.length + this.currentImageIndex);\r\n }\r\n else {\r\n this.docImages.splice(0, 0, data);\r\n console.log('splice' + this.docImages.length);\r\n //TODO: code to manage the size of the docImages array\r\n if (this.docImages.length > this.bufferSize) {\r\n this.docImages.pop();\r\n console.log('pop' + this.docImages.length);\r\n this.currentImageIndex = 1;\r\n }\r\n else {\r\n this.currentImageIndex = 1;\r\n }\r\n }\r\n this.showImage((this.currentImageIndex - 1));\r\n },\r\n error => { this.error = error }\r\n );\r\n }\r\n\r\n showImage(idx: number) {\r\n this.isLoadingImage = true;\r\n if (this.currentImage.length === 1) {\r\n this.currentImage.pop();\r\n }\r\n this.currentImage.push(this.docImages[idx]);\r\n //this.currentImage.push(this.docImages[idx]);\r\n this.blobImage = this.docImages[idx];\r\n this.isLoadingImage = false;\r\n this.rePaintImgViewer();\r\n }\r\n\r\n /**\r\n * Navigate to previous page.\r\n * @param url\r\n */\r\n back(url) {\r\n\r\n this.router.navigate([url]);\r\n //window.opener = 'Self';\r\n //window.open('', '_parent', '');\r\n //window.close();\r\n\r\n }\r\n\r\n showimgviewer() {\r\n console.log('showimgviewer');\r\n this.showimageviewer = true;\r\n this.isImgVwVisible = false;\r\n this.isLoadingImage = false;\r\n if (this.imgvwr) this.imgvwr.download = false;\r\n this.getScreenSize(null);\r\n this.changeImgVwVisible.emit(this.isImgVwVisible);\r\n }\r\n\r\n /**\r\n * Navigate to next page of a document.\r\n * @param event\r\n */\r\n getNextPg(event: Event) {\r\n\r\n this.currentIndex++;\r\n console.log(\"nxt pg CII\" + this.currentImageIndex);\r\n if (this.docImages.length > this.currentImageIndex) {\r\n this.showImage(this.currentImageIndex);\r\n this.currentImageIndex++;\r\n }\r\n else {\r\n console.log(this.planImagePage[this.currentIndex - 1].imgPath);\r\n this.getImageByBookPage(this.planImagePage[this.currentIndex - 1].imgPath, this.currentIndex-1, true);\r\n }\r\n\r\n this.changeNavigationbutton(this.pageCount);\r\n\r\n }\r\n\r\n /**\r\n * Navigate to previous page of a document.\r\n * @param event\r\n */\r\n getPrevPg(event: Event) {\r\n\r\n this.currentIndex--;\r\n if (this.currentImageIndex > 1) {\r\n this.showImage((this.currentImageIndex - 2));\r\n this.currentImageIndex--;\r\n }\r\n else {\r\n this.getImageByBookPage(this.planImagePage[this.currentIndex - 1].imgPath, this.currentIndex - 1, false);\r\n }\r\n this.changeNavigationbutton(this.pageCount);\r\n\r\n }\r\n\r\n checkIfFirstPage(): boolean {\r\n if (this.currentIndex == 1) {\r\n return true;\r\n }\r\n else\r\n return false;\r\n }\r\n checkIfLastPage(): boolean {\r\n if (this.currentIndex == this.pageCount) {\r\n return true;\r\n }\r\n else\r\n return false;\r\n }\r\n\r\n rePaintImgViewer() {\r\n // this.imgvwr = new ImageViewerComponent(this.renderer);\r\n // this.imgvwr.images = this.currentImage;\r\n // this.imgvwr.idContainer = \"idOnHTML\";\r\n\r\n // this.imgvwr.inicializarImageViewer();\r\n // this.imgvwr.proximaImagem();\r\n this.showimgviewer();\r\n }\r\n\r\n /**\r\n * Enable/Disable the navigation button, when its a first page or last page in the document.\r\n * @param pageCount\r\n */\r\n changeNavigationbutton(pageCount: number) {\r\n // Enable/disable navigation buttons.\r\n console.log(this.book + \"/\" + this.page);\r\n console.log(\"Next doc page count\" + this.pageCount)\r\n if (this.pageCount > 1) {\r\n if (this.currentIndex == 1) {\r\n this.isFirstPage = true;\r\n this.isLastPage = false;\r\n console.log(\"1\");\r\n }\r\n else if (this.currentIndex == this.pageCount) {\r\n this.isLastPage = true;\r\n this.isFirstPage = false;\r\n console.log(\"2\");\r\n }\r\n else {\r\n this.isLastPage = false;\r\n this.isFirstPage = false;\r\n console.log(\"3\");\r\n }\r\n\r\n }\r\n\r\n else {\r\n this.isLastPage = true;\r\n this.isFirstPage = true;\r\n console.log(\"4\");\r\n }\r\n\r\n console.log(this.isFirstPage);\r\n console.log(this.isLastPage);\r\n }\r\n\r\n /**\r\n * Navigate to First page in a document.\r\n * @param event\r\n */\r\n getFirstPg(event: Event) {\r\n console.log(\"firstpg\" + this.pageCount);\r\n // Get first page from cache if present.\r\n if (this.currentIndex <= this.bufferSize && this.currentImageIndex !== 1) {\r\n this.currentIndex = 1;\r\n this.currentImageIndex = 1;\r\n this.showImage(this.currentImageIndex - 1);\r\n this.changeNavigationbutton(this.pageCount);\r\n }\r\n\r\n // get first page from service when its not present in cache.\r\n else {\r\n this.currentIndex = 1;\r\n this.currentImageIndex = 0;\r\n this.docImages.length = 0;\r\n this.getImageByBookPage(this.planImagePage[this.currentIndex - 1].imgPath, 0, true);\r\n this.changeNavigationbutton(this.pageCount);\r\n }\r\n }\r\n\r\n /**\r\n * Navigate to Last page in a document.\r\n * @param event\r\n */\r\n getLastPg(event: Event) {\r\n console.log(\"lastpg\" + this.pageCount)\r\n let lastPgIdx: number = this.pageCount - 1;\r\n this.currentImageIndex = lastPgIdx;\r\n\r\n // Get last page from cache if present.\r\n if (this.pageCount <= this.bufferSize && this.docImages[lastPgIdx] != null) {\r\n this.currentImageIndex = this.pageCount - 1;\r\n this.currentIndex = this.pageCount;\r\n this.showImage(this.currentImageIndex);\r\n this.changeNavigationbutton(this.pageCount);\r\n }\r\n\r\n\r\n ////get last page from service when its not present in cache.\r\n else {\r\n this.currentImageIndex = 0;\r\n this.currentIndex = this.pageCount;\r\n this.docImages.length = 0;\r\n this.getImageByBookPage(this.planImagePage[this.currentIndex-1].imgPath, 0, false);\r\n this.changeNavigationbutton(this.pageCount);\r\n }\r\n }\r\n\r\n\r\n allowDrop(ev) {\r\n console.log(\"allow drop\");\r\n ev.preventDefault();\r\n }\r\n\r\n drag(ev) {\r\n console.log(\"drag\");\r\n ev.dataTransfer.setData(\"text\", ev.target.id);\r\n }\r\n\r\n drop(planImages, book, page, currentindex) {\r\n console.log(\"drop\");\r\n console.log(\"planImages\" + planImages + \"book\" + book + \"page\" + page + \"currentindex\" + currentindex);\r\n\r\n const index = this.docBasketChild.basketItems.findIndex(item => item.book === book && item.page === page && item.wholeDoc === false);\r\n if (index > -1) {\r\n if (this.docBasketChild.basketItems[index].pages.indexOf((currentindex -1).toString()) > -1) {\r\n console.log(\"Duplicate entry\");\r\n this.Message = \"Plan Book/Page \" + book + \"/\" + page + \", p.\" + (currentindex) + \" is already added.\";\r\n this.popupVisible = true;\r\n }\r\n else {\r\n this.docBasketChild.basketItems[index].pageCount = this.docBasketChild.basketItems[index].pageCount + 1;\r\n this.docBasketChild.basketItems[index].pages.push((currentindex -1).toString());\r\n this.docBasketChild.basketItems[index].imagepaths.push(planImages[currentindex - 1]);\r\n console.log(\"Updated entry\");\r\n this.Message = \"Plan Book/Page \" + book + \"/\" + page + \", p.\" + (currentindex) + \" is added successfully.\";\r\n this.popupVisible = true;\r\n }\r\n }\r\n\r\n else {\r\n this.basketItem = new basketVM();\r\n this.basketItem.document = 'B:' + book + '/P:' + page;\r\n this.basketItem.book = book;\r\n this.basketItem.page = page;\r\n this.basketItem.isEmail = false;\r\n this.basketItem.isDownload = false;\r\n this.basketItem.downloadAs = 'pdf';\r\n this.basketItem.wholeDoc = false;\r\n this.basketItem.pageCount = 1;\r\n this.basketItem.pages = new Array((currentindex -1).toString());\r\n this.basketItem.imagepaths = new Array(planImages[currentindex - 1]);\r\n\r\n this.docBasketChild.basketItems.push(this.basketItem);\r\n //update local storage\r\n if (localStorage.getItem(\"planbasket\") !== null && localStorage.getItem(\"planbasket\").length > 0) {\r\n let basketls = JSON.parse(localStorage.getItem(\"planbasket\"));\r\n basketls.push(this.basketItem);\r\n localStorage.setItem(\"planbasket\", JSON.stringify(basketls));\r\n }\r\n\r\n console.log(\"Added entry\");\r\n this.Message = \"Plan Book/Page \" + book + \"/\" + book + \", p.\" + (currentindex) + \" is added successfully.\";\r\n this.popupVisible = true;\r\n }\r\n\r\n }\r\n\r\n toggleGo() {\r\n this.collapseGo = !this.collapseGo;\r\n }\r\n\r\n toggleReturn() {\r\n this.collapseReturn = !this.collapseReturn;\r\n }\r\n\r\n @HostListener('window:resize', ['$event'])\r\n getScreenSize(event?) {\r\n this.screenWidth = window.innerWidth;\r\n }\r\n\r\n collapsesideinfo: boolean = false;\r\n\r\n onThumbnailDrawn(thumbnailEvent: any): void {\r\n const thumbnail = thumbnailEvent.thumbnail;\r\n const page = thumbnailEvent.pageId;\r\n\r\n // Ensure the thumbnail has a valid data attribute for reference\r\n thumbnail.setAttribute('data-page-number', String(page));\r\n\r\n // Attach event listener properly\r\n thumbnail.addEventListener('click', (event) => this.selectPage(event, page));\r\n }\r\n\r\n onPageChange(event: any): void {\r\n this.currentIndex = event; // Update current page index\r\n const radioButtons = document.querySelectorAll('.thumbnail-radiobutton') as NodeListOf;\r\n radioButtons.forEach((radio) => {\r\n radio.checked = (parseInt(radio.getAttribute('data-page-number') || '0', 10) === this.currentIndex);\r\n });\r\n }\r\n\r\n selectPage(event: MouseEvent, pageNumber: number): void {\r\n const target = event.target as HTMLElement;\r\n this.currentIndex = pageNumber;\r\n if (!target) {\r\n console.warn(\"Event target is undefined.\");\r\n return;\r\n }\r\n\r\n // Check if the event target is inside a thumbnail\r\n const thumbnailElement = target.closest('.thumbnail') as HTMLElement;\r\n if (!thumbnailElement) {\r\n console.warn(\"Thumbnail container not found.\");\r\n return;\r\n }\r\n\r\n console.log(`Thumbnail clicked, navigating to page: ${pageNumber}`);\r\n\r\n // Navigate to the selected page\r\n if (this.pdfViewer) {\r\n this.pdfViewer.page = pageNumber;\r\n }\r\n\r\n // Select the corresponding radio button\r\n const radioButtons = document.querySelectorAll('.thumbnail-radiobutton') as NodeListOf;\r\n radioButtons.forEach((radio) => {\r\n const pageAttr = radio.getAttribute('data-page-number');\r\n\r\n if (pageAttr === null) {\r\n console.warn(\"Radio button missing 'data-page-number' attribute.\", radio);\r\n return;\r\n }\r\n\r\n const radioPageNumber = parseInt(pageAttr, 10);\r\n\r\n if (isNaN(radioPageNumber)) {\r\n console.warn(`Invalid page number attribute on radio button: ${pageAttr}`, radio);\r\n return;\r\n }\r\n\r\n radio.checked = (radioPageNumber === pageNumber);\r\n });\r\n }\r\n}\r\n","
\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n

p.{{currentIndex}} of {{pageCount}}

\r\n \r\n \r\n
\r\n
\r\n
\r\n Loading Image (plans can take a bit longer) ...\r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n \r\n
\r\n \r\n

Loading...

\r\n
\r\n
\r\n
\r\n\r\n \r\n
\r\n

\r\n {{Message}}\r\n

\r\n
\r\n
\r\n
\r\n","import { Component, OnInit, ViewChild } from '@angular/core';\r\nimport { DxDataGridComponent } from 'devextreme-angular';\r\nimport { NameComponent } from '../../../shared/components/name/name.component';\r\nimport { RecPlanSearchService } from '../../rec-plan-search-service';\r\nimport { Store } from '@ngrx/store';\r\nimport { AppState} from '../../../store/reducers/reducers';\r\nimport { Router } from '@angular/router';\r\nimport { DomSanitizer } from '@angular/platform-browser';\r\nimport { PlanRoom2VM, GetRecPlanNameSearchQuery, GetRecPlanNameSearchReportQuery, RecPlanNameSearchListVM } from '../../../shared/viewmodels/ISearchServiceReg';\r\nimport { ReportViewerESService } from '../../../shared/services/report-viewer-es.service';\r\nimport { RecSearchService } from '../../../rec-search/rec-search-service';\r\nimport { SearchFilter } from '../../../shared/viewmodels/ISearchService';\r\nimport { take } from 'rxjs/operators';\r\nimport CustomStore from 'devextreme/data/custom_store';\r\nimport Swal from 'sweetalert2';\r\n\r\n@Component({\r\n selector: 'app-rec-plan-name-search-grid',\r\n providers: [RecPlanSearchService, ReportViewerESService, RecSearchService],\r\n templateUrl: './rec-plan-name-search-grid.component.html',\r\n styleUrls: ['./rec-plan-name-search-grid.component.css']\r\n})\r\nexport class RecPlanNameSearchGridComponent implements OnInit {\r\n\r\n @ViewChild(DxDataGridComponent, { static: true }) dataGrid: DxDataGridComponent;\r\n @ViewChild(NameComponent) cName!: NameComponent;\r\n public recsresults: any = {};// PlanRoom2VM[];\r\n //public recdoc: RecDocVM;\r\n public re!: string;\r\n applyFilterTypes: any;\r\n currentFilter: any;\r\n showFilterRow: boolean;\r\n console = console;\r\n towns: string[] = [];\r\n doctypes: string[] = [];\r\n rolename!: string;\r\n\r\n userInput: any;\r\n public errorMsg!: string;\r\n\r\n focusedRowKey!: number;\r\n recordCount!: number;\r\n\r\n public remoteOps: any = {};\r\n planId!: number;\r\n public noDataText: string = \"Loading...\";\r\n\r\n constructor(private service: RecPlanSearchService, private store: Store, private router: Router, private sanitizer: DomSanitizer, private reportService: ReportViewerESService) {\r\n\r\n this.store.select((state: any) => state).pipe(take(1)).subscribe(data => this.userInput = data);\r\n\r\n for (let city of this.userInput.coresearchdata.city.city[0].citytowns) {\r\n if (city.isChecked)\r\n this.towns.push(city.townAbbrev);\r\n }\r\n this.planId = Number(this.userInput.coresearchdata.planrole.role[0].planroleID)\r\n switch (this.planId) {\r\n case 0: {\r\n this.rolename = \"OWNER\";\r\n break;\r\n }\r\n case 1: {\r\n this.rolename = \"STREET\";\r\n break;\r\n }\r\n case 2: {\r\n this.rolename = \"SURVEYOR\";\r\n break;\r\n }\r\n case 3: {\r\n this.rolename = \"LOCAL\";\r\n break;\r\n }\r\n }\r\n\r\n\r\n\r\n this.remoteOps = {\r\n paging: false,\r\n filtering: false,\r\n sorting: false,\r\n grouping: false,\r\n summary: false\r\n };\r\n\r\n\r\n this.showFilterRow = true;\r\n this.applyFilterTypes = [{\r\n key: \"auto\",\r\n name: \"Immediately\"\r\n }, {\r\n key: \"onClick\",\r\n name: \"On Button Click\"\r\n }];\r\n\r\n this.currentFilter = this.applyFilterTypes[0].key;\r\n\r\n }\r\n\r\n ngOnInit() {\r\n\r\n console.log(\"plan-name-search-grid OnInit\");\r\n this.recsresults = new CustomStore({\r\n key: \"planID\",\r\n load: (loadOptions: any) => {\r\n let getRecPlanNameSearchQuery = new GetRecPlanNameSearchQuery({\r\n\r\n lName: this.userInput.coresearchdata.name.name[0].lastcorpName,\r\n fName: this.userInput.coresearchdata.name.name[0].fName,\r\n date: this.userInput.coresearchdata.date.date[0].fromDate,\r\n endDate: this.userInput.coresearchdata.date.date[0].toDate,\r\n type: this.rolename,\r\n towns: this.towns\r\n });\r\n return this.service.getRecPlanNameSearchResults(getRecPlanNameSearchQuery).toPromise().then(data => {\r\n this.recordCount = data.recPlanNameSearchRows.length;\r\n return {\r\n data: data.recPlanNameSearchRows,\r\n totalCount: data.recPlanNameSearchRows.length\r\n }\r\n }).catch(error => { throw 'Data Loading Error' });\r\n }\r\n });\r\n\r\n\r\n //this.getResults(\r\n // this.userInput.regsearchdata.name[0].name,\r\n // this.userInput.coresearchdata.date[0].fromDate,\r\n // this.userInput.coresearchdata.date[0].toDate,\r\n // this.rolename,\r\n // this.towns);\r\n\r\n }\r\n\r\n getResults(name, fromdate, todate, rolename, towns) {\r\n\r\n let getRecPlanNameSearchQuery = new GetRecPlanNameSearchQuery({\r\n\r\n lName: name,\r\n date: fromdate,\r\n endDate: todate,\r\n type: rolename,\r\n towns: towns\r\n });\r\n\r\n console.log(`calling getRecNameSearchResults with ${JSON.stringify(getRecPlanNameSearchQuery)}`);\r\n console.log(`towns: ${towns}`);\r\n\r\n this.service.getRecPlanNameSearchResults(getRecPlanNameSearchQuery).subscribe(result => {\r\n\r\n this.recsresults = result.recPlanNameSearchRows;\r\n this.recordCount = this.recsresults.length;\r\n if (this.recordCount == 0) {\r\n this.noDataText = \"No records found.\";\r\n Swal.fire(\"No records found.\");\r\n }\r\n });\r\n\r\n\r\n\r\n }\r\n\r\n //getRecDoc(docId: number) {\r\n // this.service.getRecDoc(docId).subscribe(\r\n // data => { this.recdoc = data },\r\n // error => { this.errorMsg = error }\r\n // );\r\n //}\r\n\r\n\r\n\r\n clearFilter() {\r\n this.dataGrid.instance.clearFilter();\r\n }\r\n\r\n onInitialized(e) {\r\n\r\n }\r\n\r\n //Open image in another tab'\r\n imgClicked(event) {\r\n if (!this.dataGrid.instance.isRowSelected(event.row.key)) {\r\n this.dataGrid.instance.selectRows(event.row.key, false);\r\n }\r\n // this.nav.visible = false;\r\n\r\n\r\n }\r\n\r\n onExpanding(e) {\r\n this.focusedRowKey = e.component.option(\"focusedRowIndex\");\r\n this.focusedRowKey = e.key.index;\r\n e.component.collapseAll(-1);\r\n }\r\n\r\n assignTypes(filters: SearchFilter[]) {\r\n if (filters) {\r\n filters.forEach(fl => {\r\n if (fl.filterType == 'join') {\r\n this.assignTypes(fl.filters);\r\n } else {\r\n for (var prop in this.recsresults[0]) {\r\n if (prop == fl.fieldName) {\r\n fl.fieldType = typeof this.recsresults[0][prop];\r\n }\r\n }\r\n }\r\n\r\n });\r\n }\r\n }\r\n\r\n export() {\r\n\r\n var filtersUsed = this.dataGrid.instance.getCombinedFilter(true);// [[\"firstGrantor\", \"contains\", \"bed\"], \"and\", [\"firstGrantee\", \"contains\", \"or\"], \"and\", [\"recLandBook\", \"contains\", \"3\"]];//[[[\"recordDate\", \"<\", \"2000-04-03T04:00:00.000Z\"], \"or\", [\"recordDate\", \">=\", \"2000-04-04T04:00:00.000Z\"]], \"and\", [\"firstGrantor\", \"contains\", \"BED\"]];//\r\n var filters = new Array();\r\n var filterExpression = filtersUsed ? JSON.stringify(filtersUsed) : \"\";\r\n console.log(`filterExpression: ${filterExpression}`);\r\n var filterObjs = new Array();\r\n if (filterExpression) {\r\n var filtersOnGrid = SearchFilter.subHelper(filtersUsed, 0);\r\n filterObjs = [...filtersOnGrid];\r\n this.assignTypes(filterObjs);\r\n console.log(`filterObjs: ${JSON.stringify(filterObjs)}`);\r\n //filtersOnGrid.forEach(f => filters.push(JSON.stringify(f)));\r\n //console.log(`filters: ${JSON.stringify(filters)}`);\r\n }\r\n\r\n let query = new GetRecPlanNameSearchReportQuery({\r\n lName: this.userInput.coresearchdata.name.name[0].lastcorpName,\r\n date: this.userInput.coresearchdata.date.date[0].fromDate,\r\n endDate: this.userInput.coresearchdata.date[0].toDate,\r\n type: this.rolename,\r\n towns: this.towns,\r\n sortBy: new Array(),\r\n sortDirection: \"desc\",\r\n filterExpression: filterExpression,\r\n filterObjects: [...filterObjs]\r\n });\r\n\r\n //console.log(`query: ${JSON.stringify(query)}`);\r\n //console.log(`type: ${this.userInput.amount[0].type}`);\r\n this.reportService.getRecPlanNameSearchReport(query).subscribe(repName => {\r\n this.router.navigate([`/report-viewer/${repName.reportName}`]);\r\n });\r\n }\r\n\r\n\r\n}\r\n","\r\n\r\n\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n
\r\n\r\n","import { Component, OnInit, Input, OnDestroy } from '@angular/core';\r\nimport { Router } from '@angular/router';\r\nimport { Store } from '@ngrx/store';\r\nimport { AppState } from '../../../store/reducers/reducers';\r\nimport { NavMenuService } from '../../../shared/services/nav-menu-service';\r\nimport { RecPlanSearchService } from '../../rec-plan-search-service';\r\n\r\n@Component({\r\n selector: 'app-rec-plan-name-search-header',\r\n providers: [RecPlanSearchService],\r\n templateUrl: './rec-plan-name-search-header.component.html',\r\n styleUrls: ['./rec-plan-name-search-header.component.css']\r\n})\r\nexport class RecPlanNameSearchHeaderComponent implements OnInit, OnDestroy {\r\n\r\n recs: any;\r\n @Input() recordCount: number;\r\n towns: string[] = [];\r\n\r\n constructor(private router: Router, private store: Store, public nav: NavMenuService, private service: RecPlanSearchService) {\r\n //this.recs = store.select('rec');\r\n store.select((state:any)=>state).subscribe(data => this.recs = data);\r\n //console.log(this.recs.regsearchdata.name.name[0].name);\r\n console.log(this.recs.coresearchdata.planrole.role[0].planroleID);\r\n console.log(this.recs.coresearchdata.date.date[0].fromDate);\r\n console.log(this.recs.coresearchdata.date.date[0].toDate);\r\n\r\n //for (let city of this.recs.coresearchdata.city.city[0].citytowns) {\r\n // if (city.isChecked)\r\n // this.towns.push(city.townName);\r\n //}\r\n\r\n }\r\n\r\n back(url) {\r\n try {\r\n this.service.logInfo('Clicked back button');\r\n this.nav.show();\r\n //if (localStorage.getItem('recPlanNameSearchResults') !== null) {\r\n // localStorage.removeItem('recPlanNameSearchResults');\r\n //}\r\n this.router.navigate([url]);\r\n }\r\n catch (error) {\r\n this.service.logError(error);\r\n }\r\n\r\n }\r\n\r\n ngOnInit() {\r\n\r\n }\r\n ngOnDestroy() {\r\n this.nav.show();\r\n }\r\n}\r\n","
\r\n
\r\n \r\n
\r\n
\r\n
\r\n

Recorded Land Plan Search Results

\r\n

\r\n Name: {{ recs.coresearchdata.name.name[0].lastcorpName }} Role: \r\n \r\n \r\n Date: {{recs.coresearchdata.date.date[0].fromDate| date:'MM-dd-yyyy'}} to {{recs.coresearchdata.date.date[0].toDate| date:'MM-dd-yyyy'}} City/Town: {{recordCount}} records found\r\n

\r\n
\r\n
\r\n
\r\n","import { Component, OnInit, ViewChild } from '@angular/core';\nimport { RecPlanSearchService } from '../../rec-plan-search-service';\r\nimport { DxDataGridComponent } from 'devextreme-angular';\r\nimport { PlanNumComponent } from '../plan-num/plan-num.component';\r\nimport { PlanRoom2VM, SearchPlanRoom2ListVM } from '../../../shared/viewmodels/ISearchServiceReg';\r\nimport { Store } from '@ngrx/store';\r\nimport { AppState } from '../../../store/reducers/reducers';\r\nimport { Router } from '@angular/router';\r\nimport { DomSanitizer } from '@angular/platform-browser';\r\nimport Swal from 'sweetalert2';\r\n\n@Component({\n selector: 'app-rec-plan-plannum-search-grid',\n providers: [RecPlanSearchService],\n templateUrl: './rec-plan-plannum-search-grid.component.html',\n styleUrls: ['./rec-plan-plannum-search-grid.component.css']\n})\nexport class RecPlanPlannumSearchGridComponent implements OnInit {\n\n @ViewChild(DxDataGridComponent, { static: true }) dataGrid: DxDataGridComponent;\n @ViewChild(PlanNumComponent) cplannum!: PlanNumComponent;\n public recsresults!: PlanRoom2VM[];\n //public recsresults: SearchPlanRoom2ListVM;\n //public recdoc: RecDocVM;\n public re!: string;\n applyFilterTypes: any;\n currentFilter: any;\n showFilterRow!: boolean;\n console = console;\n towns: string[] = [];\n doctypes: string[] = [];\n rolename!: string;\n\n userInput: any;\n public errorMsg: any;\n\n focusedRowKey!: number;\n recordCount!: number;\n public noDataText: string = \"Loading...\";\n\n\n constructor(private service: RecPlanSearchService, private store: Store, private router: Router, private sanitizer: DomSanitizer) {\n }\n\n ngOnInit() {\n this.store.select((state: any) => state).subscribe(data => this.userInput = data);\n\n this.getResults(\n this.userInput.regsearchdata.plannum.plannum[0].plannum\n );\n\n this.showFilterRow = true;\n this.applyFilterTypes = [{\n key: \"auto\",\n name: \"Immediately\"\n }, {\n key: \"onClick\",\n name: \"On Button Click\"\n }];\n\n this.currentFilter = this.applyFilterTypes[0].key;\n }\n\n getResults(plannum) {\n //let getRecPlanBPSearchQuery = new GetRecPlanBPSearchQuery({\n\n // book: book,\n // page: page\n //});\n\n this.service.SelectPlanByPlanID(Number(plannum)).subscribe(result => {\n\n this.recsresults = result[\"planRoom2Rows\"];\n this.recordCount = this.recsresults.length;\n if (this.recordCount == 0) {\n this.noDataText = \"No records found.\";\n Swal.fire(\"No records found.\")\r\n }\n });\n\n\n\n }\n\n //getRecDoc(docId: number) {\n // this.service.getRecDoc(docId).subscribe(\n // data => { this.recdoc = data },\n // error => { this.errorMsg = error }\n // );\n //}\n\n\n\n clearFilter() {\n this.dataGrid.instance.clearFilter();\n }\n\n onInitialized(e) {\n\n }\n\n //Open image in another tab'\n imgClicked(event) {\n if (!this.dataGrid.instance.isRowSelected(event.row.key)) {\n this.dataGrid.instance.selectRows(event.row.key, false);\n }\n // this.nav.visible = false;\n\n\n }\n\n onExpanding(e) {\n this.focusedRowKey = e.component.option(\"focusedRowIndex\");\n this.focusedRowKey = e.key.index;\n e.component.collapseAll(-1);\n }\n\n\n //export() {\n\n\n // //this.console.log('Inside Export');\n // let getRecNameSearchReportQuery = new GetRecNameSearchReportQuery({\n // lastName: this.userInput.name[0].lastcorpName,\n // firstName: this.userInput.name[0].fName,\n // fromDate: this.userInput.date[0].fromDate,\n // toDate: this.userInput.date[0].toDate,\n // roleId: (this.userInput.role[0].roleID == -1) ? 0 : this.userInput.role[0].roleID,\n // towns: this.towns,\n // doctypes: this.doctypes,\n // sortBy: new Array(),\n // sortDirection: \"desc\",\n // filter: new Array()\n // });\n // this.console.log(this.userInput.date[0].fromDate);\n // this.console.log(getRecNameSearchReportQuery.toJSON());\n // this.reportService.getRecNameSearchReport(getRecNameSearchReportQuery).subscribe((reportName) => {\n // //this.reportUrl = reportName.reportName;\n // this.console.log(`rerportName: ${reportName.reportName}`);\n // this.router.navigate([`/report-viewer/${reportName.reportName}`]);\n\n // });\n\n\n //}\n\n}\n","\r\n\r\n\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n\r\n","import { Component, OnInit, Input, OnDestroy } from '@angular/core';\nimport { Router } from '@angular/router';\r\nimport { Store } from '@ngrx/store';\r\nimport { AppState } from '../../../store/reducers/reducers';\r\nimport { NavMenuService } from '../../../shared/services/nav-menu-service';\r\nimport { RecPlanSearchService } from '../../rec-plan-search-service';\r\n\n@Component({\n selector: 'app-rec-plan-plannum-search-header',\n providers: [RecPlanSearchService],\n templateUrl: './rec-plan-plannum-search-header.component.html',\n styleUrls: ['./rec-plan-plannum-search-header.component.css']\n})\nexport class RecPlanPlannumSearchHeaderComponent implements OnInit, OnDestroy {\n\n recs: any;\n @Input() recordCount: number;\n\n constructor(private router: Router, private store: Store, public nav: NavMenuService, private service: RecPlanSearchService) {\n\n store.select((state: any) => state).subscribe(data => this.recs = data);\n console.log(this.recs.regsearchdata.plannum.plannum[0].plannum);\n\n\n\n\n\n }\n\n back(url) {\n try {\n this.service.logInfo('Clicked back button');\n this.nav.show();\n //if (localStorage.getItem('recPlanNameSearchResults') !== null) {\n // localStorage.removeItem('recPlanNameSearchResults');\n //}\n this.router.navigate([url]);\n }\n catch (error) {\n this.service.logError(error);\n }\n\n }\n\n ngOnInit() {\n\n }\n\n ngOnDestroy() {\n this.nav.show();\n }\n}\n","
\r\n
\r\n \r\n
\r\n
\r\n
\r\n

Recorded Land Plan Search Results

\r\n

\r\n Plan Number: {{ recs.regsearchdata.plannum.plannum[0].plannum }} {{recordCount}} records found\r\n

\r\n
\r\n
\r\n
\r\n","import { Component, OnInit, ViewChild, HostListener } from '@angular/core';\r\nimport { RecPlanDocImageComponent } from '../../components/rec-plan-doc-image/rec-plan-doc-image.component';\r\nimport { ActivatedRoute, Router } from '@angular/router';\r\nimport { RecPlanSearchService } from '../../rec-plan-search-service';\r\n\r\n@Component({\r\n selector: 'app-rec-plan-bp-doc-disp-pg',\r\n providers: [RecPlanSearchService],\r\n templateUrl: './rec-plan-bp-doc-disp-pg.component.html',\r\n styleUrls: ['./rec-plan-bp-doc-disp-pg.component.css']\r\n})\r\nexport class RecPlanBpDocDispPgComponent implements OnInit {\r\n\r\n public bookType: string;\r\n public book: string;\r\n public page: string;\r\n collapsesideinfo: boolean = false;\r\n //public record: RecDocVM;\r\n error: any;\r\n public isImgVwVisible: boolean = true;\r\n public isLoadingDetail: boolean = true;\r\n @ViewChild(RecPlanDocImageComponent) recPlanDocImageComponent: RecPlanDocImageComponent;\r\n screenWidth: any;\r\n\r\n\r\n constructor(private route: ActivatedRoute, private router: Router) {\r\n this.book = this.route.snapshot.paramMap.get('book');\r\n console.log('book: ' + this.book);\r\n this.page = this.route.snapshot.paramMap.get('page');\r\n console.log('page: ' + this.page);\r\n this.bookType = this.route.snapshot.paramMap.get('bookType');\r\n console.log('bookType: ' + this.bookType);\r\n this.isLoadingDetail = true;\r\n }\r\n\r\n ngOnInit(): void {\r\n //throw new Error(\"Method not implemented.\");\r\n }\r\n\r\n back(url) {\r\n\r\n //this.router.navigate([url]);\r\n window.opener = 'Self';\r\n window.open('', '_parent', '');\r\n window.close();\r\n\r\n }\r\n\r\n\r\n toggleSideInfo() {\r\n this.collapsesideinfo = !this.collapsesideinfo;\r\n\r\n }\r\n\r\n @HostListener('window:resize', ['$event'])\r\n getScreenSize(event?) {\r\n this.screenWidth = window.innerWidth;\r\n }\r\n\r\n getIsImgVwVisible(e) {\r\n this.isImgVwVisible = e;\r\n }\r\n}\r\n","
\r\n \r\n
\r\n\r\n","import { Component, OnInit, ViewChild } from '@angular/core';\nimport { RecPlanBpSearchGridComponent } from '../../components/rec-plan-bp-search-grid/rec-plan-bp-search-grid.component';\r\nimport { NavMenuService } from '../../../shared/services/nav-menu-service';\r\n\n@Component({\n selector: 'app-rec-plan-bp-result-pg',\n templateUrl: './rec-plan-bp-result-pg.component.html',\n styleUrls: ['./rec-plan-bp-result-pg.component.css']\n})\nexport class RecPlanBpResultPgComponent implements OnInit {\n\n @ViewChild(RecPlanBpSearchGridComponent, { static: true }) recPlanBPResults: RecPlanBpSearchGridComponent;\n\n constructor(public nav: NavMenuService) {\n\n\n }\n\n\n\n ngOnInit() {\n\n //// hide the navigation menu.\n this.nav.hide();\n\n }\n}\n","
\r\n \r\n
\r\n
\r\n \r\n
\r\n","import { Component, OnInit, ViewChild } from '@angular/core';\nimport { FormGroup, FormControl, FormBuilder, NgForm } from '@angular/forms';\r\nimport { Router } from '@angular/router';\r\nimport { Store } from '@ngrx/store';\r\nimport { AppState } from '../../../store/reducers/reducers';\r\nimport * as BPActions from '../../../store/actions/bookpage.action';\r\nimport { BookPageComponent } from '../../../shared/components/book-page/book-page.component';\r\n\n@Component({\n selector: 'app-rec-plan-bp-search',\n templateUrl: './rec-plan-bp-search.component.html',\n styleUrls: ['./rec-plan-bp-search.component.css']\n})\nexport class RecPlanBpSearchComponent implements OnInit {\n\n @ViewChild(BookPageComponent) bookpageChild: BookPageComponent;\n @ViewChild('f', { static: true }) bookPageSearchForm: NgForm;\n parentForm!: FormGroup;\n\n constructor(private router: Router, private store: Store, private fb: FormBuilder) {\n\n\n }\n\n addRecToStore(book, page) {\n this.store.dispatch(new BPActions.AddBP(\n { docNumPrimary: book, docNumSecondary: page }));\n }\n\n delRecFromStore(index) {\n this.store.dispatch(new BPActions.RemoveBP(index));\n }\n\n\n\n ngOnInit() {\n this.parentForm = this.fb.group({\n });\n\n this.bookPageSearchForm.form = this.fb.group({});\n\n }\n\n onSubmit(e) {\n if (this.bookPageSearchForm.valid) {\n\n this.delRecFromStore(0);\n\n this.addRecToStore(\n this.bookpageChild.utilityobj.docNumPrimary,\n this.bookpageChild.utilityobj.docNumSecondary);\n\n\n this.router.navigate(['/rec-plan-bp-result-pg']);\n\n\n }\n else {\n this.validateAllFormFields(this.bookPageSearchForm.form);\n }\n }\n\n validateAllFormFields(formGroup: FormGroup) { //{1}\n Object.keys(formGroup.controls).forEach(field => { //{2}\n const control = formGroup.get(field); //{3}\n if (control instanceof FormControl) { //{4}\n control.markAsTouched({ onlySelf: true });\n } else if (control instanceof FormGroup) { //{5}\n this.validateAllFormFields(control); //{6}\n }\n });\n }\n ngAfterViewInit() {\n this.bookPageSearchForm.form.addControl('bookPageForm', this.bookpageChild.form);\n this.bookpageChild.form.setParent(this.bookPageSearchForm.form);\n }\n}\n","\r\n
\r\n

Search Recorded Land Plans by

\r\n
\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n\r\n\r\n\r\n","import { Component, OnInit, HostListener, ViewChild } from '@angular/core';\nimport { ActivatedRoute, Router } from '@angular/router';\r\nimport { RecPlanSearchService } from '../../rec-plan-search-service';\r\nimport { RecPlanDocImageComponent } from '../../components/rec-plan-doc-image/rec-plan-doc-image.component';\r\n\n@Component({\n selector: 'app-rec-plan-name-doc-disp-pg',\n providers: [RecPlanSearchService],\n templateUrl: './rec-plan-name-doc-disp-pg.component.html',\n styleUrls: ['./rec-plan-name-doc-disp-pg.component.css']\n})\nexport class RecPlanNameDocDispPgComponent implements OnInit {\n public bookType: string;\n public book: string;\n public page: string;\n collapsesideinfo: boolean = false;\n //public record: RecDocVM;\n error: any;\n public isImgVwVisible: boolean = true;\n public isLoadingDetail: boolean = true;\n @ViewChild(RecPlanDocImageComponent) recPlanDocImageComponent: RecPlanDocImageComponent;\n screenWidth: any;\n\n\n constructor(private route: ActivatedRoute, private router: Router) {\n this.book = this.route.snapshot.paramMap.get('book');\n console.log('book: ' + this.book);\n this.page = this.route.snapshot.paramMap.get('page');\n console.log('page: ' + this.page);\n this.bookType = this.route.snapshot.paramMap.get('bookType');\n console.log('bookType: ' + this.bookType);\n this.isLoadingDetail = true;\n }\n\n ngOnInit(): void {\n //throw new Error(\"Method not implemented.\");\n }\n\n back(url) {\n\n //this.router.navigate([url]);\n window.opener = 'Self';\n window.open('', '_parent', '');\n window.close();\n\n }\n\n\n toggleSideInfo() {\n this.collapsesideinfo = !this.collapsesideinfo;\n\n }\n\n @HostListener('window:resize', ['$event'])\n getScreenSize(event?) {\n this.screenWidth = window.innerWidth;\n }\n\n getIsImgVwVisible(e) {\n this.isImgVwVisible = e;\n }\n\n \n\n}\n","
\r\n \r\n
\r\n\r\n\r\n\r\n","import { Component, OnInit, ViewChild } from '@angular/core';\r\nimport { RecPlanNameSearchGridComponent } from '../../components/rec-plan-name-search-grid/rec-plan-name-search-grid.component';\r\nimport { NavMenuService } from '../../../shared/services/nav-menu-service';\r\n\r\n@Component({\r\n selector: 'app-rec-plan-name-result-pg',\r\n templateUrl: './rec-plan-name-result-pg.component.html',\r\n styleUrls: ['./rec-plan-name-result-pg.component.css']\r\n})\r\nexport class RecPlanNameResultPgComponent implements OnInit {\r\n\r\n @ViewChild(RecPlanNameSearchGridComponent, { static: true }) recPlanNameResults: RecPlanNameSearchGridComponent;\r\n\r\n constructor(public nav: NavMenuService) {\r\n\r\n\r\n }\r\n\r\n\r\n\r\n ngOnInit() {\r\n\r\n //// hide the navigation menu.\r\n this.nav.hide();\r\n\r\n }\r\n\r\n}\r\n","
\r\n \r\n
\r\n
\r\n \r\n
\r\n\r\n\r\n\r\n\r\n","import { Component, OnInit, ViewChild } from '@angular/core';\r\nimport { CompoundNameComponent } from '../../../shared/components/compound-name/compound-name.component';\r\nimport { PlanroleComponent } from '../../components/planrole/planrole.component';\r\nimport { DateRangeParentComponent } from '../../../shared/components/date-range-parent/date-range-parent.component';\r\nimport { CityTownEXComponent } from '../../../shared/components/city-town-ex/city-town-ex.component';\r\nimport { NgForm, FormGroup, FormBuilder, FormControl } from '@angular/forms';\r\nimport { Router } from '@angular/router';\r\nimport { Store } from '@ngrx/store';\r\nimport * as CompoundNameActions from './../../../store/actions/compoundname.action';\r\nimport * as PlanRoleActions from './../../../store/actions/planrole.action';\r\nimport * as DateRangeActions from '../../../store/actions/daterange.action';\r\nimport * as CityActions from '../../../store/actions/citytown.action';\r\nimport { AppState } from '../../../store/reducers/reducers';\r\n\r\n@Component({\r\n selector: 'app-rec-plan-name-search',\r\n templateUrl: './rec-plan-name-search.component.html',\r\n styleUrls: ['./rec-plan-name-search.component.css']\r\n})\r\nexport class RecPlanNameSearchComponent implements OnInit {\r\n\r\n @ViewChild(CompoundNameComponent, {static: true}) nameChild: CompoundNameComponent;\r\n @ViewChild(PlanroleComponent) planroleChild: PlanroleComponent;\r\n @ViewChild(DateRangeParentComponent, {static: false}) dateRangeChild: DateRangeParentComponent;\r\n @ViewChild(CityTownEXComponent) cityTownChild: CityTownEXComponent;\r\n \r\n @ViewChild('f', { static: true }) recPlanNameSearchForm: NgForm;\r\n parentForm!: FormGroup;\r\n\r\n\r\n\r\n ngOnInit() {\r\n this.parentForm = this.fb.group({\r\n });\r\n\r\n this.recPlanNameSearchForm.form = this.fb.group({});\r\n\r\n if (this.dateRangeChild.utilityobj.fromDate == undefined)\r\n this.dateRangeChild.utilityobj.fromDate = new Date('1/1/1880');\r\n\r\n if (this.dateRangeChild.utilityobj.toDate == undefined)\r\n this.dateRangeChild.utilityobj.toDate = new Date();\r\n\r\n }\r\n\r\n\r\n\r\n constructor(private router: Router, private store: Store, private fb: FormBuilder) {\r\n\r\n\r\n }\r\n\r\n /**\r\n * Store the input parameters passed by user in the store.\r\n * @param fname\r\n * @param lname\r\n * @param fromdate\r\n * @param todate\r\n * @param roleid\r\n * @param citytowns\r\n * @param doctypes\r\n * @param streetnumber\r\n * @param streetaddress\r\n * @param book\r\n * @param page\r\n * @param docnum\r\n */\r\n addRecToStore(lname, fname, planroleid, fromdate, todate, citytowns) {\r\n \r\n this.store.dispatch(new CompoundNameActions.AddName({\r\n lastcorpName: lname,\r\n fName: fname\r\n }));\r\n\r\n this.store.dispatch(new PlanRoleActions.AddRole({\r\n planroleID: planroleid\r\n }));\r\n\r\n this.store.dispatch(new DateRangeActions.AddDate({\r\n fromDate: fromdate,\r\n toDate: todate\r\n }));\r\n\r\n this.store.dispatch(new CityActions.AddCity({\r\n citytowns: citytowns\r\n }));\r\n\r\n \r\n }\r\n\r\n /**\r\n * Delete input parameters from store.\r\n * @param index\r\n */\r\n delRecFromStore(index) {\r\n this.store.dispatch(new CompoundNameActions.RemoveName(index));\r\n this.store.dispatch(new PlanRoleActions.RemoveRole(index));\r\n this.store.dispatch(new DateRangeActions.RemoveDate(index));\r\n this.store.dispatch(new CityActions.RemoveCity(index));\r\n \r\n }\r\n\r\n /**\r\n * Search recorded land name search results.\r\n * @param url\r\n */\r\n\r\n\r\n onSubmit(e) {\r\n if (this.recPlanNameSearchForm.valid) {\r\n\r\n this.delRecFromStore(0);\r\n\r\n this.addRecToStore(\r\n this.nameChild.utilityobj.lastcorpName,\r\n this.nameChild.utilityobj.fName,\r\n this.planroleChild.utilityobj.planroleID,\r\n this.dateRangeChild.utilityobj.fromDate,\r\n this.dateRangeChild.utilityobj.toDate,\r\n this.cityTownChild.utilityobj.citytowns\r\n );\r\n\r\n this.router.navigate(['/rec-plan-name-result-pg']);\r\n\r\n }\r\n else {\r\n this.validateAllFormFields(this.recPlanNameSearchForm.form);\r\n }\r\n }\r\n\r\n validateAllFormFields(formGroup: FormGroup) { //{1}\r\n Object.keys(formGroup.controls).forEach(field => { //{2}\r\n const control = formGroup.get(field); //{3}\r\n if (control instanceof FormControl) { //{4}\r\n control.markAsTouched({ onlySelf: true });\r\n } else if (control instanceof FormGroup) { //{5}\r\n this.validateAllFormFields(control); //{6}\r\n }\r\n });\r\n }\r\n ngAfterViewInit() {\r\n \r\n this.recPlanNameSearchForm.form.addControl('nameForm', this.nameChild.form);\r\n this.nameChild.form.setParent(this.recPlanNameSearchForm.form);\r\n\r\n this.recPlanNameSearchForm.form.addControl('dateRangeForm', this.dateRangeChild.form);\r\n this.dateRangeChild.form.setParent(this.recPlanNameSearchForm.form);\r\n\r\n //if (this.dateRangeChild) { this.dateRangeChild.reset('1/1/1880', new Date().toLocaleDateString()); }\r\n\r\n if (this.dateRangeChild.utilityobj.fromDate == undefined)\r\n this.dateRangeChild.utilityobj.fromDate = new Date('1/1/1880');\r\n\r\n if (this.dateRangeChild.utilityobj.toDate == undefined)\r\n this.dateRangeChild.utilityobj.toDate = new Date();\r\n\r\n if (this.dateRangeChild) { this.dateRangeChild.reset('1/1/1880', new Date().toLocaleDateString()); }\r\n\r\n if (this.cityTownChild) (this.cityTownChild.reset())\r\n }\r\n\r\n reset() {\r\n if (this.nameChild) { this.nameChild.reset(); }\r\n if (this.planroleChild) { this.planroleChild.reset(); }\r\n if (this.cityTownChild) { this.cityTownChild.reset(); }\r\n if (this.dateRangeChild) { this.dateRangeChild.reset('1/1/1880', new Date().toLocaleDateString()); }\r\n\r\n this.delRecFromStore(0);\r\n\r\n this.addRecToStore(\r\n this.nameChild.utilityobj.fName,\r\n this.nameChild.utilityobj.lastcorpName,\r\n this.dateRangeChild.utilityobj.fromDate,\r\n this.dateRangeChild.utilityobj.toDate,\r\n this.planroleChild.utilityobj.planroleID,\r\n this.cityTownChild.utilityobj.citytowns)\r\n }\r\n\r\n}\r\n","
\r\n

Search Recorded Land Plans by

\r\n
\r\n\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n","import { Component, OnInit, HostListener, ViewChild } from '@angular/core';\nimport { RecPlanDocImageComponent } from '../../components/rec-plan-doc-image/rec-plan-doc-image.component';\r\nimport { ActivatedRoute, Router } from '@angular/router';\r\nimport { RecPlanSearchService } from '../../rec-plan-search-service';\r\n\n@Component({\n selector: 'app-rec-plan-plannum-doc-disp-pg',\n providers: [RecPlanSearchService],\n templateUrl: './rec-plan-plannum-doc-disp-pg.component.html',\n styleUrls: ['./rec-plan-plannum-doc-disp-pg.component.css']\n})\nexport class RecPlanPlannumDocDispPgComponent implements OnInit {\n\n public bookType: string;\n public book: string;\n public page: string;\n collapsesideinfo: boolean = false;\n //public record: RecDocVM;\n error: any;\n public isImgVwVisible: boolean = true;\n public isLoadingDetail: boolean = true;\n @ViewChild(RecPlanDocImageComponent) recPlanDocImageComponent: RecPlanDocImageComponent;\n screenWidth: any;\n\n\n constructor(private route: ActivatedRoute, private router: Router) {\n this.book = this.route.snapshot.paramMap.get('book')!;\n console.log('book: ' + this.book);\n this.page = this.route.snapshot.paramMap.get('page')!;\n console.log('page: ' + this.page);\n this.bookType = this.route.snapshot.paramMap.get('bookType')!;\n console.log('bookType: ' + this.bookType);\n this.isLoadingDetail = true;\n }\n\n ngOnInit(): void {\n //throw new Error(\"Method not implemented.\");\n }\n\n back(url) {\n\n //this.router.navigate([url]);\n window.opener = 'Self';\n window.open('', '_parent', '');\n window.close();\n\n }\n\n\n toggleSideInfo() {\n this.collapsesideinfo = !this.collapsesideinfo;\n\n }\n\n @HostListener('window:resize', ['$event'])\n getScreenSize(event?) {\n this.screenWidth = window.innerWidth;\n }\n\n getIsImgVwVisible(e) {\n this.isImgVwVisible = e;\n }\n\n}\n","
\r\n \r\n
\r\n\r\n","import { Component, OnInit, ViewChild } from '@angular/core';\nimport { RecPlanPlannumSearchGridComponent } from '../../components/rec-plan-plannum-search-grid/rec-plan-plannum-search-grid.component';\r\nimport { NavMenuService } from '../../../shared/services/nav-menu-service';\r\n\n@Component({\n selector: 'app-rec-plan-plannum-result-pg',\n templateUrl: './rec-plan-plannum-result-pg.component.html',\n styleUrls: ['./rec-plan-plannum-result-pg.component.css']\n})\nexport class RecPlanPlannumResultPgComponent implements OnInit {\n\n @ViewChild(RecPlanPlannumSearchGridComponent, { static: true }) recPlanNumResults: RecPlanPlannumSearchGridComponent;\n\n constructor(public nav: NavMenuService) {\n\n\n }\n\n\n\n ngOnInit() {\n\n //// hide the navigation menu.\n this.nav.hide();\n\n }\n}\n","
\r\n \r\n
\r\n
\r\n \r\n
\r\n","import { Component, OnInit, ViewChild } from '@angular/core';\nimport { PlanNumComponent } from '../../components/plan-num/plan-num.component';\r\nimport { NgForm, FormGroup, FormBuilder, FormControl } from '@angular/forms';\r\nimport { Router } from '@angular/router';\r\nimport { Store } from '@ngrx/store';\r\nimport * as PlanNumActions from './../../../store/actions/plannum.action';\r\nimport { AppState } from '../../../store/reducers/reducers';\r\n\n@Component({\n selector: 'app-rec-plan-plannum-search',\n templateUrl: './rec-plan-plannum-search.component.html',\n styleUrls: ['./rec-plan-plannum-search.component.css']\n})\nexport class RecPlanPlannumSearchComponent implements OnInit {\n\n @ViewChild(PlanNumComponent) planNumChild: PlanNumComponent;\n @ViewChild('f', { static: true }) plannumSearchForm: NgForm;\n parentForm: FormGroup;\n\n\n\n constructor(private router: Router, private store: Store, private fb: FormBuilder) {\n\n\n }\n\n addRecToStore(plannum: any) {\n this.store.dispatch(new PlanNumActions.AddPlanNum({ plannum: plannum }));\n }\n\n delRecFromStore(index: any) {\n this.store.dispatch(new PlanNumActions.RemovePlanNum(index));\n }\n\n\n \n\n ngOnInit() {\n this.parentForm = this.fb.group({\n });\n\n this.plannumSearchForm.form = this.fb.group({});\n\n }\n\n onSubmit(e) {\n if (this.plannumSearchForm.valid) {\n\n this.delRecFromStore(0);\n\n this.addRecToStore(this.planNumChild.utilityobj.plannum);\n console.log(this.planNumChild.utilityobj.plannum);\n this.router.navigate(['/rec-plan-plannum-result-pg']);\n\n\n }\n else {\n this.validateAllFormFields(this.plannumSearchForm.form);\n }\n }\n\n validateAllFormFields(formGroup: FormGroup) { //{1}\n Object.keys(formGroup.controls).forEach(field => { //{2}\n const control = formGroup.get(field); //{3}\n if (control instanceof FormControl) { //{4}\n control.markAsTouched({ onlySelf: true });\n } else if (control instanceof FormGroup) { //{5}\n this.validateAllFormFields(control); //{6}\n }\n });\n }\n ngAfterViewInit() {\n this.plannumSearchForm.form.addControl('plannumForm', this.planNumChild.form);\n this.planNumChild.form.setParent(this.plannumSearchForm.form);\n }\n}\n","
\r\n

Search Recorded Land Plans by

\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n","import { Injectable, Inject } from '@angular/core';\r\nimport {\r\n GetRecPlanNameSearchQuery,\r\n RecPlanNameSearchListVM,\r\n\r\n PlanImgObject,\r\n PlanRoom2VM,\r\n SearchPlanRoom2ListVM,\r\n GetRecPlanBPSearchQuery\r\n} from '../shared/viewmodels/ISearchServiceReg';\r\nimport { formatDate, parseDate } from \"devextreme/localization\";\r\nimport { HttpClient, HttpParams, HttpErrorResponse, HttpHeaders, HttpResponseBase, HttpResponse } from '@angular/common/http';\r\nimport { Observable, throwError as _observableThrow, of as _observableOf } from 'rxjs';\r\nimport { mergeMap as _observableMergeMap, catchError as _observableCatch } from 'rxjs/operators';\r\n\r\nexport class SwaggerException extends Error {\r\n message: string;\r\n status: number;\r\n response: string;\r\n headers: { [key: string]: any; };\r\n result: any;\r\n\r\n constructor(message: string, status: number, response: string, headers: { [key: string]: any; }, result: any) {\r\n super();\r\n\r\n this.message = message;\r\n this.status = status;\r\n this.response = response;\r\n this.headers = headers;\r\n this.result = result;\r\n }\r\n\r\n protected isSwaggerException = true;\r\n\r\n static isSwaggerException(obj: any): obj is SwaggerException {\r\n return obj.isSwaggerException === true;\r\n }\r\n}\r\n\r\n\r\n@Injectable()\r\nexport class RecPlanSearchService {\r\n myAppUrl: string = \"\";\r\n\r\n protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined;\r\n\r\n\r\n constructor(private _http: HttpClient, @Inject('BASE_URL') baseUrl: string) {\r\n this.myAppUrl = baseUrl;\r\n }\r\n\r\n\r\n \r\n getRecPlanNameSearchResults(search: GetRecPlanNameSearchQuery): Observable {\r\n let url_ = this.myAppUrl + \"api/ES/GetSearchPlanRoom2\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n const content_ = JSON.stringify(search);\r\n\r\n let options_: any = {\r\n body: content_,\r\n observe: \"response\",\r\n responseType: \"blob\",\r\n headers: new HttpHeaders({\r\n \"Content-Type\": \"application/json\",\r\n })\r\n };\r\n return this._http.request(\"post\", url_, options_).pipe(_observableMergeMap((response_: any) => {\r\n return this.processGetRecPlanNameSearchResponse(response_);\r\n })).pipe(_observableCatch((response_: any) => {\r\n if (response_ instanceof HttpResponseBase) {\r\n try {\r\n return this.processGetRecPlanNameSearchResponse(response_);\r\n } catch (e) {\r\n return >_observableThrow(e);\r\n }\r\n } else\r\n return >_observableThrow(response_);\r\n\r\n }));\r\n\r\n }\r\n processGetRecPlanNameSearchResponse(response: HttpResponseBase): Observable {\r\n const status = response.status;\r\n const responseBlob =\r\n response instanceof HttpResponse ? response.body :\r\n (response).error instanceof Blob ? (response).error : undefined;\r\n\r\n let _headers: any = {}; if (response.headers) { for (let key of response.headers.keys()) { _headers[key] = response.headers.get(key); } };\r\n if (status === 200) {\r\n return this.blobToText(responseBlob).pipe(_observableMergeMap(_responseText => {\r\n let result200: any = null;\r\n let resultData200 = _responseText === \"\" ? null : JSON.parse(_responseText, this.jsonParseReviver);\r\n result200 = RecPlanNameSearchListVM.fromJS(resultData200);\r\n return _observableOf(result200);\r\n }));\r\n } else if (status !== 200 && status !== 204) {\r\n return this.blobToText(responseBlob).pipe(_observableMergeMap(_responseText => {\r\n return this.throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }));\r\n }\r\n return _observableOf(null);\r\n\r\n }\r\n\r\n getRecPlanBPSearchResults(search: GetRecPlanBPSearchQuery): Observable {\r\n let url_ = this.myAppUrl + \"api/ES/SelectPlanByBookPage\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n const content_ = JSON.stringify(search);\r\n\r\n let options_: any = {\r\n body: content_,\r\n observe: \"response\",\r\n responseType: \"blob\",\r\n headers: new HttpHeaders({\r\n \"Content-Type\": \"application/json\",\r\n })\r\n };\r\n return this._http.request(\"post\", url_, options_).pipe(_observableMergeMap((response_: any) => {\r\n return this.processGetRecPlanBPSearchResponse(response_);\r\n })).pipe(_observableCatch((response_: any) => {\r\n if (response_ instanceof HttpResponseBase) {\r\n try {\r\n return this.processGetRecPlanBPSearchResponse(response_);\r\n } catch (e) {\r\n return >_observableThrow(e);\r\n }\r\n } else\r\n return >_observableThrow(response_);\r\n\r\n }));\r\n\r\n }\r\n processGetRecPlanBPSearchResponse(response: HttpResponseBase): Observable {\r\n const status = response.status;\r\n const responseBlob =\r\n response instanceof HttpResponse ? response.body :\r\n (response).error instanceof Blob ? (response).error : undefined;\r\n\r\n let _headers: any = {}; if (response.headers) { for (let key of response.headers.keys()) { _headers[key] = response.headers.get(key); } };\r\n if (status === 200) {\r\n return this.blobToText(responseBlob).pipe(_observableMergeMap(_responseText => {\r\n let result200: any = null;\r\n let resultData200 = _responseText === \"\" ? null : JSON.parse(_responseText, this.jsonParseReviver);\r\n result200 = SearchPlanRoom2ListVM.fromJS(resultData200);\r\n return _observableOf(result200);\r\n }));\r\n } else if (status !== 200 && status !== 204) {\r\n return this.blobToText(responseBlob).pipe(_observableMergeMap(_responseText => {\r\n return this.throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }));\r\n }\r\n return _observableOf(null);\r\n\r\n }\r\n\r\n blobToText(blob: any): Observable {\r\n return new Observable((observer: any) => {\r\n if (!blob) {\r\n observer.next(\"\");\r\n observer.complete();\r\n } else {\r\n let reader = new FileReader();\r\n reader.onload = event => {\r\n observer.next((event.target).result);\r\n observer.complete();\r\n };\r\n reader.readAsText(blob);\r\n }\r\n });\r\n }\r\n throwException(message: string, status: number, response: string, headers: { [key: string]: any; }, result?: any): Observable {\r\n if (result !== null && result !== undefined)\r\n return _observableThrow(result);\r\n else\r\n return _observableThrow(new SwaggerException(message, status, response, headers, null));\r\n }\r\n\r\n\r\n getDocPlanImgByBP(book: string, page: string, booktype: string) {\r\n console.log('getDocPlanImgByBP');\r\n try {\r\n //return this._http.get(this.myAppUrl + 'api/ES/GetDocPlanImgByBP?book=' + book + '&page=' + page + '&booktype=' + booktype);\r\n let res = this._http.get(this.myAppUrl + 'api/ES/GetDocPlanImgByBP?book=' + book + '&page=' + page + '&booktype=' + booktype);\r\n console.log(res);\r\n }\r\n catch (e) {\r\n console.log(e);\r\n }\r\n return this._http.get(this.myAppUrl + 'api/ES/GetDocPlanImgByBP?book=' + book + '&page=' + page + '&booktype=' + booktype);\r\n }\r\n\r\n GetDocPlanPage(path: string, page: number) {\r\n console.log('getDocPlanImgByBP');\r\n\r\n return this._http.get(this.myAppUrl + 'api/ES/GetDocPlanPage?path=' + path + '&page=' + page, { responseType: 'text' });\r\n }\r\n \r\n \r\n SelectPlanByPlanID(planid:number) {\r\n console.log('SelectPlanByPlanID');\r\n return this._http.get(this.myAppUrl + 'api/ES/SelectPlanByPlanID?pPlanID=' + planid);\r\n }\r\n\r\n logError(message: string) {\r\n this._http.get(this.myAppUrl + 'api/ES/LogError?message=' + message);\r\n }\r\n\r\n logInfo(message: string) {\r\n this._http.get(this.myAppUrl + 'api/ES/LogInfo?message=' + message);\r\n }\r\n\r\n logWarning(message: string) {\r\n this._http.get(this.myAppUrl + 'api/ES/LogWarning?message=' + message);\r\n }\r\n}\r\n","import { Component, OnInit, OnChanges, SimpleChanges } from '@angular/core';\nimport { Router, ActivatedRoute, ParamMap } from '@angular/router';\nimport { switchMap, concat } from 'rxjs/operators';\nimport { Observable } from 'rxjs';\nimport { RecSearchService } from '../../rec-search-service';\nimport { DomSanitizer, SafeValue, SafeUrl } from '@angular/platform-browser';\n\n@Component({\n selector: 'app-ait-image-viewer',\n providers: [RecSearchService],\n templateUrl: './image-viewer.component.html',\n styleUrls: ['./image-viewer.component.css']\n})\nexport class RecImageViewer implements OnInit {\n\n public docId: number;\n public book: string;\n public page: string;\n public docImages: Array;\n public datas: Array;\n public isLoading: boolean = true;\n error: any;\n //private firstimage: SafeUrl;\n constructor(\n private route: ActivatedRoute,\n private service: RecSearchService,\n private sanitizer: DomSanitizer\n ) {\n this.docImages = new Array();\n this.book = this.route.snapshot.paramMap.get('book');\n this.page = this.route.snapshot.paramMap.get('page');\n this.docId = Number(this.route.snapshot.paramMap.get('docId'));\n\n console.log('docId in ctor: ' + this.docId);\n console.log('book in ctor: ' + this.book);\n console.log('page in ctor: ' + this.page);\n\n\n }\n\n ngOnInit() {\n\n this.getImageByBookPage();\n\n\n }\n ngOnChanges(changes: SimpleChanges) {\n\n }\n getImageByDocID() {\n console.log('making a getImageByDocId call');\n this.service.getImageByDocId(this.docId).subscribe(\n data => {\n //console.log(data);\n this.docImages.push(data);\n //this.ngOnInit()\n },\n error => { this.error = error }\n );\n }\n getNextImage(event: Event) {\n console.log('getNextImage() clicked event: ' + event);\n }\n getImageByBookPage() {\n console.log('1. calling getImageByBookAndPage');\n this.service.getImageByBookAndPage(this.book, this.page).subscribe(\n data => {\n let image = data;\n\n //console.log('2. getImageByBookAndPage returned');\n\n //console.log('image length on server: ' + data.length);\n //console.log('image length on client: ' + image.length);\n this.docImages.push(image);\n //this.docImages = this.datas;\n //this.firstimage = 'data:image/png;base64' + this.docImages[0]; //this.sanitizer.bypassSecurityTrustUrl('data:image/png;base64' + this.docImages[0]);\n //this.firstimage = this.sanitizer.bypassSecurityTrustUrl('data:image/png;base64,' + this.docImages[0]);\n console.log('length of the payload: ' + this.docImages[0].length);\n //this.firstimage = \"data:image/png;base64\" + this.docImages[0];\n this.isLoading = false;\n console.log('docImages length: ' + this.docImages.length);\n //this.ngOnInit();\n },\n error => { this.error = error }\n );\n console.log('line 3');\n }\n\n}\n","
\r\n \r\n
\r\n Loading ...\r\n
\r\n \r\n \r\n\r\n \r\n
\r\n","import { Component, OnInit, ViewChild } from '@angular/core';\r\nimport { RecDocVM, RecNameSearchRowVM, RecAddressSearchRowVM, GetRecAddressSearchQuery, GetRegAddressSearchQuery, GetRecAddressSearchReportQuery, SearchFilter } from '../../../shared/viewmodels/ISearchService';\r\nimport { DxDataGridComponent } from 'devextreme-angular';\r\nimport { CompoundNameComponent } from '../../../shared/components/compound-name/compound-name.component';\r\nimport { RecSearchService } from '../../rec-search-service';\r\nimport { Store } from '@ngrx/store';\r\nimport { Router } from '@angular/router';\r\nimport { DomSanitizer } from '@angular/platform-browser';\r\nimport { CompoundAddressComponent } from '../../../shared/components/compound-address/compound-address.component';\r\nimport { AppState, getCoreSearchState } from '../../../store/reducers/reducers';\r\nimport { take } from 'rxjs/operators';\r\nimport { ReportViewerService } from '../../../shared/services/report-viewer.service';\r\nimport Swal from 'sweetalert2';\r\n\r\n@Component({\r\n selector: 'app-rec-address-search-grid',\r\n providers: [RecSearchService, ReportViewerService],\r\n templateUrl: './rec-address-search-grid.component.html',\r\n styleUrls: ['./rec-address-search-grid.component.css']\r\n})\r\nexport class RecAddressSearchGridComponent implements OnInit {\r\n\r\n @ViewChild(DxDataGridComponent, { static: true }) dataGrid: DxDataGridComponent;\r\n @ViewChild(CompoundAddressComponent) cName: CompoundAddressComponent;\r\n public recsresults!: RecAddressSearchRowVM[];\r\n public recdoc!: RecDocVM;\r\n public re!: string;\r\n applyFilterTypes: any;\r\n currentFilter: any;\r\n showFilterRow: boolean;\r\n console = console;\r\n towns: string[] = [];\r\n doctypes: string[] = [];\r\n public infoFromServer: string;\r\n\r\n userInput: any;\r\n public errorMsg: any;\r\n\r\n focusedRowKey!: number;\r\n recordCount!: number;\r\n public noDataText: string = \"Loading...\";\r\n\r\n constructor(private service: RecSearchService, private reportService: ReportViewerService, private store: Store, private router: Router, private sanitizer: DomSanitizer) {\r\n\r\n this.store.select(getCoreSearchState).pipe(take(1)).subscribe(data => \r\n this.userInput = data);\r\n for (let city of this.userInput.city.city[0].citytowns) {\r\n if (city.isChecked)\r\n this.towns.push(city.townAbbrev);\r\n }\r\n\r\n for (let doctype of this.userInput.doct.doct[0].doctypes) {\r\n if (doctype.isChecked)\r\n this.doctypes.push(doctype.docCode);\r\n }\r\n\r\n console.log(`userInput.date.date[0].fromDate: ${this.userInput.date.date[0].fromDate}`);\r\n this.getAddressResults(this.userInput.address.address[0].streetNumber, this.userInput.address.address[0].streetAddress, this.userInput.date.date[0].fromDate, this.userInput.date.date[0].toDate, this.towns, this.doctypes);\r\n\r\n\r\n this.showFilterRow = true;\r\n this.applyFilterTypes = [{\r\n key: \"auto\",\r\n name: \"Immediately\"\r\n }, {\r\n key: \"onClick\",\r\n name: \"On Button Click\"\r\n }];\r\n\r\n this.currentFilter = this.applyFilterTypes[0].key;\r\n\r\n }\r\n\r\n ngOnInit() {\r\n\r\n\r\n }\r\n\r\n\r\n getAddressResults(strtnum, strtname, fromdate, todate, towns, doctypes) {\r\n\r\n let query = new GetRecAddressSearchQuery({\r\n streetName: strtname,\r\n streetNumber: strtnum,\r\n fromDate: fromdate,\r\n toDate: todate,\r\n towns: towns,\r\n doctypes: doctypes\r\n });\r\n\r\n //console.log(`streetName: ${strtname}`);\r\n //console.log(`streetNumber: ${strtnum}`);\r\n //console.log(`fromDate: ${fromdate}`);\r\n //console.log(`toDate: ${todate}`);\r\n //console.log(`towns: ${towns}`);\r\n //console.log(`doctypes: ${doctypes}`);\r\n //console.log(`query: ${JSON.stringify(query)}`);\r\n //console.log(`query.streetName: ${query.streetName}`);\r\n //console.log(`query.streetNumber: ${query.streetNumber}`);\r\n //console.log(`query.fromDate: ${query.fromDate}`);\r\n //console.log(`query.toDate: ${query.toDate}`);\r\n //console.log(`query.towns: ${query.towns}`);\r\n //console.log(`query.doctypes: ${query.doctypes}`);\r\n\r\n this.service.getRecAddressSearchResults(query).subscribe(\r\n data => {\r\n this.recsresults = data.recAddressSearchRows;\r\n this.recordCount = this.recsresults.length;\r\n if (this.recordCount == 0) {\r\n this.noDataText = \"No records found.\";\r\n Swal.fire(\"No records found.\");\r\n }\r\n },\r\n error => this.errorMsg = error\r\n );\r\n //this.service.getAddressSearchResults(strtnum, strtname, fromdate, todate, towns, doctypes).subscribe(\r\n // data => {\r\n // this.recsresults = data\r\n // this.recordCount = this.recsresults.length\r\n // },\r\n\r\n // error => this.errorMsg = error\r\n //);\r\n\r\n }\r\n\r\n getRecDoc(docId: number) {\r\n this.service.getRecDoc(docId).subscribe(\r\n data => { this.recdoc = data },\r\n error => { this.errorMsg = error }\r\n );\r\n }\r\n\r\n\r\n\r\n clearFilter() {\r\n this.dataGrid.instance.clearFilter();\r\n }\r\n\r\n onInitialized(e) {\r\n\r\n }\r\n\r\n //Open image in another tab'\r\n imgClicked(event) {\r\n if (!this.dataGrid.instance.isRowSelected(event.row.key)) {\r\n this.dataGrid.instance.selectRows(event.row.key, false);\r\n }\r\n // this.nav.visible = false;\r\n\r\n\r\n }\r\n\r\n onExpanding(e) {\r\n this.focusedRowKey = e.component.option(\"focusedRowIndex\");\r\n this.focusedRowKey = e.key.index;\r\n e.component.collapseAll(-1);\r\n }\r\n\r\n assignTypes(filters: SearchFilter[]) {\r\n if (filters) {\r\n filters.forEach(fl => {\r\n if (fl.filterType == 'join') {\r\n this.assignTypes(fl.filters);\r\n } else {\r\n for (var prop in this.recsresults[0]) {\r\n if (prop == fl.fieldName) {\r\n fl.fieldType = typeof this.recsresults[0][prop];\r\n }\r\n }\r\n }\r\n\r\n });\r\n }\r\n }\r\n\r\n mouseover(event) {\r\n //console.log(`onmouseover fired: ${JSON.stringify(event)}`);\r\n //console.log(`target: ${event.target.id}`);\r\n //this.infoFromServer = event.target.id;\r\n\r\n var docIDstring = (event.target.id as string).split('_')[1];\r\n this.console.log(`Our docId: ${docIDstring}`);\r\n var docID = Number(docIDstring);\r\n this.service.getRecDoc(docID).subscribe(data => {\r\n this.infoFromServer = `\r\n
\r\n Grantors:
\r\n\r\n`;\r\n data.docTors.forEach(tor => {\r\n this.infoFromServer += \"  \" + tor.lastCorpName + \" \" + tor.fName + \"
\";\r\n });\r\n\r\n this.infoFromServer += \"Grantees:
\";\r\n data.docTees.forEach(tee => {\r\n this.infoFromServer += \"  \" + tee.lastCorpName + \" \" + tee.fName + \"
\"\r\n });\r\n this.infoFromServer += \"
\"\r\n });\r\n }\r\n\r\n export() {\r\n\r\n var filtersUsed = this.dataGrid.instance.getCombinedFilter(true);// [[\"firstGrantor\", \"contains\", \"bed\"], \"and\", [\"firstGrantee\", \"contains\", \"or\"], \"and\", [\"recLandBook\", \"contains\", \"3\"]];//[[[\"recordDate\", \"<\", \"2000-04-03T04:00:00.000Z\"], \"or\", [\"recordDate\", \">=\", \"2000-04-04T04:00:00.000Z\"]], \"and\", [\"firstGrantor\", \"contains\", \"BED\"]];//\r\n var filters = new Array();\r\n var filterExpression = filtersUsed ? JSON.stringify(filtersUsed) : \"\";\r\n console.log(`filterExpression: ${filterExpression}`);\r\n var filterObjs = new Array();\r\n if (filterExpression) {\r\n var filtersOnGrid = SearchFilter.subHelper(filtersUsed, 0);\r\n filterObjs = [...filtersOnGrid];\r\n this.assignTypes(filterObjs);\r\n console.log(`filterObjs: ${JSON.stringify(filterObjs)}`);\r\n //filtersOnGrid.forEach(f => filters.push(JSON.stringify(f)));\r\n //console.log(`filters: ${JSON.stringify(filters)}`);\r\n }\r\n\r\n //this.console.log('Inside Export');\r\n let getRecAddressSearchReportQuery = new GetRecAddressSearchReportQuery({\r\n fromDate: this.userInput.date.date[0].fromDate,\r\n toDate: this.userInput.date.date[0].toDate,\r\n towns: this.towns,\r\n streetNumber: this.userInput.address.address[0].streetNumber,\r\n streetName: this.userInput.address.address[0].streetAddress,\r\n doctypes: this.doctypes,\r\n sortBy: new Array(),\r\n sortDirection: \"desc\",\r\n filterExpression: filterExpression,\r\n filterObjects: filterObjs\r\n });\r\n console.log(`getRecAddressSearchReportQuery: ${JSON.stringify(getRecAddressSearchReportQuery)}`);\r\n this.reportService.getRecAddressSearchReport(getRecAddressSearchReportQuery).subscribe((reportName) => {\r\n this.router.navigate([`/report-viewer/${reportName.reportName}`]);\r\n });\r\n\r\n\r\n\r\n\r\n }\r\n\r\n}\r\n","
{{errorMsg}}
\r\n\r\n\r\n\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n\r\n
\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n\r\n
\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n","import { Component, OnInit, Input } from '@angular/core';\nimport { Utility } from '../../../shared/viewmodels/UtilityObj';\r\nimport { Observable } from 'rxjs';\r\nimport { Router } from '@angular/router';\r\nimport { Store } from '@ngrx/store';\r\nimport { NavMenuService } from '../../../shared/services/nav-menu-service';\r\nimport { RecSearchService } from '../../rec-search-service';\r\nimport { AppState, getCoreSearchState } from '../../../store/reducers/reducers';\r\nimport { take } from 'rxjs/operators';\r\n\n@Component({\n selector: 'app-rec-address-search-header',\n providers: [RecSearchService],\n templateUrl: './rec-address-search-header.component.html',\n styleUrls: ['./rec-address-search-header.component.css']\n})\nexport class RecAddressSearchHeaderComponent implements OnInit {\n\n //recs: Observable;\r\n recs: any;\r\n @Input() recordCount: number;\r\n towns: string[] = [];\r\n\r\n constructor(private router: Router, private store: Store, public nav: NavMenuService, private service: RecSearchService) {\r\n // this.recs = store.select('rec');\r\n }\r\n\r\n ngOnInit() {\n this.store.select(getCoreSearchState).pipe(take(1)).subscribe(data => \r\n this.recs = data);\r\n for (let city of this.recs.city.city[0].citytowns) {\r\n if (city.isChecked)\r\n this.towns.push(city.townName);\r\n }\r\n\n }\n\r\n\r\n back(url) {\r\n try {\r\n this.service.logInfo('Clicked back button');\r\n this.nav.show();\r\n //if (localStorage.getItem('recNameSearchResults') !== null) {\r\n // localStorage.removeItem('recNameSearchResults');\r\n //}\r\n this.router.navigate([url]);\r\n }\r\n catch (error) {\r\n this.service.logError(error);\r\n }\r\n\r\n }\n\n\n}\n","
\r\n
\r\n \r\n
\r\n
\r\n
\r\n

Recorded Land Search Results

\r\n

\r\n Address: {{ recs.address.address[0].streetNumber }} {{recs.address.address[0].streetAddress}} Date: {{recs.date.date[0].fromDate| date:'MM-dd-yyyy'}} to {{recs.date.date[0].toDate| date:'MM-dd-yyyy'}} City/Town: Category: All Type: All {{recordCount}} records found\r\n

\r\n
\r\n \r\n
\r\n
\r\n","import { Component, OnInit, ViewChild } from '@angular/core';\nimport { RecDateSearchRowVM, RecDocVM, GetRecDateSearchQuery, GetRecDateSearchReportQuery, SearchFilter } from '../../../shared/viewmodels/ISearchService';\r\nimport { DxDataGridComponent } from 'devextreme-angular';\r\nimport { CompoundNameComponent } from '../../../shared/components/compound-name/compound-name.component'\r\nimport { AppState, getCoreSearchState } from '../../../store/reducers/reducers';\r\nimport { RecSearchService } from '../../rec-search-service';\r\nimport { Store } from '@ngrx/store';\r\nimport { take } from 'rxjs/operators';\r\nimport { ReportViewerService } from '../../../shared/services/report-viewer.service';\r\nimport { Router } from '@angular/router';\r\nimport Swal from 'sweetalert2';\r\n\n@Component({\n selector: 'app-rec-date-search-grid',\n templateUrl: './rec-date-search-grid.component.html',\n providers: [RecSearchService, ReportViewerService],\n styleUrls: ['./rec-date-search-grid.component.css']\n})\nexport class RecDateSearchGridComponent implements OnInit {\n\n @ViewChild(DxDataGridComponent, { static: true }) dataGrid: DxDataGridComponent;\r\n @ViewChild(CompoundNameComponent) cName: CompoundNameComponent;\r\n\n\n public errorMsg!: any;\n public recsresults!: RecDateSearchRowVM[];\r\n public recdoc!: RecDocVM;\r\n public re!: string;\r\n applyFilterTypes: any;\r\n currentFilter: any;\r\n showFilterRow: boolean;\r\n console = console;\r\n towns: string[] = [];\r\n doctypes: string[] = [];\r\n\r\n userInput: any;\r\n\r\n focusedRowKey!: number;\r\n recordCount!: number;\r\n public noDataText: string = \"Loading...\";\r\n\n constructor(private service: RecSearchService, private reportService: ReportViewerService, private router: Router, private store: Store) {\n\r\n\r\n\r\n this.showFilterRow = true;\r\n this.applyFilterTypes = [{\r\n key: \"auto\",\r\n name: \"Immediately\"\r\n }, {\r\n key: \"onClick\",\r\n name: \"On Button Click\"\r\n }];\r\n\r\n this.currentFilter = this.applyFilterTypes[0].key;\r\n\n }\n\n ngOnInit() {\n this.store.select(getCoreSearchState).pipe(take(1)).subscribe(data => \r\n this.userInput = data);\r\n for (let city of this.userInput.city.city[0].citytowns) {\r\n if (city.isChecked)\r\n this.towns.push(city.townAbbrev);\r\n }\r\n\r\n for (let doctype of this.userInput.doct.doct[0].doctypes) {\r\n if (doctype.isChecked)\r\n this.doctypes.push(doctype.docCode);\r\n }\r\n\r\n\r\n this.getDateResults(this.userInput.date.date[0].fromDate, this.userInput.date.date[0].toDate, this.towns, this.doctypes);\r\n\r\n\n }\n\n getDateResults(fromdate: any, todate: any, towns: any, types: any) {\r\n let search = new GetRecDateSearchQuery({\r\n fromDate: fromdate,\r\n toDate: todate,\r\n towns: towns,\r\n doctypes: types\r\n });\r\n this.service.getRecDateSearchResults(search).subscribe(data => {\r\n this.recsresults = data.recDateSearchRows!;\r\n this.recordCount = this.recsresults.length;\r\n if (this.recordCount == 0) {\r\n this.noDataText = \"No records found.\";\r\n Swal.fire(\"No records found.\");\r\n }\r\n },\r\n\r\n error => this.errorMsg = error\r\n\r\n );\r\n\r\n\r\n //this.service.getDateSearchResults(fromdate, todate, towns, types).subscribe(data => {\r\n // this.recsresults = data;\r\n // this.recordCount = this.recsresults.length\r\n //},\r\n\r\n // error => this.errorMsg = error\r\n\r\n //);\r\n }\r\n\r\n\n clearFilter() {\r\n this.dataGrid.instance.clearFilter();\r\n }\r\n\r\n onInitialized(e) {\r\n\r\n }\r\n\r\n //Open image in another tab'\r\n imgClicked(event) {\r\n if (!this.dataGrid.instance.isRowSelected(event.row.key)) {\r\n this.dataGrid.instance.selectRows(event.row.key, false);\r\n }\r\n // this.nav.visible = false;\r\n\r\n\r\n }\r\n\r\n onExpanding(e) {\r\n this.focusedRowKey = e.component.option(\"focusedRowIndex\");\r\n this.focusedRowKey = e.key.index;\r\n e.component.collapseAll(-1);\r\n }\r\n\r\n assignTypes(filters: SearchFilter[]) {\r\n if (filters) {\r\n filters.forEach(fl => {\r\n if (fl.filterType == 'join') {\r\n this.assignTypes(fl.filters);\r\n } else {\r\n for (var prop in this.recsresults[0]) {\r\n if (prop == fl.fieldName) {\r\n fl.fieldType = typeof this.recsresults[0][prop];\r\n }\r\n }\r\n }\r\n\r\n });\r\n }\r\n }\r\n\r\n export() {\r\n\r\n var filtersUsed = this.dataGrid.instance.getCombinedFilter(true);// [[\"firstGrantor\", \"contains\", \"bed\"], \"and\", [\"firstGrantee\", \"contains\", \"or\"], \"and\", [\"recLandBook\", \"contains\", \"3\"]];//[[[\"recordDate\", \"<\", \"2000-04-03T04:00:00.000Z\"], \"or\", [\"recordDate\", \">=\", \"2000-04-04T04:00:00.000Z\"]], \"and\", [\"firstGrantor\", \"contains\", \"BED\"]];//\r\n var filters = new Array();\r\n var filterExpression = filtersUsed ? JSON.stringify(filtersUsed) : \"\";\r\n console.log(`filterExpression: ${filterExpression}`);\r\n var filterObjs = new Array();\r\n if (filterExpression) {\r\n var filtersOnGrid = SearchFilter.subHelper(filtersUsed, 0);\r\n filterObjs = [...filtersOnGrid];\r\n this.assignTypes(filterObjs);\r\n console.log(`filterObjs: ${JSON.stringify(filterObjs)}`);\r\n //filtersOnGrid.forEach(f => filters.push(JSON.stringify(f)));\r\n //console.log(`filters: ${JSON.stringify(filters)}`);\r\n }\r\n\r\n let query = new GetRecDateSearchReportQuery({\r\n fromDate: this.userInput.date.date[0].fromDate,\r\n toDate: this.userInput.date.date[0].toDate,\r\n towns: this.towns,\r\n doctypes: this.doctypes,\r\n sortBy: new Array(),\r\n sortDirection: \"desc\",\r\n filterExpression: filterExpression,\r\n filterObjects: filterObjs\r\n });\r\n\r\n this.console.log(`query: ${JSON.stringify(query)}`);\r\n this.reportService.getRecDateSearchReport(query).subscribe(repName => {\r\n this.router.navigate([`/report-viewer/${repName.reportName}`]);\r\n });\r\n }\r\n\n}\n","
{{errorMsg}}
\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n\r\n \r\n \r\n\r\n\r\n \r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n
\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n
\r\n","import { Component, OnInit, Input } from '@angular/core';\r\nimport { RecSearchService } from '../../rec-search-service';\r\nimport { Router } from '@angular/router';\r\nimport { Store } from '@ngrx/store';\r\nimport { NavMenuService } from '../../../shared/services/nav-menu-service';\r\nimport { AppState, getCoreSearchState } from '../../../store/reducers/reducers';\r\nimport { take } from 'rxjs/operators';\r\n\r\n@Component({\r\n selector: 'app-rec-date-search-header',\r\n providers: [RecSearchService],\r\n templateUrl: './rec-date-search-header.component.html',\r\n styleUrls: ['./rec-date-search-header.component.css']\r\n})\r\nexport class RecDateSearchHeaderComponent implements OnInit {\r\n\r\n recs: any;\r\n @Input() recordCount: number;\r\n towns: string[] = [];\r\n constructor(private router: Router, private store: Store, public nav: NavMenuService, private service: RecSearchService) {\r\n \r\n //store.select('rec').subscribe(data => this.recs = data);\r\n //for (let city of this.recs[0].citytowns) {\r\n // if (city.isChecked)\r\n // this.towns.push(city.townName);\r\n //}\r\n\r\n }\r\n\r\n ngOnInit() {\r\n this.store.select(getCoreSearchState).pipe(take(1)).subscribe(data => this.recs = data);\r\n for (let city of this.recs.city.city[0].citytowns) {\r\n if (city.isChecked)\r\n this.towns.push(city.townName);\r\n }\r\n\r\n }\r\n\r\n back(url) {\r\n try {\r\n this.service.logInfo('Clicked back button');\r\n this.nav.show();\r\n if (localStorage.getItem('recNameSearchResults') !== null) {\r\n localStorage.removeItem('recNameSearchResults');\r\n }\r\n this.router.navigate([url]);\r\n }\r\n catch (error) {\r\n this.service.logError(error);\r\n }\r\n\r\n }\r\n\r\n}\r\n","
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n

Recorded Date Search Results

\r\n

\r\n Date: {{recs.date.date[0].fromDate| date:'MM-dd-yyyy'}} to {{recs.date.date[0].toDate| date:'MM-dd-yyyy'}} City/Town: Category: All Type: All {{recordCount}} records found\r\n

\r\n
\r\n
\r\n
\r\n","import { Component, OnInit, Input, Output, EventEmitter } from '@angular/core';\r\nimport { RecDocVM, InstrumentVM, PartyVM } from '../../../shared/viewmodels/ISearchService';\r\nimport { ComponentCommunicationService } from '../../rec-search-communication-service';\r\nimport { Router } from '@angular/router';\r\n\r\n@Component({\r\n selector: 'app-rec-doc-detail-info',\r\n templateUrl: './rec-doc-detail-info.component.html',\r\n styleUrls: ['./rec-doc-detail-info.component.css']\r\n})\r\nexport class RecDocDetailInfoComponent implements OnInit {\r\n \r\n @Input() recDocVM: RecDocVM;\r\n @Input() loadingVisible: boolean = true;\r\n @Output() moveToRef = new EventEmitter();\r\n @Input() book: string;\r\n @Input() page: string;\r\n @Input() isImgVwVisible: boolean;\r\n\r\n @Output() populateForm = new EventEmitter<{ lastCorpName: string, firstName: string }>();\r\n\r\n constructor(private communicationService: ComponentCommunicationService, private router: Router) {\r\n console.log(\"info cons\");\r\n //console.log(this.recDocVM.address);\r\n \r\n //this.referrences[0].items = this.recDocVM.docRefTo;\r\n //this.referrences[1].items = this.recDocVM.docRefBy;\r\n\r\n }\r\n\r\n ngOnInit() {\r\n // console.log(\"detail info\"+this.recDocVM.docID);\r\n console.log(this.recDocVM.address);\r\n }\r\n\r\n ItemClick(e) {\r\n if (e === null) {\r\n console.log('ItemClick fired and event is null');\r\n }\r\n else {\r\n console.log(`ItemClick fired: ${e.itemData}`);\r\n let payload = e.itemData as InstrumentVM;\r\n console.log(`primaryID: ${payload.primaryID}`);\r\n console.log(`secondaryID: ${payload.secondaryID}`);\r\n this.moveToRef.emit(payload);\r\n }\r\n }\r\n\r\n teeClick(e: { itemData: PartyVM }) {\r\n let payload = e.itemData;\r\n console.log(\"tee clicked\");\r\n this.communicationService.emitPopulateForm({\r\n lastCorpName: payload.lastCorpName,\r\n firstName: payload.fName\r\n });\r\n\r\n this.router.navigate(['/rec-name-search'], { queryParams: { lastCorpName: payload.lastCorpName, firstName: payload.fName } });\r\n }\r\n\r\n torClick(e: { itemData: PartyVM }) {\r\n let payload = e.itemData;\r\n console.log(\"tor clicked\");\r\n this.communicationService.emitPopulateForm({\r\n lastCorpName: payload.lastCorpName,\r\n firstName: payload.fName\r\n });\r\n\r\n this.router.navigate(['/rec-name-search'], { queryParams: { lastCorpName: payload.lastCorpName, firstName: payload.fName } });\r\n }\r\n}\r\n","
\r\n

Date {{recDocVM.docDetail.recDate | date:'MM-dd-yyyy'}} Time {{recDocVM.docDetail.recDate | date:'h:mm a'}}

\r\n \r\n

Type {{recDocVM.docDetail.primaryID}}/{{recDocVM.docDetail.secondaryID}}/{{recDocVM.docDetail.docType}}

\r\n \r\n
\r\n

Instrument No. {{recDocVM.docDetail.docID}}

\r\n \r\n

\r\n \r\n

\r\n
\r\n
\r\n\r\n\r\n
\r\n

Grantors

\r\n \r\n
\r\n
\r\n {{dtor.lastCorpName}}, {{dtor.fName}}\r\n
\r\n \r\n {{dtor.lastCorpName}}\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n

Grantees

\r\n \r\n
\r\n
\r\n {{dtee.lastCorpName}}, {{dtee.fName}}\r\n
\r\n \r\n {{dtee.lastCorpName}}\r\n \r\n
\r\n
\r\n
\r\n
\r\n

Referred by

\r\n \r\n\r\n
\r\n {{item.docType}}:{{item.primaryID}}/{{item.secondaryID}}\r\n
\r\n\r\n
\r\n
\r\n
\r\n

Refers to

\r\n \r\n\r\n
\r\n {{item.docType}}:{{item.primaryID}}/{{item.secondaryID}}\r\n
\r\n\r\n
\r\n
\r\n
\r\n

Transaction Documents

\r\n \r\n\r\n
\r\n {{item.docType}}:{{item.primaryID}}/{{item.secondaryID}}\r\n
\r\n\r\n
\r\n
\r\n
\r\n

Consideration {{recDocVM.amount}}

\r\n

Locus{{recDocVM.address}}

\r\n\r\n \r\n
\r\n\r\n\r\n\r\n\r\n\r\n\r\n","import { Component, EventEmitter, Input, OnChanges, OnInit, Renderer2, SimpleChanges, ViewChild, HostListener, Output } from '@angular/core';\r\nimport { ActivatedRoute, Event, Router } from '@angular/router';\r\nimport { NgxExtendedPdfViewerComponent, PdfBreakpoints, pdfDefaultOptions } from 'ngx-extended-pdf-viewer';\r\nimport { DocBasketComponent } from '../../../shared/components/doc-basket/doc-basket.component';\r\nimport { NavMenuService } from '../../../shared/services/nav-menu-service';\r\nimport { basketVM } from '../../../shared/viewmodels/basketVM';\r\nimport { InstrumentVM, RecDocVM } from '../../../shared/viewmodels/ISearchService';\r\nimport { RecSearchService } from '../../rec-search-service';\r\nimport { switchMap } from 'rxjs/operators';\r\nimport { from } from 'rxjs';\r\nimport Swal from 'sweetalert2';\r\n\r\n@Component({\r\n selector: 'app-rec-doc-detail-parent',\r\n providers: [RecSearchService],\r\n templateUrl: './rec-doc-detail-parent.component.html',\r\n styleUrls: ['./rec-doc-detail-parent.component.css']\r\n})\r\nexport class RecDocDetailParentComponent implements OnInit {\r\n\r\n\r\n @Input() docId: number;\r\n @Input() book: string;\r\n @Input() page: string;\r\n public pageCount!: number;\r\n public currentIndex!: number;\r\n public currentImageIndex!: number;\r\n public docImages: Array;\r\n @Input() currentImage: Array;\r\n public documents: Array;\r\n public bufferSize: number = 5;\r\n public record!: RecDocVM;\r\n public isLoadingImage: boolean = true;\r\n public isLoadingDetail: boolean = true;\r\n public showimageviewer: boolean = false;\r\n public isImgVwVisible: boolean = true;\r\n public blobImage: string;\r\n //public blobImage: any;\r\n error: any;\r\n evtEmitter = new EventEmitter();\r\n previewImage: any;\r\n public imgvwr: any;\r\n public docbeginbook: any;\r\n public docbeginpage: any;\r\n public isFirstPage!: boolean;\r\n public isLastPage!: boolean;\r\n public returnbook: string;\r\n public returnpage: string;\r\n public sBook!: string;\r\n public sPage!: string;\r\n @ViewChild(DocBasketComponent) docBasketChild: DocBasketComponent;\r\n @ViewChild(NgxExtendedPdfViewerComponent, { static: false }) pdfViewer!: NgxExtendedPdfViewerComponent;\r\n\r\n basketItem!: basketVM;\r\n collapseGo: boolean = false;\r\n collapseReturn: boolean = false;\r\n screenWidth: any;\r\n @Output() public changeImgVwVisible = new EventEmitter();\r\n @Output() public changeInInfo = new EventEmitter();\r\n popupVisible: boolean = false;\r\n Message!: string;\r\n isSmallScreen = false; // Tracks if the screen is small\r\n\r\n constructor(private route: ActivatedRoute,\r\n private service: RecSearchService,\r\n private router: Router, private renderer: Renderer2, public nav: NavMenuService) {\r\n this.docImages = new Array();\r\n this.currentImage = new Array();\r\n this.documents = new Array();\r\n this.book = this.route.snapshot.paramMap.get('book')!;\r\n console.log('book: ' + this.book);\r\n this.page = this.route.snapshot.paramMap.get('page')!;\r\n console.log('page: ' + this.page);\r\n this.docId = Number(this.route.snapshot.paramMap.get('docId'));\r\n console.log('docId: ' + this.docId);\r\n\r\n // initialize counters to hold first page of a document.\r\n this.docbeginbook = this.book;\r\n this.docbeginpage = this.page;\r\n\r\n // initialize counters to hold book/page to return to initial search.\r\n this.returnbook = this.book;\r\n this.returnpage = this.page;\r\n this.nav.hide();\r\n pdfDefaultOptions.maxCanvasPixels = -1;\r\n //pdfDefaultOptions.ignoreKeyboard = false;\r\n //this.getScreenSize();\r\n\r\n }\r\n\r\n /** Initialize image viewer */\r\n ngOnInit() {\r\n console.log('ngOnInit() fired');\r\n console.log('Calling loadImageByBookPage() from ngOnInit ' + this.docId);\r\n this.currentIndex = 1;\r\n this.currentImageIndex = 0;\r\n this.isLoadingDetail = true;\r\n this.service.getRecDoc(this.docId).subscribe(\r\n data => {\r\n this.record = data;\r\n\r\n this.pageCount = data.docDetail.pageCount;\r\n // initialize counters to hold first page of a document.\r\n if (this.docbeginbook == null)\r\n this.docbeginbook = this.book;\r\n if (this.docbeginpage == null)\r\n this.docbeginpage = this.page;\r\n\r\n // initialize counters to hold book/page to return to initial search.\r\n if (this.returnbook == null)\r\n this.returnbook = this.book;\r\n if (this.returnpage == null)\r\n this.returnpage = this.page;\r\n this.documents.push(this.record.docDetail);\r\n this.isLoadingDetail = false;\r\n this.isLoadingImage = true;\r\n //this.getImageByBookPage(this.book, this.page);\r\n this.GetImageByBPP64Tot(this.book, this.page);\r\n this.changeNavigationbutton(this.pageCount);\r\n this.isLastPage = true;\r\n this.isFirstPage = true;\r\n this.changeInInfo.emit(data);\r\n\r\n },\r\n error => { this.error = error }\r\n );\r\n\r\n\r\n\r\n\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.toggleSidebar();\r\n }\r\n\r\n @HostListener('window:resize', [])\r\n onResize(): void {\r\n this.toggleSidebar();\r\n }\r\n\r\n toggleSidebar(): void {\r\n this.isSmallScreen = window.innerWidth < 768; // Adjust the width threshold as needed\r\n\r\n if (this.pdfViewer) {\r\n this.pdfViewer.sidebarVisible = !this.isSmallScreen; // Hide sidebar on small screens\r\n }\r\n }\r\n\r\n loadRef(e: InstrumentVM) {\r\n console.log(`loadRef fired: ${e}`);\r\n this.isLoadingDetail = true;\r\n this.isLoadingImage = true;\r\n this.docId = e.docID;\r\n this.book = e.primaryID;\r\n this.page = e.secondaryID;\r\n this.docbeginbook = e.primaryID;\r\n this.docbeginpage = e.secondaryID;\r\n this.sBook = '';\r\n this.sPage = '';\r\n this.currentIndex = 1;\r\n this.docImages = new Array();\r\n this.currentImage = new Array();\r\n this.documents = new Array();\r\n this.ngOnInit();\r\n }\r\n\r\n //GetImageByBPP64(book: string, page: string, idx: number) {\r\n // console.log(\"current book and page \" + book + \" \" + page + \" \" + idx.toString());\r\n // this.service.getImageByBPP64(book, page, idx).subscribe(\r\n // data => {\r\n // this.docImages.push(data);\r\n // if (this.docImages.length > this.bufferSize) {\r\n // this.docImages.shift();\r\n // console.log('shift' + this.docImages.length);\r\n // //this.currentImageIndex = this.bufferSize;\r\n // }\r\n // else {\r\n // this.currentImageIndex++;\r\n // }\r\n // this.showImage(this.currentImageIndex - 1);\r\n // }\r\n // )\r\n // /*this.showImage(this.currentImageIndex - 1);*/\r\n //}\r\n\r\n GetImageByBPP64Ex(book: string, page: string, idx: number, push: boolean = true) {\r\n console.log(\"current book and page \" + book + \" \" + page + \" \" + idx.toString());\r\n this.service.getImageByBPP64(book, page, idx).subscribe(\r\n data => {\r\n if (push) {\r\n this.docImages.push(data);\r\n console.log('push' + this.docImages.length);\r\n //TODO: code to manage the size of the docImages array\r\n if (this.docImages.length > this.bufferSize) {\r\n this.docImages.shift();\r\n console.log('shift' + this.docImages.length);\r\n this.currentImageIndex = this.bufferSize;\r\n\r\n }\r\n else {\r\n this.currentImageIndex++;\r\n }\r\n console.log(\"docimages and CII\" + this.docImages.length + this.currentImageIndex);\r\n }\r\n else {\r\n this.docImages.splice(0, 0, data);\r\n console.log('splice' + this.docImages.length);\r\n //TODO: code to manage the size of the docImages array\r\n if (this.docImages.length > this.bufferSize) {\r\n this.docImages.pop();\r\n console.log('pop' + this.docImages.length);\r\n this.currentImageIndex = 1;\r\n }\r\n else {\r\n this.currentImageIndex = 1;\r\n }\r\n }\r\n this.showImage((this.currentImageIndex - 1));\r\n //this.isLoadingImage = false;\r\n },\r\n error => { this.error = error }\r\n );\r\n }\r\n\r\n GetImageByBPP64Tot(book: string, page: string) {\r\n //this.service.getImageByBPPTot(book, page).subscribe(\r\n // data => {\r\n // this.blobImage = data;\r\n // this.currentImage.push(this.blobImage);\r\n // //this.currentImage.push(this.docImages[idx]);\r\n // this.isLoadingImage = false;\r\n // this.rePaintImgViewer();\r\n // }\r\n //);\r\n this.isLoadingImage = true;\r\n\r\n this.service.getImageByBPPTotStrm(book, page).subscribe({\r\n next: base64String => {\r\n this.blobImage = base64String;\r\n this.currentImage.push(this.blobImage);\r\n this.isLoadingImage = false;\r\n this.rePaintImgViewer();\r\n },\r\n error: err => {\r\n console.error(\"Error fetching or converting image:\", err);\r\n Swal.fire(\"Image not available\");\r\n this.isLoadingImage = false;\r\n }\r\n });\r\n }\r\n\r\n getImageByBookPage(book: string, page: string, push: boolean = true) {\r\n //this.isLoadingImage = true;\r\n console.log(\"current book and page\" + book + page);\r\n this.service.getImageByBookAndPage(book, page).subscribe(\r\n data => {\r\n if (push) {\r\n this.docImages.push(data);\r\n console.log('push' + this.docImages.length);\r\n //TODO: code to manage the size of the docImages array\r\n if (this.docImages.length > this.bufferSize) {\r\n this.docImages.shift();\r\n console.log('shift' + this.docImages.length);\r\n this.currentImageIndex = this.bufferSize;\r\n\r\n }\r\n else {\r\n this.currentImageIndex++;\r\n }\r\n console.log(\"docimages and CII\" + this.docImages.length + this.currentImageIndex);\r\n }\r\n else {\r\n this.docImages.splice(0, 0, data);\r\n console.log('splice' + this.docImages.length);\r\n //TODO: code to manage the size of the docImages array\r\n if (this.docImages.length > this.bufferSize) {\r\n this.docImages.pop();\r\n console.log('pop' + this.docImages.length);\r\n this.currentImageIndex = 1;\r\n }\r\n else {\r\n this.currentImageIndex = 1;\r\n }\r\n }\r\n this.showImage((this.currentImageIndex - 1));\r\n //this.isLoadingImage = false;\r\n },\r\n error => { this.error = error }\r\n );\r\n }\r\n\r\n showImage(idx: number) {\r\n this.isLoadingImage = true;\r\n if (this.currentImage.length === 1) {\r\n this.currentImage.pop();\r\n }\r\n this.currentImage.push(this.docImages[idx]);\r\n //this.currentImage.push(this.docImages[idx]);\r\n this.blobImage = this.docImages[idx];\r\n this.isLoadingImage = false;\r\n this.rePaintImgViewer();\r\n }\r\n\r\n /**\r\n * Navigate to previous page.\r\n * @param url\r\n */\r\n back(url: string) {\r\n\r\n this.router.navigate([url]);\r\n //window.opener = 'Self';\r\n //window.open('', '_parent', '');\r\n //window.close();\r\n\r\n }\r\n\r\n showimgviewer() {\r\n console.log('showimgviewer');\r\n this.showimageviewer = true;\r\n this.isImgVwVisible = false;\r\n this.isLoadingImage = false;\r\n if (this.imgvwr) this.imgvwr.download = false;\r\n this.getScreenSize(null);\r\n this.changeImgVwVisible.emit(this.isImgVwVisible);\r\n }\r\n\r\n /**\r\n * Search document for a book and page number entered by the user.\r\n * @param sBook\r\n * @param sPage\r\n */\r\n searchDocument(sBook: string, sPage: string) {\r\n this.docImages = new Array();\r\n this.currentImage = new Array();\r\n this.documents = new Array();\r\n\r\n\r\n this.currentIndex = 1;\r\n this.currentImageIndex = 0;\r\n this.isLoadingDetail = true;\r\n\r\n\r\n this.service.getContainingDoc(sBook, sPage).subscribe(\r\n data => {\r\n this.docId = data.docID;\r\n this.book = data.primaryID;\r\n this.page = data.secondaryID;\r\n this.docbeginbook = data.primaryID;\r\n this.docbeginpage = data.secondaryID;\r\n\r\n this.service.getRecDoc(this.docId).subscribe(\r\n data => {\r\n this.record = data;\r\n\r\n this.pageCount = data.docDetail.pageCount;\r\n this.documents.push(this.record.docDetail);\r\n\r\n this.isLoadingDetail = false;\r\n this.isLoadingImage = true;\r\n\r\n this.changeNavigationbutton(this.pageCount);\r\n this.getImageByBookPage(this.book, this.page, true);\r\n this.changeInInfo.emit(data);\r\n },\r\n error => { this.error = error }\r\n );\r\n\r\n },\r\n error => { this.error = error }\r\n );\r\n }\r\n\r\n /**\r\n * Navigates to first page of next document.\r\n * @param event\r\n */\r\n getNextDocument(event: Event) {\r\n\r\n this.docImages = new Array();\r\n this.currentImage = new Array();\r\n this.documents = new Array();\r\n\r\n this.sBook = '';\r\n this.sPage = '';\r\n this.currentIndex = 1;\r\n this.currentImageIndex = 0;\r\n this.isLoadingDetail = true;\r\n\r\n // Get next document\r\n this.service.getNextRecDocBP(this.docbeginbook, this.docbeginpage, this.record.docDetail.docType).subscribe(\r\n data => {\r\n this.record = data;\r\n this.docbeginbook = data.docDetail.primaryID;\r\n this.docbeginpage = data.docDetail.secondaryID;\r\n this.book = data.docDetail.primaryID;\r\n this.page = data.docDetail.secondaryID;\r\n this.docId = data.docID;\r\n this.pageCount = data.docDetail.pageCount;\r\n this.documents.push(this.record.docDetail);\r\n this.isLoadingDetail = false;\r\n this.isLoadingImage = true;\r\n //this.getImageByBookPage(this.book, this.page, true);\r\n this.GetImageByBPP64Tot(this.book, this.page);\r\n this.changeNavigationbutton(this.pageCount);\r\n this.changeInInfo.emit(data);\r\n },\r\n error => { this.error = error }\r\n );\r\n }\r\n\r\n\r\n /**\r\n * Navigates to first page of previous document.\r\n * @param event\r\n */\r\n getPrevDocument(event: Event) {\r\n\r\n this.docImages = new Array();\r\n this.currentImage = new Array();\r\n this.documents = new Array();\r\n\r\n this.sBook = '';\r\n this.sPage = '';\r\n\r\n this.currentIndex = 1;\r\n this.currentImageIndex = 0;\r\n this.isLoadingDetail = true;\r\n\r\n this.service.getPrevRecDocBP(this.docbeginbook, this.docbeginpage).subscribe(\r\n data => {\r\n this.record = data;\r\n this.docbeginbook = data.docDetail.primaryID;\r\n this.docbeginpage = data.docDetail.secondaryID;\r\n this.pageCount = data.docDetail.pageCount;\r\n this.docId = data.docID;\r\n this.book = data.docDetail.primaryID;\r\n this.page = data.docDetail.secondaryID;\r\n this.documents.push(this.record.docDetail);\r\n\r\n this.isLoadingDetail = false;\r\n this.isLoadingImage = true;\r\n\r\n //this.getImageByBookPage(this.book, this.page, true);\r\n this.GetImageByBPP64Tot(this.book, this.page);\r\n this.changeNavigationbutton(this.pageCount);\r\n this.changeInInfo.emit(data);\r\n },\r\n error => { this.error = error }\r\n );\r\n\r\n }\r\n\r\n /**\r\n * Return to start of Search.\r\n * @param returnbook\r\n * @param returnpage\r\n */\r\n returnToStart(returnbook: string, returnpage: string) {\r\n this.docImages = new Array();\r\n this.currentImage = new Array();\r\n this.documents = new Array();\r\n\r\n this.sBook = '';\r\n this.sPage = '';\r\n\r\n this.currentIndex = 1;\r\n this.currentImageIndex = 0;\r\n this.isLoadingDetail = true;\r\n\r\n\r\n this.service.getContainingDoc(returnbook, returnpage).subscribe(\r\n data => {\r\n this.docId = data.docID;\r\n this.book = data.primaryID;\r\n this.page = data.secondaryID;\r\n this.docbeginbook = data.primaryID;\r\n this.docbeginpage = data.secondaryID;\r\n\r\n this.service.getRecDoc(this.docId).subscribe(\r\n data => {\r\n this.record = data;\r\n\r\n this.pageCount = data.docDetail.pageCount;\r\n this.documents.push(this.record.docDetail);\r\n\r\n this.isLoadingDetail = false;\r\n this.isLoadingImage = true;\r\n\r\n this.changeNavigationbutton(this.pageCount);\r\n this.getImageByBookPage(this.book, this.page, true);\r\n this.changeInInfo.emit(data);\r\n },\r\n error => { this.error = error }\r\n );\r\n\r\n },\r\n error => { this.error = error }\r\n );\r\n }\r\n\r\n /**\r\n * Navigate to next page of a document.\r\n * @param event\r\n */\r\n getNextPg(event: Event) {\r\n\r\n if (this.currentIndex >= this.pageCount - 1) return;\r\n this.currentIndex++;\r\n\r\n console.log(\"nxt pg CII\" + this.currentIndex);\r\n this.navigateToPage(this.currentIndex);\r\n\r\n //this.pdfViewer.page = this.currentIndex;\r\n \r\n //if (this.book == null || this.page == null || this.book === '' || this.page === '') {\r\n // this.book = this.docbeginbook;\r\n // this.page = this.docbeginpage;\r\n //}\r\n //this.service.getNextBP(this.book, this.page).subscribe(\r\n // data => {\r\n // this.book = data.primaryID;\r\n // this.page = data.secondaryID;\r\n\r\n // if (this.docImages.length > this.currentImageIndex) {\r\n // this.showImage(this.currentImageIndex);\r\n // this.currentImageIndex++;\r\n // }\r\n // else {\r\n // //this.getImageByBookPage(this.book, this.page, true);\r\n // this.GetImageByBPP64Ex(this.docbeginbook, this.docbeginpage, this.currentIndex - 1);\r\n // }\r\n\r\n // this.changeNavigationbutton(this.pageCount);\r\n // },\r\n // error => { this.error = error }\r\n //);\r\n\r\n\r\n }\r\n\r\n /**\r\n * Navigate to previous page of a document.\r\n * @param event\r\n */\r\n getPrevPg(event: Event) {\r\n\r\n if (this.currentIndex == 0) return\r\n this.currentIndex--;\r\n this.navigateToPage(this.currentIndex);\r\n\r\n //this.pdfViewer.page = this.currentIndex;\r\n\r\n //if (this.book == null || this.page == null || this.book === '' || this.page === '') {\r\n // this.book = this.docbeginbook;\r\n // this.page = this.docbeginpage;\r\n //}\r\n //this.service.getPrevBP(this.book, this.page).subscribe(\r\n // data => {\r\n // this.book = data.primaryID;\r\n // this.page = data.secondaryID;\r\n\r\n // if (this.docImages.length > this.currentImageIndex) {\r\n // this.showImage((this.currentImageIndex - 2));\r\n // this.currentImageIndex--;\r\n // }\r\n // else {\r\n // var currIdx = this.currentIndex - 1;\r\n // this.GetImageByBPP64Ex(this.docbeginbook, this.docbeginpage, currIdx);\r\n // }\r\n // this.changeNavigationbutton(this.pageCount);\r\n // },\r\n // error => { this.error = error }\r\n //);\r\n\r\n\r\n }\r\n\r\n checkIfFirstPage(): boolean {\r\n if (this.currentIndex == 1) {\r\n return true;\r\n }\r\n else\r\n return false;\r\n }\r\n checkIfLastPage(): boolean {\r\n if (this.currentIndex == this.pageCount) {\r\n return true;\r\n }\r\n else\r\n return false;\r\n }\r\n\r\n rePaintImgViewer() {\r\n //this.imgvwr = new ImageViewerComponent(this.renderer);\r\n //this.imgvwr.images = this.currentImage;\r\n //this.imgvwr.idContainer = \"idOnHTML\";\r\n\r\n //this.imgvwr.inicializarImageViewer();\r\n //this.imgvwr.proximaImagem();\r\n\r\n this.showimgviewer();\r\n\r\n }\r\n\r\n /**\r\n * Enable/Disable the navigation button, when its a first page or last page in the document.\r\n * @param pageCount\r\n */\r\n changeNavigationbutton(pageCount: number) {\r\n // Enable/disable navigation buttons.\r\n console.log(this.book + \"/\" + this.page);\r\n console.log(\"Next doc page count\" + this.pageCount)\r\n return;\r\n if (this.pageCount > 1) {\r\n if (this.currentIndex == 1) {\r\n this.isFirstPage = true;\r\n this.isLastPage = false;\r\n console.log(\"1\");\r\n }\r\n else if (this.currentIndex == this.pageCount) {\r\n this.isLastPage = true;\r\n this.isFirstPage = false;\r\n console.log(\"2\");\r\n }\r\n else {\r\n this.isLastPage = false;\r\n this.isFirstPage = false;\r\n console.log(\"3\");\r\n }\r\n\r\n }\r\n\r\n else {\r\n this.isLastPage = true;\r\n this.isFirstPage = true;\r\n console.log(\"4\");\r\n }\r\n\r\n console.log(this.isFirstPage);\r\n console.log(this.isLastPage);\r\n }\r\n\r\n /**\r\n * Navigate to First page in a document.\r\n * @param event\r\n */\r\n getFirstPg(event: Event) {\r\n console.log(\"firstpg\" + this.pageCount);\r\n this.book = this.docbeginbook;\r\n this.page = this.docbeginpage;\r\n // Get first page from cache if present.\r\n if (this.currentIndex <= this.bufferSize && this.currentImageIndex !== 1) {\r\n this.currentIndex = 1;\r\n this.currentImageIndex = 1;\r\n this.showImage(this.currentImageIndex - 1);\r\n this.changeNavigationbutton(this.pageCount);\r\n }\r\n\r\n // get first page from service when its not present in cache.\r\n else {\r\n this.currentIndex = 1;\r\n this.currentImageIndex = 0;\r\n this.docImages.length = 0;\r\n this.getImageByBookPage(this.book, this.page, true);\r\n this.changeNavigationbutton(this.pageCount);\r\n }\r\n }\r\n\r\n /**\r\n * Navigate to Last page in a document.\r\n * @param event\r\n */\r\n getLastPg(event: Event) {\r\n console.log(\"lastpg\" + this.pageCount)\r\n this.book = this.docbeginbook;\r\n //this.page = (Number(this.docbeginpage) + this.pageCount - 1).toString();\r\n this.page = this.docbeginpage;\r\n let lastPgIdx: number = this.pageCount - 1;\r\n this.currentImageIndex = lastPgIdx;\r\n\r\n // Get last page from cache if present.\r\n if (this.pageCount <= this.bufferSize && this.docImages[lastPgIdx] != null) {\r\n this.currentImageIndex = this.pageCount - 1;\r\n this.currentIndex = this.pageCount;\r\n this.showImage(this.currentImageIndex);\r\n this.changeNavigationbutton(this.pageCount);\r\n }\r\n\r\n\r\n ////get last page from service when its not present in cache.\r\n else {\r\n this.currentImageIndex = 0;\r\n this.currentIndex = this.pageCount;\r\n this.docImages.length = 0;\r\n //this.getImageByBookPage(this.book, this.page, false);\r\n this.GetImageByBPP64Ex(this.docbeginbook, this.docbeginpage, this.currentIndex - 1);\r\n this.changeNavigationbutton(this.pageCount);\r\n }\r\n }\r\n\r\n\r\n allowDrop(ev: any) {\r\n console.log(\"allow drop\");\r\n ev.preventDefault();\r\n }\r\n\r\n drag(ev: any) {\r\n console.log(\"drag\");\r\n ev.dataTransfer.setData(\"text\", ev.target.id);\r\n }\r\n\r\n drop(doctype: string, beginbook: any, beginpage: any, currentindex: any) {\r\n console.log(\"drop\");\r\n console.log(\"doctype\" + doctype + \"begbook\" + beginbook + \"begpage\" + beginpage + \"currentindex\" + currentindex);\r\n\r\n const index = this.docBasketChild.basketItems.findIndex(item => item.beginBook === beginbook && item.beginPage === beginpage && item.wholeDoc === false);\r\n if (index > -1) {\r\n if (this.docBasketChild.basketItems[index].pages.indexOf(currentindex.toString()) > -1) {\r\n console.log(\"Duplicate entry\");\r\n this.Message = \"Book/Page \" + beginbook + \"/\" + beginpage + \", p.\" + (currentindex + 1) + \" is already added.\";\r\n this.popupVisible = true;\r\n }\r\n else {\r\n this.docBasketChild.basketItems[index].pageCount = this.docBasketChild.basketItems[index].pageCount + 1;\r\n this.docBasketChild.basketItems[index].pages.push(currentindex.toString());\r\n console.log(\"Updated entry\");\r\n this.Message = \"Book/Page \" + beginbook + \"/\" + beginpage + \", p.\" + (currentindex + 1) + \" is added successfully.\";\r\n this.popupVisible = true;\r\n }\r\n }\r\n\r\n else {\r\n this.basketItem = new basketVM();\r\n this.basketItem.docType = doctype;\r\n this.basketItem.bookpage = 'B:' + beginbook + '/P:' + beginpage;\r\n this.basketItem.beginBook = beginbook;\r\n this.basketItem.beginPage = beginpage;\r\n this.basketItem.isEmail = false;\r\n this.basketItem.isDownload = false;\r\n this.basketItem.downloadAs = 'pdf';\r\n this.basketItem.wholeDoc = false;\r\n this.basketItem.pageCount = 1;\r\n this.basketItem.pages = new Array(currentindex.toString());\r\n this.basketItem.dept = 'R';\r\n\r\n this.docBasketChild.basketItems.push(this.basketItem);\r\n //update local storage\r\n if (localStorage.getItem(\"basket\").length > 0) {\r\n let basketls = JSON.parse(localStorage.getItem(\"basket\"));\r\n basketls.push(this.basketItem);\r\n localStorage.setItem(\"basket\", JSON.stringify(basketls));\r\n }\r\n\r\n console.log(\"Added entry\");\r\n this.Message = \"Book/Page \" + beginbook + \"/\" + beginpage + \", p.\" + (currentindex + 1) + \" is added successfully.\";\r\n this.popupVisible = true;\r\n }\r\n\r\n }\r\n\r\n toggleGo() {\r\n this.collapseGo = !this.collapseGo;\r\n }\r\n\r\n toggleReturn() {\r\n this.collapseReturn = !this.collapseReturn;\r\n }\r\n\r\n @HostListener('window:resize', ['$event'])\r\n getScreenSize(event: any) {\r\n this.screenWidth = window.innerWidth;\r\n }\r\n\r\n collapsesideinfo: boolean = false;\r\n\r\n toggleSideInfo() {\r\n this.collapsesideinfo = !this.collapsesideinfo;\r\n }\r\n\r\n onThumbnailDrawn(thumbnailEvent: any): void {\r\n const thumbnail = thumbnailEvent.thumbnail;\r\n const page = thumbnailEvent.pageId;\r\n\r\n // Ensure the thumbnail has a valid data attribute for reference\r\n thumbnail.setAttribute('data-page-number', String(page));\r\n\r\n // Attach event listener properly\r\n thumbnail.addEventListener('click', (event) => this.selectPage(event, page));\r\n }\r\n\r\n onPageChange(event: any): void {\r\n this.currentIndex = event; // Update current page index\r\n const radioButtons = document.querySelectorAll('.thumbnail-radiobutton') as NodeListOf;\r\n radioButtons.forEach((radio) => {\r\n radio.checked = (parseInt(radio.getAttribute('data-page-number') || '0', 10) === this.currentIndex);\r\n });\r\n }\r\n\r\n selectPage(event: MouseEvent, pageNumber: number): void {\r\n const target = event.target as HTMLElement;\r\n this.currentIndex = pageNumber;\r\n if (!target) {\r\n console.warn(\"Event target is undefined.\");\r\n return;\r\n }\r\n\r\n // Check if the event target is inside a thumbnail\r\n const thumbnailElement = target.closest('.thumbnail') as HTMLElement;\r\n if (!thumbnailElement) {\r\n console.warn(\"Thumbnail container not found.\");\r\n return;\r\n }\r\n\r\n console.log(`Thumbnail clicked, navigating to page: ${pageNumber}`);\r\n\r\n // Navigate to the selected page\r\n if (this.pdfViewer) {\r\n this.pdfViewer.page = pageNumber;\r\n }\r\n\r\n // Select the corresponding radio button\r\n const radioButtons = document.querySelectorAll('.thumbnail-radiobutton') as NodeListOf;\r\n radioButtons.forEach((radio) => {\r\n const pageAttr = radio.getAttribute('data-page-number');\r\n\r\n if (pageAttr === null) {\r\n console.warn(\"Radio button missing 'data-page-number' attribute.\", radio);\r\n return;\r\n }\r\n\r\n const radioPageNumber = parseInt(pageAttr, 10);\r\n\r\n if (isNaN(radioPageNumber)) {\r\n console.warn(`Invalid page number attribute on radio button: ${pageAttr}`, radio);\r\n return;\r\n }\r\n\r\n radio.checked = (radioPageNumber === pageNumber);\r\n });\r\n }\r\n\r\n navigateToPage(pageNumber: number): void {\r\n if (this.pdfViewer) {\r\n this.pdfViewer.page = pageNumber;\r\n }\r\n\r\n // Select the corresponding radio button\r\n const radioButtons = document.querySelectorAll('.thumbnail-radiobutton') as NodeListOf;\r\n radioButtons.forEach((radio) => {\r\n const pageAttr = radio.getAttribute('data-page-number');\r\n\r\n if (pageAttr === null) {\r\n console.warn(\"Radio button missing 'data-page-number' attribute.\", radio);\r\n return;\r\n }\r\n\r\n const radioPageNumber = parseInt(pageAttr, 10);\r\n\r\n if (isNaN(radioPageNumber)) {\r\n console.warn(`Invalid page number attribute on radio button: ${pageAttr}`, radio);\r\n return;\r\n }\r\n\r\n radio.checked = (radioPageNumber === pageNumber);\r\n\r\n });\r\n const thumbNails = document.querySelectorAll('.thumbnail') as NodeListOf;\r\n if (thumbNails.length >= pageNumber) {\r\n thumbNails[pageNumber].dispatchEvent(new Event('click'));\r\n }\r\n }\r\n\r\n}\r\n","
\r\n
\r\n
\r\n
\r\n +\r\n
1000 ? 'block' : (collapseReturn) ? 'block' : 'none'}\">\r\n \r\n \r\n
\r\n \r\n
\r\n
\r\n \r\n

Book/Page {{docbeginbook}}/{{docbeginpage}}

\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n +\r\n
1000 ? 'block' : (collapseGo) ? 'block' : 'none'}\">\r\n \r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n Loading Image, please wait ...\r\n
\r\n
\r\n \r\n \r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n #PAGE_NUMBER\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n \r\n
\r\n \r\n

Loading....

\r\n
\r\n
\r\n
\r\n\r\n \r\n
\r\n

\r\n {{Message}}\r\n

\r\n\r\n
\r\n
\r\n
\r\n","import { Component, ViewChild, Input, OnInit } from '@angular/core';\r\nimport { DxDataGridComponent, DxListModule } from 'devextreme-angular';\r\nimport { RecSearchService } from '../../rec-search-service';\r\nimport { RecNameSearchRowVM, RecDocVM, PartyVM } from '../../../shared/viewmodels/ISearchService';\r\nimport { retry } from 'rxjs/operators';\r\nimport { RecDocVMTab } from '../../../shared/viewmodels/RecDocVMTab';\r\n\r\n@Component({\r\n selector: 'app-rec-name-search-detail',\r\n providers: [RecSearchService],\r\n templateUrl: './rec-name-search-detail.component.html',\r\n styleUrls: ['./rec-name-search-detail.component.css'],\r\n preserveWhitespaces: true\r\n})\r\nexport class RecNameSearchDetailComponent implements OnInit {\r\n console = console;\r\n @Input() DocID: number;\r\n public isLoading: boolean = true;\r\n public recDocVM: RecDocVM;\r\n public recDocVMTabs: RecDocVMTab[];\r\n @Input() rowData: RecNameSearchRowVM;\r\n error: any;\r\n constructor(private service: RecSearchService) {\r\n this.isLoading = true;\r\n this.console.log(`DocID in constructor: ${this.DocID}`);\r\n this.recDocVMTabs = new Array();\r\n }\r\n\r\n ngOnInit() {\r\n console.log(`DocID in OnIint: ${this.DocID}`);\r\n this.service.getRecDoc(this.DocID).subscribe(\r\n data => {\r\n this.isLoading = false;\r\n this.recDocVM = data;\r\n //let info: RecDocVMTab = {\r\n // title: \"Doc Info\",\r\n // type: \"Info\",\r\n // payload: { info: this.recDocVM }\r\n\r\n //};\r\n //this.recDocVMTabs.push(info);\r\n\r\n let torstees: RecDocVMTab = {\r\n title: \"Parties\",\r\n type: \"Parties\",\r\n payload: {\r\n grantors: this.recDocVM.docTors,\r\n grantees: this.recDocVM.docTees\r\n }\r\n };\r\n this.recDocVMTabs.push(\r\n torstees\r\n );\r\n\r\n \r\n let reftoby: RecDocVMTab = {\r\n title: \"References\",\r\n type: \"Referrals\",\r\n payload:\r\n {\r\n refto: this.recDocVM.docRefTo,\r\n refby: this.recDocVM.docRefBy,\r\n trans: this.recDocVM.docTrans\r\n }\r\n };\r\n this.recDocVMTabs.push(reftoby);\r\n\r\n let address: RecDocVMTab = {\r\n title: \"Address\",\r\n type: \"Address\",\r\n payload: this.recDocVM.docAddress\r\n }\r\n\r\n this.recDocVMTabs.push(address);\r\n },\r\n error => { this.error = error }\r\n );\r\n }\r\n getTabs(): RecDocVMTab[] {\r\n this.console.log(this.recDocVMTabs);\r\n return this.recDocVMTabs;\r\n }\r\n getRecDoc(docId: number) {\r\n console.log(`getRecDoc: ${docId}`);\r\n let retVar: RecDocVM;\r\n\r\n //this.service.getRecDoc(docId).subscribe(\r\n // data => retVar = data\r\n //);\r\n //console.log(`returned: ${retVar}`);\r\n //var rightTab = this.recsresults.find(el => el.docID === docId);\r\n return this.service.getRecDoc(docId);\r\n }\r\n\r\n ItemClick(e) {\r\n\r\n }\r\n}\r\n","
\r\n
\r\n
\r\n

\r\n Loading ... {{DocID}}\r\n

\r\n
\r\n
\r\n \r\n
\r\n \r\n\r\n
\r\n {{row.title}}\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n {{dtor.lastCorpName}}, {{dtor.fName}}\r\n
\r\n \r\n {{dtor.lastCorpName}}\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n {{dtee.lastCorpName}}, {{dtee.fName}}\r\n
\r\n \r\n {{dtee.lastCorpName}}\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n {{drefto.docType}}:{{drefto.primaryID}}/{{drefto.secondaryID}}\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n {{drefby.docType}}:{{drefby.primaryID}}/{{drefby.secondaryID}}\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n {{dtran.docType}}:{{dtran.primaryID}}/{{dtran.secondaryID}}\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n

\r\n {{dAddress.address}}\r\n

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n","import { Component, ViewChild, Input, ElementRef, Inject, AfterViewInit } from '@angular/core';\r\nimport { DxDataGridComponent } from 'devextreme-angular';\r\nimport { RecSearchService } from '../../rec-search-service';\r\nimport { RecNameSearchRowVM, RecDocVM, GetRecNameSearchQuery, GetRecNameSearchReportQuery, SearchFilter } from '../../../shared/viewmodels/ISearchService';\r\n//import { forEach } from '@angular/router/src/utils/collection';\r\nimport { CompoundNameComponent } from '../../../shared/components/compound-name/compound-name.component'\r\n//import { Observable } from 'rxjs/Observable';\r\nimport { Store } from '@ngrx/store';\r\n//import { Utility } from './../../../shared/viewmodels/UtilityObj';\r\nimport { DatePipe, DecimalPipe } from '@angular/common';\r\nimport { State } from '@ngrx/store';\r\nimport { Router } from '@angular/router';\r\nimport { BrowserModule, DomSanitizer, SafeHtml } from '@angular/platform-browser';\r\nimport { platformBrowserDynamic } from '@angular/platform-browser-dynamic';\r\nimport {\r\n DxNumberBoxComponent,\r\n DxDataGridModule,\r\n DxNumberBoxModule\r\n} from 'devextreme-angular';\r\nimport 'devextreme/data/odata/store';\r\nimport { AppState, getCoreSearchState } from '../../../store/reducers/reducers';\r\nimport { ReportViewerService } from '../../../shared/services/report-viewer.service';\r\nimport CustomStore from 'devextreme/data/custom_store';\r\nimport { AuthenticationService } from '../../../shared/services/authentication.service';\r\nimport { CCPaymentService } from '../../../shared/services/cc-payment-service';\r\nimport { GetSBImagesQuery, SBListDTO } from '../../../shared/viewmodels/ISearchService';\r\nimport { ShoppingBasketService } from '../../../shared/services/shopping-basket.service';\r\nimport { DocBasketComponent } from '../../../shared/components/doc-basket/doc-basket.component';\r\nimport Swal from 'sweetalert2';\r\n\r\n@Component({\r\n selector: 'app-rec-name-search-grid',\r\n providers: [RecSearchService, ReportViewerService, DatePipe, CCPaymentService, ShoppingBasketService],\r\n templateUrl: './rec-name-search-grid.component.html',\r\n styleUrls: ['./rec-name-search-grid.component.css'],\r\n preserveWhitespaces: true\r\n})\r\nexport class RecNameSearchGridComponent {\r\n\r\n\r\n\r\n @ViewChild(DxDataGridComponent, { static: false }) dataGrid!: DxDataGridComponent;\r\n @ViewChild('gridContainer', { static: false }) gridContainer!: ElementRef;\r\n @ViewChild(CompoundNameComponent) cName: CompoundNameComponent;\r\n public recsresults!: RecNameSearchRowVM[];\r\n public recdoc!: RecDocVM;\r\n public re!: string;\r\n applyFilterTypes: any;\r\n currentFilter: any;\r\n showFilterRow: boolean;\r\n console = console;\r\n towns: string[] = [];\r\n doctypes: string[] = [];\r\n public infoFromServer: string;\r\n appurl: string;\r\n\r\n userInput: any;\r\n public errorMsg: any;\r\n\r\n focusedRowKey!: number;\r\n recordCount!: number;\r\n public remoteOps: any = {};\r\n public noDataText: string = \"Loading...\";\r\n \r\n\r\n constructor(private service: RecSearchService, private reportService: ReportViewerService, private store: Store,\r\n private router: Router, private sanitizer: DomSanitizer, private datepipe: DatePipe, @Inject('BASE_URL') baseUrl: string) {\r\n\r\n this.remoteOps = {\r\n paging: false,\r\n filtering: false,\r\n sorting: false,\r\n grouping: false,\r\n summary: false\r\n }; \r\n\r\n this.store.select(getCoreSearchState).subscribe(data => this.userInput = data);\r\n\r\n for (let city of this.userInput.city.city[0].citytowns) {\r\n if (city.isChecked)\r\n this.towns.push(city.townAbbrev);\r\n }\r\n\r\n for (let doctype of this.userInput.doct.doct[0].doctypes) {\r\n if (doctype.isChecked)\r\n this.doctypes.push(doctype.docCode);\r\n }\r\n this.getResults(\r\n this.userInput.name.name[0].lastcorpName,\r\n this.userInput.name.name[0].fName,\r\n this.userInput.date.date[0].fromDate,\r\n this.userInput.date.date[0].toDate,\r\n (this.userInput.role.role[0].roleID == -1) ? 0 : this.userInput.role.role[0].roleID,\r\n this.towns,\r\n this.doctypes);\r\n\r\n ////Don't open image in another tab'\r\n ///// Get results from cache.\r\n //if (localStorage.getItem('recNameSearchResults') === null) {\r\n // this.getResults(this.userInput[0].lastcorpName, this.userInput[0].fName, this.userInput[0].fromDate, this.userInput[0].toDate, (this.userInput[0].roleID == -1) ? 0 : this.userInput[0].roleID, this.towns, this.doctypes);\r\n \r\n //}\r\n //else {\r\n // this.recsresults = JSON.parse(localStorage.getItem('recNameSearchResults'));\r\n // this.recordCount = this.recsresults.length;\r\n \r\n //}\r\n\r\n\r\n this.showFilterRow = true;\r\n this.applyFilterTypes = [{\r\n key: \"auto\",\r\n name: \"Immediately\"\r\n }, {\r\n key: \"onClick\",\r\n name: \"On Button Click\"\r\n }];\r\n\r\n this.currentFilter = this.applyFilterTypes[0].key;\r\n this.appurl = baseUrl;\r\n }\r\n\r\n get minRowCount(): number {\r\n return Math.max(50, this.recordCount + 10);\r\n }\r\n\r\n ngAfterViewInit() {\r\n if (this.dataGrid && this.dataGrid.instance) {\r\n console.log(\"✅ DataGrid initialized.\");\r\n\r\n const scrollable = this.dataGrid.instance.getScrollable();\r\n\r\n if (!scrollable) {\r\n console.warn(\"❌ `getScrollable()` returned null – grid is not detecting scrolling.\");\r\n return;\r\n }\r\n\r\n console.log(\"✅ `getScrollable()` detected – Setting up intelligent scroll event listener.\");\r\n scrollable.option(\"useNative\", false);\r\n\r\n // 🚀 Track last known position\r\n let lastKnownPosition = 0;\r\n let lastRowIndex = 0;\r\n\r\n scrollable.on(\"scroll\", (e: any) => {\r\n console.log(\"📜 DevExtreme Scroll Event Fired - Offset:\", e.scrollOffset);\r\n lastKnownPosition = e.scrollOffset.top;\r\n\r\n // 🔍 Get the last row index that should be visible\r\n let visibleRows = this.dataGrid.instance.getVisibleRows();\r\n if (visibleRows.length > 0) {\r\n lastRowIndex = visibleRows[visibleRows.length - 1].rowIndex;\r\n }\r\n\r\n console.log(\"👀 Last visible row index:\", lastRowIndex);\r\n });\r\n\r\n // 🚀 Fix disappearing last row by forcing extra row rendering when using the mouse wheel\r\n if (this.gridContainer && this.gridContainer.nativeElement) {\r\n this.gridContainer.nativeElement.addEventListener(\"wheel\", () => {\r\n setTimeout(() => {\r\n let visibleRows = this.dataGrid.instance.getVisibleRows();\r\n if (visibleRows.length > 0) {\r\n let lastVisibleIndex = visibleRows[visibleRows.length - 1].rowIndex;\r\n\r\n if (lastVisibleIndex < lastRowIndex) {\r\n console.warn(\"⚠️ Mouse wheel caused last row to disappear! Correcting...\");\r\n\r\n // 🚀 Force DevExtreme to load extra rows instead of disposing them\r\n this.dataGrid.instance.refresh();\r\n scrollable.scrollTo({ top: lastKnownPosition + 10 }); // Small offset correction\r\n }\r\n }\r\n }, 50);\r\n });\r\n } else {\r\n console.warn(\"⚠️ `gridContainer` is undefined – cannot attach mouse wheel event.\");\r\n }\r\n }\r\n }\r\n\r\n\r\n\r\n mouseover(event) {\r\n //console.log(`onmouseover fired: ${JSON.stringify(event)}`);\r\n //console.log(`target: ${event.target.id}`);\r\n //this.infoFromServer = event.target.id;\r\n\r\n var docIDstring = (event.target.id as string).split('_')[1];\r\n this.console.log(`Our docId: ${docIDstring}`);\r\n var docID = Number(docIDstring);\r\n this.service.getRecDoc(docID).subscribe(data => {\r\n this.infoFromServer = `\r\n
\r\n Grantors:
\r\n\r\n`;\r\n data.docTors.forEach(tor => {\r\n this.infoFromServer += \"  \" + tor.lastCorpName + \" \" + tor.fName + \"
\";\r\n });\r\n\r\n this.infoFromServer += \"Grantees:
\";\r\n data.docTees.forEach(tee => {\r\n this.infoFromServer += \"  \" + tee.lastCorpName + \" \" + tee.fName + \"
\"\r\n });\r\n this.infoFromServer += \"
\"\r\n });\r\n }\r\n\r\n //getResults(lname: string, fname: string, fromdate: any, todate: any, roleid: any, towns: any, doctypes: any) {\r\n\r\n // let getRecNameSearchQuery = new GetRecNameSearchQuery({\r\n // lastName: lname,\r\n // firstName: fname,\r\n // fromDate: fromdate,\r\n // toDate: todate,\r\n // roleId: roleid,\r\n // towns: towns,\r\n // doctypes: doctypes\r\n // });\r\n // console.log(`doctypes: ${doctypes}`);\r\n // console.log(`calling getRecNameSearchResults with ${JSON.stringify(getRecNameSearchQuery)}`);\r\n // console.log(`towns: ${towns}`);\r\n\r\n // this.service.getRecNameSearchResults(getRecNameSearchQuery).subscribe(result => {\r\n\r\n // this.recsresults = result.recNameSearchRows!;\r\n // this.recordCount = this.recsresults.length;\r\n // });\r\n\r\n //}\r\n\r\n public scrollMode: string = \"standard\"; // Default to standard for small datasets\r\n\r\n getResults(lname: string, fname: string, fromdate: any, todate: any, roleid: any, towns: any, doctypes: any) {\r\n let getRecNameSearchQuery = new GetRecNameSearchQuery({\r\n lastName: lname,\r\n firstName: fname,\r\n fromDate: fromdate,\r\n toDate: todate,\r\n roleId: roleid,\r\n towns: towns,\r\n doctypes: doctypes\r\n });\r\n\r\n console.log(`Fetching results: ${JSON.stringify(getRecNameSearchQuery)}`);\r\n\r\n this.service.getRecNameSearchResults(getRecNameSearchQuery).subscribe(result => {\r\n if (result && result.recNameSearchRows) {\r\n const newMode = result.recNameSearchRows.length > 100 ? \"virtual\" : \"standard\";\r\n this.recordCount = result.recNameSearchRows.length;\r\n if (this.recordCount == 0) {\r\n this.noDataText = \"No records found.\";\r\n Swal.fire(\"No records found.\");\r\n }\r\n if (this.scrollMode !== newMode) {\r\n console.log(`🔄 Switching scrolling mode from ${this.scrollMode} to ${newMode}.`);\r\n\r\n this.scrollMode = ''; // 🚨 Temporarily remove scrolling mode\r\n setTimeout(() => {\r\n this.scrollMode = newMode; // 🚀 Apply the new mode\r\n\r\n // 🚨 Hard reset the dataset to force DevExtreme to apply the change\r\n this.recsresults = [];\r\n setTimeout(() => {\r\n this.recsresults = [...result.recNameSearchRows];\r\n this.dataGrid.instance.refresh();\r\n console.log(`✅ DataGrid refreshed with new mode: ${this.scrollMode}`);\r\n }, 200);\r\n }, 100);\r\n } else {\r\n // Normal case: Just update the data without changing modes\r\n this.recsresults = [...result.recNameSearchRows];\r\n this.dataGrid.instance.refresh();\r\n }\r\n }\r\n });\r\n }\r\n\r\n\r\n\r\n getRecDoc(docId: number) {\r\n this.service.getRecDoc(docId).subscribe(\r\n data => { this.recdoc = data },\r\n error => { this.errorMsg = error }\r\n );\r\n }\r\n\r\n\r\n\r\n clearFilter() {\r\n this.dataGrid.instance.clearFilter();\r\n }\r\n\r\n onInitialized(e: any) {\r\n\r\n }\r\n\r\n //Open image in another tab'\r\n imgClicked(event: any) {\r\n if (!this.dataGrid.instance.isRowSelected(event.row.key)) {\r\n this.dataGrid.instance.selectRows(event.row.key, false);\r\n }\r\n // this.nav.visible = false;\r\n\r\n\r\n }\r\n\r\n onExpanding(e: any) {\r\n this.focusedRowKey = e.component.option(\"focusedRowIndex\");\r\n this.focusedRowKey = e.key.index;\r\n e.component.collapseAll(-1);\r\n }\r\n\r\n\r\n\r\n assignTypes(filters: SearchFilter[]) {\r\n if (filters) {\r\n filters.forEach(fl => {\r\n if (fl.filterType == 'join') {\r\n this.assignTypes(fl.filters);\r\n } else {\r\n for (var prop in this.recsresults[0]) {\r\n if (prop == fl.fieldName) {\r\n fl.fieldType = typeof this.recsresults[0][prop];\r\n }\r\n }\r\n }\r\n\r\n });\r\n }\r\n }\r\n\r\n export() {\r\n var filtersUsed = this.dataGrid.instance.getCombinedFilter(true);// [[\"firstGrantor\", \"contains\", \"bed\"], \"and\", [\"firstGrantee\", \"contains\", \"or\"], \"and\", [\"recLandBook\", \"contains\", \"3\"]];//[[[\"recordDate\", \"<\", \"2000-04-03T04:00:00.000Z\"], \"or\", [\"recordDate\", \">=\", \"2000-04-04T04:00:00.000Z\"]], \"and\", [\"firstGrantor\", \"contains\", \"BED\"]];//\r\n var filters = new Array();\r\n var filterExpression = filtersUsed ? JSON.stringify(filtersUsed) : \"\";\r\n console.log(`filterExpression: ${filterExpression}`);\r\n var filterObjs = new Array();\r\n if (filterExpression) {\r\n var filtersOnGrid = SearchFilter.subHelper(filtersUsed, 0);\r\n filterObjs = [...filtersOnGrid];\r\n this.assignTypes(filterObjs);\r\n console.log(`filterObjs: ${JSON.stringify(filterObjs)}`);\r\n //filtersOnGrid.forEach(f => filters.push(JSON.stringify(f)));\r\n //console.log(`filters: ${JSON.stringify(filters)}`);\r\n }\r\n\r\n //this.console.log('Inside Export');\r\n let getRecNameSearchReportQuery = new GetRecNameSearchReportQuery({\r\n lastName: this.userInput.name.name[0].lastcorpName,\r\n firstName: this.userInput.name.name[0].fName,\r\n fromDate: this.userInput.date.date[0].fromDate,\r\n toDate: this.userInput.date.date[0].toDate,\r\n roleId: (this.userInput.role.role[0].roleID == -1) ? 0 : this.userInput.role.role[0].roleID,\r\n towns: this.towns,\r\n doctypes: this.doctypes,\r\n sortBy: new Array(),\r\n sortDirection: \"desc\",\r\n filterExpression: filterExpression,\r\n filterObjects: filterObjs\r\n });\r\n this.console.log(this.userInput.date.date[0].fromDate);\r\n this.console.log(getRecNameSearchReportQuery.toJSON());\r\n this.reportService.getRecNameSearchReport(getRecNameSearchReportQuery).subscribe((reportName) => {\r\n //this.reportUrl = reportName.reportName;\r\n this.console.log(`rerportName: ${reportName.reportName}`);\r\n this.router.navigate([`/report-viewer/${reportName.reportName}`]);\r\n\r\n });\r\n\r\n\r\n }\r\n\r\n\r\n openImage(e, docID, book, page, cityTown, docType, recordDate, idxPage, idxByPage) {\r\n\r\n console.log('navigate to image ' + idxPage + ' ' + idxByPage);\r\n let bookNo = 0;\r\n\r\n let loc = localStorage.getItem(\"machineLocation\")\r\n\r\n //plan search\r\n var cutoffDt = new Date('5/1/2017')\r\n var tBook = book.substring(0, 2);\r\n if (docType === \"PLAN\" && recordDate < cutoffDt && +book < 247) {\r\n const url = this.router.createUrlTree(['rec-plan-name-doc-disp-pg', book, page, 'Recorded'])\r\n const tUrl = this.appurl + url.toString().substring(1);\r\n if (loc == '1') {\r\n var params = [\r\n 'height=' + screen.height,\r\n 'width=' + screen.width,\r\n 'fullscreen=yes' // only works in IE, but here for completeness\r\n ].join(',');\r\n\r\n var popup = window.open(tUrl, 'popup_window', params);\r\n popup.moveTo(0, 0);\r\n } else {\r\n window.open(tUrl, '_blank');\r\n }\r\n }\r\n else if (book === \"TAX\" || book === \"COL\") {\r\n //book = this.service.padLeft(this.service.getCityTaxCode(cityTown, docType, recordDate).toString(), '0', 4);\r\n //page = this.service.padLeft(page, '0', 4);\r\n //const url = this.router.createUrlTree(['/unindexed-doc-disp-pg/', book, page, 29]);\r\n //const tUrl = this.appurl + url.toString().substring(1);\r\n //if (loc == '1') {\r\n // var params = [\r\n // 'height=' + screen.height,\r\n // 'width=' + screen.width,\r\n // 'fullscreen=yes' // only works in IE, but here for completeness\r\n // ].join(',');\r\n\r\n // var popup = window.open(tUrl, 'popup_window', params);\r\n // popup.moveTo(0, 0);\r\n //} else {\r\n // window.open(tUrl, '_blank');\r\n //}\r\n }\r\n else if (book.substring(0, 3) === 'ATT' /*|| book === '0000'*/) {\r\n let baseBP = '';\r\n //baseBP = this.service.padLeft(page, '0', 4);\r\n //book = this.service.padLeft(baseBP.substring(0, 2), '0', 4);\r\n //page = baseBP.substring(2) + '01';\r\n const url = this.router.createUrlTree(['/unindexed-doc-disp-pg/', book, page, 30]);\r\n const tUrl = this.appurl + url.toString().substring(1);\r\n if (loc == '1') {\r\n var params = [\r\n 'height=' + screen.height,\r\n 'width=' + screen.width,\r\n 'fullscreen=yes' // only works in IE, but here for completeness\r\n ].join(',');\r\n\r\n var popup = window.open(tUrl, 'popup_window', params);\r\n popup.moveTo(0, 0);\r\n } else {\r\n window.open(tUrl, '_blank');\r\n }\r\n\r\n }\r\n else if (book === 'FILE') {\r\n //Old Federal Tax Liens\r\n\r\n //let baseBP = '';\r\n //baseBP = this.service.padLeft(page, '0', 4);\r\n //book = this.service.padLeft(baseBP.substring(0, 2), '0', 4);\r\n //page = baseBP.substring(2) + '01';\r\n const url = this.router.createUrlTree(['/unindexed-doc-disp-pg/', book, page, 28]);\r\n const tUrl = this.appurl + url.toString().substring(1);\r\n if (loc == '1') {\r\n var params = [\r\n 'height=' + screen.height,\r\n 'width=' + screen.width,\r\n 'fullscreen=yes' // only works in IE, but here for completeness\r\n ].join(',');\r\n\r\n var popup = window.open(tUrl, 'popup_window', params);\r\n popup.moveTo(0, 0);\r\n } else {\r\n window.open(tUrl, '_blank');\r\n }\r\n\r\n }\r\n else if (book === 'OAAL') {\r\n\r\n const url = this.router.createUrlTree(['/unindexed-doc-disp-pg/', book, page, 31]);\r\n const tUrl = this.appurl + url.toString().substring(1);\r\n if (loc == '1') {\r\n var params = [\r\n 'height=' + screen.height,\r\n 'width=' + screen.width,\r\n 'fullscreen=yes' // only works in IE, but here for completeness\r\n ].join(',');\r\n\r\n var popup = window.open(tUrl, 'popup_window', params);\r\n popup.moveTo(0, 0);\r\n } else {\r\n window.open(tUrl, '_blank');\r\n }\r\n\r\n }\r\n else {\r\n //the rest of the docs\r\n console.log('idx page ' + idxPage + ' ' + idxByPage);\r\n //if doc type not allowed to scroll by page, set back to first page\r\n if (idxByPage == undefined || idxByPage === 0)\r\n idxPage = 0;\r\n\r\n if (book === \"0000\") {\r\n book = 'AX' + book;\r\n }\r\n\r\n const url = this.router.createUrlTree(['/rec-address-doc-disp-pg', docID, book, page, idxPage]);\r\n const tUrl = this.appurl + url.toString().substring(1);\r\n if (loc == '1') {\r\n var params = [\r\n 'height=' + screen.height,\r\n 'width=' + screen.width,\r\n 'fullscreen=yes' // only works in IE, but here for completeness\r\n ].join(',');\r\n\r\n var popup = window.open(tUrl, 'popup_window', params);\r\n popup.moveTo(0, 0);\r\n } else {\r\n window.open(tUrl, '_blank');\r\n }\r\n }\r\n }\r\n}\r\n","
{{errorMsg}}
\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n\r\n\r\n","import { Component, OnInit, Input } from '@angular/core';\r\nimport { RecSearchService } from '../../rec-search-service';\r\n//import { Observable } from 'rxjs/Observable';\r\nimport { Store } from '@ngrx/store';\r\n//import { Utility } from './../../../shared/viewmodels/UtilityObj';\r\n\r\nimport { Router } from '@angular/router'\r\nimport { NavMenuService } from '../../../shared/services/nav-menu-service';\r\nimport { AppState, getCoreSearchState } from '../../../store/reducers/reducers';\r\n\r\n\r\n@Component({\r\n selector: 'app-rec-name-search-header',\r\n providers: [RecSearchService],\r\n templateUrl: './rec-name-search-header.component.html',\r\n styleUrls: ['./rec-name-search-header.component.css']\r\n})\r\n\r\n//@Injectable()\r\nexport class RecNameSearchHeaderComponent implements OnInit {\r\n\r\n //recs: Observable;\r\n recs: any;\r\n @Input() recordCount: number;\r\n towns: string[] = [];\r\n\r\n constructor(private router: Router, private store: Store, public nav: NavMenuService, private service: RecSearchService) {\r\n //this.recs = store.select('rec');\r\n store.select(getCoreSearchState).subscribe(data => this.recs = data);\r\n console.log(this.recs.name.name[0].lastcorpName);\r\n console.log(this.recs.role.role[0].roleID);\r\n console.log(this.recs.date.date[0].fromDate);\r\n console.log(this.recs.date.date[0].toDate);\r\n\r\n for (let city of this.recs.city.city[0].citytowns) {\r\n if (city.isChecked)\r\n this.towns.push(city.townName);\r\n }\r\n \r\n }\r\n\r\n back(url) {\r\n try {\r\n this.service.logInfo('Clicked back button');\r\n this.nav.show();\r\n if (localStorage.getItem('recNameSearchResults') !== null) {\r\n localStorage.removeItem('recNameSearchResults');\r\n }\r\n this.router.navigate([url]);\r\n }\r\n catch (error) {\r\n this.service.logError(error);\r\n }\r\n\r\n }\r\n\r\n ngOnInit() {\r\n\r\n }\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n}\r\n","\r\n\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n

Recorded Land Search Results

\r\n

\r\n Name: {{ recs.name.name[0].lastcorpName }} Role: \r\n \r\n \r\n Date: {{recs.date.date[0].fromDate| date:'MM-dd-yyyy'}} to {{recs.date.date[0].toDate| date:'MM-dd-yyyy'}} City/Town: Category: All Type: All {{recordCount}} records found\r\n

\r\n
\r\n \r\n
\r\n
\r\n","import { Component, OnInit, ViewChild } from '@angular/core';\nimport { RecNameSearchRowVM, RecDocVM, GetRegValueSearchReportQuery, GetRecValueSearchQuery, RecAddressSearchRowVM, GetRecValueSearchReportQuery, SearchFilter } from '../../../shared/viewmodels/ISearchService';\nimport { DxDataGridComponent } from 'devextreme-angular';\nimport { CompoundNameComponent } from '../../../shared/components/compound-name/compound-name.component'\nimport { ReportViewerService } from '../../../shared/services/report-viewer.service';\nimport { RecSearchService } from '../../../rec-search/rec-search-service';\nimport { Store } from '@ngrx/store';\nimport { AppState, getCoreSearchState } from '../../../store/reducers/reducers';\nimport { Router } from '@angular/router';\nimport { take } from 'rxjs/operators';\nimport Swal from 'sweetalert2';\n\n@Component({\n selector: 'lib-rec-value-search-grid',\n templateUrl: './rec-value-search-grid.component.html',\n providers: [RecSearchService, ReportViewerService],\n styleUrls: ['./rec-value-search-grid.component.css']\n})\nexport class RecValueSearchGridComponent implements OnInit {\n\n @ViewChild(DxDataGridComponent, { static: true }) dataGrid: DxDataGridComponent;\n @ViewChild(CompoundNameComponent) cName: CompoundNameComponent;\n\n\n public errorMsg!: string;\n public recsresults!: RecAddressSearchRowVM[];\n public recdoc!: RecDocVM;\n public re!: string;\n applyFilterTypes: any;\n currentFilter: any;\n showFilterRow: boolean;\n console = console;\n towns: string[] = [];\n doctypes: string[] = [];\n doccategories: string[] = [];\n\n userInput: any;\n\n focusedRowKey!: number;\n recordCount!: number;\n public noDataText: string = \"Loading...\";\n\n constructor(private service: RecSearchService, private reportService: ReportViewerService, private store: Store, private router: Router) {\n this.store.select(getCoreSearchState).pipe(take(1)).subscribe(data => this.userInput = data);\n\n for (let city of this.userInput.city.city[0].citytowns) {\n if (city.isChecked)\n this.towns.push(city.townAbbrev);\n }\n\n //for (let doctype of this.userInput.doct[0].doctypes) {\n // if (doctype.isChecked)\n // this.doctypes.push(doctype.docCode);\n //}\n\n if (this.userInput.docCategoriesVS.doccategories[0].mortgages) {\n this.doccategories.push(\"mortgages\");\n } else {\n this.doccategories.push(\"conveyances\");\r\n }\n\n this.getValueResults();\n\n this.showFilterRow = true;\n this.applyFilterTypes = [{\n key: \"auto\",\n name: \"Immediately\"\n }, {\n key: \"onClick\",\n name: \"On Button Click\"\n }];\n\n this.currentFilter = this.applyFilterTypes[0].key;\n\n\n }\n\n ngOnInit() {\n }\n\n clearFilter() {\n this.dataGrid.instance.clearFilter();\n }\n\n onInitialized(e: any) {\n\n }\n\n //Open image in another tab'\n imgClicked(event: any) {\n if (!this.dataGrid.instance.isRowSelected(event.row.key)) {\n this.dataGrid.instance.selectRows(event.row.key, false);\n }\n // this.nav.visible = false;\n\n\n }\n\n onExpanding(e: any) {\n this.focusedRowKey = e.component.option(\"focusedRowIndex\");\n this.focusedRowKey = e.key.index;\n e.component.collapseAll(-1);\n }\n\n getValueResults() {\n let search = new GetRecValueSearchQuery({\n docCategory: this.doccategories,\n amountFrom: this.userInput.amount.amount[0].fromAmount,\n amountTo: this.userInput.amount.amount[0].toAmount,\n fromDate: this.userInput.date.date[0].fromDate,\n toDate: this.userInput.date.date[0].toDate,\n towns: this.towns,\n type: this.userInput.amount.amount[0].type\n });\n console.log(`search: ${JSON.stringify(search)}`);\n //console.log(`userInput: ${JSON.stringify(this.userInput)}`);\n //console.log(`userInput.amount: ${JSON.stringify(this.userInput.amount)}`);\n //console.log(`userInput.date: ${JSON.stringify(this.userInput.date)}`);\n //console.log(`this.towns: ${JSON.stringify(this.towns)}`);\n this.service.getRecValueSearchResults(search).subscribe(data => {\n this.recsresults = data.recAddressSearchRows!;\n this.recordCount = this.recsresults.length;\n if (this.recordCount == 0) {\n this.noDataText = \"No records found.\";\n Swal.fire(\"No records found.\");\r\n }\n });\n\n }\n\n export() {\n\n var filterExpression = this.dataGrid.instance.getCombinedFilter(true);\n var filters = new Array();\n\n if (filterExpression) {\n var filtersUsed = SearchFilter.fromJSs(filterExpression);\n filtersUsed.forEach(f => filters.push(JSON.stringify(f)));\n console.log(`filters: ${JSON.stringify(filters)}`);\n }\n\n let query = new GetRecValueSearchReportQuery({\n docCategory: this.doccategories,\n amountFrom: this.userInput.amount.amount[0].fromAmount,\n amountTo: this.userInput.amount.amount[0].toAmount,\n fromDate: this.userInput.date.date[0].fromDate,\n toDate: this.userInput.date[0].toDate,\n towns: this.towns,\n type: this.userInput.amount.amount[0].type,\n sortBy: new Array(),\n sortDirection: \"desc\",\n filterExpression: filterExpression,\n filtersCollection: [...filters]\n });\n\n console.log(`query: ${JSON.stringify(query)}`);\n //console.log(`query.toJSON: ${query.toJSON()}`);\n //console.log(`type: ${this.userInput.amount[0].type}`);\n //var myFilter = this.dataGrid.instance.getCombinedFilter(true);\n //console.log(`filter obj: ${JSON.stringify(myFilter)}`);\n //console.log(`type of: ${typeof myFilter[0]}`);\n\n \n //var filterObject = SearchFilter.fromJS(this.dataGrid.instance.getCombinedFilter(true));\n //console.log(`filterObject: ${JSON.stringify(filterObject)}`);\n //query.filter.push(myFilter);\n //console.log(`filterMaybe: ${JSON.stringify(this.dataGrid.instance.getCombinedFilter(true))}`);\n this.reportService.getRecValueSearchReport(query).subscribe(repName => {\n this.router.navigate([`/report-viewer/${repName.reportName}`]);\n });\n }\n\n}\n","
{{errorMsg}}
\r\n\r\n\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n\r\n \r\n \r\n\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n
\r\n\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n\r\n
\r\n\r\n
\r\n","import { Component, OnInit, Input } from '@angular/core';\r\nimport { RecSearchService } from '../../../rec-search/rec-search-service';\r\nimport { Router } from '@angular/router';\r\nimport { Store } from '@ngrx/store';\r\nimport { AppState, getCoreSearchState } from '../../../store/reducers/reducers';\r\nimport { NavMenuService } from '../../../shared/services/nav-menu-service';\r\n\r\n@Component({\r\n selector: 'app-rec-value-search-header',\r\n providers: [RecSearchService],\r\n templateUrl: './rec-value-search-header.component.html',\r\n styleUrls: ['./rec-value-search-header.component.css']\r\n})\r\nexport class RecValueSearchHeaderComponent implements OnInit {\r\n\r\n recs: any;\r\n @Input() recordCount: number;\r\n towns: string[] = [];\r\n DocCategories: string;\r\n\r\n constructor(private router: Router, private store: Store, public nav: NavMenuService, private service: RecSearchService) {\r\n\r\n //store.select('rec').subscribe(data => this.recs = data);\r\n //for (let city of this.recs[0].citytowns) {\r\n // if (city.isChecked)\r\n // this.towns.push(city.townName);\r\n //}\r\n store.select(getCoreSearchState).subscribe(data => this.recs = data);\r\n for (let city of this.recs.city.city[0].citytowns) {\r\n if (city.isChecked)\r\n this.towns.push(city.townName);\r\n }\r\n //console.log(`this.towns: ${JSON.stringify(this.towns)}`);\r\n if (this.recs.docCategoriesVS.mortgages && this.recs.docCategoriesVS.conveyances) {\r\n this.DocCategories = \"Mortgages and Conveyances\";\r\n }\r\n else {\r\n if (this.recs.docCategoriesVS.mortgages) {\r\n this.DocCategories = \"Mortgages\";\r\n }\r\n else {\r\n this.DocCategories = \"Conveyances\";\r\n }\r\n }\r\n\r\n }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n back(url) {\r\n try {\r\n this.service.logInfo('Clicked back button');\r\n this.nav.show();\r\n //if (localStorage.getItem('recNameSearchResults') !== null) {\r\n // localStorage.removeItem('recNameSearchResults');\r\n //}\r\n this.router.navigate([url]);\r\n }\r\n catch (error) {\r\n this.service.logError(error);\r\n }\r\n\r\n }\r\n\r\n}\r\n","
\n
\n \n
\n \n
\n
\n

Recorded Land Value Search Results

\n

\r\n Value: {{ recs.amount.amount[0].fromAmount }} to {{recs.amount.amount[0].toAmount}} Date: {{recs.date.date[0].fromDate| date:'MM-dd-yyyy'}} to {{recs.date.date[0].toDate| date:'MM-dd-yyyy'}} City/Town: Categories: {{recordCount}} records found\r\n

\n
\n \n
\n
\n","import { Component, OnInit, Input, EventEmitter, Renderer2, SimpleChanges, HostListener, ViewChild } from '@angular/core';\nimport { RecSearchService } from '../../rec-search-service';\nimport { InstrumentVM, RecDocVM } from '../../../shared/viewmodels/ISearchService';\nimport { ActivatedRoute, Router } from '@angular/router';\nimport { NavMenuService } from '../../../shared/services/nav-menu-service';\nimport { NgxExtendedPdfViewerComponent, PdfBreakpoints, pdfDefaultOptions } from 'ngx-extended-pdf-viewer';\nimport { RecDocDetailParentComponent } from '../../components/rec-doc-detail-parent/rec-doc-detail-parent.component';\n\n@Component({\n selector: 'app-rec-address-doc-disp-pg',\n providers: [RecSearchService],\n templateUrl: './rec-address-doc-disp-pg.component.html',\n styleUrls: ['./rec-address-doc-disp-pg.component.css']\n})\nexport class RecAddressDocDispPgComponent implements OnInit {\n\n public docId: number;\n public book: string;\n public page: string;\n collapsesideinfo: boolean = false;\n public record!: RecDocVM;\n error: any;\n public isImgVwVisible: boolean = true;\n public isLoadingDetail: boolean = true;\n @ViewChild(RecDocDetailParentComponent) recDocDetailParentChild: RecDocDetailParentComponent;\n screenWidth: any;\n\n\n constructor(private route: ActivatedRoute, private service: RecSearchService, private router: Router) {\n this.book = this.route.snapshot.paramMap.get('book')!;\n console.log('book: ' + this.book);\n this.page = this.route.snapshot.paramMap.get('page')!;\n console.log('page: ' + this.page);\n this.docId = Number(this.route.snapshot.paramMap.get('docId'));\n console.log('docId: ' + this.docId);\n this.isLoadingDetail = true;\n this.service.getRecDoc(this.docId).subscribe(\n data => {\n this.record = data;\n this.isLoadingDetail = false;\n },\n error => { this.error = error }\n );\n }\n\n ngOnInit(): void {\n throw new Error(\"Method not implemented.\");\n }\n\n back(url: string) {\n\n //this.router.navigate([url]);\n window.opener = 'Self';\n window.open('', '_parent', '');\n window.close();\n\n }\n\n\n toggleSideInfo() {\n this.collapsesideinfo = !this.collapsesideinfo;\n\n }\n\n loadRef(e: InstrumentVM) {\n console.log(`loadRef fired: ${e}`);\n this.isLoadingDetail = true;\n this.docId = e.docID;\n this.book = e.primaryID;\n this.page = e.secondaryID;\n this.recDocDetailParentChild.loadRef(e);\n this.isLoadingDetail = false;\n }\n\n @HostListener('window:resize', ['$event'])\n getScreenSize(event: any) {\n this.screenWidth = window.innerWidth;\n }\n\n getIsImgVwVisible(e: any) {\n this.isImgVwVisible = e;\n }\n\n loadInfo(e: RecDocVM) {\n this.record = e;\n }\n\n}\n","
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n\r\n\r\n\r\n\r\n\r\n\r\n","import { Component, OnInit, ViewChild } from '@angular/core';\nimport { NavMenuService } from '../../../shared/services/nav-menu-service';\r\nimport { RecAddressSearchGridComponent } from '../../components/rec-address-search-grid/rec-address-search-grid.component';\r\n\n@Component({\n selector: 'app-rec-address-result-pg',\n templateUrl: './rec-address-result-pg.component.html',\n styleUrls: ['./rec-address-result-pg.component.css']\n})\nexport class RecAddressResultPgComponent implements OnInit {\n @ViewChild(RecAddressSearchGridComponent, { static: true }) recAddressResults: RecAddressSearchGridComponent;\n constructor(public nav: NavMenuService) {\r\n\r\n }\r\n\r\n\r\n\r\n ngOnInit() {\r\n this.nav.hide();\r\n }\n}\n","
\r\n \r\n
\r\n
\r\n \r\n
\r\n","import { Component, OnInit, ViewChild } from '@angular/core';\r\nimport { CompoundNameComponent } from '../../../shared/components/compound-name/compound-name.component';\r\nimport { DaterangeComponent } from '../../../shared/components/daterange/daterange.component';\r\nimport { RoleComponent } from '../../../shared/components/role/role.component';\r\nimport { CityTownEXComponent } from '../../../shared/components/city-town-ex/city-town-ex.component';\r\nimport { DoctypeexComponent } from '../../../shared/components/doctypeex/doctypeex.component';\r\nimport { Router, ActivatedRoute } from '@angular/router';\r\nimport { RecSearchService } from '../../rec-search-service';\r\nimport { Store } from '@ngrx/store';\r\nimport { CompoundAddressComponent } from '../../../shared/components/compound-address/compound-address.component';\r\nimport { AppState } from '../../../store/reducers/reducers';\r\nimport * as DateRangeActions from '../../../store/actions/daterange.action';\r\nimport * as CityActions from '../../../store/actions/citytown.action';\r\nimport * as DocTypeActions from '../../../store/actions/doctype.action';\r\nimport * as AddressActions from '../../../store/actions/address.action';\r\nimport { NgForm, FormGroup, FormControl, FormBuilder } from '@angular/forms';\r\nimport { DateRangeParentComponent } from '../../../shared/components/date-range-parent/date-range-parent.component';\r\nimport { DocTypeVM } from '../../../shared/viewmodels/ISearchService';\r\n\r\n@Component({\r\n selector: 'app-rec-address-search',\r\n providers: [RecSearchService],\r\n templateUrl: './rec-address-search.component.html',\r\n styleUrls: ['./rec-address-search.component.css']\r\n})\r\nexport class RecAddressSearchComponent implements OnInit {\r\n\r\n @ViewChild(CompoundAddressComponent) compoundAddressChild: CompoundAddressComponent;\r\n /* @ViewChild(DaterangeComponent) dateRangeChild: DaterangeComponent;*/\r\n @ViewChild(DateRangeParentComponent, { static: true }) dateRangeChild;\r\n @ViewChild(CityTownEXComponent) cityTownChild: CityTownEXComponent;\r\n @ViewChild(DoctypeexComponent) docTypeChild: DoctypeexComponent;\r\n @ViewChild('f', { static: true }) recAddressSearchForm: NgForm;\r\n parentForm!: FormGroup;\r\n public docType: string;\r\n\r\n constructor(private router: Router, private service: RecSearchService, private store: Store, private fb: FormBuilder, private route: ActivatedRoute) {\r\n this.docType = this.route.snapshot.paramMap.get('docType')!;\r\n\r\n }\r\n\r\n addRecToStore(fromdate: any, todate: any, citytowns: any, doctypes: any, streetnumber: any, streetaddress: any) {\r\n this.store.dispatch(new DateRangeActions.AddDate({\r\n fromDate: fromdate,\r\n toDate: todate\r\n }));\r\n\r\n this.store.dispatch(new CityActions.AddCity({\r\n citytowns: citytowns\r\n }));\r\n\r\n this.store.dispatch(new DocTypeActions.AddDoct({\r\n doctypes: doctypes\r\n }));\r\n\r\n this.store.dispatch(new AddressActions.AddAddress({\r\n streetNumber: streetnumber,\r\n streetAddress: streetaddress\r\n }));\r\n\r\n }\r\n\r\n delRecFromStore(index: number) {\r\n this.store.dispatch(new CityActions.RemoveCity(index));\r\n this.store.dispatch(new DateRangeActions.RemoveDate(index));\r\n this.store.dispatch(new DocTypeActions.RemoveDoct(index));\r\n this.store.dispatch(new AddressActions.RemoveAddress(index));\r\n }\r\n\r\n\r\n search(url: string) {\r\n\r\n this.delRecFromStore(0);\r\n\r\n this.addRecToStore(this.dateRangeChild.utilityobj.fromDate, this.dateRangeChild.utilityobj.toDate, this.cityTownChild.utilityobj.citytowns, this.docTypeChild.utilityobj.doctypes, this.compoundAddressChild.utilityobj.streetNumber, this.compoundAddressChild.utilityobj.streetAddress);\r\n\r\n this.router.navigate([url]);\r\n\r\n }\r\n\r\n ngOnInit() {\r\n this.parentForm = this.fb.group({\r\n });\r\n\r\n this.recAddressSearchForm.form = this.fb.group({});\r\n\r\n if (this.docType === 'PLAN') {\r\n if (this.dateRangeChild.utilityobj.fromDate == undefined)\r\n this.dateRangeChild.utilityobj.fromDate = new Date('1/1/1880');\r\n\r\n if (this.dateRangeChild.utilityobj.toDate == undefined)\r\n this.dateRangeChild.utilityobj.toDate = new Date();\r\n } else {\r\n if (this.dateRangeChild.utilityobj.fromDate == undefined)\r\n this.dateRangeChild.utilityobj.fromDate = new Date('1/1/1946');\r\n\r\n if (this.dateRangeChild.utilityobj.toDate == undefined)\r\n this.dateRangeChild.utilityobj.toDate = new Date();\r\n }\r\n }\r\n\r\n onSubmit(e: any) {\r\n if (this.recAddressSearchForm.valid) {\r\n console.log(\"inside submit\");\r\n this.delRecFromStore(0);\r\n\r\n this.addRecToStore(this.dateRangeChild.utilityobj.fromDate, this.dateRangeChild.utilityobj.toDate, this.cityTownChild.utilityobj.citytowns, this.docTypeChild.utilityobj.doctypes, this.compoundAddressChild.utilityobj.streetNumber, this.compoundAddressChild.utilityobj.streetAddress);\r\n\r\n this.router.navigate(['/rec-address-result-pg']);\r\n\r\n }\r\n else {\r\n this.validateAllFormFields(this.recAddressSearchForm.form);\r\n }\r\n }\r\n\r\n validateAllFormFields(formGroup: FormGroup) { //{1}\r\n Object.keys(formGroup.controls).forEach(field => { //{2}\r\n const control = formGroup.get(field); //{3}\r\n if (control instanceof FormControl) { //{4}\r\n control.markAsTouched({ onlySelf: true });\r\n } else if (control instanceof FormGroup) { //{5}\r\n this.validateAllFormFields(control); //{6}\r\n }\r\n });\r\n }\r\n ngAfterViewInit() {\r\n this.recAddressSearchForm.form.addControl('compoundAddressForm', this.compoundAddressChild.form);\r\n this.compoundAddressChild.form.setParent(this.recAddressSearchForm.form);\r\n this.recAddressSearchForm.form.addControl('dateRangeForm', this.dateRangeChild.form);\r\n this.dateRangeChild.form.setParent(this.recAddressSearchForm.form);\r\n\r\n if (this.dateRangeChild.utilityobj.fromDate == undefined)\r\n this.dateRangeChild.utilityobj.fromDate = new Date('1/1/1946');\r\n\r\n if (this.dateRangeChild.utilityobj.toDate == undefined)\r\n this.dateRangeChild.utilityobj.toDate = new Date();\r\n\r\n if (this.docType === 'PLAN') {\r\n //this.docTypeChild.docSelected({ docCode: 'PLAN', docName: 'PLAN', isChecked: true });\r\n this.docTypeChild.Set('PLAN');\r\n this.cityTownChild.reset();\r\n if (this.dateRangeChild.utilityobj.fromDate == undefined)\r\n this.dateRangeChild.utilityobj.fromDate = new Date('1/1/1880');\r\n\r\n if (this.dateRangeChild.utilityobj.toDate == undefined)\r\n this.dateRangeChild.utilityobj.toDate = new Date();\r\n }\r\n }\r\n\r\n reset() {\r\n if (this.compoundAddressChild) { this.compoundAddressChild.reset(); }\r\n if (this.cityTownChild) { this.cityTownChild.reset(); }\r\n if (this.docType != 'PLAN') {\r\n if (this.docTypeChild) { this.docTypeChild.reset(); }\r\n if (this.dateRangeChild) { this.dateRangeChild.reset('1/1/1946', new Date().toLocaleDateString()); }\r\n } else {\r\n if (this.dateRangeChild) { this.dateRangeChild.reset('1/1/1880', new Date().toLocaleDateString()); }\r\n }\r\n\r\n this.delRecFromStore(0);\r\n\r\n this.addRecToStore(\r\n this.compoundAddressChild.utilityobj.streetNumber,\r\n this.compoundAddressChild.utilityobj.streetAddress,\r\n this.dateRangeChild.utilityobj.fromDate,\r\n this.dateRangeChild.utilityobj.toDate,\r\n this.cityTownChild.utilityobj.citytowns,\r\n this.docTypeChild.utilityobj.doctypes);\r\n }\r\n\r\n}\r\n","
\r\n

Search Recorded Land by

\r\n
\r\n
\r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n
\r\n\r\n
\r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n\r\n\r\n\r\n","import { Component, OnInit, Input, EventEmitter, Renderer2, SimpleChanges, ViewChild, HostListener } from '@angular/core';\nimport { RecSearchService } from '../../rec-search-service';\nimport { InstrumentVM, RecDocVM } from '../../../shared/viewmodels/ISearchService';\nimport { ActivatedRoute, Router } from '@angular/router';\nimport { NavMenuService } from '../../../shared/services/nav-menu-service';\nimport { NgxExtendedPdfViewerComponent, PdfBreakpoints, pdfDefaultOptions } from 'ngx-extended-pdf-viewer';\nimport { RecDocDetailParentComponent } from '../../components/rec-doc-detail-parent/rec-doc-detail-parent.component';\n\n@Component({\n selector: 'app-rec-bp-doc-disp-pg',\n providers: [RecSearchService],\n templateUrl: './rec-bp-doc-disp-pg.component.html',\n styleUrls: ['./rec-bp-doc-disp-pg.component.css']\n})\nexport class RecBpDocDispPgComponent implements OnInit {\n\n public docId!: number;\n public book: string;\n public page: string;\n collapsesideinfo: boolean = false;\n public record!: RecDocVM;\n error: any;\n public isImgVwVisible: boolean = true;\n public isLoadingDetail: boolean = true;\n @ViewChild(RecDocDetailParentComponent) recDocDetailParentChild: RecDocDetailParentComponent;\n screenWidth: any;\n\n\n constructor(private route: ActivatedRoute,\n private service: RecSearchService,\n private router: Router, private renderer: Renderer2, public nav: NavMenuService) {\n this.book = this.route.snapshot.paramMap.get('book')!;\n this.page = this.route.snapshot.paramMap.get('page')!;\n this.nav.hide();\n }\n\n /** Initialize image viewer */\n ngOnInit() {\n console.log('ngOnInit() fired');\n console.log('Calling loadImageByBookPage() from ngOnInit ');\n\n this.isLoadingDetail = true;\n this.searchDocument(this.book, this.page);\n }\n\n toggleSideInfo() {\n this.collapsesideinfo = !this.collapsesideinfo;\n\n }\n\n loadRef(e: InstrumentVM) {\n console.log(`loadRef fired: ${e}`);\n this.isLoadingDetail = true;\n this.docId = e.docID;\n this.book = e.primaryID;\n this.page = e.secondaryID;\n this.recDocDetailParentChild.loadRef(e);\n this.isLoadingDetail = false;\n }\n\n @HostListener('window:resize', ['$event'])\n getScreenSize(event: any) {\n this.screenWidth = window.innerWidth;\n }\n\n getIsImgVwVisible(e: boolean) {\n this.isImgVwVisible = e;\n }\n\n loadInfo(e: RecDocVM) {\n this.record = e;\n }\n\n /**\n * Navigate to previous page.\n * @param url\n */\n back(url: string) {\n\n this.router.navigate([url]);\n this.nav.show();\n\n }\n\n\n\n /**\n * Search document for a book and page number entered by the user.\n * @param sBook\n * @param sPage\n */\n searchDocument(sBook: string, sPage: string) {\n this.isLoadingDetail = true;\n\n this.service.getContainingDoc(sBook, sPage).subscribe(\n data => {\n this.docId = data.docID;\n this.book = data.primaryID;\n this.page = data.secondaryID;\n\n\n this.service.getRecDoc(this.docId).subscribe(\n data => {\n this.record = data;\n this.isLoadingDetail = false;\n },\n error => { this.error = error }\n );\n\n },\n error => { this.error = error }\n );\n }\n\n\n\n}\n","
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n\r\n\r\n\r\n\r\n","import { Component, OnInit, ViewChild } from '@angular/core';\nimport { BookPageComponent } from '../../../shared/components/book-page/book-page.component';\nimport { Router } from '@angular/router';\r\nimport { RecSearchService } from '../../rec-search-service';\r\nimport { Store } from '@ngrx/store';\r\n\r\nimport * as BPActions from './../../../store/actions/bookpage.action';\r\nimport { AppState } from '../../../store/reducers/reducers';\r\nimport { NgForm, FormGroup, FormControl, FormBuilder } from '@angular/forms';\r\n\n@Component({\n selector: 'app-rec-bp-search',\n providers: [RecSearchService],\n templateUrl: './rec-bp-search.component.html',\n styleUrls: ['./rec-bp-search.component.css']\n})\nexport class RecBpSearchComponent implements OnInit {\n\n @ViewChild(BookPageComponent) bookpageChild: BookPageComponent;\r\n @ViewChild('f') bookPageSearchForm!: NgForm;\n parentForm!: FormGroup;\r\n\r\n constructor(private router: Router, private service: RecSearchService, private store: Store, private fb: FormBuilder) {\r\n\r\n\r\n }\r\n\r\n addRecToStore(book: any, page: any) {\r\n this.store.dispatch(new BPActions.AddBP(\r\n { docNumPrimary: book, docNumSecondary: page }));\r\n }\r\n\r\n delRecFromStore(index: number) {\r\n this.store.dispatch(new BPActions.RemoveBP(index));\r\n }\r\n\r\n\r\n search(url: string) {\r\n\r\n this.delRecFromStore(0);\r\n\r\n this.addRecToStore(this.bookpageChild.utilityobj.docNumPrimary, this.bookpageChild.utilityobj.docNumSecondary);\r\n\r\n this.router.navigate(['/rec-bp-doc-disp-pg', this.bookpageChild.utilityobj.docNumPrimary, this.bookpageChild.utilityobj.docNumSecondary]);\r\n\r\n }\n\n ngOnInit() {\n this.parentForm = this.fb.group({\n });\n\n this.bookPageSearchForm.form = this.fb.group({});\n\n }\n\n onSubmit(e: any) {\n if (this.bookPageSearchForm.valid) {\n\n this.delRecFromStore(0);\n\n this.addRecToStore(\n this.bookpageChild.utilityobj.docNumPrimary,\n this.bookpageChild.utilityobj.docNumSecondary);\n \n\n this.router.navigate(['/rec-bp-doc-disp-pg', this.bookpageChild.utilityobj.docNumPrimary, this.bookpageChild.utilityobj.docNumSecondary]);\r\n\n\n }\n else {\n this.validateAllFormFields(this.bookPageSearchForm.form);\n }\n }\n\n validateAllFormFields(formGroup: FormGroup) { //{1}\r\n Object.keys(formGroup.controls).forEach(field => { //{2}\r\n const control = formGroup.get(field); //{3}\r\n if (control instanceof FormControl) { //{4}\r\n control.markAsTouched({ onlySelf: true });\r\n } else if (control instanceof FormGroup) { //{5}\r\n this.validateAllFormFields(control); //{6}\r\n }\r\n });\r\n }\n ngAfterViewInit() {\n this.bookPageSearchForm.form.addControl('bookPageForm', this.bookpageChild.form);\n this.bookpageChild.form.setParent(this.bookPageSearchForm.form);\n }\n}\n","\r\n
\r\n

Search Recorded Land by

\r\n
\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n\r\n\r\n\r\n","import { Component, OnInit } from '@angular/core';\n\n@Component({\n selector: 'app-rec-date-doc-disp-pg',\n templateUrl: './rec-date-doc-disp-pg.component.html',\n styleUrls: ['./rec-date-doc-disp-pg.component.css']\n})\nexport class RecDateDocDispPgComponent implements OnInit {\n\n constructor() { }\n\n ngOnInit() {\n }\n\n}\n","

\n rec-date-doc-disp-pg works!\n

\n","import { Component, OnInit, ViewChild } from '@angular/core';\nimport { NavMenuService } from '../../../shared/services/nav-menu-service';\r\nimport { RecDateSearchGridComponent } from '../../components/rec-date-search-grid/rec-date-search-grid.component';\r\n\n@Component({\n selector: 'app-rec-date-result-pg',\n templateUrl: './rec-date-result-pg.component.html',\n styleUrls: ['./rec-date-result-pg.component.css']\n})\nexport class RecDateResultPgComponent implements OnInit {\n @ViewChild(RecDateSearchGridComponent, { static: true }) recDateSearchResults: RecDateSearchGridComponent;\n\n constructor(public nav: NavMenuService) {\n\n }\n ngOnInit() {\n this.nav.hide();\n }\n\n}\n","
\r\n \r\n \r\n
\n
\n \n
\n","import { Component, OnInit, ViewChild } from '@angular/core';\r\nimport { RecSearchService } from '../../rec-search-service';\r\nimport { Router } from '@angular/router';\r\nimport { Store } from '@ngrx/store';\r\nimport { AppState } from '../../../store/reducers/reducers';\r\nimport { CityTownEXComponent } from '../../../shared/components/city-town-ex/city-town-ex.component';\r\nimport { DoctypeexComponent } from '../../../shared/components/doctypeex/doctypeex.component';\r\nimport { DaterangeComponent } from '../../../shared/components/daterange/daterange.component';\r\nimport * as DateRangeActions from '../../../store/actions/daterange.action';\r\nimport * as CityActions from '../../../store/actions/citytown.action';\r\nimport * as DocTypeActions from '../../../store/actions/doctype.action';\r\nimport { NgForm, FormGroup, FormBuilder, FormControl } from '@angular/forms';\r\n\r\n\r\n@Component({\r\n selector: 'app-rec-date-search',\r\n providers: [RecSearchService],\r\n templateUrl: './rec-date-search.component.html',\r\n styleUrls: ['./rec-date-search.component.css']\r\n})\r\nexport class RecDateSearchComponent implements OnInit {\r\n\r\n @ViewChild(DaterangeComponent) dateRangeChild: DaterangeComponent;\r\n @ViewChild(CityTownEXComponent) cityTownChild: CityTownEXComponent;\r\n @ViewChild(DoctypeexComponent) docTypeChild: DoctypeexComponent;\r\n @ViewChild('f', { static: true }) recDateSearchForm: NgForm;\r\n parentForm!: FormGroup;\r\n\r\n\r\n constructor(private router: Router, private service: RecSearchService, private store: Store, private fb: FormBuilder) {\r\n\r\n\r\n }\r\n addRecToStore( fromdate: any, todate: any, citytowns: any, doctypes: any) {\r\n this.store.dispatch(new DateRangeActions.AddDate({\r\n fromDate: fromdate,\r\n toDate: todate\r\n }));\r\n\r\n this.store.dispatch(new CityActions.AddCity({\r\n citytowns: citytowns\r\n }));\r\n\r\n this.store.dispatch(new DocTypeActions.AddDoct({\r\n doctypes: doctypes\r\n }));\r\n }\r\n\r\n delRecFromStore(index: number) {\r\n this.store.dispatch(new CityActions.RemoveCity(index));\r\n this.store.dispatch(new DateRangeActions.RemoveDate(index));\r\n this.store.dispatch(new DocTypeActions.RemoveDoct(index));\r\n }\r\n\r\n ngOnInit() {\r\n this.parentForm = this.fb.group({\r\n //compoundName: this.fb.group({\r\n // lastcorpName: ['', Validators.required],\r\n // fName: ['']\r\n //})\r\n });\r\n\r\n this.recDateSearchForm.form = this.fb.group({});\r\n\r\n }\r\n\r\n search(url: string) {\r\n\r\n this.delRecFromStore(0);\r\n\r\n this.addRecToStore(this.dateRangeChild.utilityobj.fromDate, this.dateRangeChild.utilityobj.toDate, this.cityTownChild.utilityobj.citytowns, this.docTypeChild.utilityobj.doctypes);\r\n\r\n this.router.navigate([url]);\r\n\r\n }\r\n onSubmit(e: any) {\r\n if (this.recDateSearchForm.valid) {\r\n\r\n this.delRecFromStore(0);\r\n\r\n this.addRecToStore(this.dateRangeChild.utilityobj.fromDate, this.dateRangeChild.utilityobj.toDate, this.cityTownChild.utilityobj.citytowns, this.docTypeChild.utilityobj.doctypes);\r\n\r\n this.router.navigate(['/rec-date-result-pg']);\r\n\r\n }\r\n else {\r\n this.validateAllFormFields(this.recDateSearchForm.form);\r\n }\r\n\r\n }\r\n\r\n /**\r\n * Search registered land name search results.\r\n * @param url\r\n */\r\n validateAllFormFields(formGroup: FormGroup) { //{1}\r\n Object.keys(formGroup.controls).forEach(field => { //{2}\r\n const control = formGroup.get(field); //{3}\r\n if (control instanceof FormControl) { //{4}\r\n control.markAsTouched({ onlySelf: true });\r\n } else if (control instanceof FormGroup) { //{5}\r\n this.validateAllFormFields(control); //{6}\r\n }\r\n });\r\n }\r\n\r\n\r\n\r\n ngAfterViewInit() {\r\n //this.parentForm.addControl('compoundName', this.compoundNameChild.form);\r\n //this.compoundNameChild.form.setParent(this.parentForm);\r\n\r\n this.recDateSearchForm.form.addControl('dateRangeForm', this.dateRangeChild.form);\r\n this.dateRangeChild.form.setParent(this.recDateSearchForm.form);\r\n\r\n if (this.dateRangeChild && (this.dateRangeChild.utilityobj.fromDate == null || this.dateRangeChild.utilityobj.toDate == null)) { this.dateRangeChild.reset('1/1/1946', new Date().toLocaleDateString()); }\r\n }\r\n\r\n reset() {\r\n console.log(\"Reset date search\");\r\n\r\n if (this.cityTownChild) { this.cityTownChild.reset(); }\r\n if (this.docTypeChild) { this.docTypeChild.reset(); }\r\n if (this.dateRangeChild) { this.dateRangeChild.reset('1/1/1946', new Date().toLocaleDateString()); }\r\n\r\n //if (this.dateRangeChild) { this.dateRangeChild.reset('1/1/1946', new Date().toLocaleDateString()); }\r\n }\r\n\r\n}\r\n","
\r\n

Search Recorded Land by

\r\n
\r\n\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n \r\n
\r\n
\n\n","import { Component, OnInit, ViewChild } from '@angular/core';\nimport { RecSearchService } from '../../rec-search-service';\r\nimport { RecdocComponent } from '../../../shared/components/recdoc/recdoc.component';\r\nimport { Router } from '@angular/router';\r\nimport { Store } from '@ngrx/store';\r\n\r\nimport * as DocNumActions from './../../../store/actions/docnum.action';\r\nimport { AppState } from '../../../store/reducers/reducers';\r\nimport { NgForm, FormGroup, FormBuilder, FormControl } from '@angular/forms';\r\n\n@Component({\n selector: 'app-rec-doc-search',\n providers: [RecSearchService],\n templateUrl: './rec-doc-search.component.html',\n styleUrls: ['./rec-doc-search.component.css']\n})\nexport class RecDocSearchComponent implements OnInit {\n\n @ViewChild(RecdocComponent) recdocChild: RecdocComponent;\r\n @ViewChild('f', { static: true }) docnumSearchForm: NgForm;\n parentForm!: FormGroup;\r\n\r\n\r\n\r\n constructor(private router: Router, private service: RecSearchService, private store: Store, private fb: FormBuilder) {\r\n\r\n\r\n }\r\n\r\n addRecToStore(docnum: any) {\r\n this.store.dispatch(new DocNumActions.AddDocNum({ docnum: docnum }));\r\n }\r\n\r\n delRecFromStore(index: number) {\r\n this.store.dispatch(new DocNumActions.RemoveDocNum(index));\r\n }\r\n\r\n\r\n search(url: string) {\r\n\r\n this.delRecFromStore(0);\r\n\r\n this.addRecToStore(this.recdocChild.utilityobj.docnum);\r\n\r\n this.router.navigate(['/rec-docnum-doc-disp-pg', this.recdocChild.utilityobj.docnum]);\r\n\r\n }\n\n ngOnInit() {\n this.parentForm = this.fb.group({\n });\n\n this.docnumSearchForm.form = this.fb.group({});\n\n }\n\n onSubmit(e: any) {\n if (this.docnumSearchForm.valid) {\n\n this.delRecFromStore(0);\n\n this.addRecToStore(this.recdocChild.utilityobj.docnum);\r\n\r\n this.router.navigate(['/rec-docnum-doc-disp-pg', this.recdocChild.utilityobj.docnum]);\r\n\n\n }\n else {\n this.validateAllFormFields(this.docnumSearchForm.form);\n }\n }\n\n validateAllFormFields(formGroup: FormGroup) { //{1}\r\n Object.keys(formGroup.controls).forEach(field => { //{2}\r\n const control = formGroup.get(field); //{3}\r\n if (control instanceof FormControl) { //{4}\r\n control.markAsTouched({ onlySelf: true });\r\n } else if (control instanceof FormGroup) { //{5}\r\n this.validateAllFormFields(control); //{6}\r\n }\r\n });\r\n }\n ngAfterViewInit() {\n this.docnumSearchForm.form.addControl('docnumForm', this.recdocChild.form);\n this.recdocChild.form.setParent(this.docnumSearchForm.form);\n }\n}\n","
\r\n

Search Recorded Land by

\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n","import { Component, OnInit, Input, EventEmitter, Renderer2, SimpleChanges, ViewChild, HostListener } from '@angular/core';\nimport { RecSearchService } from '../../rec-search-service';\nimport { InstrumentVM, RecDocVM } from '../../../shared/viewmodels/ISearchService';\nimport { ActivatedRoute, Router } from '@angular/router';\nimport { NavMenuService } from '../../../shared/services/nav-menu-service';\nimport { NgxExtendedPdfViewerComponent, PdfBreakpoints, pdfDefaultOptions } from 'ngx-extended-pdf-viewer';\nimport { RecDocDetailParentComponent } from '../../components/rec-doc-detail-parent/rec-doc-detail-parent.component';\n\n@Component({\n selector: 'app-rec-docnum-doc-disp-pg',\n providers: [RecSearchService],\n templateUrl: './rec-docnum-doc-disp-pg.component.html',\n styleUrls: ['./rec-docnum-doc-disp-pg.component.css']\n})\nexport class RecDocnumDocDispPgComponent implements OnInit {\n\n public docId: number;\n public book!: string;\n public page!: string;\n collapsesideinfo: boolean = false;\n public record!: RecDocVM;\n error: any;\n public isImgVwVisible: boolean = true;\n public isLoadingDetail: boolean = true;\n @ViewChild(RecDocDetailParentComponent) recDocDetailParentChild: RecDocDetailParentComponent;\n screenWidth: any;\n\n\n constructor(private route: ActivatedRoute,\n private service: RecSearchService,\n private router: Router, private renderer: Renderer2, public nav: NavMenuService) {\n this.docId = Number(this.route.snapshot.paramMap.get('docId'));\n this.nav.hide();\n }\n\n /** Initialize image viewer */\n ngOnInit() {\n console.log('ngOnInit() fired');\n console.log('Calling loadImageByBookPage() from ngOnInit ');\n\n this.isLoadingDetail = true;\n this.service.getRecDoc(this.docId).subscribe(\n data => {\n this.record = data;\n this.book = data.docDetail.primaryID;\n this.page = data.docDetail.secondaryID;\n this.isLoadingDetail = false;\n },\n error => { this.error = error }\n );\n }\n\n /**\n * Navigate to previous page.\n * @param url\n */\n back(url: string) {\n this.router.navigate([url]);\n this.nav.show();\n\n }\n\n\n toggleSideInfo() {\n this.collapsesideinfo = !this.collapsesideinfo;\n\n }\n\n loadRef(e: InstrumentVM) {\n console.log(`loadRef fired: ${e}`);\n this.isLoadingDetail = true;\n this.docId = e.docID;\n this.book = e.primaryID;\n this.page = e.secondaryID;\n this.recDocDetailParentChild.loadRef(e);\n this.isLoadingDetail = false;\n }\n\n @HostListener('window:resize', ['$event'])\n getScreenSize(event: any) {\n this.screenWidth = window.innerWidth;\n }\n\n getIsImgVwVisible(e: boolean) {\n this.isImgVwVisible = e;\n }\n\n loadInfo(e: RecDocVM) {\n this.record = e;\n }\n\n}\n\n\n","
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n\r\n\r\n","import { Component, OnInit, ViewChild, HostListener } from '@angular/core';\nimport { ActivatedRoute, Router } from '@angular/router';\nimport { RecDocVM, InstrumentVM } from '../../../shared/viewmodels/ISearchService';\nimport { RecSearchService } from '../../rec-search-service';\nimport { RecDocDetailParentComponent } from '../../components/rec-doc-detail-parent/rec-doc-detail-parent.component';\n\n@Component({\n selector: 'app-rec-name-doc-disp-pg',\n providers: [RecSearchService],\n templateUrl: './rec-name-doc-disp-pg.component.html',\n styleUrls: ['./rec-name-doc-disp-pg.component.css']\n})\nexport class RecNameDocDispPgComponent implements OnInit {\n \n public docId: number;\n public book: string;\n public page: string;\n collapsesideinfo: boolean = false;\n public record!: RecDocVM;\n error: any;\n public isImgVwVisible: boolean = true;\n public isLoadingDetail: boolean = true;\n @ViewChild(RecDocDetailParentComponent, {static: false}) recDocDetailParentChild: RecDocDetailParentComponent;\n screenWidth: any;\n\n\n constructor(private route: ActivatedRoute, private service: RecSearchService, private router: Router) {\n this.book = this.route.snapshot.paramMap.get('book')!;\n console.log('book: ' + this.book);\n this.page = this.route.snapshot.paramMap.get('page')!;\n console.log('page: ' + this.page);\n this.docId = Number(this.route.snapshot.paramMap.get('docId'));\n console.log('docId: ' + this.docId);\n this.isLoadingDetail = true;\n this.service.getRecDoc(this.docId).subscribe(\n data => {\n this.record = data;\n this.isLoadingDetail = false;\n },\n error => { this.error = error }\n );\n }\n\n ngOnInit(): void {\n //throw new Error(\"Method not implemented.\");\n }\n\n back(url: string) {\n\n //this.router.navigate([url]);\n window.opener = 'Self';\n window.open('', '_parent', '');\n window.close();\n\n }\n\n\n toggleSideInfo() {\n this.collapsesideinfo = !this.collapsesideinfo;\n\n }\n\n loadRef(e: InstrumentVM) {\n console.log(`loadRef fired: ${e}`);\n this.isLoadingDetail = true;\n this.docId = e.docID;\n this.book = e.primaryID;\n this.page = e.secondaryID;\n this.recDocDetailParentChild.loadRef(e);\n this.isLoadingDetail = false;\n }\n\n @HostListener('window:resize', ['$event'])\n getScreenSize(event: any) {\n this.screenWidth = window.innerWidth;\n }\n\n getIsImgVwVisible(e: boolean) {\n this.isImgVwVisible = e;\n }\n\n loadInfo(e: RecDocVM) {\n this.record = e;\n }\n\n\n}\n","
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n\r\n","import { Component, OnInit, ViewChild, Input } from '@angular/core';\r\nimport { RecSearchService, Name } from '../../rec-search-service';\r\n//import { Observable } from 'rxjs/Observable';\r\n//import { Store } from '@ngrx/store';\r\n//import { Utility } from './../../../shared/viewmodels/UtilityObj';\r\n//import { AppState } from './../../../app.state';\r\nimport { NavMenuService } from '../../../shared/services/nav-menu-service';\r\nimport { RecNameSearchGridComponent } from '../../components/rec-name-search-grid/rec-name-search-grid.component';\r\n\r\n@Component({\r\n selector: 'app-rec-name-result-pg',\r\n templateUrl: './rec-name-result-pg.component.html',\r\n styleUrls: ['./rec-name-result-pg.component.css']\r\n})\r\nexport class RecNameResultPgComponent implements OnInit {\r\n\r\n @ViewChild(RecNameSearchGridComponent, { static: true }) recNameResults: RecNameSearchGridComponent;\r\n\r\n\r\n constructor(public nav: NavMenuService) {\r\n console.log('Rec Name Search result');\r\n\r\n }\r\n\r\n\r\n\r\n ngOnInit() {\r\n\r\n //// hide the navigation menu.\r\n this.nav.hide();\r\n\r\n }\r\n\r\n}\r\n","\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n\r\n\r\n\r\n\r\n","import { Component, OnInit, ViewChild } from '@angular/core';\r\nimport { CompoundNameComponent } from '../../../shared/components/compound-name/compound-name.component';\r\nimport { DaterangeComponent } from '../../../shared/components/daterange/daterange.component';\r\nimport { RoleComponent } from '../../../shared/components/role/role.component';\r\nimport { CityTownEXComponent } from '../../../shared/components/city-town-ex/city-town-ex.component';\r\nimport { DoctypeexComponent } from '../../../shared/components/doctypeex/doctypeex.component';\r\nimport { Router, NavigationEnd, ActivatedRoute, Route } from '@angular/router';\r\nimport { RecSearchService } from '../../rec-search-service';\r\nimport { Store } from '@ngrx/store';\r\nimport { filter } from 'rxjs/operators';\r\n\r\nimport * as CompoundNameActions from './../../../store/actions/compoundname.action';\r\nimport * as RoleActions from './../../../store/actions/role.action';\r\nimport * as DateRangeActions from './../../../store/actions/daterange.action';\r\nimport * as CityActions from './../../../store/actions/citytown.action';\r\nimport * as DocTypeActions from './../../../store/actions/doctype.action';\r\nimport { CompoundAddressComponent } from '../../../shared/components/compound-address/compound-address.component';\r\nimport { AppState, getCoreSearchState } from '../../../store/reducers/reducers';\r\nimport { NgForm, FormGroup, FormBuilder, Validators, FormControl, UntypedFormGroup } from '@angular/forms';\r\nimport { ShoppingBasketService } from '../../../shared/services/shopping-basket.service';\r\nimport { GetSBImagesQuery, SBListDTO } from '../../../shared/viewmodels/ISearchService';\r\nimport { DateRangeParentComponent } from '../../../shared/components/date-range-parent/date-range-parent.component';\r\nimport { ComponentCommunicationService } from '../../rec-search-communication-service';\r\n\r\n\r\n@Component({\r\n selector: 'app-rec-name-search',\r\n providers: [RecSearchService, ShoppingBasketService],\r\n templateUrl: './rec-name-search.component.html',\r\n styleUrls: ['./rec-name-search.component.css']\r\n})\r\nexport class RecNameSearchComponent implements OnInit {\r\n @ViewChild(CompoundNameComponent, { static: true }) compoundNameChild;\r\n //@ViewChild(CompoundNameComponent2) compoundNameChild2;\r\n //@ViewChild(DaterangeComponent) dateRangeChild;\r\n @ViewChild(DateRangeParentComponent, { static: false }) dateRangeChild;\r\n @ViewChild(RoleComponent) roleChild;\r\n // @ViewChild(ContainsComponent) containsChild;\r\n //@ViewChild(RoleComponent2) roleChild2;\r\n @ViewChild(CityTownEXComponent) cityTownChild;\r\n @ViewChild(DoctypeexComponent) docTypeChild;\r\n @ViewChild('f', { static: true }) recNameSearchForm: NgForm;\r\n parentForm: FormGroup;\r\n latestRecording: string;\r\n //public isSubSearch: boolean = false;\r\n\r\n recs: any;\r\n\r\n ngOnInit() {\r\n console.log('rec name search onInit');\r\n\r\n this.parentForm = this.fb.group({\r\n //compoundName: this.fb.group({\r\n // lastcorpName: ['', Validators.required],\r\n // fName: ['']\r\n //})\r\n });\r\n\r\n //this.isSubSearch = false;\r\n\r\n const formData = this.communicationService.getLatestFormData();\r\n if (formData) {\r\n this.updateFormFields(formData);\r\n }\r\n\r\n this.listenForFormData();\r\n\r\n //this.communicationService.populateFormEvent.subscribe({\r\n // next: (data: { lastCorpName: string, firstName: string }) => {\r\n // console.log(\"Data received\", data); // Debugging line\r\n // this.updateFormFields(data);\r\n // }\r\n //});\r\n\r\n //this.parentForm = this.fb.group({\r\n // //compoundName: this.fb.group({\r\n // // lastcorpName: ['', Validators.required],\r\n // // fName: ['']\r\n // //})\r\n //});\r\n\r\n //this.recNameSearchForm.form = this.fb.group({});\r\n\r\n\r\n\r\n //if (this.dateRangeChild.utilityobj.fromDate == undefined)\r\n // this.dateRangeChild.utilityobj.fromDate = '1/1/1946';\r\n\r\n //if (this.dateRangeChild.utilityobj.toDate == undefined)\r\n // this.dateRangeChild.utilityobj.toDate = new Date();\r\n\r\n //this.store.select(getCoreSearchState).subscribe(data => {\r\n // if (data && data.city && data.city.city[0].citytowns) {\r\n // this.cityTownChild.utilityobj.citytowns = data.city.city[0].citytowns;\r\n // var selectedTowns = this.cityTownChild.utilityobj.citytowns.filter(value => value[\"isChecked\"] === true);\r\n // var townsString = selectedTowns.map(t => t.townName).join(' ');\r\n // this.cityTownChild.selectedTowns = townsString.length === 0 ? \"All Towns\" : townsString.length > 50 ? townsString.substring(0, 50) + '...' : townsString;\r\n // }\r\n //});\r\n\r\n }\r\n\r\n listenForFormData() {\r\n this.communicationService.populateFormEvent.subscribe({\r\n next: (data: { lastCorpName: string, firstName: string }) => {\r\n console.log(\"Data received on new page\", data); // Debugging line\r\n this.updateFormFields(data);\r\n },\r\n error: err => {\r\n console.error('Error receiving data:', err);\r\n }\r\n });\r\n }\r\n\r\n updateFormFields(data: { lastCorpName: string, firstName: string }) {\r\n if (this.compoundNameChild) {\r\n this.compoundNameChild.utilityobj.fName = data.firstName;\r\n this.compoundNameChild.utilityobj.lastcorpName = data.lastCorpName;\r\n this.compoundNameChild.setNames(data.firstName, data.lastCorpName);\r\n //this.isSubSearch = true;\r\n } else {\r\n console.warn(\"CompoundNameComponent not ready\");\r\n // Optionally, retry or handle the case where the component isn't ready\r\n }\r\n }\r\n\r\n\r\n constructor(private router: Router, private service: RecSearchService, private store: Store, private fb: FormBuilder, private sbService: ShoppingBasketService, private communicationService: ComponentCommunicationService) {\r\n this.router.events.pipe(\r\n filter(event => event instanceof NavigationEnd)\r\n ).subscribe(() => {\r\n const formData = this.communicationService.getLatestFormData();\r\n if (formData) {\r\n this.updateFormFields(formData);\r\n }\r\n });\r\n }\r\n\r\n /**\r\n * Store the input parameters passed by user in the store.\r\n * @param fname\r\n * @param lname\r\n * @param fromdate\r\n * @param todate\r\n * @param roleid\r\n * @param citytowns\r\n * @param doctypes\r\n * @param streetnumber\r\n * @param streetaddress\r\n * @param book\r\n * @param page\r\n * @param docnum\r\n */\r\n addRecToStore(fname, lname, fromdate, todate, roleid, citytowns, doctypes) {\r\n //this.store.dispatch(new RecActions.AddRec({\r\n // fName: fname,\r\n // lastcorpName: lname,\r\n // fromDate: fromdate,\r\n // toDate: todate,\r\n // roleID: roleid,\r\n // citytowns: citytowns,\r\n // doctypes: doctypes,\r\n // streetNumber: streetnumber,\r\n // streetAddress: streetaddress,\r\n // book: book,\r\n // page: page,\r\n // docnum: docnum,\r\n // toAmount: '',\r\n // fromAmount: ''\r\n\r\n //}));\r\n this.store.dispatch(new CompoundNameActions.AddName({\r\n fName: fname,\r\n lastcorpName: lname\r\n }));\r\n\r\n this.store.dispatch(new RoleActions.AddRole({\r\n roleID: roleid\r\n }));\r\n\r\n this.store.dispatch(new DateRangeActions.AddDate({\r\n fromDate: fromdate,\r\n toDate: todate\r\n }));\r\n\r\n this.store.dispatch(new CityActions.AddCity({\r\n citytowns: citytowns\r\n }));\r\n\r\n this.store.dispatch(new DocTypeActions.AddDoct({\r\n doctypes: doctypes\r\n }));\r\n }\r\n\r\n \r\n /**\r\n * Delete input parameters from store.\r\n * @param index\r\n */\r\n delRecFromStore(index) {\r\n //this.store.dispatch(new RecActions.RemoveRec(index));\r\n this.store.dispatch(new CompoundNameActions.RemoveName(index));\r\n this.store.dispatch(new RoleActions.RemoveRole(index));\r\n this.store.dispatch(new DateRangeActions.RemoveDate(index));\r\n this.store.dispatch(new CityActions.RemoveCity(index));\r\n this.store.dispatch(new DocTypeActions.RemoveDoct(index));\r\n }\r\n\r\n /**\r\n * Search recorded land name search results.\r\n * @param url\r\n */\r\n search(url) {\r\n\r\n this.delRecFromStore(0);\r\n\r\n this.addRecToStore(\r\n this.compoundNameChild.utilityobj.fName,\r\n this.compoundNameChild.utilityobj.lastcorpName,\r\n this.dateRangeChild.utilityobj.fromDate,\r\n this.dateRangeChild.utilityobj.toDate,\r\n this.roleChild.utilityobj.roleID,\r\n this.cityTownChild.utilityobj.citytowns,\r\n this.docTypeChild.utilityobj.doctypes);\r\n\r\n this.router.navigate([url]);\r\n\r\n }\r\n\r\n onSubmit(e) {\r\n if (this.recNameSearchForm.valid) {\r\n\r\n this.delRecFromStore(0);\r\n\r\n this.addRecToStore(\r\n this.compoundNameChild.utilityobj.fName,\r\n this.compoundNameChild.utilityobj.lastcorpName,\r\n this.dateRangeChild.utilityobj.fromDate,\r\n this.dateRangeChild.utilityobj.toDate,\r\n this.roleChild.utilityobj.roleID,\r\n this.cityTownChild.utilityobj.citytowns,\r\n this.docTypeChild.utilityobj.doctypes);\r\n\r\n this.router.navigate(['/rec-name-result-pg']);\r\n\r\n }\r\n else {\r\n this.validateAllFormFields(this.recNameSearchForm.form);\r\n }\r\n }\r\n\r\n validateAllFormFields(formGroup: FormGroup) { //{1}\r\n Object.keys(formGroup.controls).forEach(field => { //{2}\r\n const control = formGroup.get(field); //{3}\r\n if (control instanceof FormControl) { //{4}\r\n control.markAsTouched({ onlySelf: true });\r\n } else if (control instanceof FormGroup) { //{5}\r\n this.validateAllFormFields(control); //{6}\r\n }\r\n });\r\n }\r\n ngAfterViewInit() {\r\n this.parentForm.addControl('compoundName', this.compoundNameChild.form);\r\n this.compoundNameChild.form.setParent(this.parentForm);\r\n\r\n console.log(\"Rec Search AfterViewInit\");\r\n\r\n this.communicationService.populateFormEvent.subscribe({\r\n next: (data: { lastCorpName: string, firstName: string }) => {\r\n console.log(\"Data received\", data); // Debugging line\r\n this.updateFormFields(data);\r\n }\r\n });\r\n\r\n //this.recNameSearchForm.form.addControl('compoundNameForm', this.compoundNameChild.form);\r\n //this.compoundNameChild.form.setParent(this.recNameSearchForm.form);\r\n\r\n //this.recNameSearchForm.form.addControl('dateRangeForm', this.dateRangeChild.form);\r\n //this.dateRangeChild.form.setParent(this.recNameSearchForm.form);\r\n\r\n if (this.dateRangeChild && (this.dateRangeChild.utilityobj.fromDate == null || this.dateRangeChild.utilityobj.toDate == null)) { this.dateRangeChild.reset('1/1/1946', new Date().toLocaleDateString()); }\r\n\r\n \r\n }\r\n\r\n reset() {\r\n if (this.compoundNameChild) { this.compoundNameChild.reset(); }\r\n if (this.roleChild) { this.roleChild.reset(); }\r\n if (this.cityTownChild) {this.cityTownChild.reset();}\r\n if (this.docTypeChild) { this.docTypeChild.reset(); }\r\n if (this.dateRangeChild) { this.dateRangeChild.reset('1/1/1946', new Date().toLocaleDateString()); }\r\n\r\n this.delRecFromStore(0);\r\n\r\n this.addRecToStore(\r\n this.compoundNameChild.utilityobj.fName,\r\n this.compoundNameChild.utilityobj.lastcorpName,\r\n this.dateRangeChild.utilityobj.fromDate,\r\n this.dateRangeChild.utilityobj.toDate,\r\n this.roleChild.utilityobj.roleID,\r\n this.cityTownChild.utilityobj.citytowns,\r\n this.docTypeChild.utilityobj.doctypes);\r\n }\r\n\r\n back(url) {\r\n try {\r\n this.service.logInfo('Clicked back button');\r\n //this.nav.show();\r\n if (localStorage.getItem('recNameSearchResults') !== null) {\r\n localStorage.removeItem('recNameSearchResults');\r\n }\r\n this.router.navigate([url]);\r\n }\r\n catch (error) {\r\n this.service.logError(error);\r\n }\r\n\r\n }\r\n\r\n}\r\n","
\r\n

Search Recorded Land by

\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n \r\n
\r\n \r\n
\r\n","import { Component, OnInit } from '@angular/core';\n\n@Component({\n selector: 'app-rec-value-doc-disp-pg',\n templateUrl: './rec-value-doc-disp-pg.component.html',\n styleUrls: ['./rec-value-doc-disp-pg.component.css']\n})\nexport class RecValueDocDispPgComponent implements OnInit {\n\n constructor() { }\n\n ngOnInit() {\n }\n\n}\n","

\n rec-value-doc-disp-pg works!\n

\n","import { Component, OnInit, ViewChild } from '@angular/core';\r\nimport { RecValueSearchGridComponent } from '../../components/rec-value-search-grid/rec-value-search-grid.component';\r\n\r\n@Component({\r\n selector: 'app-rec-value-result-pg',\r\n templateUrl: './rec-value-result-pg.component.html',\r\n styleUrls: ['./rec-value-result-pg.component.css']\r\n})\r\nexport class RecValueResultPgComponent implements OnInit {\r\n @ViewChild(RecValueSearchGridComponent, { static: true }) recValueResults: RecValueSearchGridComponent;\r\n\r\n constructor() { }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n}\r\n","
\r\n \r\n
\r\n
\r\n \r\n
\r\n","import { Component, OnInit, ViewChild } from '@angular/core';\r\nimport { RecSearchService } from '../../rec-search-service';\r\nimport { Router } from '@angular/router';\r\nimport { Store } from '@ngrx/store';\r\nimport { AppState } from '../../../store/reducers/reducers';\r\nimport { NgForm, FormGroup, FormBuilder, FormControl } from '@angular/forms';\r\nimport { DocCategoryVsComponent } from '../../../shared/components/doc-category-vs/doc-category-vs.component';\r\nimport { AmountrangeComponent } from '../../../shared/components/amountrange/amountrange.component';\r\nimport { DaterangeComponent } from '../../../shared/components/daterange/daterange.component';\r\nimport { CityTownEXComponent } from '../../../shared/components/city-town-ex/city-town-ex.component';\r\nimport * as DateRangeActions from './../../../store/actions/daterange.action';\r\nimport * as AmountActions from './../../../store/actions/amountrange.action';\r\nimport * as CityActions from './../../../store/actions/citytown.action';\r\nimport * as DocCategoriesActions from './../../../store/actions/doccategories.action';\r\n\r\n\r\n@Component({\r\n selector: 'app-rec-value-search',\r\n providers: [RecSearchService],\r\n templateUrl: './rec-value-search.component.html',\r\n styleUrls: ['./rec-value-search.component.css']\r\n})\r\nexport class RecValueSearchComponent implements OnInit {\r\n\r\n @ViewChild(CityTownEXComponent) cityTownChild: CityTownEXComponent;\r\n @ViewChild(DaterangeComponent) dateRangeChild: DaterangeComponent;\r\n @ViewChild(AmountrangeComponent) amountRangeChild: AmountrangeComponent;\r\n @ViewChild(DocCategoryVsComponent, { static: true }) docCategoryVsChild: DocCategoryVsComponent;\r\n\r\n @ViewChild('f', { static: true }) recValueSearchForm: NgForm;\r\n parentForm!: FormGroup;\r\n\r\n constructor(private router: Router, private service: RecSearchService, private store: Store, private fb: FormBuilder) {\r\n\r\n\r\n }\r\n\r\n ngOnInit() {\r\n this.parentForm = this.fb.group({\r\n //compoundName: this.fb.group({\r\n // lastcorpName: ['', Validators.required],\r\n // fName: ['']\r\n //})\r\n });\r\n\r\n this.recValueSearchForm.form = this.fb.group({});\r\n\r\n }\r\n\r\n addRecToStore(fromamount: any, toamount: any, fromdate: any, todate: any, citytowns: any, doccategory: any) {\r\n this.store.dispatch(new AmountActions.AddAmount({\r\n type: this.amountRangeChild.utilityobj.type,\r\n fromAmount: fromamount,\r\n toAmount: toamount\r\n }));\r\n\r\n\r\n this.store.dispatch(new DateRangeActions.AddDate({\r\n fromDate: fromdate,\r\n toDate: todate\r\n }));\r\n\r\n this.store.dispatch(new CityActions.AddCity({\r\n citytowns: citytowns\r\n }));\r\n\r\n this.store.dispatch(new DocCategoriesActions.AddDocCategories({\r\n mortgages: doccategory.mortgages,\r\n conveyances: doccategory.conveyances\r\n }));\r\n }\r\n\r\n delRecFromStore(index: number) {\r\n this.store.dispatch(new AmountActions.RemoveAmount(index));\r\n this.store.dispatch(new DateRangeActions.RemoveDate(index));\r\n this.store.dispatch(new CityActions.RemoveCity(index));\r\n this.store.dispatch(new DocCategoriesActions.RemoveDocCategories(index));\r\n }\r\n\r\n search(url: string) {\r\n\r\n //this.delRecFromStore(0);\r\n\r\n //this.addRecToStore('', '', this.dateRangeChild.utilityobj.fromDate, this.dateRangeChild.utilityobj.toDate, '', this.cityTownChild.utilityobj.citytowns, this.docTypeChild.utilityobj.doctypes, this.compoundAddressChild.utilityobj.streetNumber, this.compoundAddressChild.utilityobj.streetAddress, '', '', '');\r\n\r\n this.router.navigate([url]);\r\n\r\n }\r\n\r\n onSubmit(e: any) {\r\n if (this.recValueSearchForm.valid) {\r\n\r\n this.delRecFromStore(0);\r\n this.addRecToStore(\r\n this.amountRangeChild.utilityobj.fromAmount,\r\n this.amountRangeChild.utilityobj.toAmount,\r\n this.dateRangeChild.utilityobj.fromDate,\r\n this.dateRangeChild.utilityobj.toDate,\r\n this.cityTownChild.utilityobj.citytowns,\r\n this.docCategoryVsChild.myDocCat\r\n );\r\n //console.log(`docCats in RegValueSearch: ${JSON.stringify(this.docCategoryVsChild.DocCategories)}`);\r\n //console.log(`this.cityTownChild.utilityobj.citytowns: ${JSON.stringify(this.cityTownChild.utilityobj.citytowns)}`);\r\n this.router.navigate(['/rec-value-result-pg']);\r\n\r\n }\r\n else {\r\n this.validateAllFormFields(this.recValueSearchForm.form);\r\n }\r\n }\r\n\r\n\r\n\r\n validateAllFormFields(formGroup: FormGroup) { //{1}\r\n Object.keys(formGroup.controls).forEach(field => { //{2}\r\n const control = formGroup.get(field); //{3}\r\n if (control instanceof FormControl) { //{4}\r\n control.markAsTouched({ onlySelf: true });\r\n } else if (control instanceof FormGroup) { //{5}\r\n this.validateAllFormFields(control); //{6}\r\n }\r\n });\r\n }\r\n\r\n ngAfterViewInit() {\r\n this.recValueSearchForm.form.addControl('amountRangeForm', this.amountRangeChild.form);\r\n this.amountRangeChild.form.setParent(this.parentForm);\r\n\r\n this.recValueSearchForm.form.addControl('dateRangeForm', this.dateRangeChild.form);\r\n this.dateRangeChild.form.setParent(this.recValueSearchForm.form);\r\n }\r\n\r\n reset() {\r\n\r\n }\r\n}\r\n","
\r\n

Search Recorded Land by In Progress

\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n \r\n
\r\n
\n","import { Injectable, EventEmitter } from '@angular/core';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class ComponentCommunicationService {\n public populateFormEvent: EventEmitter<{ lastCorpName: string, firstName: string }> = new EventEmitter();\n\n constructor() { }\n\n \n private lastEmittedFormData: { lastCorpName: string, firstName: string } | null = null;\n\n emitPopulateForm(data: { lastCorpName: string, firstName: string }) {\n this.populateFormEvent.emit(data);\n this.lastEmittedFormData = data; // Store the last emitted data\n }\n\n getLatestFormData(): { lastCorpName: string, firstName: string } | null {\n return this.lastEmittedFormData;\n }\n\n}\n","import { Injectable, Inject } from '@angular/core';\r\n//import 'rxjs/add/operator/catch';\r\n//import 'rxjs/add/observable/throw';\r\nimport {\r\n CityTownVM,\r\n RecDocVM,\r\n InstrumentVM,\r\n RecDateSearchRowVM,\r\n GetRecNameSearchQuery,\r\n RecNameSearchListVM,\r\n RecAddressSearchListVM,\r\n GetRecAddressSearchQuery,\r\n GetRecDateSearchQuery,\r\n RecDateSearchListVM,\r\n RecNameSearchRowVM,\r\n RecAddressSearchRowVM,\r\n DocCatVM,\r\n DocTypeVM,\r\n\r\n GetRecValueSearchQuery\r\n} from '../shared/viewmodels/ISearchService';\r\n//import { } from '../shared/viewmodels/ISearchService';\r\n//import { DocCatVM, DocTypeVM } from '../shared/viewmodels/ISearchService';\r\n//import { RecNameSearchRowVM } from '../shared/viewmodels/ISearchService';\r\n//import { RecAddressSearchRowVM } from '../shared/viewmodels/ISearchService';\r\nimport { formatDate, parseDate } from \"devextreme/localization\";\r\nimport { HttpClient, HttpParams, HttpErrorResponse, HttpHeaders, HttpResponseBase, HttpResponse } from '@angular/common/http';\r\nimport { Observable, throwError as _observableThrow, of as _observableOf } from 'rxjs';\r\nimport { mergeMap as _observableMergeMap, catchError as _observableCatch } from 'rxjs/operators';\r\nimport { from } from 'rxjs';\r\nimport { switchMap } from 'rxjs/operators';\r\nimport { ComponentCommunicationService } from './rec-search-communication-service';\r\n\r\nexport class Name {\r\n private _lname: string;\r\n private _fname: string;\r\n\r\n set LName(value: string) {\r\n this._lname = value;\r\n }\r\n\r\n get LName(): string {\r\n return this._lname;\r\n\r\n }\r\n\r\n set FName(value: string) {\r\n this._fname = value;\r\n }\r\n\r\n get FName(): string {\r\n return this._fname;\r\n\r\n }\r\n}\r\nexport class SwaggerException extends Error {\r\n message: string;\r\n status: number;\r\n response: string;\r\n headers: { [key: string]: any; };\r\n result: any;\r\n\r\n constructor(message: string, status: number, response: string, headers: { [key: string]: any; }, result: any) {\r\n super();\r\n\r\n this.message = message;\r\n this.status = status;\r\n this.response = response;\r\n this.headers = headers;\r\n this.result = result;\r\n }\r\n\r\n protected isSwaggerException = true;\r\n\r\n static isSwaggerException(obj: any): obj is SwaggerException {\r\n return obj.isSwaggerException === true;\r\n }\r\n}\r\n\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class RecSearchService {\r\n myAppUrl: string = \"\";\r\n name: Name;\r\n\r\n protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined;\r\n\r\n\r\n constructor(\r\n private _http: HttpClient,\r\n @Inject('BASE_URL') baseUrl: string,\r\n private communicationService: ComponentCommunicationService // Inject the communication service\r\n ) {\r\n this.myAppUrl = baseUrl;\r\n }\r\n\r\n notifyComponents(lastCorpName: string, firstName: string) {\r\n this.communicationService.emitPopulateForm({ lastCorpName, firstName });\r\n }\r\n\r\n\r\n getResults(lname, fname, fromdate, todate, roleid, towns, doctypes) {\r\n let formatedFromDate = formatDate(fromdate, \"shortDate\");\r\n let formatedToDate = formatDate(todate, \"shortDate\");\r\n\r\n const params = new HttpParams().set('lname', lname).set('fname', fname).set('fromdate', formatedFromDate)\r\n .set('todate', formatedToDate).set('roleid', roleid).set('towns', towns).set('doctypes', doctypes);\r\n return this._http.get(this.myAppUrl + 'api/CoreData/RecSearchResults', { params });\r\n\r\n }\r\n getRecNameSearchResults(search: GetRecNameSearchQuery): Observable {\r\n let url_ = this.myAppUrl + \"api/CoreData/GetRecNameSearchResult\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n const content_ = JSON.stringify(search);\r\n\r\n let options_: any = {\r\n body: content_,\r\n observe: \"response\",\r\n responseType: \"blob\",\r\n headers: new HttpHeaders({\r\n \"Content-Type\": \"application/json\",\r\n })\r\n };\r\n return this._http.request(\"post\", url_, options_).pipe(_observableMergeMap((response_: any) => {\r\n return this.processGetRecNameSearchResponse(response_);\r\n })).pipe(_observableCatch((response_: any) => {\r\n if (response_ instanceof HttpResponseBase) {\r\n try {\r\n return this.processGetRecNameSearchResponse(response_);\r\n } catch (e) {\r\n return >_observableThrow(e);\r\n }\r\n } else\r\n return >_observableThrow(response_);\r\n\r\n }));\r\n\r\n }\r\n processGetRecNameSearchResponse(response: HttpResponseBase): Observable {\r\n const status = response.status;\r\n const responseBlob =\r\n response instanceof HttpResponse ? response.body :\r\n (response).error instanceof Blob ? (response).error : undefined;\r\n\r\n let _headers: any = {}; if (response.headers) { for (let key of response.headers.keys()) { _headers[key] = response.headers.get(key); } };\r\n if (status === 200) {\r\n return this.blobToText(responseBlob).pipe(_observableMergeMap(_responseText => {\r\n let result200: any = null;\r\n let resultData200 = _responseText === \"\" ? null : JSON.parse(_responseText, this.jsonParseReviver);\r\n result200 = RecNameSearchListVM.fromJS(resultData200);\r\n return _observableOf(result200);\r\n }));\r\n } else if (status !== 200 && status !== 204) {\r\n return this.blobToText(responseBlob).pipe(_observableMergeMap(_responseText => {\r\n return this.throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }));\r\n }\r\n return _observableOf(null);\r\n\r\n }\r\n blobToText(blob: any): Observable {\r\n return new Observable((observer: any) => {\r\n if (!blob) {\r\n observer.next(\"\");\r\n observer.complete();\r\n } else {\r\n let reader = new FileReader();\r\n reader.onload = event => {\r\n observer.next((event.target).result);\r\n observer.complete();\r\n };\r\n reader.readAsText(blob);\r\n }\r\n });\r\n }\r\n throwException(message: string, status: number, response: string, headers: { [key: string]: any; }, result?: any): Observable {\r\n if (result !== null && result !== undefined)\r\n return _observableThrow(result);\r\n else\r\n return _observableThrow(new SwaggerException(message, status, response, headers, null));\r\n }\r\n\r\n getAddressSearchResults(strtnum, strtname, fromdate, todate, towns, doctypes) {\r\n let formatedFromDate = formatDate(fromdate, \"shortDate\");\r\n let formatedToDate = formatDate(todate, \"shortDate\");\r\n\r\n const params = new HttpParams().set('strtnum', strtnum).set('strtname', strtname).set('fromdate', formatedFromDate)\r\n .set('todate', formatedToDate).set('towns', towns).set('doctypes', doctypes);\r\n return this._http.get(this.myAppUrl + 'api/CoreData/RecAddressSearchResults', { params });\r\n\r\n }\r\n getRecAddressSearchResults(search: GetRecAddressSearchQuery): Observable {\r\n let url_ = this.myAppUrl + \"api/CoreData/GetRecAddressSearchList\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n const content_ = JSON.stringify(search);\r\n console.log(`Sending ${content_} to GetRecAddressSearchList`);\r\n\r\n let options_: any = {\r\n body: content_,\r\n observe: \"response\",\r\n responseType: \"blob\",\r\n headers: new HttpHeaders({\r\n \"Content-Type\": \"application/json\",\r\n })\r\n };\r\n return this._http.request(\"post\", url_, options_).pipe(_observableMergeMap((response_: any) => {\r\n return this.processGetRecAddressSearchResponse(response_);\r\n })).pipe(_observableCatch((response_: any) => {\r\n if (response_ instanceof HttpResponseBase) {\r\n try {\r\n return this.processGetRecAddressSearchResponse(response_);\r\n } catch (e) {\r\n return >_observableThrow(e);\r\n }\r\n } else\r\n return >_observableThrow(response_);\r\n\r\n }));\r\n\r\n }\r\n processGetRecAddressSearchResponse(response: HttpResponseBase): Observable {\r\n const status = response.status;\r\n const responseBlob =\r\n response instanceof HttpResponse ? response.body :\r\n (response).error instanceof Blob ? (response).error : undefined;\r\n\r\n let _headers: any = {}; if (response.headers) { for (let key of response.headers.keys()) { _headers[key] = response.headers.get(key); } };\r\n if (status === 200) {\r\n return this.blobToText(responseBlob).pipe(_observableMergeMap(_responseText => {\r\n let result200: any = null;\r\n let resultData200 = _responseText === \"\" ? null : JSON.parse(_responseText, this.jsonParseReviver);\r\n result200 = RecAddressSearchListVM.fromJS(resultData200);\r\n return _observableOf(result200);\r\n }));\r\n } else if (status !== 200 && status !== 204) {\r\n return this.blobToText(responseBlob).pipe(_observableMergeMap(_responseText => {\r\n return this.throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }));\r\n }\r\n return _observableOf(null);\r\n\r\n }\r\n\r\n getRecValueSearchResults(search: GetRecValueSearchQuery): Observable {\r\n let url_ = this.myAppUrl + \"api/CoreData/GetRecValueSearchResult\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n const content_ = JSON.stringify(search);\r\n console.log(`Sending ${content_} to GetRecValueSearchResult`);\r\n\r\n let options_: any = {\r\n body: content_,\r\n observe: \"response\",\r\n responseType: \"blob\",\r\n headers: new HttpHeaders({\r\n \"Content-Type\": \"application/json\",\r\n })\r\n };\r\n return this._http.request(\"post\", url_, options_).pipe(_observableMergeMap((response_: any) => {\r\n return this.processGetRecAddressSearchResponse(response_);\r\n })).pipe(_observableCatch((response_: any) => {\r\n if (response_ instanceof HttpResponseBase) {\r\n try {\r\n return this.processGetRecAddressSearchResponse(response_);\r\n } catch (e) {\r\n return >_observableThrow(e);\r\n }\r\n } else\r\n return >_observableThrow(response_);\r\n\r\n }));\r\n\r\n }\r\n getCityTown() {\r\n\r\n return this._http.get(this.myAppUrl + 'api/CoreData/GetCityTown');\r\n }\r\n\r\n getDocCategories() {\r\n\r\n return this._http.get(this.myAppUrl + 'api/CoreData/GetDocCategories');\r\n }\r\n\r\n getDocTypes() {\r\n\r\n return this._http.get(this.myAppUrl + 'api/CoreData/GetDocTypes');\r\n }\r\n\r\n getRecDoc(docId: number) {\r\n return this._http.get(this.myAppUrl + 'api/CoreData/GetRecDoc?docId=' + docId);\r\n }\r\n getNextRecDocBP(book: string, page: string, docType: string) {\r\n return this._http.get(this.myAppUrl + 'api/CoreData/GetNextRecDocBP?book=' + book + '&page=' + page + '&docType=' + docType);\r\n }\r\n\r\n getNextBP(currentBook: string, currentPage: string) {\r\n return this._http.get(this.myAppUrl + 'api/CoreData/GetNextBP?book=' + currentBook + '&page=' + currentPage);\r\n }\r\n\r\n getPrevRecDocBP(book: string, page: string) {\r\n return this._http.get(this.myAppUrl + 'api/CoreData/GetPrevRecDocBP?book=' + book + '&page=' + page);\r\n }\r\n\r\n getPrevBP(currentBook: string, currentPage: string) {\r\n return this._http.get(this.myAppUrl + 'api/CoreData/GetPrevBP?book=' + currentBook + '&page=' + currentPage);\r\n }\r\n\r\n getImageByDocId(docId: number) {\r\n console.log('GetImageByDocId call in service');\r\n return this._http.get(this.myAppUrl + 'api/CoreData/GetImageByDocId?docId=' + docId, { responseType: 'text' });\r\n }\r\n\r\n getImageByBookAndPage(book: string, page: string) {\r\n console.log('getImageByBookAndPage');\r\n\r\n return this._http.get(this.myAppUrl + 'api/CoreData/GetImageByBookAndPage?book=' + book + '&page=' + page, { responseType: 'text' });\r\n }\r\n\r\n getImageByBPP64(book: string, page: string, idx: number) {\r\n console.log('getImageByBookAndPage');\r\n\r\n return this._http.get(this.myAppUrl + 'api/CoreData/GetImageByBPP64?book=' + book + '&page=' + page + '&idx=' + idx.toString(), { responseType: 'text' });\r\n }\r\n\r\n getImageByBPPTot(book: string, page: string) {\r\n console.log('getImageByBPPTot');\r\n\r\n return this._http.get(this.myAppUrl + 'api/CoreData/GetImageByBPPTot?book=' + book + '&page=' + page, { responseType: 'text' });\r\n }\r\n\r\n getImageByBPPTotStrm(book: string, page: string) {\r\n return this._http.get(`api/CoreData/GetImageByBPPTotStrm?book=${book}&page=${page}`, { responseType: 'blob' })\r\n .pipe(switchMap(blob => from(this.blobToBase64(blob)))); // Convert Blob to Base64 Observable\r\n }\r\n\r\n\r\n blobToBase64(blob): Promise {\r\n return new Promise((resolve, reject) => {\r\n const reader = new FileReader();\r\n reader.onload = () => {\r\n const dataUrl = reader.result as string;\r\n const base64 = dataUrl.split(',')[1];\r\n resolve(base64);\r\n };\r\n reader.readAsDataURL(blob);\r\n });\r\n }\r\n\r\n getContainingDoc(book: string, page: string) {\r\n return this._http.get(this.myAppUrl + 'api/CoreData/GetContainingDoc?book=' + book + '&page=' + page);\r\n }\r\n\r\n getDateSearchResults(fromdate, todate, towns, types) {\r\n let formatedFromDate = formatDate(fromdate, \"shortDate\");\r\n let formatedToDate = formatDate(todate, \"shortDate\");\r\n\r\n const params = new HttpParams().set('fromdate', formatedFromDate).set('todate', formatedToDate).set('towns', towns).set('doctypes', types);\r\n\r\n return this._http.get(this.myAppUrl + 'api/CoreData/RecDateSearchList', {params});\r\n }\r\n\r\n getRecDateSearchResults(search: GetRecDateSearchQuery): Observable {\r\n let url_ = this.myAppUrl + \"api/CoreData/GetRecDateSearchList\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n const content_ = JSON.stringify(search);\r\n console.log(`Sending ${content_} to GetRecDateSearchList`);\r\n let options_: any = {\r\n body: content_,\r\n observe: \"response\",\r\n responseType: \"blob\",\r\n headers: new HttpHeaders({\r\n \"Content-Type\": \"application/json\",\r\n })\r\n };\r\n return this._http.request(\"post\", url_, options_).pipe(_observableMergeMap((response_: any) => {\r\n return this.processGetRecDateSearchResponse(response_);\r\n })).pipe(_observableCatch((response_: any) => {\r\n if (response_ instanceof HttpResponseBase) {\r\n try {\r\n return this.processGetRecDateSearchResponse(response_);\r\n } catch (e) {\r\n return >_observableThrow(e);\r\n }\r\n } else\r\n return >_observableThrow(response_);\r\n\r\n }));\r\n\r\n }\r\n\r\n processGetRecDateSearchResponse(response: HttpResponseBase): Observable {\r\n const status = response.status;\r\n const responseBlob =\r\n response instanceof HttpResponse ? response.body :\r\n (response).error instanceof Blob ? (response).error : undefined;\r\n\r\n let _headers: any = {}; if (response.headers) { for (let key of response.headers.keys()) { _headers[key] = response.headers.get(key); } };\r\n if (status === 200) {\r\n return this.blobToText(responseBlob).pipe(_observableMergeMap(_responseText => {\r\n let result200: any = null;\r\n let resultData200 = _responseText === \"\" ? null : JSON.parse(_responseText, this.jsonParseReviver);\r\n result200 = RecDateSearchListVM.fromJS(resultData200);\r\n return _observableOf(result200);\r\n }));\r\n } else if (status !== 200 && status !== 204) {\r\n return this.blobToText(responseBlob).pipe(_observableMergeMap(_responseText => {\r\n return this.throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }));\r\n }\r\n return _observableOf(null);\r\n\r\n }\r\n\r\n padLeft(text: string, padChar: string, size: number): string {\r\n return (String(padChar).repeat(size) + text).substr((size * -1), size);\r\n }\r\n\r\n //errorHandler(error: HttpErrorResponse) {\r\n // return Observable.throw(error.message || \"Server Error\");\r\n //}\r\n\r\n logError(message: string) {\r\n this._http.get(this.myAppUrl + 'api/CoreData/LogError?message=' + message);\r\n }\r\n\r\n logInfo(message: string) {\r\n this._http.get(this.myAppUrl + 'api/CoreData/LogInfo?message=' + message);\r\n }\r\n\r\n logWarning(message: string) {\r\n this._http.get(this.myAppUrl + 'api/CoreData/LogWarning?message=' + message);\r\n }\r\n\r\n}\r\n\r\n","import { Component, OnInit } from '@angular/core';\nimport { PlanCertTypeCIF } from '../../../shared/viewmodels/RegUtility';\r\nimport { Store } from '@ngrx/store';\r\nimport { AppState, getCoreSearchState } from '../../../store/reducers/reducers';\r\nimport { FormGroup, FormBuilder, Validators } from '@angular/forms';\r\n\n@Component({\n selector: 'app-plan-certificate-no',\n templateUrl: './plan-certificate-no.component.html',\n styleUrls: ['./plan-certificate-no.component.css']\n})\nexport class PlanCertificateNoComponent implements OnInit {\n\n public utilityobj: PlanCertTypeCIF;\n public form: FormGroup;\n //plancertPattern = \"[a-zA-Z0-9\\\\s]*\";\n plancertPattern = \"[0-9][a-zA-Z0-9- ]*\"\n message: any;\n constructor(private store: Store, private fb: FormBuilder) {\n this.utilityobj = new PlanCertTypeCIF();\n this.store.select(getCoreSearchState).subscribe(data => this.message = data);\n if (this.message.plancerttype.certtype.length != 0 && this.message.plancerttype.certtype[0].certnum.length != 0) {\n this.utilityobj.id = this.message.plancerttype.certtype[0].id;\n //this.utilityobj.certnum = '';\n this.utilityobj.certnum = this.message.plancerttype.certtype[0].certnum;\n console.log(this.message.plancerttype.certtype[0].id);\n }\n else {\n this.utilityobj.id = 0;\r\n this.utilityobj.certnum = '';\r\n }\n \n }\n\n ngOnInit() {\n //this.form = this.fb.group({\n // 'certnum': [this.utilityobj.certnum, [Validators.required, Validators.pattern(this.plancertPattern)]],\n // 'imageid': [this.utilityobj.id]\n //});\n console.log(\"plan/case number\");\n this.form = this.fb.group({\r\n 'certnum': [this.utilityobj.certnum, [Validators.required, Validators.pattern(this.plancertPattern)]],\r\n 'imageid': [this.utilityobj.id].toString()\r\n });\n\n\n this.form.valueChanges.subscribe((value) => {\n if (this.form.valid) {\n this.utilityobj.certnum = value.certnum ? value.certnum : '';\n if (this.utilityobj.id != value.imageid) {\n this.utilityobj.id = value.imageid;\r\n this.utilityobj.certnum = '';\r\n\r\n this.form.setValue({ 'certnum': '', 'imageid': value.imageid})\r\n }\n \n console.log(`certnum: ${this.utilityobj.certnum}`);\n console.log(`imageid: ${this.utilityobj.id}`);\n }\n });\n }\n\n}\n","
\r\n
\r\n
\r\n \r\n \r\n
\r\n \r\n
\r\n \r\n
\r\n Enter Plan/Case Number\r\n \r\n
\r\n
\r\n\r\n\r\n\r\n\r\n\r\n","import { Component, OnInit, ViewChild } from '@angular/core';\nimport { RegPlanSearchService } from '../../reg-plan-search-service';\r\nimport { DxDataGridComponent } from 'devextreme-angular';\r\nimport { LCPlansVM, GetRegPlanStreetSearchQuery } from '../../../shared/viewmodels/ISearchServiceReg';\r\nimport { Store } from '@ngrx/store';\r\nimport { AppState } from '../../../store/reducers/reducers';\r\nimport { Router } from '@angular/router';\r\nimport { DomSanitizer } from '@angular/platform-browser';\r\nimport Swal from 'sweetalert2';\r\n\n@Component({\n selector: 'app-reg-plan-address-search-grid',\n providers: [RegPlanSearchService],\n templateUrl: './reg-plan-address-search-grid.component.html',\n styleUrls: ['./reg-plan-address-search-grid.component.css']\n})\nexport class RegPlanAddressSearchGridComponent implements OnInit {\n\n @ViewChild(DxDataGridComponent, { static: true }) dataGrid: DxDataGridComponent;\n //@ViewChild(NameComponent) cName: NameComponent;\n public regsresults!: LCPlansVM[];\n public re!: string;\n applyFilterTypes: any;\n currentFilter: any;\n showFilterRow!: boolean;\n console = console;\n towns: string[] = [];\n doctypes: string[] = [];\n rolename!: string;\n\n userInput: any;\n public errorMsg: any;\n\n focusedRowKey!: number;\n recordCount!: number;\n public noDataText: string = \"Loading...\";\n\n\n constructor(private service: RegPlanSearchService, private store: Store, private router: Router, private sanitizer: DomSanitizer) {\n }\n\n ngOnInit() {\n this.store.select((state: any) => state).subscribe(data => this.userInput = data);\n\n for (let city of this.userInput.coresearchdata.city.city[0].citytowns) {\n if (city.isChecked)\n this.towns.push(city.townAbbrev);\n }\n\n this.getResults(\n this.userInput.coresearchdata.address.address[0].streetAddress,\n this.towns);\n\n this.showFilterRow = true;\n this.applyFilterTypes = [{\n key: \"auto\",\n name: \"Immediately\"\n }, {\n key: \"onClick\",\n name: \"On Button Click\"\n }];\n\n this.currentFilter = this.applyFilterTypes[0].key;\n }\n\n getResults(address: any, towns: any) {\n\n let getRegPlanStreetSearchQuery = new GetRegPlanStreetSearchQuery({\n\n street: address,\n towns: towns\n });\n\n console.log(`calling getRegPlanStreetSearchQuery with ${JSON.stringify(getRegPlanStreetSearchQuery)}`);\n console.log(`towns: ${towns}`);\n\n this.service.getRegPlanStreetSearchResults(getRegPlanStreetSearchQuery).subscribe(result => {\n\n this.regsresults = result.regPlanSearchRows!;\n this.recordCount = this.regsresults.length;\n if (this.recordCount == 0) {\n this.noDataText = \"No records found.\";\n Swal.fire(\"No records found.\");\r\n }\n });\n\n\n\n }\n\n //getRecDoc(docId: number) {\n // this.service.getRecDoc(docId).subscribe(\n // data => { this.recdoc = data },\n // error => { this.errorMsg = error }\n // );\n //}\n\n\n\n clearFilter() {\n this.dataGrid.instance.clearFilter();\n }\n\n onInitialized(e: any) {\n\n }\n\n //Open image in another tab'\n imgClicked(event: any) {\n if (!this.dataGrid.instance.isRowSelected(event.row.key)) {\n this.dataGrid.instance.selectRows(event.row.key, false);\n }\n // this.nav.visible = false;\n\n\n }\n\n onExpanding(e: any) {\n this.focusedRowKey = e.component.option(\"focusedRowIndex\");\n this.focusedRowKey = e.key.index;\n e.component.collapseAll(-1);\n }\n\n\n //export() {\n\n\n // //this.console.log('Inside Export');\n // let getRecNameSearchReportQuery = new GetRecNameSearchReportQuery({\n // lastName: this.userInput.name[0].lastcorpName,\n // firstName: this.userInput.name[0].fName,\n // fromDate: this.userInput.date[0].fromDate,\n // toDate: this.userInput.date[0].toDate,\n // roleId: (this.userInput.role[0].roleID == -1) ? 0 : this.userInput.role[0].roleID,\n // towns: this.towns,\n // doctypes: this.doctypes,\n // sortBy: new Array(),\n // sortDirection: \"desc\",\n // filter: new Array()\n // });\n // this.console.log(this.userInput.date[0].fromDate);\n // this.console.log(getRecNameSearchReportQuery.toJSON());\n // this.reportService.getRecNameSearchReport(getRecNameSearchReportQuery).subscribe((reportName) => {\n // //this.reportUrl = reportName.reportName;\n // this.console.log(`rerportName: ${reportName.reportName}`);\n // this.router.navigate([`/report-viewer/${reportName.reportName}`]);\n\n // });\n\n\n //}\n}\n","\r\n\r\n\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n
\r\n\r\n","import { Component, OnInit, Input, OnDestroy } from '@angular/core';\r\nimport { NavMenuService } from '../../../shared/services/nav-menu-service';\r\nimport { RegPlanSearchService } from '../../reg-plan-search-service';\r\nimport { Router } from '@angular/router';\r\nimport { Store } from '@ngrx/store';\r\nimport { AppState } from '../../../store/reducers/reducers';\r\n\r\n@Component({\r\n selector: 'app-reg-plan-address-search-header',\r\n providers: [RegPlanSearchService],\r\n templateUrl: './reg-plan-address-search-header.component.html',\r\n styleUrls: ['./reg-plan-address-search-header.component.css']\r\n})\r\nexport class RegPlanAddressSearchHeaderComponent implements OnInit, OnDestroy {\r\n\r\n recs: any;\r\n @Input() recordCount: number;\r\n towns: string[] = [];\r\n\r\n constructor(private router: Router, private store: Store, public nav: NavMenuService, private service: RegPlanSearchService) {\r\n store.select((state: any) => state).subscribe(data => this.recs = data);\r\n console.log(this.recs.coresearchdata.address.address[0].streetAddress);\r\n\r\n for (let city of this.recs.coresearchdata.city.city[0].citytowns) {\r\n if (city.isChecked)\r\n this.towns.push(city.townName);\r\n }\r\n\r\n }\r\n\r\n back(url) {\r\n try {\r\n this.service.logInfo('Clicked back button');\r\n this.nav.show();\r\n this.router.navigate([url]);\r\n }\r\n catch (error) {\r\n this.service.logError(error);\r\n }\r\n\r\n }\r\n\r\n ngOnInit() {\r\n\r\n }\r\n\r\n ngOnDestroy() {\r\n this.nav.show();\r\n }\r\n}\r\n","
\r\n
\r\n \r\n
\r\n
\r\n
\r\n

Registered Land Plan Search Results

\r\n

\r\n Street: {{ recs.coresearchdata.address.address[0].streetAddress }} City/Town: {{recordCount}} records found\r\n

\r\n
\r\n
\r\n
\r\n","import { Component, OnInit, ViewChild } from '@angular/core';\r\nimport { RegPlanSearchService } from '../../reg-plan-search-service';\r\nimport { DxDataGridComponent } from 'devextreme-angular';\r\nimport { LCPlansVM, GetRegPlanNumSearchQuery } from '../../../shared/viewmodels/ISearchServiceReg';\r\nimport { Store } from '@ngrx/store';\r\nimport { AppState } from '../../../store/reducers/reducers';\r\nimport { Router } from '@angular/router';\r\nimport { DomSanitizer } from '@angular/platform-browser';\r\nimport Swal from 'sweetalert2';\r\n\r\n@Component({\r\n selector: 'app-reg-plan-cert-search-grid',\r\n providers: [RegPlanSearchService],\r\n templateUrl: './reg-plan-cert-search-grid.component.html',\r\n styleUrl: './reg-plan-cert-search-grid.component.css'\r\n})\r\nexport class RegPlanCertSearchGridComponent {\r\n @ViewChild(DxDataGridComponent, { static: true }) dataGrid: DxDataGridComponent;\r\n //@ViewChild(NameComponent) cName: NameComponent;\r\n public regsresults!: LCPlansVM[];\r\n public re!: string;\r\n applyFilterTypes: any;\r\n currentFilter: any;\r\n showFilterRow!: boolean;\r\n console = console;\r\n towns: string[] = [];\r\n doctypes: string[] = [];\r\n rolename!: string;\r\n\r\n userInput: any;\r\n public errorMsg: any;\r\n\r\n focusedRowKey!: number;\r\n recordCount!: number;\r\n public noDataText: string = \"Loading...\";\r\n\r\n\r\n constructor(private service: RegPlanSearchService, private store: Store, private router: Router, private sanitizer: DomSanitizer) {\r\n }\r\n\r\n ngOnInit() {\r\n this.store.select((state: any) => state).subscribe(data => this.userInput = data);\r\n\r\n //for (let city of this.userInput.coresearchdata.city.city[0].citytowns) {\r\n // if (city.isChecked)\r\n // this.towns.push(city.townAbbrev);\r\n //}\r\n\r\n this.getResults(this.userInput.coresearchdata.plancerttype.certtype[0].certnum);\r\n\r\n this.showFilterRow = true;\r\n this.applyFilterTypes = [{\r\n key: \"auto\",\r\n name: \"Immediately\"\r\n }, {\r\n key: \"onClick\",\r\n name: \"On Button Click\"\r\n }];\r\n\r\n this.currentFilter = this.applyFilterTypes[0].key;\r\n }\r\n\r\n getResults(PlanNum: any) {\r\n\r\n let getRegPlanNumSearchQuery = new GetRegPlanNumSearchQuery({\r\n\r\n planNum: PlanNum\r\n });\r\n\r\n console.log(`calling getRegPlanNumSearchQuery with ${JSON.stringify(getRegPlanNumSearchQuery)}`);\r\n console.log(`towns: ${PlanNum}`);\r\n\r\n this.service.getRegPlanNumSearchResults(getRegPlanNumSearchQuery).subscribe(result => {\r\n\r\n this.regsresults = result.regPlanSearchRows!;\r\n this.recordCount = this.regsresults.length;\r\n if (this.recordCount == 0) {\r\n this.noDataText = \"No records found.\";\r\n Swal.fire(\"No records found.\");\r\n }\r\n });\r\n\r\n\r\n\r\n }\r\n\r\n //getRecDoc(docId: number) {\r\n // this.service.getRecDoc(docId).subscribe(\r\n // data => { this.recdoc = data },\r\n // error => { this.errorMsg = error }\r\n // );\r\n //}\r\n\r\n\r\n\r\n clearFilter() {\r\n this.dataGrid.instance.clearFilter();\r\n }\r\n\r\n onInitialized(e: any) {\r\n\r\n }\r\n\r\n //Open image in another tab'\r\n imgClicked(event: any) {\r\n if (!this.dataGrid.instance.isRowSelected(event.row.key)) {\r\n this.dataGrid.instance.selectRows(event.row.key, false);\r\n }\r\n // this.nav.visible = false;\r\n\r\n\r\n }\r\n\r\n onExpanding(e: any) {\r\n this.focusedRowKey = e.component.option(\"focusedRowIndex\");\r\n this.focusedRowKey = e.key.index;\r\n e.component.collapseAll(-1);\r\n }\r\n\r\n\r\n //export() {\r\n\r\n\r\n // //this.console.log('Inside Export');\r\n // let getRecNameSearchReportQuery = new GetRecNameSearchReportQuery({\r\n // lastName: this.userInput.name[0].lastcorpName,\r\n // firstName: this.userInput.name[0].fName,\r\n // fromDate: this.userInput.date[0].fromDate,\r\n // toDate: this.userInput.date[0].toDate,\r\n // roleId: (this.userInput.role[0].roleID == -1) ? 0 : this.userInput.role[0].roleID,\r\n // towns: this.towns,\r\n // doctypes: this.doctypes,\r\n // sortBy: new Array(),\r\n // sortDirection: \"desc\",\r\n // filter: new Array()\r\n // });\r\n // this.console.log(this.userInput.date[0].fromDate);\r\n // this.console.log(getRecNameSearchReportQuery.toJSON());\r\n // this.reportService.getRecNameSearchReport(getRecNameSearchReportQuery).subscribe((reportName) => {\r\n // //this.reportUrl = reportName.reportName;\r\n // this.console.log(`rerportName: ${reportName.reportName}`);\r\n // this.router.navigate([`/report-viewer/${reportName.reportName}`]);\r\n\r\n // });\r\n\r\n\r\n //}\r\n}\r\n","\r\n\r\n\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n\r\n\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n
\r\n\r\n","import { Component, OnInit, Input, OnDestroy } from '@angular/core';\r\nimport { NavMenuService } from '../../../shared/services/nav-menu-service';\r\nimport { RegPlanSearchService } from '../../reg-plan-search-service';\r\nimport { Router } from '@angular/router';\r\nimport { Store } from '@ngrx/store';\r\nimport { AppState } from '../../../store/reducers/reducers';\r\n\r\n@Component({\r\n selector: 'app-reg-plan-cert-search-header',\r\n providers: [RegPlanSearchService],\r\n templateUrl: './reg-plan-cert-search-header.component.html',\r\n styleUrl: './reg-plan-cert-search-header.component.css'\r\n})\r\nexport class RegPlanCertSearchHeaderComponent {\r\n\r\n recs: any;\r\n @Input() recordCount: number;\r\n towns: string[] = [];\r\n\r\n constructor(private router: Router, private store: Store, public nav: NavMenuService, private service: RegPlanSearchService) {\r\n this.service.logInfo('Entered reg-plan-cert-header-pg');\r\n }\r\n\r\n back(url) {\r\n try {\r\n this.service.logInfo('Clicked back button');\r\n this.nav.show();\r\n this.router.navigate([url]);\r\n }\r\n catch (error) {\r\n this.service.logError(error);\r\n }\r\n\r\n }\r\n\r\n}\r\n","
\r\n
\r\n \r\n
\r\n
\r\n
\r\n

Registered Land Plan Search Results

\r\n

\r\n \r\n

\r\n
\r\n
\r\n
\r\n","import { Component, OnInit, Input, EventEmitter, ViewChild, Output, Renderer2, HostListener } from '@angular/core';\r\nimport { RegPlanSearchService } from '../../reg-plan-search-service';\r\nimport { ActivatedRoute, Router } from '@angular/router';\r\nimport { NavMenuService } from '../../../shared/services/nav-menu-service';\r\nimport { GetRegGetPlanPagesQuery, SBListDTO, GetSBImagesQuery, basketVM } from '../../../shared/viewmodels/ISearchServiceReg';\r\nimport { NgxExtendedPdfViewerComponent, PdfBreakpoints, pdfDefaultOptions } from 'ngx-extended-pdf-viewer';\r\nimport { PlanDownloadComponent } from '../../../shared/components/plan-download/plan-download.component';\r\nimport Swal from 'sweetalert2';\r\n\r\n\r\n@Component({\r\n selector: 'app-reg-plan-doc-image',\r\n providers: [RegPlanSearchService, NavMenuService],\r\n templateUrl: './reg-plan-doc-image.component.html',\r\n styleUrls: ['./reg-plan-doc-image.component.css']\r\n})\r\nexport class RegPlanDocImageComponent implements OnInit {\r\n\r\n @Input() planname!: string;\r\n //@Input() imagetype: string;\r\n @Input() imagetypeid!: number;\r\n public pageCount!: number;\r\n public currentIndex!: number;\r\n public currentImageIndex!: number;\r\n public docImages: Array;\r\n @Input() currentImage: Array;\r\n public bufferSize: number = 5;\r\n public isLoadingImage: boolean = true;\r\n public showimageviewer: boolean = false;\r\n public isImgVwVisible: boolean = true;\r\n public blobImage: string;\r\n error: any;\r\n evtEmitter = new EventEmitter();\r\n previewImage: any;\r\n public imgvwr: any;\r\n public isFirstPage!: boolean;\r\n public isLastPage!: boolean;\r\n @ViewChild(PlanDownloadComponent) docBasketChild: PlanDownloadComponent;\r\n @ViewChild(NgxExtendedPdfViewerComponent, { static: false }) pdfViewer: NgxExtendedPdfViewerComponent;\r\n basketItem!: basketVM;\r\n collapseGo: boolean = false;\r\n collapseReturn: boolean = false;\r\n screenWidth: any;\r\n @Output() public changeImgVwVisible = new EventEmitter();\r\n popupVisible: boolean = false;\r\n Message!: string;\r\n public path!: string;\r\n planImagePage: Array;\r\n planImages!: Array;\r\n relatedPlans: Array;\r\n doctype: string = \"PLAN_LC\";\r\n\r\n constructor(private route: ActivatedRoute,\r\n private service: RegPlanSearchService,\r\n private router: Router, private renderer: Renderer2, public nav: NavMenuService) {\r\n this.docImages = new Array();\r\n this.currentImage = new Array();\r\n this.planImagePage = new Array();\r\n this.relatedPlans = new Array();\r\n\r\n this.nav.hide();\r\n pdfDefaultOptions.maxCanvasPixels = -1;\r\n //this.getScreenSize();\r\n\r\n }\r\n\r\n /** Initialize image viewer */\r\n ngOnInit() {\r\n console.log('ngOnInit() fired');\r\n this.currentIndex = 1;\r\n this.currentImageIndex = 0;\r\n this.isLoadingImage = true;\r\n this.planImages = new Array();\r\n\r\n ////Condo Master Plan #\r\n if (this.imagetypeid == 0) {\r\n\r\n this.getCondoPlanByMasterNum(this.planname);\r\n this.getRelatedPlans(this.planname, 'Condo');\r\n\r\n }\r\n\r\n ////Condo Name\r\n else if (this.imagetypeid == 2) {\r\n\r\n this.getCondoPlanByCondoName(this.planname);\r\n this.getRelatedPlans(this.planname, 'Condo');\r\n\r\n }\r\n\r\n //// cert plan images\r\n else {\r\n this.getCertPlanImage();\r\n this.getRelatedPlans(this.planname, 'Cert');\r\n }\r\n\r\n\r\n }\r\n\r\n getCertPlanImage() {\r\n\r\n let getRegGetPlanPagesQuery = new GetRegGetPlanPagesQuery({\r\n\r\n imageExtension: '.tif',\r\n imageType: 'Cert',\r\n pathType: 0,\r\n planName: this.planname\r\n });\r\n\r\n this.service.getRegPlanPages(getRegGetPlanPagesQuery).subscribe(\r\n data => {\r\n console.log(data);\r\n this.planImagePage = data.split(';');\r\n // TODO: separate image path from the string and dtore ito an array. Get memory stream for each path\r\n var pgs: string[] = new Array();\r\n this.planImagePage.forEach(function (plan) {\r\n pgs.push(plan.split(',')[0]);\r\n });\r\n this.planImages = pgs;\r\n console.log(this.planImages);\r\n this.pageCount = this.planImagePage.length;\r\n this.getImageByBookPage(this.planImages[this.currentIndex - 1], 0);\r\n this.changeNavigationbutton(this.pageCount);\r\n this.isLoadingImage = true;\r\n }\r\n )\r\n }\r\n\r\n getCondoPlanByCondoName(condoName: string) {\r\n\r\n this.service.RegGetCondoPlanByCondoName(condoName).subscribe(\r\n data => {\r\n console.log(data);\r\n this.planImagePage = data.split(';');\r\n // TODO: separate image path from the string and dtore ito an array. Get memory stream for each path\r\n var pgs: string[] = new Array();\r\n this.planImagePage.forEach(function (plan) {\r\n pgs.push(plan.split(',')[0]);\r\n });\r\n this.planImages = pgs;\r\n console.log(this.planImages);\r\n this.pageCount = this.planImagePage.length;\r\n this.getImageByBookPage(this.planImages[this.currentIndex - 1], 0);\r\n this.changeNavigationbutton(this.pageCount);\r\n this.isLoadingImage = true;\r\n }\r\n )\r\n }\r\n getCondoPlanByMasterNum(condoMasterNum: string) {\r\n\r\n this.service.RegGetCondoPlanByMasterNum(condoMasterNum).subscribe(\r\n data => {\r\n console.log(data);\r\n this.planImagePage = data.split(';');\r\n // TODO: separate image path from the string and dtore ito an array. Get memory stream for each path\r\n if (data.length > 0) {\r\n var pgs: string[] = new Array();\r\n this.planImagePage.forEach(function (plan) {\r\n pgs.push(plan.split(',')[0]);\r\n });\r\n this.planImages = pgs;\r\n console.log(this.planImages);\r\n this.pageCount = this.planImagePage.length;\r\n this.getImageByBookPage(this.planImages[this.currentIndex - 1], 0);\r\n this.changeNavigationbutton(this.pageCount);\r\n this.isLoadingImage = true;\r\n } else {\r\n Swal.fire(\"Plan image not found.\");\r\n }\r\n }\r\n )\r\n }\r\n\r\n getRelatedPlans(planName: string, planType: string) {\r\n\r\n this.service.RegGetRelatedPlans(planName, planType).subscribe(\r\n data => {\r\n this.relatedPlans = JSON.parse(JSON.stringify(data));\r\n console.log(\"related plans\" + this.relatedPlans + this.relatedPlans[0] + this.relatedPlans.length);\r\n }\r\n )\r\n }\r\n\r\n\r\n getImageByBookPage(path: string, page: number, push: boolean = true) {\r\n console.log(\"current path and page\" + path + page);\r\n this.service.GetDocPlanPage(path, page).subscribe(\r\n data => {\r\n if (push) {\r\n this.docImages.push(data);\r\n console.log('push' + this.docImages.length);\r\n //TODO: code to manage the size of the docImages array\r\n if (this.docImages.length > this.bufferSize) {\r\n this.docImages.shift();\r\n console.log('shift' + this.docImages.length);\r\n this.currentImageIndex = this.bufferSize;\r\n\r\n }\r\n else {\r\n this.currentImageIndex++;\r\n }\r\n console.log(\"docimages and CII\" + this.docImages.length + this.currentImageIndex);\r\n }\r\n else {\r\n this.docImages.splice(0, 0, data);\r\n console.log('splice' + this.docImages.length);\r\n //TODO: code to manage the size of the docImages array\r\n if (this.docImages.length > this.bufferSize) {\r\n this.docImages.pop();\r\n console.log('pop' + this.docImages.length);\r\n this.currentImageIndex = 1;\r\n }\r\n else {\r\n this.currentImageIndex = 1;\r\n }\r\n }\r\n this.showImage((this.currentImageIndex - 1));\r\n },\r\n error => { this.error = error }\r\n );\r\n }\r\n\r\n showImage(idx: number) {\r\n this.isLoadingImage = true;\r\n if (this.currentImage.length === 1) {\r\n this.currentImage.pop();\r\n }\r\n this.currentImage.push(this.docImages[idx]);\r\n this.isLoadingImage = false;\r\n this.blobImage = this.docImages[idx];\r\n this.rePaintImgViewer();\r\n }\r\n\r\n /**\r\n * Navigate to previous page.\r\n * @param url\r\n */\r\n back(url: string) {\r\n\r\n this.router.navigate([url]);\r\n //window.opener = 'Self';\r\n //window.open('', '_parent', '');\r\n //window.close();\r\n\r\n }\r\n\r\n showimgviewer() {\r\n this.showimageviewer = true;\r\n this.isImgVwVisible = false;\r\n this.changeImgVwVisible.emit(this.isImgVwVisible);\r\n }\r\n\r\n /**\r\n * Navigate to next page of a document.\r\n * @param event\r\n */\r\n getNextPg(event: Event) {\r\n\r\n this.currentIndex++;\r\n console.log(\"nxt pg CII\" + this.currentImageIndex);\r\n if (this.docImages.length > this.currentImageIndex) {\r\n this.showImage(this.currentImageIndex);\r\n this.currentImageIndex++;\r\n }\r\n else {\r\n console.log(this.planImages[this.currentIndex - 1]);\r\n this.getImageByBookPage(this.planImages[this.currentIndex - 1], 0, true);\r\n }\r\n\r\n this.changeNavigationbutton(this.pageCount);\r\n\r\n }\r\n\r\n /**\r\n * Navigate to previous page of a document.\r\n * @param event\r\n */\r\n getPrevPg(event: Event) {\r\n\r\n this.currentIndex--;\r\n if (this.currentImageIndex > 1) {\r\n this.showImage((this.currentImageIndex - 2));\r\n this.currentImageIndex--;\r\n }\r\n else {\r\n this.getImageByBookPage(this.planImages[this.currentIndex - 1], 0, false);\r\n }\r\n this.changeNavigationbutton(this.pageCount);\r\n\r\n }\r\n\r\n checkIfFirstPage(): boolean {\r\n if (this.currentIndex == 1) {\r\n return true;\r\n }\r\n else\r\n return false;\r\n }\r\n checkIfLastPage(): boolean {\r\n if (this.currentIndex == this.pageCount) {\r\n return true;\r\n }\r\n else\r\n return false;\r\n }\r\n\r\n rePaintImgViewer() {\r\n //this.imgvwr = new ImageViewerComponent(this.renderer);\r\n //this.imgvwr.images = this.currentImage;\r\n //this.imgvwr.idContainer = \"idOnHTML\";\r\n\r\n //this.imgvwr.inicializarImageViewer();\r\n //this.imgvwr.proximaImagem();\r\n this.showimgviewer();\r\n }\r\n\r\n /**\r\n * Enable/Disable the navigation button, when its a first page or last page in the document.\r\n * @param pageCount\r\n */\r\n changeNavigationbutton(pageCount: number) {\r\n // Enable/disable navigation buttons.\r\n //console.log(this.book + \"/\" + this.page);\r\n console.log(\"Next doc page count\" + this.pageCount)\r\n if (this.pageCount > 1) {\r\n if (this.currentIndex == 1) {\r\n this.isFirstPage = true;\r\n this.isLastPage = false;\r\n console.log(\"1\");\r\n }\r\n else if (this.currentIndex == this.pageCount) {\r\n this.isLastPage = true;\r\n this.isFirstPage = false;\r\n console.log(\"2\");\r\n }\r\n else {\r\n this.isLastPage = false;\r\n this.isFirstPage = false;\r\n console.log(\"3\");\r\n }\r\n\r\n }\r\n\r\n else {\r\n this.isLastPage = true;\r\n this.isFirstPage = true;\r\n console.log(\"4\");\r\n }\r\n\r\n console.log(this.isFirstPage);\r\n console.log(this.isLastPage);\r\n }\r\n\r\n /**\r\n * Navigate to First page in a document.\r\n * @param event\r\n */\r\n getFirstPg(event: Event) {\r\n console.log(\"firstpg\" + this.pageCount);\r\n // Get first page from cache if present.\r\n if (this.currentIndex <= this.bufferSize && this.currentImageIndex !== 1) {\r\n this.currentIndex = 1;\r\n this.currentImageIndex = 1;\r\n this.showImage(this.currentImageIndex - 1);\r\n this.changeNavigationbutton(this.pageCount);\r\n }\r\n\r\n // get first page from service when its not present in cache.\r\n else {\r\n this.currentIndex = 1;\r\n this.currentImageIndex = 0;\r\n this.docImages.length = 0;\r\n this.getImageByBookPage(this.planImages[this.currentIndex - 1], 0, true);\r\n this.changeNavigationbutton(this.pageCount);\r\n }\r\n }\r\n\r\n /**\r\n * Navigate to Last page in a document.\r\n * @param event\r\n */\r\n getLastPg(event: Event) {\r\n console.log(\"lastpg\" + this.pageCount)\r\n let lastPgIdx: number = this.pageCount - 1;\r\n this.currentImageIndex = lastPgIdx;\r\n\r\n // Get last page from cache if present.\r\n if (this.pageCount <= this.bufferSize && this.docImages[lastPgIdx] != null) {\r\n this.currentImageIndex = this.pageCount - 1;\r\n this.currentIndex = this.pageCount;\r\n this.showImage(this.currentImageIndex);\r\n this.changeNavigationbutton(this.pageCount);\r\n }\r\n\r\n\r\n ////get last page from service when its not present in cache.\r\n else {\r\n this.currentImageIndex = 0;\r\n this.currentIndex = this.pageCount;\r\n this.docImages.length = 0;\r\n this.getImageByBookPage(this.planImages[this.currentIndex - 1], 0, false);\r\n this.changeNavigationbutton(this.pageCount);\r\n }\r\n }\r\n\r\n\r\n allowDrop(ev: any) {\r\n console.log(\"allow drop\");\r\n ev.preventDefault();\r\n }\r\n\r\n drag(ev: any) {\r\n console.log(\"drag\");\r\n ev.dataTransfer.setData(\"text\", ev.target.id);\r\n }\r\n\r\n drop(planImagePage: any, planname: string, currentindex: number) {\r\n console.log(\"drop\");\r\n console.log(\"planImagePage\" + planImagePage + \"planname\" + planname + \"currentindex\" + currentindex);\r\n\r\n const index = this.docBasketChild.basketItems.findIndex(item => item.planname === planname && item.wholeDoc === false);\r\n if (index > -1) {\r\n if (this.docBasketChild.basketItems[index].pages.indexOf((currentindex - 1).toString()) > -1) {\r\n console.log(\"Duplicate entry\");\r\n this.Message = \"Plan \" + planname + \", p.\" + (currentindex) + \" is already added.\";\r\n this.popupVisible = true;\r\n }\r\n else {\r\n this.docBasketChild.basketItems[index].pageCount = this.docBasketChild.basketItems[index].pageCount + 1;\r\n this.docBasketChild.basketItems[index].pages.push((currentindex - 1).toString());\r\n this.docBasketChild.basketItems[index].imagepaths.push(planImagePage[currentindex - 1]);\r\n console.log(\"Updated entry\");\r\n this.Message = \"Plan \" + planname + \", p.\" + (currentindex) + \" is added successfully.\";\r\n this.popupVisible = true;\r\n }\r\n }\r\n\r\n else {\r\n this.basketItem = new basketVM();\r\n this.basketItem.planname = planname;\r\n this.basketItem.document = planname;\r\n this.basketItem.isEmail = false;\r\n this.basketItem.isDownload = false;\r\n this.basketItem.downloadAs = 'pdf';\r\n this.basketItem.wholeDoc = false;\r\n this.basketItem.pageCount = 1;\r\n this.basketItem.pages = new Array((currentindex - 1).toString());\r\n this.basketItem.imagepaths = new Array(planImagePage[currentindex - 1]);\r\n\r\n this.docBasketChild.basketItems.push(this.basketItem);\r\n //update local storage\r\n if (localStorage.getItem(\"planbasket\") !== null && localStorage.getItem(\"planbasket\").length > 0) {\r\n let basketls = JSON.parse(localStorage.getItem(\"planbasket\"));\r\n basketls.push(this.basketItem);\r\n localStorage.setItem(\"planbasket\", JSON.stringify(basketls));\r\n }\r\n\r\n console.log(\"Added entry\");\r\n this.Message = \"Plan \" + planname + \", p.\" + (currentindex) + \" is added successfully.\";\r\n this.popupVisible = true;\r\n }\r\n\r\n }\r\n\r\n toggleGo() {\r\n this.collapseGo = !this.collapseGo;\r\n }\r\n\r\n toggleReturn() {\r\n this.collapseReturn = !this.collapseReturn;\r\n }\r\n\r\n @HostListener('window:resize', ['$event'])\r\n getScreenSize(event: any) {\r\n this.screenWidth = window.innerWidth;\r\n }\r\n\r\n collapsesideinfo: boolean = false;\r\n\r\n toggleSideInfo() {\r\n this.collapsesideinfo = !this.collapsesideinfo;\r\n }\r\n\r\n ItemClick(e: any) {\r\n if (e === null) {\r\n console.log('ItemClick fired and event is null');\r\n }\r\n else {\r\n console.log(`ItemClick fired: ${e.itemData}`);\r\n this.planname = e.itemData as string;\r\n console.log(`planname: ${this.planname}`);\r\n this.getCertPlanImage()\r\n\r\n }\r\n }\r\n\r\n}\r\n","
\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n {{plan}}\r\n
\r\n\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n

p.{{currentIndex}} of {{pageCount}}

\r\n \r\n \r\n
\r\n
\r\n
\r\n Loading Image (plans can take a bit longer) ...\r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n \r\n
\r\n \r\n

Loading....

\r\n
\r\n
\r\n
\r\n\r\n \r\n
\r\n

\r\n {{Message}}\r\n

\r\n
\r\n
\r\n
\r\n","import { Component, OnInit, ViewChild } from '@angular/core';\r\nimport { DxDataGridComponent } from 'devextreme-angular';\r\nimport { LCPlansVM, GetRegPlanOwnerSearchQuery } from '../../../shared/viewmodels/ISearchServiceReg';\r\nimport { RegPlanSearchService } from '../../reg-plan-search-service';\r\nimport { Store } from '@ngrx/store';\r\nimport { Router } from '@angular/router';\r\nimport { AppState } from '../../../store/reducers/reducers';\r\nimport { DomSanitizer } from '@angular/platform-browser';\r\nimport Swal from 'sweetalert2';\r\n\r\n@Component({\r\n selector: 'app-reg-plan-owner-search-grid',\r\n providers: [RegPlanSearchService],\r\n templateUrl: './reg-plan-owner-search-grid.component.html',\r\n styleUrls: ['./reg-plan-owner-search-grid.component.css']\r\n})\r\nexport class RegPlanOwnerSearchGridComponent implements OnInit {\r\n\r\n @ViewChild(DxDataGridComponent, { static: true }) dataGrid: DxDataGridComponent;\r\n public regsresults!: LCPlansVM[];\r\n public re!: string;\r\n applyFilterTypes: any;\r\n currentFilter: any;\r\n showFilterRow!: boolean;\r\n console = console;\r\n towns: string[] = [];\r\n doctypes: string[] = [];\r\n rolename!: string;\r\n\r\n userInput: any;\r\n public errorMsg: any;\r\n\r\n focusedRowKey!: number;\r\n recordCount!: number;\r\n public noDataText: string = \"Loading...\";\r\n\r\n\r\n constructor(private service: RegPlanSearchService, private store: Store, private router: Router, private sanitizer: DomSanitizer) {\r\n }\r\n\r\n ngOnInit() {\r\n this.store.select((state: any) => state).subscribe(data => this.userInput = data);\r\n\r\n for (let city of this.userInput.coresearchdata.city.city[0].citytowns) {\r\n if (city.isChecked)\r\n this.towns.push(city.townAbbrev);\r\n }\r\n\r\n this.getResults(\r\n this.userInput.coresearchdata.compoundname.name[0].lastcorpName,\r\n this.userInput.coresearchdata.compoundname.name[0].fName,\r\n this.towns);\r\n\r\n this.showFilterRow = true;\r\n this.applyFilterTypes = [{\r\n key: \"auto\",\r\n name: \"Immediately\"\r\n }, {\r\n key: \"onClick\",\r\n name: \"On Button Click\"\r\n }];\r\n\r\n this.currentFilter = this.applyFilterTypes[0].key;\r\n }\r\n\r\n getResults(lname: string, fname: string, towns: any) {\r\n\r\n let getRegPlanOwnerSearchQuery = new GetRegPlanOwnerSearchQuery({\r\n\r\n ownerLName: lname,\r\n ownerFName: fname,\r\n towns: towns\r\n });\r\n\r\n console.log(`calling getRegPlanOwnerSearchQuery with ${JSON.stringify(getRegPlanOwnerSearchQuery)}`);\r\n console.log(`towns: ${towns}`);\r\n\r\n this.service.getRegPlanOwnerSearchResults(getRegPlanOwnerSearchQuery).subscribe(result => {\r\n\r\n this.regsresults = result.regPlanSearchRows!;\r\n this.recordCount = this.regsresults.length;\r\n if (this.recordCount == 0) {\r\n this.noDataText = \"No records found.\";\r\n Swal.fire(\"No records found.\");\r\n }\r\n });\r\n\r\n\r\n\r\n }\r\n\r\n //getRecDoc(docId: number) {\r\n // this.service.getRecDoc(docId).subscribe(\r\n // data => { this.recdoc = data },\r\n // error => { this.errorMsg = error }\r\n // );\r\n //}\r\n\r\n\r\n\r\n clearFilter() {\r\n this.dataGrid.instance.clearFilter();\r\n }\r\n\r\n onInitialized(e: any) {\r\n\r\n }\r\n\r\n //Open image in another tab'\r\n imgClicked(event: any) {\r\n if (!this.dataGrid.instance.isRowSelected(event.row.key)) {\r\n this.dataGrid.instance.selectRows(event.row.key, false);\r\n }\r\n // this.nav.visible = false;\r\n\r\n\r\n }\r\n\r\n onExpanding(e: any) {\r\n this.focusedRowKey = e.component.option(\"focusedRowIndex\");\r\n this.focusedRowKey = e.key.index;\r\n e.component.collapseAll(-1);\r\n }\r\n\r\n\r\n //export() {\r\n\r\n\r\n // //this.console.log('Inside Export');\r\n // let getRecNameSearchReportQuery = new GetRecNameSearchReportQuery({\r\n // lastName: this.userInput.name[0].lastcorpName,\r\n // firstName: this.userInput.name[0].fName,\r\n // fromDate: this.userInput.date[0].fromDate,\r\n // toDate: this.userInput.date[0].toDate,\r\n // roleId: (this.userInput.role[0].roleID == -1) ? 0 : this.userInput.role[0].roleID,\r\n // towns: this.towns,\r\n // doctypes: this.doctypes,\r\n // sortBy: new Array(),\r\n // sortDirection: \"desc\",\r\n // filter: new Array()\r\n // });\r\n // this.console.log(this.userInput.date[0].fromDate);\r\n // this.console.log(getRecNameSearchReportQuery.toJSON());\r\n // this.reportService.getRecNameSearchReport(getRecNameSearchReportQuery).subscribe((reportName) => {\r\n // //this.reportUrl = reportName.reportName;\r\n // this.console.log(`rerportName: ${reportName.reportName}`);\r\n // this.router.navigate([`/report-viewer/${reportName.reportName}`]);\r\n\r\n // });\r\n\r\n\r\n //}\r\n\r\n}\r\n","\r\n\r\n\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n\r\n \r\n \r\n\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n\r\n","import { Component, OnInit, Input, OnDestroy } from '@angular/core';\nimport { Router } from '@angular/router';\r\nimport { Store } from '@ngrx/store';\r\nimport { AppState } from '../../../store/reducers/reducers';\r\nimport { NavMenuService } from '../../../shared/services/nav-menu-service';\r\nimport { RegPlanSearchService } from '../../reg-plan-search-service';\r\n\n@Component({\n selector: 'app-reg-plan-owner-search-header',\n providers: [RegPlanSearchService],\n templateUrl: './reg-plan-owner-search-header.component.html',\n styleUrls: ['./reg-plan-owner-search-header.component.css']\n})\nexport class RegPlanOwnerSearchHeaderComponent implements OnInit, OnDestroy {\n\n recs: any;\n @Input() recordCount: number;\n towns: string[] = [];\n\n constructor(private router: Router, private store: Store, public nav: NavMenuService, private service: RegPlanSearchService) {\n store.select((state: any) => state).subscribe(data => this.recs = data);\n //console.log(this.recs.regsearchdata.name.name[0].name);\n console.log(this.recs.coresearchdata.compoundname.name[0].lastcorpName);\n\n for (let city of this.recs.coresearchdata.city.city[0].citytowns) {\n if (city.isChecked)\n this.towns.push(city.townName);\n }\n\n }\n\n back(url) {\n try {\n this.service.logInfo('Clicked back button');\n this.nav.show();\n this.router.navigate([url]);\n }\n catch (error) {\n this.service.logError(error);\n }\n\n }\n\n ngOnInit() {\n\n }\n\n ngOnDestroy() {\n this.nav.show();\n }\n\n}\n","
\r\n
\r\n \r\n
\r\n
\r\n
\r\n

Registered Land Plan Search Results

\r\n

\r\n Owner Name: {{ recs.coresearchdata.compoundname.name[0].lastcorpName }} City/Town: {{recordCount}} records found\r\n

\r\n
\r\n
\r\n
\r\n","import { Component, OnInit, ViewChild, HostListener } from '@angular/core';\nimport { ActivatedRoute, Router } from '@angular/router';\r\nimport { RegPlanDocImageComponent } from '../../components/reg-plan-doc-image/reg-plan-doc-image.component';\r\nimport { NavMenuService } from '../../../shared/services/nav-menu-service';\r\n\n@Component({\n selector: 'app-reg-plan-address-doc-disp-pg',\n templateUrl: './reg-plan-address-doc-disp-pg.component.html',\n styleUrls: ['./reg-plan-address-doc-disp-pg.component.css']\n})\nexport class RegPlanAddressDocDispPgComponent implements OnInit {\n\n public planname!: string;\n collapsesideinfo: boolean = false;\n //public record: RecDocVM;\n error: any;\n public isImgVwVisible: boolean = true;\n public isLoadingDetail: boolean = true;\n @ViewChild(RegPlanDocImageComponent) regPlanDocImageComponent: RegPlanDocImageComponent;\n screenWidth: any;\n\n\n constructor(private route: ActivatedRoute, private router: Router, private nav: NavMenuService) {\n \n }\n\n ngOnInit() {\n this.planname = this.route.snapshot.paramMap.get('planname')!;\n console.log('planname: ' + this.planname);\n this.nav.hide();\n this.isLoadingDetail = true;\n }\n\n back(url: string) {\n\n //this.router.navigate([url]);\n window.opener = 'Self';\n window.open('', '_parent', '');\n window.close();\n\n }\n\n\n toggleSideInfo() {\n this.collapsesideinfo = !this.collapsesideinfo;\n\n }\n\n @HostListener('window:resize', ['$event'])\n getScreenSize(event: any) {\n this.screenWidth = window.innerWidth;\n }\n\n getIsImgVwVisible(e: boolean) {\n this.isImgVwVisible = e;\n }\n}\n","
\r\n \r\n
\r\n\r\n\r\n\r\n","import { Component, OnInit, ViewChild } from '@angular/core';\nimport { NavMenuService } from '../../../shared/services/nav-menu-service';\r\nimport { RegPlanAddressSearchGridComponent } from '../../components/reg-plan-address-search-grid/reg-plan-address-search-grid.component';\r\n\n@Component({\n selector: 'app-reg-plan-address-result-pg',\n templateUrl: './reg-plan-address-result-pg.component.html',\n styleUrls: ['./reg-plan-address-result-pg.component.css']\n})\nexport class RegPlanAddressResultPgComponent implements OnInit {\n\n @ViewChild(RegPlanAddressSearchGridComponent, { static: true }) regPlanAddressResults: RegPlanAddressSearchGridComponent;\n\n constructor(public nav: NavMenuService) {\n\n\n }\n\n\n\n ngOnInit() {\n\n //// hide the navigation menu.\n this.nav.hide();\n\n }\n\n\n}\n","
\r\n \r\n
\r\n
\r\n \r\n
\r\n\r\n\r\n\r\n\r\n","import { Component, OnInit, ViewChild } from '@angular/core';\r\nimport { AddressComponent } from '../../../shared/components/address/address.component';\r\nimport { CityTownEXComponent } from '../../../shared/components/city-town-ex/city-town-ex.component';\r\nimport { NgForm, FormGroup, FormBuilder, FormControl } from '@angular/forms';\r\nimport { Router } from '@angular/router';\r\nimport { Store } from '@ngrx/store';\r\nimport { AppState } from '../../../store/reducers/reducers';\r\nimport * as CityActions from '../../../store/actions/citytown.action';\r\nimport * as AddressActions from './../../../store/actions/address.action';\r\nimport { AddressCIF } from '../../../shared/viewmodels/UtilityObj';\r\n\r\n@Component({\r\n selector: 'app-reg-plan-address-search',\r\n templateUrl: './reg-plan-address-search.component.html',\r\n styleUrls: ['./reg-plan-address-search.component.css']\r\n})\r\nexport class RegPlanAddressSearchComponent implements OnInit {\r\n\r\n @ViewChild(AddressComponent) addressChild: AddressComponent;\r\n @ViewChild(CityTownEXComponent) cityTownChild: CityTownEXComponent;\r\n @ViewChild('f', { static: true }) regPlanAddressSearchForm: NgForm;\r\n parentForm!: FormGroup;\r\n\r\n\r\n constructor(private router: Router, private store: Store, private fb: FormBuilder) {\r\n\r\n\r\n }\r\n\r\n addRecToStore(citytowns: any, streetaddress: any, streetnum: any) {\r\n \r\n this.store.dispatch(new CityActions.AddCity({\r\n citytowns: citytowns\r\n }));\r\n\r\n this.store.dispatch(new AddressActions.AddAddress({\r\n streetAddress: streetaddress,\r\n streetNumber: streetnum\r\n }));\r\n\r\n }\r\n\r\n delRecFromStore(index: number) {\r\n this.store.dispatch(new CityActions.RemoveCity(index));\r\n this.store.dispatch(new AddressActions.RemoveAddress(index));\r\n }\r\n\r\n\r\n ngOnInit() {\r\n this.parentForm = this.fb.group({\r\n });\r\n\r\n this.regPlanAddressSearchForm.form = this.fb.group({});\r\n\r\n }\r\n\r\n onSubmit(e: any) {\r\n if (this.regPlanAddressSearchForm.valid) {\r\n console.log(\"inside submit\");\r\n this.delRecFromStore(0);\r\n\r\n this.addRecToStore(this.cityTownChild.utilityobj.citytowns, this.addressChild.utilityobj.streetAddress, this.addressChild.utilityobj.streetNumber);\r\n\r\n this.router.navigate(['/reg-plan-address-result-pg']);\r\n\r\n }\r\n else {\r\n this.validateAllFormFields(this.regPlanAddressSearchForm.form);\r\n }\r\n }\r\n\r\n validateAllFormFields(formGroup: FormGroup) { //{1}\r\n Object.keys(formGroup.controls).forEach(field => { //{2}\r\n const control = formGroup.get(field); //{3}\r\n if (control instanceof FormControl) { //{4}\r\n control.markAsTouched({ onlySelf: true });\r\n } else if (control instanceof FormGroup) { //{5}\r\n this.validateAllFormFields(control); //{6}\r\n }\r\n });\r\n }\r\n ngAfterViewInit() {\r\n this.regPlanAddressSearchForm.form.addControl('addressForm', this.addressChild.form);\r\n this.addressChild.form.setParent(this.regPlanAddressSearchForm.form);\r\n \r\n }\r\n\r\n reset() {\r\n // Reset child components\r\n if (this.addressChild) {\r\n this.addressChild.reset();\r\n }\r\n if (this.cityTownChild) {\r\n this.cityTownChild.reset();\r\n }\r\n\r\n // Reset form controls in the parent form\r\n this.regPlanAddressSearchForm.form.reset();\r\n\r\n // Ensure validation states are also reset\r\n Object.keys(this.regPlanAddressSearchForm.form.controls).forEach(key => {\r\n this.regPlanAddressSearchForm.form.get(key)?.markAsPristine();\r\n this.regPlanAddressSearchForm.form.get(key)?.markAsUntouched();\r\n this.regPlanAddressSearchForm.form.get(key)?.updateValueAndValidity();\r\n });\r\n\r\n console.log(\"RegPlanAddressSearchComponent has been reset.\");\r\n }\r\n}\r\n","
\r\n

Search Registered Land Plans by

\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n\r\n\r\n\r\n","import { Component, OnInit, ViewChild, HostListener } from '@angular/core';\r\nimport { RegPlanDocImageComponent } from '../../components/reg-plan-doc-image/reg-plan-doc-image.component';\r\nimport { ActivatedRoute, Router } from '@angular/router';\r\nimport { NavMenuService } from '../../../shared/services/nav-menu-service';\r\n\r\n@Component({\r\n selector: 'app-reg-plan-certificate-doc-disp-pg',\r\n templateUrl: './reg-plan-certificate-doc-disp-pg.component.html',\r\n styleUrls: ['./reg-plan-certificate-doc-disp-pg.component.css']\r\n})\r\nexport class RegPlanCertificateDocDispPgComponent implements OnInit {\r\n\r\n public planname!: string;\r\n public imagetypeid!: number;\r\n collapsesideinfo: boolean = false;\r\n //public record: RecDocVM;\r\n error: any;\r\n public isImgVwVisible: boolean = true;\r\n public isLoadingDetail: boolean = true;\r\n @ViewChild(RegPlanDocImageComponent) regPlanDocImageComponent: RegPlanDocImageComponent;\r\n screenWidth: any;\r\n\r\n\r\n constructor(private route: ActivatedRoute, private router: Router, private nav: NavMenuService) {\r\n\r\n }\r\n\r\n ngOnInit() {\r\n this.planname = this.route.snapshot.paramMap.get('planname')!;\r\n console.log('planname: ' + this.planname);\r\n this.imagetypeid = Number(this.route.snapshot.paramMap.get('imagetypeid'));\r\n console.log('imagetypeid: ' + this.imagetypeid);\r\n this.nav.hide();\r\n this.isLoadingDetail = true;\r\n }\r\n\r\n back(url: string) {\r\n\r\n //this.router.navigate([url]);\r\n //this.nav.show();\r\n window.opener = 'Self';\r\n window.open('', '_parent', '');\r\n window.close();\r\n\r\n }\r\n\r\n\r\n toggleSideInfo() {\r\n this.collapsesideinfo = !this.collapsesideinfo;\r\n\r\n }\r\n\r\n @HostListener('window:resize', ['$event'])\r\n getScreenSize(event: any) {\r\n this.screenWidth = window.innerWidth;\r\n }\r\n\r\n getIsImgVwVisible(e: any) {\r\n this.isImgVwVisible = e;\r\n }\r\n\r\n}\r\n","
\r\n \r\n
\r\n\r\n\r\n\r\n","import { Component, OnInit, ViewChild } from '@angular/core';\r\nimport { NavMenuService } from '../../../shared/services/nav-menu-service';\r\nimport { RegPlanCertSearchGridComponent } from '../../components/reg-plan-cert-search-grid/reg-plan-cert-search-grid.component';\r\n\r\n@Component({\r\n selector: 'app-reg-plan-certificate-result-pg',\r\n templateUrl: './reg-plan-certificate-result-pg.component.html',\r\n styleUrls: ['./reg-plan-certificate-result-pg.component.css']\r\n})\r\nexport class RegPlanCertificateResultPgComponent implements OnInit {\r\n\r\n @ViewChild(RegPlanCertSearchGridComponent, { static: true }) regPlanAddressResults: RegPlanCertSearchGridComponent;\r\n\r\n constructor(public nav: NavMenuService) {\r\n\r\n\r\n }\r\n\r\n\r\n\r\n ngOnInit() {\r\n\r\n //// hide the navigation menu.\r\n this.nav.hide();\r\n\r\n }\r\n\r\n\r\n}\r\n","
\r\n \r\n
\r\n
\r\n \r\n
\r\n\r\n\r\n\r\n\r\n","import { Component, OnInit, ViewChild } from '@angular/core';\r\nimport { PlanCertificateNoComponent } from '../../components/plan-certificate-no/plan-certificate-no.component';\r\nimport { NgForm, FormGroup, FormBuilder, FormControl } from '@angular/forms';\r\nimport { Router } from '@angular/router';\r\nimport { Store } from '@ngrx/store';\r\nimport { AppState } from '../../../store/reducers/reducers';\r\nimport * as CertTypeActions from './../../../store/actions/plancerttype.action';\r\n\r\n@Component({\r\n selector: 'app-reg-plan-certificate-search',\r\n templateUrl: './reg-plan-certificate-search.component.html',\r\n styleUrls: ['./reg-plan-certificate-search.component.css']\r\n})\r\nexport class RegPlanCertificateSearchComponent implements OnInit {\r\n\r\n @ViewChild(PlanCertificateNoComponent) planCertificateNoChild: PlanCertificateNoComponent;\r\n @ViewChild('f', { static: true }) regPlanCertificateSearchForm: NgForm;\r\n parentForm!: FormGroup;\r\n //imageType: string;\r\n\r\n constructor(private router: Router, private store: Store, private fb: FormBuilder) {\r\n\r\n\r\n }\r\n\r\n addRecToStore(id: number, certnum: string) {\r\n\r\n this.store.dispatch(new CertTypeActions.AddCertType({\r\n id: id,\r\n certnum:certnum\r\n }));\r\n\r\n\r\n }\r\n\r\n delRecFromStore(index: number) {\r\n this.store.dispatch(new CertTypeActions.RemoveCertType(index));\r\n }\r\n\r\n\r\n ngOnInit() {\r\n this.parentForm = this.fb.group({\r\n });\r\n\r\n this.regPlanCertificateSearchForm.form = this.fb.group({});\r\n\r\n }\r\n\r\n onSubmit(e: any) {\r\n if (this.regPlanCertificateSearchForm.valid) {\r\n console.log(\"inside submit\");\r\n this.delRecFromStore(0);\r\n\r\n this.addRecToStore(this.planCertificateNoChild.utilityobj.id, this.planCertificateNoChild.utilityobj.certnum);\r\n //console.log(window.location.href + window.location.host + window.location.protocol);\r\n //console.log(window.location.pathname.replace('reg-plan-certificate-search','reg-plan-certificate-doc-disp-pg'));\r\n //let baseUrl = window.location.pathname.replace('reg-plan-certificate-search', 'reg-plan-certificate-doc-disp-pg');\r\n //let url = this.router.createUrlTree([baseUrl, this.planCertificateNoChild.utilityobj.id, this.planCertificateNoChild.utilityobj.certnum]);\r\n //console.log(url);\r\n //window.open(url.toString(), '_blank');\r\n\r\n this.router.navigate(['/reg-plan-certificate-result-pg']);\r\n\r\n }\r\n else {\r\n this.validateAllFormFields(this.regPlanCertificateSearchForm.form);\r\n }\r\n }\r\n\r\n validateAllFormFields(formGroup: FormGroup) { //{1}\r\n Object.keys(formGroup.controls).forEach(field => { //{2}\r\n const control = formGroup.get(field); //{3}\r\n if (control instanceof FormControl) { //{4}\r\n control.markAsTouched({ onlySelf: true });\r\n } else if (control instanceof FormGroup) { //{5}\r\n this.validateAllFormFields(control); //{6}\r\n }\r\n });\r\n }\r\n ngAfterViewInit() {\r\n this.regPlanCertificateSearchForm.form.addControl('planCertForm', this.planCertificateNoChild.form);\r\n this.planCertificateNoChild.form.setParent(this.regPlanCertificateSearchForm.form);\r\n\r\n }\r\n\r\n}\r\n","
\r\n

Search Registered Land Plans by

\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n","import { Component, OnInit, ViewChild, HostListener } from '@angular/core';\nimport { RegPlanDocImageComponent } from '../../components/reg-plan-doc-image/reg-plan-doc-image.component';\r\nimport { ActivatedRoute, Router } from '@angular/router';\r\nimport { NavMenuService } from '../../../shared/services/nav-menu-service';\r\n\n@Component({\n selector: 'app-reg-plan-owner-doc-disp-pg',\n templateUrl: './reg-plan-owner-doc-disp-pg.component.html',\n styleUrls: ['./reg-plan-owner-doc-disp-pg.component.css']\n})\nexport class RegPlanOwnerDocDispPgComponent implements OnInit {\n\n public planname!: string;\n collapsesideinfo: boolean = false;\n //public record: RecDocVM;\n error: any;\n public isImgVwVisible: boolean = true;\n public isLoadingDetail: boolean = true;\n @ViewChild(RegPlanDocImageComponent) regPlanDocImageComponent: RegPlanDocImageComponent;\n screenWidth: any;\n\n\n constructor(private route: ActivatedRoute, private router: Router, private nav: NavMenuService) {\n\n }\n\n ngOnInit() {\n this.planname = this.route.snapshot.paramMap.get('planname')!;\n console.log('planname: ' + this.planname);\n this.nav.hide();\n this.isLoadingDetail = true;\n }\n\n back(url: string) {\n\n //this.router.navigate([url]);\n window.opener = 'Self';\n window.open('', '_parent', '');\n window.close();\n\n }\n\n\n toggleSideInfo() {\n this.collapsesideinfo = !this.collapsesideinfo;\n\n }\n\n @HostListener('window:resize', ['$event'])\n getScreenSize(event: any) {\n this.screenWidth = window.innerWidth;\n }\n\n getIsImgVwVisible(e: any) {\n this.isImgVwVisible = e;\n }\n\n}\n","
\r\n \r\n
\r\n\r\n\r\n\r\n","import { Component, OnInit, ViewChild } from '@angular/core';\nimport { RegPlanOwnerSearchGridComponent } from '../../components/reg-plan-owner-search-grid/reg-plan-owner-search-grid.component';\r\nimport { NavMenuService } from '../../../shared/services/nav-menu-service';\r\n\n@Component({\n selector: 'app-reg-plan-owner-result-pg',\n templateUrl: './reg-plan-owner-result-pg.component.html',\n styleUrls: ['./reg-plan-owner-result-pg.component.css']\n})\nexport class RegPlanOwnerResultPgComponent implements OnInit {\n\n @ViewChild(RegPlanOwnerSearchGridComponent, { static: true }) regPlanOwnerResults: RegPlanOwnerSearchGridComponent;\n\n constructor(public nav: NavMenuService) {\n\n\n }\n\n\n\n ngOnInit() {\n\n //// hide the navigation menu.\n this.nav.hide();\n\n }\n\n}\n","
\r\n \r\n
\r\n
\r\n \r\n
\r\n\r\n\r\n\r\n\r\n","import { Component, OnInit, ViewChild } from '@angular/core';\nimport { NameComponent } from '../../../shared/components/name/name.component';\nimport { CompoundNameComponent } from '../../../shared/components/compound-name/compound-name.component';\nimport { CityTownEXComponent } from '../../../shared/components/city-town-ex/city-town-ex.component';\nimport { NgForm, FormGroup, FormBuilder, FormControl } from '@angular/forms';\nimport { Router } from '@angular/router';\nimport { Store } from '@ngrx/store';\nimport { AppState } from '../../../store/reducers/reducers';\nimport * as CityActions from '../../../store/actions/citytown.action';\nimport * as CompoundNameActions from './../../../store/actions/compoundname.action';\n\n@Component({\n selector: 'app-reg-plan-owner-search',\n templateUrl: './reg-plan-owner-search.component.html',\n styleUrls: ['./reg-plan-owner-search.component.css']\n})\nexport class RegPlanOwnerSearchComponent implements OnInit {\n\n @ViewChild(CompoundNameComponent) nameChild: CompoundNameComponent;\n @ViewChild(CityTownEXComponent) cityTownChild: CityTownEXComponent;\n @ViewChild('f', { static: true }) regPlanOwnerSearchForm: NgForm;\n parentForm!: FormGroup;\n\n\n constructor(private router: Router, private store: Store, private fb: FormBuilder) {\n\n\n }\n\n addRecToStore(citytowns: any, lname: any, fname: any) {\n\n this.store.dispatch(new CityActions.AddCity({\n citytowns: citytowns\n }));\n\n this.store.dispatch(new CompoundNameActions.AddName({\n lastcorpName: lname,\n fName: fname\n }));\n\n }\n\n delRecFromStore(index: number) {\n this.store.dispatch(new CityActions.RemoveCity(index));\n this.store.dispatch(new CompoundNameActions.RemoveName(index));\n }\n\n\n ngOnInit() {\n this.parentForm = this.fb.group({\n });\n\n this.regPlanOwnerSearchForm.form = this.fb.group({});\n\n }\n\n onSubmit(e: any) {\n if (this.regPlanOwnerSearchForm.valid) {\n console.log(\"inside submit\");\n this.delRecFromStore(0);\n\n this.addRecToStore(this.cityTownChild.utilityobj.citytowns, this.nameChild.utilityobj.lastcorpName, this.nameChild.utilityobj.fName);\n\n this.router.navigate(['/reg-plan-owner-result-pg']);\n\n }\n else {\n this.validateAllFormFields(this.regPlanOwnerSearchForm.form);\n }\n }\n\n validateAllFormFields(formGroup: FormGroup) { //{1}\n Object.keys(formGroup.controls).forEach(field => { //{2}\n const control = formGroup.get(field); //{3}\n if (control instanceof FormControl) { //{4}\n control.markAsTouched({ onlySelf: true });\n } else if (control instanceof FormGroup) { //{5}\n this.validateAllFormFields(control); //{6}\n }\n });\n }\n ngAfterViewInit() {\n this.regPlanOwnerSearchForm.form.addControl('nameForm', this.nameChild.form);\n this.nameChild.form.setParent(this.regPlanOwnerSearchForm.form);\n\n }\n\n reset() {\n // Reset child components\n if (this.nameChild) {\n this.nameChild.reset();\n }\n if (this.cityTownChild) {\n this.cityTownChild.reset();\n }\n\n // Reset form controls in the parent form\n this.regPlanOwnerSearchForm.form.reset();\n\n // Ensure validation states are also reset\n Object.keys(this.regPlanOwnerSearchForm.form.controls).forEach(key => {\n this.regPlanOwnerSearchForm.form.get(key)?.markAsPristine();\n this.regPlanOwnerSearchForm.form.get(key)?.markAsUntouched();\n this.regPlanOwnerSearchForm.form.get(key)?.updateValueAndValidity();\n });\n\n console.log(\"RegPlanOwnerSearchComponent has been reset.\");\n }\n\n}\n","
\r\n

Search Registered Land Plans by

\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n","import { Injectable, Inject } from \"@angular/core\";\r\nimport { HttpClient, HttpHeaders, HttpResponseBase, HttpResponse } from \"@angular/common/http\";\r\nimport { Observable, throwError as _observableThrow, of as _observableOf } from 'rxjs';\r\nimport { mergeMap as _observableMergeMap, catchError as _observableCatch, map } from 'rxjs/operators';\r\nimport { LCPlansListVM, GetRegPlanStreetSearchQuery, GetRegGetPlanPagesQuery, GetRegPlanOwnerSearchQuery, GetRegPlanNumSearchQuery } from \"../shared/viewmodels/ISearchServiceReg\";\r\nimport { GetSBImagesQuery } from \"../shared/viewmodels/ISearchService\";\r\n\r\nexport class SwaggerException extends Error {\r\n message: string;\r\n status: number;\r\n response: string;\r\n headers: { [key: string]: any; };\r\n result: any;\r\n\r\n constructor(message: string, status: number, response: string, headers: { [key: string]: any; }, result: any) {\r\n super();\r\n\r\n this.message = message;\r\n this.status = status;\r\n this.response = response;\r\n this.headers = headers;\r\n this.result = result;\r\n }\r\n\r\n protected isSwaggerException = true;\r\n\r\n static isSwaggerException(obj: any): obj is SwaggerException {\r\n return obj.isSwaggerException === true;\r\n }\r\n}\r\n\r\n\r\n@Injectable()\r\nexport class RegPlanSearchService {\r\n myAppUrl: string = \"\";\r\n\r\n protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined;\r\n\r\n\r\n constructor(private _http: HttpClient, @Inject('BASE_URL') baseUrl: string) {\r\n this.myAppUrl = baseUrl;\r\n }\r\n\r\n\r\n\r\n getRegPlanStreetSearchResults(search: GetRegPlanStreetSearchQuery): Observable {\r\n let url_ = this.myAppUrl + \"api/ES/RegGetPlansByStreet\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n const content_ = JSON.stringify(search);\r\n\r\n let options_: any = {\r\n body: content_,\r\n observe: \"response\",\r\n responseType: \"blob\",\r\n headers: new HttpHeaders({\r\n \"Content-Type\": \"application/json\",\r\n })\r\n };\r\n return this._http.request(\"post\", url_, options_).pipe(_observableMergeMap((response_: any) => {\r\n return this.processGetRegPlanStreetSearchResponse(response_);\r\n })).pipe(_observableCatch((response_: any) => {\r\n if (response_ instanceof HttpResponseBase) {\r\n try {\r\n return this.processGetRegPlanStreetSearchResponse(response_);\r\n } catch (e) {\r\n return >_observableThrow(e);\r\n }\r\n } else\r\n return >_observableThrow(response_);\r\n\r\n }));\r\n\r\n }\r\n processGetRegPlanStreetSearchResponse(response: HttpResponseBase): Observable {\r\n const status = response.status;\r\n const responseBlob =\r\n response instanceof HttpResponse ? response.body :\r\n (response).error instanceof Blob ? (response).error : undefined;\r\n\r\n let _headers: any = {}; if (response.headers) { for (let key of response.headers.keys()) { _headers[key] = response.headers.get(key); } };\r\n if (status === 200) {\r\n return this.blobToText(responseBlob).pipe(_observableMergeMap(_responseText => {\r\n let result200: any = null;\r\n let resultData200 = _responseText === \"\" ? null : JSON.parse(_responseText, this.jsonParseReviver);\r\n result200 = LCPlansListVM.fromJS(resultData200);\r\n return _observableOf(result200);\r\n }));\r\n } else if (status !== 200 && status !== 204) {\r\n return this.blobToText(responseBlob).pipe(_observableMergeMap(_responseText => {\r\n return this.throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }));\r\n }\r\n return _observableOf(null);\r\n\r\n }\r\n\r\n\r\n getRegPlanOwnerSearchResults(search: GetRegPlanOwnerSearchQuery): Observable {\r\n let url_ = this.myAppUrl + \"api/ES/RegGetPlansByOwner\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n const content_ = JSON.stringify(search);\r\n\r\n let options_: any = {\r\n body: content_,\r\n observe: \"response\",\r\n responseType: \"blob\",\r\n headers: new HttpHeaders({\r\n \"Content-Type\": \"application/json\",\r\n })\r\n };\r\n return this._http.request(\"post\", url_, options_).pipe(_observableMergeMap((response_: any) => {\r\n return this.processGetRegPlanOwnerSearchResponse(response_);\r\n })).pipe(_observableCatch((response_: any) => {\r\n if (response_ instanceof HttpResponseBase) {\r\n try {\r\n return this.processGetRegPlanOwnerSearchResponse(response_);\r\n } catch (e) {\r\n return >_observableThrow(e);\r\n }\r\n } else\r\n return >_observableThrow(response_);\r\n\r\n }));\r\n\r\n }\r\n processGetRegPlanOwnerSearchResponse(response: HttpResponseBase): Observable {\r\n const status = response.status;\r\n const responseBlob =\r\n response instanceof HttpResponse ? response.body :\r\n (response).error instanceof Blob ? (response).error : undefined;\r\n\r\n let _headers: any = {}; if (response.headers) { for (let key of response.headers.keys()) { _headers[key] = response.headers.get(key); } };\r\n if (status === 200) {\r\n return this.blobToText(responseBlob).pipe(_observableMergeMap(_responseText => {\r\n let result200: any = null;\r\n let resultData200 = _responseText === \"\" ? null : JSON.parse(_responseText, this.jsonParseReviver);\r\n result200 = LCPlansListVM.fromJS(resultData200);\r\n return _observableOf(result200);\r\n }));\r\n } else if (status !== 200 && status !== 204) {\r\n return this.blobToText(responseBlob).pipe(_observableMergeMap(_responseText => {\r\n return this.throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }));\r\n }\r\n return _observableOf(null);\r\n\r\n }\r\n\r\n getRegPlanNumSearchResults(search: GetRegPlanNumSearchQuery): Observable {\r\n let url_ = this.myAppUrl + \"api/ES/RegGetPlansByPlanNum\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n const content_ = JSON.stringify(search);\r\n\r\n let options_: any = {\r\n body: content_,\r\n observe: \"response\",\r\n responseType: \"blob\",\r\n headers: new HttpHeaders({\r\n \"Content-Type\": \"application/json\",\r\n })\r\n };\r\n return this._http.request(\"post\", url_, options_).pipe(_observableMergeMap((response_: any) => {\r\n return this.processGetRegPlanNumSearchResponse(response_);\r\n })).pipe(_observableCatch((response_: any) => {\r\n if (response_ instanceof HttpResponseBase) {\r\n try {\r\n return this.processGetRegPlanNumSearchResponse(response_);\r\n } catch (e) {\r\n return >_observableThrow(e);\r\n }\r\n } else\r\n return >_observableThrow(response_);\r\n\r\n }));\r\n\r\n }\r\n processGetRegPlanNumSearchResponse(response: HttpResponseBase): Observable {\r\n const status = response.status;\r\n const responseBlob =\r\n response instanceof HttpResponse ? response.body :\r\n (response).error instanceof Blob ? (response).error : undefined;\r\n\r\n let _headers: any = {}; if (response.headers) { for (let key of response.headers.keys()) { _headers[key] = response.headers.get(key); } };\r\n if (status === 200) {\r\n return this.blobToText(responseBlob).pipe(_observableMergeMap(_responseText => {\r\n let result200: any = null;\r\n let resultData200 = _responseText === \"\" ? null : JSON.parse(_responseText, this.jsonParseReviver);\r\n result200 = LCPlansListVM.fromJS(resultData200);\r\n return _observableOf(result200);\r\n }));\r\n } else if (status !== 200 && status !== 204) {\r\n return this.blobToText(responseBlob).pipe(_observableMergeMap(_responseText => {\r\n return this.throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }));\r\n }\r\n return _observableOf(null);\r\n\r\n }\r\n\r\n getRegPlanPages(search: GetRegGetPlanPagesQuery): Observable {\r\n let url_ = this.myAppUrl + \"api/ES/GetRegGetPlanPages\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n const content_ = JSON.stringify(search);\r\n\r\n let options_: any = {\r\n body: content_,\r\n observe: \"response\",\r\n responseType: \"blob\",\r\n headers: new HttpHeaders({\r\n \"Content-Type\": \"application/json\",\r\n })\r\n };\r\n return this._http.request(\"post\", url_, options_).pipe(_observableMergeMap((response_: any) => {\r\n return this.processGetRegPlanPagesResponse(response_);\r\n })).pipe(_observableCatch((response_: any) => {\r\n if (response_ instanceof HttpResponseBase) {\r\n try {\r\n return this.processGetRegPlanPagesResponse(response_);\r\n } catch (e) {\r\n return >_observableThrow(e);\r\n }\r\n } else\r\n return >_observableThrow(response_);\r\n\r\n }));\r\n\r\n }\r\n processGetRegPlanPagesResponse(response: HttpResponseBase): Observable {\r\n const status = response.status;\r\n const responseBlob =\r\n response instanceof HttpResponse ? response.body :\r\n (response).error instanceof Blob ? (response).error : undefined;\r\n\r\n let _headers: any = {}; if (response.headers) { for (let key of response.headers.keys()) { _headers[key] = response.headers.get(key); } };\r\n if (status === 200) {\r\n return this.blobToText(responseBlob).pipe(_observableMergeMap(_responseText => {\r\n //let result200: any = null;\r\n //let resultData200 = _responseText === \"\" ? null : JSON.parse(_responseText, this.jsonParseReviver);\r\n //result200 = resultData200 ;\r\n //return _observableOf(result200);\r\n console.log(_responseText)\r\n return _observableOf(_responseText);\r\n }));\r\n } else if (status !== 200 && status !== 204) {\r\n return this.blobToText(responseBlob).pipe(_observableMergeMap(_responseText => {\r\n return this.throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }));\r\n }\r\n return _observableOf(null);\r\n\r\n }\r\n\r\n GetDocPlanPage(path: string, page: number) {\r\n console.log('getDocPlanImgByBP');\r\n\r\n return this._http.get(this.myAppUrl + 'api/ES/GetDocPlanPage?path=' + path + '&page=' + page, { responseType: 'text' });\r\n }\r\n\r\n RegGetCondoPlanByCondoName(condoName:string) {\r\n console.log('RegGetCondoPlanByCondoName');\r\n\r\n return this._http.get(this.myAppUrl + 'api/ES/RegGetCondoPlanByCondoName?pCondoName=' + condoName , { responseType: 'text' });\r\n }\r\n\r\n RegGetCondoPlanByMasterNum(condoMasterNum:string) {\r\n console.log('RegGetCondoPlanByMasterNum');\r\n\r\n return this._http.get(this.myAppUrl + 'api/ES/RegGetCondoPlanByMasterNum?pCondoMasterNum=' + condoMasterNum , { responseType: 'text' });\r\n }\r\n\r\n RegGetRelatedPlans(planName: string, planType: string) {\r\n console.log('RegGetRelatedPlans');\r\n\r\n return this._http.get(this.myAppUrl + 'api/ES/RegGetRelatedPlans?pPlanName=' + planName + '&pPlanType=' + planType);\r\n }\r\n\r\n DownloadPlans(search: GetSBImagesQuery): Observable {\r\n let url_ = this.myAppUrl + \"api/ES/DownloadPlans\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n const content_ = JSON.stringify(search);\r\n\r\n let options_: any = {\r\n body: content_,\r\n observe: \"response\",\r\n responseType: \"blob\",\r\n headers: new HttpHeaders({\r\n \"Content-Type\": \"application/json\",\r\n })\r\n };\r\n\r\n return this._http.request(\"post\", url_, options_).pipe(map((res: any) => {\r\n return new Blob([res.body], {\r\n type: 'application/zip'\r\n });\r\n }));\r\n }\r\n \r\n\r\n blobToText(blob: any): Observable {\r\n return new Observable((observer: any) => {\r\n if (!blob) {\r\n observer.next(\"\");\r\n observer.complete();\r\n } else {\r\n let reader = new FileReader();\r\n reader.onload = event => {\r\n observer.next((event.target).result);\r\n observer.complete();\r\n };\r\n reader.readAsText(blob);\r\n }\r\n });\r\n }\r\n\r\n\r\n throwException(message: string, status: number, response: string, headers: { [key: string]: any; }, result?: any): Observable {\r\n if (result !== null && result !== undefined)\r\n return _observableThrow(result);\r\n else\r\n return _observableThrow(new SwaggerException(message, status, response, headers, null));\r\n }\r\n\r\n\r\n \r\n \r\n\r\n\r\n\r\n logError(message: string) {\r\n this._http.get(this.myAppUrl + 'api/ES/LogError?message=' + message);\r\n }\r\n\r\n logInfo(message: string) {\r\n this._http.get(this.myAppUrl + 'api/ES/LogInfo?message=' + message);\r\n }\r\n\r\n logWarning(message: string) {\r\n this._http.get(this.myAppUrl + 'api/ES/LogWarning?message=' + message);\r\n }\r\n}\r\n","import { Component, OnInit, Input, SimpleChange } from '@angular/core';\r\nimport { CityTownCIF } from '../../../shared/viewmodels/UtilityObj';\r\nimport { RegSearchService } from '../../reg-search-service';\r\nimport { Router } from '@angular/router';\r\nimport { Store } from '@ngrx/store';\r\nimport { AppState, getCoreSearchState } from '../../../store/reducers/reducers';\r\nimport { FormGroup, FormBuilder, Validators } from '@angular/forms';\r\n\r\n@Component({\r\n selector: 'lib-city-town-ex-lc',\r\n providers: [RegSearchService],\r\n templateUrl: './city-town-ex-lc.component.html',\r\n styleUrls: ['./city-town-ex-lc.component.css']\r\n})\r\nexport class CityTownExLcComponent {\r\n\r\n public utilityobj: CityTownCIF;\r\n public message: any;\r\n public error: any;\r\n public toggleCheck: boolean = false;\r\n @Input() public type: string;\r\n public isChecked: boolean = false;\r\n\r\n public selectedTowns: string = \"All Towns\";\r\n public form: FormGroup;\r\n constructor(private service: RegSearchService, private store: Store, private router: Router) {\r\n ////console.log(this.type);\r\n //this.utilityobj = new CityTownCIF();\r\n //this.store.select(getCoreSearchState).subscribe(data => this.message = data);\r\n ////console.log(this.message.city[0]);\r\n ////if (this.message.city[0].citytowns.length != 0) {\r\n //if (this.message != undefined && this.message.city.city[0] != null && this.message.city.city[0].citytowns.length != 0) {\r\n // let cnt = this.message.city.city[0].citytowns.length;\r\n // this.utilityobj.citytowns = this.message.city.city[0].citytowns;\r\n\r\n //}\r\n\r\n //else {\r\n // this.getLCCityTowns();\r\n //}\r\n\r\n }\r\n\r\n ngOnInit() {\r\n this.utilityobj = new CityTownCIF();\r\n\r\n this.store.select(getCoreSearchState).subscribe(data => this.message = data);\r\n if (this.message != undefined && this.message.city != undefined && this.message.city.citytowns != null && this.message.city.citytowns.length != 0) {\r\n this.utilityobj.citytowns = this.message.city.citytowns[0].citytowns;\r\n var selectedTowns = this.utilityobj.citytowns.filter(function (value) { return value[\"isChecked\"] == true; });\r\n var townsString = \"\";\r\n selectedTowns.forEach(t => townsString = `${townsString} ${t.townName}`);\r\n this.selectedTowns = townsString;\r\n if (townsString.length === 0)\r\n this.selectedTowns = \"All Towns\";\r\n else if (townsString.length > 50)\r\n this.selectedTowns = this.selectedTowns.substring(0, 50) + '...';\r\n }\r\n\r\n else {\r\n this.getResults();\r\n }\r\n\r\n }\r\n\r\n ngOnChanges(changes: SimpleChange) {\r\n console.log(`Changes Fired: ${JSON.stringify(changes)}`);\r\n }\r\n\r\n getResults() {\r\n\r\n\r\n this.service.getLCCityTown().subscribe(\r\n data => {\r\n\r\n this.utilityobj.citytowns = data\r\n this.utilityobj.citytowns.forEach(function (value) {\r\n value[\"isChecked\"] = false;\r\n\r\n }\r\n\r\n );\r\n\r\n },\r\n error => { this.error = error }\r\n );\r\n\r\n }\r\n citySelected(city) {\r\n //console.log(`citySelected fired event: ${JSON.stringify(city)}`);\r\n this.utilityobj.citytowns = this.utilityobj.citytowns.map((val) => ({\r\n ...val\r\n }));\r\n var selectedTowns = this.utilityobj.citytowns.filter(function (value) { return value[\"isChecked\"] == true; });\r\n\r\n //console.log(`selctedTowns: ${JSON.stringify(selectedTowns)}`);\r\n var townsString = \"\";\r\n selectedTowns.forEach(t => townsString = `${townsString} ${t.townName}`);\r\n this.selectedTowns = townsString;\r\n if (townsString.length === 0)\r\n this.selectedTowns = \"All Towns\";\r\n else if (townsString.length > 50)\r\n this.selectedTowns = this.selectedTowns.substring(0, 50) + '...';\r\n }\r\n\r\n//getLCCityTowns() {\r\n// // console.log(this.type);\r\n\r\n\r\n// this.service.getLCCityTown().subscribe(\r\n// data => {\r\n\r\n// this.utilityobj.citytowns = data;\r\n// this.utilityobj.citytowns.forEach(function (value) {\r\n// value[\"isChecked\"] = false;\r\n\r\n// }\r\n\r\n// );\r\n\r\n// },\r\n// error => { this.error = error }\r\n// );\r\n\r\n//}\r\n\r\ncheckAll(event) {\r\n if (this.toggleCheck) {\r\n this.utilityobj.citytowns.forEach(function (val) {\r\n val[\"isChecked\"] = false;\r\n });\r\n this.isChecked = false;\r\n }\r\n else {\r\n this.utilityobj.citytowns.forEach(function (val) {\r\n val[\"isChecked\"] = true;\r\n });\r\n this.isChecked = true;\r\n }\r\n this.toggleCheck = !this.toggleCheck;\r\n}\r\n\r\nreset() {\r\n this.utilityobj = new CityTownCIF();\r\n this.selectedTowns = \"All Towns\";\r\n this.isChecked = false;\r\n\r\n // Reset checkbox states\r\n if (this.utilityobj.citytowns) {\r\n this.utilityobj.citytowns = this.utilityobj.citytowns.map((val) => ({\r\n ...val,\r\n isChecked: false,\r\n }));\r\n }\r\n\r\n // Optionally, refetch data\r\n this.getResults();\r\n}\r\n\r\n}\r\n","
\n \n
\n \n
\n
\n Clear All\n
\n
\n
\n  \n \n
\n
\n
\n
\n
\n","import { Component, OnInit } from '@angular/core';\nimport { DocTypeCIF } from '../../../shared/viewmodels/UtilityObj';\r\nimport { RegSearchService } from '../../reg-search-service';\r\nimport { Store } from '@ngrx/store';\r\nimport { AppState, getCoreSearchState } from '../../../store/reducers/reducers';\r\n\r\n\n@Component({\n selector: 'lib-doc-type-ex-lc',\n templateUrl: './doc-type-ex-lc.component.html',\n styleUrls: ['./doc-type-ex-lc.component.css']\n})\nexport class DocTypeExLcComponent implements OnInit {\n\n public utilityobj: DocTypeCIF;\n message: any;\n error: any;\n //public docTypes: DocTypeVM[];\n toggleCheck: boolean = false;\n public isChecked: boolean = false;\n public selectedDocs: string = \"All Doc Types\";\n\n constructor(private service: RegSearchService, private store: Store) {\n //this.utilityobj = new DocTypeCIF();\n //this.store.select(getCoreSearchState).subscribe(data => this.message = data);\n\n ////if (this.message.doct[0].doctypes.length != 0) {\n //if (this.message.doct[0]!=null) {\n // this.utilityobj.doctypes = this.message.doct.doct[0].doctypes;\n // console.log(this.utilityobj.doctypes[0]);\n //}\n\n //else {\n // this.getDocTypes();\n //}\n\n }\n\n ngOnInit() {\n\n this.utilityobj = new DocTypeCIF();\r\n this.store.select(getCoreSearchState).subscribe(data => this.message = data);\r\n\r\n //if (this.message.rec[0].doctypes.length != 0) {\r\n\r\n if (this.message.doct.doct != undefined && this.message.doct.doct[0] != null) {\r\n this.utilityobj.doctypes = this.message.doct.doct[0].doctypes;\r\n\r\n if (this.message.doct.doct[0] != null && this.message.doct.doct[0].doctypes.length != 0) {\r\n this.utilityobj.doctypes = this.message.doct.doct[0].doctypes;\r\n var selectedDocs = this.utilityobj.doctypes.filter(function (value) { return value[\"isChecked\"] == true; });\r\n var docString = \"\";\r\n selectedDocs.forEach(t => docString = `${docString} ${t.docName}`);\r\n this.selectedDocs = docString;\r\n console.log('type - ' + docString.length);\r\n if (docString.length === 0)\r\n this.selectedDocs = \"All Doc Types\";\r\n else if (docString.length > 50)\r\n this.selectedDocs = docString.substring(0, 50) + '...';\r\n }\r\n else {\r\n this.getDocTypes();\r\n }\r\n }\r\n else {\r\n this.getDocTypes();\r\n }\n }\n\n getDocTypes() {\n this.service.getLCDocTypes().subscribe(\n data => {\n\n this.utilityobj.doctypes = data\n this.utilityobj.doctypes.forEach(function (value) {\n value[\"isChecked\"] = false;\n\n }\n );\n\n },\n error => { this.error = error }\n );\n }\n\n docSelected(docType) {\r\n //console.log(`citySelected fired event: ${JSON.stringify(city)}`);\r\n\r\n this.utilityobj.doctypes = this.utilityobj.doctypes.map((val) => ({\r\n ...val\r\n }));\r\n\r\n var selectedDocs = this.utilityobj.doctypes.filter(function (value) { return value[\"isChecked\"] == true; });\r\n\r\n //console.log(`selctedTowns: ${JSON.stringify(selectedTowns)}`);\r\n var docsString = \"\";\r\n selectedDocs.forEach(t => docsString = `${docsString} ${t.docName}`);\r\n this.selectedDocs = docsString;\r\n if (docsString.length === 0)\r\n this.selectedDocs = \"All Doc Types\";\r\n else if (docsString.length > 50)\r\n this.selectedDocs = this.selectedDocs.substring(0, 50) + '...';\r\n\r\n }\r\n\r\n checkAll(event) {\r\n this.utilityobj.doctypes = this.utilityobj.doctypes.map((val) => ({\r\n ...val,\r\n isChecked: false,\r\n }));\r\n\r\n\r\n this.isChecked = false;\r\n this.selectedDocs = \"All Doc Types\"\r\n\r\n this.toggleCheck = !this.toggleCheck;\r\n }\n\n reset() {\r\n this.utilityobj = new DocTypeCIF();\r\n this.selectedDocs = \"All Doc Types\";\r\n this.isChecked = false;\r\n\r\n // Reset all checkboxes\r\n if (this.utilityobj.doctypes) {\r\n this.utilityobj.doctypes = this.utilityobj.doctypes.map((val) => ({\r\n ...val,\r\n isChecked: false,\r\n }));\r\n }\r\n\r\n // Optionally fetch fresh document types\r\n this.getDocTypes();\r\n }\n\n}\n","
\n \n
\n \n
\n
\n Clear All\n
\n
\n
\n  \n \n
\n
\n
\n
\n
\n","import { Component, OnInit, ViewChild } from '@angular/core';\nimport { RegDocVM, RegNameSearchRowVM, RegAddressSearchRowVM, GetRegAddressSearchQuery, GetRegAddressSearchReportQuery, SearchFilter } from '../../../shared/viewmodels/ISearchService';\nimport { DxDataGridComponent } from 'devextreme-angular';\nimport { CompoundNameComponent } from '../../../shared/components/compound-name/compound-name.component';\nimport { RegSearchService } from '../../../reg-search/reg-search-service';\nimport { Store } from '@ngrx/store';\nimport { AppState, getCoreSearchState } from '../../../store/reducers/reducers';\nimport { Router } from '@angular/router';\nimport { DomSanitizer } from '@angular/platform-browser';\nimport { CompoundAddressComponent } from '../../../shared/components/compound-address/compound-address.component';\nimport { take } from 'rxjs/operators';\n//import { forEach } from '@angular/router/src/utils/collection';\nimport { ReportViewerService } from '../../../shared/services/report-viewer.service';\nimport CustomStore from 'devextreme/data/custom_store';\nimport Swal from 'sweetalert2';\n\n\n@Component({\n selector: 'app-reg-address-search-grid',\n templateUrl: './reg-address-search-grid.component.html',\n providers: [RegSearchService, ReportViewerService],\n styleUrls: ['./reg-address-search-grid.component.css']\n})\nexport class RegAddressSearchGridComponent implements OnInit {\n\n @ViewChild(DxDataGridComponent, { static: true }) dataGrid: DxDataGridComponent;\n @ViewChild(CompoundAddressComponent) cName: CompoundAddressComponent;\n\n\n public errorMsg: string;\n public recsresults: any = {};//RegAddressSearchRowVM[];\n public recdoc: RegDocVM;\n public re: string;\n public remoteOps: any = {};\n applyFilterTypes: any;\n currentFilter: any;\n showFilterRow: boolean;\n console = console;\n towns: string[] = [];\n doctypes: string[] = [];\n\n userInput: any;\n\n focusedRowKey: number;\n recordCount: number;\n public infoFromServer: string;\n public noDataText: string = \"Loading...\";\n\n\n constructor(private service: RegSearchService, private reportService: ReportViewerService, private store: Store, private router: Router) {\n //this.store.select('coresearchdata').subscribe(data => this.userInput = data);\n this.remoteOps = {\n paging: false,\n filtering: false,\n sorting: false,\n grouping: false,\n summary: false\n };\n this.store.select(getCoreSearchState).pipe(take(1)).subscribe(data => {\n this.userInput = data;\n\n for (let city of this.userInput.city.city[0].citytowns) {\n if (city.isChecked)\n this.towns.push(city.townAbbrev);\n }\n\n for (let doctype of this.userInput.doct.doct[0].doctypes) {\n if (doctype.isChecked)\n this.doctypes.push(doctype.docCode);\n }\n\n\n this.getAddressResults(this.userInput.address.address[0].streetNumber,\n this.userInput.address.address[0].streetAddress,\n this.userInput.date.date[0].fromDate,\n this.userInput.date.date[0].toDate,\n this.towns);\n\n });\n\n this.showFilterRow = true;\n this.applyFilterTypes = [{\n key: \"auto\",\n name: \"Immediately\"\n }, {\n key: \"onClick\",\n name: \"On Button Click\"\n }];\n\n this.currentFilter = this.applyFilterTypes[0].key;\n\n }\n\n ngOnInit() {\n //this.recsresults = new CustomStore({\n // key: \"docID\",\n // load: (loadOptions: any) => {\n // let query = new GetRegAddressSearchQuery({\n // streetName: this.userInput.address[0].streetAddress,\n // streetNumber: this.userInput.address[0].streetNumber,\n // fromDate: this.userInput.date[0].fromDate,\n // toDate: this.userInput.date[0].toDate,\n // towns: this.towns\n // });\n // console.log(`${JSON.stringify(query)}`);\n // return this.service.getRegAddressSearchResults(query).toPromise().then(data => {\n // this.recordCount = data.regAddressSearchRows.length;\n\n // return {\n // data: data.regAddressSearchRows,\n // totalCount: data.regAddressSearchRows.length\n // }\n // }\n // ).catch(error => { throw 'Data Loading Error' });\n // }\n //});\n }\n\n clearFilter() {\n this.dataGrid.instance.clearFilter();\n }\n\n onInitialized(e) {\n\n }\n\n mouseover(event) {\n //console.log(`onmouseover fired: ${JSON.stringify(event)}`);\n //console.log(`target: ${event.target.id}`);\n //this.infoFromServer = event.target.id;\n\n var docIDstring = (event.target.id as string).split('_')[1];\n this.console.log(`Our docId: ${docIDstring}`);\n var docID = Number(docIDstring);\n this.service.getRegDoc(docID).subscribe(data => {\n this.infoFromServer = `\n
\n Grantors:
\n\n`;\n data.docTors.forEach(tor => {\n this.infoFromServer += \"  \" + tor.lastCorpName + \" \" + tor.fName + \"
\";\n });\n\n this.infoFromServer += \"Grantees:
\";\n data.docTees.forEach(tee => {\n this.infoFromServer += \"  \" + tee.lastCorpName + \" \" + tee.fName + \"
\"\n });\n this.infoFromServer += \"
\"\n });\n }\n\n getAddressResults(strtnum, strtname, fromdate, todate, towns) {\n let query = new GetRegAddressSearchQuery({\n streetName: strtname,\n streetNumber: strtnum,\n fromDate: fromdate,\n toDate: todate,\n towns: towns\n });\n console.log(`${JSON.stringify(query)}`);\n this.service.getRegAddressSearchResults(query).subscribe(data => {\n this.recsresults = data.regAddressSearchRows;\n this.recordCount = this.recsresults.length;\n if (this.recordCount == 0) {\n this.noDataText = \"No records found.\";\n Swal.fire(\"No records found.\");\r\n }\n },\n\n error => this.errorMsg = error\n\n );\n\n // this.service.getAddressSearchResults(strtnum, strtname, fromdate, todate, towns).subscribe(data => {\n // this.recsresults = data;\n // this.recordCount = this.recsresults.length\n // },\n\n // error => this.errorMsg = error\n\n // );\n //}\n }\n //Open image in another tab'\n imgClicked(event) {\n if (!this.dataGrid.instance.isRowSelected(event.row.key)) {\n this.dataGrid.instance.selectRows(event.row.key, false);\n }\n // this.nav.visible = false;\n\n\n }\n\n onExpanding(e) {\n this.focusedRowKey = e.component.option(\"focusedRowIndex\");\n this.focusedRowKey = e.key.index;\n e.component.collapseAll(-1);\n }\n\n assignTypes(filters: SearchFilter[]) {\n if (filters) {\n filters.forEach(fl => {\n if (fl.filterType == 'join') {\n this.assignTypes(fl.filters);\n } else {\n for (var prop in this.recsresults[0]) {\n if (prop == fl.fieldName) {\n fl.fieldType = typeof this.recsresults[0][prop];\n }\n }\n }\n\n });\n }\n }\n\n export() {\n\n var filtersUsed = this.dataGrid.instance.getCombinedFilter(true);// [[\"firstGrantor\", \"contains\", \"bed\"], \"and\", [\"firstGrantee\", \"contains\", \"or\"], \"and\", [\"recLandBook\", \"contains\", \"3\"]];//[[[\"recordDate\", \"<\", \"2000-04-03T04:00:00.000Z\"], \"or\", [\"recordDate\", \">=\", \"2000-04-04T04:00:00.000Z\"]], \"and\", [\"firstGrantor\", \"contains\", \"BED\"]];//\n var filters = new Array();\n var filterExpression = filtersUsed ? JSON.stringify(filtersUsed) : \"\";\n console.log(`filterExpression: ${filterExpression}`);\n var filterObjs = new Array();\n if (filterExpression) {\n var filtersOnGrid = SearchFilter.subHelper(filtersUsed, 0);\n filterObjs = [...filtersOnGrid];\n this.assignTypes(filterObjs);\n console.log(`filterObjs: ${JSON.stringify(filterObjs)}`);\n //filtersOnGrid.forEach(f => filters.push(JSON.stringify(f)));\n //console.log(`filters: ${JSON.stringify(filters)}`);\n }\n\n\n let getRegAddressSearchReportQuery = new GetRegAddressSearchReportQuery({\n fromDate: this.userInput.date.date[0].fromDate,\n toDate: this.userInput.date.date[0].toDate,\n towns: this.towns,\n streetNumber: this.userInput.address.address[0].streetNumber,\n streetName: this.userInput.address.address[0].streetAddress,\n doctypes: this.doctypes,\n sortBy: new Array(),\n sortDirection: \"desc\",\n filterExpression: filterExpression,\n filterObjects: filterObjs\n });\n\n this.reportService.getRegAddressSearchReport(getRegAddressSearchReportQuery).subscribe((reportName) => {\n this.router.navigate([`/report-viewer/${reportName.reportName}`]);\n })\n\n\n }\n\n\n}\n","
{{errorMsg}}
\r\n\r\n\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n\r\n \r\n \r\n\r\n \r\n \r\n \r\n\r\n\r\n \r\n
\r\n
\r\n {{row.data.recordDate | date:'MM/dd/yyyy'}}\r\n
\r\n \r\n
\r\n

{{data}}

\r\n\r\n
\r\n
\r\n\r\n
\r\n\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n
\r\n","import { Component, OnInit, Input, OnDestroy } from '@angular/core';\nimport { Router } from '@angular/router';\nimport { Store } from '@ngrx/store';\nimport { AppState, getCoreSearchState } from '../../../store/reducers/reducers';\nimport { NavMenuService } from '../../../shared/services/nav-menu-service';\nimport { RegSearchService } from '../../../reg-search/reg-search-service';\n\n@Component({\n selector: 'app-reg-address-search-header',\n providers: [RegSearchService],\n templateUrl: './reg-address-search-header.component.html',\n styleUrls: ['./reg-address-search-header.component.css']\n})\nexport class RegAddressSearchHeaderComponent implements OnInit, OnDestroy {\n\n recs: any;\n @Input() recordCount: number;\n towns: string[] = [];\n constructor(private router: Router, private store: Store, public nav: NavMenuService, private service: RegSearchService) {\n\n //store.select('rec').subscribe(data => this.recs = data);\n //for (let city of this.recs[0].citytowns) {\n // if (city.isChecked)\n // this.towns.push(city.townName);\n //}\n store.select(getCoreSearchState).subscribe(data => this.recs = data);\n for (let city of this.recs.city.city[0].citytowns) {\n if (city.isChecked)\n this.towns.push(city.townName);\n }\n\n }\n\n ngOnInit() {\n }\n\n back(url) {\n try {\n this.service.logInfo('Clicked back button');\n this.nav.show();\n //if (localStorage.getItem('recNameSearchResults') !== null) {\n // localStorage.removeItem('recNameSearchResults');\n //}\n this.router.navigate([url]);\n }\n catch (error) {\n this.service.logError(error);\n }\n\n }\n\n ngOnDestroy() {\n this.nav.show();\n }\n\n}\n","
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n

Registered Land Address Search Results

\r\n

\r\n Address: {{ recs.address.address[0].streetNumber }} {{recs.address.address[0].streetAddress}} Date: {{recs.date.date[0].fromDate| date:'MM-dd-yyyy'}} to {{recs.date.date[0].toDate| date:'MM-dd-yyyy'}} City/Town: Category: All Type: All {{recordCount}} records found\r\n

\r\n
\r\n \r\n
\r\n
\n","import { Component, OnInit, Input, HostListener, Output, EventEmitter, ViewChild } from '@angular/core';\r\nimport { DomSanitizer, SafeResourceUrl } from '@angular/platform-browser';\r\nimport { RegSearchService } from '../../reg-search-service';\r\nimport { GetLCCertTextQuery } from '../../../shared/viewmodels/ISearchService';\r\nimport { NgxExtendedPdfViewerComponent, PdfBreakpoints, pdfDefaultOptions } from 'ngx-extended-pdf-viewer';\r\n\r\n@Component({\r\n selector: 'lib-reg-cert-image',\r\n providers: [RegSearchService],\r\n templateUrl: './reg-cert-image.component.html',\r\n styleUrls: ['./reg-cert-image.component.css']\r\n})\r\nexport class RegCertImageComponent implements OnInit {\r\n @Input() certId: number;\r\n linkname: string = \"/reg-plan-certificate-doc-disp-pg\";\r\n\r\n public ctext: string = '';\r\n public pdfUrl: SafeResourceUrl | null = null;\r\n public error: any;\r\n public isLoadingDetail: boolean = true;\r\n public blobImage: any;\r\n @Input() currentImage: Array;\r\n public isLoadingImage: boolean = true;\r\n public imgvwr: any;\r\n public showimageviewer: boolean = false;\r\n public isImgVwVisible: boolean = true;\r\n screenWidth: any;\r\n @Output() public changeImgVwVisible = new EventEmitter();\r\n @ViewChild(NgxExtendedPdfViewerComponent, { static: false }) pdfViewer!: NgxExtendedPdfViewerComponent;\r\n public currentIndex!: number;\r\n\r\n constructor(\r\n private service: RegSearchService,\r\n private sanitizer: DomSanitizer\r\n ) {\r\n this.currentImage = new Array();\r\n}\r\n\r\n ngOnInit() {\r\n this.currentIndex = 1;\r\n this.getLCCertText(this.certId, this.linkname);\r\n }\r\n\r\n getLCCertText(certId: number, linkname: string) {\r\n const query = new GetLCCertTextQuery({\r\n certId: certId,\r\n linkName: linkname\r\n });\r\n\r\n this.isLoadingDetail = true;\r\n\r\n this.service.getLCCertText(query).subscribe(\r\n result => {\r\n if (result.type === 'pdf') {\r\n const base64Data = result.content;\r\n this.blobImage = base64Data;\r\n this.currentImage.push(this.blobImage);\r\n this.isLoadingImage = false;\r\n this.rePaintImgViewer();\r\n this.ctext = '';\r\n } else {\r\n this.ctext = result.content;\r\n this.pdfUrl = null;\r\n }\r\n\r\n this.isLoadingDetail = false;\r\n },\r\n error => {\r\n this.error = error;\r\n this.isLoadingDetail = false;\r\n }\r\n );\r\n }\r\n\r\n base64ToBlob(base64: string, mime: string): Blob {\r\n const byteChars = atob(base64);\r\n const byteArray = new Uint8Array(byteChars.length);\r\n for (let i = 0; i < byteChars.length; i++) {\r\n byteArray[i] = byteChars.charCodeAt(i);\r\n }\r\n return new Blob([byteArray], { type: mime });\r\n }\r\n\r\n rePaintImgViewer() {\r\n\r\n this.showimgviewer();\r\n\r\n }\r\n\r\n showimgviewer() {\r\n console.log('showimgviewer');\r\n this.showimageviewer = true;\r\n this.isImgVwVisible = false;\r\n this.isLoadingImage = false;\r\n if (this.imgvwr) this.imgvwr.download = false;\r\n this.getScreenSize(null);\r\n this.changeImgVwVisible.emit(this.isImgVwVisible);\r\n }\r\n\r\n @HostListener('window:resize', ['$event'])\r\n getScreenSize(event: any) {\r\n this.screenWidth = window.innerWidth;\r\n }\r\n\r\n onThumbnailDrawn(thumbnailEvent: any): void {\r\n const thumbnail = thumbnailEvent.thumbnail;\r\n const page = thumbnailEvent.pageId;\r\n\r\n // Ensure the thumbnail has a valid data attribute for reference\r\n thumbnail.setAttribute('data-page-number', String(page));\r\n\r\n // Attach event listener properly\r\n thumbnail.addEventListener('click', (event) => this.selectPage(event, page));\r\n }\r\n\r\n onPageChange(event: any): void {\r\n this.currentIndex = event; // Update current page index\r\n const radioButtons = document.querySelectorAll('.thumbnail-radiobutton') as NodeListOf;\r\n radioButtons.forEach((radio) => {\r\n radio.checked = (parseInt(radio.getAttribute('data-page-number') || '0', 10) === this.currentIndex);\r\n });\r\n }\r\n\r\n selectPage(event: MouseEvent, pageNumber: number): void {\r\n const target = event.target as HTMLElement;\r\n this.currentIndex = pageNumber;\r\n if (!target) {\r\n console.warn(\"Event target is undefined.\");\r\n return;\r\n }\r\n\r\n // Check if the event target is inside a thumbnail\r\n const thumbnailElement = target.closest('.thumbnail') as HTMLElement;\r\n if (!thumbnailElement) {\r\n console.warn(\"Thumbnail container not found.\");\r\n return;\r\n }\r\n\r\n console.log(`Thumbnail clicked, navigating to page: ${pageNumber}`);\r\n\r\n // Navigate to the selected page\r\n if (this.pdfViewer) {\r\n this.pdfViewer.page = pageNumber;\r\n }\r\n\r\n // Select the corresponding radio button\r\n const radioButtons = document.querySelectorAll('.thumbnail-radiobutton') as NodeListOf;\r\n radioButtons.forEach((radio) => {\r\n const pageAttr = radio.getAttribute('data-page-number');\r\n\r\n if (pageAttr === null) {\r\n console.warn(\"Radio button missing 'data-page-number' attribute.\", radio);\r\n return;\r\n }\r\n\r\n const radioPageNumber = parseInt(pageAttr, 10);\r\n\r\n if (isNaN(radioPageNumber)) {\r\n console.warn(`Invalid page number attribute on radio button: ${pageAttr}`, radio);\r\n return;\r\n }\r\n\r\n radio.checked = (radioPageNumber === pageNumber);\r\n });\r\n }\r\n\r\n navigateToPage(pageNumber: number): void {\r\n if (this.pdfViewer) {\r\n this.pdfViewer.page = pageNumber;\r\n }\r\n\r\n // Select the corresponding radio button\r\n const radioButtons = document.querySelectorAll('.thumbnail-radiobutton') as NodeListOf;\r\n radioButtons.forEach((radio) => {\r\n const pageAttr = radio.getAttribute('data-page-number');\r\n\r\n if (pageAttr === null) {\r\n console.warn(\"Radio button missing 'data-page-number' attribute.\", radio);\r\n return;\r\n }\r\n\r\n const radioPageNumber = parseInt(pageAttr, 10);\r\n\r\n if (isNaN(radioPageNumber)) {\r\n console.warn(`Invalid page number attribute on radio button: ${pageAttr}`, radio);\r\n return;\r\n }\r\n\r\n radio.checked = (radioPageNumber === pageNumber);\r\n\r\n });\r\n const thumbNails = document.querySelectorAll('.thumbnail') as NodeListOf;\r\n if (thumbNails.length >= pageNumber) {\r\n thumbNails[pageNumber].dispatchEvent(new Event('click'));\r\n }\r\n }\r\n}\r\n","
\r\n Loading Certificate ...\r\n
\r\n\r\n \r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n #PAGE_NUMBER\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n \r\n \r\n
\r\n\r\n \r\n
\r\n
\r\n
\r\n","import { Component, OnInit, ViewChild } from '@angular/core';\nimport { RegDateSearchRowVM, RecDocVM, GetRegDateSearchQuery, GetRegDateSearchReportQuery, SearchFilter } from '../../../shared/viewmodels/ISearchService';\nimport { DxDataGridComponent } from 'devextreme-angular';\nimport { CompoundNameComponent } from '../../../shared/components/compound-name/compound-name.component'\nimport { RegSearchService } from '../../../reg-search/reg-search-service';\nimport { Store } from '@ngrx/store';\nimport { AppState, getCoreSearchState } from '../../../store/reducers/reducers';\nimport { take } from 'rxjs/operators';\nimport { ReportViewerService } from '../../../shared/services/report-viewer.service';\nimport { Router } from '@angular/router';\nimport { ComponentCommunicationService } from '../../reg-search-communication-service';\nimport CustomStore from 'devextreme/data/custom_store';\nimport Swal from 'sweetalert2';\n\n@Component({\n selector: 'app-reg-date-search-grid',\n templateUrl: './reg-date-search-grid.component.html',\n providers: [RegSearchService, ReportViewerService],\n styleUrls: ['./reg-date-search-grid.component.css']\n})\nexport class RegDateSearchGridComponent implements OnInit {\n\n\n @ViewChild(DxDataGridComponent, { static: true }) dataGrid: DxDataGridComponent;\n @ViewChild(CompoundNameComponent) cName: CompoundNameComponent;\n\n\n public errorMsg: string;\n public recsresults: any = {};//RegDateSearchRowVM[];\n public recdoc: RecDocVM;\n public re: string;\n applyFilterTypes: any;\n currentFilter: any;\n showFilterRow: boolean;\n console = console;\n towns: string[] = [];\n doctypes: string[] = [];\n public remoteOps: any = {};\n\n userInput: any;\n\n focusedRowKey: number;\n recordCount: number;\n public infoFromServer: string;\n public noDataText: string = \"Loading...\";\n\n constructor(private service: RegSearchService, private reportService: ReportViewerService, private router: Router, private store: Store) {\n this.remoteOps = {\n paging: false,\n filtering: false,\n sorting: false,\n grouping: false,\n summary: false\n };\n\n this.store.select(getCoreSearchState).pipe(take(1)).subscribe(data => \n this.userInput = data);\n\n for (let city of this.userInput.city.city[0].citytowns) {\n if (city.isChecked)\n this.towns.push(city.townAbbrev);\n }\n\n for (let doctype of this.userInput.doct.doct[0].doctypes) {\n if (doctype.isChecked)\n this.doctypes.push(doctype.docCode);\n }\n\n this.getDateResults(this.userInput.date.date[0].fromDate, this.userInput.date.date[0].toDate, this.towns, this.doctypes);\n\n this.showFilterRow = true;\n this.applyFilterTypes = [{\n key: \"auto\",\n name: \"Immediately\"\n }, {\n key: \"onClick\",\n name: \"On Button Click\"\n }];\n\n this.currentFilter = this.applyFilterTypes[0].key;\n\n }\n mouseover(event) {\n //console.log(`onmouseover fired: ${JSON.stringify(event)}`);\n //console.log(`target: ${event.target.id}`);\n //this.infoFromServer = event.target.id;\n\n var docIDstring = (event.target.id as string).split('_')[1];\n this.console.log(`Our docId: ${docIDstring}`);\n var docID = Number(docIDstring);\n this.service.getRegDoc(docID).subscribe(data => {\n this.infoFromServer = `\n
\n Grantors:
\n\n`;\n data.docTors.forEach(tor => {\n this.infoFromServer += \"  \" + tor.lastCorpName + \" \" + tor.fName + \"
\";\n });\n\n this.infoFromServer += \"Grantees:
\";\n data.docTees.forEach(tee => {\n this.infoFromServer += \"  \" + tee.lastCorpName + \" \" + tee.fName + \"
\"\n });\n this.infoFromServer += \"
\"\n });\n }\n\n ngOnInit() {\n this.recsresults = new CustomStore({\n key: \"docID\",\n load: (loadOptions: any) => {\n let query = new GetRegDateSearchQuery({\n fromDate: this.userInput.date[0].fromDate,\n toDate: this.userInput.date[0].toDate,\n towns: this.towns,\n doctypes: this.doctypes\n });\n console.log(`${JSON.stringify(query)}`);\n return this.service.getRegDateSearchResults(query).toPromise().then(data => {\n this.recordCount = data.regDateSearchRows.length;\n\n return {\n data: data.regDateSearchRows,\n totalCount: data.regDateSearchRows.length\n }\n }\n ).catch(error => { throw 'Data Loading Error' });\n }\n });\n\n\n }\n\n getDateResults(fdate: any, tdate: any, towns: any, types: any) {\n\n let query = new GetRegDateSearchQuery( {\n fromDate: fdate,\n toDate: tdate,\n towns: towns,\n doctypes: types\n });\n \n this.service.getRegDateSearchResults(query).subscribe(data => {\n this.recsresults = data.regDateSearchRows!;\n this.recordCount = this.recsresults.length;\n if (this.recordCount == 0) {\n this.noDataText = \"No records found.\";\n Swal.fire(\"No records found.\");\r\n }\n },\n\n error => this.errorMsg = error\n\n );\n //this.service.getRegDateSearchResults(fdate, tdate, towns, types).subscribe(data => {\n // this.recsresults = data;\n // this.recordCount = this.recsresults.length\n //},\n\n // error => this.errorMsg = error\n\n //);\n }\n clearFilter() {\n this.dataGrid.instance.clearFilter();\n }\n\n onInitialized(e: any) {\n\n }\n\n //Open image in another tab'\n imgClicked(event: any) {\n if (!this.dataGrid.instance.isRowSelected(event.row.key)) {\n this.dataGrid.instance.selectRows(event.row.key, false);\n }\n // this.nav.visible = false;\n\n\n }\n\n onExpanding(e: any) {\n this.focusedRowKey = e.component.option(\"focusedRowIndex\");\n this.focusedRowKey = e.key.index;\n e.component.collapseAll(-1);\n }\n\n assignTypes(filters: SearchFilter[]) {\n if (filters) {\n filters.forEach(fl => {\n if (fl.filterType == 'join') {\n this.assignTypes(fl.filters);\n } else {\n for (var prop in this.recsresults[0]) {\n if (prop == fl.fieldName) {\n fl.fieldType = typeof this.recsresults[0][prop];\n }\n }\n }\n\n });\n }\n }\n\n export() {\n\n var filtersUsed = this.dataGrid.instance.getCombinedFilter(true);// [[\"firstGrantor\", \"contains\", \"bed\"], \"and\", [\"firstGrantee\", \"contains\", \"or\"], \"and\", [\"recLandBook\", \"contains\", \"3\"]];//[[[\"recordDate\", \"<\", \"2000-04-03T04:00:00.000Z\"], \"or\", [\"recordDate\", \">=\", \"2000-04-04T04:00:00.000Z\"]], \"and\", [\"firstGrantor\", \"contains\", \"BED\"]];//\n var filters = new Array();\n var filterExpression = filtersUsed ? JSON.stringify(filtersUsed) : \"\";\n console.log(`filterExpression: ${filterExpression}`);\n var filterObjs = new Array();\n if (filterExpression) {\n var filtersOnGrid = SearchFilter.subHelper(filtersUsed, 0);\n filterObjs = [...filtersOnGrid];\n this.assignTypes(filterObjs);\n console.log(`filterObjs: ${JSON.stringify(filterObjs)}`);\n //filtersOnGrid.forEach(f => filters.push(JSON.stringify(f)));\n //console.log(`filters: ${JSON.stringify(filters)}`);\n }\n\n let query = new GetRegDateSearchReportQuery({\n fromDate: this.userInput.date.date[0].fromDate,\n toDate: this.userInput.date.date[0].toDate,\n towns: this.towns,\n doctypes: this.doctypes,\n sortBy: new Array(),\n sortDirection: \"desc\",\n filterExpression: filterExpression,\n filterObjects: filterObjs\n });\n\n this.reportService.getRegDateSearchReport(query).subscribe(repName => {\n this.router.navigate([`/report-viewer/${repName.reportName}`]);\n });\n }\n\n}\n","
{{errorMsg}}
\r\n\r\n\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n\r\n \r\n \r\n\r\n \r\n \r\n \r\n\r\n \r\n
\r\n
\r\n {{row.data.recordDate | date:'MM/dd/yyyy'}}\r\n
\r\n \r\n
\r\n

{{data}}

\r\n\r\n
\r\n
\r\n\r\n
\r\n\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n\r\n\r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n\r\n
\r\n","import { Component, OnInit, Input } from '@angular/core';\nimport { RegSearchService } from '../../../reg-search/reg-search-service';\nimport { Router } from '@angular/router';\nimport { Store } from '@ngrx/store';\nimport { AppState, getCoreSearchState } from '../../../store/reducers/reducers';\nimport { NavMenuService } from '../../../shared/services/nav-menu-service';\nimport { take } from 'rxjs/operators';\n\n@Component({\n selector: 'app-reg-date-search-header',\n providers: [RegSearchService],\n templateUrl: './reg-date-search-header.component.html',\n styleUrls: ['./reg-date-search-header.component.css']\n})\nexport class RegDateSearchHeaderComponent implements OnInit {\n\n recs: any;\n @Input() recordCount: number;\n towns: string[] = [];\n constructor(private router: Router, private store: Store, public nav: NavMenuService, private service: RegSearchService) {\n\n //store.select('rec').subscribe(data => this.recs = data);\n //for (let city of this.recs[0].citytowns) {\n // if (city.isChecked)\n // this.towns.push(city.townName);\n //}\n this.store.select(getCoreSearchState).pipe(take(1)).subscribe(data => this.recs = data);\n for (let city of this.recs.city.city[0].citytowns) {\n if (city.isChecked)\n this.towns.push(city.townName);\n }\n\n }\n\n ngOnInit() {\n\n }\n\n back(url) {\n try {\n this.service.logInfo('Clicked back button');\n this.nav.show();\n //if (localStorage.getItem('recNameSearchResults') !== null) {\n // localStorage.removeItem('recNameSearchResults');\n //}\n this.router.navigate([url]);\n }\n catch (error) {\n this.service.logError(error);\n }\n\n }\n\n ngOnDestroy() {\n this.nav.show();\n }\n\n}\n","
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n

Registered Land Search Results

\r\n

\r\n Date: {{recs.date.date[0].fromDate| date:'MM-dd-yyyy'}} to {{recs.date.date[0].toDate| date:'MM-dd-yyyy'}} City/Town: Category: All Type: All {{recordCount}} records found\r\n

\r\n
\r\n \r\n
\r\n
\r\n","import { Component, OnInit, Input, EventEmitter, Output } from '@angular/core';\nimport { RegDocVM, InstrumentVM, PartyVM } from '../../../shared/viewmodels/ISearchService';\nimport { ComponentCommunicationService } from '../../reg-search-communication-service';\nimport { Router } from '@angular/router';\n\n@Component({\n selector: 'app-reg-doc-detail',\n templateUrl: './reg-doc-detail.component.html',\n styleUrls: ['./reg-doc-detail.component.css']\n})\nexport class RegDocDetailComponent implements OnInit {\n\n @Input() regDocVM: RegDocVM;\n @Input() docNum: string;\n @Input() loadingVisible: boolean = true;\n @Output() moveToRef = new EventEmitter();\n //@Input() book: string;\n //@Input() page: string;\n @Input() isImgVwVisible: boolean;\n @Input() linkname: string;\n\n constructor(private communicationService: ComponentCommunicationService, private router: Router) {\n console.log(\"info cons\");\n\n //this.referrences[0].items = this.recDocVM.docRefTo;\n //this.referrences[1].items = this.recDocVM.docRefBy;\n\n }\n\n ngOnInit() {\n console.log(\"linkname\" + this.linkname);\n console.log(this.regDocVM.docCerts);\n }\n\n ItemClick(e) {\n if (e === null) {\n console.log('ItemClick fired and event is null');\n }\n else {\n console.log(`ItemClick fired: ${e.itemData}`);\n let payload = e.itemData as InstrumentVM;\n console.log(`primaryID: ${payload.primaryID}`);\n console.log(`secondaryID: ${payload.secondaryID}`);\n this.moveToRef.emit(payload);\n }\n }\n\n teeClick(e: { itemData: PartyVM }) {\n let payload = e.itemData;\n console.log(\"tee clicked\");\n this.communicationService.emitPopulateForm({\n lastCorpName: payload.lastCorpName,\n firstName: payload.fName\n });\n\n this.router.navigate(['/reg-name-search'], { queryParams: { lastCorpName: payload.lastCorpName, firstName: payload.fName } });\n }\n\n torClick(e: { itemData: PartyVM }) {\n let payload = e.itemData;\n console.log(\"tor clicked\");\n this.communicationService.emitPopulateForm({\n lastCorpName: payload.lastCorpName,\n firstName: payload.fName\n });\n\n this.router.navigate(['/reg-name-search'], { queryParams: { lastCorpName: payload.lastCorpName, firstName: payload.fName } });\n }\n\n\n //CertClick(url, certId) {\n // this.router.navigate([url,certId]);\n //}\n\n}\n","
\r\n

Date {{regDocVM.docDetail.recDate | date:'MM-dd-yyyy'}} Time {{regDocVM.docDetail.recDate | date:'h:mm a'}}

\r\n \r\n

Type {{regDocVM.docDetail.primaryID}}/{{regDocVM.docDetail.secondaryID}}/{{regDocVM.docDetail.docType}}

\r\n \r\n
\r\n \r\n

Document No. {{regDocVM.docDetail.primaryID}}

\r\n

\r\n Description\r\n

\r\n
\r\n
\r\n\r\n
\r\n

Grantors

\r\n \r\n
\r\n
\r\n {{dtor.lastCorpName}}, {{dtor.fName}}\r\n
\r\n \r\n {{dtor.lastCorpName}}\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n

Grantees

\r\n \r\n
\r\n
\r\n {{dtee.lastCorpName}}, {{dtee.fName}}\r\n
\r\n \r\n {{dtee.lastCorpName}}\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n

Referred by

\r\n \r\n\r\n
\r\n {{item.docType}}:{{item.primaryID}}/{{item.secondaryID}}\r\n
\r\n\r\n
\r\n
\r\n
\r\n

Refers to

\r\n \r\n\r\n
\r\n {{item.docType}}:{{item.primaryID}}/{{item.secondaryID}}\r\n
\r\n\r\n
\r\n
\r\n
\r\n

Transaction Documents

\r\n \r\n\r\n
\r\n {{item.docType}}:{{item.primaryID}}/{{item.secondaryID}}\r\n
\r\n\r\n
\r\n
\r\n
\r\n

Consideration: {{regDocVM.amount}}

\r\n

Locus:

\r\n
\r\n \r\n
\r\n
\r\n
\r\n

Certificates

\r\n \r\n\r\n
\r\n \r\n {{item.certNum}}\r\n
\r\n\r\n
\r\n
\r\n\r\n\r\n\r\n\r\n\r\n","import { Component, OnInit, Input, EventEmitter, ViewChild, Output, Renderer2, HostListener } from '@angular/core';\r\nimport { RegSearchService } from '../../../reg-search/reg-search-service';\r\nimport { InstrumentVM, RegDocVM } from '../../../shared/viewmodels/ISearchService';\r\nimport { basketVM } from '../../../shared/viewmodels/basketVM';\r\nimport { DocBasketComponent } from '../../../shared/components/doc-basket/doc-basket.component';\r\nimport { ActivatedRoute, Router } from '@angular/router';\r\nimport { NavMenuService } from '../../../shared/services/nav-menu-service';\r\nimport { NgxExtendedPdfViewerComponent, PdfBreakpoints, pdfDefaultOptions } from 'ngx-extended-pdf-viewer';\r\nimport { DxPopupModule } from 'devextreme-angular';\r\n\r\n@Component({\r\n selector: 'app-reg-doc-image',\r\n providers: [RegSearchService],\r\n templateUrl: './reg-doc-image.component.html',\r\n styleUrls: ['./reg-doc-image.component.css']\r\n})\r\nexport class RegDocImageComponent implements OnInit {\r\n\r\n @Input() docId: number;\r\n @Input() docNum: string;\r\n public pageCount!: number;\r\n public currentPage: number;\r\n public currentIndex!: number;\r\n public currentImageIndex!: number;\r\n public docImages: Array;\r\n @Input() currentImage: Array;\r\n public documents: Array;\r\n public bufferSize: number = 5;\r\n public record!: RegDocVM;\r\n public isLoadingImage: boolean = false;\r\n public isLoadingDetail: boolean = true;\r\n public showimageviewer: boolean = false;\r\n public isImgVwVisible: boolean = true;\r\n public blobImage: string;\r\n error: any;\r\n evtEmitter = new EventEmitter();\r\n previewImage: any;\r\n public imgvwr: any;\r\n public docbegindocnum: any;\r\n public isFirstPage!: boolean;\r\n public isLastPage!: boolean;\r\n public returndoc: any;\r\n public returndocId: any;\r\n public sDocument!: string;\r\n @ViewChild(DocBasketComponent) docBasketChild: DocBasketComponent;\r\n @ViewChild(NgxExtendedPdfViewerComponent, { static: false }) pdfViewer: NgxExtendedPdfViewerComponent;\r\n basketItem!: basketVM;\r\n collapseGo: boolean = false;\r\n collapseReturn: boolean = false;\r\n screenWidth: any;\r\n @Output() public changeImgVwVisible = new EventEmitter();\r\n @Output() public changeInInfo = new EventEmitter();\r\n popupVisible: boolean = false;\r\n Message!: string;\r\n isSmallScreen = false; // Tracks if the screen is small\r\n\r\n\r\n constructor(private route: ActivatedRoute,\r\n private service: RegSearchService,\r\n private router: Router, private renderer: Renderer2, public nav: NavMenuService) {\r\n this.docImages = new Array();\r\n this.currentImage = new Array();\r\n this.documents = new Array();\r\n this.currentPage = 0;\r\n this.docId = Number(this.route.snapshot.paramMap.get('docId'));\r\n console.log('docId: ' + this.docId);\r\n this.docNum = this.route.snapshot.paramMap.get('docNum')!;\r\n console.log('docnum: ' + this.docNum);\r\n // initialize counters to hold first page of a document.\r\n this.docbegindocnum = this.docNum;\r\n // initialize counters to hold book/page to return to initial search.\r\n this.returndoc = this.docNum;\r\n this.returndocId = this.docId;\r\n this.nav.hide();\r\n this.getScreenSize(null);\r\n pdfDefaultOptions.maxCanvasPixels = -1;\r\n\r\n }\r\n\r\n /** Initialize image viewer */\r\n ngOnInit() {\r\n console.log('ngOnInit() fired');\r\n console.log('Calling loadImageByBookPage() from ngOnInit ' + this.docId);\r\n this.currentIndex = 1;\r\n this.currentImageIndex = 0;\r\n this.isLoadingDetail = true;\r\n if (this.docId > 0) {\r\n this.service.getRegDoc(this.docId).subscribe(\r\n data => {\r\n this.record = data;\r\n this.pageCount = this.record.docDetail.pageCount;\r\n this.documents.push(this.record.docDetail);\r\n this.isLoadingDetail = false;\r\n //this.getLCDocImagePageByID(this.docId, this.currentPage);\r\n this.getLCDocImageTotByID(this.docId);\r\n this.changeNavigationbutton(this.pageCount);\r\n this.changeInInfo.emit(this.record);\r\n\r\n });\r\n }\r\n\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.toggleSidebar();\r\n }\r\n\r\n @HostListener('window:resize', [])\r\n onResize(): void {\r\n this.toggleSidebar();\r\n }\r\n\r\n toggleSidebar(): void {\r\n this.isSmallScreen = window.innerWidth < 768; // Adjust the width threshold as needed\r\n\r\n if (this.pdfViewer) {\r\n this.pdfViewer.sidebarVisible = !this.isSmallScreen; // Hide sidebar on small screens\r\n }\r\n }\r\n\r\n loadRef(e: InstrumentVM) {\r\n console.log(`loadRef fired: ${e}`);\r\n this.isLoadingDetail = true;\r\n this.isLoadingImage = true;\r\n this.docId = e.docID;\r\n this.docbegindocnum = e.primaryID;\r\n this.sDocument = '';\r\n this.currentIndex = 1;\r\n this.docImages = new Array();\r\n this.currentImage = new Array();\r\n this.documents = new Array();\r\n this.ngOnInit();\r\n }\r\n\r\n getLCDocImagePageByID(docId: number, currentPage: number, push: boolean = true) {\r\n //this.isLoadingImage = true;\r\n console.log(\"current doc and page\" + docId + currentPage);\r\n this.service.getLCDocImagePageByID(docId, currentPage).subscribe(\r\n data => {\r\n if (push) {\r\n this.docImages.push(data);\r\n console.log('push' + this.docImages.length);\r\n //TODO: code to manage the size of the docImages array\r\n if (this.docImages.length > this.bufferSize) {\r\n this.docImages.shift();\r\n console.log('shift' + this.docImages.length);\r\n this.currentImageIndex = this.bufferSize;\r\n\r\n }\r\n else {\r\n this.currentImageIndex++;\r\n }\r\n console.log(\"docimages and CII\" + this.docImages.length + this.currentImageIndex);\r\n }\r\n else {\r\n this.docImages.splice(0, 0, data);\r\n console.log('splice' + this.docImages.length);\r\n //TODO: code to manage the size of the docImages array\r\n if (this.docImages.length > this.bufferSize) {\r\n this.docImages.pop();\r\n console.log('pop' + this.docImages.length);\r\n this.currentImageIndex = 1;\r\n }\r\n else {\r\n this.currentImageIndex = 1;\r\n }\r\n }\r\n this.showImage((this.currentImageIndex - 1));\r\n //this.isLoadingImage = false;\r\n },\r\n error => { this.error = error }\r\n );\r\n }\r\n\r\n getLCDocImageTotByID(docId: number) {\r\n this.service.getLCDocTotStrm(docId).subscribe({\r\n next: base64String => {\r\n this.blobImage = base64String;\r\n this.currentImage.push(this.blobImage);\r\n this.isLoadingImage = false;\r\n this.rePaintImgViewer();\r\n },\r\n error: err => {\r\n console.error(\"Error fetching or converting image:\", err);\r\n this.isLoadingImage = false;\r\n }\r\n });\r\n }\r\n\r\n showImage(idx: number) {\r\n this.isLoadingImage = true;\r\n if (this.currentImage.length === 1) {\r\n this.currentImage.pop();\r\n }\r\n this.currentImage.push(this.docImages[idx]);\r\n this.blobImage = this.docImages[idx];\r\n this.isLoadingImage = false;\r\n this.rePaintImgViewer();\r\n\r\n }\r\n\r\n /**\r\n * Navigate to previous page.\r\n * @param url\r\n */\r\n back(url: string) {\r\n\r\n this.router.navigate([url]);\r\n //window.opener = 'Self';\r\n //window.open('', '_parent', '');\r\n //window.close();\r\n\r\n }\r\n\r\n showimgviewer() {\r\n this.showimageviewer = true;\r\n this.isImgVwVisible = false;\r\n this.getScreenSize(null);\r\n this.changeImgVwVisible.emit(this.isImgVwVisible);\r\n }\r\n\r\n /**\r\n * Search document for a book and page number entered by the user.\r\n * @param sDocument\r\n */\r\n searchDocument(sDocument: string) {\r\n this.docImages = new Array();\r\n this.currentImage = new Array();\r\n this.documents = new Array();\r\n\r\n\r\n this.currentIndex = 1;\r\n this.currentImageIndex = 0;\r\n this.currentPage = 0;\r\n this.isLoadingDetail = true;\r\n\r\n\r\n this.service.searchRegDoc(sDocument).subscribe(\r\n data => {\r\n this.record = data;\r\n this.docId = data.docID;\r\n this.docbegindocnum = data.docDetail.primaryID;\r\n this.pageCount = data.docDetail.pageCount;\r\n this.documents.push(this.record.docDetail);\r\n\r\n this.isLoadingDetail = false;\r\n this.isLoadingImage = true;\r\n //this.getLCDocImagePageByID(this.docId, this.currentPage, true);\r\n this.getLCDocImageTotByID(this.docId);\r\n this.changeNavigationbutton(this.pageCount);\r\n this.changeInInfo.emit(data);\r\n },\r\n error => { this.error = error }\r\n );\r\n\r\n }\r\n\r\n /**\r\n * Navigates to first page of next document.\r\n * @param event\r\n */\r\n getNextDocument(event: Event) {\r\n\r\n this.docImages = new Array();\r\n this.currentImage = new Array();\r\n this.documents = new Array();\r\n\r\n this.sDocument = '';\r\n this.currentIndex = 1;\r\n this.currentImageIndex = 0;\r\n this.currentPage = 0;\r\n this.isLoadingDetail = true;\r\n\r\n // Get next document\r\n this.service.getNextLCDoc(this.docbegindocnum).subscribe(\r\n data => {\r\n this.record = data;\r\n this.docbegindocnum = data.docDetail.primaryID;\r\n this.docId = data.docID;\r\n this.docNum = data.docDetail.primaryID;\r\n this.pageCount = data.docDetail.pageCount;\r\n this.documents.push(this.record.docDetail);\r\n this.isLoadingDetail = false;\r\n this.isLoadingImage = true;\r\n //this.getLCDocImagePageByID(this.docId, this.currentPage, true);\r\n this.getLCDocImageTotByID(this.docId);\r\n this.changeNavigationbutton(this.pageCount);\r\n this.changeInInfo.emit(data);\r\n },\r\n error => { this.error = error }\r\n );\r\n }\r\n\r\n /**\r\n * Navigates to first page of previous document.\r\n * @param event\r\n */\r\n getPrevDocument(event: Event) {\r\n\r\n this.docImages = new Array();\r\n this.currentImage = new Array();\r\n this.documents = new Array();\r\n\r\n this.sDocument = '';\r\n this.currentIndex = 1;\r\n this.currentImageIndex = 0;\r\n this.currentPage = 0;\r\n this.isLoadingDetail = true;\r\n\r\n this.service.getPrevLCDoc(this.docbegindocnum).subscribe(\r\n data => {\r\n this.record = data;\r\n this.docbegindocnum = data.docDetail.primaryID;\r\n this.pageCount = data.docDetail.pageCount;\r\n this.docId = data.docID;\r\n this.docNum = data.docDetail.primaryID\r\n this.documents.push(this.record.docDetail);\r\n\r\n this.isLoadingDetail = false;\r\n this.isLoadingImage = true;\r\n\r\n //this.getLCDocImagePageByID(this.docId, this.currentPage, true);\r\n this.getLCDocImageTotByID(this.docId);\r\n this.changeNavigationbutton(this.pageCount);\r\n this.changeInInfo.emit(data);\r\n },\r\n error => { this.error = error }\r\n );\r\n\r\n }\r\n\r\n /**\r\n * Return to start of Search.\r\n * @param returndoc\r\n */\r\n returnToStart(returndocId: number) {\r\n this.docImages = new Array();\r\n this.currentImage = new Array();\r\n this.documents = new Array();\r\n\r\n this.sDocument = '';\r\n this.currentIndex = 1;\r\n this.currentImageIndex = 0;\r\n this.currentPage = 0;\r\n this.isLoadingDetail = true;\r\n\r\n\r\n this.docId = returndocId;\r\n\r\n this.service.getRegDoc(this.docId).subscribe(\r\n data => {\r\n this.record = data;\r\n this.docbegindocnum = data.docDetail.primaryID;\r\n this.pageCount = data.docDetail.pageCount;\r\n this.documents.push(this.record.docDetail);\r\n\r\n this.isLoadingDetail = false;\r\n this.isLoadingImage = true;\r\n\r\n //this.getLCDocImagePageByID(this.docId, this.currentPage, true);\r\n this.getLCDocImageTotByID(this.docId);\r\n this.changeNavigationbutton(this.pageCount);\r\n this.changeInInfo.emit(data);\r\n },\r\n error => { this.error = error }\r\n );\r\n\r\n }\r\n\r\n /**\r\n * Navigate to next page of a document.\r\n * @param event\r\n */\r\n getNextPg(event: Event) {\r\n\r\n this.currentIndex++;\r\n this.currentPage = this.currentPage + 1;\r\n console.log(\"nxt pg CII\" + this.currentImageIndex);\r\n if (this.docImages.length > this.currentImageIndex) {\r\n this.showImage(this.currentImageIndex);\r\n this.currentImageIndex++;\r\n }\r\n else\r\n this.getLCDocImagePageByID(this.docId, this.currentPage, true);\r\n this.changeNavigationbutton(this.pageCount);\r\n\r\n }\r\n\r\n /**\r\n * Navigate to previous page of a document.\r\n * @param event\r\n */\r\n getPrevPg(event: Event) {\r\n\r\n this.currentIndex--;\r\n this.currentPage = this.currentPage - 1;\r\n console.log('Prev cp' + this.currentPage);\r\n if (this.currentImageIndex > 1) {\r\n this.showImage((this.currentImageIndex - 2));\r\n this.currentImageIndex--;\r\n }\r\n else this.getLCDocImagePageByID(this.docId, this.currentPage, false);\r\n this.changeNavigationbutton(this.pageCount);\r\n\r\n }\r\n\r\n checkIfFirstPage(): boolean {\r\n if (this.currentIndex == 1) {\r\n return true;\r\n }\r\n else\r\n return false;\r\n }\r\n checkIfLastPage(): boolean {\r\n console.log(\"check last page\" + this.currentIndex + this.pageCount);\r\n if (this.currentIndex == this.pageCount) {\r\n return true;\r\n }\r\n else\r\n return false;\r\n }\r\n\r\n rePaintImgViewer() {\r\n //this.imgvwr = new ImageViewerComponent(this.renderer);\r\n //this.imgvwr.images = this.currentImage;\r\n //this.imgvwr.idContainer = \"idOnHTML\";\r\n\r\n //this.imgvwr.inicializarImageViewer();\r\n //this.imgvwr.proximaImagem();\r\n this.showimgviewer();\r\n }\r\n\r\n\r\n\r\n /**\r\n * Enable/Disable the navigation button, when its a first page or last page in the document.\r\n * @param pageCount\r\n */\r\n changeNavigationbutton(pageCount: number) {\r\n // Enable/disable navigation buttons.\r\n console.log(\"Next doc page count\" + pageCount)\r\n if (pageCount > 1) {\r\n if (this.currentIndex == 1) {\r\n this.isFirstPage = true;\r\n this.isLastPage = false;\r\n console.log(\"1\");\r\n }\r\n else if (this.currentIndex == this.pageCount) {\r\n this.isLastPage = true;\r\n this.isFirstPage = false;\r\n console.log(\"2\");\r\n }\r\n else {\r\n this.isLastPage = false;\r\n this.isFirstPage = false;\r\n console.log(\"3\");\r\n }\r\n\r\n }\r\n\r\n else {\r\n this.isLastPage = true;\r\n this.isFirstPage = true;\r\n console.log(\"4\");\r\n }\r\n\r\n console.log(this.isFirstPage);\r\n console.log(this.isLastPage);\r\n }\r\n\r\n /**\r\n * Navigate to First page in a document.\r\n * @param event\r\n */\r\n getFirstPg(event: Event) {\r\n console.log(\"firstpg\" + this.pageCount);\r\n // Get first page from cache if present.\r\n if (this.currentIndex <= this.bufferSize && this.currentImageIndex !== 1) {\r\n this.currentIndex = 1;\r\n this.currentImageIndex = 1;\r\n this.currentPage = 0;\r\n this.showImage(this.currentPage);\r\n this.changeNavigationbutton(this.pageCount);\r\n\r\n }\r\n\r\n // get first page from service when its not present in cache.\r\n else {\r\n this.currentIndex = 1;\r\n this.currentImageIndex = 0;\r\n this.currentPage = 0;\r\n this.docImages.length = 0;\r\n this.getLCDocImagePageByID(this.docId, this.currentPage, true);\r\n this.changeNavigationbutton(this.pageCount);\r\n }\r\n }\r\n\r\n /**\r\n * Navigate to Last page in a document.\r\n * @param event\r\n */\r\n getLastPg(event: Event) {\r\n console.log(\"lastpg\" + this.pageCount)\r\n let lastPgIdx: number = this.pageCount - 1;\r\n this.currentImageIndex = lastPgIdx;\r\n\r\n // Get last page from cache if present.\r\n if (this.pageCount <= this.bufferSize && this.docImages[lastPgIdx] != null) {\r\n\r\n this.currentImageIndex = this.pageCount - 1;\r\n this.currentPage = this.pageCount - 1;\r\n this.currentIndex = this.pageCount;\r\n this.showImage(this.currentImageIndex);\r\n this.changeNavigationbutton(this.pageCount);\r\n\r\n }\r\n\r\n\r\n ////get last page from service when its not present in cache.\r\n else {\r\n\r\n this.currentImageIndex = 0;\r\n this.currentPage = this.pageCount - 1;\r\n this.currentIndex = this.pageCount;\r\n this.docImages.length = 0;\r\n this.getLCDocImagePageByID(this.docId, this.currentPage, false);\r\n this.changeNavigationbutton(this.pageCount);\r\n\r\n }\r\n }\r\n\r\n\r\n allowDrop(ev: any) {\r\n console.log(\"allow drop\");\r\n ev.preventDefault();\r\n }\r\n\r\n drag(ev: any) {\r\n console.log(\"drag\");\r\n ev.dataTransfer.setData(\"text\", ev.target.id);\r\n }\r\n\r\n drop(docId: number, doctype: string, begindocnum: string, currentindex: number) {\r\n console.log(\"drop\");\r\n console.log(\"doctype\" + doctype + \"begindocnum\" + begindocnum + \"currentindex\" + currentindex);\r\n\r\n const index = this.docBasketChild.basketItems.findIndex(item => item.begindocnum === begindocnum && item.wholeDoc === false);\r\n if (index > -1) {\r\n if (this.docBasketChild.basketItems[index].pages.indexOf((currentindex - 1).toString()) > -1) {\r\n console.log(\"Duplicate entry\");\r\n this.Message = \"Document \" + begindocnum + \", p.\" + (currentindex) + \" is already added.\";\r\n this.popupVisible = true;\r\n }\r\n else {\r\n this.docBasketChild.basketItems[index].pageCount = this.docBasketChild.basketItems[index].pageCount + 1;\r\n this.docBasketChild.basketItems[index].pages.push((currentindex - 1).toString());\r\n console.log(\"Updated entry\");\r\n this.Message = \"Document \" + begindocnum + \", p.\" + (currentindex) + \" is added successfully.\";\r\n this.popupVisible = true;\r\n }\r\n }\r\n\r\n else {\r\n this.basketItem = new basketVM();\r\n this.basketItem.docType = doctype;\r\n this.basketItem.bookpage = begindocnum;\r\n this.basketItem.begindocnum = begindocnum;\r\n this.basketItem.docId = docId.toString();\r\n this.basketItem.isEmail = false;\r\n this.basketItem.isDownload = false;\r\n this.basketItem.downloadAs = 'pdf';\r\n this.basketItem.wholeDoc = false;\r\n this.basketItem.pageCount = 1;\r\n this.basketItem.pages = new Array((currentindex - 1).toString());\r\n this.basketItem.dept = 'L';\r\n\r\n this.docBasketChild.basketItems.push(this.basketItem);\r\n //update local storage\r\n if (localStorage.getItem(\"basket\").length > 0) {\r\n let basketls = JSON.parse(localStorage.getItem(\"basket\"));\r\n basketls.push(this.basketItem);\r\n localStorage.setItem(\"basket\", JSON.stringify(basketls));\r\n }\r\n\r\n console.log(\"Added entry\");\r\n this.Message = \"Document \" + begindocnum + \", p.\" + (currentindex) + \" is added successfully.\";\r\n this.popupVisible = true;\r\n }\r\n\r\n }\r\n\r\n toggleGo() {\r\n this.collapseGo = !this.collapseGo;\r\n }\r\n\r\n toggleReturn() {\r\n this.collapseReturn = !this.collapseReturn;\r\n }\r\n\r\n @HostListener('window:resize', ['$event'])\r\n getScreenSize(event: any) {\r\n this.screenWidth = window.innerWidth;\r\n }\r\n\r\n collapsesideinfo: boolean = false;\r\n\r\n toggleSideInfo() {\r\n this.collapsesideinfo = !this.collapsesideinfo;\r\n }\r\n\r\n onThumbnailDrawn(thumbnailEvent: any): void {\r\n const thumbnail = thumbnailEvent.thumbnail;\r\n const page = thumbnailEvent.pageId;\r\n\r\n // Ensure the thumbnail has a valid data attribute for reference\r\n thumbnail.setAttribute('data-page-number', String(page));\r\n\r\n // Attach event listener properly\r\n thumbnail.addEventListener('click', (event) => this.selectPage(event, page));\r\n }\r\n\r\n onPageChange(event: any): void {\r\n this.currentIndex = event; // Update current page index\r\n const radioButtons = document.querySelectorAll('.thumbnail-radiobutton') as NodeListOf;\r\n radioButtons.forEach((radio) => {\r\n radio.checked = (parseInt(radio.getAttribute('data-page-number') || '0', 10) === this.currentIndex);\r\n });\r\n }\r\n\r\n selectPage(event: MouseEvent, pageNumber: number): void {\r\n const target = event.target as HTMLElement;\r\n this.currentIndex = pageNumber;\r\n if (!target) {\r\n console.warn(\"Event target is undefined.\");\r\n return;\r\n }\r\n\r\n // Check if the event target is inside a thumbnail\r\n const thumbnailElement = target.closest('.thumbnail') as HTMLElement;\r\n if (!thumbnailElement) {\r\n console.warn(\"Thumbnail container not found.\");\r\n return;\r\n }\r\n\r\n console.log(`Thumbnail clicked, navigating to page: ${pageNumber}`);\r\n\r\n // Navigate to the selected page\r\n if (this.pdfViewer) {\r\n this.pdfViewer.page = pageNumber;\r\n }\r\n\r\n // Select the corresponding radio button\r\n const radioButtons = document.querySelectorAll('.thumbnail-radiobutton') as NodeListOf;\r\n radioButtons.forEach((radio) => {\r\n const pageAttr = radio.getAttribute('data-page-number');\r\n\r\n if (pageAttr === null) {\r\n console.warn(\"Radio button missing 'data-page-number' attribute.\", radio);\r\n return;\r\n }\r\n\r\n const radioPageNumber = parseInt(pageAttr, 10);\r\n\r\n if (isNaN(radioPageNumber)) {\r\n console.warn(`Invalid page number attribute on radio button: ${pageAttr}`, radio);\r\n return;\r\n }\r\n\r\n radio.checked = (radioPageNumber === pageNumber);\r\n });\r\n }\r\n\r\n navigateToPage(pageNumber: number): void {\r\n if (this.pdfViewer) {\r\n this.pdfViewer.page = pageNumber;\r\n }\r\n\r\n // Select the corresponding radio button\r\n const radioButtons = document.querySelectorAll('.thumbnail-radiobutton') as NodeListOf;\r\n radioButtons.forEach((radio) => {\r\n const pageAttr = radio.getAttribute('data-page-number');\r\n\r\n if (pageAttr === null) {\r\n console.warn(\"Radio button missing 'data-page-number' attribute.\", radio);\r\n return;\r\n }\r\n\r\n const radioPageNumber = parseInt(pageAttr, 10);\r\n\r\n if (isNaN(radioPageNumber)) {\r\n console.warn(`Invalid page number attribute on radio button: ${pageAttr}`, radio);\r\n return;\r\n }\r\n\r\n radio.checked = (radioPageNumber === pageNumber);\r\n\r\n });\r\n const thumbNails = document.querySelectorAll('.thumbnail') as NodeListOf;\r\n if (thumbNails.length >= pageNumber) {\r\n thumbNails[pageNumber].dispatchEvent(new Event('click'));\r\n }\r\n }\r\n\r\n}\r\n","
\r\n
\r\n
\r\n
\r\n +\r\n
1000 ? 'block' : (collapseReturn) ? 'block' : 'none'}\">\r\n \r\n
\r\n \r\n
\r\n
\r\n \r\n

Document {{docbegindocnum}}

\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n +\r\n
1000 ? 'block' : (collapseGo) ? 'block' : 'none'}\">\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n

p.{{currentIndex}} of {{pageCount}}

\r\n \r\n \r\n
\r\n
\r\n
\r\n Loading Image, please wait ...\r\n
\r\n
\r\n \r\n \r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n #PAGE_NUMBER\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n
\r\n \r\n

Loading....

\r\n
\r\n
\r\n
\r\n \r\n
\r\n

\r\n {{Message}}\r\n

\r\n\r\n
\r\n
\r\n
\r\n","import { Component, OnInit, ViewChild, Input } from '@angular/core';\nimport { RegNameSearchRowVM, GetRegNameSearchQuery } from '../../../shared/viewmodels/ISearchService';\nimport { RegSearchService } from '../../reg-search-service';\nimport {\n DxNumberBoxComponent,\n DxDataGridModule,\n DxNumberBoxModule\n} from 'devextreme-angular';\nimport { DxDataGridComponent } from 'devextreme-angular';\n\n@Component({\n selector: 'lib-reg-encumbrances',\n providers: [RegSearchService],\n templateUrl: './reg-encumbrances.component.html',\n styleUrls: ['./reg-encumbrances.component.css']\n})\nexport class RegEncumbrancesComponent implements OnInit {\n @ViewChild(DxDataGridComponent) dataGrid: DxDataGridComponent;\n public recsresults: any[];\n applyFilterTypes: any;\n currentFilter: any;\n showFilterRow: boolean;\n public isLoadingDetail: boolean = true;\n @Input() certId: number;\n public error: any;\n @Input() linkname: string;\n constructor(private service: RegSearchService) {\n\n this.showFilterRow = true;\n this.applyFilterTypes = [{\n key: \"auto\",\n name: \"Immediately\"\n }, {\n key: \"onClick\",\n name: \"On Button Click\"\n }];\n\n this.currentFilter = this.applyFilterTypes[0].key;\n\n }\n\n ngOnInit() {\n this.isLoadingDetail = true;\n console.log('link name' + this.linkname);\n this.service.getCertMemos(this.certId).subscribe(\n data => {\n\n console.log(\"fetch recsresults\" + this.certId);\n this.recsresults = data;\n this.isLoadingDetail = false;\n console.log(this.recsresults);\n\n\n },\n error => { this.error = error }\n );\n this.isLoadingDetail = false;\n }\n\n \n\n //Open image in another tab'\n imgClicked(event: any) {\n if (!this.dataGrid.instance.isRowSelected(event.row.key)) {\n this.dataGrid.instance.selectRows(event.row.key, false);\n }\n }\n\n clearFilter() {\n this.dataGrid.instance.clearFilter();\n }\n\n\n\n}\n","
\r\n

Encumbrances

\r\n
\r\n Loading Encumbrances ...\r\n
\r\n\r\n \r\n\r\n\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n\r\n \r\n\r\n
\r\n {{row.data.signedDate | date:'MM-dd-yyyy'}} / {{row.data.dateReg | date:'MM-dd-yyyy hh:mm a'}}\r\n \r\n
\r\n\r\n
\r\n
\r\n {{row.data.discDate | date:'MM-dd-yyyy'}}\r\n \r\n {{row.data.dischDocNum}}\r\n \r\n
\r\n \r\n {{row.data.dischComment}}\r\n \r\n
\r\n\r\n
\r\n
\r\n
\r\n","import { Component, OnInit, ViewChild } from '@angular/core';\nimport { RegDocVM, RegNameSearchRowVM, GetRegNameSearchQuery, GetRegNameSearchReportQuery, SearchFilter } from '../../../shared/viewmodels/ISearchService';\nimport { DxDataGridComponent } from 'devextreme-angular';\nimport { CompoundNameComponent } from '../../../shared/components/compound-name/compound-name.component'\nimport { RegSearchService } from '../../reg-search-service';\nimport { Store } from '@ngrx/store';\nimport { Router } from '@angular/router';\nimport { DomSanitizer } from '@angular/platform-browser';\nimport {\n DxNumberBoxComponent,\n DxDataGridModule,\n DxNumberBoxModule\n} from 'devextreme-angular';\nimport 'devextreme/data/odata/store';\nimport { AppState, getCoreSearchState } from '../../../store/reducers/reducers';\nimport { take } from 'rxjs/operators';\nimport { formatDate, parseDate } from \"devextreme/localization\";\nimport { ReportViewerService } from '../../../shared/services/report-viewer.service';\nimport CustomStore from 'devextreme/data/custom_store';\nimport { HttpParams } from '@angular/common/http';\nimport Swal from 'sweetalert2';\n\n@Component({\n selector: 'lib-reg-name-search-grid',\n providers: [RegSearchService, ReportViewerService],\n templateUrl: './reg-name-search-grid.component.html',\n styleUrls: ['./reg-name-search-grid.component.css']\n})\nexport class RegNameSearchGridComponent {\n\n @ViewChild(DxDataGridComponent, { static: true }) dataGrid: DxDataGridComponent;\n @ViewChild(CompoundNameComponent) cName: CompoundNameComponent;\n public recsresults: RegNameSearchRowVM[];\n public recdoc: RegDocVM;\n public re: string;\n applyFilterTypes: any;\n currentFilter: any;\n showFilterRow: boolean;\n console = console;\n towns: string[] = [];\n doctypes: string[] = [];\n public remoteOps: any = {};\n\n dataSource: any = {};\n\n userInput: any;\n public errorMsg: any;\n\n focusedRowKey: number;\n recordCount: number;\n public infoFromServer: string;\n public noDataText: string = \"Loading...\";\n\n constructor(private service: RegSearchService, private reportService: ReportViewerService, private store: Store, private router: Router, private sanitizer: DomSanitizer) {\n this.remoteOps = {\n paging: false,\n filtering: false,\n sorting: false,\n grouping: false,\n summary: false\n };\n\n this.store.select(getCoreSearchState).pipe(take(1)).subscribe(data => this.userInput = data);\n\n for (let city of this.userInput.city.city[0].citytowns) {\n if (city.isChecked)\n this.towns.push(city.townAbbrev);\n }\n\n for (let doctype of this.userInput.doct.doct[0].doctypes) {\n if (doctype.isChecked)\n this.doctypes.push(doctype.docCode);\n }\n\n\n this.getResults(this.userInput.name.name[0].lastcorpName,\n this.userInput.name.name[0].fName,\n this.userInput.date.date[0].fromDate,\n this.userInput.date.date[0].toDate,\n (this.userInput.role.role[0].roleID == -1) ? 0 : this.userInput.role.role[0].roleID,\n this.towns,\n this.doctypes);\n\n this.showFilterRow = true;\n this.applyFilterTypes = [{\n key: \"auto\",\n name: \"Immediately\"\n }, {\n key: \"onClick\",\n name: \"On Button Click\"\n }];\n\n this.currentFilter = this.applyFilterTypes[0].key;\n\n }\n mouseover(event) {\n //console.log(`onmouseover fired: ${JSON.stringify(event)}`);\n //console.log(`target: ${event.target.id}`);\n //this.infoFromServer = event.target.id;\n\n var docIDstring = (event.target.id as string).split('_')[1];\n this.console.log(`Our docId: ${docIDstring}`);\n var docID = Number(docIDstring);\n this.service.getRegDoc(docID).subscribe(data => {\n this.infoFromServer = `\n
\n Grantors:
\n\n`;\n data.docTors.forEach(tor => {\n this.infoFromServer += \"  \" + tor.lastCorpName + \" \" + tor.fName + \"
\";\n });\n\n this.infoFromServer += \"Grantees:
\";\n data.docTees.forEach(tee => {\n this.infoFromServer += \"  \" + tee.lastCorpName + \" \" + tee.fName + \"
\"\n });\n this.infoFromServer += \"
\"\n });\n }\n\n ngOnInit() {\n console.log('ngOnInit fired');\n\n \n //function isNotEmpty(value: any): boolean {\n // return value !== undefined && value !== null && value !== \"\";\n //}\n\n this.dataSource = new CustomStore({\n key: \"docID\",\n load: (loadOptions: any) => {\n //let params: HttpParams = new HttpParams();\n //[\n // \"skip\",\n // \"take\",\n // \"requireTotalCount\",\n // \"requireGroupCount\",\n // \"sort\",\n // \"filter\",\n // \"totalSummary\",\n // \"group\",\n // \"groupSummary\"\n //].forEach(function (i) {\n // if (i in loadOptions && isNotEmpty(loadOptions[i]))\n // params = params.set(i, JSON.stringify(loadOptions[i]));\n //});\n \n let getRegNameSearchQuery = new GetRegNameSearchQuery({\n lastName: this.userInput.name.name[0].lastcorpName,\n firstName: this.userInput.name.name[0].fName,\n fromDate: this.userInput.date.date[0].fromDate,\n toDate: this.userInput.date.date[0].toDate,\n roleId: (this.userInput.role.role[0].roleID == -1) ? 0 : this.userInput.role.role[0].roleID,\n towns: this.towns,\n doctypes: this.doctypes\n });\n return this.service.getRegNameSearchResults(getRegNameSearchQuery).toPromise().then((data: any) => {\n this.recordCount = data.regNameSearchRows.length;\n return {\n data: data.regNameSearchRows,\n totalCount: data.regNameSearchRows.length\n };\n })\n .catch(error => { throw 'Data Loading Error' });\n\n\n }\n });\n\n\n\n //this.store.select('coresearchdata').pipe(take(1)).subscribe(data => {\n // this.userInput = data;\n\n // for (let city of this.userInput.city[0].citytowns) {\n // if (city.isChecked)\n // this.towns.push(city.townAbbrev);\n // }\n\n // for (let doctype of this.userInput.doct[0].doctypes) {\n // if (doctype.isChecked)\n // this.doctypes.push(doctype.docCode);\n // }\n\n // this.getResults(this.userInput.name[0].lastcorpName, this.userInput.name[0].fName, this.userInput.date[0].fromDate, this.userInput.date[0].toDate, (this.userInput.role[0].roleID == -1) ? 0 : this.userInput.role[0].roleID, this.towns, this.doctypes);\n\n //});\n\n }\n\n getResults(lname, fname, fromdate, todate, roleid, towns, doctypes) {\n //this.service.getRegNameResults(lname, fname, fromdate, todate, roleid, towns, doctypes).subscribe(\n // data => {\n // this.recsresults = data\n // this.recordCount = this.recsresults.length;\n // },\n\n\n \n // error => this.errorMsg = error\n //);\n let getRegNameSearchQuery = new GetRegNameSearchQuery({\n lastName: lname,\n firstName: fname,\n fromDate: fromdate,\n toDate: todate,\n roleId: roleid,\n towns: towns,\n doctypes: doctypes\n });\n console.log(`calling getRegNameSearchResults with ${getRegNameSearchQuery.toJSON()}`);\n\n this.service.getRegNameSearchResults(getRegNameSearchQuery).subscribe(result => {\n \n this.recsresults = result.regNameSearchRows!;\n this.recordCount = this.recsresults.length;\n if (this.recordCount == 0) {\n this.noDataText = \"No records found.\";\n Swal.fire(\"No records found.\");\r\n }\n });\n\n }\n\n getRegDoc(docId: number) {\n this.service.getRegDoc(docId).subscribe(\n data => { this.recdoc = data },\n error => { this.errorMsg = error }\n );\n }\n\n\n\n clearFilter() {\n this.dataGrid.instance.clearFilter();\n }\n\n onInitialized(e: any) {\n\n }\n\n //Open image in another tab'\n imgClicked(event: any) {\n if (!this.dataGrid.instance.isRowSelected(event.row.key)) {\n this.dataGrid.instance.selectRows(event.row.key, false);\n }\n // this.nav.visible = false;\n\n\n }\n\n onExpanding(e: any) {\n this.focusedRowKey = e.component.option(\"focusedRowIndex\");\n this.focusedRowKey = e.key.index;\n e.component.collapseAll(-1);\n }\n\n assignTypes(filters: SearchFilter[]) {\n if (filters) {\n filters.forEach(fl => {\n if (fl.filterType == 'join') {\n this.assignTypes(fl.filters);\n } else {\n for (var prop in this.recsresults[0]) {\n if (prop == fl.fieldName) {\n fl.fieldType = typeof this.recsresults[0][prop];\n }\n }\n }\n\n });\n }\n }\n\n export() {\n\n var filtersUsed = this.dataGrid.instance.getCombinedFilter(true);// [[\"firstGrantor\", \"contains\", \"bed\"], \"and\", [\"firstGrantee\", \"contains\", \"or\"], \"and\", [\"recLandBook\", \"contains\", \"3\"]];//[[[\"recordDate\", \"<\", \"2000-04-03T04:00:00.000Z\"], \"or\", [\"recordDate\", \">=\", \"2000-04-04T04:00:00.000Z\"]], \"and\", [\"firstGrantor\", \"contains\", \"BED\"]];//\n var filters = new Array();\n var filterExpression = filtersUsed ? JSON.stringify(filtersUsed) : \"\";\n console.log(`filterExpression: ${filterExpression}`);\n var filterObjs = new Array();\n if (filterExpression) {\n var filtersOnGrid = SearchFilter.subHelper(filtersUsed, 0);\n filterObjs = [...filtersOnGrid];\n this.assignTypes(filterObjs);\n console.log(`filterObjs: ${JSON.stringify(filterObjs)}`);\n //filtersOnGrid.forEach(f => filters.push(JSON.stringify(f)));\n //console.log(`filters: ${JSON.stringify(filters)}`);\n }\n\n\n\n //this.console.log('Inside Export');\n let getRegNameSearchReportQuery = new GetRegNameSearchReportQuery({\n lastName: this.userInput.name.name[0].lastcorpName,\n firstName: this.userInput.name.name[0].fName,\n fromDate: this.userInput.date.date[0].fromDate,\n toDate: this.userInput.date.date[0].toDate,\n roleId: (this.userInput.role.role[0].roleID == -1) ? 0 : this.userInput.role.role[0].roleID,\n towns: this.towns,\n doctypes: this.doctypes,\n sortBy: new Array(),\n sortDirection: \"desc\",\n filterExpression: filterExpression,\n filterObjects: filterObjs\n });\n\n this.reportService.getRegNameSearchReport(getRegNameSearchReportQuery).subscribe((reportName) => {\n this.router.navigate([`/report-viewer/${reportName.reportName}`]);\n })\n\n\n }\n\n\n}\n","
{{errorMsg}}
\r\n\r\n\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n \r\n\r\n \r\n
\r\n
\r\n {{row.data.recordDate | date:'MM/dd/yyyy'}}\r\n
\r\n \r\n
\r\n

{{data}}

\r\n\r\n
\r\n
\r\n\r\n
\r\n\r\n
\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n\r\n
\r\n","import { Component, OnInit, Input, OnDestroy } from '@angular/core';\nimport { RecSearchService } from '../../../rec-search/rec-search-service';\nimport { Router } from '@angular/router';\nimport { Store } from '@ngrx/store';\nimport { NavMenuService } from '../../../shared/services/nav-menu-service';\nimport { AppState, getCoreSearchState } from '../../../store/reducers/reducers';\nimport { take } from 'rxjs/operators';\nimport { RegSearchService } from '../../reg-search-service';\n\n@Component({\n selector: 'lib-reg-name-search-header',\n providers: [RegSearchService],\n templateUrl: './reg-name-search-header.component.html',\n styleUrls: ['./reg-name-search-header.component.css']\n})\nexport class RegNameSearchHeaderComponent implements OnInit {\n recs: any;\n @Input() recordCount: number;\n towns: string[] = [];\n constructor(private router: Router, private store: Store, public nav: NavMenuService, private service: RegSearchService) {\n this.store.select(getCoreSearchState).pipe(take(1)).subscribe(data => this.recs = data);\n for (let city of this.recs.city.city[0].citytowns) {\n if (city.isChecked)\n this.towns.push(city.townName);\n }\n\n }\n\n ngOnInit() {\n }\n\n back(url) {\n try {\n this.service.logInfo('Clicked back button');\n this.nav.show();\n //if (localStorage.getItem('recNameSearchResults') !== null) {\n // localStorage.removeItem('recNameSearchResults');\n //}\n this.router.navigate([url]);\n }\n catch (error) {\n this.service.logError(error);\n }\n\n }\n\n ngOnDestroy() {\n this.nav.show();\n }\n\n\n}\n","
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n

Registered Land Search Results

\r\n

\r\n Name: {{ recs.name.name[0].lastcorpName }} Role: \r\n \r\n \r\n Date: {{recs.date.date[0].fromDate| date:'MM-dd-yyyy'}} to {{recs.date.date[0].toDate| date:'MM-dd-yyyy'}} City/Town: Category: All Type: All {{recordCount}} records found\r\n

\r\n
\r\n \r\n
\r\n
\r\n","import { Component, OnInit, ViewChild } from '@angular/core';\nimport { RegOwnerSearchRowVM, RegDocVM, GetRegOwnerSearchQuery, SearchFilter, GetRegOwnerSearchReportQuery } from '../../../shared/viewmodels/ISearchService';\nimport { DxDataGridComponent } from 'devextreme-angular';\nimport { CompoundNameComponent } from '../../../shared/components/compound-name/compound-name.component'\nimport { RegSearchService } from '../../reg-search-service';\nimport { Store } from '@ngrx/store';\nimport { AppState, getCoreSearchState } from '../../../store/reducers/reducers';\nimport { take } from 'rxjs/operators';\nimport CustomStore from 'devextreme/data/custom_store';\nimport { ReportViewerService } from '../../../shared/services/report-viewer.service';\nimport { Router } from '@angular/router';\nimport Swal from 'sweetalert2';\n\n@Component({\n selector: 'app-reg-owner-search-grid',\n templateUrl: './reg-owner-search-grid.component.html',\n providers: [RegSearchService, ReportViewerService],\n styleUrls: ['./reg-owner-search-grid.component.css']\n})\nexport class RegOwnerSearchGridComponent implements OnInit {\n\n\n @ViewChild(DxDataGridComponent, { static: true }) dataGrid: DxDataGridComponent;\n @ViewChild(CompoundNameComponent) cName: CompoundNameComponent;\n\n\n public errorMsg: string;\n public regsresults: any = {} ;//RegOwnerSearchRowVM[];\n public recdoc: RegDocVM;\n public re: string;\n applyFilterTypes: any;\n currentFilter: any;\n showFilterRow: boolean;\n console = console;\n towns: string[] = [];\n doctypes: string[] = [];\n public remoteOps: any = {};\n\n certNum: string;\n certId: number;\n\n userInput: any;\n\n error: any;\n\n focusedRowKey: number;\n recordCount: number;\n public linkname: string;\n public infoFromServer: string;\n public noDataText: string = \"Loading...\";\n\n constructor(private service: RegSearchService, private store: Store, private reportService: ReportViewerService, private router: Router) {\n this.remoteOps = {\n paging: false,\n filtering: false,\n sorting: false,\n grouping: false,\n summary: false\n };\n\n this.store.select(getCoreSearchState).pipe(take(1)).subscribe(data => {\n this.userInput = data;\n /*this.getOwnerSearchResults(data.date[0].fromDate, data.date[0].toDate, data.name[0].lastcorpName, data.name[0].fName);*/\n\n });\n this.getOwnerSearchResults(this.userInput.date.date[0].fromDate, this.userInput.date.date[0].toDate, this.userInput.name.name[0].lastcorpName, this.userInput.name.name[0].fName);\n this.showFilterRow = true;\n this.applyFilterTypes = [{\n key: \"auto\",\n name: \"Immediately\"\n }, {\n key: \"onClick\",\n name: \"On Button Click\"\n }];\n\n this.currentFilter = this.applyFilterTypes[0].key;\n\n }\n mouseover(event) {\n //console.log(`onmouseover fired: ${JSON.stringify(event)}`);\n //console.log(`target: ${event.target.id}`);\n //this.infoFromServer = event.target.id;\n\n var docIDstring = (event.target.id as string).split('_')[1];\n this.console.log(`Our docId: ${docIDstring}`);\n var docID = Number(docIDstring);\n this.service.getRegDoc(docID).subscribe(data => {\n this.infoFromServer = `\n
\n Grantors:
\n\n`;\n data.docTors.forEach(tor => {\n this.infoFromServer += \"  \" + tor.lastCorpName + \" \" + tor.fName + \"
\";\n });\n\n this.infoFromServer += \"Grantees:
\";\n data.docTees.forEach(tee => {\n this.infoFromServer += \"  \" + tee.lastCorpName + \" \" + tee.fName + \"
\"\n });\n this.infoFromServer += \"
\"\n });\n }\n\n\n ngOnInit() {\n\n this.regsresults = new CustomStore({\n key: \"certId\",\n load: (loadOptions: any) => {\n let getRegOwnerSearchQuery = new GetRegOwnerSearchQuery({\n lastName: this.userInput.name[0].lastcorpName,\n firstName: this.userInput.name[0].fName,\n fromDate: this.userInput.date[0].fromDate,\n toDate: this.userInput.date[0].toDate,\n });\n\n return this.service.getRegOwnerSearchResults(getRegOwnerSearchQuery).toPromise().then((data: any) => {\n this.recordCount = data.regOwnerSearchRows.length;\n return {\n data: data.regOwnerSearchRows,\n totalCount: data.regOwnerSearchRows.length\n };\n })\n .catch(error => { throw 'Data Loading Error' });\n \n }\n });\n }\n clearFilter() {\n this.dataGrid.instance.clearFilter();\n }\n\n onInitialized(e: any) {\n\n }\n\n //Open image in another tab'\n imgClicked(event: any) {\n if (!this.dataGrid.instance.isRowSelected(event.row.key)) {\n this.dataGrid.instance.selectRows(event.row.key, false);\n this.certNum = this.dataGrid.instance.cellValue(event.row.rowIndex, \"certNo\");\n }\n this.service.getLCCertIDFromCertNum(this.certNum).subscribe(\n data => {\n\n console.log(\"fetch \" + this.certNum);\n this.certId = data;\n console.log(this.certId);\n //if (this.linkname === undefined) this.linkname = \"NA\";\n this.router.navigate(['/reg-certificate-cert-disp-pg', this.certNum, this.certId, 'reg-owner-search']);\n\n },\n error => { this.error = error }\n );\n\n }\n\n getOwnerSearchResults(fromDate: any, toDate: any, lName: string, fName: string) {\n\n let getRegOwnerSearchQuery = new GetRegOwnerSearchQuery({\n lastName: lName,\n firstName: fName,\n fromDate: fromDate,\n toDate: toDate,\n });\n\n\n this.service.getRegOwnerSearchResults(getRegOwnerSearchQuery).subscribe(data => {\n this.regsresults = data.regOwnerSearchRows!;\n this.recordCount = this.regsresults.length;\n if (this.recordCount == 0) {\n this.noDataText = \"No records found.\"\n Swal.fire(\"No records found.\");\r\n }\n });\n }\n\n onExpanding(e: any) {\n this.focusedRowKey = e.component.option(\"focusedRowIndex\");\n this.focusedRowKey = e.key.index;\n e.component.collapseAll(-1);\n }\n assignTypes(filters: SearchFilter[]) {\n if (filters) {\n filters.forEach(fl => {\n if (fl.filterType == 'join') {\n this.assignTypes(fl.filters);\n } else {\n for (var prop in this.regsresults[0]) {\n if (prop == fl.fieldName) {\n fl.fieldType = typeof this.regsresults[0][prop];\n }\n }\n }\n\n });\n }\n }\n export() {\n\n var filtersUsed = this.dataGrid.instance.getCombinedFilter(true);// [[\"firstGrantor\", \"contains\", \"bed\"], \"and\", [\"firstGrantee\", \"contains\", \"or\"], \"and\", [\"recLandBook\", \"contains\", \"3\"]];//[[[\"recordDate\", \"<\", \"2000-04-03T04:00:00.000Z\"], \"or\", [\"recordDate\", \">=\", \"2000-04-04T04:00:00.000Z\"]], \"and\", [\"firstGrantor\", \"contains\", \"BED\"]];//\n var filters = new Array();\n var filterExpression = filtersUsed ? JSON.stringify(filtersUsed) : \"\";\n console.log(`filterExpression: ${filterExpression}`);\n var filterObjs = new Array();\n if (filterExpression) {\n var filtersOnGrid = SearchFilter.subHelper(filtersUsed, 0);\n filterObjs = [...filtersOnGrid];\n this.assignTypes(filterObjs);\n console.log(`filterObjs: ${JSON.stringify(filterObjs)}`);\n //filtersOnGrid.forEach(f => filters.push(JSON.stringify(f)));\n //console.log(`filters: ${JSON.stringify(filters)}`);\n }\n\n let query = new GetRegOwnerSearchReportQuery({\n lastName: this.userInput.name[0].lastcorpName,\n firstName: this.userInput.name[0].fName,\n fromDate: this.userInput.date[0].fromDate,\n toDate: this.userInput.date[0].toDate,\n sortBy: new Array(),\n sortDirection: \"desc\",\n filterExpression: filterExpression,\n filterObjects: [...filterObjs]\n });\n\n //console.log(`query: ${JSON.stringify(query)}`);\n //console.log(`type: ${this.userInput.amount[0].type}`);\n this.reportService.getRegOwnerSearchReport(query).subscribe(repName => {\n this.router.navigate([`/report-viewer/${repName.reportName}`]);\n });\n }\n\n}\n","
{{errorMsg}}
\r\n\r\n\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n\r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n\r\n","import { Component, OnInit, Input, OnDestroy } from '@angular/core';\nimport { RegSearchService } from '../../reg-search-service';\nimport { Router } from '@angular/router';\nimport { Store } from '@ngrx/store';\nimport { AppState, getCoreSearchState } from '../../../store/reducers/reducers';\nimport { NavMenuService } from '../../../shared/services/nav-menu-service';\n\n@Component({\n selector: 'app-reg-owner-search-header',\n providers: [RegSearchService],\n templateUrl: './reg-owner-search-header.component.html',\n styleUrls: ['./reg-owner-search-header.component.css']\n})\nexport class RegOwnerSearchHeaderComponent implements OnInit, OnDestroy {\n\n recs: any;\n @Input() recordCount: number;\n towns: string[] = [];\n constructor(private router: Router, private store: Store, public nav: NavMenuService, private service: RegSearchService) {\n\n //store.select('rec').subscribe(data => this.recs = data);\n //for (let city of this.recs[0].citytowns) {\n // if (city.isChecked)\n // this.towns.push(city.townName);\n //}\n\n }\n\n ngOnInit() {\n this.store.select(getCoreSearchState).subscribe(data => this.recs = data);\n for (let city of this.recs.city.city[0].citytowns) {\n if (city.isChecked)\n this.towns.push(city.townName);\n }\n\n }\n\n back(url) {\n try {\n this.service.logInfo('Clicked back button');\n this.nav.show();\n //if (localStorage.getItem('recNameSearchResults') !== null) {\n // localStorage.removeItem('recNameSearchResults');\n //}\n this.router.navigate([url]);\n }\n catch (error) {\n this.service.logError(error);\n }\n\n }\n\n ngOnDestroy() {\n this.nav.show();\n }\n\n}\n","
\r\n
\r\n \r\n
\r\n \r\n
\r\n\r\n \r\n
\r\n

Registered Land Search Results

\r\n

\r\n Owner: {{ recs.name.name[0].lastcorpName }} Date: {{recs.date.date[0].fromDate| date:'MM-dd-yyyy'}} to {{recs.date.date[0].toDate| date:'MM-dd-yyyy'}} City/Town: {{recordCount}} records found\r\n

\r\n
\r\n \r\n
\r\n
\r\n","import { Component, OnInit, ViewChild } from '@angular/core';\nimport { RecNameSearchRowVM, RecDocVM, GetRegValueSearchReportQuery, GetRegValueSearchQuery, RegAddressSearchRowVM, SearchFilter } from '../../../shared/viewmodels/ISearchService';\nimport { DxDataGridComponent } from 'devextreme-angular';\nimport { CompoundNameComponent } from '../../../shared/components/compound-name/compound-name.component'\nimport { ReportViewerService } from '../../../shared/services/report-viewer.service';\nimport { RegSearchService } from '../../../reg-search/reg-search-service';\nimport { Store } from '@ngrx/store';\nimport { AppState, getCoreSearchState } from '../../../store/reducers/reducers';\nimport { Router } from '@angular/router';\nimport { take } from 'rxjs/operators';\nimport CustomStore from 'devextreme/data/custom_store';\nimport Swal from 'sweetalert2';\n\n\n@Component({\n selector: 'app-reg-value-search-grid',\n templateUrl: './reg-value-search-grid.component.html',\n providers: [RegSearchService, ReportViewerService],\n styleUrls: ['./reg-value-search-grid.component.css']\n})\nexport class RegValueSearchGridComponent implements OnInit {\n\n @ViewChild(DxDataGridComponent, { static: true }) dataGrid: DxDataGridComponent;\n @ViewChild(CompoundNameComponent) cName: CompoundNameComponent;\n\n\n public errorMsg: string;\n public recsresults: any = {};//RegAddressSearchRowVM[];\n public recdoc: RecDocVM;\n public re: string;\n applyFilterTypes: any;\n currentFilter: any;\n showFilterRow: boolean;\n console = console;\n towns: string[] = [];\n doctypes: string[] = [];\n doccategories: string[] = [];\n public remoteOps: any = {};\n\n userInput: any;\n\n focusedRowKey: number;\n recordCount: number;\n public infoFromServer: string;\n public noDataText: string = \"Loading...\"\n\n constructor(private service: RegSearchService, private reportService: ReportViewerService, private store: Store, private router: Router) {\n this.remoteOps = {\n paging: false,\n filtering: false,\n sorting: false,\n grouping: false,\n summary: false\n };\n\n\n this.store.select(getCoreSearchState).pipe(take(1)).subscribe(data => {\n this.userInput = data;\n\n for (let city of this.userInput.date.city[0].citytowns) {\n if (city.isChecked)\n this.towns.push(city.townAbbrev);\n }\n\n //for (let doctype of this.userInput.doct[0].doctypes) {\n // if (doctype.isChecked)\n // this.doctypes.push(doctype.docCode);\n //}\n\n if (this.userInput.docCategoriesVS.docCategoriesVS[0].mortgages) {\n this.doccategories.push(\"mortgages\");\n }\n\n if (this.userInput.docCategories.docCategoriesVS[0].conveyances) {\n this.doccategories.push(\"conveyances\");\n }\n\n\n //this.getValueResults();\n\n });\n\n this.showFilterRow = true;\n this.applyFilterTypes = [{\n key: \"auto\",\n name: \"Immediately\"\n }, {\n key: \"onClick\",\n name: \"On Button Click\"\n }];\n\n this.currentFilter = this.applyFilterTypes[0].key;\n\n }\n mouseover(event) {\n //console.log(`onmouseover fired: ${JSON.stringify(event)}`);\n //console.log(`target: ${event.target.id}`);\n //this.infoFromServer = event.target.id;\n\n var docIDstring = (event.target.id as string).split('_')[1];\n this.console.log(`Our docId: ${docIDstring}`);\n var docID = Number(docIDstring);\n this.service.getRegDoc(docID).subscribe(data => {\n this.infoFromServer = `\n
\n Grantors:
\n\n`;\n data.docTors.forEach(tor => {\n this.infoFromServer += \"  \" + tor.lastCorpName + \" \" + tor.fName + \"
\";\n });\n\n this.infoFromServer += \"Grantees:
\";\n data.docTees.forEach(tee => {\n this.infoFromServer += \"  \" + tee.lastCorpName + \" \" + tee.fName + \"
\"\n });\n this.infoFromServer += \"
\"\n });\n }\n\n\n ngOnInit() {\n\n this.recsresults = new CustomStore({\n key: \"docID\",\n load: (loadOptions: any) => {\n let search = new GetRegValueSearchQuery({\n docCategory: this.doccategories,\n amountFrom: this.userInput.amount[0].fromAmount,\n amountTo: this.userInput.amount[0].toAmount,\n fromDate: this.userInput.date[0].fromDate,\n toDate: this.userInput.date[0].toDate,\n towns: this.towns,\n type: this.userInput.amount[0].type\n });\n return this.service.getRegValueSearchResults(search).toPromise().then(data => {\n this.recordCount = data.regAddressSearchRows.length;\n\n return {\n data: data.regAddressSearchRows,\n totalCount: data.regAddressSearchRows.length\n };\n\n }).catch(error => { throw 'Data Loading Error' });\n\n }\n });\n }\n clearFilter() {\n this.dataGrid.instance.clearFilter();\n }\n\n onInitialized(e: any) {\n\n }\n\n //Open image in another tab'\n imgClicked(event: any) {\n if (!this.dataGrid.instance.isRowSelected(event.row.key)) {\n this.dataGrid.instance.selectRows(event.row.key, false);\n }\n // this.nav.visible = false;\n\n\n }\n\n onExpanding(e: any) {\n this.focusedRowKey = e.component.option(\"focusedRowIndex\");\n this.focusedRowKey = e.key.index;\n e.component.collapseAll(-1);\n }\n\n getValueResults() {\n let search = new GetRegValueSearchQuery({\n docCategory: this.doccategories,\n amountFrom: this.userInput.amount.amount[0].fromAmount,\n amountTo: this.userInput.amount.amount[0].toAmount,\n fromDate: this.userInput.date.date[0].fromDate,\n toDate: this.userInput.date.date[0].toDate,\n towns: this.towns,\n type: this.userInput.amount.amount[0].type\n });\n console.log(`search: ${JSON.stringify(search)}`);\n //console.log(`userInput: ${JSON.stringify(this.userInput)}`);\n //console.log(`userInput.amount: ${JSON.stringify(this.userInput.amount)}`);\n //console.log(`userInput.date: ${JSON.stringify(this.userInput.date)}`);\n //console.log(`this.towns: ${JSON.stringify(this.towns)}`);\n this.service.getRegValueSearchResults(search).subscribe(data => {\n this.recsresults = data.regAddressSearchRows;\n this.recordCount = this.recsresults.length;\n if (this.recordCount == 0) {\n this.noDataText = \"No records found.\"\n Swal.fire(\"No records found.\");\r\n }\n });\n }\n\n assignTypes(filters: SearchFilter[]) {\n if (filters) {\n filters.forEach(fl => {\n if (fl.filterType == 'join') {\n this.assignTypes(fl.filters);\n } else {\n for (var prop in this.recsresults[0]) {\n if (prop == fl.fieldName) {\n fl.fieldType = typeof this.recsresults[0][prop];\n }\n }\n }\n\n });\n }\n }\n\n export() {\n\n var filtersUsed = this.dataGrid.instance.getCombinedFilter(true);// [[\"firstGrantor\", \"contains\", \"bed\"], \"and\", [\"firstGrantee\", \"contains\", \"or\"], \"and\", [\"recLandBook\", \"contains\", \"3\"]];//[[[\"recordDate\", \"<\", \"2000-04-03T04:00:00.000Z\"], \"or\", [\"recordDate\", \">=\", \"2000-04-04T04:00:00.000Z\"]], \"and\", [\"firstGrantor\", \"contains\", \"BED\"]];//\n var filters = new Array();\n var filterExpression = filtersUsed ? JSON.stringify(filtersUsed) : \"\";\n console.log(`filterExpression: ${filterExpression}`);\n var filterObjs = new Array();\n if (filterExpression) {\n var filtersOnGrid = SearchFilter.subHelper(filtersUsed, 0);\n filterObjs = [...filtersOnGrid];\n this.assignTypes(filterObjs);\n console.log(`filterObjs: ${JSON.stringify(filterObjs)}`);\n //filtersOnGrid.forEach(f => filters.push(JSON.stringify(f)));\n //console.log(`filters: ${JSON.stringify(filters)}`);\n }\n\n let query = new GetRegValueSearchReportQuery({\n docCategory: this.doccategories,\n amountFrom: this.userInput.amount.amount[0].fromAmount,\n amountTo: this.userInput.amount.amount[0].toAmount,\n fromDate: this.userInput.date.date[0].fromDate,\n toDate: this.userInput.date.date[0].toDate,\n towns: this.towns,\n type: this.userInput.amount.amount[0].type,\n sortBy: new Array(),\n sortDirection: \"desc\",\n filterExpression: filterExpression,\n filterObjects: [...filterObjs]\n });\n\n //console.log(`query: ${JSON.stringify(query)}`);\n //console.log(`type: ${this.userInput.amount[0].type}`);\n this.reportService.getRegValueSearchReport(query).subscribe(repName => {\n this.router.navigate([`/report-viewer/${repName.reportName}`]);\n });\n }\n}\n","
{{errorMsg}}
\r\n\r\n\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n\r\n \r\n \r\n\r\n \r\n
\r\n
\r\n {{row.data.recordDate | date:'MM/dd/yyyy'}}\r\n
\r\n \r\n
\r\n

{{data}}

\r\n\r\n
\r\n
\r\n\r\n
\r\n\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n\r\n \r\n \r\n \r\n
\r\n

{{data}}

\r\n\r\n
\r\n
\r\n
\r\n\r\n \r\n \r\n \r\n \r\n\r\n
\r\n\r\n
\r\n","import { Component, OnInit, Input, OnDestroy } from '@angular/core';\nimport { RegSearchService } from '../../../reg-search/reg-search-service';\nimport { Router } from '@angular/router';\nimport { Store } from '@ngrx/store';\nimport { AppState, getCoreSearchState } from '../../../store/reducers/reducers';\nimport { NavMenuService } from '../../../shared/services/nav-menu-service';\n\n@Component({\n selector: 'app-reg-value-search-header',\n providers: [RegSearchService],\n templateUrl: './reg-value-search-header.component.html',\n styleUrls: ['./reg-value-search-header.component.css']\n})\nexport class RegValueSearchHeaderComponent implements OnInit, OnDestroy {\n\n recs: any;\n @Input() recordCount: number;\n towns: string[] = [];\n DocCategories: string;\n constructor(private router: Router, private store: Store, public nav: NavMenuService, private service: RegSearchService) {\n\n //store.select('rec').subscribe(data => this.recs = data);\n //for (let city of this.recs[0].citytowns) {\n // if (city.isChecked)\n // this.towns.push(city.townName);\n //}\n store.select(getCoreSearchState).subscribe(data => this.recs = data);\n for (let city of this.recs.city.city[0].citytowns) {\n if (city.isChecked)\n this.towns.push(city.townName);\n }\n //console.log(`this.towns: ${JSON.stringify(this.towns)}`);\n if (this.recs.docCategories.docCategoriesVS[0].mortgages && this.recs.docCategoriesVS.docCategoriesVS[0].conveyances) {\n this.DocCategories = \"Mortgages and Conveyances\";\n }\n else {\n if (this.recs.docCategoriesVS.docCategoriesVS[0].mortgages) {\n this.DocCategories = \"Mortgages\";\n }\n else {\n this.DocCategories = \"Conveyances\";\n }\n }\n\n }\n\n ngOnInit() {\n }\n\n back(url) {\n try {\n this.service.logInfo('Clicked back button');\n this.nav.show();\n //if (localStorage.getItem('recNameSearchResults') !== null) {\n // localStorage.removeItem('recNameSearchResults');\n //}\n this.router.navigate([url]);\n }\n catch (error) {\n this.service.logError(error);\n }\n\n }\n\n ngOnDestroy() {\n this.nav.show();\n }\n\n}\n","
\n
\n \n
\n \n
\n
\n

Registered Land Value Search Results

\n

\r\n Value: {{ recs.amount.amount[0].fromAmount }} to {{recs.amount.amount[0].toAmount}} Date: {{recs.date.date[0].fromDate| date:'MM-dd-yyyy'}} to {{recs.date.date[0].toDate| date:'MM-dd-yyyy'}} City/Town: Categories: {{recordCount}} records found\r\n

\n
\n \n
\n
\n","import { Component, OnInit, ViewChild, HostListener } from '@angular/core';\nimport { RegSearchService } from '../../../reg-search/reg-search-service';\nimport { RegDocVM, InstrumentVM } from '../../../shared/viewmodels/ISearchService';\nimport { RecDocDetailParentComponent } from '../../../rec-search/components/rec-doc-detail-parent/rec-doc-detail-parent.component';\nimport { ActivatedRoute, Router } from '@angular/router';\nimport { RegDocImageComponent } from '../../components/reg-doc-image/reg-doc-image.component';\r\n\n@Component({\n selector: 'app-reg-address-doc-disp-pg',\n providers: [RegSearchService],\n templateUrl: './reg-address-doc-disp-pg.component.html',\n styleUrls: ['./reg-address-doc-disp-pg.component.css']\n})\nexport class RegAddressDocDispPgComponent implements OnInit {\n\n public docId: number;\n public docNum: string;\n collapsesideinfo: boolean = false;\n public record!: RegDocVM;\n error: any;\n public isImgVwVisible: boolean = true;\n public isLoadingDetail: boolean = true;\n @ViewChild(RegDocImageComponent) regDocImageChild: RegDocImageComponent;\n screenWidth: any;\n public linkname: string = \"/reg-address-doc-disp-pg\"; \n\n constructor(private route: ActivatedRoute, private service: RegSearchService, private router: Router) {\n this.docId = Number(this.route.snapshot.paramMap.get('docId'));\n console.log('docId: ' + this.docId);\n this.docNum = this.route.snapshot.paramMap.get('docNum')!;\n this.isLoadingDetail = true;\n this.service.getRegDoc(this.docId).subscribe(\n data => {\n this.record = data;\n this.isLoadingDetail = false;\n },\n error => { this.error = error }\n );\n }\n\n ngOnInit(): void {\n throw new Error(\"Method not implemented.\");\n }\n\n back(url: string) {\n\n //this.router.navigate([url]);\n window.opener = 'Self';\n window.open('', '_parent', '');\n window.close();\n\n }\n\n\n toggleSideInfo() {\n this.collapsesideinfo = !this.collapsesideinfo;\n\n }\n\n loadRef(e: InstrumentVM) {\n console.log(`loadRef fired: ${e}`);\n this.isLoadingDetail = true;\n this.docId = e.docID;\n this.regDocImageChild.loadRef(e);\n this.isLoadingDetail = false;\n }\n\n @HostListener('window:resize', ['$event'])\n getScreenSize(event: any) {\n this.screenWidth = window.innerWidth;\n }\n\n getIsImgVwVisible(e: boolean) {\n this.isImgVwVisible = e;\n }\n\n loadInfo(e: RegDocVM) {\n this.record = e;\n }\n\n}\n","
\n \n
\n
\n
\n \n
\n \n
\n\n","import { Component, OnInit, ViewChild } from '@angular/core';\nimport { NavMenuService } from '../../../shared/services/nav-menu-service';\r\nimport { RegAddressSearchGridComponent } from '../../components/reg-address-search-grid/reg-address-search-grid.component';\r\nimport { RegSearchService } from '../../reg-search-service';\r\n\n@Component({\n selector: 'app-reg-address-result-pg',\n providers: [RegSearchService],\n templateUrl: './reg-address-result-pg.component.html',\n styleUrls: ['./reg-address-result-pg.component.css']\n})\nexport class RegAddressResultPgComponent implements OnInit {\n\n @ViewChild(RegAddressSearchGridComponent, { static: true }) regAddressResults: RegAddressSearchGridComponent;\n\n\n constructor(public nav: NavMenuService) {\n\n\n }\n\n\n\n ngOnInit() {\n\n //// hide the navigation menu.\n this.nav.hide();\n\n }\n\n}\n","
\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n","import { Component, OnInit, ViewChild } from '@angular/core';\nimport { RegSearchService } from '../../../reg-search/reg-search-service';\nimport { Router } from '@angular/router';\nimport { Store } from '@ngrx/store';\nimport { AppState } from '../../../store/reducers/reducers';\nimport { CityTownEXComponent } from '../../../shared/components/city-town-ex/city-town-ex.component';\nimport { DoctypeexComponent } from '../../../shared/components/doctypeex/doctypeex.component';\nimport { CompoundAddressComponent } from '../../../shared/components/compound-address/compound-address.component';\nimport { DaterangeComponent } from '../../../shared/components/daterange/daterange.component';\nimport * as RegAddressActions from '../../../store/actions/address.action';\nimport * as DateRangeActions from '../../../store/actions/daterange.action';\nimport * as CityTownsActions from '../../../store/actions/citytown.action';\nimport * as DocTypeActions from '../../../store/actions/doctype.action';\nimport { CityTownExLcComponent } from '../../components/city-town-ex-lc/city-town-ex-lc.component';\nimport { DocTypeExLcComponent } from '../../components/doc-type-ex-lc/doc-type-ex-lc.component';\nimport { NgForm, FormGroup, FormControl, FormBuilder } from '@angular/forms';\nimport { DateRangeParentComponent } from '../../../shared/components/date-range-parent/date-range-parent.component';\n\n\n@Component({\n selector: 'app-reg-address-search',\n providers: [RegSearchService],\n templateUrl: './reg-address-search.component.html',\n styleUrls: ['./reg-address-search.component.css']\n})\nexport class RegAddressSearchComponent implements OnInit {\n\n @ViewChild(CompoundAddressComponent) compoundAddressChild: CompoundAddressComponent;\n @ViewChild(DaterangeComponent) dateRangeChild: DaterangeComponent;\n @ViewChild(CityTownExLcComponent) cityTownChild: CityTownExLcComponent;\n @ViewChild(DocTypeExLcComponent) docTypeChild: DocTypeExLcComponent;\n @ViewChild('f', { static: true }) regAddressSearchForm: NgForm;\n parentForm!: FormGroup;\n\n\n constructor(private router: Router, private service: RegSearchService, private store: Store, private fb: FormBuilder) {\n\n\n }\n\n\n ngOnInit() {\n this.parentForm = this.fb.group({\n //compoundName: this.fb.group({\n // lastcorpName: ['', Validators.required],\n // fName: ['']\n //})\n });\n\n this.regAddressSearchForm.form = this.fb.group({});\n\n if (this.dateRangeChild.utilityobj.fromDate == undefined)\n this.dateRangeChild.utilityobj.fromDate = new Date('1/1/1900');\n\n if (this.dateRangeChild.utilityobj.toDate == undefined)\n this.dateRangeChild.utilityobj.toDate = new Date();\n }\n\n\n addRecToStore(fromdate: any, todate: any, towns: any, doctypes: any, streetnumber: any, streetaddress: string) {\n this.store.dispatch(new DateRangeActions.AddDate({\n fromDate: fromdate,\n toDate: todate\n }));\n this.store.dispatch(new CityTownsActions.AddCity({\n citytowns: towns\n }));\n\n this.store.dispatch(new DocTypeActions.AddDoct({\n doctypes: doctypes\n }));\n\n this.store.dispatch(new RegAddressActions.AddAddress({\n streetNumber: streetnumber,\n streetAddress: streetaddress\n }));\n }\n\n delRecFromStore(index: number) {\n this.store.dispatch(new DateRangeActions.RemoveDate(index));\n this.store.dispatch(new CityTownsActions.RemoveCity(index));\n this.store.dispatch(new DocTypeActions.RemoveDoct(index));\n this.store.dispatch(new RegAddressActions.RemoveAddress(index));\n\n }\n\n\n /**\n * Search registered land name search results.\n * @param url\n */\n validateAllFormFields(formGroup: FormGroup) { //{1}\n Object.keys(formGroup.controls).forEach(field => { //{2}\n const control = formGroup.get(field); //{3}\n if (control instanceof FormControl) { //{4}\n control.markAsTouched({ onlySelf: true });\n } else if (control instanceof FormGroup) { //{5}\n this.validateAllFormFields(control); //{6}\n }\n });\n }\n\n onSubmit(e: any) {\n if (this.regAddressSearchForm.valid) {\n\n this.delRecFromStore(0);\n\n this.addRecToStore(this.dateRangeChild.utilityobj.fromDate, this.dateRangeChild.utilityobj.toDate, this.cityTownChild.utilityobj.citytowns, this.docTypeChild.utilityobj.doctypes, this.compoundAddressChild.utilityobj.streetNumber, this.compoundAddressChild.utilityobj.streetAddress);\n\n this.router.navigate(['/reg-address-result-pg']);\n\n }\n else {\n this.validateAllFormFields(this.regAddressSearchForm.form);\n }\n\n }\n search(url: string) {\n\n this.delRecFromStore(0);\n\n this.addRecToStore(this.dateRangeChild.utilityobj.fromDate, this.dateRangeChild.utilityobj.toDate, this.cityTownChild.utilityobj.citytowns, this.docTypeChild.utilityobj.doctypes, this.compoundAddressChild.utilityobj.streetNumber, this.compoundAddressChild.utilityobj.streetAddress);\n\n this.router.navigate([url]);\n\n }\n ngAfterViewInit() {\n //this.parentForm.addControl('compoundName', this.compoundNameChild.form);\n //this.compoundNameChild.form.setParent(this.parentForm);\n\n this.regAddressSearchForm.form.addControl('compoundAddressForm', this.compoundAddressChild.form);\n this.compoundAddressChild.form.setParent(this.regAddressSearchForm.form);\n\n this.regAddressSearchForm.form.addControl('dateRangeForm', this.dateRangeChild.form);\n this.dateRangeChild.form.setParent(this.regAddressSearchForm.form);\n\n if (this.dateRangeChild.utilityobj.fromDate == undefined)\n this.dateRangeChild.utilityobj.fromDate = new Date('1/1/1900');\n\n if (this.dateRangeChild.utilityobj.fromDate == undefined)\n this.dateRangeChild.utilityobj.toDate = new Date();\n\n if (this.dateRangeChild) { this.dateRangeChild.reset('1/1/1900', new Date().toLocaleDateString()); }\n }\n\n reset() {\n if (this.compoundAddressChild) { this.compoundAddressChild.reset(); }\r\n if (this.cityTownChild) { this.cityTownChild.reset(); }\r\n if (this.docTypeChild) { this.docTypeChild.reset(); }\r\n if (this.dateRangeChild) { this.dateRangeChild.reset('1/1/1900', new Date().toLocaleDateString()); }\r\n\r\n this.delRecFromStore(0);\r\n\r\n this.addRecToStore(this.dateRangeChild.utilityobj.fromDate, this.dateRangeChild.utilityobj.toDate, this.cityTownChild.utilityobj.citytowns, this.docTypeChild.utilityobj.doctypes, this.compoundAddressChild.utilityobj.streetNumber, this.compoundAddressChild.utilityobj.streetAddress);\n\r\n }\n\n}\n","
\r\n

Search Registered Land by

\r\n
\r\n\r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n","import { Component, OnInit, Input, ViewChild } from '@angular/core';\r\nimport { RegSearchService } from '../../reg-search-service';\r\nimport { ActivatedRoute } from '@angular/router';\r\nimport { RegCertImageComponent } from '../../components/reg-cert-image/reg-cert-image.component';\r\nimport { RegEncumbrancesComponent } from '../../components/reg-encumbrances/reg-encumbrances.component';\r\nimport { GetLCCertTextQuery } from '../../../shared/viewmodels/ISearchService';\r\nimport { NavMenuService } from '../../../shared/services/nav-menu-service';\r\n\r\n@Component({\r\n selector: 'lib-reg-cert-disp-pg',\r\n providers: [RegSearchService],\r\n templateUrl: './reg-cert-disp-pg.component.html',\r\n styleUrls: ['./reg-cert-disp-pg.component.css']\r\n})\r\nexport class RegCertDispPgComponent implements OnInit {\r\n\r\n certNum: string;\r\n certId: number;\r\n linkname: string;\r\n @ViewChild(RegCertImageComponent) regCertImageChild: RegCertImageComponent;\r\n @ViewChild(RegEncumbrancesComponent) regEncum\r\n certpdf: any;\r\n error: any;\r\n constructor(private service: RegSearchService, private route: ActivatedRoute, public nav: NavMenuService) {\r\n\r\n this.certNum = this.route.snapshot.paramMap.get('certNum');\r\n this.certId = Number(this.route.snapshot.paramMap.get('certId'));\r\n this.linkname = this.route.snapshot.paramMap.get('linkname');\r\n console.log(\"linkname\" + this.linkname);\r\n }\r\n\r\n ngOnInit() {\r\n this.nav.hide();\r\n }\r\n\r\n back(url) {\r\n\r\n\r\n //this.router.navigate([url]);\r\n window.opener = 'Self';\r\n window.open('', '_parent', '');\r\n window.close();\r\n }\r\n\r\n downloadcert() {\r\n console.log(\"download cert\");\r\n let query = new GetLCCertTextQuery({\r\n certId: this.certId,\r\n linkName: this.linkname\r\n });\r\n this.service.downloadcert(query).subscribe(\r\n data => {\r\n this.certpdf = data;\r\n\r\n //IE11 support\r\n //if (window.navigator && window.navigator.msSaveOrOpenBlob) {\r\n // window.navigator.msSaveOrOpenBlob(this.certpdf, \"Certficate \" + query.certId + \".pdf\");\r\n //}\r\n // other browsers\r\n //else {\r\n var a = document.createElement(\"a\");\r\n document.body.appendChild(a);\r\n const url = window.URL.createObjectURL(this.certpdf);\r\n a.href = url;\r\n a.download = \"Certficate \" + query.certId + \".pdf\";\r\n a.click();\r\n window.URL.revokeObjectURL(url);\r\n //}\r\n },\r\n error => { this.error = error }\r\n );\r\n }\r\n}\r\n","
\n
\n \n
\n\n
\n
\n

Certificate number(Status): {{certNum}}

\n \n
\n
\n
\n
\n \n \n
\n","import { Component, OnInit, ViewChild, OnDestroy } from '@angular/core';\r\nimport { RegSearchService } from '../../reg-search-service';\r\nimport { ActivatedRoute, Router } from '@angular/router';\r\nimport { NavMenuService } from '../../../shared/services/nav-menu-service';\r\nimport { RegCertImageComponent } from '../../components/reg-cert-image/reg-cert-image.component';\r\nimport { GetLCCertTextQuery } from '../../../shared/viewmodels/ISearchService';\r\n\r\n@Component({\r\n selector: 'lib-reg-certificate-cert-disp-pg',\r\n providers: [RegSearchService],\r\n templateUrl: './reg-certificate-cert-disp-pg.component.html',\r\n styleUrls: ['./reg-certificate-cert-disp-pg.component.css']\r\n})\r\nexport class RegCertificateCertDispPgComponent implements OnInit, OnDestroy {\r\n certNum: string;\r\n certId: number;\r\n linkname: string;\r\n error: any;\r\n certpdf: any;\r\n\r\n constructor(private route: ActivatedRoute, private router: Router, public nav: NavMenuService, private service: RegSearchService) {\r\n this.certNum = this.route.snapshot.paramMap.get('certNum');\r\n //console.log(\"cert num\" + this.certNum);\r\n console.log(`cert num: ${this.certNum}`);\r\n this.certId = Number(this.route.snapshot.paramMap.get('certId'));\r\n //console.log(\"cert id\" + this.certId);\r\n console.log(`cert id: ${this.certId}`);\r\n this.linkname = this.route.snapshot.paramMap.get('linkname');\r\n console.log(`Link name: ${this.linkname}`);\r\n //this.service.getLCCertIDFromCertNum(this.certNum).subscribe(\r\n // data => {\r\n\r\n // console.log(\"fetch \" + this.certNum);\r\n // this.certId = data;\r\n // console.log(this.certId);\r\n\r\n\r\n // },\r\n // error => { this.error = error }\r\n //);\r\n }\r\n\r\n ngOnInit() {\r\n //// hide the navigation menu.\r\n this.nav.hide();\r\n }\r\n\r\n back(url): void {\r\n let myURL: any;\r\n if (this.linkname.startsWith(\"reg-owner\")) {\r\n myURL = '/reg-owner-search';\r\n this.router.navigate([myURL]);\r\n } else {\r\n //myURL = '/reg-owner-search';\r\n this.router.navigate([url]);\r\n }\r\n //this.router.navigate([url]);\r\n this.nav.show();\r\n }\r\n\r\n downloadcert() {\r\n console.log(\"download cert\");\r\n let query = new GetLCCertTextQuery({\r\n certId: this.certId,\r\n linkName: this.linkname\r\n });\r\n this.service.downloadcert(query).subscribe(\r\n data => {\r\n this.certpdf = data;\r\n\r\n //IE11 support\r\n //if (window.navigator && window.navigator.msSaveOrOpenBlob) {\r\n // window.navigator.msSaveOrOpenBlob(this.certpdf, \"Certficate \" + query.certId + \".pdf\");\r\n //}\r\n // other browsers\r\n //else {\r\n var a = document.createElement(\"a\");\r\n document.body.appendChild(a);\r\n const url = window.URL.createObjectURL(this.certpdf);\r\n a.href = url;\r\n a.download = \"Certficate \" + query.certId + \".pdf\";\r\n a.click();\r\n window.URL.revokeObjectURL(url);\r\n //}\r\n },\r\n error => { this.error = error }\r\n );\r\n }\r\n\r\n ngOnDestroy() {\r\n this.nav.show();\r\n }\r\n\r\n\r\n}\r\n","
\n
\n \n
\n\n
\n
\n

Certificate number(Status): {{certNum}}

\n \n
\n \n
\n \n
\n
\n \n \n
\n","import { Component, OnInit, HostListener, ViewChild } from '@angular/core';\nimport { RegSearchService } from '../../../reg-search/reg-search-service';\nimport { InstrumentVM, RegDocVM } from '../../../shared/viewmodels/ISearchService';\nimport { RegDocDetailComponent } from '../../../reg-search/components/reg-doc-detail/reg-doc-detail.component';\nimport { ActivatedRoute, Router } from '@angular/router';\nimport { RegDocImageComponent } from '../../components/reg-doc-image/reg-doc-image.component';\n\n@Component({\n selector: 'app-reg-certificate-doc-disp-pg',\n providers: [RegSearchService],\n templateUrl: './reg-certificate-doc-disp-pg.component.html',\n styleUrls: ['./reg-certificate-doc-disp-pg.component.css']\n})\nexport class RegCertificateDocDispPgComponent implements OnInit {\n\n public docId: number;\n public docNum: string;\n collapsesideinfo: boolean = false;\n public record: RegDocVM;\n error: any;\n public isImgVwVisible: boolean = true;\n public isLoadingDetail: boolean = true;\n @ViewChild(RegDocImageComponent) regDocImageChild: RegDocImageComponent;\n screenWidth: any;\n public linkname: string = \"/reg-certificate-doc-disp-pg\"; \n\n constructor(private route: ActivatedRoute, private service: RegSearchService, private router: Router) {\n this.docId = Number(this.route.snapshot.paramMap.get('docId'));\n console.log('docId: ' + this.docId);\n this.docNum = this.route.snapshot.paramMap.get('docNum');\n this.isLoadingDetail = true;\n this.service.getRegDoc(this.docId).subscribe(\n data => {\n this.record = data;\n this.isLoadingDetail = false;\n },\n error => { this.error = error }\n );\n }\n\n ngOnInit(): void {\n throw new Error(\"Method not implemented.\");\n }\n\n back(url: string) {\n\n //this.router.navigate([url]);\n window.opener = 'Self';\n window.open('', '_parent', '');\n window.close();\n\n }\n\n\n toggleSideInfo() {\n this.collapsesideinfo = !this.collapsesideinfo;\n\n }\n\n loadRef(e: InstrumentVM) {\n console.log(`loadRef fired: ${e}`);\n this.isLoadingDetail = true;\n this.docId = e.docID;\n this.regDocImageChild.loadRef(e);\n this.isLoadingDetail = false;\n }\n\n @HostListener('window:resize', ['$event'])\n getScreenSize(event: any) {\n this.screenWidth = window.innerWidth;\n }\n\n getIsImgVwVisible(e: any) {\n this.isImgVwVisible = e;\n }\n\n loadInfo(e: RegDocVM) {\n this.record = e;\n }\n\n}\n","
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n\r\n","import { Component, OnInit, ViewChild } from '@angular/core';\r\nimport { RegSearchService } from '../../reg-search-service';\r\nimport { CertificateNoComponent } from '../../../shared/components/certificate-no/certificate-no.component';\r\nimport { Store } from '@ngrx/store';\r\nimport { Router } from '@angular/router';\r\nimport { AppState } from '../../../store/reducers/reducers';\r\nimport * as CertNumActions from './../../../store/actions/certnum.action';\r\nimport { NgForm, FormGroup, FormBuilder, FormControl } from '@angular/forms';\r\n\r\n@Component({\r\n selector: 'app-reg-certificate-search',\r\n providers: [RegSearchService],\r\n templateUrl: './reg-certificate-search.component.html',\r\n styleUrls: ['./reg-certificate-search.component.css']\r\n})\r\nexport class RegCertificateSearchComponent implements OnInit {\r\n @ViewChild(CertificateNoComponent, {static: true}) certnumChild: CertificateNoComponent;\r\n @ViewChild('f', { static: true }) certnumSearchForm: NgForm;\r\n parentForm!: FormGroup;\r\n certId: number;\r\n error: any;\r\n public linkname: string = \"/reg-certificate-doc-disp-pg\"; \r\n constructor(private router: Router, private service: RegSearchService, private store: Store, private fb: FormBuilder) { }\r\n \r\n search(url: string) {\r\n this.delRecFromStore(0);\r\n\r\n this.addRecToStore(this.certnumChild.utilityobj.certnum);\r\n\r\n this.router.navigate([url, this.certnumChild.utilityobj.certnum]);\r\n }\r\n\r\n addRecToStore(certnum: string) {\r\n \r\n this.store.dispatch(new CertNumActions.AddCertNum({\r\n certnum: certnum\r\n }));\r\n }\r\n\r\n /**\r\n * Delete input parameters from store.\r\n * @param index\r\n */\r\n delRecFromStore(index: number) {\r\n \r\n this.store.dispatch(new CertNumActions.RemoveCertNum(index));\r\n }\r\n\r\n ngOnInit() {\r\n this.parentForm = this.fb.group({\r\n });\r\n\r\n this.certnumSearchForm.form = this.fb.group({});\r\n\r\n }\r\n\r\n onSubmit(e: any) {\r\n if (this.certnumSearchForm.valid) {\r\n\r\n this.delRecFromStore(0);\r\n\r\n this.addRecToStore(this.certnumChild.utilityobj.certnum);\r\n\r\n this.getCertID();\r\n\r\n //this.router.navigate(['/reg-certificate-cert-disp-pg', this.certnumChild.utilityobj.certnum]);\r\n\r\n\r\n }\r\n else {\r\n this.validateAllFormFields(this.certnumSearchForm.form);\r\n }\r\n }\r\n\r\n validateAllFormFields(formGroup: FormGroup) { //{1}\r\n Object.keys(formGroup.controls).forEach(field => { //{2}\r\n const control = formGroup.get(field); //{3}\r\n if (control instanceof FormControl) { //{4}\r\n control.markAsTouched({ onlySelf: true });\r\n } else if (control instanceof FormGroup) { //{5}\r\n this.validateAllFormFields(control); //{6}\r\n }\r\n });\r\n }\r\n ngAfterViewInit() {\r\n this.certnumSearchForm.form.addControl('certnumForm', this.certnumChild.form);\r\n this.certnumChild.form.setParent(this.certnumSearchForm.form);\r\n }\r\n\r\n getCertID() {\r\n this.service.getLCCertIDFromCertNum(this.certnumChild.utilityobj.certnum).subscribe(\r\n data => {\r\n\r\n console.log(\"fetch \" + this.certnumChild.utilityobj.certnum);\r\n this.certId = data;\r\n console.log(this.certId);\r\n this.router.navigate(['/reg-certificate-cert-disp-pg', this.certnumChild.utilityobj.certnum, this.certId, this.linkname]);\r\n\r\n },\r\n error => { this.error = error }\r\n );\r\n\r\n }\r\n}\r\n","
\r\n

Search Registered Land by

\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n","import { Component, OnInit, ViewChild, HostListener } from '@angular/core';\nimport { RegSearchService } from '../../../reg-search/reg-search-service';\nimport { RegDocVM, InstrumentVM } from '../../../shared/viewmodels/ISearchService';\nimport { RecDocDetailParentComponent } from '../../../rec-search/components/rec-doc-detail-parent/rec-doc-detail-parent.component';\nimport { ActivatedRoute, Router } from '@angular/router';\nimport { RegDocImageComponent } from '../../components/reg-doc-image/reg-doc-image.component';\n\n@Component({\n selector: 'app-reg-date-doc-disp-pg',\n providers: [RegSearchService],\n templateUrl: './reg-date-doc-disp-pg.component.html',\n styleUrls: ['./reg-date-doc-disp-pg.component.css']\n})\nexport class RegDateDocDispPgComponent implements OnInit {\n\n public docId: number;\n public docNum: string;\n collapsesideinfo: boolean = false;\n public record!: RegDocVM;\n error: any;\n public isImgVwVisible: boolean = true;\n public isLoadingDetail: boolean = true;\n @ViewChild(RegDocImageComponent) regDocImageChild: RegDocImageComponent;\n screenWidth: any;\n public linkname: string = \"/reg-date-doc-disp-pg\"; \n\n constructor(private route: ActivatedRoute, private service: RegSearchService, private router: Router) {\n this.docId = Number(this.route.snapshot.paramMap.get('docId'));\n console.log('docId: ' + this.docId);\n this.docNum = this.route.snapshot.paramMap.get('docNum')!;\n this.isLoadingDetail = true;\n this.service.getRegDoc(this.docId).subscribe(\n data => {\n this.record = data;\n this.isLoadingDetail = false;\n },\n error => { this.error = error }\n );\n }\n\n ngOnInit(): void {\n throw new Error(\"Method not implemented.\");\n }\n\n back(url) {\n\n //this.router.navigate([url]);\n window.opener = 'Self';\n window.open('', '_parent', '');\n window.close();\n\n }\n\n\n toggleSideInfo() {\n this.collapsesideinfo = !this.collapsesideinfo;\n\n }\n\n loadRef(e: InstrumentVM) {\n console.log(`loadRef fired: ${e}`);\n this.isLoadingDetail = true;\n this.docId = e.docID;\n this.regDocImageChild.loadRef(e);\n this.isLoadingDetail = false;\n }\n\n @HostListener('window:resize', ['$event'])\n getScreenSize(event?) {\n this.screenWidth = window.innerWidth;\n }\n\n getIsImgVwVisible(e) {\n this.isImgVwVisible = e;\n }\n\n loadInfo(e: RegDocVM) {\n this.record = e;\n }\n\n}\n","
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n\r\n","import { Component, OnInit, ViewChild } from '@angular/core';\r\nimport { RegDateSearchGridComponent } from '../../components/reg-date-search-grid/reg-date-search-grid.component';\r\nimport { NavMenuService } from '../../../shared/services/nav-menu-service';\r\nimport { RegSearchService } from '../../reg-search-service';\r\n\r\n@Component({\r\n selector: 'app-reg-date-result-pg',\r\n providers: [RegSearchService],\r\n templateUrl: './reg-date-result-pg.component.html',\r\n styleUrls: ['./reg-date-result-pg.component.css']\r\n})\r\nexport class RegDateResultPgComponent implements OnInit {\r\n\r\n @ViewChild(RegDateSearchGridComponent, { static: true }) regDateResults: RegDateSearchGridComponent;\r\n\r\n\r\n constructor(public nav: NavMenuService) {\r\n\r\n\r\n }\r\n\r\n\r\n\r\n ngOnInit() {\r\n var i = this.regDateResults.recordCount;\r\n //// hide the navigation menu.\r\n this.nav.hide();\r\n\r\n }\r\n\r\n}\r\n","
\n \n \n
\n
\n \n
\n","import { Component, OnInit, ViewChild } from '@angular/core';\nimport { RegSearchService } from '../../../reg-search/reg-search-service';\nimport { Router } from '@angular/router';\nimport { Store } from '@ngrx/store';\nimport { AppState } from '../../../store/reducers/reducers';\nimport { CityTownEXComponent } from '../../../shared/components/city-town-ex/city-town-ex.component';\nimport { DoctypeexComponent } from '../../../shared/components/doctypeex/doctypeex.component';\nimport { DaterangeComponent } from '../../../shared/components/daterange/daterange.component';\nimport * as DateRangeActions from '../../../store/actions/daterange.action';\nimport * as CityActions from '../../../store/actions/citytown.action';\nimport * as DocTypeActions from '../../../store/actions/doctype.action';\nimport { CityTownExLcComponent } from '../../components/city-town-ex-lc/city-town-ex-lc.component';\nimport { DocTypeExLcComponent } from '../../components/doc-type-ex-lc/doc-type-ex-lc.component';\nimport { NgForm, FormGroup, FormControl, FormBuilder } from '@angular/forms';\nimport { DateRangeParentComponent } from '../../../shared/components/date-range-parent/date-range-parent.component';\n\n@Component({\n selector: 'app-reg-date-search',\n providers: [RegSearchService],\n templateUrl: './reg-date-search.component.html',\n styleUrls: ['./reg-date-search.component.css']\n})\nexport class RegDateSearchComponent implements OnInit {\n\n @ViewChild(DateRangeParentComponent, {static: true}) dateRangeChild: DateRangeParentComponent;\n @ViewChild(CityTownExLcComponent) cityTownChild: CityTownExLcComponent;\n @ViewChild(DocTypeExLcComponent) docTypeChild: DocTypeExLcComponent;\n @ViewChild('f', { static: true }) regDateSearchForm: NgForm;\n parentForm!: FormGroup;\n\n constructor(private router: Router, private service: RegSearchService, private store: Store, private fb: FormBuilder) {\n\n\n }\n\n addRecToStore(fromdate: any, todate: any, citytowns: any, doctypes: any) {\n this.store.dispatch(new DateRangeActions.AddDate({\n fromDate: fromdate,\n toDate: todate\n }));\n\n this.store.dispatch(new CityActions.AddCity({\n citytowns: citytowns\n }));\n\n this.store.dispatch(new DocTypeActions.AddDoct({\n doctypes: doctypes\n }));\n }\n\n delRecFromStore(index: number) {\n this.store.dispatch(new DateRangeActions.RemoveDate(index));\n this.store.dispatch(new CityActions.RemoveCity(index));\n this.store.dispatch(new DocTypeActions.RemoveDoct(index));\n }\n\n ngOnInit() {\n this.parentForm = this.fb.group({\n //compoundName: this.fb.group({\n // lastcorpName: ['', Validators.required],\n // fName: ['']\n //})\n });\n\n this.regDateSearchForm.form = this.fb.group({});\n\n\n }\n\n search(url: string) {\n\n this.delRecFromStore(0);\n\n this.addRecToStore( this.dateRangeChild.utilityobj.fromDate, this.dateRangeChild.utilityobj.toDate, this.cityTownChild.utilityobj.citytowns, this.docTypeChild.utilityobj.doctypes);\n\n this.router.navigate([url]);\n\n }\n onSubmit(e: any) {\n if (this.regDateSearchForm.valid) {\n\n this.delRecFromStore(0);\n\n this.addRecToStore(this.dateRangeChild.utilityobj.fromDate, this.dateRangeChild.utilityobj.toDate, this.cityTownChild.utilityobj.citytowns, this.docTypeChild.utilityobj.doctypes);\n\n this.router.navigate(['/reg-date-result-pg']);\n\n }\n else {\n this.validateAllFormFields(this.regDateSearchForm.form);\n }\n\n }\n\n /**\n * Search registered land name search results.\n * @param url\n */\n validateAllFormFields(formGroup: FormGroup) { //{1}\n Object.keys(formGroup.controls).forEach(field => { //{2}\n const control = formGroup.get(field); //{3}\n if (control instanceof FormControl) { //{4}\n control.markAsTouched({ onlySelf: true });\n } else if (control instanceof FormGroup) { //{5}\n this.validateAllFormFields(control); //{6}\n }\n });\n }\n\n\n\n ngAfterViewInit() {\n //this.parentForm.addControl('compoundName', this.compoundNameChild.form);\n //this.compoundNameChild.form.setParent(this.parentForm);\n\n this.regDateSearchForm.form.addControl('dateRangeForm', this.dateRangeChild.form);\n this.dateRangeChild.form.setParent(this.regDateSearchForm.form);\n\n if (this.dateRangeChild) { this.dateRangeChild.reset('1/1/1900', new Date().toLocaleDateString()); }\n }\n\n reset() {\r\n if (this.cityTownChild) { this.cityTownChild.reset(); }\r\n if (this.docTypeChild) { this.docTypeChild.reset(); }\r\n if (this.dateRangeChild) { this.dateRangeChild.reset('1/1/1900', new Date().toLocaleDateString()); }\r\n }\n\n}\n","
\r\n

Search Registered Land by

\r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n","import { Component, OnInit, ViewChild, HostListener } from '@angular/core';\nimport { RecSearchService } from '../../../rec-search/rec-search-service';\nimport { RegDocDetailComponent } from '../../../reg-search/components/reg-doc-detail/reg-doc-detail.component';\nimport { ActivatedRoute, Router } from '@angular/router';\nimport { RegSearchService } from '../../reg-search-service';\nimport { RegDocVM, InstrumentVM } from '../../../shared/viewmodels/ISearchService';\nimport { NavMenuService } from '../../../shared/services/nav-menu-service';\nimport { RegDocImageComponent } from '../../components/reg-doc-image/reg-doc-image.component';\n\n@Component({\n selector: 'app-reg-document-no-doc-disp-pg',\n providers: [RegSearchService],\n templateUrl: './reg-document-no-doc-disp-pg.component.html',\n styleUrls: ['./reg-document-no-doc-disp-pg.component.css']\n})\nexport class RegDocumentNoDocDispPgComponent implements OnInit {\n public docId!: number;\n public docNum: string;\n collapsesideinfo: boolean = false;\n public record!: RegDocVM;\n error: any;\n public isImgVwVisible: boolean = true;\n public isLoadingDetail: boolean = true;\n @ViewChild(RegDocImageComponent) regDocImageChild: RegDocImageComponent;\n screenWidth: any;\n public linkname: string = \"/reg-document-no-doc-disp-pg\"; \n\n constructor(private route: ActivatedRoute, private service: RegSearchService, private router: Router, public nav: NavMenuService) {\n console.log(\"download Doc - test\");\n \n }\n\n ngOnInit() {\n this.docNum = this.route.snapshot.paramMap.get('docNum');\n console.log('docNum: ' + this.docNum);\n this.nav.hide();\n this.isLoadingDetail = true;\n this.service.searchRegDoc(this.docNum).subscribe(\n data => {\n this.record = data;\n this.docId = data.docID;\n this.isLoadingDetail = false;\n },\n error => { this.error = error }\n );\n }\n\n \n\n //back(url) {\n\n // //this.router.navigate([url]);\n // window.opener = 'Self';\n // window.open('', '_parent', '');\n // window.close();\n\n //}\n\n back(url: string) {\n this.router.navigate([url]);\n this.nav.show();\n\n }\n\n\n toggleSideInfo() {\n this.collapsesideinfo = !this.collapsesideinfo;\n\n }\n\n loadRef(e: InstrumentVM) {\n console.log(`loadRef fired: ${e}`);\n this.isLoadingDetail = true;\n this.docId = e.docID;\n this.regDocImageChild.loadRef(e);\n this.isLoadingDetail = false;\n }\n\n @HostListener('window:resize', ['$event'])\n getScreenSize(event: any) {\n this.screenWidth = window.innerWidth;\n }\n\n getIsImgVwVisible(e: any) {\n this.isImgVwVisible = e;\n }\n\n loadInfo(e: RegDocVM) {\n this.record = e;\n }\n\n}\n","
\r\n \r\n
\r\n\r\n
0\" class=\"side-info\" [ngStyle]=\"{'width':isImgVwVisible ? (screenWidth <= 768) ? '100%' : '600px' : '270px' , 'left': isImgVwVisible ? 'initial': (screenWidth <= 650) ? (collapsesideinfo) ? '0px' : '-270px' :'initial' , 'z-index': isImgVwVisible ? 'initial' : (screenWidth <= 650) ? (collapsesideinfo) ? 888888888888 : 888888 : 'initial'}\">\r\n
\r\n \r\n
\r\n \r\n
\r\n
0 ; else ShowErr\">\r\n\r\n
\r\n\r\n

No Record found

\r\n
\r\n","import { Component, OnInit, ViewChild } from '@angular/core';\nimport { RecdocComponent } from '../../../shared/components/recdoc/recdoc.component';\r\nimport { RegSearchService } from '../../reg-search-service';\r\nimport { Router } from '@angular/router';\nimport { Store } from '@ngrx/store';\nimport * as DocNumActions from './../../../store/actions/docnum.action';\nimport { AppState } from '../../../store/reducers/reducers';\r\nimport { NgForm, FormGroup, FormBuilder, FormControl } from '@angular/forms';\r\n\n@Component({\n selector: 'app-reg-document-no-search',\n providers: [RegSearchService],\n templateUrl: './reg-document-no-search.component.html',\n styleUrls: ['./reg-document-no-search.component.css']\n})\nexport class RegDocumentNoSearchComponent implements OnInit {\n\n @ViewChild(RecdocComponent) docNumChild: RecdocComponent;\n @ViewChild('f', { static: true }) docnumSearchForm: NgForm;\n parentForm!: FormGroup;\n\n constructor(private router: Router, private service: RegSearchService, private store: Store, private fb: FormBuilder) { }\n\n \n addRecToStore(docnum: any) {\n this.store.dispatch(new DocNumActions.AddDocNum({ docnum: docnum }));\n }\n\n delRecFromStore(index: number) {\n this.store.dispatch(new DocNumActions.RemoveDocNum(index));\n }\n\n\n search(url: string) {\n\n this.delRecFromStore(0);\n\n this.addRecToStore(this.docNumChild.utilityobj.docnum);\n\n this.router.navigate(['/reg-document-no-doc-disp-pg', this.docNumChild.utilityobj.docnum]);\n\n }\n ngOnInit() {\n this.parentForm = this.fb.group({\n });\n\n this.docnumSearchForm.form = this.fb.group({});\n\n }\n\n onSubmit(e: any) {\n if (this.docnumSearchForm.valid) {\n\n this.delRecFromStore(0);\n\n this.addRecToStore(this.docNumChild.utilityobj.docnum);\n\n this.router.navigate(['/reg-document-no-doc-disp-pg', this.docNumChild.utilityobj.docnum]);\r\n\n\n }\n else {\n this.validateAllFormFields(this.docnumSearchForm.form);\n }\n }\n\n validateAllFormFields(formGroup: FormGroup) { //{1}\r\n Object.keys(formGroup.controls).forEach(field => { //{2}\r\n const control = formGroup.get(field); //{3}\r\n if (control instanceof FormControl) { //{4}\r\n control.markAsTouched({ onlySelf: true });\r\n } else if (control instanceof FormGroup) { //{5}\r\n this.validateAllFormFields(control); //{6}\r\n }\r\n });\r\n }\n ngAfterViewInit() {\n this.docnumSearchForm.form.addControl('docnumForm', this.docNumChild.form);\n this.docNumChild.form.setParent(this.docnumSearchForm.form);\n }\n\n}\n","
\r\n

Search Registered Land by

\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\n","import { Component, OnInit, ViewChild, HostListener } from '@angular/core';\nimport { RegSearchService } from '../../../reg-search/reg-search-service';\nimport { RegDocVM, InstrumentVM } from '../../../shared/viewmodels/ISearchService';\nimport { RegDocImageComponent } from '../../../reg-search/components/reg-doc-image/reg-doc-image.component';\nimport { ActivatedRoute, Router } from '@angular/router';\n\n@Component({\n selector: 'app-reg-name-doc-disp-pg',\n providers: [RegSearchService],\n templateUrl: './reg-name-doc-disp-pg.component.html',\n styleUrls: ['./reg-name-doc-disp-pg.component.css']\n})\nexport class RegNameDocDispPgComponent implements OnInit {\n\n public docId: number;\n public docNum: string;\n collapsesideinfo: boolean = false;\n public record!: RegDocVM;\n error: any;\n public isImgVwVisible: boolean = true;\n public isLoadingDetail: boolean = true;\n @ViewChild(RegDocImageComponent) regDocImageChild: RegDocImageComponent;\n screenWidth: any;\n public linkname: string = \"/reg-name-doc-disp-pg\"; \n\n constructor(private route: ActivatedRoute, private service: RegSearchService, private router: Router) {\n //this.book = this.route.snapshot.paramMap.get('book');\n //console.log('book: ' + this.book);\n //this.page = this.route.snapshot.paramMap.get('page');\n //console.log('page: ' + this.page);\n this.docId = Number(this.route.snapshot.paramMap.get('docId'));\n console.log('docId: ' + this.docId);\n this.docNum = this.route.snapshot.paramMap.get('docNum')!;\n this.isLoadingDetail = true;\n this.service.getRegDoc(this.docId).subscribe(\n data => {\n this.record = data;\n this.isLoadingDetail = false;\n },\n error => { this.error = error }\n );\n }\n\n ngOnInit(): void {\n }\n\n back(url: string) {\n\n //this.router.navigate([url]);\n window.opener = 'Self';\n window.open('', '_parent', '');\n window.close();\n\n }\n\n\n toggleSideInfo() {\n this.collapsesideinfo = !this.collapsesideinfo;\n\n }\n\n loadRef(e: InstrumentVM) {\n console.log(`loadRef fired: ${e}`);\n this.isLoadingDetail = true;\n this.docId = e.docID;\n this.regDocImageChild.loadRef(e);\n this.isLoadingDetail = false;\n }\n\n @HostListener('window:resize', ['$event'])\n getScreenSize(event: any) {\n this.screenWidth = window.innerWidth;\n }\n\n getIsImgVwVisible(e: any) {\n this.isImgVwVisible = e;\n }\n\n loadInfo(e: RegDocVM) {\n this.record = e;\n }\n\n}\n","
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n\r\n","import { Component, OnInit, ViewChild } from '@angular/core';\r\nimport { NavMenuService } from '../../../shared/services/nav-menu-service';\r\nimport { RegNameSearchGridComponent } from '../../components/reg-name-search-grid/reg-name-search-grid.component';\r\nimport { RegSearchService } from '../../reg-search-service';\r\n\r\n@Component({\r\n selector: 'app-reg-name-result-pg',\r\n providers: [RegSearchService],\r\n templateUrl: './reg-name-result-pg.component.html',\r\n styleUrls: ['./reg-name-result-pg.component.css']\r\n})\r\nexport class RegNameResultPgComponent implements OnInit {\r\n\r\n @ViewChild(RegNameSearchGridComponent, { static: true }) regNameResults: RegNameSearchGridComponent;\r\n\r\n\r\n constructor(public nav: NavMenuService) {\r\n \r\n console.log('reg name result pg');\r\n\r\n }\r\n\r\n\r\n\r\n ngOnInit() {\r\n var i = this.regNameResults.recordCount;\r\n console.log('reg name result init');\r\n //// hide the navigation menu.\r\n this.nav.hide();\r\n\r\n }\r\n\r\n}\r\n","
\n \n \n
\n
\n \n
\n","import { Component, OnInit, ViewChild } from '@angular/core';\nimport { Store } from '@ngrx/store';\nimport { Router, NavigationEnd } from '@angular/router';\nimport { RegSearchService } from '../../reg-search-service';\nimport { AppState } from '../../../store/reducers/reducers';\nimport * as NameActions from './../../../store/actions/name.action';\nimport * as CompoundNameActions from '../../../store/actions/compoundname.action';\nimport * as RoleActions from './../../../store/actions/role.action';\nimport * as DateRangeActions from './../../../store/actions/daterange.action';\nimport * as CityActions from './../../../store/actions/citytown.action';\nimport * as DocTypeActions from './../../../store/actions/doctype.action';\nimport { CompoundNameComponent } from '../../../shared/components/compound-name/compound-name.component';\nimport { DaterangeComponent } from '../../../shared/components/daterange/daterange.component';\nimport { RoleComponent } from '../../../shared/components/role/role.component';\nimport { CityTownExLcComponent } from '../../components/city-town-ex-lc/city-town-ex-lc.component';\nimport { DocTypeExLcComponent } from '../../components/doc-type-ex-lc/doc-type-ex-lc.component';\nimport { NgForm, FormGroup, FormBuilder, Validators, FormControl } from '@angular/forms';\nimport { formatDate, parseDate } from \"devextreme/localization\";\nimport { DateRangeParentComponent } from '../../../shared/components/date-range-parent/date-range-parent.component';\nimport { ComponentCommunicationService } from '../../reg-search-communication-service';\nimport { filter } from 'rxjs/operators';\n\n@Component({\n selector: 'app-reg-name-search',\n providers: [RegSearchService],\n templateUrl: './reg-name-search.component.html',\n styleUrls: ['./reg-name-search.component.css']\n})\nexport class RegNameSearchComponent implements OnInit {\n @ViewChild(CompoundNameComponent, { static: true }) compoundNameChild: CompoundNameComponent;\n @ViewChild(DateRangeParentComponent, { static: false }) dateRangeChild;\n @ViewChild(RoleComponent) roleChild: RoleComponent;\n @ViewChild(CityTownExLcComponent) cityTownChild: CityTownExLcComponent;\n @ViewChild(DocTypeExLcComponent) docTypeChild: DocTypeExLcComponent;\n @ViewChild('f', { static: true }) regNameSearchForm: NgForm;\n parentForm!: FormGroup;\n constructor(private communicationService: ComponentCommunicationService, private router: Router, private service: RegSearchService, private store: Store, private fb: FormBuilder) {\n this.router.events.pipe(\r\n filter(event => event instanceof NavigationEnd)\r\n ).subscribe(() => {\r\n const formData = this.communicationService.getLatestFormData();\r\n if (formData) {\r\n this.updateFormFields(formData);\r\n }\r\n });\n\n }\n\n ngOnInit() {\n this.parentForm = this.fb.group({\n //compoundName: this.fb.group({\n // lastcorpName: ['', Validators.required],\n // fName: ['']\n //})\n });\n\n this.regNameSearchForm.form = this.fb.group({});\n\n const formData = this.communicationService.getLatestFormData();\r\n if (formData) {\r\n this.updateFormFields(formData);\r\n }\r\n\r\n this.listenForFormData();\n\n if (this.dateRangeChild.utilityobj.fromDate == undefined)\n this.dateRangeChild.utilityobj.fromDate = '1/1/1900';\n\n if (this.dateRangeChild.utilityobj.toDate == undefined)\n this.dateRangeChild.utilityobj.toDate = new Date();\n }\n\n listenForFormData() {\r\n this.communicationService.populateFormEvent.subscribe({\r\n next: (data: { lastCorpName: string, firstName: string }) => {\r\n console.log(\"Data received on new page\", data); // Debugging line\r\n this.updateFormFields(data);\r\n },\r\n error: err => {\r\n console.error('Error receiving data:', err);\r\n }\r\n });\r\n }\r\n\r\n updateFormFields(data: { lastCorpName: string, firstName: string }) {\r\n if (this.compoundNameChild) {\r\n this.compoundNameChild.utilityobj.fName = data.firstName;\r\n this.compoundNameChild.utilityobj.lastcorpName = data.lastCorpName;\r\n this.compoundNameChild.setNames(data.firstName, data.lastCorpName);\r\n //this.isSubSearch = true;\r\n } else {\r\n console.warn(\"CompoundNameComponent not ready\");\r\n // Optionally, retry or handle the case where the component isn't ready\r\n }\r\n }\n\n\n addRecToStore(fname: string, lname: string, fromdate: any, todate: any, roleid: any, citytowns: any, doctypes: any) {\n //this.store.dispatch(new RecActions.AddRec({\n // fName: fname,\n // lastcorpName: lname,\n // fromDate: fromdate,\n // toDate: todate,\n // roleID: roleid,\n // citytowns: citytowns,\n // doctypes: doctypes,\n // streetNumber: streetnumber,\n // streetAddress: streetaddress,\n // book: book,\n // page: page,\n // docnum: docnum,\n // toAmount: '',\n // fromAmount: ''\n\n //}));\n this.store.dispatch(new CompoundNameActions.AddName({\n fName: fname,\n lastcorpName: lname\n }));\n\n this.store.dispatch(new RoleActions.AddRole({\n roleID: roleid\n }));\n\n this.store.dispatch(new DateRangeActions.AddDate({\n fromDate: fromdate,\n toDate: todate\n }));\n\n this.store.dispatch(new CityActions.AddCity({\n citytowns: citytowns\n }));\n\n this.store.dispatch(new DocTypeActions.AddDoct({\n doctypes: doctypes\n }));\n }\n\n /**\n * Delete input parameters from store.\n * @param index\n */\n delRecFromStore(index: number) {\n //this.store.dispatch(new RecActions.RemoveRec(index));\n this.store.dispatch(new CompoundNameActions.RemoveName(index));\n this.store.dispatch(new RoleActions.RemoveRole(index));\n this.store.dispatch(new DateRangeActions.RemoveDate(index));\n this.store.dispatch(new CityActions.RemoveCity(index));\n this.store.dispatch(new DocTypeActions.RemoveDoct(index));\n }\n\n /**\n * Search recorded land name search results.\n * @param url\n */\n search(url: string) {\n\n this.delRecFromStore(0);\n\n this.addRecToStore(this.compoundNameChild.utilityobj.fName,\n this.compoundNameChild.utilityobj.lastcorpName,\n this.dateRangeChild.utilityobj.fromDate,\n this.dateRangeChild.utilityobj.toDate,\n this.roleChild.utilityobj.roleID,\n this.cityTownChild.utilityobj.citytowns,\n this.docTypeChild.utilityobj.doctypes);\n\n this.router.navigate([url]);\n\n }\n onSubmit(e: any) {\n console.log(this.regNameSearchForm);\n console.log(this.compoundNameChild.utilityobj.lastcorpName);\n console.log(`fromDate: ${this.dateRangeChild.utilityobj.fromDate}`);\n console.log(`toDate: ${this.dateRangeChild.utilityobj.toDate}`);\n //let formatedFromDate = formatDate(this.dateRangeChild.utilityobj.fromDate, \"shortDate\") ;\n //console.log(`formated fromDate ${formatedFromDate}`);\n //let formatedToDate = formatDate(this.dateRangeChild.utilityobj.toDate, \"shortDate\");\n //console.log(`formated toDate ${formatedToDate}`);\n console.log(e);\n if (this.regNameSearchForm.valid) {\n\n this.delRecFromStore(0);\n this.addRecToStore(this.compoundNameChild.utilityobj.fName,\n this.compoundNameChild.utilityobj.lastcorpName,\n this.dateRangeChild.utilityobj.fromDate,\n this.dateRangeChild.utilityobj.toDate,\n this.roleChild.utilityobj.roleID,\n this.cityTownChild.utilityobj.citytowns,\n this.docTypeChild.utilityobj.doctypes);\n this.router.navigate(['/reg-name-result-pg']);\n\n }\n else {\n this.validateAllFormFields(this.regNameSearchForm.form);\n }\n }\n validateAllFormFields(formGroup: FormGroup) { //{1}\n Object.keys(formGroup.controls).forEach(field => { //{2}\n const control = formGroup.get(field); //{3}\n if (control instanceof FormControl) { //{4}\n control.markAsTouched({ onlySelf: true });\n } else if (control instanceof FormGroup) { //{5}\n this.validateAllFormFields(control); //{6}\n }\n });\n }\n ngAfterViewInit() {\n //this.parentForm.addControl('compoundName', this.compoundNameChild.form);\n //this.compoundNameChild.form.setParent(this.parentForm);\n\n this.regNameSearchForm.form.addControl('compoundNameForm', this.compoundNameChild.form);\n this.compoundNameChild.form.setParent(this.regNameSearchForm.form);\n\n //this.regNameSearchForm.form.addControl('dateRangeForm', this.dateRangeChild.form);\n //this.dateRangeChild.form.setParent(this.regNameSearchForm.form);\n\n this.communicationService.populateFormEvent.subscribe({\r\n next: (data: { lastCorpName: string, firstName: string }) => {\r\n console.log(\"Data received\", data); // Debugging line\r\n this.updateFormFields(data);\r\n }\r\n });\n\n if (this.dateRangeChild && (this.dateRangeChild.utilityobj.fromDate == null || this.dateRangeChild.utilityobj.toDate == null)) { this.dateRangeChild.reset('1/1/1900', new Date().toLocaleDateString()); }\r\n\n }\n\n reset() {\n if (this.compoundNameChild) { this.compoundNameChild.reset(); }\r\n if (this.roleChild) { this.roleChild.reset(); }\r\n if (this.cityTownChild) { this.cityTownChild.reset(); }\r\n if (this.docTypeChild) { this.docTypeChild.reset(); }\r\n if (this.dateRangeChild) { this.dateRangeChild.reset('1/1/1900', new Date().toLocaleDateString()); }\r\n }\n\n}\n","
\n

Search Registered Land by

\n
\n
\n
\n \n
\n
\n
\n \n
\n
\n
\n \n \n
\n
\n \n
\n
\n \n
\n \n \n \n \n
\n
\n","import { Component, OnInit, ViewChild, HostListener } from '@angular/core';\nimport { RegSearchService } from '../../../reg-search/reg-search-service';\nimport { RegDocVM, InstrumentVM } from '../../../shared/viewmodels/ISearchService';\nimport { RegDocDetailComponent } from '../../../reg-search/components/reg-doc-detail/reg-doc-detail.component';\nimport { ActivatedRoute, Router } from '@angular/router';\nimport { RegDocImageComponent } from '../../components/reg-doc-image/reg-doc-image.component';\n\n@Component({\n selector: 'app-reg-owner-doc-disp-pg',\n providers: [RegSearchService],\n templateUrl: './reg-owner-doc-disp-pg.component.html',\n styleUrls: ['./reg-owner-doc-disp-pg.component.css']\n})\nexport class RegOwnerDocDispPgComponent implements OnInit {\n\n public docId: number;\n public certId: number;\n public docNum: string;\n public record: RegDocVM;\n collapsesideinfo: boolean = false;\n public lcCertTex!: string;\n error: any;\n public isImgVwVisible: boolean = true;\n public isLoadingDetail: boolean = true;\n @ViewChild(RegDocImageComponent) regDocImageChild: RegDocImageComponent;\n screenWidth: any;\n public linkname: string = \"/reg-owner-doc-disp-pg\"; \n\n constructor(private route: ActivatedRoute, private service: RegSearchService, private router: Router) {\n this.docId = Number(this.route.snapshot.paramMap.get('docId'));\n console.log('docId: ' + this.docId);\n this.docNum = this.route.snapshot.paramMap.get('docNum');\n this.isLoadingDetail = true;\n this.service.getRegDoc(this.docId).subscribe(\n data => {\n this.record = data;\n this.isLoadingDetail = false;\n },\n error => { this.error = error }\n );\n }\n\n ngOnInit(): void {\n throw new Error(\"Method not implemented.\");\n }\n\n back(url: string) {\n\n //this.router.navigate([url]);\n window.opener = 'Self';\n window.open('', '_parent', '');\n window.close();\n\n }\n\n\n toggleSideInfo() {\n this.collapsesideinfo = !this.collapsesideinfo;\n\n }\n\n loadRef(e: InstrumentVM) {\n console.log(`loadRef fired: ${e}`);\n this.isLoadingDetail = true;\n this.docId = e.docID;\n this.regDocImageChild.loadRef(e);\n this.isLoadingDetail = false;\n }\n\n @HostListener('window:resize', ['$event'])\n getScreenSize(event: any) {\n this.screenWidth = window.innerWidth;\n }\n\n getIsImgVwVisible(e: boolean) {\n this.isImgVwVisible = e;\n }\n\n loadInfo(e: RegDocVM) {\n this.record = e;\n }\n\n}\n","
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n \r\n","import { Component, OnInit, ViewChild } from '@angular/core';\r\nimport { NavMenuService } from '../../../shared/services/nav-menu-service';\r\nimport { RegOwnerSearchGridComponent } from '../../components/reg-owner-search-grid/reg-owner-search-grid.component';\r\nimport { RegSearchService } from '../../reg-search-service';\r\n\r\n@Component({\r\n selector: 'app-reg-owner-result-pg',\r\n providers: [RegSearchService],\r\n templateUrl: './reg-owner-result-pg.component.html',\r\n styleUrls: ['./reg-owner-result-pg.component.css']\r\n})\r\nexport class RegOwnerResultPgComponent implements OnInit {\r\n\r\n @ViewChild(RegOwnerSearchGridComponent, { static: true }) regOwnerResults: RegOwnerSearchGridComponent;\r\n\r\n\r\n constructor(public nav: NavMenuService) {\r\n\r\n\r\n }\r\n\r\n\r\n\r\n ngOnInit() {\r\n\r\n //// hide the navigation menu.\r\n this.nav.hide();\r\n\r\n }\r\n\r\n}\r\n","
\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n","import { Component, OnInit, ViewChild } from '@angular/core';\nimport { RegSearchService } from '../../../reg-search/reg-search-service';\nimport { Router } from '@angular/router';\nimport { Store } from '@ngrx/store';\nimport { AppState } from '../../../store/reducers/reducers';\nimport { CompoundNameComponent } from '../../../shared/components/compound-name/compound-name.component';\nimport { DaterangeComponent } from '../../../shared/components/daterange/daterange.component';\nimport { CompundNameOwnerComponent } from '../../../shared/components/compund-name-owner/compund-name-owner.component';\nimport * as NameActions from './../../../store/actions/name.action';\nimport * as CompoundNameActions from '../../../store/actions/compoundname.action';\nimport * as DateRangeActions from './../../../store/actions/daterange.action';\nimport * as CityActions from './../../../store/actions/citytown.action';\nimport { CityTownExLcComponent } from '../../components/city-town-ex-lc/city-town-ex-lc.component';\nimport { NgForm, FormGroup, FormBuilder, Validators, FormControl } from '@angular/forms';\nimport { DateRangeParentComponent } from '../../../shared/components/date-range-parent/date-range-parent.component';\n\n\n@Component({\n selector: 'app-reg-owner-search',\n providers: [RegSearchService],\n templateUrl: './reg-owner-search.component.html',\n styleUrls: ['./reg-owner-search.component.css']\n})\nexport class RegOwnerSearchComponent implements OnInit {\n @ViewChild(CompoundNameComponent) compoundNameChild!: CompoundNameComponent;\n\n //@ViewChild(CompundNameOwnerComponent) compoundNameOwnerChild;\n @ViewChild(DateRangeParentComponent, { static: true }) dateRangeChild: DateRangeParentComponent;\n @ViewChild(CityTownExLcComponent) cityTownChild: CityTownExLcComponent;\n @ViewChild('f', { static: true }) regOwnerSearchForm: NgForm;\n parentForm1!: FormGroup;\n\n\n constructor(private router: Router, private service: RegSearchService, private store: Store, private fb: FormBuilder) {\n\n\n }\n\n ngOnInit() {\n this.parentForm1 = this.fb.group({\n //compoundName: this.fb.group({\n // lastcorpName: ['', Validators.required],\n // fName: ['']\n //})\n });\n\n this.regOwnerSearchForm.form = this.fb.group({});\n\n if (this.dateRangeChild.utilityobj.fromDate == undefined)\r\n this.dateRangeChild.utilityobj.fromDate = new Date('1/1/1900');\r\n\r\n if (this.dateRangeChild.utilityobj.toDate == undefined)\r\n this.dateRangeChild.utilityobj.toDate = new Date();\n\n }\n\n\n addRecToStore(fname: string, lname: string, fromdate: any, todate: any, citytowns: any) {\n //this.store.dispatch(new RegActions.AddReg({\n // fName: fname,\n // lastcorpName: lname,\n // fromDate: fromdate,\n // toDate: todate,\n // roleID: roleid,\n // citytowns: citytowns,\n // doctypes: doctypes,\n // streetNumber: streetnumber,\n // streetAddress: streetaddress,\n // book: book,\n // page: page,\n // docnum: docnum,\n // toAmount: '',\n // fromAmount: ''\n //}));\n this.store.dispatch(new CompoundNameActions.AddName({\n fName: fname,\n lastcorpName: lname\n }));\n\n this.store.dispatch(new DateRangeActions.AddDate({\n fromDate: fromdate,\n toDate: todate\n }));\n\n this.store.dispatch(new CityActions.AddCity({\n citytowns: citytowns\n }));\n }\n\n delRecFromStore(index: number) {\n this.store.dispatch(new CompoundNameActions.RemoveName(index));\n this.store.dispatch(new DateRangeActions.RemoveDate(index));\n this.store.dispatch(new CityActions.RemoveCity(index));\n }\n\n\n /**\n * Search registered land name search results.\n * @param url\n */\n search(url: string) {\n\n this.delRecFromStore(0);\n\n this.addRecToStore(this.compoundNameChild.utilityobj.fName, this.compoundNameChild.utilityobj.lastcorpName, this.dateRangeChild.utilityobj.fromDate, this.dateRangeChild.utilityobj.toDate, this.cityTownChild.utilityobj.citytowns);\n\n this.router.navigate([url]);\n\n }\n onSubmit(e: any) {\n if (this.regOwnerSearchForm.valid) {\n\n this.delRecFromStore(0);\n this.addRecToStore(this.compoundNameChild.utilityobj.fName, this.compoundNameChild.utilityobj.lastcorpName, this.dateRangeChild.utilityobj.fromDate, this.dateRangeChild.utilityobj.toDate, this.cityTownChild.utilityobj.citytowns);\n this.router.navigate(['/reg-owner-result-pg']);\n\n }\n else {\n this.validateAllFormFields(this.regOwnerSearchForm.form);\n }\n }\n\n validateAllFormFields(formGroup: FormGroup) { //{1}\n Object.keys(formGroup.controls).forEach(field => { //{2}\n const control = formGroup.get(field); //{3}\n if (control instanceof FormControl) { //{4}\n control.markAsTouched({ onlySelf: true });\n } else if (control instanceof FormGroup) { //{5}\n this.validateAllFormFields(control); //{6}\n }\n });\n }\n ngAfterViewInit() {\n //this.parentForm.addControl('compoundName', this.compoundNameChild.form);\n //this.compoundNameChild.form.setParent(this.parentForm);\n\n this.regOwnerSearchForm.form.addControl('compoundNameForm', this.compoundNameChild.form);\n this.compoundNameChild.form.setParent(this.regOwnerSearchForm.form);\n\n this.regOwnerSearchForm.form.addControl('dateRangeForm', this.dateRangeChild.form);\n this.dateRangeChild.form.setParent(this.regOwnerSearchForm.form);\n }\n\n reset() {\n if (this.compoundNameChild) { this.compoundNameChild.reset(); }\r\n if (this.cityTownChild) { this.cityTownChild.reset(); }\r\n if (this.dateRangeChild) { this.dateRangeChild.reset('1/1/1900', new Date().toLocaleDateString()); }\r\n }\n\n}\n","
\r\n

Search Registered Land by

\r\n
\r\n\r\n \r\n
\r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n
\r\n \r\n \r\n\r\n \r\n
\r\n
\r\n","import { Component, OnInit, ViewChild, HostListener } from '@angular/core';\nimport { RecSearchService } from '../../../rec-search/rec-search-service';\nimport { RecDocVM, InstrumentVM } from '../../../shared/viewmodels/ISearchService';\nimport { RecDocDetailParentComponent } from '../../../rec-search/components/rec-doc-detail-parent/rec-doc-detail-parent.component';\nimport { ActivatedRoute, Router } from '@angular/router';\nimport { RegDocImageComponent } from '../../components/reg-doc-image/reg-doc-image.component';\r\n\n@Component({\n selector: 'app-reg-value-doc-disp-pg',\n providers: [RecSearchService],\n templateUrl: './reg-value-doc-disp-pg.component.html',\n styleUrls: ['./reg-value-doc-disp-pg.component.css']\n})\nexport class RegValueDocDispPgComponent implements OnInit {\n\n public docId: number;\n public docNum: string;\n collapsesideinfo: boolean = false;\n public record!: RecDocVM;\n error: any;\n public isImgVwVisible: boolean = true;\n public isLoadingDetail: boolean = true;\n @ViewChild(RegDocImageComponent) regDocImageChild: RegDocImageComponent;\n screenWidth: any;\n\n\n constructor(private route: ActivatedRoute, private service: RecSearchService, private router: Router) {\n this.docId = Number(this.route.snapshot.paramMap.get('docId'));\n this.docNum = this.route.snapshot.paramMap.get('docNum')!;\n console.log('docId: ' + this.docId);\n this.isLoadingDetail = true;\n this.service.getRecDoc(this.docId).subscribe(\n data => {\n this.record = data;\n this.isLoadingDetail = false;\n },\n error => { this.error = error }\n );\n }\n\n ngOnInit(): void {\n throw new Error(\"Method not implemented.\");\n }\n\n back(url: string) {\n\n //this.router.navigate([url]);\n window.opener = 'Self';\n window.open('', '_parent', '');\n window.close();\n\n }\n\n\n toggleSideInfo() {\n this.collapsesideinfo = !this.collapsesideinfo;\n\n }\n\n loadRef(e: InstrumentVM) {\n console.log(`loadRef fired: ${e}`);\n this.isLoadingDetail = true;\n this.docId = e.docID;\n this.regDocImageChild.loadRef(e);\n this.isLoadingDetail = false;\n }\n\n @HostListener('window:resize', ['$event'])\n getScreenSize(event: any) {\n this.screenWidth = window.innerWidth;\n }\n\n getIsImgVwVisible(e: any) {\n this.isImgVwVisible = e;\n }\n\n loadInfo(e: RecDocVM) {\n this.record = e;\n }\n}\n","
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n\r\n","import { Component, OnInit, ViewChild } from '@angular/core';\nimport { RegValueSearchGridComponent } from '../../components/reg-value-search-grid/reg-value-search-grid.component';\nimport { NavMenuService } from '../../../shared/services/nav-menu-service';\n\n@Component({\n selector: 'app-reg-value-result-pg',\n templateUrl: './reg-value-result-pg.component.html',\n styleUrls: ['./reg-value-result-pg.component.css']\n})\nexport class RegValueResultPgComponent implements OnInit {\n\n @ViewChild(RegValueSearchGridComponent, { static: true }) regValueResults: RegValueSearchGridComponent;\n\n constructor(public nav: NavMenuService) { }\n\n ngOnInit() {\n this.nav.hide();\n }\n\n}\n","
\n \n \n
\n
\n \n
\n","import { Component, OnInit, ViewChild, HostListener } from '@angular/core';\nimport { RegSearchService } from '../../../reg-search/reg-search-service';\nimport { Router } from '@angular/router';\nimport { Store } from '@ngrx/store';\nimport { AppState } from '../../../store/reducers/reducers';\nimport { NgForm, FormGroup, FormBuilder, Validators, FormControl } from '@angular/forms';\nimport { DaterangeComponent } from '../../../shared/components/daterange/daterange.component';\nimport { CityTownExLcComponent } from '../../components/city-town-ex-lc/city-town-ex-lc.component';\nimport { AmountrangeComponent } from '../../../shared/components/amountrange/amountrange.component';\nimport { DocCategoryVsComponent } from '../../../shared/components/doc-category-vs/doc-category-vs.component';\nimport * as DateRangeActions from './../../../store/actions/daterange.action';\nimport * as AmountActions from './../../../store/actions/amountrange.action';\nimport * as CityActions from './../../../store/actions/citytown.action';\nimport * as DocCategoriesActions from './../../../store/actions/doccategories.action';\nimport { DateRangeParentComponent } from '../../../shared/components/date-range-parent/date-range-parent.component';\n\n\n@Component({\n selector: 'app-reg-value-search',\n providers: [RegSearchService],\n templateUrl: './reg-value-search.component.html',\n styleUrls: ['./reg-value-search.component.css']\n})\nexport class RegValueSearchComponent implements OnInit {\n\n @ViewChild(DaterangeComponent) dateRangeChild: DaterangeComponent;\n @ViewChild(CityTownExLcComponent) cityTownChild: CityTownExLcComponent;\n @ViewChild(AmountrangeComponent) amountRangeChild: AmountrangeComponent;\n @ViewChild(DocCategoryVsComponent) docCategoryVsChild: DocCategoryVsComponent;\n\n @ViewChild('f', { static: true }) regValueSearchForm: NgForm;\n parentForm!: FormGroup;\n screenWidth: any;\n\n constructor(private router: Router, private service: RegSearchService, private store: Store, private fb: FormBuilder) {\n\n\n }\n\n ngOnInit() {\n this.parentForm = this.fb.group({\n //compoundName: this.fb.group({\n // lastcorpName: ['', Validators.required],\n // fName: ['']\n //})\n });\n\n this.regValueSearchForm.form = this.fb.group({});\n\n }\n addRecToStore(fromamount: any, toamount: any, fromdate: any, todate: any, citytowns: any, doccategory: any) {\n this.store.dispatch(new AmountActions.AddAmount({\n type: this.amountRangeChild.utilityobj.type,\n fromAmount: fromamount,\n toAmount: toamount\n }));\n\n\n this.store.dispatch(new DateRangeActions.AddDate({\n fromDate: fromdate,\n toDate: todate\n }));\n\n this.store.dispatch(new CityActions.AddCity({\n citytowns: citytowns\n }));\n\n this.store.dispatch(new DocCategoriesActions.AddDocCategories(\n doccategory\n ));\n }\n\n delRecFromStore(index: number) {\n this.store.dispatch(new AmountActions.RemoveAmount(index));\n this.store.dispatch(new DateRangeActions.RemoveDate(index));\n this.store.dispatch(new CityActions.RemoveCity(index));\n this.store.dispatch(new DocCategoriesActions.RemoveDocCategories(index));\n }\n\n /**\n * Search registered land name search results.\n * @param url\n */\n search(url: string) {\n\n //this.delRecFromStore(0);\n\n //this.addRecToStore(this.compoundNameChild.utilityobj.fName, this.compoundNameChild.utilityobj.lastcorpName, this.dateRangeChild.utilityobj.fromDate, this.dateRangeChild.utilityobj.toDate, this.roleChild.utilityobj.roleID, this.cityTownChild.utilityobj.citytowns, this.docTypeChild.utilityobj.doctypes, '', '', '', '', '');\n\n this.router.navigate([url]);\n\n }\n\n onSubmit(e: any) {\n if (this.regValueSearchForm.valid) {\n\n this.delRecFromStore(0);\n this.addRecToStore(\n this.amountRangeChild.utilityobj.fromAmount,\n this.amountRangeChild.utilityobj.toAmount,\n this.dateRangeChild.utilityobj.fromDate,\n this.dateRangeChild.utilityobj.toDate,\n this.cityTownChild.utilityobj.citytowns,\n this.docCategoryVsChild.DocCategories\n );\n //console.log(`docCats in RegValueSearch: ${JSON.stringify(this.docCategoryVsChild.DocCategories)}`);\n //console.log(`this.cityTownChild.utilityobj.citytowns: ${JSON.stringify(this.cityTownChild.utilityobj.citytowns)}`);\n this.router.navigate(['/reg-value-result-pg']);\n\n }\n else {\n this.validateAllFormFields(this.regValueSearchForm.form);\n }\n }\n validateAllFormFields(formGroup: FormGroup) { //{1}\n Object.keys(formGroup.controls).forEach(field => { //{2}\n const control = formGroup.get(field); //{3}\n if (control instanceof FormControl) { //{4}\n control.markAsTouched({ onlySelf: true });\n } else if (control instanceof FormGroup) { //{5}\n this.validateAllFormFields(control); //{6}\n }\n });\n }\n\n ngAfterViewInit() {\n this.regValueSearchForm.form.addControl('amountRangeForm', this.amountRangeChild.form);\n this.amountRangeChild.form.setParent(this.parentForm);\n\n this.regValueSearchForm.form.addControl('dateRangeForm', this.dateRangeChild.form);\n this.dateRangeChild.form.setParent(this.regValueSearchForm.form);\n }\n\n\n @HostListener('window:resize', ['$event'])\n getScreenSize(event?) {\n this.screenWidth = window.innerWidth;\n }\n\n reset() {\n\r\n }\n\n}\n","
\r\n

Search Registered Land by Value

\r\n \r\n
\r\n\r\n
\r\n \r\n
\r\n
768) ? '123px' : amountRangeChild.utilityobj.type != 'rng' ? '147px' : '230px'}\">\r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n","import { Injectable, EventEmitter } from '@angular/core';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class ComponentCommunicationService {\n public populateFormEvent: EventEmitter<{ lastCorpName: string, firstName: string }> = new EventEmitter();\n\n constructor() { }\n\n \n private lastEmittedFormData: { lastCorpName: string, firstName: string } | null = null;\n\n emitPopulateForm(data: { lastCorpName: string, firstName: string }) {\n this.populateFormEvent.emit(data);\n this.lastEmittedFormData = data; // Store the last emitted data\n }\n\n getLatestFormData(): { lastCorpName: string, firstName: string } | null {\n return this.lastEmittedFormData;\n }\n\n}\n","import { Injectable, Inject } from '@angular/core';\r\nimport { HttpClient, HttpParams, HttpErrorResponse, HttpHeaders, HttpResponseBase, HttpResponse } from '@angular/common/http';\r\nimport {\r\n RegNameSearchRowVM,\r\n RegAddressSearchRowVM,\r\n CityTownVM,\r\n DocTypeVM,\r\n RegDocVM,\r\n RegOwnerSearchRowVM,\r\n RegDateSearchRowVM,\r\n GetRegNameSearchQuery,\r\n RegNameSearchListVM,\r\n GetRegAddressSearchQuery,\r\n RegAddressSearchListVM,\r\n\r\n IRegOwnerSearchListVM,\r\n GetRegOwnerSearchQuery,\r\n RegOwnerSearchListVM,\r\n GetRegDateSearchQuery,\r\n RegDateSearchListVM,\r\n RegMemoEncumRowVM,\r\n GetLCCertTextQuery,\r\n GetRegValueSearchQuery,\r\n RegValueSearchListVM\r\n} from '../shared/viewmodels/ISearchService';\r\nimport { formatDate, parseDate } from \"devextreme/localization\";\r\nimport { Observable, throwError as _observableThrow, of as _observableOf } from 'rxjs';\r\nimport { mergeMap as _observableMergeMap, catchError as _observableCatch, map, switchMap } from 'rxjs/operators';\r\nimport { from } from 'rxjs';\r\n\r\n\r\nexport class SwaggerException extends Error {\r\n message: string;\r\n status: number;\r\n response: string;\r\n headers: { [key: string]: any; };\r\n result: any;\r\n\r\n constructor(message: string, status: number, response: string, headers: { [key: string]: any; }, result: any) {\r\n super();\r\n\r\n this.message = message;\r\n this.status = status;\r\n this.response = response;\r\n this.headers = headers;\r\n this.result = result;\r\n }\r\n\r\n protected isSwaggerException = true;\r\n\r\n static isSwaggerException(obj: any): obj is SwaggerException {\r\n return obj.isSwaggerException === true;\r\n }\r\n}\r\n\r\n@Injectable()\r\nexport class RegSearchService {\r\n myAppUrl: string = \"\";\r\n\r\n protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined;\r\n\r\n\r\n constructor(private _http: HttpClient, @Inject('BASE_URL') baseUrl: string) {\r\n this.myAppUrl = baseUrl;\r\n }\r\n\r\n\r\n getRegNameResults(lname, fname, fromdate, todate, roleid, towns, doctypes) {\r\n let formatedFromDate = formatDate(fromdate, \"shortDate\");\r\n let formatedToDate = formatDate(todate, \"shortDate\");\r\n\r\n\r\n const params = new HttpParams().set('lname', lname).set('fname', fname).set('roleid', roleid).set('fromdate', formatedFromDate)\r\n .set('todate', formatedToDate).set('towns', towns).set('doctypes', doctypes);\r\n return this._http.get(this.myAppUrl + 'api/CoreData/RegNameSearchList', { params });\r\n\r\n }\r\n getRegNameSearchResults(search: GetRegNameSearchQuery): Observable {\r\n let url_ = this.myAppUrl + \"api/CoreData/GetRegNameSearchResults\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n const content_ = JSON.stringify(search);\r\n\r\n let options_: any = {\r\n body: content_,\r\n observe: \"response\",\r\n responseType: \"blob\",\r\n headers: new HttpHeaders({\r\n \"Content-Type\": \"application/json\",\r\n })\r\n };\r\n return this._http.request(\"post\", url_, options_).pipe(_observableMergeMap((response_: any) => {\r\n return this.processGetRegNameSearchResponse(response_);\r\n })).pipe(_observableCatch((response_: any) => {\r\n if (response_ instanceof HttpResponseBase) {\r\n try {\r\n return this.processGetRegNameSearchResponse(response_);\r\n } catch (e) {\r\n return >_observableThrow(e);\r\n }\r\n } else\r\n return >_observableThrow(response_);\r\n\r\n }));\r\n }\r\n processGetRegNameSearchResponse(response: HttpResponseBase): Observable {\r\n const status = response.status;\r\n const responseBlob =\r\n response instanceof HttpResponse ? response.body :\r\n (response).error instanceof Blob ? (response).error : undefined;\r\n\r\n let _headers: any = {}; if (response.headers) { for (let key of response.headers.keys()) { _headers[key] = response.headers.get(key); } };\r\n if (status === 200) {\r\n return this.blobToText(responseBlob).pipe(_observableMergeMap(_responseText => {\r\n let result200: any = null;\r\n let resultData200 = _responseText === \"\" ? null : JSON.parse(_responseText, this.jsonParseReviver);\r\n result200 = RegNameSearchListVM.fromJS(resultData200);\r\n return _observableOf(result200);\r\n }));\r\n } else if (status !== 200 && status !== 204) {\r\n return this.blobToText(responseBlob).pipe(_observableMergeMap(_responseText => {\r\n return this.throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }));\r\n }\r\n return _observableOf(null);\r\n\r\n }\r\n blobToText(blob: any): Observable {\r\n return new Observable((observer: any) => {\r\n if (!blob) {\r\n observer.next(\"\");\r\n observer.complete();\r\n } else {\r\n let reader = new FileReader();\r\n reader.onload = event => {\r\n observer.next((event.target).result);\r\n observer.complete();\r\n };\r\n reader.readAsText(blob);\r\n }\r\n });\r\n }\r\n throwException(message: string, status: number, response: string, headers: { [key: string]: any; }, result?: any): Observable {\r\n if (result !== null && result !== undefined)\r\n return _observableThrow(result);\r\n else\r\n return _observableThrow(new SwaggerException(message, status, response, headers, null));\r\n }\r\n\r\n\r\n getAddressSearchResults(strtnum, strtname, fromdate, todate, town) {\r\n let formatedFromDate = formatDate(fromdate, \"shortDate\");\r\n let formatedToDate = formatDate(todate, \"shortDate\");\r\n\r\n const params = new HttpParams().set('strtnum', strtnum).set('strtname', strtname).set('fromdate', formatedFromDate)\r\n .set('todate', formatedToDate).set('town', town);\r\n return this._http.get(this.myAppUrl + 'api/CoreData/RegAddressSearchList', { params });\r\n\r\n }\r\n getRegAddressSearchResults(search: GetRegAddressSearchQuery): Observable {\r\n let url_ = this.myAppUrl + \"api/CoreData/GetRegAddressSearchList\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n const content_ = JSON.stringify(search);\r\n console.log(`Sending ${content_} to GetRegAddressSearchList`);\r\n let options_: any = {\r\n body: content_,\r\n observe: \"response\",\r\n responseType: \"blob\",\r\n headers: new HttpHeaders({\r\n \"Content-Type\": \"application/json\",\r\n })\r\n };\r\n return this._http.request(\"post\", url_, options_).pipe(_observableMergeMap((response_: any) => {\r\n return this.processGetRegAddressSearchResponse(response_);\r\n })).pipe(_observableCatch((response_: any) => {\r\n if (response_ instanceof HttpResponseBase) {\r\n try {\r\n return this.processGetRegAddressSearchResponse(response_);\r\n } catch (e) {\r\n return >_observableThrow(e);\r\n }\r\n } else\r\n return >_observableThrow(response_);\r\n\r\n }));\r\n }\r\n processGetRegAddressSearchResponse(response: HttpResponseBase): Observable {\r\n const status = response.status;\r\n const responseBlob =\r\n response instanceof HttpResponse ? response.body :\r\n (response).error instanceof Blob ? (response).error : undefined;\r\n\r\n let _headers: any = {}; if (response.headers) { for (let key of response.headers.keys()) { _headers[key] = response.headers.get(key); } };\r\n if (status === 200) {\r\n return this.blobToText(responseBlob).pipe(_observableMergeMap(_responseText => {\r\n let result200: any = null;\r\n let resultData200 = _responseText === \"\" ? null : JSON.parse(_responseText, this.jsonParseReviver);\r\n result200 = RegAddressSearchListVM.fromJS(resultData200);\r\n return _observableOf(result200);\r\n }));\r\n } else if (status !== 200 && status !== 204) {\r\n return this.blobToText(responseBlob).pipe(_observableMergeMap(_responseText => {\r\n return this.throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }));\r\n }\r\n return _observableOf(null);\r\n\r\n }\r\n\r\n //getRegOwnerSearchResults(fromdate, todate, lname, fname) {\r\n // let formatedFromDate = formatDate(fromdate, \"shortDate\");\r\n // let formatedToDate = formatDate(todate, \"shortDate\");\r\n\r\n // const params = new HttpParams().set('fromdate', formatedFromDate).set('todate', formatedToDate).set('lname', lname).set('fname', fname);\r\n // return this._http.get(this.myAppUrl + 'api/CoreData/RegOwnerSearchList', { params });\r\n //}\r\n getRegOwnerSearchResults(search: GetRegOwnerSearchQuery): Observable {\r\n let url_ = this.myAppUrl + \"api/CoreData/GetRegOwnerSearchList\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n const content_ = JSON.stringify(search);\r\n console.log(`Sending ${content_} to GetRegOwnerSearchList`);\r\n let options_: any = {\r\n body: content_,\r\n observe: \"response\",\r\n responseType: \"blob\",\r\n headers: new HttpHeaders({\r\n \"Content-Type\": \"application/json\",\r\n })\r\n };\r\n return this._http.request(\"post\", url_, options_).pipe(_observableMergeMap((response_: any) => {\r\n return this.processGetRegOwnerSearchResponse(response_);\r\n })).pipe(_observableCatch((response_: any) => {\r\n if (response_ instanceof HttpResponseBase) {\r\n try {\r\n return this.processGetRegOwnerSearchResponse(response_);\r\n } catch (e) {\r\n return >_observableThrow(e);\r\n }\r\n } else\r\n return >_observableThrow(response_);\r\n\r\n }));\r\n\r\n }\r\n processGetRegOwnerSearchResponse(response: HttpResponseBase): Observable {\r\n const status = response.status;\r\n const responseBlob =\r\n response instanceof HttpResponse ? response.body :\r\n (response).error instanceof Blob ? (response).error : undefined;\r\n\r\n let _headers: any = {}; if (response.headers) { for (let key of response.headers.keys()) { _headers[key] = response.headers.get(key); } };\r\n if (status === 200) {\r\n return this.blobToText(responseBlob).pipe(_observableMergeMap(_responseText => {\r\n let result200: any = null;\r\n let resultData200 = _responseText === \"\" ? null : JSON.parse(_responseText, this.jsonParseReviver);\r\n result200 = RegOwnerSearchListVM.fromJS(resultData200);\r\n return _observableOf(result200);\r\n }));\r\n } else if (status !== 200 && status !== 204) {\r\n return this.blobToText(responseBlob).pipe(_observableMergeMap(_responseText => {\r\n return this.throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }));\r\n }\r\n return _observableOf(null);\r\n\r\n }\r\n //getRegDateSearchResults(fromdate, todate, towns, types) {\r\n // let formatedFromDate = formatDate(fromdate, \"shortDate\");\r\n // let formatedToDate = formatDate(todate, \"shortDate\");\r\n\r\n // const params = new HttpParams().set('fromdate', formatedFromDate).set('todate', formatedToDate).set('towns', towns).set('doctypes', types);\r\n // return this._http.get(this.myAppUrl + 'api/CoreData/RegDateSearchList', { params });\r\n //}\r\n getRegDateSearchResults(search: GetRegDateSearchQuery) : Observable {\r\n let url_ = this.myAppUrl + \"api/CoreData/GetRegDateSearchList\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n const content_ = JSON.stringify(search);\r\n console.log(`Sending ${content_} to GetRegDateSearchList`);\r\n let options_: any = {\r\n body: content_,\r\n observe: \"response\",\r\n responseType: \"blob\",\r\n headers: new HttpHeaders({\r\n \"Content-Type\": \"application/json\",\r\n })\r\n };\r\n return this._http.request(\"post\", url_, options_).pipe(_observableMergeMap((response_: any) => {\r\n return this.processGetRegDateSearchResponse(response_);\r\n })).pipe(_observableCatch((response_: any) => {\r\n if (response_ instanceof HttpResponseBase) {\r\n try {\r\n return this.processGetRegDateSearchResponse(response_);\r\n } catch (e) {\r\n return >_observableThrow(e);\r\n }\r\n } else\r\n return >_observableThrow(response_);\r\n\r\n }));\r\n\r\n }\r\n\r\n processGetRegDateSearchResponse(response: HttpResponseBase): Observable {\r\n const status = response.status;\r\n const responseBlob =\r\n response instanceof HttpResponse ? response.body :\r\n (response).error instanceof Blob ? (response).error : undefined;\r\n\r\n let _headers: any = {}; if (response.headers) { for (let key of response.headers.keys()) { _headers[key] = response.headers.get(key); } };\r\n if (status === 200) {\r\n return this.blobToText(responseBlob).pipe(_observableMergeMap(_responseText => {\r\n let result200: any = null;\r\n let resultData200 = _responseText === \"\" ? null : JSON.parse(_responseText, this.jsonParseReviver);\r\n result200 = RegDateSearchListVM.fromJS(resultData200);\r\n return _observableOf(result200);\r\n }));\r\n } else if (status !== 200 && status !== 204) {\r\n return this.blobToText(responseBlob).pipe(_observableMergeMap(_responseText => {\r\n return this.throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }));\r\n }\r\n return _observableOf(null);\r\n\r\n }\r\n\r\n getRegValueSearchResults(search: GetRegValueSearchQuery) : Observable {\r\n let url_ = this.myAppUrl + \"api/CoreData/GetRegValueSearchList\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n const content_ = JSON.stringify(search);\r\n console.log(`Sending ${content_} to GetRegValueSearchList`);\r\n let options_: any = {\r\n body: content_,\r\n observe: \"response\",\r\n responseType: \"blob\",\r\n headers: new HttpHeaders({\r\n \"Content-Type\": \"application/json\",\r\n })\r\n };\r\n return this._http.request(\"post\", url_, options_).pipe(_observableMergeMap((response_: any) => {\r\n return this.processGetRegValueSearchResponse(response_);\r\n })).pipe(_observableCatch((response_: any) => {\r\n if (response_ instanceof HttpResponseBase) {\r\n try {\r\n return this.processGetRegDateSearchResponse(response_);\r\n } catch (e) {\r\n return >_observableThrow(e);\r\n }\r\n } else\r\n return >_observableThrow(response_);\r\n\r\n }));\r\n\r\n }\r\n\r\n processGetRegValueSearchResponse(response: HttpResponseBase): Observable {\r\n const status = response.status;\r\n const responseBlob =\r\n response instanceof HttpResponse ? response.body :\r\n (response).error instanceof Blob ? (response).error : undefined;\r\n\r\n let _headers: any = {}; if (response.headers) { for (let key of response.headers.keys()) { _headers[key] = response.headers.get(key); } };\r\n if (status === 200) {\r\n return this.blobToText(responseBlob).pipe(_observableMergeMap(_responseText => {\r\n let result200: any = null;\r\n let resultData200 = _responseText === \"\" ? null : JSON.parse(_responseText, this.jsonParseReviver);\r\n result200 = RegAddressSearchListVM.fromJS(resultData200);\r\n return _observableOf(result200);\r\n }));\r\n } else if (status !== 200 && status !== 204) {\r\n return this.blobToText(responseBlob).pipe(_observableMergeMap(_responseText => {\r\n return this.throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }));\r\n }\r\n return _observableOf(null);\r\n\r\n }\r\n getLCCityTown() {\r\n\r\n return this._http.get(this.myAppUrl + 'api/CoreData/GetLCCityTown');\r\n }\r\n\r\n getLCDocTypes() {\r\n\r\n return this._http.get(this.myAppUrl + 'api/CoreData/GetLCDocTypes');\r\n }\r\n\r\n getRegDoc(docId: number) {\r\n return this._http.get(this.myAppUrl + 'api/CoreData/GetRegDoc?docId=' + docId);\r\n }\r\n\r\n //getLCCertText(certId: number, linkname:string) {\r\n // console.log('getLCCertText call in service' + certId);\r\n // //return this._http.get(this.myAppUrl + 'api/CoreData/GetLCCertText?certId=' + certId, { responseType: 'text' });\r\n // const params = new HttpParams().set('certId', certId.toString()).set('linkname', linkname);\r\n // return this._http.get(this.myAppUrl + 'api/CoreData/GetLCCertText', { params, responseType:'text' });\r\n //}\r\n\r\n getLCCertText(query: GetLCCertTextQuery): Observable<{ type: 'pdf' | 'html'; content: string }> {\r\n return this._http.post('api/CoreData/GetCertificateContent', query, {\r\n observe: 'response',\r\n responseType: 'blob' as 'json'\r\n }).pipe(\r\n switchMap((response: HttpResponse) => {\r\n const contentType = response.headers.get('Content-Type') || '';\r\n\r\n if (contentType.includes('application/pdf')) {\r\n return from(this.blobToBase64Ext(response.body!)).pipe(\r\n map(base64 => ({ type: 'pdf' as const, content: base64 }))\r\n );\r\n } else {\r\n return from(response.body!.text()).pipe(\r\n map(text => ({ type: 'html' as const, content: text }))\r\n );\r\n }\r\n })\r\n );\r\n }\r\n\r\n blobToBase64Ext(blob: Blob): Promise {\r\n return new Promise((resolve, reject) => {\r\n const reader = new FileReader();\r\n reader.onload = () => {\r\n const dataUrl = reader.result as string;\r\n const base64 = dataUrl.split(',')[1]; // Strip off \"data:*/*;base64,\"\r\n resolve(base64);\r\n };\r\n reader.onerror = reject;\r\n reader.readAsDataURL(blob);\r\n });\r\n }\r\n\r\n //getLCCertText(search: GetLCCertTextQuery): Observable {\r\n // let url_ = this.myAppUrl + \"api/CoreData/GetLCCertText\";\r\n // url_ = url_.replace(/[?&]$/, \"\");\r\n // const content_ = JSON.stringify(search);\r\n // console.log(`Sending ${content_} to getLCCertText`);\r\n // let options_: any = {\r\n // body: content_,\r\n // observe: \"response\",\r\n // responseType: \"blob\",\r\n // headers: new HttpHeaders({\r\n // \"Content-Type\": \"application/json\",\r\n // })\r\n // };\r\n // return this._http.request(\"post\", url_, options_).pipe(_observableMergeMap((response_: any) => {\r\n // return this.processgetLCCertTextResponse(response_);\r\n // })).pipe(_observableCatch((response_: any) => {\r\n // if (response_ instanceof HttpResponseBase) {\r\n // try {\r\n // return this.processgetLCCertTextResponse(response_);\r\n // } catch (e) {\r\n // return >_observableThrow(e);\r\n // }\r\n // } else\r\n // return >_observableThrow(response_);\r\n\r\n // }));\r\n\r\n //}\r\n\r\n processgetLCCertTextResponse(response: HttpResponseBase): Observable {\r\n const status = response.status;\r\n const responseBlob =\r\n response instanceof HttpResponse ? response.body :\r\n (response).error instanceof Blob ? (response).error : undefined;\r\n\r\n let _headers: any = {}; if (response.headers) { for (let key of response.headers.keys()) { _headers[key] = response.headers.get(key); } };\r\n if (status === 200) {\r\n return this.blobToText(responseBlob).pipe(_observableMergeMap(_responseText => {\r\n let resultData200 = _responseText === \"\" ? null : _responseText;\r\n return _observableOf(resultData200);\r\n }));\r\n } else if (status !== 200 && status !== 204) {\r\n return this.blobToText(responseBlob).pipe(_observableMergeMap(_responseText => {\r\n return this.throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }));\r\n }\r\n return _observableOf(null);\r\n\r\n }\r\n\r\n\r\n\r\n\r\n\r\n getLCDocImagePageCountByID(docId) {\r\n const params = new HttpParams().set('docid', docId);\r\n return this._http.get(this.myAppUrl + 'api/CoreData/GetLCDocImagePageCountByID?docId=' + docId);\r\n }\r\n getLCDocImagePageByID(docId, page) {\r\n const params = new HttpParams().set('docid', docId).set('page', page);\r\n return this._http.get(this.myAppUrl + 'api/CoreData/GetLCDocImagePageByID?docId=' + docId + '&page=' + page, { responseType: 'text' });\r\n }\r\n\r\n getLCDocTotStrm(docId) {\r\n console.log(`Calling GetLCDocTotStrm`);\r\n //const params = new HttpParams().set('docid', docId);\r\n //return this._http.get(this.myAppUrl + 'api/CoreData/GetLCDocTotStrm?docId=' + docId, { responseType: 'blob' })\r\n // .pipe(switchMap(blob => from(this.blobToBase64(blob)))); // Convert Blob to Base64 Observable\r\n return this._http.get(this.myAppUrl + 'api/CoreData/GetLCDocTotStrm?docId=' + docId, { responseType: 'blob' })\r\n .pipe(switchMap(blob => from(this.blobToBase64(blob)))); // Convert Blob to Base64 Observable\r\n }\r\n\r\n blobToBase64(blob): Promise {\r\n return new Promise((resolve, reject) => {\r\n const reader = new FileReader();\r\n reader.onload = () => {\r\n const dataUrl = reader.result as string;\r\n const base64 = dataUrl.split(',')[1];\r\n resolve(base64);\r\n };\r\n reader.readAsDataURL(blob);\r\n });\r\n }\r\n\r\n getNextLCDoc(docNum) {\r\n const params = new HttpParams().set('docNum', docNum);\r\n return this._http.get(this.myAppUrl + 'api/CoreData/GetNextLCDoc?docNum=' + docNum);\r\n }\r\n\r\n getPrevLCDoc(docNum) {\r\n const params = new HttpParams().set('docNum', docNum);\r\n return this._http.get(this.myAppUrl + 'api/CoreData/GetPrevLCDoc?docNum=' + docNum);\r\n }\r\n\r\n getCertMemos(certId: number) {\r\n\r\n return this._http.get(this.myAppUrl + 'api/CoreData/GetCertMemos?certId=' + certId);\r\n }\r\n\r\n searchRegDoc(docNum) {\r\n return this._http.get(this.myAppUrl + 'api/CoreData/SearchRegDoc?docNum=' + docNum);\r\n }\r\n\r\n logError(message: string) {\r\n this._http.get(this.myAppUrl + 'api/CoreData/LogError?message=' + message);\r\n }\r\n\r\n logInfo(message: string) {\r\n this._http.get(this.myAppUrl + 'api/CoreData/LogInfo?message=' + message);\r\n }\r\n\r\n logWarning(message: string) {\r\n this._http.get(this.myAppUrl + 'api/CoreData/LogWarning?message=' + message);\r\n }\r\n\r\n downloadcert(search: GetLCCertTextQuery): Observable {\r\n let url_ = this.myAppUrl + \"api/CoreData/downloadCert\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n const content_ = JSON.stringify(search);\r\n\r\n let options_: any = {\r\n body: content_,\r\n observe: \"response\",\r\n responseType: \"blob\",\r\n headers: new HttpHeaders({\r\n \"Content-Type\": \"application/json\",\r\n })\r\n };\r\n\r\n return this._http.request(\"post\", url_, options_).pipe(map((res: any) => {\r\n return new Blob([res.body], {\r\n type: 'application/pdf'\r\n });\r\n }));\r\n }\r\n\r\n getLCCertIDFromCertNum(certNum: string) {\r\n\r\n return this._http.get(this.myAppUrl + 'api/CoreData/GetLCCertIDFromCertNum?certNum=' + certNum);\r\n }\r\n\r\n}\r\n","import { Component } from '@angular/core';\nimport { EvalonPaymentService } from './../../services/EvalonPayment.service'\nimport { FormsModule } from '@angular/forms'\n\ndeclare var PayWithConverge: any; // Declares the ConvergePay library globally\n\n@Component({\n selector: 'app-lightbox',\n templateUrl: './Evalonlightbox.component.html'\n //styleUrls: ['./lightbox.component.css'],\n})\nexport class EvalonLightboxComponent {\n firstName = 'John';\n lastName = 'Smith';\n amount = '100.00';\n token: string | null = null;\n txnStatus: string = '';\n txnResponse: string = '';\n\n constructor(private paymentService: EvalonPaymentService) { }\n\n initiateLightbox(): void {\n const request = {\n ssl_first_name: this.firstName,\n ssl_last_name: this.lastName,\n ssl_amount: this.amount,\n };\n\n this.paymentService.initiateLightbox(request).subscribe({\n next: (data) => {\n this.token = data;\n },\n error: (err) => {\n console.error('Error generating token:', err);\n },\n });\n }\n\n openLightbox(): void {\n if (!this.token) {\n alert('Please generate a token first!');\n return;\n }\n\n const paymentFields = {\n ssl_txn_auth_token: this.token,\n };\n\n const callback = {\n onError: (error: any) => this.showResult('Error', error),\n onCancelled: () => this.showResult('Cancelled', ''),\n onDeclined: (response: any) => this.showResult('Declined', JSON.stringify(response, null, 2)),\n onApproval: (response: any) => this.showResult('Approval', JSON.stringify(response, null, 2)),\n };\n\n PayWithConverge.open(paymentFields, callback);\n }\n\n showResult(status: string, msg: string): void {\n this.txnStatus = status;\n this.txnResponse = msg;\n }\n}\n","\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n\r\n\r\n
\r\n

Transaction Status:

\r\n
{{ txnStatus }}
\r\n
\r\n\r\n
\r\n

Transaction Response:

\r\n
{{ txnResponse }}
\r\n
\r\n","import { Component } from '@angular/core';\nimport { EvalonPaymentService } from './../../services/EvalonPayment.service'\nimport { FormsModule } from '@angular/forms'\n\n@Component({\n selector: 'app-payment',\n template: `\n
\n

\n Transaction Amount:\n \n

\n

\n \n

\n
\n

\n \n \n \n \n \n \n \n \n \n
One Time Session Token\n \n
\n \n
\n \n `,\n})\nexport class EvalonPaymentComponent {\n amount = '100.00';\n sessionToken: string | null = null;\n\n constructor(private paymentService: EvalonPaymentService) { }\n\n initiateHPP(event: Event) {\n event.preventDefault();\n\n return this.paymentService.getToken(this.amount);\n //subscribe({\n // next: (token) => {\n // this.sessionToken = token;\n // },\n // error: (err) => {\n // console.error('Error getting session token:', err);\n // },\n //});\n }\n}\n","import { Component, OnInit } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { AddressCIF } from '../../viewmodels/UtilityObj';\r\nimport { FormGroup, FormBuilder, Validators, UntypedFormGroup } from '@angular/forms';\r\nimport { Store } from '@ngrx/store';\r\nimport { AppState, getCoreSearchState } from '../../../store/reducers/reducers';\r\n\r\n\r\n@Component({\r\n selector: 'app-address',\r\n templateUrl: './address.component.html',\r\n styleUrls: ['./address.component.css']\r\n})\r\nexport class AddressComponent implements OnInit {\r\n\r\n public utilityobj: AddressCIF;\r\n message: any;\r\n public form: FormGroup;\r\n streetadrPattern = \"[a-zA-Z0-9&/+=,.';:@#()\\\\s\\*\\\"-]*\";\r\n\r\n constructor(private store: Store, private fb: FormBuilder) {\r\n\r\n this.utilityobj = new AddressCIF();\r\n this.store.select(getCoreSearchState).subscribe(data => this.message = data);\r\n if (this.message.address.address[0] != null) {\r\n this.utilityobj.streetNumber = this.message.address.address[0].streetNumber;\r\n this.utilityobj.streetAddress = this.message.address.address[0].streetAddress\r\n }\r\n }\r\n ngOnInit() {\r\n this.form = this.fb.group({\r\n 'streetadr': [this.utilityobj.streetAddress, [Validators.required, Validators.pattern(this.streetadrPattern)]]\r\n });\r\n\r\n this.form.valueChanges.subscribe((value) => {\r\n if (this.form.valid) {\r\n this.utilityobj.streetAddress = value.streetadr ? value.streetadr.toUpperCase() : '';\r\n }\r\n });\r\n\r\n }\r\n\r\n reset() {\r\n this.utilityobj.streetNumber = null;\r\n this.utilityobj.streetAddress = null;\r\n\r\n this.form.reset({\r\n streetadr: null\r\n });\r\n\r\n // Ensure validation state is also reset\r\n this.form.markAsPristine();\r\n this.form.markAsUntouched();\r\n this.form.updateValueAndValidity();\r\n\r\n console.log(\"AddressComponent has been reset.\");\r\n }\r\n\r\n}\r\n","
\r\n
\r\n \r\n \r\n
\r\n Enter Street Name\r\n Invalid characters in Street Name\r\n\r\n
\r\n
\r\n
\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { AmountRangeCIF } from '../../../shared/viewmodels/UtilityObj';\r\nimport { Store } from '@ngrx/store';\r\nimport { AppState, getCoreSearchState } from '../../../store/reducers/reducers';\r\nimport { FormGroup, FormBuilder, Validators } from '@angular/forms';\r\n//import { isNumeric } from 'rxjs/util/isNumeric';\r\nimport { AmountRangeMustBeValid } from '../../../shared/helpers/amount-range.validator';\r\n\r\n@Component({\r\n selector: 'app-amountrange',\r\n templateUrl: './amountrange.component.html',\r\n styleUrls: ['./amountrange.component.css']\r\n})\r\nexport class AmountrangeComponent implements OnInit {\r\n public utilityobj: AmountRangeCIF;\r\n message: any;\r\n public form: FormGroup;\r\n public myFromAmount: string;\r\n constructor(private store: Store, private fb: FormBuilder) {\r\n this.utilityobj = new AmountRangeCIF();\r\n this.store.select(getCoreSearchState).subscribe(data => this.message = data);\r\n if (this.message.amount.amount[0] != null) {\r\n this.utilityobj.fromAmount = this.message.amount.amount[0].fromAmount;\r\n this.utilityobj.toAmount = this.message.amount.amount[0].toAmount;\r\n this.utilityobj.type = this.message.amount.amount[0].type;\r\n\r\n }\r\n\r\n }\r\n\r\n ngOnInit() {\r\n this.form = this.fb.group({\r\n 'fromamount': [this.utilityobj.fromAmount, Validators.required],\r\n 'toamount': [this.utilityobj.toAmount, Validators.required],\r\n 'type': [this.utilityobj.type]\r\n }, {validators: AmountRangeMustBeValid()});\r\n\r\n if (this.utilityobj.type == \"lte\" || this.utilityobj.type == \"gte\") {\r\n this.form.get('toamount').clearValidators();\r\n this.form.get('toamount').updateValueAndValidity();\r\n }\r\n\r\n this.form.get('type').valueChanges.subscribe(value => {\r\n console.log(`type valueChanges value: ${JSON.stringify(value)}`);\r\n this.utilityobj.type = value;\r\n\r\n if (value == \"lte\" || value == \"gte\") {\r\n //this.form.patchValue({ toamount: 0 });\r\n this.form.get('toamount').clearValidators();\r\n \r\n } else {\r\n this.form.get('toamount').setValidators(Validators.required);\r\n }\r\n this.form.get('toamount').updateValueAndValidity();\r\n });\r\n this.form.valueChanges.subscribe(value => {\r\n console.log(`value: ${JSON.stringify(value)}`);\r\n console.log(`form.get('toamount').errors: ${JSON.stringify(this.form.get('toamount').errors)}`);\r\n //console.log(`form.errors: ${JSON.stringify(this.form.errors)}`);\r\n //console.log(`this.value: ${this.utilityobj.type}`);\r\n //console.log(`isNumeric(value.fromamount): ${isNumeric(value.fromamount)}`);\r\n //console.log(`Number(value.fromAmount): ${Number(value.fromamount)}`);\r\n //console.log(`myFromAmount before assignment: ${this.myFromAmount}`);\r\n\r\n //this.utilityobj.fromAmount = isNumeric(value.fromamount) ? Number(value.fromamount) : this.utilityobj.fromAmount;\r\n\r\n\r\n if (this.form.valid) {\r\n\r\n //this.utilityobj.fromAmount = isNumeric(value.fromamount) ? value.fromamount : this.utilityobj.fromAmount;\r\n this.utilityobj.fromAmount = +value.fromamount;\r\n console.log(`myFromAmount after assignment: ${this.myFromAmount}`);\r\n //this.utilityobj.toAmount = isNumeric(value.toamount) ? Number(value.toamount) : this.utilityobj.toAmount;\r\n this.utilityobj.toAmount = +value.toamount;\r\n console.log(`form.get('fromamount').value: ${this.form.get('fromamount').value}`);\r\n\r\n }\r\n });\r\n\r\n }\r\n\r\n}\r\n","\r\n\r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n\r\n\r\n
\r\n
\r\n \r\n \r\n
\r\n Required\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n \r\n Required \r\n \r\n Amount To must be greater than Amount From\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n \r\n \r\n
\r\n Required\r\n
\r\n
\r\n
\r\n\r\n
\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { DocNumcompoundCIF } from '../../viewmodels/UtilityObj';\r\nimport { Store } from '@ngrx/store';\r\nimport { AppState, getCoreSearchState } from '../../../store/reducers/reducers';\r\nimport { FormGroup, FormBuilder, Validators } from '@angular/forms';\r\n\r\n@Component({\r\n selector: 'app-book-page',\r\n templateUrl: './book-page.component.html',\r\n styleUrls: ['./book-page.component.css']\r\n})\r\nexport class BookPageComponent implements OnInit {\r\n\r\n public utilityobj: DocNumcompoundCIF;\r\n message: any;\r\n public form: FormGroup;\r\n bpPattern = \"[0-9]*\";\r\n\r\n constructor(private store: Store, private fb: FormBuilder) {\r\n this.utilityobj = new DocNumcompoundCIF();\r\n this.store.select(getCoreSearchState).subscribe(data => this.message = data);\r\n if (this.message.bp.bp[0] !=null) {\r\n this.utilityobj.docNumPrimary = this.message.bp.bp[0].docNumPrimary;\r\n this.utilityobj.docNumSecondary = this.message.bp.bp[0].docNumSecondary;\r\n }\r\n }\r\n\r\n ngOnInit() {\r\n this.form = this.fb.group({\r\n 'book': [this.utilityobj.docNumPrimary, [Validators.required, Validators.pattern(this.bpPattern)]],\r\n 'page': [this.utilityobj.docNumSecondary, [Validators.required,Validators.pattern(this.bpPattern)]]\r\n });\r\n this.form.valueChanges.subscribe(value => {\r\n if (this.form.valid) {\r\n this.utilityobj.docNumPrimary = value.book ? value.book : '';\r\n this.utilityobj.docNumSecondary = value.page ? value.page : '';\r\n\r\n }\r\n });\r\n \r\n }\r\n\r\n\r\n}\r\n","
\r\n
\r\n \r\n \r\n
\r\n Enter book\r\n Use numbers in Book\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n Enter page\r\n Use numbers in Page.\r\n
\r\n
\r\n
\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { CertNumCIF } from '../../viewmodels/UtilityObj';\r\nimport { Store } from '@ngrx/store';\r\nimport { AppState, getCoreSearchState } from '../../../store/reducers/reducers';\r\nimport { FormGroup, FormBuilder, Validators } from '@angular/forms';\r\n\r\n@Component({\r\n selector: 'app-certificate-no',\r\n templateUrl: './certificate-no.component.html',\r\n styleUrls: ['./certificate-no.component.css']\r\n})\r\nexport class CertificateNoComponent implements OnInit {\r\n public utilityobj: CertNumCIF;\r\n message: any;\r\n public form: FormGroup;\r\n //certnumPattern = \"[a-zA-Z0-9\\\\s]*\";\r\n certnumPattern = /^([Cc]?\\d{1,4}[- ]?\\d{1,4}|\\d+)$/;\r\n\r\n constructor(private store: Store, private fb: FormBuilder) {\r\n\r\n this.utilityobj = new CertNumCIF();\r\n this.store.select(getCoreSearchState).subscribe(data => this.message = data);\r\n //console.log(this.message);\r\n if (this.message.certnum != null) {\r\n this.utilityobj.certnum = this.message.certnum.certnum[0].certnum;\r\n }\r\n }\r\n\r\n ngOnInit() {\r\n this.form = this.fb.group({\r\n 'certnum': [this.utilityobj.certnum, [Validators.required, Validators.pattern(this.certnumPattern)]]\r\n });\r\n this.form.valueChanges.subscribe(value => {\r\n if (this.form.valid) {\r\n this.utilityobj.certnum = value.certnum ? value.certnum : '';\r\n }\r\n });\r\n\r\n }\r\n\r\n}\r\n","
\r\n
\r\n \r\n \r\n \r\n
\r\n Enter Certificate Number\r\n Use numbers in Certificate Number\r\n
\r\n
\r\n
\r\n\r\n","import { Component, OnInit, Input, SimpleChange } from '@angular/core';\r\nimport { RecSearchService } from '../../../rec-search/rec-search-service'\r\nimport { CityTownVM } from '../../viewmodels/ISearchService';\r\n//import { SelectedCityTown } from '../../viewmodels/SelectedCityTown';\r\n//import { element } from '@angular/core/src/render3';\r\nimport { CityTownCIF } from '../../../shared/viewmodels/UtilityObj';\r\nimport { Store, select } from '@ngrx/store';\r\n//import { AppState } from './../../../app.state';\r\nimport { Router } from '@angular/router';\r\nimport { AppState, getCoreSearchState } from '../../../store/reducers/reducers';\r\nimport { FormGroup, FormBuilder, Validators } from '@angular/forms';\r\nimport * as CityActions from '../../../store/actions/citytown.action';\r\n\r\n\r\n@Component({\r\n selector: 'app-city-town-ex',\r\n templateUrl: './city-town-ex.component.html',\r\n providers: [RecSearchService],\r\n styleUrls: ['./city-town-ex.component.css']\r\n})\r\nexport class CityTownEXComponent {\r\n\r\n\r\n public utilityobj: CityTownCIF;\r\n public message: any;\r\n public error: any;\r\n public toggleCheck: boolean = false;\r\n public isChecked: boolean = false;\r\n public selectedTowns: string = \"All Towns\";\r\n // public selectedcities: SelectedCityTown[] = [];\r\n public form: FormGroup;\r\n\r\n constructor(private service: RecSearchService, private store: Store, private router: Router) {\r\n }\r\n\r\n ngOnInit() {\r\n this.utilityobj = new CityTownCIF();\r\n\r\n this.store.select(getCoreSearchState).subscribe(data => this.message = data);\r\n if (this.message != undefined && this.message.city != undefined && this.message.city.city.length > 0 && this.message.city.city[0].citytowns != null && this.message.city.city[0].citytowns.length != 0) {\r\n this.utilityobj.citytowns = this.message.city.city[0].citytowns;\r\n var selectedTowns = this.utilityobj.citytowns.filter(function (value) { return value[\"isChecked\"] == true; });\r\n var townsString = \"\";\r\n selectedTowns.forEach(t => townsString = `${townsString} ${t.townName}`);\r\n this.selectedTowns = townsString;\r\n if (townsString.length === 0)\r\n this.selectedTowns = \"All Towns\";\r\n else if (townsString.length > 50)\r\n this.selectedTowns = this.selectedTowns.substring(0, 50) + '...';\r\n }\r\n\r\n else {\r\n this.getResults();\r\n }\r\n\r\n }\r\n\r\n ngOnChanges(changes: SimpleChange) {\r\n console.log(`Changes Fired: ${JSON.stringify(changes)}`);\r\n }\r\n\r\n getResults() {\r\n\r\n\r\n this.service.getCityTown().subscribe(\r\n data => {\r\n\r\n this.utilityobj.citytowns = data\r\n this.utilityobj.citytowns.forEach(function (value) {\r\n value[\"isChecked\"] = false;\r\n\r\n }\r\n\r\n );\r\n\r\n },\r\n error => { this.error = error }\r\n );\r\n\r\n }\r\n citySelected(city) {\r\n //console.log(`citySelected fired event: ${JSON.stringify(city)}`);\r\n this.utilityobj.citytowns = this.utilityobj.citytowns.map((val) => ({\r\n ...val\r\n }));\r\n\r\n var selectedTowns = this.utilityobj.citytowns.filter(function (value) { return value[\"isChecked\"] == true; });\r\n\r\n //console.log(`selctedTowns: ${JSON.stringify(selectedTowns)}`);\r\n var townsString = \"\";\r\n selectedTowns.forEach(t => townsString = `${townsString} ${t.townName}`);\r\n this.selectedTowns = townsString;\r\n if (townsString.length === 0)\r\n this.selectedTowns = \"All Towns\";\r\n else if (townsString.length > 50)\r\n this.selectedTowns = this.selectedTowns.substring(0, 50) + '...';\r\n\r\n //this.store.dispatch(new CityActions.AddCity({ citytowns: this.utilityobj.citytowns }));\r\n }\r\n checkAll(event) {\r\n this.getResults();\r\n this.utilityobj.citytowns = this.utilityobj.citytowns.map((val) => ({\r\n ...val,\r\n isChecked: false,\r\n }));\r\n\r\n this.isChecked = false;\r\n this.selectedTowns = \"All Towns\";\r\n }\r\n\r\n reset() {\r\n this.utilityobj = new CityTownCIF();\r\n this.selectedTowns = \"All Towns\";\r\n this.isChecked = false;\r\n\r\n this.getResults();\r\n\r\n // Reset checkbox states\r\n if (this.utilityobj.citytowns) {\r\n this.utilityobj.citytowns = this.utilityobj.citytowns.map((val) => ({\r\n ...val,\r\n isChecked: false,\r\n }));\r\n }\r\n\r\n // Optionally, refetch data\r\n //this.getResults();\r\n }\r\n\r\n}\r\n\r\n","
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n Clear All\r\n \r\n
\r\n
\r\n
\r\n  \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { Store } from '@ngrx/store';\r\nimport { AddressCIF } from '../../../shared/viewmodels/UtilityObj';\r\nimport { AppState, getCoreSearchState } from '../../../store/reducers/reducers';\r\nimport { FormControl, FormGroup, FormBuilder, Validators } from '@angular/forms';\r\n\r\n\r\n@Component({\r\n selector: 'app-compound-address',\r\n templateUrl: './compound-address.component.html',\r\n styleUrls: ['./compound-address.component.css']\r\n})\r\nexport class CompoundAddressComponent implements OnInit {\r\n\r\n public utilityobj: AddressCIF;\r\n message: any;\r\n public form: FormGroup;\r\n streetnumPattern = \"[a-zA-Z0-9&/+=,.';:@#()\\\\s\\*\\\"-]*\";\r\n streetadrPattern = \"[a-zA-Z0-9&/+=,.';:@#()\\\\s\\*\\\"-]*\";\r\n\r\n constructor(private store: Store, private fb: FormBuilder) {\r\n\r\n this.utilityobj = new AddressCIF();\r\n this.store.select(getCoreSearchState).subscribe(data => this.message = data);\r\n if (this.message.address.address[0]!=null) {\r\n this.utilityobj.streetNumber = this.message.address.address[0].streetNumber;\r\n this.utilityobj.streetAddress = this.message.address.address[0].streetAddress;\r\n }\r\n }\r\n ngOnInit() {\r\n this.form = this.fb.group({\r\n 'streetno': [this.utilityobj.streetNumber, Validators.pattern(this.streetnumPattern)],\r\n 'streetadr': [this.utilityobj.streetAddress, [Validators.required, Validators.pattern(this.streetadrPattern)]]\r\n });\r\n\r\n this.form.valueChanges.subscribe((value) => {\r\n if (this.form.valid) {\r\n this.utilityobj.streetNumber = value.streetno ? value.streetno.toUpperCase() : '';\r\n this.utilityobj.streetAddress = value.streetadr ? value.streetadr.toUpperCase() : '';\r\n }\r\n });\r\n\r\n }\r\n\r\n reset() {\r\n this.utilityobj.streetNumber = null;\r\n this.utilityobj.streetAddress = null;\r\n\r\n this.form.reset({\r\n streetno: null,\r\n streetadr: null\r\n });\r\n\r\n this.form.updateValueAndValidity();\r\n }\r\n\r\n}\r\n","
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n Enter Street Name\r\n Invalid characters in Street Name\r\n\r\n
\r\n
\r\n
\r\n","import { Component, OnInit, Input } from '@angular/core';\nimport { CompoundNameIdxCIF } from '../../viewmodels/RegUtility';\r\nimport { FormGroup, FormBuilder, Validators } from '@angular/forms';\r\nimport { Store } from '@ngrx/store';\r\nimport { AppState, getCoreSearchState } from '../../../store/reducers/reducers';\r\n\r\n\n@Component({\n selector: 'app-compound-name-idx',\n templateUrl: './compound-name-idx.component.html',\n styleUrls: ['./compound-name-idx.component.css']\n})\nexport class CompoundNameIdxComponent implements OnInit {\n\n public utilityobj: CompoundNameIdxCIF;\n message: any;\n public form: FormGroup;\n namePattern = \"[a-zA-Z0-9&/+=,.';:@#()\\\\s\\*\\\"-]*\";\n @Input() fnameShow: boolean;\n\n constructor(private store: Store, private fb: FormBuilder) {\n \n this.utilityobj = new CompoundNameIdxCIF();\n this.store.select(getCoreSearchState).subscribe(data => this.message = data);\n\n if (this.message.name.name[0] != null) {\n\n console.log(this.message.name.name[0].lastCorpName);\n this.utilityobj.lastcorpName = this.message.name.name[0].lastcorpName;\n this.utilityobj.fName = this.message.name.name[0].fName;\n }\n\n }\n ngOnInit() {\n this.form = this.fb.group({\n 'lastcorpName': [this.utilityobj.lastcorpName, [Validators.required, Validators.pattern(this.namePattern)]],\n 'fName': [this.utilityobj.fName, [Validators.pattern(this.namePattern)]]\n });\n\n this.form.valueChanges.subscribe((value) => {\n if (this.form.valid) {\n this.utilityobj.lastcorpName = value.lastcorpName ? value.lastcorpName.toUpperCase() : '';\n console.log(`lastcorpName: ${this.utilityobj.lastcorpName}`);\n this.utilityobj.fName = value.fName ? value.fName.toUpperCase() : '';\n\n\n }\n });\n }\n}\n","
\r\n
\r\n \r\n \r\n
\r\n Enter Business or Last name\r\n Invalid characters in Business or Last name\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n Invalid characters in First name\r\n
\r\n
\r\n
\r\n","import { Component, OnInit, Input, Output, EventEmitter, ChangeDetectorRef } from '@angular/core';\r\nimport { FormControl, FormGroup, FormBuilder, Validators } from '@angular/forms';\r\nimport { RecSearchService } from '../../../rec-search/rec-search-service';\r\nimport { CompoundNameCIF } from '../../../shared/viewmodels/UtilityObj';\r\nimport { Store } from '@ngrx/store';\r\n//import { Observable } from 'rxjs/Observable';\r\nimport { AppState, getCoreSearchState } from '../../../store/reducers/reducers';\r\nimport { map, filter } from 'rxjs/operators';\r\n\r\n@Component({\r\n selector: 'app-compound-name',\r\n templateUrl: './compound-name.component.html',\r\n styleUrls: ['./compound-name.component.css']\r\n})\r\n\r\n\r\n\r\nexport class CompoundNameComponent implements OnInit {\r\n\r\n public utilityobj: CompoundNameCIF;\r\n message: any;\r\n public form: FormGroup;\r\n //// last name in db A-Za-z0-9//s//t-/&,.+=\";:@#*()[]\r\n //// first name in db A-Za-z0-9//s//t-/&,.+=;@#()[]\r\n namePattern = \"[a-zA-Z0-9&/+=,.';:@#()\\\\s\\*\\\"-]*\";\r\n constructor(private store: Store, private fb: FormBuilder, private changeDetectorRef: ChangeDetectorRef) {\r\n\r\n this.utilityobj = new CompoundNameCIF();\r\n this.store.select(getCoreSearchState).subscribe(data => this.message = data);\r\n\r\n if (this.message.name.name[0] != null) {\r\n\r\n console.log(this.message.name.name[0].lastCorpName);\r\n this.utilityobj.lastcorpName = this.message.name.name[0].lastcorpName;\r\n this.utilityobj.fName = this.message.name.name[0].fName;\r\n }\r\n\r\n }\r\n ngOnInit() {\r\n this.form = this.fb.group({\r\n 'lastcorpName': [this.utilityobj.lastcorpName, [Validators.required, Validators.pattern(this.namePattern)]],\r\n 'fName': [this.utilityobj.fName, [Validators.pattern(this.namePattern)]]\r\n });\r\n\r\n this.form.valueChanges.subscribe((value) => {\r\n if (this.form.valid) {\r\n this.utilityobj.lastcorpName = value.lastcorpName ? value.lastcorpName.toUpperCase() : '';\r\n console.log(`lastcorpName: ${this.utilityobj.lastcorpName}`);\r\n this.utilityobj.fName = value.fName ? value.fName.toUpperCase() : '';\r\n\r\n\r\n }\r\n });\r\n }\r\n\r\n setNames(firstName: string, lastCorpName: string): void {\r\n // Update the utility object directly\r\n this.utilityobj.fName = firstName;\r\n this.utilityobj.lastcorpName = lastCorpName;\r\n\r\n // Update the form values using `setValue` or `patchValue`\r\n // `setValue` would require setting values for all controls in the form\r\n // `patchValue` is used here to update only specific controls without needing to touch others\r\n this.form.patchValue({\r\n fName: firstName,\r\n lastcorpName: lastCorpName\r\n });\r\n\r\n this.changeDetectorRef.detectChanges();\r\n\r\n //this.form.reset({ lastcorpName: firstName, fName: firstName });\r\n\r\n // Optionally, you can trigger validation or actions after setting the new values\r\n //this.form.updateValueAndValidity();\r\n }\r\n\r\n reset() {\r\n this.utilityobj = new CompoundNameCIF(); // Reset the object\r\n this.form.reset({ lastcorpName: '', fName: '' }); // Reset the form\r\n }\r\n\r\n}\r\n","
\r\n
\r\n \r\n \r\n
\r\n Enter Business or Last name\r\n Invalid characters in Business or Last name\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n Invalid characters in First name\r\n
\r\n
\r\n
\r\n","import { Component, OnInit } from '@angular/core';\nimport { CompoundNameCIF } from '../../../shared/viewmodels/UtilityObj';\r\nimport { Store } from '@ngrx/store';\r\nimport * as fromStore from '../../../store';\r\nimport { FormGroup, FormBuilder, Validators } from '@angular/forms';\r\nimport { AppState, getCoreSearchState} from '../../../store/reducers/reducers';\r\n\n@Component({\n selector: 'app-compund-name-owner',\n templateUrl: './compund-name-owner.component.html',\n styleUrls: ['./compund-name-owner.component.css']\n})\nexport class CompundNameOwnerComponent implements OnInit {\n public utilityobj: CompoundNameCIF;\r\n message: any;\r\n public form: FormGroup;\r\n namePattern = \"[a-zA-Z0-9&/+=,.';:@#()\\\\s\\*\\\"-]*\";\r\n\n constructor(private store: Store, private fb: FormBuilder) {\n this.utilityobj = new CompoundNameCIF();\r\n this.store.select(getCoreSearchState).subscribe(data => this.message = data);\n\n if (this.message.name.name[0]!=null) {\r\n console.log(this.message.name.name[0].lastcorpName);\r\n this.utilityobj.lastcorpName = this.message.name.name[0].lastcorpName;\r\n this.utilityobj.fName = this.message.name.name[0].fName;\n }\n }\n\n ngOnInit() {\r\n this.form = this.fb.group({\r\n 'lastcorpName': [this.utilityobj.lastcorpName, [Validators.required, Validators.pattern(this.namePattern)]],\r\n 'fName': [this.utilityobj.fName, [Validators.pattern(this.namePattern)]]\r\n });\r\n\r\n this.form.valueChanges.subscribe((value) => {\r\n if (this.form.valid) {\r\n this.utilityobj.lastcorpName = value.lastcorpName ? value.lastcorpName.toUpperCase() : '';\r\n console.log(`lastcorpName: ${this.utilityobj.lastcorpName}`);\r\n this.utilityobj.fName = value.fName ? value.fName.toUpperCase() : '';\r\n\r\n\r\n }\r\n });\r\n }\n\n}\n","
\r\n
\r\n \r\n \r\n
\r\n Enter Owner Last name\r\n Invalid characters in Owner Last name\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n Invalid characters in First name\r\n
\r\n
\r\n
\r\n","import { Component, OnInit } from '@angular/core';\nimport { ContainsCIF } from '../../../shared/viewmodels/UtilityObj';\r\nimport { Store } from '@ngrx/store';\r\nimport { AppState, getCoreSearchState } from '../../../store/reducers/reducers';\r\nimport { DxTooltipModule } from 'devextreme-angular';\r\n\n@Component({\n selector: 'app-contains',\n templateUrl: './contains.component.html',\n styleUrls: ['./contains.component.css']\n})\nexport class ContainsComponent implements OnInit {\n\n defaultVisible = false;\r\n\r\n public utilityobj: ContainsCIF;\r\n message: any;\n constructor(private store: Store) {\n this.utilityobj = new ContainsCIF();\r\n this.store.select(getCoreSearchState).subscribe(data => this.message = data);\n \n if (this.message.contains.length != 0) {\n console.log('coresearchdata contains ' + this.message.contains.contains[0].contains);\n this.utilityobj.contains = this.message.contains.contains[0].contains;\n }\n else {\n this.utilityobj.contains = 0;\n }\r\n }\n\n ngOnInit() {\n }\n\n toggleDefault() {\r\n this.defaultVisible = !this.defaultVisible;\r\n }\n \n}\n","\r\n
\r\n \r\n \r\n \r\n
\r\n

Over the years, names were indexed differently. To view all differences,
\r\n view the Contains Search. Contains search shows any occurrence of the last name
\r\n and first name whereever in the database. Scroll down the list to see variations.

\r\n

\r\n
\r\n
\r\n \r\n
\r\n
\r\n\r\n\r\n","import { Component, OnInit, Input, Output, EventEmitter } from '@angular/core';\nimport { FormGroup, FormBuilder, Validators, ValidationErrors } from '@angular/forms';\nimport { formatDate } from '@angular/common';\n\n@Component({\n selector: 'lib-date-picker',\n templateUrl: './date-picker.component.html',\n styleUrls: ['./date-picker.component.css']\n})\nexport class DatePickerComponent implements OnInit {\n\n public form: FormGroup;\n public dateString: string = \"\";\n\n public dateValue: Date | null;\n @Input()\n isFromDate: boolean = false;\n\n @Output()\n valueChange = new EventEmitter();\n\n\n @Input()\n get value() {\n return this.dateValue;\n }\n set value(val) {\n this.dateValue = val;\n\n if (val) {\n this.form.get('datebox').setValue(formatDate(this.dateValue, \"MM/dd/yyyy\", \"en-US\"));\n this.valueChange.emit(this.dateValue);\n }\n }\n\n\n constructor(private fb: FormBuilder) { }\n\n ngOnInit() {\n this.form = this.fb.group({\n 'datebox': [this.dateString, [Validators.required]]\n }, { validators: this.isValidDateFormatValidator });\n\n this.form.valueChanges.subscribe(value => {\n console.log(`inside valueChanges value: ${JSON.stringify(value)}`);\n console.log(`is form valid: ${this.form.valid}`);\n if (value.datebox) {\n let last: string = value.datebox[value.datebox.length - 1];\n console.log(`last: ${last}`);\n console.log(`!!Number(last): ${!!Number(last)}`);\n console.log(`is equal to '/' or '-': ${last === '/' || last === '-'}`);\n\n if (!!Number(last) || last === '/' || last === '-' || last === '0') {\n this.dateString = value.datebox\n } else {\n console.log(`value.datebox.slice: ${value.datebox.slice(0, -1)}`);\n //value.datebox = value.datebox.slice(0, -1);\n\n this.dateString = value.datebox.slice(0, -1);\n //this.form.updateValueAndValidity({ onlySelf: true, emitEvent: false});\n this.form.get('datebox').setValue(this.dateString, { onlySelf: true, emitEvent: false });\n console.log(`dateString: ${this.dateString}`);\n }\n } else {\n this.dateString = \"\";\n }\n });\n }\n\n isValidDateFormatValidator(control: FormGroup): ValidationErrors | null {\n console.log('+++++++++++++++isValidDateFormatValidator fired');\n let stringval = control.get('datebox').value;\n let newDate = new Date(stringval);\n console.log(`newDate is invalid: ${newDate.toString() === \"Invalid Date\"}`);\n if (newDate.toString() === 'Invalid Date') {\n return { invalidDate: true };\n }\n console.log(`newDate: ${newDate}`);\n return null;\n\n }\n onBlur(e: any) {\n console.log('+++++++++++++++++++onBlur fired');\n console.log(`form.valid: ${this.form.valid}`);\n if (this.form.valid) {\n //Detect YYYY pattern in dateString\n if (!!Number(this.dateString) && this.dateString.length == 4) {\n console.log(`WE HAVE A YEAR: ${this.dateString}`);\n if (this.isFromDate) {\n this.dateString = `1/1/${this.dateString}`;\n } else {\n this.dateString = `12/31/${this.dateString}`;\n }\n this.value = new Date(this.dateString);\n\n } else {\n this.value = new Date(this.dateString);\n }\n console.log(`this.value: ${this.value}`);\n\n }\n }\n}\n","
\n \n
\n","import { Component, OnInit, Input, Output, EventEmitter, ViewChild } from '@angular/core';\r\nimport { FormGroup, FormBuilder, Validators, ValidationErrors, FormControl } from '@angular/forms';\r\nimport { DateRangeCIF } from '../../../shared/viewmodels/UtilityObj';\r\nimport { Store } from '@ngrx/store';\r\nimport { AppState, getCoreSearchState } from '../../../store/reducers/reducers';\r\nimport { DatePickerComponent } from '../date-picker/date-picker.component';\r\n\r\n@Component({\r\n selector: 'lib-date-range-parent',\r\n templateUrl: './date-range-parent.component.html',\r\n styleUrls: ['./date-range-parent.component.css']\r\n})\r\nexport class DateRangeParentComponent implements OnInit {\r\n\r\n @ViewChild('fromDatePicker', {static: true}) fromDatePicker: DatePickerComponent;\r\n @ViewChild('toDatePicker', {static: true}) toDatePicker: DatePickerComponent;\r\n\r\n\r\n public utilityobj: DateRangeCIF;\r\n message: any;\r\n public form: FormGroup;\r\n public datecompare = false;\r\n\r\n constructor(private store: Store, private fb: FormBuilder) {\r\n this.utilityobj = new DateRangeCIF();\r\n //console.log(`DateRangeParent utilityobj: ${JSON.stringify(this.utilityobj)}`);\r\n this.store.select(getCoreSearchState).subscribe(data => this.message = data);\r\n if (this.message.date.date.length != 0) {\r\n this.utilityobj.fromDate = this.message.date.date[0].fromDate;\r\n this.utilityobj.toDate = this.message.date.date[0].toDate;\r\n }\r\n\r\n }\r\n\r\n ngOnInit() {\r\n this.form = this.fb.group({\r\n });\r\n this.form.valueChanges.subscribe(value => {\r\n console.log(`------------DateRangeParent ValueChanges Fired`);\r\n console.log(`value: ${JSON.stringify(value)}`);\r\n });\r\n }\r\n\r\n ngAfterViewInit() {\r\n \r\n this.form.addControl('datefrom', this.fromDatePicker.form);\r\n this.fromDatePicker.form.setParent(this.form);\r\n this.fromDatePicker.value = this.utilityobj.fromDate;\r\n this.fromDatePicker.valueChange.subscribe(value => { this.utilityobj.fromDate = value });\r\n\r\n this.form.addControl('dateto', this.toDatePicker.form);\r\n this.toDatePicker.form.setParent(this.form);\r\n this.toDatePicker.value = this.utilityobj.toDate;\r\n this.toDatePicker.valueChange.subscribe(value => { this.utilityobj.toDate = value });\r\n\r\n this.form.setValidators(this.dateCompareValidator);\r\n this.form.updateValueAndValidity({ onlySelf: true, emitEvent: false });\r\n\r\n console.log(`-------------------End of ngAfterViewInit`);\r\n console.log(`this.form: ${this.form}`);\r\n }\r\n\r\n dateCompareValidator(control: FormGroup): ValidationErrors | null {\r\n console.log('+++++++++dateCompareValidator fired');\r\n const FromDate = new Date(control.get('datefrom').get('datebox').value);\r\n console.log(`FromDate: ${FromDate}`);\r\n const ToDate = new Date(control.get('dateto').get('datebox').value);\r\n console.log(`ToDate: ${ToDate}`);\r\n const currDate = new Date();\r\n if (control.get('datefrom').get('datebox').touched && control.get('dateto').get('datebox').touched) {\r\n if (FromDate > currDate)\r\n return { 'fromdatefuture': true }\r\n else if (FromDate > ToDate && FromDate < currDate && ToDate < currDate) {\r\n return { datecompare: true }\r\n }\r\n }\r\n\r\n else if (FromDate > currDate)\r\n return { 'fromdatefuture': true }\r\n else\r\n return null;\r\n };\r\n\r\n reset(pFromDate: any, pToDate: any) {\r\n this.utilityobj = new DateRangeCIF();\r\n\r\n // Reset the form\r\n this.form.reset();\r\n\r\n // Reset child components\r\n if (this.fromDatePicker) {\r\n this.fromDatePicker.value = pFromDate;\r\n this.fromDatePicker.form.reset({ datebox: pFromDate });\r\n }\r\n\r\n if (this.toDatePicker) {\r\n this.toDatePicker.value = pToDate;\r\n this.toDatePicker.form.reset({ datebox: pToDate });\r\n }\r\n\r\n // Ensure the validators are still applied\r\n this.form.updateValueAndValidity({ onlySelf: true, emitEvent: false });\r\n }\r\n\r\n}\r\n","
\r\n
\r\n \r\n \r\n
\r\n Enter Date from; use mm/dd/yyyy format\r\n Date from cannot be future date\r\n
\r\n\r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n \r\n
\r\n Enter Date to; use mm/dd/yyyy format\r\n Date from cannot be greater than through date\r\n \r\n
\r\n\r\n
\r\n
\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { DateRangeCIF } from '../../../shared/viewmodels/UtilityObj';\r\nimport { Store } from '@ngrx/store';\r\nimport { AppState, getCoreSearchState } from '../../../store/reducers/reducers';\r\nimport { FormGroup, FormBuilder, Validators, ValidationErrors, ValidatorFn } from '@angular/forms';\r\n//import { parseDate } from \"devextreme/localization\";\r\n//import { toDate } from '@angular/common/src/i18n/format_date';\r\n\r\n@Component({\r\n selector: 'app-daterange',\r\n templateUrl: './daterange.component.html',\r\n styleUrls: ['./daterange.component.css']\r\n})\r\nexport class DaterangeComponent implements OnInit {\r\n public utilityobj: DateRangeCIF;\r\n message: any;\r\n public form: FormGroup;\r\n public datecompare = false;\r\n constructor(private store: Store, private fb: FormBuilder) {\r\n this.utilityobj = new DateRangeCIF();\r\n this.store.select(getCoreSearchState).subscribe(data => this.message = data);\r\n if (this.message.date.date != null && this.message.date.date.length > 0) {\r\n this.utilityobj.fromDate = this.message.date.date[0].fromDate;\r\n this.utilityobj.toDate = this.message.date.date[0].toDate;\r\n }\r\n }\r\n\r\n ngOnInit() {\r\n this.form = this.fb.group({\r\n 'datefrom': [this.utilityobj.fromDate, Validators.required],\r\n 'dateto': [this.utilityobj.toDate, Validators.required]\r\n }, { validators: this.dateCompareValidator });\r\n this.form.valueChanges.subscribe(value => {\r\n console.log(`dateform valueChanges: ${JSON.stringify(value)}`);\r\n\r\n });\r\n }\r\n\r\n dateCompareValidator(control: FormGroup): ValidationErrors | null {\r\n const FromDate = new Date(control.get('datefrom')?.value);\r\n const ToDate = new Date(control.get('dateto')?.value);\r\n const currDate = new Date();\r\n if (control.get('datefrom')?.touched && control.get('dateto')?.touched) {\r\n if (FromDate > currDate)\r\n return { 'fromdatefuture': true }\r\n else if (FromDate > ToDate && FromDate < currDate && ToDate < currDate) {\r\n return { datecompare: true }\r\n }\r\n }\r\n \r\n else if (FromDate > currDate)\r\n return { 'fromdatefuture': true }\r\n else\r\n return null;\r\n };\r\n\r\n reset(pFromDate: any, pToDate: any) {\r\n this.utilityobj.fromDate = pFromDate;\r\n this.utilityobj.toDate = pToDate;\r\n\r\n this.form.reset({\r\n datefrom: pFromDate,\r\n dateto: pToDate\r\n });\r\n\r\n this.form.updateValueAndValidity();\r\n }\r\n\r\n}\r\n\r\n","
\r\n\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n Enter Date from; use mm/dd/yyyy format\r\n Date from cannot be future date\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n
\r\n Enter Date to; use mm/dd/yyyy format\r\n Date from cannot be greater than Date To\r\n \r\n
\r\n
\r\n
\r\n","import { Component, OnInit, Input, Output, EventEmitter } from '@angular/core';\r\nimport { basketVM } from '../../viewmodels/basketVM';\r\nimport { ShoppingBasketService } from '../../../shared/services/shopping-basket.service';\r\n\r\n@Component({\r\n selector: 'app-doc-basket-add',\r\n templateUrl: './doc-basket-add.component.html',\r\n styleUrls: ['./doc-basket-add.component.css']\r\n})\r\n/** doc-basket-add component*/\r\nexport class DocBasketAddComponent implements OnInit {\r\n @Input() indexId: string;\r\n @Input() doctype: string;\r\n @Input() pagecount: number;\r\n @Input() docbeginbook: string;\r\n @Input() docbeginpage: string;\r\n @Input() currentindex: number;\r\n @Input() begindocnum: string;\r\n @Input() docId: string;\r\n @Input() basketItems: Array;\r\n @Output() toggle = new EventEmitter();\r\n basketItem: basketVM;\r\n machineType: number = 0;\r\n paymentMethod: string = '1';\r\n error: any;\r\n popupVisible: boolean = false;\r\n Message: string;\r\n\r\n constructor(private service: ShoppingBasketService) {\r\n\r\n }\r\n\r\n ngOnInit() {\r\n let loc = localStorage.getItem(\"machineLocation\")\r\n this.machineType = loc == '1' ? 1 : loc == '2' ? 2 : 0;\r\n if (this.machineType === 2)\r\n this.paymentMethod = '3';\r\n\r\n console.log('doc ' + this.doctype + ' ' + this.docbeginbook + ' ' + this.docbeginpage);\r\n }\r\n\r\n addToBasket(iswholedoc: boolean) {\r\n console.log(\"add to basket\");\r\n // console.log(\"docId\" + this.docId + \"begdocnum\" + this.begindocnum + \"begbook\" + this.docbeginbook + \"begpage\" + this.docbeginpage + \"currindex\" + this.currentindex);\r\n console.log(\"indexID \" + this.indexId);\r\n if (this.indexId) {\r\n ////Unindexed Doc\r\n var indexType = this.service.getUnindexedType(this.indexId);\r\n if (+this.indexId > 4 && +this.indexId < 20) {\r\n //grantor/tee indexes\r\n this.docbeginbook = indexType;\r\n this.docbeginpage = this.currentindex.toString();\r\n }\r\n }\r\n\r\n var index: number;\r\n console.log(\"Doc Num \" + this.docbeginbook);\r\n if (this.begindocnum !== undefined)\r\n index = this.basketItems.findIndex(item => item.begindocnum === this.begindocnum && item.wholeDoc === iswholedoc);\r\n else\r\n index = this.basketItems.findIndex(item => item.beginBook === this.docbeginbook && item.beginPage === this.docbeginpage && item.wholeDoc === iswholedoc);\r\n ////exists\r\n console.log(\"index \" + index.toString());\r\n if (index > -1) {\r\n if (iswholedoc) {\r\n console.log(\"Duplicate entry\");\r\n if (this.begindocnum !== undefined)\r\n this.Message = \"Document \" + this.begindocnum + \" is already added.\";\r\n else\r\n this.Message = \"Book/Page \" + this.docbeginbook + \"/\" + this.docbeginpage + \" is already added.\";\r\n this.popupVisible = true;\r\n }\r\n else {\r\n if (this.begindocnum !== undefined && this.basketItems[index].pages.indexOf((this.currentindex - 1).toString()) > -1) {\r\n this.Message = \"Document \" + this.begindocnum + \", p.\" + (this.currentindex) + \" is already added.\";\r\n this.popupVisible = true;\r\n }\r\n else if (this.begindocnum === undefined && this.basketItems[index].pages.indexOf(this.currentindex.toString()) > -1) {\r\n this.Message = \"Book/Page \" + this.docbeginbook + \"/\" + this.docbeginpage + \", p.\" + (this.currentindex) + \" is already added.\";\r\n this.popupVisible = true;\r\n }\r\n else {\r\n this.basketItems[index].pageCount = this.basketItems[index].pageCount + 1;\r\n //update local storage\r\n let basketls = JSON.parse(localStorage.getItem(\"basket\"));\r\n basketls[index].pageCount = basketls[index].pageCount + 1;\r\n localStorage.setItem(\"basket\", JSON.stringify(basketls));\r\n\r\n if (this.begindocnum !== undefined) {\r\n this.basketItems[index].pages.push((this.currentindex - 1).toString());\r\n //update local storage\r\n let basketls = JSON.parse(localStorage.getItem(\"basket\"));\r\n basketls[index].pages.push((this.currentindex - 1).toString());\r\n localStorage.setItem(\"basket\", JSON.stringify(basketls));\r\n this.Message = \"Document \" + this.begindocnum + \", p.\" + (this.currentindex) + \" is added successfully.\";\r\n }\r\n else {\r\n this.basketItems[index].pages.push(this.currentindex.toString());\r\n //update local storage\r\n let basketls = JSON.parse(localStorage.getItem(\"basket\"));\r\n basketls[index].pages.push(this.currentindex.toString());\r\n localStorage.setItem(\"basket\", JSON.stringify(basketls));\r\n this.Message = \"Book/Page \" + this.docbeginbook + \"/\" + this.docbeginpage + \", p.\" + (this.currentindex) + \" is added successfully.\";\r\n }\r\n this.popupVisible = true;\r\n }\r\n }\r\n }\r\n\r\n ////not exists- create new basket item\r\n else {\r\n this.basketItem = new basketVM();\r\n this.basketItem.docType = this.doctype;\r\n\r\n\r\n if (this.indexId) {\r\n ////Unindexed\r\n this.basketItem.beginBook = this.docbeginbook;\r\n this.basketItem.beginPage = this.docbeginpage;\r\n this.basketItem.bookpage = 'U: ' + indexType;\r\n this.basketItem.dept = 'U';\r\n this.basketItem.docType = this.indexId; //specifies which unindexed type\r\n this.basketItem.docId = '0';\r\n\r\n }\r\n\r\n //// Registered land document\r\n else if (this.begindocnum !== undefined) {\r\n this.basketItem.begindocnum = this.begindocnum;\r\n this.basketItem.bookpage = this.begindocnum;\r\n this.basketItem.docId = this.docId.toString();\r\n this.basketItem.dept = 'L';\r\n }\r\n\r\n ////Recorded land document\r\n else {\r\n this.basketItem.beginBook = this.docbeginbook;\r\n this.basketItem.beginPage = this.docbeginpage;\r\n\r\n if (this.doctype === 'PL' || this.doctype === 'PLAN_RC' || this.doctype === 'PLAN_LC')\r\n this.basketItem.bookpage = 'Plan B:' + this.docbeginbook + '/P:' + this.docbeginpage;\r\n else\r\n this.basketItem.bookpage = 'B:' + this.docbeginbook + '/P:' + this.docbeginpage;\r\n\r\n this.basketItem.dept = 'R';\r\n this.basketItem.docType = this.doctype;\r\n this.basketItem.docId = this.docId;\r\n //if (this.docId === \"0\" || this.doctype === null) {\r\n // //images to be found in the bookpagebooks path\r\n // this.basketItem.wholeDoc = true;\r\n // this.basketItem.docType = 'U';\r\n //}\r\n\r\n console.log('add ' + this.basketItem.bookpage + ' ' + this.doctype + ' ' + this.pagecount + ' ' + this.docId)\r\n }\r\n this.basketItem.isEmail = false;\r\n this.basketItem.isDownload = false;\r\n this.basketItem.downloadAs = 'pdf';\r\n this.basketItem.wholeDoc = iswholedoc;\r\n if (iswholedoc) {\r\n this.basketItem.pageCount = this.pagecount;\r\n }\r\n else {\r\n this.basketItem.pageCount = this.pagecount;\r\n this.basketItem.pageCount = 1;\r\n if (this.begindocnum !== undefined)\r\n this.basketItem.pages = new Array((this.currentindex - 1).toString());\r\n else\r\n this.basketItem.pages = new Array(this.currentindex.toString());\r\n }\r\n this.basketItems.push(this.basketItem);\r\n\r\n //update local storage\r\n if (localStorage.getItem(\"basket\") == null) {\r\n //let basketls = this.basketItem;\r\n localStorage.setItem(\"basket\", JSON.stringify(this.basketItems));\r\n }\r\n else /*if (localStorage.getItem(\"basket\").length > 0)*/ {\r\n let basketls = JSON.parse(localStorage.getItem(\"basket\"));\r\n basketls.push(this.basketItem);\r\n localStorage.setItem(\"basket\", JSON.stringify(basketls));\r\n }\r\n\r\n if (iswholedoc)\r\n if (this.begindocnum !== undefined)\r\n this.Message = \"Document \" + this.begindocnum + \" is added successfully.\";\r\n else\r\n this.Message = \"Book/Page \" + this.docbeginbook + \"/\" + this.docbeginpage + \" is added successfully.\";\r\n else\r\n if (this.begindocnum !== undefined)\r\n this.Message = \"Document \" + this.begindocnum + \", p.\" + (this.currentindex) + \" is added successfully.\";\r\n else\r\n this.Message = \"Book/Page \" + this.docbeginbook + \"/\" + this.docbeginpage + \", p.\" + (this.currentindex) + \" is added successfully.\";\r\n this.popupVisible = true;\r\n }\r\n\r\n }\r\n\r\n}\r\n","  Add to Basket\r\n
\r\n
\r\n
\r\n
\r\n
Add to Download list...
\r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n

\r\n {{Message}}\r\n

\r\n\r\n
\r\n
\r\n","import { Component, OnInit, Input, Output, EventEmitter, OnDestroy, AfterViewInit, Directive, TemplateRef, ViewContainerRef, HostListener, ChangeDetectorRef } from '@angular/core';\r\nimport { basketVM } from '../../viewmodels/basketVM';\r\nimport { ccPaymentVM } from '../../viewmodels/ccPaymentVM';\r\nimport { ShoppingBasketService } from '../../../shared/services/shopping-basket.service';\r\nimport { CCPaymentService } from '../../../shared/services/cc-payment-service';\r\nimport { EvalonPaymentService } from '../../../shared/services/EvalonPayment.service'\r\nimport { AuthResultVM, GetSBImagesQuery, SBListDTO } from '../../../shared/viewmodels/ISearchService';\r\nimport { DxPopupModule } from 'devextreme-angular';\r\nimport Swal from 'sweetalert2';\r\nimport { AuthenticationService } from '../../../shared/services/authentication.service';\r\n//import { isNumeric } from 'rxjs/util/isNumeric';\r\n//import { forEach } from '@angular/router/src/utils/collection';\r\nimport { Subscription, firstValueFrom } from 'rxjs';\r\n//import { Location } from '@angular/common';\r\n\r\ndeclare var PayWithConverge: any; // Declares the ConvergePay library globally\r\n\r\ninterface PaymentResult {\r\n status: string; // e.g., \"Error\", \"Cancelled\", \"Declined\", or \"Approval\"\r\n message: string; // e.g., error message or response details\r\n}\r\n\r\n\r\n@Component({\r\n selector: 'app-doc-basket-ex',\r\n providers: [ShoppingBasketService, CCPaymentService],\r\n templateUrl: './doc-basket-ex.component.html',\r\n styleUrls: ['./doc-basket-ex.component.css']\r\n})\r\n\r\n//@Directive({\r\n// selector: '[isVisible]',\r\n//})\r\n\r\n/** doc-basket-ex component*/\r\nexport class DocBasketExComponent implements OnInit, OnDestroy, AfterViewInit {\r\n @Input() indexId: string;\r\n @Input() basketItems: Array;\r\n @Output() toggle = new EventEmitter();\r\n basketItem: basketVM;\r\n basketCount: number = 0;\r\n ccPmt: ccPaymentVM;\r\n docImages: any;\r\n @Input() planImages: any;\r\n error: any;\r\n machineType: number = 0;\r\n machineLocation: string = '';\r\n paymentMethod: string = '1';\r\n buildSbListLock: boolean = false;\r\n Message: string;\r\n Username: string = '';\r\n guid: string = \"\";\r\n Description: string = '';\r\n userInputVisible: boolean = false;\r\n sbList: SBListDTO[];\r\n sbQuery: GetSBImagesQuery;\r\n totAmount: any;\r\n serviceFee: number = 0;\r\n isAuthorized: boolean = false;\r\n authResp: any;\r\n @Output() loaderEvent = new EventEmitter();\r\n showLoader: boolean = false;\r\n subscription: Subscription;\r\n token: string;\r\n txnStatus: string = '';\r\n txnResponse: string = '';\r\n\r\n constructor(private service: ShoppingBasketService, private ccPmtSvc: EvalonPaymentService, private auth: AuthenticationService, private vcRef: ViewContainerRef, private cdr: ChangeDetectorRef) {\r\n this.basketItems = new Array();\r\n this.ccPmt = new ccPaymentVM();\r\n console.log(\"doc basket ex constructor\");\r\n if (localStorage.getItem(\"basket\") !== null && localStorage.getItem(\"basket\").length > 0) {\r\n this.basketItems = JSON.parse(localStorage.getItem(\"basket\"));\r\n //localStorage.clear();\r\n }\r\n }\r\n\r\n sendLoader() {\r\n this.loaderEvent.emit(this.showLoader);\r\n }\r\n\r\n receiveLoader($event) {\r\n this.showLoader = $event;\r\n console.log(\"show - \" + this.showLoader)\r\n }\r\n\r\n getCount() {\r\n let cnt = JSON.parse(localStorage.getItem(\"basket\"));\r\n if (cnt !== null)\r\n return JSON.parse(localStorage.getItem(\"basket\")).length;\r\n else\r\n return 0;\r\n }\r\n\r\n ngOnInit() {\r\n //var id = this.route.snapshot.params.machineId;\r\n console.log(\"ngOnInit\");\r\n this.machineLocation = localStorage.getItem(\"machineLocation\");\r\n this.machineType = this.machineLocation == '1' ? 1 : this.machineLocation == '2' ? 2 : 0;\r\n if (this.machineType === 2)\r\n this.paymentMethod = '3';\r\n this.subscription = this.service.BasketCountSub$.subscribe(BasketCount => this.basketCount = BasketCount);\r\n console.log(\"Payment method = \" + this.paymentMethod);\r\n //this.service.BasketCountSub.next(this.basketItems.length);\r\n let cnt = JSON.parse(localStorage.getItem(\"basket\"));\r\n if (cnt !== null)\r\n this.service.updateBasketCount(cnt);\r\n else\r\n this.service.updateBasketCount(0);\r\n //this.service.updateBasketCount(cnt);\r\n this.service.trigger$.subscribe(() => {\r\n this.reRender();\r\n //this.basketCount = cnt;\r\n //this.cdr.markForCheck();\r\n //console.log(\"detect changes fired\");\r\n });\r\n }\r\n\r\n ngOnDestroy() {\r\n this.subscription && this.subscription.unsubscribe();\r\n }\r\n\r\n reRender() {\r\n let cnt = 0;\r\n if (localStorage.getItem(\"basket\") != null) {\r\n cnt = JSON.parse(localStorage.getItem(\"basket\")).length;\r\n }\r\n this.basketCount = cnt;\r\n this.cdr.markForCheck();\r\n console.log(\"detect changes fired - \" + cnt);\r\n }\r\n\r\n ngAfterViewInit() {\r\n console.log(\"ngAfterViewInit\");\r\n let cnt = JSON.parse(localStorage.getItem(\"basket\"));\r\n if (cnt !== null)\r\n this.service.updateBasketCount(JSON.parse(localStorage.getItem(\"basket\")).length);\r\n else\r\n this.service.updateBasketCount(0);\r\n //this.service.updateBasketCount(cnt);\r\n const observedElement = this.vcRef.element.nativeElement.parentElement;\r\n\r\n const observer = new IntersectionObserver(([entry]) => {\r\n this.renderContents(entry.isIntersecting)\r\n })\r\n observer.observe(observedElement)\r\n }\r\n\r\n renderContents(isIntersecting: boolean) {\r\n let cnt = JSON.parse(localStorage.getItem(\"basket\"));\r\n if (cnt !== null)\r\n this.service.updateBasketCount(JSON.parse(localStorage.getItem(\"basket\")).length);\r\n else\r\n this.service.updateBasketCount(0);\r\n //this.vcRef.clear()\r\n\r\n //if (isIntersecting) {\r\n // this.vcRef.createEmbeddedView(this.tplRef)\r\n //}\r\n }\r\n\r\n getBasket() {\r\n console.log('getbasket');\r\n this.basketItems = JSON.parse(localStorage.getItem(\"basket\"));\r\n this.machineLocation = localStorage.getItem(\"machineLocation\");\r\n this.machineType = this.machineLocation == '1' ? 1 : this.machineLocation == '2' ? 2 : 0;\r\n if (this.machineType === 2)\r\n this.paymentMethod = '3';\r\n if (this.basketItems !== null)\r\n this.service.updateBasketCount(JSON.parse(localStorage.getItem(\"basket\")).length);\r\n else\r\n this.service.updateBasketCount(0);\r\n\r\n this.basketItems.forEach(\r\n bi => { bi.isDownload = true; }\r\n )\r\n\r\n }\r\n\r\n closeBasket() {\r\n this.buildSbListLock = false;\r\n this.basketItems = JSON.parse(localStorage.getItem(\"basket\"));\r\n if (this.basketItems !== null)\r\n this.service.updateBasketCount(JSON.parse(localStorage.getItem(\"basket\")).length);\r\n else\r\n this.service.updateBasketCount(0);\r\n }\r\n\r\n async getCredentials() {\r\n //this.userInputVisible = true; \r\n let loc = localStorage.getItem(\"machineLocation\")\r\n this.Username = '';\r\n this.Description = '';\r\n\r\n if (loc == '0') {\r\n let x = await Swal.fire(\"This is where you will do account lookup\");\r\n //your credentials should populate here\r\n } else if (loc == '1' || loc == '2') {\r\n let x = await Swal.fire({\r\n title: 'Submission information',\r\n allowEnterKey: true,\r\n html:\r\n '

' +\r\n '
',\r\n focusConfirm: true,\r\n preConfirm: () => {\r\n (document.getElementById('Swal-input1')).focus;\r\n return [\r\n this.Username = (document.getElementById('Swal-input1')).value,\r\n this.Description = (document.getElementById('Swal-input2')).value\r\n ]\r\n }\r\n });\r\n\r\n } else {\r\n //this.getSB();\r\n }\r\n }\r\n\r\n //async openLightbox(amt: string) {\r\n\r\n // var ret;\r\n\r\n // ret = await this.ccPmtSvc.getToken(amt);\r\n\r\n // this.token = ret;\r\n\r\n // if (!this.token) {\r\n // alert('Please generate a token first!');\r\n // return;\r\n // }\r\n\r\n // const paymentFields = {\r\n // ssl_txn_auth_token: this.token,\r\n // };\r\n\r\n // const callback = {\r\n // onError: (error: any) => this.showResult('Error', error),\r\n // onCancelled: () => this.showResult('Cancelled', ''),\r\n // onDeclined: (response: any) => this.showResult('Declined', JSON.stringify(response, null, 2)),\r\n // onApproval: (response: any) => this.showResult('Approval', JSON.stringify(response, null, 2)),\r\n // };\r\n\r\n // // Trigger the modal dialog\r\n // PayWithConverge.open(paymentFields, callback);\r\n //}\r\n\r\n\r\n async openLightbox(amt: string) {\r\n if (!amt || isNaN(Number(amt))) {\r\n alert('Please provide a valid amount.');\r\n return;\r\n }\r\n\r\n try {\r\n const token = await this.ccPmtSvc.getToken(amt);\r\n\r\n if (!token) {\r\n alert('Please generate a token first!');\r\n return;\r\n }\r\n\r\n this.token = token;\r\n\r\n const paymentFields = {\r\n ssl_txn_auth_token: this.token,\r\n };\r\n\r\n //this.txnStatus = \"Approval\";\r\n //this.txnResponse = \"\";\r\n //return;\r\n\r\n const result: PaymentResult = await new Promise((resolve, reject) => {\r\n const callback = {\r\n onError: (error: any) => {\r\n console.error('Payment error:', error);\r\n reject({ status: 'Error', message: error });\r\n },\r\n onCancelled: () => {\r\n console.warn('Payment was cancelled.');\r\n resolve({ status: 'Cancelled', message: '' });\r\n },\r\n onDeclined: (response: any) => {\r\n console.warn('Payment was declined:', response);\r\n resolve({ status: 'Declined', message: JSON.stringify(response, null, 2) });\r\n },\r\n onApproval: (response: any) => {\r\n console.log('Payment approved:', response);\r\n resolve({ status: 'Approval', message: JSON.stringify(response, null, 2) });\r\n },\r\n };\r\n\r\n // Ensure `PayWithConverge.open` exists before calling it\r\n if (typeof PayWithConverge?.open !== 'function') {\r\n reject({ status: 'Error', message: 'PayWithConverge.open is not available.' });\r\n return;\r\n }\r\n //this.token = 'Approval';\r\n\r\n // Trigger the payment modal\r\n PayWithConverge.open(paymentFields, callback);\r\n });\r\n\r\n this.showResult(result.status, result.message);\r\n\r\n } catch (error) {\r\n console.error('Error during payment process:', error);\r\n alert(`Payment ${error.status}: ${error.message}`);\r\n }\r\n }\r\n\r\n\r\n showResult(status: string, msg: string): void {\r\n this.txnStatus = status;\r\n this.txnResponse = msg;\r\n }\r\n\r\n async buildSBList(e) {\r\n\r\n if (this.buildSbListLock) {\r\n return;\r\n }\r\n console.log('buildSBList');\r\n //this.buildSbListLock = true;\r\n\r\n if (this.paymentMethod === '3') {\r\n //pay at counter from vault or admin\r\n await this.getCredentials();\r\n if (this.Username.length == 0) {\r\n Swal.fire(\"You must enter a name for identification\");\r\n return;\r\n }\r\n }\r\n\r\n if (this.paymentMethod === '1') {\r\n //account\r\n\r\n this.Username = localStorage.getItem('uid');\r\n this.guid = localStorage.getItem('guid');\r\n\r\n await this.auth.ValidateGuid();\r\n console.log(this.auth.guid + ' ' + this.auth.success);\r\n if (this.auth.success === 0) {\r\n //not valid, so get login\r\n await this.auth.getCredentials();\r\n console.log('auth ' + this.auth.success)\r\n if (this.auth.success === 0) {\r\n //login unsuccessful - abort\r\n this.buildSbListLock = false;\r\n return;\r\n }\r\n else {\r\n this.Username = localStorage.getItem('uid');\r\n this.guid = localStorage.getItem('guid');\r\n this.buildSbListLock = true;\r\n }\r\n }\r\n }\r\n\r\n\r\n //if (this.machineType == 1) {\r\n // await this.getCredentials();\r\n\r\n // if (this.Username.length == 0) {\r\n // Swal.fire(\"You must enter a name for identification\");\r\n // return;\r\n // }\r\n\r\n //} else if (this.machineType == 0) {\r\n\r\n // if (this.paymentMethod === '1') {\r\n // //account payment\r\n // this.Username = localStorage.getItem('uid');\r\n // this.guid = localStorage.getItem('guid');\r\n\r\n // //check for valid session\r\n // //if invalid - popup login\r\n // await this.auth.ValidateGuid();\r\n // if (this.auth.success === 0) {\r\n // //not valid, so get login\r\n // await this.auth.getCredentials();\r\n // console.log('auth ' + this.auth.success)\r\n // if (this.auth.success === 0)\r\n // //login unsuccessful - abort\r\n // return;\r\n\r\n // }\r\n // }\r\n //}\r\n\r\n //if valid - get total amount and verify with user\r\n //if agrees - check to see if they have enough money\r\n //if authorized - process SBImages\r\n\r\n var docPages = 0;\r\n var planPages = 0;\r\n\r\n var sblist: SBListDTO[] = new Array();\r\n this.basketItems.forEach(function (bi) {\r\n if (bi.isDownload) {\r\n var sb1 = new SBListDTO();\r\n sb1.imageType = bi.downloadAs;\r\n sb1.department = bi.dept;\r\n if (bi.dept == \"G\") {\r\n sb1.bookDoc = bi.begindocnum;\r\n } else {\r\n sb1.bookDoc = bi.beginBook !== undefined ? bi.beginBook : bi.docId;\r\n }\r\n \r\n sb1.bookPage = bi.beginPage;\r\n sb1.wholeDoc = bi.wholeDoc;\r\n sb1.pages = bi.pages;\r\n sb1.docType = bi.docType;\r\n sb1.docPageCount = bi.pageCount;\r\n sblist.push(sb1);\r\n\r\n //for cost calc -needs to be moved to service\r\n // console.log('doc type ' + bi.docType);\r\n if (bi.docType === 'PL' || bi.docType === 'PLAN' || bi.docType === 'PLAN_RC' || bi.docType === 'PLAN_LC') {\r\n if (bi.wholeDoc === true)\r\n planPages += bi.pageCount\r\n else\r\n planPages += bi.pages.length;\r\n }\r\n else {\r\n if (bi.wholeDoc === true)\r\n docPages += bi.pageCount\r\n else\r\n docPages += bi.pages.length;\r\n }\r\n }\r\n });\r\n\r\n //set unindexed desc if applicable\r\n sblist.forEach(\r\n bi => { bi.desc = bi.department == 'U' ? 'U ' + this.service.getUnindexedType(bi.docType) : '' }\r\n )\r\n\r\n // console.log(sblist);\r\n this.sbList = sblist;\r\n if (sblist.length > 0) {\r\n let imgquery = new GetSBImagesQuery({\r\n emailList: false,\r\n emailAddress: '',\r\n zipList: false,\r\n sBList: sblist,\r\n credentialGUID: this.guid,\r\n submissionType: this.machineType,\r\n internalUserID: this.Username,\r\n internalDescription: this.Description,\r\n optionalPhone: '',\r\n optionalZipCode: ''\r\n });\r\n\r\n this.sbQuery = imgquery;\r\n if (this.indexId)\r\n this.sbQuery.internalDescription = this.service.getUnindexedType(this.indexId);\r\n\r\n //await this.getSBAmount();\r\n if (localStorage.getItem('accntType') === \"Z\")\r\n this.totAmount = 0.00;\r\n else\r\n this.totAmount = (planPages * 1) + (docPages * 1);\r\n\r\n ///branching for payment methods & machine types\r\n if (this.paymentMethod === '1') {\r\n //account payment method\r\n Swal.fire({\r\n title: 'Total Cost',\r\n text: 'for this download - $' + this.totAmount + '.00',\r\n showCancelButton: true\r\n // confirmButtonText: 'OK'\r\n }).then((result) => {\r\n if (result.value === true) {\r\n console.log('cost accepted ' + result.value);\r\n Swal.fire(\"Do not navigate from page until download is complete\");\r\n this.getSBAuth();\r\n }\r\n else\r\n //cancelled\r\n //this.buildSbListLock = false;\r\n return;\r\n })\r\n } else if (this.paymentMethod === '2') {\r\n //cc payment\r\n //this.getCreditCardInfo();\r\n await this.openLightbox(this.totAmount);\r\n if (this.txnStatus === \"Approval\") {\r\n Swal.fire(\"Do not navigate from page until download is complete\");\r\n this.getSB();\r\n }\r\n } else if (this.paymentMethod === '3') {\r\n //print to the counter\r\n if (this.machineType === 1) {\r\n Swal.fire({\r\n title: 'Total Cost',\r\n text: 'for this download - $' + this.totAmount + '.00',\r\n showCancelButton: true\r\n }).then((result) => {\r\n if (result.value === true) {\r\n this.queueSB();\r\n }\r\n else\r\n //cancelled\r\n //this.buildSbListLock = false;\r\n return;\r\n })\r\n } else {\r\n //admin\r\n this.queueSB();\r\n }\r\n }\r\n\r\n // if (this.paymentMethod === '1' || (this.paymentMethod === '3' && this.machineType === 1)) {\r\n // //account or counter payment for vault \r\n // Swal.fire({\r\n // title: 'Total Cost',\r\n // text: 'for this download - $' + this.totAmount + '.00',\r\n // showCancelButton: true\r\n // // confirmButtonText: 'OK'\r\n // }).then((result) => {\r\n // if (result.value === true) {\r\n // console.log('cost accepted ' + result.value);\r\n // costAccepted = 1;\r\n // if (this.machineType == 1 && this.paymentMethod === '3') {\r\n // //vault & pay at counter\r\n // this.printSB();\r\n // this.getSB();\r\n // } else if (this.paymentMethod === '1') {\r\n // //pay by account\r\n // this.getSBAuth();\r\n // }\r\n // }\r\n // else\r\n // return;\r\n // })\r\n // }\r\n // else if (this.paymentMethod === '2') {\r\n // //credit card\r\n // this.getCreditCardInfo();\r\n // }\r\n // else if (this.paymentMethod === '3' && this.machineType === 2) {\r\n // this.printSB();\r\n // }\r\n\r\n } else {\r\n Swal.fire(\"Error\", \"Please select at least one item to download\");\r\n }\r\n //this.buildSbListLock = false;\r\n }\r\n\r\n async getSBAuth() {\r\n console.log('getSBAuth');\r\n await this.service.getSBAuth(this.sbQuery).toPromise()\r\n .then(data => {\r\n this.authResp = data.body;\r\n //console.log('msg - ' + this.authResp.msg);\r\n //console.log('keys ' + Object.keys(data.body));\r\n });\r\n\r\n //(error => { this.error = error }),\r\n //(() => { console.log('authResp - '+ this.authResp.success); });\r\n\r\n console.log('post getSBAuth ' + this.authResp.success);\r\n\r\n if (this.authResp.success === 0) {\r\n Swal.fire('Authorization Failed', this.authResp.msg);\r\n return;\r\n }\r\n else {\r\n //kick off the download or print\r\n if (this.showLoader === false) {\r\n this.showLoader = true;\r\n this.sendLoader();\r\n }\r\n\r\n //Branch for download vs print\r\n if (this.machineType === 0)\r\n this.getSB();\r\n else if (this.machineType === 1)\r\n this.printSB();\r\n }\r\n }\r\n\r\n async getCreditCardInfo() {\r\n\r\n console.log('cc info');\r\n\r\n var fname = \"J\";\r\n var lname = \"HAYNES\"\r\n var amount = \"100.00\"\r\n\r\n var ret = this.ccPmtSvc.initiateLightbox({ ssl_first_name: fname, ssl_last_name: lname, ssl_amount: amount });\r\n\r\n var i = ret;\r\n\r\n //let x = await Swal.fire({\r\n // title: 'Enter Credit Card Info',\r\n // showCancelButton: true,\r\n // allowEnterKey: true,\r\n // html:\r\n // '
' +\r\n // '' +\r\n // ' ' +\r\n // '' +\r\n // '' +\r\n // '' +\r\n // '' +\r\n // '' +\r\n // '' +\r\n // '
' +\r\n // '
*** The cost for this download is $' + this.totAmount.toString() + '.00 - a convenience fee of 3 percent will be added to this charge, with a minimum convenience fee of $1.00.

Charges will appear on your statement as
PayGov, Indianapolis, IN

. ',\r\n\r\n // focusConfirm: true,\r\n // preConfirm: () => {\r\n // return [\r\n // this.ccPmt.ccNum = (document.getElementById('ccnum')).value,\r\n // this.ccPmt.ccFname = (document.getElementById('ccfname')).value,\r\n // this.ccPmt.ccLname = (document.getElementById('cclname')).value,\r\n // this.ccPmt.ccMonth = (document.getElementById('ccmonth')).value,\r\n // this.ccPmt.ccYear = (document.getElementById('ccyear')).value,\r\n // this.ccPmt.ccv = (document.getElementById('ccv')).value,\r\n // this.ccPmt.ccZip = (document.getElementById('cczip')).value\r\n // ]\r\n // }\r\n //}).then((result) => {\r\n // if (result.dismiss === undefined) {\r\n // console.log('cc ok');\r\n // this.authorizeCard();\r\n // }\r\n // else {\r\n // console.log('cc cancel');\r\n // this.buildSbListLock = false;\r\n // return;\r\n // }\r\n //});\r\n }\r\n\r\n async authorizeCard() {\r\n\r\n this.service.logServiceError('begin CC Auth');\r\n\r\n //validate card info\r\n this.ccPmt.realccNum = this.ccPmt.ccNum.replace(/[.,\\/#!$%\\^&\\*;:{}=\\-_`~()\\s]/g, \"\");\r\n if (this.ccPmt.ccMonth.length === 1)\r\n this.ccPmt.ccMonth = '0' + this.ccPmt.ccMonth;\r\n this.ccPmt.ccAmount = this.totAmount;\r\n\r\n //let msg = this.ccPmtSvc.ValidateCard(this.ccPmt);\r\n //let tken = this.ccPmtSvc.getToken(this.ccPmt.ccAmount.toString());\r\n //if (tken === '') {\r\n\r\n this.service.logServiceError('CC Info validated');\r\n\r\n this.ccPmt.authCode = '';\r\n let response = '';\r\n this.showLoader = true;\r\n this.sendLoader();\r\n\r\n return this.ccPmtSvc.getToken(this.ccPmt.ccAmount.toString());\r\n // toPromise()\r\n // .then(data => {\r\n // //console.log('data ' + data);\r\n // response = data;\r\n // //this.ccPmt.status = this.ccPmtSvc.getElement(data, '');\r\n // //if (this.ccPmt.status === 'Declined') {\r\n // // let responseText = this.ccPmtSvc.getElement(data, '');\r\n // // this.service.logServiceError('CC Payment Declined - ' + response);\r\n // // this.showLoader = false;\r\n // // this.sendLoader();\r\n // // this.buildSbListLock = false;\r\n // // Swal.fire('Payment Declined')\r\n // //}\r\n // //else if (this.ccPmt.status === 'Authorized' || this.ccPmt.status === 'Pending') {\r\n // // //approved\r\n // // this.ccPmt.authCode = this.ccPmtSvc.getElement(data, '');\r\n // // this.sbQuery.authCode = this.ccPmt.authCode;\r\n // // this.serviceFee = +this.ccPmtSvc.getElement(data, '');\r\n // // this.ccPmt.orderId = this.ccPmtSvc.getElement(data, '');\r\n // // console.log('Payment Authorized - ' + this.ccPmt.authCode + ' - ' + this.ccPmt.orderId);\r\n // // this.service.logServiceError('Payment Authorized - ' + this.ccPmt.authCode + ' - ' + this.ccPmt.orderId + ' ' + this.machineType);\r\n\r\n // // //all is well - branch for download vs print\r\n // // if (this.machineType === 0)\r\n // // this.getSB();\r\n // // else if (this.machineType === 1)\r\n // // this.printSB();\r\n // // else\r\n // // this.service.logServiceError(\"Error - \" + this.machineType);\r\n // // this.buildSbListLock = true;\r\n // // Swal.fire(\"Request submitted.\");\r\n // //}\r\n // //else {\r\n // // //log the different status\r\n // // this.service.logServiceError('Unknown Payment Status - ' + response);\r\n // // this.showLoader = false;\r\n // // this.sendLoader();\r\n // //}\r\n // });\r\n //\r\n //else {\r\n // //validation failed - go back to the cc form\r\n // this.buildSbListLock = false;\r\n // this.service.logServiceError('CC not validated - ' + msg);\r\n // await Swal.fire('Validation Error', msg);\r\n //}\r\n // this.showLoader = false;\r\n // this.sendLoader();\r\n //}\r\n }\r\n\r\n async printSB() {\r\n\r\n //handle print requests for account & cc payments\r\n this.service.logServiceError('print SB in doc basket ' + this.ccPmt.authCode + ' ' + this.auth.uid);\r\n this.sbQuery.totalFee = this.totAmount;\r\n //this.sbQuery.serviceFee = this.serviceFee;\r\n\r\n if (this.paymentMethod === '1') {\r\n this.sbQuery.internalUserID = 'Account - ' + this.auth.uid;\r\n } else if (this.paymentMethod === '2') {\r\n //this.sbQuery.internalUserID = this.ccPmt.ccFname + ' ' + this.ccPmt.ccLname + '- Auth ' + this.ccPmt.authCode;\r\n this.sbQuery.internalUserID = 'Auth ' + this.ccPmt.authCode;\r\n }\r\n\r\n if (this.sbList.length > 0) {\r\n // console.log(\"Calling download\" + this.sbQuery);\r\n await this.service.printSBImages(this.sbQuery).toPromise()\r\n .then(data => {\r\n console.log(data.body);\r\n if (data.body === true) {\r\n\r\n //remove checked items from basket\r\n this.clearBasket();\r\n\r\n this.downloadComplete(false);\r\n }\r\n else {\r\n this.showLoader = false;\r\n this.sendLoader();\r\n if (this.paymentMethod === '2')\r\n //cc\r\n this.voidTransaction();\r\n }\r\n });\r\n }\r\n\r\n //auto logout for account pmts\r\n if (this.paymentMethod === '1')\r\n this.auth.autoLogout();\r\n }\r\n\r\n async queueSB() {\r\n\r\n //queue the images for the counter to process\r\n console.log('queueSB');\r\n this.showLoader = true;\r\n this.sendLoader();\r\n\r\n this.sbQuery.submissionType = 1; //sends the images to a print queue in GetSBImages\r\n\r\n console.log(this.sbQuery);\r\n\r\n\r\n await this.service.getSBImages(this.sbQuery).subscribe(\r\n data => {\r\n //nothing to do, since this execution path returns a null value\r\n console.log('print request queued');\r\n });\r\n this.clearBasket();\r\n\r\n this.showLoader = false;\r\n this.sendLoader();\r\n Swal.fire('Request Completed', 'Check with the front counter');\r\n }\r\n\r\n async getSB() {\r\n\r\n // this.showLoader = true;\r\n // this.sendLoader();\r\n var success: number = 1;\r\n\r\n if (this.paymentMethod === '2')\r\n this.service.logServiceError(\"Entering getSB \" + this.ccPmt.authCode);\r\n\r\n console.log('getSB - type ' + this.paymentMethod);\r\n if (this.sbList.length > 0) {\r\n // console.log(\"Calling download\" + this.sbQuery);\r\n //this.sbQuery.authCode = this.token;\r\n\r\n if (this.paymentMethod === '1') {\r\n this.sbQuery.authCode = 'Account';\r\n } else {\r\n this.sbQuery.authCode = 'Approval';\r\n }\r\n\r\n await this.service.getSBImages(this.sbQuery).subscribe(\r\n data => {\r\n //console.log(data);\r\n this.docImages = data;\r\n //console.log('download ' + this.docImages);\r\n\r\n this.clearBasket();\r\n //this.basketItems = this.basketItems.filter(item => item.isDownload == false);\r\n //if (localStorage.getItem(\"basket\") !== null && localStorage.getItem(\"basket\").length > 0) {\r\n // let basketls = JSON.parse(localStorage.getItem(\"basket\"));\r\n // localStorage.setItem(\"basket\", JSON.stringify(basketls.filter(item => item.isDownload == true)));\r\n //}\r\n\r\n ////const url = window.URL.createObjectURL(this.docImages);\r\n ////window.open(url);\r\n //////window.URL.revokeObjectURL(url);\r\n\r\n try {\r\n\r\n //IE11 support\r\n if (data.size != 0) {\r\n //if (window.navigator && window.navigator.msSaveOrOpenBlob) {\r\n // window.navigator.msSaveOrOpenBlob(this.docImages, \"MyCarrollCounty.zip\");\r\n //}\r\n //// other browsers\r\n //else {\r\n var a = document.createElement(\"a\");\r\n document.body.appendChild(a);\r\n const url = window.URL.createObjectURL(this.docImages);\r\n a.href = url;\r\n a.download = \"MySouthBristolCounty.zip\";\r\n a.click();\r\n window.URL.revokeObjectURL(url);\r\n //}\r\n this.downloadComplete(true);\r\n }\r\n else {\r\n this.service.logServiceError('Download Error - filesize = 0' + ' - ' + window.navigator.appName + ' ' + window.navigator.appVersion + ' ' + window.navigator.platform);\r\n success = 0;\r\n }\r\n }\r\n catch (error) {\r\n //logging here\r\n this.service.logServiceError('Download Error - ' + Object.keys(error) + ' ' + error.error + ' ' + this.ccPmt.authCode + ' - ' + window.navigator.appName + ' ' + window.navigator.appVersion + ' ' + window.navigator.platform);\r\n this.voidTransaction();\r\n }\r\n finally {\r\n\r\n // console.log('getsb finally');\r\n // this.showLoader = false;\r\n // this.sendLoader();\r\n }\r\n },\r\n error => {\r\n //logging here\r\n this.error = error;\r\n this.service.logServiceError('Service.SBImages Error - ' + Object.keys(error) + ' ' + error.headers + ' ' + error.name + ' ' + error.message + ' ' + Object.keys(error.error) + ' ' + this.ccPmt.authCode + ' - ' + window.navigator.appName + ' ' + window.navigator.appVersion + ' ' + window.navigator.platform);\r\n this.voidTransaction();\r\n }\r\n );\r\n\r\n } else {\r\n Swal.fire(\"Please select at least one item to download.\");\r\n }\r\n // this.showLoader = false;\r\n // this.sendLoader();\r\n\r\n //if (success == 0) {\r\n // this.showLoader = false;\r\n // this.sendLoader();\r\n // this.voidTransaction();\r\n //}\r\n\r\n return;\r\n\r\n }\r\n\r\n clearBasket() {\r\n\r\n this.basketItems = this.basketItems.filter(item => item.isDownload == false);\r\n if (localStorage.getItem(\"basket\") !== null && localStorage.getItem(\"basket\").length > 0) {\r\n let basketls = JSON.parse(localStorage.getItem(\"basket\"));\r\n localStorage.setItem(\"basket\", JSON.stringify(basketls.filter(item => item.isDownload == true)));\r\n }\r\n }\r\n\r\n\r\n async getSBAmount() {\r\n await this.service.getSBAmount(this.sbQuery).subscribe(\r\n data => {\r\n this.totAmount = data;\r\n console.log('amount - ' + data);\r\n console.log(Object.keys(data));\r\n },\r\n error => { this.error = error }\r\n );\r\n }\r\n\r\n\r\n async downloadComplete(showDownLoadMsg: boolean) {\r\n\r\n /*this.basketItems = this.basketItems.filter(item => item.isDownload == false);*/\r\n\r\n // this.showLoader = true;\r\n // this.sendLoader();\r\n this.service.logServiceError('Entering downloadComplete ');\r\n\r\n if (!this.sbQuery.internalUserID)\r\n this.sbQuery.internalUserID = '';\r\n\r\n\r\n if (this.ccPmt.authCode != '') {\r\n\r\n //cc transaction\r\n this.sbQuery.authCode = this.ccPmt.authCode;\r\n this.sbQuery.orderId = this.ccPmt.orderId;\r\n this.sbQuery.totalFee = this.ccPmt.ccAmount;\r\n\r\n console.log('auth ' + this.ccPmt.authCode + ' order ' + this.ccPmt.orderId)\r\n //await this.ccPmtSvc.completeSBChargeandCCSale(this.sbQuery).toPromise()\r\n // .then(data => {\r\n // this.service.logServiceError('saveSBChargeandCCSale - ' + data.body + ' ' + this.ccPmt.authCode);\r\n // },\r\n // error => {\r\n // //logging here\r\n // this.error = error;\r\n // this.service.logServiceError('saveSBCharge Error - ' + Object.keys(error) + ' ' + error.headers + ' ' + error.name + ' ' + error.message + ' ' + Object.keys(error.error) + ' ' + this.ccPmt.authCode + ' - ' + window.navigator.appName + ' ' + window.navigator.appVersion + ' ' + window.navigator.platform);\r\n // }\r\n // );\r\n\r\n } else {\r\n\r\n //write data to atransaction for account trans\r\n\r\n if (localStorage.getItem('acctType') == \"Z\")\r\n this.sbQuery.submissionType = 99;\r\n\r\n await this.service.saveSBCharge(this.sbQuery).toPromise()\r\n .then(data => {\r\n this.service.logServiceError('saveSBCharge - ' + data.body)\r\n console.log('sbCharge ' + data.body);\r\n },\r\n error => {\r\n //logging here\r\n this.error = error;\r\n this.service.logServiceError('saveSBCharge Error - ' + Object.keys(error) + ' ' + error.headers + ' ' + error.name + ' ' + error.message + ' ' + Object.keys(error.error) + ' ' + this.ccPmt.authCode + ' - ' + window.navigator.appName + ' ' + window.navigator.appVersion + ' ' + window.navigator.platform);\r\n }\r\n );\r\n }\r\n\r\n this.buildSbListLock = false;\r\n\r\n //// write data to atransaction for account trans\r\n // await this.service.saveSBCharge(this.sbQuery).toPromise()\r\n // .then(data => {\r\n // this.service.logServiceError('saveSBCharge - ' + data.body)\r\n // console.log('sbCharge ' + data.body);\r\n // },\r\n // error => {\r\n // // logging here\r\n // this.error = error;\r\n // this.service.logServiceError('saveSBCharge Error - ' + Object.keys(error) + ' ' + error.headers + ' ' + error.name + ' ' + error.message + ' ' + Object.keys(error.error) + ' ' + this.ccPmt.authCode + ' - ' + window.navigator.appName + ' ' + window.navigator.appVersion + ' ' + window.navigator.platform);\r\n // }\r\n // );\r\n\r\n\r\n //// capture the cc trans if applicable\r\n // if (this.ccPmt.authCode != '') {\r\n // this.service.logServiceError(\"downloadCompete \" + this.ccPmt.authCode);\r\n // console.log('downloadComplete - ' + this.ccPmt.orderId)\r\n // let response = '';\r\n // // 2nd step of credit card sale\r\n // await this.ccPmtSvc.ccCompleteSale(this.ccPmt).toPromise()\r\n // .then(data => {\r\n // console.log('capture - ' + data);\r\n // response = data;\r\n // let status = this.ccPmtSvc.getElement(response, '');\r\n // this.service.logServiceError('capture - ' + data);\r\n // console.log('status ' + status)\r\n // },\r\n // error => {\r\n // // logging here\r\n // this.error = error;\r\n // this.service.logServiceError('CC Capture Error - ' + Object.keys(error) + ' ' + error.headers + ' ' + error.name + ' ' + error.message + ' ' + Object.keys(error.error) + ' ' + this.ccPmt.authCode + ' - ' + window.navigator.appName + ' ' + window.navigator.appVersion + ' ' + window.navigator.platform);\r\n // this.voidTransaction();\r\n // }\r\n // );\r\n // console.log('capture complete')\r\n // }\r\n\r\n //all done\r\n this.showLoader = false;\r\n this.sendLoader();\r\n\r\n this.basketItems = JSON.parse(localStorage.getItem(\"basket\"));\r\n\r\n if (showDownLoadMsg) {\r\n let msg = '';\r\n if (this.ccPmt.authCode.length > 0)\r\n msg = 'Payment Authorization Code - ' + this.ccPmt.authCode\r\n msg += '
Check your downloads folder for a file named MySouthBristolCounty.Zip'\r\n await Swal.fire({\r\n title: \"Download request complete\",\r\n html: msg\r\n });\r\n } else\r\n Swal.fire('Print Job Sent')\r\n\r\n\r\n //this.toggle.emit(this.basketItems);\r\n\r\n // this.ccPmtSvc.resetCCPmt();\r\n\r\n //reset cc variables here\r\n this.ccPmt.authCode = '';\r\n this.ccPmt.ccNum = '';\r\n this.ccPmt.realccNum = '';\r\n this.ccPmt.ccFname = '';\r\n this.ccPmt.ccLname = '';\r\n this.ccPmt.ccMonth = '';\r\n this.ccPmt.ccYear = '';\r\n this.ccPmt.ccv = '';\r\n this.ccPmt.ccZip = '';\r\n this.ccPmt.orderId = '';\r\n this.ccPmt.ccAmount = 0;\r\n this.ccPmt.status = '';\r\n //this.ccPmtSvc.infoEntered = 0;\r\n }\r\n\r\n async voidTransaction() {\r\n\r\n if (this.paymentMethod === '2') {\r\n\r\n if (this.showLoader === false) {\r\n this.showLoader = true;\r\n this.sendLoader();\r\n }\r\n this.service.logServiceError(\"void transaction - \" + this.ccPmt.authCode);\r\n\r\n let response = '';\r\n //void\r\n await this.ccPmtSvc.voidTransaction(this.ccPmt.authCode).toPromise()\r\n .then(data => {\r\n //console.log('void - ' + data);\r\n this.service.logServiceError('void trans - ' + this.ccPmt.authCode + ' ' + data);\r\n });\r\n\r\n this.showLoader = false;\r\n this.sendLoader();\r\n }\r\n Swal.fire('Download Error', 'Transaction has been voided');\r\n this.showLoader = false;\r\n this.sendLoader();\r\n }\r\n\r\n\r\n deleteRow(event) {\r\n if (localStorage.getItem(\"basket\") !== null && localStorage.getItem(\"basket\").length > 0) {\r\n let basketls = JSON.parse(localStorage.getItem(\"basket\"));\r\n this.service.updateBasketCount(basketls.length);\r\n localStorage.setItem(\"basket\", JSON.stringify(basketls.filter(item => item.bookpage !== event.key.bookpage)));\r\n //this.service.updateBasketCount(localStorage.getItem(\"basket\").length);\r\n }\r\n }\r\n\r\n @HostListener('document:visibilitychange', ['$event'])\r\n visibilitychange() {\r\n this.checkHiddenDocument();\r\n }\r\n\r\n checkHiddenDocument() {\r\n console.log('OnPageVisible');\r\n console.log('basket visible');\r\n let cnt = JSON.parse(localStorage.getItem(\"basket\"));\r\n if (cnt !== null)\r\n this.service.updateBasketCount(JSON.parse(localStorage.getItem(\"basket\")).length);\r\n else\r\n this.service.updateBasketCount(0);\r\n\r\n this.cdr.detectChanges();\r\n }\r\n\r\n}\r\n","\r\n \r\n {{getCount()}}\r\n \r\n\r\n
\r\n
\r\n
\r\n
\r\n \r\n
Download Options
\r\n \r\n
\r\n
\r\n \r\n\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n PDF\r\n TIF\r\n
\r\n
\r\n \r\n
\r\n\r\n
\r\n\r\n
\r\n
     *** TIF images are more efficient for large downloads (more than 50 pages)
\r\n
\r\n \r\n \r\n \r\n Account  \r\n Credit Card\r\n \r\n
\r\n
\r\n \r\n Account\r\n Credit Card\r\n Pay at Counter\r\n \r\n
\r\n
\r\n \r\n Print at Counter\r\n \r\n
\r\n\r\n
\r\n
\r\n
\r\n","import { Component, OnInit, Input, Output, EventEmitter, ViewChild } from '@angular/core';\r\nimport { basketVM } from '../../viewmodels/basketVM';\r\nimport { ccPaymentVM } from '../../viewmodels/ccPaymentVM';\r\nimport { ShoppingBasketService } from '../../../shared/services/shopping-basket.service';\r\nimport { DocBasketExComponent } from '../../../shared/components/doc-basket-ex/doc-basket-ex.component'\r\nimport { CCPaymentService } from '../../../shared/services/cc-payment-service';\r\nimport { AuthResultVM, GetSBImagesQuery, SBListDTO } from '../../../shared/viewmodels/ISearchService';\r\nimport { DxPopupModule } from 'devextreme-angular';\r\nimport Swal from 'sweetalert2';\r\nimport { AuthenticationService } from '../../../shared/services/authentication.service';\r\n//import { isNumeric } from 'rxjs-compat/util/isNumeric';\r\n//import { forEach } from '@angular/router/src/utils/collection';\r\n//import xml2js from 'xml2js';;\r\n\r\ndeclare global {\r\n interface Navigator {\r\n msSaveOrOpenBlob: (blobOrBase64: Blob | string, filename: string) => void\r\n }\r\n}\r\n\r\n@Component({\r\n selector: 'app-doc-basket',\r\n providers: [ShoppingBasketService, CCPaymentService],\r\n templateUrl: './doc-basket.component.html',\r\n styleUrls: ['./doc-basket.component.css']\r\n})\r\nexport class DocBasketComponent implements OnInit {\r\n @Input() indexId: string;\r\n @Input() doctype: string;\r\n @Input() pagecount: number;\r\n @Input() docbeginbook: string;\r\n @Input() docbeginpage: string;\r\n @Input() currentindex: number;\r\n @Input() begindocnum: string;\r\n @Input() docId: string;\r\n @Input() basketItems: Array;\r\n @Output() toggle = new EventEmitter();\r\n @ViewChild(DocBasketExComponent, { static: false }) docBasketChild: DocBasketExComponent;\r\n basketItem: basketVM;\r\n ccPmt: ccPaymentVM;\r\n docImages: any;\r\n @Input() planImages: any;\r\n error: any;\r\n popupVisible: boolean = false;\r\n Message: string;\r\n Username: string = '';\r\n guid: string = \"\";\r\n Description: string = '';\r\n userInputVisible: boolean = false;\r\n sbList: SBListDTO[];\r\n sbQuery: GetSBImagesQuery;\r\n machineType: number = 0;\r\n totAmount: any;\r\n serviceFee: number = 0;\r\n isAuthorized: boolean = false;\r\n authResp: any;\r\n paymentMethod: string = '1';\r\n @Output() loaderEvent = new EventEmitter();\r\n showLoader: boolean = false;\r\n buildSbListLock: boolean = false;\r\n test: boolean = false;\r\n\r\n constructor(private service: ShoppingBasketService, private ccPmtSvc: CCPaymentService, private auth: AuthenticationService) {\r\n this.basketItems = new Array();\r\n \r\n if (localStorage.getItem(\"basket\") !== null && localStorage.getItem(\"basket\").length > 0) {\r\n this.basketItems = JSON.parse(localStorage.getItem(\"basket\"));\r\n }\r\n }\r\n\r\n sendLoader() {\r\n this.loaderEvent.emit(this.showLoader);\r\n }\r\n\r\n ngOnInit() {\r\n let loc = localStorage.getItem(\"machineLocation\")\r\n this.machineType = loc == '1' ? 1 : loc == '2' ? 2 : 0;\r\n if (this.machineType === 2)\r\n this.paymentMethod = '3';\r\n\r\n console.log('doc ' + this.doctype + ' ' + this.docbeginbook + ' ' + this.docbeginpage);\r\n }\r\n\r\n addToBasket(iswholedoc: boolean) {\r\n console.log(\"add to basket\");\r\n console.log(\"docId\" + this.docId + \"begdocnum\" + this.begindocnum + \"begbook\" + this.docbeginbook + \"begpage\" + this.docbeginpage + \"currindex\" + this.currentindex);\r\n console.log(\"indexID \" + this.indexId);\r\n console.log(\"doc name \") + this.docbeginbook;\r\n //if (this.indexId) {\r\n // ////Unindexed Doc\r\n // var indexType = this.service.getUnindexedType(this.indexId);\r\n // if (+this.indexId > 4 && +this.indexId < 20) {\r\n // //grantor/tee indexes\r\n // this.docbeginbook = indexType;\r\n // this.docbeginpage = this.currentindex.toString();\r\n // }\r\n //}\r\n\r\n this.basketItems = JSON.parse(localStorage.getItem(\"basket\"));\r\n if (this.basketItems == null)\r\n this.basketItems = new Array();\r\n \r\n var index: number;\r\n console.log(\"Doc Num \" + this.docbeginbook);\r\n if (this.begindocnum !== undefined) {\r\n if (this.basketItems !== null && this.basketItems.length > 0) {\r\n index = this.basketItems.findIndex(item => item.bookpage === this.begindocnum && item.wholeDoc === iswholedoc);\r\n }\r\n else {\r\n index = -1;\r\n }\r\n }\r\n else {\r\n if (this.basketItems !== null && this.basketItems.length > 0) {\r\n if (this.doctype == \"PLAN_LC\") {\r\n index = this.basketItems.findIndex(item => item.begindocnum === this.docbeginbook && item.wholeDoc === iswholedoc);\r\n } else {\r\n //index = this.basketItems.findIndex(item => item.beginBook === this.docbeginbook && item.beginPage === this.docbeginpage && item.wholeDoc === iswholedoc);\r\n //this.test = this.basketItems[0].beginBook === this.docbeginbook;\r\n //this.test = this.basketItems[0].beginPage === this.docbeginpage;\r\n //this.test = this.basketItems[0].wholeDoc === iswholedoc;\r\n index = this.basketItems.findIndex(item => item.beginBook === this.docbeginbook && item.beginPage === this.docbeginpage && item.wholeDoc === iswholedoc);\r\n }\r\n \r\n }\r\n else {\r\n index = -1;\r\n }\r\n }\r\n ////exists\r\n console.log(\"index \" + index.toString());\r\n if (index > -1) {\r\n if (iswholedoc) {\r\n console.log(\"Duplicate entry\"); \r\n if (this.begindocnum !== undefined)\r\n this.Message = \"Document \" + this.begindocnum + \" is already added.\";\r\n else\r\n this.Message = \"Book/Page \" + this.docbeginbook + \"/\" + this.docbeginpage + \" is already added.\";\r\n this.popupVisible = true;\r\n }\r\n else {\r\n //if (this.begindocnum !== undefined && this.basketItems[index].pages.indexOf((this.currentindex - 1).toString()) > -1) {\r\n if (this.begindocnum === undefined && this.docbeginbook === undefined) {\r\n //this.Message = \"Document \" + this.begindocnum + \", p.\" + (this.currentindex) + \" is already added.\";\r\n this.Message = \"Invalid document\";\r\n this.popupVisible = true;\r\n }\r\n else if (this.begindocnum === undefined && this.basketItems[index].pages.indexOf(this.currentindex.toString()) > -1) {\r\n this.Message = \"Book/Page \" + this.docbeginbook + \"/\" + this.docbeginpage + \", p.\" + (this.currentindex) + \" is already added.\";\r\n this.popupVisible = true;\r\n }\r\n else {\r\n this.basketItems[index].pageCount = this.basketItems[index].pageCount + 1;\r\n //update local storage\r\n let basketls = JSON.parse(localStorage.getItem(\"basket\"));\r\n basketls[index].pageCount = basketls[index].pageCount + 1;\r\n localStorage.setItem(\"basket\", JSON.stringify(basketls));\r\n\r\n if (this.begindocnum !== undefined) {\r\n this.basketItems[index].pages.push((this.currentindex).toString());\r\n //update local storage\r\n let basketls = JSON.parse(localStorage.getItem(\"basket\"));\r\n basketls[index].pages.push(this.currentindex.toString());\r\n localStorage.setItem(\"basket\", JSON.stringify(basketls));\r\n this.Message = \"Document \" + this.begindocnum + \", p.\" + (this.currentindex) + \" is added successfully.\";\r\n }\r\n else {\r\n this.basketItems[index].pages.push(this.currentindex.toString());\r\n //update local storage\r\n let basketls = JSON.parse(localStorage.getItem(\"basket\"));\r\n basketls[index].pages.push(this.currentindex.toString());\r\n localStorage.setItem(\"basket\", JSON.stringify(basketls));\r\n this.Message = \"Book/Page \" + this.docbeginbook + \"/\" + this.docbeginpage + \", p.\" + (this.currentindex) + \" is added successfully.\";\r\n }\r\n this.popupVisible = true;\r\n }\r\n }\r\n }\r\n\r\n ////not exists- create new basket item\r\n else {\r\n this.basketItem = new basketVM();\r\n this.basketItem.docType = this.doctype;\r\n\r\n\r\n if (this.indexId ) {\r\n ////Unindexed\r\n //this.basketItem.beginBook = this.docbeginbook;\r\n //this.basketItem.beginPage = this.docbeginpage;\r\n //this.basketItem.bookpage = 'U: ' + indexType;\r\n //this.basketItem.dept = 'U';\r\n //this.basketItem.docType = this.indexId; //specifies which unindexed type\r\n //this.basketItem.docId = '0';\r\n \r\n }\r\n //// Registered Land plan\r\n else if (this.doctype === 'PLAN_LC') {\r\n this.basketItem.dept = 'G';\r\n this.basketItem.docType = this.doctype;\r\n this.basketItem.bookpage = 'Plan: ' + this.docbeginbook;\r\n this.basketItem.begindocnum = this.docbeginbook;\r\n }\r\n\r\n //// Registered land document\r\n else if (this.begindocnum !== undefined) {\r\n //this.basketItem.begindocnum = this.begindocnum; <- check this\r\n this.basketItem.bookpage = this.begindocnum;\r\n this.basketItem.docId = this.docId.toString();\r\n this.basketItem.dept = 'L';\r\n } \r\n\r\n ////Recorded land document\r\n else {\r\n this.basketItem.beginBook = this.docbeginbook;\r\n this.basketItem.beginPage = this.docbeginpage;\r\n\r\n this.basketItem.dept = 'R';\r\n if (this.doctype === 'PLAN' || this.doctype === 'PLAN_RC' || this.doctype === 'PLAN_LC')\r\n this.basketItem.bookpage = 'Plan B:' + this.docbeginbook + '/P:' + this.docbeginpage;\r\n else\r\n this.basketItem.bookpage = 'B:' + this.docbeginbook + '/P:' + this.docbeginpage;\r\n\r\n //this.basketItem.dept = 'R';\r\n this.basketItem.docType = this.doctype;\r\n this.basketItem.docId = this.docId;\r\n //if (this.docId === \"0\" || this.doctype === null) {\r\n // //images to be found in the bookpagebooks path\r\n // this.basketItem.wholeDoc = true;\r\n // this.basketItem.docType = 'U';\r\n //}\r\n\r\n console.log('add ' + this.basketItem.bookpage + ' ' + this.doctype + ' ' + this.pagecount + ' ' + this.docId)\r\n }\r\n this.basketItem.isEmail = false;\r\n this.basketItem.isDownload = false;\r\n this.basketItem.downloadAs = 'pdf';\r\n this.basketItem.wholeDoc = iswholedoc;\r\n if (iswholedoc) {\r\n this.basketItem.pageCount = this.pagecount;\r\n }\r\n else {\r\n this.basketItem.pageCount = this.pagecount;\r\n this.basketItem.pageCount = 1;\r\n if (this.basketItem.begindocnum !== undefined)\r\n this.basketItem.pages = new Array((this.currentindex).toString());\r\n else\r\n this.basketItem.pages = new Array(this.currentindex.toString());\r\n }\r\n this.basketItems.push(this.basketItem);\r\n\r\n //update local storage\r\n if (localStorage.getItem(\"basket\") == null) {\r\n //let basketls = this.basketItem;\r\n localStorage.setItem(\"basket\", JSON.stringify(this.basketItems));\r\n }\r\n else /*if (localStorage.getItem(\"basket\").length > 0)*/ {\r\n let basketls = JSON.parse(localStorage.getItem(\"basket\"));\r\n basketls.push(this.basketItem);\r\n localStorage.setItem(\"basket\", JSON.stringify(basketls));\r\n }\r\n\r\n if (iswholedoc)\r\n if (this.begindocnum !== undefined)\r\n this.Message = \"Document \" + this.begindocnum + \" is added successfully.\";\r\n else if (this.doctype === 'PLAN_LC')\r\n this.Message = \"Plan \" + this.docbeginbook + \" is added successfully.\";\r\n else\r\n this.Message = \"Book/Page \" + this.docbeginbook + \"/\" + this.docbeginpage + \" is added successfully.\";\r\n else\r\n if (this.begindocnum !== undefined)\r\n this.Message = \"Document \" + this.begindocnum + \", p.\" + (this.currentindex) + \" is added successfully.\";\r\n else if (this.doctype === 'PLAN_LC')\r\n this.Message = \"Plan \" + this.docbeginbook + \", p. \" + (this.currentindex) + \" is added successfully.\";\r\n else\r\n this.Message = \"Book/Page \" + this.docbeginbook + \"/\" + this.docbeginpage + \", p.\" + (this.currentindex) + \" is added successfully.\";\r\n this.popupVisible = true;\r\n }\r\n let cnt = JSON.parse(localStorage.getItem(\"basket\"));\r\n if (cnt !== null)\r\n this.service.updateBasketCount(JSON.parse(localStorage.getItem(\"basket\")).length);\r\n else\r\n this.service.updateBasketCount(0);\r\n //this.service.updateBasketCount(cnt);\r\n console.log('Add doc: ' + this.service.BasketCount);\r\n //this.docBasketChild.checkHiddenDocument();\r\n this.service.triggerRender();\r\n }\r\n\r\n getBasket() {\r\n console.log('getbasket');\r\n this.basketItems = JSON.parse(localStorage.getItem(\"basket\"));\r\n //console.log('pmt ' + this.paymentMethod);\r\n\r\n this.basketItems.forEach(\r\n bi => { bi.isDownload = true; }\r\n )\r\n\r\n }\r\n\r\n closeBasket() {\r\n this.buildSbListLock = false;\r\n }\r\n\r\n async getCredentials() {\r\n //this.userInputVisible = true; \r\n let loc = localStorage.getItem(\"machineLocation\")\r\n this.Username = '';\r\n this.Description = '';\r\n\r\n if (loc == '0') {\r\n let x = await Swal.fire(\"This is where you will do account lookup\");\r\n //your credentials should populate here\r\n } else if (loc == '1' || loc == '2') {\r\n let x = await Swal.fire({\r\n title: 'Submission information',\r\n allowEnterKey: true,\r\n html:\r\n '

' +\r\n '
',\r\n focusConfirm: true,\r\n preConfirm: () => {\r\n (document.getElementById('Swal-input1')).focus;\r\n return [\r\n this.Username = (document.getElementById('Swal-input1')).value,\r\n this.Description = (document.getElementById('Swal-input2')).value\r\n ]\r\n }\r\n });\r\n\r\n } else {\r\n //this.getSB();\r\n }\r\n }\r\n\r\n async buildSBList(e) {\r\n\r\n if (this.buildSbListLock) {\r\n return;\r\n }\r\n console.log('buildSBList');\r\n this.buildSbListLock = true;\r\n\r\n if (this.paymentMethod === '3') {\r\n //pay at counter from vault or admin\r\n await this.getCredentials();\r\n if (this.Username.length == 0) {\r\n Swal.fire(\"You must enter a name for identification\");\r\n return;\r\n }\r\n }\r\n\r\n if (this.paymentMethod === '1') {\r\n //account\r\n\r\n this.Username = localStorage.getItem('uid');\r\n this.guid = localStorage.getItem('guid');\r\n\r\n await this.auth.ValidateGuid();\r\n console.log(this.auth.guid + ' ' + this.auth.success);\r\n if (this.auth.success === 0) {\r\n //not valid, so get login\r\n await this.auth.getCredentials();\r\n console.log('auth ' + this.auth.success)\r\n if (this.auth.success === 0)\r\n //login unsuccessful - abort\r\n return;\r\n else {\r\n this.Username = localStorage.getItem('uid');\r\n this.guid = localStorage.getItem('guid');\r\n }\r\n }\r\n }\r\n\r\n\r\n //if (this.machineType == 1) {\r\n // await this.getCredentials();\r\n\r\n // if (this.Username.length == 0) {\r\n // Swal.fire(\"You must enter a name for identification\");\r\n // return;\r\n // }\r\n\r\n //} else if (this.machineType == 0) {\r\n\r\n // if (this.paymentMethod === '1') {\r\n // //account payment\r\n // this.Username = localStorage.getItem('uid');\r\n // this.guid = localStorage.getItem('guid');\r\n\r\n // //check for valid session\r\n // //if invalid - popup login\r\n // await this.auth.ValidateGuid();\r\n // if (this.auth.success === 0) {\r\n // //not valid, so get login\r\n // await this.auth.getCredentials();\r\n // console.log('auth ' + this.auth.success)\r\n // if (this.auth.success === 0)\r\n // //login unsuccessful - abort\r\n // return;\r\n \r\n // }\r\n // }\r\n //}\r\n\r\n //if valid - get total amount and verify with user\r\n //if agrees - check to see if they have enough money\r\n //if authorized - process SBImages\r\n\r\n var docPages = 0;\r\n var planPages = 0;\r\n\r\n var sblist: SBListDTO[] = new Array();\r\n this.basketItems.forEach(function (bi) {\r\n if (bi.isDownload) {\r\n var sb1 = new SBListDTO();\r\n sb1.imageType = bi.downloadAs;\r\n sb1.department = bi.dept;\r\n sb1.bookDoc = bi.beginBook !== undefined ? bi.beginBook : bi.docId\r\n sb1.bookPage = bi.beginPage;\r\n sb1.wholeDoc = bi.wholeDoc;\r\n sb1.pages = bi.pages;\r\n sb1.docType = bi.docType;\r\n sb1.docPageCount = bi.pageCount;\r\n sblist.push(sb1);\r\n\r\n //for cost calc -needs to be moved to service\r\n // console.log('doc type ' + bi.docType);\r\n if (bi.docType === 'PL' || bi.docType === 'PLAN' || bi.docType === 'PLAN_RC' || bi.docType === 'PLAN_LC') {\r\n if (bi.wholeDoc === true)\r\n planPages += bi.pageCount\r\n else\r\n planPages += bi.pages.length;\r\n }\r\n else {\r\n if (bi.wholeDoc === true)\r\n docPages += bi.pageCount\r\n else\r\n docPages += bi.pages.length;\r\n }\r\n }\r\n });\r\n\r\n //set unindexed desc if applicable\r\n sblist.forEach(\r\n bi => { bi.desc = bi.department == 'U' ? 'U ' + this.service.getUnindexedType(bi.docType) : '' }\r\n )\r\n\r\n // console.log(sblist);\r\n this.sbList = sblist;\r\n if (sblist.length > 0) {\r\n let imgquery = new GetSBImagesQuery({\r\n emailList: false,\r\n emailAddress: '',\r\n zipList: false,\r\n sBList: sblist,\r\n credentialGUID: this.guid,\r\n submissionType: this.machineType,\r\n internalUserID: this.Username,\r\n internalDescription: this.Description,\r\n optionalPhone: '',\r\n optionalZipCode: ''\r\n });\r\n\r\n this.sbQuery = imgquery;\r\n if (this.indexId)\r\n this.sbQuery.internalDescription = this.service.getUnindexedType(this.indexId);\r\n\r\n //await this.getSBAmount();\r\n this.totAmount = (planPages * 5) + (docPages * 2);\r\n\r\n ///branching for payment methods & machine types\r\n if (this.paymentMethod === '1') {\r\n //account payment method\r\n Swal.fire({\r\n title: 'Total Cost',\r\n text: 'for this download - $' + this.totAmount + '.00',\r\n showCancelButton: true\r\n // confirmButtonText: 'OK'\r\n }).then((result) => {\r\n if (result.value === true) {\r\n console.log('cost accepted ' + result.value);\r\n this.getSBAuth();\r\n }\r\n else\r\n //cancelled\r\n //this.buildSbListLock = false;\r\n return;\r\n })\r\n } else if (this.paymentMethod === '2') {\r\n //cc payment\r\n this.getCreditCardInfo();\r\n } else if (this.paymentMethod === '3') {\r\n //print to the counter\r\n if (this.machineType === 1) {\r\n Swal.fire({\r\n title: 'Total Cost',\r\n text: 'for this download - $' + this.totAmount + '.00',\r\n showCancelButton: true\r\n }).then((result) => {\r\n if (result.value === true) {\r\n this.queueSB();\r\n }\r\n else\r\n //cancelled\r\n //this.buildSbListLock = false;\r\n return;\r\n })\r\n } else {\r\n //admin\r\n this.queueSB();\r\n }\r\n }\r\n\r\n // if (this.paymentMethod === '1' || (this.paymentMethod === '3' && this.machineType === 1)) {\r\n // //account or counter payment for vault \r\n // Swal.fire({\r\n // title: 'Total Cost',\r\n // text: 'for this download - $' + this.totAmount + '.00',\r\n // showCancelButton: true\r\n // // confirmButtonText: 'OK'\r\n // }).then((result) => {\r\n // if (result.value === true) {\r\n // console.log('cost accepted ' + result.value);\r\n // costAccepted = 1;\r\n // if (this.machineType == 1 && this.paymentMethod === '3') {\r\n // //vault & pay at counter\r\n // this.printSB();\r\n // this.getSB();\r\n // } else if (this.paymentMethod === '1') {\r\n // //pay by account\r\n // this.getSBAuth();\r\n // }\r\n // }\r\n // else\r\n // return;\r\n // })\r\n // }\r\n // else if (this.paymentMethod === '2') {\r\n // //credit card\r\n // this.getCreditCardInfo();\r\n // }\r\n // else if (this.paymentMethod === '3' && this.machineType === 2) {\r\n // this.printSB();\r\n // }\r\n\r\n } else {\r\n Swal.fire(\"Error\", \"Please select at least one item to download\");\r\n }\r\n //this.buildSbListLock = false;\r\n }\r\n\r\n async getSBAuth() {\r\n console.log('getSBAuth');\r\n await this.service.getSBAuth(this.sbQuery).toPromise()\r\n .then(data => {\r\n this.authResp = data.body;\r\n //console.log('msg - ' + this.authResp.msg);\r\n //console.log('keys ' + Object.keys(data.body));\r\n });\r\n\r\n //(error => { this.error = error }),\r\n //(() => { console.log('authResp - '+ this.authResp.success); });\r\n\r\n console.log('post getSBAuth ' + this.authResp.success);\r\n\r\n if (this.authResp.success === 0) {\r\n Swal.fire('Authorization Failed', this.authResp.msg);\r\n return;\r\n }\r\n else {\r\n //kick off the download or print\r\n if (this.showLoader === false) {\r\n this.showLoader = true;\r\n this.sendLoader();\r\n }\r\n\r\n //Branch for download vs print\r\n if (this.machineType === 0)\r\n this.getSB();\r\n else if (this.machineType === 1)\r\n this.printSB();\r\n }\r\n }\r\n\r\n async getCreditCardInfo() {\r\n\r\n console.log('cc info');\r\n\r\n let x = await Swal.fire({\r\n title: 'Enter Credit Card Info',\r\n showCancelButton: true,\r\n allowEnterKey: true,\r\n html: \r\n '
' +\r\n '' +\r\n ' ' +\r\n '' +\r\n '' +\r\n '' +\r\n '' +\r\n '' +\r\n '' +\r\n '
' +\r\n '
*** The cost for this download is $' + this.totAmount.toString() + '.00 - a convenience fee of 3 percent will be added to this charge, with a minimum convenience fee of $1.00.

Charges will appear on your statement as
PayGov, Indianapolis, IN

. ',\r\n\r\n focusConfirm: true,\r\n preConfirm: () => {\r\n return [\r\n this.ccPmt.ccNum = (document.getElementById('ccnum')).value,\r\n this.ccPmt.ccFname = (document.getElementById('ccfname')).value,\r\n this.ccPmt.ccLname = (document.getElementById('cclname')).value,\r\n this.ccPmt.ccMonth = (document.getElementById('ccmonth')).value,\r\n this.ccPmt.ccYear = (document.getElementById('ccyear')).value,\r\n this.ccPmt.ccv = (document.getElementById('ccv')).value,\r\n this.ccPmt.ccZip = (document.getElementById('cczip')).value\r\n ]\r\n }\r\n }).then((result) => {\r\n if (result.dismiss === undefined) {\r\n console.log('cc ok');\r\n this.authorizeCard();\r\n }\r\n else {\r\n console.log('cc cancel');\r\n this.buildSbListLock = false;\r\n return;\r\n }\r\n });\r\n }\r\n\r\n async authorizeCard() {\r\n\r\n this.service.logServiceError('begin CC Auth');\r\n\r\n //validate card info\r\n this.ccPmt.realccNum = this.ccPmt.ccNum.replace(/[.,\\/#!$%\\^&\\*;:{}=\\-_`~()\\s]/g, \"\");\r\n if (this.ccPmt.ccMonth.length === 1)\r\n this.ccPmt.ccMonth = '0' + this.ccPmt.ccMonth;\r\n this.ccPmt.ccAmount = this.totAmount;\r\n\r\n let msg = this.ccPmtSvc.ValidateCard(this.ccPmt);\r\n if (msg === '') {\r\n\r\n this.service.logServiceError('CC Info validated');\r\n\r\n this.ccPmt.authCode = '';\r\n let response = '';\r\n this.showLoader = true;\r\n this.sendLoader();\r\n // await this.service.getCCAuth(this.realccNum, this.ccFname, this.ccLname, this.ccMonth, this.ccYear, this.ccv, this.ccZip, this.totAmount).toPromise()\r\n await this.ccPmtSvc.getCCAuth(this.ccPmt).toPromise()\r\n .then(data => {\r\n //console.log('data ' + data);\r\n response = data;\r\n this.ccPmt.status = this.ccPmtSvc.getElement(data, '');\r\n if (this.ccPmt.status === 'Declined') {\r\n let responseText = this.ccPmtSvc.getElement(data, '');\r\n this.service.logServiceError('CC Payment Declined - ' + response);\r\n this.showLoader = false;\r\n this.sendLoader();\r\n Swal.fire('Payment Declined')\r\n }\r\n else if (this.ccPmt.status === 'Authorized' || this.ccPmt.status === 'Pending') {\r\n //approved\r\n this.ccPmt.authCode = this.ccPmtSvc.getElement(data, '');\r\n this.sbQuery.authCode = this.ccPmt.authCode;\r\n this.serviceFee = +this.ccPmtSvc.getElement(data, '');\r\n this.ccPmt.orderId = this.ccPmtSvc.getElement(data, '');\r\n console.log('Payment Authorized - ' + this.ccPmt.authCode + ' - ' + this.ccPmt.orderId);\r\n this.service.logServiceError('Payment Authorized - ' + this.ccPmt.authCode + ' - ' + this.ccPmt.orderId + ' ' + this.machineType);\r\n\r\n //all is well - branch for download vs print\r\n if (this.machineType === 0)\r\n this.getSB();\r\n else if (this.machineType === 1)\r\n this.printSB();\r\n else\r\n this.service.logServiceError(\"Error - \" + this.machineType);\r\n Swal.fire(\"Request submitted.\");\r\n }\r\n else {\r\n //log the different status\r\n this.service.logServiceError('Unknown Payment Status - ' + response);\r\n this.showLoader = false;\r\n this.sendLoader();\r\n }\r\n });\r\n }\r\n else {\r\n //validation failed - go back to the cc form\r\n this.service.logServiceError('CC not validated - ' + msg);\r\n await Swal.fire('Validation Error', msg);\r\n }\r\n// this.showLoader = false;\r\n// this.sendLoader();\r\n }\r\n\r\n async printSB() {\r\n\r\n //handle print requests for account & cc payments\r\n this.service.logServiceError('print SB in doc basket ' + this.ccPmt.authCode + ' ' + this.auth.uid);\r\n this.sbQuery.totalFee = this.totAmount;\r\n //this.sbQuery.serviceFee = this.serviceFee;\r\n\r\n if (this.paymentMethod === '1') {\r\n this.sbQuery.internalUserID = 'Account - ' + this.auth.uid;\r\n } else if (this.paymentMethod === '2') {\r\n //this.sbQuery.internalUserID = this.ccPmt.ccFname + ' ' + this.ccPmt.ccLname + '- Auth ' + this.ccPmt.authCode;\r\n this.sbQuery.internalUserID = 'Auth ' + this.ccPmt.authCode;\r\n } \r\n\r\n if (this.sbList.length > 0) {\r\n // console.log(\"Calling download\" + this.sbQuery);\r\n await this.service.printSBImages(this.sbQuery).toPromise()\r\n .then(data => {\r\n console.log(data.body);\r\n if (data.body === true) {\r\n\r\n //remove checked items from basket\r\n this.clearBasket();\r\n\r\n this.downloadComplete(false);\r\n }\r\n else {\r\n this.showLoader = false;\r\n this.sendLoader();\r\n if (this.paymentMethod === '2')\r\n //cc\r\n this.voidTransaction();\r\n }\r\n });\r\n }\r\n\r\n //auto logout for account pmts\r\n if (this.paymentMethod === '1')\r\n this.auth.autoLogout();\r\n }\r\n\r\n async queueSB() {\r\n\r\n //queue the images for the counter to process\r\n console.log('queueSB');\r\n this.showLoader = true;\r\n this.sendLoader();\r\n\r\n this.sbQuery.submissionType = 1; //sends the images to a print queue in GetSBImages\r\n\r\n await this.service.getSBImages(this.sbQuery).subscribe(\r\n data => {\r\n //nothing to do, since this execution path returns a null value\r\n console.log('print request queued');\r\n });\r\n this.clearBasket();\r\n\r\n this.showLoader = false;\r\n this.sendLoader();\r\n Swal.fire('Request Completed', 'Check with the front counter');\r\n }\r\n\r\n async getSB(){\r\n\r\n // this.showLoader = true;\r\n // this.sendLoader();\r\n var success: number = 1;\r\n\r\n if (this.paymentMethod === '2')\r\n this.service.logServiceError(\"Entering getSB \" + this.ccPmt.authCode);\r\n\r\n console.log('getSB');\r\n if (this.sbList.length > 0) {\r\n// console.log(\"Calling download\" + this.sbQuery);\r\n await this.service.getSBImages(this.sbQuery).subscribe(\r\n data => {\r\n //console.log(data);\r\n this.docImages = data;\r\n //console.log('download ' + this.docImages);\r\n\r\n this.clearBasket();\r\n //this.basketItems = this.basketItems.filter(item => item.isDownload == false);\r\n //if (localStorage.getItem(\"basket\") !== null && localStorage.getItem(\"basket\").length > 0) {\r\n // let basketls = JSON.parse(localStorage.getItem(\"basket\"));\r\n // localStorage.setItem(\"basket\", JSON.stringify(basketls.filter(item => item.isDownload == true)));\r\n //}\r\n\r\n ////const url = window.URL.createObjectURL(this.docImages);\r\n ////window.open(url);\r\n //////window.URL.revokeObjectURL(url);\r\n\r\n try {\r\n\r\n //IE11 support\r\n if (data.size != 0) {\r\n if (window.navigator && window.navigator.msSaveOrOpenBlob) {\r\n window.navigator.msSaveOrOpenBlob(this.docImages, \"MySouthBristolCounty.zip\");\r\n }\r\n // other browsers\r\n else {\r\n var a = document.createElement(\"a\");\r\n document.body.appendChild(a);\r\n const url = window.URL.createObjectURL(this.docImages);\r\n a.href = url;\r\n a.download = \"MyCarrollCounty.zip\";\r\n a.click();\r\n window.URL.revokeObjectURL(url);\r\n }\r\n this.downloadComplete(true);\r\n }\r\n else { \r\n this.service.logServiceError('Download Error - filesize = 0' + ' - ' + window.navigator.appName + ' ' + window.navigator.appVersion + ' ' + window.navigator.platform);\r\n success = 0;\r\n }\r\n }\r\n catch (error) {\r\n //logging here\r\n this.service.logServiceError('Download Error - ' + Object.keys(error) + ' ' + error.error + ' ' + this.ccPmt.authCode + ' - ' + window.navigator.appName + ' ' + window.navigator.appVersion + ' ' + window.navigator.platform);\r\n this.voidTransaction();\r\n }\r\n finally {\r\n\r\n// console.log('getsb finally');\r\n// this.showLoader = false;\r\n// this.sendLoader();\r\n }\r\n },\r\n error => {\r\n //logging here\r\n this.error = error;\r\n this.service.logServiceError('Service.SBImages Error - ' + Object.keys(error) + ' ' + error.headers + ' ' + error.name + ' ' + error.message + ' ' + Object.keys(error.error) + ' ' + this.ccPmt.authCode + ' - ' + window.navigator.appName + ' ' + window.navigator.appVersion + ' ' + window.navigator.platform);\r\n this.voidTransaction();\r\n }\r\n );\r\n\r\n } else {\r\n Swal.fire(\"Please select at least one item to download.\");\r\n }\r\n// this.showLoader = false;\r\n// this.sendLoader();\r\n\r\n //if (success == 0) {\r\n // this.showLoader = false;\r\n // this.sendLoader();\r\n // this.voidTransaction();\r\n //}\r\n\r\n return;\r\n\r\n }\r\n\r\n clearBasket() {\r\n\r\n this.basketItems = this.basketItems.filter(item => item.isDownload == false);\r\n if (localStorage.getItem(\"basket\") !== null && localStorage.getItem(\"basket\").length > 0) {\r\n let basketls = JSON.parse(localStorage.getItem(\"basket\"));\r\n localStorage.setItem(\"basket\", JSON.stringify(basketls.filter(item => item.isDownload == true)));\r\n }\r\n }\r\n\r\n\r\n async getSBAmount() {\r\n await this.service.getSBAmount(this.sbQuery).subscribe(\r\n data => {\r\n this.totAmount = data;\r\n console.log('amount - ' + data);\r\n console.log(Object.keys(data));\r\n },\r\n error => { this.error = error}\r\n );\r\n }\r\n\r\n\r\n async downloadComplete(showDownLoadMsg: boolean) {\r\n\r\n /*this.basketItems = this.basketItems.filter(item => item.isDownload == false);*/\r\n\r\n// this.showLoader = true;\r\n// this.sendLoader();\r\n this.service.logServiceError('Entering downloadComplete ');\r\n\r\n if (!this.sbQuery.internalUserID)\r\n this.sbQuery.internalUserID = '';\r\n\r\n\r\n if (this.ccPmt.authCode != '') {\r\n\r\n //cc transaction\r\n this.sbQuery.authCode = this.ccPmt.authCode;\r\n this.sbQuery.orderId = this.ccPmt.orderId;\r\n this.sbQuery.totalFee = this.ccPmt.ccAmount;\r\n console.log('auth ' + this.ccPmt.authCode + ' order ' + this.ccPmt.orderId)\r\n await this.ccPmtSvc.completeSBChargeandCCSale(this.sbQuery).toPromise()\r\n .then(data => {\r\n this.service.logServiceError('saveSBChargeandCCSale - ' + data.body + ' ' + this.ccPmt.authCode);\r\n },\r\n error => {\r\n //logging here\r\n this.error = error;\r\n this.service.logServiceError('saveSBCharge Error - ' + Object.keys(error) + ' ' + error.headers + ' ' + error.name + ' ' + error.message + ' ' + Object.keys(error.error) + ' ' + this.ccPmt.authCode + ' - ' + window.navigator.appName + ' ' + window.navigator.appVersion + ' ' + window.navigator.platform);\r\n }\r\n );\r\n\r\n } else {\r\n\r\n //write data to atransaction for account trans\r\n\r\n if (localStorage.getItem('acctType') == \"Z\")\r\n this.sbQuery.submissionType = 99;\r\n\r\n await this.service.saveSBCharge(this.sbQuery).toPromise()\r\n .then(data => {\r\n this.service.logServiceError('saveSBCharge - ' + data.body)\r\n console.log('sbCharge ' + data.body);\r\n },\r\n error => {\r\n //logging here\r\n this.error = error;\r\n this.service.logServiceError('saveSBCharge Error - ' + Object.keys(error) + ' ' + error.headers + ' ' + error.name + ' ' + error.message + ' ' + Object.keys(error.error) + ' ' + this.ccPmt.authCode + ' - ' + window.navigator.appName + ' ' + window.navigator.appVersion + ' ' + window.navigator.platform);\r\n }\r\n );\r\n }\r\n\r\n this.buildSbListLock = false;\r\n\r\n//// write data to atransaction for account trans\r\n// await this.service.saveSBCharge(this.sbQuery).toPromise()\r\n// .then(data => {\r\n// this.service.logServiceError('saveSBCharge - ' + data.body)\r\n// console.log('sbCharge ' + data.body);\r\n// },\r\n// error => {\r\n// // logging here\r\n// this.error = error;\r\n// this.service.logServiceError('saveSBCharge Error - ' + Object.keys(error) + ' ' + error.headers + ' ' + error.name + ' ' + error.message + ' ' + Object.keys(error.error) + ' ' + this.ccPmt.authCode + ' - ' + window.navigator.appName + ' ' + window.navigator.appVersion + ' ' + window.navigator.platform);\r\n// }\r\n// );\r\n\r\n\r\n//// capture the cc trans if applicable\r\n// if (this.ccPmt.authCode != '') {\r\n// this.service.logServiceError(\"downloadCompete \" + this.ccPmt.authCode);\r\n// console.log('downloadComplete - ' + this.ccPmt.orderId)\r\n// let response = '';\r\n// // 2nd step of credit card sale\r\n// await this.ccPmtSvc.ccCompleteSale(this.ccPmt).toPromise()\r\n// .then(data => {\r\n// console.log('capture - ' + data);\r\n// response = data;\r\n// let status = this.ccPmtSvc.getElement(response, '');\r\n// this.service.logServiceError('capture - ' + data);\r\n// console.log('status ' + status)\r\n// },\r\n// error => {\r\n// // logging here\r\n// this.error = error;\r\n// this.service.logServiceError('CC Capture Error - ' + Object.keys(error) + ' ' + error.headers + ' ' + error.name + ' ' + error.message + ' ' + Object.keys(error.error) + ' ' + this.ccPmt.authCode + ' - ' + window.navigator.appName + ' ' + window.navigator.appVersion + ' ' + window.navigator.platform);\r\n// this.voidTransaction();\r\n// }\r\n// );\r\n// console.log('capture complete')\r\n// }\r\n\r\n //all done\r\n this.showLoader = false;\r\n this.sendLoader();\r\n\r\n this.basketItems = JSON.parse(localStorage.getItem(\"basket\"));\r\n\r\n if (showDownLoadMsg) {\r\n let msg = '';\r\n if (this.ccPmt.authCode.length > 0)\r\n msg = 'Payment Authorization Code - ' + this.ccPmt.authCode\r\n msg += '
Check your downloads folder for a file named MyCarrollCounty.Zip'\r\n await Swal.fire({\r\n title: \"Download request complete\",\r\n html: msg\r\n });\r\n } else\r\n Swal.fire('Print Job Sent')\r\n\r\n\r\n //this.toggle.emit(this.basketItems);\r\n\r\n// this.ccPmtSvc.resetCCPmt();\r\n\r\n //reset cc variables here\r\n this.ccPmt.authCode = '';\r\n this.ccPmt.ccNum = '';\r\n this.ccPmt.realccNum = '';\r\n this.ccPmt.ccFname = '';\r\n this.ccPmt.ccLname = '';\r\n this.ccPmt.ccMonth = '';\r\n this.ccPmt.ccYear = '';\r\n this.ccPmt.ccv = '';\r\n this.ccPmt.ccZip = '';\r\n this.ccPmt.orderId = '';\r\n this.ccPmt.ccAmount = 0;\r\n this.ccPmt.status = '';\r\n this.ccPmtSvc.infoEntered = 0;\r\n }\r\n\r\n async voidTransaction() {\r\n\r\n if (this.paymentMethod === '2') {\r\n\r\n if (this.showLoader === false) {\r\n this.showLoader = true;\r\n this.sendLoader();\r\n }\r\n this.service.logServiceError(\"void transaction - \" + this.ccPmt.authCode);\r\n\r\n let response = '';\r\n //void\r\n await this.ccPmtSvc.voidTransaction(this.ccPmt).toPromise()\r\n .then(data => {\r\n //console.log('void - ' + data);\r\n this.service.logServiceError('void trans - ' + this.ccPmt.authCode + ' ' + data);\r\n });\r\n \r\n this.showLoader = false;\r\n this.sendLoader();\r\n }\r\n Swal.fire('Download Error', 'Transaction has been voided');\r\n this.showLoader = false;\r\n this.sendLoader();\r\n }\r\n\r\n deleteRow(event) {\r\n if (localStorage.getItem(\"basket\") !== null && localStorage.getItem(\"basket\").length > 0) {\r\n let basketls = JSON.parse(localStorage.getItem(\"basket\"));\r\n localStorage.setItem(\"basket\", JSON.stringify(basketls.filter(item => item.bookpage !== event.key.bookpage)));\r\n let cnt = JSON.parse(localStorage.getItem(\"basket\"));\r\n if (cnt !== null)\r\n this.service.updateBasketCount(JSON.parse(localStorage.getItem(\"basket\")).length);\r\n else\r\n this.service.updateBasketCount(0);\r\n\r\n this.service.updateBasketCount(cnt);\r\n }\r\n }\r\n}\r\n\r\n","  Add to Basket\r\n
\r\n
\r\n
\r\n
\r\n
Add to Download list...
\r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n

\r\n {{Message}}\r\n

\r\n \r\n
\r\n
\r\n\r\n\r\n\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { DocCategoriesCIF } from '../../viewmodels/UtilityObj';\r\nimport { Store } from '@ngrx/store';\r\nimport { AppState, getCoreSearchState } from '../../../store/reducers/reducers';\r\nimport { FormControl, FormGroup, FormBuilder, Validators } from '@angular/forms';\r\n\r\n@Component({\r\n selector: 'app-doc-category-vs',\r\n templateUrl: './doc-category-vs.component.html',\r\n styleUrls: ['./doc-category-vs.component.css']\r\n})\r\nexport class DocCategoryVsComponent implements OnInit {\r\n public DocCategories: DocCategoriesCIF;\r\n public form: FormGroup;\r\n public myDocCat: string;\r\n\r\n constructor(private store: Store, private fb: FormBuilder) {\r\n this.DocCategories = new DocCategoriesCIF();\r\n\r\n this.store.select(getCoreSearchState).subscribe(data => \r\n this.DocCategories = data.docCategoriesVS.doccategories[0]);\r\n\r\n console.log(`DocCats: ${JSON.stringify(this.DocCategories)}`);\r\n\r\n if (this.DocCategories.mortgages) {\r\n this.myDocCat = \"mortgages\";\r\n } else {\r\n this.myDocCat = \"conveyances\";\r\n }\r\n \r\n }\r\n\r\n ngOnInit() {\r\n\r\n this.form = this.fb.group({\r\n 'doccat': [this.myDocCat]\r\n });\r\n\r\n\r\n\r\n this.form.valueChanges.subscribe((value) => {\r\n if (this.form.valid) {\r\n console.log(`value: ${JSON.stringify(value)}`);\r\n this.myDocCat = value.doccat;\r\n if (this.myDocCat == \"mortgages\") {\r\n this.DocCategories = {\r\n ...this.DocCategories, // Spread the existing properties\r\n mortgages: true,\r\n conveyances: false\r\n };\r\n } else {\r\n this.DocCategories = {\r\n ...this.DocCategories,\r\n mortgages: false,\r\n conveyances: true\r\n };\r\n }\r\n\r\n\r\n }\r\n });\r\n\r\n\r\n }\r\n\r\n}\r\n","\r\n\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { RecSearchService } from '../../../rec-search/rec-search-service'\r\nimport { DocCatVM } from '../../viewmodels/ISearchService';\r\n\r\n@Component({\r\n selector: 'app-doccategoryex',\r\n templateUrl: './doccategoryex.component.html',\r\n styleUrls: ['./doccategoryex.component.css']\r\n})\r\nexport class DoccategoryexComponent implements OnInit {\r\n public docCategories: DocCatVM[];\r\n error: any;\r\n constructor(private service: RecSearchService) {\r\n\r\n this.getDocCategories();\r\n }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n getDocCategories() {\r\n this.service.getDocCategories().subscribe(\r\n data => { this.docCategories = data }\r\n ,\r\n error => { this.error = error }\r\n\r\n\r\n );\r\n }\r\n\r\n}\r\n","\r\n \r\n
\r\n \r\n
    \r\n
  • \r\n
    \r\n \r\n \r\n
    \r\n
  • \r\n
\r\n
\r\n\r\n\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { RecSearchService } from '../../../rec-search/rec-search-service'\r\nimport { DocTypeVM } from '../../viewmodels/ISearchService';\r\nimport { DocTypeCIF } from '../../../shared/viewmodels/UtilityObj';\r\nimport { Store } from '@ngrx/store';\r\nimport { AppState, getCoreSearchState } from '../../../store/reducers/reducers';\r\n\r\n@Component({\r\n selector: 'app-doctypeex',\r\n templateUrl: './doctypeex.component.html',\r\n styleUrls: ['./doctypeex.component.css']\r\n})\r\nexport class DoctypeexComponent implements OnInit {\r\n\r\n public utilityobj: DocTypeCIF;\r\n message: any;\r\n error: any;\r\n //public docTypes: DocTypeVM[];\r\n toggleCheck: boolean = false;\r\n public isChecked: boolean = false;\r\n public selectedDocs: string = \"All Doc Types\";\r\n\r\n constructor(private service: RecSearchService, private store: Store) {\r\n \r\n }\r\n\r\n ngOnInit() {\r\n\r\n this.utilityobj = new DocTypeCIF();\r\n this.store.select(getCoreSearchState).subscribe(data => this.message = data);\r\n\r\n //if (this.message.rec[0].doctypes.length != 0) {\r\n\r\n if (this.message.doct.doct != undefined && this.message.doct.doct[0] != null && this.message.doct.doct[0].doctypes != undefined) {\r\n this.utilityobj.doctypes = this.message.doct.doct[0].doctypes;\r\n\r\n if (this.message.doct.doct[0] != null && this.message.doct.doct[0].doctypes.length != 0) {\r\n this.utilityobj.doctypes = this.message.doct.doct[0].doctypes;\r\n var selectedDocs = this.utilityobj.doctypes.filter(function (value) { return value[\"isChecked\"] == true; });\r\n var docString = \"\";\r\n selectedDocs.forEach(t => docString = `${docString} ${t.docName}`);\r\n this.selectedDocs = docString;\r\n console.log('type - ' + docString.length);\r\n if (docString.length === 0)\r\n this.selectedDocs = \"All Doc Types\";\r\n else if (docString.length > 50)\r\n this.selectedDocs = docString.substring(0, 50) + '...';\r\n }\r\n else {\r\n this.getDocTypes();\r\n }\r\n }\r\n else {\r\n this.getDocTypes();\r\n }\r\n }\r\n\r\n getDocTypes() {\r\n this.service.getDocTypes().subscribe(\r\n data => {\r\n\r\n this.utilityobj.doctypes = data\r\n this.utilityobj.doctypes.forEach(function(value) {\r\n value[\"isChecked\"] = false;\r\n\r\n }\r\n );\r\n\r\n },\r\n error => { this.error = error }\r\n );\r\n }\r\n\r\n docSelected(docType) {\r\n //console.log(`citySelected fired event: ${JSON.stringify(city)}`);\r\n\r\n this.utilityobj.doctypes = this.utilityobj.doctypes.map((val) => ({\r\n ...val\r\n }));\r\n\r\n var selectedDocs = this.utilityobj.doctypes.filter(function (value) { return value[\"isChecked\"] == true; });\r\n\r\n //console.log(`selctedTowns: ${JSON.stringify(selectedTowns)}`);\r\n var docsString = \"\";\r\n selectedDocs.forEach(t => docsString = `${docsString} ${t.docName}`);\r\n this.selectedDocs = docsString;\r\n if (docsString.length === 0)\r\n this.selectedDocs = \"All Doc Types\";\r\n else if (docsString.length > 50)\r\n this.selectedDocs = this.selectedDocs.substring(0, 50) + '...';\r\n\r\n }\r\n\r\n checkAll(event) {\r\n this.utilityobj.doctypes = this.utilityobj.doctypes.map((val) => ({\r\n ...val,\r\n isChecked: false,\r\n }));\r\n\r\n\r\n this.isChecked = false;\r\n this.selectedDocs = \"All Doc Types\"\r\n\r\n this.toggleCheck = !this.toggleCheck;\r\n }\r\n\r\n reset() {\r\n this.utilityobj = new DocTypeCIF();\r\n this.selectedDocs = \"All Doc Types\";\r\n this.isChecked = false;\r\n\r\n this.getDocTypes();\r\n\r\n // Reset all checkboxes\r\n if (this.utilityobj.doctypes) {\r\n this.utilityobj.doctypes = this.utilityobj.doctypes.map((val) => ({\r\n ...val,\r\n isChecked: false,\r\n }));\r\n }\r\n\r\n // Optionally fetch fresh document types\r\n //this.getDocTypes();\r\n }\r\n\r\n public Set(docType: any): void {\r\n //if (!docType || !this.utilityobj || !this.utilityobj.doctypes) {\r\n // return;\r\n //}\r\n\r\n this.service.getDocTypes().subscribe(\r\n data => {\r\n\r\n if (!docType || !this.utilityobj || !this.utilityobj.doctypes) {\r\n return;\r\n }\r\n\r\n this.utilityobj.doctypes = data\r\n this.utilityobj.doctypes.forEach(function (value) {\r\n value[\"isChecked\"] = false;\r\n\r\n }\r\n );\r\n const doc = this.utilityobj.doctypes.find(doc => doc.docName == docType);\r\n if (doc) {\r\n doc[\"isChecked\"] = true;\r\n }\r\n // Update selectedDocs\r\n this.docSelected(docType);\r\n },\r\n error => { this.error = error }\r\n );\r\n\r\n }\r\n\r\n}\r\n","
\r\n \r\n
\r\n \r\n
\r\n
\r\n Clear All\r\n \r\n
\r\n
\r\n
\r\n  \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { NameCIF } from '../../viewmodels/RegUtility';\r\nimport { FormGroup, FormBuilder, Validators } from '@angular/forms';\r\nimport { Store } from '@ngrx/store';\r\nimport { AppState, getCoreSearchState } from '../../../store/reducers/reducers';\r\n\r\n@Component({\r\n selector: 'app-name',\r\n templateUrl: './name.component.html',\r\n styleUrls: ['./name.component.css']\r\n})\r\nexport class NameComponent implements OnInit {\r\n\r\n public utilityobj: NameCIF;\r\n message: any;\r\n public form: FormGroup;\r\n //// last name in db A-Za-z0-9//s//t-/&,.+=\";:@#*()[]\r\n //// first name in db A-Za-z0-9//s//t-/&,.+=;@#()[]\r\n namePattern = \"[a-zA-Z0-9&/+=,.';:@#()\\\\s\\*\\\"-]*\";\r\n constructor(private store: Store, private fb: FormBuilder) {\r\n\r\n this.utilityobj = new NameCIF();\r\n this.store.select(getCoreSearchState).subscribe(data => this.message = data);\r\n\r\n if (this.message.name.name[0] != null) {\r\n\r\n console.log(this.message.name.name[0].name);\r\n this.utilityobj.name = this.message.name.name[0].name;\r\n }\r\n\r\n }\r\n ngOnInit() {\r\n this.form = this.fb.group({\r\n 'lastcorpName': [this.utilityobj.name, [Validators.required, Validators.pattern(this.namePattern)]]\r\n });\r\n\r\n this.form.valueChanges.subscribe((value) => {\r\n if (this.form.valid) {\r\n this.utilityobj.name = value.lastcorpName ? value.lastcorpName.toUpperCase() : '';\r\n console.log(`lastcorpName: ${this.utilityobj.name}`);\r\n }\r\n });\r\n }\r\n\r\n}\r\n","
\r\n
\r\n \r\n \r\n
\r\n Enter Name\r\n Invalid characters in Name\r\n
\r\n
\r\n
\r\n","import { Component, OnInit, Input } from '@angular/core';\nimport { RegPlanSearchService } from '../../../reg-plan-search/reg-plan-search-service';\r\nimport { GetSBImagesQuery, SBListDTO, basketVM } from '../../viewmodels/ISearchServiceReg';\r\n\n@Component({\n selector: 'app-plan-download',\n providers:[RegPlanSearchService],\n templateUrl: './plan-download.component.html',\n styleUrls: ['./plan-download.component.css']\n})\nexport class PlanDownloadComponent implements OnInit {\n\n @Input() planImages: Array;\n @Input() pagecount: number;\n @Input() planname: string;\n @Input() currentindex: number;\n @Input() book: string;\n @Input() page: string;\n basketItems: Array;\n basketItem: basketVM;\n docImages: any;\n error: any;\n popupVisible: boolean = false;\n Message: string;\n\n constructor(private service: RegPlanSearchService) {\n this.basketItems = new Array();\n\n if (localStorage.getItem(\"basket\") !== null && localStorage.getItem(\"basket\").length > 0) {\n this.basketItems = JSON.parse(localStorage.getItem(\"basket\"));\n }\n }\n\n ngOnInit() {\n }\n\n addToBasket(iswholedoc: boolean) {\n console.log(\"add to basket\");\n console.log(\"planname\" + this.planname);\n var index: number;\n if (this.planname !== undefined)\n index = this.basketItems.findIndex(item => item.planname === this.planname && item.wholeDoc === iswholedoc);\n else\n index = this.basketItems.findIndex(item => item.book === this.book && item.page === this.page && item.wholeDoc === iswholedoc);\n ////exists\n if (index > -1) {\n if (iswholedoc) {\n console.log(\"Duplicate entry\");\n if (this.planname !== undefined)\n this.Message = \"Plan \" + this.planname + \" is already added.\";\n else\n this.Message = \"Plan Book/Page \" + this.book + \"/\" + this.page + \" is already added.\";\n this.popupVisible = true;\n }\n else {\n if (this.planname !== undefined && this.basketItems[index].pages.indexOf((this.currentindex - 1).toString()) > -1) {\n this.Message = \"Plan \" + this.planname + \", p.\" + (this.currentindex) + \" is already added.\";\n this.popupVisible = true;\n }\n else if (this.planname === undefined && this.basketItems[index].pages.indexOf((this.currentindex -1).toString()) > -1) {\n this.Message = \"Plan Book/Page \" + this.book + \"/\" + this.page + \", p.\" + (this.currentindex) + \" is already added.\";\n this.popupVisible = true;\n }\n else {\n this.basketItems[index].pageCount = this.basketItems[index].pageCount + 1;\n //update local storage\n let basketls = JSON.parse(localStorage.getItem(\"planbasket\"));\n basketls[index].pageCount = basketls[index].pageCount + 1;\n localStorage.setItem(\"planbasket\", JSON.stringify(basketls));\n\n if (this.planname !== undefined) {\n this.basketItems[index].imagepaths.push(this.planImages[this.currentindex - 1]);\n this.basketItems[index].pages.push((this.currentindex - 1).toString());\n //update local storage\n let basketls = JSON.parse(localStorage.getItem(\"planbasket\"));\n basketls[index].imagepaths.push(this.planImages[this.currentindex - 1]);\n basketls[index].pages.push((this.currentindex - 1).toString());\n localStorage.setItem(\"planbasket\", JSON.stringify(basketls));\n this.Message = \"Plan \" + this.planname + \", p.\" + (this.currentindex) + \" is added successfully.\";\n }\n else {\n this.basketItems[index].imagepaths.push(this.planImages[this.currentindex - 1]);\n this.basketItems[index].pages.push((this.currentindex -1).toString());\n //update local storage\n let basketls = JSON.parse(localStorage.getItem(\"planbasket\"));\n basketls[index].imagepaths.push(this.planImages[this.currentindex - 1]);\n basketls[index].pages.push((this.currentindex -1).toString());\n localStorage.setItem(\"planbasket\", JSON.stringify(basketls));\n this.Message = \"Plan Book/Page \" + this.book + \"/\" + this.page + \", p.\" + (this.currentindex) + \" is added successfully.\";\n }\n this.popupVisible = true;\n }\n }\n }\n\n ////not exists- create new basket item\n else {\n this.basketItem = new basketVM();\n //this.basketItem.docType = this.doctype;\n\n //// Registered land plans\n if (this.planname !== undefined) {\n this.basketItem.planname = this.planname;\n this.basketItem.document = this.planname;\n // this.basketItem.docId = this.docId.toString();\n //this.basketItem.dept = 'L';\n }\n\n ////Recorded land plans\n else {\n this.basketItem.book = this.book;\n this.basketItem.page = this.page;\n this.basketItem.document = 'B:' + this.book + '/P:' + this.page;\n //this.basketItem.dept = 'R';\n }\n this.basketItem.isEmail = false;\n this.basketItem.isDownload = false;\n this.basketItem.downloadAs = 'pdf';\n this.basketItem.wholeDoc = iswholedoc;\n \n if (iswholedoc) {\n this.basketItem.pageCount = this.pagecount;\n this.basketItem.imagepaths = this.planImages;\n }\n else {\n this.basketItem.pageCount = 1;\n if (this.planname !== undefined) {\n this.basketItem.imagepaths = new Array(this.planImages[this.currentindex - 1]);\n this.basketItem.pages = new Array((this.currentindex - 1).toString());\n }\n else {\n this.basketItem.imagepaths = new Array(this.planImages[this.currentindex - 1]);\r\n this.basketItem.pages = new Array((this.currentindex -1).toString());\r\n }\n \n }\n this.basketItems.push(this.basketItem);\n\n //update local storage\n if (localStorage.getItem(\"planbasket\") !== null && localStorage.getItem(\"planbasket\").length > 0) {\n let basketls = JSON.parse(localStorage.getItem(\"planbasket\"));\n basketls.push(this.basketItem);\n localStorage.setItem(\"planbasket\", JSON.stringify(basketls));\n }\n\n if (iswholedoc)\n if (this.planname !== undefined)\n this.Message = \"Plan \" + this.planname + \" is added successfully.\";\n else\n this.Message = \"Plan Book/Page \" + this.book + \"/\" + this.page + \" is added successfully.\";\n else\n if (this.planname !== undefined)\n this.Message = \"Plan \" + this.planname + \", p.\" + (this.currentindex) + \" is added successfully.\";\n else\n this.Message = \"Plan Book/Page \" + this.book + \"/\" + this.page + \", p.\" + (this.currentindex) + \" is added successfully.\";\n this.popupVisible = true;\n }\n\n }\n\n getBasket() {\n console.log(\"display basket\");\n }\n\n downloadPDF() {\n var sblist: SBListDTO[] = new Array();\n \n this.basketItems.forEach(function (bi) {\n if (bi.isDownload) {\n var sb1 = new SBListDTO();\n sb1.imageType = bi.downloadAs;\n sb1.department = bi.dept;\n sb1.wholeDoc = bi.wholeDoc;\n sb1.pages = bi.imagepaths;\n sblist.push(sb1);\n }\n });\n console.log(sblist);\n if (sblist.length > 0) {\n let imgquery = new GetSBImagesQuery({\n emailList: false,\n emailAddress: '',\n zipList: false,\n sBList: sblist\n\n });\n\n console.log(\"Calling download\" + imgquery);\n this.service.DownloadPlans(imgquery).subscribe(\n data => {\n this.docImages = data;\n console.log('planbasket' + this.docImages);\n this.basketItems = this.basketItems.filter(item => item.isDownload == false);\n if (localStorage.getItem(\"planbasket\") !== null && localStorage.getItem(\"planbasket\").length > 0) {\n let basketls = JSON.parse(localStorage.getItem(\"planbasket\"));\n localStorage.setItem(\"planbasket\", JSON.stringify(basketls.filter(item => item.isDownload == true)));\n }\n\n ////const url = window.URL.createObjectURL(this.docImages);\n ////window.open(url);\n //////window.URL.revokeObjectURL(url);\n\n //IE11 support\n //if (window.navigator && window.navigator.msSaveOrOpenBlob) {\n // window.navigator.msSaveOrOpenBlob(this.docImages, \"MyZipfile.zip\");\n //}\n //// other browsers\n //else {\n var a = document.createElement(\"a\");\n document.body.appendChild(a);\n const url = window.URL.createObjectURL(this.docImages);\n a.href = url;\n a.download = \"MyZipfile.zip\";\n a.click();\n window.URL.revokeObjectURL(url);\n //}\n },\n error => { this.error = error }\n );\n\n }\n\n else\n console.log('Select item to download');\n\n }\n\n deleteRow(event) {\n if (localStorage.getItem(\"planbasket\") !== null && localStorage.getItem(\"planbasket\").length > 0) {\n let basketls = JSON.parse(localStorage.getItem(\"planbasket\"));\n localStorage.setItem(\"planbasket\", JSON.stringify(basketls.filter(item => item.bookpage !== event.key.bookpage)));\n }\n }\n\n}\n","+\r\n
\r\n
\r\n
\r\n
\r\n
Add to Download list...
\r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n

\r\n {{Message}}\r\n

\r\n\r\n
\r\n
\r\n{{basketItems.length}}\r\n\r\n
\r\n
\r\n
\r\n
\r\n \r\n
Download Options
\r\n \r\n
\r\n
\r\n \r\n\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n
\r\n \r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n PDF\r\n TIF\r\n
\r\n\r\n
\r\n\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { DocNumCIF } from '../../viewmodels/UtilityObj';\r\nimport { Store } from '@ngrx/store';\r\nimport { AppState, getCoreSearchState } from '../../../store/reducers/reducers';\r\nimport { FormGroup, FormBuilder, Validators } from '@angular/forms';\r\n\r\n@Component({\r\n selector: 'app-recdoc',\r\n templateUrl: './recdoc.component.html',\r\n styleUrls: ['./recdoc.component.css']\r\n})\r\nexport class RecdocComponent implements OnInit {\r\n public utilityobj: DocNumCIF;\r\n message: any;\r\n public form: FormGroup;\r\n docnumPattern = \"[0-9]*\";\r\n\r\n constructor(private store: Store, private fb: FormBuilder) {\r\n this.utilityobj = new DocNumCIF();\r\n this.store.select(getCoreSearchState).subscribe(data => this.message = data);\r\n\r\n if (this.message.docnum.docnum[0]!=null) {\r\n this.utilityobj.docnum = this.message.docnum.docnum[0].docnum;\r\n }\r\n }\r\n\r\n ngOnInit() {\r\n this.form = this.fb.group({\r\n 'docnum': [this.utilityobj.docnum, [Validators.required, Validators.pattern(this.docnumPattern)]]\r\n });\r\n this.form.valueChanges.subscribe(value => {\r\n if (this.form.valid) {\r\n this.utilityobj.docnum = value.docnum ? value.docnum : '';\r\n }\r\n });\r\n\r\n }\r\n\r\n}\r\n","
\r\n
\r\n \r\n \r\n
\r\n Enter Document Number\r\n Use numbers in Document Number\r\n
\r\n
\r\n
\r\n","import { Component, Inject, ViewEncapsulation, ViewChild, Input } from '@angular/core';\r\nimport { filter } from 'rxjs/operators';\r\nimport { ReportViewerService } from '../../services/report-viewer.service';\r\nimport { GetRegNameSearchReportQuery, GetRecNameSearchReportQuery } from '../../viewmodels/ISearchService';\r\nimport { Store } from '@ngrx/store';\r\n//import { CoreSearchDataState as AppState, getRegSearchState } from '../../../store/reducers/reducers';\r\nimport { ActivatedRoute, Router } from '@angular/router';\r\nimport { DxReportViewerComponent } from 'devexpress-reporting-angular';\r\nimport { ActionId, ReportPreview, ExportFormatID } from 'devexpress-reporting/dx-webdocumentviewer'\r\nimport Swal from 'sweetalert2'\r\nimport * as ko from 'knockout';\r\nimport { observable } from 'rxjs';\r\nimport { ExportHandler } from 'devexpress-reporting/viewer/internal/_exportHandler';\r\n\r\nimport { RecSearchService } from '../../../rec-search/rec-search-service';\r\nimport { NavMenuService } from '../../../shared/services/nav-menu-service';\r\n\r\n\r\n@Component({\r\n selector: 'report-viewer-plan',\r\n encapsulation: ViewEncapsulation.None,\r\n templateUrl: './report-viewer-plan.component.html',\r\n styleUrls: [\r\n //\"../../../../../node_modules/jquery-ui/themes/base/all.css\",\r\n //\"../../../../../node_modules/devextreme/dist/css/dx.common.css\",\r\n //\"../../../../../node_modules/devextreme/dist/css/dx.light.css\",\r\n \"../../../../../node_modules/@devexpress/analytics-core/dist/css/dx-analytics.common.css\",\r\n \"../../../../../node_modules/@devexpress/analytics-core/dist/css/dx-analytics.light.css\",\r\n \"../../../../../node_modules/devexpress-reporting/dist/css/dx-webdocumentviewer.css\"\r\n ]\r\n})\r\nexport class ReportViewerPlanComponent {\r\n @ViewChild(DxReportViewerComponent, { static: false }) viewer: DxReportViewerComponent;\r\n reportUrl: string; //= \"RecNameSearchReport1\";\r\n invokeAction: string = '/DXXRDV';\r\n @Input() isNewTab: boolean;\r\n oldAction: Function;\r\n //invokeAction: string = 'mydocviewercontroller'\r\n\r\n back(url) {\r\n\r\n if (this.isNewTab) {\r\n\r\n //window.opener = 'Self';\r\n window.open('', '_parent', '');\r\n window.close();\r\n }\r\n else {\r\n try {\r\n this.service.logInfo('Clicked back button');\r\n this.nav.show();\r\n if (localStorage.getItem('recNameSearchResults') !== null) {\r\n console.log('remove from localStorage');\r\n localStorage.removeItem('recNameSearchResults');\r\n }\r\n this.router.navigate([url]);\r\n }\r\n catch (error) {\r\n this.service.logError(error);\r\n }\r\n }\r\n }\r\n\r\n CustomizeMenuActions(event) {\r\n //var actionPrevPage = s.args.GetById(ActionId.Print);\r\n\r\n //var printAction = event.args.GetById(ActionId.Print);\r\n //if (printAction)\r\n // printAction.clickAction = (report) => {\r\n // event.sender.PerformCustomDocumentOperation(\"Print\", true)\r\n // .done(() => {\r\n // //window.open(\"/Home/PrintDocument\", \"_blank\");\r\n // Swal.fire(\"Document exported\");\r\n // });\r\n // };\r\n \t\r\n\r\n //var exportAction = event.args.GetById(ActionId.ExportTo);\r\n //if (exportAction)\r\n // exportAction.clickAction = (report) => this.ExportIntercept(event);\r\n\r\n\r\n\r\n var actionExportTo = event.args.GetById(ActionId.ExportTo);\r\n var actionExportToClick = actionExportTo.clickAction;\r\n\r\n actionExportTo.clickAction = (arg) => {\r\n\r\n // if (arg.itemData.format === \"pdf\") {\r\n // //Override PDF Export command here\r\n // event.sender.PerformCustomDocumentOperation(\"ExportToPDF\", true)\r\n // }\r\n //else\r\n actionExportToClick(arg);\r\n\r\n } \r\n\r\n }\r\n\r\n ExportIntercept(event) {\r\n event.sender.PerformCustomDocumentOperation(\"ExportToPDF\", true)\r\n .done(() => {\r\n Swal.fire(\"Document exported\");\r\n });\r\n\r\n\r\n }\r\n\r\n CustomizeExportOptions(event) {\r\n //var q = event.args._options.exportOptions.pdf;\r\n\r\n var model = event.args.GetExportOptionsModel(ExportFormatID.PDF);\r\n \r\n //model.exportHyperlinks(false);\r\n\r\n\r\n if (model) model.clickAction = (report) => {\r\n event.sender.PerformCustomDocumentOperation(\"ExportToPDF\", true)\r\n .done(() => {\r\n //window.open(\"/Home/PrintDocument\", \"_blank\");\r\n Swal.fire(\"Document exported\");\r\n });\r\n };\r\n }\r\n\r\n // print() {\r\n // this.viewer.bindingSender.Export();\r\n //} \r\n\r\n constructor(@Inject('BASE_URL') public hostUrl: string, private route: ActivatedRoute, private router: Router, public nav: NavMenuService, private service: RecSearchService) {\r\n\r\n \r\n /*TODO: Inject the store and get the search params */\r\n this.reportUrl = this.route.snapshot.paramMap.get('repName');\r\n\r\n //let getRecNameSearchReportQuery = new GetRecNameSearchReportQuery({\r\n // lastName: \"BAKER\",\r\n // firstName: \"\",\r\n // fromDate: \"2018-02-13T16:35:14.394Z\",\r\n // toDate: \"2020-03-13T15:35:25.324Z\",\r\n // roleId: 0,\r\n // towns: new Array(),\r\n // doctypes: new Array(),\r\n // sortBy: new Array(),\r\n // sortDirection: \"desc\",\r\n // filter: new Array()\r\n //});\r\n\r\n //this.service.getRecNameSearchReport(getRecNameSearchReportQuery).subscribe((reportName) => {\r\n // this.reportUrl = reportName.reportName;\r\n //})\r\n\r\n //let getRegNameSearchReportQuery = new GetRegNameSearchReportQuery({\r\n // lastName: \"BAKER\",\r\n // firstName: \"\",\r\n // fromDate: \"2018-02-13T16:35:14.394Z\",\r\n // toDate: \"2020-03-13T15:35:25.324Z\",\r\n // roleId: 0,\r\n // towns: new Array(),\r\n // doctypes: new Array(),\r\n // sortBy: new Array(),\r\n // sortDirection: \"desc\",\r\n // filter: new Array()\r\n //});\r\n\r\n //this.service.getRegNameSearchReport(getRegNameSearchReportQuery).subscribe((reportName) => {\r\n // this.reportUrl = reportName.reportName;\r\n //})\r\n\r\n\r\n }\r\n}\r\n","\r\n \r\n\r\n\r\n\r\n \r\n \r\n\r\n","import { Component, Inject, ViewEncapsulation } from '@angular/core';\r\nimport { filter } from 'rxjs/operators';\r\nimport { ReportViewerService } from '../../services/report-viewer.service';\r\nimport { GetRegNameSearchReportQuery, GetRecNameSearchReportQuery } from '../../viewmodels/ISearchService';\r\nimport { Store } from '@ngrx/store';\r\nimport { AppState } from '../../../store/reducers/reducers';\r\nimport { ActivatedRoute } from '@angular/router';\r\n\r\n@Component({\r\n selector: 'report-viewer',\r\n encapsulation: ViewEncapsulation.None,\r\n templateUrl: './report-viewer.component.html',\r\n styleUrls: [\r\n //\"../../../../../node_modules/jquery-ui/themes/base/all.css\",\r\n \"../../../../../node_modules/devextreme/dist/css/dx.common.css\",\r\n \"../../../../../node_modules/devextreme/dist/css/dx.light.css\",\r\n \"../../../../../node_modules/@devexpress/analytics-core/dist/css/dx-analytics.common.css\",\r\n \"../../../../../node_modules/@devexpress/analytics-core/dist/css/dx-analytics.light.css\",\r\n \"../../../../../node_modules/devexpress-reporting/dist/css/dx-webdocumentviewer.css\"\r\n ]\r\n})\r\nexport class ReportViewerComponent {\r\n reportUrl: string; //= \"RecNameSearchReport1\";\r\n invokeAction: string = '/DXXRDV';\r\n //invokeAction: string = 'mydocviewercontroller'\r\n\r\n constructor(@Inject('BASE_URL') public hostUrl: string, private route: ActivatedRoute) {\r\n\r\n \r\n /*TODO: Inject the store and get the search params */\r\n this.reportUrl = this.route.snapshot.paramMap.get('repName');\r\n\r\n //let getRecNameSearchReportQuery = new GetRecNameSearchReportQuery({\r\n // lastName: \"BAKER\",\r\n // firstName: \"\",\r\n // fromDate: \"2018-02-13T16:35:14.394Z\",\r\n // toDate: \"2020-03-13T15:35:25.324Z\",\r\n // roleId: 0,\r\n // towns: new Array(),\r\n // doctypes: new Array(),\r\n // sortBy: new Array(),\r\n // sortDirection: \"desc\",\r\n // filter: new Array()\r\n //});\r\n\r\n //this.service.getRecNameSearchReport(getRecNameSearchReportQuery).subscribe((reportName) => {\r\n // this.reportUrl = reportName.reportName;\r\n //})\r\n\r\n //let getRegNameSearchReportQuery = new GetRegNameSearchReportQuery({\r\n // lastName: \"BAKER\",\r\n // firstName: \"\",\r\n // fromDate: \"2018-02-13T16:35:14.394Z\",\r\n // toDate: \"2020-03-13T15:35:25.324Z\",\r\n // roleId: 0,\r\n // towns: new Array(),\r\n // doctypes: new Array(),\r\n // sortBy: new Array(),\r\n // sortDirection: \"desc\",\r\n // filter: new Array()\r\n //});\r\n\r\n //this.service.getRegNameSearchReport(getRegNameSearchReportQuery).subscribe((reportName) => {\r\n // this.reportUrl = reportName.reportName;\r\n //})\r\n\r\n\r\n }\r\n}\r\n","\r\n \r\n\r\n","import { Component, OnInit } from '@angular/core';\nimport { Role2CIF } from '../../../shared/viewmodels/UtilityObj';\r\nimport { Store } from '@ngrx/store';\r\nimport { AppState, getCoreSearchState } from '../../../store/reducers/reducers';\r\n\n@Component({\n selector: 'app-role2',\n templateUrl: './role2.component.html',\n styleUrls: ['./role2.component.css']\n})\nexport class RoleComponent2 implements OnInit {\n\n public utilityobj: Role2CIF;\r\n message: any;\n constructor(private store: Store) {\n this.utilityobj = new Role2CIF();\r\n this.store.select(getCoreSearchState).subscribe(data => this.message = data);\n \n if (this.message.roleID != null) {\n this.utilityobj.role2ID = this.message.roleID;\n console.log('role 2 - ' + this.message.roleID);\n } else {\n this.utilityobj.role2ID = 1;\n }\r\n }\n\n ngOnInit() {\n }\n \n}\n","\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n\r\n\r\n\r\n","import { Component, OnInit } from '@angular/core';\nimport { FormGroup, FormBuilder, Validators, ValidationErrors, FormControl } from '@angular/forms';\nimport { RoleCIF } from '../../../shared/viewmodels/UtilityObj';\r\nimport { Store } from '@ngrx/store';\r\nimport { AppState, getCoreSearchState } from '../../../store/reducers/reducers';\r\n\n@Component({\n selector: 'app-role',\n templateUrl: './role.component.html',\n styleUrls: ['./role.component.css']\n})\nexport class RoleComponent implements OnInit {\n\n public utilityobj: RoleCIF;\r\n message: any;\n public form: FormGroup;\n constructor(private store: Store, private fb: FormBuilder) {\n this.utilityobj = new RoleCIF();\r\n this.store.select(getCoreSearchState).subscribe(data => this.message = data);\n //console.log(this.message.role[0]);\n if (this.message.role.role.length != 0) {\n this.utilityobj.roleID = this.message.role.role[0].roleID;\n console.log(this.message.role.role[0]);\n } else {\n this.utilityobj.roleID = -1;\n }\r\n }\n\n ngOnInit() {\n this.form = this.fb.group({\r\n 'roleID': [this.utilityobj.roleID]\r\n });\n }\n\n reset() {\n this.utilityobj.roleID = -1; // Reset to \"All Roles\"\n this.form.reset({ roleID: '-1' }); // Ensure the dropdown resets properly\n }\n\n}\n","\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n\r\n\r\n\r\n","import { Component, OnInit, ViewChild } from '@angular/core';\nimport { SelectIndexCIF } from '../../../shared/viewmodels/UtilityObj';\r\nimport { Store } from '@ngrx/store';\r\nimport { AppState, getCoreSearchState } from '../../../store/reducers/reducers';\nimport { DxListModule, DxListComponent } from \"devextreme-angular\";\n\n@Component({\n selector: 'app-select-index',\n templateUrl: './select-index.component.html',\n styleUrls: ['./select-index.component.css']\n})\nexport class SelectIndexComponent implements OnInit {\n\r\n //@ViewChild(DxListComponent, { }) list: DxListComponent;\r\n // Prior to Angular 8\r\n //@ViewChild(DxListComponent) list: DxListComponent;\r\n\r\n public utilityobj: SelectIndexCIF;\r\n message: any;\n helpText: string;\n indexId: number;\n header: string;\n\n listItems = [{\r\n id: 1,\r\n name: 'Writs 1911-1966',\r\n help: 'Writs for the years between 1911 and 1966. Scroll through images to find writ.',\r\n header: 'Year'\r\n },\r\n {\r\n id: 2,\r\n name: 'Attachments 1967 - 2006',\r\n help: 'Enter Writs of Attachment # (1 - 7217). Writs recorded after 2006 are in Deed Books.',\r\n header: 'Writ of Attachment Number'\r\n },\n {\r\n id: 3,\r\n name: 'Old Age Assistance Liens Index 1942-1950',\r\n help: 'Old Age Assistance Liens Index 1942-1950'\r\n },\n //{\r\n // id: 4,\r\n // name: 'Old Age Assistance Liens Index 1949-1988',\r\n // help: ''\r\n //},\n {\r\n id: 4,\r\n name: 'Old Age Assistance Liens',\r\n help: 'Old Age Assistance Liens'\r\n },\n {\r\n id: 5,\r\n name: 'Grantor 1840-1860',\r\n help: 'Grantor Index list from 1840-1860'\r\n },\n {\r\n id: 6,\r\n name: 'Grantee 1840-1860',\r\n help: 'Grantee Index List from 1840 to 1860'\r\n },\n {\r\n id: 7,\r\n name: 'Grantor 1861-1885',\r\n help: 'Grantor Index list from 1861 to 1885'\r\n },\n {\r\n id: 8,\r\n name: 'Grantee 1861-1885',\r\n help: 'Grantee Index List from 1861 to 1885'\r\n },\n {\r\n id: 9,\r\n name: 'Grantor 1886-1909',\r\n help: 'Grantor Index list from 1886 to 1909'\r\n },\n {\r\n id: 10,\r\n name: 'Grantee 1886-1909',\r\n help: 'Grantee Index List from 1886 to 1909'\r\n },\n {\r\n id: 11,\r\n name: 'Grantor 1909-1926',\r\n help: 'Grantor Index list from 1909 to 1926'\r\n },\n {\r\n id: 12,\r\n name: 'Grantee 1909-1926',\r\n help: 'Grantee Index List from 1909 to 1926'\r\n },\n {\r\n id: 13,\r\n name: 'Grantor 1926-1938',\r\n help: 'Grantor Index list from 1926 to 1938'\r\n },\n {\r\n id: 14,\r\n name: 'Grantee 1926-1938',\r\n help: 'Grantee Index List from 1926 to 1938'\r\n },\n {\r\n id: 15,\r\n name: 'Grantor 1938-1947',\r\n help: 'To find town tax liens, payments and redemptions for property in this index, examine the Grantor index entries for the Town/Municipality in which the property lies and scan down the reverse party/owner list to find reference to instruments affecting property.'\r\n },\n {\r\n id: 16,\r\n name: 'Grantee 1938-1947',\r\n help: 'Grantee Index List from 1938 to 1947'\r\n },\n {\r\n id: 17,\r\n name: 'Grantor 1948-1951',\r\n help: 'Grantor Index list from 1948 to 1951'\r\n },\n {\r\n id: 18,\r\n name: 'Grantee 1948-1951',\r\n help: 'Grantee Index List from 1948 to 1951'\r\n },\n {\r\n id: 19,\r\n name: 'Grantor 1952-1961',\r\n help: 'Grantor Index list from 1952 to 1961'\r\n },\n {\r\n id: 20,\r\n name: 'Grantee 1952-1961',\r\n help: 'Grantee Index List from 1952 to 1961'\r\n }\n\n ];\n\n\n\n constructor(private store: Store) {\n this.utilityobj = new SelectIndexCIF();\r\n this.store.select(getCoreSearchState).subscribe(data => this.message = data);\n //console.log(this.message.role[0]);\n //if (this.message.roletype.length != 0) {\n // this.utilityobj.indexId = this.message.selectIndex[0].indexID;\n //console.log(this.message.role[0]);\n //} else {\n //this.utilityobj.indexId = 1;\n //this.indexId = 1;\n this.utilityobj.indexId = 5;\n this.indexId = 5;\n //}\r\n }\n\n ngOnInit() {\n\n //this.list.instance.selectItem(3);\n }\n\n\n\n ItemClick(e) {\n\r\n this.utilityobj.indexId = e.itemData.id;\r\n this.indexId = e.itemData.id;\r\n this.helpText = e.itemData.help;\r\n this.header = e.itemData.header;\r\n //console.log('index ' + e.itemdata.id);\r\n\r\n } \n}\n","\r\n\r\n \r\n
\r\n \r\n
\r\n \r\n {{r.name}}\r\n
\r\n
\r\n
\r\n","import { FormGroup } from '@angular/forms';\r\n\r\nexport function AmountRangeMustBeValid() {\r\n return (formGroup: FormGroup) => {\r\n const typeControl = formGroup.controls['type'];\r\n const amountToControl = formGroup.controls['toamount'];\r\n const amountFromControl = formGroup.controls['fromamount'];\r\n console.log(`AmountRangeValidator fired: from ${amountFromControl.value} to ${amountToControl.value}`);\r\n\r\n if (amountToControl.errors && !amountToControl.errors.invalidRange) {\r\n //return if another validator has already found an error\r\n console.log(`returning amountToControl.errors: ${JSON.stringify(amountToControl.errors)}`);\r\n return;\r\n }\r\n if (typeControl.value === \"rng\") {\r\n if (amountToControl.value < amountFromControl.value) {\r\n amountToControl.setErrors({ invalidRange: true });\r\n } else {\r\n amountToControl.setErrors(null);\r\n }\r\n }\r\n }\r\n}\r\n","import { Injectable, Inject } from '@angular/core';\r\nimport { HttpClient, HttpParams, HttpErrorResponse, HttpHeaders, HttpResponseBase, HttpResponse } from '@angular/common/http';\r\nimport { Observable, throwError as _observableThrow, of as _observableOf, firstValueFrom } from 'rxjs';\r\nimport { mergeMap as _observableMergeMap, catchError as _observableCatch } from 'rxjs/operators';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class EvalonPaymentService {\r\n private apiUrl = 'https://api.demo.convergepay.com/hosted-payments/RequestSample.php';\r\n\r\n myAppUrl: string = \"\";\r\n //name: Name;\r\n response: string;\r\n\r\n/* constructor(private http: HttpClient) { }*/\r\n\r\n constructor(private http: HttpClient, @Inject('BASE_URL') baseUrl: string) {\r\n this.myAppUrl = baseUrl;\r\n }\r\n\r\n //async getToken(amount: string) {\r\n // //return this.http.post(this.myAppUrl + 'api/CoreData/GetToken', { amount });\r\n // var tok;\r\n // await this.http.post(this.myAppUrl + 'api/CoreData/GetToken', { amount })\r\n // .subscribe({\r\n // next: (token) => {\r\n // this.response = token;\r\n \r\n // },\r\n // error: (err) => {\r\n // console.error('Error:', err);\r\n // },\r\n // });\r\n // return this.response;\r\n //}\r\n\r\n //async getToken(amount: string): Promise {\r\n // const payload = { amount };\r\n // return await firstValueFrom(this.http.post(`${this.myAppUrl}api/CoreData/GetToken`, payload));\r\n //}\r\n\r\n getToken(amount: string): Promise {\r\n const payload = { amount };\r\n var i = 1;\r\n //// Wrap the HTTP call in a Promise\r\n //return new Promise((resolve, reject) => {\r\n // this.http.post(`${this.myAppUrl}api/CoreData/GetToken`, payload)\r\n // .subscribe({\r\n // next: (token) => resolve(token), // Resolve the promise with the token\r\n // error: (err) => reject(err), // Reject the promise with the error\r\n // });\r\n //});\r\n\r\n return new Promise((resolve, reject) => {\r\n this.http.post<{ token: string }>(`${this.myAppUrl}api/CoreData/GetToken`, payload)\r\n .subscribe({\r\n next: (response) => resolve(response.token), // Use `response.token` to resolve\r\n error: (err) => reject(err),\r\n });\r\n });\r\n }\r\n\r\n initiateLightbox(request: { ssl_first_name: string; ssl_last_name: string; ssl_amount: string })\r\n {\r\n return this.http.post(this.apiUrl, request);\r\n \r\n }\r\n \r\n\r\n\r\n\r\n\r\n voidTransaction(token: string): Observable {\r\n return this.http.post(`${this.myAppUrl}/GetToken`, { token })\r\n }\r\n\r\n completeSBChargeandCCSale(token: string): Observable {\r\n return this.http.post(`${this.myAppUrl}/GetToken`, { token })\r\n }\r\n}\r\n","import { Injectable, Inject } from '@angular/core';\r\nimport { HttpClient, HttpParams, HttpErrorResponse, HttpHeaders, HttpResponseBase, HttpResponse } from '@angular/common/http';\r\nimport { Observable, Subject } from 'rxjs';\r\nimport { AuthResultVM } from '../viewmodels/ISearchService';\r\nimport { mergeMap as _observableMergeMap, catchError as _observableCatch, map } from 'rxjs/operators';\r\nimport Swal from 'sweetalert2';\r\n\r\n\r\n@Injectable()\r\nexport class AuthenticationService {\r\n myAppUrl: string = \"\";\r\n uid: string = \"\";\r\n pwd; string = \"\";\r\n guid: string = \"\";\r\n accntType: string = \"\";\r\n msg: string = \"\";\r\n success: number = 0;\r\n auth: AuthResultVM = new AuthResultVM();\r\n loginLink: string = \"Login\";\r\n newPwd: string = \"\";\r\n confirmPwd: string = \"\";\r\n isLoggedIn: boolean = false;\r\n loginLinkChange: Subject = new Subject();\r\n showLogin: boolean = true;\r\n accountStatementPdf: any;\r\n\r\n constructor(private _http: HttpClient, @Inject('BASE_URL') baseUrl: string) {\r\n this.myAppUrl = baseUrl;\r\n // this.auth = new AuthResultVM();\r\n this.loginLinkChange.subscribe((value) => {\r\n this.loginLink = value\r\n });\r\n // if (localStorage.getItem(\"machineLocation\") === '0')\r\n // this.showLogin = true;\r\n }\r\n\r\n async getCredentials() {\r\n //this.userInputVisible = true; \r\n\r\n if (this.loginLink != \"Login\") {\r\n Swal.fire('Logged in as', this.uid);\r\n return;\r\n }\r\n\r\n let x = await Swal.fire({\r\n title: 'Login',\r\n showCancelButton: true,\r\n allowEnterKey: true,\r\n html:\r\n '
' +\r\n '',\r\n focusConfirm: true,\r\n preConfirm: () => {\r\n// (document.getElementById('uid')).focus;\r\n return [\r\n this.uid = (document.getElementById('uid')).value,\r\n this.pwd = (document.getElementById('pwd')).value\r\n ]\r\n }\r\n }).then((result) => {\r\n if (result.dismiss === undefined) {\r\n console.log('login ok');\r\n// if (this.uid.length > 0) {\r\n//// this.AuthenticateUser();\r\n // }\r\n }\r\n else {\r\n console.log('cancel log');\r\n return;\r\n }\r\n });\r\n\r\n if (this.uid.length > 0) {\r\n await this.AuthenticateUser();\r\n }\r\n\r\n }\r\n\r\n async setupUser() {\r\n\r\n if (this.success === 1) {\r\n\r\n console.log('success');\r\n localStorage.setItem('uid', this.uid);\r\n localStorage.setItem('guid', this.guid);\r\n localStorage.setItem('accntType', this.accntType);\r\n // Swal.fire(localStorage.getItem('guid'));\r\n this.loginLink = this.uid;\r\n this.isLoggedIn = true;\r\n console.log(localStorage.getItem('guid'));\r\n// console.log(this.guid);\r\n }\r\n else {\r\n console.log('failure');\r\n localStorage.removeItem('uid');\r\n localStorage.removeItem('guid');\r\n localStorage.removeItem('accntType')\r\n this.loginLink = \"Login\";\r\n this.isLoggedIn = false;\r\n Swal.fire('Failure', this.auth.msg);\r\n }\r\n this.loginLinkChange.next(this.loginLink);\r\n\r\n }\r\n\r\n\r\n async AuthenticateUser() {\r\n\r\n let x = \"\";\r\n let url = this.myAppUrl + 'api/CoreData/GetCredentials?uid=' + this.uid + '&pwd=' + this.pwd + '&loc=' + localStorage.getItem(\"machineLocation\");\r\n\r\n await this._http.get(url)\r\n .toPromise()\r\n .then(data => {\r\n this.auth = data;\r\n this.success = data.success;\r\n this.msg = data.msg;\r\n this.guid = data.credentialGuid;\r\n this.accntType = data.accntType;\r\n //this.isLoggedIn = true;\r\n console.log('auth - ' + this.success);\r\n });\r\n\r\n //if (this.success === 1)\r\n await this.setupUser();\r\n }\r\n\r\n async ValidateGuid() {\r\n\r\n var isValid: boolean = false;\r\n this.success = 0;\r\n this.uid = localStorage.getItem('uid');\r\n this.guid = localStorage.getItem('guid');\r\n this.accntType = localStorage.getItem('accntType');\r\n if (this.guid === null) {\r\n this.loginLink = \"Login\";\r\n this.isLoggedIn = false;\r\n }\r\n else {\r\n \r\n await this._http.get(this.myAppUrl + 'api/CoreData/ValidateGuid?guid=' + this.guid)\r\n .toPromise()\r\n .then(res => {\r\n this.success = res.success\r\n //console.log('auth 1 - ' + this.success);\r\n });\r\n //console.log('auth 2 - ' + this.success);\r\n\r\n if (this.success === 0) {\r\n this.loginLink = \"Login\";\r\n this.isLoggedIn = false;\r\n } else\r\n this.isLoggedIn = true;\r\n\r\n }\r\n\r\n }\r\n\r\n async logout() {\r\n\r\n Swal.fire({\r\n title: 'Logout?',\r\n showCancelButton: true\r\n // confirmButtonText: 'OK'\r\n }).then((result) => {\r\n if (result.value === true) {\r\n localStorage.removeItem('uid');\r\n localStorage.removeItem('guid');\r\n localStorage.removeItem('accntType');\r\n this.loginLink = \"Login\";\r\n this.isLoggedIn = false;\r\n }\r\n })\r\n\r\n this.loginLinkChange.next(this.loginLink);\r\n }\r\n\r\n async autoLogout() {\r\n\r\n localStorage.removeItem('uid');\r\n localStorage.removeItem('guid');\r\n localStorage.removeItem('accntType');\r\n this.loginLink = \"Login\";\r\n this.isLoggedIn = false;\r\n\r\n }\r\n\r\n\r\n\r\n async changePassword() {\r\n\r\n this.uid = localStorage.getItem('uid');\r\n if (this.uid === null || this.uid.length === 0)\r\n return;\r\n\r\n let x = await Swal.fire({\r\n title: 'Change Password for ' + this.uid,\r\n showCancelButton: true,\r\n allowEnterKey: true,\r\n html:\r\n '
' +\r\n '' +\r\n '',\r\n focusConfirm: true,\r\n preConfirm: () => {\r\n (document.getElementById('pwd')).focus;\r\n return [\r\n this.pwd = (document.getElementById('uid')).value,\r\n this.newPwd = (document.getElementById('newPwd')).value,\r\n this.confirmPwd = (document.getElementById('confirmPwd')).value\r\n ]\r\n }\r\n }).then((result) => {\r\n\r\n console.log('result - ' + result.value);\r\n console.log(this.confirmPwd);\r\n\r\n // if (result.value === true) {\r\n\r\n // if (this.newPwd != this.confirmPwd) {\r\n // Swal.fire('Error', 'Passwords do not match');\r\n // return;\r\n // }\r\n // if (this.pwd.length === 0) {\r\n // Swal.fire('Error', 'Passwords cannot be blank');\r\n // return;\r\n // }\r\n\r\n // if (this.newPwd != this.pwd) {\r\n // Swal.fire('Error', 'Password must be different');\r\n // return;\r\n // }\r\n\r\n // this.resetPassword();\r\n // }\r\n });\r\n //this.resetPassword();\r\n }\r\n\r\n async resetPassword() {\r\n console.log('reset');\r\n\r\n await this._http.get(this.myAppUrl + 'api/CoreData/ResetPassword?uid=' + this.uid + '&pwd=' + this.pwd + '&newPwd=' + this.newPwd)\r\n .toPromise()\r\n .then(res => {\r\n this.success = res.success\r\n //console.log('auth 1 - ' + this.success);\r\n });\r\n\r\n if (this.success = 1)\r\n Swal.fire('Success', 'Password changed');\r\n\r\n }\r\n\r\n async getAccountActivity() {\r\n\r\n let year = new Date().getFullYear().toString();\r\n let month = (1 + new Date().getMonth()).toString();\r\n let day = new Date().getDate().toString();\r\n if (month.length === 1)\r\n month = '0' + month;\r\n if (day.length === 1)\r\n day = '0' + day;\r\n let fDate = month + '/' + '01' + '/' + year;\r\n let tDate = month + '/' + day + '/' + year;\r\n\r\n let x = await Swal.fire({\r\n title: 'Enter Date Range of Activity',\r\n showCancelButton: true,\r\n allowEnterKey: true,\r\n html:\r\n '
' +\r\n '',\r\n focusConfirm: true,\r\n preConfirm: () => {\r\n // (document.getElementById('uid')).focus;\r\n return [\r\n fDate = (document.getElementById('fDate')).value,\r\n tDate = (document.getElementById('tDate')).value\r\n ]\r\n }\r\n }).then((result) => {\r\n if (result.dismiss === undefined) {\r\n //ok button\r\n console.log('activity ok');\r\n if (Number.isNaN(Date.parse(fDate)) || Number.isNaN(Date.parse(tDate)))\r\n Swal.fire('Invaid Date Entered');\r\n else if (Date.parse(fDate) > Date.parse(tDate))\r\n Swal.fire(\"Invalid Date Range\");\r\n else\r\n //kick off the report\r\n this.getAccountStatement(this.uid, fDate, tDate)\r\n }\r\n else {\r\n console.log('cancel activity');\r\n return;\r\n }\r\n });\r\n\r\n }\r\n\r\n async getAccountStatement(uid: string, fDate: string, tDate: string) {\r\n\r\n console.log('getAccountStatement');\r\n let url = this.myAppUrl + 'api/CoreData/GetAccountStatement?uid=' + uid + '&fDate=' + fDate + '&tDate=' + tDate;\r\n //console.log(url );\r\n\r\n this._http.get(url).subscribe(\r\n (data => {\r\n console.log(data);\r\n console.log(Object.keys(data));\r\n\r\n let base64String = data._buffer;\r\n\r\n let byteChar = atob(base64String);\r\n let byteArray = new Array(byteChar.length);\r\n for (let i = 0; i < byteChar.length; i++) {\r\n byteArray[i] = byteChar.charCodeAt(i);\r\n }\r\n let uIntArray = new Uint8Array(byteArray);\r\n let file = new Blob([uIntArray], { type: 'application/pdf' });\r\n\r\n //var file = new Blob([data], { type: 'application/pdf' });\r\n //var file = new File([data], \"MyCarrollCountyStatement.pdf\", { type: 'application/pdf' });\r\n\r\n //download the pdf\r\n if (file.size != 0) {\r\n //if (window.navigator && window.navigator.msSaveOrOpenBlob) {\r\n // window.navigator.msSaveOrOpenBlob(file, \"MyCarrollCountyStatement.pdf\");\r\n //}\r\n //// other browsers\r\n //else {\r\n\r\n var a = document.createElement(\"a\");\r\n document.body.appendChild(a);\r\n const url = window.URL.createObjectURL(file);\r\n //window.open(url);\r\n a.href = url;\r\n a.download = \"MySouthBristolCountyStatement.pdf\";\r\n a.click();\r\n window.URL.revokeObjectURL(url);\r\n //}\r\n\r\n Swal.fire('Download Complete', 'Check your downloads folder for a file named MySouthBristolCountyStatement.PDF')\r\n\r\n }\r\n })\r\n );\r\n\r\n }\r\n\r\n //async getAccountStatementPdf(uid: string, fDate: string, tDate: string): Observable {\r\n\r\n // const search = { 'uid': uid, 'fDate': fDate, 'tDate': tDate};\r\n // let url_ = this.myAppUrl + \"api/CoreData/GetAccountStatement\";\r\n // url_ = url_.replace(/[?&]$/, \"\");\r\n // const content_ = JSON.stringify(search);\r\n\r\n // let options_: any = {\r\n // body: content_,\r\n // observe: \"response\",\r\n // responseType: \"blob\",\r\n // headers: new HttpHeaders({\r\n // \"Content-Type\": \"application/json\",\r\n // })\r\n // };\r\n\r\n // return this._http.request(\"post\", url_, options_);\r\n\r\n\r\n //// return this._http.request(\"post\", url_, options_).pipe(map((res: any) => {\r\n //// return new Blob([res.body], {\r\n //// type: 'application/pdf'\r\n //// });\r\n //// }));\r\n //}\r\n\r\n\r\n}\r\n","import { Injectable, Inject } from '@angular/core';\r\nimport { HttpClient, HttpParams, HttpErrorResponse, HttpHeaders, HttpResponseBase, HttpResponse } from '@angular/common/http';\r\nimport { ccPaymentVM } from '../viewmodels/ccPaymentVM';\r\nimport { GetSBImagesQuery } from '../viewmodels/ISearchService';\r\nimport { Observable } from 'rxjs';\r\nimport { mergeMap as _observableMergeMap, catchError as _observableCatch, map } from 'rxjs/operators';\r\n//import { isNumeric } from 'rxjs-compat/util/isNumeric';\r\nimport Swal from 'sweetalert2';\r\n\r\n\r\n@Injectable()\r\nexport class CCPaymentService {\r\n myAppUrl: string = \"\";\r\n webSvcUrl: string = '';\r\n uid: string = '';\r\n pwd: string = '';\r\n //singleStepLocationId: string = '';\r\n locationId: string = '';\r\n totAmount: number = 0;\r\n ccPmt: ccPaymentVM;\r\n sbQuery: GetSBImagesQuery;\r\n infoEntered: number = 0;\r\n\r\n protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined;\r\n\r\n\r\n constructor(private _http: HttpClient, @Inject('BASE_URL') baseUrl: string) {\r\n this.myAppUrl = baseUrl;\r\n this.uid = 'aitllc';\r\n \r\n //////test\r\n //this.webSvcUrl = 'https://testapi.paygov.us/PaymentProcessingService.asmx'\r\n //this.pwd = 'T9r6gFzd'\r\n //this.locationId = '37128';\r\n\r\n ////prod\r\n this.webSvcUrl = 'https://ws3.paygov.us/PaymentProcessingService.asmx'\r\n this.pwd = '5snSTR2V'\r\n this.locationId = '39402'; \r\n\r\n this.ccPmt = new ccPaymentVM();\r\n this.sbQuery = new GetSBImagesQuery();\r\n }\r\n\r\n ngOnInit() {\r\n// this.resetCCPmt();\r\n }\r\n\r\n logServiceError(msg: string): boolean {\r\n let url = this.myAppUrl + 'api/CoreData/LogServiceError?msg=' + msg;\r\n //console.log('auth user - ' + url);\r\n this._http.get(url).subscribe(\r\n (data => { console.log(data); })\r\n );\r\n return true;\r\n }\r\n\r\n\r\n resetCCPmt() {\r\n console.log('ccPmt ' + this.ccPmt.ccNum);\r\n this.ccPmt.authCode = '';\r\n this.ccPmt.ccNum = '';\r\n this.ccPmt.realccNum = '';\r\n this.ccPmt.ccFname = '';\r\n this.ccPmt.ccLname = '';\r\n this.ccPmt.ccMonth = '';\r\n this.ccPmt.ccYear = '';\r\n this.ccPmt.ccv = '';\r\n this.ccPmt.ccZip = '';\r\n this.ccPmt.orderId = '';\r\n this.ccPmt.ccAmount = 0;\r\n this.ccPmt.status = '';\r\n this.infoEntered = 0;\r\n }\r\n\r\n async getCreditCardInfo() {\r\n\r\n // console.log('cc info');\r\n // console.log('ccPmt2 ' + this.ccPmt.ccNum);\r\n\r\n\r\n let x = await Swal.fire({\r\n title: 'Enter Credit Card Info',\r\n showCancelButton: true,\r\n allowEnterKey: true,\r\n html:\r\n '
' +\r\n '' +\r\n ' ' +\r\n '' +\r\n '' +\r\n '' +\r\n '' +\r\n '' +\r\n '' +\r\n '
' +\r\n '
*** The cost for this download is $' + this.totAmount.toString() + ' - a convenience fee of 3 percent will be added to this charge, with a minimum convenience fee of $1.00.

Charges will appear on your statement as
PayGov, Indianapolis, IN

. ',\r\n\r\n focusConfirm: true,\r\n preConfirm: () => {\r\n return [\r\n this.ccPmt.ccNum = (document.getElementById('ccnum')).value,\r\n this.ccPmt.ccFname = (document.getElementById('ccfname')).value,\r\n this.ccPmt.ccLname = (document.getElementById('cclname')).value,\r\n this.ccPmt.ccMonth = (document.getElementById('ccmonth')).value,\r\n this.ccPmt.ccYear = (document.getElementById('ccyear')).value,\r\n this.ccPmt.ccv = (document.getElementById('ccv')).value,\r\n this.ccPmt.ccZip = (document.getElementById('cczip')).value\r\n ]\r\n }\r\n }).then((result) => {\r\n if (result.dismiss === undefined) {\r\n console.log('cc ok');\r\n this.infoEntered = 1;\r\n }\r\n else {\r\n this.infoEntered = 0;\r\n console.log('cc cancel');\r\n return;\r\n }\r\n });\r\n }\r\n\r\n async authorizeCard() {\r\n\r\n this.logServiceError('begin CC Auth');\r\n\r\n //validate card info\r\n this.ccPmt.realccNum = this.ccPmt.ccNum.replace(/[.,\\/#!$%\\^&\\*;:{}=\\-_`~()\\s]/g, \"\");\r\n if (this.ccPmt.ccMonth.length === 1)\r\n this.ccPmt.ccMonth = '0' + this.ccPmt.ccMonth;\r\n this.ccPmt.ccAmount = this.totAmount;\r\n\r\n let msg = this.ValidateCard(this.ccPmt);\r\n if (msg === '') {\r\n\r\n this.logServiceError('CC validated');\r\n\r\n this.ccPmt.authCode = '';\r\n let response = '';\r\n// this.showLoader = true;\r\n// this.sendLoader();\r\n\r\n //this.ccPmt.transType = 1; //single step authorization\r\n await this.getCCAuth(this.ccPmt).toPromise()\r\n .then(data => {\r\n //console.log('data ' + data);\r\n response = data;\r\n this.ccPmt.status = this.getElement(data, '');\r\n if (this.ccPmt.status === 'Declined') {\r\n// let responseText = this.getElement(data, '');\r\n this.logServiceError('CC Payment Declined - ' + response);\r\n// this.showLoader = false;\r\n// this.sendLoader();\r\n Swal.fire('Payment Declined')\r\n }\r\n else if (this.ccPmt.status === 'Authorized' || this.ccPmt.status === 'Pending') {\r\n //approved\r\n this.ccPmt.authCode = this.getElement(data, '');\r\n this.sbQuery.authCode = this.ccPmt.authCode;\r\n //this.serviceFee = +this.ccPmtSvc.getElement(data, '');\r\n this.ccPmt.orderId = this.getElement(data, '');\r\n console.log('Payment Authorized - ' + this.ccPmt.authCode + ' - ' + this.ccPmt.orderId);\r\n this.logServiceError('Export Payment Authorized - ' + this.ccPmt.authCode + ' - ' + this.ccPmt.orderId); // + ' ' + this.machineType);\r\n\r\n // //all is well - branch for download vs print\r\n // if (this.machineType === 0)\r\n // this.getSB();\r\n // else if (this.machineType === 1)\r\n // this.printSB();\r\n // else\r\n // this.service.logServiceError(\"Error - \" + this.machineType);\r\n }\r\n else {\r\n //log the different status\r\n this.logServiceError('Unknown Payment Status - ' + response);\r\n// this.showLoader = false;\r\n // this.sendLoader();\r\n }\r\n });\r\n }\r\n else {\r\n //validation failed - go back to the cc form\r\n this.logServiceError('CC not validated - ' + msg);\r\n await Swal.fire('Validation Error', msg);\r\n }\r\n // this.showLoader = false;\r\n // this.sendLoader();\r\n }\r\n\r\n\r\n completeSBChargeandCCSale(search: GetSBImagesQuery): Observable {\r\n // console.log('completeSBChargeandCCSale ' + search.orderId);\r\n\r\n let url_ = this.myAppUrl + \"api/CoreData/completeSBChargeandCCSale\";\r\n// url_ = url_.replace(/[?&]$/, \"\");\r\n const content_ = JSON.stringify(search);\r\n// console.log(content_);\r\n\r\n let options_: any = {\r\n body: content_,\r\n observe: \"response\",\r\n responseType: 'json',\r\n headers: new HttpHeaders({\r\n \"Content-Type\": \"application/json\",\r\n })\r\n };\r\n\r\n return this._http.request(\"post\", url_, options_);\r\n\r\n }\r\n\r\n\r\n\r\n getElement(xml: string, elem: string): string {\r\n let pos1 = xml.indexOf(elem);\r\n let elem2 = ' {\r\n\r\n console.log('getCCAuth');\r\n\r\n //let locationId = this.twoStepLocationId;\r\n //if (this.ccPmt.transType === 1)\r\n // locationId = this.singleStepLocationId;\r\n\r\n let content_ = ''\r\n content_ += ''\r\n content_ += ' '\r\n content_ += ' '\r\n content_ += ' '\r\n content_ += ' ' + this.uid + ''\r\n content_ += ' ' + this.pwd + ''\r\n content_ += ' ' + this.locationId + ''\r\n content_ += ' ' + ccPmt.ccFname + ''\r\n content_ += ' ' + ccPmt.ccLname + ''\r\n content_ += ' '\r\n content_ += ' '\r\n content_ += ' '\r\n content_ += ' '\r\n content_ += ' ' + ccPmt.ccZip + ''\r\n content_ += ' '\r\n content_ += ' '\r\n content_ += ' '\r\n content_ += ' ' + ccPmt.ccAmount + ''\r\n content_ += ' ' + ccPmt.realccNum + ''\r\n content_ += ' ' + ccPmt.ccMonth + ''\r\n content_ += ' ' + ccPmt.ccYear + ''\r\n content_ += ' ' + ccPmt.ccv + ''\r\n content_ += ' '\r\n content_ += ' '\r\n content_ += ' '\r\n content_ += ' 0'\r\n content_ += ' '\r\n content_ += ' '\r\n content_ += ' '\r\n content_ += ' 00000000-0000-0000-0000-000000000000'\r\n content_ += ' '\r\n content_ += ' 0'\r\n content_ += ' '\r\n content_ += ' '\r\n content_ += '';\r\n\r\n\r\n let options_: any = {\r\n body: content_,\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'text/xml',\r\n 'Accept': 'text/xml'\r\n }),\r\n responseType: 'text'\r\n };\r\n\r\n// console.log(content_);\r\n// console.log(options_);\r\n\r\n return this._http.request(\"post\", this.webSvcUrl, options_);\r\n\r\n }\r\n\r\n ccCompleteSale(ccPmt: ccPaymentVM): Observable {\r\n\r\n console.log('ccCompleteSale');\r\n\r\n let content_ = ''\r\n content_ += ' '\r\n content_ += ' '\r\n content_ += ' '\r\n content_ += ' '\r\n content_ += ' ' + this.uid + ''\r\n content_ += ' ' + this.pwd + ''\r\n content_ += ' ' + ccPmt.orderId + ''\r\n content_ += ' ' + ccPmt.ccAmount + ''\r\n content_ += ' '\r\n content_ += ' '\r\n content_ += ' '\r\n\r\n\r\n let options_: any = {\r\n body: content_,\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'text/xml',\r\n 'Accept': 'text/xml'\r\n }),\r\n responseType: 'text'\r\n };\r\n\r\n// console.log(content_);\r\n // console.log(options_);\r\n\r\n return this._http.request(\"post\", this.webSvcUrl, options_);\r\n }\r\n\r\n voidTransaction(ccPmt: ccPaymentVM): Observable {\r\n\r\n console.log('voidTrans');\r\n\r\n let content_ = ''\r\n content_ += ' '\r\n content_ += ' '\r\n content_ += ' '\r\n content_ += ' '\r\n content_ += ' ' + this.uid + ''\r\n content_ += ' ' + this.pwd + ''\r\n content_ += ' ' + ccPmt.orderId + ''\r\n content_ += ' AIT'\r\n content_ += ' '\r\n content_ += ' '\r\n content_ += ' '\r\n\r\n let options_: any = {\r\n body: content_,\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'text/xml',\r\n 'Accept': 'text/xml'\r\n }),\r\n responseType: 'text'\r\n };\r\n\r\n// console.log(content_);\r\n // console.log(options_);\r\n\r\n return this._http.request(\"post\", this.webSvcUrl, options_);\r\n }\r\n\r\n\r\n ValidateCard(ccPmt: ccPaymentVM): string {\r\n\r\n let msg = '';\r\n\r\n ccPmt.realccNum = ccPmt.ccNum.replace(/[.,\\/#!$%\\^&\\*;:{}=\\-_`~()\\s]/g, \"\");\r\n if (ccPmt.ccMonth.length === 1)\r\n ccPmt.ccMonth = '0' + ccPmt.ccMonth;\r\n\r\n if (ccPmt.realccNum.length === 0)\r\n msg = 'Credit Card Number is required'\r\n else if (isNaN(+ccPmt.realccNum))\r\n msg = 'Credit Card Number must be numeric';\r\n else if (ccPmt.realccNum.length < 15)\r\n msg = 'Credit Card Number incomplete';\r\n else if (!this.checkSum(ccPmt.realccNum))\r\n msg = 'Invalid Credit Card Number'\r\n else if (ccPmt.ccFname.length === 0)\r\n msg = 'First Name Required';\r\n else if (ccPmt.ccLname.length === 0)\r\n msg = 'Last Name Required';\r\n else if (ccPmt.ccFname.length === 0)\r\n msg = 'First Name Required';\r\n else if (ccPmt.ccMonth.length === 0)\r\n msg = 'Expiration Month is required'\r\n else if (isNaN(+ccPmt.ccMonth))\r\n msg = 'Expiration Month must be numeric';\r\n else if (+ccPmt.ccMonth < 1 || +ccPmt.ccMonth > 12)\r\n msg = 'Expiration Month is out of range';\r\n else if (ccPmt.ccYear.length === 0)\r\n msg = 'Expiration Year is required';\r\n else if (isNaN(+ccPmt.ccYear))\r\n msg = 'Expiration Year must be numeric';\r\n else if (+ccPmt.ccYear < new Date().getFullYear() - 2000)\r\n msg = 'Expiration Year is out of range';\r\n// else if (+ccPmt.ccYear === new Date().getFullYear() - 2000 && +ccPmt.ccMonth < new Date().getMonth())\r\n// msg = \"Expiration Year and Month out of range\";\r\n else if (ccPmt.ccv.length === 0)\r\n msg = 'CCV is required'\r\n else if (isNaN(+ccPmt.ccv))\r\n msg = 'CCV must be numeric';\r\n else if (ccPmt.ccv.length < 3)\r\n msg = 'CCV must be at least 3 digits';\r\n else if (ccPmt.ccZip.length === 0)\r\n msg = 'Zip Code is required'\r\n else if (ccPmt.ccZip.length < 5)\r\n msg = 'A valid Zip Code must be entered';\r\n else if (isNaN(+ccPmt.ccZip))\r\n msg = 'Zip Code must be numeric';\r\n\r\n return msg;\r\n }\r\n\r\n checkSum(ccNum: string): boolean {\r\n const ccNumber: string = ccNum;\r\n const luhnArray: Array = [0, 2, 4, 6, 8, 1, 3, 5, 7, 9];\r\n let length: number = ccNumber ? ccNumber.length : 0;\r\n let sum = 0;\r\n let shouldMultiply = true;\r\n\r\n console.log(ccNumber);\r\n while (length) {\r\n const val: number = parseInt(ccNumber.charAt(--length), 10);\r\n //console.log(luhnArray[val]);\r\n sum += (shouldMultiply = !shouldMultiply) ? luhnArray[val] : val;\r\n //console.log(sum)\r\n }\r\n //return !(sum && sum % 10 === 0) ;\r\n console.log('checksum - ' + !(sum && sum % 10 === 0)) ;\r\n return true;\r\n }\r\n\r\n\r\n}\r\n","import { Injectable, Inject } from '@angular/core';\r\nimport { NavMenuItem } from '../viewmodels/NavMenuItem';\r\n\r\n@Injectable()\r\nexport class NavMenuService {\r\n \r\n visible: boolean;\r\n toggleMenu: boolean = true;\r\n navItems: NavMenuItem[] = [\r\n //{\r\n // displayName: 'Property Search',\r\n // name: 'propertySearch',\r\n // links: undefined,\r\n // path: '/',\r\n // isActive:true\r\n //},\r\n {\r\n displayName: 'Recorded Land',\r\n name: 'RecordedLand',\r\n links: [\r\n {\r\n displayName: 'Name',\r\n path: 'rec-name-search'\r\n },\r\n {\r\n displayName: 'Address',\r\n path: 'rec-address-search'\r\n },\r\n {\r\n displayName: 'Date',\r\n path: 'rec-date-search'\r\n },\r\n //{\r\n // displayName: 'Value',\r\n // path: 'rec-value-search'\r\n //},\r\n {\r\n displayName: 'Book & Page',\r\n path: '/rec-bp-search'\r\n }\r\n //{\r\n // displayName: 'Document No.',\r\n // path: '/rec-doc-search'\r\n //}\r\n ],\r\n path: '',\r\n isActive: false\r\n },\r\n {\r\n displayName: 'Registered Land',\r\n name: 'registeredLand',\r\n links: [\r\n {\r\n displayName: 'Name',\r\n path: 'reg-name-search'\r\n },\r\n {\r\n displayName: 'Address',\r\n path: 'reg-address-search'\r\n },\r\n {\r\n displayName: 'Date',\r\n path: 'reg-date-search'\r\n },\r\n {\r\n displayName: 'Certificate',\r\n path: 'reg-certificate-search'\r\n },\r\n //{\r\n // displayName: 'Value',\r\n // path: 'reg-value-search'\r\n //},\r\n {\r\n displayName: 'Document No.',\r\n path: 'reg-document-no-search'\r\n },\r\n //{\r\n // displayName: 'Owner',\r\n // path: 'reg-owner-search'\r\n //}\r\n ],\r\n path: '',\r\n isActive: false\r\n }\r\n ];\r\n\r\n constructor() {\r\n this.visible = true;\r\n\r\n \r\n }\r\n\r\n hide() { this.visible = false; }\r\n\r\n show() { this.visible = true; }\r\n Unindex\r\n getMenu() {\r\n return this.navItems;\r\n }\r\n\r\n pushNavMenuItem(newItem: NavMenuItem) {\r\n this.navItems.push(newItem);\r\n }\r\n \r\n}\r\n","import { Injectable, Inject } from '@angular/core';\r\nimport { HttpClient, HttpParams, HttpErrorResponse, HttpHeaders, HttpResponseBase, HttpResponse } from '@angular/common/http';\r\nimport { Observable, throwError as _observableThrow, of as _observableOf } from 'rxjs';\r\nimport { mergeMap as _observableMergeMap, catchError as _observableCatch } from 'rxjs/operators';\r\nimport { GetRecPlanNameSearchReportQuery, GetRecPlanNameSearchReportResponse } from '../viewmodels/ISearchServiceReg';\r\nimport { SearchReportResponseBase } from '../../shared/viewmodels/ISearchService';\r\n\r\nexport class SwaggerException extends Error {\r\n message: string;\r\n status: number;\r\n response: string;\r\n headers: { [key: string]: any; };\r\n result: any;\r\n\r\n constructor(message: string, status: number, response: string, headers: { [key: string]: any; }, result: any) {\r\n super();\r\n\r\n this.message = message;\r\n this.status = status;\r\n this.response = response;\r\n this.headers = headers;\r\n this.result = result;\r\n }\r\n\r\n protected isSwaggerException = true;\r\n\r\n static isSwaggerException(obj: any): obj is SwaggerException {\r\n return obj.isSwaggerException === true;\r\n }\r\n}\r\n\r\n\r\n\r\n@Injectable()\r\nexport class ReportViewerESService {\r\n protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined;\r\n\r\n myAppUrl: string = \"\";\r\n constructor(private _http: HttpClient, @Inject('BASE_URL') baseUrl: string) {\r\n this.myAppUrl = baseUrl;\r\n }\r\n\r\n getRecPlanNameSearchReport(search: GetRecPlanNameSearchReportQuery): Observable {\r\n let url_ = this.myAppUrl + \"api/ES/GetSearchPlanRoom2Report\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n const content_ = JSON.stringify(search);\r\n\r\n let options_: any = {\r\n body: content_,\r\n observe: \"response\",\r\n responseType: \"blob\",\r\n headers: new HttpHeaders({\r\n \"Content-Type\": \"application/json\",\r\n })\r\n };\r\n return this._http.request(\"post\", url_, options_).pipe(_observableMergeMap((response_: any) => {\r\n return this.processSearchReportResponse(response_);\r\n })).pipe(_observableCatch((response_: any) => {\r\n if (response_ instanceof HttpResponseBase) {\r\n try {\r\n return this.processSearchReportResponse(response_);\r\n } catch (e) {\r\n return >_observableThrow(e);\r\n }\r\n } else\r\n return >_observableThrow(response_);\r\n\r\n }));\r\n\r\n\r\n }\r\n\r\n processSearchReportResponse(response: HttpResponseBase): Observable {\r\n const status = response.status;\r\n const responseBlob =\r\n response instanceof HttpResponse ? response.body :\r\n (response).error instanceof Blob ? (response).error : undefined;\r\n\r\n let _headers: any = {}; if (response.headers) { for (let key of response.headers.keys()) { _headers[key] = response.headers.get(key); } };\r\n if (status === 200) {\r\n return this.blobToText(responseBlob).pipe(_observableMergeMap(_responseText => {\r\n let result200: any = null;\r\n let resultData200 = _responseText === \"\" ? null : JSON.parse(_responseText, this.jsonParseReviver);\r\n result200 = SearchReportResponseBase.fromJS(resultData200);\r\n return _observableOf(result200);\r\n }));\r\n } else if (status !== 200 && status !== 204) {\r\n return this.blobToText(responseBlob).pipe(_observableMergeMap(_responseText => {\r\n return this.throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }));\r\n }\r\n return _observableOf(null);\r\n\r\n }\r\n\r\n blobToText(blob: any): Observable {\r\n return new Observable((observer: any) => {\r\n if (!blob) {\r\n observer.next(\"\");\r\n observer.complete();\r\n } else {\r\n let reader = new FileReader();\r\n reader.onload = event => {\r\n observer.next((event.target).result);\r\n observer.complete();\r\n };\r\n reader.readAsText(blob);\r\n }\r\n });\r\n }\r\n throwException(message: string, status: number, response: string, headers: { [key: string]: any; }, result?: any): Observable {\r\n if (result !== null && result !== undefined)\r\n return _observableThrow(result);\r\n else\r\n return _observableThrow(new SwaggerException(message, status, response, headers, null));\r\n }\r\n\r\n\r\n}\r\n","import { Injectable, Inject } from '@angular/core';\r\nimport { HttpClient, HttpParams, HttpErrorResponse, HttpHeaders, HttpResponseBase, HttpResponse } from '@angular/common/http';\r\nimport { Observable, throwError as _observableThrow, of as _observableOf } from 'rxjs';\r\nimport { mergeMap as _observableMergeMap, catchError as _observableCatch } from 'rxjs/operators';\r\nimport { GetRecNameSearchReportQuery, GetRegNameSearchReportQuery, GetRegNameSearchReportResponse, GetRecNameSearchReportResponse, GetRegAddressSearchReportResponse, GetRegAddressSearchReportQuery, GetRecAddressSearchQuery, ISearchReportResponse, SearchReportResponseBase, GetRecAddressSearchReportResponse, GetRecAddressSearchReportQuery, GetRecDateSearchReportQuery, GetRecDateSearchReportResponse, GetRegDateSearchReportQuery, GetRegDateSearchReportResponse, GetRegValueSearchReportQuery, GetRegValueSearchReportResponse, GetRecValueSearchReportQuery, GetRecValueSearchReportResponse, GetPropertySearchReportQuery, GetPropertySearchReportResponse, GetRegOwnerSearchReportQuery, GetRegOwnerSearchReportResponse } from '../viewmodels/ISearchService';\r\n\r\n\r\nexport class SwaggerException extends Error {\r\n message: string;\r\n status: number;\r\n response: string;\r\n headers: { [key: string]: any; };\r\n result: any;\r\n\r\n constructor(message: string, status: number, response: string, headers: { [key: string]: any; }, result: any) {\r\n super();\r\n\r\n this.message = message;\r\n this.status = status;\r\n this.response = response;\r\n this.headers = headers;\r\n this.result = result;\r\n }\r\n\r\n protected isSwaggerException = true;\r\n\r\n static isSwaggerException(obj: any): obj is SwaggerException {\r\n return obj.isSwaggerException === true;\r\n }\r\n}\r\n\r\n\r\n\r\n@Injectable()\r\nexport class ReportViewerService {\r\n protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined;\r\n\r\n myAppUrl: string = \"\";\r\n constructor(private _http: HttpClient, @Inject('BASE_URL') baseUrl: string) {\r\n this.myAppUrl = baseUrl;\r\n }\r\n\r\n createReport() {\r\n return this._http.get(this.myAppUrl + 'api/Home/CreateReport');\r\n }\r\n\r\n getRecNameSearchReport(search: GetRecNameSearchReportQuery): Observable {\r\n let url_ = this.myAppUrl + \"api/CoreData/GetRecNameSearchReport\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n const content_ = JSON.stringify(search);\r\n\r\n let options_: any = {\r\n body: content_,\r\n observe: \"response\",\r\n responseType: \"blob\",\r\n headers: new HttpHeaders({\r\n \"Content-Type\": \"application/json\",\r\n })\r\n };\r\n return this._http.request(\"post\", url_, options_).pipe(_observableMergeMap((response_: any) => {\r\n return this.processGetRecNameSearchReportResponse(response_);\r\n })).pipe(_observableCatch((response_: any) => {\r\n if (response_ instanceof HttpResponseBase) {\r\n try {\r\n return this.processGetRecNameSearchReportResponse(response_);\r\n } catch (e) {\r\n return >_observableThrow(e);\r\n }\r\n } else\r\n return >_observableThrow(response_);\r\n\r\n }));\r\n\r\n\r\n }\r\n\r\n processGetRecNameSearchReportResponse(response: HttpResponseBase): Observable {\r\n const status = response.status;\r\n const responseBlob =\r\n response instanceof HttpResponse ? response.body :\r\n (response).error instanceof Blob ? (response).error : undefined;\r\n\r\n let _headers: any = {}; if (response.headers) { for (let key of response.headers.keys()) { _headers[key] = response.headers.get(key); } };\r\n if (status === 200) {\r\n return this.blobToText(responseBlob).pipe(_observableMergeMap(_responseText => {\r\n let result200: any = null;\r\n let resultData200 = _responseText === \"\" ? null : JSON.parse(_responseText, this.jsonParseReviver);\r\n result200 = GetRecNameSearchReportResponse.fromJS(resultData200);\r\n return _observableOf(result200);\r\n }));\r\n } else if (status !== 200 && status !== 204) {\r\n return this.blobToText(responseBlob).pipe(_observableMergeMap(_responseText => {\r\n return this.throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }));\r\n }\r\n return _observableOf(null);\r\n\r\n }\r\n blobToText(blob: any): Observable {\r\n return new Observable((observer: any) => {\r\n if (!blob) {\r\n observer.next(\"\");\r\n observer.complete();\r\n } else {\r\n let reader = new FileReader();\r\n reader.onload = event => {\r\n observer.next((event.target).result);\r\n observer.complete();\r\n };\r\n reader.readAsText(blob);\r\n }\r\n });\r\n }\r\n throwException(message: string, status: number, response: string, headers: { [key: string]: any; }, result?: any): Observable {\r\n if (result !== null && result !== undefined)\r\n return _observableThrow(result);\r\n else\r\n return _observableThrow(new SwaggerException(message, status, response, headers, null));\r\n }\r\n\r\n\r\n getRegNameSearchReport(search: GetRegNameSearchReportQuery): Observable {\r\n let url_ = this.myAppUrl + \"api/CoreData/GetRegNameSearchReport\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n const content_ = JSON.stringify(search);\r\n\r\n let options_: any = {\r\n body: content_,\r\n observe: \"response\",\r\n responseType: \"blob\",\r\n headers: new HttpHeaders({\r\n \"Content-Type\": \"application/json\",\r\n })\r\n };\r\n return this._http.request(\"post\", url_, options_).pipe(_observableMergeMap((response_: any) => {\r\n return this.processGetRecNameSearchReportResponse(response_);\r\n })).pipe(_observableCatch((response_: any) => {\r\n if (response_ instanceof HttpResponseBase) {\r\n try {\r\n return this.processGetRecNameSearchReportResponse(response_);\r\n } catch (e) {\r\n return >_observableThrow(e);\r\n }\r\n } else\r\n return >_observableThrow(response_);\r\n\r\n }));\r\n\r\n }\r\n\r\n getRegAddressSearchReport(search: GetRegAddressSearchReportQuery): Observable {\r\n\r\n let url_ = this.myAppUrl + \"api/CoreData/GetRegAddressSearchReport\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n const content_ = JSON.stringify(search);\r\n\r\n let options_: any = {\r\n body: content_,\r\n observe: \"response\",\r\n responseType: \"blob\",\r\n headers: new HttpHeaders({\r\n \"Content-Type\": \"application/json\",\r\n })\r\n };\r\n return this._http.request(\"post\", url_, options_).pipe(_observableMergeMap((response_: any) => {\r\n return this.processGetRecNameSearchReportResponse(response_);\r\n })).pipe(_observableCatch((response_: any) => {\r\n if (response_ instanceof HttpResponseBase) {\r\n try {\r\n return this.processGetRecNameSearchReportResponse(response_);\r\n } catch (e) {\r\n return >_observableThrow(e);\r\n }\r\n } else\r\n return >_observableThrow(response_);\r\n\r\n }));\r\n\r\n }\r\n\r\n getRecAddressSearchReport(search: GetRecAddressSearchReportQuery): Observable {\r\n let url_ = this.myAppUrl + \"api/CoreData/GetRecAddressSearchReport\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n const content_ = JSON.stringify(search);\r\n\r\n let options_: any = {\r\n body: content_,\r\n observe: \"response\",\r\n responseType: \"blob\",\r\n headers: new HttpHeaders({\r\n \"Content-Type\": \"application/json\",\r\n })\r\n };\r\n return this._http.request(\"post\", url_, options_).pipe(_observableMergeMap((response_: any) => {\r\n return this.processSearchReportResponse(response_);\r\n })).pipe(_observableCatch((response_: any) => {\r\n if (response_ instanceof HttpResponseBase) {\r\n try {\r\n return this.processSearchReportResponse(response_);\r\n } catch (e) {\r\n return >_observableThrow(e);\r\n }\r\n } else\r\n return >_observableThrow(response_);\r\n\r\n }));\r\n\r\n }\r\n getRecDateSearchReport(search: GetRecDateSearchReportQuery): Observable {\r\n let url_ = this.myAppUrl + \"api/CoreData/GetRecDateSearchReport\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n const content_ = JSON.stringify(search);\r\n\r\n let options_: any = {\r\n body: content_,\r\n observe: \"response\",\r\n responseType: \"blob\",\r\n headers: new HttpHeaders({\r\n \"Content-Type\": \"application/json\",\r\n })\r\n };\r\n return this._http.request(\"post\", url_, options_).pipe(_observableMergeMap((response_: any) => {\r\n return this.processSearchReportResponse(response_);\r\n })).pipe(_observableCatch((response_: any) => {\r\n if (response_ instanceof HttpResponseBase) {\r\n try {\r\n return this.processSearchReportResponse(response_);\r\n } catch (e) {\r\n return >_observableThrow(e);\r\n }\r\n } else\r\n return >_observableThrow(response_);\r\n\r\n }));\r\n\r\n }\r\n\r\n getRegDateSearchReport(search: GetRegDateSearchReportQuery): Observable {\r\n let url_ = this.myAppUrl + \"api/CoreData/GetRegDateSearchReport\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n const content_ = JSON.stringify(search);\r\n\r\n let options_: any = {\r\n body: content_,\r\n observe: \"response\",\r\n responseType: \"blob\",\r\n headers: new HttpHeaders({\r\n \"Content-Type\": \"application/json\",\r\n })\r\n };\r\n return this._http.request(\"post\", url_, options_).pipe(_observableMergeMap((response_: any) => {\r\n return this.processSearchReportResponse(response_);\r\n })).pipe(_observableCatch((response_: any) => {\r\n if (response_ instanceof HttpResponseBase) {\r\n try {\r\n return this.processSearchReportResponse(response_);\r\n } catch (e) {\r\n return >_observableThrow(e);\r\n }\r\n } else\r\n return >_observableThrow(response_);\r\n\r\n }));\r\n\r\n }\r\n\r\n getRegValueSearchReport(search: GetRegValueSearchReportQuery): Observable {\r\n let url_ = this.myAppUrl + \"api/CoreData/GetRegValueSearchReport\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n const content_ = JSON.stringify(search);\r\n\r\n let options_: any = {\r\n body: content_,\r\n observe: \"response\",\r\n responseType: \"blob\",\r\n headers: new HttpHeaders({\r\n \"Content-Type\": \"application/json\",\r\n })\r\n };\r\n return this._http.request(\"post\", url_, options_).pipe(_observableMergeMap((response_: any) => {\r\n return this.processSearchReportResponse(response_);\r\n })).pipe(_observableCatch((response_: any) => {\r\n if (response_ instanceof HttpResponseBase) {\r\n try {\r\n return this.processSearchReportResponse(response_);\r\n } catch (e) {\r\n return >_observableThrow(e);\r\n }\r\n } else\r\n return >_observableThrow(response_);\r\n\r\n }));\r\n\r\n }\r\n\r\n getRecValueSearchReport(search: GetRecValueSearchReportQuery): Observable {\r\n let url_ = this.myAppUrl + \"api/CoreData/GetRecValueSearchReport\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n const content_ = JSON.stringify(search);\r\n let options_: any = {\r\n body: content_,\r\n observe: \"response\",\r\n responseType: \"blob\",\r\n headers: new HttpHeaders({\r\n \"Content-Type\": \"application/json\",\r\n })\r\n };\r\n return this._http.request(\"post\", url_, options_).pipe(_observableMergeMap((response_: any) => {\r\n return this.processSearchReportResponse(response_);\r\n })).pipe(_observableCatch((response_: any) => {\r\n if (response_ instanceof HttpResponseBase) {\r\n try {\r\n return this.processSearchReportResponse(response_);\r\n } catch (e) {\r\n return >_observableThrow(e);\r\n }\r\n } else\r\n return >_observableThrow(response_);\r\n\r\n }));\r\n\r\n }\r\n\r\n getPropertySearchReport(search: GetPropertySearchReportQuery): Observable {\r\n let url_ = this.myAppUrl + \"api/CoreData/GetPropertySearchReportResult\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n const content_ = JSON.stringify(search);\r\n let options_: any = {\r\n body: content_,\r\n observe: \"response\",\r\n responseType: \"blob\",\r\n headers: new HttpHeaders({\r\n \"Content-Type\": \"application/json\",\r\n })\r\n };\r\n return this._http.request(\"post\", url_, options_).pipe(_observableMergeMap((response_: any) => {\r\n return this.processSearchReportResponse(response_);\r\n })).pipe(_observableCatch((response_: any) => {\r\n if (response_ instanceof HttpResponseBase) {\r\n try {\r\n return this.processSearchReportResponse(response_);\r\n } catch (e) {\r\n return >_observableThrow(e);\r\n }\r\n } else\r\n return >_observableThrow(response_);\r\n\r\n }));\r\n\r\n }\r\n\r\n getRegOwnerSearchReport(search: GetRegOwnerSearchReportQuery): Observable {\r\n let url_ = this.myAppUrl + \"api/CoreData/GetRegOwnerSearchReport\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n const content_ = JSON.stringify(search);\r\n let options_: any = {\r\n body: content_,\r\n observe: \"response\",\r\n responseType: \"blob\",\r\n headers: new HttpHeaders({\r\n \"Content-Type\": \"application/json\",\r\n })\r\n };\r\n return this._http.request(\"post\", url_, options_).pipe(_observableMergeMap((response_: any) => {\r\n return this.processSearchReportResponse(response_);\r\n })).pipe(_observableCatch((response_: any) => {\r\n if (response_ instanceof HttpResponseBase) {\r\n try {\r\n return this.processSearchReportResponse(response_);\r\n } catch (e) {\r\n return >_observableThrow(e);\r\n }\r\n } else\r\n return >_observableThrow(response_);\r\n\r\n }));\r\n\r\n }\r\n\r\n processSearchReportResponse(response: HttpResponseBase): Observable {\r\n const status = response.status;\r\n const responseBlob =\r\n response instanceof HttpResponse ? response.body :\r\n (response).error instanceof Blob ? (response).error : undefined;\r\n\r\n let _headers: any = {}; if (response.headers) { for (let key of response.headers.keys()) { _headers[key] = response.headers.get(key); } };\r\n if (status === 200) {\r\n return this.blobToText(responseBlob).pipe(_observableMergeMap(_responseText => {\r\n let result200: any = null;\r\n let resultData200 = _responseText === \"\" ? null : JSON.parse(_responseText, this.jsonParseReviver);\r\n result200 = SearchReportResponseBase.fromJS(resultData200);\r\n return _observableOf(result200);\r\n }));\r\n } else if (status !== 200 && status !== 204) {\r\n return this.blobToText(responseBlob).pipe(_observableMergeMap(_responseText => {\r\n return this.throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }));\r\n }\r\n return _observableOf(null);\r\n\r\n }\r\n\r\n}\r\n","import { Injectable, Inject } from '@angular/core';\r\nimport { HttpClient, HttpParams, HttpErrorResponse, HttpHeaders, HttpResponseBase, HttpResponse } from '@angular/common/http';\r\nimport { GetSBImagesQuery } from '../viewmodels/ISearchService';\r\nimport { Observable, BehaviorSubject, Subject } from 'rxjs';\r\nimport { mergeMap as _observableMergeMap, catchError as _observableCatch, map } from 'rxjs/operators';\r\n\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class ShoppingBasketService {\r\n myAppUrl: string = \"\";\r\n\r\n public BasketCount = 0;\r\n\r\n public BasketCountSub: BehaviorSubject = new BehaviorSubject(this.BasketCount);\r\n\r\n BasketCountSub$: Observable = this.BasketCountSub.asObservable();\r\n \r\n protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined;\r\n\r\n private trigger: BehaviorSubject = new BehaviorSubject(true);\r\n trigger$ = this.trigger.asObservable();\r\n\r\n constructor(private _http: HttpClient, @Inject('BASE_URL') baseUrl: string) {\r\n this.myAppUrl = baseUrl;\r\n }\r\n\r\n private _renderTrigger: Subject = new Subject();\r\n\r\n get renderTrigger$() {\r\n return this._renderTrigger.asObservable();\r\n }\r\n\r\n triggerRender() {\r\n this._renderTrigger.next();\r\n console.log(\"force SB trigger render - service\");\r\n }\r\n\r\n forceRefresh() {\r\n this.trigger.next(true);\r\n console.log(\"force SB refresh from service\");\r\n }\r\n\r\n updateBasketCount(cnt: number) {\r\n this.BasketCount = cnt;\r\n this.BasketCountSub.next(cnt);\r\n console.log('Basket count: ' + cnt.toString());\r\n this.trigger.next(true);\r\n console.log(\"force SB refresh from service\");\r\n }\r\n\r\n getSBAmount(search: GetSBImagesQuery) {\r\n console.log('service.getSBAmount')\r\n let url_ = this.myAppUrl + \"api/CoreData/GetSBAmount\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n const content_ = JSON.stringify(search);\r\n\r\n let options_: any = {\r\n body: content_,\r\n observe: \"response\",\r\n responseType: \"blob\",\r\n headers: new HttpHeaders({\r\n \"Content-Type\": \"application/json\",\r\n })\r\n };\r\n\r\n\r\n return this._http.request(\"post\", url_, options_).pipe(map((res: any) => {\r\n return new Blob([res.body], {\r\n type: 'application/zip'\r\n });\r\n }));\r\n }\r\n\r\n getSBAuth(search: GetSBImagesQuery): Observable {\r\n console.log('service.getSBAuth');\r\n\r\n let url_ = this.myAppUrl + \"api/CoreData/GetSBAuth\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n const content_ = JSON.stringify(search);\r\n\r\n let options_: any = {\r\n body: content_,\r\n observe: \"response\",\r\n responseType: 'json',\r\n headers: new HttpHeaders({\r\n \"Content-Type\": \"application/json\",\r\n })\r\n };\r\n\r\n return this._http.request(\"post\", url_, options_);\r\n\r\n }\r\n\r\n saveSBCharge(search: GetSBImagesQuery): Observable {\r\n console.log('service.SBcharge');\r\n\r\n let url_ = this.myAppUrl + \"api/CoreData/saveSBCharge\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n if (localStorage.getItem('accntType') === 'Z')\r\n search.submissionType = 99;\r\n const content_ = JSON.stringify(search);\r\n\r\n let options_: any = {\r\n body: content_,\r\n observe: \"response\",\r\n responseType: 'json',\r\n headers: new HttpHeaders({\r\n \"Content-Type\": \"application/json\",\r\n })\r\n };\r\n\r\n return this._http.request(\"post\", url_, options_);\r\n\r\n }\r\n\r\n logServiceError(msg: string): boolean {\r\n\r\n let url = this.myAppUrl + 'api/CoreData/LogServiceError?msg=' + msg;\r\n //console.log('auth user - ' + url);\r\n this._http.get(url).subscribe(\r\n (data => { console.log(data); })\r\n );\r\n\r\n return true;\r\n }\r\n\r\n printSBImages(search: GetSBImagesQuery): Observable {\r\n console.log('service.printSB');\r\n this.logServiceError('printSBImages in SB svc ' + search.authCode);\r\n\r\n let url_ = this.myAppUrl + \"api/CoreData/printSBImages\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n const content_ = JSON.stringify(search);\r\n\r\n let options_: any = {\r\n body: content_,\r\n observe: \"response\",\r\n responseType: 'json',\r\n headers: new HttpHeaders({\r\n \"Content-Type\": \"application/json\",\r\n })\r\n };\r\n\r\n return this._http.request(\"post\", url_, options_);\r\n\r\n }\r\n\r\n\r\n getSBImages(search: GetSBImagesQuery): Observable {\r\n console.log('getSBImgs in SB.service client')\r\n let url_ = this.myAppUrl + \"api/CoreData/GetSBImages\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n const content_ = JSON.stringify(search);\r\n\r\n let options_: any = {\r\n body: content_,\r\n observe: \"response\",\r\n responseType: \"blob\",\r\n headers: new HttpHeaders({\r\n \"Content-Type\": \"application/json\",\r\n \"timeout\": '600000',\r\n })\r\n };\r\n\r\n console.log(options_);\r\n\r\n return this._http.request(\"post\", url_, options_).pipe(map((res: any) => {\r\n return new Blob([res.body], {\r\n type: 'application/zip'\r\n });\r\n }));\r\n }\r\n\r\n\r\n getUnindexedType(indexId: string): string {\r\n\r\n let ret = '';\r\n\r\n switch (indexId) {\r\n case '1':\r\n ret = 'Writ 1911-1966';\r\n break;\r\n case '2':\r\n ret = 'Attach 1967-2006';\r\n break;\r\n case '3':\r\n ret = 'Old Age Asst Liens Index 1942-1950';\r\n break;\r\n //case '4':\r\n // ret = 'Old Age Asst Liens Index 1949-1988';\r\n // break;\r\n case '4':\r\n ret = 'Old Age Asst Liens';\r\n break;\r\n case '5':\r\n ret = 'Grantor 1840-1860';\r\n break;\r\n case '6':\r\n ret = 'Grantee 1840-1860';\r\n break;\r\n case '7':\r\n ret = 'Grantor 1861-1885';\r\n break;\r\n case '8':\r\n ret = 'Grantee 1861-1885';\r\n break;\r\n case '9':\r\n ret = 'Grantor 1886-1909';\r\n break;\r\n case '10':\r\n ret = 'Grantee 1886-1909';\r\n break;\r\n case '11':\r\n ret = 'Grantor 1909-1926';\r\n break;\r\n case '12':\r\n ret = 'Grantee 1909-1926';\r\n break;\r\n case '13':\r\n ret = 'Grantor 1926-1938';\r\n break;\r\n case '14':\r\n ret = 'Grantee 1926-1938';\r\n break;\r\n case '15':\r\n ret = 'Grantor 1938-1947';\r\n break;\r\n case '16':\r\n ret = 'Grantee 1938-1947';\r\n break;\r\n case '17':\r\n ret = 'Grantor 1948-1951';\r\n break;\r\n case '18':\r\n ret = 'Grantee 1948-1951';\r\n break;\r\n case '19':\r\n ret = 'Grantor 1952-1961';\r\n break;\r\n case '20':\r\n ret = 'Grantee 1952-1961';\r\n break;\r\n }\r\n\r\n return ret;\r\n }\r\n\r\n// getCCAuth(ccnum: string, ccfname: string, cclname: string, ccmonth: string, ccyear: string, ccv: string, cczip: string, ccamount: number): Observable {\r\n\r\n// console.log('service.getCCAuth');\r\n\r\n// //test\r\n// let url_ = 'https://testapi.paygov.us/PaymentProcessingService.asmx'\r\n// let pwd = 'T9r6gFzd'\r\n\r\n// ////prod\r\n// //let url_ = 'https://ws3.paygov.us/PaymentProcessingService.asmx'\r\n// //let pwd = '5snSTR2V'\r\n\r\n// let content_ = ''\r\n// content_ += ''\r\n// content_ += ' '\r\n// content_ += ' '\r\n// content_ += ' '\r\n// content_ += ' aitllc'\r\n// content_ += ' ' + pwd + ''\r\n// content_ += ' 37128'\r\n// content_ += ' ' + ccfname + ''\r\n// content_ += ' ' + cclname + ''\r\n// content_ += ' '\r\n// content_ += ' '\r\n// content_ += ' '\r\n// content_ += ' '\r\n// content_ += ' ' + cczip + ''\r\n// content_ += ' '\r\n// content_ += ' '\r\n// content_ += ' '\r\n// content_ += ' ' + ccamount + ''\r\n// content_ += ' ' + ccnum + ''\r\n// content_ += ' ' + ccmonth + ''\r\n// content_ += ' ' + ccyear + ''\r\n// content_ += ' ' + ccv + ''\r\n// content_ += ' '\r\n// content_ += ' '\r\n// content_ += ' '\r\n// content_ += ' 0'\r\n// content_ += ' '\r\n// content_ += ' '\r\n// content_ += ' '\r\n// content_ += ' 00000000-0000-0000-0000-000000000000'\r\n// content_ += ' '\r\n// content_ += ' 0'\r\n// content_ += ' '\r\n// content_ += ' '\r\n// content_ += '';\r\n\r\n\r\n// let options_: any = {\r\n// body: content_,\r\n// headers: new HttpHeaders({\r\n// 'Content-Type': 'text/xml',\r\n// 'Accept': 'text/xml'\r\n// }),\r\n// responseType: 'text'\r\n// };\r\n\r\n//// console.log(content_);\r\n//// console.log(options_);\r\n\r\n// return this._http.request(\"post\", url_, options_);\r\n\r\n// }\r\n\r\n}\r\n","//\r\n\r\nimport { formatDate, parseDate } from \"devextreme/localization\";\r\n//import { forEach } from '@angular/router/src/utils/collection';\r\n\r\n// $Classes/Enums/Interfaces(filter)[template][separator]\r\n// filter (optional): Matches the name or full name of the current item. * = match any, wrap in [] to match attributes or prefix with : to match interfaces or base classes.\r\n// template: The template to repeat for each matched item\r\n// separator (optional): A separator template that is placed between all templates e.g. $Properties[public $name: $Type][, ]\r\n\r\n // More info: http://frhagn.github.io/Typewriter/\r\n\r\nexport interface ISearchReportResponse {\r\n reportName?: string | undefined;\r\n}\r\nexport class SearchReportResponseBase implements ISearchReportResponse {\r\n reportName?: string | undefined;\r\n constructor(data?: ISearchReportResponse) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n init(data?: any) {\r\n this.reportName = data[\"reportName\"];\r\n }\r\n static fromJS(data: any): SearchReportResponseBase {\r\n data = typeof data === 'object' ? data : {};\r\n let result = new SearchReportResponseBase();\r\n result.init(data);\r\n return result;\r\n }\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"reportName\"] = this.reportName;\r\n }\r\n\r\n}\r\n\r\nexport class AuthResultVM {\r\n public credentialGuid: string;\r\n public success: number;\r\n public msg: string;\r\n public accntType: string;\r\n public totAmount: number;\r\n}\r\n\r\nexport interface IAlphaSearchRowVM {\r\n // $LoudName\r\n last_name: string | undefined;\r\n // $LoudName\r\n first_name?: string | undefined;\r\n}\r\n\r\nexport class AlphaSearchRowVM implements IAlphaSearchRowVM {\r\n\r\n\r\n last_name: string | undefined;\r\n first_name?: string | undefined;\r\n \r\n constructor(data?: IAlphaSearchQuery) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property)) {\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n }\r\n\r\n init(data?: any) {\r\n if (data) {\r\n this.last_name = data[\"last_name\"];\r\n this.first_name = data[\"first_name\"];\r\n }\r\n }\r\n static fromJS(data: any): AlphaSearchRowVM {\r\n data = typeof data === 'object' ? data : {};\r\n let result = new AlphaSearchRowVM();\r\n result.init(data);\r\n return result;\r\n }\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"last_name\"] = this.last_name;\r\n data[\"first_name\"] = this.first_name;\r\n \r\n return data;\r\n }\r\n\r\n}\r\n\r\nexport interface IAlphaSearchQuery {\r\n last_name: string | undefined;\r\n first_name?: string | undefined;\r\n roleId?: number | undefined;\r\n}\r\n\r\nexport class GetAlphaSearchQuery implements IAlphaSearchQuery {\r\n last_name: string | undefined;\r\n first_name?: string | undefined;\r\n roleId?: number | undefined;\r\n\r\n constructor(data?: IAlphaSearchQuery) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n init(data?: any) {\r\n if (data) {\r\n this.last_name = data[\"last_name\"];\r\n this.first_name = data[\"first_name\"];\r\n this.roleId = data[\"roleId\"];\r\n }\r\n }\r\n\r\n static fromJS(data: any): GetAlphaSearchQuery {\r\n data = typeof data === 'object' ? data : {};\r\n let result = new GetAlphaSearchQuery();\r\n result.init(data);\r\n return result;\r\n }\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"last_name\"] = this.last_name;\r\n data[\"first_name\"] = this.first_name;\r\n data[\"roleId\"] = this.roleId;\r\n return data;\r\n }\r\n}\r\n\r\n\r\nexport interface IAlphaSearchListVM {\r\n alphaSearchRows?: AlphaSearchRowVM[] | undefined;\r\n\r\n}\r\n\r\nexport class AlphaSearchListVM implements IAlphaSearchListVM{\r\n\r\n alphaSearchRows?: AlphaSearchRowVM[] | undefined;\r\n constructor(data?: IAlphaSearchListVM) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(data?: any) {\r\n if (data) {\r\n if (Array.isArray(data[\"alphaSearchRows\"])) {\r\n this.alphaSearchRows = [] as any;\r\n for (let item of data[\"alphaSearchRows\"])\r\n this.alphaSearchRows!.push(AlphaSearchRowVM.fromJS(item));\r\n }\r\n }\r\n }\r\n static fromJS(data: any): AlphaSearchListVM {\r\n data = typeof data === 'object' ? data : {};\r\n let result = new AlphaSearchListVM();\r\n result.init(data);\r\n return result;\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n if (Array.isArray(this.alphaSearchRows)) {\r\n data[\"AaphaSearchRows\"] = [];\r\n for (let item of this.alphaSearchRows)\r\n data[\"alphaSearchRows\"].push(item.toJSON());\r\n }\r\n return data;\r\n }\r\n\r\n}\r\n\r\nexport interface IValidMachine {\r\n validMachine?: string | undefined;\r\n validStation?: string | undefined;\r\n machineLocation: number;\r\n}\r\n\r\nexport class ValidMachine implements IValidMachine {\r\n validMachine?: string | undefined;\r\n validStation?: string | undefined;\r\n machineLocation: number = 0;\r\n}\r\n\r\n\r\nexport class CityTownVM {\r\n\r\n // $LoudName\r\n public townAbbrev: string;\r\n // $LoudName\r\n public townName: string;\r\n}\r\nexport class DocTypeVM {\r\n\r\n // $LoudName\r\n public docCode: string;\r\n // $LoudName\r\n public docName: string;\r\n}\r\nexport class DocCatVM {\r\n\r\n // $LoudName\r\n public docCatCode: string;\r\n // $LoudName\r\n public docCatName: string;\r\n}\r\nexport class RecNameSearchResultVM {\r\n\r\n // $LoudName\r\n public rsHeader: RSHeaderVM;\r\n // $LoudName\r\n public recNameSearchRows: RecNameSearchRowVM[];\r\n}\r\nexport class RSHeaderVM {\r\n\r\n // $LoudName\r\n public label1: string;\r\n // $LoudName\r\n public text1: string;\r\n // $LoudName\r\n public label2: string;\r\n // $LoudName\r\n public text2: string;\r\n // $LoudName\r\n public label3: string;\r\n // $LoudName\r\n public text3: string;\r\n // $LoudName\r\n public label4: string;\r\n // $LoudName\r\n public text4: string;\r\n // $LoudName\r\n public label5: string;\r\n // $LoudName\r\n public text5: string;\r\n // $LoudName\r\n public label6: string;\r\n // $LoudName\r\n public text6: string;\r\n}\r\n\r\nexport interface IRecNameSearchRowVM {\r\n // $LoudName\r\n docID?: number | undefined;\r\n // $LoudName\r\n unparsedName?: string | undefined;\r\n // $LoudName\r\n role?: string | undefined;\r\n // $LoudName\r\n recordDate?: Date | undefined;\r\n // $LoudName\r\n address?: string | undefined;\r\n // $LoudName\r\n cityTown?: string | undefined;\r\n // $LoudName\r\n docType?: string | undefined;\r\n // $LoudName\r\n recLandBook?: string | undefined;\r\n // $LoudName\r\n recLandPage?: string | undefined;\r\n // $LoudName\r\n amount?: number | undefined;\r\n // $LoudName\r\n role2?: string | undefined;\r\n // $LoudName\r\n recLandBP?: string | undefined;\r\n\r\n lastName?: string | undefined;\r\n\r\n firstName?: string | undefined;\r\n\r\n revParty?: string | undefined;\r\n}\r\nexport class RecNameSearchRowVM implements IRecNameSearchRowVM {\r\n\r\n // $LoudName\r\n public docID?: number | undefined;\r\n // $LoudName\r\n public unparsedName?: string | undefined;\r\n // $LoudName\r\n public role?: string | undefined;\r\n // $LoudName\r\n public recordDate?: Date | undefined;\r\n // $LoudName\r\n public address?: string | undefined;\r\n // $LoudName\r\n public cityTown?: string | undefined;\r\n // $LoudName\r\n public docType?: string | undefined;\r\n // $LoudName\r\n public recLandBook?: string | undefined;\r\n // $LoudName\r\n public recLandPage?: string | undefined;\r\n // $LoudName\r\n public amount?: number | undefined;\r\n // $LoudName\r\n public role2?: string | undefined;\r\n // $LoudName\r\n public recLandBP?: string | undefined;\r\n\r\n public lastName?: string | undefined;\r\n\r\n public firstName?: string | undefined;\r\n\r\n public revParty?: string | undefined;\r\n\r\n constructor(data?: IRecNameSearchRowVM) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n init(data?: any) {\r\n this.docID = data[\"docID\"];\r\n this.unparsedName = data[\"unparsedName\"];\r\n this.role = data[\"role\"];\r\n this.cityTown = data[\"cityTown\"];\r\n this.recordDate = new Date();\r\n this.recordDate.setTime(Date.parse(data[\"recordDate\"]));//TODO: test\r\n this.docType = data[\"docType\"];\r\n this.address = data[\"address\"];\r\n this.recLandBook = data[\"recLandBook\"];\r\n this.recLandPage = data[\"recLandPage\"];\r\n this.amount = data[\"amount\"];\r\n this.role2 = data[\"role2\"];\r\n this.recLandBP = data[\"recLandBP\"];\r\n this.lastName = data[\"lastName\"];\r\n this.firstName = data[\"firstName\"];\r\n this.revParty = data[\"revParty\"];\r\n }\r\n\r\n static fromJS(data: any): RecNameSearchRowVM {\r\n data = typeof data === 'object' ? data : {};\r\n let result = new RecNameSearchRowVM();\r\n result.init(data);\r\n return result;\r\n }\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"docID\"] = this.docID;\r\n data[\"unparsedName\"] = this.unparsedName;\r\n data[\"role\"] = this.role;\r\n data[\"cityTown\"] = this.cityTown;\r\n data[\"recordDate\"] = formatDate(this.recordDate, \"shortDate\");\r\n data[\"docType\"] = this.docType;\r\n data[\"address\"] = this.address;\r\n data[\"recLandBook\"] = this.recLandBook;\r\n data[\"recLandPage\"] = this.recLandPage;\r\n data[\"amount\"] = this.amount;\r\n data[\"role2\"] = this.role2;\r\n data[\"recLandBP\"] = this.recLandBP;\r\n data[\"lastName\"] = this.lastName;\r\n data[\"firstName\"] = this.firstName\r\n data[\"revParty\"] = this.revParty;\r\n }\r\n}\r\n\r\nexport interface IGetProperySearchQuery {\r\n lastName?: string | undefined;\r\n firstName?: string | undefined;\r\n fromDate?: string | undefined;\r\n toDate?: string | undefined;\r\n towns?: string[] | undefined;\r\n group?: number | undefined;\r\n}\r\n\r\nexport class GetProperySearchQuery implements IGetProperySearchQuery {\r\n lastName?: string | undefined;\r\n firstName?: string | undefined;\r\n fromDate?: string | undefined;\r\n toDate?: string | undefined;\r\n towns?: string[] | undefined;\r\n group?: number | undefined;\r\n\r\n constructor(data?: IGetProperySearchQuery) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property)) {\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n }\r\n\r\n init(data?: any) {\r\n if (data) {\r\n this.lastName = data[\"lastName\"];\r\n this.firstName = data[\"firstName\"];\r\n this.fromDate = data[\"fromDate\"];\r\n this.toDate = data[\"toDate\"];\r\n this.towns = [...(data[\"towns\"] as string[])]; //TODO: test this to make sure it's not a shallow copy\r\n this.group = data[\"group\"];\r\n }\r\n }\r\n static fromJS(data: any): GetProperySearchQuery {\r\n data = typeof data === 'object' ? data : {};\r\n let result = new GetProperySearchQuery();\r\n result.init(data);\r\n return result;\r\n }\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"lastName\"] = this.lastName;\r\n data[\"firstName\"] = this.firstName;\r\n data[\"group\"] = this.group;\r\n data[\"fromDate\"] = this.fromDate;\r\n data[\"toDate\"] = this.toDate;\r\n data[\"towns\"] = this.towns;\r\n return data;\r\n }\r\n\r\n}\r\n\r\nexport interface IGetPropertySearchReportQuery extends IGetProperySearchQuery {\r\n sortBy?: string[] | undefined;\r\n sortDirection?: string | undefined;\r\n filterObjects?: Array | undefined;\r\n filterExpression?: string | undefined;\r\n\r\n}\r\n\r\nexport class GetPropertySearchReportQuery extends GetProperySearchQuery implements IGetPropertySearchReportQuery {\r\n sortBy?: string[] | undefined;\r\n sortDirection?: string | undefined;\r\n filterObjects?: Array | undefined;\r\n filterExpression?: string | undefined;\r\n\r\n constructor(data?: IGetPropertySearchReportQuery) {\r\n super(data);\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property)) {\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n }\r\n\r\n static fromJS(data: any) {\r\n data = typeof data === 'object' ? data : {};\r\n let result = new GetPropertySearchReportQuery();\r\n result.init(data);\r\n return result;\r\n\r\n }\r\n\r\n init(data?: any) {\r\n this.lastName = data[\"lastName\"];\r\n this.firstName = data[\"firstName\"];\r\n this.fromDate = data[\"fromDate\"];\r\n this.toDate = data[\"toDate\"];\r\n this.towns = [...(data[\"towns\"] as string[])]; //TODO: test this to make sure it's not a shallow copy\r\n this.group = data[\"group\"];\r\n this.sortBy = [...(data[\"sortBy\"] as string[])];\r\n this.sortDirection = data[\"sortDirection\"];\r\n this.filterObjects = [...(data[\"filterObjects\"]) as SearchFilter[]];\r\n this.filterExpression = data[\"filterExpression\"];\r\n }\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"lastName\"] = this.lastName;\r\n data[\"firstName\"] = this.firstName;\r\n data[\"group\"] = this.group;\r\n data[\"fromDate\"] = this.fromDate;\r\n data[\"toDate\"] = this.toDate;\r\n data[\"towns\"] = this.towns;\r\n data[\"sortyBy\"] = this.sortBy;\r\n data[\"sortDirection\"] = this.sortDirection;\r\n data[\"filterExpression\"] = this.filterExpression;\r\n data[\"filterObjects\"] = this.filterObjects;\r\n\r\n\r\n return data;\r\n }\r\n\r\n}\r\n\r\nexport class GetPropertySearchReportResponse extends SearchReportResponseBase { }\r\n\r\nexport interface IGetRecNameSearchQuery {\r\n lastName?: string | undefined;\r\n firstName?: string | undefined;\r\n roleId?: number | undefined;\r\n fromDate?: string | undefined;\r\n toDate?: string | undefined;\r\n towns?: string[] | undefined;\r\n doctypes?: string[] | undefined;\r\n}\r\n\r\nexport class GetRecNameSearchQuery implements IGetRecNameSearchQuery {\r\n lastName?: string | undefined;\r\n firstName?: string | undefined;\r\n roleId?: number | undefined;\r\n fromDate?: string | undefined;\r\n toDate?: string | undefined;\r\n towns?: string[] | undefined;\r\n doctypes?: string[] | undefined;\r\n\r\n constructor(data?: IGetRecNameSearchQuery) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n init(data?: any) {\r\n if (data) {\r\n this.lastName = data[\"lastName\"];\r\n this.firstName = data[\"firstName\"];\r\n this.roleId = data[\"roleId\"];\r\n this.fromDate = data[\"fromDate\"];\r\n this.toDate = data[\"toDate\"];\r\n\r\n this.towns = [...(data[\"towns\"] as string[])]; //TODO: test this to make sure it's not a shallow copy\r\n this.doctypes = [...(data[\"doctypes\"] as string[])];\r\n }\r\n }\r\n\r\n static fromJS(data: any): GetRecNameSearchQuery {\r\n data = typeof data === 'object' ? data : {};\r\n let result = new GetRecNameSearchQuery();\r\n result.init(data);\r\n return result;\r\n }\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"lastName\"] = this.lastName;\r\n data[\"firstName\"] = this.firstName;\r\n data[\"roleId\"] = this.roleId;\r\n data[\"fromDate\"] = this.fromDate;\r\n data[\"toDate\"] = this.toDate;\r\n data[\"towns\"] = this.towns;\r\n data[\"doctypes\"] = this.doctypes;\r\n return data;\r\n }\r\n}\r\nexport interface IRecNameSearchListVM {\r\n recNameSearchRows?: RecNameSearchRowVM[] | undefined;\r\n}\r\nexport class RecNameSearchListVM implements IRecNameSearchListVM {\r\n recNameSearchRows?: RecNameSearchRowVM[] | undefined;\r\n constructor(data?: IRecNameSearchListVM) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(data?: any) {\r\n if (data) {\r\n if (Array.isArray(data[\"recNameSearchRows\"])) {\r\n this.recNameSearchRows = [] as any;\r\n for (let item of data[\"recNameSearchRows\"])\r\n this.recNameSearchRows!.push(RecNameSearchRowVM.fromJS(item));\r\n }\r\n }\r\n }\r\n static fromJS(data: any): RecNameSearchListVM {\r\n data = typeof data === 'object' ? data : {};\r\n let result = new RecNameSearchListVM();\r\n result.init(data);\r\n return result;\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n if (Array.isArray(this.recNameSearchRows)) {\r\n data[\"recNameSearchRows\"] = [];\r\n for (let item of this.recNameSearchRows)\r\n data[\"recNameSearchRows\"].push(item.toJSON());\r\n }\r\n return data;\r\n }\r\n\r\n}\r\n\r\nexport interface IRecDateSearchRowVM {\r\n docID?: number | undefined;\r\n firstGrantor?: string | undefined;\r\n firstGrantee?: string | undefined;\r\n\r\n //// $LoudName\r\n //public unparsedName: string;\r\n //// $LoudName\r\n //public role: string;\r\n // $LoudName\r\n recordDate?: Date | undefined;\r\n // $LoudName\r\n unparsedAddress?: string | undefined;\r\n // $LoudName\r\n cityTown?: string | undefined;\r\n // $LoudName\r\n docType?: string | undefined;\r\n // $LoudName\r\n recLandBook?: string | undefined;\r\n // $LoudName\r\n recLandPage?: string | undefined;\r\n // $LoudName\r\n amount?: number | undefined;\r\n //// $LoudName\r\n //public role2: string;\r\n // $LoudName\r\n recLandBP?: string | undefined;\r\n\r\n}\r\nexport class RecDateSearchRowVM implements IRecDateSearchRowVM {\r\n // $LoudName\r\n public docID?: number | undefined;\r\n public firstGrantor?: string | undefined;\r\n public firstGrantee?: string | undefined;\r\n\r\n //// $LoudName\r\n //public unparsedName: string;\r\n //// $LoudName\r\n //public role: string;\r\n // $LoudName\r\n public recordDate?: Date | undefined;\r\n // $LoudName\r\n public unparsedAddress?: string | undefined;\r\n // $LoudName\r\n public cityTown?: string | undefined;\r\n // $LoudName\r\n public docType?: string | undefined;\r\n // $LoudName\r\n public recLandBook?: string | undefined;\r\n // $LoudName\r\n public recLandPage?: string | undefined;\r\n // $LoudName\r\n public amount?: number | undefined;\r\n //// $LoudName\r\n //public role2: string;\r\n // $LoudName\r\n public recLandBP?: string | undefined;\r\n\r\n constructor(data?: IRecDateSearchRowVM) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(data?: any) {\r\n this.docID = data[\"docID\"];\r\n this.firstGrantor = data[\"firstGrantor\"];\r\n this.firstGrantee = data[\"firstGrantee\"];\r\n this.recordDate = new Date();\r\n this.recordDate.setTime(Date.parse(data[\"recordDate\"]));//TODO: test\r\n this.unparsedAddress = data[\"unparsedAddress\"];\r\n this.cityTown = data[\"cityTown\"];\r\n this.docType = data[\"docType\"];\r\n this.recLandBook = data[\"recLandBook\"];\r\n this.recLandPage = data[\"recLandPage\"];\r\n\r\n this.amount = data[\"amount\"];\r\n this.recLandBP = data[\"recLandBP\"];\r\n }\r\n static fromJS(data: any): RecDateSearchRowVM {\r\n data = typeof data === 'object' ? data : {};\r\n let result = new RecDateSearchRowVM();\r\n result.init(data);\r\n return result;\r\n }\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"docID\"] = this.docID;\r\n data[\"firstGrantor\"] = this.firstGrantor;\r\n data[\"firstGrantee\"] = this.firstGrantee;\r\n data[\"recordDate\"] = formatDate(this.recordDate, \"shortDate\");\r\n data[\"unparsedAddress\"] = this.unparsedAddress;\r\n data[\"cityTown\"] = this.cityTown;\r\n data[\"docType\"] = this.docType;\r\n data[\"recLandBook\"] = this.recLandBook;\r\n data[\"recLandPage\"] = this.recLandPage;\r\n data[\"amount\"] = this.amount;\r\n data[\"recLandBP\"] = this.recLandBP;\r\n }\r\n\r\n}\r\n\r\n\r\n\r\nexport interface IGetRecDateSearchQuery {\r\n fromDate?: string | undefined;\r\n toDate?: string | undefined;\r\n towns?: string[] | undefined;\r\n doctypes?: string[] | undefined;\r\n}\r\n\r\nexport class GetRecDateSearchQuery implements IGetRecDateSearchQuery {\r\n public fromDate?: string | undefined;\r\n public toDate?: string | undefined;\r\n public towns?: string[] | undefined;\r\n public doctypes?: string[] | undefined;\r\n\r\n constructor(data?: IGetRecDateSearchQuery) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n init(data?: any) {\r\n if (data) {\r\n this.fromDate = data[\"fromDate\"];\r\n this.toDate = data[\"toDate\"];\r\n\r\n this.towns = [...(data[\"towns\"] as string[])]; //TODO: test this to make sure it's not a shallow copy\r\n this.doctypes = [...(data[\"doctypes\"] as string[])];\r\n }\r\n }\r\n\r\n static fromJS(data: any): GetRecDateSearchQuery {\r\n data = typeof data === 'object' ? data : {};\r\n let result = new GetRecDateSearchQuery();\r\n result.init(data);\r\n return result;\r\n }\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"fromDate\"] = this.fromDate;\r\n data[\"toDate\"] = this.toDate;\r\n data[\"towns\"] = this.towns;\r\n data[\"doctypes\"] = this.doctypes;\r\n return data;\r\n }\r\n\r\n}\r\n\r\nexport interface IGetRecDateSearchReportQuery extends IGetRecDateSearchQuery {\r\n sortBy?: string[] | undefined;\r\n sortDirection?: string | undefined;\r\n filterExpression?: string | undefined;\r\n filterObjects?: SearchFilter[] | undefined;\r\n\r\n}\r\nexport class GetRecDateSearchReportQuery extends GetRecDateSearchQuery implements IGetRecDateSearchReportQuery {\r\n sortBy?: string[] | undefined;\r\n sortDirection?: string | undefined;\r\n filterExpression?: string | undefined;\r\n filterObjects?: SearchFilter[] | undefined;\r\n\r\n\r\n constructor(data?: IGetRecDateSearchReportQuery) {\r\n super(data);\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n init(data?: any) {\r\n if (data) {\r\n this.fromDate = data[\"fromDate\"];\r\n this.toDate = data[\"toDate\"];\r\n\r\n this.towns = [...(data[\"towns\"] as string[])]; //TODO: test this to make sure it's not a shallow copy\r\n this.doctypes = [...(data[\"doctypes\"] as string[])];\r\n this.sortBy = [...(data[\"sortBy\"] as string[])];\r\n this.sortDirection = data[\"sortDirection\"];\r\n this.filterExpression = data[\"filterExpression\"];\r\n this.filterObjects = [...(data[\"filterObjects\"]) as SearchFilter[]];\r\n\r\n }\r\n }\r\n\r\n static fromJS(data: any): GetRecDateSearchReportQuery {\r\n data = typeof data === 'object' ? data : {};\r\n let result = new GetRecDateSearchReportQuery();\r\n result.init(data);\r\n return result;\r\n }\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"fromDate\"] = this.fromDate;\r\n data[\"toDate\"] = this.toDate;\r\n data[\"towns\"] = this.towns;\r\n data[\"doctypes\"] = this.doctypes;\r\n data[\"sortyBy\"] = this.sortBy;\r\n data[\"sortDirection\"] = this.sortDirection;\r\n data[\"filterExpression\"] = this.filterExpression;\r\n data[\"filterObjects\"] = this.filterObjects;\r\n return data;\r\n }\r\n\r\n}\r\nexport class GetRecDateSearchReportResponse extends SearchReportResponseBase { }\r\n\r\n\r\n\r\nexport interface IRecDateSearchListVM {\r\n recDateSearchRows?: RecDateSearchRowVM[] | undefined;\r\n\r\n}\r\n\r\nexport class RecDateSearchListVM implements IRecDateSearchListVM {\r\n public recDateSearchRows?: RecDateSearchRowVM[] | undefined;\r\n constructor(data?: IRecDateSearchListVM) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(data?: any) {\r\n if (data) {\r\n if (Array.isArray(data[\"recDateSearchRows\"])) {\r\n this.recDateSearchRows = [] as any;\r\n for (let item of data[\"recDateSearchRows\"])\r\n this.recDateSearchRows!.push(RecDateSearchRowVM.fromJS(item));\r\n }\r\n }\r\n }\r\n static fromJS(data: any): RecDateSearchListVM {\r\n data = typeof data === 'object' ? data : {};\r\n let result = new RecDateSearchListVM();\r\n result.init(data);\r\n return result;\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n if (Array.isArray(this.recDateSearchRows)) {\r\n data[\"recDateSearchRows\"] = [];\r\n for (let item of this.recDateSearchRows)\r\n data[\"recDateSearchRows\"].push(item.toJSON());\r\n }\r\n return data;\r\n }\r\n\r\n}\r\n\r\n\r\nexport interface IGetRecAddressSearchQuery {\r\n fromDate?: string | undefined;\r\n toDate?: string | undefined;\r\n towns?: string[] | undefined;\r\n streetNumber?: string | undefined;\r\n streetName?: string | undefined;\r\n doctypes?: string[] | undefined;\r\n}\r\n\r\nexport class GetRecAddressSearchQuery implements IGetRecAddressSearchQuery {\r\n fromDate?: string | undefined;\r\n toDate?: string | undefined;\r\n towns?: string[] | undefined;\r\n streetNumber?: string | undefined;\r\n streetName?: string | undefined;\r\n doctypes?: string[] | undefined;\r\n\r\n constructor(data?: IGetRecAddressSearchQuery) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property)) {\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n }\r\n init(data?: any) {\r\n if (data) {\r\n this.fromDate = data[\"fromDate\"];\r\n this.toDate = data[\"toDate\"];\r\n this.streetName = data[\"streetName\"];\r\n this.streetNumber = data[\"streetNumber\"];\r\n this.towns = [...(data[\"towns\"] as string[])]; //TODO: test this to make sure it's not a shallow copy\r\n this.doctypes = [...(data[\"doctypes\"] as string[])];\r\n }\r\n }\r\n\r\n static fromJS(data: any): GetRecAddressSearchQuery {\r\n data = typeof data === 'object' ? data : {};\r\n let result = new GetRecAddressSearchQuery();\r\n result.init(data);\r\n return result;\r\n }\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n\r\n data[\"fromDate\"] = this.fromDate;\r\n data[\"toDate\"] = this.toDate;\r\n data[\"streetName\"] = this.streetName;\r\n data[\"streetNumber\"] = this.streetNumber;\r\n data[\"towns\"] = this.towns; //TODO: test this to make sure it's not a shallow copy\r\n data[\"doctypes\"] = this.doctypes;\r\n return data;\r\n }\r\n\r\n}\r\n\r\nexport interface IRecAddressSearchListVM {\r\n recAddressSearchRows?: RecAddressSearchRowVM[] | undefined;\r\n}\r\n\r\nexport class RecAddressSearchListVM implements IRecAddressSearchListVM {\r\n public recAddressSearchRows?: RecAddressSearchRowVM[] | undefined;\r\n constructor(data?: IRecAddressSearchListVM) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(data?: any) {\r\n if (data) {\r\n if (Array.isArray(data[\"recAddressSearchRows\"])) {\r\n this.recAddressSearchRows = [] as any;\r\n for (let item of data[\"recAddressSearchRows\"])\r\n this.recAddressSearchRows!.push(RecAddressSearchRowVM.fromJS(item));\r\n }\r\n }\r\n }\r\n static fromJS(data: any): RecAddressSearchListVM {\r\n data = typeof data === 'object' ? data : {};\r\n let result = new RecAddressSearchListVM();\r\n result.init(data);\r\n return result;\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n if (Array.isArray(this.recAddressSearchRows)) {\r\n data[\"recAddressSearchRows\"] = [];\r\n for (let item of this.recAddressSearchRows)\r\n data[\"recAddressSearchRows\"].push(item.toJSON());\r\n }\r\n return data;\r\n }\r\n\r\n}\r\n\r\n\r\nexport interface IRecAddressSearchRowVM {\r\n docID?: number | undefined;\r\n recordDate?: Date | undefined;\r\n address?: string | undefined;\r\n cityTown?: string | undefined;\r\n docType?: string | undefined;\r\n recLandBook?: string | undefined;\r\n recLandPage?: string | undefined;\r\n amount?: number | undefined;\r\n recLandBP?: string | undefined;\r\n firstGrantor?: string | undefined;\r\n firstGrantee?: string | undefined;\r\n description?: string | undefined;\r\n}\r\nexport class RecAddressSearchRowVM implements IRecAddressSearchRowVM {\r\n\r\n public docID?: number | undefined;\r\n public recordDate?: Date | undefined;\r\n public address?: string | undefined;\r\n public cityTown?: string | undefined;\r\n public docType?: string | undefined;\r\n public recLandBook?: string | undefined;\r\n public recLandPage?: string | undefined;\r\n public amount?: number | undefined;\r\n public recLandBP?: string | undefined;\r\n public firstGrantor?: string | undefined;\r\n public firstGrantee?: string | undefined;\r\n public description?: string | undefined;\r\n constructor(data?: IRecAddressSearchRowVM) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n init(data?: any) {\r\n this.docID = data[\"docID\"];\r\n this.recordDate = new Date();\r\n this.recordDate.setTime(Date.parse(data[\"recordDate\"]));//TODO: test\r\n this.address = data[\"address\"];\r\n this.cityTown = data[\"cityTown\"];\r\n this.docType = data[\"docType\"];\r\n this.recLandBook = data[\"recLandBook\"];\r\n this.recLandPage = data[\"recLandPage\"];\r\n this.amount = (data[\"amount\"] as number);\r\n this.recLandBP = data[\"recLandBP\"];\r\n this.firstGrantor = data[\"firstGrantor\"];\r\n this.firstGrantee = data[\"firstGrantee\"];\r\n this.description = data[\"description\"];\r\n }\r\n\r\n static fromJS(data: any): RecAddressSearchRowVM {\r\n data = typeof data === 'object' ? data : {};\r\n let result = new RecAddressSearchRowVM();\r\n result.init(data);\r\n return result;\r\n }\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"docID\"] = this.docID;\r\n data[\"recordDate\"] = formatDate(this.recordDate, \"shortDate\");\r\n data[\"address\"] = this.address;\r\n data[\"cityTown\"] = this.cityTown;\r\n data[\"docType\"] = this.docType;\r\n data[\"recLandBook\"] = this.recLandBook;\r\n data[\"recLandPage\"] = this.recLandPage;\r\n data[\"amount\"] = this.amount;\r\n data[\"recLandBP\"] = this.recLandBP;\r\n data[\"firstGrantor\"] = this.firstGrantor;\r\n data[\"firstGrantee\"] = this.firstGrantee;\r\n data[\"description\"] = this.description;\r\n\r\n }\r\n\r\n}\r\n\r\nexport interface IRegNameSearchRowVM {\r\n docID?: number | undefined;\r\n\r\n unparsedName?: string | undefined;\r\n\r\n role?: string | undefined;\r\n\r\n cityTown?: string | undefined;\r\n\r\n recordDate?: Date | undefined;\r\n\r\n docType?: string | undefined;\r\n\r\n docNum?: string | undefined;\r\n\r\n certNum?: string | undefined;\r\n}\r\n\r\nexport class RegNameSearchRowVM implements IRegNameSearchRowVM {\r\n docID?: number | undefined;\r\n\r\n unparsedName?: string | undefined;\r\n\r\n role?: string | undefined;\r\n\r\n cityTown?: string | undefined;\r\n\r\n recordDate?: Date | undefined;\r\n\r\n docType?: string | undefined;\r\n\r\n docNum?: string | undefined;\r\n\r\n certNum?: string | undefined;\r\n\r\n lastName?: string | undefined;\r\n\r\n firstName?: string | undefined;\r\n\r\n constructor(data?: IRegNameSearchRowVM) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n init(data?: any) {\r\n this.docID = data[\"docID\"];\r\n this.unparsedName = data[\"unparsedName\"];\r\n this.role = data[\"role\"];\r\n this.cityTown = data[\"cityTown\"];\r\n this.recordDate = new Date();\r\n this.recordDate.setTime(Date.parse(data[\"recordDate\"]));//TODO: test\r\n this.docType = data[\"docType\"];\r\n this.docNum = data[\"docNum\"];\r\n this.certNum = data[\"certNum\"];\r\n this.lastName = data[\"lastName\"];\r\n this.firstName = data[\"firstName\"];\r\n }\r\n\r\n static fromJS(data: any): RegNameSearchRowVM {\r\n data = typeof data === 'object' ? data : {};\r\n let result = new RegNameSearchRowVM();\r\n result.init(data);\r\n return result;\r\n }\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"docID\"] = this.docID;\r\n data[\"unparsedName\"] = this.unparsedName;\r\n data[\"role\"] = this.role;\r\n data[\"cityTown\"] = this.cityTown;\r\n data[\"recordDate\"] = formatDate(this.recordDate, \"shortDate\");\r\n data[\"docType\"] = this.docType;\r\n data[\"docNum\"] = this.docNum;\r\n data[\"certNum\"] = this.certNum;\r\n data[\"lastName\"] = this.lastName;\r\n data[\"firstName\"] = this.firstName;\r\n\r\n }\r\n}\r\n\r\nexport interface IRegNameSearchListVM {\r\n regNameSearchRows?: RegNameSearchRowVM[] | undefined;\r\n}\r\nexport class RegNameSearchListVM implements IRegNameSearchListVM {\r\n regNameSearchRows?: RegNameSearchRowVM[] | undefined;\r\n constructor(data?: IRegNameSearchListVM) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(data?: any) {\r\n if (data) {\r\n if (Array.isArray(data[\"regNameSearchRows\"])) {\r\n this.regNameSearchRows = [] as any;\r\n for (let item of data[\"regNameSearchRows\"])\r\n this.regNameSearchRows!.push(RegNameSearchRowVM.fromJS(item));\r\n }\r\n }\r\n }\r\n static fromJS(data: any): RegNameSearchListVM {\r\n data = typeof data === 'object' ? data : {};\r\n let result = new RegNameSearchListVM();\r\n result.init(data);\r\n return result;\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n if (Array.isArray(this.regNameSearchRows)) {\r\n data[\"regNameSearchRows\"] = [];\r\n for (let item of this.regNameSearchRows)\r\n data[\"regNameSearchRows\"].push(item.toJSON());\r\n }\r\n return data;\r\n }\r\n\r\n}\r\n\r\nexport interface IGetRegNameSearchQuery {\r\n lastName?: string | undefined;\r\n firstName?: string | undefined;\r\n roleId?: number | undefined;\r\n fromDate?: string | undefined;\r\n toDate?: string | undefined;\r\n towns?: string[] | undefined;\r\n doctypes?: string[] | undefined;\r\n}\r\n\r\nexport class GetRegNameSearchQuery implements IGetRegNameSearchQuery {\r\n public lastName?: string | undefined;\r\n public firstName?: string | undefined;\r\n public roleId?: number | undefined;\r\n public fromDate?: string | undefined;\r\n public toDate?: string | undefined;\r\n public towns?: string[] | undefined;\r\n public doctypes?: string[] | undefined;\r\n\r\n constructor(data?: IGetRegNameSearchQuery) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n init(data?: any) {\r\n if (data) {\r\n this.lastName = data[\"lastName\"];\r\n this.firstName = data[\"firstName\"];\r\n this.roleId = data[\"roleId\"];\r\n this.fromDate = data[\"fromDate\"];\r\n this.toDate = data[\"toDate\"];\r\n\r\n this.towns = [...(data[\"towns\"] as string[])]; //TODO: test this to make sure it's not a shallow copy\r\n this.doctypes = [...(data[\"doctypes\"] as string[])];\r\n }\r\n }\r\n\r\n static fromJS(data: any): GetRegNameSearchQuery {\r\n data = typeof data === 'object' ? data : {};\r\n let result = new GetRegNameSearchQuery();\r\n result.init(data);\r\n return result;\r\n }\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"lastName\"] = this.lastName;\r\n data[\"firstName\"] = this.firstName;\r\n data[\"roleId\"] = this.roleId;\r\n data[\"fromDate\"] = this.fromDate;\r\n data[\"toDate\"] = this.toDate;\r\n data[\"towns\"] = this.towns;\r\n data[\"doctypes\"] = this.doctypes;\r\n return data;\r\n }\r\n}\r\n\r\n//export class RegNameSearchRowVM {\r\n\r\n// public docID: number;\r\n\r\n// public unparsedName: string;\r\n\r\n// public role: string;\r\n\r\n// public cityTown: string;\r\n\r\n// public recordDate: Date;\r\n\r\n// public docType: string;\r\n\r\n// public docNum: string;\r\n\r\n// public certNum: string;\r\n\r\n// }\r\n\r\nexport interface IRegAddressSearchRowVM {\r\n docID?: number | undefined;\r\n\r\n unparsedAddress?: string | undefined;\r\n\r\n cityTown?: string | undefined;\r\n\r\n recordDate?: Date | undefined;\r\n\r\n docType?: string | undefined;\r\n\r\n docNum?: string | undefined;\r\n\r\n certNum?: string | undefined;\r\n\r\n amount?: number | undefined;\r\n\r\n lastName?: string | undefined;\r\n\r\n firstName?: string | undefined;\r\n\r\n}\r\n\r\nexport class RegAddressSearchRowVM implements IRegAddressSearchRowVM {\r\n public docID?: number | undefined;\r\n\r\n public unparsedAddress?: string | undefined;\r\n\r\n public cityTown?: string | undefined;\r\n\r\n public recordDate?: Date | undefined;\r\n\r\n public docType?: string | undefined;\r\n\r\n public docNum?: string | undefined;\r\n\r\n public certNum?: string | undefined;\r\n\r\n public amount?: number | undefined;\r\n constructor(data?: IRegAddressSearchRowVM) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n init(data?: any) {\r\n this.docID = data[\"docID\"];\r\n this.unparsedAddress = data[\"unparsedAddress\"];\r\n this.amount = data[\"amount\"];\r\n this.cityTown = data[\"cityTown\"];\r\n this.recordDate = new Date();\r\n this.recordDate.setTime(Date.parse(data[\"recordDate\"]));//TODO: test\r\n this.docType = data[\"docType\"];\r\n this.docNum = data[\"docNum\"];\r\n this.certNum = data[\"certNum\"];\r\n }\r\n\r\n static fromJS(data: any): RegAddressSearchRowVM {\r\n data = typeof data === 'object' ? data : {};\r\n let result = new RegAddressSearchRowVM();\r\n result.init(data);\r\n return result;\r\n }\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"docID\"] = this.docID;\r\n data[\"unparsedAddress\"] = this.unparsedAddress;\r\n data[\"cityTown\"] = this.cityTown;\r\n data[\"recordDate\"] = formatDate(this.recordDate, \"shortDate\");\r\n data[\"docType\"] = this.docType;\r\n data[\"docNum\"] = this.docNum;\r\n data[\"certNum\"] = this.certNum;\r\n data[\"amount\"] = this.amount;\r\n\r\n }\r\n\r\n}\r\n\r\n\r\nexport interface IRegAddressSearchListVM {\r\n regAddressSearchRows?: RegAddressSearchRowVM[] | undefined;\r\n}\r\nexport class RegAddressSearchListVM implements IRegAddressSearchListVM {\r\n regAddressSearchRows?: RegAddressSearchRowVM[] | undefined;\r\n constructor(data?: IRegAddressSearchListVM) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(data?: any) {\r\n if (data) {\r\n if (Array.isArray(data[\"regAddressSearchRows\"])) {\r\n this.regAddressSearchRows = [] as any;\r\n for (let item of data[\"regAddressSearchRows\"])\r\n this.regAddressSearchRows!.push(RegAddressSearchRowVM.fromJS(item));\r\n }\r\n }\r\n }\r\n static fromJS(data: any): RegAddressSearchListVM {\r\n data = typeof data === 'object' ? data : {};\r\n let result = new RegAddressSearchListVM();\r\n result.init(data);\r\n return result;\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n if (Array.isArray(this.regAddressSearchRows)) {\r\n data[\"regAddressSearchRows\"] = [];\r\n for (let item of this.regAddressSearchRows)\r\n data[\"regAddressSearchRows\"].push(item.toJSON());\r\n }\r\n return data;\r\n }\r\n\r\n}\r\nexport interface IGetRegAddressSearchQuery {\r\n fromDate?: string | undefined;\r\n toDate?: string | undefined;\r\n towns?: string[] | undefined;\r\n streetNumber?: string | undefined;\r\n streetName?: string | undefined\r\n}\r\n\r\nexport class GetRegAddressSearchQuery implements IGetRegAddressSearchQuery {\r\n fromDate?: string | undefined;\r\n toDate?: string | undefined;\r\n towns?: string[] | undefined;\r\n streetNumber?: string | undefined;\r\n streetName?: string | undefined\r\n\r\n constructor(data?: IGetRegAddressSearchQuery) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n init(data?: any) {\r\n if (data) {\r\n this.fromDate = data[\"fromDate\"];\r\n this.toDate = data[\"toDate\"];\r\n\r\n this.towns = [...(data[\"towns\"] as string[])]; //TODO: test this to make sure it's not a shallow copy\r\n this.streetName = data[\"streetName\"];\r\n this.streetNumber = data[\"streetNumber\"];\r\n }\r\n }\r\n\r\n static fromJS(data: any): GetRegAddressSearchQuery {\r\n data = typeof data === 'object' ? data : {};\r\n let result = new GetRegAddressSearchQuery();\r\n result.init(data);\r\n return result;\r\n }\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"streetName\"] = this.streetName;\r\n data[\"streetNumber\"] = this.streetNumber;\r\n data[\"fromDate\"] = this.fromDate;\r\n data[\"toDate\"] = this.toDate;\r\n data[\"towns\"] = this.towns;\r\n return data;\r\n }\r\n}\r\n\r\nexport interface IRegOwnerSearchRowVM {\r\n\r\n docID?: number | undefined;\r\n name?: string | undefined;\r\n\r\n docNum?: string | undefined;\r\n\r\n type?: string | undefined;\r\n\r\n cancelledByDoc?: string | undefined;\r\n\r\n cancelledByCert?: string | undefined;\r\n\r\n certNo?: string | undefined;\r\n\r\n book?: string | undefined;\r\n\r\n town?: string | undefined;\r\n\r\n location?: string | undefined;\r\n\r\n certId?: number | undefined;\r\n\r\n}\r\n\r\nexport class RegOwnerSearchRowVM implements IRegOwnerSearchRowVM {\r\n\r\n public docID?: number | undefined;\r\n public name?: string | undefined;\r\n\r\n public docNum?: string | undefined;\r\n\r\n public type?: string | undefined;\r\n\r\n public cancelledByDoc?: string | undefined;\r\n\r\n public cancelledByCert?: string | undefined;\r\n\r\n public certNo?: string | undefined;\r\n\r\n public book?: string | undefined;\r\n\r\n public town?: string | undefined;\r\n\r\n public location?: string | undefined;\r\n\r\n public certId?: number | undefined;\r\n constructor(data?: IRegOwnerSearchRowVM) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n init(data?: any) {\r\n this.name = data[\"name\"];\r\n this.docNum = data[\"docNum\"];\r\n this.type = data[\"type\"];\r\n this.cancelledByDoc = data[\"cancelledByDoc\"];\r\n this.cancelledByCert = data[\"cancelledByCert\"];\r\n this.certNo = data[\"certNo\"];\r\n this.book = data[\"book\"];\r\n this.town = data[\"town\"];\r\n this.location = data[\"location\"];\r\n this.certId = data[\"certId\"];\r\n this.docID = data[\"docID\"];\r\n }\r\n\r\n static fromJS(data: any): RegOwnerSearchRowVM {\r\n data = typeof data === 'object' ? data : {};\r\n let result = new RegOwnerSearchRowVM();\r\n result.init(data);\r\n return result;\r\n }\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"name\"] = this.name;\r\n data[\"docNum\"] = this.docNum;\r\n data[\"type\"] = this.type;\r\n data[\"cancelledByDoc\"] = this.cancelledByDoc;\r\n data[\"cancelledByCert\"] = this.cancelledByCert;\r\n data[\"certNo\"] = this.certNo;\r\n data[\"book\"] = this.book;\r\n data[\"town\"] = this.town;\r\n data[\"location\"] = this.location;\r\n data[\"certId\"] = this.certId;\r\n data[\"docID\"] = this.docID;\r\n }\r\n\r\n\r\n}\r\n\r\nexport interface IGetRegOwnerSearchQuery {\r\n fromDate?: string | undefined;\r\n toDate?: string | undefined;\r\n lastName?: string | undefined;\r\n firstName?: string | undefined;\r\n}\r\n\r\nexport class GetRegOwnerSearchQuery implements IGetRegOwnerSearchQuery {\r\n public fromDate?: string | undefined;\r\n public toDate?: string | undefined;\r\n public lastName?: string | undefined;\r\n public firstName?: string | undefined;\r\n constructor(data?: IGetRegOwnerSearchQuery) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n init(data?: any) {\r\n if (data) {\r\n this.fromDate = data[\"fromDate\"];\r\n this.toDate = data[\"toDate\"];\r\n this.firstName = data[\"firstName\"];\r\n this.lastName = data[\"lastName\"];\r\n }\r\n }\r\n\r\n static fromJS(data: any): GetRegOwnerSearchQuery {\r\n data = typeof data === 'object' ? data : {};\r\n let result = new GetRegOwnerSearchQuery();\r\n result.init(data);\r\n return result;\r\n }\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"lastName\"] = this.lastName;\r\n data[\"firstName\"] = this.firstName;\r\n data[\"fromDate\"] = this.fromDate;\r\n data[\"toDate\"] = this.toDate;\r\n return data;\r\n }\r\n\r\n}\r\n\r\nexport interface IGetRegOwnerSearchReportQuery extends IGetRegOwnerSearchQuery {\r\n sortBy?: string[] | undefined;\r\n filterExpression?: string | undefined;\r\n sortDirection?: string | undefined;\r\n filterObjects?: Array | undefined;\r\n\r\n}\r\n\r\nexport class GetRegOwnerSearchReportQuery extends GetRegOwnerSearchQuery implements IGetRegOwnerSearchReportQuery {\r\n sortBy?: string[] | undefined;\r\n filterExpression?: string | undefined;\r\n sortDirection?: string | undefined;\r\n filterObjects?: Array | undefined;\r\n\r\n constructor(data?: IGetRegOwnerSearchReportQuery) {\r\n super(data);\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property)) {\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n }\r\n\r\n init(data?: any) {\r\n if (data) {\r\n this.fromDate = data[\"fromDate\"];\r\n this.toDate = data[\"toDate\"];\r\n this.firstName = data[\"firstName\"];\r\n this.lastName = data[\"lastName\"];\r\n this.sortBy = [...(data[\"sortBy\"] as string[])];\r\n this.filterExpression = data[\"filterExpression\"];\r\n this.sortDirection = data[\"sortDirection\"];\r\n this.filterObjects = [...(data[\"filterObjects\"]) as SearchFilter[]];\r\n\r\n }\r\n }\r\n\r\n static fromJS(data: any): GetRegValueSearchReportQuery {\r\n data = typeof data === 'object' ? data : {};\r\n let result = new GetRegValueSearchReportQuery();\r\n result.init(data);\r\n return result;\r\n }\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"lastName\"] = this.lastName;\r\n data[\"firstName\"] = this.firstName;\r\n data[\"fromDate\"] = this.fromDate;\r\n data[\"toDate\"] = this.toDate;\r\n data[\"sortyBy\"] = this.sortBy;\r\n data[\"filterExpression\"] = this.filterExpression;\r\n data[\"sortDirection\"] = this.sortDirection;\r\n data[\"filterObjects\"] = this.filterObjects;\r\n\r\n return data;\r\n }\r\n\r\n\r\n}\r\n\r\nexport class GetRegOwnerSearchReportResponse extends SearchReportResponseBase { }\r\n\r\nexport interface IRegOwnerSearchListVM {\r\n regOwnerSearchRows?: RegOwnerSearchRowVM[] | undefined\r\n}\r\n\r\nexport class RegOwnerSearchListVM implements IRegOwnerSearchListVM {\r\n regOwnerSearchRows?: RegOwnerSearchRowVM[] | undefined\r\n constructor(data?: IRegOwnerSearchListVM) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(data?: any) {\r\n if (data) {\r\n if (Array.isArray(data[\"regOwnerSearchRows\"])) {\r\n this.regOwnerSearchRows = [] as any;\r\n for (let item of data[\"regOwnerSearchRows\"])\r\n this.regOwnerSearchRows!.push(RegOwnerSearchRowVM.fromJS(item));\r\n }\r\n }\r\n }\r\n static fromJS(data: any): RegOwnerSearchListVM {\r\n data = typeof data === 'object' ? data : {};\r\n let result = new RegOwnerSearchListVM();\r\n result.init(data);\r\n return result;\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n if (Array.isArray(this.regOwnerSearchRows)) {\r\n data[\"regOwnerSearchRows\"] = [];\r\n for (let item of this.regOwnerSearchRows)\r\n data[\"regOwnerSearchRows\"].push(item.toJSON());\r\n }\r\n return data;\r\n }\r\n\r\n}\r\n\r\nexport interface IGetRegValueSearchQuery {\r\n docCategory?: string[] | undefined;\r\n amountFrom?: string | undefined;\r\n amountTo?: string | undefined;\r\n fromDate?: string | undefined;\r\n toDate?: string | undefined;\r\n towns?: string[] | undefined;\r\n type?: string | undefined;\r\n}\r\n\r\nexport class GetRegValueSearchQuery implements IGetRegValueSearchQuery {\r\n\r\n docCategory?: string[] | undefined;\r\n amountFrom?: string | undefined;\r\n amountTo?: string | undefined;\r\n fromDate?: string | undefined;\r\n toDate?: string | undefined;\r\n towns?: string[] | undefined;\r\n type?: string | undefined;\r\n\r\n constructor(data?: IGetRegValueSearchQuery) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n init(data?: any) {\r\n if (data) {\r\n this.docCategory = data[\"docCategory\"];\r\n this.amountFrom = data[\"amountFrom\"];\r\n this.amountTo = data[\"amountTo\"];\r\n this.fromDate = data[\"fromDate\"];\r\n this.type = data[\"type\"];\r\n this.toDate = data[\"toDate\"];\r\n this.towns = [...(data[\"towns\"] as string[])]; //TODO: test this to make sure it's not a shallow copy\r\n }\r\n }\r\n\r\n static fromJS(data: any): GetRegValueSearchQuery {\r\n data = typeof data === 'object' ? data : {};\r\n let result = new GetRegValueSearchQuery();\r\n result.init(data);\r\n return result;\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"docCategory\"] = this.docCategory;\r\n data[\"amountFrom\"] = this.amountFrom;\r\n data[\"amountTo\"] = this.amountTo;\r\n data[\"fromDate\"] = this.fromDate;\r\n data[\"toDate\"] = this.toDate;\r\n data[\"towns\"] = this.towns;\r\n data[\"type\"] = this.type;\r\n return data;\r\n }\r\n}\r\n\r\nexport interface IGetRegValueSearchReportQuery extends IGetRegValueSearchQuery {\r\n sortBy?: string[] | undefined;\r\n filterExpression?: string | undefined;\r\n sortDirection?: string | undefined;\r\n filterObjects?: Array | undefined;\r\n\r\n}\r\n\r\nexport class GetRegValueSearchReportQuery extends GetRegValueSearchQuery implements IGetRegValueSearchReportQuery {\r\n sortBy?: string[] | undefined;\r\n sortDirection?: string | undefined;\r\n filterObjects?: Array | undefined;\r\n filterExpression?: string | undefined;\r\n\r\n\r\n constructor(data?: IGetRegValueSearchReportQuery) {\r\n super(data);\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(data?: any) {\r\n if (data) {\r\n this.docCategory = data[\"docCategory\"];\r\n this.amountFrom = data[\"amountFrom\"];\r\n this.amountTo = data[\"amountTo\"];\r\n this.fromDate = data[\"fromDate\"];\r\n this.toDate = data[\"toDate\"];\r\n this.towns = [...(data[\"towns\"] as string[])]; //TODO: test this to make sure it's not a shallow copy\r\n this.type = data[\"type\"];\r\n this.sortBy = [...(data[\"sortBy\"] as string[])];\r\n this.filterExpression = data[\"filterExpression\"];\r\n this.sortDirection = data[\"sortDirection\"];\r\n this.filterObjects = [...(data[\"filterObjects\"]) as SearchFilter[]];\r\n\r\n }\r\n }\r\n\r\n static fromJS(data: any): GetRegValueSearchReportQuery {\r\n data = typeof data === 'object' ? data : {};\r\n let result = new GetRegValueSearchReportQuery();\r\n result.init(data);\r\n return result;\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"docCategory\"] = this.docCategory;\r\n data[\"amountFrom\"] = this.amountFrom;\r\n data[\"amountTo\"] = this.amountTo;\r\n data[\"fromDate\"] = this.fromDate;\r\n data[\"toDate\"] = this.toDate;\r\n data[\"towns\"] = this.towns;\r\n data[\"type\"] = this.type;\r\n data[\"sortyBy\"] = this.sortBy;\r\n data[\"filterExpression\"] = this.filterExpression;\r\n data[\"sortDirection\"] = this.sortDirection;\r\n data[\"filterObjects\"] = this.filterObjects;\r\n\r\n return data;\r\n }\r\n\r\n\r\n}\r\nexport class GetRegValueSearchReportResponse extends SearchReportResponseBase { }\r\n\r\n\r\nexport interface IRegValueSearchListVM {\r\n regValueSearchRows?: RegValueSearchRowVM[] | undefined\r\n}\r\n\r\nexport class RegValueSearchListVM implements IRegValueSearchListVM {\r\n regValueSearchRows?: RegValueSearchRowVM[] | undefined\r\n constructor(data?: IRegValueSearchListVM) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(data?: any) {\r\n if (data) {\r\n if (Array.isArray(data[\"regValueSearchRows\"])) {\r\n this.regValueSearchRows = [] as any;\r\n for (let item of data[\"regValueSearchRows\"])\r\n this.regValueSearchRows!.push(RegValueSearchRowVM.fromJS(item));\r\n }\r\n }\r\n }\r\n static fromJS(data: any): RegValueSearchListVM {\r\n data = typeof data === 'object' ? data : {};\r\n let result = new RegValueSearchListVM();\r\n result.init(data);\r\n return result;\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n if (Array.isArray(this.regValueSearchRows)) {\r\n data[\"regValueSearchRows\"] = [];\r\n for (let item of this.regValueSearchRows)\r\n data[\"regValueSearchRows\"].push(item.toJSON());\r\n }\r\n return data;\r\n }\r\n}\r\n\r\nexport interface IPropertySearchListVM {\r\n propertySearchRows?: PropertySearchRowVM[] | undefined;\r\n}\r\n\r\nexport class PropertySearchListVM implements IPropertySearchListVM {\r\n propertySearchRows?: PropertySearchRowVM[] | undefined;\r\n\r\n constructor(data?: IPropertySearchListVM) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property)) {\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n }\r\n init(data?: any) {\r\n if (data) {\r\n if (Array.isArray(data[\"propertySearchRows\"])) {\r\n this.propertySearchRows = [] as any;\r\n for (let item of data[\"propertySearchRows\"])\r\n this.propertySearchRows!.push(PropertySearchRowVM.fromJS(item));\r\n }\r\n }\r\n }\r\n static fromJS(data: any): PropertySearchListVM {\r\n data = typeof data === 'object' ? data : {};\r\n let result = new PropertySearchListVM();\r\n result.init(data);\r\n return result;\r\n }\r\n\r\n\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n if (Array.isArray(this.propertySearchRows)) {\r\n data[\"propertySearchRows\"] = [];\r\n for (let item of this.propertySearchRows)\r\n data[\"propertySearchRows\"].push(item.toJSON());\r\n }\r\n return data;\r\n }\r\n\r\n\r\n}\r\n\r\nexport interface IPropertySearchRowVM {\r\n dept?: string | undefined;\r\n docID?: number | undefined;\r\n unparsedName?: string | undefined;\r\n role?: string | undefined;\r\n recordDate?: Date | undefined;\r\n address?: string | undefined;\r\n cityTown?: string | undefined;\r\n docType?: string | undefined;\r\n recLandBook?: string | undefined;\r\n recLandPage?: string | undefined;\r\n amount?: number | undefined;\r\n role2?: string | undefined;\r\n recLandBP?: string | undefined;\r\n regLandDoc?: string | undefined;\r\n revParty?: string | undefined;\r\n description?: string | undefined;\r\n lastName?: string | undefined;\r\n firstName?: string | undefined;\r\n}\r\n\r\nexport class PropertySearchRowVM implements IPropertySearchRowVM {\r\n dept?: string | undefined;\r\n docID?: number | undefined;\r\n unparsedName?: string | undefined;\r\n role?: string | undefined;\r\n recordDate?: Date | undefined;\r\n address?: string | undefined;\r\n cityTown?: string | undefined;\r\n docType?: string | undefined;\r\n recLandBook?: string | undefined;\r\n recLandPage?: string | undefined;\r\n amount?: number | undefined;\r\n role2?: string | undefined;\r\n recLandBP?: string | undefined;\r\n regLandDoc?: string | undefined;\r\n revParty?: string | undefined;\r\n description?: string | undefined;\r\n lastName?: string | undefined;\r\n firstName?: string | undefined;\r\n\r\n constructor(data?: IPropertySearchRowVM) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property)) {\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n\r\n }\r\n }\r\n\r\n init(data?: any) {\r\n this.dept = data[\"dept\"]\r\n this.docID = data[\"docID\"];\r\n this.unparsedName = data[\"unparsedName\"];\r\n this.role = data[\"role\"];\r\n this.recordDate = new Date();\r\n this.recordDate.setTime(Date.parse(data[\"recordDate\"]));//TODO: test\r\n this.address = data[\"address\"];\r\n this.cityTown = data[\"cityTown\"];\r\n this.docType = data[\"docType\"];\r\n this.recLandBook = data[\"recLandBook\"];\r\n this.recLandPage = data[\"recLandPage\"];\r\n this.amount = data[\"amount\"];\r\n this.role2 = data[\"role2\"];\r\n this.recLandBP = data[\"recLandBP\"];\r\n this.regLandDoc = data[\"regLandDoc\"];\r\n this.revParty = data[\"revParty\"];\r\n this.description = data[\"description\"];\r\n this.lastName = data[\"lastName\"];\r\n this.firstName = data[\"firstName\"];\r\n }\r\n\r\n static fromJS(data: any): PropertySearchRowVM {\r\n data = typeof data === 'object' ? data : {};\r\n let result = new PropertySearchRowVM();\r\n result.init(data);\r\n return result;\r\n }\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"dept\"] = this.dept;\r\n data[\"docID\"] = this.docID;\r\n data[\"unparsedName\"] = this.unparsedName;\r\n data[\"role\"] = this.role;\r\n data[\"recordDate\"] = formatDate(this.recordDate, \"shortDate\");\r\n data[\"address\"] = this.address;\r\n data[\"cityTown\"] = this.cityTown;\r\n data[\"docType\"] = this.docType;\r\n data[\"recLandBook\"] = this.recLandBook;\r\n data[\"recLandPage\"] = this.recLandPage;\r\n data[\"amount\"] = this.amount;\r\n data[\"role2\"] = this.role2;\r\n data[\"recLandBP\"] = this.recLandBP;\r\n data[\"regLandDoc\"] = this.regLandDoc;\r\n data[\"revParty\"] = this.revParty;\r\n data[\"description\"] = this.description;\r\n data[\"lastName\"] = this.lastName;\r\n data[\"firstName\"] = this.firstName;\r\n return data;\r\n }\r\n\r\n}\r\n\r\nexport interface IRegValueSearchRowVM {\r\n docID?: number | undefined;\r\n\r\n\r\n unparsedName?: string | undefined;\r\n\r\n\r\n role?: string | undefined;\r\n\r\n\r\n cityTown?: string | undefined;\r\n recordDate?: Date | undefined;\r\n\r\n\r\n docType?: string | undefined;\r\n\r\n\r\n docNum?: string | undefined;\r\n\r\n\r\n certNum?: string | undefined;\r\n\r\n\r\n}\r\n\r\nexport class RegValueSearchRowVM implements IRegValueSearchRowVM {\r\n\r\n public docID?: number | undefined;\r\n public unparsedName?: string | undefined;\r\n public role?: string | undefined;\r\n public cityTown?: string | undefined;\r\n public recordDate?: Date | undefined;\r\n public docType?: string | undefined;\r\n public docNum?: string | undefined;\r\n public certNum?: string | undefined;\r\n\r\n constructor(data?: IRegValueSearchRowVM) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(data?: any) {\r\n this.docID = data[\"docID\"];\r\n this.unparsedName = data[\"unparsedName\"];\r\n this.role = data[\"role\"];\r\n this.cityTown = data[\"cityTown\"];\r\n this.recordDate = new Date();\r\n this.recordDate.setTime(Date.parse(data[\"recordDate\"]));//TODO: test\r\n this.docType = data[\"docType\"];\r\n this.docNum = data[\"docNum\"];\r\n this.certNum = data[\"certNum\"];\r\n }\r\n static fromJS(data: any): RegValueSearchRowVM {\r\n data = typeof data === 'object' ? data : {};\r\n let result = new RegValueSearchRowVM();\r\n result.init(data);\r\n return result;\r\n }\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"docID\"] = this.docID;\r\n data[\"unparsedName\"] = this.unparsedName;\r\n data[\"role\"] = this.role;\r\n data[\"cityTown\"] = this.cityTown;\r\n data[\"recordDate\"] = formatDate(this.recordDate, \"shortDate\");\r\n\r\n data[\"docType\"] = this.docType;\r\n data[\"docNum\"] = this.docNum;\r\n data[\"certNum\"] = this.certNum;\r\n return data;\r\n\r\n }\r\n}\r\n\r\nexport interface IGetSBImagesQuery {\r\n emailList?: boolean | undefined;\r\n emailAddress?: string | undefined;\r\n zipList?: boolean | undefined;\r\n sBList?: Array;\r\n credentialGUID?: string | undefined;\r\n submissionType?: number | undefined;\r\n internalUserID?: string | undefined;\r\n internalDescription?: string | undefined;\r\n optionalPhone?: string | undefined;\r\n optionalZipCode?: string | undefined;\r\n authCode?: string | undefined;\r\n orderId?: string | undefined;\r\n totalFee?: number | undefined;\r\n serviceFee?: number | undefined;\r\n filter?: string | undefined;\r\n units?: number | undefined;\r\n}\r\n\r\nexport class GetSBImagesQuery implements IGetSBImagesQuery {\r\n public emailList?: boolean | undefined;\r\n public emailAddress?: string | undefined;\r\n public zipList?: boolean | undefined;\r\n public sBList?: SBListDTO[] | undefined;\r\n public credentialGUID?: string | undefined;\r\n public submissionType?: number | undefined;\r\n public internalUserID?: string | undefined;\r\n public internalDescription?: string | undefined;\r\n public optionalPhone?: string | undefined;\r\n public optionalZipCode?: string | undefined;\r\n public authCode?: string | undefined;\r\n public orderId?: string | undefined;\r\n public totalFee?: number | undefined;\r\n public serviceFee?: number | undefined;\r\n public filter?: string | undefined;\r\n public units?: number | undefined;\r\n\r\n\r\n constructor(data?: IGetSBImagesQuery) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(data?: any) {\r\n this.emailList = data[\"emailList\"];\r\n this.emailAddress = data[\"emailAddress\"];\r\n this.zipList = data[\"zipList\"];\r\n if (Array.isArray(data[\"sBList\"])) {\r\n this.sBList = [] as any;\r\n for (let item of data[\"sBList\"])\r\n this.sBList!.push(SBListDTO.fromJS(item));\r\n }\r\n this.credentialGUID = data[\"credentialGUID\"];\r\n this.submissionType = data[\"submissionType\"];\r\n this.internalUserID = data[\"internalUserID\"];\r\n this.internalDescription = data[\"internalDescription\"];\r\n this.optionalPhone = data[\"optionalPhone\"];\r\n this.optionalZipCode = data[\"optionalZipCode\"];\r\n this.authCode = data[\"authCode\"];\r\n this.orderId = data[\"orderId\"];\r\n this.totalFee = data[\"totalFee\"];\r\n this.serviceFee = data[\"serviceFee\"];\r\n this.filter = data[\"filter\"];\r\n this.units = data[\"units\"];\r\n }\r\n static fromJS(data: any): GetSBImagesQuery {\r\n data = typeof data === 'object' ? data : {};\r\n let result = new GetSBImagesQuery();\r\n result.init(data);\r\n return result;\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"emailList\"] = this.emailList;\r\n data[\"emailAddress\"] = this.emailAddress;\r\n data[\"zipList\"] = this.zipList;\r\n if (Array.isArray(this.sBList)) {\r\n data[\"sBList\"] = [];\r\n for (let item of this.sBList)\r\n data[\"sBList\"].push(item.toJSON());\r\n }\r\n data[\"credentialGUID\"] = this.credentialGUID;\r\n data[\"submissionType\"] = this.submissionType;\r\n data[\"internalUserID\"] = this.internalUserID;\r\n data[\"internalDescription\"] = this.internalDescription;\r\n data[\"optionalPhone\"] = this.optionalPhone;\r\n data[\"optionalZipCode\"] = this.optionalZipCode;\r\n data[\"authCode\"] = this.authCode;\r\n data[\"orderId\"] = this.orderId;\r\n data[\"totalFee\"] = this.totalFee;\r\n data[\"serviceFee\"] = this.serviceFee;\r\n data[\"filter\"] = this.filter;\r\n data[\"units\"] = this.units;\r\n return data;\r\n\r\n }\r\n}\r\n\r\n\r\nexport interface ISBListDTO {\r\n imageType?: string | undefined; //pdf = PDF, tif = TIFF\r\n department?: string | undefined; //R = recorded land, L = registered land\r\n bookDoc?: string | undefined;\r\n bookPage?: string | undefined;\r\n pages?: string[] | undefined;\r\n wholeDoc?: boolean | undefined;\r\n docType?: string | undefined;\r\n docPageCount?: number | undefined;\r\n desc?: string | undefined;\r\n}\r\n\r\nexport class SBListDTO implements ISBListDTO {\r\n public imageType?: string | undefined; //pdf = PDF, tif = TIFF\r\n public department?: string | undefined; //R = recorded land, L = registered land\r\n public bookDoc?: string | undefined;\r\n public bookPage?: string | undefined;\r\n public pages?: Array | undefined;\r\n public wholeDoc?: boolean | undefined;\r\n public docType?: string | undefined;\r\n public docPageCount?: number | undefined;\r\n public desc?: string | undefined;\r\n\r\n constructor(data?: ISBListDTO) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n init(data?: any) {\r\n this.imageType = data[\"imageType\"];\r\n this.department = data[\"department\"];\r\n this.bookDoc = data[\"bookDoc\"];\r\n this.bookPage = data[\"bookPage\"];\r\n if (Array.isArray(data[\"pages\"])) {\r\n this.pages = [];\r\n for (let item of data[\"pages\"])\r\n this.pages!.push(item);\r\n }\r\n\r\n this.wholeDoc = data[\"wholeDoc\"];\r\n this.docType = data[\"docType\"];\r\n this.docPageCount = data[\"docPageCount\"];\r\n this.desc = data[\"desc\"];\r\n }\r\n static fromJS(data: any): SBListDTO {\r\n data = typeof data === 'object' ? data : {};\r\n let result = new SBListDTO();\r\n result.init(data);\r\n return result;\r\n }\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"imageType\"] = this.imageType;\r\n data[\"department\"] = this.department;\r\n data[\"bookDoc\"] = this.bookDoc;\r\n data[\"bookPage\"] = this.bookPage;\r\n if (Array.isArray(this.pages)) {\r\n data[\"pages\"] = [];\r\n for (let item of this.pages)\r\n data[\"pages\"].push(item);\r\n }\r\n\r\n data[\"wholeDoc\"] = this.wholeDoc;\r\n data[\"docType\"] = this.docType;\r\n data[\"docPageCount\"] = this.docPageCount;\r\n data[\"desc\"] = this.desc;\r\n return data;\r\n\r\n }\r\n\r\n//export interface ISBListDTO {\r\n// imageType?: string | undefined; //pdf = PDF, tif = TIFF\r\n// department?: string | undefined; //R = recorded land, L = registered land\r\n// bookDoc?: string | undefined;\r\n// bookPage?: string | undefined;\r\n// pages?: string[] | undefined;\r\n// wholeDoc?: boolean | undefined;\r\n//}\r\n\r\n//export class SBListDTO implements ISBListDTO {\r\n// public imageType?: string | undefined; //pdf = PDF, tif = TIFF\r\n// public department?: string | undefined; //R = recorded land, L = registered land\r\n// public bookDoc?: string | undefined;\r\n// public bookPage?: string | undefined;\r\n// public pages?: Array | undefined;\r\n// public wholeDoc?: boolean | undefined;\r\n\r\n// constructor(data?: ISBListDTO) {\r\n// if (data) {\r\n// for (var property in data) {\r\n// if (data.hasOwnProperty(property))\r\n// (this)[property] = (data)[property];\r\n// }\r\n// }\r\n// }\r\n// init(data?: any) {\r\n// this.imageType = data[\"imageType\"];\r\n// this.department = data[\"department\"];\r\n// this.bookDoc = data[\"bookDoc\"];\r\n// this.bookPage = data[\"bookPage\"];\r\n// if (Array.isArray(data[\"pages\"])) {\r\n// this.pages = [];\r\n// for (let item of data[\"pages\"])\r\n// this.pages!.push(item);\r\n// }\r\n\r\n// this.wholeDoc = data[\"wholeDoc\"];\r\n// }\r\n// static fromJS(data: any): SBListDTO {\r\n// data = typeof data === 'object' ? data : {};\r\n// let result = new SBListDTO();\r\n// result.init(data);\r\n// return result;\r\n// }\r\n// toJSON(data?: any) {\r\n// data = typeof data === 'object' ? data : {};\r\n// data[\"imageType\"] = this.imageType;\r\n// data[\"department\"] = this.department;\r\n// data[\"bookDoc\"] = this.bookDoc;\r\n// data[\"bookPage\"] = this.bookPage;\r\n// if (Array.isArray(this.pages)) {\r\n// data[\"pages\"] = [];\r\n// for (let item of this.pages)\r\n// data[\"pages\"].push(item);\r\n// }\r\n\r\n// data[\"wholeDoc\"] = this.wholeDoc;\r\n// return data;\r\n\r\n// }\r\n\r\n\r\n}\r\n\r\n\r\nexport class InstrumentVM {\r\n\r\n // $LoudName\r\n public docID: number;\r\n // $LoudName\r\n public primaryID: string;\r\n // $LoudName\r\n public secondaryID: string;\r\n // $LoudName\r\n public docType: string;\r\n // $LoudName\r\n public recDate: Date;\r\n // $LoudName\r\n public docSource: string;\r\n // $LoudName\r\n public docFormat: string;\r\n // $LoudName\r\n public pageCount: number;\r\n}\r\n\r\nexport class CertificateVM {\r\n public certId: number;\r\n public certNum: string;\r\n public certAction: string;\r\n}\r\nexport class PartyVM {\r\n\r\n // $LoudName\r\n public typeFlag: string;\r\n // $LoudName\r\n public lastCorpName: string;\r\n // $LoudName\r\n public fName: string;\r\n // $LoudName\r\n public seq: number;\r\n // $LoudName\r\n public role: string;\r\n}\r\nexport class UnparsedAddressVM {\r\n\r\n // $LoudName\r\n public unparsedAddress: string;\r\n}\r\nexport class RecDocVM {\r\n\r\n // $LoudName\r\n public docID: number;\r\n // $LoudName\r\n public docDetail: InstrumentVM;\r\n // $LoudName\r\n public address: string;\r\n // $LoudName\r\n public amount: string;\r\n // $LoudName\r\n public docTors: PartyVM[];\r\n // $LoudName\r\n public docTees: PartyVM[];\r\n // $LoudName\r\n public docRefTo: InstrumentVM[];\r\n // $LoudName\r\n public docRefBy: InstrumentVM[];\r\n // $LoudName\r\n public docAddress: UnparsedAddressVM[];\r\n // $LoudName\r\n public docTrans: InstrumentVM[];\r\n\r\n\r\n}\r\nexport class RegDocVM {\r\n // $LoudName\r\n public docID: number;\r\n // $LoudName\r\n public amount: string;\r\n // $LoudName\r\n public docDetail: InstrumentVM;\r\n // $LoudName\r\n public docTors: PartyVM[];\r\n // $LoudName\r\n public docTees: PartyVM[];\r\n // $LoudName\r\n public docRefTo: InstrumentVM[];\r\n // $LoudName\r\n public docRefBy: InstrumentVM[];\r\n // $LoudName\r\n public docAddress: UnparsedAddressVM[];\r\n // $LoudName\r\n public docTrans: InstrumentVM[];\r\n // $LoudName\r\n public docCerts: CertificateVM[];\r\n}\r\n\r\nexport interface IRegDateSearchRowVM {\r\n docID?: number | undefined;\r\n\r\n\r\n unparsedName?: string | undefined;\r\n\r\n\r\n role?: string | undefined;\r\n\r\n\r\n cityTown?: string | undefined;\r\n recordDate?: Date | undefined;\r\n\r\n\r\n docType?: string | undefined;\r\n\r\n\r\n docNum?: string | undefined;\r\n\r\n\r\n certNum?: string | undefined;\r\n\r\n}\r\nexport class RegDateSearchRowVM implements IRegDateSearchRowVM {\r\n\r\n\r\n public docID?: number | undefined;\r\n public unparsedName?: string | undefined;\r\n public role?: string | undefined;\r\n public cityTown?: string | undefined;\r\n public recordDate?: Date | undefined;\r\n public docType?: string | undefined;\r\n public docNum?: string | undefined;\r\n public certNum?: string | undefined;\r\n\r\n constructor(data?: IRegDateSearchRowVM) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(data?: any) {\r\n this.docID = data[\"doC_ID\"];\r\n this.unparsedName = data[\"unparsedName\"];\r\n this.role = data[\"role\"];\r\n this.cityTown = data[\"cityTown\"];\r\n this.recordDate = new Date();\r\n this.recordDate.setTime(Date.parse(data[\"recordDate\"]));//TODO: test\r\n this.docType = data[\"docType\"];\r\n this.docNum = data[\"docNum\"];\r\n this.certNum = data[\"certNum\"];\r\n }\r\n static fromJS(data: any): RegDateSearchRowVM {\r\n data = typeof data === 'object' ? data : {};\r\n let result = new RegDateSearchRowVM();\r\n result.init(data);\r\n return result;\r\n }\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"doC_ID\"] = this.docID;\r\n data[\"unparsedName\"] = this.unparsedName;\r\n data[\"role\"] = this.role;\r\n data[\"cityTown\"] = this.cityTown;\r\n data[\"recordDate\"] = formatDate(this.recordDate, \"shortDate\");\r\n\r\n data[\"docType\"] = this.docType;\r\n data[\"docNum\"] = this.docNum;\r\n data[\"certNum\"] = this.certNum;\r\n return data;\r\n\r\n }\r\n\r\n\r\n}\r\n\r\nexport interface IGetRegDateSearchQuery {\r\n fromDate?: string | undefined;\r\n toDate?: string | undefined;\r\n towns?: string[] | undefined;\r\n doctypes?: string[] | undefined;\r\n}\r\n\r\nexport class GetRegDateSearchQuery implements IGetRegDateSearchQuery {\r\n public fromDate?: string | undefined;\r\n public toDate?: string | undefined;\r\n public towns?: string[] | undefined;\r\n public doctypes?: string[] | undefined;\r\n\r\n constructor(data?: IGetRegDateSearchQuery) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n init(data?: any) {\r\n if (data) {\r\n this.fromDate = data[\"fromDate\"];\r\n this.toDate = data[\"toDate\"];\r\n\r\n this.towns = [...(data[\"towns\"] as string[])]; //TODO: test this to make sure it's not a shallow copy\r\n this.doctypes = [...(data[\"doctypes\"] as string[])];\r\n }\r\n }\r\n\r\n static fromJS(data: any): GetRegDateSearchQuery {\r\n data = typeof data === 'object' ? data : {};\r\n let result = new GetRegDateSearchQuery();\r\n result.init(data);\r\n return result;\r\n }\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"fromDate\"] = this.fromDate;\r\n data[\"toDate\"] = this.toDate;\r\n data[\"towns\"] = this.towns;\r\n data[\"doctypes\"] = this.doctypes;\r\n return data;\r\n }\r\n\r\n}\r\n\r\nexport interface IGetRegDateSearchReportQuery extends IGetRecDateSearchReportQuery { }\r\n\r\nexport class GetRegDateSearchReportQuery extends GetRegDateSearchQuery implements IGetRegDateSearchReportQuery {\r\n sortBy?: string[] | undefined;\r\n sortDirection?: string | undefined;\r\n filterExpression?: string | undefined;\r\n filterObjects?: SearchFilter[] | undefined;\r\n\r\n constructor(data?: IGetRegDateSearchReportQuery) {\r\n super(data);\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n init(data?: any) {\r\n if (data) {\r\n this.fromDate = data[\"fromDate\"];\r\n this.toDate = data[\"toDate\"];\r\n\r\n this.towns = [...(data[\"towns\"] as string[])]; //TODO: test this to make sure it's not a shallow copy\r\n this.doctypes = [...(data[\"doctypes\"] as string[])];\r\n this.sortBy = [...(data[\"sortBy\"] as string[])];\r\n this.sortDirection = data[\"sortDirection\"];\r\n\r\n this.filterExpression = data[\"filterExpression\"];\r\n this.filterObjects = [...(data[\"filterObjects\"]) as SearchFilter[]];\r\n\r\n }\r\n }\r\n\r\n static fromJS(data: any): GetRegDateSearchReportQuery {\r\n data = typeof data === 'object' ? data : {};\r\n let result = new GetRegDateSearchReportQuery();\r\n result.init(data);\r\n return result;\r\n }\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"fromDate\"] = this.fromDate;\r\n data[\"toDate\"] = this.toDate;\r\n data[\"towns\"] = this.towns;\r\n data[\"doctypes\"] = this.doctypes;\r\n data[\"sortyBy\"] = this.sortBy;\r\n data[\"sortDirection\"] = this.sortDirection;\r\n data[\"filterExpression\"] = this.filterExpression;\r\n data[\"filterObjects\"] = this.filterObjects;\r\n return data;\r\n }\r\n\r\n}\r\n\r\nexport class GetRegDateSearchReportResponse extends SearchReportResponseBase { }\r\n\r\nexport interface IRegDateSearchListVM {\r\n regDateSearchRows?: RegDateSearchRowVM[] | undefined;\r\n\r\n}\r\n\r\nexport class RegDateSearchListVM implements IRegDateSearchListVM {\r\n public regDateSearchRows?: RegDateSearchRowVM[] | undefined;\r\n constructor(data?: IRegDateSearchListVM) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(data?: any) {\r\n if (data) {\r\n if (Array.isArray(data[\"regDateSearchRows\"])) {\r\n this.regDateSearchRows = [] as any;\r\n for (let item of data[\"regDateSearchRows\"])\r\n this.regDateSearchRows!.push(RegDateSearchRowVM.fromJS(item));\r\n }\r\n }\r\n }\r\n static fromJS(data: any): RegDateSearchListVM {\r\n data = typeof data === 'object' ? data : {};\r\n let result = new RegDateSearchListVM();\r\n result.init(data);\r\n return result;\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n if (Array.isArray(this.regDateSearchRows)) {\r\n data[\"regDateSearchRows\"] = [];\r\n for (let item of this.regDateSearchRows)\r\n data[\"regDateSearchRows\"].push(item.toJSON());\r\n }\r\n return data;\r\n }\r\n\r\n}\r\n\r\nexport class RegMemoEncumRowVM {\r\n\r\n public docNum: string;\r\n\r\n public docID: number;\r\n\r\n\r\n public docCode: string;\r\n\r\n\r\n public certId: number;\r\n\r\n\r\n public certNum: string;\r\n\r\n\r\n public encumID: number;\r\n\r\n\r\n public inFavorOf: string;\r\n\r\n //public DOC_ID_TERM_BY: number; \r\n\r\n\r\n public terms: string;\r\n\r\n\r\n\r\n public dischComment: string;\r\n\r\n\r\n public signedDate: Date;\r\n\r\n public dateReg: Date;\r\n\r\n\r\n public dischDocNum: string;\r\n public discdocID: number;\r\n\r\n public discDate: Date;\r\n\r\n //public DOC_TYPE_ID: number; \r\n}\r\n\r\nexport interface IGetLCCertTextQuery {\r\n certId?: number | undefined;\r\n linkName?: string | undefined;\r\n}\r\n\r\nexport class GetLCCertTextQuery implements IGetLCCertTextQuery {\r\n public certId?: number | undefined;\r\n public linkName?: string | undefined;\r\n\r\n constructor(data?: IGetLCCertTextQuery) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n init(data?: any) {\r\n if (data) {\r\n this.certId = data[\"certId\"];\r\n this.linkName = data[\"linkName\"];\r\n }\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"certId\"] = this.certId;\r\n data[\"linkName\"] = this.linkName;\r\n return data;\r\n }\r\n\r\n}\r\n\r\nexport class GetRecAddressSearchReportResponse extends SearchReportResponseBase { }\r\n\r\nexport interface IGetRecNameSearchReportResponse {\r\n reportName?: string | undefined;\r\n}\r\nexport class GetRecNameSearchReportResponse implements IGetRecNameSearchReportResponse {\r\n public reportName?: string | undefined;\r\n\r\n constructor(data?: IGetRecNameSearchReportResponse) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n init(data?: any) {\r\n this.reportName = data[\"reportName\"];\r\n }\r\n static fromJS(data: any): GetRecNameSearchReportResponse {\r\n data = typeof data === 'object' ? data : {};\r\n let result = new GetRecNameSearchReportResponse();\r\n result.init(data);\r\n return result;\r\n }\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"reportName\"] = this.reportName;\r\n }\r\n}\r\n\r\n\r\nexport interface IGetRecValueSearchQuery {\r\n docCategory?: string[] | undefined;\r\n amountFrom?: string | undefined;\r\n amountTo?: string | undefined;\r\n fromDate?: string | undefined;\r\n toDate?: string | undefined;\r\n towns?: string[] | undefined;\r\n type?: string | undefined;\r\n}\r\n\r\nexport class GetRecValueSearchQuery implements IGetRecValueSearchQuery {\r\n docCategory?: string[] | undefined;\r\n amountFrom?: string | undefined;\r\n amountTo?: string | undefined;\r\n fromDate?: string | undefined;\r\n toDate?: string | undefined;\r\n towns?: string[] | undefined;\r\n type?: string | undefined;\r\n constructor(data?: IGetRecValueSearchQuery) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n init(data?: any) {\r\n if (data) {\r\n this.docCategory = data[\"docCategory\"];\r\n this.amountFrom = data[\"amountFrom\"];\r\n this.amountTo = data[\"amountTo\"];\r\n this.fromDate = data[\"fromDate\"];\r\n this.type = data[\"type\"];\r\n this.toDate = data[\"toDate\"];\r\n this.towns = [...(data[\"towns\"] as string[])]; //TODO: test this to make sure it's not a shallow copy\r\n }\r\n }\r\n\r\n static fromJS(data: any): GetRecValueSearchQuery {\r\n data = typeof data === 'object' ? data : {};\r\n let result = new GetRecValueSearchQuery();\r\n result.init(data);\r\n return result;\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"docCategory\"] = this.docCategory;\r\n data[\"amountFrom\"] = this.amountFrom;\r\n data[\"amountTo\"] = this.amountTo;\r\n data[\"fromDate\"] = this.fromDate;\r\n data[\"toDate\"] = this.toDate;\r\n data[\"towns\"] = this.towns;\r\n data[\"type\"] = this.type;\r\n return data;\r\n }\r\n\r\n}\r\nexport interface IGetRecValueSearchReportQuery extends IGetRecValueSearchQuery {\r\n sortBy?: string[] | undefined;\r\n filterExpression?: string | undefined;\r\n sortDirection?: string | undefined;\r\n filtersCollection?: string[] | undefined;\r\n filterObjects?: Array | undefined;\r\n\r\n}\r\n\r\nexport class GetRecValueSearchReportQuery extends GetRecValueSearchQuery implements IGetRecValueSearchReportQuery {\r\n sortBy?: string[] | undefined;\r\n filterExpression?: string | undefined;\r\n sortDirection?: string | undefined;\r\n filtersCollection?: string[] | undefined;\r\n filterObjects?: Array | undefined;\r\n\r\n constructor(data?: IGetRecValueSearchReportQuery) {\r\n super(data);\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property)) {\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n }\r\n\r\n init(data?: any) {\r\n if (data) {\r\n this.docCategory = data[\"docCategory\"];\r\n this.amountFrom = data[\"amountFrom\"];\r\n this.amountTo = data[\"amountTo\"];\r\n this.fromDate = data[\"fromDate\"];\r\n this.toDate = data[\"toDate\"];\r\n this.towns = [...(data[\"towns\"] as string[])]; //TODO: test this to make sure it's not a shallow copy\r\n this.type = data[\"type\"];\r\n this.sortBy = [...(data[\"sortBy\"] as string[])];\r\n this.filterExpression = data[\"filterExpression\"];\r\n this.sortDirection = data[\"sortDirection\"];\r\n this.filtersCollection = [...(data[\"filtersCollection\"] as string[])];\r\n this.filterObjects = [...(data[\"filterObjects\"]) as SearchFilter[]];\r\n }\r\n }\r\n\r\n static fromJS(data: any): GetRecValueSearchReportQuery {\r\n data = typeof data === 'object' ? data : {};\r\n let result = new GetRecValueSearchReportQuery();\r\n result.init(data);\r\n return result;\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"docCategory\"] = this.docCategory;\r\n data[\"amountFrom\"] = this.amountFrom;\r\n data[\"amountTo\"] = this.amountTo;\r\n data[\"fromDate\"] = this.fromDate;\r\n data[\"toDate\"] = this.toDate;\r\n data[\"towns\"] = this.towns;\r\n data[\"type\"] = this.type;\r\n data[\"sortyBy\"] = this.sortBy;\r\n data[\"filterExpression\"] = this.filterExpression;\r\n data[\"sortDirection\"] = this.sortDirection;\r\n data[\"filtersCollection\"] = this.filtersCollection;\r\n data[\"filterObjects\"] = this.filterObjects;\r\n return data;\r\n }\r\n\r\n\r\n}\r\nexport class GetRecValueSearchReportResponse extends SearchReportResponseBase { }\r\n\r\nexport interface ISearchFilter {\r\n fieldName?: string | undefined;\r\n fieldType?: string | undefined;\r\n filterType?: string | undefined;\r\n filterValue?: string | undefined;\r\n filters?: SearchFilter[] | undefined;\r\n}\r\nexport class SearchFilter implements ISearchFilter {\r\n fieldName?: string | undefined;\r\n fieldType?: string | undefined;\r\n filterType?: string | undefined;\r\n filterValue?: string | undefined;\r\n filters?: SearchFilter[] | undefined;\r\n\r\n constructor(data?: ISearchFilter) {\r\n if (data) {\r\n this.fieldName = data[\"fieldName\"];\r\n this.filterType = data[\"filterType\"];\r\n this.filterValue = data[\"filterValue\"];\r\n this.fieldType = \"\";\r\n this.filters = new Array();\r\n }\r\n }\r\n\r\n static fromJS(data: any): SearchFilter {\r\n data = typeof data === 'object' ? data : {};\r\n let result = new SearchFilter();\r\n result.init(data);\r\n return result;\r\n\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"fieldName\"] = this.fieldName;\r\n data[\"filterType\"] = this.filterType;\r\n data[\"fieldType\"] = this.fieldType;\r\n data[\"filterValue\"] = this.filterValue;\r\n data[\"filters\"] = [...this.filters];\r\n return data;\r\n }\r\n\r\n static subHelper(data: any, depth): SearchFilter[] {\r\n if (data) {\r\n console.log(`=======================subHelper call at depth ${depth}`);\r\n console.log(`data at depth ${depth}: ${JSON.stringify(data)}`);\r\n console.log(`data[0] at depth ${depth}: ${JSON.stringify(data[0])}`);\r\n let result = new Array();\r\n if (typeof data === 'string' && (data == 'and' || data == 'or')) {\r\n let join = new SearchFilter({ filterType: 'join', filterValue: data, fieldName: data, fieldType: data });\r\n result.push(join);\r\n return result;\r\n }\r\n\r\n if (typeof data[0] === 'object') {\r\n for (var d of data) {\r\n depth = depth + 1;\r\n var r1 = SearchFilter.subHelper(d, depth);\r\n console.log(`r1 at ${--depth}: ${JSON.stringify(r1)}`);\r\n //if (depth == 0) {\r\n // result = [...result, ...r1];\r\n //} else {\r\n // result = [...r1];\r\n //}\r\n //if (depth == 0) {\r\n\r\n // if (r1.length > 1) {\r\n //consolidate\r\n if (r1.length == 3) {\r\n var join = r1[1];\r\n join.filters.push(r1[0]);\r\n join.filters.push(r1[2]);\r\n result.push(join);\r\n\r\n } else {\r\n result = [...result, ...r1];\r\n\r\n }\r\n\r\n //} else {\r\n // result = [...result, ...r1];\r\n //}\r\n\r\n }\r\n } else {\r\n let filter = SearchFilter.fromJS(data);\r\n result.push(filter);\r\n\r\n //if (data[0] !== 'and' && data[0] !== 'or') {\r\n // //we have a filter\r\n // let filter = SearchFilter.fromJS(data);\r\n // result.push(filter);\r\n //} else {\r\n // let join = new SearchFilter({ filterType: 'join', filterValue: data[0], fieldName: data[0], fieldType: data[0] });\r\n // result.push(join);\r\n //}\r\n }\r\n\r\n //console.log(`result at depth ${depth}: ${JSON.stringify(result)}`);\r\n return result;\r\n\r\n }\r\n }\r\n\r\n static subFromJSs(data: any): SearchFilter[] {\r\n if (data) {\r\n var results = new Array();\r\n let root = new SearchFilter();\r\n for (var d of data) {\r\n\r\n let r = SearchFilter.subHelper(d, 0);\r\n if (r.length > 1) {\r\n //consolidate\r\n if (r.length == 3) {\r\n var join = r[1];\r\n join.filters.push(r[0]);\r\n join.filters.push(r[2]);\r\n results.push(join);\r\n }\r\n } else {\r\n results = [...results, ...r];\r\n\r\n }\r\n console.log(`results for ${JSON.stringify(d)} at depth 0: ${JSON.stringify(results)}`);\r\n\r\n }\r\n return results;\r\n }\r\n }\r\n static fromJSs(data: any): SearchFilter[] {\r\n if (data) {\r\n\r\n var result = new Array();\r\n if (typeof data[0] === 'object') {\r\n for (var d1 of data[0]) {\r\n if (typeof d1 === 'string') {\r\n if (d1 != 'and' && d1 != 'or') {\r\n //we have a filter\r\n let r1 = SearchFilter.fromJS(data[0]);\r\n result.push(r1);\r\n break;\r\n } else {\r\n let join = new SearchFilter({ filterType: d1, filterValue: d1, fieldName: d1, fieldType: d1 });\r\n result.push(join);\r\n }\r\n } else if (typeof d1 === 'object') {\r\n //next level\r\n var r1 = SearchFilter.fromJSs(d1);\r\n }\r\n }\r\n }\r\n //data = typeof data === 'object' ? data : {};\r\n //var result = new Array();\r\n //if (typeof data[0] === 'string') {\r\n // //we either have a SearchFilter object we want to parse\r\n // //or we have a joining word like And or Or\r\n // if (data[0] != 'and' && data[0] != \"or\") {\r\n // let r = SearchFilter.fromJS(data);\r\n // result.push(r);\r\n // } else {\r\n // if (data[0] == 'and' || data[0] == 'or') {\r\n // let joinObj = new SearchFilter({ fieldName: data[0], fieldType: \"join\", filterType: data[0], filterValue: data[0] });\r\n // result.push(joinObj);\r\n // }\r\n // }\r\n //} else {\r\n // //if it's another object\r\n // if (typeof data[0] === 'object') {\r\n // //recursive step\r\n // }\r\n //}\r\n //if (typeof data[0] !== 'object') {\r\n // console.log(`-----------inside fromJSs`);\r\n // let r = SearchFilter.fromJS(data);\r\n // result.push(r);\r\n //} else {\r\n // //for (var d of data) {\r\n // // console.log(`type of d: ${typeof d}`);\r\n // // console.log(`d: ${JSON.stringify(d)}`);\r\n\r\n // // if (typeof d === 'object') {\r\n // // let r = new SearchFilter();\r\n // // r.init(d);\r\n // // result.push(r);\r\n // // }\r\n // //}\r\n // //for (var d of data) {\r\n // SearchFilter.fromJShelper(data, result);\r\n\r\n // //}\r\n //}\r\n return result;\r\n }\r\n }\r\n private static fromJShelper(data: any, result: SearchFilter[]) {\r\n console.log(`type of data: ${typeof data}`);\r\n console.log(`data: ${JSON.stringify(data)}`);\r\n\r\n if (typeof data === 'string' && data == 'and') return;\r\n\r\n if (typeof data[0] === 'object') {\r\n for (var x of data) {\r\n this.fromJShelper(x, result);\r\n }\r\n\r\n } else {\r\n let r = new SearchFilter();\r\n r.init(data);\r\n result.push(r);\r\n return;\r\n\r\n }\r\n }\r\n init(data: any) {\r\n if (data) {\r\n this.fieldName = data[0];\r\n this.filterType = data[1];\r\n this.filterValue = data[2];\r\n this.fieldType = \"\";\r\n this.filters = new Array();\r\n\r\n }\r\n }\r\n}\r\n\r\nexport class GetRegNameSearchReportResponse extends GetRecNameSearchReportResponse { }\r\n\r\nexport interface IGetRecNameSearchReportQuery {\r\n lastName?: string | undefined;\r\n firstName?: string | undefined;\r\n roleId?: number | undefined;\r\n fromDate?: string | undefined;\r\n toDate?: string | undefined;\r\n towns?: string[] | undefined;\r\n doctypes?: string[] | undefined;\r\n sortBy?: string[] | undefined;\r\n sortDirection: string | undefined;\r\n filterExpression?: string | undefined;\r\n filterObjects?: SearchFilter[] | undefined;\r\n}\r\n\r\nexport class GetRecNameSearchReportQuery implements IGetRecNameSearchReportQuery {\r\n lastName?: string | undefined;\r\n firstName?: string | undefined;\r\n roleId?: number | undefined;\r\n fromDate?: string | undefined;\r\n toDate?: string | undefined;\r\n towns?: string[] | undefined;\r\n doctypes?: string[] | undefined;\r\n sortBy?: string[] | undefined;\r\n sortDirection: string | undefined;\r\n filterExpression?: string | undefined;\r\n filterObjects?: SearchFilter[] | undefined;\r\n\r\n\r\n constructor(data?: IGetRecNameSearchReportQuery) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n init(data?: any) {\r\n if (data) {\r\n this.lastName = data[\"lastName\"];\r\n this.firstName = data[\"firstName\"];\r\n this.roleId = data[\"roleId\"];\r\n this.fromDate = data[\"fromDate\"];\r\n this.toDate = data[\"toDate\"];\r\n\r\n this.towns = [...(data[\"towns\"] as string[])]; //TODO: test this to make sure it's not a shallow copy\r\n this.doctypes = [...(data[\"doctypes\"] as string[])];\r\n this.sortBy = [...(data[\"sortBy\"] as string[])];\r\n this.sortDirection = data[\"sortDirection\"];\r\n this.filterExpression = data[\"filterExpression\"];\r\n this.filterObjects = [...(data[\"filterObjects\"]) as SearchFilter[]];\r\n }\r\n }\r\n\r\n static fromJS(data: any): GetRecNameSearchReportQuery {\r\n data = typeof data === 'object' ? data : {};\r\n let result = new GetRecNameSearchReportQuery();\r\n result.init(data);\r\n return result;\r\n }\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"lastName\"] = this.lastName;\r\n data[\"firstName\"] = this.firstName;\r\n data[\"roleId\"] = this.roleId;\r\n data[\"fromDate\"] = this.fromDate;\r\n data[\"toDate\"] = this.toDate;\r\n data[\"towns\"] = this.towns;\r\n data[\"doctypes\"] = this.doctypes;\r\n data[\"sortyBy\"] = this.sortBy;\r\n data[\"sortDirection\"] = this.sortDirection;\r\n data[\"filterExpression\"] = this.filterExpression;\r\n data[\"filterObjects\"] = this.filterObjects;\r\n return data;\r\n }\r\n}\r\n\r\nexport interface IGetRegAddressSearchReportResponse {\r\n reportName?: string | undefined;\r\n}\r\nexport class GetRegAddressSearchReportResponse implements IGetRegAddressSearchReportResponse {\r\n public reportName?: string | undefined;\r\n\r\n constructor(data?: IGetRegAddressSearchReportResponse) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n init(data?: any) {\r\n this.reportName = data[\"reportName\"];\r\n }\r\n static fromJS(data: any): GetRegAddressSearchReportResponse {\r\n data = typeof data === 'object' ? data : {};\r\n let result = new GetRegAddressSearchReportResponse();\r\n result.init(data);\r\n return result;\r\n }\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"reportName\"] = this.reportName;\r\n }\r\n}\r\n\r\nexport interface IGetRegAddressSearchReportQuery {\r\n fromDate?: string | undefined;\r\n toDate?: string | undefined;\r\n towns?: string[] | undefined;\r\n streetNumber?: string | undefined;\r\n streetName?: string | undefined;\r\n doctypes?: string[] | undefined;\r\n sortBy?: string[] | undefined;\r\n sortDirection?: string | undefined;\r\n filterExpression?: string | undefined;\r\n filterObjects?: SearchFilter[] | undefined;\r\n}\r\n\r\nexport class GetRegAddressSearchReportQuery implements IGetRegAddressSearchReportQuery {\r\n fromDate?: string | undefined;\r\n toDate?: string | undefined;\r\n towns?: string[] | undefined;\r\n streetNumber?: string | undefined;\r\n streetName?: string | undefined;\r\n doctypes?: string[] | undefined;\r\n sortBy?: string[] | undefined;\r\n sortDirection?: string | undefined;\r\n filterExpression?: string | undefined;\r\n filterObjects?: SearchFilter[] | undefined;\r\n\r\n\r\n constructor(data?: IGetRegAddressSearchReportQuery) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n init(data?: any) {\r\n if (data) {\r\n this.fromDate = data[\"fromDate\"];\r\n this.toDate = data[\"toDate\"];\r\n this.towns = [...(data[\"towns\"] as string[])]; //TODO: test this to make sure it's not a shallow copy\r\n this.streetNumber = data[\"streetNumber\"];\r\n this.streetName = data[\"streetName\"];\r\n this.doctypes = [...(data[\"doctypes\"] as string[])];\r\n this.sortBy = [...(data[\"sortBy\"] as string[])];\r\n this.sortDirection = data[\"sortDirection\"];\r\n this.filterExpression = data[\"filterExpression\"];\r\n this.filterObjects = [...(data[\"filterObjects\"]) as SearchFilter[]];\r\n }\r\n }\r\n static fromJS(data: any): GetRegAddressSearchReportQuery {\r\n data = typeof data === 'object' ? data : {};\r\n let result = new GetRegAddressSearchReportQuery();\r\n result.init(data);\r\n return result;\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"fromDate\"] = this.fromDate;\r\n data[\"toDate\"] = this.toDate;\r\n data[\"towns\"] = this.towns;\r\n data[\"streetNumber\"] = this.streetNumber;\r\n data[\"doctypes\"] = this.doctypes;\r\n data[\"streetName\"] = this.streetName;\r\n data[\"sortyBy\"] = this.sortBy;\r\n data[\"sortDirection\"] = this.sortDirection;\r\n data[\"filterExpression\"] = this.filterExpression;\r\n data[\"filterObjects\"] = this.filterObjects;\r\n return data;\r\n }\r\n\r\n}\r\n\r\n\r\n\r\nexport interface IGetRecAddressSearchReportQuery {\r\n fromDate?: string | undefined;\r\n toDate?: string | undefined;\r\n towns?: string[] | undefined;\r\n streetNumber?: string | undefined;\r\n streetName?: string | undefined;\r\n doctypes?: string[] | undefined;\r\n sortBy?: string[] | undefined;\r\n sortDirection?: string | undefined;\r\n filterExpression?: string | undefined;\r\n filterObjects?: SearchFilter[] | undefined;\r\n}\r\n\r\nexport class GetRecAddressSearchReportQuery implements IGetRecAddressSearchReportQuery {\r\n fromDate?: string | undefined;\r\n toDate?: string | undefined;\r\n towns?: string[] | undefined;\r\n streetNumber?: string | undefined;\r\n streetName?: string | undefined;\r\n doctypes?: string[] | undefined;\r\n sortBy?: string[] | undefined;\r\n sortDirection?: string | undefined;\r\n filterExpression?: string | undefined;\r\n filterObjects?: SearchFilter[] | undefined;\r\n\r\n constructor(data?: IGetRecAddressSearchReportQuery) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property)) {\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n }\r\n init(data?: any) {\r\n if (data) {\r\n this.fromDate = data[\"fromDate\"];\r\n this.toDate = data[\"toDate\"];\r\n this.towns = [...(data[\"towns\"] as string[])]; //TODO: test this to make sure it's not a shallow copy\r\n this.streetNumber = data[\"streetNumber\"];\r\n this.streetName = data[\"streetName\"];\r\n this.doctypes = [...(data[\"doctypes\"] as string[])];\r\n this.sortBy = [...(data[\"sortBy\"] as string[])];\r\n this.sortDirection = data[\"sortDirection\"];\r\n this.filterExpression = data[\"filterExpression\"];\r\n this.filterObjects = [...(data[\"filterObjects\"]) as SearchFilter[]];\r\n }\r\n }\r\n static fromJS(data: any): GetRecAddressSearchReportQuery {\r\n data = typeof data === 'object' ? data : {};\r\n let result = new GetRecAddressSearchReportQuery();\r\n result.init(data);\r\n return result;\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"fromDate\"] = this.fromDate;\r\n data[\"toDate\"] = this.toDate;\r\n data[\"towns\"] = this.towns;\r\n data[\"streetNumber\"] = this.streetNumber;\r\n data[\"doctypes\"] = this.doctypes;\r\n data[\"streetName\"] = this.streetName;\r\n data[\"sortyBy\"] = this.sortBy;\r\n data[\"sortDirection\"] = this.sortDirection;\r\n data[\"filterExpression\"] = this.filterExpression;\r\n data[\"filterObjects\"] = this.filterObjects;\r\n return data;\r\n }\r\n\r\n}\r\n\r\nexport interface IGetRegNameSearchReportQuery {\r\n lastName?: string | undefined;\r\n firstName?: string | undefined;\r\n roleId?: number | undefined;\r\n fromDate?: string | undefined;\r\n toDate?: string | undefined;\r\n towns?: string[] | undefined;\r\n doctypes?: string[] | undefined;\r\n sortBy?: string[] | undefined;\r\n sortDirection: string | undefined;\r\n filterExpression?: string | undefined;\r\n filterObjects?: SearchFilter[] | undefined;\r\n\r\n}\r\nexport class GetRegNameSearchReportQuery implements IGetRegNameSearchReportQuery {\r\n lastName?: string | undefined;\r\n firstName?: string | undefined;\r\n roleId?: number | undefined;\r\n fromDate?: string | undefined;\r\n toDate?: string | undefined;\r\n towns?: string[] | undefined;\r\n doctypes?: string[] | undefined;\r\n sortBy?: string[] | undefined;\r\n sortDirection: string | undefined;\r\n filterExpression?: string | undefined;\r\n filterObjects?: SearchFilter[] | undefined;\r\n\r\n\r\n constructor(data?: IGetRegNameSearchReportQuery) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n init(data?: any) {\r\n if (data) {\r\n this.lastName = data[\"lastName\"];\r\n this.firstName = data[\"firstName\"];\r\n this.roleId = data[\"roleId\"];\r\n this.fromDate = data[\"fromDate\"];\r\n this.toDate = data[\"toDate\"];\r\n\r\n this.towns = [...(data[\"towns\"] as string[])]; //TODO: test this to make sure it's not a shallow copy\r\n this.doctypes = [...(data[\"doctypes\"] as string[])];\r\n this.sortBy = [...(data[\"sortBy\"] as string[])];\r\n this.sortDirection = data[\"sortDirection\"];\r\n\r\n this.filterExpression = data[\"filterExpression\"];\r\n this.filterObjects = [...(data[\"filterObjects\"]) as SearchFilter[]];\r\n\r\n }\r\n }\r\n\r\n static fromJS(data: any): GetRegNameSearchReportQuery {\r\n data = typeof data === 'object' ? data : {};\r\n let result = new GetRegNameSearchReportQuery();\r\n result.init(data);\r\n return result;\r\n }\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"lastName\"] = this.lastName;\r\n data[\"firstName\"] = this.firstName;\r\n data[\"roleId\"] = this.roleId;\r\n data[\"fromDate\"] = this.fromDate;\r\n data[\"toDate\"] = this.toDate;\r\n data[\"towns\"] = this.towns;\r\n data[\"doctypes\"] = this.doctypes;\r\n data[\"sortyBy\"] = this.sortBy;\r\n data[\"sortDirection\"] = this.sortDirection;\r\n data[\"filterExpression\"] = this.filterExpression;\r\n data[\"filterObjects\"] = this.filterObjects;\r\n\r\n return data;\r\n }\r\n}\r\n","import { formatDate } from \"devextreme/localization\";\r\nimport { SearchFilter, SearchReportResponseBase } from \"./ISearchService\";\r\nimport { Observable, of } from 'rxjs';\r\n\r\nexport interface IGetRecPlanNameSearchQuery {\r\n lName?: string | undefined;\r\n fName?: string | undefined;\r\n type?: string | undefined;\r\n //roleId?: number | undefined;\r\n date?: string | undefined;\r\n endDate?: string | undefined;\r\n //towns?: string[] | undefined;\r\n towns?: string[] | undefined;\r\n}\r\n\r\nexport class GetRecPlanNameSearchQuery implements IGetRecPlanNameSearchQuery {\r\n lName?: string | undefined;\r\n fName?: string | undefined;\r\n type?: string | undefined;\r\n //roleId?: number | undefined;\r\n date?: string | undefined;\r\n endDate?: string | undefined;\r\n //towns?: string[] | undefined;\r\n towns?: string[] | undefined;\r\n\r\n constructor(data?: IGetRecPlanNameSearchQuery) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property)) {\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n }\r\n init(data?: any) {\r\n if (data) {\r\n this.lName = data[\"lName\"];\r\n this.fName = data[\"fName\"];\r\n this.type = data[\"type\"];\r\n this.date = data[\"date\"];\r\n this.endDate = data[\"endDate\"];\r\n //this.towns = data[\"town\"];\r\n this.towns = [...(data[\"towns\"] as string[])]; //TODO: test this to make sure it's not a shallow copy\r\n }\r\n }\r\n\r\n static fromJS(data: any): GetRecPlanNameSearchQuery {\r\n data = typeof data === 'object' ? data : {};\r\n let result = new GetRecPlanNameSearchQuery();\r\n result.init(data);\r\n return result;\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"lName\"] = this.lName;\r\n data[\"fName\"] = this.fName;\r\n data[\"type\"] = this.type;\r\n data[\"date\"] = this.date;\r\n data[\"endDate\"] = this.endDate;\r\n data[\"towns\"] = this.towns; //TODO: test this to make sure it's not a shallow copy\r\n //data[\"town\"] = this.town;\r\n return data;\r\n }\r\n\r\n}\r\n\r\nexport interface IGetRecPlanNameSearchReportQuery extends IGetRecPlanNameSearchQuery {\r\n sortBy?: string[] | undefined;\r\n sortDirection?: string | undefined;\r\n filterObjects?: Array | undefined;\r\n filterExpression?: string | undefined;\r\n\r\n}\r\n\r\nexport class GetRecPlanNameSearchReportQuery extends GetRecPlanNameSearchQuery implements IGetRecPlanNameSearchReportQuery {\r\n sortBy?: string[] | undefined;\r\n filterExpression?: string | undefined;\r\n sortDirection?: string | undefined;\r\n filtersCollection?: string[] | undefined;\r\n filterObjects?: Array | undefined;\r\n\r\n constructor(data?: IGetRecPlanNameSearchReportQuery) {\r\n super(data);\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property)) {\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n }\r\n init(data?: any) {\r\n if (data) {\r\n this.lName = data[\"lName\"];\r\n this.fName = data[\"fName\"];\r\n this.date = data[\"date\"];\r\n this.endDate = data[\"endDate\"];\r\n this.towns = [...(data[\"towns\"] as string[])]; //TODO: test this to make sure it's not a shallow copy\r\n this.type = data[\"type\"];\r\n this.sortBy = [...(data[\"sortBy\"] as string[])];\r\n this.filterExpression = data[\"filterExpression\"];\r\n this.sortDirection = data[\"sortDirection\"];\r\n this.filtersCollection = [...(data[\"filtersCollection\"] as string[])];\r\n this.filterObjects = [...(data[\"filterObjects\"]) as SearchFilter[]];\r\n }\r\n }\r\n\r\n static fromJS(data: any): GetRecPlanNameSearchReportQuery {\r\n data = typeof data === 'object' ? data : {};\r\n let result = new GetRecPlanNameSearchReportQuery();\r\n result.init(data);\r\n return result;\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"lName\"] = this.lName;\r\n data[\"fName\"] = this.fName;\r\n data[\"date\"] = this.date;\r\n data[\"endDate\"] = this.endDate;\r\n data[\"towns\"] = this.towns;\r\n data[\"type\"] = this.type;\r\n data[\"sortyBy\"] = this.sortBy;\r\n data[\"filterExpression\"] = this.filterExpression;\r\n data[\"sortDirection\"] = this.sortDirection;\r\n data[\"filtersCollection\"] = this.filtersCollection;\r\n data[\"filterObjects\"] = this.filterObjects;\r\n return data;\r\n }\r\n}\r\n\r\nexport class GetRecPlanNameSearchReportResponse extends SearchReportResponseBase { }\r\n\r\n\r\nexport interface IGetRecPlanBPSearchQuery {\r\n book?: string | undefined;\r\n page?: string | undefined;\r\n}\r\n\r\nexport class GetRecPlanBPSearchQuery implements IGetRecPlanBPSearchQuery {\r\n book?: string | undefined;\r\n page?: string | undefined;\r\n\r\n constructor(data?: IGetRecPlanBPSearchQuery) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property)) {\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n }\r\n init(data?: any) {\r\n if (data) {\r\n this.book = data[\"book\"];\r\n this.page = data[\"page\"];\r\n }\r\n }\r\n\r\n static fromJS(data: any): GetRecPlanBPSearchQuery {\r\n data = typeof data === 'object' ? data : {};\r\n let result = new GetRecPlanBPSearchQuery();\r\n result.init(data);\r\n return result;\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"book\"] = this.book;\r\n data[\"page\"] = this.page;\r\n return data;\r\n }\r\n\r\n}\r\n\r\n\r\nexport interface IRecPlanNameSearchListVM {\r\n recPlanNameSearchRows?: PlanRoomVM[] | undefined;\r\n}\r\n\r\nexport class RecPlanNameSearchListVM implements IRecPlanNameSearchListVM {\r\n public recPlanNameSearchRows?: PlanRoomVM[] | undefined;\r\n constructor(data?: IRecPlanNameSearchListVM) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(data?: any) {\r\n if (data) {\r\n if (Array.isArray(data[\"planRoomRows\"])) {\r\n this.recPlanNameSearchRows = [] as any;\r\n for (let item of data[\"planRoomRows\"])\r\n this.recPlanNameSearchRows!.push(PlanRoomVM.fromJS(item));\r\n }\r\n }\r\n }\r\n static fromJS(data: any): RecPlanNameSearchListVM {\r\n data = typeof data === 'object' ? data : {};\r\n let result = new RecPlanNameSearchListVM();\r\n result.init(data);\r\n return result;\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n if (Array.isArray(this.recPlanNameSearchRows)) {\r\n data[\"planRoomRows\"] = [];\r\n for (let item of this.recPlanNameSearchRows)\r\n data[\"planRoomRows\"].push(item.toJSON());\r\n }\r\n return data;\r\n }\r\n\r\n}\r\n\r\nexport interface ISearchPlanRoom2ListVM {\r\n recPlanSearchRows?: PlanRoom2VM[] | undefined;\r\n}\r\n\r\nexport class SearchPlanRoom2ListVM implements ISearchPlanRoom2ListVM {\r\n public recPlanSearchRows?: PlanRoom2VM[] | undefined;\r\n constructor(data?: ISearchPlanRoom2ListVM) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(data?: any) {\r\n if (data) {\r\n if (Array.isArray(data[\"planRoom2Rows\"])) {\r\n this.recPlanSearchRows = [] as any;\r\n for (let item of data[\"planRoom2Rows\"])\r\n this.recPlanSearchRows!.push(PlanRoom2VM.fromJS(item));\r\n }\r\n }\r\n }\r\n static fromJS(data: any): SearchPlanRoom2ListVM {\r\n data = typeof data === 'object' ? data : {};\r\n let result = new SearchPlanRoom2ListVM();\r\n result.init(data);\r\n return result;\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n if (Array.isArray(this.recPlanSearchRows)) {\r\n data[\"planRoom2Rows\"] = [];\r\n for (let item of this.recPlanSearchRows)\r\n data[\"planRoom2Rows\"].push(item.toJSON());\r\n }\r\n return data;\r\n }\r\n\r\n}\r\n\r\n\r\nexport interface IPlanRoom2VM {\r\n planID?: number | undefined;\r\n year?: number | undefined;\r\n town?: string | undefined;\r\n book?: string | undefined;\r\n page?: string | undefined;\r\n owner?: string | undefined;\r\n surveyor?: string | undefined;\r\n street?: string | undefined;\r\n localname?: string | undefined;\r\n filedate?: Date | undefined;\r\n drawndate?: Date | undefined;\r\n description?: string | undefined;\r\n bookType?: string | undefined;\r\n\r\n}\r\nexport class PlanRoom2VM implements IPlanRoom2VM {\r\n\r\n public planID?: number | undefined;\r\n public year?: number | undefined;\r\n public town?: string | undefined;\r\n public book?: string | undefined;\r\n public page?: string | undefined;\r\n public owner?: string | undefined;\r\n public surveyor?: string | undefined;\r\n public street?: string | undefined;\r\n public localname?: string | undefined;\r\n public fileDate?: Date | undefined;\r\n public drawnDate?: Date | undefined;\r\n public description?: string | undefined;\r\n public bookType?: string | undefined;\r\n\r\n constructor(data?: IPlanRoom2VM) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n init(data?: any) {\r\n this.planID = data[\"planID\"];\r\n this.year = data[\"year\"];\r\n this.town = data[\"town\"];\r\n this.book = data[\"book\"];\r\n this.page = data[\"page\"];\r\n this.owner = data[\"owner\"];\r\n this.surveyor = data[\"surveyor\"];\r\n this.street = data[\"street\"];\r\n this.localname = data[\"localName\"];\r\n this.fileDate = new Date();\r\n this.fileDate.setTime(Date.parse(data[\"fileDate\"]));//TODO: test\r\n this.drawnDate = new Date();\r\n this.drawnDate.setTime(Date.parse(data[\"drawnDate\"]));\r\n this.description = data[\"description\"];\r\n this.bookType = data[\"bookType\"];\r\n }\r\n\r\n static fromJS(data: any): PlanRoom2VM {\r\n data = typeof data === 'object' ? data : {};\r\n let result = new PlanRoom2VM();\r\n result.init(data);\r\n return result;\r\n }\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"planID\"] = this.planID;\r\n data[\"fileDate\"] = formatDate(this.fileDate, \"shortDate\");\r\n data[\"drawnDate\"] = formatDate(this.drawnDate, \"shortDate\");\r\n data[\"year\"] = this.year;\r\n data[\"town\"] = this.town;\r\n data[\"book\"] = this.book;\r\n data[\"page\"] = this.page;\r\n data[\"owner\"] = this.owner;\r\n data[\"surveyor\"] = this.surveyor;\r\n data[\"street\"] = this.street;\r\n data[\"localName\"] = this.localname;\r\n data[\"fileDate\"] = formatDate(this.fileDate, \"shortDate\");\r\n data[\"drawnDate\"] = formatDate(this.drawnDate, \"shortDate\");\r\n data[\"description\"] = this.description;\r\n data[\"bookType\"] = this.bookType;\r\n\r\n }\r\n\r\n}\r\n\r\nexport interface IPlanRoomVM {\r\n planID?: number | undefined;\r\n year?: number | undefined;\r\n town?: string | undefined;\r\n book?: string | undefined;\r\n page?: string | undefined;\r\n owner?: string | undefined;\r\n surveyor?: string | undefined;\r\n street?: string | undefined;\r\n localname?: string | undefined;\r\n fileDate?: Date | undefined;\r\n drawnDate?: Date | undefined;\r\n description?: string | undefined;\r\n bookType?: string | undefined;\r\n\r\n}\r\nexport class PlanRoomVM implements IPlanRoomVM {\r\n\r\n public planID?: number | undefined;\r\n public year?: number | undefined;\r\n public town?: string | undefined;\r\n public book?: string | undefined;\r\n public page?: string | undefined;\r\n public owner?: string | undefined;\r\n public surveyor?: string | undefined;\r\n public street?: string | undefined;\r\n public localname?: string | undefined;\r\n public fileDate?: Date | undefined;\r\n public drawnDate?: Date | undefined;\r\n public description?: string | undefined;\r\n public bookType?: string | undefined;\r\n\r\n constructor(data?: IPlanRoomVM) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n init(data?: any) {\r\n this.planID = data[\"planID\"];\r\n this.year = data[\"year\"];\r\n this.town = data[\"town\"];\r\n this.book = data[\"book\"];\r\n this.page = data[\"page\"];\r\n this.owner = data[\"owner\"];\r\n this.surveyor = data[\"surveyor\"];\r\n this.street = data[\"street\"];\r\n this.localname = data[\"localName\"];\r\n this.fileDate = new Date();\r\n this.fileDate.setTime(Date.parse(data[\"fileDate\"]));//TODO: test\r\n this.drawnDate = new Date();\r\n this.drawnDate.setTime(Date.parse(data[\"drawnDate\"]));\r\n this.description = data[\"description\"];\r\n this.bookType = data[\"bookType\"];\r\n }\r\n\r\n static fromJS(data: any): PlanRoomVM {\r\n data = typeof data === 'object' ? data : {};\r\n let result = new PlanRoomVM();\r\n result.init(data);\r\n return result;\r\n }\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"planID\"] = this.planID;\r\n data[\"fileDate\"] = formatDate(this.fileDate, \"shortDate\");\r\n data[\"drawnDate\"] = formatDate(this.drawnDate, \"shortDate\");\r\n data[\"year\"] = this.year;\r\n data[\"town\"] = this.town;\r\n data[\"book\"] = this.book;\r\n data[\"page\"] = this.page;\r\n data[\"owner\"] = this.owner;\r\n data[\"surveyor\"] = this.surveyor;\r\n data[\"street\"] = this.street;\r\n data[\"localName\"] = this.localname;\r\n data[\"fileDate\"] = formatDate(this.fileDate, \"shortDate\");\r\n data[\"drawnDate\"] = formatDate(this.drawnDate, \"shortDate\");\r\n data[\"description\"] = this.description;\r\n data[\"bookType\"] = this.bookType;\r\n\r\n }\r\n\r\n}\r\n\r\nexport class PlanImgPage {\r\n // $LoudName\r\n public imgLabel: string;\r\n // $LoudName\r\n public imgPath: string;\r\n // $LoudName\r\n public imgPage: number;\r\n}\r\n\r\nexport class PlanImgObject {\r\n // $LoudName\r\n public imgType: string;\r\n // $LoudName\r\n public pageList: PlanImgPage[];\r\n}\r\n\r\n\r\n\r\nexport interface IGetRegPlanOwnerSearchQuery {\r\n ownerLName?: string | undefined;\r\n ownerFName?: string | undefined;\r\n towns?: string[] | undefined;\r\n}\r\n\r\nexport class GetRegPlanOwnerSearchQuery implements IGetRegPlanOwnerSearchQuery {\r\n ownerLName?: string | undefined;\r\n ownerFName?: string | undefined;\r\n towns?: string[] | undefined;\r\n\r\n constructor(data?: IGetRegPlanOwnerSearchQuery) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property)) {\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n }\r\n init(data?: any) {\r\n if (data) {\r\n this.ownerLName = data[\"ownerLName\"];\r\n this.ownerFName = data[\"ownerFName\"]\r\n this.towns = [...(data[\"towns\"] as string[])];\r\n }\r\n }\r\n\r\n static fromJS(data: any): GetRegPlanOwnerSearchQuery {\r\n data = typeof data === 'object' ? data : {};\r\n let result = new GetRegPlanOwnerSearchQuery();\r\n result.init(data);\r\n return result;\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"ownerLName\"] = this.ownerLName;\r\n data[\"ownerFName\"] = this.ownerFName;\r\n data[\"towns\"] = this.towns;\r\n return data;\r\n }\r\n\r\n}\r\n\r\n\r\nexport interface IGetRegPlanStreetSearchQuery {\r\n street?: string | undefined;\r\n towns?: string[] | undefined;\r\n}\r\n\r\nexport class GetRegPlanStreetSearchQuery implements IGetRegPlanStreetSearchQuery {\r\n street?: string | undefined;\r\n towns?: string[] | undefined;\r\n\r\n constructor(data?: IGetRegPlanStreetSearchQuery) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property)) {\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n }\r\n init(data?: any) {\r\n if (data) {\r\n this.street = data[\"street\"];\r\n this.towns = [...(data[\"towns\"] as string[])];\r\n }\r\n }\r\n\r\n static fromJS(data: any): GetRegPlanStreetSearchQuery {\r\n data = typeof data === 'object' ? data : {};\r\n let result = new GetRegPlanStreetSearchQuery();\r\n result.init(data);\r\n return result;\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"street\"] = this.street;\r\n data[\"towns\"] = this.towns;\r\n return data;\r\n }\r\n\r\n}\r\n\r\nexport interface IGetRegPlanNumSearchQuery {\r\n planNum?: string | undefined;\r\n\r\n}\r\n\r\nexport class GetRegPlanNumSearchQuery implements IGetRegPlanNumSearchQuery {\r\n planNum?: string | undefined;\r\n\r\n constructor(data?: IGetRegPlanNumSearchQuery) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property)) {\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n }\r\n init(data?: any) {\r\n if (data) {\r\n this.planNum = data[\"planNum\"];\r\n }\r\n }\r\n\r\n static fromJS(data: any): GetRegPlanNumSearchQuery {\r\n data = typeof data === 'object' ? data : {};\r\n let result = new GetRegPlanNumSearchQuery();\r\n result.init(data);\r\n return result;\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"planNum\"] = this.planNum;\r\n return data;\r\n }\r\n\r\n}\r\n\r\n\r\nexport interface IGetRegGetPlanPagesQuery {\r\n planName?: string | undefined;\r\n imageType?: string | undefined;\r\n imageExtension?: string | undefined;\r\n pathType?: number | undefined;\r\n\r\n}\r\n\r\nexport class GetRegGetPlanPagesQuery implements IGetRegGetPlanPagesQuery {\r\n planName?: string | undefined;\r\n imageType?: string | undefined;\r\n imageExtension?: string | undefined;\r\n pathType?: number | undefined;\r\n\r\n constructor(data?: IGetRegGetPlanPagesQuery) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property)) {\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n }\r\n init(data?: any) {\r\n if (data) {\r\n this.planName = data[\"planName\"];\r\n this.imageType = data[\"imageType\"];\r\n this.imageExtension = data[\"imageExtension\"];\r\n this.pathType = data[\"pathType\"];\r\n\r\n }\r\n }\r\n\r\n static fromJS(data: any): GetRegGetPlanPagesQuery {\r\n data = typeof data === 'object' ? data : {};\r\n let result = new GetRegGetPlanPagesQuery();\r\n result.init(data);\r\n return result;\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"planName\"] = this.planName;\r\n data[\"imageType\"] = this.imageType;\r\n data[\"imageExtension\"] = this.imageExtension;\r\n data[\"pathType\"] = this.pathType;\r\n return data;\r\n }\r\n\r\n}\r\n\r\n\r\nexport interface ILCPlansVM {\r\n planCaseNum?: string | undefined;\r\n certId?: number | undefined;\r\n certNum?: string | undefined;\r\n planID?: number | undefined;\r\n townAbbrName?: string | undefined;\r\n strtName?: string | undefined;\r\n strtNum?: string | undefined;\r\n ownerName?: string | undefined;\r\n}\r\nexport class LCPlansVM implements ILCPlansVM {\r\n\r\n public planCaseNum?: string | undefined;\r\n public certId?: number | undefined;\r\n public certNum?: string | undefined;\r\n public planID?: number | undefined;\r\n public townAbbrName?: string | undefined;\r\n public strtName?: string | undefined;\r\n public strtNum?: string | undefined;\r\n public ownerName?: string | undefined;\r\n\r\n constructor(data?: ILCPlansVM) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n init(data?: any) {\r\n this.planCaseNum = data[\"planCaseNum\"];\r\n this.certId = data[\"certId\"];\r\n this.certNum = data[\"certNum\"];\r\n this.planID = data[\"planID\"];\r\n this.townAbbrName = data[\"townAbbrName\"];\r\n this.strtName = data[\"strtName\"];\r\n this.strtNum = data[\"strtNum\"];\r\n this.ownerName = data[\"ownerName\"];\r\n }\r\n\r\n static fromJS(data: any): LCPlansVM {\r\n data = typeof data === 'object' ? data : {};\r\n let result = new LCPlansVM();\r\n result.init(data);\r\n return result;\r\n }\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"planCaseNum\"] = this.planCaseNum;\r\n data[\"certId\"] = this.certId;\r\n data[\"certNum\"] = this.certNum;\r\n data[\"planID\"] = this.planID;\r\n data[\"townAbbrName\"] = this.townAbbrName;\r\n data[\"strtName\"] = this.strtName;\r\n data[\"strtNum\"] = this.strtNum;\r\n data[\"ownerName\"] = this.ownerName;\r\n }\r\n\r\n}\r\n\r\nexport interface ILCPlansListVM {\r\n regPlanSearchRows?: LCPlansVM[] | undefined;\r\n}\r\n\r\n\r\nexport class LCPlansListVM implements ILCPlansListVM {\r\n public regPlanSearchRows?: LCPlansVM[] | undefined;\r\n constructor(data?: ILCPlansListVM) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(data?: any) {\r\n if (data) {\r\n if (Array.isArray(data[\"lcPlanRows\"])) {\r\n this.regPlanSearchRows = [] as any;\r\n for (let item of data[\"lcPlanRows\"])\r\n this.regPlanSearchRows!.push(LCPlansVM.fromJS(item));\r\n }\r\n }\r\n }\r\n static fromJS(data: any): LCPlansListVM {\r\n data = typeof data === 'object' ? data : {};\r\n let result = new LCPlansListVM();\r\n result.init(data);\r\n return result;\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n if (Array.isArray(this.regPlanSearchRows)) {\r\n data[\"lcPlanRows\"] = [];\r\n for (let item of this.regPlanSearchRows)\r\n data[\"lcPlanRows\"].push(item.toJSON());\r\n }\r\n return data;\r\n }\r\n\r\n}\r\n\r\nexport interface IGetSBImagesQuery {\r\n emailList?: boolean | undefined;\r\n emailAddress?: string | undefined;\r\n zipList?: boolean | undefined;\r\n sBList?: Array;\r\n sBCred?: string | undefined;\r\n subType?: number | undefined;\r\n intID?: string | undefined;\r\n intDesc?: string | undefined;\r\n optPhone?: string | undefined;\r\n optZCode?: string | undefined;\r\n}\r\nexport class GetSBImagesQuery implements IGetSBImagesQuery {\r\n public emailList?: boolean | undefined;\r\n public emailAddress?: string | undefined;\r\n public zipList?: boolean | undefined;\r\n public sBList?: SBListDTO[] | undefined;\r\n sBCred?: string | undefined;\r\n subType?: number | undefined;\r\n intID?: string | undefined;\r\n intDesc?: string | undefined;\r\n optPhone?: string | undefined;\r\n optZCode?: string | undefined;\r\n\r\n constructor(data?: IGetSBImagesQuery) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(data?: any) {\r\n this.emailList = data[\"emailList\"];\r\n this.emailAddress = data[\"emailAddress\"];\r\n this.zipList = data[\"zipList\"];\r\n if (Array.isArray(data[\"sBList\"])) {\r\n this.sBList = [] as any;\r\n for (let item of data[\"sBList\"])\r\n this.sBList!.push(SBListDTO.fromJS(item));\r\n }\r\n this.sBCred = data[\"sBCred\"];\r\n this.subType = data[\"subType\"];\r\n this.intID = data[\"intID\"];\r\n this.intDesc = data[\"intDesc\"];\r\n this.optPhone = data[\"optPhone\"];\r\n this.optZCode = data[\"optZCode\"];\r\n }\r\n static fromJS(data: any): GetSBImagesQuery {\r\n data = typeof data === 'object' ? data : {};\r\n let result = new GetSBImagesQuery();\r\n result.init(data);\r\n return result;\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"emailList\"] = this.emailList;\r\n data[\"emailAddress\"] = this.emailAddress;\r\n data[\"zipList\"] = this.zipList;\r\n if (Array.isArray(this.sBList)) {\r\n data[\"sBList\"] = [];\r\n for (let item of this.sBList)\r\n data[\"sBList\"].push(item.toJSON());\r\n }\r\n data[\"sBCred\"] = this.sBCred;\r\n data[\"subType\"] = this.subType;\r\n data[\"intID\"] = this.intID;\r\n data[\"intDesc\"] = this.intDesc;\r\n data[\"optPhone\"] = this.optPhone;\r\n data[\"optZCode\"] = this.optZCode;\r\n return data;\r\n\r\n }\r\n}\r\n\r\nexport interface ISBListDTO {\r\n imageType?: string | undefined; //pdf = PDF, tif = TIFF\r\n department?: string | undefined; //R = recorded land, L = registered land\r\n bookDoc?: string | undefined;\r\n bookPage?: string | undefined;\r\n pages?: string[] | undefined;\r\n wholeDoc?: boolean | undefined;\r\n docType?: string | undefined;\r\n docPageCount?: number | undefined;\r\n}\r\n\r\nexport class SBListDTO implements ISBListDTO {\r\n public imageType?: string | undefined; //pdf = PDF, tif = TIFF\r\n public department?: string | undefined; //R = recorded land, L = registered land\r\n public bookDoc?: string | undefined;\r\n public bookPage?: string | undefined;\r\n public pages?: Array | undefined;\r\n public wholeDoc?: boolean | undefined;\r\n public docType?: string | undefined;\r\n public docPageCount?: number | undefined;\r\n\r\n constructor(data?: ISBListDTO) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n init(data?: any) {\r\n this.imageType = data[\"imageType\"];\r\n this.department = data[\"department\"];\r\n this.bookDoc = data[\"bookDoc\"];\r\n this.bookPage = data[\"bookPage\"];\r\n if (Array.isArray(data[\"pages\"])) {\r\n this.pages = [];\r\n for (let item of data[\"pages\"])\r\n this.pages!.push(item);\r\n }\r\n\r\n this.wholeDoc = data[\"wholeDoc\"];\r\n this.docType = data[\"docType\"];\r\n this.docPageCount = data[\"docPageCount\"]\r\n }\r\n static fromJS(data: any): SBListDTO {\r\n data = typeof data === 'object' ? data : {};\r\n let result = new SBListDTO();\r\n result.init(data);\r\n return result;\r\n }\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"imageType\"] = this.imageType;\r\n data[\"department\"] = this.department;\r\n data[\"bookDoc\"] = this.bookDoc;\r\n data[\"bookPage\"] = this.bookPage;\r\n if (Array.isArray(this.pages)) {\r\n data[\"pages\"] = [];\r\n for (let item of this.pages)\r\n data[\"pages\"].push(item);\r\n }\r\n\r\n data[\"wholeDoc\"] = this.wholeDoc;\r\n data[\"docType\"] = this.docType;\r\n data[\"docPageCount\"] = this.docPageCount;\r\n return data;\r\n\r\n }\r\n\r\n\r\n}\r\n\r\nexport class basketVM {\r\n pageCount: number;\r\n isEmail: boolean;\r\n emailAs: string;\r\n isDownload: boolean;\r\n downloadAs: string;\r\n isPDF: boolean;\r\n isTIF: boolean;\r\n wholeDoc: boolean;\r\n pages: Array;\r\n imagepaths: Array;\r\n planname: string | undefined;\r\n book: string | undefined;\r\n page: string | undefined;\r\n dept: string;\r\n document: string | undefined;\r\n docType: string | undefined;\r\n}\r\n\r\nexport class IndexGroupsVM {\r\n dateRange: string;\r\n\r\n dateGroup: number;\r\n\r\n torTee: number;\r\n\r\n active: string;\r\n\r\n majorGrouop: number;\r\n}\r\n\r\nexport class IndexVM {\r\n indexName: string;\r\n indexImagePath: string;\r\n indexBook: string;\r\n indexPage: string;\r\n indexGroup: string;\r\n dateGroup: number;\r\n}\r\n\r\n\r\n\r\n","import { IndexGroupsVM } from \"./ISearchServiceReg\";\r\n\r\nexport class NameCIF {\r\n name: string;\r\n}\r\n\r\nexport class PlanRoleCIF {\r\n planroleID: number | undefined;\r\n}\r\nexport class AddressCIF {\r\n address: string;\r\n}\r\nexport class PlanNumCIF {\r\n plannum: string;\r\n}\r\n\r\nexport class PlanCertTypeCIF {\r\n id: number;\r\n certnum: string;\r\n}\r\nexport class UnindexDateRangeCIF {\r\n dateranges: IndexGroupsVM[];\r\n}\r\n\r\nexport class RoleTypeCIF {\r\n roleID: number | undefined;\r\n}\r\n\r\nexport class UnindexDateRange {\r\n dateRangeId: number | undefined;\r\n dateRange: string | undefined;\r\n IsSelected: boolean;\r\n}\r\n\r\nexport class CompoundNameIdxCIF {\r\n lastcorpName: string;\r\n fName: string;\r\n}\r\n\r\nexport class RoleCIF {\r\n roleID: number | undefined;\r\n}\r\n","import { CityTownVM, DocTypeVM } from \"./ISearchService\";\r\nimport { IndexGroupsVM } from \"./ISearchServiceReg\";\r\n\r\nexport class Utility {\r\n fromDate: string;\r\n toDate: string;\r\n lastcorpName: string;\r\n fName: string;\r\n citytowns: CityTownVM[];\r\n doctypes: DocTypeVM[];\r\n //docCategory: string;\r\n //doctype: string;\r\n roleID: number;\r\n contains: number;\r\n lastcorpName2: string;\r\n fName2: string;\r\n role2ID: number;\r\n indexId: number;\r\n streetNumber: string;\r\n streetAddress: string;\r\n book: string;\r\n page: string;\r\n docnum: string;\r\n fromAmount: string;\r\n toAmount: string;\r\n //set LastCorpName(value: string) {\r\n // this._lastcorpName = value;\r\n //}\r\n\r\n //get LastCorpName(): string {\r\n // return this._lastcorpName;\r\n\r\n //} \r\n}\r\n\r\nexport class CompoundNameCIF {\r\n lastcorpName: string;\r\n fName: string;\r\n}\r\n\r\nexport class CompoundName2CIF {\r\n lastcorpName2: string;\r\n fName2: string;\r\n}\r\n\r\nexport class CompoundDoubleNameCIF {\r\n lastcorpName: string;\r\n fName: string;\r\n roleID: number;\r\n lastcorpName2: string;\r\n fName2: string;\r\n roleID2: number;\r\n}\r\n\r\nexport class CityTownCIF {\r\n citytowns: CityTownVM[];\r\n}\r\n\r\nexport class RoleCIF {\r\n roleID: number | undefined;\r\n}\r\nexport class Role2CIF {\r\n role2ID: number | undefined;\r\n}\r\n\r\nexport class ContainsCIF {\r\n contains: number | undefined;\r\n}\r\n\r\nexport class SelectIndexCIF {\r\n indexId: number | undefined;\r\n}\r\n\r\nexport class AddressCIF {\r\n streetNumber: string;\r\n streetAddress: string;\r\n}\r\nexport class DateRangeCIF {\r\n fromDate: Date;\r\n toDate: Date;\r\n}\r\nexport class DocTypeCIF {\r\n doctypes: DocTypeVM[];\r\n}\r\n\r\nexport class DocNumCIF {\r\n docnum: string;\r\n}\r\n\r\nexport class DocNumcompoundCIF {\r\n docNumPrimary: string;\r\n docNumSecondary: string;\r\n}\r\n\r\nexport class AmountRangeCIF {\r\n type: string = 'rng';\r\n fromAmount?: number | undefined;\r\n toAmount?: number | undefined;\r\n}\r\n\r\nexport class DocCategoriesCIF {\r\n mortgages: boolean;\r\n conveyances: boolean;\r\n}\r\n\r\nexport class DocCategories2CIF {\r\n //deeds: boolean;\r\n //homestead: boolean;\r\n //foreclosures: boolean;\r\n //liensAndMortgages: boolean;\r\n //discharges: boolean;\r\n //allDocuments: boolean;\r\n docCategory: string;\r\n}\r\n\r\nexport class CertNumCIF {\r\n certnum: string;\r\n}\r\n\r\nexport class NameCIF {\r\n name: string;\r\n}\r\n\r\nexport class PlanRoleCIF {\r\n planroleID: number | undefined;\r\n}\r\n\r\nexport class PlanNumCIF {\r\n plannum: string;\r\n}\r\n\r\nexport class PlanCertTypeCIF {\r\n id: number;\r\n certnum: string;\r\n}\r\nexport class UnindexDateRangeCIF {\r\n dateranges: IndexGroupsVM[];\r\n}\r\n\r\nexport class RoleTypeCIF {\r\n roleID: number | undefined;\r\n}\r\n\r\nexport class UnindexDateRange {\r\n dateRangeId: number | undefined;\r\n dateRange: string | undefined;\r\n IsSelected: boolean;\r\n}\r\n\r\nexport class CompoundNameIdxCIF {\r\n lastcorpName: string;\r\n fName: string;\r\n}\r\n","//export class basketVM {\r\n// bookpage: string;\r\n// // page: string;\r\n// pageCount: number;\r\n// isEmail: boolean;\r\n// emailAs: string;\r\n// isDownload: boolean;\r\n// downloadAs: string;\r\n// includeDetail: boolean;\r\n// docType: string;\r\n// isPDF: boolean;\r\n// isTIF: boolean;\r\n// wholeDoc: boolean;\r\n// //book: string;\r\n// //page: string;\r\n// pages: Array;\r\n// beginBook: string | undefined;\r\n// beginPage: string | undefined;\r\n// begindocnum: string | undefined;\r\n// docId: string;\r\n// dept: string;\r\n\r\n//}\r\n\r\nexport class basketVM {\r\n bookpage: string;\r\n // page: string;\r\n pageCount: number;\r\n isEmail: boolean;\r\n emailAs: string;\r\n isDownload: boolean;\r\n downloadAs: string;\r\n includeDetail: boolean;\r\n docType: string;\r\n isPDF: boolean;\r\n isTIF: boolean;\r\n wholeDoc: boolean;\r\n //book: string;\r\n //page: string;\r\n pages: Array;\r\n beginBook: string | undefined;\r\n beginPage: string | undefined;\r\n begindocnum: string | undefined;\r\n docId: string;\r\n dept: string;\r\n\r\n}\r\n","export class ccPaymentVM {\r\n ccNum: string = '';\r\n realccNum: string = '';\r\n ccFname: string = '';\r\n ccLname: string = '';\r\n ccMonth: string = '';\r\n ccYear: string = '';\r\n ccv: string = '';\r\n ccZip: string = '';\r\n ccAmount: number = 0;\r\n authCode: string = '';\r\n orderId: string = '';\r\n status: string = '';\r\n\r\n}\r\n","// Section 1\r\nimport { Injectable } from '@angular/core'\r\nimport { Action } from '@ngrx/store'\r\nimport { AddressCIF } from '../../shared/viewmodels/UtilityObj';\r\n\r\n\r\n// Section 2\r\nexport const ADD_ADDRESS = '[ADDRESS] Add'\r\nexport const REMOVE_ADDRESS = '[ADDRESS] Remove'\r\n\r\n// Section 3\r\nexport class AddAddress implements Action {\r\n readonly type = ADD_ADDRESS\r\n\r\n constructor(public payload: AddressCIF) { }\r\n}\r\n\r\nexport class RemoveAddress implements Action {\r\n readonly type = REMOVE_ADDRESS\r\n\r\n constructor(public payload: number) { }\r\n}\r\n\r\n// Section 4\r\nexport type AddressActions = AddAddress | RemoveAddress\r\n","// Section 1\r\nimport { Injectable } from '@angular/core'\r\nimport { Action } from '@ngrx/store'\r\nimport { AmountRangeCIF } from '../../shared/viewmodels/UtilityObj';\r\n\r\n\r\n// Section 2\r\nexport const ADD_AMOUNT = '[AMOUNT] Add'\r\nexport const REMOVE_AMOUNT = '[AMOUNT] Remove'\r\n\r\n// Section 3\r\nexport class AddAmount implements Action {\r\n readonly type = ADD_AMOUNT\r\n\r\n constructor(public payload: AmountRangeCIF) { }\r\n}\r\n\r\nexport class RemoveAmount implements Action {\r\n readonly type = REMOVE_AMOUNT\r\n\r\n constructor(public payload: number) { }\r\n}\r\n\r\n// Section 4\r\nexport type AmountActions = AddAmount | RemoveAmount\r\n","// Section 1\r\nimport { Injectable } from '@angular/core'\r\nimport { Action } from '@ngrx/store'\r\nimport { DocNumcompoundCIF } from '../../shared/viewmodels/UtilityObj';\r\n\r\n\r\n// Section 2\r\nexport const ADD_BP = '[BP] Add'\r\nexport const REMOVE_BP = '[BP] Remove'\r\n\r\n// Section 3\r\nexport class AddBP implements Action {\r\n readonly type = ADD_BP\r\n\r\n constructor(public payload: DocNumcompoundCIF) { }\r\n}\r\n\r\nexport class RemoveBP implements Action {\r\n readonly type = REMOVE_BP\r\n\r\n constructor(public payload: number) { }\r\n}\r\n\r\n// Section 4\r\nexport type BPActions = AddBP | RemoveBP\r\n","// Section 1\r\nimport { Injectable } from '@angular/core'\r\nimport { Action } from '@ngrx/store'\r\nimport { CertNumCIF } from '../../shared/viewmodels/UtilityObj';\r\n\r\n\r\n// Section 2\r\nexport const ADD_CERTNUM = '[CERTNUM] Add'\r\nexport const REMOVE_CERTNUM = '[CERTNUM] Remove'\r\n\r\n// Section 3\r\nexport class AddCertNum implements Action {\r\n readonly type = ADD_CERTNUM\r\n\r\n constructor(public payload: CertNumCIF) { }\r\n}\r\n\r\nexport class RemoveCertNum implements Action {\r\n readonly type = REMOVE_CERTNUM\r\n\r\n constructor(public payload: number) { }\r\n}\r\n\r\n// Section 4\r\nexport type CertNumActions = AddCertNum | RemoveCertNum\r\n","// Section 1\r\nimport { Injectable } from '@angular/core'\r\nimport { Action } from '@ngrx/store'\r\nimport { CityTownCIF } from '../../shared/viewmodels/UtilityObj';\r\n\r\n\r\n// Section 2\r\nexport const ADD_CITY = '[CITY] Add'\r\nexport const REMOVE_CITY = '[CITY] Remove'\r\n\r\n// Section 3\r\nexport class AddCity implements Action {\r\n readonly type = ADD_CITY\r\n\r\n constructor(public payload: CityTownCIF) { }\r\n}\r\n\r\nexport class RemoveCity implements Action {\r\n readonly type = REMOVE_CITY\r\n\r\n constructor(public payload: number) { }\r\n}\r\n\r\n// Section 4\r\nexport type CityActions = AddCity | RemoveCity\r\n","// Section 1\r\nimport { Injectable } from '@angular/core'\r\nimport { Action } from '@ngrx/store'\r\nimport { CompoundNameIdxCIF } from '../../shared/viewmodels/RegUtility';\r\n\r\n\r\n// Section 2\r\nexport const ADD_NAME = '[NAME] Add'\r\nexport const REMOVE_NAME = '[NAME] Remove'\r\n\r\n// Section 3\r\nexport class AddName implements Action {\r\n readonly type = ADD_NAME\r\n\r\n constructor(public payload: CompoundNameIdxCIF) { }\r\n}\r\n\r\nexport class RemoveName implements Action {\r\n readonly type = REMOVE_NAME\r\n\r\n constructor(public payload: number) { }\r\n}\r\n\r\n// Section 4\r\nexport type NameActions = AddName | RemoveName\r\n","// Section 1\r\nimport { Injectable } from '@angular/core'\r\nimport { Action } from '@ngrx/store'\r\nimport { ContainsCIF } from '../../shared/viewmodels/UtilityObj';\r\n\r\n\r\n// Section 2\r\nexport const ADD_CONTAINS = '[CONTAINS] Add'\r\nexport const REMOVE_CONTAINS = '[CONTAINS] Remove'\r\n\r\n// Section 3\r\nexport class AddContains implements Action {\r\n readonly type = ADD_CONTAINS\r\n\r\n constructor(public payload: ContainsCIF) { }\r\n}\r\n\r\nexport class RemoveContains implements Action {\r\n readonly type = REMOVE_CONTAINS\r\n\r\n constructor(public payload: number) { }\r\n}\r\n\r\n// Section 4\r\nexport type ContainsActions = AddContains | RemoveContains\r\n","// Section 1\r\nimport { Injectable } from '@angular/core'\r\nimport { Action } from '@ngrx/store'\r\nimport { DateRangeCIF } from '../../shared/viewmodels/UtilityObj';\r\n\r\n\r\n// Section 2\r\nexport const ADD_DATE = '[DATE] Add'\r\nexport const REMOVE_DATE = '[DATE] Remove'\r\n\r\n// Section 3\r\nexport class AddDate implements Action {\r\n readonly type = ADD_DATE\r\n\r\n constructor(public payload: DateRangeCIF) { }\r\n}\r\n\r\nexport class RemoveDate implements Action {\r\n readonly type = REMOVE_DATE\r\n\r\n constructor(public payload: number) { }\r\n}\r\n\r\n// Section 4\r\nexport type DateActions = AddDate | RemoveDate\r\n","// Section 1\r\nimport { Injectable } from '@angular/core'\r\nimport { Action } from '@ngrx/store'\r\nimport { DocCategoriesCIF } from '../../shared/viewmodels/UtilityObj';\r\n\r\n// Section 2\r\nexport const ADD_DOCCATEGORIES = '[DOCCATEGORIES] Add'\r\nexport const REMOVE_DOCCATEGORIES = '[DOCCATEGORIES] Remove'\r\n\r\n// Section 3\r\nexport class AddDocCategories implements Action {\r\n readonly type = ADD_DOCCATEGORIES\r\n\r\n constructor(public payload: DocCategoriesCIF) { }\r\n}\r\n\r\nexport class RemoveDocCategories implements Action {\r\n readonly type = REMOVE_DOCCATEGORIES\r\n\r\n constructor(public payload: number) { }\r\n}\r\n\r\n// Section 4\r\nexport type DocCategoriesActions = AddDocCategories | RemoveDocCategories\r\n","// Section 1\r\nimport { Injectable } from '@angular/core'\r\nimport { Action } from '@ngrx/store'\r\nimport { DocCategories2CIF } from '../../shared/viewmodels/UtilityObj';\r\n\r\n\r\n// Section 2\r\nexport const ADD_DOCCATEGORIES2 = '[DOCCATEGORIES2] Add'\r\nexport const REMOVE_DOCCATEGORIES2 = '[DOCCATEGORIES2] Remove'\r\n\r\n// Section 3\r\nexport class AddDocCategories2 implements Action {\r\n readonly type = ADD_DOCCATEGORIES2\r\n\r\n constructor(public payload: DocCategories2CIF) { }\r\n}\r\n\r\nexport class RemoveDocCategories2 implements Action {\r\n readonly type = REMOVE_DOCCATEGORIES2\r\n\r\n constructor(public payload: number) { }\r\n}\r\n\r\n// Section 4\r\nexport type DocCategories2Actions = AddDocCategories2 | RemoveDocCategories2\r\n\r\n","// Section 1\r\nimport { Injectable } from '@angular/core'\r\nimport { Action } from '@ngrx/store'\r\nimport { DocNumCIF } from '../../shared/viewmodels/UtilityObj';\r\n\r\n\r\n// Section 2\r\nexport const ADD_DOCNUM = '[DOCNUM] Add'\r\nexport const REMOVE_DOCNUM = '[DOCNUM] Remove'\r\n\r\n// Section 3\r\nexport class AddDocNum implements Action {\r\n readonly type = ADD_DOCNUM\r\n\r\n constructor(public payload: DocNumCIF) { }\r\n}\r\n\r\nexport class RemoveDocNum implements Action {\r\n readonly type = REMOVE_DOCNUM\r\n\r\n constructor(public payload: number) { }\r\n}\r\n\r\n// Section 4\r\nexport type DocNumActions = AddDocNum | RemoveDocNum\r\n","// Section 1\r\nimport { Injectable } from '@angular/core'\r\nimport { Action } from '@ngrx/store'\r\nimport { DocTypeCIF } from '../../shared/viewmodels/UtilityObj';\r\n\r\n\r\n// Section 2\r\nexport const ADD_DOCT = '[DOCT] Add'\r\nexport const REMOVE_DOCT = '[DOCT] Remove'\r\n\r\n// Section 3\r\nexport class AddDoct implements Action {\r\n readonly type = ADD_DOCT\r\n\r\n constructor(public payload: DocTypeCIF) { }\r\n}\r\n\r\nexport class RemoveDoct implements Action {\r\n readonly type = REMOVE_DOCT\r\n\r\n constructor(public payload: number) { }\r\n}\r\n\r\n// Section 4\r\nexport type DoctActions = AddDoct | RemoveDoct\r\n","// Section 1\r\nimport { Injectable } from '@angular/core'\r\nimport { Action } from '@ngrx/store'\r\nimport { NameCIF } from '../../shared/viewmodels/UtilityObj';\r\n\r\n\r\n// Section 2\r\nexport const ADD_NAME = '[NAME] Add'\r\nexport const REMOVE_NAME = '[NAME] Remove'\r\n\r\n// Section 3\r\nexport class AddName implements Action {\r\n readonly type = ADD_NAME\r\n\r\n constructor(public payload: NameCIF) { }\r\n}\r\n\r\nexport class RemoveName implements Action {\r\n readonly type = REMOVE_NAME\r\n\r\n constructor(public payload: number) { }\r\n}\r\n\r\n// Section 4\r\nexport type NameActions = AddName | RemoveName\r\n","// Section 1\r\nimport { Injectable } from '@angular/core'\r\nimport { Action } from '@ngrx/store'\r\nimport { PlanCertTypeCIF } from '../../shared/viewmodels/RegUtility';\r\n\r\n\r\n// Section 2\r\nexport const ADD_CERTTYPE = '[CERTTYPE] Add'\r\nexport const REMOVE_CERTTYPE = '[CERTTYPE] Remove'\r\n\r\n// Section 3\r\nexport class AddCertType implements Action {\r\n readonly type = ADD_CERTTYPE\r\n\r\n constructor(public payload: PlanCertTypeCIF) { }\r\n}\r\n\r\nexport class RemoveCertType implements Action {\r\n readonly type = REMOVE_CERTTYPE\r\n\r\n constructor(public payload: number) { }\r\n}\r\n\r\n// Section 4\r\nexport type CertTypeActions = AddCertType | RemoveCertType\r\n","// Section 1\r\nimport { Injectable } from '@angular/core'\r\nimport { Action } from '@ngrx/store'\r\nimport { PlanNumCIF } from '../../shared/viewmodels/RegUtility';\r\n\r\n\r\n// Section 2\r\nexport const ADD_PLANNUM = '[PLANNUM] Add'\r\nexport const REMOVE_PLANNUM = '[PLANNUM] Remove'\r\n\r\n// Section 3\r\nexport class AddPlanNum implements Action {\r\n readonly type = ADD_PLANNUM\r\n\r\n constructor(public payload: PlanNumCIF) { }\r\n}\r\n\r\nexport class RemovePlanNum implements Action {\r\n readonly type = REMOVE_PLANNUM\r\n\r\n constructor(public payload: number) { }\r\n}\r\n\r\n// Section 4\r\nexport type PlanNumActions = AddPlanNum | RemovePlanNum\r\n","// Section 1\r\nimport { Injectable } from '@angular/core'\r\nimport { Action } from '@ngrx/store'\r\nimport { PlanRoleCIF } from '../../shared/viewmodels/RegUtility';\r\n\r\n\r\n// Section 2\r\nexport const ADD_ROLE = '[ROLE] Add'\r\nexport const REMOVE_ROLE = '[ROLE] Remove'\r\n\r\n// Section 3\r\nexport class AddRole implements Action {\r\n readonly type = ADD_ROLE\r\n\r\n constructor(public payload: PlanRoleCIF) { }\r\n}\r\n\r\nexport class RemoveRole implements Action {\r\n readonly type = REMOVE_ROLE\r\n\r\n constructor(public payload: number) { }\r\n}\r\n\r\n// Section 4\r\nexport type RoleActions = AddRole | RemoveRole\r\n","// Section 1\r\nimport { Injectable } from '@angular/core'\r\nimport { Action } from '@ngrx/store'\r\nimport { RoleCIF } from '../../shared/viewmodels/UtilityObj';\r\n\r\n\r\n// Section 2\r\nexport const ADD_ROLE = '[ROLE] Add'\r\nexport const REMOVE_ROLE = '[ROLE] Remove'\r\n\r\n// Section 3\r\nexport class AddRole implements Action {\r\n readonly type = ADD_ROLE\r\n\r\n constructor(public payload: RoleCIF) { }\r\n}\r\n\r\nexport class RemoveRole implements Action {\r\n readonly type = REMOVE_ROLE\r\n\r\n constructor(public payload: number) { }\r\n}\r\n\r\n// Section 4\r\nexport type RoleActions = AddRole | RemoveRole\r\n","// Section 1\r\nimport { Injectable } from '@angular/core'\r\nimport { Action } from '@ngrx/store'\r\nimport { RoleTypeCIF } from '../../shared/viewmodels/RegUtility';\r\n\r\n\r\n// Section 2\r\nexport const ADD_ROLE = '[ROLE] Add'\r\nexport const REMOVE_ROLE = '[ROLE] Remove'\r\n\r\n// Section 3\r\nexport class AddRoleType implements Action {\r\n readonly type = ADD_ROLE\r\n\r\n constructor(public payload: RoleTypeCIF) { }\r\n}\r\n\r\nexport class RemoveRoleType implements Action {\r\n readonly type = REMOVE_ROLE\r\n\r\n constructor(public payload: number) { }\r\n}\r\n\r\n// Section 4\r\nexport type RoleTypeActions = AddRoleType | RemoveRoleType\r\n","// Section 1\r\nimport { Injectable } from '@angular/core'\r\nimport { Action } from '@ngrx/store'\r\nimport { SelectIndexCIF } from '../../shared/viewmodels/UtilityObj';\r\n\r\n\r\n// Section 2\r\nexport const ADD_SELECTINDEX = '[SELECTINDEX] Add'\r\nexport const REMOVE_SELECTINDEX = '[SELECTINDEX] Remove'\r\n\r\n// Section 3\r\nexport class AddSelectIndex implements Action {\r\n readonly type = ADD_SELECTINDEX\r\n\r\n constructor(public payload: SelectIndexCIF) { }\r\n}\r\n\r\nexport class RemoveSelectIndex implements Action {\r\n readonly type = REMOVE_SELECTINDEX\r\n\r\n constructor(public payload: number) { }\r\n}\r\n\r\n// Section 4\r\nexport type SelectIndexActions = AddSelectIndex | RemoveSelectIndex\r\n","import { Action } from '@ngrx/store'\r\n\r\n//import * as AddressAction from '../../store/actions/address.action'\r\n//import { AddressCIF } from '../../shared/viewmodels/UtilityObj';\r\n\r\n\r\n\r\n\r\n//export interface AddressState {\r\n// readonly address: AddressCIF[];\r\n//}\r\n\r\n//// Section 1\r\n//const initialState: AddressCIF = {\r\n\r\n// streetNumber: '',\r\n// streetAddress: ''\r\n\r\n\r\n//}\r\n\r\n//// Section 2\r\n//export function reducer(state: AddressCIF[] = [initialState], action: AddressAction.AddressActions) {\r\n\r\n// // Section 3\r\n// switch (action.type) {\r\n// case AddressAction.ADD_ADDRESS:\r\n// return [...state, action.payload];\r\n\r\n// case AddressAction.REMOVE_ADDRESS:\r\n// state.splice(action.payload, 1);\r\n// return state;\r\n\r\n// default:\r\n// return state;\r\n// }\r\n//}\r\n\r\nimport * as AddressAction from '../../store/actions/address.action';\r\nimport { AddressCIF } from '../../shared/viewmodels/UtilityObj';\r\n\r\n// Define the state interface\r\nexport interface AddressState {\r\n readonly address: AddressCIF[];\r\n}\r\n\r\n// Define the initial state\r\nconst initialState: AddressState = {\r\n address: [\r\n {\r\n streetNumber: '',\r\n streetAddress: ''\r\n }\r\n ]\r\n};\r\n\r\n// Define the reducer function\r\nexport function addressReducer(state: AddressState = initialState, action: AddressAction.AddressActions): AddressState {\r\n switch (action.type) {\r\n case AddressAction.ADD_ADDRESS:\r\n return {\r\n ...state,\r\n address: [...state.address, action.payload]\r\n };\r\n\r\n case AddressAction.REMOVE_ADDRESS:\r\n return {\r\n ...state,\r\n address: state.address.filter((_, index) => index !== action.payload)\r\n };\r\n\r\n default:\r\n return state;\r\n }\r\n}\r\n","import { Action } from '@ngrx/store'\r\n\r\n//import * as AmountAction from '../../store/actions/amountrange.action'\r\n//import { AmountRangeCIF } from '../../shared/viewmodels/UtilityObj';\r\n\r\n\r\n//export interface AmountState {\r\n// readonly amount: AmountRangeCIF[];\r\n//}\r\n\r\n//// Section 1\r\n//const initialState: AmountRangeCIF = {\r\n// type: 'rng',\r\n// fromAmount: undefined,\r\n// toAmount: undefined\r\n//}\r\n\r\n//// Section 2\r\n//export function reducer(state: AmountRangeCIF[] = [initialState], action: AmountAction.AmountActions) {\r\n\r\n// // Section 3\r\n// switch (action.type) {\r\n// case AmountAction.ADD_AMOUNT:\r\n// return [...state, action.payload];\r\n\r\n// case AmountAction.REMOVE_AMOUNT:\r\n// state.splice(action.payload, 1);\r\n// return state;\r\n\r\n// default:\r\n// return state;\r\n// }\r\n//}\r\n\r\nimport * as AmountAction from '../../store/actions/amountrange.action';\r\nimport { AmountRangeCIF } from '../../shared/viewmodels/UtilityObj';\r\n\r\nexport interface AmountState {\r\n readonly amount: AmountRangeCIF[];\r\n}\r\n\r\nconst initialState: AmountState = {\r\n amount: [\r\n {\r\n type: 'rng',\r\n fromAmount: undefined,\r\n toAmount: undefined\r\n }\r\n ]\r\n};\r\n\r\nexport function amountReducer(state: AmountState = initialState, action: AmountAction.AmountActions): AmountState {\r\n switch (action.type) {\r\n case AmountAction.ADD_AMOUNT:\r\n return {\r\n ...state,\r\n amount: [...state.amount, action.payload]\r\n };\r\n\r\n case AmountAction.REMOVE_AMOUNT:\r\n return {\r\n ...state,\r\n amount: state.amount.filter((_, index) => index !== action.payload)\r\n };\r\n\r\n default:\r\n return state;\r\n }\r\n}\r\n","import { Action } from '@ngrx/store'\r\n\r\n//import * as BPAction from '../../store/actions/bookpage.action'\r\n//import { DocNumcompoundCIF } from '../../shared/viewmodels/UtilityObj';\r\n\r\n\r\n\r\n\r\n//export interface BPState {\r\n// readonly bp: DocNumcompoundCIF[];\r\n//}\r\n\r\n//// Section 1\r\n//const initialState: DocNumcompoundCIF = {\r\n\r\n// docNumPrimary: '',\r\n// docNumSecondary:''\r\n//}\r\n\r\n//// Section 2\r\n//export function reducer(state: DocNumcompoundCIF[] = [initialState], action: BPAction.BPActions) {\r\n\r\n// // Section 3\r\n// switch (action.type) {\r\n// case BPAction.ADD_BP:\r\n// return [...state, action.payload];\r\n\r\n// case BPAction.REMOVE_BP:\r\n// state.splice(action.payload, 1);\r\n// return state;\r\n\r\n// default:\r\n// return state;\r\n// }\r\n//}\r\n\r\nimport * as BPAction from '../../store/actions/bookpage.action';\r\nimport { DocNumcompoundCIF } from '../../shared/viewmodels/UtilityObj';\r\n\r\nexport interface BPState {\r\n readonly bp: DocNumcompoundCIF[];\r\n}\r\n\r\nconst initialState: BPState = {\r\n bp: [\r\n {\r\n docNumPrimary: '',\r\n docNumSecondary: ''\r\n }\r\n ]\r\n};\r\n\r\nexport function bpReducer(state: BPState = initialState, action: BPAction.BPActions): BPState {\r\n switch (action.type) {\r\n case BPAction.ADD_BP:\r\n return {\r\n ...state,\r\n bp: [...state.bp, action.payload]\r\n };\r\n\r\n case BPAction.REMOVE_BP:\r\n return {\r\n ...state,\r\n bp: state.bp.filter((_, index) => index !== action.payload)\r\n };\r\n\r\n default:\r\n return state;\r\n }\r\n}\r\n","import { Action } from '@ngrx/store'\r\n\r\n//import * as CityAction from '../../store/actions/citytown.action'\r\n//import { CityTownCIF } from '../../shared/viewmodels/UtilityObj';\r\n\r\n\r\n\r\n\r\n//export interface CityState {\r\n// readonly city: CityTownCIF[];\r\n//}\r\n\r\n//// Section 1\r\n//const initialState: CityTownCIF = {\r\n\r\n// citytowns: []\r\n\r\n\r\n//}\r\n\r\n//// Section 2\r\n//export function reducer(state: CityTownCIF[] = [initialState], action: CityAction.CityActions) {\r\n\r\n// // Section 3\r\n// switch (action.type) {\r\n// case CityAction.ADD_CITY:\r\n// return [...state, action.payload];\r\n\r\n// case CityAction.REMOVE_CITY:\r\n// state.splice(action.payload, 1);\r\n// return state;\r\n\r\n// default:\r\n// return state;\r\n// }\r\n//}\r\n\r\nimport * as CityAction from '../../store/actions/citytown.action';\r\nimport { CityTownCIF } from '../../shared/viewmodels/UtilityObj';\r\n\r\nexport interface CityState {\r\n readonly city: CityTownCIF[];\r\n}\r\n\r\nconst initialState: CityState = {\r\n city: [\r\n {\r\n citytowns: []\r\n }\r\n ]\r\n};\r\n\r\nexport function cityReducer(state: CityState = initialState, action: CityAction.CityActions): CityState {\r\n switch (action.type) {\r\n case CityAction.ADD_CITY:\r\n return {\r\n ...state,\r\n city: [...state.city, action.payload]\r\n };\r\n\r\n case CityAction.REMOVE_CITY:\r\n return {\r\n ...state,\r\n city: state.city.filter((_, index) => index !== action.payload)\r\n };\r\n\r\n default:\r\n return state;\r\n }\r\n}\r\n","import { Action } from '@ngrx/store'\r\n\r\n//import * as CompoundNameAction from '../actions/compoundname.action'\r\n//import { CompoundNameIdxCIF } from '../../shared/viewmodels/RegUtility';\r\n\r\n\r\n\r\n\r\n//export interface CompoundNameState {\r\n// readonly name: CompoundNameIdxCIF[];\r\n//}\r\n\r\n//// Section 1\r\n//const initialState: CompoundNameIdxCIF = {\r\n// lastcorpName: '',\r\n// fName: ''\r\n//}\r\n\r\n//// Section 2\r\n//export function reducer(state: CompoundNameIdxCIF[] = [initialState], action: CompoundNameAction.NameActions) {\r\n\r\n// // Section 3\r\n// switch (action.type) {\r\n// case CompoundNameAction.ADD_NAME:\r\n// return [...state, action.payload];\r\n\r\n// case CompoundNameAction.REMOVE_NAME:\r\n// state.splice(action.payload, 1);\r\n// return state;\r\n\r\n// default:\r\n// return state;\r\n// }\r\n//}\r\n\r\nimport * as CompoundNameAction from '../actions/compoundname.action';\r\nimport { CompoundNameIdxCIF } from '../../shared/viewmodels/RegUtility';\r\n\r\nexport interface CompoundNameState {\r\n readonly name: CompoundNameIdxCIF[];\r\n}\r\n\r\nconst initialState: CompoundNameState = {\r\n name: [\r\n {\r\n lastcorpName: '',\r\n fName: ''\r\n }\r\n ]\r\n};\r\n\r\nexport function compoundNameReducer(state: CompoundNameState = initialState, action: CompoundNameAction.NameActions): CompoundNameState {\r\n switch (action.type) {\r\n case CompoundNameAction.ADD_NAME:\r\n return {\r\n ...state,\r\n name: [...state.name, action.payload]\r\n };\r\n\r\n case CompoundNameAction.REMOVE_NAME:\r\n return {\r\n ...state,\r\n name: state.name.filter((_, index) => index !== action.payload)\r\n };\r\n\r\n default:\r\n return state;\r\n }\r\n}\r\n","import { Action } from '@ngrx/store'\r\n\r\nimport * as ContainsAction from '../../store/actions/contains.action'\r\nimport { ContainsCIF } from '../../shared/viewmodels/UtilityObj';\r\n\r\n\r\n\r\n\r\nexport interface ContainsState {\r\n readonly contains: ContainsCIF[];\r\n}\r\n\r\n// Section 1\r\nconst initialState: ContainsState = {\r\n\r\n contains: [{\r\n contains: 0\r\n }]\r\n\r\n}\r\n\r\n// Section 2\r\n\r\nexport function reducer(state: ContainsState = initialState, action: ContainsAction.ContainsActions): ContainsState {\r\n switch (action.type) {\r\n case ContainsAction.ADD_CONTAINS:\r\n // Here, we need to update the 'name' array within the state object\r\n return {\r\n ...state,\r\n contains: [...state.contains, action.payload]\r\n };\r\n\r\n case ContainsAction.REMOVE_CONTAINS:\r\n // Removing an item from the 'name' array within the state object\r\n return {\r\n ...state,\r\n contains: state.contains.filter((_, index) => index !== action.payload)\r\n };\r\n\r\n default:\r\n return state;\r\n }\r\n}\r\n","import { Action } from '@ngrx/store'\r\n\r\n//import * as DateAction from '../../store/actions/daterange.action'\r\n//import { DateRangeCIF } from '../../shared/viewmodels/UtilityObj';\r\n\r\n\r\n\r\n\r\n//export interface DateState {\r\n// readonly date: DateRangeCIF[];\r\n//}\r\n\r\n//// Section 1\r\n//const initialState: DateRangeCIF = {\r\n// fromDate: new Date(),\r\n// toDate: new Date()\r\n//}\r\n\r\n//// Section 2\r\n//export function reducer(state: DateRangeCIF[] = [initialState], action: DateAction.DateActions) {\r\n\r\n// // Section 3\r\n// switch (action.type) {\r\n// case DateAction.ADD_DATE:\r\n// return [...state, action.payload];\r\n\r\n// case DateAction.REMOVE_DATE:\r\n// state.splice(action.payload, 1);\r\n// return state;\r\n\r\n// default:\r\n// return state;\r\n// }\r\n//}\r\n\r\nimport * as DateAction from '../../store/actions/daterange.action';\r\nimport { DateRangeCIF } from '../../shared/viewmodels/UtilityObj';\r\n\r\nexport interface DateState {\r\n readonly date: DateRangeCIF[];\r\n}\r\n\r\nconst initialState: DateState = {\r\n date: [\r\n {\r\n fromDate: null,\r\n toDate: null\r\n }\r\n ]\r\n};\r\n\r\nexport function dateReducer(state: DateState = initialState, action: DateAction.DateActions): DateState {\r\n switch (action.type) {\r\n case DateAction.ADD_DATE:\r\n return {\r\n ...state,\r\n date: [...state.date, action.payload]\r\n };\r\n\r\n case DateAction.REMOVE_DATE:\r\n return {\r\n ...state,\r\n date: state.date.filter((_, index) => index !== action.payload)\r\n };\r\n\r\n default:\r\n return state;\r\n }\r\n}\r\n","import { Action } from '@ngrx/store'\r\n\r\n\r\nimport * as DocCategoriesAction from '../actions/doccategories.action';\r\nimport { DocCategoriesCIF } from '../../shared/viewmodels/UtilityObj';\r\n\r\nexport interface DocCategoriesState {\r\n readonly doccategories: DocCategoriesCIF[];\r\n}\r\n\r\nconst initialState: DocCategoriesState = {\r\n doccategories: [\r\n {\r\n mortgages: true,\r\n conveyances: false\r\n }\r\n ]\r\n};\r\n\r\nexport function docCategoriesReducer(state: DocCategoriesState = initialState, action: DocCategoriesAction.DocCategoriesActions): DocCategoriesState {\r\n switch (action.type) {\r\n case DocCategoriesAction.ADD_DOCCATEGORIES:\r\n return {\r\n ...state,\r\n doccategories: [...state.doccategories, action.payload]\r\n };\r\n\r\n case DocCategoriesAction.REMOVE_DOCCATEGORIES:\r\n return {\r\n ...state,\r\n doccategories: state.doccategories.filter((_, index) => index !== action.payload)\r\n };\r\n\r\n default:\r\n return state;\r\n }\r\n}\r\n","import { Action } from '@ngrx/store'\r\n\r\n//import * as DocCategories2Action from '../actions/doccategories2.action';\r\n//import { DocCategories2CIF } from '../../shared/viewmodels/UtilityObj';\r\n\r\n//export interface DocCategories2State {\r\n// readonly doccategories2: DocCategories2CIF[];\r\n//}\r\n\r\n//// Section 1\r\n//const initialState: DocCategories2CIF = {\r\n\r\n// docCategory: \"allDocuments\"\r\n//}\r\n//// Section 2\r\n//export function reducer(state: DocCategories2CIF[] = [initialState], action: DocCategories2Action.DocCategories2Actions) {\r\n\r\n// // Section 3\r\n// switch (action.type) {\r\n// case DocCategories2Action.ADD_DOCCATEGORIES2:\r\n// return [...state, action.payload];\r\n\r\n// case DocCategories2Action.REMOVE_DOCCATEGORIES2:\r\n// state.splice(action.payload, 1);\r\n// return state;\r\n\r\n// default:\r\n// return state;\r\n// }\r\n//}\r\n\r\nimport * as DocCategories2Action from '../actions/doccategories2.action';\r\nimport { DocCategories2CIF } from '../../shared/viewmodels/UtilityObj';\r\n\r\nexport interface DocCategories2State {\r\n readonly docCategories2: DocCategories2CIF[];\r\n}\r\n\r\nconst initialState: DocCategories2State = {\r\n docCategories2: [\r\n {\r\n docCategory: \"allDocuments\"\r\n }\r\n ]\r\n};\r\n\r\nexport function docCategories2Reducer(state: DocCategories2State = initialState, action: DocCategories2Action.DocCategories2Actions): DocCategories2State {\r\n switch (action.type) {\r\n case DocCategories2Action.ADD_DOCCATEGORIES2:\r\n return {\r\n ...state,\r\n docCategories2: [...state.docCategories2, action.payload]\r\n };\r\n\r\n case DocCategories2Action.REMOVE_DOCCATEGORIES2:\r\n return {\r\n ...state,\r\n docCategories2: state.docCategories2.filter((_, index) => index !== action.payload)\r\n };\r\n\r\n default:\r\n return state;\r\n }\r\n}\r\n","import { Action } from '@ngrx/store'\r\n\r\n//import * as DocNumAction from '../../store/actions/docnum.action'\r\n//import { DocNumCIF } from '../../shared/viewmodels/UtilityObj';\r\n\r\n\r\n\r\n\r\n//export interface DocNumState {\r\n// readonly docnum: DocNumCIF[];\r\n//}\r\n\r\n//// Section 1\r\n//const initialState: DocNumCIF = {\r\n\r\n// docnum: ''\r\n\r\n//}\r\n\r\n//// Section 2\r\n//export function reducer(state: DocNumCIF[] = [initialState], action: DocNumAction.DocNumActions) {\r\n\r\n// // Section 3\r\n// switch (action.type) {\r\n// case DocNumAction.ADD_DOCNUM:\r\n// return [...state, action.payload];\r\n\r\n// case DocNumAction.REMOVE_DOCNUM:\r\n// state.splice(action.payload, 1);\r\n// return state;\r\n\r\n// default:\r\n// return state;\r\n// }\r\n//}\r\n\r\nimport * as DocNumAction from '../../store/actions/docnum.action';\r\nimport { DocNumCIF } from '../../shared/viewmodels/UtilityObj';\r\n\r\nexport interface DocNumState {\r\n readonly docnum: DocNumCIF[];\r\n}\r\n\r\nconst initialState: DocNumState = {\r\n docnum: [\r\n {\r\n docnum: ''\r\n }\r\n ]\r\n};\r\n\r\nexport function docNumReducer(state: DocNumState = initialState, action: DocNumAction.DocNumActions): DocNumState {\r\n switch (action.type) {\r\n case DocNumAction.ADD_DOCNUM:\r\n return {\r\n ...state,\r\n docnum: [...state.docnum, action.payload]\r\n };\r\n\r\n case DocNumAction.REMOVE_DOCNUM:\r\n return {\r\n ...state,\r\n docnum: state.docnum.filter((_, index) => index !== action.payload)\r\n };\r\n\r\n default:\r\n return state;\r\n }\r\n}\r\n","import { Action } from '@ngrx/store'\r\n\r\n//import * as DoctAction from '../../store/actions/doctype.action'\r\n//import { DocTypeCIF } from '../../shared/viewmodels/UtilityObj';\r\n\r\n\r\n\r\n\r\n//export interface DoctState {\r\n// readonly doct: DocTypeCIF[];\r\n//}\r\n\r\n//// Section 1\r\n//const initialState: DocTypeCIF = {\r\n// doctypes: [],\r\n//}\r\n\r\n//// Section 2\r\n//export function reducer(state: DocTypeCIF[] = [initialState], action: DoctAction.DoctActions) {\r\n\r\n// // Section 3\r\n// switch (action.type) {\r\n// case DoctAction.ADD_DOCT:\r\n// return [...state, action.payload];\r\n\r\n// case DoctAction.REMOVE_DOCT:\r\n// state.splice(action.payload, 1);\r\n// return state;\r\n\r\n// default:\r\n// return state;\r\n// }\r\n//}\r\n\r\nimport * as DoctAction from '../../store/actions/doctype.action';\r\nimport { DocTypeCIF } from '../../shared/viewmodels/UtilityObj';\r\n\r\nexport interface DoctState {\r\n readonly doct: DocTypeCIF[];\r\n}\r\n\r\nconst initialState: DoctState = {\r\n doct: [\r\n {\r\n doctypes: []\r\n }\r\n ]\r\n};\r\n\r\nexport function doctReducer(state: DoctState = initialState, action: DoctAction.DoctActions): DoctState {\r\n switch (action.type) {\r\n case DoctAction.ADD_DOCT:\r\n return {\r\n ...state,\r\n doct: [...state.doct, action.payload]\r\n };\r\n\r\n case DoctAction.REMOVE_DOCT:\r\n return {\r\n ...state,\r\n doct: state.doct.filter((_, index) => index !== action.payload)\r\n };\r\n\r\n default:\r\n return state;\r\n }\r\n}\r\n","import { Action } from '@ngrx/store'\r\n\r\n//import * as NameAction from '../../store/actions/name.action'\r\n//import { NameCIF } from '../../shared/viewmodels/UtilityObj';\r\n\r\n\r\n\r\n\r\n//export interface NameState {\r\n// readonly name: NameCIF[];\r\n//}\r\n\r\n//// Section 1\r\n//const initialState: NameCIF = {\r\n// name: '',\r\n// }\r\n\r\n//// Section 2\r\n//export function reducer(state: NameCIF[] = [initialState], action: NameAction.NameActions) {\r\n\r\n// // Section 3\r\n// switch (action.type) {\r\n// case NameAction.ADD_NAME:\r\n// return [...state, action.payload];\r\n\r\n// case NameAction.REMOVE_NAME:\r\n// state.splice(action.payload, 1);\r\n// return state;\r\n\r\n// default:\r\n// return state;\r\n// }\r\n//}\r\n\r\n\r\nimport * as NameAction from '../../store/actions/name.action';\r\nimport { NameCIF } from '../../shared/viewmodels/UtilityObj';\r\n\r\nexport interface NameState {\r\n readonly name: NameCIF[];\r\n}\r\n\r\n// Define the initial state as an array\r\nconst initialState: NameState = {\r\n name: [\r\n {\r\n name: '',\r\n }\r\n ]\r\n};\r\n\r\n\r\n// Reducer function\r\nexport function reducer(state: NameState = initialState, action: NameAction.NameActions): NameState {\r\n switch (action.type) {\r\n case NameAction.ADD_NAME:\r\n // Return a new state array with the added name\r\n //return [...state.name, action.payload];\r\n return {\r\n ...state,\r\n name: [...state.name, action.payload]\r\n };\r\n\r\n case NameAction.REMOVE_NAME:\r\n // Return a new state array with the name removed\r\n //return state.filter((_, index) => index !== action.payload);\r\n return {\r\n ...state,\r\n name: state.name.filter((_, index) => index !== action.payload)\r\n };\r\n\r\n default:\r\n // Return the current state if no actions match\r\n return state;\r\n }\r\n}\r\n","import { Action } from '@ngrx/store'\r\n\r\n//import * as CertTypeActions from '../actions/plancerttype.action'\r\n//import { PlanCertTypeCIF } from '../../shared/viewmodels/RegUtility';\r\n\r\n\r\n\r\n\r\n//export interface PlanCertTypeState {\r\n// readonly certtype: PlanCertTypeCIF[];\r\n//}\r\n\r\n//// Section 1\r\n//const initialState: PlanCertTypeCIF = {\r\n// id: 0,\r\n// certnum: ''\r\n//}\r\n\r\n//// Section 2\r\n//export function reducer(state: PlanCertTypeCIF[] = [initialState], action: CertTypeActions.CertTypeActions) {\r\n\r\n// // Section 3\r\n// switch (action.type) {\r\n// case CertTypeActions.ADD_CERTTYPE:\r\n// return [...state, action.payload];\r\n\r\n// case CertTypeActions.REMOVE_CERTTYPE:\r\n// state.splice(action.payload, 1);\r\n// return state;\r\n\r\n// default:\r\n// return state;\r\n// }\r\n//}\r\n\r\nimport * as CertTypeActions from '../actions/plancerttype.action';\r\nimport { PlanCertTypeCIF } from '../../shared/viewmodels/RegUtility';\r\n\r\nexport interface PlanCertTypeState {\r\n readonly certtype: PlanCertTypeCIF[];\r\n}\r\n\r\nconst initialState: PlanCertTypeState = {\r\n certtype: [\r\n {\r\n id: 0,\r\n certnum: ''\r\n }\r\n ]\r\n};\r\n\r\nexport function planCertTypeReducer(state: PlanCertTypeState = initialState, action: CertTypeActions.CertTypeActions): PlanCertTypeState {\r\n switch (action.type) {\r\n case CertTypeActions.ADD_CERTTYPE:\r\n return {\r\n ...state,\r\n certtype: [...state.certtype, action.payload]\r\n };\r\n\r\n case CertTypeActions.REMOVE_CERTTYPE:\r\n return {\r\n ...state,\r\n certtype: state.certtype.filter((_, index) => index !== action.payload)\r\n };\r\n\r\n default:\r\n return state;\r\n }\r\n}\r\n","import { Action } from '@ngrx/store'\r\n\r\n//import * as PlanNumAction from '../../store/actions/plannum.action'\r\n//import { PlanNumCIF } from '../../shared/viewmodels/RegUtility';\r\n\r\n\r\n\r\n\r\n//export interface PlanNumState {\r\n// readonly plannum: PlanNumCIF[];\r\n//}\r\n\r\n//// Section 1\r\n//const initialState: PlanNumCIF = {\r\n\r\n// plannum: ''\r\n\r\n//}\r\n\r\n//// Section 2\r\n//export function reducer(state: PlanNumCIF[] = [initialState], action: PlanNumAction.PlanNumActions) {\r\n\r\n// // Section 3\r\n// switch (action.type) {\r\n// case PlanNumAction.ADD_PLANNUM:\r\n// return [...state, action.payload];\r\n\r\n// case PlanNumAction.REMOVE_PLANNUM:\r\n// state.splice(action.payload, 1);\r\n// return state;\r\n\r\n// default:\r\n// return state;\r\n// }\r\n//}\r\n\r\nimport * as PlanNumAction from '../../store/actions/plannum.action';\r\nimport { PlanNumCIF } from '../../shared/viewmodels/RegUtility';\r\n\r\n// Define the state interface\r\nexport interface PlanNumState {\r\n readonly plannum: PlanNumCIF[];\r\n}\r\n\r\n// Define the initial state\r\nconst initialState: PlanNumState = {\r\n plannum: [\r\n {\r\n plannum: ''\r\n }\r\n ]\r\n};\r\n\r\n// Define the reducer function\r\nexport function planNumReducer(state: PlanNumState = initialState, action: PlanNumAction.PlanNumActions): PlanNumState {\r\n switch (action.type) {\r\n case PlanNumAction.ADD_PLANNUM:\r\n return {\r\n ...state,\r\n plannum: [...state.plannum, action.payload]\r\n };\r\n\r\n case PlanNumAction.REMOVE_PLANNUM:\r\n return {\r\n ...state,\r\n plannum: state.plannum.filter((_, index) => index !== action.payload)\r\n };\r\n\r\n default:\r\n return state;\r\n }\r\n}\r\n","import { Action } from '@ngrx/store'\r\n\r\n//import * as PlanRoleAction from '../../store/actions/planrole.action'\r\n//import { PlanRoleCIF } from '../../shared/viewmodels/RegUtility';\r\n\r\n\r\n\r\n\r\n//export interface PlanRoleState {\r\n// readonly role: PlanRoleCIF[];\r\n//}\r\n\r\n//// Section 1\r\n//const initialState: PlanRoleCIF = {\r\n \r\n// planroleID: 0,\r\n \r\n\r\n//}\r\n\r\n//// Section 2\r\n//export function reducer(state: PlanRoleCIF[] = [initialState], action: PlanRoleAction.RoleActions) {\r\n\r\n// // Section 3\r\n// switch (action.type) {\r\n// case PlanRoleAction.ADD_ROLE:\r\n// return [...state, action.payload];\r\n\r\n// case PlanRoleAction.REMOVE_ROLE:\r\n// state.splice(action.payload, 1);\r\n// return state;\r\n\r\n// default:\r\n// return state;\r\n// }\r\n//}\r\n\r\nimport * as PlanRoleAction from '../../store/actions/planrole.action';\r\nimport { PlanRoleCIF } from '../../shared/viewmodels/RegUtility';\r\n\r\nexport interface PlanRoleState {\r\n readonly role: PlanRoleCIF[];\r\n}\r\n\r\nconst initialState: PlanRoleState = {\r\n role: [\r\n {\r\n planroleID: 0,\r\n }\r\n ]\r\n};\r\n\r\nexport function planRoleReducer(state: PlanRoleState = initialState, action: PlanRoleAction.RoleActions): PlanRoleState {\r\n switch (action.type) {\r\n case PlanRoleAction.ADD_ROLE:\r\n return {\r\n ...state,\r\n role: [...state.role, action.payload]\r\n };\r\n\r\n case PlanRoleAction.REMOVE_ROLE:\r\n return {\r\n ...state,\r\n role: state.role.filter((_, index) => index !== action.payload)\r\n };\r\n\r\n default:\r\n return state;\r\n }\r\n}\r\n","import { ActionReducerMap, createFeatureSelector, createSelector } from '@ngrx/store';\r\n\r\nimport * as fromName from './name-reducer';\r\nimport { planRoleReducer,PlanRoleState } from './planrole.reducer';\r\nimport * as fromAddress from './address.reducer';\r\nimport * as fromPlanNum from './plannum.reducer';\r\n//import * as fromRootStore from 'lib-rod-core';\r\nimport * as fromPlanCertType from './plancerttype.reducer';\r\nimport * as fromRoleType from './roletype.reducer';\r\nimport * as fromCompoundName from './compoundname.reducer';\r\n\r\nimport * as fromCity from './citytown.reducer';\r\nimport * as fromRole from './role.reducer';\r\nimport * as fromContains from './contains.reducer';\r\nimport * as fromSelectIndex from './selectindex.reducer';\r\nimport * as fromDate from './daterange.reducer';\r\nimport * as fromDoct from './doctype.reducer';\r\nimport * as fromDocNum from './docnum.reducer';\r\nimport * as fromBP from './bookpage.reducer';\r\nimport * as fromAmount from './amountrange.reducer';\r\nimport * as fromDocCategories from './doccategories.reducer';\r\nimport * as fromDocCategories2 from './doccategories2.reducer';\r\n\r\nexport interface AppState {\r\n name: fromName.NameState;\r\n planrole: PlanRoleState;\r\n address: fromAddress.AddressState;\r\n plannum: fromPlanNum.PlanNumState;\r\n plancerttype: fromPlanCertType.PlanCertTypeState;\r\n roletype: fromRoleType.RoleTypeState;\r\n compoundname: fromCompoundName.CompoundNameState;\r\n contains: fromContains.ContainsState;\r\n selectindex: fromSelectIndex.SelectIndexState;\r\n role: fromRole.RoleState;\r\n city: fromCity.CityState;\r\n date: fromDate.DateState;\r\n doct: fromDoct.DoctState;\r\n docnum: fromDocNum.DocNumState;\r\n bp: fromBP.BPState;\r\n amount: fromAmount.AmountState;\r\n docCategoriesVS: fromDocCategories.DocCategoriesState;\r\n docCategories2: fromDocCategories2.DocCategories2State;\r\n}\r\n\r\nexport const reducers: ActionReducerMap = {\r\n name: fromName.reducer,\r\n planrole: planRoleReducer,\r\n address: fromAddress.addressReducer,\r\n plannum: fromPlanNum.planNumReducer,\r\n plancerttype: fromPlanCertType.planCertTypeReducer,\r\n roletype: fromRoleType.roleTypeReducer,\r\n compoundname: fromCompoundName.compoundNameReducer,\r\n city: fromCity.cityReducer,\r\n contains: fromContains.reducer,\r\n selectindex: fromSelectIndex.reducer,\r\n role: fromRole.roleReducer,\r\n date: fromDate.dateReducer,\r\n doct: fromDoct.doctReducer,\r\n docnum: fromDocNum.docNumReducer,\r\n bp: fromBP.bpReducer,\r\n amount: fromAmount.amountReducer,\r\n docCategoriesVS: fromDocCategories.docCategoriesReducer,\r\n docCategories2: fromDocCategories2.docCategories2Reducer\r\n};\r\n\r\nexport const getCoreSearchState = createFeatureSelector('coresearchdata');\r\n\r\n\r\n\r\n//export const getRecState = createSelector(\r\n// getCoreState,\r\n// (state: fromrec.RecState) => state.rec\r\n//);\r\n","import { Action } from '@ngrx/store'\r\n\r\n//import * as RoleAction from '../../store/actions/role.action'\r\n//import { RoleCIF } from '../../shared/viewmodels/UtilityObj';\r\n\r\n\r\n\r\n\r\n//export interface RoleState {\r\n// readonly role: RoleCIF[];\r\n//}\r\n\r\n//// Section 1\r\n//const initialState: RoleCIF = {\r\n\r\n// roleID: -1,\r\n\r\n\r\n//}\r\n\r\n//// Section 2\r\n//export function reducer(state: RoleCIF[] = [initialState], action: RoleAction.RoleActions) {\r\n\r\n// // Section 3\r\n// switch (action.type) {\r\n// case RoleAction.ADD_ROLE:\r\n// return [...state, action.payload];\r\n\r\n// case RoleAction.REMOVE_ROLE:\r\n// state.splice(action.payload, 1);\r\n// return state;\r\n\r\n// default:\r\n// return state;\r\n// }\r\n//}\r\n\r\nimport * as RoleAction from '../../store/actions/role.action';\r\nimport { RoleCIF } from '../../shared/viewmodels/UtilityObj';\r\n\r\nexport interface RoleState {\r\n readonly role: RoleCIF[];\r\n}\r\n\r\nconst initialState: RoleState = {\r\n role: [\r\n {\r\n roleID: -1,\r\n }\r\n ]\r\n};\r\n\r\nexport function roleReducer(state: RoleState = initialState, action: RoleAction.RoleActions): RoleState {\r\n switch (action.type) {\r\n case RoleAction.ADD_ROLE:\r\n return {\r\n ...state,\r\n role: [...state.role, action.payload]\r\n };\r\n\r\n case RoleAction.REMOVE_ROLE:\r\n return {\r\n ...state,\r\n role: state.role.filter((_, index) => index !== action.payload)\r\n };\r\n\r\n default:\r\n return state;\r\n }\r\n}\r\n","import { Action } from '@ngrx/store'\r\n\r\n//import * as RoleTypeAction from '../../store/actions/roletype.action'\r\n//import { RoleTypeCIF } from '../../shared/viewmodels/RegUtility';\r\n\r\n\r\n\r\n\r\n//export interface RoleTypeState {\r\n// readonly role: RoleTypeCIF[];\r\n//}\r\n\r\n//// Section 1\r\n//const initialState: RoleTypeCIF = {\r\n\r\n// roleID: 1,\r\n\r\n\r\n//}\r\n\r\n//// Section 2\r\n//export function reducer(state: RoleTypeCIF[] = [initialState], action: RoleTypeAction.RoleTypeActions) {\r\n\r\n// // Section 3\r\n// switch (action.type) {\r\n// case RoleTypeAction.ADD_ROLE:\r\n// return [...state, action.payload];\r\n\r\n// case RoleTypeAction.REMOVE_ROLE:\r\n// state.splice(action.payload, 1);\r\n// return state;\r\n\r\n// default:\r\n// return state;\r\n// }\r\n//}\r\n\r\nimport * as RoleTypeAction from '../../store/actions/roletype.action';\r\nimport { RoleTypeCIF } from '../../shared/viewmodels/RegUtility';\r\n\r\nexport interface RoleTypeState {\r\n readonly role: RoleTypeCIF[];\r\n}\r\n\r\nconst initialState: RoleTypeState = {\r\n role: [\r\n {\r\n roleID: 1,\r\n }\r\n ]\r\n};\r\n\r\nexport function roleTypeReducer(state: RoleTypeState = initialState, action: RoleTypeAction.RoleTypeActions): RoleTypeState {\r\n switch (action.type) {\r\n case RoleTypeAction.ADD_ROLE:\r\n return {\r\n ...state,\r\n role: [...state.role, action.payload]\r\n };\r\n\r\n case RoleTypeAction.REMOVE_ROLE:\r\n return {\r\n ...state,\r\n role: state.role.filter((_, index) => index !== action.payload)\r\n };\r\n\r\n default:\r\n return state;\r\n }\r\n}\r\n","import { Action } from '@ngrx/store'\r\n\r\nimport * as SelectIndexActions from '../../store/actions/selectindex.action'\r\nimport { SelectIndexCIF } from '../../shared/viewmodels/UtilityObj';\r\n\r\n\r\n\r\n\r\nexport interface SelectIndexState {\r\n readonly indexId: SelectIndexCIF[];\r\n}\r\n\r\n// Section 1\r\nconst initialState: SelectIndexState = {\r\n indexId: [{\r\n indexId: 0\r\n }]\r\n\r\n}\r\n\r\n// Section 2\r\n\r\nexport function reducer(state: SelectIndexState = initialState, action: SelectIndexActions.SelectIndexActions): SelectIndexState {\r\n switch (action.type) {\r\n case SelectIndexActions.ADD_SELECTINDEX:\r\n // Here, we need to update the 'name' array within the state object\r\n return {\r\n ...state,\r\n indexId: [...state.indexId, action.payload]\r\n };\r\n\r\n case SelectIndexActions.REMOVE_SELECTINDEX:\r\n // Removing an item from the 'name' array within the state object\r\n return {\r\n ...state,\r\n indexId: state.indexId.filter((_, index) => index !== action.payload)\r\n };\r\n\r\n default:\r\n return state;\r\n }\r\n}\r\n","import { Component, OnInit, Input } from '@angular/core';\nimport { UnindexDateRangeCIF } from '../../../shared/viewmodels/RegUtility';\r\nimport { Store } from '@ngrx/store';\r\nimport { AppState } from '../../../store/reducers/reducers';\r\nimport { UnindexSearchService } from '../../unindexed-search-service';\r\nimport { IndexGroupsVM } from '../../../shared/viewmodels/ISearchServiceReg';\r\nimport { FormGroup, FormBuilder } from '@angular/forms';\r\n\n@Component({\n selector: 'app-date-range-unindex',\n providers: [UnindexSearchService],\n templateUrl: './date-range-unindex.component.html',\n styleUrls: ['./date-range-unindex.component.css']\n})\nexport class DateRangeUnindexComponent implements OnInit {\n\n public utilityobj!: UnindexDateRangeCIF;\n datetabindex!: number;\n roletype!: number;\n message: any;\n // res: IndexGroupsVM[]=[];\n error: any;\n //selectedDate: string;\n public form!: FormGroup;\n dategroup!: number;\n @Input() majorgroup!: string;\n constructor(private store: Store, private service: UnindexSearchService, private fb: FormBuilder) {\n \n //this.store.select('regsearchdata').subscribe(data => this.message = data);\n //if (this.message.planrole.length != 0) {\n // this.utilityobj.planroleID = this.message.planrole[0].planroleID;\n // console.log(this.message.planrole[0]);\n //} else {\n // this.utilityobj.planroleID = -1;\n //}\n //console.log(this.selectedDate);\n }\n\n ngOnInit() {\n this.utilityobj = new UnindexDateRangeCIF();\n console.log(\"majorgroup\" + this.majorgroup);\n switch (this.majorgroup) {\n case \"1640-1799\":\n this.getDateRange(1, 1);\n break;\n case \"1800-1854\":\n this.getDateRange(2, 1);\n break;\n case \"1855-1950\":\n this.getDateRange(3, 1);\n break;\n case \"1951-1963\":\n this.getDateRange(4, 1);\n break;\n case \"1964-1978\":\n this.getDateRange(5, 1);\n break;\n }\n \r\n }\n\n getDateRange(majorgroup: any, roletype: any) {\n this.service.GetIndexMajorIndexGroup(majorgroup, roletype).subscribe(\r\n data => {\r\n this.utilityobj.dateranges = data\r\n this.dategroup = this.utilityobj.dateranges[0].dateGroup\r\n //this.utilityobj.dateranges.forEach(function (value) {\r\n // value[\"isSelected\"] = false;\r\n\r\n //}\r\n //);\r\n //this.form = this.fb.group({\r\n // 'dtrange': [this.utilityobj.dateranges[0].dateRange]\r\n //});\r\n },\r\n error => {this.error= error}\r\n );\r\n }\n\n selectdate(dt:any) {\n console.log(\"date\" + dt);\r\n this.dategroup = dt;\r\n \r\n }\n}\n","
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n","import { Component, OnInit } from '@angular/core';\nimport { Store } from '@ngrx/store';\r\nimport { AppState, getCoreSearchState } from '../../../store/reducers/reducers';\r\nimport { RoleTypeCIF } from '../../../shared/viewmodels/RegUtility';\r\n\n@Component({\n selector: 'app-role-type',\n templateUrl: './role-type.component.html',\n styleUrls: ['./role-type.component.css']\n})\nexport class RoleTypeComponent implements OnInit {\n\n public utilityobj: RoleTypeCIF;\n message: any;\n constructor(private store: Store) {\n this.utilityobj = new RoleTypeCIF();\n this.store.select(getCoreSearchState).subscribe(data => this.message = data);\n //console.log(this.message.role[0]);\n if (this.message.roletype.roletype.length != 0) {\n this.utilityobj.roleID = this.message.roletype.roletype[0].roleID;\n console.log(this.message.roletype.roletype[0]);\n } else {\n this.utilityobj.roleID = 1;\n }\n }\n\n ngOnInit() {\n }\n}\n","\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n\r\n\r\n\r\n","import { Component, OnInit, Input, EventEmitter, ViewChild, Output, Renderer2, HostListener } from '@angular/core';\nimport { PlanDownloadComponent } from '../../../shared/components/plan-download/plan-download.component';\r\nimport { basketVM } from '../../../shared/viewmodels/ISearchServiceReg';\r\nimport { UnindexSearchService } from '../../unindexed-search-service';\r\nimport { ActivatedRoute, Router } from '@angular/router';\r\nimport { NavMenuService } from '../../../shared/services/nav-menu-service';\r\nimport { RecSearchService } from '../../../rec-search/rec-search-service';\r\nimport { NgxExtendedPdfViewerComponent, PdfBreakpoints, pdfDefaultOptions } from 'ngx-extended-pdf-viewer';\r\n//import { forEach } from '@angular/router/src/utils/collection';\r\n\n@Component({\n selector: 'app-unindexed-record-doc-image',\n providers: [UnindexSearchService],\n templateUrl: './unindexed-record-doc-image.component.html',\n styleUrls: ['./unindexed-record-doc-image.component.css']\n})\nexport class UnindexedRecordDocImageComponent implements OnInit {\n\n\n @Input() indexbook!: string;\n @Input() indexpage!: string;\n @Input() indexgroup!: string;\n @Input() dategroup!: number;\n public pageCount!: number;\n public currentIndex!: number;\n public currentImageIndex!: number;\n public docImages: Array;\n @Input() currentImage: Array;\n public bufferSize: number = 5;\n public isLoadingImage: boolean = true;\n public showimageviewer: boolean = false;\n public isImgVwVisible: boolean = true;\n public blobImage: string;\n\n error: any;\n evtEmitter = new EventEmitter();\n previewImage: any;\n public imgvwr: any;\n public isFirstPage!: boolean;\n public isLastPage!: boolean;\n @ViewChild(PlanDownloadComponent) docBasketChild: PlanDownloadComponent;\n @ViewChild(NgxExtendedPdfViewerComponent, { static: false }) pdfViewer: NgxExtendedPdfViewerComponent;\n basketItem!: basketVM;\n collapseGo: boolean = false;\n collapseReturn: boolean = false;\n screenWidth: any;\n @Output() public changeImgVwVisible = new EventEmitter();\n popupVisible: boolean = false;\n Message!: string;\n public path!: string;\n public sBook!: string;\n public sPage!: string;\n docId!: number;\n book!: string;\n page!: string;\n planImages: Array;\n indexPaths: Array;\n isDocImageView: boolean = false;\n imageFound: boolean = true;\n\n constructor(private route: ActivatedRoute,\n private service: UnindexSearchService,\n private router: Router, private renderer: Renderer2, public nav: NavMenuService, private recservice: RecSearchService) {\n this.docImages = new Array();\n this.currentImage = new Array();\n this.planImages = new Array();\n this.indexPaths = new Array();\n this.nav.hide();\n this.getScreenSize();\n\n }\n\n /** Initialize image viewer */\n ngOnInit() {\n console.log('ngOnInit() fired');\n this.currentIndex = 1;\n this.currentImageIndex = 0;\n this.isLoadingImage = true;\n // this.planImages = new Array();\n\n\n this.getIndexPaths(this.indexbook, this.indexgroup, this.indexpage, this.dategroup);\n\n\n }\n\n getIndexPaths(indexbook: any, indexgroup: any, indexpage: any, dategroup: any) {\n var tp = \"\";\r\n var FormattedPage = \"\";\r\n if (dategroup > 100)\r\n tp = \"index51\";\r\n\r\n if (tp == \"index51\")\r\n FormattedPage = (\"00000\" + indexpage).slice(-5) + \".tif\";\r\n else if (tp == \"index79\")\r\n FormattedPage = (\"0000\" + indexpage).slice(-4) + \".tif\";\r\n else\r\n FormattedPage = \"\\img_\" + (\"0000\" + indexpage).slice(-4) + \".tif\";\r\n\n console.log(\"FormattedPage\" + FormattedPage);\n this.service.GetIndexPaths(indexbook, indexgroup, indexpage, dategroup).subscribe(\n data => {\n this.indexPaths = data;\r\n this.pageCount = this.indexPaths.length;\r\n this.currentIndex = this.indexPaths.findIndex(item => item.includes(FormattedPage));\r\n this.getIndexDirectoryImage(this.indexPaths[this.currentIndex], 0);\n this.changeNavigationbutton(this.pageCount);\n this.isLoadingImage = true;\r\n }\n );\n\n\n }\n\n getIndexDirectoryImage(path: string, page: number, push: boolean = true) {\n console.log(\"current path and page\" + path + page);\n this.service.GetDocPlanPage(path, page).subscribe(\n data => {\n if (push) {\n this.docImages.push(data);\n console.log('push' + this.docImages.length);\n //TODO: code to manage the size of the docImages array\n if (this.docImages.length > this.bufferSize) {\n this.docImages.shift();\n console.log('shift' + this.docImages.length);\n this.currentImageIndex = this.bufferSize;\n\n }\n else {\n this.currentImageIndex++;\n }\n console.log(\"docimages and CII\" + this.docImages.length + this.currentImageIndex);\n }\n else {\n this.docImages.splice(0, 0, data);\n console.log('splice' + this.docImages.length);\n //TODO: code to manage the size of the docImages array\n if (this.docImages.length > this.bufferSize) {\n this.docImages.pop();\n console.log('pop' + this.docImages.length);\n this.currentImageIndex = 1;\n }\n else {\n this.currentImageIndex = 1;\n }\n }\n this.showImage((this.currentImageIndex - 1));\n },\n error => { this.error = error }\n );\n }\n\n /**\n * Search document for a book and page number entered by the user.\n * @param sBook\n * @param sPage\n */\n searchDocument(sBook: string, sPage: string) {\n this.isDocImageView = true;\n this.currentIndex = -1;\n this.currentImageIndex = 0;\n this.docImages.length = 0;\n this.service.GetIndexBPImagePath(sBook, \"\").subscribe(\n data => {\n console.log(data);\n this.planImages = data;\n if (this.planImages.length > 0) {\n for (var i = 0; i < this.planImages.length; i++) {\n if (this.planImages[i].includes((\"0000\" + sPage + \"_\").slice(-4))) {\r\n console.log(\"formatted\" + (\"0000\" + sPage + \"_\").slice(-4));\r\n this.currentIndex = i + 1;\r\n console.log(\"CI\" + this.currentIndex);\r\n break;\r\n }\r\n }\n if (this.currentIndex !== -1) {\n console.log(\"formatted\" + (\"0000\" + sPage + \"_\").slice(-4));\n this.pageCount = this.planImages.length;\n this.sBook = sBook;\n this.sPage = sPage;\n this.getImageByBookPage(this.planImages[this.currentIndex - 1], 0);\n this.changeNavigationbutton(this.pageCount);\n this.isLoadingImage = true;\n this.imageFound = true;\n }\n else {\n this.imageFound = false;\r\n this.pageCount = 0;\r\n this.currentIndex = 0;\r\n }\n }\n }\n )\n }\n\n getImageByBookPage(path: string, page: number, push: boolean = true) {\n console.log(\"current path and page\" + path + page);\n this.service.GetDocPlanPage(path, page).subscribe(\n data => {\n if (push) {\n this.docImages.push(data);\n console.log('push' + this.docImages.length);\n //TODO: code to manage the size of the docImages array\n if (this.docImages.length > this.bufferSize) {\n this.docImages.shift();\n console.log('shift' + this.docImages.length);\n this.currentImageIndex = this.bufferSize;\n\n }\n else {\n this.currentImageIndex++;\n }\n console.log(\"docimages and CII\" + this.docImages.length + this.currentImageIndex);\n }\n else {\n this.docImages.splice(0, 0, data);\n console.log('splice' + this.docImages.length);\n //TODO: code to manage the size of the docImages array\n if (this.docImages.length > this.bufferSize) {\n this.docImages.pop();\n console.log('pop' + this.docImages.length);\n this.currentImageIndex = 1;\n }\n else {\n this.currentImageIndex = 1;\n }\n }\n this.showImage((this.currentImageIndex - 1));\n },\n error => { this.error = error }\n );\n }\n\n showImage(idx: number) {\n this.isLoadingImage = true;\n if (this.currentImage.length === 1) {\n this.currentImage.pop();\n }\n this.currentImage.push(this.docImages[idx]);\n this.blobImage = this.docImages[idx];\n this.isLoadingImage = false;\n this.rePaintImgViewer();\n }\n\n /**\n * Navigate to previous page.\n * @param url\n */\n back(url: string) {\n\n this.router.navigate([url]);\n //window.opener = 'Self';\n //window.open('', '_parent', '');\n //window.close();\n\n }\n\n showimgviewer() {\n this.showimageviewer = true;\n this.isImgVwVisible = false;\n this.changeImgVwVisible.emit(this.isImgVwVisible);\n }\n\n /**\n * Navigate to next page of a document.\n * @param event\n */\n getNextPg(event: Event) {\n\n this.currentIndex++;\n console.log(\"nxt pg CII\" + this.currentImageIndex);\n if (this.docImages.length > this.currentImageIndex) {\n this.showImage(this.currentImageIndex);\n this.currentImageIndex++;\n }\n else {\n console.log(this.planImages[this.currentIndex - 1]);\n this.getImageByBookPage(this.planImages[this.currentIndex - 1], 0, true);\n }\n\n this.changeNavigationbutton(this.pageCount);\n\n }\n\n /**\n * Navigate to previous page of a document.\n * @param event\n */\n getPrevPg(event: Event) {\n\n this.currentIndex--;\n if (this.currentImageIndex > 1) {\n this.showImage((this.currentImageIndex - 2));\n this.currentImageIndex--;\n }\n else {\n this.getImageByBookPage(this.planImages[this.currentIndex - 1], 0, false);\n }\n this.changeNavigationbutton(this.pageCount);\n\n }\n\n checkIfFirstPage(): boolean {\n if (this.currentIndex == 1) {\n return true;\n }\n else\n return false;\n }\n checkIfLastPage(): boolean {\n if (this.currentIndex == this.pageCount) {\n return true;\n }\n else\n return false;\n }\n\n rePaintImgViewer() {\n //this.imgvwr = new ImageViewerComponent(this.renderer);\n //this.imgvwr.images = this.currentImage;\n //this.imgvwr.idContainer = \"idOnHTML\";\n\n //this.imgvwr.inicializarImageViewer();\n //this.imgvwr.proximaImagem();\n this.showimgviewer();\n }\n\n /**\n * Enable/Disable the navigation button, when its a first page or last page in the document.\n * @param pageCount\n */\n changeNavigationbutton(pageCount: number) {\n // Enable/disable navigation buttons.\n //console.log(this.book + \"/\" + this.page);\n console.log(\"Next doc page count\" + this.pageCount)\n if (this.pageCount > 1) {\n if (this.currentIndex == 1) {\n this.isFirstPage = true;\n this.isLastPage = false;\n console.log(\"1\");\n }\n else if (this.currentIndex == this.pageCount) {\n this.isLastPage = true;\n this.isFirstPage = false;\n console.log(\"2\");\n }\n else {\n this.isLastPage = false;\n this.isFirstPage = false;\n console.log(\"3\");\n }\n\n }\n\n else {\n this.isLastPage = true;\n this.isFirstPage = true;\n console.log(\"4\");\n }\n\n console.log(this.isFirstPage);\n console.log(this.isLastPage);\n }\n\n /**\n * Navigate to First page in a document.\n * @param event\n */\n getFirstPg(event: Event) {\n console.log(\"firstpg\" + this.pageCount);\n // Get first page from cache if present.\n if (this.currentIndex <= this.bufferSize && this.currentImageIndex !== 1) {\n this.currentIndex = 1;\n this.currentImageIndex = 1;\n this.showImage(this.currentImageIndex - 1);\n this.changeNavigationbutton(this.pageCount);\n }\n\n // get first page from service when its not present in cache.\n else {\n this.currentIndex = 1;\n this.currentImageIndex = 0;\n this.docImages.length = 0;\n this.getImageByBookPage(this.planImages[this.currentIndex - 1], 0, true);\n this.changeNavigationbutton(this.pageCount);\n }\n }\n\n /**\n * Navigate to Last page in a document.\n * @param event\n */\n getLastPg(event: Event) {\n console.log(\"lastpg\" + this.pageCount)\n let lastPgIdx: number = this.pageCount - 1;\n this.currentImageIndex = lastPgIdx;\n\n // Get last page from cache if present.\n if (this.pageCount <= this.bufferSize && this.docImages[lastPgIdx] != null) {\n this.currentImageIndex = this.pageCount - 1;\n this.currentIndex = this.pageCount;\n this.showImage(this.currentImageIndex);\n this.changeNavigationbutton(this.pageCount);\n }\n\n\n ////get last page from service when its not present in cache.\n else {\n this.currentImageIndex = 0;\n this.currentIndex = this.pageCount;\n this.docImages.length = 0;\n this.getImageByBookPage(this.planImages[this.currentIndex - 1], 0, false);\n this.changeNavigationbutton(this.pageCount);\n }\n }\n\n\n allowDrop(ev: any) {\n console.log(\"allow drop\");\n ev.preventDefault();\n }\n\n drag(ev: any) {\n console.log(\"drag\");\n ev.dataTransfer.setData(\"text\", ev.target.id);\n }\n\n drop(planImages: any, book: string, page: string, currentindex: number) {\n console.log(\"drop\");\n console.log(\"planImages\" + planImages + \"book\" + book + \"page\" + page + \"currentindex\" + currentindex);\n\n const index = this.docBasketChild.basketItems.findIndex(item => item.book === book && item.page === page && item.wholeDoc === false);\n if (index > -1) {\n if (this.docBasketChild.basketItems[index].pages.indexOf((currentindex - 1).toString()) > -1) {\n console.log(\"Duplicate entry\");\n this.Message = \"Plan Book/Page \" + book + \"/\" + page + \", p.\" + (currentindex) + \" is already added.\";\n this.popupVisible = true;\n }\n else {\n this.docBasketChild.basketItems[index].pageCount = this.docBasketChild.basketItems[index].pageCount + 1;\n this.docBasketChild.basketItems[index].pages.push((currentindex - 1).toString());\n this.docBasketChild.basketItems[index].imagepaths.push(planImages[currentindex - 1]);\n console.log(\"Updated entry\");\n this.Message = \"Plan Book/Page \" + book + \"/\" + page + \", p.\" + (currentindex) + \" is added successfully.\";\n this.popupVisible = true;\n }\n }\n\n else {\n this.basketItem = new basketVM();\n this.basketItem.document = 'B:' + book + '/P:' + page;\n this.basketItem.book = book;\n this.basketItem.page = page;\n this.basketItem.isEmail = false;\n this.basketItem.isDownload = false;\n this.basketItem.downloadAs = 'pdf';\n this.basketItem.wholeDoc = false;\n this.basketItem.pageCount = 1;\n this.basketItem.pages = new Array((currentindex - 1).toString());\n this.basketItem.imagepaths = new Array(planImages[currentindex - 1]);\n\n this.docBasketChild.basketItems.push(this.basketItem);\n //update local storage\n if (localStorage.getItem(\"planbasket\") !== null && localStorage.getItem(\"planbasket\").length > 0) {\n let basketls = JSON.parse(localStorage.getItem(\"planbasket\"));\n basketls.push(this.basketItem);\n localStorage.setItem(\"planbasket\", JSON.stringify(basketls));\n }\n\n console.log(\"Added entry\");\n this.Message = \"Plan Book/Page \" + book + \"/\" + book + \", p.\" + (currentindex) + \" is added successfully.\";\n this.popupVisible = true;\n }\n\n }\n\n toggleGo() {\n this.collapseGo = !this.collapseGo;\n }\n\n //toggleReturn() {\n // this.collapseReturn = !this.collapseReturn;\n //}\n\n @HostListener('window:resize', ['$event'])\n getScreenSize(event?) {\n this.screenWidth = window.innerWidth;\n }\n\n //collapsesideinfo: boolean = false;\n\n //toggleSideInfo() {\n // this.collapsesideinfo = !this.collapsesideinfo;\n //}\n\n //ItemClick(e) {\n // if (e === null) {\n // console.log('ItemClick fired and event is null');\n // }\n // else {\n // console.log(`ItemClick fired: ${e.itemData}`);\n // this.planname = e.itemData as string;\n // console.log(`planname: ${this.planname}`);\n // this.getCertPlanImage()\n\n // }\n //}\n\n //getDirectoryImage() {\n // this.service.GetIndexDirectoryImage(this.results[0].indexBook, this.results[0].indexGroup, this.results[0].indexPage, this.results[0].dateGroup).subscribe(\n // data => {\n // this.img = data\n // console.log(\"img\" + this.img);\n // },\n // error => { this.error = error }\n // );\n //}\n\n getNextIdx(event: Event) {\n\n this.currentIndex++;\n console.log(\"nxt pg CII\" + this.currentImageIndex);\n if (this.docImages.length > this.currentImageIndex) {\n this.showImage(this.currentImageIndex);\n this.currentImageIndex++;\n }\n else {\n console.log(this.indexPaths[this.currentIndex - 1]);\n //this.getImageByBookPage(this.planImages[this.currentIndex - 1], 0, true);\n this.getIndexDirectoryImage(this.indexPaths[this.currentIndex], 0, true);\n }\n\n this.changeNavigationbutton(this.pageCount);\n\n }\n\n /**\n * Navigate to previous page of a document.\n * @param event\n */\n getPrevIdx(event: Event) {\n\n this.currentIndex--;\n if (this.currentImageIndex > 1) {\n this.showImage((this.currentImageIndex - 2));\n this.currentImageIndex--;\n }\n else {\n //this.getImageByBookPage(this.planImages[this.currentIndex - 1], 0, false);\n this.getIndexDirectoryImage(this.indexPaths[this.currentIndex], 0, false);\n }\n this.changeNavigationbutton(this.pageCount);\n\n }\n}\n","
\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n \r\n
\r\n
\r\n +\r\n
1000 ? 'block' : (collapseGo) ? 'block' : 'none'}\">\r\n \r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n

p.{{currentIndex}} of {{pageCount}}

\r\n \r\n \r\n
\r\n \r\n
\r\n \r\n

p.{{currentIndex}} of {{pageCount}}

\r\n \r\n
\r\n
\r\n
\r\n
\r\n Loading Image, please wait ...\r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n \r\n
\r\n \r\n

Loading....

\r\n
\r\n
\r\n
\r\n\r\n \r\n
\r\n

\r\n {{Message}}\r\n

\r\n
\r\n
\r\n
\r\n","import { Component, OnInit, ViewChild, HostListener } from '@angular/core';\nimport { ActivatedRoute, Router } from '@angular/router';\r\nimport { NavMenuService } from '../../../shared/services/nav-menu-service';\r\nimport { UnindexedRecordDocImageComponent } from '../../components/unindexed-record-doc-image/unindexed-record-doc-image.component';\r\nimport { NgxExtendedPdfViewerComponent, PdfBreakpoints, pdfDefaultOptions } from 'ngx-extended-pdf-viewer';\r\n\n@Component({\n selector: 'app-unindexed-record-doc-disp-pg',\n templateUrl: './unindexed-record-doc-disp-pg.component.html',\n styleUrls: ['./unindexed-record-doc-disp-pg.component.css']\n})\nexport class UnindexedRecordDocDispPgComponent implements OnInit {\n\n public indexbook!: string;\n public indexgroup!: string;\n public indexpage!: string;\n public dategroup!: number;\n collapsesideinfo: boolean = false;\n //public record: RecDocVM;\n error: any;\n public isImgVwVisible: boolean = true;\n public isLoadingDetail: boolean = true;\n\n @ViewChild(UnindexedRecordDocImageComponent) unindexedRecordDocImageComponent: UnindexedRecordDocImageComponent;\n\n screenWidth: any;\n\n\n constructor(private route: ActivatedRoute, private router: Router, private nav: NavMenuService) {\n\n }\n\n ngOnInit() {\n this.indexbook = this.route.snapshot.paramMap.get('indexbook')!;\n this.indexgroup = this.route.snapshot.paramMap.get('indexgroup')!;\n this.indexpage = this.route.snapshot.paramMap.get('indexpage')!;\n this.dategroup = Number(this.route.snapshot.paramMap.get('dategroup'));\n console.log('indexbook: ' + this.indexbook + this.indexgroup + this.indexpage + this.dategroup);\n this.nav.hide();\n this.isLoadingDetail = true;\n }\n\n back(url: string) {\n\n //this.router.navigate([url]);\n //this.nav.show();\n window.opener = 'Self';\n window.open('', '_parent', '');\n window.close();\n\n }\n\n\n toggleSideInfo() {\n this.collapsesideinfo = !this.collapsesideinfo;\n\n }\n\n @HostListener('window:resize', ['$event'])\n getScreenSize(event: any) {\n this.screenWidth = window.innerWidth;\n }\n\n getIsImgVwVisible(e: any) {\n this.isImgVwVisible = e;\n }\n}\n","
\r\n \r\n
\r\n\r\n\r\n\r\n","import { Component, OnInit, ViewChild, HostListener } from '@angular/core';\r\nimport { DateRangeUnindexComponent } from '../../components/date-range-unindex/date-range-unindex.component';\r\nimport { RoleTypeComponent } from '../../components/role-type/role-type.component';\r\nimport { NgForm, FormGroup, FormBuilder, FormControl } from '@angular/forms';\r\nimport { Router, ActivatedRoute } from '@angular/router';\r\nimport { Store } from '@ngrx/store';\r\nimport { AppState } from '../../../store/reducers/reducers';\r\nimport * as CompoundNameActions from '../../../store/actions/compoundname.action';\r\nimport * as RoleTypeActions from '../../../store/actions/roletype.action';\r\nimport { UnindexSearchService } from '../../unindexed-search-service';\r\nimport { IndexVM } from '../../../shared/viewmodels/ISearchServiceReg';\r\nimport { CompoundNameIdxComponent } from '../../../shared/components/compound-name-idx/compound-name-idx.component';\r\n\r\n@Component({\r\n selector: 'app-unindexed-record-search',\r\n providers: [UnindexSearchService],\r\n templateUrl: './unindexed-record-search.component.html',\r\n styleUrls: ['./unindexed-record-search.component.css']\r\n})\r\nexport class UnindexedRecordSearchComponent implements OnInit {\r\n\r\n @ViewChild(CompoundNameIdxComponent) compoundNameChild: CompoundNameIdxComponent;\r\n @ViewChild(DateRangeUnindexComponent) dateRangeChild: DateRangeUnindexComponent;\r\n @ViewChild(RoleTypeComponent) roleChild: RoleTypeComponent;\r\n \r\n @ViewChild('f', { static: true }) unindexSearchForm: NgForm;\r\n parentForm!: FormGroup;\r\n results: IndexVM[] = [];\r\n error: any;\r\n img!: string;\r\n majorgroup!: string;\r\n fnameShow: boolean=true;\r\n screenWidth: any;\r\n\r\n ngOnInit() {\r\n //this.getScreenSize();\r\n this.majorgroup = this.route.snapshot.paramMap.get('majorgroup')!;\r\n if (this.majorgroup === \"1800-1854\")\r\n this.fnameShow = false;\r\n this.parentForm = this.fb.group({\r\n });\r\n\r\n this.unindexSearchForm.form = this.fb.group({});\r\n\r\n }\r\n\r\n\r\n\r\n constructor(private router: Router, private store: Store, private fb: FormBuilder, private service: UnindexSearchService, private route: ActivatedRoute) {\r\n\r\n \r\n }\r\n\r\n \r\n addRecToStore(fname: string, lname: string) {\r\n this.store.dispatch(new CompoundNameActions.AddName({\r\n fName: fname,\r\n lastcorpName: lname\r\n }))\r\n\r\n \r\n }\r\n\r\n /**\r\n * Delete input parameters from store.\r\n * @param index\r\n */\r\n delRecFromStore(index: number) {\r\n //this.store.dispatch(new RecActions.RemoveRec(index));\r\n this.store.dispatch(new CompoundNameActions.RemoveName(index));\r\n this.store.dispatch(new RoleTypeActions.RemoveRoleType(index));\r\n }\r\n\r\n \r\n onSubmit(e: any) {\r\n if (this.unindexSearchForm.valid) {\r\n\r\n this.delRecFromStore(0);\r\n\r\n this.addRecToStore(\r\n this.compoundNameChild.utilityobj.fName,\r\n this.compoundNameChild.utilityobj.lastcorpName\r\n );\r\n this.getResults();\r\n \r\n \r\n \r\n console.log(\"date\" + this.dateRangeChild.selectdate);\r\n\r\n }\r\n else {\r\n this.validateAllFormFields(this.unindexSearchForm.form);\r\n }\r\n }\r\n\r\n validateAllFormFields(formGroup: FormGroup) { //{1}\r\n Object.keys(formGroup.controls).forEach(field => { //{2}\r\n const control = formGroup.get(field); //{3}\r\n if (control instanceof FormControl) { //{4}\r\n control.markAsTouched({ onlySelf: true });\r\n } else if (control instanceof FormGroup) { //{5}\r\n this.validateAllFormFields(control); //{6}\r\n }\r\n });\r\n }\r\n ngAfterViewInit() {\r\n \r\n this.unindexSearchForm.form.addControl('compoundNameForm', this.compoundNameChild.form);\r\n this.compoundNameChild.form.setParent(this.unindexSearchForm.form);\r\n\r\n //this.unindexSearchForm.form.addControl('dateRangeForm', this.dateRangeChild.form);\r\n //this.dateRangeChild.form.setParent(this.unindexSearchForm.form);\r\n }\r\n\r\n getResults() {\r\n this.service.GetUnindexedSearchResults(this.compoundNameChild.utilityobj.lastcorpName, this.compoundNameChild.utilityobj.fName, this.dateRangeChild.dategroup).subscribe(\r\n data => {\r\n this.results = data\r\n },\r\n error => { this.error = error }\r\n );\r\n }\r\n\r\n \r\n\r\n //ItemClick(event) {\r\n // this.router.navigate(['/unindexed-record-doc-disp-pg', this.results[0].indexBook, this.results[0].indexGroup, this.results[0].indexPage, this.results[0].dateGroup]);\r\n //}\r\n\r\n ItemClick(e: any) {\r\n if (e === null) {\r\n console.log('ItemClick fired and event is null');\r\n }\r\n else {\r\n console.log(`ItemClick fired: ${e.itemData}`);\r\n \r\n // this.router.navigate(['/unindexed-record-doc-disp-pg', e.itemData.indexBook, e.itemData.indexGroup, e.itemData.indexPage, e.itemData.dateGroup]);\r\n let baseUrl = window.location.pathname.replace('unindexed-record-search1', 'unindexed-record-doc-disp-pg');\r\n console.log(window.location.href + window.location.host + window.location.protocol);\r\n console.log(window.location.pathname.replace('unindexed-record-search1', 'unindexed-record-doc-disp-pg'));\r\n console.log(`baserUrl: ${baseUrl}`);\r\n\r\n var baseStr = baseUrl.split(\"/\");\r\n\r\n\r\n console.log(`baseStr[baseStr.length -1]: ${baseStr[baseStr.length - 1]}`);\r\n var urlFinally = \"\";\r\n baseStr.forEach((s, i) => {\r\n if (i != baseStr.length - 1) {\r\n urlFinally += s + \"/\";\r\n }\r\n });\r\n \r\n let url = this.router.createUrlTree([urlFinally, e.itemData.indexBook, e.itemData.indexGroup, e.itemData.indexPage, e.itemData.dateGroup]);\r\n //let url = this.router.createUrlTree([bs, e.itemData.indexBook, e.itemData.indexGroup, e.itemData.indexPage, e.itemData.dateGroup]);\r\n window.open(url.toString(), '_blank');\r\n }\r\n }\r\n\r\n @HostListener('window:resize', ['$event'])\r\n getScreenSize(event: any) {\r\n this.screenWidth = window.innerWidth;\r\n }\r\n\r\n}\r\n","
\r\n

Search Recorded Land by

\r\n
\r\n
768) ? '123px' : fnameShow ? '279px' : '186px'}\">\r\n
768) ? 'Initial' : fnameShow ? '186px' : '93px'}\">\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n \r\n
\r\n {{r.indexName}}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n","import { Injectable, Inject } from '@angular/core';\r\nimport { formatDate, parseDate } from \"devextreme/localization\";\r\nimport { HttpClient, HttpParams, HttpErrorResponse, HttpHeaders, HttpResponseBase, HttpResponse } from '@angular/common/http';\r\nimport { Observable, throwError as _observableThrow, of as _observableOf } from 'rxjs';\r\nimport { mergeMap as _observableMergeMap, catchError as _observableCatch } from 'rxjs/operators';\r\nimport { IndexGroupsVM, IndexVM } from '../shared/viewmodels/ISearchServiceReg';\r\n\r\nexport class SwaggerException extends Error {\r\n message: string;\r\n status: number;\r\n response: string;\r\n headers: { [key: string]: any; };\r\n result: any;\r\n\r\n constructor(message: string, status: number, response: string, headers: { [key: string]: any; }, result: any) {\r\n super();\r\n\r\n this.message = message;\r\n this.status = status;\r\n this.response = response;\r\n this.headers = headers;\r\n this.result = result;\r\n }\r\n\r\n protected isSwaggerException = true;\r\n\r\n static isSwaggerException(obj: any): obj is SwaggerException {\r\n return obj.isSwaggerException === true;\r\n }\r\n}\r\n\r\n\r\n@Injectable()\r\nexport class UnindexSearchService {\r\n myAppUrl: string = \"\";\r\n\r\n protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined;\r\n\r\n\r\n constructor(private _http: HttpClient, @Inject('BASE_URL') baseUrl: string) {\r\n this.myAppUrl = baseUrl;\r\n }\r\n\r\n blobToText(blob: any): Observable {\r\n return new Observable((observer: any) => {\r\n if (!blob) {\r\n observer.next(\"\");\r\n observer.complete();\r\n } else {\r\n let reader = new FileReader();\r\n reader.onload = event => {\r\n observer.next((event.target).result);\r\n observer.complete();\r\n };\r\n reader.readAsText(blob);\r\n }\r\n });\r\n }\r\n throwException(message: string, status: number, response: string, headers: { [key: string]: any; }, result?: any): Observable {\r\n if (result !== null && result !== undefined)\r\n return _observableThrow(result);\r\n else\r\n return _observableThrow(new SwaggerException(message, status, response, headers, null));\r\n }\r\n\r\n\r\n GetIndexMajorIndexGroup(datetabindex:number, roletype:number) {\r\n console.log('getDocPlanImgByBP');\r\n return this._http.get(this.myAppUrl + 'api/ES/GetIndexMajorIndexGroup?pFirst=' + datetabindex + '&pGroup=' + roletype);\r\n }\r\n\r\n GetUnindexedSearchResults(lname: string, fname:string, range:number) {\r\n console.log('getDocPlanImgByBP');\r\n return this._http.get(this.myAppUrl + 'api/ES/GetUnindexedSearchResults?lname=' + lname + '&fname=' + fname + '&range=' + range);\r\n }\r\n\r\n GetIndexPaths(indexBook: string, indexGroup: string, indexPage: string, dateGroup: number) {\r\n console.log('GetIndexPaths');\r\n return this._http.get(this.myAppUrl + 'api/ES/GetIndexDirectoryImage?indexBook=' + indexBook + '&indexGroup=' + indexGroup + '&indexPage=' + indexPage + '&dateGroup=' + dateGroup);\r\n }\r\n\r\n GetIndexBPImagePath(book: string, stype: string) {\r\n console.log('GetIndexDirectoryImage');\r\n return this._http.get(this.myAppUrl + 'api/ES/GetIndexBPImagePath?book=' + book + '&stype=' + stype);\r\n }\r\n\r\n GetDocPlanPage(path: string, page: number) {\r\n console.log('getDocPlanImgByBP');\r\n\r\n return this._http.get(this.myAppUrl + 'api/ES/GetDocPlanPage?path=' + path + '&page=' + page, { responseType: 'text' });\r\n }\r\n\r\n logError(message: string) {\r\n this._http.get(this.myAppUrl + 'api/ES/LogError?message=' + message);\r\n }\r\n\r\n logInfo(message: string) {\r\n this._http.get(this.myAppUrl + 'api/ES/LogInfo?message=' + message);\r\n }\r\n\r\n logWarning(message: string) {\r\n this._http.get(this.myAppUrl + 'api/ES/LogWarning?message=' + message);\r\n }\r\n}\r\n","// This file can be replaced during build by using the `fileReplacements` array.\r\n// `ng build` replaces `environment.ts` with `environment.prod.ts`.\r\n// The list of file replacements can be found in `angular.json`.\r\n\r\nexport const environment = {\r\n production: false\r\n};\r\n\r\n/*\r\n * For easier debugging in development mode, you can import the following file\r\n * to ignore zone related error stack frames such as `zone.run`, `zoneDelegate.invokeTask`.\r\n *\r\n * This import should be commented out in production mode because it will have a negative impact\r\n * on performance if an error is thrown.\r\n */\r\n// import 'zone.js/plugins/zone-error'; // Included with Angular CLI.\r\n","import { enableProdMode } from '@angular/core';\r\nimport { platformBrowserDynamic } from '@angular/platform-browser-dynamic';\r\n\r\nimport { AppModule } from './app/app.module';\r\nimport { environment } from './environments/environment';\r\n\r\nexport function getBaseUrl() {\r\n return document.getElementsByTagName('base')[0].href;\r\n}\r\n\r\nconst providers = [\r\n { provide: 'BASE_URL', useFactory: getBaseUrl, deps: [] }\r\n];\r\n\r\nif (environment.production) {\r\n enableProdMode();\r\n}\r\n\r\nplatformBrowserDynamic(providers).bootstrapModule(AppModule)\r\n .catch(err => console.log(err));\r\n"],"names":["RoutesRecognized","filter","pairwise","PlanNumActions","AddressActions","NameActions","DateRangeActions","CityActions","BookPageActions","PlanRoleActions","CertTypeActions","DocBasketExComponent","i0","ɵɵelementStart","ɵɵelement","ɵɵelementEnd","ɵɵproperty","ɵɵpureFunction1","_c1","ctx_r0","screenWidth","nav","toggleMenu","AppComponent","receiveLoader","$event","showLoader","console","log","constructor","router","store","sbService","title","newNavMenuItem","displayName","name","links","path","isActive","newNavMenuItem2","pushNavMenuItem","ngOnInit","events","pipe","e","subscribe","event","urlAfterRedirects","endsWith","delRecFromStore","includes","index","dispatch","RemoveName","RemoveAddress","RemovePlanNum","RemoveDate","RemoveCity","RemoveBP","RemoveRole","RemoveCertType","getScreenSize","window","innerWidth","visibilitychange","checkHiddenDocument","forceRefresh","triggerRender","_","ɵɵdirectiveInject","i1","NavMenuService","i2","Router","i3","Store","i4","ShoppingBasketService","_2","selectors","viewQuery","AppComponent_Query","rf","ctx","ɵɵlistener","AppComponent_resize_HostBindingHandler","ɵɵresolveWindow","AppComponent_visibilitychange_HostBindingHandler","ɵɵresolveDocument","AppComponent_Template_app_doc_basket_ex_loaderEvent_6_listener","ɵɵtemplate","AppComponent_div_7_Template","ɵɵadvance","visible","ɵɵpureFunction2","_c0","BrowserModule","FormsModule","ReactiveFormsModule","StoreModule","RouterModule","DxDataGridModule","DxSelectBoxModule","DxCheckBoxModule","DxTabPanelModule","DxTemplateModule","DxListModule","DxLoadPanelModule","DxDateBoxModule","DxValidatorModule","DxButtonModule","DxTooltipModule","DxPopupModule","DxReportViewerModule","DocBasketAddComponent","ContainsComponent","SelectIndexComponent","PropSearchComponentES","MyCityTownEXComponent","HttpClientModule","CommonModule","CityTownExService","RecPlanNameSearchComponent","RecPlanBpSearchComponent","RecPlanPlannumSearchComponent","NameComponent","PlanroleComponent","PlanNumComponent","RegPlanAddressSearchComponent","RegPlanCertificateSearchComponent","PlanCertificateNoComponent","RecSearchService","RecPlanNameResultPgComponent","RecPlanNameDocDispPgComponent","RecPlanBpDocDispPgComponent","RecPlanPlannumDocDispPgComponent","RecPlanNameSearchGridComponent","RecPlanNameSearchHeaderComponent","RecPlanDocDetailComponent","RecPlanDocImageComponent","reducers","RecPlanBpSearchGridComponent","RecPlanBpSearchHeaderComponent","RecPlanPlannumSearchHeaderComponent","RecPlanPlannumSearchGridComponent","RecPlanPlannumResultPgComponent","RecPlanBpResultPgComponent","RegPlanAddressResultPgComponent","RegPlanAddressDocDispPgComponent","RegPlanAddressSearchHeaderComponent","RegPlanAddressSearchGridComponent","RegPlanDocImageComponent","RegPlanOwnerSearchComponent","RegPlanOwnerResultPgComponent","RegPlanOwnerDocDispPgComponent","RegPlanOwnerSearchHeaderComponent","RegPlanOwnerSearchGridComponent","RegPlanCertificateDocDispPgComponent","RegPlanCertSearchGridComponent","RegPlanCertificateResultPgComponent","RegPlanCertSearchHeaderComponent","PlanDownloadComponent","UnindexedRecordSearchComponent","DateRangeUnindexComponent","RoleTypeComponent","UnindexedRecordDocDispPgComponent","UnindexedRecordDocImageComponent","CompoundNameIdxComponent","LandingPageComponent","NavMenuComponent","NavMenuItemComponent","HeaderModule","DocCategoryEX2Component","DateRangePSComponent","CompoundNameComponent","AddressComponent","CityTownEXComponent","RoleComponent","RoleComponent2","DaterangeComponent","DoccategoryexComponent","DoctypeexComponent","RecNameSearchGridComponent","RecNameSearchHeaderComponent","RecNameResultPgComponent","RecImageViewer","RecNameSearchDetailComponent","RecDocDetailParentComponent","RecDocDetailInfoComponent","RecAddressSearchComponent","CompoundAddressComponent","RecAddressResultPgComponent","RecAddressSearchHeaderComponent","RecAddressSearchGridComponent","RecAddressDocDispPgComponent","RecBpSearchComponent","RecBpDocDispPgComponent","BookPageComponent","RecdocComponent","RecDocSearchComponent","RecDocnumDocDispPgComponent","DocBasketComponent","RecNameDocDispPgComponent","RecNameSearchComponent","RecDateSearchComponent","RecDateResultPgComponent","RecDateSearchHeaderComponent","RecDateSearchGridComponent","RecDateDocDispPgComponent","RecValueSearchComponent","RecValueResultPgComponent","RecValueDocDispPgComponent","AmountrangeComponent","DocCategoryVsComponent","RegNameSearchComponent","RegAddressSearchComponent","RegDateSearchComponent","RegCertificateSearchComponent","RegValueSearchComponent","RegOwnerSearchComponent","RegDocumentNoSearchComponent","CompundNameOwnerComponent","CertificateNoComponent","RegNameResultPgComponent","RegAddressResultPgComponent","RegDateResultPgComponent","RegValueResultPgComponent","RegOwnerResultPgComponent","RegNameSearchHeaderComponent","RegAddressSearchHeaderComponent","RegDateSearchHeaderComponent","RegOwnerSearchHeaderComponent","RegValueSearchHeaderComponent","RegNameSearchGridComponent","RegAddressSearchGridComponent","RegDateSearchGridComponent","RegOwnerSearchGridComponent","RegValueSearchGridComponent","RegNameDocDispPgComponent","RegAddressDocDispPgComponent","RegCertificateDocDispPgComponent","RegDateDocDispPgComponent","RegDocumentNoDocDispPgComponent","RegOwnerDocDispPgComponent","RegValueDocDispPgComponent","RegDocDetailComponent","RegDocImageComponent","PropertySearchPgComponent","PropertySearchResultPgComponent","PropertySearchDocDispPgComponent","PropertySearchHeaderComponent","PropertySearchDocDetailComponent","PropertySearchDocImageComponent","PropertySearchGridComponent","CityTownExLcComponent","DocTypeExLcComponent","RegCertImageComponent","RegEncumbrancesComponent","RegCertDispPgComponent","RegCertificateCertDispPgComponent","ReportViewerComponent","ReportViewerPlanComponent","RecValueSearchHeaderComponent","RecValueSearchGridComponent","DateRangeParentComponent","DatePickerComponent","AuthenticationService","CCPaymentService","EvalonPaymentService","NgxExtendedPdfViewerModule","EvalonPaymentComponent","EvalonLightboxComponent","BrowserAnimationsModule","AppModule","bootstrap","_3","imports","withServerTransition","appId","forRoot","forFeature","component","pathMatch","redirectTo","data","declarations","StoreRootModule","StoreFeatureModule","exports","EventEmitter","ccPaymentVM","HeaderComponent_label_8_Template_a_click_1_listener","ɵɵrestoreView","_r1","ctx_r1","ɵɵnextContext","ɵɵresetView","getCredentials","ɵɵtext","ɵɵtextInterpolate","service","loginLink","HeaderComponent_div_9_Template_button_click_6_listener","_r3","menuClick","menu_r4","HeaderComponent","SBservice","ccPmtSvc","evtEmitter","basketItems","Array","ccPmt","localStorage","getItem","length","JSON","parse","_this","_asyncToGenerator","loc","undefined","showLogin","ValidateGuid","success","isLoggedIn","uid","guid","_this2","navigate","changePassword","item","getAccountActivity","logout","HeaderComponent_Query","HeaderComponent_label_8_Template","HeaderComponent_div_9_Template","ɵɵpureFunction0","MatMenuModule","MatButtonModule","MatIconModule","LandingPageService","route","x","location","href","id","snapshot","params","machineId","removeItem","machineLocation","setItem","toString","getValidMachine","toPromise","then","machineObj","validMachine","stationId","validStation","i","show","navItems","forEach","value","linkClick","ActivatedRoute","features","ɵɵProvidersFeature","decls","vars","consts","template","LandingPageComponent_Template","LandingPageComponent_Template_a_click_13_listener","LandingPageComponent_Template_a_click_27_listener","LandingPageComponent_Template_a_click_41_listener","LandingPageComponent_Template_a_click_55_listener","LandingPageComponent_Template_a_click_69_listener","HttpParams","_http","baseUrl","myAppUrl","set","get","ɵɵinject","HttpClient","factory","ɵfac","NavMenuItemComponent_span_3_Template_a_click_1_listener","expandMenu","Item","ɵɵtextInterpolate1","NavMenuItemComponent_ng_template_4_Template_a_click_0_listener","link_r4","_c3","NavMenuItemComponent_span_6_div_2_span_1_Template","_c4","link_r5","NavMenuItemComponent_span_6_ng_template_3_span_0_Template","NavMenuItemComponent_span_6_div_2_Template","NavMenuItemComponent_span_6_ng_template_3_Template","ɵɵtemplateRefExtractor","_c2","UnIndexMenu_r6","inputs","DataParent","NavMenuItemComponent_Template","NavMenuItemComponent_span_3_Template","NavMenuItemComponent_ng_template_4_Template","NavMenuItemComponent_span_6_Template","Propsearch_r7","navItem_r3","NavMenuComponent_nav_0_Template_button_click_3_listener","toggleCollapse","NavMenuComponent_nav_0_span_8_Template","collapse","menuItems","isExpanded","getMenu","NavMenuComponent_Template","NavMenuComponent_nav_0_Template","ɵɵtwoWayListener","MyCityTownEXComponent_ng_template_4_div_8_Template_input_ngModelChange_2_listener","city_r4","$implicit","ɵɵtwoWayBindingSet","isChecked","ɵɵtwoWayProperty","townName","MyCityTownEXComponent_ng_template_4_Template_input_click_5_listener","checkAll","MyCityTownEXComponent_ng_template_4_div_8_Template","citytowns","isLoading","toggleCheck","populateCityTowns","getCityTown","error","val","MyCityTownEXComponent_Template","MyCityTownEXComponent_div_3_Template","MyCityTownEXComponent_ng_template_4_Template","showDropdown_r5","DateRangePSComponent_Template","getCoreSearchState","DocCategories2CIF","fb","group","select","message","stringify","docCategories2","form","docCategory","valueChanges","valid","ValidateRequired","control","deeds","hmstd","frclsrs","liensAndMort","discharges","alldocs","oneisrequired","FormBuilder","DocCategoryEX2Component_Template","DocCategoryEX2Component_span_7_Template","errors","ɵɵtextInterpolate2","dtor_r2","lastCorpName","fName","PropertySearchDocDetailComponent_dxi_item_27_div_1_Template","PropertySearchDocDetailComponent_dxi_item_27_ng_template_2_Template","lastnameonlytor_r3","dtee_r4","PropertySearchDocDetailComponent_dxi_item_33_div_1_Template","PropertySearchDocDetailComponent_dxi_item_33_ng_template_2_Template","lastnameonlytee_r5","ɵɵtextInterpolate3","item_r6","docType","primaryID","secondaryID","item_r7","item_r8","address_r9","address","loadingVisible","moveToRef","ItemClick","itemData","payload","emit","recDocVM","book","page","isImgVwVisible","outputs","PropertySearchDocDetailComponent_Template","PropertySearchDocDetailComponent_dxi_item_27_Template","PropertySearchDocDetailComponent_dxi_item_33_Template","PropertySearchDocDetailComponent_Template_dx_list_onItemClick_38_listener","PropertySearchDocDetailComponent_div_39_Template","PropertySearchDocDetailComponent_Template_dx_list_onItemClick_44_listener","PropertySearchDocDetailComponent_div_45_Template","PropertySearchDocDetailComponent_Template_dx_list_onItemClick_50_listener","PropertySearchDocDetailComponent_div_51_Template","PropertySearchDocDetailComponent_div_59_Template","PropertySearchDocDetailComponent_Template_dx_load_panel_visibleChange_60_listener","ɵɵpipeBind2","docDetail","recDate","docID","ɵɵpureFunction4","docTors","docTees","docRefBy","docRefTo","docTrans","docAddress","PropertySearchDocImageComponent_Template","DxDataGridComponent","PropertySearchService","take","GetProperySearchQuery","GetPropertySearchReportQuery","SearchFilter","ReportViewerService","ɵɵpureFunction3","row_r1","recLandBook","recLandPage","recLandBP","PropertySearchGridComponent_div_26_div_1_Template","PropertySearchGridComponent_div_26_ng_template_2_Template","showRegDoc_r2","reportService","towns","doctypes","userInput","city","push","townAbbrev","getPropertyResults","showFilterRow","applyFilterTypes","key","currentFilter","query","lastName","lastcorpName","firstName","fromDate","date","toDate","getPropertySearchResults","propertySearchRows","psresults","recordCount","clearFilter","dataGrid","instance","onInitialized","imgClicked","isRowSelected","row","selectRows","onExpanding","focusedRowKey","option","collapseAll","assignTypes","filters","fl","filterType","prop","fieldName","fieldType","export","filtersUsed","getCombinedFilter","filterExpression","filterObjs","filtersOnGrid","subHelper","sortBy","sortDirection","filterObjects","getPropertySearchReport","reportName","PropertySearchGridComponent_Query","PropertySearchGridComponent_Template","PropertySearchGridComponent_Template_button_click_2_listener","PropertySearchGridComponent_Template_dx_data_grid_onInitialized_4_listener","PropertySearchGridComponent_Template_dx_data_grid_onCellClick_4_listener","PropertySearchGridComponent_div_26_Template","errorMsg","recs","back","url","PropertySearchHeaderComponent_Template","PropertySearchHeaderComponent_Template_button_click_2_listener","PropertySearchHeaderComponent_label_21_Template","PropertySearchHeaderComponent_label_22_Template","PropertySearchHeaderComponent_label_23_Template","PropertySearchHeaderComponent_label_24_Template","RegSearchService","NgxExtendedPdfViewerComponent","PropertySearchDocDispPgComponent_div_10_Template_app_rec_doc_detail_info_moveToRef_1_listener","_r2","ctx_r2","loadRef","record","isLoadingDetail","PropertySearchDocDispPgComponent_ng_template_11_Template_app_reg_doc_detail_moveToRef_0_listener","_r4","docNum","linkname","PropertySearchDocDispPgComponent_div_13_Template_app_rec_doc_detail_parent_changeImgVwVisible_1_listener","_r5","getIsImgVwVisible","PropertySearchDocDispPgComponent_div_13_Template_app_rec_doc_detail_parent_changeInInfo_1_listener","loadInfo","docId","PropertySearchDocDispPgComponent_ng_template_14_Template_app_reg_doc_image_changeImgVwVisible_0_listener","_r6","PropertySearchDocDispPgComponent_ng_template_14_Template_app_reg_doc_image_changeInInfo_0_listener","regservice","collapsesideinfo","paramMap","Number","getRecDoc","getRegDoc","opener","open","close","toggleSideInfo","recDocDetailParentChild","PropertySearchDocDispPgComponent_Query","PropertySearchDocDispPgComponent_resize_HostBindingHandler","PropertySearchDocDispPgComponent_Template","PropertySearchDocDispPgComponent_Template_button_click_1_listener","PropertySearchDocDispPgComponent_Template_button_click_7_listener","PropertySearchDocDispPgComponent_div_10_Template","PropertySearchDocDispPgComponent_ng_template_11_Template","PropertySearchDocDispPgComponent_div_13_Template","PropertySearchDocDispPgComponent_ng_template_14_Template","showRegDoc_r7","showRegImg_r8","FormGroup","FormControl","CompoundNameActions","DocCategories2Actions","parentForm","propertySearchForm","addRecToStore","AddName","compoundNameChild","utilityobj","AddCity","cityTownChild","AddDate","dateRangeChild","docCategoryEX2Child","DocCategories2","AddDocCategories2","RemoveDocCategories2","onSubmit","validateAllFormFields","formGroup","Object","keys","controls","field","markAsTouched","onlySelf","ngAfterViewInit","addControl","setParent","search","PropertySearchPgComponent_Query","PropertySearchPgComponent_Template_form_ngSubmit_3_listener","hide","PropertySearchResultPgComponent_Query","propSearchGrid","PropSearchComponentES_Template","HttpHeaders","HttpResponseBase","HttpResponse","PropertySearchListVM","Observable","throwError","_observableThrow","of","_observableOf","mergeMap","_observableMergeMap","catchError","_observableCatch","SearchResult","SwaggerException","Error","status","response","headers","result","isSwaggerException","obj","jsonParseReviver","url_","replace","content_","options_","body","observe","responseType","request","response_","processPropetySearchResponse","responseBlob","Blob","_headers","blobToText","_responseText","result200","resultData200","fromJS","throwException","blob","observer","next","complete","reader","FileReader","onload","target","readAsText","PlanNumCIF","Validators","plannumPattern","plannum","required","pattern","PlanNumComponent_Template","PlanNumComponent_span_8_Template","PlanNumComponent_span_9_Template","tmp_2_0","touched","tmp_3_0","PlanRoleCIF","planrole","role","planroleID","reset","PlanroleComponent_Template","PlanroleComponent_Template_select_ngModelChange_4_listener","RecPlanSearchService","GetRecPlanBPSearchQuery","Swal","bookType","sanitizer","noDataText","state","getResults","coresearchdata","bp","docNumPrimary","docNumSecondary","getRecPlanBPSearchQuery","getRecPlanBPSearchResults","recsresults","recPlanSearchRows","fire","DomSanitizer","RecPlanBpSearchGridComponent_Query","RecPlanBpSearchGridComponent_Template","RecPlanBpSearchGridComponent_Template_dx_data_grid_onInitialized_0_listener","RecPlanBpSearchGridComponent_Template_dx_data_grid_onCellClick_0_listener","RecPlanBpSearchGridComponent_div_10_Template","logInfo","logError","ngOnDestroy","RecPlanBpSearchHeaderComponent_Template","RecPlanBpSearchHeaderComponent_Template_button_click_2_listener","RecPlanDocDetailComponent_Template","styles","basketVM","RecPlanDocImageComponent_div_3_Template_div_drop_0_listener","drop","docbeginbook","docbeginpage","currentImageIndex","RecPlanDocImageComponent_div_3_Template_div_dragover_0_listener","allowDrop","doctype","pageCount","currentIndex","RecPlanDocImageComponent_ng_template_15_div_0_Template_div_dragstart_0_listener","drag","RecPlanDocImageComponent_ng_template_15_div_0_Template_app_image_viewer_onNext_2_listener","getNextPg","RecPlanDocImageComponent_ng_template_15_div_0_Template_app_image_viewer_onPrevious_2_listener","getPrevPg","blobImage","always","currentImage","RecPlanDocImageComponent_ng_template_15_div_0_Template","RecPlanDocImageComponent_ng_template_15_ng_template_1_Template","showMsg_r5","renderer","bufferSize","isLoadingImage","showimageviewer","collapseGo","collapseReturn","changeImgVwVisible","popupVisible","isSmallScreen","docImages","planImagePage","planImages","getDocPlanImgByBP","imgType","pageList","imgPath","pgs","plan","getImageByBookPage","changeNavigationbutton","GetDocPlanPage","shift","splice","pop","showImage","idx","rePaintImgViewer","showimgviewer","imgvwr","download","checkIfFirstPage","checkIfLastPage","isFirstPage","isLastPage","getFirstPg","getLastPg","lastPgIdx","ev","preventDefault","dataTransfer","setData","currentindex","docBasketChild","findIndex","wholeDoc","pages","indexOf","Message","imagepaths","basketItem","document","isEmail","isDownload","downloadAs","basketls","toggleGo","toggleReturn","onThumbnailDrawn","thumbnailEvent","thumbnail","pageId","setAttribute","String","addEventListener","selectPage","onPageChange","radioButtons","querySelectorAll","radio","checked","parseInt","getAttribute","pageNumber","warn","thumbnailElement","closest","pdfViewer","pageAttr","radioPageNumber","isNaN","Renderer2","RecPlanDocImageComponent_Query","RecPlanDocImageComponent_resize_HostBindingHandler","RecPlanDocImageComponent_Template","RecPlanDocImageComponent_div_3_Template","RecPlanDocImageComponent_Template_i_click_6_listener","RecPlanDocImageComponent_Template_i_click_7_listener","RecPlanDocImageComponent_Template_i_click_12_listener","RecPlanDocImageComponent_Template_i_click_13_listener","RecPlanDocImageComponent_div_14_Template","RecPlanDocImageComponent_ng_template_15_Template","RecPlanDocImageComponent_Template_dx_popup_visibleChange_17_listener","showimage_r6","GetRecPlanNameSearchQuery","GetRecPlanNameSearchReportQuery","ReportViewerESService","CustomStore","remoteOps","planId","rolename","paging","filtering","sorting","grouping","summary","load","loadOptions","getRecPlanNameSearchQuery","lName","endDate","type","getRecPlanNameSearchResults","recPlanNameSearchRows","totalCount","catch","fromdate","todate","getRecPlanNameSearchReport","repName","i5","RecPlanNameSearchGridComponent_Query","RecPlanNameSearchGridComponent_Template","RecPlanNameSearchGridComponent_Template_button_click_0_listener","RecPlanNameSearchGridComponent_Template_dx_data_grid_onInitialized_2_listener","RecPlanNameSearchGridComponent_Template_dx_data_grid_onCellClick_2_listener","RecPlanNameSearchGridComponent_div_13_Template","RecPlanNameSearchHeaderComponent_Template","RecPlanNameSearchHeaderComponent_Template_button_click_2_listener","RecPlanNameSearchHeaderComponent_label_16_Template","RecPlanNameSearchHeaderComponent_label_17_Template","RecPlanNameSearchHeaderComponent_label_18_Template","RecPlanNameSearchHeaderComponent_label_19_Template","RecPlanNameSearchHeaderComponent_label_27_Template","RecPlanNameSearchHeaderComponent_label_28_Template","RecPlanNameSearchHeaderComponent_label_29_Template","RecPlanNameSearchHeaderComponent_label_30_Template","regsearchdata","SelectPlanByPlanID","RecPlanPlannumSearchGridComponent_Query","RecPlanPlannumSearchGridComponent_Template","RecPlanPlannumSearchGridComponent_Template_dx_data_grid_onInitialized_0_listener","RecPlanPlannumSearchGridComponent_Template_dx_data_grid_onCellClick_0_listener","RecPlanPlannumSearchGridComponent_div_16_Template","RecPlanPlannumSearchHeaderComponent_Template","RecPlanPlannumSearchHeaderComponent_Template_button_click_2_listener","RecPlanBpDocDispPgComponent_Query","RecPlanBpDocDispPgComponent_resize_HostBindingHandler","RecPlanBpDocDispPgComponent_Template","RecPlanBpDocDispPgComponent_Template_button_click_1_listener","RecPlanBpDocDispPgComponent_Template_app_rec_plan_doc_image_changeImgVwVisible_5_listener","RecPlanBpResultPgComponent_Query","recPlanBPResults","BPActions","AddBP","bookPageSearchForm","bookpageChild","RecPlanBpSearchComponent_Query","RecPlanBpSearchComponent_Template_form_ngSubmit_3_listener","RecPlanNameDocDispPgComponent_Query","RecPlanNameDocDispPgComponent_resize_HostBindingHandler","RecPlanNameDocDispPgComponent_Template","RecPlanNameDocDispPgComponent_Template_button_click_1_listener","RecPlanNameDocDispPgComponent_Template_app_rec_plan_doc_image_changeImgVwVisible_5_listener","RecPlanNameResultPgComponent_Query","recPlanNameResults","recPlanNameSearchForm","Date","lname","fname","planroleid","AddRole","nameChild","planroleChild","toLocaleDateString","RecPlanNameSearchComponent_Query","RecPlanNameSearchComponent_Template_form_ngSubmit_3_listener","RecPlanNameSearchComponent_Template_button_click_17_listener","RecPlanPlannumDocDispPgComponent_Query","RecPlanPlannumDocDispPgComponent_resize_HostBindingHandler","RecPlanPlannumDocDispPgComponent_Template","RecPlanPlannumDocDispPgComponent_Template_button_click_1_listener","RecPlanPlannumDocDispPgComponent_Template_app_rec_plan_doc_image_changeImgVwVisible_5_listener","RecPlanPlannumResultPgComponent_Query","recPlanNumResults","AddPlanNum","plannumSearchForm","planNumChild","RecPlanPlannumSearchComponent_Query","RecPlanPlannumSearchComponent_Template_form_ngSubmit_3_listener","RecPlanNameSearchListVM","SearchPlanRoom2ListVM","processGetRecPlanNameSearchResponse","processGetRecPlanBPSearchResponse","booktype","res","planid","logWarning","RecImageViewer_ng_template_2_Template_app_image_viewer_onNext_0_listener","getNextImage","ngOnChanges","changes","getImageByDocID","getImageByDocId","getImageByBookAndPage","image","ɵɵNgOnChangesFeature","RecImageViewer_Template","RecImageViewer_div_1_Template","RecImageViewer_ng_template_2_Template","showimage_r3","GetRecAddressSearchQuery","GetRecAddressSearchReportQuery","doct","docCode","getAddressResults","streetNumber","streetAddress","strtnum","strtname","streetName","getRecAddressSearchResults","recAddressSearchRows","recdoc","mouseover","docIDstring","split","infoFromServer","tor","tee","getRecAddressSearchReportQuery","getRecAddressSearchReport","RecAddressSearchGridComponent_Query","RecAddressSearchGridComponent_Template","RecAddressSearchGridComponent_Template_button_click_2_listener","RecAddressSearchGridComponent_Template_dx_data_grid_onInitialized_4_listener","RecAddressSearchGridComponent_Template_dx_data_grid_onRowExpanding_4_listener","RecAddressSearchGridComponent_Template_dx_data_grid_onCellClick_4_listener","RecAddressSearchGridComponent_div_14_Template","RecAddressSearchHeaderComponent_Template","RecAddressSearchHeaderComponent_Template_button_click_2_listener","RecAddressSearchHeaderComponent_label_21_Template","RecAddressSearchHeaderComponent_label_22_Template","RecAddressSearchHeaderComponent_label_23_Template","GetRecDateSearchQuery","GetRecDateSearchReportQuery","getDateResults","types","getRecDateSearchResults","recDateSearchRows","getRecDateSearchReport","RecDateSearchGridComponent_Query","RecDateSearchGridComponent_Template","RecDateSearchGridComponent_Template_button_click_2_listener","RecDateSearchGridComponent_Template_dx_data_grid_onInitialized_4_listener","RecDateSearchGridComponent_Template_dx_data_grid_onRowExpanding_4_listener","RecDateSearchGridComponent_Template_dx_data_grid_onCellClick_4_listener","RecDateSearchGridComponent_div_14_Template","RecDateSearchHeaderComponent_Template","RecDateSearchHeaderComponent_Template_button_click_2_listener","RecDateSearchHeaderComponent_label_18_Template","RecDateSearchHeaderComponent_label_19_Template","RecDateSearchHeaderComponent_label_20_Template","RecDocDetailInfoComponent_div_25_div_1_Template","RecDocDetailInfoComponent_div_25_ng_template_2_Template","RecDocDetailInfoComponent_div_31_div_1_Template","RecDocDetailInfoComponent_div_31_ng_template_2_Template","communicationService","populateForm","teeClick","emitPopulateForm","queryParams","torClick","ComponentCommunicationService","RecDocDetailInfoComponent_Template","RecDocDetailInfoComponent_Template_dx_list_onItemClick_24_listener","RecDocDetailInfoComponent_div_25_Template","RecDocDetailInfoComponent_Template_dx_list_onItemClick_30_listener","RecDocDetailInfoComponent_div_31_Template","RecDocDetailInfoComponent_Template_dx_list_onItemClick_36_listener","RecDocDetailInfoComponent_div_37_Template","RecDocDetailInfoComponent_Template_dx_list_onItemClick_42_listener","RecDocDetailInfoComponent_div_43_Template","RecDocDetailInfoComponent_Template_dx_list_onItemClick_48_listener","RecDocDetailInfoComponent_div_49_Template","RecDocDetailInfoComponent_Template_dx_load_panel_visibleChange_59_listener","amount","pdfDefaultOptions","RecDocDetailParentComponent_div_3_Template_span_click_1_listener","RecDocDetailParentComponent_div_3_Template_input_ngModelChange_4_listener","returnbook","RecDocDetailParentComponent_div_3_Template_input_ngModelChange_5_listener","returnpage","RecDocDetailParentComponent_div_3_Template_button_click_6_listener","returnToStart","RecDocDetailParentComponent_div_4_Template_i_click_1_listener","getPrevDocument","RecDocDetailParentComponent_div_4_Template_i_click_4_listener","getNextDocument","RecDocDetailParentComponent_div_5_Template_div_drop_0_listener","RecDocDetailParentComponent_div_5_Template_div_dragover_0_listener","RecDocDetailParentComponent_div_6_Template_span_click_1_listener","RecDocDetailParentComponent_div_6_Template_input_ngModelChange_4_listener","sBook","RecDocDetailParentComponent_div_6_Template_input_ngModelChange_5_listener","sPage","RecDocDetailParentComponent_div_6_Template_button_click_6_listener","searchDocument","RecDocDetailParentComponent_div_7_Template_button_click_2_listener","RecDocDetailParentComponent_div_8_ng_template_4_div_0_Template_div_dragstart_0_listener","_r7","RecDocDetailParentComponent_div_8_ng_template_4_div_0_Template_ngx_extended_pdf_viewer_pageChange_1_listener","RecDocDetailParentComponent_div_8_ng_template_4_div_0_Template_ngx_extended_pdf_viewer_thumbnailDrawn_1_listener","radiobuttonThumbnail_r8","RecDocDetailParentComponent_div_8_ng_template_4_div_0_Template","RecDocDetailParentComponent_div_8_ng_template_4_ng_template_1_Template","showMsg_r9","RecDocDetailParentComponent_div_8_div_1_Template","RecDocDetailParentComponent_div_8_ng_template_2_Template","RecDocDetailParentComponent_div_8_ng_template_4_Template","showimage_r10","changeInInfo","documents","maxCanvasPixels","GetImageByBPP64Tot","toggleSidebar","onResize","sidebarVisible","GetImageByBPP64Ex","getImageByBPP64","getImageByBPPTotStrm","base64String","err","getContainingDoc","getNextRecDocBP","getPrevRecDocBP","navigateToPage","beginbook","beginpage","beginBook","beginPage","bookpage","dept","thumbNails","dispatchEvent","Event","RecDocDetailParentComponent_Query","RecDocDetailParentComponent_resize_HostBindingHandler","RecDocDetailParentComponent_Template","RecDocDetailParentComponent_div_3_Template","RecDocDetailParentComponent_div_4_Template","RecDocDetailParentComponent_div_5_Template","RecDocDetailParentComponent_div_6_Template","RecDocDetailParentComponent_div_7_Template","RecDocDetailParentComponent_div_8_Template","RecDocDetailParentComponent_Template_dx_popup_visibleChange_9_listener","DocID","row_r2","dtor_r4","RecNameSearchDetailComponent_ng_template_4_div_8_div_7_dxi_item_13_div_2_Template","RecNameSearchDetailComponent_ng_template_4_div_8_div_7_dxi_item_13_ng_template_4_Template","lastnameonlytor_r5","dtee_r6","RecNameSearchDetailComponent_ng_template_4_div_8_div_7_dxi_item_24_div_2_Template","RecNameSearchDetailComponent_ng_template_4_div_8_div_7_dxi_item_24_ng_template_4_Template","lastnameonlytee_r7","RecNameSearchDetailComponent_ng_template_4_div_8_div_7_Template_dx_list_onItemClick_11_listener","RecNameSearchDetailComponent_ng_template_4_div_8_div_7_dxi_item_13_Template","RecNameSearchDetailComponent_ng_template_4_div_8_div_7_Template_dx_list_onItemClick_22_listener","RecNameSearchDetailComponent_ng_template_4_div_8_div_7_dxi_item_24_Template","row_r8","grantors","grantees","drefto_r10","drefby_r11","dtran_r12","RecNameSearchDetailComponent_ng_template_4_div_8_div_9_Template_dx_list_onItemClick_11_listener","_r9","RecNameSearchDetailComponent_ng_template_4_div_8_div_9_dxi_item_13_Template","RecNameSearchDetailComponent_ng_template_4_div_8_div_9_Template_dx_list_onItemClick_22_listener","RecNameSearchDetailComponent_ng_template_4_div_8_div_9_dxi_item_24_Template","RecNameSearchDetailComponent_ng_template_4_div_8_div_9_Template_dx_list_onItemClick_33_listener","RecNameSearchDetailComponent_ng_template_4_div_8_div_9_dxi_item_35_Template","refto","refby","trans","dAddress_r13","RecNameSearchDetailComponent_ng_template_4_div_8_div_11_dxi_item_4_Template","RecNameSearchDetailComponent_ng_template_4_div_8_div_7_Template","RecNameSearchDetailComponent_ng_template_4_div_8_div_9_Template","RecNameSearchDetailComponent_ng_template_4_div_8_div_11_Template","RecNameSearchDetailComponent_ng_template_4_div_6_Template","RecNameSearchDetailComponent_ng_template_4_div_8_Template","getTabs","recDocVMTabs","torstees","reftoby","retVar","rowData","RecNameSearchDetailComponent_Template","RecNameSearchDetailComponent_div_2_Template","RecNameSearchDetailComponent_ng_template_4_Template","finished_r14","GetRecNameSearchQuery","GetRecNameSearchReportQuery","DatePipe","data_r4","RecNameSearchGridComponent_div_41_Template_a_click_2_listener","openImage","cityTown","recordDate","idxPage","idxByPage","RecNameSearchGridComponent_div_41_Template_img_mouseover_4_listener","RecNameSearchGridComponent_div_41_div_8_Template","ɵɵpropertyInterpolate2","rowIndex","datepipe","scrollMode","roleID","appurl","minRowCount","Math","max","scrollable","getScrollable","lastKnownPosition","lastRowIndex","on","scrollOffset","top","visibleRows","getVisibleRows","gridContainer","nativeElement","setTimeout","lastVisibleIndex","refresh","scrollTo","roleid","getRecNameSearchQuery","roleId","getRecNameSearchResults","recNameSearchRows","newMode","getRecNameSearchReportQuery","toJSON","getRecNameSearchReport","bookNo","cutoffDt","tBook","substring","createUrlTree","tUrl","screen","height","width","join","popup","moveTo","baseBP","i6","RecNameSearchGridComponent_Query","RecNameSearchGridComponent_Template","RecNameSearchGridComponent_Template_button_click_6_listener","RecNameSearchGridComponent_Template_dx_data_grid_onInitialized_9_listener","RecNameSearchGridComponent_Template_dx_data_grid_onRowExpanding_9_listener","RecNameSearchGridComponent_Template_dx_data_grid_onCellClick_9_listener","RecNameSearchGridComponent_div_41_Template","RecNameSearchHeaderComponent_Template","RecNameSearchHeaderComponent_Template_button_click_2_listener","RecNameSearchHeaderComponent_label_16_Template","RecNameSearchHeaderComponent_label_17_Template","RecNameSearchHeaderComponent_label_18_Template","RecNameSearchHeaderComponent_label_19_Template","RecNameSearchHeaderComponent_label_27_Template","RecNameSearchHeaderComponent_label_28_Template","RecNameSearchHeaderComponent_label_29_Template","GetRecValueSearchQuery","GetRecValueSearchReportQuery","doccategories","docCategoriesVS","mortgages","getValueResults","amountFrom","fromAmount","amountTo","toAmount","getRecValueSearchResults","fromJSs","f","filtersCollection","getRecValueSearchReport","RecValueSearchGridComponent_Query","RecValueSearchGridComponent_Template","RecValueSearchGridComponent_Template_button_click_2_listener","RecValueSearchGridComponent_Template_dx_data_grid_onInitialized_4_listener","RecValueSearchGridComponent_Template_dx_data_grid_onRowExpanding_4_listener","RecValueSearchGridComponent_Template_dx_data_grid_onCellClick_4_listener","RecValueSearchGridComponent_div_24_Template","conveyances","DocCategories","RecValueSearchHeaderComponent_Template","RecValueSearchHeaderComponent_Template_button_click_2_listener","RecValueSearchHeaderComponent_label_21_Template","RecValueSearchHeaderComponent_label_22_Template","RecValueSearchHeaderComponent_label_23_Template","RecValueSearchHeaderComponent_label_24_Template","RecAddressDocDispPgComponent_Query","RecAddressDocDispPgComponent_resize_HostBindingHandler","RecAddressDocDispPgComponent_Template","RecAddressDocDispPgComponent_Template_button_click_1_listener","RecAddressDocDispPgComponent_Template_button_click_7_listener","RecAddressDocDispPgComponent_Template_app_rec_doc_detail_info_moveToRef_10_listener","RecAddressDocDispPgComponent_Template_app_rec_doc_detail_parent_changeImgVwVisible_11_listener","RecAddressDocDispPgComponent_Template_app_rec_doc_detail_parent_changeInInfo_11_listener","RecAddressResultPgComponent_Query","recAddressResults","DocTypeActions","streetnumber","streetaddress","AddDoct","AddAddress","RemoveDoct","docTypeChild","compoundAddressChild","recAddressSearchForm","Set","RecAddressSearchComponent_Query","RecAddressSearchComponent_Template","RecAddressSearchComponent_Template_form_ngSubmit_3_listener","RecAddressSearchComponent_Template_button_click_15_listener","RecBpDocDispPgComponent_Query","RecBpDocDispPgComponent_resize_HostBindingHandler","RecBpDocDispPgComponent_Template","RecBpDocDispPgComponent_Template_button_click_1_listener","RecBpDocDispPgComponent_Template_button_click_7_listener","RecBpDocDispPgComponent_Template_app_rec_doc_detail_info_moveToRef_10_listener","RecBpDocDispPgComponent_Template_app_rec_doc_detail_parent_changeImgVwVisible_11_listener","RecBpDocDispPgComponent_Template_app_rec_doc_detail_parent_changeInInfo_11_listener","RecBpSearchComponent_Query","RecBpSearchComponent_Template","RecBpSearchComponent_Template_form_ngSubmit_3_listener","RecDateDocDispPgComponent_Template","RecDateResultPgComponent_Query","recDateSearchResults","recDateSearchForm","RecDateSearchComponent_Query","RecDateSearchComponent_Template","RecDateSearchComponent_Template_form_ngSubmit_3_listener","RecDateSearchComponent_Template_button_click_13_listener","DocNumActions","docnum","AddDocNum","RemoveDocNum","recdocChild","docnumSearchForm","RecDocSearchComponent_Query","RecDocSearchComponent_Template","RecDocSearchComponent_Template_form_ngSubmit_3_listener","RecDocnumDocDispPgComponent_Query","RecDocnumDocDispPgComponent_resize_HostBindingHandler","RecDocnumDocDispPgComponent_Template","RecDocnumDocDispPgComponent_Template_button_click_1_listener","RecDocnumDocDispPgComponent_Template_button_click_7_listener","RecDocnumDocDispPgComponent_Template_app_rec_doc_detail_info_moveToRef_10_listener","RecDocnumDocDispPgComponent_Template_app_rec_doc_detail_parent_changeImgVwVisible_11_listener","RecDocnumDocDispPgComponent_Template_app_rec_doc_detail_parent_changeInInfo_11_listener","RecNameDocDispPgComponent_Query","RecNameDocDispPgComponent_resize_HostBindingHandler","RecNameDocDispPgComponent_Template","RecNameDocDispPgComponent_Template_button_click_1_listener","RecNameDocDispPgComponent_Template_button_click_7_listener","RecNameDocDispPgComponent_Template_app_rec_doc_detail_info_moveToRef_10_listener","RecNameDocDispPgComponent_Template_app_rec_doc_detail_parent_changeImgVwVisible_11_listener","RecNameDocDispPgComponent_Template_app_rec_doc_detail_parent_changeInInfo_11_listener","RecNameResultPgComponent_Query","recNameResults","NavigationEnd","RoleActions","formData","getLatestFormData","updateFormFields","listenForFormData","populateFormEvent","setNames","roleChild","recNameSearchForm","RecNameSearchComponent_Query","RecNameSearchComponent_Template","RecNameSearchComponent_Template_form_ngSubmit_3_listener","RecNameSearchComponent_Template_button_click_19_listener","RecValueDocDispPgComponent_Template","RecValueResultPgComponent_Query","recValueResults","AmountActions","DocCategoriesActions","recValueSearchForm","fromamount","toamount","doccategory","AddAmount","amountRangeChild","AddDocCategories","RemoveAmount","RemoveDocCategories","docCategoryVsChild","myDocCat","RecValueSearchComponent_Query","RecValueSearchComponent_Template","RecValueSearchComponent_Template_form_ngSubmit_5_listener","RecValueSearchComponent_Template_button_click_17_listener","lastEmittedFormData","providedIn","RecNameSearchListVM","RecAddressSearchListVM","RecDateSearchListVM","formatDate","from","switchMap","Name","LName","_lname","FName","_fname","notifyComponents","formatedFromDate","formatedToDate","processGetRecNameSearchResponse","getAddressSearchResults","processGetRecAddressSearchResponse","getDocCategories","getDocTypes","getNextBP","currentBook","currentPage","getPrevBP","getImageByBPPTot","blobToBase64","Promise","resolve","reject","dataUrl","base64","readAsDataURL","getDateSearchResults","processGetRecDateSearchResponse","padLeft","text","padChar","size","repeat","substr","PlanCertTypeCIF","plancertPattern","plancerttype","certtype","certnum","imageid","setValue","PlanCertificateNoComponent_Template","PlanCertificateNoComponent_span_8_Template","tmp_1_0","RegPlanSearchService","GetRegPlanStreetSearchQuery","planCaseNum","getRegPlanStreetSearchQuery","street","getRegPlanStreetSearchResults","regsresults","regPlanSearchRows","RegPlanAddressSearchGridComponent_Query","RegPlanAddressSearchGridComponent_Template","RegPlanAddressSearchGridComponent_Template_dx_data_grid_onInitialized_0_listener","RegPlanAddressSearchGridComponent_Template_dx_data_grid_onCellClick_0_listener","RegPlanAddressSearchGridComponent_div_10_Template","RegPlanAddressSearchHeaderComponent_Template","RegPlanAddressSearchHeaderComponent_Template_button_click_2_listener","RegPlanAddressSearchHeaderComponent_label_16_Template","RegPlanAddressSearchHeaderComponent_label_17_Template","RegPlanAddressSearchHeaderComponent_label_18_Template","RegPlanAddressSearchHeaderComponent_label_19_Template","GetRegPlanNumSearchQuery","PlanNum","getRegPlanNumSearchQuery","planNum","getRegPlanNumSearchResults","RegPlanCertSearchGridComponent_Query","RegPlanCertSearchGridComponent_Template","RegPlanCertSearchGridComponent_Template_dx_data_grid_onInitialized_0_listener","RegPlanCertSearchGridComponent_Template_dx_data_grid_onCellClick_0_listener","RegPlanCertSearchGridComponent_div_10_Template","RegPlanCertSearchHeaderComponent_Template","RegPlanCertSearchHeaderComponent_Template_button_click_2_listener","GetRegGetPlanPagesQuery","plan_r2","RegPlanDocImageComponent_div_6_Template_div_drop_0_listener","ctx_r3","RegPlanDocImageComponent_div_6_Template_div_dragover_0_listener","planname","RegPlanDocImageComponent_ng_template_18_div_0_Template_div_dragstart_0_listener","RegPlanDocImageComponent_ng_template_18_div_0_Template_app_image_viewer_onNext_2_listener","RegPlanDocImageComponent_ng_template_18_div_0_Template_app_image_viewer_onPrevious_2_listener","RegPlanDocImageComponent_ng_template_18_div_0_Template","RegPlanDocImageComponent_ng_template_18_ng_template_1_Template","showMsg_r6","relatedPlans","imagetypeid","getCondoPlanByMasterNum","getRelatedPlans","getCondoPlanByCondoName","getCertPlanImage","getRegGetPlanPagesQuery","imageExtension","imageType","pathType","planName","getRegPlanPages","condoName","RegGetCondoPlanByCondoName","condoMasterNum","RegGetCondoPlanByMasterNum","planType","RegGetRelatedPlans","RegPlanDocImageComponent_Query","RegPlanDocImageComponent_resize_HostBindingHandler","RegPlanDocImageComponent_Template","RegPlanDocImageComponent_Template_dx_list_onItemClick_4_listener","RegPlanDocImageComponent_div_5_Template","RegPlanDocImageComponent_div_6_Template","RegPlanDocImageComponent_Template_i_click_9_listener","RegPlanDocImageComponent_Template_i_click_10_listener","RegPlanDocImageComponent_Template_i_click_15_listener","RegPlanDocImageComponent_Template_i_click_16_listener","RegPlanDocImageComponent_div_17_Template","RegPlanDocImageComponent_ng_template_18_Template","RegPlanDocImageComponent_Template_dx_popup_visibleChange_20_listener","showimage_r7","GetRegPlanOwnerSearchQuery","compoundname","getRegPlanOwnerSearchQuery","ownerLName","ownerFName","getRegPlanOwnerSearchResults","RegPlanOwnerSearchGridComponent_Query","RegPlanOwnerSearchGridComponent_Template","RegPlanOwnerSearchGridComponent_Template_dx_data_grid_onInitialized_0_listener","RegPlanOwnerSearchGridComponent_Template_dx_data_grid_onCellClick_0_listener","RegPlanOwnerSearchGridComponent_div_10_Template","RegPlanOwnerSearchGridComponent_div_18_Template","RegPlanOwnerSearchHeaderComponent_Template","RegPlanOwnerSearchHeaderComponent_Template_button_click_2_listener","RegPlanOwnerSearchHeaderComponent_label_16_Template","RegPlanOwnerSearchHeaderComponent_label_17_Template","RegPlanOwnerSearchHeaderComponent_label_18_Template","RegPlanOwnerSearchHeaderComponent_label_19_Template","RegPlanAddressDocDispPgComponent_Query","RegPlanAddressDocDispPgComponent_resize_HostBindingHandler","RegPlanAddressDocDispPgComponent_Template_button_click_1_listener","RegPlanAddressDocDispPgComponent_Template_app_reg_plan_doc_image_changeImgVwVisible_5_listener","RegPlanAddressResultPgComponent_Query","regPlanAddressResults","streetnum","regPlanAddressSearchForm","addressChild","markAsPristine","markAsUntouched","updateValueAndValidity","RegPlanAddressSearchComponent_Query","RegPlanAddressSearchComponent_Template_form_ngSubmit_3_listener","RegPlanAddressSearchComponent_Template_button_click_11_listener","RegPlanCertificateDocDispPgComponent_Query","RegPlanCertificateDocDispPgComponent_resize_HostBindingHandler","RegPlanCertificateDocDispPgComponent_Template_button_click_1_listener","RegPlanCertificateDocDispPgComponent_Template_app_reg_plan_doc_image_changeImgVwVisible_5_listener","RegPlanCertificateResultPgComponent_Query","AddCertType","regPlanCertificateSearchForm","planCertificateNoChild","RegPlanCertificateSearchComponent_Query","RegPlanCertificateSearchComponent_Template_form_ngSubmit_3_listener","RegPlanOwnerDocDispPgComponent_Query","RegPlanOwnerDocDispPgComponent_resize_HostBindingHandler","RegPlanOwnerDocDispPgComponent_Template_button_click_1_listener","RegPlanOwnerDocDispPgComponent_Template_app_reg_plan_doc_image_changeImgVwVisible_5_listener","RegPlanOwnerResultPgComponent_Query","regPlanOwnerResults","regPlanOwnerSearchForm","RegPlanOwnerSearchComponent_Query","RegPlanOwnerSearchComponent_Template_form_ngSubmit_3_listener","RegPlanOwnerSearchComponent_Template_button_click_11_listener","map","LCPlansListVM","processGetRegPlanStreetSearchResponse","processGetRegPlanOwnerSearchResponse","processGetRegPlanNumSearchResponse","processGetRegPlanPagesResponse","DownloadPlans","CityTownCIF","CityTownExLcComponent_div_12_Template_input_change_2_listener","city_r2","citySelected","CityTownExLcComponent_div_12_Template_input_ngModelChange_2_listener","selectedTowns","townsString","t","getLCCityTown","CityTownExLcComponent_Template","CityTownExLcComponent_Template_a_click_10_listener","CityTownExLcComponent_div_12_Template","DocTypeCIF","DocTypeExLcComponent_div_12_Template_input_change_2_listener","doctype_r2","docSelected","DocTypeExLcComponent_div_12_Template_input_ngModelChange_2_listener","docName","selectedDocs","docString","getLCDocTypes","docsString","DocTypeExLcComponent_Template","DocTypeExLcComponent_Template_a_click_10_listener","DocTypeExLcComponent_div_12_Template","GetRegAddressSearchQuery","GetRegAddressSearchReportQuery","data_r3","RegAddressSearchGridComponent_div_14_Template_img_mouseover_2_listener","RegAddressSearchGridComponent_div_14_div_4_Template","row_r4","data_r6","RegAddressSearchGridComponent_div_16_Template_div_mouseover_1_listener","RegAddressSearchGridComponent_div_16_div_5_Template","row_r7","getRegAddressSearchResults","regAddressSearchRows","getRegAddressSearchReportQuery","getRegAddressSearchReport","RegAddressSearchGridComponent_Query","RegAddressSearchGridComponent_Template","RegAddressSearchGridComponent_Template_button_click_2_listener","RegAddressSearchGridComponent_Template_dx_data_grid_onInitialized_4_listener","RegAddressSearchGridComponent_Template_dx_data_grid_onRowExpanding_4_listener","RegAddressSearchGridComponent_Template_dx_data_grid_onCellClick_4_listener","RegAddressSearchGridComponent_div_14_Template","RegAddressSearchGridComponent_div_16_Template","RegAddressSearchHeaderComponent_Template","RegAddressSearchHeaderComponent_Template_button_click_2_listener","RegAddressSearchHeaderComponent_label_21_Template","RegAddressSearchHeaderComponent_label_22_Template","RegAddressSearchHeaderComponent_label_23_Template","GetLCCertTextQuery","RegCertImageComponent_ng_template_3_div_0_Template_ngx_extended_pdf_viewer_pageChange_1_listener","RegCertImageComponent_ng_template_3_div_0_Template_ngx_extended_pdf_viewer_thumbnailDrawn_1_listener","radiobuttonThumbnail_r3","ctext","ɵɵsanitizeHtml","RegCertImageComponent_ng_template_3_div_0_Template","RegCertImageComponent_ng_template_3_ng_template_1_Template","showText_r4","pdfUrl","getLCCertText","certId","linkName","base64Data","content","base64ToBlob","mime","byteChars","atob","byteArray","Uint8Array","charCodeAt","RegCertImageComponent_Query","RegCertImageComponent_resize_HostBindingHandler","RegCertImageComponent_Template","RegCertImageComponent_div_0_Template","RegCertImageComponent_ng_template_1_Template","RegCertImageComponent_ng_template_3_Template","showcert_r5","GetRegDateSearchQuery","GetRegDateSearchReportQuery","RegDateSearchGridComponent_div_14_Template_img_mouseover_2_listener","RegDateSearchGridComponent_div_14_div_4_Template","RegDateSearchGridComponent_div_16_Template_div_mouseover_1_listener","RegDateSearchGridComponent_div_16_div_5_Template","getRegDateSearchResults","regDateSearchRows","fdate","tdate","getRegDateSearchReport","RegDateSearchGridComponent_Query","RegDateSearchGridComponent_Template","RegDateSearchGridComponent_Template_button_click_2_listener","RegDateSearchGridComponent_Template_dx_data_grid_onInitialized_4_listener","RegDateSearchGridComponent_Template_dx_data_grid_onRowExpanding_4_listener","RegDateSearchGridComponent_Template_dx_data_grid_onCellClick_4_listener","RegDateSearchGridComponent_div_14_Template","RegDateSearchGridComponent_div_16_Template","RegDateSearchHeaderComponent_Template","RegDateSearchHeaderComponent_Template_button_click_2_listener","RegDateSearchHeaderComponent_label_18_Template","RegDateSearchHeaderComponent_label_19_Template","RegDateSearchHeaderComponent_label_20_Template","RegDocDetailComponent_div_27_div_1_Template","RegDocDetailComponent_div_27_ng_template_2_Template","RegDocDetailComponent_div_33_div_1_Template","RegDocDetailComponent_div_33_ng_template_2_Template","unparsedAddress_r9","unparsedAddress","item_r10","certNum","ctx_r10","regDocVM","docCerts","RegDocDetailComponent_Template","RegDocDetailComponent_Template_dx_list_onItemClick_26_listener","RegDocDetailComponent_div_27_Template","RegDocDetailComponent_Template_dx_list_onItemClick_32_listener","RegDocDetailComponent_div_33_Template","RegDocDetailComponent_Template_dx_list_onItemClick_38_listener","RegDocDetailComponent_div_39_Template","RegDocDetailComponent_Template_dx_list_onItemClick_44_listener","RegDocDetailComponent_div_45_Template","RegDocDetailComponent_Template_dx_list_onItemClick_50_listener","RegDocDetailComponent_div_51_Template","RegDocDetailComponent_div_60_Template","RegDocDetailComponent_div_66_Template","RegDocDetailComponent_Template_dx_load_panel_visibleChange_67_listener","RegDocImageComponent_div_3_Template_span_click_1_listener","RegDocImageComponent_div_3_Template_input_ngModelChange_4_listener","returndoc","RegDocImageComponent_div_3_Template_button_click_5_listener","returndocId","RegDocImageComponent_div_4_Template_i_click_1_listener","RegDocImageComponent_div_4_Template_i_click_4_listener","docbegindocnum","RegDocImageComponent_div_5_Template_div_drop_0_listener","RegDocImageComponent_div_5_Template_div_dragover_0_listener","RegDocImageComponent_div_6_Template_span_click_1_listener","RegDocImageComponent_div_6_Template_input_ngModelChange_4_listener","sDocument","RegDocImageComponent_div_6_Template_button_click_5_listener","RegDocImageComponent_div_7_Template_button_click_2_listener","RegDocImageComponent_div_8_ng_template_13_div_0_Template_div_dragstart_0_listener","_r8","RegDocImageComponent_div_8_ng_template_13_div_0_Template_ngx_extended_pdf_viewer_pageChange_1_listener","RegDocImageComponent_div_8_ng_template_13_div_0_Template_ngx_extended_pdf_viewer_thumbnailDrawn_1_listener","radiobuttonThumbnail_r9","RegDocImageComponent_div_8_ng_template_13_div_0_Template","RegDocImageComponent_div_8_ng_template_13_ng_template_1_Template","showMsg_r10","RegDocImageComponent_div_8_Template_i_click_2_listener","RegDocImageComponent_div_8_Template_i_click_3_listener","RegDocImageComponent_div_8_Template_i_click_8_listener","RegDocImageComponent_div_8_Template_i_click_9_listener","RegDocImageComponent_div_8_div_10_Template","RegDocImageComponent_div_8_ng_template_11_Template","RegDocImageComponent_div_8_ng_template_13_Template","showimage_r11","getLCDocImageTotByID","getLCDocImagePageByID","getLCDocTotStrm","searchRegDoc","getNextLCDoc","getPrevLCDoc","begindocnum","RegDocImageComponent_Query","RegDocImageComponent_resize_HostBindingHandler","RegDocImageComponent_Template","RegDocImageComponent_div_3_Template","RegDocImageComponent_div_4_Template","RegDocImageComponent_div_5_Template","RegDocImageComponent_div_6_Template","RegDocImageComponent_div_7_Template","RegDocImageComponent_div_8_Template","RegDocImageComponent_Template_dx_popup_visibleChange_9_listener","row_r3","signedDate","dateReg","row_r5","discDate","discdocID","dischDocNum","dischComment","RegEncumbrancesComponent_ng_template_4_div_14_div_1_Template","RegEncumbrancesComponent_ng_template_4_div_14_ng_template_2_Template","showComment_r6","RegEncumbrancesComponent_ng_template_4_Template_dx_data_grid_onCellClick_0_listener","RegEncumbrancesComponent_ng_template_4_div_12_Template","RegEncumbrancesComponent_ng_template_4_div_13_Template","RegEncumbrancesComponent_ng_template_4_div_14_Template","getCertMemos","RegEncumbrancesComponent_Query","RegEncumbrancesComponent_Template","RegEncumbrancesComponent_div_3_Template","RegEncumbrancesComponent_ng_template_4_Template","showencum_r7","GetRegNameSearchQuery","GetRegNameSearchReportQuery","RegNameSearchGridComponent_div_15_Template_img_mouseover_2_listener","RegNameSearchGridComponent_div_15_div_4_Template","RegNameSearchGridComponent_div_17_Template_div_mouseover_1_listener","RegNameSearchGridComponent_div_17_div_5_Template","dataSource","getRegNameSearchQuery","getRegNameSearchResults","regNameSearchRows","getRegNameSearchReportQuery","getRegNameSearchReport","RegNameSearchGridComponent_Query","RegNameSearchGridComponent_Template","RegNameSearchGridComponent_Template_button_click_2_listener","RegNameSearchGridComponent_Template_dx_data_grid_onInitialized_4_listener","RegNameSearchGridComponent_Template_dx_data_grid_onRowExpanding_4_listener","RegNameSearchGridComponent_Template_dx_data_grid_onCellClick_4_listener","RegNameSearchGridComponent_div_15_Template","RegNameSearchGridComponent_div_17_Template","RegNameSearchHeaderComponent_Template","RegNameSearchHeaderComponent_Template_button_click_2_listener","RegNameSearchHeaderComponent_label_16_Template","RegNameSearchHeaderComponent_label_17_Template","RegNameSearchHeaderComponent_label_18_Template","RegNameSearchHeaderComponent_label_19_Template","RegNameSearchHeaderComponent_label_27_Template","RegNameSearchHeaderComponent_label_28_Template","RegNameSearchHeaderComponent_label_29_Template","GetRegOwnerSearchQuery","GetRegOwnerSearchReportQuery","RegOwnerSearchGridComponent_div_14_Template_img_mouseover_2_listener","RegOwnerSearchGridComponent_div_14_div_4_Template","getOwnerSearchResults","getRegOwnerSearchQuery","getRegOwnerSearchResults","regOwnerSearchRows","cellValue","getLCCertIDFromCertNum","getRegOwnerSearchReport","RegOwnerSearchGridComponent_Query","RegOwnerSearchGridComponent_Template","RegOwnerSearchGridComponent_Template_button_click_2_listener","RegOwnerSearchGridComponent_Template_dx_data_grid_onInitialized_4_listener","RegOwnerSearchGridComponent_Template_dx_data_grid_onRowExpanding_4_listener","RegOwnerSearchGridComponent_Template_dx_data_grid_onCellClick_4_listener","RegOwnerSearchGridComponent_div_14_Template","RegOwnerSearchHeaderComponent_Template","RegOwnerSearchHeaderComponent_Template_button_click_2_listener","RegOwnerSearchHeaderComponent_label_21_Template","RegOwnerSearchHeaderComponent_label_22_Template","RegOwnerSearchHeaderComponent_label_23_Template","GetRegValueSearchReportQuery","GetRegValueSearchQuery","RegValueSearchGridComponent_div_14_Template_div_mouseover_1_listener","RegValueSearchGridComponent_div_14_div_5_Template","RegValueSearchGridComponent_div_22_Template_img_mouseover_2_listener","RegValueSearchGridComponent_div_22_div_4_Template","docCategories","getRegValueSearchResults","getRegValueSearchReport","RegValueSearchGridComponent_Query","RegValueSearchGridComponent_Template","RegValueSearchGridComponent_Template_button_click_2_listener","RegValueSearchGridComponent_Template_dx_data_grid_onInitialized_4_listener","RegValueSearchGridComponent_Template_dx_data_grid_onRowExpanding_4_listener","RegValueSearchGridComponent_Template_dx_data_grid_onCellClick_4_listener","RegValueSearchGridComponent_div_14_Template","RegValueSearchGridComponent_div_22_Template","RegValueSearchHeaderComponent_Template","RegValueSearchHeaderComponent_Template_button_click_2_listener","RegValueSearchHeaderComponent_label_21_Template","RegValueSearchHeaderComponent_label_22_Template","RegValueSearchHeaderComponent_label_23_Template","RegValueSearchHeaderComponent_label_24_Template","regDocImageChild","RegAddressDocDispPgComponent_Query","RegAddressDocDispPgComponent_resize_HostBindingHandler","RegAddressDocDispPgComponent_Template","RegAddressDocDispPgComponent_Template_button_click_1_listener","RegAddressDocDispPgComponent_Template_button_click_7_listener","RegAddressDocDispPgComponent_Template_app_reg_doc_detail_moveToRef_10_listener","RegAddressDocDispPgComponent_Template_app_reg_doc_image_changeImgVwVisible_11_listener","RegAddressDocDispPgComponent_Template_app_reg_doc_image_changeInInfo_11_listener","RegAddressResultPgComponent_Query","RegAddressResultPgComponent_Template","regAddressResults","RegAddressActions","CityTownsActions","regAddressSearchForm","RegAddressSearchComponent_Query","RegAddressSearchComponent_Template","RegAddressSearchComponent_Template_form_ngSubmit_3_listener","RegAddressSearchComponent_Template_button_click_15_listener","downloadcert","certpdf","a","createElement","appendChild","URL","createObjectURL","click","revokeObjectURL","RegCertDispPgComponent_Query","RegCertDispPgComponent_Template","RegCertDispPgComponent_Template_button_click_2_listener","myURL","startsWith","RegCertificateCertDispPgComponent_Template","RegCertificateCertDispPgComponent_Template_button_click_2_listener","RegCertificateDocDispPgComponent_Query","RegCertificateDocDispPgComponent_resize_HostBindingHandler","RegCertificateDocDispPgComponent_Template","RegCertificateDocDispPgComponent_Template_button_click_1_listener","RegCertificateDocDispPgComponent_Template_button_click_7_listener","RegCertificateDocDispPgComponent_Template_app_reg_doc_detail_moveToRef_10_listener","RegCertificateDocDispPgComponent_Template_app_reg_doc_image_changeImgVwVisible_11_listener","RegCertificateDocDispPgComponent_Template_app_reg_doc_image_changeInInfo_11_listener","CertNumActions","certnumChild","AddCertNum","RemoveCertNum","certnumSearchForm","getCertID","RegCertificateSearchComponent_Query","RegCertificateSearchComponent_Template","RegCertificateSearchComponent_Template_form_ngSubmit_3_listener","RegDateDocDispPgComponent_Query","RegDateDocDispPgComponent_resize_HostBindingHandler","RegDateDocDispPgComponent_Template","RegDateDocDispPgComponent_Template_button_click_1_listener","RegDateDocDispPgComponent_Template_button_click_7_listener","RegDateDocDispPgComponent_Template_app_reg_doc_detail_moveToRef_10_listener","RegDateDocDispPgComponent_Template_app_reg_doc_image_changeImgVwVisible_11_listener","RegDateDocDispPgComponent_Template_app_reg_doc_image_changeInInfo_11_listener","regDateResults","RegDateResultPgComponent_Query","RegDateResultPgComponent_Template","regDateSearchForm","RegDateSearchComponent_Query","RegDateSearchComponent_Template","RegDateSearchComponent_Template_form_ngSubmit_3_listener","RegDateSearchComponent_Template_button_click_13_listener","RegDocumentNoDocDispPgComponent_div_5_Template_button_click_2_listener","RegDocumentNoDocDispPgComponent_div_5_Template_app_reg_doc_detail_moveToRef_5_listener","RegDocumentNoDocDispPgComponent_div_6_Template_app_reg_doc_image_changeImgVwVisible_1_listener","RegDocumentNoDocDispPgComponent_div_6_Template_app_reg_doc_image_changeInInfo_1_listener","RegDocumentNoDocDispPgComponent_Query","RegDocumentNoDocDispPgComponent_resize_HostBindingHandler","RegDocumentNoDocDispPgComponent_Template","RegDocumentNoDocDispPgComponent_Template_button_click_1_listener","RegDocumentNoDocDispPgComponent_div_5_Template","RegDocumentNoDocDispPgComponent_div_6_Template","RegDocumentNoDocDispPgComponent_ng_template_7_Template","ShowErr_r5","docNumChild","RegDocumentNoSearchComponent_Query","RegDocumentNoSearchComponent_Template","RegDocumentNoSearchComponent_Template_form_ngSubmit_3_listener","RegNameDocDispPgComponent_Query","RegNameDocDispPgComponent_resize_HostBindingHandler","RegNameDocDispPgComponent_Template","RegNameDocDispPgComponent_Template_button_click_1_listener","RegNameDocDispPgComponent_Template_button_click_7_listener","RegNameDocDispPgComponent_Template_app_reg_doc_detail_moveToRef_10_listener","RegNameDocDispPgComponent_Template_app_reg_doc_image_changeImgVwVisible_11_listener","RegNameDocDispPgComponent_Template_app_reg_doc_image_changeInInfo_11_listener","regNameResults","RegNameResultPgComponent_Query","RegNameResultPgComponent_Template","regNameSearchForm","RegNameSearchComponent_Query","RegNameSearchComponent_Template","RegNameSearchComponent_Template_form_ngSubmit_3_listener","RegNameSearchComponent_Template_button_click_19_listener","RegOwnerDocDispPgComponent_Query","RegOwnerDocDispPgComponent_resize_HostBindingHandler","RegOwnerDocDispPgComponent_Template","RegOwnerDocDispPgComponent_Template_button_click_1_listener","RegOwnerDocDispPgComponent_Template_button_click_7_listener","RegOwnerDocDispPgComponent_Template_app_reg_doc_detail_moveToRef_10_listener","RegOwnerDocDispPgComponent_Template_app_reg_doc_image_changeImgVwVisible_11_listener","RegOwnerDocDispPgComponent_Template_app_reg_doc_image_changeInInfo_11_listener","RegOwnerResultPgComponent_Query","RegOwnerResultPgComponent_Template","regOwnerResults","parentForm1","regOwnerSearchForm","RegOwnerSearchComponent_Query","RegOwnerSearchComponent_Template","RegOwnerSearchComponent_Template_form_ngSubmit_3_listener","RegOwnerSearchComponent_Template_button_click_13_listener","RegValueDocDispPgComponent_Query","RegValueDocDispPgComponent_resize_HostBindingHandler","RegValueDocDispPgComponent_Template","RegValueDocDispPgComponent_Template_button_click_1_listener","RegValueDocDispPgComponent_Template_button_click_7_listener","RegValueDocDispPgComponent_Template_app_reg_doc_detail_moveToRef_10_listener","RegValueDocDispPgComponent_Template_app_reg_doc_image_changeImgVwVisible_11_listener","RegValueDocDispPgComponent_Template_app_reg_doc_image_changeInInfo_11_listener","RegValueResultPgComponent_Query","regValueResults","regValueSearchForm","RegValueSearchComponent_Query","RegValueSearchComponent_resize_HostBindingHandler","RegValueSearchComponent_Template","RegValueSearchComponent_Template_form_ngSubmit_3_listener","RegValueSearchComponent_Template_button_click_15_listener","RegNameSearchListVM","RegAddressSearchListVM","RegOwnerSearchListVM","RegDateSearchListVM","getRegNameResults","processGetRegNameSearchResponse","town","processGetRegAddressSearchResponse","processGetRegOwnerSearchResponse","processGetRegDateSearchResponse","processGetRegValueSearchResponse","post","contentType","blobToBase64Ext","onerror","processgetLCCertTextResponse","getLCDocImagePageCountByID","paymentService","token","txnStatus","txnResponse","initiateLightbox","ssl_first_name","ssl_last_name","ssl_amount","openLightbox","alert","paymentFields","ssl_txn_auth_token","callback","onError","showResult","onCancelled","onDeclined","onApproval","PayWithConverge","msg","EvalonLightboxComponent_Template","EvalonLightboxComponent_Template_form_submit_0_listener","EvalonLightboxComponent_Template_input_ngModelChange_4_listener","EvalonLightboxComponent_Template_input_ngModelChange_8_listener","EvalonLightboxComponent_Template_input_ngModelChange_12_listener","EvalonLightboxComponent_Template_button_click_19_listener","sessionToken","initiateHPP","getToken","EvalonPaymentComponent_Template","EvalonPaymentComponent_Template_form_submit_0_listener","EvalonPaymentComponent_Template_input_ngModelChange_3_listener","EvalonPaymentComponent_form_8_Template","AddressCIF","streetadrPattern","streetadr","toUpperCase","AddressComponent_Template","AddressComponent_span_8_Template","AddressComponent_span_9_Template","tmp_4_0","AmountRangeCIF","AmountRangeMustBeValid","AmountrangeComponent_div_13_span_13_span_1_Template","AmountrangeComponent_div_13_span_6_Template","AmountrangeComponent_div_13_span_13_Template","AmountrangeComponent_div_13_span_14_Template","invalidRange","AmountrangeComponent_div_14_span_6_Template","validators","clearValidators","setValidators","myFromAmount","AmountrangeComponent_Template","AmountrangeComponent_div_13_Template","AmountrangeComponent_div_14_Template","DocNumcompoundCIF","bpPattern","BookPageComponent_Template","BookPageComponent_span_8_Template","BookPageComponent_span_9_Template","BookPageComponent_span_18_Template","BookPageComponent_span_19_Template","tmp_5_0","tmp_6_0","CertNumCIF","certnumPattern","CertificateNoComponent_Template","CertificateNoComponent_span_8_Template","CertificateNoComponent_span_9_Template","CityTownEXComponent_div_13_Template_input_change_2_listener","CityTownEXComponent_div_13_Template_input_ngModelChange_2_listener","CityTownEXComponent_Template","CityTownEXComponent_Template_a_click_11_listener","CityTownEXComponent_div_13_Template","streetnumPattern","streetno","CompoundAddressComponent_Template","CompoundAddressComponent_span_13_Template","CompoundAddressComponent_span_14_Template","CompoundNameIdxCIF","namePattern","fnameShow","CompoundNameIdxComponent_Template","CompoundNameIdxComponent_span_8_Template","CompoundNameIdxComponent_span_9_Template","CompoundNameIdxComponent_span_16_Template","tmp_8_0","CompoundNameCIF","changeDetectorRef","patchValue","detectChanges","ChangeDetectorRef","CompoundNameComponent_Template","CompoundNameComponent_span_8_Template","CompoundNameComponent_span_9_Template","CompoundNameComponent_span_16_Template","CompundNameOwnerComponent_Template","CompundNameOwnerComponent_span_8_Template","CompundNameOwnerComponent_span_9_Template","CompundNameOwnerComponent_span_16_Template","ContainsCIF","defaultVisible","contains","toggleDefault","ContainsComponent_Template","ContainsComponent_div_5_Template","ContainsComponent_Template_select_ngModelChange_7_listener","dateValue","valueChange","dateString","isFromDate","isValidDateFormatValidator","datebox","last","slice","emitEvent","stringval","newDate","invalidDate","onBlur","DatePickerComponent_Template","DatePickerComponent_Template_input_blur_1_listener","DateRangeCIF","datecompare","fromDatePicker","toDatePicker","dateCompareValidator","FromDate","ToDate","currDate","pFromDate","pToDate","DateRangeParentComponent_Query","DateRangeParentComponent_span_9_Template","DateRangeParentComponent_span_10_Template","DateRangeParentComponent_span_20_Template","DateRangeParentComponent_span_21_Template","fromdatefuture","tmp_7_0","datefrom","dateto","DaterangeComponent_Template","DaterangeComponent_Template_dx_date_box_valueChange_6_listener","DaterangeComponent_span_11_Template","DaterangeComponent_span_12_Template","DaterangeComponent_Template_dx_date_box_valueChange_19_listener","DaterangeComponent_span_24_Template","DaterangeComponent_span_25_Template","tmp_13_0","toggle","machineType","paymentMethod","addToBasket","iswholedoc","indexId","indexType","getUnindexedType","pagecount","DocBasketAddComponent_Template","DocBasketAddComponent_Template_button_click_12_listener","DocBasketAddComponent_Template_button_click_14_listener","DocBasketAddComponent_Template_dx_popup_visibleChange_16_listener","GetSBImagesQuery","SBListDTO","DocBasketExComponent_div_21_Template_input_ngModelChange_1_listener","DocBasketExComponent_div_22_Template_input_ngModelChange_1_listener","DocBasketExComponent_div_23_Template_input_ngModelChange_1_listener","row_r6","DocBasketExComponent_div_23_Template_input_ngModelChange_3_listener","ɵɵpropertyInterpolate1","DocBasketExComponent_div_27_Template_input_ngModelChange_3_listener","ctx_r7","DocBasketExComponent_div_27_Template_input_ngModelChange_5_listener","DocBasketExComponent_div_27_Template_button_click_7_listener","buildSBList","DocBasketExComponent_div_28_Template_input_ngModelChange_3_listener","DocBasketExComponent_div_28_Template_input_ngModelChange_5_listener","DocBasketExComponent_div_28_Template_input_ngModelChange_7_listener","DocBasketExComponent_div_28_Template_button_click_9_listener","DocBasketExComponent_div_29_Template_input_ngModelChange_3_listener","_r10","DocBasketExComponent_div_29_Template_button_click_5_listener","auth","vcRef","cdr","basketCount","buildSbListLock","Username","Description","userInputVisible","serviceFee","isAuthorized","loaderEvent","sendLoader","getCount","cnt","subscription","BasketCountSub$","BasketCount","updateBasketCount","trigger$","reRender","unsubscribe","markForCheck","observedElement","element","parentElement","IntersectionObserver","entry","renderContents","isIntersecting","getBasket","bi","closeBasket","allowEnterKey","html","focusConfirm","preConfirm","getElementById","focus","amt","_this3","docPages","planPages","sblist","sb1","department","bookDoc","bookPage","docPageCount","desc","sbList","imgquery","emailList","emailAddress","zipList","sBList","credentialGUID","submissionType","internalUserID","internalDescription","optionalPhone","optionalZipCode","sbQuery","totAmount","showCancelButton","getSBAuth","getSB","queueSB","_this4","authResp","printSB","getCreditCardInfo","_this5","ret","authorizeCard","_this6","logServiceError","realccNum","ccNum","ccMonth","ccAmount","authCode","_this7","totalFee","printSBImages","clearBasket","downloadComplete","voidTransaction","autoLogout","_this8","getSBImages","_this9","navigator","appName","appVersion","platform","getSBAmount","_this10","showDownLoadMsg","_this11","orderId","saveSBCharge","ccFname","ccLname","ccYear","ccv","ccZip","_this12","deleteRow","ViewContainerRef","hostBindings","DocBasketExComponent_HostBindings","DocBasketExComponent_visibilitychange_HostBindingHandler","DocBasketExComponent_Template","DocBasketExComponent_Template_img_click_2_listener","DocBasketExComponent_Template_button_click_9_listener","DocBasketExComponent_Template_dx_data_grid_onRowRemoving_13_listener","DocBasketExComponent_div_21_Template","DocBasketExComponent_div_22_Template","DocBasketExComponent_div_23_Template","DocBasketExComponent_div_24_Template","DocBasketExComponent_div_27_Template","DocBasketExComponent_div_28_Template","DocBasketExComponent_div_29_Template","test","dismiss","ValidateCard","getCCAuth","getElement","responseText","msSaveOrOpenBlob","completeSBChargeandCCSale","infoEntered","DocBasketComponent_Query","DocBasketComponent_Template","DocBasketComponent_Template_button_click_12_listener","DocBasketComponent_Template_button_click_14_listener","DocBasketComponent_Template_dx_popup_visibleChange_16_listener","DocCategoriesCIF","doccat","DocCategoryVsComponent_Template","doc_r1","DocCatName","DoccategoryexComponent_Template","DoccategoryexComponent_li_7_Template","DoctypeexComponent_div_12_Template_input_change_2_listener","DoctypeexComponent_div_12_Template_input_ngModelChange_2_listener","doc","find","DoctypeexComponent_Template","DoctypeexComponent_Template_a_click_10_listener","DoctypeexComponent_div_12_Template","NameCIF","NameComponent_Template","NameComponent_span_8_Template","NameComponent_span_9_Template","PlanDownloadComponent_div_40_Template_input_ngModelChange_1_listener","PlanDownloadComponent_div_41_Template_input_ngModelChange_1_listener","PlanDownloadComponent_div_42_Template_input_ngModelChange_1_listener","PlanDownloadComponent_div_42_Template_input_ngModelChange_3_listener","downloadPDF","PlanDownloadComponent_Template","PlanDownloadComponent_Template_button_click_12_listener","PlanDownloadComponent_Template_button_click_14_listener","PlanDownloadComponent_Template_dx_popup_visibleChange_16_listener","PlanDownloadComponent_Template_dx_data_grid_onRowRemoving_33_listener","PlanDownloadComponent_div_40_Template","PlanDownloadComponent_div_41_Template","PlanDownloadComponent_div_42_Template","PlanDownloadComponent_Template_button_click_44_listener","DocNumCIF","docnumPattern","RecdocComponent_Template","RecdocComponent_span_8_Template","RecdocComponent_span_9_Template","DxReportViewerComponent","ActionId","ExportFormatID","isNewTab","CustomizeMenuActions","actionExportTo","args","GetById","ExportTo","actionExportToClick","clickAction","arg","ExportIntercept","sender","PerformCustomDocumentOperation","done","CustomizeExportOptions","model","GetExportOptionsModel","PDF","report","hostUrl","invokeAction","reportUrl","ReportViewerPlanComponent_Query","ReportViewerPlanComponent_Template_button_click_0_listener","ReportViewerComponent_Template","Role2CIF","role2ID","RoleComponent2_Template","RoleComponent2_Template_select_ngModelChange_4_listener","RoleCIF","RoleComponent_Template","RoleComponent_Template_select_ngModelChange_4_listener","SelectIndexCIF","r_r1","listItems","help","header","helpText","SelectIndexComponent_Template","SelectIndexComponent_Template_dx_list_onItemClick_1_listener","SelectIndexComponent_div_2_Template","typeControl","amountToControl","amountFromControl","setErrors","http","apiUrl","Subject","AuthResultVM","string","accntType","newPwd","confirmPwd","loginLinkChange","pwd","AuthenticateUser","setupUser","credentialGuid","isValid","resetPassword","year","getFullYear","month","getMonth","day","getDate","fDate","tDate","getAccountStatement","_buffer","byteChar","uIntArray","file","webSvcUrl","locationId","resetCCPmt","xml","elem","pos1","elem2","pos2","ccCompleteSale","checkSum","ccNumber","luhnArray","sum","shouldMultiply","charAt","newItem","SearchReportResponseBase","processSearchReportResponse","GetRecNameSearchReportResponse","createReport","processGetRecNameSearchReportResponse","BehaviorSubject","BasketCountSub","asObservable","trigger","_renderTrigger","renderTrigger$","property","hasOwnProperty","init","AlphaSearchRowVM","last_name","first_name","GetAlphaSearchQuery","AlphaSearchListVM","isArray","alphaSearchRows","ValidMachine","CityTownVM","DocTypeVM","DocCatVM","RecNameSearchResultVM","RSHeaderVM","RecNameSearchRowVM","unparsedName","setTime","role2","revParty","GetPropertySearchReportResponse","RecDateSearchRowVM","firstGrantor","firstGrantee","GetRecDateSearchReportResponse","RecAddressSearchRowVM","description","RegNameSearchRowVM","RegAddressSearchRowVM","RegOwnerSearchRowVM","cancelledByDoc","cancelledByCert","certNo","GetRegOwnerSearchReportResponse","GetRegValueSearchReportResponse","RegValueSearchListVM","regValueSearchRows","RegValueSearchRowVM","PropertySearchRowVM","regLandDoc","units","InstrumentVM","CertificateVM","PartyVM","UnparsedAddressVM","RecDocVM","RegDocVM","RegDateSearchRowVM","GetRegDateSearchReportResponse","RegMemoEncumRowVM","GetRecAddressSearchReportResponse","GetRecValueSearchReportResponse","filterValue","depth","d","r1","subFromJSs","results","root","r","d1","fromJShelper","GetRegNameSearchReportResponse","GetRegAddressSearchReportResponse","GetRecPlanNameSearchReportResponse","PlanRoomVM","PlanRoom2VM","planID","owner","surveyor","localname","fileDate","drawnDate","PlanImgPage","PlanImgObject","LCPlansVM","townAbbrName","strtName","strtNum","ownerName","sBCred","subType","intID","intDesc","optPhone","optZCode","IndexGroupsVM","IndexVM","UnindexDateRangeCIF","RoleTypeCIF","UnindexDateRange","Utility","CompoundName2CIF","CompoundDoubleNameCIF","ADD_ADDRESS","REMOVE_ADDRESS","ADD_AMOUNT","REMOVE_AMOUNT","ADD_BP","REMOVE_BP","ADD_CERTNUM","REMOVE_CERTNUM","ADD_CITY","REMOVE_CITY","ADD_NAME","REMOVE_NAME","ADD_CONTAINS","REMOVE_CONTAINS","AddContains","RemoveContains","ADD_DATE","REMOVE_DATE","ADD_DOCCATEGORIES","REMOVE_DOCCATEGORIES","ADD_DOCCATEGORIES2","REMOVE_DOCCATEGORIES2","ADD_DOCNUM","REMOVE_DOCNUM","ADD_DOCT","REMOVE_DOCT","ADD_CERTTYPE","REMOVE_CERTTYPE","ADD_PLANNUM","REMOVE_PLANNUM","ADD_ROLE","REMOVE_ROLE","AddRoleType","RemoveRoleType","ADD_SELECTINDEX","REMOVE_SELECTINDEX","AddSelectIndex","RemoveSelectIndex","AddressAction","initialState","addressReducer","action","AmountAction","amountReducer","BPAction","bpReducer","CityAction","cityReducer","CompoundNameAction","compoundNameReducer","ContainsAction","reducer","DateAction","dateReducer","DocCategoriesAction","docCategoriesReducer","DocCategories2Action","docCategories2Reducer","DocNumAction","docNumReducer","DoctAction","doctReducer","NameAction","planCertTypeReducer","PlanNumAction","planNumReducer","PlanRoleAction","planRoleReducer","createFeatureSelector","fromName","fromAddress","fromPlanNum","fromPlanCertType","fromRoleType","fromCompoundName","fromCity","fromRole","fromContains","fromSelectIndex","fromDoct","fromDocNum","fromBP","fromDocCategories","fromDocCategories2","roletype","roleTypeReducer","selectindex","roleReducer","RoleAction","RoleTypeAction","SelectIndexActions","UnindexSearchService","r_r3","dateGroup","dateRange","majorgroup","getDateRange","GetIndexMajorIndexGroup","dateranges","dategroup","selectdate","dt","DateRangeUnindexComponent_Template","DateRangeUnindexComponent_Template_select_change_5_listener","Myselect_r2","ɵɵreference","DateRangeUnindexComponent_option_7_Template","RoleTypeComponent_Template","RoleTypeComponent_Template_select_ngModelChange_4_listener","UnindexedRecordDocImageComponent_div_3_Template_div_drop_0_listener","UnindexedRecordDocImageComponent_div_3_Template_div_dragover_0_listener","UnindexedRecordDocImageComponent_div_13_Template_i_click_1_listener","UnindexedRecordDocImageComponent_div_13_Template_i_click_2_listener","UnindexedRecordDocImageComponent_div_13_Template_i_click_7_listener","UnindexedRecordDocImageComponent_div_13_Template_i_click_8_listener","UnindexedRecordDocImageComponent_ng_template_14_Template_i_click_1_listener","getPrevIdx","UnindexedRecordDocImageComponent_ng_template_14_Template_i_click_6_listener","getNextIdx","UnindexedRecordDocImageComponent_ng_template_17_div_0_Template_div_dragstart_0_listener","UnindexedRecordDocImageComponent_ng_template_17_div_0_Template_app_image_viewer_onNext_2_listener","UnindexedRecordDocImageComponent_ng_template_17_div_0_Template_app_image_viewer_onPrevious_2_listener","UnindexedRecordDocImageComponent_ng_template_17_div_0_Template","UnindexedRecordDocImageComponent_ng_template_17_ng_template_1_Template","imageFound","showMsg_r7","recservice","isDocImageView","indexPaths","getIndexPaths","indexbook","indexgroup","indexpage","tp","FormattedPage","GetIndexPaths","getIndexDirectoryImage","GetIndexBPImagePath","UnindexedRecordDocImageComponent_Query","UnindexedRecordDocImageComponent_resize_HostBindingHandler","UnindexedRecordDocImageComponent_Template","UnindexedRecordDocImageComponent_div_3_Template","UnindexedRecordDocImageComponent_Template_span_click_5_listener","UnindexedRecordDocImageComponent_Template_input_ngModelChange_8_listener","UnindexedRecordDocImageComponent_Template_input_ngModelChange_9_listener","UnindexedRecordDocImageComponent_Template_button_click_10_listener","UnindexedRecordDocImageComponent_div_13_Template","UnindexedRecordDocImageComponent_ng_template_14_Template","UnindexedRecordDocImageComponent_div_16_Template","UnindexedRecordDocImageComponent_ng_template_17_Template","UnindexedRecordDocImageComponent_Template_dx_popup_visibleChange_19_listener","IdxImageView_r8","showimage_r9","UnindexedRecordDocDispPgComponent_Query","UnindexedRecordDocDispPgComponent_resize_HostBindingHandler","UnindexedRecordDocDispPgComponent_Template_button_click_1_listener","UnindexedRecordDocDispPgComponent_Template_app_unindexed_record_doc_image_changeImgVwVisible_5_listener","RoleTypeActions","r_r2","indexName","unindexSearchForm","GetUnindexedSearchResults","pathname","host","protocol","baseStr","urlFinally","s","indexBook","indexGroup","indexPage","UnindexedRecordSearchComponent_Query","UnindexedRecordSearchComponent_resize_HostBindingHandler","UnindexedRecordSearchComponent_Template","UnindexedRecordSearchComponent_Template_form_ngSubmit_3_listener","UnindexedRecordSearchComponent_Template_dx_list_onItemClick_17_listener","UnindexedRecordSearchComponent_div_18_Template","datetabindex","range","stype","environment","production","enableProdMode","getBaseUrl","getElementsByTagName","providers","provide","useFactory","deps","__NgCli_bootstrap_1","platformBrowser","bootstrapModule"],"sourceRoot":"webpack:///","x_google_ignoreList":[]}