sion-data-import 1.0.1
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/esm2020/index.mjs +5 -0
- package/esm2020/lib/domain/ImportsColumn.mjs +6 -0
- package/esm2020/lib/domain/ImportsTable.mjs +3 -0
- package/esm2020/lib/domain/TableDto.mjs +8 -0
- package/esm2020/lib/service/http.service.mjs +70 -0
- package/esm2020/lib/sion-data-import.module.mjs +253 -0
- package/esm2020/lib/utils/urlutil.mjs +18 -0
- package/esm2020/lib/utils/util.mjs +129 -0
- package/esm2020/lib/views/import-table-list/import-table-data/import-table-data.component.mjs +145 -0
- package/esm2020/lib/views/import-table-list/import-table-detail/import-table-detail.component.mjs +469 -0
- package/esm2020/lib/views/import-table-list/import-table-list.component.mjs +245 -0
- package/esm2020/sion-data-import.mjs +5 -0
- package/index.d.ts +5 -0
- package/index.d.ts.map +1 -0
- package/lib/domain/ImportsColumn.d.ts +12 -0
- package/lib/domain/ImportsColumn.d.ts.map +1 -0
- package/lib/domain/ImportsTable.d.ts +11 -0
- package/lib/domain/ImportsTable.d.ts.map +1 -0
- package/lib/domain/TableDto.d.ts +7 -0
- package/lib/domain/TableDto.d.ts.map +1 -0
- package/lib/service/http.service.d.ts +22 -0
- package/lib/service/http.service.d.ts.map +1 -0
- package/lib/sion-data-import.module.d.ts +57 -0
- package/lib/sion-data-import.module.d.ts.map +1 -0
- package/lib/utils/urlutil.d.ts +18 -0
- package/lib/utils/urlutil.d.ts.map +1 -0
- package/lib/utils/util.d.ts +11 -0
- package/lib/utils/util.d.ts.map +1 -0
- package/lib/views/import-table-list/import-table-data/import-table-data.component.d.ts +39 -0
- package/lib/views/import-table-list/import-table-data/import-table-data.component.d.ts.map +1 -0
- package/lib/views/import-table-list/import-table-detail/import-table-detail.component.d.ts +51 -0
- package/lib/views/import-table-list/import-table-detail/import-table-detail.component.d.ts.map +1 -0
- package/lib/views/import-table-list/import-table-list.component.d.ts +57 -0
- package/lib/views/import-table-list/import-table-list.component.d.ts.map +1 -0
- package/package.json +39 -0
- package/sion-data-import.d.ts.map +1 -0
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { ElementRef, OnInit } from '@angular/core';
|
|
2
|
+
import { ImportsTable } from "../../domain/ImportsTable";
|
|
3
|
+
import { NzModalService } from "ng-zorro-antd/modal";
|
|
4
|
+
import { NzMessageService } from "ng-zorro-antd/message";
|
|
5
|
+
import { HttpService } from "../../service/http.service";
|
|
6
|
+
import { TableDto } from "../../domain/TableDto";
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class ImportTableListComponent implements OnInit {
|
|
9
|
+
private el;
|
|
10
|
+
private modalService;
|
|
11
|
+
private httpService;
|
|
12
|
+
private messageService;
|
|
13
|
+
private elementRef;
|
|
14
|
+
condition: {
|
|
15
|
+
title: string;
|
|
16
|
+
page: number;
|
|
17
|
+
size: number;
|
|
18
|
+
};
|
|
19
|
+
total: number;
|
|
20
|
+
importsTableEdit: TableDto;
|
|
21
|
+
importsTableView: TableDto;
|
|
22
|
+
importsTableList: any[];
|
|
23
|
+
constructor(el: ElementRef, modalService: NzModalService, httpService: HttpService, messageService: NzMessageService, elementRef: ElementRef);
|
|
24
|
+
ngOnInit(): void;
|
|
25
|
+
/**
|
|
26
|
+
* 查询
|
|
27
|
+
*/
|
|
28
|
+
search(): void;
|
|
29
|
+
/**
|
|
30
|
+
* 打开弹窗前准备
|
|
31
|
+
* @param type
|
|
32
|
+
* @param data
|
|
33
|
+
*/
|
|
34
|
+
add(): void;
|
|
35
|
+
/**
|
|
36
|
+
* 编辑
|
|
37
|
+
* @param data
|
|
38
|
+
*/
|
|
39
|
+
edit(data: ImportsTable): void;
|
|
40
|
+
/**
|
|
41
|
+
* 查看
|
|
42
|
+
* @param data
|
|
43
|
+
*/
|
|
44
|
+
view(data: ImportsTable): void;
|
|
45
|
+
delete(data: ImportsTable): void;
|
|
46
|
+
/**
|
|
47
|
+
* 改变页数
|
|
48
|
+
*/
|
|
49
|
+
changePageIndex(pageIndex: any): void;
|
|
50
|
+
/**
|
|
51
|
+
* 改变一页显示多少
|
|
52
|
+
*/
|
|
53
|
+
changePageSize(pageSize: any): void;
|
|
54
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ImportTableListComponent, never>;
|
|
55
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ImportTableListComponent, "sion-import-table-list", never, {}, {}, never, never, false>;
|
|
56
|
+
}
|
|
57
|
+
//# sourceMappingURL=import-table-list.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"import-table-list.component.d.ts","sourceRoot":"","sources":["../../../../../../libs/sion-data-import/src/lib/views/import-table-list/import-table-list.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,UAAU,EAAE,MAAM,EAAC,MAAM,eAAe,CAAC;AAC5D,OAAO,EAAC,YAAY,EAAC,MAAM,2BAA2B,CAAC;AACvD,OAAO,EAAC,cAAc,EAAC,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAC,gBAAgB,EAAC,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAC,WAAW,EAAC,MAAM,4BAA4B,CAAC;AAEvD,OAAO,EAAC,QAAQ,EAAC,MAAM,uBAAuB,CAAC;;AAG/C,qBAKa,wBAAyB,YAAW,MAAM;IAWnD,OAAO,CAAC,EAAE;IACV,OAAO,CAAC,YAAY;IACpB,OAAO,CAAC,WAAW;IACnB,OAAO,CAAC,cAAc;IACtB,OAAO,CAAC,UAAU;IAdpB,SAAS;;;;MAIR;IACD,KAAK,SAAI;IACT,gBAAgB,EAAC,QAAQ,CAAkB;IAC3C,gBAAgB,EAAC,QAAQ,CAAkB;IAC3C,gBAAgB,EAAE,GAAG,EAAE,CAAK;gBAElB,EAAE,EAAE,UAAU,EACd,YAAY,EAAE,cAAc,EAC5B,WAAW,EAAE,WAAW,EACxB,cAAc,EAAE,gBAAgB,EAChC,UAAU,EAAC,UAAU;IAG/B,QAAQ,IAAI,IAAI;IAIhB;;OAEG;IACH,MAAM;IAUN;;;;OAIG;IACH,GAAG;IAiBH;;;OAGG;IACH,IAAI,CAAC,IAAI,EAAC,YAAY;IAoBtB;;;OAGG;IACH,IAAI,CAAC,IAAI,EAAC,YAAY;IAmBtB,MAAM,CAAC,IAAI,EAAC,YAAY;IAUxB;;OAEG;IACH,eAAe,CAAC,SAAS,EAAE,GAAG;IAK9B;;OAEG;IACH,cAAc,CAAC,QAAQ,EAAE,GAAG;yCA7HjB,wBAAwB;2CAAxB,wBAAwB;CAiIpC"}
|
package/package.json
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "sion-data-import",
|
|
3
|
+
"version": "1.0.1",
|
|
4
|
+
"peerDependencies": {
|
|
5
|
+
"@angular/common": "~14.2.0",
|
|
6
|
+
"@angular/core": "~14.2.0",
|
|
7
|
+
"@angular/forms": "~14.2.0",
|
|
8
|
+
"@angular/platform-browser": "~14.2.0",
|
|
9
|
+
"@angular/router": "~14.2.0",
|
|
10
|
+
"class-transformer": "^0.5.1",
|
|
11
|
+
"ng-zorro-antd": "^14.2.0",
|
|
12
|
+
"file-saver": "^2.0.5",
|
|
13
|
+
"rxjs": "~7.5.0",
|
|
14
|
+
"@nrwl/angular": "^14.8.6"
|
|
15
|
+
},
|
|
16
|
+
"publishConfig": {
|
|
17
|
+
"access": "public",
|
|
18
|
+
"registry": "https://registry.npmjs.org/"
|
|
19
|
+
},
|
|
20
|
+
"dependencies": {
|
|
21
|
+
"tslib": "^2.3.0"
|
|
22
|
+
},
|
|
23
|
+
"module": "esm2020/sion-data-import.mjs",
|
|
24
|
+
"es2020": "esm2020/sion-data-import.mjs",
|
|
25
|
+
"esm2020": "esm2020/sion-data-import.mjs",
|
|
26
|
+
"typings": "index.d.ts",
|
|
27
|
+
"exports": {
|
|
28
|
+
"./package.json": {
|
|
29
|
+
"default": "./package.json"
|
|
30
|
+
},
|
|
31
|
+
".": {
|
|
32
|
+
"types": "./index.d.ts",
|
|
33
|
+
"es2020": "./esm2020/sion-data-import.mjs",
|
|
34
|
+
"esm2020": "./esm2020/sion-data-import.mjs",
|
|
35
|
+
"default": "./esm2020/sion-data-import.mjs"
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"sideEffects": false
|
|
39
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sion-data-import.d.ts","sourceRoot":"","sources":["../../../libs/sion-data-import/src/sion-data-import.ts"],"names":[],"mappings":"AAAA;;GAEG;;AAEH,cAAc,SAAS,CAAC"}
|