@rededor/site-front-end-lib 20.0.41 → 20.1.0-alpha.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/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,236 +0,0 @@
|
|
|
1
|
-
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { AfterViewInit, OnDestroy, ElementRef } from '@angular/core';
|
|
3
|
-
import { ControlValueAccessor } from '@angular/forms';
|
|
4
|
-
import { InputMask, FactoryArg } from 'imask';
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* Display mode options for the input text component
|
|
8
|
-
*/
|
|
9
|
-
type InputTextMode = 'default' | 'transparent';
|
|
10
|
-
/**
|
|
11
|
-
* Size options for the input text component
|
|
12
|
-
*/
|
|
13
|
-
type InputTextSize = 'small' | 'medium' | 'large';
|
|
14
|
-
/**
|
|
15
|
-
* Status options for the input text component
|
|
16
|
-
*/
|
|
17
|
-
type InputTextStatus = 'success' | 'error' | 'default';
|
|
18
|
-
/**
|
|
19
|
-
* Input type options for the input text component
|
|
20
|
-
*/
|
|
21
|
-
type InputTextType = 'text' | 'number' | 'email' | 'password' | 'tel' | 'url';
|
|
22
|
-
/**
|
|
23
|
-
* Input mode options for the input text component
|
|
24
|
-
*/
|
|
25
|
-
type InputTextInputMode = 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url';
|
|
26
|
-
/**
|
|
27
|
-
* Mask preset options for input formatting
|
|
28
|
-
*/
|
|
29
|
-
type MaskPreset = 'cpf' | 'cnpj' | 'cpf_cnpj' | 'phone' | 'date' | 'dateRange';
|
|
30
|
-
/**
|
|
31
|
-
* Event payload emitted when the input value changes
|
|
32
|
-
*/
|
|
33
|
-
interface InputTextValueChangeEvent {
|
|
34
|
-
/**
|
|
35
|
-
* The new value of the input
|
|
36
|
-
*/
|
|
37
|
-
value: string | number;
|
|
38
|
-
}
|
|
39
|
-
/**
|
|
40
|
-
* Event payload emitted when the clear button is clicked
|
|
41
|
-
*/
|
|
42
|
-
interface InputTextClearEvent {
|
|
43
|
-
/**
|
|
44
|
-
* The value that was cleared (usually empty string)
|
|
45
|
-
*/
|
|
46
|
-
value: string | number;
|
|
47
|
-
}
|
|
48
|
-
/**
|
|
49
|
-
* Mask options map for IMask library
|
|
50
|
-
*/
|
|
51
|
-
interface MaskOptionsMap {
|
|
52
|
-
[key: string]: any;
|
|
53
|
-
}
|
|
54
|
-
/**
|
|
55
|
-
* Mask configuration for different presets
|
|
56
|
-
*/
|
|
57
|
-
declare const maskOptions: MaskOptionsMap;
|
|
58
|
-
|
|
59
|
-
declare class CuraInputTextComponent implements ControlValueAccessor, AfterViewInit, OnDestroy {
|
|
60
|
-
private curaApi;
|
|
61
|
-
private elementRef;
|
|
62
|
-
private platformId;
|
|
63
|
-
/**
|
|
64
|
-
* Mode of the input: 'default' or 'transparent'
|
|
65
|
-
*/
|
|
66
|
-
mode: _angular_core.InputSignal<InputTextMode>;
|
|
67
|
-
/**
|
|
68
|
-
* Status of the input component
|
|
69
|
-
*/
|
|
70
|
-
status: _angular_core.InputSignal<InputTextStatus>;
|
|
71
|
-
/**
|
|
72
|
-
* Size of the input component
|
|
73
|
-
*/
|
|
74
|
-
size: _angular_core.InputSignal<InputTextSize>;
|
|
75
|
-
/**
|
|
76
|
-
* Type of the input
|
|
77
|
-
*/
|
|
78
|
-
type: _angular_core.InputSignal<InputTextType>;
|
|
79
|
-
/**
|
|
80
|
-
* Input mode for mobile keyboards
|
|
81
|
-
*/
|
|
82
|
-
inputMode: _angular_core.InputSignal<InputTextInputMode>;
|
|
83
|
-
/**
|
|
84
|
-
* Label text for the input
|
|
85
|
-
*/
|
|
86
|
-
label: _angular_core.InputSignal<string>;
|
|
87
|
-
/**
|
|
88
|
-
* Name attribute for the input
|
|
89
|
-
*/
|
|
90
|
-
name: _angular_core.InputSignal<string>;
|
|
91
|
-
/**
|
|
92
|
-
* Placeholder text for the input
|
|
93
|
-
*/
|
|
94
|
-
placeholder: _angular_core.InputSignal<string | null>;
|
|
95
|
-
/**
|
|
96
|
-
* Current value of the input
|
|
97
|
-
*/
|
|
98
|
-
value: _angular_core.ModelSignal<any>;
|
|
99
|
-
/**
|
|
100
|
-
* Icon name to display
|
|
101
|
-
*/
|
|
102
|
-
iconName: _angular_core.InputSignal<string>;
|
|
103
|
-
/**
|
|
104
|
-
* Helper text displayed below the input
|
|
105
|
-
*/
|
|
106
|
-
/**
|
|
107
|
-
* Whether the input is disabled
|
|
108
|
-
*/
|
|
109
|
-
disabled: _angular_core.InputSignal<boolean>;
|
|
110
|
-
/**
|
|
111
|
-
* Whether the input is required
|
|
112
|
-
*/
|
|
113
|
-
required: _angular_core.InputSignal<boolean>;
|
|
114
|
-
/**
|
|
115
|
-
* Mask preset for input formatting
|
|
116
|
-
*/
|
|
117
|
-
maskPreset: _angular_core.InputSignal<MaskPreset | undefined>;
|
|
118
|
-
/**
|
|
119
|
-
* Controls whether the selection functionality is active
|
|
120
|
-
*/
|
|
121
|
-
enableSelectionMode: _angular_core.InputSignal<boolean>;
|
|
122
|
-
/**
|
|
123
|
-
* Regular expression for custom input masking
|
|
124
|
-
*/
|
|
125
|
-
maskRegex: _angular_core.InputSignal<string | null>;
|
|
126
|
-
/**
|
|
127
|
-
* Advanced mask object for IMask library
|
|
128
|
-
*/
|
|
129
|
-
maskAdvanced: _angular_core.InputSignal<any>;
|
|
130
|
-
/**
|
|
131
|
-
* Maximum length of the input value
|
|
132
|
-
*/
|
|
133
|
-
maxlength: _angular_core.InputSignal<number | undefined>;
|
|
134
|
-
/**
|
|
135
|
-
* Whether the input is read-only
|
|
136
|
-
*/
|
|
137
|
-
readOnly: _angular_core.InputSignal<boolean>;
|
|
138
|
-
/**
|
|
139
|
-
* Whether the input is in loading state
|
|
140
|
-
*/
|
|
141
|
-
isLoading: _angular_core.InputSignal<boolean>;
|
|
142
|
-
/**
|
|
143
|
-
* Whether to show the clear button
|
|
144
|
-
*/
|
|
145
|
-
clearIcon: _angular_core.InputSignal<boolean>;
|
|
146
|
-
/**
|
|
147
|
-
* Removes the error icon when necessary
|
|
148
|
-
*/
|
|
149
|
-
hideErrorIcon: _angular_core.InputSignal<boolean>;
|
|
150
|
-
/**
|
|
151
|
-
* Autocomplete attribute for the input
|
|
152
|
-
*/
|
|
153
|
-
autocomplete: _angular_core.InputSignal<string>;
|
|
154
|
-
/**
|
|
155
|
-
* Event emitted when the value changes
|
|
156
|
-
*/
|
|
157
|
-
valueChange: _angular_core.OutputEmitterRef<InputTextValueChangeEvent>;
|
|
158
|
-
/**
|
|
159
|
-
* Event emitted when the clear button is clicked
|
|
160
|
-
*/
|
|
161
|
-
inputClear: _angular_core.OutputEmitterRef<InputTextClearEvent>;
|
|
162
|
-
private isHovered;
|
|
163
|
-
private isFocused;
|
|
164
|
-
private onChange;
|
|
165
|
-
private onTouched;
|
|
166
|
-
inputElement: _angular_core.Signal<ElementRef<HTMLInputElement> | undefined>;
|
|
167
|
-
/**
|
|
168
|
-
* Instance of InputMask is returned when IMask constructor is called.
|
|
169
|
-
*/
|
|
170
|
-
maskedInput?: InputMask<FactoryArg>;
|
|
171
|
-
private _isWriting;
|
|
172
|
-
private inputRef?;
|
|
173
|
-
private checkMobile;
|
|
174
|
-
private checkIOS;
|
|
175
|
-
private fakeInputIOSHack;
|
|
176
|
-
styles: _angular_core.Signal<{
|
|
177
|
-
[key: string]: string;
|
|
178
|
-
}>;
|
|
179
|
-
constructor();
|
|
180
|
-
ngAfterViewInit(): void;
|
|
181
|
-
ngOnDestroy(): void;
|
|
182
|
-
writeValue(value: string | number): void;
|
|
183
|
-
registerOnChange(fn: (value: string | number) => void): void;
|
|
184
|
-
registerOnTouched(fn: () => void): void;
|
|
185
|
-
setFocus(): Promise<void>;
|
|
186
|
-
classes: _angular_core.Signal<{
|
|
187
|
-
[x: string]: boolean;
|
|
188
|
-
disabled: boolean;
|
|
189
|
-
isLoading: boolean;
|
|
190
|
-
isFocused: boolean;
|
|
191
|
-
isHovered: boolean;
|
|
192
|
-
transparent: boolean;
|
|
193
|
-
selection: boolean;
|
|
194
|
-
}>;
|
|
195
|
-
labelColor: _angular_core.Signal<"neutral-medium" | "neutral-dark" | "neutral-black">;
|
|
196
|
-
iconConfig: _angular_core.Signal<{
|
|
197
|
-
icon: null;
|
|
198
|
-
size: number;
|
|
199
|
-
} | {
|
|
200
|
-
icon: {
|
|
201
|
-
name: string;
|
|
202
|
-
color: string;
|
|
203
|
-
};
|
|
204
|
-
size: number;
|
|
205
|
-
}>;
|
|
206
|
-
helperText: _angular_core.Signal<{
|
|
207
|
-
size: string;
|
|
208
|
-
color: string;
|
|
209
|
-
}>;
|
|
210
|
-
shouldShowClearButton: _angular_core.Signal<boolean>;
|
|
211
|
-
handleMouseEnter(): void;
|
|
212
|
-
handleMouseLeave(): void;
|
|
213
|
-
handleInputFocus(): void;
|
|
214
|
-
handleInputBlur(): void;
|
|
215
|
-
handleInputChange(event: Event): void;
|
|
216
|
-
handleKeyDown(event: KeyboardEvent): void;
|
|
217
|
-
handleClearInput(): void;
|
|
218
|
-
private handleNumberInputChange;
|
|
219
|
-
private handleTextInputChange;
|
|
220
|
-
private handleBlockInvalidNumber;
|
|
221
|
-
private shouldDisplayMask;
|
|
222
|
-
private initializeMask;
|
|
223
|
-
initializePresetMask(): void;
|
|
224
|
-
initializeRegexMask(): void;
|
|
225
|
-
initializeAdvancedMask(): void;
|
|
226
|
-
private subscribeToMaskEvents;
|
|
227
|
-
private applyValueToMask;
|
|
228
|
-
private clearMaskValue;
|
|
229
|
-
private destroyMask;
|
|
230
|
-
private handleMaskUpdate;
|
|
231
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CuraInputTextComponent, never>;
|
|
232
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CuraInputTextComponent, "cura-input-text", never, { "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "status": { "alias": "status"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "inputMode": { "alias": "inputMode"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "iconName": { "alias": "iconName"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "maskPreset": { "alias": "maskPreset"; "required": false; "isSignal": true; }; "enableSelectionMode": { "alias": "enableSelectionMode"; "required": false; "isSignal": true; }; "maskRegex": { "alias": "maskRegex"; "required": false; "isSignal": true; }; "maskAdvanced": { "alias": "maskAdvanced"; "required": false; "isSignal": true; }; "maxlength": { "alias": "maxlength"; "required": false; "isSignal": true; }; "readOnly": { "alias": "readOnly"; "required": false; "isSignal": true; }; "isLoading": { "alias": "isLoading"; "required": false; "isSignal": true; }; "clearIcon": { "alias": "clearIcon"; "required": false; "isSignal": true; }; "hideErrorIcon": { "alias": "hideErrorIcon"; "required": false; "isSignal": true; }; "autocomplete": { "alias": "autocomplete"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "valueChange": "valueChange"; "inputClear": "inputClear"; }, never, ["*"], true, never>;
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
export { CuraInputTextComponent, maskOptions };
|
|
236
|
-
export type { InputTextClearEvent, InputTextInputMode, InputTextMode, InputTextSize, InputTextStatus, InputTextType, InputTextValueChangeEvent, MaskOptionsMap, MaskPreset };
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { LabelSize, LabelWeight, TextOverflow } from '@rededor/site-front-end-lib/cura/forms';
|
|
3
|
-
|
|
4
|
-
declare class CuraLabelComponent {
|
|
5
|
-
private curaApi;
|
|
6
|
-
/**
|
|
7
|
-
* Set size of body text.
|
|
8
|
-
* Values: medium (default) | large | small | xsmall.
|
|
9
|
-
*/
|
|
10
|
-
size: _angular_core.InputSignal<LabelSize>;
|
|
11
|
-
/**
|
|
12
|
-
* Label font weight. It is possible to use regular HTML tags like <b> or <strong> as well.
|
|
13
|
-
* Values: regular (default) | bold.
|
|
14
|
-
*/
|
|
15
|
-
weight: _angular_core.InputSignal<LabelWeight>;
|
|
16
|
-
/**
|
|
17
|
-
* Apply design system color to interactive elements like <a> and <abbr> inside the text.
|
|
18
|
-
* Values: Color from design system scheme. Default to 'accent-dark'.
|
|
19
|
-
*/
|
|
20
|
-
spotColor: _angular_core.InputSignal<string>;
|
|
21
|
-
/**
|
|
22
|
-
* Text color.
|
|
23
|
-
* Values: Color from design system scheme. Default to the font color from the theme.
|
|
24
|
-
*/
|
|
25
|
-
color: _angular_core.InputSignal<string>;
|
|
26
|
-
/**
|
|
27
|
-
* CSS margin-block property values.
|
|
28
|
-
* Default to '0'
|
|
29
|
-
*/
|
|
30
|
-
marginBlock: _angular_core.InputSignal<string>;
|
|
31
|
-
/**
|
|
32
|
-
* CSS line-height property values.
|
|
33
|
-
* Default to '125%'
|
|
34
|
-
*/
|
|
35
|
-
lineHeight: _angular_core.InputSignal<string>;
|
|
36
|
-
/**
|
|
37
|
-
* Apply text-overflow ellipsis definitions.
|
|
38
|
-
* Default to 'none'
|
|
39
|
-
*/
|
|
40
|
-
textOverflow: _angular_core.InputSignal<TextOverflow>;
|
|
41
|
-
bodyColor: _angular_core.Signal<string>;
|
|
42
|
-
containerClasses: _angular_core.Signal<string>;
|
|
43
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CuraLabelComponent, never>;
|
|
44
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CuraLabelComponent, "cura-label", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; "weight": { "alias": "weight"; "required": false; "isSignal": true; }; "spotColor": { "alias": "spotColor"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "marginBlock": { "alias": "marginBlock"; "required": false; "isSignal": true; }; "lineHeight": { "alias": "lineHeight"; "required": false; "isSignal": true; }; "textOverflow": { "alias": "textOverflow"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
export { CuraLabelComponent };
|
|
@@ -1,148 +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
|
-
* Radio size types
|
|
7
|
-
*/
|
|
8
|
-
type RadioSize = 'small' | 'medium' | 'large';
|
|
9
|
-
/**
|
|
10
|
-
* Radio position types
|
|
11
|
-
*/
|
|
12
|
-
type RadioPosition = 'left' | 'right';
|
|
13
|
-
/**
|
|
14
|
-
* Radio background types
|
|
15
|
-
*/
|
|
16
|
-
type RadioBackground = 'dark' | 'light';
|
|
17
|
-
/**
|
|
18
|
-
* Radio status types
|
|
19
|
-
*/
|
|
20
|
-
type RadioStatus = 'error' | 'success' | 'default';
|
|
21
|
-
/**
|
|
22
|
-
* Radio configuration interface
|
|
23
|
-
*/
|
|
24
|
-
interface RadioConfig {
|
|
25
|
-
checked?: boolean;
|
|
26
|
-
status?: RadioStatus;
|
|
27
|
-
disabled?: boolean;
|
|
28
|
-
required?: boolean;
|
|
29
|
-
label?: string;
|
|
30
|
-
tabindex?: number;
|
|
31
|
-
position?: RadioPosition;
|
|
32
|
-
value?: string;
|
|
33
|
-
name?: string;
|
|
34
|
-
background?: RadioBackground;
|
|
35
|
-
size?: RadioSize;
|
|
36
|
-
color?: string;
|
|
37
|
-
isSquare?: boolean;
|
|
38
|
-
}
|
|
39
|
-
/**
|
|
40
|
-
* Radio change event interface
|
|
41
|
-
*/
|
|
42
|
-
interface RadioChangeEvent {
|
|
43
|
-
value: string;
|
|
44
|
-
checked: boolean;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
declare class CuraRadioComponent implements ControlValueAccessor {
|
|
48
|
-
private curaApi;
|
|
49
|
-
/**
|
|
50
|
-
* Reflects the checked state of the radio button.
|
|
51
|
-
*/
|
|
52
|
-
checked: _angular_core.ModelSignal<boolean>;
|
|
53
|
-
/**
|
|
54
|
-
* Status of the radio button.
|
|
55
|
-
*/
|
|
56
|
-
status: _angular_core.InputSignal<RadioStatus>;
|
|
57
|
-
/**
|
|
58
|
-
* Reflects the disabled state of the radio button.
|
|
59
|
-
*/
|
|
60
|
-
disabled: _angular_core.InputSignal<boolean>;
|
|
61
|
-
/**
|
|
62
|
-
* Reflects the required state of the radio button.
|
|
63
|
-
*/
|
|
64
|
-
required: _angular_core.InputSignal<boolean>;
|
|
65
|
-
/**
|
|
66
|
-
* Text label associated with the radio button.
|
|
67
|
-
*/
|
|
68
|
-
label: _angular_core.InputSignal<string>;
|
|
69
|
-
/**
|
|
70
|
-
* Specifies the tabindex of the radio button.
|
|
71
|
-
*/
|
|
72
|
-
ontabindex: _angular_core.InputSignal<number>;
|
|
73
|
-
/**
|
|
74
|
-
* Position of the label relative to the radio button.
|
|
75
|
-
*/
|
|
76
|
-
position: _angular_core.InputSignal<RadioPosition>;
|
|
77
|
-
/**
|
|
78
|
-
* Value associated with the radio button.
|
|
79
|
-
*/
|
|
80
|
-
value: _angular_core.ModelSignal<string>;
|
|
81
|
-
/**
|
|
82
|
-
* Name attribute of the radio button.
|
|
83
|
-
*/
|
|
84
|
-
name: _angular_core.InputSignal<string>;
|
|
85
|
-
/**
|
|
86
|
-
* Background theme of the radio button.
|
|
87
|
-
*/
|
|
88
|
-
background: _angular_core.InputSignal<RadioBackground>;
|
|
89
|
-
/**
|
|
90
|
-
* Size of the radio button.
|
|
91
|
-
*/
|
|
92
|
-
size: _angular_core.InputSignal<RadioSize>;
|
|
93
|
-
/**
|
|
94
|
-
* Color theme of the radio button.
|
|
95
|
-
*/
|
|
96
|
-
color: _angular_core.InputSignal<string>;
|
|
97
|
-
/**
|
|
98
|
-
* When true, renders the radio button as a square instead of a circle.
|
|
99
|
-
*/
|
|
100
|
-
isSquare: _angular_core.InputSignal<boolean>;
|
|
101
|
-
/**
|
|
102
|
-
* Controls how the label text should handle overflow.
|
|
103
|
-
* - `'none'`: No overflow handling; the label displays normally.
|
|
104
|
-
* - `'single'`: The label will be truncated with an ellipsis if it overflows a single line.
|
|
105
|
-
* - `string`: Custom overflow handling mode.
|
|
106
|
-
*
|
|
107
|
-
* @default 'none'
|
|
108
|
-
*/
|
|
109
|
-
overflowLabel: _angular_core.InputSignal<TextOverflow>;
|
|
110
|
-
/**
|
|
111
|
-
* Controls how the helper 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
|
-
overflowHelper: _angular_core.InputSignal<TextOverflow>;
|
|
119
|
-
/**
|
|
120
|
-
* Change event emitter
|
|
121
|
-
*/
|
|
122
|
-
onchange: _angular_core.OutputEmitterRef<RadioChangeEvent>;
|
|
123
|
-
private onChange;
|
|
124
|
-
private onTouched;
|
|
125
|
-
private sizes;
|
|
126
|
-
private colorConfig;
|
|
127
|
-
labelColor: _angular_core.Signal<string>;
|
|
128
|
-
messageColor: _angular_core.Signal<string>;
|
|
129
|
-
labelSize: _angular_core.Signal<"medium" | "xsmall">;
|
|
130
|
-
labelClasses: _angular_core.Signal<string>;
|
|
131
|
-
messageClasses: _angular_core.Signal<string>;
|
|
132
|
-
containerClasses: _angular_core.Signal<string>;
|
|
133
|
-
styles: _angular_core.Signal<{
|
|
134
|
-
'--size-after': string;
|
|
135
|
-
'--size': string;
|
|
136
|
-
'--gap': string;
|
|
137
|
-
}>;
|
|
138
|
-
writeValue(value: string): void;
|
|
139
|
-
registerOnChange(fn: (value: string) => void): void;
|
|
140
|
-
registerOnTouched(fn: () => void): void;
|
|
141
|
-
private isDarkBackground;
|
|
142
|
-
handleClick(): void;
|
|
143
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CuraRadioComponent, never>;
|
|
144
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CuraRadioComponent, "cura-radio", never, { "checked": { "alias": "checked"; "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; }; "background": { "alias": "background"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "isSquare": { "alias": "isSquare"; "required": false; "isSignal": true; }; "overflowLabel": { "alias": "overflowLabel"; "required": false; "isSignal": true; }; "overflowHelper": { "alias": "overflowHelper"; "required": false; "isSignal": true; }; }, { "checked": "checkedChange"; "value": "valueChange"; "onchange": "onchange"; }, never, ["*"], true, never>;
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
export { CuraRadioComponent };
|
|
148
|
-
export type { RadioBackground, RadioChangeEvent, RadioConfig, RadioPosition, RadioSize, RadioStatus };
|
|
@@ -1,154 +0,0 @@
|
|
|
1
|
-
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { AfterViewInit, OnDestroy, ElementRef } from '@angular/core';
|
|
3
|
-
import { ControlValueAccessor } from '@angular/forms';
|
|
4
|
-
import { CuraSelectOptionComponent } from '@rededor/site-front-end-lib/cura/forms/cura-select-option';
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* Display mode options for the select component
|
|
8
|
-
*/
|
|
9
|
-
type SelectMode = 'default' | 'transparent';
|
|
10
|
-
/**
|
|
11
|
-
* Size options for the select component
|
|
12
|
-
*/
|
|
13
|
-
type SelectSize = 'small' | 'medium' | 'large';
|
|
14
|
-
/**
|
|
15
|
-
* Status options for the select component
|
|
16
|
-
*/
|
|
17
|
-
type SelectStatus = 'success' | 'error' | 'default';
|
|
18
|
-
/**
|
|
19
|
-
* Event payload emitted when an option is selected
|
|
20
|
-
*/
|
|
21
|
-
interface SelectSelectedEvent {
|
|
22
|
-
/**
|
|
23
|
-
* The value of the selected option
|
|
24
|
-
*/
|
|
25
|
-
value: string;
|
|
26
|
-
}
|
|
27
|
-
/**
|
|
28
|
-
* Event payload emitted when search term changes
|
|
29
|
-
*/
|
|
30
|
-
interface SelectSearchEvent {
|
|
31
|
-
/**
|
|
32
|
-
* The search term entered by the user
|
|
33
|
-
*/
|
|
34
|
-
searchTerm: string;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
declare class CuraSelectComponent implements ControlValueAccessor, AfterViewInit, OnDestroy {
|
|
38
|
-
private curaApi;
|
|
39
|
-
private elementRef;
|
|
40
|
-
private platformId;
|
|
41
|
-
name: _angular_core.InputSignal<string>;
|
|
42
|
-
/**
|
|
43
|
-
* The label text for the select component
|
|
44
|
-
*/
|
|
45
|
-
label: _angular_core.InputSignal<string>;
|
|
46
|
-
/**
|
|
47
|
-
* Placeholder text for the input field
|
|
48
|
-
*/
|
|
49
|
-
placeholder: _angular_core.InputSignal<string>;
|
|
50
|
-
/**
|
|
51
|
-
* Current value of the select component
|
|
52
|
-
*/
|
|
53
|
-
value: _angular_core.ModelSignal<any>;
|
|
54
|
-
/**
|
|
55
|
-
* Display mode of the select component
|
|
56
|
-
*/
|
|
57
|
-
mode: _angular_core.InputSignal<SelectMode>;
|
|
58
|
-
/**
|
|
59
|
-
* Size of the select component
|
|
60
|
-
*/
|
|
61
|
-
size: _angular_core.InputSignal<SelectSize>;
|
|
62
|
-
/**
|
|
63
|
-
* Icon name for the select component
|
|
64
|
-
*/
|
|
65
|
-
iconName: _angular_core.InputSignal<string | undefined>;
|
|
66
|
-
/**
|
|
67
|
-
* Status of the select component
|
|
68
|
-
*/
|
|
69
|
-
status: _angular_core.InputSignal<SelectStatus>;
|
|
70
|
-
/**
|
|
71
|
-
* Whether the select component is disabled
|
|
72
|
-
*/
|
|
73
|
-
disabled: _angular_core.InputSignal<boolean>;
|
|
74
|
-
/**
|
|
75
|
-
* Whether the select component is required
|
|
76
|
-
*/
|
|
77
|
-
required: _angular_core.InputSignal<boolean>;
|
|
78
|
-
/**
|
|
79
|
-
* Enable/Disable search at options by term
|
|
80
|
-
*/
|
|
81
|
-
searchBehavior: _angular_core.InputSignal<boolean>;
|
|
82
|
-
/**
|
|
83
|
-
* The search will be sensitive to accents
|
|
84
|
-
*/
|
|
85
|
-
caseSensitive: _angular_core.InputSignal<boolean>;
|
|
86
|
-
/**
|
|
87
|
-
* CSS max-height property for dropdown item.
|
|
88
|
-
* Can also be used by css property --max-height.
|
|
89
|
-
* Default: 285px
|
|
90
|
-
*/
|
|
91
|
-
maxHeight: _angular_core.InputSignal<string>;
|
|
92
|
-
/**
|
|
93
|
-
* Event emitted when an option is selected
|
|
94
|
-
*/
|
|
95
|
-
selected: _angular_core.OutputEmitterRef<SelectSelectedEvent>;
|
|
96
|
-
/**
|
|
97
|
-
* Event emitted when search term changes
|
|
98
|
-
*/
|
|
99
|
-
searchTermInput: _angular_core.OutputEmitterRef<SelectSearchEvent>;
|
|
100
|
-
isHovered: _angular_core.WritableSignal<boolean>;
|
|
101
|
-
isFocused: _angular_core.WritableSignal<boolean>;
|
|
102
|
-
isOpen: _angular_core.WritableSignal<boolean>;
|
|
103
|
-
activeIndex: _angular_core.WritableSignal<number>;
|
|
104
|
-
textInput: _angular_core.WritableSignal<any>;
|
|
105
|
-
private componentId;
|
|
106
|
-
private onChange;
|
|
107
|
-
private onTouched;
|
|
108
|
-
inputElement: _angular_core.Signal<ElementRef<HTMLInputElement> | undefined>;
|
|
109
|
-
options: _angular_core.Signal<readonly CuraSelectOptionComponent[]>;
|
|
110
|
-
currentIconName: _angular_core.Signal<string>;
|
|
111
|
-
private colorConfig;
|
|
112
|
-
containerClasses: _angular_core.Signal<{
|
|
113
|
-
[x: string]: boolean;
|
|
114
|
-
wrapper: boolean;
|
|
115
|
-
label: boolean;
|
|
116
|
-
disabled: boolean;
|
|
117
|
-
transparent: boolean;
|
|
118
|
-
}>;
|
|
119
|
-
labelColor: _angular_core.Signal<string>;
|
|
120
|
-
textColor: _angular_core.Signal<string>;
|
|
121
|
-
iconColor: _angular_core.Signal<string>;
|
|
122
|
-
listboxId: _angular_core.Signal<string>;
|
|
123
|
-
activeOptionId: _angular_core.Signal<string>;
|
|
124
|
-
styles: _angular_core.Signal<{
|
|
125
|
-
[key: string]: string;
|
|
126
|
-
}>;
|
|
127
|
-
constructor();
|
|
128
|
-
ngAfterViewInit(): void;
|
|
129
|
-
ngOnDestroy(): void;
|
|
130
|
-
writeValue(value: string): void;
|
|
131
|
-
registerOnChange(fn: (value: string) => void): void;
|
|
132
|
-
registerOnTouched(fn: () => void): void;
|
|
133
|
-
private getTextColor;
|
|
134
|
-
private initializeOptions;
|
|
135
|
-
private selectOption;
|
|
136
|
-
private removeAccents;
|
|
137
|
-
private filterOptions;
|
|
138
|
-
handleKeyNavigation(event: KeyboardEvent): void;
|
|
139
|
-
private updateActiveIndex;
|
|
140
|
-
handleInputChange(event: Event): void;
|
|
141
|
-
handleClick(event: MouseEvent): void;
|
|
142
|
-
private updateOptionHighlights;
|
|
143
|
-
/**
|
|
144
|
-
* Controla o clique fora do componente
|
|
145
|
-
*/
|
|
146
|
-
private addOutsideClickListener;
|
|
147
|
-
private removeOutsideClickListener;
|
|
148
|
-
private handleClickOutside;
|
|
149
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CuraSelectComponent, never>;
|
|
150
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CuraSelectComponent, "cura-select", never, { "name": { "alias": "name"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "iconName": { "alias": "iconName"; "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; }; "searchBehavior": { "alias": "searchBehavior"; "required": false; "isSignal": true; }; "caseSensitive": { "alias": "caseSensitive"; "required": false; "isSignal": true; }; "maxHeight": { "alias": "maxHeight"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "selected": "selected"; "searchTermInput": "searchTermInput"; }, ["options"], ["*", "cura-select-option"], true, never>;
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
export { CuraSelectComponent };
|
|
154
|
-
export type { SelectMode, SelectSearchEvent, SelectSelectedEvent, SelectSize, SelectStatus };
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { ElementRef } from '@angular/core';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* Size options for the select option component
|
|
6
|
-
*/
|
|
7
|
-
type SelectOptionSize = 'xsmall' | 'small' | 'medium' | 'large';
|
|
8
|
-
/**
|
|
9
|
-
* Interface for size mapping configuration
|
|
10
|
-
*/
|
|
11
|
-
interface SelectOptionSizeConfig {
|
|
12
|
-
label: 'xsmall' | 'small' | 'medium';
|
|
13
|
-
icon: number | string;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
declare class CuraSelectOptionComponent {
|
|
17
|
-
private curaApi;
|
|
18
|
-
elementRef: ElementRef<any>;
|
|
19
|
-
/**
|
|
20
|
-
* Value associated with the select option
|
|
21
|
-
*/
|
|
22
|
-
value: _angular_core.InputSignal<any>;
|
|
23
|
-
/**
|
|
24
|
-
* Whether the option is selected
|
|
25
|
-
*/
|
|
26
|
-
selected: _angular_core.ModelSignal<boolean>;
|
|
27
|
-
/**
|
|
28
|
-
* Whether the option is active (highlighted)
|
|
29
|
-
*/
|
|
30
|
-
active: _angular_core.ModelSignal<boolean>;
|
|
31
|
-
/**
|
|
32
|
-
* Size of the select option
|
|
33
|
-
*/
|
|
34
|
-
size: _angular_core.ModelSignal<SelectOptionSize>;
|
|
35
|
-
/**
|
|
36
|
-
* Whether the option is visible (for search filtering)
|
|
37
|
-
*/
|
|
38
|
-
visible: _angular_core.ModelSignal<boolean>;
|
|
39
|
-
/**
|
|
40
|
-
* Unique ID for the option (for accessibility)
|
|
41
|
-
*/
|
|
42
|
-
private componentId;
|
|
43
|
-
optionId: _angular_core.Signal<string>;
|
|
44
|
-
internalSize: _angular_core.Signal<SelectOptionSizeConfig>;
|
|
45
|
-
styles: _angular_core.Signal<{
|
|
46
|
-
[key: string]: string;
|
|
47
|
-
}>;
|
|
48
|
-
classes: _angular_core.Signal<string>;
|
|
49
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CuraSelectOptionComponent, never>;
|
|
50
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CuraSelectOptionComponent, "cura-select-option", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "selected": { "alias": "selected"; "required": false; "isSignal": true; }; "active": { "alias": "active"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "visible": { "alias": "visible"; "required": false; "isSignal": true; }; }, { "selected": "selectedChange"; "active": "activeChange"; "size": "sizeChange"; "visible": "visibleChange"; }, never, ["*"], true, never>;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
export { CuraSelectOptionComponent };
|
|
54
|
-
export type { SelectOptionSize, SelectOptionSizeConfig };
|