diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..c2e712d --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,131 @@ +# Changelog + +All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. + +## 0.0.0 (2024-02-26) + + +### Features + +* add 'setAllSorts' to add multiple sorts in a single call ([b6a5e57](https://github.com/BePo65/mat-datatable/commit/b6a5e573056af791ac74d7123f154d778b29710e)) +* add 'srollToRow' method to mat-datatable ([24d09b4](https://github.com/BePo65/mat-datatable/commit/24d09b489322b38e5912337761ad3a49dd145e37)) +* add 'virtual-scroll' ([24ef049](https://github.com/BePo65/mat-datatable/commit/24ef049d57463f528c33293f0f52d58b09cbef71)) +* add animation for sorting badge positioning ([c2027a4](https://github.com/BePo65/mat-datatable/commit/c2027a44de3613ef8d7ae93ca2472ff7b281dd3b)) +* add button to change the pagesize to demo ([60d206e](https://github.com/BePo65/mat-datatable/commit/60d206e7ea6e76d16f058fb9176729278e336131)) +* add click method to row harness ([94fdd8c](https://github.com/BePo65/mat-datatable/commit/94fdd8c1dfbbf884a1ec181d8f55a93ff62576d8)) +* add columnDefinition option 'showAsSingleLine' ([17fa601](https://github.com/BePo65/mat-datatable/commit/17fa6017b1b535c40a25abdc1c7990098e70a9d5)) +* add filter for rows via cells content ([f69bbd9](https://github.com/BePo65/mat-datatable/commit/f69bbd988d5597b9f85880f8f5f1043e64daedcd)) +* add first draft of mat-datatable ([62f1a64](https://github.com/BePo65/mat-datatable/commit/62f1a6481828905cf862d109e722297d3b9a7ea4)) +* add footer to table - intermediate state; footer as placeholder ([7a77d49](https://github.com/BePo65/mat-datatable/commit/7a77d498b798c0b35ba3f159ea4406202cb42fbc)) +* add generic datasource class ([23349cf](https://github.com/BePo65/mat-datatable/commit/23349cf6448cc295d86a2900a3d3a2c87d2338bf)) +* add getAllSortData() and getActiveSortData() to harnesses ([7e49c30](https://github.com/BePo65/mat-datatable/commit/7e49c307698c3003a7c26425a648b9c172ce6c94)) +* add getter / setter for current page ([f342ec0](https://github.com/BePo65/mat-datatable/commit/f342ec08400e16af362f7b2023591f90cc9b36f3)) +* add injectable service to mat-datatable to get server-side data ([673b1a4](https://github.com/BePo65/mat-datatable/commit/673b1a418a904f065f356ea7c6d87e61927756f3)) +* add interfaces to public-api of component ([858702a](https://github.com/BePo65/mat-datatable/commit/858702a9d8b62ca96f0b4f77b3362e99c966d2b8)) +* add multi column sorting ([a2d97c7](https://github.com/BePo65/mat-datatable/commit/a2d97c702a7d6e5bb9a577da8a6ea0c7ce494b7d)) +* add NgxRerender to app for turning on / off withFooter ([3e9701c](https://github.com/BePo65/mat-datatable/commit/3e9701cf7b451c870239810893d879b494e14020)) +* add number of first visible row to footer ([1b2e095](https://github.com/BePo65/mat-datatable/commit/1b2e095ab5ebbf2fa21440c52bf5324a632ec7b5)) +* add option to show cell as mailto link ([8e00a05](https://github.com/BePo65/mat-datatable/commit/8e00a0542f62e6442410f44cd986de05ca71a077)) +* add position of sorting definition to arrow in column header ([76fabf0](https://github.com/BePo65/mat-datatable/commit/76fabf07e1220fd35fb01516846e866484639b14)) +* add reload method to mat-datatable ([51640d1](https://github.com/BePo65/mat-datatable/commit/51640d177d48067f3ed67453d362737263822da5)) +* add resizing to harnesses ([27d012a](https://github.com/BePo65/mat-datatable/commit/27d012a3bbe47a26a3a0b1beab449dd4425e3c1d)) +* add row click handler ([4e5c6a4](https://github.com/BePo65/mat-datatable/commit/4e5c6a460e25427236e8d7f12e5d8e8e93f6b74a)) +* add rowSelectionChange event ([f5da24d](https://github.com/BePo65/mat-datatable/commit/f5da24d8fea4b3bf8dbc6caaa32278b1b6c59caa)) +* add sorting 1 column to table ([3375eb6](https://github.com/BePo65/mat-datatable/commit/3375eb659d1213475d34d2ec3ed125b716fd051f)) +* add spinner to mat-datatable to indicate loading data ([d48e7a5](https://github.com/BePo65/mat-datatable/commit/d48e7a50bfa17fec9244c11e1fc540a6b43d3e63)) +* add test harness for footer to library ([e8156a4](https://github.com/BePo65/mat-datatable/commit/e8156a4716c708527a577cf28c72fdaf753f49e5)) +* add test harnesses for mat-datatable ([6f7bc14](https://github.com/BePo65/mat-datatable/commit/6f7bc142a960ad8befa2bca699391ecc6c5f8b9d)) +* add tooltip field to column-definition ([975ca43](https://github.com/BePo65/mat-datatable/commit/975ca4347e91b33326a0dc3a17edde7b2d44a281)) +* align header (with hack) ([92042c7](https://github.com/BePo65/mat-datatable/commit/92042c79cde6946327d310639c47f76d145edd86)) +* align header using renderer2.addClass ([8406a45](https://github.com/BePo65/mat-datatable/commit/8406a451bab0c55f49d482828657a78e25799fd7)) +* align header with attribute directive ([58db09f](https://github.com/BePo65/mat-datatable/commit/58db09f2f8da7fe3c3ae14f5a619608cc6a33292)) +* change return type of indexOfRow to observable ([4a6e1ca](https://github.com/BePo65/mat-datatable/commit/4a6e1caa70961d8e8a45bca0c3eb18e47815c106)) +* compress display of test buttons ([6c523bd](https://github.com/BePo65/mat-datatable/commit/6c523bd5a4b0b81ef09cb199d5ddbb7930c8c5d4)) +* **demo:** add button to show / hide pane with test buttons ([f9b3c50](https://github.com/BePo65/mat-datatable/commit/f9b3c505bdf0c4047d7c313c6879f4fa13bc1708)) +* **demo:** add buttons for filtering the data ([6298e7c](https://github.com/BePo65/mat-datatable/commit/6298e7c9162bb359a198c8c389d1972598e9f606)) +* **demo:** add switch for footer on / off to demo ([d40a107](https://github.com/BePo65/mat-datatable/commit/d40a107e1dfb1237a9e8e937f29417e1086ff11d)) +* **demo:** set selected cell into filter range ([fe32001](https://github.com/BePo65/mat-datatable/commit/fe320010d7fd3528e7c49dd7d9c3d38c2aca3e2e)) +* export totalRowsChanged and filteredRowsChanged from lib ([201238d](https://github.com/BePo65/mat-datatable/commit/201238da7a600af4e68d8504e0c8307e0d768d03)) +* filter cell of MatRowHarness for 'isSingleLine' ([8b26ec6](https://github.com/BePo65/mat-datatable/commit/8b26ec651ddb15aa7dafce86935f1ca9bbda7a46)) +* highlight / select row on row click with theming ([5a2f90f](https://github.com/BePo65/mat-datatable/commit/5a2f90f083d81ed0e1f2a19c45b63162c2767606)) +* initialize display of initial sorting to state of data source ([41aa5bb](https://github.com/BePo65/mat-datatable/commit/41aa5bb290877c770ed28e52178c111d822cc293)) +* **lib:** move all testing hrnesses into directory testing ([3bda185](https://github.com/BePo65/mat-datatable/commit/3bda185c93c092758cf49137a62dde9935180111)) +* make 'displayedColumns' an attribute ([42c5741](https://github.com/BePo65/mat-datatable/commit/42c574156a41a1d86d67730fb64f6eacaa2d0cf3)) +* make 'isSortable' a column configuration parameter ([b44cd06](https://github.com/BePo65/mat-datatable/commit/b44cd06fcb319da11b1741c3566f8da78d95f362)) +* make column definitions an attribute of mat-datatable ([2c4b405](https://github.com/BePo65/mat-datatable/commit/2c4b4055a3b14ccd86866974525bcc86879e2864)) +* make column width a field of 'columnDefinitions' ([f47fcc8](https://github.com/BePo65/mat-datatable/commit/f47fcc8463a8dfd49b1738fe07fd2a2bbdf221e5)) +* make column width resizable in UI ([aedf6f8](https://github.com/BePo65/mat-datatable/commit/aedf6f885c7c44bd4fafee6dd656bdbdc6445c9b)) +* make dtatsource an input of mat-datatable ([2f75334](https://github.com/BePo65/mat-datatable/commit/2f75334825621dcb5247db83ee6c1dca10c99e4a)) +* make library component generic ([394a611](https://github.com/BePo65/mat-datatable/commit/394a611a6c07003b8a8cd5141802dd107c206a93)) +* make paginator sticky ([266a1d7](https://github.com/BePo65/mat-datatable/commit/266a1d7854293a75a4186811eb3e82cb2ca619f3)) +* make regex usable for sortPosition harness filters ([aec79d6](https://github.com/BePo65/mat-datatable/commit/aec79d6425363598b9d1a45164d9f81f43e8c0be)) +* make selection mode for table selectable by user ([973e9fc](https://github.com/BePo65/mat-datatable/commit/973e9fcebfc7d9bf3b3ddf71568016549204706c)) +* make sticky header ([0f14603](https://github.com/BePo65/mat-datatable/commit/0f146030fc1fcd1521f603b98401319470e1c16f)) +* make table "elevated" and limit width in demo ([eecf326](https://github.com/BePo65/mat-datatable/commit/eecf32658d819569393194b2b7ffac9f7961826c)) +* modify mat-datatable to use new datasource component ([09a1c5b](https://github.com/BePo65/mat-datatable/commit/09a1c5b11012cb6fa6aacb04e0e156c62d24c918)) +* move handling of sorting to datasource ([c5522e2](https://github.com/BePo65/mat-datatable/commit/c5522e29c82bb17ae79eca98a185409c1af4a222)) +* move toggle slider 'withFooter' to row of header ([76a1015](https://github.com/BePo65/mat-datatable/commit/76a1015d33f25c52e5569f5d98a2a6f008debac3)) +* remove public-api from src/lib directory ([61d08ee](https://github.com/BePo65/mat-datatable/commit/61d08ee5dbfc121c8d946222e3e83b585a551cf6)) +* remove public-api from src/lib/testing directory ([306af6a](https://github.com/BePo65/mat-datatable/commit/306af6ac318f989003cd804f64a8de326690e0f9)) +* remove row filters from MatDatatableHarness header row ([4749f01](https://github.com/BePo65/mat-datatable/commit/4749f01a543325f61a8ddbb9755c42d8de6cdd11)) +* remove rows-count display block ([6faf6fc](https://github.com/BePo65/mat-datatable/commit/6faf6fc9dadab4830ad18eb144927024e1c15b93)) +* remove setAllSorts from mat-multi-sort.directive ([887a116](https://github.com/BePo65/mat-datatable/commit/887a11695389f2b5f63c6edc8b370861aafe1c9d)) +* rename 'isSortable' to 'sortable' in column definition ([12112e0](https://github.com/BePo65/mat-datatable/commit/12112e04f3ad2a539762aa8db86f909ebee7cee5)) +* replace paginator with virtual scroll ([b5e5279](https://github.com/BePo65/mat-datatable/commit/b5e5279e27264b26ede70d34ae53704590c4ffb3)) +* show current filter in row of buttons ([4fdfc93](https://github.com/BePo65/mat-datatable/commit/4fdfc93ad12dda2b8ac2de03860cc1668440b329)) +* show current sortings as chips ([e9127ca](https://github.com/BePo65/mat-datatable/commit/e9127cad14abf649edb6aa9f97819c87ddd6d27a)) +* show number of (filtered) rows in demo ([3ee2af3](https://github.com/BePo65/mat-datatable/commit/3ee2af38a4308b3f1c622bf9d1ad81bbd11be88a)) +* show row activated with theming ([2f06bd7](https://github.com/BePo65/mat-datatable/commit/2f06bd745c229532f2b5ce5c5befe45056b11662)) +* simulate server response time in demo ([1c5e025](https://github.com/BePo65/mat-datatable/commit/1c5e025c8204e0e38b2230d03af68f56881e7e2a)) +* update color definitions in mat-datatable theme ([4e0a980](https://github.com/BePo65/mat-datatable/commit/4e0a980d4df5c7773b6ad047a8b9402a1380b5ca)) +* use larger dataset for mock data ([bb2f0d9](https://github.com/BePo65/mat-datatable/commit/bb2f0d9859f16032a7e95c07cfe2fa9b51f513e3)) +* xxx add NgxRerender to app for turning on / off withFooter ([0afdcca](https://github.com/BePo65/mat-datatable/commit/0afdccac18eda6989ac4b74444fdb11c6414dd0f)) +* xxx add NgxRerender to app for turning on / off withFooter ([d3b6d27](https://github.com/BePo65/mat-datatable/commit/d3b6d276612498436d54d969414fbb599f871e01)) + + +### Bug Fixes + +* adapt structure of datatable theme to material ([9e5b210](https://github.com/BePo65/mat-datatable/commit/9e5b2100fd40c3d61523df12857c54e0b4818820)) +* add filtering data to mat-datatable component ([a04cec9](https://github.com/BePo65/mat-datatable/commit/a04cec938b2ccb6d498ad2271f432adba511f90b)) +* clicking on column header sorts data ([0e2603f](https://github.com/BePo65/mat-datatable/commit/0e2603fbdcdb9010244ff55c3d36f2ccbb3d9190)) +* columnWidth on resize depends on HarnessEnvironment ([f6d6abc](https://github.com/BePo65/mat-datatable/commit/f6d6abcc3791d9518bfa399ba9d36c74ee30c020)) +* **demo:** make current page number always a number ([c10c0b5](https://github.com/BePo65/mat-datatable/commit/c10c0b52f2bbe83b5ad4925a65e96f0b5aa34d59)) +* do not show preview rows as activated ([4a47e29](https://github.com/BePo65/mat-datatable/commit/4a47e29632da9f96467617976dd8fb73e0173481)) +* error when initializing mat-datatable component ([6a7ac51](https://github.com/BePo65/mat-datatable/commit/6a7ac51e5af3add06d4a9ac381e3dbd5416d5686)) +* fix erors in footer handling; show footer in table ([37ba11e](https://github.com/BePo65/mat-datatable/commit/37ba11ed59f39c3ab31e3a1e348459f0eb8eda65)) +* fix problems with showing activated row ([247d175](https://github.com/BePo65/mat-datatable/commit/247d175eb04d05d3e3aace3ada767ab52cfa94cc)) +* fix typos in names and comments ([17a6e6f](https://github.com/BePo65/mat-datatable/commit/17a6e6f348d1d9a61c4593853c5f32ee7cd85f2d)) +* fix warnings from eslint ([8be671f](https://github.com/BePo65/mat-datatable/commit/8be671fb02c6ab652591f23d6d43be54aaf021fc)) +* get 'disableClear' from sort directive when setting sorts ([fc5e3d0](https://github.com/BePo65/mat-datatable/commit/fc5e3d0a4f79fea5adc35bd3ac3086df7f00967f)) +* get page title from component property ([25eac18](https://github.com/BePo65/mat-datatable/commit/25eac1876a7d8fd58b8d623e9b325253e777d51c)) +* layout problems on small screens ([d530f30](https://github.com/BePo65/mat-datatable/commit/d530f303d0daacd1778e662e1890f7292010ae44)) +* make 'public-api' files contain only required elements ([8d5596d](https://github.com/BePo65/mat-datatable/commit/8d5596d4a98af45e0389b62532d16c7e14e912fc)) +* make getSortPosition return NaN for illegal inputs ([9be45d3](https://github.com/BePo65/mat-datatable/commit/9be45d3cb7cfade08b3cb8e0b6b51b083bc3d87b)) +* make mat-datatable-theme contain all required definitions ([252c170](https://github.com/BePo65/mat-datatable/commit/252c170c93c9013f74ce9d179268922c01d15071)) +* make matResizable use 'true' as default value ([6cb7a5d](https://github.com/BePo65/mat-datatable/commit/6cb7a5d3f9a4efc7786591605b452c8a3f9e4fa1)) +* make selection / activation use 'trackBy' function or equivalent ([29d1e6d](https://github.com/BePo65/mat-datatable/commit/29d1e6d44db0c31cdabef97ea671f806b5e8826f)) +* make sort buttons align in 1 row ([1eff273](https://github.com/BePo65/mat-datatable/commit/1eff27300f20c4c055a07a4aecc62b8c73db2c86)) +* method getText for header cells returns text only ([a07f28c](https://github.com/BePo65/mat-datatable/commit/a07f28cee21dee32da408a586ea0ac6e235dd9cc)) +* modify caption in demo page ([c24567c](https://github.com/BePo65/mat-datatable/commit/c24567c21cfbf945fb3282c541d0caeaf9a61ea7)) +* prevent table to jump up/down when progress-bar is shown/hidden ([d43144d](https://github.com/BePo65/mat-datatable/commit/d43144db56f0e8030a00a402923b227e5ea35946)) +* reformat display of current sort ([b2eca61](https://github.com/BePo65/mat-datatable/commit/b2eca616fc0b3382d7d8e584cad55ada08e8d2af)) +* remove error thrown when initializing table sorting ([bd1c6c3](https://github.com/BePo65/mat-datatable/commit/bd1c6c361a2f26e4b8c4a3f48141b0aa15cdab1b)) +* remove errors in multisort preventing correct sorting state change ([15d2ceb](https://github.com/BePo65/mat-datatable/commit/15d2cebb75128ecfa903c46fa510d0124fc448c6)) +* remove internal @ViewChilds from external interface ([0145da4](https://github.com/BePo65/mat-datatable/commit/0145da4dc8b5f1c939ca0ede6d8d4a04d2b88643)) +* remove unnecessary elements from filter types ([fbd1dae](https://github.com/BePo65/mat-datatable/commit/fbd1dae29f7e9cf7ff1ab542cd919889a7d47085)) +* remove unnecessary interface from public-api; add 'SortDirection' ([0adc4d5](https://github.com/BePo65/mat-datatable/commit/0adc4d5b4d7d4a7410422663efc7e8b95aa11a8c)) +* remove unused exports from public-api of datatable-sort ([d9fdfe5](https://github.com/BePo65/mat-datatable/commit/d9fdfe56abacf70832b3b8d8b26964312ce77530)) +* remove unused exports from public-api of mat-datatable-lib ([941ac46](https://github.com/BePo65/mat-datatable/commit/941ac46f15e45aec7a055e96811e831b9dc9cdf1)) +* resize in cell-harness does not set exactly new size ([d7d3c0b](https://github.com/BePo65/mat-datatable/commit/d7d3c0b592468bd7f7f1b4ed5160c77cb5580d5f)) +* set column width requires more style setings ([69c0a95](https://github.com/BePo65/mat-datatable/commit/69c0a9535b30851a880bc3ec43b0a9d990cc58df)) +* set sorts even when changing to empty sorts definition ([c5ed367](https://github.com/BePo65/mat-datatable/commit/c5ed3676c6d979b10cbd8215477639c5c1b424d5)) +* set unsorted column index to '' ([a4105e8](https://github.com/BePo65/mat-datatable/commit/a4105e8fd0ddaeccbcf46fcffe5d054a9083ffd4)) +* solve problems with displaying data ([c138b5e](https://github.com/BePo65/mat-datatable/commit/c138b5e19864b159e5eb19a062ab25cc5a793ac0)) +* sort data even when sorting definiton is not changed ([a29b2d9](https://github.com/BePo65/mat-datatable/commit/a29b2d97298df43a87fbb82b6d5f75a7f6545d30)) +* surround test buttons with div to make it hideable ([59319ea](https://github.com/BePo65/mat-datatable/commit/59319ea7b12bf99e89430f99851ff8d67d2d9ab0)) +* switching scroller on/off resets sort, filter, selection ([7b1ab5c](https://github.com/BePo65/mat-datatable/commit/7b1ab5ce6163bb02e6b4dd0c625633fee657aabf)) +* transfer new datasourcing to demo app ([531b121](https://github.com/BePo65/mat-datatable/commit/531b1214eff5dc58af6cd62155767e3456b45812)) +* undo renaming of properties and change method to getter/setter ([d12450e](https://github.com/BePo65/mat-datatable/commit/d12450e09f67201d9531d31e18a82c7fc2916f38)) +* update arrows when clicking header after setting sorting ([47a5188](https://github.com/BePo65/mat-datatable/commit/47a51885496347739d65195b8cd8c325c8ede626)) +* update arrows when setting sorting programatically ([f721879](https://github.com/BePo65/mat-datatable/commit/f7218798c11b22eb2ec6f462ff6d05988b94b7e8)) +* update sort definition for button 'sort by birthday desc' ([73f1198](https://github.com/BePo65/mat-datatable/commit/73f11981dcb5209ad78ac8bbc9983596fca1bb55))