@adins/ucviewgeneric 1.0.0 → 1.0.2

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.
Files changed (40) hide show
  1. package/README.md +43 -447
  2. package/bundles/ucviewgeneric.umd.js +166 -0
  3. package/bundles/ucviewgeneric.umd.js.map +1 -0
  4. package/bundles/ucviewgeneric.umd.min.js +2 -0
  5. package/bundles/ucviewgeneric.umd.min.js.map +1 -0
  6. package/esm2015/lib/ucviewgeneric.component.js +114 -0
  7. package/esm2015/lib/ucviewgeneric.module.js +23 -0
  8. package/esm2015/lib/ucviewgeneric.service.js +18 -0
  9. package/esm2015/public-api.js +11 -0
  10. package/esm2015/ucviewgeneric.js +9 -0
  11. package/esm5/lib/ucviewgeneric.component.js +128 -0
  12. package/esm5/lib/ucviewgeneric.module.js +27 -0
  13. package/esm5/lib/ucviewgeneric.service.js +21 -0
  14. package/esm5/public-api.js +11 -0
  15. package/esm5/ucviewgeneric.js +9 -0
  16. package/fesm2015/ucviewgeneric.js +144 -0
  17. package/fesm2015/ucviewgeneric.js.map +1 -0
  18. package/fesm5/ucviewgeneric.js +162 -0
  19. package/fesm5/ucviewgeneric.js.map +1 -0
  20. package/lib/ucviewgeneric.component.d.ts +8 -36
  21. package/lib/ucviewgeneric.module.d.ts +0 -11
  22. package/lib/ucviewgeneric.service.d.ts +0 -3
  23. package/package.json +20 -4
  24. package/{adins-ucviewgeneric.d.ts → ucviewgeneric.d.ts} +0 -1
  25. package/ucviewgeneric.metadata.json +1 -0
  26. package/esm2020/adins-ucviewgeneric.mjs +0 -5
  27. package/esm2020/lib/model/grid-view-obj.model.mjs +0 -8
  28. package/esm2020/lib/model/input-grid-obj.model.mjs +0 -24
  29. package/esm2020/lib/model/uc-view-generic-obj.model.mjs +0 -30
  30. package/esm2020/lib/ucviewgeneric.component.mjs +0 -566
  31. package/esm2020/lib/ucviewgeneric.module.mjs +0 -42
  32. package/esm2020/lib/ucviewgeneric.service.mjs +0 -14
  33. package/esm2020/public-api.mjs +0 -7
  34. package/fesm2015/adins-ucviewgeneric.mjs +0 -687
  35. package/fesm2015/adins-ucviewgeneric.mjs.map +0 -1
  36. package/fesm2020/adins-ucviewgeneric.mjs +0 -682
  37. package/fesm2020/adins-ucviewgeneric.mjs.map +0 -1
  38. package/lib/model/grid-view-obj.model.d.ts +0 -18
  39. package/lib/model/input-grid-obj.model.d.ts +0 -26
  40. package/lib/model/uc-view-generic-obj.model.d.ts +0 -27
