@yibozhang/pro-table 0.0.2 → 0.0.4
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/README.md +55 -55
- package/bundles/yibozhang-pro-table.umd.js +316 -378
- package/bundles/yibozhang-pro-table.umd.js.map +1 -1
- package/bundles/yibozhang-pro-table.umd.min.js +1 -1
- package/bundles/yibozhang-pro-table.umd.min.js.map +1 -1
- package/esm2015/lib/components/colmuns-setting/colmuns-setting.component.js +1 -1
- package/esm2015/lib/components/dynamic-search-field/dynamic-search-field.component.js +1 -1
- package/esm2015/lib/constants.js +1 -1
- package/esm2015/lib/page-container/page-container.component.js +1 -1
- package/esm2015/lib/page-container/page-container.module.js +1 -1
- package/esm2015/lib/page-public/antd-form.js +35 -360
- package/esm2015/lib/page-public/array-form.js +269 -0
- package/esm2015/lib/plate-input/plate-input.component.js +1 -1
- package/esm2015/lib/plate-input/plate-input.module.js +1 -1
- package/esm2015/lib/plate-input/plate-prefix-load.service.js +1 -1
- package/esm2015/lib/pro-table.component.js +1 -1
- package/esm2015/lib/pro-table.module.js +1 -1
- package/esm2015/lib/table-search-bar/table-search-bar-module.js +1 -1
- package/esm2015/lib/table-search-bar/table-search-bar.component.js +1 -1
- package/esm2015/lib/tokens.js +1 -1
- package/esm2015/lib/type.js +1 -1
- package/esm2015/public-api.js +4 -1
- package/esm2015/yibozhang-pro-table.js +4 -5
- package/fesm2015/yibozhang-pro-table.js +303 -360
- package/fesm2015/yibozhang-pro-table.js.map +1 -1
- package/lib/components/colmuns-setting/colmuns-setting.component.d.ts.map +1 -1
- package/lib/components/dynamic-search-field/dynamic-search-field.component.d.ts.map +1 -1
- package/lib/constants.d.ts.map +1 -1
- package/lib/page-container/page-container.component.d.ts.map +1 -1
- package/lib/page-container/page-container.module.d.ts.map +1 -1
- package/lib/page-public/antd-form.d.ts +1 -20
- package/lib/page-public/antd-form.d.ts.map +1 -1
- package/lib/page-public/array-form.d.ts +186 -0
- package/lib/page-public/array-form.d.ts.map +1 -0
- package/lib/plate-input/plate-input.component.d.ts.map +1 -1
- package/lib/plate-input/plate-input.module.d.ts.map +1 -1
- package/lib/plate-input/plate-prefix-load.service.d.ts.map +1 -1
- package/lib/pro-table.component.d.ts.map +1 -1
- package/lib/pro-table.module.d.ts.map +1 -1
- package/lib/table-search-bar/table-search-bar-module.d.ts.map +1 -1
- package/lib/table-search-bar/table-search-bar.component.d.ts.map +1 -1
- package/lib/tokens.d.ts.map +1 -1
- package/lib/type.d.ts.map +1 -1
- package/package.json +1 -1
- package/public-api.d.ts +4 -1
- package/public-api.d.ts.map +1 -1
- package/yibozhang-pro-table.d.ts +3 -4
- package/yibozhang-pro-table.d.ts.map +1 -1
- package/yibozhang-pro-table.metadata.json +1 -1
package/README.md
CHANGED
|
@@ -1,55 +1,55 @@
|
|
|
1
|
-
# ProTable
|
|
2
|
-
|
|
3
|
-
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 10.2.5.
|
|
4
|
-
|
|
5
|
-
## Code scaffolding
|
|
6
|
-
|
|
7
|
-
Run `ng generate component component-name --project pro-table` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project pro-table`.
|
|
8
|
-
> Note: Don't forget to add `--project pro-table` or else it will be added to the default project in your `angular.json` file.
|
|
9
|
-
|
|
10
|
-
## Build
|
|
11
|
-
|
|
12
|
-
Run `ng build pro-table` to build the project. The build artifacts will be stored in the `dist/` directory.
|
|
13
|
-
|
|
14
|
-
## Publishing
|
|
15
|
-
|
|
16
|
-
After building your library with `ng build pro-table`, go to the dist folder `cd dist/pro-table` and run `npm publish`.
|
|
17
|
-
|
|
18
|
-
## Running unit tests
|
|
19
|
-
|
|
20
|
-
Run `ng test pro-table` to execute the unit tests via [Karma](https://karma-runner.github.io).
|
|
21
|
-
|
|
22
|
-
## 样式导入
|
|
23
|
-
|
|
24
|
-
在使用此库时,需要正确导入样式文件:
|
|
25
|
-
|
|
26
|
-
### 1. 在 `angular.json` 中配置样式(推荐)
|
|
27
|
-
|
|
28
|
-
```json
|
|
29
|
-
{
|
|
30
|
-
"styles": [
|
|
31
|
-
"node_modules/ng-zorro-antd/ng-zorro-antd.less",
|
|
32
|
-
"node_modules/@yibozhang/pro-table/src/lib/styles/theme.less",
|
|
33
|
-
"node_modules/@yibozhang/pro-table/src/lib/styles/custom-antd.less",
|
|
34
|
-
"node_modules/@yibozhang/pro-table/src/lib/styles/margin.css"
|
|
35
|
-
]
|
|
36
|
-
}
|
|
37
|
-
```
|
|
38
|
-
|
|
39
|
-
### 2. 或在组件样式中导入
|
|
40
|
-
|
|
41
|
-
```less
|
|
42
|
-
// styles.less
|
|
43
|
-
@import "~ng-zorro-antd/ng-zorro-antd.less";
|
|
44
|
-
@import "~@yibozhang/pro-table/src/lib/styles/theme.less";
|
|
45
|
-
@import "~@yibozhang/pro-table/src/lib/styles/custom-antd.less";
|
|
46
|
-
@import "~@yibozhang/pro-table/src/lib/styles/margin.css";
|
|
47
|
-
```
|
|
48
|
-
|
|
49
|
-
**重要提示**:
|
|
50
|
-
- 必须先导入 `ng-zorro-antd.less`,再导入库的样式文件
|
|
51
|
-
- 库的 `theme.less` 只包含变量定义和样式覆盖,不包含完整的 ng-zorro-antd 样式
|
|
52
|
-
|
|
53
|
-
## Further help
|
|
54
|
-
|
|
55
|
-
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
|
|
1
|
+
# ProTable
|
|
2
|
+
|
|
3
|
+
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 10.2.5.
|
|
4
|
+
|
|
5
|
+
## Code scaffolding
|
|
6
|
+
|
|
7
|
+
Run `ng generate component component-name --project pro-table` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project pro-table`.
|
|
8
|
+
> Note: Don't forget to add `--project pro-table` or else it will be added to the default project in your `angular.json` file.
|
|
9
|
+
|
|
10
|
+
## Build
|
|
11
|
+
|
|
12
|
+
Run `ng build pro-table` to build the project. The build artifacts will be stored in the `dist/` directory.
|
|
13
|
+
|
|
14
|
+
## Publishing
|
|
15
|
+
|
|
16
|
+
After building your library with `ng build pro-table`, go to the dist folder `cd dist/pro-table` and run `npm publish`.
|
|
17
|
+
|
|
18
|
+
## Running unit tests
|
|
19
|
+
|
|
20
|
+
Run `ng test pro-table` to execute the unit tests via [Karma](https://karma-runner.github.io).
|
|
21
|
+
|
|
22
|
+
## 样式导入
|
|
23
|
+
|
|
24
|
+
在使用此库时,需要正确导入样式文件:
|
|
25
|
+
|
|
26
|
+
### 1. 在 `angular.json` 中配置样式(推荐)
|
|
27
|
+
|
|
28
|
+
```json
|
|
29
|
+
{
|
|
30
|
+
"styles": [
|
|
31
|
+
"node_modules/ng-zorro-antd/ng-zorro-antd.less",
|
|
32
|
+
"node_modules/@yibozhang/pro-table/src/lib/styles/theme.less",
|
|
33
|
+
"node_modules/@yibozhang/pro-table/src/lib/styles/custom-antd.less",
|
|
34
|
+
"node_modules/@yibozhang/pro-table/src/lib/styles/margin.css"
|
|
35
|
+
]
|
|
36
|
+
}
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
### 2. 或在组件样式中导入
|
|
40
|
+
|
|
41
|
+
```less
|
|
42
|
+
// styles.less
|
|
43
|
+
@import "~ng-zorro-antd/ng-zorro-antd.less";
|
|
44
|
+
@import "~@yibozhang/pro-table/src/lib/styles/theme.less";
|
|
45
|
+
@import "~@yibozhang/pro-table/src/lib/styles/custom-antd.less";
|
|
46
|
+
@import "~@yibozhang/pro-table/src/lib/styles/margin.css";
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
**重要提示**:
|
|
50
|
+
- 必须先导入 `ng-zorro-antd.less`,再导入库的样式文件
|
|
51
|
+
- 库的 `theme.less` 只包含变量定义和样式覆盖,不包含完整的 ng-zorro-antd 样式
|
|
52
|
+
|
|
53
|
+
## Further help
|
|
54
|
+
|
|
55
|
+
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
|