@masterteam/components 0.0.264 → 0.0.265
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/.angular/cache/21.2.7/@masterteam/components/.tsbuildinfo +1 -0
- package/.angular/cache/21.2.7/@masterteam/components/angular-compiler.db +0 -0
- package/.angular/cache/21.2.7/@masterteam/components/angular-compiler.db-lock +0 -0
- package/.angular/cache/21.2.7/ng-packagr/045efd332b9db1d21b3a595a37ae03ebb11b457a5dc6e2d1cbc561b694e17f1a +1 -0
- package/.angular/cache/21.2.7/ng-packagr/0727b170af3d53236c0cafe16ea670d089e48d4c5c525b1dbcc1c684bb6e99c7 +1 -0
- package/.angular/cache/21.2.7/ng-packagr/0873bc9048494ebc33fe0a7b856324c7c4ca681b0dcaa87338e3290186906d49 +1 -0
- package/.angular/cache/21.2.7/ng-packagr/1010cd8fc996d0c2df519ed60085f4b1f38ccfc873900055bc75fc20a3c26bab +1 -0
- package/.angular/cache/21.2.7/ng-packagr/12379a8ab7254ad3df2635823a358cfce32e6d0f390be68596cc97e02307e6c4 +1 -0
- package/.angular/cache/21.2.7/ng-packagr/1239e7a937657b62f858d17d47738ed30facbdaa91032511e29ed148b748400b +1 -0
- package/.angular/cache/21.2.7/ng-packagr/133b9ecf47ba424244902da90d77cd3f135b85f95c01b16de7b2247f57518f01 +1 -0
- package/.angular/cache/21.2.7/ng-packagr/175d45dc6da51834e7fe937c09d23dbf28d2a823f838ef5271fd3e148776d6ec +1 -0
- package/.angular/cache/21.2.7/ng-packagr/19d99ad4d927324b03cdbef34331ba2c58bd580f1f0ca591cb5f8dbf436c913c +1 -0
- package/.angular/cache/21.2.7/ng-packagr/1a86918763f95c1c2b9fa781bda1ceedf15aead87f0e11ea1324318af43a897a +1 -0
- package/.angular/cache/21.2.7/ng-packagr/1f08100dbc280be7da64c809315376eb7d0cfd074916a6042f609f03f4276a8e +1 -0
- package/.angular/cache/21.2.7/ng-packagr/2224877a7e762b86541428e4c40d61f54f505867c305769ae42e67e4aa81bd93 +1 -0
- package/.angular/cache/21.2.7/ng-packagr/24957fb7ec060692ebcf1471e1bdce39f40aed938959e580048ade58015762d2 +1 -0
- package/.angular/cache/21.2.7/ng-packagr/295fcdc1c4462e7feae96a24255369508a559faaecc4676267749a7ce23e4b6d +1 -0
- package/.angular/cache/21.2.7/ng-packagr/2b37e2f2d6564d10bad1fd0ecc16453962fd855cd1e36ad7aa24baf3e4f2e8b3 +1 -0
- package/.angular/cache/21.2.7/ng-packagr/2c20f0929771e857b570ba2beffe91f598f299ce26d4825fe4315bfe5a3dd40a +1 -0
- package/.angular/cache/21.2.7/ng-packagr/37dea2e5798cad4a21d66292eeed5be26d04500d9a1534332ad42ce664a058c2 +1 -0
- package/.angular/cache/21.2.7/ng-packagr/3b6239b640fcb5ea7067a2655a2901d32f55372812b586aa008e77c59e8f2090 +1 -0
- package/.angular/cache/21.2.7/ng-packagr/3beb1b4dfe75d1e6749cf91f05d51ba4eece939f5c15f6f33ed587bfd198f0a3 +1 -0
- package/.angular/cache/21.2.7/ng-packagr/3f161e6c2ead4519d0663dd79199dafceb2cc22da7ce92a72b809b93bfce0bb0 +1 -0
- package/.angular/cache/21.2.7/ng-packagr/43551862d17cd02626e18b30243390081a6247784485660048b060a3d4ab7fa7 +1 -0
- package/.angular/cache/21.2.7/ng-packagr/47aedf032519b41d96866fcf8fbd4f1dfd29f9e9a534b39dee0e44d402227d2d +1 -0
- package/.angular/cache/21.2.7/ng-packagr/4a1768888c60921955bfdfba8b31c8d853bd7b2a7d3a7b83934de049e1e6e6a2 +1 -0
- package/.angular/cache/21.2.7/ng-packagr/4a783e339117597607bff17eeca0ad24d84b8cbc1e28927e7e453ccfa6223180 +1 -0
- package/.angular/cache/21.2.7/ng-packagr/4d9331b2050326f586cd8f6593a9e04e1c7944b2f9e98023649023c099597a5d +1 -0
- package/.angular/cache/21.2.7/ng-packagr/4e379f506919d47af7008658c75242aa05f0056c1caec4061d7fa5746f776049 +1 -0
- package/.angular/cache/21.2.7/ng-packagr/55009bb7d44552dd816ce32fa2b0f7985f3f08fefd6409c2b4f6b9ffe35dad83 +1 -0
- package/.angular/cache/21.2.7/ng-packagr/58ae3f1f9664f7b16844d2e4a279dd4ca9371de014cf5687320c2d5cb259a74f +1 -0
- package/.angular/cache/21.2.7/ng-packagr/5c08e906bd3fe1aa6c1d62f2bbb2b3f276e1c17fe45ef081e76bd1b865ac3dfa +1 -0
- package/.angular/cache/21.2.7/ng-packagr/5ce333a40ad635188347fa9bc601d5fd14be6baacbae7d096259d725ac9757af +1 -0
- package/.angular/cache/21.2.7/ng-packagr/5f32cceaee6a6ea19cc6cbff5ea089b752f13a0fdcd32597d4c99d5e1e031bb5 +1 -0
- package/.angular/cache/21.2.7/ng-packagr/691ad4ccdc0a8ede36e1f4e5e97638c20c2d3142916ffac3a1b172178c139205 +1 -0
- package/.angular/cache/21.2.7/ng-packagr/6b57160e0d2da3f31693831e84a3f4209c1f33a04abd636e34af03956e7329d8 +1 -0
- package/.angular/cache/21.2.7/ng-packagr/70bc711a1d7b631845885c26adc2d6b1bff47d11332b2625cedfa11e9d5ac79a +1 -0
- package/.angular/cache/21.2.7/ng-packagr/7427c266237012afaef486c2af94ee08a491e8d7b6fc7e5ee887980830bbd333 +1 -0
- package/.angular/cache/21.2.7/ng-packagr/7e8fa7c61cf9a932ba3a0e65eb73c7412e81666b7a8f923dac7b75acfbb94b1d +1 -0
- package/.angular/cache/21.2.7/ng-packagr/81aab7fdab43cbdfa869db759d6113ae01ec6f5e0e9061d7fc089c260886e4d1 +1 -0
- package/.angular/cache/21.2.7/ng-packagr/83a81758045ff710a34ea3cf6f54435a1f5dea9839d8c0adda0bbce7c3fb6e8b +1 -0
- package/.angular/cache/21.2.7/ng-packagr/883eae810a4c09f06617bdc2e4bc30a69f09726401b2a051840969f635d076f1 +1 -0
- package/.angular/cache/21.2.7/ng-packagr/8a6b9be66de40c57054dca5fde376c3cec1bec1ae191a16f1ae6a83306d9ebfe +1 -0
- package/.angular/cache/21.2.7/ng-packagr/8d42c8144f6929de46984094bf390a0c4168404ab13a5194839f6ba5e42bc3ce +1 -0
- package/.angular/cache/21.2.7/ng-packagr/91093656c61a5404f0d576f872247eeb480dd938e6999d481a97893c72b5f3d0 +1 -0
- package/.angular/cache/21.2.7/ng-packagr/91e881172037c63d819e30d30e390e0d7dc0dee9808b3902275ccc8b1887d864 +1 -0
- package/.angular/cache/21.2.7/ng-packagr/9ef28cf3a676e7bd0d37762c4868b4810efca2f241ed0dae75ebca41988e2c00 +1 -0
- package/.angular/cache/21.2.7/ng-packagr/a07cbea405c1831b3f686a8e57c4b500d89cbab2b95e110487890269945feeaa +1 -0
- package/.angular/cache/21.2.7/ng-packagr/a463deba940880d9461612c9cd00d90062bf97aa31b1c4556b8b47a967cb6882 +1 -0
- package/.angular/cache/21.2.7/ng-packagr/ab03ed1e4a371113b41b663d526d2b06565ceb062e6f033f726f1e455fc5d1d6 +1 -0
- package/.angular/cache/21.2.7/ng-packagr/ad0e84be4f2211aff6187b4bec9adbe15f0e8b36851e9c6c63b38303c2daad37 +1 -0
- package/.angular/cache/21.2.7/ng-packagr/aece79242dae70eb748605e37483e75e122e4ce414fa8be875499e8af26ee5d6 +1 -0
- package/.angular/cache/21.2.7/ng-packagr/aff32db91ce03de30d2bbc84f266fe3fb2c6629d5eeb39a364204d9499484368 +1 -0
- package/.angular/cache/21.2.7/ng-packagr/b0671e73a162927d28ef1742ec008e514264bc2ce29f2255bedaea553492fe5d +1 -0
- package/.angular/cache/21.2.7/ng-packagr/bb50d71f3cdeebbb85fd983be8103f9c216060464f8e7e534271197391e6dcf7 +1 -0
- package/.angular/cache/21.2.7/ng-packagr/c64241290ab30d8761b2f5493a039427f5cda1a48b5be88ce62ee5c714c0f690 +1 -0
- package/.angular/cache/21.2.7/ng-packagr/c794d2e79b26ab378c0dbf8afa7b8ac1337ba9afb288941d44a086cb1bd4bad2 +1 -0
- package/.angular/cache/21.2.7/ng-packagr/d942edf8fd8e8e884138ffcdb1a07ad14a0b5e211f8ccea1dc9ea0b48f50cfc9 +1 -0
- package/.angular/cache/21.2.7/ng-packagr/dbe0b9b9f18ba7b96d9c84f4fd16cde158c9701c202d00113e6f88ba93407bce +1 -0
- package/.angular/cache/21.2.7/ng-packagr/f564395a410a2723aac48e582f5fe416bfeaa48677cea47b10c5152d4f2b6672 +1 -0
- package/.angular/cache/21.2.7/ng-packagr/fc9b0d27f081ca7b2a4cbefa75136d7bd7a8c341dbaa0587855071a6003906b8 +1 -0
- package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-avatar-text.tsbuildinfo +1 -0
- package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-avatar.tsbuildinfo +1 -0
- package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-breadcrumb.tsbuildinfo +1 -0
- package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-business-fields.tsbuildinfo +1 -0
- package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-button-group.tsbuildinfo +1 -0
- package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-button.tsbuildinfo +1 -0
- package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-card.tsbuildinfo +1 -0
- package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-checkbox-field.tsbuildinfo +1 -0
- package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-chip.tsbuildinfo +1 -0
- package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-client-page-menu.tsbuildinfo +1 -0
- package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-client-page.tsbuildinfo +1 -0
- package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-color-picker-field.tsbuildinfo +1 -0
- package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-confirmation.tsbuildinfo +1 -0
- package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-date-field.tsbuildinfo +1 -0
- package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-dialog.tsbuildinfo +1 -0
- package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-drawer.tsbuildinfo +1 -0
- package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-dynamic-drawer.tsbuildinfo +1 -0
- package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-editor-field.tsbuildinfo +1 -0
- package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-empty-state.tsbuildinfo +1 -0
- package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-entities.tsbuildinfo +1 -0
- package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-field-validation.tsbuildinfo +1 -0
- package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-formula.tsbuildinfo +1 -0
- package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-icon-field.tsbuildinfo +1 -0
- package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-list.tsbuildinfo +1 -0
- package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-location-field.tsbuildinfo +1 -0
- package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-menu.tsbuildinfo +1 -0
- package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-modal.tsbuildinfo +1 -0
- package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-module-summary-card.tsbuildinfo +1 -0
- package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-multi-select-field.tsbuildinfo +1 -0
- package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-number-field.tsbuildinfo +1 -0
- package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-page-header.tsbuildinfo +1 -0
- package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-page.tsbuildinfo +1 -0
- package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-paginator.tsbuildinfo +1 -0
- package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-pick-list-field.tsbuildinfo +1 -0
- package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-progress.tsbuildinfo +1 -0
- package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-property-filter-builder.tsbuildinfo +1 -0
- package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-radio-button-field.tsbuildinfo +1 -0
- package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-radio-cards-field.tsbuildinfo +1 -0
- package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-radio-cards.tsbuildinfo +1 -0
- package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-runtime-action.tsbuildinfo +1 -0
- package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-select-field.tsbuildinfo +1 -0
- package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-sidebar.tsbuildinfo +1 -0
- package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-slider-field.tsbuildinfo +1 -0
- package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-statistic-card.tsbuildinfo +1 -0
- package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-table.tsbuildinfo +1 -0
- package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-tabs.tsbuildinfo +1 -0
- package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-text-field.tsbuildinfo +1 -0
- package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-textarea-field.tsbuildinfo +1 -0
- package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-toast.tsbuildinfo +1 -0
- package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-toggle-field.tsbuildinfo +1 -0
- package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-tooltip.tsbuildinfo +1 -0
- package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-topbar.tsbuildinfo +1 -0
- package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-tree.tsbuildinfo +1 -0
- package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-treeselect-field.tsbuildinfo +1 -0
- package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-upload-field.tsbuildinfo +1 -0
- package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-uploader.tsbuildinfo +1 -0
- package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-user-search-field.tsbuildinfo +1 -0
- package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components.tsbuildinfo +1 -0
- package/angular.json +32 -0
- package/api/api.ts +1 -0
- package/api/public-api.ts +5 -0
- package/assets/common.css +309 -2
- package/avatar/avatar.html +32 -0
- package/avatar/avatar.scss +0 -0
- package/avatar/avatar.ts +54 -0
- package/avatar/ng-package.json +6 -0
- package/avatar/public-api.ts +1 -0
- package/avatar-text/avatar-text.html +26 -0
- package/avatar-text/avatar-text.scss +0 -0
- package/avatar-text/avatar-text.ts +52 -0
- package/avatar-text/ng-package.json +6 -0
- package/avatar-text/public-api.ts +1 -0
- package/breadcrumb/breadcrumb.html +53 -0
- package/breadcrumb/breadcrumb.scss +0 -0
- package/breadcrumb/breadcrumb.ts +26 -0
- package/breadcrumb/ng-package.json +6 -0
- package/breadcrumb/public-api.ts +1 -0
- package/business-fields/entity-list-field/entity-list-add-token.ts +25 -0
- package/business-fields/entity-list-field/entity-list-field.html +70 -0
- package/business-fields/entity-list-field/entity-list-field.scss +3 -0
- package/business-fields/entity-list-field/entity-list-field.ts +1067 -0
- package/business-fields/lookup-matrix-field/lookup-matrix-field.html +38 -0
- package/business-fields/lookup-matrix-field/lookup-matrix-field.spec.ts +183 -0
- package/business-fields/lookup-matrix-field/lookup-matrix-field.ts +239 -0
- package/business-fields/lookup-module-check-list-field/lookup-module-check-list-field.html +95 -0
- package/business-fields/lookup-module-check-list-field/lookup-module-check-list-field.ts +336 -0
- package/business-fields/lookup-module-check-list-field/lookup-module-check-list-form-token.ts +42 -0
- package/business-fields/ng-package.json +6 -0
- package/business-fields/public-api.ts +8 -0
- package/business-fields/schedule-item-selector-field/schedule-item-selector-field.html +32 -0
- package/business-fields/schedule-item-selector-field/schedule-item-selector-field.ts +272 -0
- package/business-fields/schedule-predecessor-field/schedule-predecessor-field.html +89 -0
- package/business-fields/schedule-predecessor-field/schedule-predecessor-field.ts +441 -0
- package/business-fields/schema-connection-field/schema-connection-field.html +58 -0
- package/business-fields/schema-connection-field/schema-connection-field.scss +0 -0
- package/business-fields/schema-connection-field/schema-connection-field.ts +456 -0
- package/button/button.html +44 -0
- package/button/button.scss +0 -0
- package/button/button.ts +120 -0
- package/button/ng-package.json +6 -0
- package/button/public-api.ts +1 -0
- package/button-group/button-group.html +3 -0
- package/button-group/button-group.scss +20 -0
- package/button-group/button-group.ts +12 -0
- package/button-group/ng-package.json +6 -0
- package/button-group/public-api.ts +1 -0
- package/card/card.html +26 -0
- package/card/card.scss +0 -0
- package/card/card.ts +29 -0
- package/card/ng-package.json +6 -0
- package/card/public-api.ts +1 -0
- package/checkbox-field/checkbox-field.html +31 -0
- package/checkbox-field/checkbox-field.scss +0 -0
- package/checkbox-field/checkbox-field.spec.ts +21 -0
- package/checkbox-field/checkbox-field.ts +123 -0
- package/checkbox-field/ng-package.json +6 -0
- package/checkbox-field/public-api.ts +1 -0
- package/chip/chip.html +16 -0
- package/chip/chip.scss +19 -0
- package/chip/chip.ts +45 -0
- package/chip/ng-package.json +6 -0
- package/chip/public-api.ts +1 -0
- package/client-page/client-page.html +232 -0
- package/client-page/client-page.ts +588 -0
- package/client-page/index.ts +2 -0
- package/client-page/ng-package.json +6 -0
- package/client-page/public-api.ts +1 -0
- package/client-page-menu/client-page-menu.html +142 -0
- package/client-page-menu/client-page-menu.ts +199 -0
- package/client-page-menu/index.ts +2 -0
- package/client-page-menu/ng-package.json +6 -0
- package/client-page-menu/public-api.ts +1 -0
- package/color-picker-field/color-picker-field.html +45 -0
- package/color-picker-field/color-picker-field.scss +52 -0
- package/color-picker-field/color-picker-field.ts +131 -0
- package/color-picker-field/ng-package.json +6 -0
- package/color-picker-field/public-api.ts +1 -0
- package/confirmation/confirmation-dialog.html +83 -0
- package/confirmation/confirmation-dialog.scss +0 -0
- package/confirmation/confirmation-dialog.ts +15 -0
- package/confirmation/confirmation.spec.ts +43 -0
- package/confirmation/confirmation.ts +103 -0
- package/confirmation/ng-package.json +6 -0
- package/confirmation/public-api.ts +2 -0
- package/date-field/date-field.html +65 -0
- package/date-field/date-field.scss +0 -0
- package/date-field/date-field.spec.ts +118 -0
- package/date-field/date-field.ts +196 -0
- package/date-field/ng-package.json +6 -0
- package/date-field/public-api.ts +1 -0
- package/dialog/dialog.ts +29 -0
- package/dialog/ng-package.json +6 -0
- package/dialog/public-api.ts +1 -0
- package/drawer/drawer.html +67 -0
- package/drawer/drawer.scss +1 -0
- package/drawer/drawer.ts +348 -0
- package/drawer/ng-package.json +5 -0
- package/drawer/public-api.ts +1 -0
- package/dynamic-drawer/dynamic-drawer-host.ts +476 -0
- package/dynamic-drawer/dynamic-drawer.spec.ts +204 -0
- package/dynamic-drawer/dynamic-drawer.ts +235 -0
- package/dynamic-drawer/ng-package.json +6 -0
- package/dynamic-drawer/public-api.ts +2 -0
- package/editor-field/editor-field.html +38 -0
- package/editor-field/editor-field.scss +219 -0
- package/editor-field/editor-field.ts +126 -0
- package/editor-field/ng-package.json +6 -0
- package/editor-field/public-api.ts +1 -0
- package/empty-state/empty-state.html +236 -0
- package/empty-state/empty-state.ts +85 -0
- package/empty-state/ng-package.json +6 -0
- package/empty-state/public-api.ts +1 -0
- package/entities/comparison/comparison-entity-list/comparison-entity-list.html +87 -0
- package/entities/comparison/comparison-entity-list/comparison-entity-list.ts +93 -0
- package/entities/comparison/comparison-value/comparison-value.html +31 -0
- package/entities/comparison/comparison-value/comparison-value.ts +53 -0
- package/entities/currency-display.utils.spec.ts +94 -0
- package/entities/currency-display.utils.ts +92 -0
- package/entities/entities-manage/entities-manage.html +74 -0
- package/entities/entities-manage/entities-manage.scss +72 -0
- package/entities/entities-manage/entities-manage.ts +121 -0
- package/entities/entities-manage/entities-resize-base.ts +153 -0
- package/entities/entities-preview/entities-preview.css +77 -0
- package/entities/entities-preview/entities-preview.html +56 -0
- package/entities/entities-preview/entities-preview.ts +281 -0
- package/entities/entity-attachment/entity-attachment.html +49 -0
- package/entities/entity-attachment/entity-attachment.ts +462 -0
- package/entities/entity-checkbox/entity-checkbox.html +28 -0
- package/entities/entity-checkbox/entity-checkbox.ts +65 -0
- package/entities/entity-comparison.model.ts +39 -0
- package/entities/entity-connection/entity-connection.html +12 -0
- package/entities/entity-connection/entity-connection.ts +75 -0
- package/entities/entity-currency/entity-currency.html +12 -0
- package/entities/entity-currency/entity-currency.ts +59 -0
- package/entities/entity-date/entity-date.html +16 -0
- package/entities/entity-date/entity-date.ts +50 -0
- package/entities/entity-display.utils.ts +94 -0
- package/entities/entity-field/entity-field.ts +94 -0
- package/entities/entity-leaf-details/entity-leaf-details.html +35 -0
- package/entities/entity-leaf-details/entity-leaf-details.ts +56 -0
- package/entities/entity-location/entity-location.html +34 -0
- package/entities/entity-location/entity-location.ts +98 -0
- package/entities/entity-long-text/entity-long-text.html +9 -0
- package/entities/entity-long-text/entity-long-text.ts +45 -0
- package/entities/entity-lookup/entity-lookup.html +25 -0
- package/entities/entity-lookup/entity-lookup.ts +68 -0
- package/entities/entity-lookup-module-check-list/entity-lookup-module-check-list.html +39 -0
- package/entities/entity-lookup-module-check-list/entity-lookup-module-check-list.spec.ts +148 -0
- package/entities/entity-lookup-module-check-list/entity-lookup-module-check-list.ts +152 -0
- package/entities/entity-percentage/entity-percentage.html +22 -0
- package/entities/entity-percentage/entity-percentage.ts +163 -0
- package/entities/entity-phase-gate/entity-phase-gate.html +20 -0
- package/entities/entity-phase-gate/entity-phase-gate.ts +129 -0
- package/entities/entity-preview/entity-preview-body.html +8 -0
- package/entities/entity-preview/entity-preview-body.ts +19 -0
- package/entities/entity-preview/entity-preview.html +14 -0
- package/entities/entity-preview/entity-preview.ts +33 -0
- package/entities/entity-preview/entity-value-preview.html +62 -0
- package/entities/entity-preview/entity-value-preview.spec.ts +191 -0
- package/entities/entity-preview/entity-value-preview.ts +69 -0
- package/entities/entity-schedule-item/entity-schedule-item.html +19 -0
- package/entities/entity-schedule-item/entity-schedule-item.ts +41 -0
- package/entities/entity-sections.util.ts +103 -0
- package/entities/entity-status/entity-status.html +20 -0
- package/entities/entity-status/entity-status.ts +60 -0
- package/entities/entity-text/entity-text.html +20 -0
- package/entities/entity-text/entity-text.ts +35 -0
- package/entities/entity-user/entity-user.html +181 -0
- package/entities/entity-user/entity-user.ts +179 -0
- package/entities/entity.model.ts +407 -0
- package/entities/leaf-details-display.utils.ts +269 -0
- package/entities/ng-package.json +6 -0
- package/entities/percentage-color.utils.spec.ts +94 -0
- package/entities/percentage-color.utils.ts +80 -0
- package/entities/public-api.ts +30 -0
- package/field-validation/character-limit.validator.ts +22 -0
- package/field-validation/error-message.pipe.spec.ts +184 -0
- package/field-validation/error-message.pipe.ts +80 -0
- package/field-validation/field-validation.ts +168 -0
- package/field-validation/ng-package.json +6 -0
- package/field-validation/public-api.ts +2 -0
- package/formula/formula-editor/formula-editor.html +89 -0
- package/formula/formula-editor/formula-editor.scss +25 -0
- package/formula/formula-editor/formula-editor.ts +467 -0
- package/formula/formula-editor/index.ts +1 -0
- package/formula/formula-editor-code/formula-autocomplete-normalization.util.spec.ts +58 -0
- package/formula/formula-editor-code/formula-autocomplete-normalization.util.ts +64 -0
- package/formula/formula-editor-code/formula-completion-range.util.spec.ts +62 -0
- package/formula/formula-editor-code/formula-completion-range.util.ts +71 -0
- package/formula/formula-editor-code/formula-completion-suggestion.util.spec.ts +23 -0
- package/formula/formula-editor-code/formula-completion-suggestion.util.ts +18 -0
- package/formula/formula-editor-code/formula-editor-code.html +15 -0
- package/formula/formula-editor-code/formula-editor-code.scss +90 -0
- package/formula/formula-editor-code/formula-editor-code.ts +1095 -0
- package/formula/formula-editor-code/index.ts +1 -0
- package/formula/formula-status-bar/formula-status-bar.html +119 -0
- package/formula/formula-status-bar/formula-status-bar.ts +66 -0
- package/formula/formula-status-bar/index.ts +1 -0
- package/formula/formula-toolbar/formula-toolbar.html +361 -0
- package/formula/formula-toolbar/formula-toolbar.ts +532 -0
- package/formula/formula-toolbar/index.ts +2 -0
- package/formula/formula-toolbar/operators.ts +122 -0
- package/formula/models/formula-block.model.ts +61 -0
- package/formula/models/formula-token.model.spec.ts +57 -0
- package/formula/models/formula-token.model.ts +852 -0
- package/formula/models/index.ts +5 -0
- package/formula/models/smart-block.model.ts +132 -0
- package/formula/models/validation-result.model.ts +80 -0
- package/formula/ng-package.json +6 -0
- package/formula/public-api.ts +8 -0
- package/formula/runtime/formula-runtime-catalogs.ts +554 -0
- package/formula/runtime/formula-runtime-engine.spec.ts +328 -0
- package/formula/runtime/formula-runtime-engine.ts +794 -0
- package/formula/runtime/formula-runtime.model.ts +53 -0
- package/formula/runtime/index.ts +3 -0
- package/formula/toolbar-item/index.ts +1 -0
- package/formula/toolbar-item/toolbar-item.html +143 -0
- package/formula/toolbar-item/toolbar-item.scss +14 -0
- package/formula/toolbar-item/toolbar-item.ts +223 -0
- package/icon-field/icon-field.html +58 -0
- package/icon-field/icon-field.scss +24 -0
- package/icon-field/icon-field.spec.ts +77 -0
- package/icon-field/icon-field.ts +205 -0
- package/icon-field/ng-package.json +6 -0
- package/icon-field/public-api.ts +1 -0
- package/list/list.html +22 -0
- package/list/list.ts +36 -0
- package/list/ng-package.json +6 -0
- package/list/public-api.ts +1 -0
- package/location-field/location-field.html +86 -0
- package/location-field/location-field.spec.ts +295 -0
- package/location-field/location-field.ts +662 -0
- package/location-field/location-manual-dialog.html +43 -0
- package/location-field/location-manual-dialog.ts +104 -0
- package/location-field/location-value.ts +67 -0
- package/location-field/ng-package.json +6 -0
- package/location-field/public-api.ts +3 -0
- package/menu/menu.html +71 -0
- package/menu/menu.scss +3 -0
- package/menu/menu.ts +186 -0
- package/menu/ng-package.json +6 -0
- package/menu/public-api.ts +1 -0
- package/modal/modal.ts +127 -0
- package/modal/ng-package.json +6 -0
- package/modal/public-api.ts +1 -0
- package/module-summary-card/module-summary-card.html +43 -0
- package/module-summary-card/module-summary-card.scss +0 -0
- package/module-summary-card/module-summary-card.ts +40 -0
- package/module-summary-card/ng-package.json +6 -0
- package/module-summary-card/public-api.ts +1 -0
- package/multi-select-field/multi-select-field.html +140 -0
- package/multi-select-field/multi-select-field.scss +0 -0
- package/multi-select-field/multi-select-field.spec.ts +21 -0
- package/multi-select-field/multi-select-field.ts +397 -0
- package/multi-select-field/ng-package.json +6 -0
- package/multi-select-field/public-api.ts +1 -0
- package/ng-package.json +9 -0
- package/number-field/ng-package.json +6 -0
- package/number-field/number-field.html +39 -0
- package/number-field/number-field.scss +8 -0
- package/number-field/number-field.spec.ts +21 -0
- package/number-field/number-field.ts +124 -0
- package/number-field/public-api.ts +1 -0
- package/package.json +54 -278
- package/page/index.ts +1 -0
- package/page/ng-package.json +6 -0
- package/page/page.html +37 -0
- package/page/page.ts +43 -0
- package/page/public-api.ts +1 -0
- package/page-header/index.ts +2 -0
- package/page-header/ng-package.json +6 -0
- package/page-header/page-header.html +60 -0
- package/page-header/page-header.ts +54 -0
- package/page-header/public-api.ts +1 -0
- package/paginator/ng-package.json +6 -0
- package/paginator/paginator.html +50 -0
- package/paginator/paginator.scss +0 -0
- package/paginator/paginator.ts +53 -0
- package/paginator/public-api.ts +1 -0
- package/pick-list-field/ng-package.json +6 -0
- package/pick-list-field/pick-list-field.html +39 -0
- package/pick-list-field/pick-list-field.scss +26 -0
- package/pick-list-field/pick-list-field.ts +259 -0
- package/pick-list-field/public-api.ts +1 -0
- package/progress/ng-package.json +6 -0
- package/progress/progress.html +36 -0
- package/progress/progress.ts +61 -0
- package/progress/public-api.ts +1 -0
- package/property-filter-builder/ng-package.json +6 -0
- package/property-filter-builder/property-filter-builder.html +192 -0
- package/property-filter-builder/property-filter-builder.ts +548 -0
- package/property-filter-builder/public-api.ts +1 -0
- package/radio-button-field/ng-package.json +6 -0
- package/radio-button-field/public-api.ts +1 -0
- package/radio-button-field/radio-button-field.html +44 -0
- package/radio-button-field/radio-button-field.scss +0 -0
- package/radio-button-field/radio-button-field.ts +114 -0
- package/radio-cards/ng-package.json +6 -0
- package/radio-cards/public-api.ts +1 -0
- package/radio-cards/radio-cards.css +3 -0
- package/radio-cards/radio-cards.html +54 -0
- package/radio-cards/radio-cards.spec.ts +22 -0
- package/radio-cards/radio-cards.ts +92 -0
- package/radio-cards-field/ng-package.json +6 -0
- package/radio-cards-field/public-api.ts +1 -0
- package/radio-cards-field/radio-cards-field.css +0 -0
- package/radio-cards-field/radio-cards-field.html +38 -0
- package/radio-cards-field/radio-cards-field.spec.ts +22 -0
- package/radio-cards-field/radio-cards-field.ts +182 -0
- package/runtime-action/ng-package.json +6 -0
- package/runtime-action/payload-builder.ts +246 -0
- package/runtime-action/public-api.ts +4 -0
- package/runtime-action/runtime-action-context.store.ts +26 -0
- package/runtime-action/runtime-action.runner.ts +302 -0
- package/runtime-action/runtime-action.types.ts +82 -0
- package/select-field/current-user.util.ts +54 -0
- package/select-field/ng-package.json +6 -0
- package/select-field/public-api.ts +1 -0
- package/select-field/select-field.html +142 -0
- package/select-field/select-field.scss +0 -0
- package/select-field/select-field.spec.ts +21 -0
- package/select-field/select-field.ts +471 -0
- package/sidebar/ng-package.json +6 -0
- package/sidebar/public-api.ts +1 -0
- package/sidebar/sidebar.html +368 -0
- package/sidebar/sidebar.ts +303 -0
- package/slider-field/ng-package.json +7 -0
- package/slider-field/public-api.ts +1 -0
- package/slider-field/slider-field.html +33 -0
- package/slider-field/slider-field.scss +11 -0
- package/slider-field/slider-field.spec.ts +44 -0
- package/slider-field/slider-field.ts +166 -0
- package/src/lib/base/base.facade.ts +159 -0
- package/src/lib/base/crud-base.state.ts +248 -0
- package/src/lib/config/date-format.config.ts +55 -0
- package/src/lib/config/ds-identity.preset.ts +538 -0
- package/src/lib/config/ds-identity.tokens.ts +209 -0
- package/src/lib/config/dynamic-form.model.ts +1162 -0
- package/src/lib/config/povide-messages.ts +5 -0
- package/src/lib/config/provide-confirmation.ts +5 -0
- package/src/lib/config/providemt.ts +506 -0
- package/src/lib/config/public-api.ts +0 -0
- package/src/lib/pipes/mt-date-format.pipe.spec.ts +60 -0
- package/src/lib/pipes/mt-date-format.pipe.ts +81 -0
- package/src/lib/utils/api-request.helper.ts +59 -0
- package/src/lib/utils/clock-time.util.ts +58 -0
- package/src/lib/utils/color.utils.ts +187 -0
- package/src/lib/utils/entity-adapter.ts +50 -0
- package/src/lib/utils/field-id.ts +42 -0
- package/src/lib/utils/http-context.ts +35 -0
- package/src/lib/utils/inputs.ts +6 -0
- package/src/lib/utils/state-helpers.ts +49 -0
- package/src/lib/utils/theme.ts +281 -0
- package/src/public-api.ts +30 -0
- package/statistic-card/ng-package.json +6 -0
- package/statistic-card/public-api.ts +1 -0
- package/statistic-card/statistic-card.html +31 -0
- package/statistic-card/statistic-card.scss +0 -0
- package/statistic-card/statistic-card.ts +59 -0
- package/table/ng-package.json +7 -0
- package/table/public-api.ts +10 -0
- package/table/table-actions-menu/public-api.ts +1 -0
- package/table/table-actions-menu/table-actions-menu.html +75 -0
- package/table/table-actions-menu/table-actions-menu.ts +171 -0
- package/table/table-caption/public-api.ts +1 -0
- package/table/table-caption/table-caption.html +118 -0
- package/table/table-caption/table-caption.ts +221 -0
- package/table/table-column-filter/public-api.ts +1 -0
- package/table/table-column-filter/table-column-filter.html +44 -0
- package/table/table-column-filter/table-column-filter.ts +106 -0
- package/table/table-export/html-to-text.util.ts +67 -0
- package/table/table-export/public-api.ts +1 -0
- package/table/table-export/table-export.service.spec.ts +186 -0
- package/table/table-export/table-export.service.ts +325 -0
- package/table/table-filter/public-api.ts +1 -0
- package/table/table-filter/table-filter.css +9 -0
- package/table/table-filter/table-filter.html +63 -0
- package/table/table-filter/table-filter.ts +126 -0
- package/table/table-filter-field/public-api.ts +1 -0
- package/table/table-filter-field/table-filter-field.html +182 -0
- package/table/table-filter-field/table-filter-field.ts +208 -0
- package/table/table-grouping/public-api.ts +1 -0
- package/table/table-grouping/table-grouping.spec.ts +218 -0
- package/table/table-grouping/table-grouping.ts +237 -0
- package/table/table-types.ts +242 -0
- package/table/table-value.utils.spec.ts +63 -0
- package/table/table-value.utils.ts +1014 -0
- package/table/table.css +145 -0
- package/table/table.html +572 -0
- package/table/table.ts +2042 -0
- package/tabs/ng-package.json +6 -0
- package/tabs/public-api.ts +1 -0
- package/tabs/tabs.html +417 -0
- package/tabs/tabs.scss +3 -0
- package/tabs/tabs.spec.ts +79 -0
- package/tabs/tabs.ts +397 -0
- package/text-field/ng-package.json +6 -0
- package/text-field/public-api.ts +1 -0
- package/text-field/text-field.html +75 -0
- package/text-field/text-field.scss +56 -0
- package/text-field/text-field.ts +251 -0
- package/textarea-field/ng-package.json +6 -0
- package/textarea-field/public-api.ts +1 -0
- package/textarea-field/textarea-field.html +37 -0
- package/textarea-field/textarea-field.scss +0 -0
- package/textarea-field/textarea-field.spec.ts +21 -0
- package/textarea-field/textarea-field.ts +169 -0
- package/toast/ng-package.json +6 -0
- package/toast/public-api.ts +2 -0
- package/toast/toast.html +18 -0
- package/toast/toast.service.ts +67 -0
- package/toast/toast.ts +21 -0
- package/toggle-field/ng-package.json +6 -0
- package/toggle-field/public-api.ts +1 -0
- package/toggle-field/toggle-field.html +78 -0
- package/toggle-field/toggle-field.scss +24 -0
- package/toggle-field/toggle-field.ts +150 -0
- package/tooltip/ng-package.json +6 -0
- package/tooltip/public-api.ts +2 -0
- package/tooltip/tooltip.ts +30 -0
- package/tooltip/truncate-tooltip.ts +124 -0
- package/topbar/ng-package.json +6 -0
- package/topbar/public-api.ts +1 -0
- package/topbar/topbar.html +52 -0
- package/topbar/topbar.ts +27 -0
- package/tree/ng-package.json +6 -0
- package/tree/public-api.ts +2 -0
- package/tree/tree-types.ts +55 -0
- package/tree/tree.html +126 -0
- package/tree/tree.scss +1 -0
- package/tree/tree.ts +303 -0
- package/treeselect-field/ng-package.json +6 -0
- package/treeselect-field/public-api.ts +1 -0
- package/treeselect-field/treeselect-field.html +71 -0
- package/treeselect-field/treeselect-field.ts +348 -0
- package/tsconfig.check.json +20 -0
- package/tsconfig.json +16 -0
- package/tsconfig.spec.json +24 -0
- package/upload-field/ng-package.json +6 -0
- package/upload-field/public-api.ts +2 -0
- package/upload-field/secure-image.pipe.ts +258 -0
- package/upload-field/upload-field.html +274 -0
- package/upload-field/upload-field.scss +0 -0
- package/upload-field/upload-field.spec.ts +169 -0
- package/upload-field/upload-field.ts +764 -0
- package/upload-field/upload-file-preview/upload-file-preview.html +41 -0
- package/upload-field/upload-file-preview/upload-file-preview.scss +0 -0
- package/upload-field/upload-file-preview/upload-file-preview.ts +57 -0
- package/upload-field/upload-user-preview/upload-user-preview.css +0 -0
- package/upload-field/upload-user-preview/upload-user-preview.html +73 -0
- package/upload-field/upload-user-preview/upload-user-preview.ts +54 -0
- package/uploader/ng-package.json +6 -0
- package/uploader/public-api.ts +1 -0
- package/uploader/uploader.service.spec.ts +271 -0
- package/uploader/uploader.service.ts +733 -0
- package/user-search-field/ng-package.json +6 -0
- package/user-search-field/public-api.ts +1 -0
- package/user-search-field/user-search-field.html +88 -0
- package/user-search-field/user-search-field.scss +4 -0
- package/user-search-field/user-search-field.spec.ts +176 -0
- package/user-search-field/user-search-field.ts +483 -0
- package/fesm2022/masterteam-components-avatar-text.mjs +0 -46
- package/fesm2022/masterteam-components-avatar-text.mjs.map +0 -1
- package/fesm2022/masterteam-components-avatar.mjs +0 -50
- package/fesm2022/masterteam-components-avatar.mjs.map +0 -1
- package/fesm2022/masterteam-components-breadcrumb.mjs +0 -27
- package/fesm2022/masterteam-components-breadcrumb.mjs.map +0 -1
- package/fesm2022/masterteam-components-business-fields.mjs +0 -1907
- package/fesm2022/masterteam-components-business-fields.mjs.map +0 -1
- package/fesm2022/masterteam-components-button-group.mjs +0 -20
- package/fesm2022/masterteam-components-button-group.mjs.map +0 -1
- package/fesm2022/masterteam-components-button.mjs +0 -82
- package/fesm2022/masterteam-components-button.mjs.map +0 -1
- package/fesm2022/masterteam-components-card.mjs +0 -28
- package/fesm2022/masterteam-components-card.mjs.map +0 -1
- package/fesm2022/masterteam-components-checkbox-field.mjs +0 -92
- package/fesm2022/masterteam-components-checkbox-field.mjs.map +0 -1
- package/fesm2022/masterteam-components-chip.mjs +0 -39
- package/fesm2022/masterteam-components-chip.mjs.map +0 -1
- package/fesm2022/masterteam-components-client-page-menu.mjs +0 -153
- package/fesm2022/masterteam-components-client-page-menu.mjs.map +0 -1
- package/fesm2022/masterteam-components-client-page.mjs +0 -413
- package/fesm2022/masterteam-components-client-page.mjs.map +0 -1
- package/fesm2022/masterteam-components-color-picker-field.mjs +0 -106
- package/fesm2022/masterteam-components-color-picker-field.mjs.map +0 -1
- package/fesm2022/masterteam-components-confirmation.mjs +0 -98
- package/fesm2022/masterteam-components-confirmation.mjs.map +0 -1
- package/fesm2022/masterteam-components-date-field.mjs +0 -158
- package/fesm2022/masterteam-components-date-field.mjs.map +0 -1
- package/fesm2022/masterteam-components-dialog.mjs +0 -33
- package/fesm2022/masterteam-components-dialog.mjs.map +0 -1
- package/fesm2022/masterteam-components-drawer.mjs +0 -268
- package/fesm2022/masterteam-components-drawer.mjs.map +0 -1
- package/fesm2022/masterteam-components-dynamic-drawer.mjs +0 -608
- package/fesm2022/masterteam-components-dynamic-drawer.mjs.map +0 -1
- package/fesm2022/masterteam-components-editor-field.mjs +0 -103
- package/fesm2022/masterteam-components-editor-field.mjs.map +0 -1
- package/fesm2022/masterteam-components-empty-state.mjs +0 -53
- package/fesm2022/masterteam-components-empty-state.mjs.map +0 -1
- package/fesm2022/masterteam-components-entities.mjs +0 -2183
- package/fesm2022/masterteam-components-entities.mjs.map +0 -1
- package/fesm2022/masterteam-components-field-validation.mjs +0 -237
- package/fesm2022/masterteam-components-field-validation.mjs.map +0 -1
- package/fesm2022/masterteam-components-formula.mjs +0 -3848
- package/fesm2022/masterteam-components-formula.mjs.map +0 -1
- package/fesm2022/masterteam-components-icon-field.mjs +0 -158
- package/fesm2022/masterteam-components-icon-field.mjs.map +0 -1
- package/fesm2022/masterteam-components-list.mjs +0 -31
- package/fesm2022/masterteam-components-list.mjs.map +0 -1
- package/fesm2022/masterteam-components-location-field.mjs +0 -607
- package/fesm2022/masterteam-components-location-field.mjs.map +0 -1
- package/fesm2022/masterteam-components-menu.mjs +0 -135
- package/fesm2022/masterteam-components-menu.mjs.map +0 -1
- package/fesm2022/masterteam-components-modal.mjs +0 -108
- package/fesm2022/masterteam-components-modal.mjs.map +0 -1
- package/fesm2022/masterteam-components-module-summary-card.mjs +0 -34
- package/fesm2022/masterteam-components-module-summary-card.mjs.map +0 -1
- package/fesm2022/masterteam-components-multi-select-field.mjs +0 -321
- package/fesm2022/masterteam-components-multi-select-field.mjs.map +0 -1
- package/fesm2022/masterteam-components-number-field.mjs +0 -102
- package/fesm2022/masterteam-components-number-field.mjs.map +0 -1
- package/fesm2022/masterteam-components-page-header.mjs +0 -42
- package/fesm2022/masterteam-components-page-header.mjs.map +0 -1
- package/fesm2022/masterteam-components-page.mjs +0 -35
- package/fesm2022/masterteam-components-page.mjs.map +0 -1
- package/fesm2022/masterteam-components-paginator.mjs +0 -43
- package/fesm2022/masterteam-components-paginator.mjs.map +0 -1
- package/fesm2022/masterteam-components-pick-list-field.mjs +0 -210
- package/fesm2022/masterteam-components-pick-list-field.mjs.map +0 -1
- package/fesm2022/masterteam-components-progress.mjs +0 -63
- package/fesm2022/masterteam-components-progress.mjs.map +0 -1
- package/fesm2022/masterteam-components-property-filter-builder.mjs +0 -386
- package/fesm2022/masterteam-components-property-filter-builder.mjs.map +0 -1
- package/fesm2022/masterteam-components-radio-button-field.mjs +0 -85
- package/fesm2022/masterteam-components-radio-button-field.mjs.map +0 -1
- package/fesm2022/masterteam-components-radio-cards-field.mjs +0 -131
- package/fesm2022/masterteam-components-radio-cards-field.mjs.map +0 -1
- package/fesm2022/masterteam-components-radio-cards.mjs +0 -74
- package/fesm2022/masterteam-components-radio-cards.mjs.map +0 -1
- package/fesm2022/masterteam-components-runtime-action.mjs +0 -406
- package/fesm2022/masterteam-components-runtime-action.mjs.map +0 -1
- package/fesm2022/masterteam-components-select-field.mjs +0 -415
- package/fesm2022/masterteam-components-select-field.mjs.map +0 -1
- package/fesm2022/masterteam-components-sidebar.mjs +0 -155
- package/fesm2022/masterteam-components-sidebar.mjs.map +0 -1
- package/fesm2022/masterteam-components-slider-field.mjs +0 -128
- package/fesm2022/masterteam-components-slider-field.mjs.map +0 -1
- package/fesm2022/masterteam-components-statistic-card.mjs +0 -42
- package/fesm2022/masterteam-components-statistic-card.mjs.map +0 -1
- package/fesm2022/masterteam-components-table.mjs +0 -3372
- package/fesm2022/masterteam-components-table.mjs.map +0 -1
- package/fesm2022/masterteam-components-tabs.mjs +0 -289
- package/fesm2022/masterteam-components-tabs.mjs.map +0 -1
- package/fesm2022/masterteam-components-text-field.mjs +0 -202
- package/fesm2022/masterteam-components-text-field.mjs.map +0 -1
- package/fesm2022/masterteam-components-textarea-field.mjs +0 -126
- package/fesm2022/masterteam-components-textarea-field.mjs.map +0 -1
- package/fesm2022/masterteam-components-toast.mjs +0 -80
- package/fesm2022/masterteam-components-toast.mjs.map +0 -1
- package/fesm2022/masterteam-components-toggle-field.mjs +0 -116
- package/fesm2022/masterteam-components-toggle-field.mjs.map +0 -1
- package/fesm2022/masterteam-components-tooltip.mjs +0 -147
- package/fesm2022/masterteam-components-tooltip.mjs.map +0 -1
- package/fesm2022/masterteam-components-topbar.mjs +0 -32
- package/fesm2022/masterteam-components-topbar.mjs.map +0 -1
- package/fesm2022/masterteam-components-tree.mjs +0 -260
- package/fesm2022/masterteam-components-tree.mjs.map +0 -1
- package/fesm2022/masterteam-components-treeselect-field.mjs +0 -265
- package/fesm2022/masterteam-components-treeselect-field.mjs.map +0 -1
- package/fesm2022/masterteam-components-upload-field.mjs +0 -846
- package/fesm2022/masterteam-components-upload-field.mjs.map +0 -1
- package/fesm2022/masterteam-components-uploader.mjs +0 -425
- package/fesm2022/masterteam-components-uploader.mjs.map +0 -1
- package/fesm2022/masterteam-components-user-search-field.mjs +0 -374
- package/fesm2022/masterteam-components-user-search-field.mjs.map +0 -1
- package/fesm2022/masterteam-components.mjs +0 -2512
- package/fesm2022/masterteam-components.mjs.map +0 -1
- package/types/masterteam-components-avatar-text.d.ts +0 -23
- package/types/masterteam-components-avatar.d.ts +0 -23
- package/types/masterteam-components-breadcrumb.d.ts +0 -18
- package/types/masterteam-components-business-fields.d.ts +0 -675
- package/types/masterteam-components-button-group.d.ts +0 -8
- package/types/masterteam-components-button.d.ts +0 -62
- package/types/masterteam-components-card.d.ts +0 -14
- package/types/masterteam-components-checkbox-field.d.ts +0 -38
- package/types/masterteam-components-chip.d.ts +0 -21
- package/types/masterteam-components-client-page-menu.d.ts +0 -55
- package/types/masterteam-components-client-page.d.ts +0 -115
- package/types/masterteam-components-color-picker-field.d.ts +0 -39
- package/types/masterteam-components-confirmation.d.ts +0 -41
- package/types/masterteam-components-date-field.d.ts +0 -57
- package/types/masterteam-components-dialog.d.ts +0 -12
- package/types/masterteam-components-drawer.d.ts +0 -62
- package/types/masterteam-components-dynamic-drawer.d.ts +0 -159
- package/types/masterteam-components-editor-field.d.ts +0 -39
- package/types/masterteam-components-empty-state.d.ts +0 -47
- package/types/masterteam-components-entities.d.ts +0 -1102
- package/types/masterteam-components-field-validation.d.ts +0 -59
- package/types/masterteam-components-formula.d.ts +0 -759
- package/types/masterteam-components-icon-field.d.ts +0 -44
- package/types/masterteam-components-list.d.ts +0 -18
- package/types/masterteam-components-location-field.d.ts +0 -173
- package/types/masterteam-components-menu.d.ts +0 -55
- package/types/masterteam-components-modal.d.ts +0 -30
- package/types/masterteam-components-module-summary-card.d.ts +0 -18
- package/types/masterteam-components-multi-select-field.d.ts +0 -104
- package/types/masterteam-components-number-field.d.ts +0 -47
- package/types/masterteam-components-page-header.d.ts +0 -30
- package/types/masterteam-components-page.d.ts +0 -26
- package/types/masterteam-components-paginator.d.ts +0 -20
- package/types/masterteam-components-pick-list-field.d.ts +0 -65
- package/types/masterteam-components-progress.d.ts +0 -30
- package/types/masterteam-components-property-filter-builder.d.ts +0 -90
- package/types/masterteam-components-radio-button-field.d.ts +0 -41
- package/types/masterteam-components-radio-cards-field.d.ts +0 -39
- package/types/masterteam-components-radio-cards.d.ts +0 -33
- package/types/masterteam-components-runtime-action.d.ts +0 -105
- package/types/masterteam-components-select-field.d.ts +0 -136
- package/types/masterteam-components-sidebar.d.ts +0 -71
- package/types/masterteam-components-slider-field.d.ts +0 -41
- package/types/masterteam-components-statistic-card.d.ts +0 -28
- package/types/masterteam-components-table.d.ts +0 -937
- package/types/masterteam-components-tabs.d.ts +0 -80
- package/types/masterteam-components-text-field.d.ts +0 -60
- package/types/masterteam-components-textarea-field.d.ts +0 -45
- package/types/masterteam-components-toast.d.ts +0 -27
- package/types/masterteam-components-toggle-field.d.ts +0 -44
- package/types/masterteam-components-tooltip.d.ts +0 -26
- package/types/masterteam-components-topbar.d.ts +0 -20
- package/types/masterteam-components-tree.d.ts +0 -106
- package/types/masterteam-components-treeselect-field.d.ts +0 -79
- package/types/masterteam-components-upload-field.d.ts +0 -112
- package/types/masterteam-components-uploader.d.ts +0 -53
- package/types/masterteam-components-user-search-field.d.ts +0 -110
- package/types/masterteam-components.d.ts +0 -1261
|
@@ -1,937 +0,0 @@
|
|
|
1
|
-
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { TemplateRef, Signal, WritableSignal } from '@angular/core';
|
|
3
|
-
import { MTIcon } from '@masterteam/icons';
|
|
4
|
-
import { ConfirmationConfig, ConfirmationService } from '@masterteam/components/confirmation';
|
|
5
|
-
import * as primeng_api from 'primeng/api';
|
|
6
|
-
import { TreeNode, MenuItem } from 'primeng/api';
|
|
7
|
-
import { TranslocoService } from '@jsverse/transloco';
|
|
8
|
-
import { TablePageEvent } from 'primeng/table';
|
|
9
|
-
import { EntityData, EntityViewType } from '@masterteam/components/entities';
|
|
10
|
-
import { ControlValueAccessor } from '@angular/forms';
|
|
11
|
-
import { Popover } from 'primeng/popover';
|
|
12
|
-
import { TieredMenu } from 'primeng/tieredmenu';
|
|
13
|
-
|
|
14
|
-
/**
|
|
15
|
-
* Table action confirmation config with optional event
|
|
16
|
-
*/
|
|
17
|
-
type TableActionConfirmationConfig = Omit<ConfirmationConfig, 'event'> & {
|
|
18
|
-
event?: Event;
|
|
19
|
-
confirmationType?: 'delete';
|
|
20
|
-
};
|
|
21
|
-
/**
|
|
22
|
-
* Defines the options for a select filter.
|
|
23
|
-
*/
|
|
24
|
-
interface FilterOption {
|
|
25
|
-
label: string;
|
|
26
|
-
value: any;
|
|
27
|
-
}
|
|
28
|
-
/**
|
|
29
|
-
* Configuration for filtering on a specific column.
|
|
30
|
-
*/
|
|
31
|
-
interface FilterConfig {
|
|
32
|
-
type: 'text' | 'select' | 'userSelect' | 'treeSelect' | 'date' | 'boolean' | 'user' | 'numberRange';
|
|
33
|
-
label?: string;
|
|
34
|
-
options?: FilterOption[];
|
|
35
|
-
treeOptions?: TreeNode[];
|
|
36
|
-
/**
|
|
37
|
-
* Controls multi-select behaviour for `select` / `userSelect` filters.
|
|
38
|
-
* Defaults to `true` — opt out with `multiple: false` for a single-select.
|
|
39
|
-
* The stored filter value is an array; rows match if the cell value matches
|
|
40
|
-
* *any* selected entry.
|
|
41
|
-
*/
|
|
42
|
-
multiple?: boolean;
|
|
43
|
-
[key: string]: unknown;
|
|
44
|
-
}
|
|
45
|
-
/**
|
|
46
|
-
* Filter value for date range, numeric range, or simple value
|
|
47
|
-
*/
|
|
48
|
-
interface FilterValue {
|
|
49
|
-
value?: any;
|
|
50
|
-
from?: Date | number | null;
|
|
51
|
-
to?: Date | number | null;
|
|
52
|
-
}
|
|
53
|
-
interface TableStatusMapValue {
|
|
54
|
-
display?: string;
|
|
55
|
-
color?: string;
|
|
56
|
-
description?: string;
|
|
57
|
-
}
|
|
58
|
-
/**
|
|
59
|
-
* Table filters map
|
|
60
|
-
*/
|
|
61
|
-
type TableFilters = Record<string, FilterValue | any>;
|
|
62
|
-
/**
|
|
63
|
-
* Column type definition
|
|
64
|
-
*/
|
|
65
|
-
type ColumnType = 'text' | 'number' | 'boolean' | 'date' | 'dateTime' | 'user' | 'status' | 'entity' | 'custom';
|
|
66
|
-
/**
|
|
67
|
-
* Event emitted when a cell value changes
|
|
68
|
-
*/
|
|
69
|
-
interface CellChangeEvent {
|
|
70
|
-
row: any;
|
|
71
|
-
column: string;
|
|
72
|
-
value: any;
|
|
73
|
-
type: ColumnTypeForActionCell;
|
|
74
|
-
}
|
|
75
|
-
type ColumnTypeForActionCell = 'boolean';
|
|
76
|
-
type TableActionShape = 'flat' | 'popover';
|
|
77
|
-
type TableActionPlacement = 'menu' | 'inline';
|
|
78
|
-
/**
|
|
79
|
-
* Filter UX mode for a table.
|
|
80
|
-
*
|
|
81
|
-
* - `popover`: single top-right funnel button opening a form with every filter.
|
|
82
|
-
* - `column`: per-column funnel icon next to each filterable header.
|
|
83
|
-
*
|
|
84
|
-
* Add new modes here + a matching branch in the table header template.
|
|
85
|
-
*/
|
|
86
|
-
type TableFilterMode = 'popover' | 'column';
|
|
87
|
-
/**
|
|
88
|
-
* Keys that can be excluded from mt-table storage persistence.
|
|
89
|
-
*
|
|
90
|
-
* - `pageSize`: selected rows-per-page value.
|
|
91
|
-
* - `pagePosition`: current page / first row offset.
|
|
92
|
-
* - `sort`: sort field and direction.
|
|
93
|
-
* - `selection`: selected row keys.
|
|
94
|
-
* - `groupBy`: active grouped column.
|
|
95
|
-
*/
|
|
96
|
-
type TablePersistStateKey = 'pageSize' | 'pagePosition' | 'sort' | 'selection' | 'groupBy';
|
|
97
|
-
/**
|
|
98
|
-
* Injected value resolver for export/print — caller decides how a cell value
|
|
99
|
-
* becomes a scalar for Excel/PDF output. Keeps TableExportService
|
|
100
|
-
* schema-agnostic (open/closed for new column types).
|
|
101
|
-
*/
|
|
102
|
-
type TableExportValueResolver = (row: unknown, column: ColumnDef) => string | number | boolean | null;
|
|
103
|
-
interface TableExportConfig {
|
|
104
|
-
rows: any[];
|
|
105
|
-
columns: ColumnDef[];
|
|
106
|
-
filename: string;
|
|
107
|
-
resolveValue: TableExportValueResolver;
|
|
108
|
-
}
|
|
109
|
-
interface TablePrintConfig extends TableExportConfig {
|
|
110
|
-
title?: string;
|
|
111
|
-
}
|
|
112
|
-
interface ColumnDef {
|
|
113
|
-
key: string;
|
|
114
|
-
label: string;
|
|
115
|
-
type?: ColumnType;
|
|
116
|
-
customCellTpl?: TemplateRef<any>;
|
|
117
|
-
filterConfig?: FilterConfig;
|
|
118
|
-
statusMap?: Record<string, TableStatusMapValue>;
|
|
119
|
-
sortable?: boolean;
|
|
120
|
-
/**
|
|
121
|
-
* Overrides whether the column is offered in the row-group picker. By default
|
|
122
|
-
* only low-cardinality columns (select / boolean / user filters) are offered,
|
|
123
|
-
* because unique-valued columns would produce one group per row. Set `true`
|
|
124
|
-
* to opt a column in anyway — use it when the backend orders the result set
|
|
125
|
-
* so equal values arrive contiguously (e.g. a Work Center "Level Name"
|
|
126
|
-
* column sorted server-side). Set `false` to opt a column out entirely.
|
|
127
|
-
*/
|
|
128
|
-
groupable?: boolean;
|
|
129
|
-
/**
|
|
130
|
-
* Dotted path to the row field holding this column's *group identity*, used
|
|
131
|
-
* instead of the rendered label when bucketing rows. Set it when the visible
|
|
132
|
-
* label is ambiguous — two records may share a display name but must stay
|
|
133
|
-
* separate groups (the backend's stable id), or several distinct ids must
|
|
134
|
-
* collapse into one group. An empty / missing value at that path puts the row
|
|
135
|
-
* in the shared "no value" group.
|
|
136
|
-
*/
|
|
137
|
-
groupKey?: string;
|
|
138
|
-
/**
|
|
139
|
-
* Whether the group header prefixes the value with this column's label
|
|
140
|
-
* ("Status · Active"). Defaults to `true`. Turn it off when the value already
|
|
141
|
-
* names itself — a project or person reads fine on its own, and the prefix is
|
|
142
|
-
* just noise repeated down the page.
|
|
143
|
-
*/
|
|
144
|
-
showGroupColumnLabel?: boolean;
|
|
145
|
-
readonly?: boolean;
|
|
146
|
-
width?: string;
|
|
147
|
-
/**
|
|
148
|
-
* Horizontal alignment of the header and its cells. Defaults to `end` for
|
|
149
|
-
* `number` columns and `start` for everything else.
|
|
150
|
-
*
|
|
151
|
-
* Left-aligned numbers cannot be compared by scanning, because the digits do
|
|
152
|
-
* not line up (finding M-05) — set `align: 'end'` on any column that renders
|
|
153
|
-
* a figure through a `custom` or `entity` cell, where the table cannot infer
|
|
154
|
-
* it from the type.
|
|
155
|
-
*/
|
|
156
|
-
align?: 'start' | 'center' | 'end';
|
|
157
|
-
/**
|
|
158
|
-
* Whether the column shrinks to its content instead of taking a share of the
|
|
159
|
-
* leftover width. Defaults to `true` for the fixed-shape types (`date`,
|
|
160
|
-
* `dateTime`, `boolean`, `number`, `user`, `status`) so a ten-character date
|
|
161
|
-
* stops being handed 440px while the title column is squeezed. Set `false` to
|
|
162
|
-
* opt a fixed-shape column back into absorbing width.
|
|
163
|
-
*/
|
|
164
|
-
shrink?: boolean;
|
|
165
|
-
filterOnly?: boolean;
|
|
166
|
-
/**
|
|
167
|
-
* Opts a `custom` column into export/print. Custom columns are excluded by
|
|
168
|
-
* default because their template may render purely visual content with no
|
|
169
|
-
* scalar value. Set this when the underlying cell value is still meaningful
|
|
170
|
-
* (e.g. an entity/count rendered as a styled badge) so it appears in Excel/PDF.
|
|
171
|
-
* No effect on non-custom columns (those export unless `filterOnly`).
|
|
172
|
-
*/
|
|
173
|
-
exportable?: boolean;
|
|
174
|
-
/**
|
|
175
|
-
* Overrides the exported/printed scalar for this column. When provided it wins
|
|
176
|
-
* over the default type-based resolution — use it for `custom` columns whose
|
|
177
|
-
* cell value isn't trivially resolvable, or to format any column's export value.
|
|
178
|
-
*/
|
|
179
|
-
exportValue?: (row: any) => string | number | boolean | null;
|
|
180
|
-
}
|
|
181
|
-
interface TableAction {
|
|
182
|
-
icon?: MTIcon | undefined;
|
|
183
|
-
color?: 'info' | 'success' | 'warn' | 'danger' | 'secondary' | 'contrast' | 'help' | 'primary';
|
|
184
|
-
variant?: 'text' | 'outlined' | undefined;
|
|
185
|
-
size?: 'small' | 'large' | undefined;
|
|
186
|
-
/**
|
|
187
|
-
* In popover action mode, `inline` actions render as direct icon buttons
|
|
188
|
-
* before the three-dot menu. Defaults to `menu`.
|
|
189
|
-
*/
|
|
190
|
-
placement?: TableActionPlacement;
|
|
191
|
-
label?: string;
|
|
192
|
-
tooltip?: string;
|
|
193
|
-
hidden?: (row: any) => boolean;
|
|
194
|
-
action: (row: any) => void;
|
|
195
|
-
loading?: boolean | ((row: any) => boolean);
|
|
196
|
-
confirmation?: TableActionConfirmationConfig;
|
|
197
|
-
}
|
|
198
|
-
|
|
199
|
-
/** Bucket every row whose grouped value is missing/empty falls into. */
|
|
200
|
-
declare const EMPTY_GROUP_KEY = "__mt_group_empty__";
|
|
201
|
-
/**
|
|
202
|
-
* Pure controller owning all row-grouping concerns. Table instantiates one and
|
|
203
|
-
* binds its signals — keeps grouping logic out of table.ts.
|
|
204
|
-
*
|
|
205
|
-
* PrimeNG's subheader grouping renders only when `sortField === groupRowsBy`.
|
|
206
|
-
* `setGroup` therefore also pins the sort to the grouped column; clearing the
|
|
207
|
-
* group leaves the user's sort untouched.
|
|
208
|
-
*/
|
|
209
|
-
declare class TableGroupingController {
|
|
210
|
-
private readonly columns;
|
|
211
|
-
private readonly rows;
|
|
212
|
-
private readonly groupBy;
|
|
213
|
-
private readonly sortField;
|
|
214
|
-
private readonly sortDirection;
|
|
215
|
-
private readonly transloco?;
|
|
216
|
-
constructor(columns: Signal<ColumnDef[]>, rows: Signal<unknown[]>, groupBy: WritableSignal<string | null>, sortField: WritableSignal<string | null>, sortDirection: WritableSignal<'asc' | 'desc' | null>, transloco?: TranslocoService | undefined);
|
|
217
|
-
private translate;
|
|
218
|
-
readonly groupableColumns: Signal<ColumnDef[]>;
|
|
219
|
-
/**
|
|
220
|
-
* Row counts per group key — consumed by the group header template so each
|
|
221
|
-
* subheader can show "Status: Active (12)".
|
|
222
|
-
*/
|
|
223
|
-
readonly groupCounts: Signal<Map<string, number>>;
|
|
224
|
-
getGroupCount(row: unknown): number;
|
|
225
|
-
readonly activeGroupColumn: Signal<ColumnDef | null>;
|
|
226
|
-
readonly groupingActive: Signal<boolean>;
|
|
227
|
-
/**
|
|
228
|
-
* Whether the group header repeats the grouped column's name before the
|
|
229
|
-
* value. Opt-out per column via `ColumnDef.showGroupColumnLabel`.
|
|
230
|
-
*/
|
|
231
|
-
readonly showsGroupColumnLabel: Signal<boolean>;
|
|
232
|
-
/**
|
|
233
|
-
* Returns true when the given column is the active group column and
|
|
234
|
-
* therefore cannot have its sort cleared (PrimeNG requirement).
|
|
235
|
-
*/
|
|
236
|
-
isGroupLockedSort(columnKey: string): boolean;
|
|
237
|
-
setGroup(key: string | null): void;
|
|
238
|
-
/**
|
|
239
|
-
* Display label for a row's grouped value — used by the `#groupheader`
|
|
240
|
-
* template. Leverages the same resolver pipeline the cells use, so status
|
|
241
|
-
* maps / user display names render consistently.
|
|
242
|
-
*/
|
|
243
|
-
getGroupLabel(row: unknown): string;
|
|
244
|
-
/**
|
|
245
|
-
* Accent color for status/entity-Status group headers. Reused from the
|
|
246
|
-
* cell renderer's status-map pipeline so tint is consistent with the cell.
|
|
247
|
-
*/
|
|
248
|
-
getGroupAccentColor(row: unknown): string | null;
|
|
249
|
-
/**
|
|
250
|
-
* Returns the stable string key for the active group column on this row.
|
|
251
|
-
* Used to add a synthetic `__mt_group__` field so PrimeNG compares a plain
|
|
252
|
-
* string rather than a complex entity object (whose JSON representation is
|
|
253
|
-
* not stable across rows).
|
|
254
|
-
*/
|
|
255
|
-
getGroupSortKey(row: unknown): string;
|
|
256
|
-
/** Stable key used to bucket rows into groups — normalised to string. */
|
|
257
|
-
private getGroupKey;
|
|
258
|
-
}
|
|
259
|
-
|
|
260
|
-
declare class Table {
|
|
261
|
-
private static readonly LOADING_COLUMN_COUNT;
|
|
262
|
-
selectionChange: _angular_core.OutputEmitterRef<any[]>;
|
|
263
|
-
cellChange: _angular_core.OutputEmitterRef<CellChangeEvent>;
|
|
264
|
-
lazyLoad: _angular_core.OutputEmitterRef<any>;
|
|
265
|
-
columnReorder: _angular_core.OutputEmitterRef<any>;
|
|
266
|
-
rowReorder: _angular_core.OutputEmitterRef<any>;
|
|
267
|
-
rowClick: _angular_core.OutputEmitterRef<any>;
|
|
268
|
-
/** Fired when the empty state's action button is pressed. */
|
|
269
|
-
emptyAction: _angular_core.OutputEmitterRef<void>;
|
|
270
|
-
/**
|
|
271
|
-
* Fires when the per-row actions popover is opened (3-dots click) so the
|
|
272
|
-
* parent can lazy-load row-specific actions instead of fetching for every
|
|
273
|
-
* visible row up front. Only emitted when `actionShape` is `popover`.
|
|
274
|
-
*/
|
|
275
|
-
rowActionsRequested: _angular_core.OutputEmitterRef<any>;
|
|
276
|
-
filters: _angular_core.ModelSignal<TableFilters>;
|
|
277
|
-
data: _angular_core.InputSignal<any[]>;
|
|
278
|
-
columns: _angular_core.InputSignal<ColumnDef[]>;
|
|
279
|
-
rowActions: _angular_core.InputSignal<TableAction[]>;
|
|
280
|
-
size: _angular_core.InputSignal<"small" | "large" | undefined>;
|
|
281
|
-
showGridlines: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
282
|
-
stripedRows: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
283
|
-
selectableRows: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
284
|
-
clickableRows: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
285
|
-
generalSearch: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
286
|
-
lazyLocalSearch: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
287
|
-
showFilters: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
288
|
-
filterMode: _angular_core.InputSignal<TableFilterMode>;
|
|
289
|
-
loading: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
290
|
-
updating: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
291
|
-
lazy: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
292
|
-
lazyLocalSort: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
293
|
-
lazyTotalRecords: _angular_core.InputSignal<number | undefined>;
|
|
294
|
-
reorderableColumns: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
295
|
-
reorderableRows: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
296
|
-
dataKey: _angular_core.InputSignal<string | undefined>;
|
|
297
|
-
storageKey: _angular_core.InputSignal<string | null>;
|
|
298
|
-
storageMode: _angular_core.InputSignal<"local" | "session">;
|
|
299
|
-
persistStateExclude: _angular_core.InputSignal<TablePersistStateKey[]>;
|
|
300
|
-
exportable: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
301
|
-
printable: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
302
|
-
groupable: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
303
|
-
/**
|
|
304
|
-
* Optional external group-count map keyed by the group display label
|
|
305
|
-
* (e.g. `"Approved" → 42`). When provided, the group header shows these
|
|
306
|
-
* totals instead of the local page row count. Use this in lazy tables where
|
|
307
|
-
* the backend provides total-count-per-group via KPI/stats data.
|
|
308
|
-
*/
|
|
309
|
-
groupCountMap: _angular_core.InputSignal<Map<string, number> | null>;
|
|
310
|
-
cellClickFilter: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
311
|
-
/**
|
|
312
|
-
* When true and `rowActions` is non-empty, the trailing actions column is
|
|
313
|
-
* pinned to the right via PrimeNG's frozen-column support. The table also
|
|
314
|
-
* switches to scrollable mode so horizontal scrolling reveals the rest of
|
|
315
|
-
* the columns while the actions stay visible. Off by default to preserve
|
|
316
|
-
* existing layout for tables that don't opt in.
|
|
317
|
-
*/
|
|
318
|
-
freezeActions: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
319
|
-
virtualScroll: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
320
|
-
virtualScrollItemSize: _angular_core.InputSignal<number>;
|
|
321
|
-
scrollHeight: _angular_core.InputSignal<string>;
|
|
322
|
-
printTitle: _angular_core.InputSignal<string>;
|
|
323
|
-
exportFilename: _angular_core.InputSignal<string>;
|
|
324
|
-
actionShape: _angular_core.InputSignal<TableActionShape>;
|
|
325
|
-
/**
|
|
326
|
-
* Optional per-row predicate. When it returns true for a given row, the
|
|
327
|
-
* row-actions popover renders a small skeleton block instead of the action
|
|
328
|
-
* list — used while a parent is fetching that row's actions on demand.
|
|
329
|
-
*/
|
|
330
|
-
rowActionsLoadingFn: _angular_core.InputSignal<((row: any) => boolean) | null>;
|
|
331
|
-
tableLayout: _angular_core.InputSignal<"fixed" | "auto">;
|
|
332
|
-
noCard: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
333
|
-
private readonly dateFormat;
|
|
334
|
-
tabs: _angular_core.InputSignal<any[] | undefined>;
|
|
335
|
-
tabsOptionLabel: _angular_core.InputSignal<string>;
|
|
336
|
-
tabsOptionValue: _angular_core.InputSignal<string>;
|
|
337
|
-
activeTab: _angular_core.ModelSignal<any>;
|
|
338
|
-
onTabChange: _angular_core.OutputEmitterRef<any>;
|
|
339
|
-
actions: _angular_core.InputSignal<TableAction[]>;
|
|
340
|
-
captionStartContent: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
341
|
-
captionEndContent: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
342
|
-
emptyContent: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
343
|
-
/**
|
|
344
|
-
* Copy for the empty state. Left unset, the table falls back to the generic
|
|
345
|
-
* "Nothing here yet" / "No results match your filters" pair — but a list that
|
|
346
|
-
* knows what it holds should say so, which is the whole point of finding
|
|
347
|
-
* H-12: `emptyDescription="Deliverables you own appear here."`
|
|
348
|
-
*/
|
|
349
|
-
emptyTitle: _angular_core.InputSignal<string | undefined>;
|
|
350
|
-
emptyDescription: _angular_core.InputSignal<string | undefined>;
|
|
351
|
-
/**
|
|
352
|
-
* Call to action on the empty state. Supplying a label takes ownership of the
|
|
353
|
-
* behaviour: `emptyAction` fires and the table does nothing else. Without
|
|
354
|
-
* one, a filtered-empty table offers "Clear filters" and handles it itself.
|
|
355
|
-
*/
|
|
356
|
-
emptyActionLabel: _angular_core.InputSignal<string | undefined>;
|
|
357
|
-
emptyActionIcon: _angular_core.InputSignal<MTIcon | undefined>;
|
|
358
|
-
paginatorPosition: _angular_core.InputSignal<"start" | "center" | "end">;
|
|
359
|
-
/**
|
|
360
|
-
* Pagination for a single page of rows is noise that implies more data
|
|
361
|
-
* exists, so it is off by default now (finding M-05). Set it when the row
|
|
362
|
-
* count is genuinely unknown to the user and the "1 of 1" is reassuring.
|
|
363
|
-
*/
|
|
364
|
-
alwaysShowPaginator: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
365
|
-
rowsPerPageOptions: _angular_core.InputSignal<number[]>;
|
|
366
|
-
pageSize: _angular_core.ModelSignal<number>;
|
|
367
|
-
currentPage: _angular_core.ModelSignal<number>;
|
|
368
|
-
first: _angular_core.ModelSignal<number>;
|
|
369
|
-
filterTerm: _angular_core.ModelSignal<string>;
|
|
370
|
-
groupBy: _angular_core.ModelSignal<string | null>;
|
|
371
|
-
/**
|
|
372
|
-
* Sort state is a `model` so a lazy host that owns sort itself (URL / store)
|
|
373
|
-
* can push its value in instead of letting the table drift out of sync with
|
|
374
|
-
* the query it actually sent.
|
|
375
|
-
*/
|
|
376
|
-
sortField: _angular_core.ModelSignal<string | null>;
|
|
377
|
-
sortDirection: _angular_core.ModelSignal<"desc" | "asc" | null>;
|
|
378
|
-
confirmationService: ConfirmationService;
|
|
379
|
-
private readonly exportService;
|
|
380
|
-
private readonly transloco;
|
|
381
|
-
protected readonly grouping: TableGroupingController;
|
|
382
|
-
protected selectedRowKeys: _angular_core.WritableSignal<Set<string>>;
|
|
383
|
-
protected transientSelectedRows: _angular_core.WritableSignal<Set<any>>;
|
|
384
|
-
private readonly hydratedStorageKey;
|
|
385
|
-
private readonly storageHydrated;
|
|
386
|
-
protected readonly isColumnFilterMode: _angular_core.Signal<boolean>;
|
|
387
|
-
protected filterableColumnMap: _angular_core.Signal<Map<string, ColumnDef>>;
|
|
388
|
-
protected getFilterableColumn(key: string): ColumnDef | undefined;
|
|
389
|
-
onColumnFilterChange(key: string, value: any): void;
|
|
390
|
-
protected activeFilterCount: _angular_core.Signal<number>;
|
|
391
|
-
/**
|
|
392
|
-
* Whether the user narrowed the list themselves. Drives which empty state the
|
|
393
|
-
* table shows: "nothing matched what you asked for, clear it" reads very
|
|
394
|
-
* differently from "this list has nothing in it yet" (finding H-12).
|
|
395
|
-
*/
|
|
396
|
-
protected hasActiveFilters: _angular_core.Signal<boolean>;
|
|
397
|
-
/** Action offered on the empty state. Defaults to clearing an active filter. */
|
|
398
|
-
protected resolvedEmptyActionLabel: _angular_core.Signal<string | undefined>;
|
|
399
|
-
protected resolvedEmptyActionIcon: _angular_core.Signal<MTIcon | undefined>;
|
|
400
|
-
/**
|
|
401
|
-
* The empty-state action. A caller that supplied its own label owns the
|
|
402
|
-
* behaviour and just gets the event; otherwise the default action is the one
|
|
403
|
-
* the default label promises — clear the filters and the search term.
|
|
404
|
-
*/
|
|
405
|
-
protected onEmptyAction(): void;
|
|
406
|
-
protected filteredData: _angular_core.Signal<any[]>;
|
|
407
|
-
protected renderedColumns: _angular_core.Signal<ColumnDef[]>;
|
|
408
|
-
/**
|
|
409
|
-
* Synthetic field name added to each row so PrimeNG's `groupRowsBy`
|
|
410
|
-
* compares a stable primitive string instead of a complex entity object.
|
|
411
|
-
*/
|
|
412
|
-
static readonly GROUP_KEY_FIELD = "__mt_group__";
|
|
413
|
-
protected readonly groupKeyField = "__mt_group__";
|
|
414
|
-
protected displayData: _angular_core.Signal<any[]>;
|
|
415
|
-
/**
|
|
416
|
-
* Display data enriched with a stable group key field so PrimeNG groups
|
|
417
|
-
* rows correctly. Without this, PrimeNG JSON-stringifies the full entity
|
|
418
|
-
* object (spread of column + backend value), which may differ between rows
|
|
419
|
-
* even when they share the same status display.
|
|
420
|
-
*/
|
|
421
|
-
protected groupKeyedData: _angular_core.Signal<any[]>;
|
|
422
|
-
protected totalRecords: _angular_core.Signal<number>;
|
|
423
|
-
protected usesVirtualScroll: _angular_core.Signal<boolean>;
|
|
424
|
-
protected showPaginator: _angular_core.Signal<boolean>;
|
|
425
|
-
protected paginatedData: _angular_core.Signal<any[]>;
|
|
426
|
-
protected allSelectedOnPage: _angular_core.Signal<boolean>;
|
|
427
|
-
protected totalColumnSpan: _angular_core.Signal<number>;
|
|
428
|
-
constructor();
|
|
429
|
-
/**
|
|
430
|
-
* Returns the count for a group row — uses `groupCountMap` when provided
|
|
431
|
-
* (e.g. backend KPI totals) so lazy tables show the real total instead of
|
|
432
|
-
* the current-page row count.
|
|
433
|
-
*/
|
|
434
|
-
getDisplayGroupCount(row: unknown): number;
|
|
435
|
-
/**
|
|
436
|
-
* Called when the user picks a group column from the caption's actions menu.
|
|
437
|
-
* Syncs PrimeNG grouping sort state and asks lazy tables to reload grouped
|
|
438
|
-
* rows consecutively from the backend.
|
|
439
|
-
*/
|
|
440
|
-
onGroupByChange(key: string | null): void;
|
|
441
|
-
onFilterApplied(filters: TableFilters): void;
|
|
442
|
-
onFilterReset(): void;
|
|
443
|
-
protected matchesFilter(item: any, key: string, filterValue: FilterValue | any): boolean;
|
|
444
|
-
toggleRow(row: any): void;
|
|
445
|
-
toggleAllRowsOnPage(): void;
|
|
446
|
-
getProperty(obj: any, key: string): any;
|
|
447
|
-
protected getDateProperty(obj: any, key: string): string | number | Date | null;
|
|
448
|
-
getEntityPreviewData(row: any, col: ColumnDef): EntityData | null;
|
|
449
|
-
/**
|
|
450
|
-
* Entity data resolver that abstracts over the `user` / `status` vs `entity`
|
|
451
|
-
* distinction — used by the shared filterable-cell template so the three
|
|
452
|
-
* cases don't duplicate markup.
|
|
453
|
-
*/
|
|
454
|
-
resolveCellEntityData(row: any, col: ColumnDef): EntityData | null;
|
|
455
|
-
tabChanged(tab: any): void;
|
|
456
|
-
onTablePage(event: TablePageEvent): void;
|
|
457
|
-
handleLazyLoad(event: any): void;
|
|
458
|
-
onPaginatorPage(event: any): void;
|
|
459
|
-
onSearchChange(searchTerm: string): void;
|
|
460
|
-
toggleSort(column: ColumnDef): void;
|
|
461
|
-
isColumnSortable(column: ColumnDef): boolean;
|
|
462
|
-
getSortIcon(column: ColumnDef): MTIcon;
|
|
463
|
-
onCellChange(row: any, columnKey: string, newValue: any, type?: ColumnTypeForActionCell): void;
|
|
464
|
-
resolveActionLoading(action: TableAction, row: any): boolean | undefined;
|
|
465
|
-
getVisibleRowActions(row: any): TableAction[];
|
|
466
|
-
getInlineRowActions(row: any): TableAction[];
|
|
467
|
-
/**
|
|
468
|
-
* Menu actions with the destructive ones moved to the bottom.
|
|
469
|
-
*
|
|
470
|
-
* The Risks row menu read Preview, Update Risk, **Delete Risk**, Close Risk,
|
|
471
|
-
* Transfer to Issue, Escalate — the irreversible action third of six, between
|
|
472
|
-
* the two most common ones, separated from them by nothing but its colour
|
|
473
|
-
* (finding M-07). Colour alone is not separation, and it is no separation at
|
|
474
|
-
* all for a user with a colour-vision deficiency. Order within each group is
|
|
475
|
-
* preserved, so a caller's deliberate sequence still holds.
|
|
476
|
-
*/
|
|
477
|
-
getMenuRowActions(row: any): TableAction[];
|
|
478
|
-
/**
|
|
479
|
-
* True for the first destructive item, which is where the divider goes. The
|
|
480
|
-
* divider is rendered above it rather than below the last routine item so a
|
|
481
|
-
* menu that is *only* destructive does not open with a stray rule.
|
|
482
|
-
*/
|
|
483
|
-
protected isFirstDestructiveAction(row: any, index: number): boolean;
|
|
484
|
-
/** Deleting, or anything the caller flagged `danger`. */
|
|
485
|
-
private static isDestructiveAction;
|
|
486
|
-
shouldShowRowActionsPopover(row: any): boolean;
|
|
487
|
-
isRowActionsLoading(row: any): boolean;
|
|
488
|
-
onRowActionsToggle(event: Event, popover: {
|
|
489
|
-
toggle: (e: Event) => void;
|
|
490
|
-
}, row: any): void;
|
|
491
|
-
onColumnReorder(event: any): void;
|
|
492
|
-
onRowReorder(event: any): void;
|
|
493
|
-
onRowClick(event: MouseEvent, row: any): void;
|
|
494
|
-
protected updatePagingFromEvent(event: any): void;
|
|
495
|
-
protected emitLazyLoad(event: any): void;
|
|
496
|
-
private lazyLoadFilters;
|
|
497
|
-
private withoutGeneralSearch;
|
|
498
|
-
exportExcel(): void;
|
|
499
|
-
printPdf(): void;
|
|
500
|
-
onCellFilterClick(event: Event, row: any, column: ColumnDef): void;
|
|
501
|
-
isCellFilterActive(row: any, column: ColumnDef): boolean;
|
|
502
|
-
isCellClickFilterable(column: ColumnDef, row: unknown): boolean;
|
|
503
|
-
rowAction(event: Event, action: TableAction, row: any): void;
|
|
504
|
-
private buildUserEntityData;
|
|
505
|
-
private buildStatusEntityData;
|
|
506
|
-
private resolveStatusValue;
|
|
507
|
-
private unwrapStatusValue;
|
|
508
|
-
private isEntityStatusCompatibilityColumn;
|
|
509
|
-
private isStatusColumnKey;
|
|
510
|
-
private resolveStatusMapValue;
|
|
511
|
-
private resolveDefaultStatusColor;
|
|
512
|
-
private normalizeStatusToken;
|
|
513
|
-
private readStringProperty;
|
|
514
|
-
/**
|
|
515
|
-
* Gets the entity data for an 'entity' type column.
|
|
516
|
-
* The row data is expected to already be in EntityData format.
|
|
517
|
-
* Automatically hides entity name and configures User entities
|
|
518
|
-
* to show only avatar + displayName.
|
|
519
|
-
*/
|
|
520
|
-
getEntityColumnData(row: any, col: ColumnDef): EntityData | null;
|
|
521
|
-
protected getStatusEntityAccentColor(row: Record<string, unknown>): string | null;
|
|
522
|
-
private resolveStatusEntityAccentColor;
|
|
523
|
-
protected getBooleanProperty(obj: any, key: string): boolean;
|
|
524
|
-
private setProperty;
|
|
525
|
-
private sortData;
|
|
526
|
-
private getSortValue;
|
|
527
|
-
/**
|
|
528
|
-
* Export/print value resolver — same pipeline as `getColumnResolvedValue`
|
|
529
|
-
* except date / dateTime columns (and their entity counterparts) are
|
|
530
|
-
* formatted via the MT date pipe so Excel and PDF show locale-aware dates
|
|
531
|
-
* instead of raw ISO strings. Sort path keeps the ISO form for ordering.
|
|
532
|
-
*/
|
|
533
|
-
private getColumnExportValue;
|
|
534
|
-
/**
|
|
535
|
-
* Detects whether a column should be treated as a date for export purposes:
|
|
536
|
-
* native `date` / `dateTime` types, or entity columns whose viewType is
|
|
537
|
-
* `Date` / `DateTime` / `Time`.
|
|
538
|
-
*/
|
|
539
|
-
private resolveDateColumnType;
|
|
540
|
-
private getColumnResolvedValue;
|
|
541
|
-
protected isRowSelected(row: Record<string, unknown>): boolean;
|
|
542
|
-
/**
|
|
543
|
-
* Types whose rendered width is bounded by their own shape — a date, a
|
|
544
|
-
* yes/no, an avatar, a status chip. They get sized to content so the columns
|
|
545
|
-
* that hold real text absorb the leftover width instead (finding M-05).
|
|
546
|
-
*/
|
|
547
|
-
private static readonly SHRINK_TO_CONTENT_TYPES;
|
|
548
|
-
/**
|
|
549
|
-
* Alignment class for a column's header and cells. Numbers align to the end
|
|
550
|
-
* with tabular figures so the digits line up down the column; everything else
|
|
551
|
-
* keeps the reading direction.
|
|
552
|
-
*/
|
|
553
|
-
protected getColumnAlignClass(column: ColumnDef): string;
|
|
554
|
-
/**
|
|
555
|
-
* `width: 1%` is the shrink-to-content idiom for an auto-layout table: the
|
|
556
|
-
* browser treats it as a floor, gives the column exactly what its content
|
|
557
|
-
* needs, and hands the remainder to the columns that asked for nothing. An
|
|
558
|
-
* explicit `width` on the column always wins.
|
|
559
|
-
*/
|
|
560
|
-
protected getColumnWidth(column: ColumnDef): string | null;
|
|
561
|
-
protected getColumnMinWidth(column: ColumnDef): string | null;
|
|
562
|
-
private emitSelectionChange;
|
|
563
|
-
private getSelectedRows;
|
|
564
|
-
private getRowSelectionKey;
|
|
565
|
-
private getNormalizedStorageKey;
|
|
566
|
-
private getStorage;
|
|
567
|
-
private buildPersistedState;
|
|
568
|
-
private applyPersistedState;
|
|
569
|
-
private shouldEmitLazyLoadAfterRestore;
|
|
570
|
-
private shouldPersistStateKey;
|
|
571
|
-
private readPersistedState;
|
|
572
|
-
private getRestorablePersistedState;
|
|
573
|
-
private writePersistedState;
|
|
574
|
-
private toPositiveInteger;
|
|
575
|
-
private normalizePersistedPageSize;
|
|
576
|
-
private resolveScrollHeightPixels;
|
|
577
|
-
private toNonNegativeInteger;
|
|
578
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<Table, never>;
|
|
579
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<Table, "mt-table", never, { "filters": { "alias": "filters"; "required": false; "isSignal": true; }; "data": { "alias": "data"; "required": true; "isSignal": true; }; "columns": { "alias": "columns"; "required": true; "isSignal": true; }; "rowActions": { "alias": "rowActions"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "showGridlines": { "alias": "showGridlines"; "required": false; "isSignal": true; }; "stripedRows": { "alias": "stripedRows"; "required": false; "isSignal": true; }; "selectableRows": { "alias": "selectableRows"; "required": false; "isSignal": true; }; "clickableRows": { "alias": "clickableRows"; "required": false; "isSignal": true; }; "generalSearch": { "alias": "generalSearch"; "required": false; "isSignal": true; }; "lazyLocalSearch": { "alias": "lazyLocalSearch"; "required": false; "isSignal": true; }; "showFilters": { "alias": "showFilters"; "required": false; "isSignal": true; }; "filterMode": { "alias": "filterMode"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "updating": { "alias": "updating"; "required": false; "isSignal": true; }; "lazy": { "alias": "lazy"; "required": false; "isSignal": true; }; "lazyLocalSort": { "alias": "lazyLocalSort"; "required": false; "isSignal": true; }; "lazyTotalRecords": { "alias": "lazyTotalRecords"; "required": false; "isSignal": true; }; "reorderableColumns": { "alias": "reorderableColumns"; "required": false; "isSignal": true; }; "reorderableRows": { "alias": "reorderableRows"; "required": false; "isSignal": true; }; "dataKey": { "alias": "dataKey"; "required": false; "isSignal": true; }; "storageKey": { "alias": "storageKey"; "required": false; "isSignal": true; }; "storageMode": { "alias": "storageMode"; "required": false; "isSignal": true; }; "persistStateExclude": { "alias": "persistStateExclude"; "required": false; "isSignal": true; }; "exportable": { "alias": "exportable"; "required": false; "isSignal": true; }; "printable": { "alias": "printable"; "required": false; "isSignal": true; }; "groupable": { "alias": "groupable"; "required": false; "isSignal": true; }; "groupCountMap": { "alias": "groupCountMap"; "required": false; "isSignal": true; }; "cellClickFilter": { "alias": "cellClickFilter"; "required": false; "isSignal": true; }; "freezeActions": { "alias": "freezeActions"; "required": false; "isSignal": true; }; "virtualScroll": { "alias": "virtualScroll"; "required": false; "isSignal": true; }; "virtualScrollItemSize": { "alias": "virtualScrollItemSize"; "required": false; "isSignal": true; }; "scrollHeight": { "alias": "scrollHeight"; "required": false; "isSignal": true; }; "printTitle": { "alias": "printTitle"; "required": false; "isSignal": true; }; "exportFilename": { "alias": "exportFilename"; "required": false; "isSignal": true; }; "actionShape": { "alias": "actionShape"; "required": false; "isSignal": true; }; "rowActionsLoadingFn": { "alias": "rowActionsLoadingFn"; "required": false; "isSignal": true; }; "tableLayout": { "alias": "tableLayout"; "required": false; "isSignal": true; }; "noCard": { "alias": "noCard"; "required": false; "isSignal": true; }; "tabs": { "alias": "tabs"; "required": false; "isSignal": true; }; "tabsOptionLabel": { "alias": "tabsOptionLabel"; "required": false; "isSignal": true; }; "tabsOptionValue": { "alias": "tabsOptionValue"; "required": false; "isSignal": true; }; "activeTab": { "alias": "activeTab"; "required": false; "isSignal": true; }; "actions": { "alias": "actions"; "required": false; "isSignal": true; }; "emptyTitle": { "alias": "emptyTitle"; "required": false; "isSignal": true; }; "emptyDescription": { "alias": "emptyDescription"; "required": false; "isSignal": true; }; "emptyActionLabel": { "alias": "emptyActionLabel"; "required": false; "isSignal": true; }; "emptyActionIcon": { "alias": "emptyActionIcon"; "required": false; "isSignal": true; }; "paginatorPosition": { "alias": "paginatorPosition"; "required": false; "isSignal": true; }; "alwaysShowPaginator": { "alias": "alwaysShowPaginator"; "required": false; "isSignal": true; }; "rowsPerPageOptions": { "alias": "rowsPerPageOptions"; "required": false; "isSignal": true; }; "pageSize": { "alias": "pageSize"; "required": false; "isSignal": true; }; "currentPage": { "alias": "currentPage"; "required": false; "isSignal": true; }; "first": { "alias": "first"; "required": false; "isSignal": true; }; "filterTerm": { "alias": "filterTerm"; "required": false; "isSignal": true; }; "groupBy": { "alias": "groupBy"; "required": false; "isSignal": true; }; "sortField": { "alias": "sortField"; "required": false; "isSignal": true; }; "sortDirection": { "alias": "sortDirection"; "required": false; "isSignal": true; }; }, { "selectionChange": "selectionChange"; "cellChange": "cellChange"; "lazyLoad": "lazyLoad"; "columnReorder": "columnReorder"; "rowReorder": "rowReorder"; "rowClick": "rowClick"; "emptyAction": "emptyAction"; "rowActionsRequested": "rowActionsRequested"; "filters": "filtersChange"; "activeTab": "activeTabChange"; "onTabChange": "onTabChange"; "pageSize": "pageSizeChange"; "currentPage": "currentPageChange"; "first": "firstChange"; "filterTerm": "filterTermChange"; "groupBy": "groupByChange"; "sortField": "sortFieldChange"; "sortDirection": "sortDirectionChange"; }, ["captionStartContent", "captionEndContent", "emptyContent"], never, true, never>;
|
|
580
|
-
}
|
|
581
|
-
|
|
582
|
-
type TableEntityUsage = 'sort' | 'export' | 'filter';
|
|
583
|
-
declare class TableValueResolver {
|
|
584
|
-
/**
|
|
585
|
-
* View types the table knows how to filter/sort/export. Deliberately a
|
|
586
|
-
* subset of `EntityViewType` — the richer ones (`Location`, `Connection`,
|
|
587
|
-
* `LookupModuleCheckList`, `LeafDetails`) have no scalar the table could
|
|
588
|
-
* compare, so they stay out and simply render. Anything listed here also
|
|
589
|
-
* needs a branch in `getColumnFilterType` and `getEntityValueByType`.
|
|
590
|
-
*/
|
|
591
|
-
private static readonly ALL_ENTITY_VIEW_TYPES;
|
|
592
|
-
private static readonly UNSORTABLE_ENTITY_VIEW_TYPES;
|
|
593
|
-
private static readonly EXPORTABLE_ENTITY_VIEW_TYPES;
|
|
594
|
-
/**
|
|
595
|
-
* `Time` is sortable and exportable but not filterable: a time-of-day has no
|
|
596
|
-
* meaningful date-range filter, and a date picker cannot express one — it
|
|
597
|
-
* would silently filter by day instead of by clock time.
|
|
598
|
-
*/
|
|
599
|
-
private static readonly FILTERABLE_ENTITY_VIEW_TYPES;
|
|
600
|
-
/**
|
|
601
|
-
* Sentinel `key` value that resolves to the whole row instead of a property
|
|
602
|
-
* path. Use it when a cell renderer (e.g. `type: 'user'`) needs the full
|
|
603
|
-
* record, not a single field — `key: '{{record}}'` in the column def.
|
|
604
|
-
*/
|
|
605
|
-
static readonly RECORD_KEY = "{{record}}";
|
|
606
|
-
static getProperty(obj: unknown, key: string): unknown;
|
|
607
|
-
/**
|
|
608
|
-
* Recursively scans `value` for any string field that contains `searchTerm`.
|
|
609
|
-
* Used by the general-search box so nested displays (e.g. `name.display` on a
|
|
610
|
-
* lookup row, where the row's top-level `name` is an object) are still
|
|
611
|
-
* matched. `searchTerm` is expected to be lowercase.
|
|
612
|
-
*/
|
|
613
|
-
static matchesSearchTerm(value: unknown, searchTerm: string, depth?: number): boolean;
|
|
614
|
-
static getColumnFilterType(column: ColumnDef, row?: Record<string, unknown>): FilterConfig['type'] | null;
|
|
615
|
-
/**
|
|
616
|
-
* Returns a column with its filterConfig normalized for rendering:
|
|
617
|
-
* - `type` is resolved via `getColumnFilterType`
|
|
618
|
-
* - `options` for `select` filters are auto-generated from `data` when not provided
|
|
619
|
-
*
|
|
620
|
-
* Used by both popover and per-column filter modes so option-building stays in one place.
|
|
621
|
-
*/
|
|
622
|
-
static buildFilterableColumn(column: ColumnDef, data: any[]): ColumnDef;
|
|
623
|
-
/**
|
|
624
|
-
* Returns true when `item` passes the filter for `key`. Pure function — callers
|
|
625
|
-
* pass `column` so the resolver can apply type-aware normalisation (entity,
|
|
626
|
-
* status, user, date, boolean). Shared by `mt-table` row-filtering and
|
|
627
|
-
* `client-list-cards-view` card-filtering.
|
|
628
|
-
*/
|
|
629
|
-
static matchesFilter(item: unknown, key: string, filterValue: FilterValue | unknown, column: ColumnDef | undefined): boolean;
|
|
630
|
-
/**
|
|
631
|
-
* Applies every entry of `filters` against `item` — used by cards view and
|
|
632
|
-
* anywhere else that consumes the same filter shape as mt-table.
|
|
633
|
-
*/
|
|
634
|
-
static matchesAllFilters(item: unknown, filters: Record<string, unknown>, columns: ColumnDef[]): boolean;
|
|
635
|
-
/**
|
|
636
|
-
* True when a filter slot holds a meaningful value (scalar, text, date-range bounds,
|
|
637
|
-
* or user lookup). Shared by popover and per-column modes to compute active counts.
|
|
638
|
-
*/
|
|
639
|
-
static hasFilterValue(value: unknown): boolean;
|
|
640
|
-
/**
|
|
641
|
-
* Produces the filter payload a cell-click should apply for `column`.
|
|
642
|
-
* Returns null when the cell type is not click-filterable.
|
|
643
|
-
*
|
|
644
|
-
* Shapes match `Table.matchesFilter` branches:
|
|
645
|
-
* - user / entity(User) → `{ id, userName, displayName }`
|
|
646
|
-
* - status / entity(Status|Lookup) → scalar display string
|
|
647
|
-
* - boolean → boolean
|
|
648
|
-
*/
|
|
649
|
-
static buildClickFilterValue(row: unknown, column: ColumnDef): unknown | null;
|
|
650
|
-
/**
|
|
651
|
-
* True when two filter values refer to the same thing. Mirrors the branches
|
|
652
|
-
* in `Table.matchesFilter`: scalar equality, boolean equality, or user-object
|
|
653
|
-
* identity on id / userName / displayName.
|
|
654
|
-
*/
|
|
655
|
-
static isFilterValueEqual(a: unknown, b: unknown): boolean;
|
|
656
|
-
private static extractUserFilterValue;
|
|
657
|
-
static getColumnFilterValue(row: Record<string, unknown>, column: ColumnDef): string | number | boolean | null;
|
|
658
|
-
static resolveDateValue(value: unknown): string | number | Date | null;
|
|
659
|
-
static getEntityValueByType(value: unknown, usage: TableEntityUsage): string | number | boolean | null;
|
|
660
|
-
static stripHtml(value: string | number | boolean | null): string | number | boolean | null;
|
|
661
|
-
static resolveDisplayValue(value: unknown): string | number | boolean | null;
|
|
662
|
-
static resolveBooleanValue(value: unknown): boolean | null;
|
|
663
|
-
static normalizeTextSortValue(value: unknown): string | null;
|
|
664
|
-
static normalizeNumericSortValue(value: unknown): number | null;
|
|
665
|
-
static normalizeDateSortValue(value: unknown): number | null;
|
|
666
|
-
/**
|
|
667
|
-
* Order a `Time` cell by seconds since midnight. The stored shape is a
|
|
668
|
-
* wall-clock `HH:mm:ss`, which `Date` cannot parse at all; values still held
|
|
669
|
-
* as a full instant contribute their local clock, so a column holding both
|
|
670
|
-
* shapes still sorts by time of day rather than by the date part.
|
|
671
|
-
*/
|
|
672
|
-
static normalizeClockSortValue(value: unknown): number | null;
|
|
673
|
-
/**
|
|
674
|
-
* Resolves an entity column's view type from the column def, falling back to
|
|
675
|
-
* a sample row's cell. Public because grouping decides what it can bucket
|
|
676
|
-
* from the entity view type, which is finer-grained than the filter type
|
|
677
|
-
* (`Lookup` and `LookupMatrix` both filter as `select`-ish but only the view
|
|
678
|
-
* type says whether the values are categorical).
|
|
679
|
-
*/
|
|
680
|
-
static getEntityViewType(column: ColumnDef, row?: Record<string, unknown>): EntityViewType | null;
|
|
681
|
-
private static isEntityViewType;
|
|
682
|
-
private static resolveTreeFilterLabel;
|
|
683
|
-
}
|
|
684
|
-
|
|
685
|
-
declare class TableFilter implements ControlValueAccessor {
|
|
686
|
-
readonly columns: _angular_core.InputSignal<ColumnDef[]>;
|
|
687
|
-
readonly data: _angular_core.InputSignal<any[]>;
|
|
688
|
-
readonly filterApplied: _angular_core.OutputEmitterRef<TableFilters>;
|
|
689
|
-
readonly filterReset: _angular_core.OutputEmitterRef<void>;
|
|
690
|
-
private readonly transloco;
|
|
691
|
-
protected readonly panelOpen: _angular_core.WritableSignal<boolean>;
|
|
692
|
-
protected pendingFilters: _angular_core.WritableSignal<TableFilters>;
|
|
693
|
-
protected appliedFilters: _angular_core.WritableSignal<TableFilters>;
|
|
694
|
-
private onChange;
|
|
695
|
-
private onTouched;
|
|
696
|
-
protected open(): void;
|
|
697
|
-
/** "3 filters applied" under the drawer title, or empty when there are none. */
|
|
698
|
-
protected readonly filterSummary: _angular_core.Signal<string>;
|
|
699
|
-
protected filterableColumns: _angular_core.Signal<ColumnDef[]>;
|
|
700
|
-
protected activeFilterCount: _angular_core.Signal<number>;
|
|
701
|
-
protected updateFilter(key: string, value: any): void;
|
|
702
|
-
protected apply(): void;
|
|
703
|
-
protected reset(): void;
|
|
704
|
-
writeValue(value: TableFilters | null): void;
|
|
705
|
-
registerOnChange(fn: (value: TableFilters) => void): void;
|
|
706
|
-
registerOnTouched(fn: () => void): void;
|
|
707
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TableFilter, never>;
|
|
708
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TableFilter, "mt-table-filter", never, { "columns": { "alias": "columns"; "required": true; "isSignal": true; }; "data": { "alias": "data"; "required": false; "isSignal": true; }; }, { "filterApplied": "filterApplied"; "filterReset": "filterReset"; }, never, never, true, never>;
|
|
709
|
-
}
|
|
710
|
-
|
|
711
|
-
declare class TableFilterField {
|
|
712
|
-
readonly column: _angular_core.InputSignal<ColumnDef>;
|
|
713
|
-
readonly value: _angular_core.ModelSignal<any>;
|
|
714
|
-
private readonly transloco;
|
|
715
|
-
protected readonly booleanOptions: _angular_core.Signal<{
|
|
716
|
-
label: string;
|
|
717
|
-
value: boolean;
|
|
718
|
-
}[]>;
|
|
719
|
-
protected readonly multiValue: _angular_core.Signal<readonly unknown[]>;
|
|
720
|
-
protected readonly filterOptions: _angular_core.Signal<readonly unknown[]>;
|
|
721
|
-
protected readonly treeOptions: _angular_core.Signal<primeng_api.TreeNode<any>[]>;
|
|
722
|
-
protected getFilterType(): string;
|
|
723
|
-
/**
|
|
724
|
-
* `select` / `userSelect` filters default to multi-select unless the caller
|
|
725
|
-
* opts out with `filterConfig.multiple: false`.
|
|
726
|
-
*/
|
|
727
|
-
protected isMultiple(): boolean;
|
|
728
|
-
protected getScalarValue(): any;
|
|
729
|
-
protected getDateRangeValue(part: 'from' | 'to'): Date | null;
|
|
730
|
-
protected getNumberRangeValue(part: 'from' | 'to'): number | null;
|
|
731
|
-
protected getNumberRangeMin(): number;
|
|
732
|
-
protected getNumberRangeMax(): number;
|
|
733
|
-
protected updateScalar(next: any): void;
|
|
734
|
-
protected getTreePlaceholder(): string;
|
|
735
|
-
protected getTreeFilterBy(): string;
|
|
736
|
-
protected getTreeFilterPlaceholder(): string;
|
|
737
|
-
protected getTreeScrollHeight(): string;
|
|
738
|
-
protected getTreePanelStyleClass(): string | undefined;
|
|
739
|
-
protected updateDate(part: 'from' | 'to', next: Date | null): void;
|
|
740
|
-
protected updateNumber(part: 'from' | 'to', next: number | null): void;
|
|
741
|
-
private isPercentageColumn;
|
|
742
|
-
private resolveConfiguredNumber;
|
|
743
|
-
private clampNumberRangeValue;
|
|
744
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TableFilterField, never>;
|
|
745
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TableFilterField, "mt-table-filter-field", never, { "column": { "alias": "column"; "required": true; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, never>;
|
|
746
|
-
}
|
|
747
|
-
|
|
748
|
-
/**
|
|
749
|
-
* Per-column filter affordance: a small funnel icon in the column header that
|
|
750
|
-
* opens a popover with a single `TableFilterField`.
|
|
751
|
-
*
|
|
752
|
-
* Buffers edits in `pendingValue` until the user hits Apply — matches the
|
|
753
|
-
* popover-mode UX so behavior is predictable between modes. Emits `filterChange`
|
|
754
|
-
* with either the new value or `null` to clear.
|
|
755
|
-
*/
|
|
756
|
-
declare class TableColumnFilter {
|
|
757
|
-
readonly column: _angular_core.InputSignal<ColumnDef>;
|
|
758
|
-
readonly value: _angular_core.InputSignal<any>;
|
|
759
|
-
readonly filterChange: _angular_core.OutputEmitterRef<any>;
|
|
760
|
-
protected readonly pendingValue: _angular_core.WritableSignal<any>;
|
|
761
|
-
protected readonly hasActiveValue: _angular_core.Signal<boolean>;
|
|
762
|
-
private readonly popoverRef;
|
|
763
|
-
constructor();
|
|
764
|
-
protected open(popover: Popover, event: Event): void;
|
|
765
|
-
protected apply(popover: Popover): void;
|
|
766
|
-
protected clear(popover: Popover): void;
|
|
767
|
-
private cloneValue;
|
|
768
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TableColumnFilter, never>;
|
|
769
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TableColumnFilter, "mt-table-column-filter", never, { "column": { "alias": "column"; "required": true; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; }, { "filterChange": "filterChange"; }, never, never, true, never>;
|
|
770
|
-
}
|
|
771
|
-
|
|
772
|
-
/** Visual variants for menu-item icon chips. */
|
|
773
|
-
type ActionMenuTone = 'emerald' | 'sky' | 'indigo' | 'secondary';
|
|
774
|
-
interface TableMenuItem extends MenuItem {
|
|
775
|
-
/** Transloco key resolved in the template so translations stay reactive. */
|
|
776
|
-
labelKey?: string;
|
|
777
|
-
/** Plain, already-translated or dynamic label — used when labelKey isn't set. */
|
|
778
|
-
rawLabel?: string;
|
|
779
|
-
iconKey?: MTIcon;
|
|
780
|
-
iconTone?: ActionMenuTone;
|
|
781
|
-
/** When true, the item renders via `mt-avatar` instead of a flat tinted chip. */
|
|
782
|
-
useAvatar?: boolean;
|
|
783
|
-
/** Small trailing chip (e.g. the group-by item's active column name). */
|
|
784
|
-
badge?: string;
|
|
785
|
-
/** Used to mark the current selection in the group submenu. */
|
|
786
|
-
selected?: boolean;
|
|
787
|
-
}
|
|
788
|
-
/**
|
|
789
|
-
* Top-right `⋯` menu. Uses PrimeNG TieredMenu (popup mode) so submenu
|
|
790
|
-
* cascading, keyboard navigation, and outside-click-to-close come for free.
|
|
791
|
-
* Item rendering is overridden via the `#item` template so each row shows
|
|
792
|
-
* either a flat tone chip (main actions) or an `mt-avatar` (column picker).
|
|
793
|
-
*/
|
|
794
|
-
declare class TableActionsMenu {
|
|
795
|
-
readonly exportable: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
796
|
-
readonly printable: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
797
|
-
readonly groupable: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
798
|
-
readonly groupColumns: _angular_core.InputSignal<ColumnDef[]>;
|
|
799
|
-
readonly activeGroup: _angular_core.InputSignal<string | null>;
|
|
800
|
-
readonly exportRequested: _angular_core.OutputEmitterRef<void>;
|
|
801
|
-
readonly printRequested: _angular_core.OutputEmitterRef<void>;
|
|
802
|
-
readonly groupChange: _angular_core.OutputEmitterRef<string | null>;
|
|
803
|
-
protected readonly menu: _angular_core.Signal<TieredMenu | undefined>;
|
|
804
|
-
/** Tailwind classes for flat tone chips, keyed by `iconTone`. */
|
|
805
|
-
protected readonly toneClass: Record<ActionMenuTone, string>;
|
|
806
|
-
protected readonly items: _angular_core.Signal<TableMenuItem[]>;
|
|
807
|
-
/** True while the actions render as individual buttons. */
|
|
808
|
-
protected readonly isFlat: _angular_core.Signal<boolean>;
|
|
809
|
-
/**
|
|
810
|
-
* What the popup renders. In `⋯` mode that's the whole action list; in flat
|
|
811
|
-
* mode the buttons *are* the top level, so the popup only ever shows the
|
|
812
|
-
* children of the button that opened it (the group-by column list).
|
|
813
|
-
*/
|
|
814
|
-
private readonly openSubmenu;
|
|
815
|
-
protected readonly menuModel: _angular_core.Signal<TableMenuItem[]>;
|
|
816
|
-
protected toggle(event: MouseEvent): void;
|
|
817
|
-
/** Flat-mode click: run a leaf action, or open a parent's submenu. */
|
|
818
|
-
protected activate(event: MouseEvent, item: TableMenuItem): void;
|
|
819
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TableActionsMenu, never>;
|
|
820
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TableActionsMenu, "mt-table-actions-menu", never, { "exportable": { "alias": "exportable"; "required": false; "isSignal": true; }; "printable": { "alias": "printable"; "required": false; "isSignal": true; }; "groupable": { "alias": "groupable"; "required": false; "isSignal": true; }; "groupColumns": { "alias": "groupColumns"; "required": false; "isSignal": true; }; "activeGroup": { "alias": "activeGroup"; "required": false; "isSignal": true; }; }, { "exportRequested": "exportRequested"; "printRequested": "printRequested"; "groupChange": "groupChange"; }, never, never, true, never>;
|
|
821
|
-
}
|
|
822
|
-
|
|
823
|
-
/**
|
|
824
|
-
* Stateless, controlled toolbar used by `mt-table` and by list-style consumers
|
|
825
|
-
* (e.g. `client-list-cards-view`) so the two share one caption UI without
|
|
826
|
-
* duplicating the search/filter/actions markup.
|
|
827
|
-
*
|
|
828
|
-
* The caption only renders the popover-mode filter button — per-column filter
|
|
829
|
-
* icons live in the table header itself (cards have no columns).
|
|
830
|
-
*/
|
|
831
|
-
declare class TableCaption {
|
|
832
|
-
readonly generalSearch: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
833
|
-
readonly showFilters: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
834
|
-
readonly filterMode: _angular_core.InputSignal<TableFilterMode>;
|
|
835
|
-
readonly exportable: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
836
|
-
readonly printable: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
837
|
-
readonly groupable: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
838
|
-
readonly columns: _angular_core.InputSignal<ColumnDef[]>;
|
|
839
|
-
readonly data: _angular_core.InputSignal<any[]>;
|
|
840
|
-
readonly groupColumns: _angular_core.InputSignal<ColumnDef[]>;
|
|
841
|
-
readonly tabs: _angular_core.InputSignal<any[] | undefined>;
|
|
842
|
-
readonly tabsOptionLabel: _angular_core.InputSignal<string>;
|
|
843
|
-
readonly tabsOptionValue: _angular_core.InputSignal<string>;
|
|
844
|
-
readonly actions: _angular_core.InputSignal<TableAction[]>;
|
|
845
|
-
readonly captionStart: _angular_core.InputSignal<TemplateRef<unknown> | null>;
|
|
846
|
-
readonly captionEnd: _angular_core.InputSignal<TemplateRef<unknown> | null>;
|
|
847
|
-
readonly activeTab: _angular_core.ModelSignal<any>;
|
|
848
|
-
readonly filters: _angular_core.ModelSignal<TableFilters>;
|
|
849
|
-
readonly filterTerm: _angular_core.ModelSignal<string>;
|
|
850
|
-
readonly groupBy: _angular_core.ModelSignal<string | null>;
|
|
851
|
-
readonly exportRequested: _angular_core.OutputEmitterRef<void>;
|
|
852
|
-
readonly printRequested: _angular_core.OutputEmitterRef<void>;
|
|
853
|
-
readonly onTabChange: _angular_core.OutputEmitterRef<any>;
|
|
854
|
-
readonly searchChange: _angular_core.OutputEmitterRef<string>;
|
|
855
|
-
readonly filterApplied: _angular_core.OutputEmitterRef<TableFilters>;
|
|
856
|
-
readonly filterReset: _angular_core.OutputEmitterRef<void>;
|
|
857
|
-
protected readonly showsAnything: _angular_core.Signal<boolean>;
|
|
858
|
-
protected onSearch(term: string): void;
|
|
859
|
-
protected onFilterApplied(next: TableFilters): void;
|
|
860
|
-
protected onFilterReset(): void;
|
|
861
|
-
/**
|
|
862
|
-
* The filters currently narrowing the list, as removable chips.
|
|
863
|
-
*
|
|
864
|
-
* The filter panel used to be the only place a filter existed: close it and
|
|
865
|
-
* nothing on screen said the list was narrowed, so a user could stare at an
|
|
866
|
-
* unexpectedly short result set with no way to see why (finding H-11). A chip
|
|
867
|
-
* row states it in the results' own space and clears one filter per click.
|
|
868
|
-
*/
|
|
869
|
-
protected readonly appliedFilterChips: _angular_core.Signal<{
|
|
870
|
-
key: string;
|
|
871
|
-
label: string;
|
|
872
|
-
value: string;
|
|
873
|
-
}[]>;
|
|
874
|
-
protected removeFilter(key: string): void;
|
|
875
|
-
protected clearAllFilters(): void;
|
|
876
|
-
protected onGroupChange(key: string | null): void;
|
|
877
|
-
protected tabChanged(tab: any): void;
|
|
878
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TableCaption, never>;
|
|
879
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TableCaption, "mt-table-caption", never, { "generalSearch": { "alias": "generalSearch"; "required": false; "isSignal": true; }; "showFilters": { "alias": "showFilters"; "required": false; "isSignal": true; }; "filterMode": { "alias": "filterMode"; "required": false; "isSignal": true; }; "exportable": { "alias": "exportable"; "required": false; "isSignal": true; }; "printable": { "alias": "printable"; "required": false; "isSignal": true; }; "groupable": { "alias": "groupable"; "required": false; "isSignal": true; }; "columns": { "alias": "columns"; "required": false; "isSignal": true; }; "data": { "alias": "data"; "required": false; "isSignal": true; }; "groupColumns": { "alias": "groupColumns"; "required": false; "isSignal": true; }; "tabs": { "alias": "tabs"; "required": false; "isSignal": true; }; "tabsOptionLabel": { "alias": "tabsOptionLabel"; "required": false; "isSignal": true; }; "tabsOptionValue": { "alias": "tabsOptionValue"; "required": false; "isSignal": true; }; "actions": { "alias": "actions"; "required": false; "isSignal": true; }; "captionStart": { "alias": "captionStart"; "required": false; "isSignal": true; }; "captionEnd": { "alias": "captionEnd"; "required": false; "isSignal": true; }; "activeTab": { "alias": "activeTab"; "required": false; "isSignal": true; }; "filters": { "alias": "filters"; "required": false; "isSignal": true; }; "filterTerm": { "alias": "filterTerm"; "required": false; "isSignal": true; }; "groupBy": { "alias": "groupBy"; "required": false; "isSignal": true; }; }, { "activeTab": "activeTabChange"; "filters": "filtersChange"; "filterTerm": "filterTermChange"; "groupBy": "groupByChange"; "exportRequested": "exportRequested"; "printRequested": "printRequested"; "onTabChange": "onTabChange"; "searchChange": "searchChange"; "filterApplied": "filterApplied"; "filterReset": "filterReset"; }, never, never, true, never>;
|
|
880
|
-
}
|
|
881
|
-
|
|
882
|
-
/**
|
|
883
|
-
* Centralises table export/print so any `mt-table` (and future tables) can
|
|
884
|
-
* drop in the behaviour without reimplementing XLSX serialisation or print
|
|
885
|
-
* DOM cloning. Injected schema-agnostically via `resolveValue` on the config.
|
|
886
|
-
*/
|
|
887
|
-
declare class TableExportService {
|
|
888
|
-
private static readonly PRINT_ROOT_CLASS;
|
|
889
|
-
private static readonly PRINT_REGION_CLASS;
|
|
890
|
-
private static readonly PRINT_STYLE_ID;
|
|
891
|
-
private static readonly MAX_PRINT_COLUMNS_PER_TABLE;
|
|
892
|
-
private static readonly RTL_LANGUAGES;
|
|
893
|
-
private readonly transloco;
|
|
894
|
-
private static readonly PRINT_CSS;
|
|
895
|
-
exportToExcel(config: TableExportConfig): void;
|
|
896
|
-
private buildExcelWorkbook;
|
|
897
|
-
printPdf(config: TablePrintConfig): void;
|
|
898
|
-
private ensurePrintStyles;
|
|
899
|
-
private getExportableColumns;
|
|
900
|
-
private getExcelExportableColumns;
|
|
901
|
-
/**
|
|
902
|
-
* Resolves a single cell's exported/printed scalar. A column-level
|
|
903
|
-
* `exportValue` always wins; everything else defers to the caller-supplied
|
|
904
|
-
* resolver. The caller owns entity formatting too so Date/DateTime/Time can
|
|
905
|
-
* use the configured MT formats instead of leaking raw ISO strings.
|
|
906
|
-
*/
|
|
907
|
-
private resolveCellValue;
|
|
908
|
-
/**
|
|
909
|
-
* Produces rows keyed by column label (Excel header row).
|
|
910
|
-
* Values already passed through the caller's type-aware resolver.
|
|
911
|
-
*/
|
|
912
|
-
private buildLabeledRows;
|
|
913
|
-
private buildPrintRegion;
|
|
914
|
-
private buildPrintTable;
|
|
915
|
-
/**
|
|
916
|
-
* A browser cannot paginate a table horizontally. Keep wide exports inside
|
|
917
|
-
* the printable page by splitting them into readable tables and repeating
|
|
918
|
-
* the first (normally identifying) column in every continuation group.
|
|
919
|
-
*/
|
|
920
|
-
private getPrintColumnGroups;
|
|
921
|
-
/**
|
|
922
|
-
* Normalises a resolved cell value for export. Rich-text columns surface their
|
|
923
|
-
* value as an HTML string, so string cells are stripped to plain text (tags
|
|
924
|
-
* removed, entities decoded) before they reach an Excel cell or a PDF table
|
|
925
|
-
* cell. Non-string values (numbers, booleans, dates) pass through untouched.
|
|
926
|
-
*/
|
|
927
|
-
private toPlainExportValue;
|
|
928
|
-
private configureWorksheet;
|
|
929
|
-
private isArabicExport;
|
|
930
|
-
private isRtlExport;
|
|
931
|
-
private normalizeFilename;
|
|
932
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TableExportService, never>;
|
|
933
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<TableExportService>;
|
|
934
|
-
}
|
|
935
|
-
|
|
936
|
-
export { EMPTY_GROUP_KEY, Table, TableActionsMenu, TableCaption, TableColumnFilter, TableExportService, TableFilter, TableFilterField, TableGroupingController, TableValueResolver };
|
|
937
|
-
export type { CellChangeEvent, ColumnDef, ColumnType, ColumnTypeForActionCell, FilterConfig, FilterOption, FilterValue, TableAction, TableActionConfirmationConfig, TableActionPlacement, TableActionShape, TableEntityUsage, TableExportConfig, TableExportValueResolver, TableFilterMode, TableFilters, TablePersistStateKey, TablePrintConfig, TableStatusMapValue };
|