@@ -0,0 +1,162 @@
1
+ import { HttpClient } from '@angular/common/http';
2
+ import { Injectable, NgModule, Component, Input, defineInjectable } from '@angular/core';
3
+ import { CommonModule } from '@angular/common';
4
+ import { ActivatedRoute, RouterModule } from '@angular/router';
5
+ import { UcSubsectionModule } from '@adins/uc-subsection';
6
+
7
+ /**
8
+ * @fileoverview added by tsickle
9
+ * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
10
+ */
11
+ var UcviewgenericService = /** @class */ (function () {
12
+ function UcviewgenericService() {
13
+ }
14
+ UcviewgenericService.decorators = [
15
+ { type: Injectable, args: [{
16
+ providedIn: 'root'
17
+ },] }
18
+ ];
19
+ /** @nocollapse */
20
+ UcviewgenericService.ctorParameters = function () { return []; };
21
+ /** @nocollapse */ UcviewgenericService.ngInjectableDef = defineInjectable({ factory: function UcviewgenericService_Factory() { return new UcviewgenericService(); }, token: UcviewgenericService, providedIn: "root" });
22
+ return UcviewgenericService;
23
+ }());
24
+
25
+ /**
26
+ * @fileoverview added by tsickle
27
+ * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
28
+ */
29
+ var UcviewgenericComponent = /** @class */ (function () {
30
+ function UcviewgenericComponent(route, http) {
31
+ var _this = this;
32
+ this.route = route;
33
+ this.http = http;
34
+ this.viewList = "";
35
+ this.mainInfoObj = "";
36
+ this.route.queryParams.subscribe((/**
37
+ * @param {?} params
38
+ * @return {?}
39
+ */
40
+ function (params) {
41
+ _this.getList = params;
42
+ }));
43
+ }
44
+ /**
45
+ * @return {?}
46
+ */
47
+ UcviewgenericComponent.prototype.ngOnInit = /**
48
+ * @return {?}
49
+ */
50
+ function () {
51
+ console.log("viewgeneric");
52
+ this.initiateForm();
53
+ };
54
+ /**
55
+ * @return {?}
56
+ */
57
+ UcviewgenericComponent.prototype.initiateForm = /**
58
+ * @return {?}
59
+ */
60
+ function () {
61
+ var _this = this;
62
+ this.getJSON(this.viewInput).subscribe((/**
63
+ * @param {?} data
64
+ * @return {?}
65
+ */
66
+ function (data) {
67
+ console.log(data);
68
+ _this.viewList = data;
69
+ _this.http.post(_this.viewList.mainInfoUrl, _this.getList).subscribe((/**
70
+ * @param {?} response
71
+ * @return {?}
72
+ */
73
+ function (response) {
74
+ console.log(response);
75
+ _this.mainInfoObj = response["returnObject"];
76
+ }), (/**
77
+ * @param {?} error
78
+ * @return {?}
79
+ */
80
+ function (error) {
81
+ console.log(error);
82
+ }));
83
+ }));
84
+ };
85
+ /**
86
+ * @param {?} url
87
+ * @return {?}
88
+ */
89
+ UcviewgenericComponent.prototype.getJSON = /**
90
+ * @param {?} url
91
+ * @return {?}
92
+ */
93
+ function (url) {
94
+ return this.http.get(url);
95
+ };
96
+ /**
97
+ * @param {?} param
98
+ * @return {?}
99
+ */
100
+ UcviewgenericComponent.prototype.genAction = /**
101
+ * @param {?} param
102
+ * @return {?}
103
+ */
104
+ function (param) {
105
+ /** @type {?} */
106
+ var arrList = {};
107
+ for (var i = 0; i < param.length; i++) {
108
+ arrList[param[i].property] = this.mainInfoObj[param[i].property];
109
+ }
110
+ return arrList;
111
+ };
112
+ UcviewgenericComponent.decorators = [
113
+ { type: Component, args: [{
114
+ selector: 'lib-ucviewgeneric',
115
+ template: "<div class=\"col-md-12\">\r\n <div class=\"card\">\r\n <div class=\"card-header\">\r\n <h4 class=\"card-title\" id=\"horz-layout-colored-controls\" translate> {{ viewList.title }} </h4>\r\n </div>\r\n <div class=\"card-body\">\r\n <div class=\"px-3\">\r\n <lib-ucSubsection *ngIf=\"viewList != ''\" [id]=\"viewList.subSectionId + 'id'\"\r\n [title]=\"viewList.subSectionTitle\" [panel]=\"viewList.subSectionId\">\r\n </lib-ucSubsection>\r\n <div class=\"form-body\" [id]='viewList.subSectionId'>\r\n <div class=\"form-group row\">\r\n <div class=\"col-md-6\" *ngFor=\"let mi of viewList?.mainInfo\">\r\n <div class=\"row\">\r\n <div class=\"col-md-6\">\r\n <label class=\"label-control\" name=\"VendorCode\" translate> {{ mi.label }} </label>\r\n </div>\r\n <div class=\"col-md-6\">\r\n <label *ngIf=\"mi.type == 'text'\" class=\"label-control\" translate>\r\n {{ mainInfoObj[mi.property] }} </label>\r\n <label *ngIf=\"mi.type == 'currency'\" class=\"label-control\" translate>\r\n {{ mainInfoObj[mi.property] | number}} </label>\r\n <label *ngIf=\"mi.type == 'date'\" class=\"label-control\" translate>\r\n {{ mainInfoObj[mi.property] | date: 'dd-MMM-yyyy'}} </label>\r\n <label *ngIf=\"mi.type == 'link'\" class=\"label-control\" translate><a\r\n [routerLink]=\"[mi.path]\" [queryParams]=\"genAction(mi.param)\">\r\n {{ mainInfoObj[mi.property] }} </a></label>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</div>"
116
+ }] }
117
+ ];
118
+ /** @nocollapse */
119
+ UcviewgenericComponent.ctorParameters = function () { return [
120
+ { type: ActivatedRoute },
121
+ { type: HttpClient }
122
+ ]; };
123
+ UcviewgenericComponent.propDecorators = {
124
+ viewInput: [{ type: Input }]
125
+ };
126
+ return UcviewgenericComponent;
127
+ }());
128
+
129
+ /**
130
+ * @fileoverview added by tsickle
131
+ * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
132
+ */
133
+ var UcviewgenericModule = /** @class */ (function () {
134
+ function UcviewgenericModule() {
135
+ }
136
+ UcviewgenericModule.decorators = [
137
+ { type: NgModule, args: [{
138
+ declarations: [UcviewgenericComponent],
139
+ imports: [
140
+ CommonModule,
141
+ RouterModule,
142
+ UcSubsectionModule
143
+ ],
144
+ exports: [UcviewgenericComponent]
145
+ },] }
146
+ ];
147
+ return UcviewgenericModule;
148
+ }());
149
+
150
+ /**
151
+ * @fileoverview added by tsickle
152
+ * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
153
+ */
154
+
155
+ /**
156
+ * @fileoverview added by tsickle
157
+ * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
158
+ */
159
+
160
+ export { UcviewgenericService, UcviewgenericComponent, UcviewgenericModule };
161
+
162
+ //# sourceMappingURL=ucviewgeneric.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ucviewgeneric.js.map","sources":["ng://ucviewgeneric/lib/ucviewgeneric.service.ts","ng://ucviewgeneric/lib/ucviewgeneric.component.ts","ng://ucviewgeneric/lib/ucviewgeneric.module.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class UcviewgenericService {\n\n constructor() { }\n}\n","import { Component, OnInit, Input } from '@angular/core';\nimport { ActivatedRoute } from '@angular/router';\nimport { HttpClient } from '@angular/common/http';\nimport { Observable } from 'rxjs';\n\n@Component({\n selector: 'lib-ucviewgeneric',\n templateUrl: './ucviewgeneric.component.html',\n styles: []\n})\nexport class UcviewgenericComponent implements OnInit {\n\n @Input() viewInput: any;\n viewList: any = \"\";\n mainInfoObj: any = \"\";\n getList: any;\n\n constructor(private route: ActivatedRoute, private http: HttpClient) { \n this.route.queryParams.subscribe(params => {\n this.getList = params;\n });\n }\n\n ngOnInit() {\n console.log(\"viewgeneric\");\n this.initiateForm();\n }\n\n initiateForm() {\n this.getJSON(this.viewInput).subscribe(data => {\n console.log(data);\n this.viewList = data;\n\n this.http.post(this.viewList.mainInfoUrl, this.getList).subscribe(\n (response) => {\n console.log(response);\n this.mainInfoObj = response[\"returnObject\"];\n },\n (error) => {\n console.log(error);\n })\n })\n }\n\n public getJSON(url: string): Observable<any> {\n return this.http.get(url);\n }\n \n genAction(param) {\n var arrList = {};\n\n for (var i = 0; i < param.length; i++) {\n arrList[param[i].property] = this.mainInfoObj[param[i].property];\n }\n return arrList;\n }\n}\n","import { NgModule } from '@angular/core';\nimport { UcviewgenericComponent } from './ucviewgeneric.component';\nimport { CommonModule } from '@angular/common';\nimport { RouterModule } from '@angular/router';\nimport { UcSubsectionModule } from '@adins/uc-subsection';\n\n@NgModule({\n declarations: [UcviewgenericComponent],\n imports: [\n CommonModule,\n RouterModule,\n UcSubsectionModule\n ],\n exports: [UcviewgenericComponent]\n})\nexport class UcviewgenericModule { }\n"],"names":[],"mappings":";;;;;;;;;;AAAA;IAOE;KAAiB;;gBALlB,UAAU,SAAC;oBACV,UAAU,EAAE,MAAM;iBACnB;;;;;+BAJD;CAEA;;;;;;ACFA;IAiBE,gCAAoB,KAAqB,EAAU,IAAgB;QAAnE,iBAIC;QAJmB,UAAK,GAAL,KAAK,CAAgB;QAAU,SAAI,GAAJ,IAAI,CAAY;QAJnE,aAAQ,GAAQ,EAAE,CAAC;QACnB,gBAAW,GAAQ,EAAE,CAAC;QAIpB,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC,SAAS;;;;QAAC,UAAA,MAAM;YACrC,KAAI,CAAC,OAAO,GAAG,MAAM,CAAC;SACvB,EAAC,CAAC;KACJ;;;;IAED,yCAAQ;;;IAAR;QACE,OAAO,CAAC,GAAG,CAAC,aAAa,CAAC,CAAC;QAC3B,IAAI,CAAC,YAAY,EAAE,CAAC;KACrB;;;;IAED,6CAAY;;;IAAZ;QAAA,iBAcC;QAbC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,SAAS;;;;QAAC,UAAA,IAAI;YACzC,OAAO,CAAC,GAAG,CAAC,I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;CATpC;;;;;;;;;;;;;;"}
@@ -1,45 +1,17 @@
1
- import { OnInit, EventEmitter } from "@angular/core";
2
- import { ActivatedRoute } from "@angular/router";
3
- import { HttpClient } from "@angular/common/http";
4
- import { Observable } from "rxjs";
5
- import { EnvisObj, UcViewGenericObj } from "./model/uc-view-generic-obj.model";
6
- import { TranslateService } from "@ngx-translate/core";
7
- import { CookieService } from "ngx-cookie";
8
- import { GridViewObj } from "./model/grid-view-obj.model";
9
- import { InputGridObj } from "./model/input-grid-obj.model";
10
- import * as i0 from "@angular/core";
1
+ import { OnInit } from '@angular/core';
2
+ import { ActivatedRoute } from '@angular/router';
3
+ import { HttpClient } from '@angular/common/http';
4
+ import { Observable } from 'rxjs';
11
5
  export declare class UcviewgenericComponent implements OnInit {
12
6
  private route;
13
7
  private http;
14
- private translateService;
15
- private cookieService;
16
- viewGenericObj: UcViewGenericObj;
17
- gridViewObj: GridViewObj;
18
- callback: EventEmitter<any>;
19
- UserAccess: any;
20
- inputGridViewObjs: Array<InputGridObj>;
8
+ viewInput: any;
21
9
  viewList: any;
10
+ mainInfoObj: any;
22
11
  getList: any;
23
- viewInfoObjList: any;
24
- isReady: boolean;
25
- IsCard: boolean;
26
- constructor(route: ActivatedRoute, http: HttpClient, translateService: TranslateService, cookieService: CookieService);
12
+ constructor(route: ActivatedRoute, http: HttpClient);
27
13
  ngOnInit(): void;
28
- private CheckIsCard;
29
14
  initiateForm(): void;
30
- initializeGridViews(): void;
31
- getEnvironment(envi: any): EnvisObj;
32
- GetGridViewData(meta: any, inputGridObj: InputGridObj): Promise<void>;
33
- gridEvent(ev: any): void;
34
- setConfiguration(data: any): void;
35
15
  getJSON(url: string): Observable<any>;
36
- private GetCookie;
37
- private DecryptString;
38
- genAction(viewObj: any, param: any): {};
39
- genRouterLink(urlLink: string): string;
40
- redirectFullPath(fullpath: string, param: Object, target: string): void;
41
- callbackFunction(item: any, key?: string): void;
42
- switchCase(item: any, condList: any): boolean;
43
- static ɵfac: i0.ɵɵFactoryDeclaration<UcviewgenericComponent, never>;
44
- static ɵcmp: i0.ɵɵComponentDeclaration<UcviewgenericComponent, "lib-ucviewgeneric", never, { "viewGenericObj": "viewGenericObj"; "gridViewObj": "gridViewObj"; }, { "callback": "callback"; }, never, never>;
16
+ genAction(param: any): {};
45
17
  }
