@rededor/site-front-end-lib 20.0.40 → 20.1.0-alpha.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/README.md +187 -187
- package/components/algolia-search/index.d.ts +1 -1
- package/components/filters/filter-generic/index.d.ts +3 -3
- package/components/filters/filter-planos-convenios/index.d.ts +3 -2
- package/components/footer/index.d.ts +1 -1
- package/components/header/index.d.ts +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-algolia-dropdown.mjs +2 -2
- package/fesm2022/rededor-site-front-end-lib-components-algolia-dropdown.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-algolia-search.mjs +14 -14
- package/fesm2022/rededor-site-front-end-lib-components-algolia-search.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-banner.mjs +7 -7
- package/fesm2022/rededor-site-front-end-lib-components-banner.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-breadcrumbs.mjs +4 -4
- package/fesm2022/rededor-site-front-end-lib-components-breadcrumbs.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-cards.mjs +12 -12
- package/fesm2022/rededor-site-front-end-lib-components-cards.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-carousels.mjs +4 -4
- package/fesm2022/rededor-site-front-end-lib-components-carousels.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-cta-wrapper.mjs +4 -4
- package/fesm2022/rededor-site-front-end-lib-components-cta-wrapper.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-error.mjs +8 -8
- package/fesm2022/rededor-site-front-end-lib-components-error.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-filter-letter-and-terms.mjs +3 -3
- package/fesm2022/rededor-site-front-end-lib-components-filter-letter-and-terms.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-filters-filter-generic.mjs +15 -15
- package/fesm2022/rededor-site-front-end-lib-components-filters-filter-generic.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-filters-filter-planos-convenios.mjs +16 -16
- package/fesm2022/rededor-site-front-end-lib-components-filters-filter-planos-convenios.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-footer.mjs +3 -3
- package/fesm2022/rededor-site-front-end-lib-components-footer.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-header-components-action.mjs +3 -3
- package/fesm2022/rededor-site-front-end-lib-components-header-components-action.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-header-components-auxiliar.mjs +5 -5
- package/fesm2022/rededor-site-front-end-lib-components-header-components-auxiliar.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-header-components-main.mjs +5 -5
- package/fesm2022/rededor-site-front-end-lib-components-header-components-main.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-header-components-side.mjs +5 -5
- package/fesm2022/rededor-site-front-end-lib-components-header-components-side.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-header-services.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-header.mjs +5 -5
- package/fesm2022/rededor-site-front-end-lib-components-header.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-image.mjs +2 -2
- package/fesm2022/rededor-site-front-end-lib-components-image.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-load-screen.mjs +3 -3
- package/fesm2022/rededor-site-front-end-lib-components-load-screen.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-modal-drawer.mjs +3 -3
- package/fesm2022/rededor-site-front-end-lib-components-modal-drawer.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-modal.mjs +3 -3
- package/fesm2022/rededor-site-front-end-lib-components-modal.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-overlay.mjs +2 -2
- package/fesm2022/rededor-site-front-end-lib-components-overlay.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-page-header.mjs +4 -4
- package/fesm2022/rededor-site-front-end-lib-components-page-header.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-page-template-fullcontent.mjs +2 -2
- package/fesm2022/rededor-site-front-end-lib-components-page-template-fullcontent.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-page-template-sidebar.mjs +2 -2
- package/fesm2022/rededor-site-front-end-lib-components-page-template-sidebar.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-pagination.mjs +4 -4
- package/fesm2022/rededor-site-front-end-lib-components-pagination.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-search.mjs +5 -5
- package/fesm2022/rededor-site-front-end-lib-components-search.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-section-navigation.mjs +3 -3
- package/fesm2022/rededor-site-front-end-lib-components-section-navigation.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-side-ctas.mjs +12 -12
- package/fesm2022/rededor-site-front-end-lib-components-side-ctas.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-sidebar-navigation.mjs +5 -5
- package/fesm2022/rededor-site-front-end-lib-components-sidebar-navigation.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-sticky-navigation.mjs +5 -5
- package/fesm2022/rededor-site-front-end-lib-components-sticky-navigation.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-whatsapp.mjs +4 -4
- package/fesm2022/rededor-site-front-end-lib-components-whatsapp.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-core.mjs +204 -204
- package/fesm2022/rededor-site-front-end-lib-core.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-enums.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-services-algolia-search-api.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-services-algolia.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-services-ngu-carousel.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-services-ssr-loading.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-services-transfer-state.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-services-youtube.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-shared.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib.mjs.map +1 -1
- package/package.json +2 -133
- package/styles/_breakpoints.scss +5 -5
- package/cura/accordion/index.d.ts +0 -120
- package/cura/api/index.d.ts +0 -359
- package/cura/badges/cura-badge-counter/index.d.ts +0 -38
- package/cura/badges/cura-badge-distance/index.d.ts +0 -21
- package/cura/badges/cura-badge-dot/index.d.ts +0 -29
- package/cura/badges/cura-badge-pill/index.d.ts +0 -42
- package/cura/badges/index.d.ts +0 -5
- package/cura/buttons/cura-button/index.d.ts +0 -90
- package/cura/buttons/cura-button-outline/index.d.ts +0 -90
- package/cura/buttons/cura-button-select/index.d.ts +0 -39
- package/cura/buttons/cura-button-transparent/index.d.ts +0 -87
- package/cura/buttons/index.d.ts +0 -15
- package/cura/cards/cura-card/index.d.ts +0 -49
- package/cura/feedback/cura-alert/index.d.ts +0 -55
- package/cura/feedback/cura-modal/index.d.ts +0 -97
- package/cura/feedback/cura-toast/index.d.ts +0 -104
- package/cura/forms/cura-checkbox/index.d.ts +0 -160
- package/cura/forms/cura-input-text/index.d.ts +0 -236
- package/cura/forms/cura-label/index.d.ts +0 -47
- package/cura/forms/cura-radio/index.d.ts +0 -148
- package/cura/forms/cura-select/index.d.ts +0 -154
- package/cura/forms/cura-select-option/index.d.ts +0 -54
- package/cura/forms/cura-select-state/index.d.ts +0 -72
- package/cura/forms/cura-switch/index.d.ts +0 -113
- package/cura/forms/cura-textarea/index.d.ts +0 -113
- package/cura/forms/index.d.ts +0 -20
- package/cura/icons/cura-icon/index.d.ts +0 -46
- package/cura/loaders/cura-loader-bar/index.d.ts +0 -22
- package/cura/loaders/cura-loader-circle/index.d.ts +0 -24
- package/cura/texts/cura-display/index.d.ts +0 -54
- package/cura/texts/cura-heading/index.d.ts +0 -65
- package/cura/texts/cura-paragraph/index.d.ts +0 -54
- package/cura/texts/index.d.ts +0 -7
- package/fesm2022/rededor-site-front-end-lib-cura-accordion.mjs +0 -252
- package/fesm2022/rededor-site-front-end-lib-cura-accordion.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-api.mjs +0 -643
- package/fesm2022/rededor-site-front-end-lib-cura-api.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-badges-cura-badge-counter.mjs +0 -90
- package/fesm2022/rededor-site-front-end-lib-cura-badges-cura-badge-counter.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-badges-cura-badge-distance.mjs +0 -55
- package/fesm2022/rededor-site-front-end-lib-cura-badges-cura-badge-distance.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-badges-cura-badge-dot.mjs +0 -66
- package/fesm2022/rededor-site-front-end-lib-cura-badges-cura-badge-dot.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-badges-cura-badge-pill.mjs +0 -91
- package/fesm2022/rededor-site-front-end-lib-cura-badges-cura-badge-pill.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-badges.mjs +0 -4
- package/fesm2022/rededor-site-front-end-lib-cura-badges.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-buttons-cura-button-outline.mjs +0 -170
- package/fesm2022/rededor-site-front-end-lib-cura-buttons-cura-button-outline.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-buttons-cura-button-select.mjs +0 -135
- package/fesm2022/rededor-site-front-end-lib-cura-buttons-cura-button-select.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-buttons-cura-button-transparent.mjs +0 -161
- package/fesm2022/rededor-site-front-end-lib-cura-buttons-cura-button-transparent.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-buttons-cura-button.mjs +0 -170
- package/fesm2022/rededor-site-front-end-lib-cura-buttons-cura-button.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-buttons.mjs +0 -13
- package/fesm2022/rededor-site-front-end-lib-cura-buttons.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-cards-cura-card.mjs +0 -72
- package/fesm2022/rededor-site-front-end-lib-cura-cards-cura-card.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-feedback-cura-alert.mjs +0 -90
- package/fesm2022/rededor-site-front-end-lib-cura-feedback-cura-alert.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-feedback-cura-modal.mjs +0 -105
- package/fesm2022/rededor-site-front-end-lib-cura-feedback-cura-modal.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-feedback-cura-toast.mjs +0 -198
- package/fesm2022/rededor-site-front-end-lib-cura-feedback-cura-toast.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-checkbox.mjs +0 -262
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-checkbox.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-input-text.mjs +0 -586
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-input-text.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-label.mjs +0 -82
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-label.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-radio.mjs +0 -243
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-radio.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-select-option.mjs +0 -89
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-select-option.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-select-state.mjs +0 -123
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-select-state.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-select.mjs +0 -365
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-select.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-switch.mjs +0 -182
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-switch.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-textarea.mjs +0 -209
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-textarea.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-forms.mjs +0 -21
- package/fesm2022/rededor-site-front-end-lib-cura-forms.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-icons-cura-icon.mjs +0 -88
- package/fesm2022/rededor-site-front-end-lib-cura-icons-cura-icon.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-loaders-cura-loader-bar.mjs +0 -44
- package/fesm2022/rededor-site-front-end-lib-cura-loaders-cura-loader-bar.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-loaders-cura-loader-circle.mjs +0 -49
- package/fesm2022/rededor-site-front-end-lib-cura-loaders-cura-loader-circle.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-texts-cura-display.mjs +0 -84
- package/fesm2022/rededor-site-front-end-lib-cura-texts-cura-display.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-texts-cura-heading.mjs +0 -104
- package/fesm2022/rededor-site-front-end-lib-cura-texts-cura-heading.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-texts-cura-paragraph.mjs +0 -89
- package/fesm2022/rededor-site-front-end-lib-cura-texts-cura-paragraph.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-texts.mjs +0 -4
- package/fesm2022/rededor-site-front-end-lib-cura-texts.mjs.map +0 -1
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { ButtonSize, BackgroundType, IconPosition } from '@rededor/site-front-end-lib/cura/buttons';
|
|
3
|
-
import { LabelSize } from '@rededor/site-front-end-lib/cura/forms';
|
|
4
|
-
|
|
5
|
-
declare class CuraButtonSelectComponent {
|
|
6
|
-
private curaApi;
|
|
7
|
-
selected: _angular_core.ModelSignal<boolean>;
|
|
8
|
-
iconName: _angular_core.InputSignal<string>;
|
|
9
|
-
size: _angular_core.InputSignal<ButtonSize>;
|
|
10
|
-
counter: _angular_core.InputSignal<number | null>;
|
|
11
|
-
disabled: _angular_core.InputSignal<boolean>;
|
|
12
|
-
background: _angular_core.InputSignal<BackgroundType>;
|
|
13
|
-
color: _angular_core.InputSignal<string>;
|
|
14
|
-
iconPosition: _angular_core.InputSignal<IconPosition | undefined>;
|
|
15
|
-
/**
|
|
16
|
-
* Accessible name for the button (aria-label).
|
|
17
|
-
* Required for icon-only buttons or when button text is not descriptive enough.
|
|
18
|
-
*/
|
|
19
|
-
ariaLabel: _angular_core.InputSignal<string>;
|
|
20
|
-
onclick: _angular_core.OutputEmitterRef<{
|
|
21
|
-
selected: boolean;
|
|
22
|
-
}>;
|
|
23
|
-
hovered: boolean;
|
|
24
|
-
buttonStyles: _angular_core.Signal<{
|
|
25
|
-
[key: string]: string;
|
|
26
|
-
}>;
|
|
27
|
-
containerClasses: _angular_core.Signal<string>;
|
|
28
|
-
labelFontColor: _angular_core.Signal<"neutral-dark" | "neutral-black" | "neutral-white">;
|
|
29
|
-
iconSize: _angular_core.Signal<"20" | "16">;
|
|
30
|
-
iconColor: _angular_core.Signal<"neutral-dark" | "neutral-black" | "neutral-white">;
|
|
31
|
-
labelSize: _angular_core.Signal<LabelSize>;
|
|
32
|
-
handleMouseEnter(): void;
|
|
33
|
-
handleMouseLeave(): void;
|
|
34
|
-
handleClick(event: Event): void;
|
|
35
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CuraButtonSelectComponent, never>;
|
|
36
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CuraButtonSelectComponent, "cura-button-select", never, { "selected": { "alias": "selected"; "required": false; "isSignal": true; }; "iconName": { "alias": "iconName"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "counter": { "alias": "counter"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "background": { "alias": "background"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "iconPosition": { "alias": "iconPosition"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, { "selected": "selectedChange"; "onclick": "onclick"; }, never, ["*"], true, never>;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
export { CuraButtonSelectComponent };
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { ButtonType, ButtonSize, IconPosition, FontColor, TextAlign } from '@rededor/site-front-end-lib/cura/buttons';
|
|
3
|
-
import { LabelSize } from '@rededor/site-front-end-lib/cura/forms';
|
|
4
|
-
|
|
5
|
-
declare class CuraButtonTransparentComponent {
|
|
6
|
-
private curaApi;
|
|
7
|
-
/**
|
|
8
|
-
* Button type: button (default) | submit | reset
|
|
9
|
-
*/
|
|
10
|
-
type: _angular_core.InputSignal<ButtonType>;
|
|
11
|
-
/**
|
|
12
|
-
* Button size: small | medium | large (default)
|
|
13
|
-
*/
|
|
14
|
-
size: _angular_core.InputSignal<ButtonSize>;
|
|
15
|
-
/**
|
|
16
|
-
* Disabled state. Boolean.
|
|
17
|
-
*/
|
|
18
|
-
disabled: _angular_core.InputSignal<boolean>;
|
|
19
|
-
/**
|
|
20
|
-
* Loading state. Boolean.
|
|
21
|
-
*/
|
|
22
|
-
isLoading: _angular_core.InputSignal<boolean>;
|
|
23
|
-
/**
|
|
24
|
-
* Name of the icon to be used from iconset.
|
|
25
|
-
*/
|
|
26
|
-
iconName: _angular_core.InputSignal<string>;
|
|
27
|
-
/**
|
|
28
|
-
* Custom iconset if needed.
|
|
29
|
-
*/
|
|
30
|
-
iconset: _angular_core.InputSignal<string>;
|
|
31
|
-
/**
|
|
32
|
-
* Icon position: left (default) | right.
|
|
33
|
-
*/
|
|
34
|
-
iconPosition: _angular_core.InputSignal<IconPosition>;
|
|
35
|
-
/**
|
|
36
|
-
* Set button to FAB/icon only.
|
|
37
|
-
*/
|
|
38
|
-
iconOnly: _angular_core.InputSignal<boolean>;
|
|
39
|
-
/**
|
|
40
|
-
* Property href switch button to link.
|
|
41
|
-
*/
|
|
42
|
-
href: _angular_core.InputSignal<string>;
|
|
43
|
-
/**
|
|
44
|
-
* Set target if link.
|
|
45
|
-
*/
|
|
46
|
-
target: _angular_core.InputSignal<string>;
|
|
47
|
-
/**
|
|
48
|
-
* Color base from color scheme. Default: primary.
|
|
49
|
-
*/
|
|
50
|
-
color: _angular_core.InputSignal<string>;
|
|
51
|
-
/**
|
|
52
|
-
* Set the font color to dark or light.
|
|
53
|
-
* Default: dark.
|
|
54
|
-
*/
|
|
55
|
-
fontColor: _angular_core.InputSignal<FontColor>;
|
|
56
|
-
/**
|
|
57
|
-
* Set text alignment for the button label.
|
|
58
|
-
* Values: left (default) | center | right.
|
|
59
|
-
*/
|
|
60
|
-
textAlign: _angular_core.InputSignal<TextAlign>;
|
|
61
|
-
/**
|
|
62
|
-
* Justify icons and label inside the button.
|
|
63
|
-
* Values: false (default) | true.
|
|
64
|
-
*/
|
|
65
|
-
justify: _angular_core.InputSignal<boolean>;
|
|
66
|
-
/**
|
|
67
|
-
* Accessible name for the button (aria-label).
|
|
68
|
-
* Required for icon-only buttons or when button text is not descriptive enough.
|
|
69
|
-
*/
|
|
70
|
-
ariaLabel: _angular_core.InputSignal<string>;
|
|
71
|
-
buttonClick: _angular_core.OutputEmitterRef<Event>;
|
|
72
|
-
hovered: boolean;
|
|
73
|
-
buttonStyles: _angular_core.Signal<{
|
|
74
|
-
[key: string]: string;
|
|
75
|
-
}>;
|
|
76
|
-
containerClasses: _angular_core.Signal<string>;
|
|
77
|
-
iconSize: _angular_core.Signal<"20" | "16">;
|
|
78
|
-
symbolColor: _angular_core.Signal<string>;
|
|
79
|
-
labelSize: _angular_core.Signal<LabelSize>;
|
|
80
|
-
handleMouseEnter(): void;
|
|
81
|
-
handleMouseLeave(): void;
|
|
82
|
-
handleClick(event: Event): void;
|
|
83
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CuraButtonTransparentComponent, never>;
|
|
84
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CuraButtonTransparentComponent, "cura-button-transparent", never, { "type": { "alias": "type"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "isLoading": { "alias": "isLoading"; "required": false; "isSignal": true; }; "iconName": { "alias": "iconName"; "required": false; "isSignal": true; }; "iconset": { "alias": "iconset"; "required": false; "isSignal": true; }; "iconPosition": { "alias": "iconPosition"; "required": false; "isSignal": true; }; "iconOnly": { "alias": "iconOnly"; "required": false; "isSignal": true; }; "href": { "alias": "href"; "required": false; "isSignal": true; }; "target": { "alias": "target"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "fontColor": { "alias": "fontColor"; "required": false; "isSignal": true; }; "textAlign": { "alias": "textAlign"; "required": false; "isSignal": true; }; "justify": { "alias": "justify"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, { "buttonClick": "buttonClick"; }, never, ["*"], true, never>;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
export { CuraButtonTransparentComponent };
|
package/cura/buttons/index.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
declare const labelSizes: {
|
|
2
|
-
small: string;
|
|
3
|
-
medium: string;
|
|
4
|
-
large: string;
|
|
5
|
-
default: string;
|
|
6
|
-
};
|
|
7
|
-
type ButtonType = 'button' | 'reset' | 'submit';
|
|
8
|
-
type ButtonSize = 'small' | 'medium' | 'large';
|
|
9
|
-
type IconPosition = 'left' | 'right';
|
|
10
|
-
type BackgroundType = 'dark' | 'light';
|
|
11
|
-
type FontColor = 'dark' | 'light';
|
|
12
|
-
type TextAlign = 'left' | 'center' | 'right';
|
|
13
|
-
|
|
14
|
-
export { labelSizes };
|
|
15
|
-
export type { BackgroundType, ButtonSize, ButtonType, FontColor, IconPosition, TextAlign };
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import * as _angular_core from '@angular/core';
|
|
2
|
-
|
|
3
|
-
type CardType = 'solid' | 'transparent';
|
|
4
|
-
type CardColorMode = 'light' | 'dark';
|
|
5
|
-
type CardTarget = '_self' | '_blank' | '_parent' | '_top';
|
|
6
|
-
|
|
7
|
-
declare class CuraCardComponent {
|
|
8
|
-
/**
|
|
9
|
-
* Determines whether the card should have padding.
|
|
10
|
-
* @default true
|
|
11
|
-
*/
|
|
12
|
-
hasPadding: _angular_core.InputSignal<boolean>;
|
|
13
|
-
/**
|
|
14
|
-
* Determines whether the card should have a shadow effect.
|
|
15
|
-
* @default false
|
|
16
|
-
*/
|
|
17
|
-
hasShadow: _angular_core.InputSignal<boolean>;
|
|
18
|
-
/**
|
|
19
|
-
* Sets the type of the card background.
|
|
20
|
-
* - 'solid': A solid background.
|
|
21
|
-
* - 'transparent': A transparent background.
|
|
22
|
-
* @default 'solid'
|
|
23
|
-
*/
|
|
24
|
-
type: _angular_core.InputSignal<CardType>;
|
|
25
|
-
/**
|
|
26
|
-
* Sets the color mode of the card.
|
|
27
|
-
* - 'light': Light mode for the card.
|
|
28
|
-
* - 'dark': Dark mode for the card.
|
|
29
|
-
* @default 'light'
|
|
30
|
-
*/
|
|
31
|
-
colorMode: _angular_core.InputSignal<CardColorMode>;
|
|
32
|
-
/**
|
|
33
|
-
* The URL that the card should link to (if set).
|
|
34
|
-
* If not set, the card acts as a normal card.
|
|
35
|
-
*/
|
|
36
|
-
href: _angular_core.InputSignal<string>;
|
|
37
|
-
/**
|
|
38
|
-
* The target attribute for the link.
|
|
39
|
-
* Applicable only if `href` is set.
|
|
40
|
-
* @default '_self'
|
|
41
|
-
*/
|
|
42
|
-
target: _angular_core.InputSignal<CardTarget>;
|
|
43
|
-
containerClasses: _angular_core.Signal<string>;
|
|
44
|
-
isLink: _angular_core.Signal<boolean>;
|
|
45
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CuraCardComponent, never>;
|
|
46
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CuraCardComponent, "cura-card", never, { "hasPadding": { "alias": "hasPadding"; "required": false; "isSignal": true; }; "hasShadow": { "alias": "hasShadow"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "colorMode": { "alias": "colorMode"; "required": false; "isSignal": true; }; "href": { "alias": "href"; "required": false; "isSignal": true; }; "target": { "alias": "target"; "required": false; "isSignal": true; }; }, {}, never, ["*", "*"], true, never>;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
export { CuraCardComponent };
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import * as _angular_core from '@angular/core';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Alert types available
|
|
5
|
-
*/
|
|
6
|
-
type AlertType = 'info' | 'success' | 'warning' | 'error';
|
|
7
|
-
/**
|
|
8
|
-
* Alert configuration interface
|
|
9
|
-
*/
|
|
10
|
-
interface AlertConfig {
|
|
11
|
-
type?: AlertType;
|
|
12
|
-
floating?: boolean;
|
|
13
|
-
label?: string;
|
|
14
|
-
closeable?: boolean;
|
|
15
|
-
icon?: string;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
declare class CuraAlertComponent {
|
|
19
|
-
private curaApi;
|
|
20
|
-
/**
|
|
21
|
-
* Alert type: info (default) | success | warning | error
|
|
22
|
-
*/
|
|
23
|
-
type: _angular_core.InputSignal<AlertType>;
|
|
24
|
-
/**
|
|
25
|
-
* Floating state. Boolean.
|
|
26
|
-
*/
|
|
27
|
-
floating: _angular_core.InputSignal<boolean>;
|
|
28
|
-
/**
|
|
29
|
-
* Alert label/title
|
|
30
|
-
*/
|
|
31
|
-
label: _angular_core.InputSignal<string>;
|
|
32
|
-
/**
|
|
33
|
-
* Closeable state. Boolean.
|
|
34
|
-
*/
|
|
35
|
-
closeable: _angular_core.InputSignal<boolean>;
|
|
36
|
-
/**
|
|
37
|
-
* Custom icon name
|
|
38
|
-
*/
|
|
39
|
-
icon: _angular_core.InputSignal<string>;
|
|
40
|
-
/**
|
|
41
|
-
* Close event emitter
|
|
42
|
-
*/
|
|
43
|
-
close: _angular_core.OutputEmitterRef<void>;
|
|
44
|
-
alertStyles: _angular_core.Signal<{
|
|
45
|
-
[key: string]: string;
|
|
46
|
-
}>;
|
|
47
|
-
containerClasses: _angular_core.Signal<string>;
|
|
48
|
-
iconName: _angular_core.Signal<string>;
|
|
49
|
-
handleClose(): void;
|
|
50
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CuraAlertComponent, never>;
|
|
51
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CuraAlertComponent, "cura-alert", never, { "type": { "alias": "type"; "required": false; "isSignal": true; }; "floating": { "alias": "floating"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "closeable": { "alias": "closeable"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; }, { "close": "close"; }, never, ["*", "[slot=actions]"], true, never>;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
export { CuraAlertComponent };
|
|
55
|
-
export type { AlertConfig, AlertType };
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { OnInit, OnDestroy } from '@angular/core';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* Background options for the modal component
|
|
6
|
-
*/
|
|
7
|
-
type ModalBackground = 'dark' | 'light';
|
|
8
|
-
/**
|
|
9
|
-
* Event payload emitted when the modal is closed
|
|
10
|
-
*/
|
|
11
|
-
interface ModalCloseEvent {
|
|
12
|
-
/**
|
|
13
|
-
* Indicates that the modal was closed
|
|
14
|
-
*/
|
|
15
|
-
closed: boolean;
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* Modal position configuration
|
|
19
|
-
*/
|
|
20
|
-
interface ModalPosition {
|
|
21
|
-
/**
|
|
22
|
-
* Top offset in pixels
|
|
23
|
-
*/
|
|
24
|
-
top?: number;
|
|
25
|
-
/**
|
|
26
|
-
* Bottom offset in pixels
|
|
27
|
-
*/
|
|
28
|
-
bottom?: number;
|
|
29
|
-
/**
|
|
30
|
-
* Left offset in pixels
|
|
31
|
-
*/
|
|
32
|
-
left?: number;
|
|
33
|
-
/**
|
|
34
|
-
* Right offset in pixels
|
|
35
|
-
*/
|
|
36
|
-
right?: number;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
declare class CuraModalComponent implements OnInit, OnDestroy {
|
|
40
|
-
private curaApi;
|
|
41
|
-
private platformId;
|
|
42
|
-
/**
|
|
43
|
-
* Property open to control modal visibility
|
|
44
|
-
*/
|
|
45
|
-
open: _angular_core.ModelSignal<boolean>;
|
|
46
|
-
/**
|
|
47
|
-
* Property background to control modal backdrop color
|
|
48
|
-
*/
|
|
49
|
-
background: _angular_core.InputSignal<ModalBackground>;
|
|
50
|
-
/**
|
|
51
|
-
* Property top to control modal top position
|
|
52
|
-
*/
|
|
53
|
-
top: _angular_core.InputSignal<number>;
|
|
54
|
-
/**
|
|
55
|
-
* Property bottom to control modal bottom position
|
|
56
|
-
*/
|
|
57
|
-
bottom: _angular_core.InputSignal<number>;
|
|
58
|
-
/**
|
|
59
|
-
* Property left to control modal left position
|
|
60
|
-
*/
|
|
61
|
-
left: _angular_core.InputSignal<number>;
|
|
62
|
-
/**
|
|
63
|
-
* Property right to control modal right position
|
|
64
|
-
*/
|
|
65
|
-
right: _angular_core.InputSignal<number>;
|
|
66
|
-
/**
|
|
67
|
-
* Defines the label for the close button when the modal is viewed on mobile
|
|
68
|
-
*/
|
|
69
|
-
mobileCloseLabel: _angular_core.InputSignal<string>;
|
|
70
|
-
/**
|
|
71
|
-
* Property zindex to control the z-index value of the component
|
|
72
|
-
*/
|
|
73
|
-
zindex: _angular_core.InputSignal<string>;
|
|
74
|
-
/**
|
|
75
|
-
* Event close to handle modal close
|
|
76
|
-
*/
|
|
77
|
-
modalClose: _angular_core.OutputEmitterRef<void>;
|
|
78
|
-
styles: _angular_core.Signal<{
|
|
79
|
-
'--background-color': string;
|
|
80
|
-
'--top-offset': string;
|
|
81
|
-
'--bottom-offset': string;
|
|
82
|
-
'--left-offset': string;
|
|
83
|
-
'--right-offset': string;
|
|
84
|
-
'--neutral-purewhite': string;
|
|
85
|
-
'--neutral-light': string;
|
|
86
|
-
'--base-spacing': string;
|
|
87
|
-
}>;
|
|
88
|
-
ngOnInit(): void;
|
|
89
|
-
ngOnDestroy(): void;
|
|
90
|
-
handleCloseOnEsc: (evt: KeyboardEvent) => void;
|
|
91
|
-
handleClose: () => void;
|
|
92
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CuraModalComponent, never>;
|
|
93
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CuraModalComponent, "cura-modal", never, { "open": { "alias": "open"; "required": false; "isSignal": true; }; "background": { "alias": "background"; "required": false; "isSignal": true; }; "top": { "alias": "top"; "required": false; "isSignal": true; }; "bottom": { "alias": "bottom"; "required": false; "isSignal": true; }; "left": { "alias": "left"; "required": false; "isSignal": true; }; "right": { "alias": "right"; "required": false; "isSignal": true; }; "mobileCloseLabel": { "alias": "mobileCloseLabel"; "required": false; "isSignal": true; }; "zindex": { "alias": "zindex"; "required": false; "isSignal": true; }; }, { "open": "openChange"; "modalClose": "modalClose"; }, never, ["*"], true, never>;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
export { CuraModalComponent };
|
|
97
|
-
export type { ModalBackground, ModalCloseEvent, ModalPosition };
|
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { OnInit, OnDestroy } from '@angular/core';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* Toast types available
|
|
6
|
-
*/
|
|
7
|
-
type ToastType = 'info' | 'success' | 'warning' | 'error';
|
|
8
|
-
/**
|
|
9
|
-
* Toast position types
|
|
10
|
-
*/
|
|
11
|
-
type ToastPosition = 'top-left' | 'top-center' | 'top-right' | 'bottom-left' | 'bottom-center' | 'bottom-right';
|
|
12
|
-
/**
|
|
13
|
-
* Toast configuration interface
|
|
14
|
-
*/
|
|
15
|
-
interface ToastConfig {
|
|
16
|
-
type?: ToastType;
|
|
17
|
-
position?: ToastPosition;
|
|
18
|
-
icon?: string;
|
|
19
|
-
label?: string;
|
|
20
|
-
closeButton?: boolean;
|
|
21
|
-
loader?: boolean;
|
|
22
|
-
autoCloseDelay?: number;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
declare class CuraToastComponent implements OnInit, OnDestroy {
|
|
26
|
-
private curaApi;
|
|
27
|
-
private elementRef;
|
|
28
|
-
private intervalId?;
|
|
29
|
-
/**
|
|
30
|
-
* Toast type: info (default) | success | warning | error
|
|
31
|
-
*/
|
|
32
|
-
type: _angular_core.InputSignal<ToastType>;
|
|
33
|
-
/**
|
|
34
|
-
* Toast position on screen
|
|
35
|
-
*/
|
|
36
|
-
position: _angular_core.InputSignal<ToastPosition>;
|
|
37
|
-
/**
|
|
38
|
-
* Custom icon name
|
|
39
|
-
*/
|
|
40
|
-
icon: _angular_core.InputSignal<string>;
|
|
41
|
-
/**
|
|
42
|
-
* Toast label/title
|
|
43
|
-
*/
|
|
44
|
-
label: _angular_core.InputSignal<string>;
|
|
45
|
-
/**
|
|
46
|
-
* Show close button. Default: true
|
|
47
|
-
*/
|
|
48
|
-
closeButton: _angular_core.InputSignal<boolean>;
|
|
49
|
-
/**
|
|
50
|
-
* Show loader bar. Default: true
|
|
51
|
-
*/
|
|
52
|
-
loader: _angular_core.InputSignal<boolean>;
|
|
53
|
-
/**
|
|
54
|
-
* Auto close delay in milliseconds. Default: 10000ms (10s)
|
|
55
|
-
*/
|
|
56
|
-
autoCloseDelay: _angular_core.InputSignal<number>;
|
|
57
|
-
/**
|
|
58
|
-
* Close event emitter
|
|
59
|
-
*/
|
|
60
|
-
toastClosed: _angular_core.OutputEmitterRef<void>;
|
|
61
|
-
/**
|
|
62
|
-
* Progress state for loader animation
|
|
63
|
-
*/
|
|
64
|
-
progress: _angular_core.WritableSignal<number>;
|
|
65
|
-
/**
|
|
66
|
-
* Active state for animation
|
|
67
|
-
*/
|
|
68
|
-
isActive: _angular_core.WritableSignal<boolean>;
|
|
69
|
-
constructor();
|
|
70
|
-
toastStyles: _angular_core.Signal<{
|
|
71
|
-
[key: string]: string;
|
|
72
|
-
}>;
|
|
73
|
-
containerClasses: _angular_core.Signal<{
|
|
74
|
-
[key: string]: boolean;
|
|
75
|
-
}>;
|
|
76
|
-
iconName: _angular_core.Signal<string>;
|
|
77
|
-
ngOnInit(): void;
|
|
78
|
-
ngOnDestroy(): void;
|
|
79
|
-
/**
|
|
80
|
-
* Opens the toast container with animation
|
|
81
|
-
*/
|
|
82
|
-
openContainer(): void;
|
|
83
|
-
/**
|
|
84
|
-
* Closes the toast container with animation
|
|
85
|
-
*/
|
|
86
|
-
closeContainer(): void;
|
|
87
|
-
/**
|
|
88
|
-
* Public method to close toast
|
|
89
|
-
*/
|
|
90
|
-
close(): void;
|
|
91
|
-
/**
|
|
92
|
-
* Handle close button click
|
|
93
|
-
*/
|
|
94
|
-
handleClose(): void;
|
|
95
|
-
/**
|
|
96
|
-
* Starts the auto-close animation
|
|
97
|
-
*/
|
|
98
|
-
private startAnimation;
|
|
99
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CuraToastComponent, never>;
|
|
100
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CuraToastComponent, "cura-toast", never, { "type": { "alias": "type"; "required": false; "isSignal": true; }; "position": { "alias": "position"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "closeButton": { "alias": "closeButton"; "required": false; "isSignal": true; }; "loader": { "alias": "loader"; "required": false; "isSignal": true; }; "autoCloseDelay": { "alias": "autoCloseDelay"; "required": false; "isSignal": true; }; }, { "toastClosed": "toastClosed"; }, never, ["*", "[slot=actions]"], true, never>;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
export { CuraToastComponent };
|
|
104
|
-
export type { ToastConfig, ToastPosition, ToastType };
|
|
@@ -1,160 +0,0 @@
|
|
|
1
|
-
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
-
import { TextOverflow } from '@rededor/site-front-end-lib/cura/forms';
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* Size options for the checkbox component
|
|
7
|
-
*/
|
|
8
|
-
type CheckboxSize = 'small' | 'medium' | 'large';
|
|
9
|
-
/**
|
|
10
|
-
* Position options for the label relative to the checkbox
|
|
11
|
-
*/
|
|
12
|
-
type CheckboxPosition = 'left' | 'right';
|
|
13
|
-
/**
|
|
14
|
-
* Background theme options for the checkbox
|
|
15
|
-
*/
|
|
16
|
-
type CheckboxBackground = 'dark' | 'light';
|
|
17
|
-
/**
|
|
18
|
-
* Icon color theme options for the checkbox
|
|
19
|
-
*/
|
|
20
|
-
type CheckboxIconColor = 'dark' | 'light';
|
|
21
|
-
/**
|
|
22
|
-
* Status options for the checkbox
|
|
23
|
-
*/
|
|
24
|
-
type CheckboxStatus = 'default' | 'success' | 'error';
|
|
25
|
-
/**
|
|
26
|
-
* Event payload emitted when checkbox state changes
|
|
27
|
-
*/
|
|
28
|
-
interface CheckboxChangeEvent {
|
|
29
|
-
/**
|
|
30
|
-
* The value associated with the checkbox
|
|
31
|
-
*/
|
|
32
|
-
value: string;
|
|
33
|
-
/**
|
|
34
|
-
* Whether the checkbox is checked
|
|
35
|
-
*/
|
|
36
|
-
checked: boolean;
|
|
37
|
-
/**
|
|
38
|
-
* Whether the checkbox is in indeterminate state
|
|
39
|
-
*/
|
|
40
|
-
indeterminate: boolean;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
declare class CuraCheckboxComponent implements ControlValueAccessor {
|
|
44
|
-
private curaApi;
|
|
45
|
-
/**
|
|
46
|
-
* When true, suppresses rendering of the check/indeterminate icon.
|
|
47
|
-
*/
|
|
48
|
-
disableCheckIcon: _angular_core.InputSignal<boolean>;
|
|
49
|
-
/**
|
|
50
|
-
* Reflects the checked state of the checkbox.
|
|
51
|
-
* checkedInput receives the external binding; checked is a linkedSignal
|
|
52
|
-
* so it always resets when the parent updates the input.
|
|
53
|
-
*/
|
|
54
|
-
readonly checkedInput: _angular_core.InputSignal<boolean>;
|
|
55
|
-
readonly checkedChange: _angular_core.OutputEmitterRef<boolean>;
|
|
56
|
-
readonly checked: _angular_core.WritableSignal<boolean>;
|
|
57
|
-
/**
|
|
58
|
-
* Reflects the indeterminate state of the checkbox.
|
|
59
|
-
* Using model for two-way binding and form control integration.
|
|
60
|
-
*/
|
|
61
|
-
indeterminate: _angular_core.ModelSignal<boolean>;
|
|
62
|
-
/**
|
|
63
|
-
* Status of the checkbox.
|
|
64
|
-
*/
|
|
65
|
-
status: _angular_core.InputSignal<CheckboxStatus>;
|
|
66
|
-
/**
|
|
67
|
-
* Reflects the disabled state of the checkbox.
|
|
68
|
-
*/
|
|
69
|
-
disabled: _angular_core.InputSignal<boolean>;
|
|
70
|
-
/**
|
|
71
|
-
* Reflects the required state of the checkbox.
|
|
72
|
-
*/
|
|
73
|
-
required: _angular_core.InputSignal<boolean>;
|
|
74
|
-
/**
|
|
75
|
-
* Text label associated with the checkbox.
|
|
76
|
-
*/
|
|
77
|
-
label: _angular_core.InputSignal<string>;
|
|
78
|
-
/**
|
|
79
|
-
* Specifies the tabindex of the checkbox.
|
|
80
|
-
*/
|
|
81
|
-
ontabindex: _angular_core.InputSignal<number>;
|
|
82
|
-
/**
|
|
83
|
-
* Position of the label relative to the checkbox.
|
|
84
|
-
*/
|
|
85
|
-
position: _angular_core.InputSignal<CheckboxPosition>;
|
|
86
|
-
/**
|
|
87
|
-
* Value associated with the checkbox.
|
|
88
|
-
*/
|
|
89
|
-
value: _angular_core.ModelSignal<any>;
|
|
90
|
-
/**
|
|
91
|
-
* Name attribute of the checkbox.
|
|
92
|
-
*/
|
|
93
|
-
name: _angular_core.InputSignal<string>;
|
|
94
|
-
/**
|
|
95
|
-
* Size of the checkbox.
|
|
96
|
-
*/
|
|
97
|
-
size: _angular_core.InputSignal<CheckboxSize>;
|
|
98
|
-
/**
|
|
99
|
-
* Background theme of the checkbox.
|
|
100
|
-
*/
|
|
101
|
-
background: _angular_core.InputSignal<CheckboxBackground>;
|
|
102
|
-
/**
|
|
103
|
-
* Icon color theme of the checkbox.
|
|
104
|
-
*/
|
|
105
|
-
iconColor: _angular_core.InputSignal<CheckboxIconColor>;
|
|
106
|
-
/**
|
|
107
|
-
* Color theme of the checkbox.
|
|
108
|
-
*/
|
|
109
|
-
color: _angular_core.InputSignal<string>;
|
|
110
|
-
/**
|
|
111
|
-
* Controls how the label text should handle overflow.
|
|
112
|
-
* - `'none'`: No overflow handling; the label displays normally.
|
|
113
|
-
* - `'single'`: The label will be truncated with an ellipsis if it overflows a single line.
|
|
114
|
-
* - `string`: Custom overflow handling mode.
|
|
115
|
-
*
|
|
116
|
-
* @default 'none'
|
|
117
|
-
*/
|
|
118
|
-
overflowLabel: _angular_core.InputSignal<TextOverflow>;
|
|
119
|
-
/**
|
|
120
|
-
* Controls how the helper text should handle overflow.
|
|
121
|
-
* - `'none'`: No overflow handling; the label displays normally.
|
|
122
|
-
* - `'single'`: The label will be truncated with an ellipsis if it overflows a single line.
|
|
123
|
-
* - `string`: Custom overflow handling mode.
|
|
124
|
-
*
|
|
125
|
-
* @default 'none'
|
|
126
|
-
*/
|
|
127
|
-
overflowHelper: _angular_core.InputSignal<TextOverflow>;
|
|
128
|
-
/**
|
|
129
|
-
* Change event emitter
|
|
130
|
-
*/
|
|
131
|
-
onchange: _angular_core.OutputEmitterRef<CheckboxChangeEvent>;
|
|
132
|
-
private onChange;
|
|
133
|
-
private onTouched;
|
|
134
|
-
styles: _angular_core.Signal<{
|
|
135
|
-
'--font-family': string;
|
|
136
|
-
'--size': string;
|
|
137
|
-
'--gap': string;
|
|
138
|
-
}>;
|
|
139
|
-
private colorConfig;
|
|
140
|
-
iconName: _angular_core.Signal<"minus" | "check">;
|
|
141
|
-
iconSizeValue: _angular_core.Signal<20 | "micro">;
|
|
142
|
-
iconColorValue: _angular_core.Signal<string>;
|
|
143
|
-
labelSize: _angular_core.Signal<"medium" | "xsmall">;
|
|
144
|
-
labelClasses: _angular_core.Signal<string>;
|
|
145
|
-
labelColor: _angular_core.Signal<string>;
|
|
146
|
-
messageClasses: _angular_core.Signal<string>;
|
|
147
|
-
messageColor: _angular_core.Signal<string>;
|
|
148
|
-
writeValue(value: boolean): void;
|
|
149
|
-
registerOnChange(fn: (value: boolean) => void): void;
|
|
150
|
-
registerOnTouched(fn: () => void): void;
|
|
151
|
-
private isDarkBackground;
|
|
152
|
-
private isDarkIconColor;
|
|
153
|
-
containerClasses: _angular_core.Signal<string>;
|
|
154
|
-
handleClick(): void;
|
|
155
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CuraCheckboxComponent, never>;
|
|
156
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CuraCheckboxComponent, "cura-checkbox", never, { "disableCheckIcon": { "alias": "disableCheckIcon"; "required": false; "isSignal": true; }; "checkedInput": { "alias": "checked"; "required": false; "isSignal": true; }; "indeterminate": { "alias": "indeterminate"; "required": false; "isSignal": true; }; "status": { "alias": "status"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "ontabindex": { "alias": "ontabindex"; "required": false; "isSignal": true; }; "position": { "alias": "position"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "background": { "alias": "background"; "required": false; "isSignal": true; }; "iconColor": { "alias": "iconColor"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "overflowLabel": { "alias": "overflowLabel"; "required": false; "isSignal": true; }; "overflowHelper": { "alias": "overflowHelper"; "required": false; "isSignal": true; }; }, { "checkedChange": "checkedChange"; "indeterminate": "indeterminateChange"; "value": "valueChange"; "onchange": "onchange"; }, never, ["*"], true, never>;
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
export { CuraCheckboxComponent };
|
|
160
|
-
export type { CheckboxBackground, CheckboxChangeEvent, CheckboxIconColor, CheckboxPosition, CheckboxSize, CheckboxStatus };
|