@ohioepa/oepa-ui-lib 1.2.5 → 1.2.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/lib/common-forms.module.mjs +1 -36
- package/esm2022/lib/oepa-user-account/oepa-user-account.service.mjs +20 -5
- package/esm2022/public-api.mjs +2 -1
- package/fesm2022/ohioepa-oepa-ui-lib.mjs +222 -228
- package/fesm2022/ohioepa-oepa-ui-lib.mjs.map +1 -1
- package/lib/common-forms.module.d.ts +0 -2
- package/lib/oepa-user-account/oepa-user-account.service.d.ts +4 -2
- package/ohioepa-oepa-ui-lib-1.2.7.tgz +0 -0
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
- package/ohioepa-oepa-ui-lib-1.2.5.tgz +0 -0
|
@@ -7175,7 +7175,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
7175
7175
|
*/
|
|
7176
7176
|
class OepaUserAccountService {
|
|
7177
7177
|
http;
|
|
7178
|
-
|
|
7178
|
+
ebizRootURL;
|
|
7179
7179
|
hostUrl = '/ebiz';
|
|
7180
7180
|
accountsUrl = '/api/v1/userAccounts';
|
|
7181
7181
|
ebizAccountsUrl = '/api/v1/accounts';
|
|
@@ -7184,16 +7184,17 @@ class OepaUserAccountService {
|
|
|
7184
7184
|
personID = '';
|
|
7185
7185
|
sessionID = '';
|
|
7186
7186
|
webappsRootURL = '';
|
|
7187
|
+
ebizVersion = '';
|
|
7187
7188
|
logoutPath = '';
|
|
7188
7189
|
idleTimerRunning = false;
|
|
7189
7190
|
idleTime = 0;
|
|
7190
7191
|
idleThreshold = (29 * 60); // 29 minute timeout threshold by default
|
|
7191
7192
|
idleSubject = new Subject();
|
|
7192
7193
|
timeoutID;
|
|
7193
|
-
constructor(http,
|
|
7194
|
+
constructor(http, ebizRootURL) {
|
|
7194
7195
|
this.http = http;
|
|
7195
|
-
this.
|
|
7196
|
-
this.hostUrl =
|
|
7196
|
+
this.ebizRootURL = ebizRootURL;
|
|
7197
|
+
this.hostUrl = ebizRootURL + this.hostUrl;
|
|
7197
7198
|
this.logoutPath = '/jsp/logout.jsp';
|
|
7198
7199
|
}
|
|
7199
7200
|
/**
|
|
@@ -7343,6 +7344,20 @@ class OepaUserAccountService {
|
|
|
7343
7344
|
}));
|
|
7344
7345
|
}
|
|
7345
7346
|
}
|
|
7347
|
+
getEBizVersion() {
|
|
7348
|
+
if (this.ebizVersion) {
|
|
7349
|
+
return of(this.ebizVersion);
|
|
7350
|
+
}
|
|
7351
|
+
else {
|
|
7352
|
+
const url = this.hostUrl + '/api/v1/gateway/gatewayConfig';
|
|
7353
|
+
return this.http.get(url).pipe(map((gatewayConfig) => {
|
|
7354
|
+
if (gatewayConfig) {
|
|
7355
|
+
this.ebizVersion = gatewayConfig.versionNumber;
|
|
7356
|
+
}
|
|
7357
|
+
return this.ebizVersion;
|
|
7358
|
+
}));
|
|
7359
|
+
}
|
|
7360
|
+
}
|
|
7346
7361
|
/**
|
|
7347
7362
|
* Return array of ProgramPrivileges matching programPrivilegeRequest.
|
|
7348
7363
|
* @param programPrivilegeRequest
|
|
@@ -8784,230 +8799,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
8784
8799
|
type: Input
|
|
8785
8800
|
}] } });
|
|
8786
8801
|
|
|
8787
|
-
class LynxService {
|
|
8788
|
-
http;
|
|
8789
|
-
ebizRootURL;
|
|
8790
|
-
lynxUrl = '/ebiz/api/v1/lynx/';
|
|
8791
|
-
constructor(http, ebizRootURL) {
|
|
8792
|
-
this.http = http;
|
|
8793
|
-
this.ebizRootURL = ebizRootURL;
|
|
8794
|
-
this.lynxUrl = ebizRootURL + this.lynxUrl;
|
|
8795
|
-
}
|
|
8796
|
-
retrieveProjects() {
|
|
8797
|
-
const headers = new HttpHeaders();
|
|
8798
|
-
headers.append('Content-type', 'application/json');
|
|
8799
|
-
return this.http.get(this.lynxUrl + 'projects', { headers: headers });
|
|
8800
|
-
}
|
|
8801
|
-
retrieveProjectMetadata(projectID) {
|
|
8802
|
-
const headers = new HttpHeaders();
|
|
8803
|
-
headers.append('Content-type', 'application/json');
|
|
8804
|
-
return this.http.get(this.lynxUrl + 'metadata/' + projectID, { headers: headers });
|
|
8805
|
-
}
|
|
8806
|
-
storeImage(attachment, projectID) {
|
|
8807
|
-
const headers = new HttpHeaders();
|
|
8808
|
-
headers.append('Content-type', 'application/json');
|
|
8809
|
-
let url = this.lynxUrl + 'project/' + projectID + '/' + 'image';
|
|
8810
|
-
return this.http.post(url, attachment, { headers: headers });
|
|
8811
|
-
}
|
|
8812
|
-
tagImage(imageMetadata, imageID, projectID) {
|
|
8813
|
-
const headers = new HttpHeaders();
|
|
8814
|
-
headers.append('Content-type', 'application/json');
|
|
8815
|
-
let url = this.lynxUrl + 'project/' + projectID + '/' + 'image/' + imageID + '/metadata';
|
|
8816
|
-
return this.http.post(url, imageMetadata, { headers: headers });
|
|
8817
|
-
}
|
|
8818
|
-
downloadImage(imageID) {
|
|
8819
|
-
const headers = new HttpHeaders();
|
|
8820
|
-
headers.append('Content-type', 'application/json;odata=verbose');
|
|
8821
|
-
return this.http.get(this.lynxUrl + 'image' + '/' + imageID, { headers: headers, responseType: 'blob' });
|
|
8822
|
-
}
|
|
8823
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: LynxService, deps: [{ token: i1.HttpClient }, { token: 'ebizRootURL' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
8824
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: LynxService, providedIn: 'root' });
|
|
8825
|
-
}
|
|
8826
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: LynxService, decorators: [{
|
|
8827
|
-
type: Injectable,
|
|
8828
|
-
args: [{
|
|
8829
|
-
providedIn: 'root'
|
|
8830
|
-
}]
|
|
8831
|
-
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
8832
|
-
type: Inject,
|
|
8833
|
-
args: ['ebizRootURL']
|
|
8834
|
-
}] }] });
|
|
8835
|
-
|
|
8836
|
-
class AccountService {
|
|
8837
|
-
http;
|
|
8838
|
-
ebizRootURL;
|
|
8839
|
-
URL = '/ebiz/api/v1/accounts';
|
|
8840
|
-
constructor(http, ebizRootURL) {
|
|
8841
|
-
this.http = http;
|
|
8842
|
-
this.ebizRootURL = ebizRootURL;
|
|
8843
|
-
this.URL = ebizRootURL + this.URL;
|
|
8844
|
-
}
|
|
8845
|
-
retrieveRolesForService(serviceName) {
|
|
8846
|
-
return this.http.get(this.URL + "/roles/" + serviceName);
|
|
8847
|
-
}
|
|
8848
|
-
retrieveUsersForService(serviceName) {
|
|
8849
|
-
return this.http.get(this.URL + "/users/service/" + serviceName);
|
|
8850
|
-
}
|
|
8851
|
-
searchAccounts(criteria) {
|
|
8852
|
-
return this.http.post(this.URL + "/search", criteria);
|
|
8853
|
-
}
|
|
8854
|
-
retrieveServicesByServiceType(serviceType) {
|
|
8855
|
-
return this.http.get(`${this.URL}/services/serviceTypes/${serviceType}/list`);
|
|
8856
|
-
}
|
|
8857
|
-
retrieveServiceNamesByServiceType(serviceType) {
|
|
8858
|
-
return this.http.get(`${this.URL}/services/serviceTypes/${serviceType}/names`);
|
|
8859
|
-
}
|
|
8860
|
-
retrieveAllServices() {
|
|
8861
|
-
return this.http.get(`${this.URL}/services/serviceTypes/all`);
|
|
8862
|
-
}
|
|
8863
|
-
retrieveService(name) {
|
|
8864
|
-
return this.http.get(`${this.URL}/services/serviceTypes/${name}`);
|
|
8865
|
-
}
|
|
8866
|
-
retrieveAttestationByType(type) {
|
|
8867
|
-
return this.http.get(`${this.URL}/attestation/${type}`);
|
|
8868
|
-
}
|
|
8869
|
-
updateServiceStatus(service) {
|
|
8870
|
-
return this.http.post(this.URL + "/updateServiceStatus", service);
|
|
8871
|
-
}
|
|
8872
|
-
searchAccountServiceAllows(criteria) {
|
|
8873
|
-
return this.http.post(this.URL + "/searchAccountServiceAllows", criteria);
|
|
8874
|
-
}
|
|
8875
|
-
createAccountServiceAllow(accountServiceAllow) {
|
|
8876
|
-
return this.http.post(this.URL + '/createAccountServiceAllow/', accountServiceAllow);
|
|
8877
|
-
}
|
|
8878
|
-
deleteAccountServiceAllow(accountServiceAllow) {
|
|
8879
|
-
return this.http
|
|
8880
|
-
.delete(this.URL + '/deleteAccountServiceAllow/service/' + accountServiceAllow.serviceName + '/account/' + accountServiceAllow.userID);
|
|
8881
|
-
}
|
|
8882
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AccountService, deps: [{ token: i1.HttpClient }, { token: 'ebizRootURL' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
8883
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AccountService, providedIn: 'root' });
|
|
8884
|
-
}
|
|
8885
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AccountService, decorators: [{
|
|
8886
|
-
type: Injectable,
|
|
8887
|
-
args: [{
|
|
8888
|
-
providedIn: 'root'
|
|
8889
|
-
}]
|
|
8890
|
-
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
8891
|
-
type: Inject,
|
|
8892
|
-
args: ['ebizRootURL']
|
|
8893
|
-
}] }] });
|
|
8894
|
-
|
|
8895
|
-
class ParameterService {
|
|
8896
|
-
http;
|
|
8897
|
-
ebizRootURL;
|
|
8898
|
-
baseUrl = '/ebiz/api/v1/parameters';
|
|
8899
|
-
constructor(http, ebizRootURL) {
|
|
8900
|
-
this.http = http;
|
|
8901
|
-
this.ebizRootURL = ebizRootURL;
|
|
8902
|
-
this.baseUrl = ebizRootURL + this.baseUrl;
|
|
8903
|
-
}
|
|
8904
|
-
retrieveParameterByName(parameterName) {
|
|
8905
|
-
let url = this.baseUrl + '/names/' + parameterName;
|
|
8906
|
-
return this.http.get(url);
|
|
8907
|
-
}
|
|
8908
|
-
retrieveParameterByID(parameterID) {
|
|
8909
|
-
let url = this.baseUrl + '/' + parameterID;
|
|
8910
|
-
return this.http.get(url);
|
|
8911
|
-
}
|
|
8912
|
-
createParameter(parameter) {
|
|
8913
|
-
let url = this.baseUrl;
|
|
8914
|
-
return this.http.post(url, parameter);
|
|
8915
|
-
}
|
|
8916
|
-
deleteParameter(parameterID) {
|
|
8917
|
-
let url = this.baseUrl + '/' + parameterID;
|
|
8918
|
-
return this.http.delete(url);
|
|
8919
|
-
}
|
|
8920
|
-
deleteParameterByName(parameterName) {
|
|
8921
|
-
let url = this.baseUrl + '/names/' + parameterName;
|
|
8922
|
-
return this.http.delete(url);
|
|
8923
|
-
}
|
|
8924
|
-
retrieveParameterByPrefix(prefix) {
|
|
8925
|
-
let url = this.baseUrl + '/namePrefix/' + prefix;
|
|
8926
|
-
return this.http.get(url);
|
|
8927
|
-
}
|
|
8928
|
-
updateParameter(parameter) {
|
|
8929
|
-
let url = this.baseUrl + '/' + parameter.id;
|
|
8930
|
-
return this.http.put(url, parameter);
|
|
8931
|
-
}
|
|
8932
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ParameterService, deps: [{ token: i1.HttpClient }, { token: 'ebizRootURL' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
8933
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ParameterService, providedIn: 'root' });
|
|
8934
|
-
}
|
|
8935
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ParameterService, decorators: [{
|
|
8936
|
-
type: Injectable,
|
|
8937
|
-
args: [{
|
|
8938
|
-
providedIn: 'root'
|
|
8939
|
-
}]
|
|
8940
|
-
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
8941
|
-
type: Inject,
|
|
8942
|
-
args: ['ebizRootURL']
|
|
8943
|
-
}] }] });
|
|
8944
|
-
|
|
8945
|
-
class OepaReferenceService {
|
|
8946
|
-
http;
|
|
8947
|
-
ebizRootURL;
|
|
8948
|
-
countiesUrl = '/ebiz/api/v1/references/counties/state';
|
|
8949
|
-
districtsUrl = '/ebiz/api/v1/references/districts';
|
|
8950
|
-
doLaaTypessUrl = '/ebiz/api/v1/asbestos/references/doLaaTypes';
|
|
8951
|
-
constructor(http, ebizRootURL) {
|
|
8952
|
-
this.http = http;
|
|
8953
|
-
this.ebizRootURL = ebizRootURL;
|
|
8954
|
-
this.countiesUrl = ebizRootURL + this.countiesUrl;
|
|
8955
|
-
this.districtsUrl = ebizRootURL + this.districtsUrl;
|
|
8956
|
-
this.doLaaTypessUrl = ebizRootURL + this.doLaaTypessUrl;
|
|
8957
|
-
}
|
|
8958
|
-
/**
|
|
8959
|
-
* Retrieve counties
|
|
8960
|
-
*/
|
|
8961
|
-
getCounties(state) {
|
|
8962
|
-
return this.http.get(this.countiesUrl + '/' + state);
|
|
8963
|
-
}
|
|
8964
|
-
/**
|
|
8965
|
-
* Retrieve districts
|
|
8966
|
-
*/
|
|
8967
|
-
getDistricts() {
|
|
8968
|
-
return this.http.get(this.districtsUrl);
|
|
8969
|
-
}
|
|
8970
|
-
/**
|
|
8971
|
-
* Retrieve DO/LAAs
|
|
8972
|
-
*/
|
|
8973
|
-
getDoLaaTypes() {
|
|
8974
|
-
return this.http.get(this.doLaaTypessUrl);
|
|
8975
|
-
}
|
|
8976
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: OepaReferenceService, deps: [{ token: i1.HttpClient }, { token: 'ebizRootURL' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
8977
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: OepaReferenceService, providedIn: 'root' });
|
|
8978
|
-
}
|
|
8979
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: OepaReferenceService, decorators: [{
|
|
8980
|
-
type: Injectable,
|
|
8981
|
-
args: [{
|
|
8982
|
-
providedIn: 'root'
|
|
8983
|
-
}]
|
|
8984
|
-
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
8985
|
-
type: Inject,
|
|
8986
|
-
args: ['ebizRootURL']
|
|
8987
|
-
}] }] });
|
|
8988
|
-
|
|
8989
8802
|
class CommonFormsModule {
|
|
8990
|
-
static forRoot(environment) {
|
|
8991
|
-
return {
|
|
8992
|
-
ngModule: CommonFormsModule,
|
|
8993
|
-
providers: [
|
|
8994
|
-
AccountSearchService, { provide: 'env', useValue: environment },
|
|
8995
|
-
AccountService, { provide: 'env', useValue: environment },
|
|
8996
|
-
EdocAttachmentService, { provide: 'env', useValue: environment },
|
|
8997
|
-
EntityService, { provide: 'env', useValue: environment },
|
|
8998
|
-
LynxService, { provide: 'env', useValue: environment },
|
|
8999
|
-
OepaAddressService, { provide: 'env', useValue: environment },
|
|
9000
|
-
OepaFileUtilService, { provide: 'env', useValue: environment },
|
|
9001
|
-
OepaPinService, { provide: 'env', useValue: environment },
|
|
9002
|
-
OepaReferenceService, { provide: 'env', useValue: environment },
|
|
9003
|
-
OepaUserAccountService, { provide: 'env', useValue: environment },
|
|
9004
|
-
ParameterService, { provide: 'env', useValue: environment },
|
|
9005
|
-
ParamsHelpService, { provide: 'env', useValue: environment },
|
|
9006
|
-
ShoppingCartService, { provide: 'env', useValue: environment },
|
|
9007
|
-
TableExportService, { provide: 'env', useValue: environment },
|
|
9008
|
-
]
|
|
9009
|
-
};
|
|
9010
|
-
}
|
|
9011
8803
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CommonFormsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
9012
8804
|
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: CommonFormsModule, declarations: [AccountSearchInputComponent, AccountSearchModalComponent,
|
|
9013
8805
|
ActionBtnComponent, ActionBtnModalComponent, AddressComponent, ZipCodeComponent,
|
|
@@ -9183,6 +8975,55 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
9183
8975
|
args: [{ selector: 'oepa-blank', template: "\n" }]
|
|
9184
8976
|
}], ctorParameters: () => [] });
|
|
9185
8977
|
|
|
8978
|
+
class LynxService {
|
|
8979
|
+
http;
|
|
8980
|
+
ebizRootURL;
|
|
8981
|
+
lynxUrl = '/ebiz/api/v1/lynx/';
|
|
8982
|
+
constructor(http, ebizRootURL) {
|
|
8983
|
+
this.http = http;
|
|
8984
|
+
this.ebizRootURL = ebizRootURL;
|
|
8985
|
+
this.lynxUrl = ebizRootURL + this.lynxUrl;
|
|
8986
|
+
}
|
|
8987
|
+
retrieveProjects() {
|
|
8988
|
+
const headers = new HttpHeaders();
|
|
8989
|
+
headers.append('Content-type', 'application/json');
|
|
8990
|
+
return this.http.get(this.lynxUrl + 'projects', { headers: headers });
|
|
8991
|
+
}
|
|
8992
|
+
retrieveProjectMetadata(projectID) {
|
|
8993
|
+
const headers = new HttpHeaders();
|
|
8994
|
+
headers.append('Content-type', 'application/json');
|
|
8995
|
+
return this.http.get(this.lynxUrl + 'metadata/' + projectID, { headers: headers });
|
|
8996
|
+
}
|
|
8997
|
+
storeImage(attachment, projectID) {
|
|
8998
|
+
const headers = new HttpHeaders();
|
|
8999
|
+
headers.append('Content-type', 'application/json');
|
|
9000
|
+
let url = this.lynxUrl + 'project/' + projectID + '/' + 'image';
|
|
9001
|
+
return this.http.post(url, attachment, { headers: headers });
|
|
9002
|
+
}
|
|
9003
|
+
tagImage(imageMetadata, imageID, projectID) {
|
|
9004
|
+
const headers = new HttpHeaders();
|
|
9005
|
+
headers.append('Content-type', 'application/json');
|
|
9006
|
+
let url = this.lynxUrl + 'project/' + projectID + '/' + 'image/' + imageID + '/metadata';
|
|
9007
|
+
return this.http.post(url, imageMetadata, { headers: headers });
|
|
9008
|
+
}
|
|
9009
|
+
downloadImage(imageID) {
|
|
9010
|
+
const headers = new HttpHeaders();
|
|
9011
|
+
headers.append('Content-type', 'application/json;odata=verbose');
|
|
9012
|
+
return this.http.get(this.lynxUrl + 'image' + '/' + imageID, { headers: headers, responseType: 'blob' });
|
|
9013
|
+
}
|
|
9014
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: LynxService, deps: [{ token: i1.HttpClient }, { token: 'ebizRootURL' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
9015
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: LynxService, providedIn: 'root' });
|
|
9016
|
+
}
|
|
9017
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: LynxService, decorators: [{
|
|
9018
|
+
type: Injectable,
|
|
9019
|
+
args: [{
|
|
9020
|
+
providedIn: 'root'
|
|
9021
|
+
}]
|
|
9022
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
9023
|
+
type: Inject,
|
|
9024
|
+
args: ['ebizRootURL']
|
|
9025
|
+
}] }] });
|
|
9026
|
+
|
|
9186
9027
|
const digitRegExp = /\d/;
|
|
9187
9028
|
/**
|
|
9188
9029
|
* This function is for use with th TextMask directive and creates a mask for integers
|
|
@@ -9222,6 +9063,56 @@ function convertToMask(strNumber) {
|
|
|
9222
9063
|
.map((char) => digitRegExp);
|
|
9223
9064
|
}
|
|
9224
9065
|
|
|
9066
|
+
class ParameterService {
|
|
9067
|
+
http;
|
|
9068
|
+
ebizRootURL;
|
|
9069
|
+
baseUrl = '/ebiz/api/v1/parameters';
|
|
9070
|
+
constructor(http, ebizRootURL) {
|
|
9071
|
+
this.http = http;
|
|
9072
|
+
this.ebizRootURL = ebizRootURL;
|
|
9073
|
+
this.baseUrl = ebizRootURL + this.baseUrl;
|
|
9074
|
+
}
|
|
9075
|
+
retrieveParameterByName(parameterName) {
|
|
9076
|
+
let url = this.baseUrl + '/names/' + parameterName;
|
|
9077
|
+
return this.http.get(url);
|
|
9078
|
+
}
|
|
9079
|
+
retrieveParameterByID(parameterID) {
|
|
9080
|
+
let url = this.baseUrl + '/' + parameterID;
|
|
9081
|
+
return this.http.get(url);
|
|
9082
|
+
}
|
|
9083
|
+
createParameter(parameter) {
|
|
9084
|
+
let url = this.baseUrl;
|
|
9085
|
+
return this.http.post(url, parameter);
|
|
9086
|
+
}
|
|
9087
|
+
deleteParameter(parameterID) {
|
|
9088
|
+
let url = this.baseUrl + '/' + parameterID;
|
|
9089
|
+
return this.http.delete(url);
|
|
9090
|
+
}
|
|
9091
|
+
deleteParameterByName(parameterName) {
|
|
9092
|
+
let url = this.baseUrl + '/names/' + parameterName;
|
|
9093
|
+
return this.http.delete(url);
|
|
9094
|
+
}
|
|
9095
|
+
retrieveParameterByPrefix(prefix) {
|
|
9096
|
+
let url = this.baseUrl + '/namePrefix/' + prefix;
|
|
9097
|
+
return this.http.get(url);
|
|
9098
|
+
}
|
|
9099
|
+
updateParameter(parameter) {
|
|
9100
|
+
let url = this.baseUrl + '/' + parameter.id;
|
|
9101
|
+
return this.http.put(url, parameter);
|
|
9102
|
+
}
|
|
9103
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ParameterService, deps: [{ token: i1.HttpClient }, { token: 'ebizRootURL' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
9104
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ParameterService, providedIn: 'root' });
|
|
9105
|
+
}
|
|
9106
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ParameterService, decorators: [{
|
|
9107
|
+
type: Injectable,
|
|
9108
|
+
args: [{
|
|
9109
|
+
providedIn: 'root'
|
|
9110
|
+
}]
|
|
9111
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
9112
|
+
type: Inject,
|
|
9113
|
+
args: ['ebizRootURL']
|
|
9114
|
+
}] }] });
|
|
9115
|
+
|
|
9225
9116
|
class ValidationService {
|
|
9226
9117
|
constructor() { }
|
|
9227
9118
|
processValidators(form, formValidators) {
|
|
@@ -9353,6 +9244,109 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
9353
9244
|
}]
|
|
9354
9245
|
}], ctorParameters: () => [] });
|
|
9355
9246
|
|
|
9247
|
+
class AccountService {
|
|
9248
|
+
http;
|
|
9249
|
+
ebizRootURL;
|
|
9250
|
+
URL = '/ebiz/api/v1/accounts';
|
|
9251
|
+
constructor(http, ebizRootURL) {
|
|
9252
|
+
this.http = http;
|
|
9253
|
+
this.ebizRootURL = ebizRootURL;
|
|
9254
|
+
this.URL = ebizRootURL + this.URL;
|
|
9255
|
+
}
|
|
9256
|
+
retrieveRolesForService(serviceName) {
|
|
9257
|
+
return this.http.get(this.URL + "/roles/" + serviceName);
|
|
9258
|
+
}
|
|
9259
|
+
retrieveUsersForService(serviceName) {
|
|
9260
|
+
return this.http.get(this.URL + "/users/service/" + serviceName);
|
|
9261
|
+
}
|
|
9262
|
+
searchAccounts(criteria) {
|
|
9263
|
+
return this.http.post(this.URL + "/search", criteria);
|
|
9264
|
+
}
|
|
9265
|
+
retrieveServicesByServiceType(serviceType) {
|
|
9266
|
+
return this.http.get(`${this.URL}/services/serviceTypes/${serviceType}/list`);
|
|
9267
|
+
}
|
|
9268
|
+
retrieveServiceNamesByServiceType(serviceType) {
|
|
9269
|
+
return this.http.get(`${this.URL}/services/serviceTypes/${serviceType}/names`);
|
|
9270
|
+
}
|
|
9271
|
+
retrieveAllServices() {
|
|
9272
|
+
return this.http.get(`${this.URL}/services/serviceTypes/all`);
|
|
9273
|
+
}
|
|
9274
|
+
retrieveService(name) {
|
|
9275
|
+
return this.http.get(`${this.URL}/services/serviceTypes/${name}`);
|
|
9276
|
+
}
|
|
9277
|
+
retrieveAttestationByType(type) {
|
|
9278
|
+
return this.http.get(`${this.URL}/attestation/${type}`);
|
|
9279
|
+
}
|
|
9280
|
+
updateServiceStatus(service) {
|
|
9281
|
+
return this.http.post(this.URL + "/updateServiceStatus", service);
|
|
9282
|
+
}
|
|
9283
|
+
searchAccountServiceAllows(criteria) {
|
|
9284
|
+
return this.http.post(this.URL + "/searchAccountServiceAllows", criteria);
|
|
9285
|
+
}
|
|
9286
|
+
createAccountServiceAllow(accountServiceAllow) {
|
|
9287
|
+
return this.http.post(this.URL + '/createAccountServiceAllow/', accountServiceAllow);
|
|
9288
|
+
}
|
|
9289
|
+
deleteAccountServiceAllow(accountServiceAllow) {
|
|
9290
|
+
return this.http
|
|
9291
|
+
.delete(this.URL + '/deleteAccountServiceAllow/service/' + accountServiceAllow.serviceName + '/account/' + accountServiceAllow.userID);
|
|
9292
|
+
}
|
|
9293
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AccountService, deps: [{ token: i1.HttpClient }, { token: 'ebizRootURL' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
9294
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AccountService, providedIn: 'root' });
|
|
9295
|
+
}
|
|
9296
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AccountService, decorators: [{
|
|
9297
|
+
type: Injectable,
|
|
9298
|
+
args: [{
|
|
9299
|
+
providedIn: 'root'
|
|
9300
|
+
}]
|
|
9301
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
9302
|
+
type: Inject,
|
|
9303
|
+
args: ['ebizRootURL']
|
|
9304
|
+
}] }] });
|
|
9305
|
+
|
|
9306
|
+
class OepaReferenceService {
|
|
9307
|
+
http;
|
|
9308
|
+
ebizRootURL;
|
|
9309
|
+
countiesUrl = '/ebiz/api/v1/references/counties/state';
|
|
9310
|
+
districtsUrl = '/ebiz/api/v1/references/districts';
|
|
9311
|
+
doLaaTypessUrl = '/ebiz/api/v1/asbestos/references/doLaaTypes';
|
|
9312
|
+
constructor(http, ebizRootURL) {
|
|
9313
|
+
this.http = http;
|
|
9314
|
+
this.ebizRootURL = ebizRootURL;
|
|
9315
|
+
this.countiesUrl = ebizRootURL + this.countiesUrl;
|
|
9316
|
+
this.districtsUrl = ebizRootURL + this.districtsUrl;
|
|
9317
|
+
this.doLaaTypessUrl = ebizRootURL + this.doLaaTypessUrl;
|
|
9318
|
+
}
|
|
9319
|
+
/**
|
|
9320
|
+
* Retrieve counties
|
|
9321
|
+
*/
|
|
9322
|
+
getCounties(state) {
|
|
9323
|
+
return this.http.get(this.countiesUrl + '/' + state);
|
|
9324
|
+
}
|
|
9325
|
+
/**
|
|
9326
|
+
* Retrieve districts
|
|
9327
|
+
*/
|
|
9328
|
+
getDistricts() {
|
|
9329
|
+
return this.http.get(this.districtsUrl);
|
|
9330
|
+
}
|
|
9331
|
+
/**
|
|
9332
|
+
* Retrieve DO/LAAs
|
|
9333
|
+
*/
|
|
9334
|
+
getDoLaaTypes() {
|
|
9335
|
+
return this.http.get(this.doLaaTypessUrl);
|
|
9336
|
+
}
|
|
9337
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: OepaReferenceService, deps: [{ token: i1.HttpClient }, { token: 'ebizRootURL' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
9338
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: OepaReferenceService, providedIn: 'root' });
|
|
9339
|
+
}
|
|
9340
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: OepaReferenceService, decorators: [{
|
|
9341
|
+
type: Injectable,
|
|
9342
|
+
args: [{
|
|
9343
|
+
providedIn: 'root'
|
|
9344
|
+
}]
|
|
9345
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
9346
|
+
type: Inject,
|
|
9347
|
+
args: ['ebizRootURL']
|
|
9348
|
+
}] }] });
|
|
9349
|
+
|
|
9356
9350
|
/**
|
|
9357
9351
|
* Base64 versions of image files used in OEPA code
|
|
9358
9352
|
* Converted images to base64 using: https://base64.guru/converter/encode/image
|
|
@@ -9492,5 +9486,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
9492
9486
|
* Generated bundle index. Do not edit.
|
|
9493
9487
|
*/
|
|
9494
9488
|
|
|
9495
|
-
export { AccountSearchInputComponent, AccountSearchModalComponent, AccountService, ActionBtnComponent, ActionBtnModalComponent, AddressComponent, ArrayFilterPipe, ArraySortPipe, BlankComponent, CATALOG_IMG, CAUTION_IMG, CE_IMG, CHARGE_CO_IMG, CHECK_IMG, CheckboxComponent, CheckboxInputComponent, CommentModalComponent, CommonFormsModule, ConfirmationModalComponent, ContactComponent, CustomEncoder, DEFINITIONS_IMG, DELETE_IMG, DIALOG_IMG, DOWNLOAD_IMG, DateInputComponent, DateInputModalComponent, DatepickerComponent, DaterangepickerComponent, DualListBoxComponent, ERROR_IMG, EU_CAUTION_IMG, EU_IMG, EXCLUDED_EU, EbizAddressComponent, EdocAttachmentComponent, EdocAttachmentService, EntityService, FACILITY_IMG, FOLDER_CLOSED_IMG, FOLDER_OPEN_IMG, FileUploadComponent, GLOBAL_HELP_IMG, GREEN_CHECK_IMG, GREEN_DOT_IMG, ICON_DOC_IMG, ICON_DWG_IMG, ICON_PDF_IMG, ICON_TXT_IMG, ICON_XLS_IMG, INACTIVE_USER_IMG, INSIGNIFICANT_EU_CAUTION_IMG, INSIGNIFICANT_EU_IMG, INSIGNIGICANT_EU_NO_APP_REQS_CAUTION_IMG, INSIGNIGICANT_EU_NO_APP_REQS_IMG, LOCK_ICON1_IMG, LOCK_ICON1_PARTIAL_IMG, LynxImageUploadComponent, LynxService, MessageComponent, MessageListComponent, MultiFileUploadComponent, NOT_INCLUDEABLE_EU_IMG, NotesModalComponent, NumericInputComponent, NumericInputDirective, OEPAErrorMessageComponent, OEPAWaitMessageComponent, OepaAddressService, OepaFileUtilService, OepaFormsService, OepaHttpInterceptor, OepaMessage, OepaMessageType, OepaPinService, OepaTableCellClassnamePipe, OepaTableCellColSpanPipe, OepaTableCellIconClassnamePipe, OepaTableCellImgSrcPipe, OepaTableCellInnerHtmlPipe, OepaTableCellValuePipe, OepaTableFilteringDirective, OepaTableSortingDirective, OepaUserAccountService, OrganizationCreateModalComponent, OrganizationSearchInputComponent, OrganizationSearchModalComponent, PDF_IMG, PERMIT_EU_GROUP_IMG, PERMIT_EU_IMG, PERMIT_IMG, PROCESS_IMG, PTableComponent, ParameterService, ParamsHelpButtonComponent, PersonCreateModalComponent, PersonSearchInputComponent, PersonSearchModalComponent, PhoneNumberComponent, PinModalComponent, PlaceCreateModalComponent, PlaceSearchInputComponent, PlaceSearchModalComponent, RED_DOT_IMG, REPORT_EU_GROUP_CAUTION_IMG, REPORT_EU_GROUP_IMG, REPORT_IMG, REPORT_PERIOD_CAUTION_IMG, REPORT_PERIOD_IMG, SCENARIO_IMG, SHUTDOWN_EU_IMG, SHUTDOWN_FACILITY_IMG, STACK_IMG, SelectInputComponent, ServerTimeoutModalComponent, ShoppingCartService, ShoppingCartSummaryComponent, ShoppingCartViewComponent, SortOptions, StartEndTimepickerComponent, TOWER_IMG, TRIVIAL_EU_CAUTION_IMG, TRIVIAL_EU_IMG, TV_APP_EU_GROUP_IMG, TableComponent, TableExportService, TableService, TemplateConfirmationModalComponent, TextAreaInputComponent, TextInputComponent, TimeoutModalComponent, TimepickerComponent, USER_IMG, V_ELLIPSIS_IMG, ValidationService, YesNoBooleanComponent, YesNoComponent, YesNoOtherInputComponent, ZipCodeComponent, oepaCreateIntegerMask };
|
|
9489
|
+
export { AccountSearchInputComponent, AccountSearchModalComponent, AccountService, ActionBtnComponent, ActionBtnModalComponent, AddressComponent, ArrayFilterPipe, ArraySortPipe, BlankComponent, CATALOG_IMG, CAUTION_IMG, CE_IMG, CHARGE_CO_IMG, CHECK_IMG, CheckboxComponent, CheckboxInputComponent, CommentModalComponent, CommonFormsModule, ConfirmationModalComponent, ContactComponent, CustomEncoder, DEFINITIONS_IMG, DELETE_IMG, DIALOG_IMG, DOWNLOAD_IMG, DateInputComponent, DateInputModalComponent, DatepickerComponent, DaterangepickerComponent, DualListBoxComponent, ERROR_IMG, EU_CAUTION_IMG, EU_IMG, EXCLUDED_EU, EbizAddressComponent, EdocAttachmentComponent, EdocAttachmentService, EntityService, FACILITY_IMG, FOLDER_CLOSED_IMG, FOLDER_OPEN_IMG, FileUploadComponent, GLOBAL_HELP_IMG, GREEN_CHECK_IMG, GREEN_DOT_IMG, ICON_DOC_IMG, ICON_DWG_IMG, ICON_PDF_IMG, ICON_TXT_IMG, ICON_XLS_IMG, INACTIVE_USER_IMG, INSIGNIFICANT_EU_CAUTION_IMG, INSIGNIFICANT_EU_IMG, INSIGNIGICANT_EU_NO_APP_REQS_CAUTION_IMG, INSIGNIGICANT_EU_NO_APP_REQS_IMG, LOCK_ICON1_IMG, LOCK_ICON1_PARTIAL_IMG, LynxImageUploadComponent, LynxService, MessageComponent, MessageListComponent, MultiFileUploadComponent, NOT_INCLUDEABLE_EU_IMG, NotesModalComponent, NumericInputComponent, NumericInputDirective, OEPAErrorMessageComponent, OEPAWaitMessageComponent, OepaAddressService, OepaFileUtilService, OepaFormsService, OepaHttpInterceptor, OepaMessage, OepaMessageType, OepaPinService, OepaReferenceService, OepaTableCellClassnamePipe, OepaTableCellColSpanPipe, OepaTableCellIconClassnamePipe, OepaTableCellImgSrcPipe, OepaTableCellInnerHtmlPipe, OepaTableCellValuePipe, OepaTableFilteringDirective, OepaTableSortingDirective, OepaUserAccountService, OrganizationCreateModalComponent, OrganizationSearchInputComponent, OrganizationSearchModalComponent, PDF_IMG, PERMIT_EU_GROUP_IMG, PERMIT_EU_IMG, PERMIT_IMG, PROCESS_IMG, PTableComponent, ParameterService, ParamsHelpButtonComponent, PersonCreateModalComponent, PersonSearchInputComponent, PersonSearchModalComponent, PhoneNumberComponent, PinModalComponent, PlaceCreateModalComponent, PlaceSearchInputComponent, PlaceSearchModalComponent, RED_DOT_IMG, REPORT_EU_GROUP_CAUTION_IMG, REPORT_EU_GROUP_IMG, REPORT_IMG, REPORT_PERIOD_CAUTION_IMG, REPORT_PERIOD_IMG, SCENARIO_IMG, SHUTDOWN_EU_IMG, SHUTDOWN_FACILITY_IMG, STACK_IMG, SelectInputComponent, ServerTimeoutModalComponent, ShoppingCartService, ShoppingCartSummaryComponent, ShoppingCartViewComponent, SortOptions, StartEndTimepickerComponent, TOWER_IMG, TRIVIAL_EU_CAUTION_IMG, TRIVIAL_EU_IMG, TV_APP_EU_GROUP_IMG, TableComponent, TableExportService, TableService, TemplateConfirmationModalComponent, TextAreaInputComponent, TextInputComponent, TimeoutModalComponent, TimepickerComponent, USER_IMG, V_ELLIPSIS_IMG, ValidationService, YesNoBooleanComponent, YesNoComponent, YesNoOtherInputComponent, ZipCodeComponent, oepaCreateIntegerMask };
|
|
9496
9490
|
//# sourceMappingURL=ohioepa-oepa-ui-lib.mjs.map
|