@@ -1,13 +1,2 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./ucviewgeneric.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "@angular/router";
5
- import * as i4 from "@adins/uc-subsection";
6
- import * as i5 from "@adins/ucgridview";
7
- import * as i6 from "@adins/uctable";
8
- import * as i7 from "@ngx-translate/core";
9
1
  export declare class UcviewgenericModule {
10
- static ɵfac: i0.ɵɵFactoryDeclaration<UcviewgenericModule, never>;
11
- static ɵmod: i0.ɵɵNgModuleDeclaration<UcviewgenericModule, [typeof i1.UcviewgenericComponent], [typeof i2.CommonModule, typeof i3.RouterModule, typeof i4.UcSubsectionModule, typeof i5.UcgridviewModule, typeof i6.UctableModule, typeof i7.TranslateModule], [typeof i1.UcviewgenericComponent]>;
12
- static ɵinj: i0.ɵɵInjectorDeclaration<UcviewgenericModule>;
13
2
  }
@@ -1,6 +1,3 @@
1
- import * as i0 from "@angular/core";
2
1
  export declare class UcviewgenericService {
3
2
  constructor();
4
- static ɵfac: i0.ɵɵFactoryDeclaration<UcviewgenericService, never>;
5
- static ɵprov: i0.ɵɵInjectableDeclaration<UcviewgenericService>;
6
3
  }
