@softheon/armature 19.23.2 → 21.0.1
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/_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 +32 -29
- package/fesm2022/softheon-armature-ag-grid-components.mjs.map +1 -1
- package/fesm2022/softheon-armature.mjs +441 -458
- package/fesm2022/softheon-armature.mjs.map +1 -1
- package/package.json +23 -23
- 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 +7156 -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 -60
- 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 -134
- 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 -130
- 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
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/** Public API Surface of Ag Grid components */
|
|
2
|
-
export * from './src/ag-grid-components.module';
|
|
3
|
-
export * from './src/sof-table/sof-table.component';
|
|
4
|
-
export * from './src/table-cell/table-cell.component';
|
|
5
|
-
export * from './src/column-options-modal/column-options.component';
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./sof-table/sof-table.component";
|
|
3
|
-
import * as i2 from "./table-cell/table-cell.component";
|
|
4
|
-
import * as i3 from "./column-options-modal/column-options.component";
|
|
5
|
-
import * as i4 from "@angular/common";
|
|
6
|
-
import * as i5 from "@ngbracket/ngx-layout";
|
|
7
|
-
import * as i6 from "@angular/forms";
|
|
8
|
-
import * as i7 from "@ngx-translate/core";
|
|
9
|
-
import * as i8 from "ag-grid-angular";
|
|
10
|
-
import * as i9 from "@angular/material/select";
|
|
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
|
-
export declare class AgGridComponentsModule {
|
|
27
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AgGridComponentsModule, never>;
|
|
28
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AgGridComponentsModule, [typeof i1.SofTableComponent, typeof i2.SofTableCellComponent, typeof i3.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 i1.SofTableComponent, typeof i2.SofTableCellComponent, typeof i3.SofColumnOptionsComponent]>;
|
|
29
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<AgGridComponentsModule>;
|
|
30
|
-
}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
/** Table Column options dialog */
|
|
3
|
-
export declare class SofColumnOptionsComponent {
|
|
4
|
-
/** dialog reference */
|
|
5
|
-
private dialogRef;
|
|
6
|
-
/** dialog data */
|
|
7
|
-
data: ColumnOptionsData;
|
|
8
|
-
/** emit the updated column state */
|
|
9
|
-
applyUpdatedColumnState(): void;
|
|
10
|
-
/** reset the column data to its first saved value */
|
|
11
|
-
resetColumnData(): void;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SofColumnOptionsComponent, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SofColumnOptionsComponent, "sof-column-options", never, {}, {}, never, never, false, never>;
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* Column options modal data
|
|
17
|
-
* @description data passed from the 'SofTableComponent'
|
|
18
|
-
* @property `tableName: string` name of the table using the column options
|
|
19
|
-
* @property `columnData: Array<ColumnData>` column data returned from the agGrid api
|
|
20
|
-
* @property `initialColumnData: Array<ColumnData>` column data from saved user preference or initial `columnData`
|
|
21
|
-
* @see {@link ColumnData}
|
|
22
|
-
*/
|
|
23
|
-
export interface ColumnOptionsData {
|
|
24
|
-
/** name of the table using the column options */
|
|
25
|
-
tableName?: string;
|
|
26
|
-
/** column data returned from the agGrid api */
|
|
27
|
-
columnData?: Array<ColumnData>;
|
|
28
|
-
/** column data from saved user preference or initial `columnData` */
|
|
29
|
-
initialColumnData?: Array<ColumnData>;
|
|
30
|
-
/**
|
|
31
|
-
* To display the text on the column options modal, which states -
|
|
32
|
-
* `"Options will be saved for the next time you log in."`
|
|
33
|
-
*/
|
|
34
|
-
showSaveColumnOptionsText?: boolean;
|
|
35
|
-
}
|
|
36
|
-
/**
|
|
37
|
-
* Column data
|
|
38
|
-
* @description column data derived from the agGrid api, adds id property to type `HandleInput`
|
|
39
|
-
* @property `id: string` columns unique id
|
|
40
|
-
* @property `text: string` columns header text
|
|
41
|
-
* @property `isChecked: boolean` column not hidden
|
|
42
|
-
*/
|
|
43
|
-
export interface ColumnData {
|
|
44
|
-
/** columns unique id */
|
|
45
|
-
id?: string;
|
|
46
|
-
/** columns header text */
|
|
47
|
-
text?: string;
|
|
48
|
-
/** column not hidden */
|
|
49
|
-
isChecked?: boolean;
|
|
50
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
/** The Softheon Armature Table Cell component */
|
|
3
|
-
export declare class SofTableCellComponent {
|
|
4
|
-
/** All Components for Table Cell */
|
|
5
|
-
components: TableCellComponent[];
|
|
6
|
-
/** Any logic related to ag grid cell renderer data can be added here */
|
|
7
|
-
agInit(params: any): void;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SofTableCellComponent, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SofTableCellComponent, "sof-table-cell", never, { "components": { "alias": "components"; "required": false; }; }, {}, never, never, false, never>;
|
|
10
|
-
}
|
|
11
|
-
/** Components to Render in Table Cell */
|
|
12
|
-
interface TableCellComponent {
|
|
13
|
-
/** Component Class */
|
|
14
|
-
component: any;
|
|
15
|
-
/** Inputs needed for specific component */
|
|
16
|
-
inputs: any;
|
|
17
|
-
}
|
|
18
|
-
export {};
|
package/index.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/** Public API surfce for components */
|
|
2
|
-
export * from './alert-banner.module';
|
|
3
|
-
export * from './models/alert-banner-context';
|
|
4
|
-
export { AlertBannerConfig, AlertBannerColors } from './models/alert-banner-config';
|
|
5
|
-
export { ALERT_BANNER_CONFIG, BannerType } from './models/constants';
|
|
6
|
-
export * from './services/alert-banner.service';
|
|
7
|
-
export * from './components/alert-banner/alert-banner.component';
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./components/alert-banner/alert-banner.component";
|
|
3
|
-
import * as i2 from "@angular/common";
|
|
4
|
-
import * as i3 from "@ngx-translate/core";
|
|
5
|
-
import * as i4 from "@ngbracket/ngx-layout";
|
|
6
|
-
import * as i5 from "@angular/material/icon";
|
|
7
|
-
/** @deprecated use sof-alert | sof-simple-alert moving forward. */
|
|
8
|
-
export declare class AlertBannerModule {
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AlertBannerModule, never>;
|
|
10
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AlertBannerModule, [typeof i1.AlertBannerComponent], [typeof i2.CommonModule, typeof i3.TranslateModule, typeof i4.FlexLayoutModule, typeof i5.MatIconModule], [typeof i1.AlertBannerComponent]>;
|
|
11
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<AlertBannerModule>;
|
|
12
|
-
}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, ElementRef, Renderer2 } from '@angular/core';
|
|
2
|
-
import { AlertBannerConfig } from '../../models/alert-banner-config';
|
|
3
|
-
import { AlertBannerContext } from '../../models/alert-banner-context';
|
|
4
|
-
import { AlertBannerService } from '../../services/alert-banner.service';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
/**
|
|
7
|
-
* Alert Banner Component
|
|
8
|
-
* @deprecated please use `SofCallout` instead
|
|
9
|
-
*/
|
|
10
|
-
export declare class AlertBannerComponent implements AfterViewInit {
|
|
11
|
-
private bannerConfig;
|
|
12
|
-
private alertBannerService;
|
|
13
|
-
private renderer;
|
|
14
|
-
/** Context, if provided, it will use the context data rather than the alert service context */
|
|
15
|
-
context?: AlertBannerContext;
|
|
16
|
-
/** Banner Container */
|
|
17
|
-
alertBannerContainer: ElementRef;
|
|
18
|
-
/** Display context */
|
|
19
|
-
get displayContext(): AlertBannerContext;
|
|
20
|
-
/** Should show banner */
|
|
21
|
-
get showBanner(): boolean;
|
|
22
|
-
/**
|
|
23
|
-
* Constructor
|
|
24
|
-
* @param bannerConfig Banner Config
|
|
25
|
-
* @param alertBannerService Alert Banner Service
|
|
26
|
-
* @param renderer The Angular renderer
|
|
27
|
-
*/
|
|
28
|
-
constructor(bannerConfig: AlertBannerConfig, alertBannerService: AlertBannerService, renderer: Renderer2);
|
|
29
|
-
/** Update style */
|
|
30
|
-
ngAfterViewInit(): void;
|
|
31
|
-
/** Hides the banner */
|
|
32
|
-
hideBanner(): void;
|
|
33
|
-
/**
|
|
34
|
-
* Update Style
|
|
35
|
-
* @param propertyName The property name
|
|
36
|
-
* @param color The color
|
|
37
|
-
*/
|
|
38
|
-
private updateStyle;
|
|
39
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AlertBannerComponent, [{ optional: true; }, null, null]>;
|
|
40
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AlertBannerComponent, "sof-ar-alert-banner", never, { "context": { "alias": "context"; "required": false; }; }, {}, never, never, false, never>;
|
|
41
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/** Banner Sytles */
|
|
2
|
-
export interface AlertBannerConfig {
|
|
3
|
-
/** The line colors */
|
|
4
|
-
lineColor?: AlertBannerColors;
|
|
5
|
-
/** The outline sidebar color if banner is of type outline */
|
|
6
|
-
outlineSidebar?: AlertBannerColors;
|
|
7
|
-
/** The filled color if the banner is of type filled */
|
|
8
|
-
filledBackground?: AlertBannerColors;
|
|
9
|
-
}
|
|
10
|
-
/** Alert Banner Type Color */
|
|
11
|
-
export interface AlertBannerColors {
|
|
12
|
-
/** Error */
|
|
13
|
-
error?: string;
|
|
14
|
-
/** Information */
|
|
15
|
-
information?: string;
|
|
16
|
-
/** Success */
|
|
17
|
-
success?: string;
|
|
18
|
-
/** Warn */
|
|
19
|
-
warn?: string;
|
|
20
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { BannerType } from './constants';
|
|
2
|
-
/** The banner context */
|
|
3
|
-
export interface AlertBannerContext {
|
|
4
|
-
/** Banner Type */
|
|
5
|
-
bannerType?: BannerType;
|
|
6
|
-
/** Is Banner Filled */
|
|
7
|
-
isFilledBanner?: boolean;
|
|
8
|
-
/** Banner Title */
|
|
9
|
-
bannerTitle?: string;
|
|
10
|
-
/** Banner Text */
|
|
11
|
-
bannerText?: string;
|
|
12
|
-
/** Translation param */
|
|
13
|
-
translateParam?: any;
|
|
14
|
-
/** Show close */
|
|
15
|
-
showClose?: boolean;
|
|
16
|
-
/** Hide banner */
|
|
17
|
-
hideBanner?: boolean;
|
|
18
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
2
|
-
import { AlertBannerConfig } from './alert-banner-config';
|
|
3
|
-
/** The banner configs */
|
|
4
|
-
export declare const ALERT_BANNER_CONFIG: InjectionToken<AlertBannerConfig>;
|
|
5
|
-
/** Banner Type */
|
|
6
|
-
export declare enum BannerType {
|
|
7
|
-
/** Error */
|
|
8
|
-
Error = "error",
|
|
9
|
-
/** Warn */
|
|
10
|
-
Warn = "warn",
|
|
11
|
-
/** Information */
|
|
12
|
-
Information = "information",
|
|
13
|
-
/** Success */
|
|
14
|
-
Success = "success"
|
|
15
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { AlertBannerContext } from '../models/alert-banner-context';
|
|
2
|
-
import { BannerType } from '../models/constants';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
/**
|
|
5
|
-
* Alert Banner Service
|
|
6
|
-
*/
|
|
7
|
-
export declare class AlertBannerService {
|
|
8
|
-
/** Banner context */
|
|
9
|
-
bannerContext: AlertBannerContext;
|
|
10
|
-
/** Whether or not the show banner */
|
|
11
|
-
showBanner: boolean;
|
|
12
|
-
/** Constructor */
|
|
13
|
-
constructor();
|
|
14
|
-
/**
|
|
15
|
-
* Show Message
|
|
16
|
-
* @param bannerType Banner Type
|
|
17
|
-
* @param isFilledBanner Is filled banner
|
|
18
|
-
* @param bannerTitle Title
|
|
19
|
-
* @param bannerText Text
|
|
20
|
-
* @param translateParam Translate param
|
|
21
|
-
* @param showClose Show close or not
|
|
22
|
-
*/
|
|
23
|
-
showMessage(bannerType: BannerType, isFilledBanner: boolean, bannerTitle?: string, bannerText?: string, translateParam?: any, showClose?: boolean): void;
|
|
24
|
-
/** Close Message */
|
|
25
|
-
closeMessage(): void;
|
|
26
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AlertBannerService, never>;
|
|
27
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AlertBannerService>;
|
|
28
|
-
}
|
package/lib/armature.module.d.ts
DELETED
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { Injector, ModuleWithProviders } from '@angular/core';
|
|
2
|
-
import { Initializer } from './core/initializer/initializer.service';
|
|
3
|
-
import { UserEntityService } from './core/services/user-entity.service';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "./core/components/app-template/app-template.component";
|
|
6
|
-
import * as i2 from "./forms/forms.module";
|
|
7
|
-
import * as i3 from "./navigation/navigation.module";
|
|
8
|
-
import * as i4 from "./header/header.module";
|
|
9
|
-
import * as i5 from "./footer/footer.module";
|
|
10
|
-
import * as i6 from "./base-components/base-component.module";
|
|
11
|
-
import * as i7 from "./theming/theme.module";
|
|
12
|
-
import * as i8 from "./alert-banner/alert-banner.module";
|
|
13
|
-
import * as i9 from "@angular/router";
|
|
14
|
-
import * as i10 from "@angular/common";
|
|
15
|
-
import * as i11 from "@ngbracket/ngx-layout";
|
|
16
|
-
import * as i12 from "./navigation/components/b2b-nav/b2b-nav.component";
|
|
17
|
-
/**
|
|
18
|
-
* Session base path factory
|
|
19
|
-
* @param injector The angular injector
|
|
20
|
-
*/
|
|
21
|
-
export declare function sessionBasePathFactory(injector: Injector): string;
|
|
22
|
-
/**
|
|
23
|
-
* The initializer factory
|
|
24
|
-
* This needs to return a const instead of simplifying to return in one line
|
|
25
|
-
* returning in one line causes compilation errors
|
|
26
|
-
* @param initializer The initializer service
|
|
27
|
-
*/
|
|
28
|
-
export declare function initializerFactory(initializer: Initializer): () => Promise<any>;
|
|
29
|
-
/** The armature root module */
|
|
30
|
-
export declare class ArmatureModule {
|
|
31
|
-
/**
|
|
32
|
-
* Constructs the module
|
|
33
|
-
* Used to initialize services at module construction time
|
|
34
|
-
* @param userEntityService The user entity service
|
|
35
|
-
*/
|
|
36
|
-
constructor(userEntityService: UserEntityService);
|
|
37
|
-
/**
|
|
38
|
-
* Builds the module with custom arguments
|
|
39
|
-
* This replace the armature config service with user provided custom one
|
|
40
|
-
* It will also call the user provided start up service after default initialization has finished
|
|
41
|
-
* @param configServiceClass The config service class for the parent application
|
|
42
|
-
*/
|
|
43
|
-
static forRoot(configServiceClass?: any, ignoreCustomAppInitializer?: boolean): ModuleWithProviders<ArmatureModule>;
|
|
44
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ArmatureModule, never>;
|
|
45
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ArmatureModule, [typeof i1.AppTemplateComponent], [typeof i2.FormsModule, typeof i3.NavigationModule, typeof i4.ArmatureHeaderModule, typeof i5.ArmatureFooterModule, typeof i6.BaseComponentModule, typeof i7.ThemeModule, typeof i8.AlertBannerModule, typeof i9.RouterModule, typeof i10.CommonModule, typeof i11.FlexLayoutModule, typeof i12.B2bNavComponent], [typeof i2.FormsModule, typeof i3.NavigationModule, typeof i4.ArmatureHeaderModule, typeof i5.ArmatureFooterModule, typeof i6.BaseComponentModule, typeof i7.ThemeModule, typeof i8.AlertBannerModule, typeof i1.AppTemplateComponent]>;
|
|
46
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ArmatureModule>;
|
|
47
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ToastService } from '../../toast.service';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
/** Toast Component */
|
|
4
|
-
export declare class SofToastComponent {
|
|
5
|
-
/** The toast service */
|
|
6
|
-
protected toastService: ToastService;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SofToastComponent, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SofToastComponent, "sof-toast", never, {}, {}, never, never, true, never>;
|
|
9
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { Signal } from '@angular/core';
|
|
2
|
-
import { ToastModel } from './models/toast.model';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
/** Toast service */
|
|
5
|
-
export declare class ToastService {
|
|
6
|
-
/** The toast */
|
|
7
|
-
readonly toast: Signal<ToastModel | undefined>;
|
|
8
|
-
/** The current toast */
|
|
9
|
-
private currentToast;
|
|
10
|
-
/** The durations to display each level of toast */
|
|
11
|
-
private readonly durationMap;
|
|
12
|
-
/** The current timer id */
|
|
13
|
-
private timeoutTimerId?;
|
|
14
|
-
/**
|
|
15
|
-
* Show a snackbar
|
|
16
|
-
* @param snackbarInput the snackbar config
|
|
17
|
-
*/
|
|
18
|
-
showToast(toast: ToastModel): void;
|
|
19
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ToastService, never>;
|
|
20
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ToastService>;
|
|
21
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
export * from './base-component.module';
|
|
2
|
-
export * from './menu/menu';
|
|
3
|
-
export * from './sof-progress-bar/sof-progress-bar.component';
|
|
4
|
-
export * from './sof-banner/sof-banner.component';
|
|
5
|
-
export * from './sof-alert/sof-alert.component';
|
|
6
|
-
export * from './sof-modal/sof-modal.component';
|
|
7
|
-
export * from './sof-button-toggle-group/sof-button-toggle-group.component';
|
|
8
|
-
export * from './sof-star-rating/sof-star-rating.component';
|
|
9
|
-
export * from './sof-badge/sof-badge.component';
|
|
10
|
-
export * from './sof-image-checkbox/sof-image-checkbox.component';
|
|
11
|
-
export * from './sof-simple-alert/sof-simple-alert.component';
|
|
12
|
-
export * from './confirm-address/sof-confirm-address/sof-confirm-address.component';
|
|
13
|
-
export * from './confirm-address/sof-confirm-address-county-change/sof-confirm-address-county-change.component';
|
|
14
|
-
export * from './sof-radio-card/sof-radio-card.component';
|
|
15
|
-
export * from './sof-input-stepper/sof-input-stepper.component';
|
|
16
|
-
export * from './sof-handle/sof-handle.component';
|
|
17
|
-
export * from './sof-utility-button/sof-utility-button.component';
|
|
18
|
-
export * from './confirm-address/sof-confirm-address/compare-address-pipe/compare-address.pipe';
|
|
19
|
-
export * from './sof-callout/sof-callout.component';
|
|
20
|
-
export * from './sof-context/sof-context.component';
|
|
21
|
-
export * from './sof-bottom-sheet/sof-bottom-sheet.component';
|
|
22
|
-
export * from './sof-chip/sof-chip.component';
|
|
23
|
-
export * from './sof-segmented-control/sof-segmented-control.component';
|
|
24
|
-
export * from './sof-dropdown-button/sof-dropdown-button.component';
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./sof-progress-bar/sof-progress-bar.component";
|
|
3
|
-
import * as i2 from "./sof-radio-card/sof-radio-card.component";
|
|
4
|
-
import * as i3 from "./sof-banner/sof-banner.component";
|
|
5
|
-
import * as i4 from "./sof-alert/sof-alert.component";
|
|
6
|
-
import * as i5 from "./sof-modal/sof-modal.component";
|
|
7
|
-
import * as i6 from "./sof-button-toggle-group/sof-button-toggle-group.component";
|
|
8
|
-
import * as i7 from "./sof-star-rating/sof-star-rating.component";
|
|
9
|
-
import * as i8 from "./sof-badge/sof-badge.component";
|
|
10
|
-
import * as i9 from "./sof-utility-button/sof-utility-button.component";
|
|
11
|
-
import * as i10 from "./sof-image-checkbox/sof-image-checkbox.component";
|
|
12
|
-
import * as i11 from "./sof-simple-alert/sof-simple-alert.component";
|
|
13
|
-
import * as i12 from "./confirm-address/sof-confirm-address/sof-confirm-address.component";
|
|
14
|
-
import * as i13 from "./confirm-address/sof-confirm-address-county-change/sof-confirm-address-county-change.component";
|
|
15
|
-
import * as i14 from "./sof-input-stepper/sof-input-stepper.component";
|
|
16
|
-
import * as i15 from "./sof-handle/sof-handle.component";
|
|
17
|
-
import * as i16 from "./confirm-address/sof-confirm-address/compare-address-pipe/compare-address.pipe";
|
|
18
|
-
import * as i17 from "./sof-context/sof-context.component";
|
|
19
|
-
import * as i18 from "./sof-segmented-control/sof-segmented-control.component";
|
|
20
|
-
import * as i19 from "./sof-dropdown-button/sof-dropdown-button.component";
|
|
21
|
-
import * as i20 from "@angular/router";
|
|
22
|
-
import * as i21 from "@angular/common";
|
|
23
|
-
import * as i22 from "@ngbracket/ngx-layout";
|
|
24
|
-
import * as i23 from "@angular/forms";
|
|
25
|
-
import * as i24 from "@ngx-translate/core";
|
|
26
|
-
import * as i25 from "@angular/material/select";
|
|
27
|
-
import * as i26 from "@angular/material/core";
|
|
28
|
-
import * as i27 from "@angular/material/checkbox";
|
|
29
|
-
import * as i28 from "@angular/material/icon";
|
|
30
|
-
import * as i29 from "@angular/material/dialog";
|
|
31
|
-
import * as i30 from "@angular/material/button";
|
|
32
|
-
import * as i31 from "@angular/material/form-field";
|
|
33
|
-
import * as i32 from "@angular/material/toolbar";
|
|
34
|
-
import * as i33 from "@angular/material/tooltip";
|
|
35
|
-
import * as i34 from "@angular/material/button-toggle";
|
|
36
|
-
import * as i35 from "@angular/material/card";
|
|
37
|
-
import * as i36 from "@angular/material/radio";
|
|
38
|
-
import * as i37 from "@angular/material/paginator";
|
|
39
|
-
import * as i38 from "@angular/material/menu";
|
|
40
|
-
import * as i39 from "@angular/material/input";
|
|
41
|
-
import * as i40 from "@angular/material/list";
|
|
42
|
-
import * as i41 from "@angular/cdk/drag-drop";
|
|
43
|
-
/** The BaseComponentModule Module */
|
|
44
|
-
export declare class BaseComponentModule {
|
|
45
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BaseComponentModule, never>;
|
|
46
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<BaseComponentModule, [typeof i1.SofProgressBarComponent, typeof i2.SofRadioCardComponent, typeof i3.SofBannerComponent, typeof i4.SofAlertComponent, typeof i5.SofModalComponent, typeof i6.SofButtonToggleGroupComponent, typeof i7.SofStarRatingComponent, typeof i8.SofBadgeComponent, typeof i9.SofUtilityButtonComponent, typeof i10.SofImageCheckboxComponent, typeof i11.SofSimpleAlertComponent, typeof i12.SofConfirmAddressComponent, typeof i13.SofConfirmAddressCountyChangeComponent, typeof i14.SofInputStepperComponent, typeof i15.SofHandleComponent, typeof i16.SofCompareAddressPipe, typeof i17.SofContextComponent, typeof i18.SofSegmentedControlComponent, typeof i19.SofDropdownButtonComponent], [typeof i20.RouterModule, typeof i21.CommonModule, typeof i22.FlexLayoutModule, typeof i23.FormsModule, typeof i23.ReactiveFormsModule, typeof i24.TranslateModule, typeof i25.MatSelectModule, typeof i26.MatOptionModule, typeof i27.MatCheckboxModule, typeof i28.MatIconModule, typeof i29.MatDialogModule, typeof i30.MatButtonModule, typeof i31.MatFormFieldModule, typeof i32.MatToolbarModule, typeof i33.MatTooltipModule, typeof i34.MatButtonToggleModule, typeof i35.MatCardModule, typeof i36.MatRadioModule, typeof i37.MatPaginator, typeof i38.MatMenu, typeof i38.MatMenuModule, typeof i39.MatInputModule, typeof i30.MatIconButton, typeof i40.MatListModule, typeof i41.CdkDropList, typeof i41.CdkDrag, typeof i41.CdkDragPlaceholder, typeof i41.CdkDragHandle], [typeof i1.SofProgressBarComponent, typeof i2.SofRadioCardComponent, typeof i3.SofBannerComponent, typeof i4.SofAlertComponent, typeof i5.SofModalComponent, typeof i6.SofButtonToggleGroupComponent, typeof i7.SofStarRatingComponent, typeof i8.SofBadgeComponent, typeof i9.SofUtilityButtonComponent, typeof i10.SofImageCheckboxComponent, typeof i11.SofSimpleAlertComponent, typeof i12.SofConfirmAddressComponent, typeof i13.SofConfirmAddressCountyChangeComponent, typeof i14.SofInputStepperComponent, typeof i15.SofHandleComponent, typeof i16.SofCompareAddressPipe, typeof i17.SofContextComponent, typeof i18.SofSegmentedControlComponent, typeof i19.SofDropdownButtonComponent]>;
|
|
47
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<BaseComponentModule>;
|
|
48
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
/**
|
|
4
|
-
* Compares 2 address fields, returns true if different.
|
|
5
|
-
* Used in the 'SofConfirmAddressComponent' to add a class to highlight any differences in address.
|
|
6
|
-
*/
|
|
7
|
-
export declare class SofCompareAddressPipe implements PipeTransform {
|
|
8
|
-
transform(givenAddressField: string, recommendAddressField: string): boolean;
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SofCompareAddressPipe, never>;
|
|
10
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<SofCompareAddressPipe, "compareAddress", false>;
|
|
11
|
-
}
|
package/lib/base-components/confirm-address/sof-confirm-address/sof-confirm-address.component.d.ts
DELETED
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { FormControl, FormGroup } from '@angular/forms';
|
|
3
|
-
import { MatDialogRef } from '@angular/material/dialog';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
/** The ConfirmAddress Component shown on the dialog */
|
|
6
|
-
export declare class SofConfirmAddressComponent implements OnInit {
|
|
7
|
-
dialogRef: MatDialogRef<any>;
|
|
8
|
-
data: ConfirmAddressData;
|
|
9
|
-
/** The selected option */
|
|
10
|
-
selectedOption: string;
|
|
11
|
-
/** The confirmed address form */
|
|
12
|
-
confirmedAddressForm: FormGroup;
|
|
13
|
-
/** Confirmed Address Form Control */
|
|
14
|
-
confirmedAddress: FormControl;
|
|
15
|
-
/** Recommend address not found indicator */
|
|
16
|
-
recommendAddressNotFound: boolean;
|
|
17
|
-
/**
|
|
18
|
-
* class constructor
|
|
19
|
-
* @param dialogRef the reference of the mat dialog
|
|
20
|
-
* @param data injected data to the mat dialog data token
|
|
21
|
-
*/
|
|
22
|
-
constructor(dialogRef: MatDialogRef<any>, data: ConfirmAddressData);
|
|
23
|
-
/** Life cycle hook on component init */
|
|
24
|
-
ngOnInit(): void;
|
|
25
|
-
/** On click of the cancel btn this function gets fired */
|
|
26
|
-
onNoClick(): void;
|
|
27
|
-
/** On click of the use address btn this function gets fired */
|
|
28
|
-
confirmAddr(): void;
|
|
29
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SofConfirmAddressComponent, never>;
|
|
30
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SofConfirmAddressComponent, "sof-confirm-address", never, {}, {}, never, never, false, never>;
|
|
31
|
-
}
|
|
32
|
-
/**
|
|
33
|
-
* The confirm address data class
|
|
34
|
-
*/
|
|
35
|
-
export declare class ConfirmAddressData {
|
|
36
|
-
/** The address type */
|
|
37
|
-
addressType?: string;
|
|
38
|
-
/** The header text */
|
|
39
|
-
headerText?: string;
|
|
40
|
-
/** The header text for recommend address not found */
|
|
41
|
-
headerTextRecommendAddressNotFound?: string;
|
|
42
|
-
/** The content text */
|
|
43
|
-
contentText?: string;
|
|
44
|
-
/** The content text for recommend address not found */
|
|
45
|
-
contentTextRecommendAddressNotFound?: string;
|
|
46
|
-
/** The given address subtitle*/
|
|
47
|
-
givenAddressSubtitle?: string;
|
|
48
|
-
/** The given address */
|
|
49
|
-
givenAddress?: any;
|
|
50
|
-
/** The recommend address subtitle*/
|
|
51
|
-
recommendAddressSubtitle?: string;
|
|
52
|
-
/** The recommend address */
|
|
53
|
-
recommendAddress?: any;
|
|
54
|
-
/** The cancel button text */
|
|
55
|
-
cancelButtonText?: string;
|
|
56
|
-
/** The confirm button text for select given address*/
|
|
57
|
-
confirmButtonTextGivenAddress?: string;
|
|
58
|
-
/** The confirm button text for select recommend address*/
|
|
59
|
-
confirmButtonTextRecommendAddress?: string;
|
|
60
|
-
/** The confirm button text for recommend address not found*/
|
|
61
|
-
confirmButtonTextRecommendAddressNotFound?: string;
|
|
62
|
-
}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { MatDialogRef } from '@angular/material/dialog';
|
|
3
|
-
import { MatSelectChange } from '@angular/material/select';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
/**
|
|
6
|
-
* The SofConfirmAddressCountyChangeComponent Component shown on the dialog
|
|
7
|
-
* @description This component takes a list of counties and outputs the selected county
|
|
8
|
-
* @note If there is only one county, can either confirm this county or go back to form
|
|
9
|
-
*/
|
|
10
|
-
export declare class SofConfirmAddressCountyChangeComponent implements OnInit {
|
|
11
|
-
dialogRef: MatDialogRef<any>;
|
|
12
|
-
data: ConfirmAddressCountyChangeData;
|
|
13
|
-
/** The selected county to emit on close */
|
|
14
|
-
selectedCounty: string;
|
|
15
|
-
/**
|
|
16
|
-
* class constructor
|
|
17
|
-
* @param dialogRef the reference of the mat dialog
|
|
18
|
-
* @param data injected data to the mat dialog data token
|
|
19
|
-
*/
|
|
20
|
-
constructor(dialogRef: MatDialogRef<any>, data: ConfirmAddressCountyChangeData);
|
|
21
|
-
/** Life cycle hook on component init */
|
|
22
|
-
ngOnInit(): void;
|
|
23
|
-
/**
|
|
24
|
-
* Selects the county
|
|
25
|
-
* @param county the select the county
|
|
26
|
-
*/
|
|
27
|
-
selectCounty(county: MatSelectChange): void;
|
|
28
|
-
/** On click of the 'continue' || 'confirm' button */
|
|
29
|
-
confirmCounty(): void;
|
|
30
|
-
/** Go back to form / close dialog */
|
|
31
|
-
goBack(): void;
|
|
32
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SofConfirmAddressCountyChangeComponent, never>;
|
|
33
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SofConfirmAddressCountyChangeComponent, "sof-confirm-address-county-change", never, {}, {}, never, never, false, never>;
|
|
34
|
-
}
|
|
35
|
-
/**
|
|
36
|
-
* The confirm address county update data class
|
|
37
|
-
*/
|
|
38
|
-
export interface ConfirmAddressCountyChangeData {
|
|
39
|
-
/** The corrected county / counties to display */
|
|
40
|
-
counties?: Array<string>;
|
|
41
|
-
}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Data for the mat-menu
|
|
3
|
-
* @property `name`, the menu button label
|
|
4
|
-
* @property `icon`, the menu button icon
|
|
5
|
-
* @property `action`, the menu button method to invoke on click
|
|
6
|
-
* @property `isDisabled`, is the menu button disabled
|
|
7
|
-
* @property `isDelete`, `true` to add styling for delete button ( text-color: arm-error )
|
|
8
|
-
* @property `ariaLabel`, the menu button label
|
|
9
|
-
* @note `ariaLabel` is optional and usually unnecessary, as a menu item will have either readable label or badge.
|
|
10
|
-
* @property `nestedMenu`, the nested menu data
|
|
11
|
-
* @note If `nestedMenu` is `true`, do not provide an `action`, it would be ignored as the item is now a 'menu-trigger'.
|
|
12
|
-
* Nested menus only go 2 deep per design.
|
|
13
|
-
* @property `xPosition`, the menu's position ( 'before' | 'after' )
|
|
14
|
-
* @property `displayBadgeLabel`, should the menu button display a <sof-badge>
|
|
15
|
-
* @note If `displayBadgeLabel` is `true`, need to provide a required `badgeLabel` and optional `menuLabel`.
|
|
16
|
-
* Properties `name` & `icon` will be ignored in this case an do not need to be included.
|
|
17
|
-
* @property `badgeLabel`, the menu button badge label ( all menu badges will be 'neutral', no icon )
|
|
18
|
-
* @property `menuLabel`, the menu's label
|
|
19
|
-
*/
|
|
20
|
-
export interface ButtonData {
|
|
21
|
-
name?: string;
|
|
22
|
-
icon?: string;
|
|
23
|
-
action?: () => void;
|
|
24
|
-
isDisabled?: boolean;
|
|
25
|
-
isDelete?: boolean;
|
|
26
|
-
ariaLabel?: string;
|
|
27
|
-
nestedMenu?: Array<ButtonData>;
|
|
28
|
-
xPosition?: 'before' | 'after';
|
|
29
|
-
displayBadgeLabel?: boolean;
|
|
30
|
-
badgeLabel?: string;
|
|
31
|
-
menuLabel?: string;
|
|
32
|
-
badgeConfig?: ButtonBadgeConfig;
|
|
33
|
-
}
|
|
34
|
-
/**
|
|
35
|
-
* Data for the badge config
|
|
36
|
-
* @property `badgeText`, the badge text
|
|
37
|
-
* @property `badgeColor`, the badge color
|
|
38
|
-
* @property `bold`, Whether it is bold or not
|
|
39
|
-
* @property `iconClass`, the css class
|
|
40
|
-
*/
|
|
41
|
-
export interface ButtonBadgeConfig {
|
|
42
|
-
badgeText: string;
|
|
43
|
-
badgeColor?: string;
|
|
44
|
-
bold?: boolean;
|
|
45
|
-
iconClass?: string;
|
|
46
|
-
}
|
|
47
|
-
/**
|
|
48
|
-
* Removes role="menu" from Material Menu elements.
|
|
49
|
-
* Removes role="menuitem" from Material Menu Item elements.
|
|
50
|
-
* (per wcag audit)
|
|
51
|
-
*/
|
|
52
|
-
export declare const removeMenuRole: () => void;
|