@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
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
/**
|
|
4
|
-
* The softheon alert component
|
|
5
|
-
* @deprecated please use `SofCallout` instead
|
|
6
|
-
*/
|
|
7
|
-
export declare class SofAlertComponent implements OnInit {
|
|
8
|
-
/** The language text or a key that will be shown in this component */
|
|
9
|
-
alertText: string;
|
|
10
|
-
/** Whether to show background color not */
|
|
11
|
-
hideBackground: boolean;
|
|
12
|
-
/**
|
|
13
|
-
* The alert color
|
|
14
|
-
* Possible Values: 'information', 'success', 'warning', 'error', 'theme'
|
|
15
|
-
*/
|
|
16
|
-
alertColor: string;
|
|
17
|
-
/** The icon class- this should be a font awesome class */
|
|
18
|
-
iconClass: string;
|
|
19
|
-
/** Title for mobile banner text expand button */
|
|
20
|
-
mobileBannerExpandableTextTitle: string;
|
|
21
|
-
/** Sub text for alert when mobileBannerExpandableTextTitle is provided */
|
|
22
|
-
alertSubText: string;
|
|
23
|
-
/** If the screen is mobile size or not */
|
|
24
|
-
get isMobile(): boolean;
|
|
25
|
-
/** If the mobile banner text is expanded or not */
|
|
26
|
-
expandedBanner: boolean;
|
|
27
|
-
/** The default icons for the banner colors */
|
|
28
|
-
alertColorIconMapping: {
|
|
29
|
-
information: string;
|
|
30
|
-
success: string;
|
|
31
|
-
warning: string;
|
|
32
|
-
error: string;
|
|
33
|
-
theme: string;
|
|
34
|
-
};
|
|
35
|
-
/** Implements on init */
|
|
36
|
-
ngOnInit(): void;
|
|
37
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SofAlertComponent, never>;
|
|
38
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SofAlertComponent, "sof-alert", never, { "alertText": { "alias": "alertText"; "required": false; }; "hideBackground": { "alias": "hideBackground"; "required": false; }; "alertColor": { "alias": "alertColor"; "required": false; }; "iconClass": { "alias": "iconClass"; "required": false; }; "mobileBannerExpandableTextTitle": { "alias": "mobileBannerExpandableTextTitle"; "required": false; }; "alertSubText": { "alias": "alertSubText"; "required": false; }; }, {}, never, never, false, never>;
|
|
39
|
-
}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { TooltipPosition } from '@angular/material/tooltip';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class SofBadgeComponent {
|
|
4
|
-
/** Whether to show bold background color not */
|
|
5
|
-
bold: boolean;
|
|
6
|
-
/** The language text or a key that will be shown in this component */
|
|
7
|
-
badgeText: string;
|
|
8
|
-
/**
|
|
9
|
-
* The alert color
|
|
10
|
-
* Possible Values: 'info, 'success', 'warn', 'error', 'theme', 'neutral', 'metal-tier'
|
|
11
|
-
*/
|
|
12
|
-
badgeColor: 'info' | 'success' | 'warn' | 'error' | 'theme' | 'neutral' | 'metal-tier';
|
|
13
|
-
/** Whether or not to use default icons */
|
|
14
|
-
useIcon: boolean;
|
|
15
|
-
/** The icon class- this should be a Phosphor Icons class, type bold */
|
|
16
|
-
iconClass: string;
|
|
17
|
-
/** The badge aria label */
|
|
18
|
-
badgeAria: string;
|
|
19
|
-
/** The icon aria label */
|
|
20
|
-
iconAria: string;
|
|
21
|
-
/** The icon aria label */
|
|
22
|
-
tooltipData: BadgeTooltipData;
|
|
23
|
-
/** Whether or not the component has been init */
|
|
24
|
-
initialized: boolean;
|
|
25
|
-
/**
|
|
26
|
-
* Any logic related to ag grid cell renderer data can be added here
|
|
27
|
-
* @note All `@Inputs` should be accepted through `params`
|
|
28
|
-
*/
|
|
29
|
-
agInit(params: any & SofBadgeComponent): void;
|
|
30
|
-
/** On component init */
|
|
31
|
-
ngOnInit(): void;
|
|
32
|
-
/**
|
|
33
|
-
* On component changes
|
|
34
|
-
* This method is used to help show the toggle in the Armature documentation
|
|
35
|
-
* TODO: Implement using signals
|
|
36
|
-
*/
|
|
37
|
-
ngOnChanges(changes: any): void;
|
|
38
|
-
/** Sets the icon based on badge type */
|
|
39
|
-
private setIcon;
|
|
40
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SofBadgeComponent, never>;
|
|
41
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SofBadgeComponent, "sof-badge", never, { "bold": { "alias": "bold"; "required": false; }; "badgeText": { "alias": "badgeText"; "required": false; }; "badgeColor": { "alias": "badgeColor"; "required": false; }; "useIcon": { "alias": "useIcon"; "required": false; }; "iconClass": { "alias": "iconClass"; "required": false; }; "badgeAria": { "alias": "badgeAria"; "required": false; }; "iconAria": { "alias": "iconAria"; "required": false; }; "tooltipData": { "alias": "tooltipData"; "required": false; }; }, {}, never, never, false, never>;
|
|
42
|
-
}
|
|
43
|
-
export declare enum STATUS {
|
|
44
|
-
INFO = "info",
|
|
45
|
-
SUCCESS = "success",
|
|
46
|
-
WARNING = "warn",
|
|
47
|
-
ERROR = "error"
|
|
48
|
-
}
|
|
49
|
-
export declare enum LINE_OF_COVERAGE {
|
|
50
|
-
MEDICAL = "medical",
|
|
51
|
-
DENTAL = "dental",
|
|
52
|
-
VISION = "vision",
|
|
53
|
-
MEDICARE = "medicare"
|
|
54
|
-
}
|
|
55
|
-
export interface BadgeTooltipData {
|
|
56
|
-
text: string;
|
|
57
|
-
position?: TooltipPosition;
|
|
58
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
/** The softheon banner component */
|
|
4
|
-
export declare class SofBannerComponent implements OnInit {
|
|
5
|
-
/** The primary banner information key to be translated */
|
|
6
|
-
primaryInfoKey: string;
|
|
7
|
-
/** The secondary banner information key to be translated */
|
|
8
|
-
secondaryInfoKey?: string;
|
|
9
|
-
/** The indicator to show the secondary banner */
|
|
10
|
-
showSecondaryBanner?: boolean;
|
|
11
|
-
/**
|
|
12
|
-
* The banner color
|
|
13
|
-
* Possible Values: 'information', 'success', 'warning', 'error', 'theme'
|
|
14
|
-
*/
|
|
15
|
-
bannerColor?: string;
|
|
16
|
-
/** The banner icon class name*/
|
|
17
|
-
iconClass?: string;
|
|
18
|
-
/** The default icons for the banner colors */
|
|
19
|
-
bannerColorIconMapping: {
|
|
20
|
-
information: string;
|
|
21
|
-
success: string;
|
|
22
|
-
warning: string;
|
|
23
|
-
error: string;
|
|
24
|
-
theme: string;
|
|
25
|
-
};
|
|
26
|
-
/**
|
|
27
|
-
* Constructs the component
|
|
28
|
-
*/
|
|
29
|
-
constructor();
|
|
30
|
-
/** Component initialization */
|
|
31
|
-
ngOnInit(): void;
|
|
32
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SofBannerComponent, never>;
|
|
33
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SofBannerComponent, "sof-banner", never, { "primaryInfoKey": { "alias": "primaryInfoKey"; "required": false; }; "secondaryInfoKey": { "alias": "secondaryInfoKey"; "required": false; }; "showSecondaryBanner": { "alias": "showSecondaryBanner"; "required": false; }; "bannerColor": { "alias": "bannerColor"; "required": false; }; "iconClass": { "alias": "iconClass"; "required": false; }; }, {}, never, never, false, never>;
|
|
34
|
-
}
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, ElementRef, TemplateRef } from '@angular/core';
|
|
2
|
-
import { MatBottomSheetRef } from '@angular/material/bottom-sheet';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
/**
|
|
5
|
-
* The mobile bottom sheet
|
|
6
|
-
* @note while designed for mobile/tablet will work on desktop as well.
|
|
7
|
-
*/
|
|
8
|
-
export declare class SofBottomSheetComponent implements AfterViewInit {
|
|
9
|
-
/** Reference to the bottom sheets content element */
|
|
10
|
-
sheetContent: ElementRef<HTMLDivElement>;
|
|
11
|
-
/** Sheet header height */
|
|
12
|
-
private readonly bottomSheetHeaderHeight;
|
|
13
|
-
/** 25% of the viewport height, minus the headers height */
|
|
14
|
-
private minHeight;
|
|
15
|
-
/** 95% of the viewport height, minus the headers height */
|
|
16
|
-
private maxHeight;
|
|
17
|
-
/** 60% of the viewport height, minus the headers height */
|
|
18
|
-
private defaultHeight;
|
|
19
|
-
/** Initial sheet content height */
|
|
20
|
-
sheetHeight: number;
|
|
21
|
-
/** Area tolerance for snapping to default height (in px) */
|
|
22
|
-
private readonly defaultHeightTolerance;
|
|
23
|
-
/** Is the user dragging the target (header) */
|
|
24
|
-
private isDragging;
|
|
25
|
-
/** The starting Y axis position when dragging */
|
|
26
|
-
private startY;
|
|
27
|
-
/** Initial height when drag started */
|
|
28
|
-
private initialHeight;
|
|
29
|
-
/** Is the user dragging the bottom sheets content element */
|
|
30
|
-
private isContentDrag;
|
|
31
|
-
/** ID for the dismiss button */
|
|
32
|
-
readonly dismissButtonId: string;
|
|
33
|
-
/** Implement custom rendering */
|
|
34
|
-
private renderer;
|
|
35
|
-
/** Provide custom change detection functionality when using 'ChangeDetectionStrategy.OnPush' */
|
|
36
|
-
private cdr;
|
|
37
|
-
/** The bottom sheets data */
|
|
38
|
-
data: BottomSheetData;
|
|
39
|
-
/** The bottom sheet reference */
|
|
40
|
-
bottomSheetRef: MatBottomSheetRef;
|
|
41
|
-
/** Ensure the bottom sheet starts at the default height (60% of the viewport) */
|
|
42
|
-
ngAfterViewInit(): void;
|
|
43
|
-
/** Start the drag operation (handles both mouse and touch events) */
|
|
44
|
-
startDrag(event: MouseEvent | TouchEvent, isContentDrag?: boolean): void;
|
|
45
|
-
/** Handle the drag movement event */
|
|
46
|
-
private onDrag;
|
|
47
|
-
/** End the drag operation and snap to the nearest state */
|
|
48
|
-
private endDrag;
|
|
49
|
-
/** Utility method to extract the Y position from mouse or touch events */
|
|
50
|
-
private getYPosition;
|
|
51
|
-
/** Update the height variables on window resize */
|
|
52
|
-
onResize(): void;
|
|
53
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SofBottomSheetComponent, never>;
|
|
54
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SofBottomSheetComponent, "sof-bottom-sheet", never, {}, {}, never, never, true, never>;
|
|
55
|
-
}
|
|
56
|
-
/**
|
|
57
|
-
* The bottom sheet data
|
|
58
|
-
* @note all properties are required
|
|
59
|
-
*/
|
|
60
|
-
export interface BottomSheetData {
|
|
61
|
-
headerIconClass: string;
|
|
62
|
-
headerTitle: string;
|
|
63
|
-
template: TemplateRef<any>;
|
|
64
|
-
}
|
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
import { OnDestroy, OnInit, EventEmitter } from '@angular/core';
|
|
2
|
-
import { ControlValueAccessor, NgControl } from '@angular/forms';
|
|
3
|
-
import { TooltipPosition } from '@angular/material/tooltip';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
/** The sof button toggle group component */
|
|
6
|
-
export declare class SofButtonToggleGroupComponent implements OnInit, OnDestroy, ControlValueAccessor {
|
|
7
|
-
private control;
|
|
8
|
-
/** The label text */
|
|
9
|
-
labelText: string;
|
|
10
|
-
/** Any custom classes for the label */
|
|
11
|
-
labelClass: string;
|
|
12
|
-
/** Whether the field is required or not */
|
|
13
|
-
isRequired: boolean;
|
|
14
|
-
/** The toggle button data */
|
|
15
|
-
buttonData: ButtonToggleData;
|
|
16
|
-
/** The tooltip data */
|
|
17
|
-
tooltipData?: ButtonToggleTooltipData;
|
|
18
|
-
/** The layout align input for styling */
|
|
19
|
-
layoutAlign: {
|
|
20
|
-
label?: string;
|
|
21
|
-
toggle?: string;
|
|
22
|
-
};
|
|
23
|
-
/** Whether the toggle is disabled or not */
|
|
24
|
-
isDisabled: boolean;
|
|
25
|
-
/** The error message text */
|
|
26
|
-
errorMessage: string;
|
|
27
|
-
/** The aria-label for the button group */
|
|
28
|
-
ariaLabel: string;
|
|
29
|
-
/** Emits toggle change event */
|
|
30
|
-
toggleChange: EventEmitter<any>;
|
|
31
|
-
/** The toggle value */
|
|
32
|
-
value: any;
|
|
33
|
-
/** The form control name */
|
|
34
|
-
controlName: string;
|
|
35
|
-
/** If the form control was touched or not */
|
|
36
|
-
private touched;
|
|
37
|
-
/** The OnChange form control method */
|
|
38
|
-
private onChange;
|
|
39
|
-
/** The OnTouched form control method */
|
|
40
|
-
private onTouched;
|
|
41
|
-
/** The component subscription */
|
|
42
|
-
private subscription;
|
|
43
|
-
/** Whether show error message or not */
|
|
44
|
-
showErrorMessage: boolean;
|
|
45
|
-
/**
|
|
46
|
-
* Constructor.
|
|
47
|
-
* @param control The ng control
|
|
48
|
-
*/
|
|
49
|
-
constructor(control: NgControl);
|
|
50
|
-
/**
|
|
51
|
-
* Key down event
|
|
52
|
-
* @param event Key Event
|
|
53
|
-
*/
|
|
54
|
-
onKeyDown(event: any): void;
|
|
55
|
-
/** Component on init lifecycle method */
|
|
56
|
-
ngOnInit(): void;
|
|
57
|
-
/** Component on destroy lifecycle method */
|
|
58
|
-
ngOnDestroy(): void;
|
|
59
|
-
/** Triggered when a value is selected
|
|
60
|
-
* @param toggleVal The toggle value.
|
|
61
|
-
*/
|
|
62
|
-
valueSelected(toggleVal: any): void;
|
|
63
|
-
/** Triggered when the control is touched */
|
|
64
|
-
private markAsTouched;
|
|
65
|
-
/** Triggered when the form control value is set outside the component
|
|
66
|
-
* @param toggleVal The toggle value.
|
|
67
|
-
*/
|
|
68
|
-
writeValue(toggleVal: any): void;
|
|
69
|
-
/** Triggered when control is changed
|
|
70
|
-
* @param fn The callback function.
|
|
71
|
-
*/
|
|
72
|
-
registerOnChange(fn: any): void;
|
|
73
|
-
/** Triggered when control is touched
|
|
74
|
-
* @param fn The callback function.
|
|
75
|
-
*/
|
|
76
|
-
registerOnTouched(fn: any): void;
|
|
77
|
-
/** Sets the disabled state
|
|
78
|
-
* @param isDisabled If the control is disabled or not
|
|
79
|
-
*/
|
|
80
|
-
setDisabledState(isDisabled: boolean): void;
|
|
81
|
-
/** Updates the isRequired field based on the control */
|
|
82
|
-
private setIsRequired;
|
|
83
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SofButtonToggleGroupComponent, [{ optional: true; host: true; self: true; }]>;
|
|
84
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SofButtonToggleGroupComponent, "sof-button-toggle-group", never, { "labelText": { "alias": "labelText"; "required": false; }; "labelClass": { "alias": "labelClass"; "required": false; }; "isRequired": { "alias": "isRequired"; "required": false; }; "buttonData": { "alias": "buttonData"; "required": false; }; "tooltipData": { "alias": "tooltipData"; "required": false; }; "layoutAlign": { "alias": "layoutAlign"; "required": false; }; "isDisabled": { "alias": "disabled"; "required": false; }; "errorMessage": { "alias": "errorMessage"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; }, { "toggleChange": "toggleChange"; }, never, ["[top-right-section]"], false, never>;
|
|
85
|
-
}
|
|
86
|
-
/** Possible values for the toggle position */
|
|
87
|
-
declare const enum ButtonToggleType {
|
|
88
|
-
LEFT = "left",
|
|
89
|
-
MIDDLE = "middle",
|
|
90
|
-
RIGHT = "right"
|
|
91
|
-
}
|
|
92
|
-
export type ButtonToggleData = {
|
|
93
|
-
[key in ButtonToggleType]?: {
|
|
94
|
-
text: string;
|
|
95
|
-
value: any;
|
|
96
|
-
};
|
|
97
|
-
};
|
|
98
|
-
export interface ButtonToggleTooltipData {
|
|
99
|
-
text?: string;
|
|
100
|
-
position?: TooltipPosition;
|
|
101
|
-
}
|
|
102
|
-
export {};
|
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
/**
|
|
4
|
-
* The Callout component
|
|
5
|
-
* @note If you need to include some custom HTML you can inject an -
|
|
6
|
-
*
|
|
7
|
-
* `<ng-container callout-custom-content>`
|
|
8
|
-
*/
|
|
9
|
-
export declare class SofCalloutComponent {
|
|
10
|
-
/** The callout id */
|
|
11
|
-
id: string;
|
|
12
|
-
/** The callout type */
|
|
13
|
-
type: 'info' | 'warning' | 'error' | 'success' | 'neutral' | 'help';
|
|
14
|
-
/**
|
|
15
|
-
* The callout text
|
|
16
|
-
* @note Can be a translation key
|
|
17
|
-
*/
|
|
18
|
-
text: string;
|
|
19
|
-
/**
|
|
20
|
-
* The callout text translation params object
|
|
21
|
-
* @optional
|
|
22
|
-
*/
|
|
23
|
-
textParams?: {
|
|
24
|
-
[key: string]: string;
|
|
25
|
-
};
|
|
26
|
-
/**
|
|
27
|
-
* The callout extended message
|
|
28
|
-
* @optional
|
|
29
|
-
* @note Can be a translation key
|
|
30
|
-
*/
|
|
31
|
-
extendedText?: string;
|
|
32
|
-
/**
|
|
33
|
-
* The callout extended message translation params object
|
|
34
|
-
* @optional
|
|
35
|
-
*/
|
|
36
|
-
extendedTextParams?: {
|
|
37
|
-
[key: string]: string;
|
|
38
|
-
};
|
|
39
|
-
/**
|
|
40
|
-
* The text size
|
|
41
|
-
* @optional
|
|
42
|
-
*
|
|
43
|
-
* @note "body1" = font-size: 16px,
|
|
44
|
-
*
|
|
45
|
-
* "body2" = font-size: 14px,
|
|
46
|
-
* @default "body1"
|
|
47
|
-
*/
|
|
48
|
-
textSize: 'body1' | 'body2';
|
|
49
|
-
/**
|
|
50
|
-
* Override the default icon with any phosphor icon class
|
|
51
|
-
* @note should be using the 'ph-bold' icon type
|
|
52
|
-
* @see [Phosphor Icons/bold]({@link https://phosphoricons.com/?weight=%22bold%22})
|
|
53
|
-
*/
|
|
54
|
-
iconOverrideClass?: string;
|
|
55
|
-
/**
|
|
56
|
-
* Show close icon button
|
|
57
|
-
* @optional
|
|
58
|
-
* @default true
|
|
59
|
-
*/
|
|
60
|
-
canDismiss: boolean;
|
|
61
|
-
/** Action button config */
|
|
62
|
-
actionButtonConfig?: CalloutActionButtonConfig;
|
|
63
|
-
/** Emit event when action button is clicked */
|
|
64
|
-
actionButtonClicked?: EventEmitter<void>;
|
|
65
|
-
/**
|
|
66
|
-
* Output when close is clicked
|
|
67
|
-
* @optional
|
|
68
|
-
* @note This component will close itself.
|
|
69
|
-
*
|
|
70
|
-
* This event is for if the parent component needs to do anything on close.
|
|
71
|
-
*/
|
|
72
|
-
dismissEvent: EventEmitter<void>;
|
|
73
|
-
/** The host element ref */
|
|
74
|
-
private host;
|
|
75
|
-
/** Close the callout */
|
|
76
|
-
dismissCallout(): void;
|
|
77
|
-
/** Emit event when action button is clicked */
|
|
78
|
-
actionButtonClick(): void;
|
|
79
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SofCalloutComponent, never>;
|
|
80
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SofCalloutComponent, "sof-callout", never, { "id": { "alias": "id"; "required": false; }; "type": { "alias": "type"; "required": true; }; "text": { "alias": "text"; "required": true; }; "textParams": { "alias": "textParams"; "required": false; }; "extendedText": { "alias": "extendedText"; "required": false; }; "extendedTextParams": { "alias": "extendedTextParams"; "required": false; }; "textSize": { "alias": "textSize"; "required": false; }; "iconOverrideClass": { "alias": "iconOverrideClass"; "required": false; }; "canDismiss": { "alias": "canDismiss"; "required": false; }; "actionButtonConfig": { "alias": "actionButtonConfig"; "required": false; }; }, { "actionButtonClicked": "actionButtonClicked"; "dismissEvent": "dismissEvent"; }, never, ["[callout-custom-content]"], true, never>;
|
|
81
|
-
}
|
|
82
|
-
export interface CalloutActionButtonConfig {
|
|
83
|
-
id?: string;
|
|
84
|
-
label: string;
|
|
85
|
-
theme: 'primary' | 'neutral' | 'destroy';
|
|
86
|
-
emphasis: 'solid' | 'secondary' | 'floating' | 'contained';
|
|
87
|
-
ariaLabel?: string;
|
|
88
|
-
iconClass?: string;
|
|
89
|
-
}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
/**
|
|
4
|
-
* The sof-chip component
|
|
5
|
-
*/
|
|
6
|
-
export declare class SofChipComponent implements OnChanges {
|
|
7
|
-
/**
|
|
8
|
-
* The chip's label
|
|
9
|
-
* @required
|
|
10
|
-
* @note Can be a translation key
|
|
11
|
-
*/
|
|
12
|
-
label: string;
|
|
13
|
-
/**
|
|
14
|
-
* Can the chip be removed
|
|
15
|
-
* @optional
|
|
16
|
-
* @default true
|
|
17
|
-
*/
|
|
18
|
-
canRemove?: boolean;
|
|
19
|
-
/**
|
|
20
|
-
* Theme for the chip
|
|
21
|
-
* @optional
|
|
22
|
-
* @default 'neutral'
|
|
23
|
-
*/
|
|
24
|
-
theme?: "neutral" | "info" | "primary";
|
|
25
|
-
/**
|
|
26
|
-
* Icon class for the chip
|
|
27
|
-
* @optional if omitted no icon will be shown
|
|
28
|
-
* @note should be using the 'ph-bold' icon type
|
|
29
|
-
* @see [Phosphor Icons/bold]({@link https://phosphoricons.com/?weight=%22bold%22})
|
|
30
|
-
*/
|
|
31
|
-
iconClass?: string;
|
|
32
|
-
/**
|
|
33
|
-
* The id for the remove button
|
|
34
|
-
* @optional needed if canRemove is true
|
|
35
|
-
* @note Can simply be the index of the <Chip> array
|
|
36
|
-
*/
|
|
37
|
-
removeButtonId?: string | number;
|
|
38
|
-
/** Event to emit the chip's label for removal */
|
|
39
|
-
removeEvent?: EventEmitter<string>;
|
|
40
|
-
/** If canRemove is null|undefined onChanges, set to true */
|
|
41
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
42
|
-
/** Emit the chip's label for removal */
|
|
43
|
-
onRemove(event: Event): void;
|
|
44
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SofChipComponent, never>;
|
|
45
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SofChipComponent, "sof-chip", never, { "label": { "alias": "label"; "required": true; }; "canRemove": { "alias": "canRemove"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; "iconClass": { "alias": "iconClass"; "required": false; }; "removeButtonId": { "alias": "removeButtonId"; "required": false; }; }, { "removeEvent": "removeEvent"; }, never, never, true, never>;
|
|
46
|
-
}
|
|
47
|
-
/**
|
|
48
|
-
* The Chip interface
|
|
49
|
-
* @description Use to display chips from an Array<Chip>.
|
|
50
|
-
*/
|
|
51
|
-
export interface Chip {
|
|
52
|
-
label: string;
|
|
53
|
-
iconClass?: string;
|
|
54
|
-
canRemove?: boolean;
|
|
55
|
-
}
|
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, ElementRef } from '@angular/core';
|
|
2
|
-
import { MatMenuTrigger } from '@angular/material/menu';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
/**
|
|
5
|
-
* The Context component for ag grid
|
|
6
|
-
* @note You can use it like this:
|
|
7
|
-
*
|
|
8
|
-
* `<sof-context-menu></sof-context-menu>`
|
|
9
|
-
*/
|
|
10
|
-
export declare class SofContextComponent {
|
|
11
|
-
private cdRef;
|
|
12
|
-
/** Context menu */
|
|
13
|
-
contextMenu: MatMenuTrigger;
|
|
14
|
-
/** Search input */
|
|
15
|
-
searchInput: ElementRef;
|
|
16
|
-
/** List of menu items */
|
|
17
|
-
menuItems: ContextMenuItem[];
|
|
18
|
-
/** Menu position (x, y) */
|
|
19
|
-
position: {
|
|
20
|
-
x: string;
|
|
21
|
-
y: string;
|
|
22
|
-
};
|
|
23
|
-
/** Selected row data */
|
|
24
|
-
selectedRowData: any;
|
|
25
|
-
/** Tooltip text */
|
|
26
|
-
tooltipText: string;
|
|
27
|
-
/** Whether tooltip is visible */
|
|
28
|
-
tooltipVisible: boolean;
|
|
29
|
-
/** The position of the tooltip */
|
|
30
|
-
tooltipPosition: {
|
|
31
|
-
x: string;
|
|
32
|
-
y: string;
|
|
33
|
-
};
|
|
34
|
-
/** The tooltip timer */
|
|
35
|
-
private tooltipTimer;
|
|
36
|
-
/**
|
|
37
|
-
* Constructs the component
|
|
38
|
-
* @param cdRef The change detector
|
|
39
|
-
*/
|
|
40
|
-
constructor(cdRef: ChangeDetectorRef);
|
|
41
|
-
/**
|
|
42
|
-
* Sets the menu items
|
|
43
|
-
* @param items List of context menu items
|
|
44
|
-
*/
|
|
45
|
-
setMenuItems(items: ContextMenuItem[]): void;
|
|
46
|
-
/**
|
|
47
|
-
* Shows the context menu at the mouse position
|
|
48
|
-
* @param event Mouse event
|
|
49
|
-
* @param rowData Data of the clicked row
|
|
50
|
-
*/
|
|
51
|
-
showContextMenu(event: MouseEvent, rowData: any): void;
|
|
52
|
-
/**
|
|
53
|
-
* Filters sub menu options
|
|
54
|
-
* @param item the context menu item
|
|
55
|
-
* @param query the query
|
|
56
|
-
*/
|
|
57
|
-
filterSubMenuOptions(item: ContextMenuItem, event: Event): void;
|
|
58
|
-
/**
|
|
59
|
-
* Restores focus on search input
|
|
60
|
-
*/
|
|
61
|
-
restoreFocus(): void;
|
|
62
|
-
/**
|
|
63
|
-
* Handles menu item click event
|
|
64
|
-
* @param item Clicked menu item
|
|
65
|
-
*/
|
|
66
|
-
onMenuItemClick(item: ContextMenuItem): void;
|
|
67
|
-
/**
|
|
68
|
-
* Shows tooltip when hovering over a menu item
|
|
69
|
-
* @param event Mouse event
|
|
70
|
-
* @param description Tooltip text
|
|
71
|
-
*/
|
|
72
|
-
showTooltip(event: MouseEvent, description: string): void;
|
|
73
|
-
/**
|
|
74
|
-
* Hides the tooltip when the user moves the mouse away
|
|
75
|
-
*/
|
|
76
|
-
hideTooltip(): void;
|
|
77
|
-
/**
|
|
78
|
-
* Hides the menu when clicking outside
|
|
79
|
-
*/
|
|
80
|
-
onOutsideClick(): void;
|
|
81
|
-
/**
|
|
82
|
-
* Sets sub menu options
|
|
83
|
-
*/
|
|
84
|
-
private setSubMenuFilteredItems;
|
|
85
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SofContextComponent, never>;
|
|
86
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SofContextComponent, "sof-context-menu", never, {}, {}, never, never, false, never>;
|
|
87
|
-
}
|
|
88
|
-
/** Defines the structure of a context menu item */
|
|
89
|
-
export interface ContextMenuItem {
|
|
90
|
-
type: string;
|
|
91
|
-
text: string;
|
|
92
|
-
iconClasses: string[];
|
|
93
|
-
action: (data: any, mailbox?: string) => void;
|
|
94
|
-
disabled?: boolean;
|
|
95
|
-
description?: string;
|
|
96
|
-
hidden?: boolean;
|
|
97
|
-
enableSubMenuSearch?: boolean;
|
|
98
|
-
subMenuSearchPlaceholder?: string;
|
|
99
|
-
subMenuItems?: ContextMenuItem[];
|
|
100
|
-
_filteredSubMenuItems?: ContextMenuItem[];
|
|
101
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { ButtonData } from '../menu/menu';
|
|
2
|
-
import { MatButton } from '@angular/material/button';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
/**
|
|
5
|
-
* Dropdown Button Component
|
|
6
|
-
* @note Menu's can go up to 3 levels deep using the `ButtonData`'s `nestedMenu` property -
|
|
7
|
-
* ex: main-menu > sub-menu-1 > sub-menu-2
|
|
8
|
-
*/
|
|
9
|
-
export declare class SofDropdownButtonComponent {
|
|
10
|
-
buttonId: string;
|
|
11
|
-
buttonLabel: string;
|
|
12
|
-
buttonAriaLabel?: string;
|
|
13
|
-
buttonTheme: 'primary' | 'neutral';
|
|
14
|
-
buttonEmphasis: 'solid' | 'secondary' | 'floating' | 'contained';
|
|
15
|
-
buttonIconClass?: string;
|
|
16
|
-
buttonMini: boolean;
|
|
17
|
-
buttonDisabled: boolean;
|
|
18
|
-
menuDropDown: Array<ButtonData>;
|
|
19
|
-
/** Menu Title */
|
|
20
|
-
menuTitle: string;
|
|
21
|
-
/** Menu Position x-axis */
|
|
22
|
-
xPosition: 'before' | 'after';
|
|
23
|
-
/** Removes role="menu" from Material Menu elements. (per wcag audit) */
|
|
24
|
-
removeMenuRole: () => void;
|
|
25
|
-
/**
|
|
26
|
-
* Any logic related to ag grid cell renderer data can be added here
|
|
27
|
-
* @note All `@Inputs` should be accepted through `params`
|
|
28
|
-
*/
|
|
29
|
-
agInit(params: any & SofDropdownButtonComponent): void;
|
|
30
|
-
/** The button element ref */
|
|
31
|
-
dropdownButton: MatButton;
|
|
32
|
-
/** The buttons width */
|
|
33
|
-
private buttonWidth;
|
|
34
|
-
/** Angular document injection */
|
|
35
|
-
private _document;
|
|
36
|
-
/** Set's the min-width of the menu to the trigger buttons width */
|
|
37
|
-
setMenuMinWidth(): void;
|
|
38
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SofDropdownButtonComponent, never>;
|
|
39
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SofDropdownButtonComponent, "sof-dropdown-button", never, { "buttonId": { "alias": "buttonId"; "required": false; }; "buttonLabel": { "alias": "buttonLabel"; "required": true; }; "buttonAriaLabel": { "alias": "buttonAriaLabel"; "required": false; }; "buttonTheme": { "alias": "buttonTheme"; "required": false; }; "buttonEmphasis": { "alias": "buttonEmphasis"; "required": false; }; "buttonIconClass": { "alias": "buttonIconClass"; "required": false; }; "buttonMini": { "alias": "buttonMini"; "required": false; }; "buttonDisabled": { "alias": "buttonDisabled"; "required": false; }; "menuDropDown": { "alias": "menuDropDown"; "required": true; }; "menuTitle": { "alias": "menuTitle"; "required": false; }; "xPosition": { "alias": "xPosition"; "required": false; }; }, {}, never, never, false, never>;
|
|
40
|
-
}
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import { CdkDragDrop } from "@angular/cdk/drag-drop";
|
|
2
|
-
import { EventEmitter, OnDestroy } from "@angular/core";
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
/** The handle component */
|
|
5
|
-
export declare class SofHandleComponent implements OnDestroy {
|
|
6
|
-
/** The checkmark color */
|
|
7
|
-
checkmarkColor: string;
|
|
8
|
-
/** The input */
|
|
9
|
-
handleList: Array<HandleInput>;
|
|
10
|
-
/** The label text */
|
|
11
|
-
labelText: string;
|
|
12
|
-
/** The handle order changed event */
|
|
13
|
-
orderChanged: EventEmitter<boolean>;
|
|
14
|
-
/** The checkbox toggled event */
|
|
15
|
-
checkboxToggled: EventEmitter<number>;
|
|
16
|
-
/** The handle that's in focus */
|
|
17
|
-
handleInFocus: number;
|
|
18
|
-
private document;
|
|
19
|
-
/** The body element */
|
|
20
|
-
private bodyElement;
|
|
21
|
-
/** Component Destruction */
|
|
22
|
-
ngOnDestroy(): void;
|
|
23
|
-
/**
|
|
24
|
-
* Moves the item in the array as per the drop
|
|
25
|
-
* @param event The drop event
|
|
26
|
-
*/
|
|
27
|
-
drop(event: CdkDragDrop<string[]>): void;
|
|
28
|
-
/**
|
|
29
|
-
* Handles drag start event
|
|
30
|
-
*/
|
|
31
|
-
dragStart(): void;
|
|
32
|
-
/**
|
|
33
|
-
* Manually changes order using keyboard events
|
|
34
|
-
* @param currIdx The current index of the element
|
|
35
|
-
* @param isDown If the order is down or not
|
|
36
|
-
*/
|
|
37
|
-
manualOrderChange(currIdx: number, isDown: boolean): void;
|
|
38
|
-
/**
|
|
39
|
-
* Checkbox change event
|
|
40
|
-
* @param index The checkbox index
|
|
41
|
-
* @param eventVal The checkbox event value
|
|
42
|
-
*/
|
|
43
|
-
checkboxChanged(index: number, eventVal: boolean): void;
|
|
44
|
-
/**
|
|
45
|
-
* Triggered when a handle is in focus
|
|
46
|
-
* @param idx The index of handle in focus
|
|
47
|
-
*/
|
|
48
|
-
onFocus(idx: number): void;
|
|
49
|
-
/** When handle goes out of focus */
|
|
50
|
-
outFocus(): void;
|
|
51
|
-
/** The custom keydown listener */
|
|
52
|
-
private keydownListener;
|
|
53
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SofHandleComponent, never>;
|
|
54
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SofHandleComponent, "sof-handle", never, { "checkmarkColor": { "alias": "checkmarkColor"; "required": false; }; "handleList": { "alias": "handleList"; "required": false; }; "labelText": { "alias": "labelText"; "required": false; }; }, { "orderChanged": "orderChanged"; "checkboxToggled": "checkboxToggled"; }, never, never, false, never>;
|
|
55
|
-
}
|
|
56
|
-
/** The handle input model */
|
|
57
|
-
export interface HandleInput {
|
|
58
|
-
/** The text */
|
|
59
|
-
text?: string;
|
|
60
|
-
/** Is checked or not */
|
|
61
|
-
isChecked?: boolean;
|
|
62
|
-
}
|