package/package.json CHANGED
@@ -1,14 +1,30 @@
1
1
  {
2
2
  "name": "@adins/ucviewgeneric",
3
- "version": "1.0.0",
4
- "description": "This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 13.0.0.",
5
- "main": "index.js",
3
+ "version": "1.0.2",
4
+ "peerDependencies": {
5
+ "@angular/common": "^7.2.0",
6
+ "@angular/core": "^7.2.0"
7
+ },
8
+ "main": "bundles/ucviewgeneric.umd.js",
9
+ "module": "fesm5/ucviewgeneric.js",
10
+ "es2015": "fesm2015/ucviewgeneric.js",
11
+ "esm5": "esm5/ucviewgeneric.js",
12
+ "esm2015": "esm2015/ucviewgeneric.js",
13
+ "fesm5": "fesm5/ucviewgeneric.js",
14
+ "fesm2015": "fesm2015/ucviewgeneric.js",
15
+ "typings": "ucviewgeneric.d.ts",
16
+ "metadata": "ucviewgeneric.metadata.json",
17
+ "sideEffects": false,
18
+ "dependencies": {
19
+ "tslib": "^1.9.0"
20
+ },
21
+ "description": "This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 7.2.0.",
6
22
  "directories": {
7
23
  "lib": "lib"
8
24
  },
9
25
  "scripts": {
10
26
  "test": "echo \"Error: no test specified\" && exit 1"
11
27
  },
12
- "author": "kristy",
28
+ "author": "Reynard",
13
29
  "license": "ISC"
14
30
  }
