@angular-generic-table/core 5.0.0-alpha.1 → 5.0.0-rc.10
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 +13 -134
- package/angular-generic-table-core.d.ts +2 -19
- package/esm2020/angular-generic-table-core.mjs +5 -0
- package/esm2020/lib/core.component.mjs +122 -0
- package/esm2020/lib/core.module.mjs +23 -0
- package/esm2020/lib/core.service.mjs +14 -0
- package/esm2020/lib/enums/order.enum.mjs +6 -0
- package/esm2020/lib/models/table-column.interface.mjs +2 -0
- package/esm2020/lib/models/table-config.interface.mjs +2 -0
- package/esm2020/lib/models/table-info.interface.mjs +2 -0
- package/esm2020/lib/models/table-meta.interface.mjs +2 -0
- package/esm2020/lib/models/table-row.interface.mjs +2 -0
- package/esm2020/lib/models/table-sort.interface.mjs +2 -0
- package/esm2020/lib/pagination/pagination.component.mjs +63 -0
- package/esm2020/lib/pagination/pagination.module.mjs +18 -0
- package/esm2020/lib/pipes/capital-case.pipe.mjs +17 -0
- package/esm2020/lib/pipes/dash-case.pipe.mjs +17 -0
- package/esm2020/lib/pipes/dynamic.pipe.mjs +25 -0
- package/esm2020/lib/pipes/highlight.pipe.mjs +48 -0
- package/esm2020/lib/pipes/sort-class.pipe.mjs +16 -0
- package/esm2020/lib/utilities/utilities.mjs +39 -0
- package/esm2020/public-api.mjs +15 -0
- package/fesm2015/angular-generic-table-core.mjs +384 -0
- package/fesm2015/angular-generic-table-core.mjs.map +1 -0
- package/fesm2020/angular-generic-table-core.mjs +381 -0
- package/fesm2020/angular-generic-table-core.mjs.map +1 -0
- package/lib/core.component.d.ts +33 -0
- package/lib/core.module.d.ts +12 -1
- package/lib/core.service.d.ts +6 -0
- package/lib/enums/order.enum.d.ts +4 -0
- package/lib/models/table-column.interface.d.ts +15 -0
- package/lib/models/table-config.interface.d.ts +15 -0
- package/lib/models/table-info.interface.d.ts +4 -0
- package/lib/models/table-meta.interface.d.ts +8 -0
- package/lib/models/table-row.interface.d.ts +4 -0
- package/lib/models/table-sort.interface.d.ts +5 -0
- package/lib/pagination/pagination.component.d.ts +14 -0
- package/lib/pagination/pagination.module.d.ts +8 -0
- package/lib/pipes/capital-case.pipe.d.ts +7 -0
- package/lib/pipes/dash-case.pipe.d.ts +4 -1
- package/lib/pipes/dynamic.pipe.d.ts +9 -0
- package/lib/pipes/highlight.pipe.d.ts +7 -0
- package/lib/pipes/sort-class.pipe.d.ts +11 -0
- package/lib/utilities/utilities.d.ts +6 -0
- package/package.json +26 -24
- package/public-api.d.ts +11 -0
- package/scss/index.scss +102 -0
- package/CHANGELOG.md +0 -461
- package/LICENSE.md +0 -201
- package/angular-generic-table-core.metadata.json +0 -1
- package/bundles/angular-generic-table-core.umd.js +0 -3675
- package/bundles/angular-generic-table-core.umd.js.map +0 -1
- package/bundles/angular-generic-table-core.umd.min.js +0 -2
- package/bundles/angular-generic-table-core.umd.min.js.map +0 -1
- package/css/generic-table.css +0 -168
- package/css/generic-table.css.map +0 -9
- package/css/generic-table.min.css +0 -2
- package/css/generic-table.min.css.map +0 -1
- package/esm2015/angular-generic-table-core.js +0 -28
- package/esm2015/angular-generic-table-core.metadata.json +0 -1
- package/esm2015/lib/components/generic-table/generic-table.component.js +0 -1738
- package/esm2015/lib/components/generic-table/generic-table.component.metadata.json +0 -1
- package/esm2015/lib/components/gt-checkbox/gt-checkbox.component.js +0 -88
- package/esm2015/lib/components/gt-checkbox/gt-checkbox.component.metadata.json +0 -1
- package/esm2015/lib/components/gt-custom-component-factory/gt-custom-component-factory.component.js +0 -112
- package/esm2015/lib/components/gt-custom-component-factory/gt-custom-component-factory.component.metadata.json +0 -1
- package/esm2015/lib/components/gt-drilldown/gt-drilldown.component.js +0 -53
- package/esm2015/lib/components/gt-drilldown/gt-drilldown.component.metadata.json +0 -1
- package/esm2015/lib/components/gt-dropdown/gt-dropdown.component.js +0 -176
- package/esm2015/lib/components/gt-dropdown/gt-dropdown.component.metadata.json +0 -1
- package/esm2015/lib/components/gt-expanding-row/gt-expanding-row.component.js +0 -147
- package/esm2015/lib/components/gt-expanding-row/gt-expanding-row.component.metadata.json +0 -1
- package/esm2015/lib/components/gt-pagination/gt-pagination.component.js +0 -141
- package/esm2015/lib/components/gt-pagination/gt-pagination.component.metadata.json +0 -1
- package/esm2015/lib/components/gt-table-info/gt-table-info.component.js +0 -103
- package/esm2015/lib/components/gt-table-info/gt-table-info.component.metadata.json +0 -1
- package/esm2015/lib/core.module.js +0 -96
- package/esm2015/lib/core.module.metadata.json +0 -1
- package/esm2015/lib/directives/component-anchor.directive.js +0 -65
- package/esm2015/lib/directives/component-anchor.directive.metadata.json +0 -1
- package/esm2015/lib/directives/gt-column-width.directive.js +0 -73
- package/esm2015/lib/directives/gt-column-width.directive.metadata.json +0 -1
- package/esm2015/lib/interfaces/gt-config-field.js +0 -96
- package/esm2015/lib/interfaces/gt-config-field.metadata.json +0 -1
- package/esm2015/lib/interfaces/gt-config-setting.js +0 -41
- package/esm2015/lib/interfaces/gt-config-setting.metadata.json +0 -1
- package/esm2015/lib/interfaces/gt-config-total.js +0 -20
- package/esm2015/lib/interfaces/gt-config-total.metadata.json +0 -1
- package/esm2015/lib/interfaces/gt-config.js +0 -24
- package/esm2015/lib/interfaces/gt-config.metadata.json +0 -1
- package/esm2015/lib/interfaces/gt-event.js +0 -16
- package/esm2015/lib/interfaces/gt-event.metadata.json +0 -1
- package/esm2015/lib/interfaces/gt-information.js +0 -38
- package/esm2015/lib/interfaces/gt-information.metadata.json +0 -1
- package/esm2015/lib/interfaces/gt-options.js +0 -55
- package/esm2015/lib/interfaces/gt-options.metadata.json +0 -1
- package/esm2015/lib/interfaces/gt-render-field.js +0 -29
- package/esm2015/lib/interfaces/gt-render-field.metadata.json +0 -1
- package/esm2015/lib/interfaces/gt-row-meta.js +0 -18
- package/esm2015/lib/interfaces/gt-row-meta.metadata.json +0 -1
- package/esm2015/lib/interfaces/gt-row.js +0 -20
- package/esm2015/lib/interfaces/gt-row.metadata.json +0 -1
- package/esm2015/lib/interfaces/gt-texts.js +0 -36
- package/esm2015/lib/interfaces/gt-texts.metadata.json +0 -1
- package/esm2015/lib/pipes/dash-case.pipe.js +0 -30
- package/esm2015/lib/pipes/dash-case.pipe.metadata.json +0 -1
- package/esm2015/lib/pipes/gt-chunk.pipe.js +0 -52
- package/esm2015/lib/pipes/gt-chunk.pipe.metadata.json +0 -1
- package/esm2015/lib/pipes/gt-column-class.pipe.js +0 -51
- package/esm2015/lib/pipes/gt-column-class.pipe.metadata.json +0 -1
- package/esm2015/lib/pipes/gt-filter.pipe.js +0 -60
- package/esm2015/lib/pipes/gt-filter.pipe.metadata.json +0 -1
- package/esm2015/lib/pipes/gt-highlight.pipe.js +0 -72
- package/esm2015/lib/pipes/gt-highlight.pipe.metadata.json +0 -1
- package/esm2015/lib/pipes/gt-is-editable.pipe.js +0 -37
- package/esm2015/lib/pipes/gt-is-editable.pipe.metadata.json +0 -1
- package/esm2015/lib/pipes/gt-is-observable.pipe.js +0 -31
- package/esm2015/lib/pipes/gt-is-observable.pipe.metadata.json +0 -1
- package/esm2015/lib/pipes/gt-meta.pipe.js +0 -54
- package/esm2015/lib/pipes/gt-meta.pipe.metadata.json +0 -1
- package/esm2015/lib/pipes/gt-order-by.pipe.js +0 -202
- package/esm2015/lib/pipes/gt-order-by.pipe.metadata.json +0 -1
- package/esm2015/lib/pipes/gt-property.pipe.js +0 -52
- package/esm2015/lib/pipes/gt-property.pipe.metadata.json +0 -1
- package/esm2015/lib/pipes/gt-render.pipe.js +0 -173
- package/esm2015/lib/pipes/gt-render.pipe.metadata.json +0 -1
- package/esm2015/lib/pipes/gt-row-class.pipe.js +0 -66
- package/esm2015/lib/pipes/gt-row-class.pipe.metadata.json +0 -1
- package/esm2015/lib/pipes/gt-search.pipe.js +0 -114
- package/esm2015/lib/pipes/gt-search.pipe.metadata.json +0 -1
- package/esm2015/lib/pipes/gt-totals-position.pipe.js +0 -35
- package/esm2015/lib/pipes/gt-totals-position.pipe.metadata.json +0 -1
- package/esm2015/lib/pipes/gt-totals.pipe.js +0 -46
- package/esm2015/lib/pipes/gt-totals.pipe.metadata.json +0 -1
- package/esm2015/lib/pipes/gt-visible.pipe.js +0 -71
- package/esm2015/lib/pipes/gt-visible.pipe.metadata.json +0 -1
- package/esm2015/public_api.js +0 -18
- package/esm2015/public_api.metadata.json +0 -1
- package/esm5/angular-generic-table-core.js +0 -28
- package/esm5/angular-generic-table-core.metadata.json +0 -1
- package/esm5/lib/components/generic-table/generic-table.component.js +0 -1813
- package/esm5/lib/components/generic-table/generic-table.component.metadata.json +0 -1
- package/esm5/lib/components/gt-checkbox/gt-checkbox.component.js +0 -100
- package/esm5/lib/components/gt-checkbox/gt-checkbox.component.metadata.json +0 -1
- package/esm5/lib/components/gt-custom-component-factory/gt-custom-component-factory.component.js +0 -136
- package/esm5/lib/components/gt-custom-component-factory/gt-custom-component-factory.component.metadata.json +0 -1
- package/esm5/lib/components/gt-drilldown/gt-drilldown.component.js +0 -41
- package/esm5/lib/components/gt-drilldown/gt-drilldown.component.metadata.json +0 -1
- package/esm5/lib/components/gt-dropdown/gt-dropdown.component.js +0 -179
- package/esm5/lib/components/gt-dropdown/gt-dropdown.component.metadata.json +0 -1
- package/esm5/lib/components/gt-expanding-row/gt-expanding-row.component.js +0 -173
- package/esm5/lib/components/gt-expanding-row/gt-expanding-row.component.metadata.json +0 -1
- package/esm5/lib/components/gt-pagination/gt-pagination.component.js +0 -149
- package/esm5/lib/components/gt-pagination/gt-pagination.component.metadata.json +0 -1
- package/esm5/lib/components/gt-table-info/gt-table-info.component.js +0 -111
- package/esm5/lib/components/gt-table-info/gt-table-info.component.metadata.json +0 -1
- package/esm5/lib/core.module.js +0 -100
- package/esm5/lib/core.module.metadata.json +0 -1
- package/esm5/lib/directives/component-anchor.directive.js +0 -66
- package/esm5/lib/directives/component-anchor.directive.metadata.json +0 -1
- package/esm5/lib/directives/gt-column-width.directive.js +0 -81
- package/esm5/lib/directives/gt-column-width.directive.metadata.json +0 -1
- package/esm5/lib/interfaces/gt-config-field.js +0 -96
- package/esm5/lib/interfaces/gt-config-field.metadata.json +0 -1
- package/esm5/lib/interfaces/gt-config-setting.js +0 -41
- package/esm5/lib/interfaces/gt-config-setting.metadata.json +0 -1
- package/esm5/lib/interfaces/gt-config-total.js +0 -20
- package/esm5/lib/interfaces/gt-config-total.metadata.json +0 -1
- package/esm5/lib/interfaces/gt-config.js +0 -24
- package/esm5/lib/interfaces/gt-config.metadata.json +0 -1
- package/esm5/lib/interfaces/gt-event.js +0 -16
- package/esm5/lib/interfaces/gt-event.metadata.json +0 -1
- package/esm5/lib/interfaces/gt-information.js +0 -38
- package/esm5/lib/interfaces/gt-information.metadata.json +0 -1
- package/esm5/lib/interfaces/gt-options.js +0 -55
- package/esm5/lib/interfaces/gt-options.metadata.json +0 -1
- package/esm5/lib/interfaces/gt-render-field.js +0 -29
- package/esm5/lib/interfaces/gt-render-field.metadata.json +0 -1
- package/esm5/lib/interfaces/gt-row-meta.js +0 -18
- package/esm5/lib/interfaces/gt-row-meta.metadata.json +0 -1
- package/esm5/lib/interfaces/gt-row.js +0 -20
- package/esm5/lib/interfaces/gt-row.metadata.json +0 -1
- package/esm5/lib/interfaces/gt-texts.js +0 -36
- package/esm5/lib/interfaces/gt-texts.metadata.json +0 -1
- package/esm5/lib/pipes/dash-case.pipe.js +0 -38
- package/esm5/lib/pipes/dash-case.pipe.metadata.json +0 -1
- package/esm5/lib/pipes/gt-chunk.pipe.js +0 -70
- package/esm5/lib/pipes/gt-chunk.pipe.metadata.json +0 -1
- package/esm5/lib/pipes/gt-column-class.pipe.js +0 -61
- package/esm5/lib/pipes/gt-column-class.pipe.metadata.json +0 -1
- package/esm5/lib/pipes/gt-filter.pipe.js +0 -73
- package/esm5/lib/pipes/gt-filter.pipe.metadata.json +0 -1
- package/esm5/lib/pipes/gt-highlight.pipe.js +0 -77
- package/esm5/lib/pipes/gt-highlight.pipe.metadata.json +0 -1
- package/esm5/lib/pipes/gt-is-editable.pipe.js +0 -47
- package/esm5/lib/pipes/gt-is-editable.pipe.metadata.json +0 -1
- package/esm5/lib/pipes/gt-is-observable.pipe.js +0 -39
- package/esm5/lib/pipes/gt-is-observable.pipe.metadata.json +0 -1
- package/esm5/lib/pipes/gt-meta.pipe.js +0 -65
- package/esm5/lib/pipes/gt-meta.pipe.metadata.json +0 -1
- package/esm5/lib/pipes/gt-order-by.pipe.js +0 -223
- package/esm5/lib/pipes/gt-order-by.pipe.metadata.json +0 -1
- package/esm5/lib/pipes/gt-property.pipe.js +0 -63
- package/esm5/lib/pipes/gt-property.pipe.metadata.json +0 -1
- package/esm5/lib/pipes/gt-render.pipe.js +0 -182
- package/esm5/lib/pipes/gt-render.pipe.metadata.json +0 -1
- package/esm5/lib/pipes/gt-row-class.pipe.js +0 -75
- package/esm5/lib/pipes/gt-row-class.pipe.metadata.json +0 -1
- package/esm5/lib/pipes/gt-search.pipe.js +0 -125
- package/esm5/lib/pipes/gt-search.pipe.metadata.json +0 -1
- package/esm5/lib/pipes/gt-totals-position.pipe.js +0 -45
- package/esm5/lib/pipes/gt-totals-position.pipe.metadata.json +0 -1
- package/esm5/lib/pipes/gt-totals.pipe.js +0 -57
- package/esm5/lib/pipes/gt-totals.pipe.metadata.json +0 -1
- package/esm5/lib/pipes/gt-visible.pipe.js +0 -79
- package/esm5/lib/pipes/gt-visible.pipe.metadata.json +0 -1
- package/esm5/public_api.js +0 -18
- package/esm5/public_api.metadata.json +0 -1
- package/fesm2015/angular-generic-table-core.js +0 -3285
- package/fesm2015/angular-generic-table-core.js.map +0 -1
- package/fesm5/angular-generic-table-core.js +0 -3574
- package/fesm5/angular-generic-table-core.js.map +0 -1
- package/lib/components/generic-table/generic-table.component.d.ts +0 -282
- package/lib/components/gt-checkbox/gt-checkbox.component.d.ts +0 -12
- package/lib/components/gt-custom-component-factory/gt-custom-component-factory.component.d.ts +0 -27
- package/lib/components/gt-drilldown/gt-drilldown.component.d.ts +0 -6
- package/lib/components/gt-dropdown/gt-dropdown.component.d.ts +0 -21
- package/lib/components/gt-expanding-row/gt-expanding-row.component.d.ts +0 -34
- package/lib/components/gt-pagination/gt-pagination.component.d.ts +0 -11
- package/lib/components/gt-table-info/gt-table-info.component.d.ts +0 -15
- package/lib/directives/component-anchor.directive.d.ts +0 -10
- package/lib/directives/gt-column-width.directive.d.ts +0 -11
- package/lib/interfaces/gt-config-field.d.ts +0 -87
- package/lib/interfaces/gt-config-setting.d.ts +0 -21
- package/lib/interfaces/gt-config-total.d.ts +0 -8
- package/lib/interfaces/gt-config.d.ts +0 -12
- package/lib/interfaces/gt-event.d.ts +0 -4
- package/lib/interfaces/gt-information.d.ts +0 -15
- package/lib/interfaces/gt-options.d.ts +0 -27
- package/lib/interfaces/gt-render-field.d.ts +0 -19
- package/lib/interfaces/gt-row-meta.d.ts +0 -5
- package/lib/interfaces/gt-row.d.ts +0 -6
- package/lib/interfaces/gt-texts.d.ts +0 -14
- package/lib/pipes/gt-chunk.pipe.d.ts +0 -8
- package/lib/pipes/gt-column-class.pipe.d.ts +0 -6
- package/lib/pipes/gt-filter.pipe.d.ts +0 -5
- package/lib/pipes/gt-highlight.pipe.d.ts +0 -7
- package/lib/pipes/gt-is-editable.pipe.d.ts +0 -4
- package/lib/pipes/gt-is-observable.pipe.d.ts +0 -4
- package/lib/pipes/gt-meta.pipe.d.ts +0 -5
- package/lib/pipes/gt-order-by.pipe.d.ts +0 -11
- package/lib/pipes/gt-property.pipe.d.ts +0 -7
- package/lib/pipes/gt-render.pipe.d.ts +0 -19
- package/lib/pipes/gt-row-class.pipe.d.ts +0 -5
- package/lib/pipes/gt-search.pipe.d.ts +0 -10
- package/lib/pipes/gt-totals-position.pipe.d.ts +0 -5
- package/lib/pipes/gt-totals.pipe.d.ts +0 -4
- package/lib/pipes/gt-visible.pipe.d.ts +0 -9
- package/public_api.d.ts +0 -18
- package/scss/generic-table.scss +0 -246
package/CHANGELOG.md
DELETED
|
@@ -1,461 +0,0 @@
|
|
|
1
|
-
## Release History
|
|
2
|
-
|
|
3
|
-
## [Unreleased]
|
|
4
|
-
|
|
5
|
-
## [4.17.1] - 2018-09-07
|
|
6
|
-
|
|
7
|
-
### Fixed
|
|
8
|
-
|
|
9
|
-
* Event handling for inline edit #269
|
|
10
|
-
|
|
11
|
-
## [4.17.0] - 2018-07-15
|
|
12
|
-
|
|
13
|
-
### Added
|
|
14
|
-
|
|
15
|
-
* Option for preventing mutation of original data input #263
|
|
16
|
-
|
|
17
|
-
## [4.16.0] - 2018-06-06
|
|
18
|
-
|
|
19
|
-
### Added
|
|
20
|
-
|
|
21
|
-
* Option for sorting behavior #250
|
|
22
|
-
|
|
23
|
-
### Fixed
|
|
24
|
-
|
|
25
|
-
* Select/deselect all rows when lazy loading data #251
|
|
26
|
-
* Setting sortEnabled to `false` now properly disables sorting as expected
|
|
27
|
-
* Prevent sort style from changing column width
|
|
28
|
-
|
|
29
|
-
## [4.15.0] - 2018-05-28
|
|
30
|
-
|
|
31
|
-
### Added
|
|
32
|
-
|
|
33
|
-
* Ability to use custom row id instead of auto generated one #245
|
|
34
|
-
* Row property for initial order `gtInitialRowIndex`
|
|
35
|
-
|
|
36
|
-
### Fixed
|
|
37
|
-
|
|
38
|
-
* Select/deselect all rows when lazy loading data #244
|
|
39
|
-
* Min width for checkbox component
|
|
40
|
-
|
|
41
|
-
## [4.14.0] - 2018-04-30
|
|
42
|
-
|
|
43
|
-
This release might not include a lot of new features or fixes, but under the hood many of the dependencies have been bumped/removed and a lot things related to packing, linting and code styles have been refactored as a step towards making it easier to contribute (thanks for helping out @mklein994).
|
|
44
|
-
|
|
45
|
-
### Added
|
|
46
|
-
|
|
47
|
-
* Support for row click events from drilldown component #218
|
|
48
|
-
* Support for setting initial state for expanding row #217
|
|
49
|
-
|
|
50
|
-
### Fixed
|
|
51
|
-
|
|
52
|
-
* Preserve original order for sort, sort will now go from `ascending` to `descending` and then back to `enabled` instead of just switching between ascending/descending #230
|
|
53
|
-
* Checkboxes now uses new markup for bootstrap
|
|
54
|
-
* Library is now packaged using [ng-packagr](https://github.com/dherges/ng-packagr) 3.0.0-rc.2
|
|
55
|
-
|
|
56
|
-
# [4.13.0] - 2018-04-03
|
|
57
|
-
|
|
58
|
-
### Added
|
|
59
|
-
|
|
60
|
-
* Support for conditional inline edit #122
|
|
61
|
-
* Support for toggling inline edit and using observable for options #141
|
|
62
|
-
|
|
63
|
-
### Fixed
|
|
64
|
-
|
|
65
|
-
* Fixed table info when lazy loading and totals are enabled #203
|
|
66
|
-
* Table sort order #206
|
|
67
|
-
* Use ng-packagr for bundling #207
|
|
68
|
-
|
|
69
|
-
# [4.12.0] - 2018-02-21
|
|
70
|
-
|
|
71
|
-
### Added
|
|
72
|
-
|
|
73
|
-
* Support for locking settings #181
|
|
74
|
-
* Highlight pipe for use in custom components #196
|
|
75
|
-
* Support for row click #177, #186
|
|
76
|
-
|
|
77
|
-
### Fixed
|
|
78
|
-
|
|
79
|
-
* Page change event only emitted when page has actually changed #200
|
|
80
|
-
|
|
81
|
-
# [4.11.1] - 2018-01-19
|
|
82
|
-
|
|
83
|
-
### Fixed
|
|
84
|
-
|
|
85
|
-
* Condition check in gt render pipe for 0, null, '' and false values #178
|
|
86
|
-
|
|
87
|
-
# [4.11.0] - 2018-01-16
|
|
88
|
-
|
|
89
|
-
### Added
|
|
90
|
-
|
|
91
|
-
* Events for `gt-column-order-change` and `gt-column-visibility-change` (emitted by gt-column-settings component, see wiki and [events](https://github.com/hjalmers/angular-generic-table/wiki/Events) for more info) (issue #173)
|
|
92
|
-
|
|
93
|
-
### Fixed
|
|
94
|
-
|
|
95
|
-
* Expand/collapse all rows function (issue #175)
|
|
96
|
-
|
|
97
|
-
# [4.10.0] - 2018-01-09
|
|
98
|
-
|
|
99
|
-
### Added
|
|
100
|
-
|
|
101
|
-
* Visible rows are now emitted on gt-info event (issue #171)
|
|
102
|
-
* Add and delete method (issue #169)
|
|
103
|
-
|
|
104
|
-
# [4.9.0] - 2017-12-11
|
|
105
|
-
|
|
106
|
-
### Added
|
|
107
|
-
|
|
108
|
-
* Support for setting initial state for selected rows (issue #112)
|
|
109
|
-
* Support for setting initial state for expanded/open rows (issue #112)
|
|
110
|
-
* Support for custom component in table header (issue #158)
|
|
111
|
-
* Checkbox row selection (issue #96)
|
|
112
|
-
|
|
113
|
-
### Fixed
|
|
114
|
-
|
|
115
|
-
* rxjs import reference (issue #165)
|
|
116
|
-
|
|
117
|
-
# [4.8.0] - 2017-11-23
|
|
118
|
-
|
|
119
|
-
### Added
|
|
120
|
-
|
|
121
|
-
* Support for input type for inline edit use `password`, `number`, `email` or `true` for type text (issue #159).
|
|
122
|
-
|
|
123
|
-
# [4.7.2] - 2017-11-18
|
|
124
|
-
|
|
125
|
-
### Fixed
|
|
126
|
-
|
|
127
|
-
* Placement of dropdown for inline edit (issue #153).
|
|
128
|
-
* Support for BOM (issue #147).
|
|
129
|
-
|
|
130
|
-
# [4.7.1] - 2017-11-13
|
|
131
|
-
|
|
132
|
-
### Fixed
|
|
133
|
-
|
|
134
|
-
* Fixed #149 for angular 5 support
|
|
135
|
-
|
|
136
|
-
# [4.7.0] - 2017-10-10
|
|
137
|
-
|
|
138
|
-
### Added
|
|
139
|
-
|
|
140
|
-
* Drilldown component, see [example](https://hjalmers.github.io/angular-generic-table/drilldown), (issue #137).
|
|
141
|
-
* Support for displaying all rows, (issue #139).
|
|
142
|
-
|
|
143
|
-
### Deprecated
|
|
144
|
-
|
|
145
|
-
* Input `GtRowComponent` has been deprecated and support will be removed in a future release, see issue #34 for more info.
|
|
146
|
-
|
|
147
|
-
### Improved
|
|
148
|
-
|
|
149
|
-
* Minor improvement for row rendering
|
|
150
|
-
|
|
151
|
-
# [4.6.0] - 2017-08-29
|
|
152
|
-
|
|
153
|
-
### Added
|
|
154
|
-
|
|
155
|
-
* Support for conditional row classes, see [example](https://hjalmers.github.io/angular-generic-table/styling) (issue #120).
|
|
156
|
-
* Support for conditional column classes, see [example](https://hjalmers.github.io/angular-generic-table/styling) (issue #118).
|
|
157
|
-
|
|
158
|
-
### Deprecated
|
|
159
|
-
|
|
160
|
-
* Field setting `classNames` have been deprecated in favor for `columnClass` and will be removed in a future release.
|
|
161
|
-
|
|
162
|
-
# [4.5.0] - 2017-08-25
|
|
163
|
-
|
|
164
|
-
### Added
|
|
165
|
-
|
|
166
|
-
* Method for checking if a row is selected, see [methods](https://github.com/hjalmers/angular-generic-table/wiki/Methods) in wiki for more info.
|
|
167
|
-
* Method for removing a row, see [methods](https://github.com/hjalmers/angular-generic-table/wiki/Methods) in wiki for more info.
|
|
168
|
-
* Methods for accepting (saving) and rejecting (canceling) inline edits as well has checking if table has pending inline edits, see [methods](https://github.com/hjalmers/angular-generic-table/wiki/Methods) in wiki for more info.
|
|
169
|
-
* Complex example with custom components for adding, removing and inline editing of rows (including data validation), see example [here](https://hjalmers.github.io/angular-generic-table/add-remove-edit).
|
|
170
|
-
|
|
171
|
-
### Fixed
|
|
172
|
-
|
|
173
|
-
* Inline edit listens to global keydown events ie. it's now possible update multiple rows with the enter key without the input needing to have focus (see issue #115).
|
|
174
|
-
* Improved row id generation
|
|
175
|
-
* If `gtRowComponent` is passed to the table `row-expandable` class will be added to rows (see issue #119).
|
|
176
|
-
* Support for Bootstrap 4 beta (see issue #117).
|
|
177
|
-
|
|
178
|
-
# [4.4.1] - 2017-08-01
|
|
179
|
-
|
|
180
|
-
### Fixed
|
|
181
|
-
|
|
182
|
-
* Sorting of boolean values (see issue #106).
|
|
183
|
-
* Added check for undefined fields (see issue #107).
|
|
184
|
-
* Check sorting when settings change (see issue #108).
|
|
185
|
-
* Safeguard against undefined values on input properties (see issue #109).
|
|
186
|
-
|
|
187
|
-
# [4.4.0] - 2017-07-20
|
|
188
|
-
|
|
189
|
-
### Added
|
|
190
|
-
|
|
191
|
-
* Support for column totals (see issue #100).
|
|
192
|
-
* Mouse event added to column click handler (see issue #105).
|
|
193
|
-
|
|
194
|
-
### Fixed
|
|
195
|
-
|
|
196
|
-
* Position of dropdown when using inline editing with arrays, tether added as a dependency (see issue #104).
|
|
197
|
-
* Error with column settings causing visible columns to need an extra click when toggling column visibility (see issue #101).
|
|
198
|
-
* Small style improvement for inline editing
|
|
199
|
-
|
|
200
|
-
# [4.3.1] - 2017-06-26
|
|
201
|
-
|
|
202
|
-
### Fixed
|
|
203
|
-
|
|
204
|
-
* Typings reference for published npm package
|
|
205
|
-
|
|
206
|
-
# [4.3.0] - 2017-06-26
|
|
207
|
-
|
|
208
|
-
### Added
|
|
209
|
-
|
|
210
|
-
* Style for vertically aligning buttons inside table cell, apply with field setting `classNames:'gt-button'`.
|
|
211
|
-
|
|
212
|
-
### Fixed
|
|
213
|
-
|
|
214
|
-
* Loading message displayed instead of no data (see issue #95).
|
|
215
|
-
* `redraw()` now checks sorting and updates table if sorting has changed since last redraw (see issue #98 for example).
|
|
216
|
-
|
|
217
|
-
# [4.2.0] - 2017-06-01
|
|
218
|
-
|
|
219
|
-
### Added
|
|
220
|
-
|
|
221
|
-
* Support for simple inline editing (see issue #52).
|
|
222
|
-
|
|
223
|
-
### Fixed
|
|
224
|
-
|
|
225
|
-
* CSV escaping (see issue #89).
|
|
226
|
-
* Confusing paging behaviour (see issue #87).
|
|
227
|
-
|
|
228
|
-
# [4.1.1] - 2017-04-21
|
|
229
|
-
|
|
230
|
-
### Fixed
|
|
231
|
-
|
|
232
|
-
* AOT error for `ColumnSettingsComponent` (see issue #80).
|
|
233
|
-
|
|
234
|
-
# [4.1.0] - 2017-04-21
|
|
235
|
-
|
|
236
|
-
### Breaking changes
|
|
237
|
-
|
|
238
|
-
* Package has changed name from `angular-generic-table` to `@angular-generic-table/core` so all imports and references have to be updated accordingly, not really a breaking change but still something you need to consider if you're currently on version 4.0.1 or below.
|
|
239
|
-
|
|
240
|
-
### Added
|
|
241
|
-
|
|
242
|
-
* Column settings component for toggling column visibility and column order, see example [here](https://hjalmers.github.io/angular-generic-table/column-settings-component).
|
|
243
|
-
* Support for single row selection/expand, restrict to single selection/expand by setting `gtOtpions.rowSelectionAllowMultiple` and/or `gtOtpions.rowExpandAllowMultiple` to `false`, default value is true (see issue #72).
|
|
244
|
-
* Option for default row length, use `gtOption.numberOfRows` to override default value (see issue #77).
|
|
245
|
-
* Support for async loading of config objects i.e. settings and fields.
|
|
246
|
-
|
|
247
|
-
### Fixed
|
|
248
|
-
|
|
249
|
-
* Custom classes not applied when table had no visible columns (see issue #73).
|
|
250
|
-
* Fix for pagination component (see issue #46).
|
|
251
|
-
* Fix for sorting, sorting `enable` will be applied by default if setting is omitted (see issue #71). Column header will no longer emit click event if sorting is disabled.
|
|
252
|
-
* Fix for sort order when lazy loading data (see issue #50).
|
|
253
|
-
* Column order will be set to property order if undefined.
|
|
254
|
-
* Accept null values when using async pipe (see issue #76).
|
|
255
|
-
|
|
256
|
-
# [4.0.1] - 2017-04-06
|
|
257
|
-
|
|
258
|
-
### Fixed
|
|
259
|
-
|
|
260
|
-
* Fix for pagination component (see issue #67, #68, #69), pagination controls will now also be disabled when table is fetching data.
|
|
261
|
-
|
|
262
|
-
# [4.0.0] - 2017-03-29
|
|
263
|
-
|
|
264
|
-
### Breaking changes
|
|
265
|
-
|
|
266
|
-
* Made some changes for angular version 4.0.0 eg. changed from `template` to `ng-template` which means that generic table now requires angular version 4+ and therefore it's added as a peer dependency (see issue #63).
|
|
267
|
-
|
|
268
|
-
### Fixed
|
|
269
|
-
|
|
270
|
-
* Fix for collapsing rows from row component (see issue #65)
|
|
271
|
-
* Fix for AOT (see issue #64)
|
|
272
|
-
|
|
273
|
-
# [2.0.2] - 2017-03-27
|
|
274
|
-
|
|
275
|
-
### Fixed
|
|
276
|
-
|
|
277
|
-
* Removed faulty import (see issue #60)
|
|
278
|
-
|
|
279
|
-
# [2.0.1] - 2017-03-24
|
|
280
|
-
|
|
281
|
-
### Fixed
|
|
282
|
-
|
|
283
|
-
* Removed deprecated warning
|
|
284
|
-
|
|
285
|
-
# [2.0.0] - 2017-03-23
|
|
286
|
-
|
|
287
|
-
### Added
|
|
288
|
-
|
|
289
|
-
* Support for selecting rows, enable by setting `gtOtpions.rowSelection` to `true` (issue #53, issue #59)
|
|
290
|
-
* Support for selecting/deselecting and expanding/collapsing all rows (issue #58)
|
|
291
|
-
* Support for redrawing table from custom column component, useful when custom column component alters other cells in row (issue #57)
|
|
292
|
-
|
|
293
|
-
### Improvement
|
|
294
|
-
|
|
295
|
-
* Lazy loading now uses default template (easier to keep code changes in sync)
|
|
296
|
-
|
|
297
|
-
### Breaking changes
|
|
298
|
-
|
|
299
|
-
* Project has changed name from `angular2-generic-table` to `angular-generic-table` to comply with angular guidelines
|
|
300
|
-
* `isOpen` property has been removed from row object, instead access isOpen state on row using `metaInfo[row.$$gtRowId]?.isOpen` it's now also possible to see if a row is selected using `metaInfo[row.$$gtRowId]?.isSelected`
|
|
301
|
-
|
|
302
|
-
# [1.1.1] - 2017-03-22
|
|
303
|
-
|
|
304
|
-
### Fixed
|
|
305
|
-
|
|
306
|
-
* Enable custom column components for the async case (issue #45)
|
|
307
|
-
* Refresh `gtInfo` component if `gtTexts` are changed
|
|
308
|
-
* The keys declared by `gtTexts` interface are now optional (useful when you want to change a single text key)
|
|
309
|
-
|
|
310
|
-
### Added
|
|
311
|
-
|
|
312
|
-
* Example using [ngx-translate](https://github.com/ngx-translate/core) for localization
|
|
313
|
-
* Support for passing translations to pagination component
|
|
314
|
-
|
|
315
|
-
# [1.1.0] - 2017-01-20
|
|
316
|
-
|
|
317
|
-
### Fixed
|
|
318
|
-
|
|
319
|
-
* Upgrade angular-cli and build with metadata version 3 (issue #43)
|
|
320
|
-
* Changed class name for expanded row from `expanded-row` to `row-expanded` to be more consistent (issue #39)
|
|
321
|
-
* Pagination layout (issue #42)
|
|
322
|
-
* Examples now use new classes and markup added in bootstrap 4 alpha 6
|
|
323
|
-
|
|
324
|
-
### Added
|
|
325
|
-
|
|
326
|
-
* Allow custom components for each column (issue #44)
|
|
327
|
-
|
|
328
|
-
# [1.0.0] - 2016-12-16
|
|
329
|
-
|
|
330
|
-
### Fixed
|
|
331
|
-
|
|
332
|
-
* Render or value function won't be called until table has data (issue #32)
|
|
333
|
-
* Include \*.metadata.json files in build (issue #38)
|
|
334
|
-
* Include sass and css in build for styling
|
|
335
|
-
|
|
336
|
-
### Added
|
|
337
|
-
|
|
338
|
-
* Support for stacked columns (responsive layout for mobiles and tablets) use `[gtOptions]="{stack:true}"` to enable feature, see issue #37
|
|
339
|
-
* Basic styles for sorting and stacked columns (included in npm package for sass and as a pre-compiled css)
|
|
340
|
-
|
|
341
|
-
### Breaking changes
|
|
342
|
-
|
|
343
|
-
* `GtLazy` and `GtHighlightSearch` input/attributes have been moved into `GtOptions` ie. change from `[GtLazy]="true"` and `[GtHighlightSearch]="true"` to `[gtOptions]="{lazyLoad:true, highlightSearch:true}"`
|
|
344
|
-
|
|
345
|
-
# [1.0.0-rc.10] - 2016-12-13
|
|
346
|
-
|
|
347
|
-
### Added
|
|
348
|
-
|
|
349
|
-
* Ability to toggle column visibility, see issue #33
|
|
350
|
-
* Ability to export to CSV, see issue #3
|
|
351
|
-
|
|
352
|
-
### Fixed
|
|
353
|
-
|
|
354
|
-
* Clean goal doesn't run before the build goal (see issue #36)
|
|
355
|
-
* Removed compiled javascript files
|
|
356
|
-
|
|
357
|
-
# [1.0.0-rc.9] - 2016-12-10
|
|
358
|
-
|
|
359
|
-
### Added
|
|
360
|
-
|
|
361
|
-
* Ability to show text when no data is return or when filter and/or search has no matching results, see issue #24
|
|
362
|
-
* Pagination component, see issue #2
|
|
363
|
-
* Ability to pass default options to table, [see docs](https://github.com/hjalmers/angular2-generic-table)
|
|
364
|
-
* Loading state for table rows waiting for data (only when lazy loading), use `tr.row-loading` to style loading rows
|
|
365
|
-
* Table info component, [see examples](https://hjalmers.github.io/angular2-generic-table/examples)
|
|
366
|
-
|
|
367
|
-
### Fixed
|
|
368
|
-
|
|
369
|
-
* Searching table now updates total number of pages correctly
|
|
370
|
-
* Searching function now supports åäö and other strange characters
|
|
371
|
-
* Handling of null values, see issues #32 and #35
|
|
372
|
-
|
|
373
|
-
### Breaking changes
|
|
374
|
-
|
|
375
|
-
* Lazy loading will by default not cache data, override using `gt-options` and set `cache` to `true`
|
|
376
|
-
* `GtPagination` has been replaced with `GtInfo` and properties have changed names, [see docs](https://github.com/hjalmers/angular2-generic-table)
|
|
377
|
-
* Highlighting of search terms when using `[gtLazy]=true` has changed, set search terms in your server response, [see docs](https://github.com/hjalmers/angular2-generic-table)
|
|
378
|
-
* `GtTexts` now uses camel case instead of dash case so in case you've changed the default texts you need to change from `no_match` to `noMatch` etc.
|
|
379
|
-
* Event property names have changed from `page` to `currentPage` and from `pageLength` to `recordLength` to match names used by `GtInformation`
|
|
380
|
-
|
|
381
|
-
# [1.0.0-rc.8] - 2016-11-30
|
|
382
|
-
|
|
383
|
-
### Fixed
|
|
384
|
-
|
|
385
|
-
* Source maps not generated correctly
|
|
386
|
-
* Highlight doesn't find all matches
|
|
387
|
-
* Go to first page when using global search
|
|
388
|
-
|
|
389
|
-
# [1.0.0-rc.7] - 2016-11-22
|
|
390
|
-
|
|
391
|
-
### Breaking changes
|
|
392
|
-
|
|
393
|
-
* Moved search (true/false) to `GtConfigSetting` i.e. to disable global search for a field use `GtConfigSetting` and to defined a search function use `GtConfigField`.
|
|
394
|
-
|
|
395
|
-
### Added
|
|
396
|
-
|
|
397
|
-
* Option to highlight matched search terms in table, to enable use `[gtHighlightSearch}="true"`, highlighted strings have the class `gt-highlight-search`.
|
|
398
|
-
|
|
399
|
-
### Fixed
|
|
400
|
-
|
|
401
|
-
* Column content (i.e td content) is now wrapped within a span, click etc. is now triggered by the span and not the td element.
|
|
402
|
-
|
|
403
|
-
# [1.0.0-rc.6] - 2016-11-22
|
|
404
|
-
|
|
405
|
-
### Breaking changes
|
|
406
|
-
|
|
407
|
-
* Added strong typing for all interfaces (you can always use `<any>` where type is required)
|
|
408
|
-
|
|
409
|
-
# [1.0.0-rc.5] - 2016-11-18
|
|
410
|
-
|
|
411
|
-
### Breaking changes
|
|
412
|
-
|
|
413
|
-
* Changed `component` to `gtRowComponent` and added typing for expanded row i.e. you must add type to your custom row component
|
|
414
|
-
* Changed path for type declarations import using `import {GenericTableModule} from 'angular2-generic-table';`
|
|
415
|
-
|
|
416
|
-
# [1.0.0-rc.4] - 2016-11-14
|
|
417
|
-
|
|
418
|
-
### Added
|
|
419
|
-
|
|
420
|
-
* Support for custom table classes
|
|
421
|
-
* Support for global table search
|
|
422
|
-
|
|
423
|
-
### Fixed
|
|
424
|
-
|
|
425
|
-
* Column order when no order is defined
|
|
426
|
-
* Minor bug fixes
|
|
427
|
-
|
|
428
|
-
### Other
|
|
429
|
-
|
|
430
|
-
* Switched from Bootstrap 3.3.7 to Bootstrap 4.0.0-alpha5
|
|
431
|
-
|
|
432
|
-
# [1.0.0-rc.3] - 2016-11-02
|
|
433
|
-
|
|
434
|
-
### Breaking changes
|
|
435
|
-
|
|
436
|
-
* Changed path for lib type declarations
|
|
437
|
-
|
|
438
|
-
### Fixed
|
|
439
|
-
|
|
440
|
-
* Sorting of multiple columns
|
|
441
|
-
* Sorting null values
|
|
442
|
-
* Missing scss file
|
|
443
|
-
* Importing Common Module instead of Browser Module to support sub module linking
|
|
444
|
-
* Targeting es5
|
|
445
|
-
|
|
446
|
-
# [1.0.0-rc.2] - 2016-10-26
|
|
447
|
-
|
|
448
|
-
### Fixed
|
|
449
|
-
|
|
450
|
-
* Added sorting classes to table headers and settings object is now updated when sorting changes
|
|
451
|
-
|
|
452
|
-
### Improved
|
|
453
|
-
|
|
454
|
-
* All pipes are now pure (for better performance)
|
|
455
|
-
|
|
456
|
-
# [1.0.0-rc.1] - 2016-10-25
|
|
457
|
-
|
|
458
|
-
### Added
|
|
459
|
-
|
|
460
|
-
* Documentation
|
|
461
|
-
* Examples
|
package/LICENSE.md
DELETED
|
@@ -1,201 +0,0 @@
|
|
|
1
|
-
Apache License
|
|
2
|
-
Version 2.0, January 2004
|
|
3
|
-
http://www.apache.org/licenses/
|
|
4
|
-
|
|
5
|
-
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
-
|
|
7
|
-
1. Definitions.
|
|
8
|
-
|
|
9
|
-
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
-
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
-
|
|
12
|
-
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
-
the copyright owner that is granting the License.
|
|
14
|
-
|
|
15
|
-
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
-
other entities that control, are controlled by, or are under common
|
|
17
|
-
control with that entity. For the purposes of this definition,
|
|
18
|
-
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
-
direction or management of such entity, whether by contract or
|
|
20
|
-
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
-
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
-
|
|
23
|
-
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
-
exercising permissions granted by this License.
|
|
25
|
-
|
|
26
|
-
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
-
including but not limited to software source code, documentation
|
|
28
|
-
source, and configuration files.
|
|
29
|
-
|
|
30
|
-
"Object" form shall mean any form resulting from mechanical
|
|
31
|
-
transformation or translation of a Source form, including but
|
|
32
|
-
not limited to compiled object code, generated documentation,
|
|
33
|
-
and conversions to other media types.
|
|
34
|
-
|
|
35
|
-
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
-
Object form, made available under the License, as indicated by a
|
|
37
|
-
copyright notice that is included in or attached to the work
|
|
38
|
-
(an example is provided in the Appendix below).
|
|
39
|
-
|
|
40
|
-
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
-
form, that is based on (or derived from) the Work and for which the
|
|
42
|
-
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
-
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
-
of this License, Derivative Works shall not include works that remain
|
|
45
|
-
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
-
the Work and Derivative Works thereof.
|
|
47
|
-
|
|
48
|
-
"Contribution" shall mean any work of authorship, including
|
|
49
|
-
the original version of the Work and any modifications or additions
|
|
50
|
-
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
-
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
-
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
-
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
-
means any form of electronic, verbal, or written communication sent
|
|
55
|
-
to the Licensor or its representatives, including but not limited to
|
|
56
|
-
communication on electronic mailing lists, source code control systems,
|
|
57
|
-
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
-
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
-
excluding communication that is conspicuously marked or otherwise
|
|
60
|
-
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
-
|
|
62
|
-
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
-
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
-
subsequently incorporated within the Work.
|
|
65
|
-
|
|
66
|
-
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
-
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
-
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
-
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
-
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
-
Work and such Derivative Works in Source or Object form.
|
|
72
|
-
|
|
73
|
-
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
-
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
-
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
-
(except as stated in this section) patent license to make, have made,
|
|
77
|
-
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
-
where such license applies only to those patent claims licensable
|
|
79
|
-
by such Contributor that are necessarily infringed by their
|
|
80
|
-
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
-
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
-
institute patent litigation against any entity (including a
|
|
83
|
-
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
-
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
-
or contributory patent infringement, then any patent licenses
|
|
86
|
-
granted to You under this License for that Work shall terminate
|
|
87
|
-
as of the date such litigation is filed.
|
|
88
|
-
|
|
89
|
-
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
-
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
-
modifications, and in Source or Object form, provided that You
|
|
92
|
-
meet the following conditions:
|
|
93
|
-
|
|
94
|
-
(a) You must give any other recipients of the Work or
|
|
95
|
-
Derivative Works a copy of this License; and
|
|
96
|
-
|
|
97
|
-
(b) You must cause any modified files to carry prominent notices
|
|
98
|
-
stating that You changed the files; and
|
|
99
|
-
|
|
100
|
-
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
-
that You distribute, all copyright, patent, trademark, and
|
|
102
|
-
attribution notices from the Source form of the Work,
|
|
103
|
-
excluding those notices that do not pertain to any part of
|
|
104
|
-
the Derivative Works; and
|
|
105
|
-
|
|
106
|
-
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
-
distribution, then any Derivative Works that You distribute must
|
|
108
|
-
include a readable copy of the attribution notices contained
|
|
109
|
-
within such NOTICE file, excluding those notices that do not
|
|
110
|
-
pertain to any part of the Derivative Works, in at least one
|
|
111
|
-
of the following places: within a NOTICE text file distributed
|
|
112
|
-
as part of the Derivative Works; within the Source form or
|
|
113
|
-
documentation, if provided along with the Derivative Works; or,
|
|
114
|
-
within a display generated by the Derivative Works, if and
|
|
115
|
-
wherever such third-party notices normally appear. The contents
|
|
116
|
-
of the NOTICE file are for informational purposes only and
|
|
117
|
-
do not modify the License. You may add Your own attribution
|
|
118
|
-
notices within Derivative Works that You distribute, alongside
|
|
119
|
-
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
-
that such additional attribution notices cannot be construed
|
|
121
|
-
as modifying the License.
|
|
122
|
-
|
|
123
|
-
You may add Your own copyright statement to Your modifications and
|
|
124
|
-
may provide additional or different license terms and conditions
|
|
125
|
-
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
-
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
-
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
-
the conditions stated in this License.
|
|
129
|
-
|
|
130
|
-
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
-
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
-
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
-
this License, without any additional terms or conditions.
|
|
134
|
-
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
-
the terms of any separate license agreement you may have executed
|
|
136
|
-
with Licensor regarding such Contributions.
|
|
137
|
-
|
|
138
|
-
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
-
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
-
except as required for reasonable and customary use in describing the
|
|
141
|
-
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
-
|
|
143
|
-
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
-
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
-
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
-
implied, including, without limitation, any warranties or conditions
|
|
148
|
-
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
-
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
-
appropriateness of using or redistributing the Work and assume any
|
|
151
|
-
risks associated with Your exercise of permissions under this License.
|
|
152
|
-
|
|
153
|
-
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
-
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
-
unless required by applicable law (such as deliberate and grossly
|
|
156
|
-
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
-
liable to You for damages, including any direct, indirect, special,
|
|
158
|
-
incidental, or consequential damages of any character arising as a
|
|
159
|
-
result of this License or out of the use or inability to use the
|
|
160
|
-
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
-
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
-
other commercial damages or losses), even if such Contributor
|
|
163
|
-
has been advised of the possibility of such damages.
|
|
164
|
-
|
|
165
|
-
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
-
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
-
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
-
or other liability obligations and/or rights consistent with this
|
|
169
|
-
License. However, in accepting such obligations, You may act only
|
|
170
|
-
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
-
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
-
defend, and hold each Contributor harmless for any liability
|
|
173
|
-
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
-
of your accepting any such warranty or additional liability.
|
|
175
|
-
|
|
176
|
-
END OF TERMS AND CONDITIONS
|
|
177
|
-
|
|
178
|
-
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
-
|
|
180
|
-
To apply the Apache License to your work, attach the following
|
|
181
|
-
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
|
-
replaced with your own identifying information. (Don't include
|
|
183
|
-
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
-
comment syntax for the file format. We also recommend that a
|
|
185
|
-
file or class name and description of purpose be included on the
|
|
186
|
-
same "printed page" as the copyright notice for easier
|
|
187
|
-
identification within third-party archives.
|
|
188
|
-
|
|
189
|
-
Copyright 2018 Robert Hjalmers
|
|
190
|
-
|
|
191
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
-
you may not use this file except in compliance with the License.
|
|
193
|
-
You may obtain a copy of the License at
|
|
194
|
-
|
|
195
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
-
|
|
197
|
-
Unless required by applicable law or agreed to in writing, software
|
|
198
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
-
See the License for the specific language governing permissions and
|
|
201
|
-
limitations under the License.
|