@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,1102 +0,0 @@
|
|
|
1
|
-
import * as _masterteam_components_entities from '@masterteam/components/entities';
|
|
2
|
-
import * as _angular_core from '@angular/core';
|
|
3
|
-
import { ElementRef, NgZone } from '@angular/core';
|
|
4
|
-
import { MTDateFormatType } from '@masterteam/components';
|
|
5
|
-
import { HttpContext } from '@angular/common/http';
|
|
6
|
-
import { MTIcon } from '@masterteam/icons';
|
|
7
|
-
import { CdkDragDrop } from '@angular/cdk/drag-drop';
|
|
8
|
-
|
|
9
|
-
interface ComparisonValueSide {
|
|
10
|
-
raw: unknown;
|
|
11
|
-
value: unknown;
|
|
12
|
-
display?: string | null;
|
|
13
|
-
}
|
|
14
|
-
interface ValueComparison {
|
|
15
|
-
kind: 'Value';
|
|
16
|
-
oldValue: ComparisonValueSide;
|
|
17
|
-
newValue: ComparisonValueSide;
|
|
18
|
-
}
|
|
19
|
-
interface EntityComparisonField {
|
|
20
|
-
propertyKey: string;
|
|
21
|
-
label: string;
|
|
22
|
-
value: unknown;
|
|
23
|
-
display?: string | null;
|
|
24
|
-
}
|
|
25
|
-
type EntityComparisonOperation = 'CreateRecord' | 'UpdateRecord' | 'DeleteRecord';
|
|
26
|
-
interface EntityListComparisonRow {
|
|
27
|
-
kind: 'ModuleRecord';
|
|
28
|
-
operation: EntityComparisonOperation;
|
|
29
|
-
entityId: number;
|
|
30
|
-
oldValues: EntityComparisonField[];
|
|
31
|
-
newValues: EntityComparisonField[];
|
|
32
|
-
}
|
|
33
|
-
interface EntityListComparison {
|
|
34
|
-
kind: 'EntityList';
|
|
35
|
-
targetModuleKey: string;
|
|
36
|
-
rows: EntityListComparisonRow[];
|
|
37
|
-
}
|
|
38
|
-
type PropertyValueComparison = ValueComparison | EntityListComparison;
|
|
39
|
-
|
|
40
|
-
type EntityViewType = 'Text' | 'LongText' | 'Date' | 'DateTime'
|
|
41
|
-
/**
|
|
42
|
-
* Time-of-day. The value on the wire is still a full ISO instant (the
|
|
43
|
-
* backend stores and returns the same shape as `DateTime`); only the
|
|
44
|
-
* rendering and the picker are narrowed to the clock time.
|
|
45
|
-
*/
|
|
46
|
-
| 'Time' | 'Number' | 'Percentage' | 'Status' | 'Currency' | 'Checkbox' | 'User' | 'MultiUser' | 'Lookup' | 'LookupMultiSelect'
|
|
47
|
-
/**
|
|
48
|
-
* Calculated, read-only lookup resolved by the backend to the schema phase
|
|
49
|
-
* gate the record currently sits on. Never editable at runtime.
|
|
50
|
-
*/
|
|
51
|
-
| 'PhaseGate' | 'Attachment' | 'Location' | 'LookupMatrix' | 'LookupModuleCheckList' | 'LeafDetails' | 'Connection' | 'ScheduleItemSelector'
|
|
52
|
-
/**
|
|
53
|
-
* Layout marker, not a value. Rendered full-width and non-resizable; the
|
|
54
|
-
* preview layer (`groupEntitiesIntoSections`) turns each marker into a titled
|
|
55
|
-
* section box that owns every entity following it until the next marker.
|
|
56
|
-
*/
|
|
57
|
-
| 'Section';
|
|
58
|
-
type EntityLabelPosition = 'top' | 'bottom';
|
|
59
|
-
/** Entity size – controls column span (1-24) inside a 24-column grid */
|
|
60
|
-
type EntitySize = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24;
|
|
61
|
-
interface EntityBaseConfig {
|
|
62
|
-
/** Column span of the entity card (1-24). Default: 8 */
|
|
63
|
-
size?: EntitySize;
|
|
64
|
-
/** Whether to show a dashed border around the entity card */
|
|
65
|
-
showBorder?: boolean;
|
|
66
|
-
/** Whether to hide the entity name label. Prefer hideLabel for new config. */
|
|
67
|
-
hideName?: boolean;
|
|
68
|
-
/** Whether to hide the entity label */
|
|
69
|
-
hideLabel?: boolean;
|
|
70
|
-
/** Controls whether the label is rendered above or below the value */
|
|
71
|
-
labelPosition?: EntityLabelPosition;
|
|
72
|
-
/** Legacy misspelled alias kept for compatibility */
|
|
73
|
-
labelPostion?: EntityLabelPosition;
|
|
74
|
-
/** Whether the entity content is aligned to the end (right in LTR) */
|
|
75
|
-
alignEnd?: boolean;
|
|
76
|
-
/**
|
|
77
|
-
* Custom localized label override. When present it replaces the catalog
|
|
78
|
-
* label; it also serves as the heading for `Section` markers.
|
|
79
|
-
*/
|
|
80
|
-
label?: EntitySectionLabel;
|
|
81
|
-
}
|
|
82
|
-
interface EntityUserConfig extends EntityBaseConfig {
|
|
83
|
-
showDisplayName?: boolean;
|
|
84
|
-
showPhoneNumber?: boolean;
|
|
85
|
-
showEmail?: boolean;
|
|
86
|
-
/**
|
|
87
|
-
* Whether the user's own picture is rendered. When `false` the avatar stays
|
|
88
|
-
* in place but falls back to the generic user icon instead of `photoUrl`.
|
|
89
|
-
*/
|
|
90
|
-
showUserImage?: boolean;
|
|
91
|
-
/** Maximum users shown before the MultiUser preview collapses behind +N. */
|
|
92
|
-
maxVisibleUsers?: number;
|
|
93
|
-
}
|
|
94
|
-
/**
|
|
95
|
-
* One Progress/Percentage color rule. Bounds are inclusive and at least one of
|
|
96
|
-
* `minValue`/`maxValue` must be present — a rule with neither matches nothing.
|
|
97
|
-
*/
|
|
98
|
-
interface PercentageColorRule {
|
|
99
|
-
minValue?: number | null;
|
|
100
|
-
maxValue?: number | null;
|
|
101
|
-
color: string;
|
|
102
|
-
}
|
|
103
|
-
interface EntityPercentageConfig extends EntityBaseConfig {
|
|
104
|
-
/**
|
|
105
|
-
* The colour to paint the bar with. The backend resolves the rules and ships
|
|
106
|
-
* the winner here on render/value/fetch responses, so this always wins over
|
|
107
|
-
* a client-side evaluation of `colorRules`.
|
|
108
|
-
*/
|
|
109
|
-
color?: string;
|
|
110
|
-
/** Ordered rules — evaluated in order, first match wins. */
|
|
111
|
-
colorRules?: PercentageColorRule[] | null;
|
|
112
|
-
/** Fallback colour applied when no rule matches. */
|
|
113
|
-
defaultColor?: string | null;
|
|
114
|
-
}
|
|
115
|
-
interface LeafLevelSavedConfig {
|
|
116
|
-
/** Position order for this level entity in the preview grid */
|
|
117
|
-
order: number;
|
|
118
|
-
/** Column span (1-24), persisted from drag-resize */
|
|
119
|
-
size?: EntitySize;
|
|
120
|
-
/** Status keys the user has chosen to display */
|
|
121
|
-
selectedStatuses: string[];
|
|
122
|
-
}
|
|
123
|
-
interface EntityLeafDetailsConfig extends EntityBaseConfig {
|
|
124
|
-
/** Per-level display overrides for LeafDetails entities */
|
|
125
|
-
leafLevels?: Record<string, LeafLevelSavedConfig>;
|
|
126
|
-
}
|
|
127
|
-
/** A localized label ({ en, ar }) — used by section headings and custom labels. */
|
|
128
|
-
interface EntitySectionLabel {
|
|
129
|
-
en?: string;
|
|
130
|
-
ar?: string;
|
|
131
|
-
}
|
|
132
|
-
/** Configuration for a `Section` layout marker (`viewType: 'Section'`). */
|
|
133
|
-
interface EntitySectionConfig extends EntityBaseConfig {
|
|
134
|
-
/** Section heading, localized. Empty/absent renders a header-less box. */
|
|
135
|
-
label?: EntitySectionLabel;
|
|
136
|
-
}
|
|
137
|
-
type EntityConfiguration = EntityBaseConfig | EntityUserConfig | EntityPercentageConfig | EntityLeafDetailsConfig | EntitySectionConfig;
|
|
138
|
-
interface EntityStatusValue {
|
|
139
|
-
key: string;
|
|
140
|
-
display: string;
|
|
141
|
-
color: string;
|
|
142
|
-
description?: string;
|
|
143
|
-
}
|
|
144
|
-
interface EntityLookupValue {
|
|
145
|
-
key: string;
|
|
146
|
-
display: string;
|
|
147
|
-
color: string;
|
|
148
|
-
description?: string;
|
|
149
|
-
}
|
|
150
|
-
type EntityMultiLookupValue = EntityLookupValue[];
|
|
151
|
-
/**
|
|
152
|
-
* A `PhaseGate` value — the schema phase gate the record currently sits on.
|
|
153
|
-
*
|
|
154
|
-
* Calculated and read-only: the backend owns it, nothing in the runtime writes
|
|
155
|
-
* it back. `key` is the stable phase-gate key; the schema phase-gate *id* rides
|
|
156
|
-
* on the owning entity's `rawValue`, not here. `display` is resolved for the
|
|
157
|
-
* request language, and `en`/`ar` carry the explicit per-language labels so the
|
|
158
|
-
* renderer can follow a client-side language switch without a refetch.
|
|
159
|
-
*/
|
|
160
|
-
interface EntityPhaseGateValue {
|
|
161
|
-
key: string;
|
|
162
|
-
display: string;
|
|
163
|
-
en?: string;
|
|
164
|
-
ar?: string;
|
|
165
|
-
description?: string;
|
|
166
|
-
/**
|
|
167
|
-
* Optional presentation metadata (hex). Absent → the renderer's
|
|
168
|
-
* `DEFAULT_PHASE_GATE_COLOR` neutral badge.
|
|
169
|
-
*/
|
|
170
|
-
color?: string;
|
|
171
|
-
}
|
|
172
|
-
interface EntityUserValue {
|
|
173
|
-
id?: string;
|
|
174
|
-
userName?: string;
|
|
175
|
-
name?: string;
|
|
176
|
-
displayName?: string;
|
|
177
|
-
photoUrl?: string;
|
|
178
|
-
phoneNumber?: string;
|
|
179
|
-
email?: string;
|
|
180
|
-
/**
|
|
181
|
-
* `false` when the user is no longer linked to the current application
|
|
182
|
-
* (e.g. removed/deleted) but is still referenced by historical records.
|
|
183
|
-
*/
|
|
184
|
-
isLinkedToCurrentApplication?: boolean;
|
|
185
|
-
}
|
|
186
|
-
type EntityMultiUserValue = EntityUserValue[];
|
|
187
|
-
interface LeafDetailsStatusSummary {
|
|
188
|
-
key: string;
|
|
189
|
-
display: string;
|
|
190
|
-
color: string | null;
|
|
191
|
-
/** Always 0 in preview/configuration context; populated from runtime fetch */
|
|
192
|
-
count: number;
|
|
193
|
-
}
|
|
194
|
-
interface LeafDetailsCatalogStatusValue {
|
|
195
|
-
key: string;
|
|
196
|
-
display: string;
|
|
197
|
-
description?: string | null;
|
|
198
|
-
color: string | null;
|
|
199
|
-
icon?: string | null;
|
|
200
|
-
order?: number;
|
|
201
|
-
}
|
|
202
|
-
interface LeafDetailsCatalogLevelValue {
|
|
203
|
-
levelId: number;
|
|
204
|
-
levelName: string;
|
|
205
|
-
levelIcon: string;
|
|
206
|
-
statuses: LeafDetailsCatalogStatusValue[];
|
|
207
|
-
}
|
|
208
|
-
interface LeafDetailsEntityValue {
|
|
209
|
-
levelId: number;
|
|
210
|
-
levelName: string;
|
|
211
|
-
levelIcon: string;
|
|
212
|
-
statuses: LeafDetailsStatusSummary[];
|
|
213
|
-
}
|
|
214
|
-
type LeafDetailsEntityCollectionValue = LeafDetailsEntityValue[];
|
|
215
|
-
type LeafDetailsCatalogConfiguration = LeafDetailsCatalogLevelValue[];
|
|
216
|
-
type EntityPropertyConfiguration = Record<string, unknown> | LeafDetailsCatalogConfiguration | null;
|
|
217
|
-
interface LeafDetailsRuntimeStatusDetails {
|
|
218
|
-
key: string;
|
|
219
|
-
display: string;
|
|
220
|
-
color: string | null;
|
|
221
|
-
description?: string | null;
|
|
222
|
-
icon?: string | null;
|
|
223
|
-
order?: number;
|
|
224
|
-
}
|
|
225
|
-
interface LeafDetailsRuntimeStatusCount {
|
|
226
|
-
details: LeafDetailsRuntimeStatusDetails;
|
|
227
|
-
count: number;
|
|
228
|
-
}
|
|
229
|
-
interface LeafDetailsRuntimeChildSchema {
|
|
230
|
-
levelId: number;
|
|
231
|
-
levelName: string;
|
|
232
|
-
levelIcon: string;
|
|
233
|
-
totalCount?: number;
|
|
234
|
-
statuses: LeafDetailsRuntimeStatusCount[];
|
|
235
|
-
}
|
|
236
|
-
interface LeafDetailsRuntimeValue {
|
|
237
|
-
totalCount?: number;
|
|
238
|
-
childSchemas: LeafDetailsRuntimeChildSchema[];
|
|
239
|
-
}
|
|
240
|
-
interface EntityAttachmentItemValue {
|
|
241
|
-
id?: string;
|
|
242
|
-
name?: string;
|
|
243
|
-
fileName?: string;
|
|
244
|
-
contentType?: string;
|
|
245
|
-
extension?: string;
|
|
246
|
-
size?: number;
|
|
247
|
-
}
|
|
248
|
-
type EntityAttachmentValue = Array<EntityAttachmentItemValue | string>;
|
|
249
|
-
interface EntityLocationValue {
|
|
250
|
-
display_name?: string;
|
|
251
|
-
address?: string;
|
|
252
|
-
lat?: string | number;
|
|
253
|
-
lon?: string | number;
|
|
254
|
-
lng?: string | number;
|
|
255
|
-
[key: string]: unknown;
|
|
256
|
-
}
|
|
257
|
-
interface EntityConnectionValue {
|
|
258
|
-
/** Human-readable label of the connected record (read from `rawValue.display`). */
|
|
259
|
-
display?: string;
|
|
260
|
-
[key: string]: unknown;
|
|
261
|
-
}
|
|
262
|
-
/** A single property key/value captured for a checklist entry. */
|
|
263
|
-
interface EntityLookupCheckListPropValue {
|
|
264
|
-
key: string;
|
|
265
|
-
/**
|
|
266
|
-
* Rendered value resolved by the backend, in the same shape a top-level
|
|
267
|
-
* property of the same `viewType` carries. Paired with the matching
|
|
268
|
-
* `EntityNestedPropertyMeta` to render it as a real typed entity.
|
|
269
|
-
*/
|
|
270
|
-
value: unknown;
|
|
271
|
-
}
|
|
272
|
-
/** One checklist entry: a selected lookup item plus its captured property values. */
|
|
273
|
-
interface EntityLookupCheckListItem {
|
|
274
|
-
lookupKey: string;
|
|
275
|
-
props: EntityLookupCheckListPropValue[];
|
|
276
|
-
}
|
|
277
|
-
/**
|
|
278
|
-
* Rendered view model for a `LookupModuleCheckList` value.
|
|
279
|
-
* The backend renderer wraps the checklist entries in `{ items: [...] }`.
|
|
280
|
-
*/
|
|
281
|
-
interface EntityLookupCheckListValue {
|
|
282
|
-
items: EntityLookupCheckListItem[];
|
|
283
|
-
}
|
|
284
|
-
interface EntityScheduleItemValue {
|
|
285
|
-
id: number;
|
|
286
|
-
name: string;
|
|
287
|
-
levelDataId?: number;
|
|
288
|
-
parentId?: number | null;
|
|
289
|
-
status?: string | null;
|
|
290
|
-
plannedStart?: string | null;
|
|
291
|
-
plannedFinish?: string | null;
|
|
292
|
-
moduleKey?: string;
|
|
293
|
-
itemType?: string;
|
|
294
|
-
}
|
|
295
|
-
/**
|
|
296
|
-
* Catalog metadata for a property nested inside another property's value.
|
|
297
|
-
* Mirrors the top-level catalog property shape, which the backend sends under
|
|
298
|
-
* `catalog.nestedProperties` keyed by the owning property key. Only
|
|
299
|
-
* `LookupModuleCheckList` values carry nested properties today.
|
|
300
|
-
*/
|
|
301
|
-
interface EntityNestedPropertyMeta {
|
|
302
|
-
id?: number;
|
|
303
|
-
key: string;
|
|
304
|
-
normalizedKey?: string;
|
|
305
|
-
label: string;
|
|
306
|
-
viewType: EntityViewType;
|
|
307
|
-
configuration?: EntityPropertyConfiguration;
|
|
308
|
-
order?: number;
|
|
309
|
-
}
|
|
310
|
-
interface EntityData {
|
|
311
|
-
id?: number;
|
|
312
|
-
propertyId?: number;
|
|
313
|
-
key?: string;
|
|
314
|
-
normalizedKey?: string;
|
|
315
|
-
name?: string;
|
|
316
|
-
rawValue?: string;
|
|
317
|
-
order?: number;
|
|
318
|
-
propertyConfiguration?: EntityPropertyConfiguration;
|
|
319
|
-
/**
|
|
320
|
-
* Catalog metadata for the properties captured inside `value`. The stored
|
|
321
|
-
* checklist value only carries property keys, so without this the nested
|
|
322
|
-
* props have no label and no view type to render with.
|
|
323
|
-
*/
|
|
324
|
-
nestedProperties?: EntityNestedPropertyMeta[];
|
|
325
|
-
value: string | EntityStatusValue | EntityUserValue | EntityMultiUserValue | EntityLookupValue | EntityMultiLookupValue | EntityPhaseGateValue | EntityAttachmentValue | EntityLocationValue | EntityConnectionValue | EntityScheduleItemValue[] | EntityLookupCheckListValue | EntityLookupCheckListItem[] | LeafDetailsEntityValue | LeafDetailsEntityCollectionValue | LeafDetailsRuntimeValue;
|
|
326
|
-
viewType: EntityViewType;
|
|
327
|
-
type?: string;
|
|
328
|
-
configuration?: EntityConfiguration;
|
|
329
|
-
/** Present on submitted ChangeRequest records — frozen old→new snapshot. */
|
|
330
|
-
comparison?: PropertyValueComparison;
|
|
331
|
-
}
|
|
332
|
-
/** Emitted when an entity is resized via the drag handle */
|
|
333
|
-
interface EntityResizeEvent {
|
|
334
|
-
entity: EntityData;
|
|
335
|
-
previousSize: EntitySize;
|
|
336
|
-
newSize: EntitySize;
|
|
337
|
-
}
|
|
338
|
-
|
|
339
|
-
type EntityFieldGap = 'compact' | 'normal' | 'relaxed';
|
|
340
|
-
declare class EntityField {
|
|
341
|
-
readonly label: _angular_core.InputSignal<string>;
|
|
342
|
-
readonly labelIconName: _angular_core.InputSignal<string | null>;
|
|
343
|
-
readonly configuration: _angular_core.InputSignal<EntityConfiguration | null | undefined>;
|
|
344
|
-
readonly gap: _angular_core.InputSignal<EntityFieldGap>;
|
|
345
|
-
readonly hideLabel: _angular_core.Signal<boolean>;
|
|
346
|
-
readonly labelPosition: _angular_core.Signal<_masterteam_components_entities.EntityLabelPosition>;
|
|
347
|
-
readonly labelContainerClass: _angular_core.Signal<string>;
|
|
348
|
-
readonly contentContainerClass: _angular_core.Signal<string>;
|
|
349
|
-
readonly containerClass: _angular_core.Signal<string>;
|
|
350
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<EntityField, never>;
|
|
351
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<EntityField, "mt-entity-field", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "labelIconName": { "alias": "labelIconName"; "required": false; "isSignal": true; }; "configuration": { "alias": "configuration"; "required": false; "isSignal": true; }; "gap": { "alias": "gap"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
352
|
-
}
|
|
353
|
-
|
|
354
|
-
declare class EntityText {
|
|
355
|
-
/** Full entity data object */
|
|
356
|
-
readonly data: _angular_core.InputSignal<EntityData | undefined>;
|
|
357
|
-
/** Individual inputs (used when data is not provided) */
|
|
358
|
-
readonly name: _angular_core.InputSignal<string | undefined>;
|
|
359
|
-
readonly value: _angular_core.InputSignal<string | undefined>;
|
|
360
|
-
readonly displayName: _angular_core.Signal<string>;
|
|
361
|
-
readonly displayValue: _angular_core.Signal<string>;
|
|
362
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<EntityText, never>;
|
|
363
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<EntityText, "mt-entity-text", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
364
|
-
}
|
|
365
|
-
|
|
366
|
-
declare class EntityDate {
|
|
367
|
-
/** Full entity data object */
|
|
368
|
-
readonly data: _angular_core.InputSignal<EntityData | undefined>;
|
|
369
|
-
/** Individual inputs (used when data is not provided) */
|
|
370
|
-
readonly name: _angular_core.InputSignal<string | undefined>;
|
|
371
|
-
readonly value: _angular_core.InputSignal<unknown>;
|
|
372
|
-
readonly viewType: _angular_core.InputSignal<"Date" | "DateTime" | "Time">;
|
|
373
|
-
readonly displayName: _angular_core.Signal<string>;
|
|
374
|
-
/**
|
|
375
|
-
* `Time` carries a wall-clock value (`HH:mm:ss`) with no date and no zone, so
|
|
376
|
-
* `mtDateFormat` renders it as stored instead of shifting it into the
|
|
377
|
-
* viewer's timezone the way its `DateTime` sibling is shifted.
|
|
378
|
-
*/
|
|
379
|
-
readonly resolvedViewType: _angular_core.Signal<MTDateFormatType>;
|
|
380
|
-
readonly displayValue: _angular_core.Signal<unknown>;
|
|
381
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<EntityDate, never>;
|
|
382
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<EntityDate, "mt-entity-date", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "viewType": { "alias": "viewType"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
383
|
-
}
|
|
384
|
-
|
|
385
|
-
declare class EntityStatus {
|
|
386
|
-
/** Full entity data object */
|
|
387
|
-
readonly data: _angular_core.InputSignal<EntityData | undefined>;
|
|
388
|
-
/** Individual inputs (used when data is not provided) */
|
|
389
|
-
readonly name: _angular_core.InputSignal<string | undefined>;
|
|
390
|
-
readonly value: _angular_core.InputSignal<EntityStatusValue | undefined>;
|
|
391
|
-
readonly displayName: _angular_core.Signal<string>;
|
|
392
|
-
readonly statusValue: _angular_core.Signal<EntityStatusValue | null>;
|
|
393
|
-
readonly badgeStyle: _angular_core.Signal<{
|
|
394
|
-
color?: undefined;
|
|
395
|
-
backgroundColor?: undefined;
|
|
396
|
-
} | {
|
|
397
|
-
color: string;
|
|
398
|
-
backgroundColor: string;
|
|
399
|
-
}>;
|
|
400
|
-
readonly emptyLabel = "_";
|
|
401
|
-
readonly statusLabel: _angular_core.Signal<string>;
|
|
402
|
-
private hexToRgba;
|
|
403
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<EntityStatus, never>;
|
|
404
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<EntityStatus, "mt-entity-status", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
405
|
-
}
|
|
406
|
-
|
|
407
|
-
declare class EntityUser {
|
|
408
|
-
readonly httpContext: HttpContext;
|
|
409
|
-
/** Full entity data object */
|
|
410
|
-
readonly data: _angular_core.InputSignal<EntityData | undefined>;
|
|
411
|
-
readonly expanded: _angular_core.WritableSignal<boolean>;
|
|
412
|
-
readonly displayName: _angular_core.Signal<string>;
|
|
413
|
-
readonly isMultiUser: _angular_core.Signal<boolean>;
|
|
414
|
-
/** Resolved user objects from either a User or MultiUser entity value. */
|
|
415
|
-
readonly users: _angular_core.Signal<EntityUserValue[]>;
|
|
416
|
-
readonly maxVisibleUsers: _angular_core.Signal<number>;
|
|
417
|
-
readonly visibleUsers: _angular_core.Signal<EntityUserValue[]>;
|
|
418
|
-
readonly hiddenUserCount: _angular_core.Signal<number>;
|
|
419
|
-
/** First user retained for the existing single-user computed API. */
|
|
420
|
-
private readonly userValue;
|
|
421
|
-
userNameFor(user: EntityUserValue): string;
|
|
422
|
-
userPhotoFor(user: EntityUserValue): string;
|
|
423
|
-
labelTextFor(user: EntityUserValue): string;
|
|
424
|
-
isUnlinkedUser(user: EntityUserValue): boolean;
|
|
425
|
-
phoneNumberFor(user: EntityUserValue): string;
|
|
426
|
-
emailFor(user: EntityUserValue): string;
|
|
427
|
-
hasContactInfoFor(user: EntityUserValue): boolean;
|
|
428
|
-
readonly emptyUserName: _angular_core.Signal<string>;
|
|
429
|
-
readonly rawUserName: _angular_core.Signal<string | null>;
|
|
430
|
-
readonly userName: _angular_core.Signal<string>;
|
|
431
|
-
readonly userPhoto: _angular_core.Signal<string>;
|
|
432
|
-
readonly labelText: _angular_core.Signal<string>;
|
|
433
|
-
/**
|
|
434
|
-
* `true` when the referenced user is no longer linked to the application.
|
|
435
|
-
* Drives the inline info badge/tooltip next to the display name.
|
|
436
|
-
*/
|
|
437
|
-
readonly isUnlinked: _angular_core.Signal<string | false | undefined>;
|
|
438
|
-
private readonly config;
|
|
439
|
-
readonly showDisplayName: _angular_core.Signal<boolean>;
|
|
440
|
-
readonly showPhoneNumber: _angular_core.Signal<boolean>;
|
|
441
|
-
readonly showEmail: _angular_core.Signal<boolean>;
|
|
442
|
-
/**
|
|
443
|
-
* When off, the avatar falls back to the generic user icon so the layout keeps
|
|
444
|
-
* its shape while the user's real picture stays hidden.
|
|
445
|
-
*/
|
|
446
|
-
readonly showUserImage: _angular_core.Signal<boolean>;
|
|
447
|
-
readonly phoneNumber: _angular_core.Signal<string>;
|
|
448
|
-
readonly email: _angular_core.Signal<string>;
|
|
449
|
-
readonly hasContactInfo: _angular_core.Signal<boolean>;
|
|
450
|
-
constructor();
|
|
451
|
-
showAllUsers(): void;
|
|
452
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<EntityUser, never>;
|
|
453
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<EntityUser, "mt-entity-user", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
454
|
-
}
|
|
455
|
-
|
|
456
|
-
declare class EntityPercentage {
|
|
457
|
-
private readonly transloco;
|
|
458
|
-
/** Active locale, so number formatting follows the UI language. */
|
|
459
|
-
private readonly locale;
|
|
460
|
-
/** Full entity data object */
|
|
461
|
-
readonly data: _angular_core.InputSignal<EntityData | undefined>;
|
|
462
|
-
/** Individual inputs (used when data is not provided) */
|
|
463
|
-
readonly name: _angular_core.InputSignal<string | undefined>;
|
|
464
|
-
readonly value: _angular_core.InputSignal<string | undefined>;
|
|
465
|
-
readonly rawValue: _angular_core.InputSignal<string | undefined>;
|
|
466
|
-
readonly displayName: _angular_core.Signal<string>;
|
|
467
|
-
readonly displayValue: _angular_core.Signal<string>;
|
|
468
|
-
private readonly rawNumericValue;
|
|
469
|
-
readonly hasNumericValue: _angular_core.Signal<boolean>;
|
|
470
|
-
readonly numericValue: _angular_core.Signal<number>;
|
|
471
|
-
readonly maxValue: _angular_core.Signal<number>;
|
|
472
|
-
readonly hideName: _angular_core.Signal<boolean>;
|
|
473
|
-
/**
|
|
474
|
-
* The bar colour. The backend evaluates the property's colour rules and
|
|
475
|
-
* returns the winner as `color` on render/value/fetch responses, so a
|
|
476
|
-
* resolved colour always wins — the rules are only evaluated here for
|
|
477
|
-
* configurations that arrive without one (a catalog read, or the
|
|
478
|
-
* property-form preview).
|
|
479
|
-
*/
|
|
480
|
-
readonly progressColor: _angular_core.Signal<string>;
|
|
481
|
-
/**
|
|
482
|
-
* Renders a percentage for the active locale.
|
|
483
|
-
*
|
|
484
|
-
* This used to echo the backend's string and only append `%` when that string
|
|
485
|
-
* already carried one — so in Arabic, where the API returns a bare `"25"`,
|
|
486
|
-
* the symbol vanished and a progress value rendered as an unlabelled `25`.
|
|
487
|
-
* Next to a bar that could be a percentage, a count or a score (finding
|
|
488
|
-
* H-08).
|
|
489
|
-
*
|
|
490
|
-
* Formatting from the NUMBER through `Intl.NumberFormat` makes the symbol,
|
|
491
|
-
* the decimal separator and the digit shapes follow the locale instead of the
|
|
492
|
-
* payload. `maximumFractionDigits: 1` preserves the precision the old code
|
|
493
|
-
* kept; `style: 'percent'` expects a fraction, hence the /100.
|
|
494
|
-
*
|
|
495
|
-
* Non-numeric values pass through untouched — a status string or an em dash
|
|
496
|
-
* must not be mangled into `NaN%`.
|
|
497
|
-
*/
|
|
498
|
-
private formatPercentageDisplay;
|
|
499
|
-
private parseNumericValue;
|
|
500
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<EntityPercentage, never>;
|
|
501
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<EntityPercentage, "mt-entity-percentage", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "rawValue": { "alias": "rawValue"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
502
|
-
}
|
|
503
|
-
|
|
504
|
-
declare class EntityCurrency {
|
|
505
|
-
private readonly transloco;
|
|
506
|
-
/** Active locale, so number formatting follows the UI language. */
|
|
507
|
-
private readonly locale;
|
|
508
|
-
/** Full entity data object */
|
|
509
|
-
readonly data: _angular_core.InputSignal<EntityData | undefined>;
|
|
510
|
-
/** Individual inputs (used when data is not provided) */
|
|
511
|
-
readonly name: _angular_core.InputSignal<string | undefined>;
|
|
512
|
-
readonly value: _angular_core.InputSignal<string | undefined>;
|
|
513
|
-
readonly displayName: _angular_core.Signal<string>;
|
|
514
|
-
/** The backend's fully grouped string — always the tooltip, never truncated. */
|
|
515
|
-
readonly fullValue: _angular_core.Signal<string>;
|
|
516
|
-
/**
|
|
517
|
-
* What the cell renders: the backend's string, or a compact form of it when
|
|
518
|
-
* the amount is large enough that the currency token would be truncated away.
|
|
519
|
-
* See {@link compactCurrencyDisplay} (finding H-06).
|
|
520
|
-
*/
|
|
521
|
-
readonly displayValue: _angular_core.Signal<string>;
|
|
522
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<EntityCurrency, never>;
|
|
523
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<EntityCurrency, "mt-entity-currency", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
524
|
-
}
|
|
525
|
-
|
|
526
|
-
declare class EntityCheckbox {
|
|
527
|
-
/** Full entity data object */
|
|
528
|
-
readonly data: _angular_core.InputSignal<EntityData | undefined>;
|
|
529
|
-
/** Individual inputs (used when data is not provided) */
|
|
530
|
-
readonly name: _angular_core.InputSignal<string | undefined>;
|
|
531
|
-
readonly value: _angular_core.InputSignal<string | undefined>;
|
|
532
|
-
readonly rawValue: _angular_core.InputSignal<string | undefined>;
|
|
533
|
-
readonly displayName: _angular_core.Signal<string>;
|
|
534
|
-
readonly emptyLabel = "_";
|
|
535
|
-
readonly hideName: _angular_core.Signal<boolean>;
|
|
536
|
-
readonly checkboxState: _angular_core.Signal<boolean | null>;
|
|
537
|
-
private parseBoolean;
|
|
538
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<EntityCheckbox, never>;
|
|
539
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<EntityCheckbox, "mt-entity-checkbox", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "rawValue": { "alias": "rawValue"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
540
|
-
}
|
|
541
|
-
|
|
542
|
-
declare class EntityLongText {
|
|
543
|
-
/** Full entity data object */
|
|
544
|
-
readonly data: _angular_core.InputSignal<EntityData | undefined>;
|
|
545
|
-
/** Individual inputs (used when data is not provided) */
|
|
546
|
-
readonly name: _angular_core.InputSignal<string | undefined>;
|
|
547
|
-
readonly value: _angular_core.InputSignal<string | undefined>;
|
|
548
|
-
readonly displayName: _angular_core.Signal<string>;
|
|
549
|
-
readonly displayValue: _angular_core.Signal<string>;
|
|
550
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<EntityLongText, never>;
|
|
551
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<EntityLongText, "mt-entity-long-text", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
552
|
-
}
|
|
553
|
-
|
|
554
|
-
declare class EntityLookup {
|
|
555
|
-
/** Full entity data object */
|
|
556
|
-
readonly data: _angular_core.InputSignal<EntityData | undefined>;
|
|
557
|
-
/** Individual inputs (used when data is not provided) */
|
|
558
|
-
readonly name: _angular_core.InputSignal<string | undefined>;
|
|
559
|
-
readonly value: _angular_core.InputSignal<EntityLookupValue | EntityMultiLookupValue | undefined>;
|
|
560
|
-
readonly displayName: _angular_core.Signal<string>;
|
|
561
|
-
readonly lookupValues: _angular_core.Signal<EntityMultiLookupValue>;
|
|
562
|
-
lookupBadgeStyle(lookup: EntityLookupValue): Record<string, string>;
|
|
563
|
-
readonly emptyLabel = "_";
|
|
564
|
-
lookupLabel(lookup: EntityLookupValue): string;
|
|
565
|
-
private hexToRgba;
|
|
566
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<EntityLookup, never>;
|
|
567
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<EntityLookup, "mt-entity-lookup", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
568
|
-
}
|
|
569
|
-
|
|
570
|
-
/**
|
|
571
|
-
* Badge color used when the phase gate carries no `color`. `color` is optional
|
|
572
|
-
* presentation metadata, so a phase gate without one must still read as a
|
|
573
|
-
* badge rather than as bare text — this is the same neutral slate the table
|
|
574
|
-
* falls back to for uncategorized status chips.
|
|
575
|
-
*/
|
|
576
|
-
declare const DEFAULT_PHASE_GATE_COLOR = "#475569";
|
|
577
|
-
/**
|
|
578
|
-
* Preview renderer for `PhaseGate` properties — a calculated, read-only lookup
|
|
579
|
-
* pointing at the schema phase gate the record currently sits on. It renders
|
|
580
|
-
* exactly like {@link EntityLookup} (colored badge) but resolves its label
|
|
581
|
-
* per-language.
|
|
582
|
-
*
|
|
583
|
-
* Label resolution, in order:
|
|
584
|
-
* 1. `value.ar` / `value.en` for the active language — the backend sends both
|
|
585
|
-
* so a client-side language switch re-renders without a refetch, which is
|
|
586
|
-
* why they win over the already-resolved `display`.
|
|
587
|
-
* 2. `value.display`, then the other locale.
|
|
588
|
-
* 3. The flat display, for payloads that send the value as a bare string
|
|
589
|
-
* (comparison snapshots build their sides that way).
|
|
590
|
-
* 4. `rawValue` — the schema phase-gate id — as a last resort.
|
|
591
|
-
*/
|
|
592
|
-
declare class EntityPhaseGate {
|
|
593
|
-
private readonly transloco;
|
|
594
|
-
/** Full entity data object */
|
|
595
|
-
readonly data: _angular_core.InputSignal<EntityData | undefined>;
|
|
596
|
-
/** Individual inputs (used when data is not provided) */
|
|
597
|
-
readonly name: _angular_core.InputSignal<string | undefined>;
|
|
598
|
-
readonly value: _angular_core.InputSignal<EntityPhaseGateValue | undefined>;
|
|
599
|
-
private readonly activeLang;
|
|
600
|
-
readonly displayName: _angular_core.Signal<string>;
|
|
601
|
-
readonly phaseGateValue: _angular_core.Signal<EntityPhaseGateValue | null>;
|
|
602
|
-
/** Resolved label, or `null` when nothing at all is available. */
|
|
603
|
-
private readonly resolvedLabel;
|
|
604
|
-
readonly hasValue: _angular_core.Signal<boolean>;
|
|
605
|
-
readonly phaseGateLabel: _angular_core.Signal<string>;
|
|
606
|
-
readonly badgeStyle: _angular_core.Signal<{
|
|
607
|
-
color: string;
|
|
608
|
-
backgroundColor?: undefined;
|
|
609
|
-
} | {
|
|
610
|
-
color: string;
|
|
611
|
-
backgroundColor: string;
|
|
612
|
-
}>;
|
|
613
|
-
readonly emptyLabel = "_";
|
|
614
|
-
/** The value flattened to a plain display string by the sender. */
|
|
615
|
-
private flatDisplay;
|
|
616
|
-
/** The schema phase-gate id. */
|
|
617
|
-
private rawId;
|
|
618
|
-
private hexToRgba;
|
|
619
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<EntityPhaseGate, never>;
|
|
620
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<EntityPhaseGate, "mt-entity-phase-gate", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
621
|
-
}
|
|
622
|
-
|
|
623
|
-
type AttachmentReference = EntityAttachmentItemValue | string;
|
|
624
|
-
declare class EntityAttachment {
|
|
625
|
-
readonly data: _angular_core.InputSignal<EntityData | undefined>;
|
|
626
|
-
readonly name: _angular_core.InputSignal<string | undefined>;
|
|
627
|
-
readonly shape: _angular_core.InputSignal<"compact" | "default">;
|
|
628
|
-
readonly value: _angular_core.InputSignal<string | EntityAttachmentValue | EntityAttachmentItemValue | null | undefined>;
|
|
629
|
-
readonly endPoint: _angular_core.InputSignal<string>;
|
|
630
|
-
readonly context: _angular_core.InputSignal<HttpContext | undefined>;
|
|
631
|
-
private readonly httpClient;
|
|
632
|
-
private readonly transloco;
|
|
633
|
-
readonly displayName: _angular_core.Signal<string>;
|
|
634
|
-
readonly loading: _angular_core.WritableSignal<boolean>;
|
|
635
|
-
readonly attachments: _angular_core.WritableSignal<EntityAttachmentItemValue[]>;
|
|
636
|
-
/** Key of the compact chip currently hovered, so it can reveal the download affordance. */
|
|
637
|
-
readonly hoveredAttachmentKey: _angular_core.WritableSignal<string | null>;
|
|
638
|
-
readonly attachmentReferences: _angular_core.Signal<AttachmentReference[]>;
|
|
639
|
-
readonly uploadValue: _angular_core.Signal<string | EntityAttachmentItemValue | (string | EntityAttachmentItemValue)[] | null>;
|
|
640
|
-
readonly hasAttachments: _angular_core.Signal<boolean>;
|
|
641
|
-
readonly isMultiple: _angular_core.Signal<boolean>;
|
|
642
|
-
readonly acceptTypes: _angular_core.Signal<string | undefined>;
|
|
643
|
-
protected readonly empty = "-";
|
|
644
|
-
constructor();
|
|
645
|
-
attachmentTrackBy(index: number, attachment: EntityAttachmentItemValue): string;
|
|
646
|
-
attachmentTooltip(attachment: EntityAttachmentItemValue): string;
|
|
647
|
-
/**
|
|
648
|
-
* Compact chips are clickable downloads but only show a file-type glyph,
|
|
649
|
-
* which doesn't read as actionable. Swap to a download icon while hovered
|
|
650
|
-
* so the action is obvious.
|
|
651
|
-
*/
|
|
652
|
-
attachmentActionIcon(index: number, attachment: EntityAttachmentItemValue): MTIcon;
|
|
653
|
-
attachmentIcon(attachment: EntityAttachmentItemValue): MTIcon;
|
|
654
|
-
onCompactAttachmentClick(event: MouseEvent, attachment: EntityAttachmentItemValue): void;
|
|
655
|
-
downloadAttachment(attachment: EntityAttachmentItemValue): void;
|
|
656
|
-
private resolveAttachment$;
|
|
657
|
-
private normalizeAttachmentValue;
|
|
658
|
-
private normalizeAttachmentItem;
|
|
659
|
-
private requiresMetadataRequest;
|
|
660
|
-
private isAttachmentItemValue;
|
|
661
|
-
private resolveExtension;
|
|
662
|
-
private normalizeAcceptTypes;
|
|
663
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<EntityAttachment, never>;
|
|
664
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<EntityAttachment, "mt-entity-attachment", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "shape": { "alias": "shape"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "endPoint": { "alias": "endPoint"; "required": false; "isSignal": true; }; "context": { "alias": "context"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
665
|
-
}
|
|
666
|
-
|
|
667
|
-
declare class EntityLocation {
|
|
668
|
-
readonly data: _angular_core.InputSignal<EntityData | undefined>;
|
|
669
|
-
readonly displayName: _angular_core.Signal<string>;
|
|
670
|
-
readonly location: _angular_core.Signal<EntityLocationValue | null>;
|
|
671
|
-
readonly displayValue: _angular_core.Signal<string>;
|
|
672
|
-
readonly coordinates: _angular_core.Signal<string>;
|
|
673
|
-
readonly mapsUrl: _angular_core.Signal<string>;
|
|
674
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<EntityLocation, never>;
|
|
675
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<EntityLocation, "mt-entity-location", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
676
|
-
}
|
|
677
|
-
|
|
678
|
-
declare class EntityConnection {
|
|
679
|
-
/** Full entity data object */
|
|
680
|
-
readonly data: _angular_core.InputSignal<EntityData | undefined>;
|
|
681
|
-
/** Individual inputs (used when data is not provided) */
|
|
682
|
-
readonly name: _angular_core.InputSignal<string | undefined>;
|
|
683
|
-
readonly value: _angular_core.InputSignal<string | EntityConnectionValue | undefined>;
|
|
684
|
-
readonly displayName: _angular_core.Signal<string>;
|
|
685
|
-
/** The connection display lives on `rawValue.display`; fall back to `value`. */
|
|
686
|
-
readonly connection: _angular_core.Signal<EntityConnectionValue | null>;
|
|
687
|
-
readonly displayValue: _angular_core.Signal<string>;
|
|
688
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<EntityConnection, never>;
|
|
689
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<EntityConnection, "mt-entity-connection", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
690
|
-
}
|
|
691
|
-
|
|
692
|
-
/**
|
|
693
|
-
* Preview renderer for `ScheduleItemSelector` properties.
|
|
694
|
-
*
|
|
695
|
-
* The value is the array of resolved schedule items returned by runtime
|
|
696
|
-
* rendering (`{ id, name, status, ... }`); each one is shown as a chip.
|
|
697
|
-
*/
|
|
698
|
-
declare class EntityScheduleItem {
|
|
699
|
-
/** Full entity data object */
|
|
700
|
-
readonly data: _angular_core.InputSignal<EntityData | undefined>;
|
|
701
|
-
readonly displayName: _angular_core.Signal<string>;
|
|
702
|
-
readonly items: _angular_core.Signal<EntityScheduleItemValue[]>;
|
|
703
|
-
readonly emptyLabel = "_";
|
|
704
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<EntityScheduleItem, never>;
|
|
705
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<EntityScheduleItem, "mt-entity-schedule-item", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
706
|
-
}
|
|
707
|
-
|
|
708
|
-
interface RenderedItem {
|
|
709
|
-
lookupKey: string;
|
|
710
|
-
/** Humanized lookup key for display. */
|
|
711
|
-
lookupLabel: string;
|
|
712
|
-
/** One entity per captured property, rendered by its catalog view type. */
|
|
713
|
-
props: EntityData[];
|
|
714
|
-
}
|
|
715
|
-
declare class EntityLookupModuleCheckList {
|
|
716
|
-
readonly data: _angular_core.InputSignal<EntityData>;
|
|
717
|
-
/**
|
|
718
|
-
* Catalog metadata for the captured properties, keyed by property key. The
|
|
719
|
-
* stored value carries keys only — this is what gives each nested prop its
|
|
720
|
-
* label and view type.
|
|
721
|
-
*/
|
|
722
|
-
private readonly metaByKey;
|
|
723
|
-
/**
|
|
724
|
-
* Normalizes the stored value into a flat list of checklist entries.
|
|
725
|
-
* Accepts both the rendered view model (`{ items: [...] }`) and the raw
|
|
726
|
-
* stored array (`[{ lookupKey, props }]`); returns `[]` for anything else.
|
|
727
|
-
*/
|
|
728
|
-
readonly items: _angular_core.Signal<RenderedItem[]>;
|
|
729
|
-
readonly hasItems: _angular_core.Signal<boolean>;
|
|
730
|
-
readonly emptyLabel: string;
|
|
731
|
-
/**
|
|
732
|
-
* Builds the entity for one captured property. Without catalog metadata the
|
|
733
|
-
* key is all there is to show it with, so it degrades to a humanized label
|
|
734
|
-
* and plain text.
|
|
735
|
-
*/
|
|
736
|
-
private toNestedEntity;
|
|
737
|
-
private extractEntries;
|
|
738
|
-
private resolveLookupKey;
|
|
739
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<EntityLookupModuleCheckList, never>;
|
|
740
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<EntityLookupModuleCheckList, "mt-entity-lookup-module-check-list", never, { "data": { "alias": "data"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
741
|
-
}
|
|
742
|
-
|
|
743
|
-
declare class EntityLeafDetails {
|
|
744
|
-
readonly data: _angular_core.InputSignal<EntityData>;
|
|
745
|
-
readonly leafValue: _angular_core.Signal<LeafDetailsEntityValue | null>;
|
|
746
|
-
/** Label shown below the badges: "Level Name (total)" */
|
|
747
|
-
readonly labelWithTotal: _angular_core.Signal<string>;
|
|
748
|
-
readonly labelIcon: _angular_core.Signal<string | null>;
|
|
749
|
-
statusColor(color: string | null): string;
|
|
750
|
-
/**
|
|
751
|
-
* Foreground for the count, chosen against the badge colour instead of always
|
|
752
|
-
* white — a light catalog colour measured 2.59:1 with white on it, the lowest
|
|
753
|
-
* contrast in the product (findings M-04, H-03).
|
|
754
|
-
*/
|
|
755
|
-
statusTextColor(color: string | null): string;
|
|
756
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<EntityLeafDetails, never>;
|
|
757
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<EntityLeafDetails, "mt-entity-leaf-details", never, { "data": { "alias": "data"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
758
|
-
}
|
|
759
|
-
|
|
760
|
-
declare const LEAF_DETAILS_KEY_SEPARATOR = "::leaflevel::";
|
|
761
|
-
declare function isLeafDetailsValue(value: unknown): value is LeafDetailsEntityValue;
|
|
762
|
-
declare function isLeafDetailsCollectionValue(value: unknown): value is LeafDetailsEntityCollectionValue;
|
|
763
|
-
declare function isLeafDetailsCatalogConfiguration(value: unknown): value is LeafDetailsCatalogConfiguration;
|
|
764
|
-
declare function isLeafDetailsRuntimeValue(value: unknown): value is LeafDetailsRuntimeValue;
|
|
765
|
-
declare function isLeafDetailsSyntheticKey(key?: string | null): boolean;
|
|
766
|
-
declare function expandLeafDetailsEntity(entity: EntityData): EntityData[];
|
|
767
|
-
declare function buildDisplayEntities(entities: EntityData[]): EntityData[];
|
|
768
|
-
|
|
769
|
-
/**
|
|
770
|
-
* The largest amount still rendered in full.
|
|
771
|
-
*
|
|
772
|
-
* The reviewer measured exactly where the line falls: `100,000 SAR` fits a card
|
|
773
|
-
* slot, `1,000,000 SAR` does not and loses its currency to the ellipsis. So the
|
|
774
|
-
* comparison below is inclusive — anything ABOVE this compacts, and everything
|
|
775
|
-
* a tenant sees today at or under it is untouched.
|
|
776
|
-
*/
|
|
777
|
-
declare const CURRENCY_COMPACT_THRESHOLD = 100000;
|
|
778
|
-
/**
|
|
779
|
-
* The numeric amount inside a formatted currency string.
|
|
780
|
-
*
|
|
781
|
-
* Strips the currency token, the grouping separators and the bidirectional
|
|
782
|
-
* marks `Intl` leaves around them, and normalises Arabic-Indic digits so an
|
|
783
|
-
* `ar-SA` payload parses like an `en` one. `null` when there is no number.
|
|
784
|
-
*/
|
|
785
|
-
declare function parseCurrencyAmount(raw: string | null | undefined): number | null;
|
|
786
|
-
/**
|
|
787
|
-
* Whatever is left of a formatted amount once the number is removed — `SAR`,
|
|
788
|
-
* `ر.س`, `$`. Read from the payload rather than configured, so a tenant's own
|
|
789
|
-
* currency survives untouched.
|
|
790
|
-
*/
|
|
791
|
-
declare function currencyUnitOf(formatted: string): string;
|
|
792
|
-
/**
|
|
793
|
-
* A large currency amount shortened so it fits a card slot, with the unit kept.
|
|
794
|
-
*
|
|
795
|
-
* A budget of a million or more used to render as `1,000,000 …`: the digits
|
|
796
|
-
* survived the ellipsis and the currency did not, so the largest and most
|
|
797
|
-
* consequential figures in the product were the only ones whose unit could not
|
|
798
|
-
* be read (finding H-06). Compact notation keeps the whole thing inside the
|
|
799
|
-
* slot — `SAR 1M` instead of `1,000,000 SAR` — and callers put the exact figure
|
|
800
|
-
* in a tooltip, which is where a precise number belongs on a summary card.
|
|
801
|
-
*
|
|
802
|
-
* Returns `formatted` unchanged whenever the value already fits, is not a
|
|
803
|
-
* number, or the runtime has no compact notation — so no tenant sees an
|
|
804
|
-
* existing number change shape for no reason.
|
|
805
|
-
*/
|
|
806
|
-
declare function compactCurrencyDisplay(formatted: string, rawValue: string | null | undefined, locale: string, threshold?: number): string;
|
|
807
|
-
|
|
808
|
-
/**
|
|
809
|
-
* Anything that can supply a percentage colour: an ordered rule set plus the
|
|
810
|
-
* fallback used when no rule matches.
|
|
811
|
-
*/
|
|
812
|
-
interface PercentageColorSource {
|
|
813
|
-
colorRules?: PercentageColorRule[] | null;
|
|
814
|
-
defaultColor?: string | null;
|
|
815
|
-
}
|
|
816
|
-
/**
|
|
817
|
-
* Whether `value` falls inside a rule's band. Both bounds are inclusive, an
|
|
818
|
-
* absent bound is open-ended, and a rule carrying neither bound is malformed —
|
|
819
|
-
* it never matches rather than swallowing every value.
|
|
820
|
-
*/
|
|
821
|
-
declare function matchesPercentageColorRule(value: number, rule?: PercentageColorRule | null): boolean;
|
|
822
|
-
/**
|
|
823
|
-
* The colour for a percentage value: rules in their configured order, first
|
|
824
|
-
* match wins, `defaultColor` when nothing matches.
|
|
825
|
-
*
|
|
826
|
-
* The backend owns this evaluation and ships the winner as `color` on
|
|
827
|
-
* render/value/fetch responses, so callers must prefer that resolved colour.
|
|
828
|
-
* This exists for the surfaces that hold a raw rule set and no resolved colour
|
|
829
|
-
* — the property-form preview, and catalog reads that never went through a
|
|
830
|
-
* value response.
|
|
831
|
-
*/
|
|
832
|
-
declare function resolvePercentageColor(value: unknown, source?: PercentageColorSource | null): string | null;
|
|
833
|
-
|
|
834
|
-
/**
|
|
835
|
-
* A section is persisted/transported as an ordinary display item whose
|
|
836
|
-
* `propertyKey` carries this sentinel prefix instead of a real property key
|
|
837
|
-
* (mirrors the LeafDetails synthetic-key convention). Both the customization
|
|
838
|
-
* builder and the runtime renderer recognize it, so the constant lives here in
|
|
839
|
-
* the shared entities layer rather than in either consumer.
|
|
840
|
-
*/
|
|
841
|
-
declare const SECTION_KEY_PREFIX = "__section__::";
|
|
842
|
-
/** True when a display item's key denotes a section marker. */
|
|
843
|
-
declare function isSectionKey(key?: string | null): boolean;
|
|
844
|
-
/** Mints a unique section marker key. */
|
|
845
|
-
declare function buildSectionKey(): string;
|
|
846
|
-
/**
|
|
847
|
-
* Resolves a localized label (`{ en, ar }`) for the given language, falling
|
|
848
|
-
* back across locales. Returns '' when nothing is set.
|
|
849
|
-
*/
|
|
850
|
-
declare function resolveLocalizedLabel(label: EntitySectionLabel | null | undefined, lang?: string): string;
|
|
851
|
-
/**
|
|
852
|
-
* A run of entities that belong to the same section. `section` is the marker
|
|
853
|
-
* entity (`viewType: 'Section'`) whose title heads the group, or `null` for the
|
|
854
|
-
* leading run of entities that appear before the first marker (rendered bare,
|
|
855
|
-
* with no box — so a card with no markers looks exactly like it did before
|
|
856
|
-
* sections existed).
|
|
857
|
-
*/
|
|
858
|
-
interface EntitySectionGroup {
|
|
859
|
-
section: EntityData | null;
|
|
860
|
-
entities: EntityData[];
|
|
861
|
-
}
|
|
862
|
-
/** True when the entity is a `Section` layout marker rather than a value. */
|
|
863
|
-
declare function isEntitySection(entity: EntityData | null | undefined): entity is EntityData;
|
|
864
|
-
/**
|
|
865
|
-
* Splits a flat, order-sorted entity list into section groups. Membership is
|
|
866
|
-
* purely positional: each entity belongs to whichever `Section` marker precedes
|
|
867
|
-
* it. Pass the output of `buildDisplayEntities` (already sorted by `order`).
|
|
868
|
-
*
|
|
869
|
-
* Zero markers → a single `{ section: null }` group holding everything, so the
|
|
870
|
-
* bare-grid rendering is unchanged. Empty leading/trailing runs are dropped.
|
|
871
|
-
*/
|
|
872
|
-
declare function groupEntitiesIntoSections(entities: EntityData[]): EntitySectionGroup[];
|
|
873
|
-
/**
|
|
874
|
-
* Resolves a section marker's display label for the given language, falling
|
|
875
|
-
* back across locales and finally to the entity's `name`.
|
|
876
|
-
*/
|
|
877
|
-
declare function getEntitySectionTitle(section: EntityData | null | undefined, lang?: string): string;
|
|
878
|
-
|
|
879
|
-
declare class EntityPreview {
|
|
880
|
-
readonly data: _angular_core.InputSignal<EntityData>;
|
|
881
|
-
readonly attachmentShape: _angular_core.InputSignal<"compact" | "default">;
|
|
882
|
-
readonly comparisonKind: _angular_core.Signal<"Value" | "EntityList" | null>;
|
|
883
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<EntityPreview, never>;
|
|
884
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<EntityPreview, "mt-entity-preview", never, { "data": { "alias": "data"; "required": true; "isSignal": true; }; "attachmentShape": { "alias": "attachmentShape"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
885
|
-
}
|
|
886
|
-
|
|
887
|
-
declare class EntityPreviewBody {
|
|
888
|
-
readonly data: _angular_core.InputSignal<EntityData>;
|
|
889
|
-
readonly attachmentShape: _angular_core.InputSignal<"compact" | "default">;
|
|
890
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<EntityPreviewBody, never>;
|
|
891
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<EntityPreviewBody, "mt-entity-preview-body", never, { "data": { "alias": "data"; "required": true; "isSignal": true; }; "attachmentShape": { "alias": "attachmentShape"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
892
|
-
}
|
|
893
|
-
|
|
894
|
-
declare class ComparisonValue {
|
|
895
|
-
readonly data: _angular_core.InputSignal<EntityData>;
|
|
896
|
-
readonly comparison: _angular_core.Signal<ValueComparison | null>;
|
|
897
|
-
readonly oldEntity: _angular_core.Signal<EntityData | null>;
|
|
898
|
-
readonly newEntity: _angular_core.Signal<EntityData | null>;
|
|
899
|
-
private buildSide;
|
|
900
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ComparisonValue, never>;
|
|
901
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ComparisonValue, "mt-comparison-value", never, { "data": { "alias": "data"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
902
|
-
}
|
|
903
|
-
|
|
904
|
-
interface OperationBadge {
|
|
905
|
-
label: string;
|
|
906
|
-
classes: string;
|
|
907
|
-
}
|
|
908
|
-
declare class ComparisonEntityList {
|
|
909
|
-
private readonly transloco;
|
|
910
|
-
readonly data: _angular_core.InputSignal<EntityData>;
|
|
911
|
-
readonly comparison: _angular_core.Signal<EntityListComparison | null>;
|
|
912
|
-
readonly rows: _angular_core.Signal<EntityListComparisonRow[]>;
|
|
913
|
-
readonly targetModuleKey: _angular_core.Signal<string>;
|
|
914
|
-
readonly label: _angular_core.Signal<string>;
|
|
915
|
-
badgeFor(op: EntityComparisonOperation): OperationBadge;
|
|
916
|
-
displayField(value: unknown, display?: string | null): string;
|
|
917
|
-
rowId(_i: number, row: EntityListComparisonRow): number | string;
|
|
918
|
-
oldField(row: EntityListComparisonRow, propertyKey: string): {
|
|
919
|
-
value: unknown;
|
|
920
|
-
display?: string | null;
|
|
921
|
-
} | undefined;
|
|
922
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ComparisonEntityList, never>;
|
|
923
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ComparisonEntityList, "mt-comparison-entity-list", never, { "data": { "alias": "data"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
924
|
-
}
|
|
925
|
-
|
|
926
|
-
interface EntityClickEvent {
|
|
927
|
-
entity: EntityData;
|
|
928
|
-
key: string;
|
|
929
|
-
source: MouseEvent;
|
|
930
|
-
}
|
|
931
|
-
/**
|
|
932
|
-
* One entity's fully-resolved render inputs.
|
|
933
|
-
*
|
|
934
|
-
* Precomputing these is what keeps large grids cheap. The template used to call
|
|
935
|
-
* `isClickable` / `isActive` / `getColSpan` roughly eight times per entity on
|
|
936
|
-
* *every* change detection pass; in a client-list card grid (60 cards of ~50
|
|
937
|
-
* entities) that was tens of thousands of calls per tick. A slot is now rebuilt
|
|
938
|
-
* only when the entity list, the clickable/active key sets, or the tooltip
|
|
939
|
-
* strings actually change.
|
|
940
|
-
*/
|
|
941
|
-
interface EntitySlot {
|
|
942
|
-
entity: EntityData;
|
|
943
|
-
trackKey: string;
|
|
944
|
-
containerClass: string;
|
|
945
|
-
colSpan: string;
|
|
946
|
-
clickable: boolean;
|
|
947
|
-
rowClickIgnore: 'true' | null;
|
|
948
|
-
title: string | null;
|
|
949
|
-
}
|
|
950
|
-
/** A section box (or the leading bare run) with its slots already resolved. */
|
|
951
|
-
interface EntitySlotGroup {
|
|
952
|
-
trackKey: string;
|
|
953
|
-
boxed: boolean;
|
|
954
|
-
title: string;
|
|
955
|
-
slots: EntitySlot[];
|
|
956
|
-
}
|
|
957
|
-
declare class EntitiesPreview {
|
|
958
|
-
private readonly transloco;
|
|
959
|
-
/** Array of entity data to display */
|
|
960
|
-
readonly entities: _angular_core.InputSignal<EntityData[]>;
|
|
961
|
-
readonly attachmentShape: _angular_core.InputSignal<"compact" | "default">;
|
|
962
|
-
/**
|
|
963
|
-
* Soft "stack every field full-width when the host is narrower than the
|
|
964
|
-
* 24-column grid reads well" behavior (the ≤400px container-query fallback,
|
|
965
|
-
* default on). Set to `false` in wide-enough card layouts — e.g. client-list
|
|
966
|
-
* cards (~350px) — so the per-entity `size` configuration is honored instead
|
|
967
|
-
* of forcing every item to full width. A hard ≤280px stack always applies
|
|
968
|
-
* regardless, so the 24-column gap floor can never overflow the host (#1081).
|
|
969
|
-
*/
|
|
970
|
-
readonly stackOnNarrow: _angular_core.InputSignal<boolean>;
|
|
971
|
-
/**
|
|
972
|
-
* Set of entity keys that should appear interactive (cursor pointer,
|
|
973
|
-
* clicks emit). Pass `new Set([...])` from a computed signal in the host
|
|
974
|
-
* for reactive enabling — when the host's set changes, Angular re-renders
|
|
975
|
-
* via its normal change detection, no manual subscriptions required.
|
|
976
|
-
*
|
|
977
|
-
* Pass a *stable* reference: a host method that mints a fresh `Set` on every
|
|
978
|
-
* call re-writes this input on every change detection pass and defeats the
|
|
979
|
-
* slot memoization below.
|
|
980
|
-
*/
|
|
981
|
-
readonly clickableKeys: _angular_core.InputSignal<ReadonlySet<string>>;
|
|
982
|
-
/**
|
|
983
|
-
* Set of entity keys that should render with the "active" treatment
|
|
984
|
-
* (e.g. currently the filter source). Same reactive pattern — and the same
|
|
985
|
-
* stable-reference requirement — as `clickableKeys`.
|
|
986
|
-
*/
|
|
987
|
-
readonly activeKeys: _angular_core.InputSignal<ReadonlySet<string>>;
|
|
988
|
-
/** Tooltip text shown on hover when an entity is clickable but not active. */
|
|
989
|
-
readonly clickableTooltip: _angular_core.InputSignal<string>;
|
|
990
|
-
/** Tooltip text shown on hover when an entity is the current active filter. */
|
|
991
|
-
readonly activeTooltip: _angular_core.InputSignal<string>;
|
|
992
|
-
/**
|
|
993
|
-
* Emits when an individual entity slot is clicked. Only fires when the
|
|
994
|
-
* entity's key is present in `clickableKeys`.
|
|
995
|
-
*/
|
|
996
|
-
readonly entityClick: _angular_core.OutputEmitterRef<EntityClickEvent>;
|
|
997
|
-
/**
|
|
998
|
-
* The active language as a signal. Section headings are resolved per-language
|
|
999
|
-
* in a `computed`, so under `OnPush` a plain `getActiveLang()` read would
|
|
1000
|
-
* freeze them at whatever language was active on first render.
|
|
1001
|
-
*/
|
|
1002
|
-
private readonly activeLang;
|
|
1003
|
-
/** Entities expanded and sorted by order */
|
|
1004
|
-
readonly displayEntities: _angular_core.Signal<EntityData[]>;
|
|
1005
|
-
/**
|
|
1006
|
-
* The display entities split into section groups. With no `Section` markers
|
|
1007
|
-
* this is a single `{ section: null }` group, so the bare grid renders
|
|
1008
|
-
* exactly as before.
|
|
1009
|
-
*/
|
|
1010
|
-
readonly sectionGroups: _angular_core.Signal<_masterteam_components_entities.EntitySectionGroup[]>;
|
|
1011
|
-
/**
|
|
1012
|
-
* The render model the template iterates. Split from `sectionGroups` on
|
|
1013
|
-
* purpose: grouping only re-runs when the entities themselves change, while
|
|
1014
|
-
* this cheap mapping re-runs when the key sets or tooltips change.
|
|
1015
|
-
*/
|
|
1016
|
-
protected readonly slotGroups: _angular_core.Signal<EntitySlotGroup[]>;
|
|
1017
|
-
protected onSlotClick(source: MouseEvent, slot: EntitySlot): void;
|
|
1018
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<EntitiesPreview, never>;
|
|
1019
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<EntitiesPreview, "mt-entities-preview", never, { "entities": { "alias": "entities"; "required": true; "isSignal": true; }; "attachmentShape": { "alias": "attachmentShape"; "required": false; "isSignal": true; }; "stackOnNarrow": { "alias": "stackOnNarrow"; "required": false; "isSignal": true; }; "clickableKeys": { "alias": "clickableKeys"; "required": false; "isSignal": true; }; "activeKeys": { "alias": "activeKeys"; "required": false; "isSignal": true; }; "clickableTooltip": { "alias": "clickableTooltip"; "required": false; "isSignal": true; }; "activeTooltip": { "alias": "activeTooltip"; "required": false; "isSignal": true; }; }, { "entityClick": "entityClick"; }, never, never, true, never>;
|
|
1020
|
-
}
|
|
1021
|
-
|
|
1022
|
-
/**
|
|
1023
|
-
* Base class that encapsulates all entity resize-via-drag logic.
|
|
1024
|
-
*
|
|
1025
|
-
* Extend this directive in any component that needs column-resize behaviour
|
|
1026
|
-
* on a 24-column CSS grid. The subclass must:
|
|
1027
|
-
* - Provide a `model.required<EntityData[]>()` (or equivalent) for the
|
|
1028
|
-
* entity list so `updateEntitySize()` can be called after resize.
|
|
1029
|
-
* - Contain a `.grid` element (or override `getGridElement()`).
|
|
1030
|
-
*
|
|
1031
|
-
* Resize flow:
|
|
1032
|
-
* 1. `onResizeStart(event, entity)` — called from a mousedown on the handle
|
|
1033
|
-
* 2. mousemove → snaps to nearest column, updates `resizePreviewSize`
|
|
1034
|
-
* 3. mouseup → emits `entityResized` with previous & new size
|
|
1035
|
-
*/
|
|
1036
|
-
declare abstract class EntitiesResizeBase {
|
|
1037
|
-
protected readonly elRef: ElementRef<any>;
|
|
1038
|
-
protected readonly zone: NgZone;
|
|
1039
|
-
protected readonly doc: Document;
|
|
1040
|
-
/** Emits when an entity is resized via the drag handle */
|
|
1041
|
-
readonly entityResized: _angular_core.OutputEmitterRef<EntityResizeEvent>;
|
|
1042
|
-
/** The entity currently being resized (null when idle) */
|
|
1043
|
-
readonly resizingEntity: _angular_core.WritableSignal<EntityData | null>;
|
|
1044
|
-
/** Live preview size while dragging */
|
|
1045
|
-
readonly resizePreviewSize: _angular_core.WritableSignal<EntitySize | null>;
|
|
1046
|
-
/** Bound listeners kept for cleanup */
|
|
1047
|
-
private _onMouseMove;
|
|
1048
|
-
private _onMouseUp;
|
|
1049
|
-
/**
|
|
1050
|
-
* Returns the grid element used to compute column widths.
|
|
1051
|
-
* Override if the grid selector differs.
|
|
1052
|
-
*/
|
|
1053
|
-
protected getGridElement(): HTMLElement | null;
|
|
1054
|
-
/**
|
|
1055
|
-
* Returns the grid-column span string for a given entity.
|
|
1056
|
-
* While resizing the active entity, returns the preview size.
|
|
1057
|
-
*/
|
|
1058
|
-
getResizeColSpan(entity: EntityData): string;
|
|
1059
|
-
/** Starts a resize operation from the right-edge handle */
|
|
1060
|
-
onResizeStart(event: MouseEvent, entity: EntityData): void;
|
|
1061
|
-
/**
|
|
1062
|
-
* Called when a resize operation completes with a changed size.
|
|
1063
|
-
* Subclasses should update the entity list and emit events here.
|
|
1064
|
-
*/
|
|
1065
|
-
protected abstract onResizeComplete(entity: EntityData, previousSize: EntitySize, newSize: EntitySize): void;
|
|
1066
|
-
/** Removes global mouse listeners */
|
|
1067
|
-
private _cleanupListeners;
|
|
1068
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<EntitiesResizeBase, never>;
|
|
1069
|
-
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<EntitiesResizeBase, never, never, {}, { "entityResized": "entityResized"; }, never, never, true, never>;
|
|
1070
|
-
}
|
|
1071
|
-
|
|
1072
|
-
declare class EntitiesManage extends EntitiesResizeBase {
|
|
1073
|
-
/** Array of entity data – supports two-way binding to keep order in sync */
|
|
1074
|
-
readonly entities: _angular_core.ModelSignal<EntityData[]>;
|
|
1075
|
-
/** Emits the reordered entities array after each drag-drop */
|
|
1076
|
-
readonly entitiesReordered: _angular_core.OutputEmitterRef<EntityData[]>;
|
|
1077
|
-
/** Emits when an entity cell is clicked (for opening edit drawer) */
|
|
1078
|
-
readonly entityClicked: _angular_core.OutputEmitterRef<EntityData>;
|
|
1079
|
-
/**
|
|
1080
|
-
* Emits when an item dragged from a *different* connected list (e.g. a sidebar
|
|
1081
|
-
* "add section" tool) is dropped onto this grid. `index` is the target slot;
|
|
1082
|
-
* `data` is the dropped `cdkDragData`. The host decides what to insert.
|
|
1083
|
-
*/
|
|
1084
|
-
readonly externalItemDropped: _angular_core.OutputEmitterRef<{
|
|
1085
|
-
index: number;
|
|
1086
|
-
data: unknown;
|
|
1087
|
-
}>;
|
|
1088
|
-
/** Entities expanded and sorted by their configured order */
|
|
1089
|
-
readonly displayEntities: _angular_core.Signal<EntityData[]>;
|
|
1090
|
-
/** Returns the grid-column span for a given entity size (1-24) */
|
|
1091
|
-
getColSpan(entity: EntityData): string;
|
|
1092
|
-
/** True when the entity is a full-width `Section` layout marker. */
|
|
1093
|
-
isSection(entity: EntityData): boolean;
|
|
1094
|
-
/** Handle drag-drop reorder */
|
|
1095
|
-
onDrop(event: CdkDragDrop<EntityData[]>): void;
|
|
1096
|
-
protected onResizeComplete(entity: EntityData, previousSize: EntitySize, newSize: EntitySize): void;
|
|
1097
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<EntitiesManage, never>;
|
|
1098
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<EntitiesManage, "mt-entities-manage", never, { "entities": { "alias": "entities"; "required": true; "isSignal": true; }; }, { "entities": "entitiesChange"; "entitiesReordered": "entitiesReordered"; "entityClicked": "entityClicked"; "externalItemDropped": "externalItemDropped"; }, never, never, true, never>;
|
|
1099
|
-
}
|
|
1100
|
-
|
|
1101
|
-
export { CURRENCY_COMPACT_THRESHOLD, ComparisonEntityList, ComparisonValue, DEFAULT_PHASE_GATE_COLOR, EntitiesManage, EntitiesPreview, EntitiesResizeBase, EntityAttachment, EntityCheckbox, EntityConnection, EntityCurrency, EntityDate, EntityField, EntityLeafDetails, EntityLocation, EntityLongText, EntityLookup, EntityLookupModuleCheckList, EntityPercentage, EntityPhaseGate, EntityPreview, EntityPreviewBody, EntityScheduleItem, EntityStatus, EntityText, EntityUser, LEAF_DETAILS_KEY_SEPARATOR, SECTION_KEY_PREFIX, buildDisplayEntities, buildSectionKey, compactCurrencyDisplay, currencyUnitOf, expandLeafDetailsEntity, getEntitySectionTitle, groupEntitiesIntoSections, isEntitySection, isLeafDetailsCatalogConfiguration, isLeafDetailsCollectionValue, isLeafDetailsRuntimeValue, isLeafDetailsSyntheticKey, isLeafDetailsValue, isSectionKey, matchesPercentageColorRule, parseCurrencyAmount, resolveLocalizedLabel, resolvePercentageColor };
|
|
1102
|
-
export type { ComparisonValueSide, EntityAttachmentItemValue, EntityAttachmentValue, EntityBaseConfig, EntityClickEvent, EntityComparisonField, EntityComparisonOperation, EntityConfiguration, EntityConnectionValue, EntityData, EntityLabelPosition, EntityLeafDetailsConfig, EntityListComparison, EntityListComparisonRow, EntityLocationValue, EntityLookupCheckListItem, EntityLookupCheckListPropValue, EntityLookupCheckListValue, EntityLookupValue, EntityMultiLookupValue, EntityMultiUserValue, EntityNestedPropertyMeta, EntityPercentageConfig, EntityPhaseGateValue, EntityPropertyConfiguration, EntityResizeEvent, EntityScheduleItemValue, EntitySectionConfig, EntitySectionGroup, EntitySectionLabel, EntitySize, EntityStatusValue, EntityUserConfig, EntityUserValue, EntityViewType, LeafDetailsCatalogConfiguration, LeafDetailsCatalogLevelValue, LeafDetailsCatalogStatusValue, LeafDetailsEntityCollectionValue, LeafDetailsEntityValue, LeafDetailsRuntimeChildSchema, LeafDetailsRuntimeStatusCount, LeafDetailsRuntimeStatusDetails, LeafDetailsRuntimeValue, LeafDetailsStatusSummary, LeafLevelSavedConfig, PercentageColorRule, PercentageColorSource, PropertyValueComparison, ValueComparison };
|