@softheon/armature 19.23.1 → 21.0.0
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/assets/styles/_utility.scss +26 -7
- package/assets/styles/b2b/_b2b-inputs-override.scss +8 -8
- package/assets/styles/b2b/_b2b-tabs.scss +6 -6
- package/assets/styles/deprecated/_button-deprecated.scss +6 -6
- package/assets/styles/material-override/_button.scss +1 -0
- package/assets/styles/material-override/_checkbox.scss +1 -1
- package/assets/styles/material-override/_radio-button.scss +16 -16
- package/assets/styles/material-override/_slider.scss +44 -44
- package/assets/styles/material-override/_switch.scss +77 -77
- package/fesm2022/softheon-armature-ag-grid-components.mjs +23 -25
- package/fesm2022/softheon-armature-ag-grid-components.mjs.map +1 -1
- package/fesm2022/softheon-armature.mjs +525 -423
- package/fesm2022/softheon-armature.mjs.map +1 -1
- package/package.json +21 -21
- package/{ag-grid-components/src/sof-table/sof-table.component.d.ts → types/softheon-armature-ag-grid-components.d.ts} +103 -6
- package/types/softheon-armature.d.ts +7175 -0
- package/ag-grid-components/index.d.ts +0 -5
- package/ag-grid-components/public-api.d.ts +0 -5
- package/ag-grid-components/src/ag-grid-components.module.d.ts +0 -30
- package/ag-grid-components/src/column-options-modal/column-options.component.d.ts +0 -50
- package/ag-grid-components/src/table-cell/table-cell.component.d.ts +0 -18
- package/index.d.ts +0 -5
- package/lib/alert-banner/alert-banner-api.d.ts +0 -7
- package/lib/alert-banner/alert-banner.module.d.ts +0 -12
- package/lib/alert-banner/components/alert-banner/alert-banner.component.d.ts +0 -41
- package/lib/alert-banner/models/alert-banner-config.d.ts +0 -20
- package/lib/alert-banner/models/alert-banner-context.d.ts +0 -18
- package/lib/alert-banner/models/constants.d.ts +0 -15
- package/lib/alert-banner/services/alert-banner.service.d.ts +0 -28
- package/lib/armature.module.d.ts +0 -47
- package/lib/base-components/b2b/toast/components/sof-toast/sof-toast.component.d.ts +0 -9
- package/lib/base-components/b2b/toast/models/toast.model.d.ts +0 -7
- package/lib/base-components/b2b/toast/toast.service.d.ts +0 -21
- package/lib/base-components/base-component-api.d.ts +0 -24
- package/lib/base-components/base-component.module.d.ts +0 -48
- package/lib/base-components/confirm-address/sof-confirm-address/compare-address-pipe/compare-address.pipe.d.ts +0 -11
- package/lib/base-components/confirm-address/sof-confirm-address/sof-confirm-address.component.d.ts +0 -62
- package/lib/base-components/confirm-address/sof-confirm-address-county-change/sof-confirm-address-county-change.component.d.ts +0 -41
- package/lib/base-components/menu/menu.d.ts +0 -52
- package/lib/base-components/sof-alert/sof-alert.component.d.ts +0 -39
- package/lib/base-components/sof-badge/sof-badge.component.d.ts +0 -58
- package/lib/base-components/sof-banner/sof-banner.component.d.ts +0 -34
- package/lib/base-components/sof-bottom-sheet/sof-bottom-sheet.component.d.ts +0 -64
- package/lib/base-components/sof-button-toggle-group/sof-button-toggle-group.component.d.ts +0 -102
- package/lib/base-components/sof-callout/sof-callout.component.d.ts +0 -89
- package/lib/base-components/sof-chip/sof-chip.component.d.ts +0 -55
- package/lib/base-components/sof-context/sof-context.component.d.ts +0 -101
- package/lib/base-components/sof-dropdown-button/sof-dropdown-button.component.d.ts +0 -40
- package/lib/base-components/sof-handle/sof-handle.component.d.ts +0 -62
- package/lib/base-components/sof-image-checkbox/sof-image-checkbox.component.d.ts +0 -28
- package/lib/base-components/sof-input-stepper/sof-input-stepper.component.d.ts +0 -76
- package/lib/base-components/sof-modal/sof-modal.component.d.ts +0 -54
- package/lib/base-components/sof-progress-bar/sof-progress-bar.component.d.ts +0 -40
- package/lib/base-components/sof-radio-card/sof-radio-card.component.d.ts +0 -20
- package/lib/base-components/sof-segmented-control/sof-segmented-control.component.d.ts +0 -42
- package/lib/base-components/sof-simple-alert/sof-simple-alert.component.d.ts +0 -28
- package/lib/base-components/sof-star-rating/sof-star-rating.component.d.ts +0 -22
- package/lib/base-components/sof-utility-button/sof-utility-button.component.d.ts +0 -40
- package/lib/component-save-print/components/component-save-print/component-save-print.component.d.ts +0 -46
- package/lib/component-save-print/services/component-save-print.service.d.ts +0 -18
- package/lib/component-save-print/sof-ar-component-save-print.module.d.ts +0 -9
- package/lib/core/client-generated/api/session.service.d.ts +0 -94
- package/lib/core/client-generated/configuration.d.ts +0 -48
- package/lib/core/client-generated/encoder.d.ts +0 -10
- package/lib/core/client-generated/model/applicationUserModel.d.ts +0 -54
- package/lib/core/client-generated/model/assertedUserModel.d.ts +0 -25
- package/lib/core/client-generated/model/brandingModel.d.ts +0 -33
- package/lib/core/client-generated/model/errorModel.d.ts +0 -24
- package/lib/core/client-generated/model/folderLink.d.ts +0 -34
- package/lib/core/client-generated/model/identityProfile.d.ts +0 -82
- package/lib/core/client-generated/model/models.d.ts +0 -19
- package/lib/core/client-generated/model/oAuthModel.d.ts +0 -28
- package/lib/core/client-generated/model/preferencesRow.d.ts +0 -15
- package/lib/core/client-generated/model/rolesRow.d.ts +0 -17
- package/lib/core/client-generated/model/sessionGetResponseModel.d.ts +0 -23
- package/lib/core/client-generated/model/sessionPostRequestModel.d.ts +0 -39
- package/lib/core/client-generated/model/sessionPostResponseModel.d.ts +0 -23
- package/lib/core/client-generated/model/sessionPutRequestModel.d.ts +0 -39
- package/lib/core/client-generated/model/sessionPutResponseModel.d.ts +0 -23
- package/lib/core/client-generated/model/sessionResponseModel.d.ts +0 -43
- package/lib/core/client-generated/model/settingsProfile.d.ts +0 -21
- package/lib/core/client-generated/model/themePaletteColorsModel.d.ts +0 -96
- package/lib/core/client-generated/model/themePaletteModel.d.ts +0 -65
- package/lib/core/client-generated/model/trackingModel.d.ts +0 -24
- package/lib/core/client-generated/model/validationRecordsRow.d.ts +0 -17
- package/lib/core/client-generated/variables.d.ts +0 -8
- package/lib/core/components/app-template/app-template.component.d.ts +0 -73
- package/lib/core/functions/guid.d.ts +0 -4
- package/lib/core/functions/naming-convention.d.ts +0 -6
- package/lib/core/functions/route-to-pre-login-route.d.ts +0 -6
- package/lib/core/initializer/abstract-startup-service.d.ts +0 -5
- package/lib/core/initializer/initializer.service.d.ts +0 -87
- package/lib/core/interceptors/armature-auth-token-append.interceptor.d.ts +0 -31
- package/lib/core/models/base-config.d.ts +0 -31
- package/lib/core/models/constants.d.ts +0 -17
- package/lib/core/models/data-store-config.d.ts +0 -27
- package/lib/core/models/federated-module-config.d.ts +0 -3
- package/lib/core/models/header-config.d.ts +0 -9
- package/lib/core/models/http-verbs.d.ts +0 -10
- package/lib/core/models/market-selection-config.d.ts +0 -12
- package/lib/core/models/nav-panel-config.d.ts +0 -17
- package/lib/core/models/navigation-config.d.ts +0 -14
- package/lib/core/models/oidc-auth-settings.d.ts +0 -11
- package/lib/core/models/route-path.d.ts +0 -5
- package/lib/core/models/session-config.d.ts +0 -18
- package/lib/core/models/styles.d.ts +0 -11
- package/lib/core/models/subdomain-config.d.ts +0 -7
- package/lib/core/models/typed-session.d.ts +0 -17
- package/lib/core/models/user-entity-service-config.d.ts +0 -14
- package/lib/core/services/authorization.service.d.ts +0 -54
- package/lib/core/services/banner.service.d.ts +0 -31
- package/lib/core/services/base-config.service.d.ts +0 -21
- package/lib/core/services/custom-auth-config.service.d.ts +0 -6
- package/lib/core/services/default-config.service.d.ts +0 -8
- package/lib/core/services/federated-module.service.d.ts +0 -23
- package/lib/core/services/market-selection.service.d.ts +0 -137
- package/lib/core/services/selected-market-context.d.ts +0 -22
- package/lib/core/services/session.service.d.ts +0 -127
- package/lib/core/services/user-entity.service.d.ts +0 -47
- package/lib/directives/text-overflow-ellipsis-tooltip.directive.d.ts +0 -59
- package/lib/distributed-cache/client-generated/api/api.d.ts +0 -3
- package/lib/distributed-cache/client-generated/api/cache.service.d.ts +0 -72
- package/lib/distributed-cache/client-generated/configuration.d.ts +0 -48
- package/lib/distributed-cache/client-generated/encoder.d.ts +0 -10
- package/lib/distributed-cache/client-generated/model/cacheExpirationType.d.ts +0 -19
- package/lib/distributed-cache/client-generated/model/createCacheEntryRequestModel.d.ts +0 -33
- package/lib/distributed-cache/client-generated/model/models.d.ts +0 -4
- package/lib/distributed-cache/client-generated/model/retrieveCacheEntryResponseModel.d.ts +0 -20
- package/lib/distributed-cache/client-generated/model/updateCacheEntryRequestModel.d.ts +0 -20
- package/lib/distributed-cache/client-generated/variables.d.ts +0 -8
- package/lib/distributed-cache/distributed-cache-api.d.ts +0 -7
- package/lib/distributed-cache/distributed-cache.module.d.ts +0 -8
- package/lib/distributed-cache/models/constants.d.ts +0 -2
- package/lib/distributed-cache/models/policy-person.d.ts +0 -19
- package/lib/distributed-cache/services/server-cache.service.d.ts +0 -72
- package/lib/error/components/error-common/error-common.component.d.ts +0 -63
- package/lib/error/error-api.d.ts +0 -1
- package/lib/faq/components/faq/faq.component.d.ts +0 -22
- package/lib/faq/faq-api.d.ts +0 -5
- package/lib/faq/faq.module.d.ts +0 -15
- package/lib/faq/models/faq-config.d.ts +0 -13
- package/lib/faq/models/faq.d.ts +0 -9
- package/lib/feedback-tool/components/feedback-tool/feedback-tool.component.d.ts +0 -62
- package/lib/feedback-tool/feedback-tool-api.d.ts +0 -3
- package/lib/feedback-tool/feedback-tool.module.d.ts +0 -14
- package/lib/footer/components/footer/footer.component.d.ts +0 -14
- package/lib/footer/components/site-map/site-map.component.d.ts +0 -13
- package/lib/footer/footer-api.d.ts +0 -7
- package/lib/footer/footer.module.d.ts +0 -14
- package/lib/footer/models/enum/site-map-direction.d.ts +0 -13
- package/lib/footer/models/footer-config.d.ts +0 -7
- package/lib/footer/models/site-map-models.d.ts +0 -41
- package/lib/forms/components/sof-address/sof-address.component.d.ts +0 -56
- package/lib/forms/components/sof-select/sof-select.component.d.ts +0 -239
- package/lib/forms/directives/alphanumeric/alphanumeric.directive.d.ts +0 -31
- package/lib/forms/directives/date-input-filter/date-input-filter.directive.d.ts +0 -7
- package/lib/forms/directives/input-trim/input-trim.directive.d.ts +0 -58
- package/lib/forms/directives/letters-characters/letters-characters.directive.d.ts +0 -27
- package/lib/forms/directives/letters-only/letters-only.directive.d.ts +0 -27
- package/lib/forms/directives/numbers-only/numbers-only.directive.d.ts +0 -22
- package/lib/forms/forms-api.d.ts +0 -16
- package/lib/forms/forms.module.d.ts +0 -22
- package/lib/forms/models/address.d.ts +0 -14
- package/lib/forms/models/constants.d.ts +0 -9
- package/lib/forms/models/county.d.ts +0 -13
- package/lib/forms/models/enums/states.d.ts +0 -64
- package/lib/forms/pipes/phone-format.pipe.d.ts +0 -10
- package/lib/forms/services/alert.service.d.ts +0 -60
- package/lib/header/components/header/header.component.d.ts +0 -123
- package/lib/header/components/mobile-header-menu/mobile-header-menu.component.d.ts +0 -26
- package/lib/header/components/sof-header/menu-prevent-close-directive/menu-prevent-close.directive.d.ts +0 -7
- package/lib/header/components/sof-header/sof-header.component.d.ts +0 -123
- package/lib/header/components/sof-header/user-initials-pipe/user-initials.pipe.d.ts +0 -10
- package/lib/header/header-api.d.ts +0 -12
- package/lib/header/header.module.d.ts +0 -21
- package/lib/header/models/header-auth.settings.d.ts +0 -30
- package/lib/header/models/header-external-links.d.ts +0 -13
- package/lib/header/models/header-language.settings.d.ts +0 -10
- package/lib/header/models/header-theme.settings.d.ts +0 -19
- package/lib/header/models/header.settings.d.ts +0 -56
- package/lib/header/models/mobile-header-nav.settings.d.ts +0 -11
- package/lib/mfe/components/entity-base/entity-base.component.d.ts +0 -40
- package/lib/mfe/components/entity-inject-wrapper/entity-inject-wrapper.component.d.ts +0 -25
- package/lib/mfe/mfe.module.d.ts +0 -7
- package/lib/mfe/models/entity-config-base.d.ts +0 -5
- package/lib/mfe/models/entity-dto.d.ts +0 -191
- package/lib/mfe/services/entity-helper.service.d.ts +0 -60
- package/lib/navigation/components/b2b-nav/b2b-nav.component.d.ts +0 -103
- package/lib/navigation/components/navigation/navigation.component.d.ts +0 -201
- package/lib/navigation/components/sof-breadcrumbs/sof-breadcrumbs-hierarchy/sof-breadcrumbs-hierarchy.component.d.ts +0 -29
- package/lib/navigation/components/sof-breadcrumbs/sof-breadcrumbs-history/sof-breadcrumbs-history.component.d.ts +0 -36
- package/lib/navigation/components/sof-navigation-panel/models/nav-panel-logo.d.ts +0 -12
- package/lib/navigation/components/sof-navigation-panel/models/nav-panel-nodes.d.ts +0 -99
- package/lib/navigation/components/sof-navigation-panel/models/nav-panel-settings.d.ts +0 -11
- package/lib/navigation/components/sof-navigation-panel/sof-nav-panel.component.d.ts +0 -87
- package/lib/navigation/components/sof-sub-navigation/sof-sub-navigation.component.d.ts +0 -49
- package/lib/navigation/components/sof-tabs-navigation/sof-tabs.component.d.ts +0 -30
- package/lib/navigation/models/breadcrumb.d.ts +0 -9
- package/lib/navigation/models/nav-theme.settings.d.ts +0 -25
- package/lib/navigation/models/nav.settings.d.ts +0 -68
- package/lib/navigation/models/navigation.d.ts +0 -42
- package/lib/navigation/navigation-api.d.ts +0 -15
- package/lib/navigation/navigation.module.d.ts +0 -28
- package/lib/oauth/models/constants.d.ts +0 -6
- package/lib/oauth/models/generated/accountManagementAssertionModel.d.ts +0 -49
- package/lib/oauth/models/generated/accountManagementRefreshRequestModel.d.ts +0 -21
- package/lib/oauth/models/generated/accountManagementResponseModel.d.ts +0 -45
- package/lib/oauth/models/generated/coverageDetail.d.ts +0 -67
- package/lib/oauth/models/generated/finance.d.ts +0 -36
- package/lib/oauth/models/generated/iSsoResponseModel.d.ts +0 -44
- package/lib/oauth/models/generated/iSsoResponseModelAccountManagementAssertionModel.d.ts +0 -45
- package/lib/oauth/models/generated/person.d.ts +0 -53
- package/lib/oauth/models/generated/policy.d.ts +0 -51
- package/lib/oauth/models/generated/refreshResponseModel.d.ts +0 -20
- package/lib/oauth/models/hybrid-saml-oauth-config.d.ts +0 -14
- package/lib/oauth/oauth-api.d.ts +0 -12
- package/lib/oauth/oauth.module.d.ts +0 -8
- package/lib/oauth/services/hybrid-saml-oauth.service.d.ts +0 -59
- package/lib/rbac/directives/rbac-action.directive.d.ts +0 -27
- package/lib/rbac/models/access-token-claims.d.ts +0 -18
- package/lib/rbac/models/constants.d.ts +0 -4
- package/lib/rbac/models/decoded-access-token.d.ts +0 -43
- package/lib/rbac/models/rbac-config.d.ts +0 -15
- package/lib/rbac/models/role-access.d.ts +0 -7
- package/lib/rbac/rbac-api.d.ts +0 -11
- package/lib/rbac/rbac.module.d.ts +0 -19
- package/lib/rbac/services/ar-role-nav.service.d.ts +0 -25
- package/lib/rbac/services/oauth2-role.service.d.ts +0 -51
- package/lib/rbac/services/role-nav.service.d.ts +0 -12
- package/lib/rbac/services/tokens.d.ts +0 -3
- package/lib/resize-panels/components/resize-panels/resize-panels.component.d.ts +0 -64
- package/lib/resize-panels/models/resize-event.d.ts +0 -6
- package/lib/resize-panels/resize-panels-api.d.ts +0 -4
- package/lib/resize-panels/resize-panels.module.d.ts +0 -9
- package/lib/rum/models/arm-error.d.ts +0 -27
- package/lib/rum/models/rum-config.d.ts +0 -9
- package/lib/rum/rum-api.d.ts +0 -7
- package/lib/rum/rum.module.d.ts +0 -14
- package/lib/rum/services/rum.service.d.ts +0 -47
- package/lib/rum/services/shared-error.service.d.ts +0 -27
- package/lib/rum/services/softheon-error-handler.service.d.ts +0 -32
- package/lib/saml/components/redirect-saml/redirect-saml.component.d.ts +0 -41
- package/lib/saml/models/i-saml-request.d.ts +0 -4
- package/lib/saml/models/i-saml-response.d.ts +0 -4
- package/lib/saml/models/redirect-saml-request.d.ts +0 -24
- package/lib/saml/models/sso-gateway-model.d.ts +0 -17
- package/lib/saml/saml-api.d.ts +0 -11
- package/lib/saml/saml.module.d.ts +0 -9
- package/lib/saml/services/entry/abstract-saml-entry.service.d.ts +0 -16
- package/lib/saml/services/entry/sso-gateway-entry.service.d.ts +0 -22
- package/lib/saml/services/send-off/abstract-saml.service.d.ts +0 -20
- package/lib/saml/services/send-off/saml.service.d.ts +0 -32
- package/lib/snackbar/snackbar.d.ts +0 -52
- package/lib/snackbar/snackbar.service.d.ts +0 -50
- package/lib/snackbar/sof-snackbar/sof-snackbar.component.d.ts +0 -39
- package/lib/sof-pipe/constants/constants.d.ts +0 -8
- package/lib/sof-pipe/models/sof-date-pipe-format.d.ts +0 -7
- package/lib/sof-pipe/pipes/sof-blank/sof-blank.pipe.d.ts +0 -19
- package/lib/sof-pipe/pipes/sof-date/sof-date.pipe.d.ts +0 -21
- package/lib/sof-pipe/pipes/sof-ssn/sof-ssn.pipe.d.ts +0 -12
- package/lib/sof-pipe/sof-pipe.api.d.ts +0 -7
- package/lib/sof-pipe/sof-pipe.module.d.ts +0 -10
- package/lib/theming/directives/css-override.directive.d.ts +0 -20
- package/lib/theming/models/css-override.d.ts +0 -15
- package/lib/theming/services/theme.service.d.ts +0 -45
- package/lib/theming/theme-api.d.ts +0 -5
- package/lib/theming/theme.module.d.ts +0 -9
- package/public-api.d.ts +0 -66
package/package.json
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@softheon/armature",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "21.0.0",
|
|
4
4
|
"dependencies": {
|
|
5
|
-
"tslib": "^2.
|
|
5
|
+
"tslib": "^2.8.1"
|
|
6
6
|
},
|
|
7
7
|
"peerDependencies": {
|
|
8
|
-
"@angular/animations": "^
|
|
9
|
-
"@angular/cdk": "^
|
|
10
|
-
"@angular/common": "^
|
|
11
|
-
"@angular/compiler": "^
|
|
12
|
-
"@angular/core": "^
|
|
13
|
-
"@angular/forms": "^
|
|
14
|
-
"@angular/material": "^
|
|
15
|
-
"@angular/platform-browser": "^
|
|
16
|
-
"@angular/platform-browser-dynamic": "^
|
|
17
|
-
"@angular/router": "^
|
|
18
|
-
"@ngbracket/ngx-layout": "^
|
|
19
|
-
"@ngx-translate/core": "^
|
|
20
|
-
"@ngx-translate/http-loader": "^
|
|
8
|
+
"@angular/animations": "^21.1.2",
|
|
9
|
+
"@angular/cdk": "^21.1.1",
|
|
10
|
+
"@angular/common": "^21.1.2",
|
|
11
|
+
"@angular/compiler": "^21.1.2",
|
|
12
|
+
"@angular/core": "^21.1.2",
|
|
13
|
+
"@angular/forms": "^21.1.2",
|
|
14
|
+
"@angular/material": "^21.1.1",
|
|
15
|
+
"@angular/platform-browser": "^21.1.2",
|
|
16
|
+
"@angular/platform-browser-dynamic": "^21.1.2",
|
|
17
|
+
"@angular/router": "^21.1.2",
|
|
18
|
+
"@ngbracket/ngx-layout": "^21.0.0",
|
|
19
|
+
"@ngx-translate/core": "^17.0.0",
|
|
20
|
+
"@ngx-translate/http-loader": "^17.0.0",
|
|
21
21
|
"ag-grid-angular": "^31.2.1",
|
|
22
22
|
"ag-grid-community": "^31.2.1",
|
|
23
|
-
"angular-oauth2-oidc": "~
|
|
24
|
-
"angular-oauth2-oidc-jwks": "~
|
|
25
|
-
"ngx-cookie-service": "^
|
|
23
|
+
"angular-oauth2-oidc": "~20.0.2",
|
|
24
|
+
"angular-oauth2-oidc-jwks": "~20.0.0",
|
|
25
|
+
"ngx-cookie-service": "^21.1.0",
|
|
26
26
|
"rxjs": "~7.8.0",
|
|
27
27
|
"moment": "^2.29.4"
|
|
28
28
|
},
|
|
@@ -35,17 +35,17 @@
|
|
|
35
35
|
}
|
|
36
36
|
},
|
|
37
37
|
"module": "fesm2022/softheon-armature.mjs",
|
|
38
|
-
"typings": "
|
|
38
|
+
"typings": "types/softheon-armature.d.ts",
|
|
39
39
|
"exports": {
|
|
40
40
|
"./package.json": {
|
|
41
41
|
"default": "./package.json"
|
|
42
42
|
},
|
|
43
43
|
".": {
|
|
44
|
-
"types": "./
|
|
44
|
+
"types": "./types/softheon-armature.d.ts",
|
|
45
45
|
"default": "./fesm2022/softheon-armature.mjs"
|
|
46
46
|
},
|
|
47
47
|
"./ag-grid-components": {
|
|
48
|
-
"types": "./ag-grid-components
|
|
48
|
+
"types": "./types/softheon-armature-ag-grid-components.d.ts",
|
|
49
49
|
"default": "./fesm2022/softheon-armature-ag-grid-components.mjs"
|
|
50
50
|
}
|
|
51
51
|
},
|
|
@@ -1,9 +1,31 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { OnInit, OnChanges, EventEmitter, ElementRef, QueryList, WritableSignal, SimpleChanges } from '@angular/core';
|
|
3
|
+
import { ColDef, ApplyColumnStateParams, FilterModel, GridReadyEvent, SortChangedEvent, PaginationChangedEvent, NavigateToNextHeaderParams, HeaderPosition, TabToNextHeaderParams } from 'ag-grid-community';
|
|
4
|
+
import * as i9 from '@angular/material/select';
|
|
3
5
|
import { MatSelect } from '@angular/material/select';
|
|
4
|
-
import * as
|
|
6
|
+
import * as i4 from '@angular/common';
|
|
7
|
+
import * as i5 from '@ngbracket/ngx-layout';
|
|
8
|
+
import * as i6 from '@angular/forms';
|
|
9
|
+
import * as i7 from '@ngx-translate/core';
|
|
10
|
+
import * as i8 from 'ag-grid-angular';
|
|
11
|
+
import * as i10 from '@angular/material/core';
|
|
12
|
+
import * as i11 from '@angular/material/checkbox';
|
|
13
|
+
import * as i12 from '@angular/material/icon';
|
|
14
|
+
import * as i13 from '@angular/material/dialog';
|
|
15
|
+
import * as i14 from '@angular/material/button';
|
|
16
|
+
import * as i15 from '@angular/material/form-field';
|
|
17
|
+
import * as i16 from '@angular/material/input';
|
|
18
|
+
import * as i17 from '@angular/material/toolbar';
|
|
19
|
+
import * as i18 from '@angular/material/tooltip';
|
|
20
|
+
import * as i19 from '@angular/material/button-toggle';
|
|
21
|
+
import * as i20 from '@angular/material/card';
|
|
22
|
+
import * as i21 from '@angular/material/radio';
|
|
23
|
+
import * as i22 from '@angular/material/badge';
|
|
24
|
+
import * as i23 from '@angular/material/progress-spinner';
|
|
25
|
+
import * as i24 from '@softheon/armature';
|
|
26
|
+
|
|
5
27
|
/** The Softheon Armature Table component */
|
|
6
|
-
|
|
28
|
+
declare class SofTableComponent implements OnInit, OnChanges {
|
|
7
29
|
/** The language text or a key that will be shown in this component */
|
|
8
30
|
rowData: Array<any>;
|
|
9
31
|
/** Column Definitions: Defines & controls grid columns. */
|
|
@@ -206,7 +228,7 @@ export declare class SofTableComponent implements OnInit, OnChanges {
|
|
|
206
228
|
static ɵfac: i0.ɵɵFactoryDeclaration<SofTableComponent, never>;
|
|
207
229
|
static ɵcmp: i0.ɵɵComponentDeclaration<SofTableComponent, "sof-table", never, { "rowData": { "alias": "rowData"; "required": false; }; "colDefs": { "alias": "colDefs"; "required": false; }; "sizeMode": { "alias": "sizeMode"; "required": false; }; "paginationPageSizeSelector": { "alias": "paginationPageSizeSelector"; "required": false; }; "enableSearch": { "alias": "enableSearch"; "required": false; }; "enableFilter": { "alias": "enableFilter"; "required": false; }; "enableColumnOptions": { "alias": "enableColumnOptions"; "required": false; }; "enableExport": { "alias": "enableExport"; "required": false; }; "enablePagination": { "alias": "enablePagination"; "required": false; }; "showSaveColumnOptionsText": { "alias": "showSaveColumnOptionsText"; "required": false; }; "tableName": { "alias": "tableName"; "required": false; }; "savedColumnState": { "alias": "savedColumnState"; "required": false; }; "initialFilterModel": { "alias": "initialFilterModel"; "required": false; }; }, { "updatedColumnState": "updatedColumnState"; "filteredRowDataForExport": "filteredRowDataForExport"; }, never, ["[sof-table-right-buttons]"], false, never>;
|
|
208
230
|
}
|
|
209
|
-
|
|
231
|
+
interface ExportTableData {
|
|
210
232
|
tableHeaders?: Array<KeyValPair>;
|
|
211
233
|
rowData?: Array<any>;
|
|
212
234
|
}
|
|
@@ -223,4 +245,79 @@ declare class SofTableFilter {
|
|
|
223
245
|
/** The column filter options */
|
|
224
246
|
options: string[];
|
|
225
247
|
}
|
|
226
|
-
|
|
248
|
+
|
|
249
|
+
/** The Softheon Armature Table Cell component */
|
|
250
|
+
declare class SofTableCellComponent {
|
|
251
|
+
/** All Components for Table Cell */
|
|
252
|
+
components: TableCellComponent[];
|
|
253
|
+
/** Any logic related to ag grid cell renderer data can be added here */
|
|
254
|
+
agInit(params: any): void;
|
|
255
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SofTableCellComponent, never>;
|
|
256
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SofTableCellComponent, "sof-table-cell", never, { "components": { "alias": "components"; "required": false; }; }, {}, never, never, false, never>;
|
|
257
|
+
}
|
|
258
|
+
/** Components to Render in Table Cell */
|
|
259
|
+
interface TableCellComponent {
|
|
260
|
+
/** Component Class */
|
|
261
|
+
component: any;
|
|
262
|
+
/** Inputs needed for specific component */
|
|
263
|
+
inputs: any;
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
/** Table Column options dialog */
|
|
267
|
+
declare class SofColumnOptionsComponent {
|
|
268
|
+
/** dialog reference */
|
|
269
|
+
private dialogRef;
|
|
270
|
+
/** dialog data */
|
|
271
|
+
data: ColumnOptionsData;
|
|
272
|
+
/** emit the updated column state */
|
|
273
|
+
applyUpdatedColumnState(): void;
|
|
274
|
+
/** reset the column data to its first saved value */
|
|
275
|
+
resetColumnData(): void;
|
|
276
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SofColumnOptionsComponent, never>;
|
|
277
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SofColumnOptionsComponent, "sof-column-options", never, {}, {}, never, never, false, never>;
|
|
278
|
+
}
|
|
279
|
+
/**
|
|
280
|
+
* Column options modal data
|
|
281
|
+
* @description data passed from the 'SofTableComponent'
|
|
282
|
+
* @property `tableName: string` name of the table using the column options
|
|
283
|
+
* @property `columnData: Array<ColumnData>` column data returned from the agGrid api
|
|
284
|
+
* @property `initialColumnData: Array<ColumnData>` column data from saved user preference or initial `columnData`
|
|
285
|
+
* @see {@link ColumnData}
|
|
286
|
+
*/
|
|
287
|
+
interface ColumnOptionsData {
|
|
288
|
+
/** name of the table using the column options */
|
|
289
|
+
tableName?: string;
|
|
290
|
+
/** column data returned from the agGrid api */
|
|
291
|
+
columnData?: Array<ColumnData>;
|
|
292
|
+
/** column data from saved user preference or initial `columnData` */
|
|
293
|
+
initialColumnData?: Array<ColumnData>;
|
|
294
|
+
/**
|
|
295
|
+
* To display the text on the column options modal, which states -
|
|
296
|
+
* `"Options will be saved for the next time you log in."`
|
|
297
|
+
*/
|
|
298
|
+
showSaveColumnOptionsText?: boolean;
|
|
299
|
+
}
|
|
300
|
+
/**
|
|
301
|
+
* Column data
|
|
302
|
+
* @description column data derived from the agGrid api, adds id property to type `HandleInput`
|
|
303
|
+
* @property `id: string` columns unique id
|
|
304
|
+
* @property `text: string` columns header text
|
|
305
|
+
* @property `isChecked: boolean` column not hidden
|
|
306
|
+
*/
|
|
307
|
+
interface ColumnData {
|
|
308
|
+
/** columns unique id */
|
|
309
|
+
id?: string;
|
|
310
|
+
/** columns header text */
|
|
311
|
+
text?: string;
|
|
312
|
+
/** column not hidden */
|
|
313
|
+
isChecked?: boolean;
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
declare class AgGridComponentsModule {
|
|
317
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AgGridComponentsModule, never>;
|
|
318
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AgGridComponentsModule, [typeof SofTableComponent, typeof SofTableCellComponent, typeof SofColumnOptionsComponent], [typeof i4.CommonModule, typeof i5.FlexLayoutModule, typeof i6.FormsModule, typeof i6.ReactiveFormsModule, typeof i7.TranslateModule, typeof i8.AgGridModule, typeof i9.MatSelectModule, typeof i10.MatOptionModule, typeof i11.MatCheckboxModule, typeof i12.MatIconModule, typeof i13.MatDialogModule, typeof i14.MatButtonModule, typeof i15.MatFormFieldModule, typeof i16.MatInputModule, typeof i17.MatToolbarModule, typeof i18.MatTooltipModule, typeof i19.MatButtonToggleModule, typeof i20.MatCardModule, typeof i21.MatRadioModule, typeof i22.MatBadgeModule, typeof i23.MatProgressSpinnerModule, typeof i24.BaseComponentModule], [typeof SofTableComponent, typeof SofTableCellComponent, typeof SofColumnOptionsComponent]>;
|
|
319
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AgGridComponentsModule>;
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
export { AgGridComponentsModule, SofColumnOptionsComponent, SofTableCellComponent, SofTableComponent };
|
|
323
|
+
export type { ColumnData, ColumnOptionsData, ExportTableData };
|