@@ -1,5 +1,4 @@
1
1
  /**
2
2
  * Generated bundle index. Do not edit.
3
3
  */
4
- /// <amd-module name="@adins/ucviewgeneric" />
5
4
  export * from './public-api';
@@ -0,0 +1 @@
1
+ {"__symbolic":"module","version":4,"metadata":{"UcviewgenericService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":2,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor"}]},"statics":{"ngInjectableDef":{}}},"UcviewgenericComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":5,"character":1},"arguments":[{"selector":"lib-ucviewgeneric","styles":[],"template":"<div class=\"col-md-12\">\r\n <div class=\"card\">\r\n <div class=\"card-header\">\r\n <h4 class=\"card-title\" id=\"horz-layout-colored-controls\" translate> {{ viewList.title }} </h4>\r\n </div>\r\n <div class=\"card-body\">\r\n <div class=\"px-3\">\r\n <lib-ucSubsection *ngIf=\"viewList != ''\" [id]=\"viewList.subSectionId + 'id'\"\r\n [title]=\"viewList.subSectionTitle\" [panel]=\"viewList.subSectionId\">\r\n </lib-ucSubsection>\r\n <div class=\"form-body\" [id]='viewList.subSectionId'>\r\n <div class=\"form-group row\">\r\n <div class=\"col-md-6\" *ngFor=\"let mi of viewList?.mainInfo\">\r\n <div class=\"row\">\r\n <div class=\"col-md-6\">\r\n <label class=\"label-control\" name=\"VendorCode\" translate> {{ mi.label }} </label>\r\n </div>\r\n <div class=\"col-md-6\">\r\n <label *ngIf=\"mi.type == 'text'\" class=\"label-control\" translate>\r\n {{ mainInfoObj[mi.property] }} </label>\r\n <label *ngIf=\"mi.type == 'currency'\" class=\"label-control\" translate>\r\n {{ mainInfoObj[mi.property] | number}} </label>\r\n <label *ngIf=\"mi.type == 'date'\" class=\"label-control\" translate>\r\n {{ mainInfoObj[mi.property] | date: 'dd-MMM-yyyy'}} </label>\r\n <label *ngIf=\"mi.type == 'link'\" class=\"label-control\" translate><a\r\n [routerLink]=\"[mi.path]\" [queryParams]=\"genAction(mi.param)\">\r\n {{ mainInfoObj[mi.property] }} </a></label>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</div>"}]}],"members":{"viewInput":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":12,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/router","name":"ActivatedRoute","line":17,"character":29},{"__symbolic":"reference","module":"@angular/common/http","name":"HttpClient","line":17,"character":59}]}],"ngOnInit":[{"__symbolic":"method"}],"initiateForm":[{"__symbolic":"method"}],"getJSON":[{"__symbolic":"method"}],"genAction":[{"__symbolic":"method"}]}},"UcviewgenericModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":6,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"UcviewgenericComponent"}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":9,"character":4},{"__symbolic":"reference","module":"@angular/router","name":"RouterModule","line":10,"character":4},{"__symbolic":"reference","module":"@adins/uc-subsection","name":"UcSubsectionModule","line":11,"character":4}],"exports":[{"__symbolic":"reference","name":"UcviewgenericComponent"}]}]}],"members":{}}},"origins":{"UcviewgenericService":"./lib/ucviewgeneric.service","UcviewgenericComponent":"./lib/ucviewgeneric.component","UcviewgenericModule":"./lib/ucviewgeneric.module"},"importAs":"ucviewgeneric"}
@@ -1,5 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- export * from './public-api';
5
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWRpbnMtdWN2aWV3Z2VuZXJpYy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3Byb2plY3RzL3Vjdmlld2dlbmVyaWMvc3JjL2FkaW5zLXVjdmlld2dlbmVyaWMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLGNBQWMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9wdWJsaWMtYXBpJztcbiJdfQ==
@@ -1,8 +0,0 @@
1
- export class GridViewObj {
2
- constructor() {
3
- this.gridViews = [];
4
- }
5
- }
6
- export class GridViewInput {
7
- }
8
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ3JpZC12aWV3LW9iai5tb2RlbC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3Vjdmlld2dlbmVyaWMvc3JjL2xpYi9tb2RlbC9ncmlkLXZpZXctb2JqLm1vZGVsLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sT0FBTyxXQUFXO0lBRXRCO1FBQ0UsSUFBSSxDQUFDLFNBQVMsR0FBRyxFQUFFLENBQUM7SUFDdEIsQ0FBQztDQUNGO0FBQ0QsTUFBTSxPQUFPLGFBQWE7Q0FhekIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgY2xhc3MgR3JpZFZpZXdPYmoge1xyXG4gIGdyaWRWaWV3czogR3JpZFZpZXdJbnB1dFtdO1xyXG4gIGNvbnN0cnVjdG9yKCkge1xyXG4gICAgdGhpcy5ncmlkVmlld3MgPSBbXTtcclxuICB9XHJcbn1cclxuZXhwb3J0IGNsYXNzIEdyaWRWaWV3SW5wdXQge1xyXG4gIHN1YnNlY3Rpb24/OiBzdHJpbmc7XHJcbiAgZ2V0RGF0YToge1xyXG4gICAgZW52aXJvbm1lbnQ6IHN0cmluZztcclxuICAgIGFwaVBhdGg6IHN0cmluZztcclxuICAgIGN1c3RvbU9iak5hbWU6IHN0cmluZztcclxuICAgIHJlcU9iajogYW55O1xyXG4gIH07XHJcbiAgdGFibGVJbnB1dDoge1xyXG4gICAgaXNTZXE6IGJvb2xlYW47XHJcbiAgICBoZWFkZXJMaXN0OiBhbnk7XHJcbiAgICBib2R5TGlzdDogYW55O1xyXG4gIH07XHJcbn1cclxuIl19
@@ -1,24 +0,0 @@
1
- export class InputGridObj {
2
- constructor() {
3
- this.apiUrl = "";
4
- this.deleteUrl = "";
5
- this.pageNow = 0;
6
- this.pageSize = 0;
7
- this.pagingJson = "";
8
- this.switchValue = new Array();
9
- this.addGridList = new Array();
10
- this.classPadding = "";
11
- }
12
- }
13
- export class SwitchValueObj {
14
- constructor() {
15
- this.property = "";
16
- }
17
- }
18
- export class InputAddGridObj {
19
- constructor() {
20
- this.AddGridLabel = "";
21
- this.AddGridProperty = "";
22
- }
23
- }
24
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQtZ3JpZC1vYmoubW9kZWwuanMiLCJzb3Vy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gIEFkZEdyaWRMYWJlbDogc3RyaW5nO1xyXG4gIEFkZEdyaWRQcm9wZXJ0eTogc3RyaW5nO1xyXG5cclxuICBjb25zdHJ1Y3RvcigpIHtcclxuICAgIHRoaXMuQWRkR3JpZExhYmVsID0gXCJcIjtcclxuICAgIHRoaXMuQWRkR3JpZFByb3BlcnR5ID0gXCJcIjtcclxuICB9XHJcbn1cclxuIl19
@@ -1,30 +0,0 @@
1
- export class UcViewGenericObj {
2
- constructor() {
3
- this.IsCard = true;
4
- this.viewInput = "";
5
- this.viewEnvironment = "";
6
- this.ddlEnvironments = new Array();
7
- this.listEnvironments = new Array();
8
- this.whereValue = new Array();
9
- this.IsCard = true;
10
- this.dicts = {};
11
- }
12
- }
13
- export class EnviObj {
14
- constructor() {
15
- this.name = "";
16
- this.environment = "";
17
- }
18
- }
19
- export class WhereValueObj {
20
- constructor() {
21
- this.property = "";
22
- }
23
- }
24
- export class EnvisObj {
25
- constructor() {
26
- this.environment = "";
27
- this.url = "";
28
- }
29
- }
30
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidWMtdmlldy1nZW5lcmljLW9iai5tb2RlbC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3Vjdmlld2dlbmVyaWMvc3JjL2xpYi9tb2RlbC91Yy12aWV3LWdlbmVyaWMtb2JqLm1vZGVsLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE1BQU0sT0FBTyxnQkFBZ0I7SUFXekI7UUFKQSxXQUFNLEdBQVksSUFBSSxDQUFDO1FBS25CLElBQUksQ0FBQyxTQUFTLEdBQUcsRUFBRSxDQUFDO1FBQ3BCLElBQUksQ0FBQyxlQUFlLEdBQUcsRUFBRSxDQUFDO1FBQzFCLElBQUksQ0FBQyxlQUFlLEdBQUcsSUFBSSxLQUFLLEVBQVcsQ0FBQztRQUM1QyxJQUF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