@tectra-ng/ui 0.0.0-stage → 0.1.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/LICENSE +21 -0
- package/README.md +26 -2
- package/amount/README.md +28 -0
- package/autocomplete/README.md +82 -0
- package/avatar/README.md +43 -0
- package/badge/README.md +19 -0
- package/button/README.md +46 -0
- package/button-group/README.md +8 -0
- package/card/README.md +30 -0
- package/cascade-select/README.md +49 -0
- package/checkbox/README.md +64 -0
- package/chip/README.md +38 -0
- package/chips-input/README.md +47 -0
- package/color-picker/README.md +43 -0
- package/confirm/README.md +46 -0
- package/country/README.md +23 -0
- package/country-select/README.md +39 -0
- package/dialog/README.md +84 -0
- package/divider/README.md +24 -0
- package/drawer/README.md +54 -0
- package/email-suggestion/README.md +20 -0
- package/fesm2022/tectra-ng-ui-amount.mjs +415 -0
- package/fesm2022/tectra-ng-ui-amount.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-autocomplete.mjs +730 -0
- package/fesm2022/tectra-ng-ui-autocomplete.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-avatar.mjs +670 -0
- package/fesm2022/tectra-ng-ui-avatar.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-badge.mjs +191 -0
- package/fesm2022/tectra-ng-ui-badge.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-button-group.mjs +50 -0
- package/fesm2022/tectra-ng-ui-button-group.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-button.mjs +725 -0
- package/fesm2022/tectra-ng-ui-button.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-card.mjs +210 -0
- package/fesm2022/tectra-ng-ui-card.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-cascade-select.mjs +887 -0
- package/fesm2022/tectra-ng-ui-cascade-select.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-checkbox.mjs +1150 -0
- package/fesm2022/tectra-ng-ui-checkbox.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-chip.mjs +344 -0
- package/fesm2022/tectra-ng-ui-chip.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-chips-input.mjs +649 -0
- package/fesm2022/tectra-ng-ui-chips-input.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-color-picker.mjs +828 -0
- package/fesm2022/tectra-ng-ui-color-picker.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-confirm.mjs +489 -0
- package/fesm2022/tectra-ng-ui-confirm.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-country-select.mjs +545 -0
- package/fesm2022/tectra-ng-ui-country-select.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-country.mjs +313 -0
- package/fesm2022/tectra-ng-ui-country.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-dialog.mjs +1539 -0
- package/fesm2022/tectra-ng-ui-dialog.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-divider.mjs +194 -0
- package/fesm2022/tectra-ng-ui-divider.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-drawer.mjs +540 -0
- package/fesm2022/tectra-ng-ui-drawer.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-email-suggestion.mjs +341 -0
- package/fesm2022/tectra-ng-ui-email-suggestion.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-field.mjs +492 -0
- package/fesm2022/tectra-ng-ui-field.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-fieldset.mjs +258 -0
- package/fesm2022/tectra-ng-ui-fieldset.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-highlight-text.mjs +246 -0
- package/fesm2022/tectra-ng-ui-highlight-text.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-icon-field.mjs +478 -0
- package/fesm2022/tectra-ng-ui-icon-field.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-input-group.mjs +113 -0
- package/fesm2022/tectra-ng-ui-input-group.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-input-mask.mjs +413 -0
- package/fesm2022/tectra-ng-ui-input-mask.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-input-number.mjs +1045 -0
- package/fesm2022/tectra-ng-ui-input-number.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-input-otp.mjs +553 -0
- package/fesm2022/tectra-ng-ui-input-otp.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-input.mjs +260 -0
- package/fesm2022/tectra-ng-ui-input.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-key-filter.mjs +185 -0
- package/fesm2022/tectra-ng-ui-key-filter.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-knob.mjs +630 -0
- package/fesm2022/tectra-ng-ui-knob.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-label.mjs +271 -0
- package/fesm2022/tectra-ng-ui-label.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-link.mjs +699 -0
- package/fesm2022/tectra-ng-ui-link.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-listbox.mjs +484 -0
- package/fesm2022/tectra-ng-ui-listbox.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-mention-textarea.mjs +717 -0
- package/fesm2022/tectra-ng-ui-mention-textarea.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-menu.mjs +1484 -0
- package/fesm2022/tectra-ng-ui-menu.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-message.mjs +975 -0
- package/fesm2022/tectra-ng-ui-message.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-multiselect.mjs +569 -0
- package/fesm2022/tectra-ng-ui-multiselect.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-overlay-badge.mjs +345 -0
- package/fesm2022/tectra-ng-ui-overlay-badge.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-paginator.mjs +849 -0
- package/fesm2022/tectra-ng-ui-paginator.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-panel.mjs +317 -0
- package/fesm2022/tectra-ng-ui-panel.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-password-generator.mjs +292 -0
- package/fesm2022/tectra-ng-ui-password-generator.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-password.mjs +871 -0
- package/fesm2022/tectra-ng-ui-password.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-pill.mjs +361 -0
- package/fesm2022/tectra-ng-ui-pill.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-popover.mjs +742 -0
- package/fesm2022/tectra-ng-ui-popover.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-progress-bar.mjs +440 -0
- package/fesm2022/tectra-ng-ui-progress-bar.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-progress-spinner.mjs +265 -0
- package/fesm2022/tectra-ng-ui-progress-spinner.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-radio-button.mjs +817 -0
- package/fesm2022/tectra-ng-ui-radio-button.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-rating.mjs +584 -0
- package/fesm2022/tectra-ng-ui-rating.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-select.mjs +2478 -0
- package/fesm2022/tectra-ng-ui-select.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-skeleton.mjs +548 -0
- package/fesm2022/tectra-ng-ui-skeleton.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-slider.mjs +630 -0
- package/fesm2022/tectra-ng-ui-slider.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-speed-dial.mjs +669 -0
- package/fesm2022/tectra-ng-ui-speed-dial.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-split-button.mjs +614 -0
- package/fesm2022/tectra-ng-ui-split-button.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-status-icon.mjs +295 -0
- package/fesm2022/tectra-ng-ui-status-icon.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-table.mjs +5997 -0
- package/fesm2022/tectra-ng-ui-table.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-tag.mjs +422 -0
- package/fesm2022/tectra-ng-ui-tag.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-textarea.mjs +482 -0
- package/fesm2022/tectra-ng-ui-textarea.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-toast.mjs +668 -0
- package/fesm2022/tectra-ng-ui-toast.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-toggle-button.mjs +416 -0
- package/fesm2022/tectra-ng-ui-toggle-button.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-toggle-switch.mjs +560 -0
- package/fesm2022/tectra-ng-ui-toggle-switch.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-tooltip.mjs +835 -0
- package/fesm2022/tectra-ng-ui-tooltip.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui-tree-select.mjs +986 -0
- package/fesm2022/tectra-ng-ui-tree-select.mjs.map +1 -0
- package/fesm2022/tectra-ng-ui.mjs +4 -0
- package/fesm2022/tectra-ng-ui.mjs.map +1 -0
- package/field/README.md +43 -0
- package/fieldset/README.md +36 -0
- package/highlight-text/README.md +20 -0
- package/icon-field/README.md +30 -0
- package/input/README.md +22 -0
- package/input-group/README.md +21 -0
- package/input-mask/README.md +30 -0
- package/input-number/README.md +61 -0
- package/input-otp/README.md +44 -0
- package/key-filter/README.md +31 -0
- package/knob/README.md +50 -0
- package/label/README.md +29 -0
- package/link/README.md +47 -0
- package/listbox/README.md +68 -0
- package/mention-textarea/README.md +47 -0
- package/menu/README.md +65 -0
- package/message/README.md +58 -0
- package/multiselect/README.md +85 -0
- package/overlay-badge/README.md +30 -0
- package/package.json +301 -3
- package/paginator/README.md +60 -0
- package/panel/README.md +45 -0
- package/password/README.md +60 -0
- package/password-generator/README.md +34 -0
- package/pill/README.md +42 -0
- package/popover/README.md +67 -0
- package/progress-bar/README.md +32 -0
- package/progress-spinner/README.md +22 -0
- package/radio-button/README.md +54 -0
- package/rating/README.md +49 -0
- package/select/README.md +78 -0
- package/skeleton/README.md +27 -0
- package/slider/README.md +48 -0
- package/speed-dial/README.md +49 -0
- package/split-button/README.md +45 -0
- package/status-icon/README.md +22 -0
- package/table/README.md +178 -0
- package/tag/README.md +42 -0
- package/textarea/README.md +37 -0
- package/toast/README.md +52 -0
- package/toggle-button/README.md +34 -0
- package/toggle-switch/README.md +49 -0
- package/tooltip/README.md +60 -0
- package/tree-select/README.md +49 -0
- package/types/tectra-ng-ui-amount.d.ts +135 -0
- package/types/tectra-ng-ui-amount.d.ts.map +1 -0
- package/types/tectra-ng-ui-autocomplete.d.ts +250 -0
- package/types/tectra-ng-ui-autocomplete.d.ts.map +1 -0
- package/types/tectra-ng-ui-avatar.d.ts +289 -0
- package/types/tectra-ng-ui-avatar.d.ts.map +1 -0
- package/types/tectra-ng-ui-badge.d.ts +119 -0
- package/types/tectra-ng-ui-badge.d.ts.map +1 -0
- package/types/tectra-ng-ui-button-group.d.ts +6 -0
- package/types/tectra-ng-ui-button-group.d.ts.map +1 -0
- package/types/tectra-ng-ui-button.d.ts +466 -0
- package/types/tectra-ng-ui-button.d.ts.map +1 -0
- package/types/tectra-ng-ui-card.d.ts +71 -0
- package/types/tectra-ng-ui-card.d.ts.map +1 -0
- package/types/tectra-ng-ui-cascade-select.d.ts +244 -0
- package/types/tectra-ng-ui-cascade-select.d.ts.map +1 -0
- package/types/tectra-ng-ui-checkbox.d.ts +450 -0
- package/types/tectra-ng-ui-checkbox.d.ts.map +1 -0
- package/types/tectra-ng-ui-chip.d.ts +106 -0
- package/types/tectra-ng-ui-chip.d.ts.map +1 -0
- package/types/tectra-ng-ui-chips-input.d.ts +187 -0
- package/types/tectra-ng-ui-chips-input.d.ts.map +1 -0
- package/types/tectra-ng-ui-color-picker.d.ts +237 -0
- package/types/tectra-ng-ui-color-picker.d.ts.map +1 -0
- package/types/tectra-ng-ui-confirm.d.ts +80 -0
- package/types/tectra-ng-ui-confirm.d.ts.map +1 -0
- package/types/tectra-ng-ui-country-select.d.ts +235 -0
- package/types/tectra-ng-ui-country-select.d.ts.map +1 -0
- package/types/tectra-ng-ui-country.d.ts +105 -0
- package/types/tectra-ng-ui-country.d.ts.map +1 -0
- package/types/tectra-ng-ui-dialog.d.ts +453 -0
- package/types/tectra-ng-ui-dialog.d.ts.map +1 -0
- package/types/tectra-ng-ui-divider.d.ts +70 -0
- package/types/tectra-ng-ui-divider.d.ts.map +1 -0
- package/types/tectra-ng-ui-drawer.d.ts +188 -0
- package/types/tectra-ng-ui-drawer.d.ts.map +1 -0
- package/types/tectra-ng-ui-email-suggestion.d.ts +84 -0
- package/types/tectra-ng-ui-email-suggestion.d.ts.map +1 -0
- package/types/tectra-ng-ui-field.d.ts +139 -0
- package/types/tectra-ng-ui-field.d.ts.map +1 -0
- package/types/tectra-ng-ui-fieldset.d.ts +74 -0
- package/types/tectra-ng-ui-fieldset.d.ts.map +1 -0
- package/types/tectra-ng-ui-highlight-text.d.ts +75 -0
- package/types/tectra-ng-ui-highlight-text.d.ts.map +1 -0
- package/types/tectra-ng-ui-icon-field.d.ts +77 -0
- package/types/tectra-ng-ui-icon-field.d.ts.map +1 -0
- package/types/tectra-ng-ui-input-group.d.ts +18 -0
- package/types/tectra-ng-ui-input-group.d.ts.map +1 -0
- package/types/tectra-ng-ui-input-mask.d.ts +91 -0
- package/types/tectra-ng-ui-input-mask.d.ts.map +1 -0
- package/types/tectra-ng-ui-input-number.d.ts +326 -0
- package/types/tectra-ng-ui-input-number.d.ts.map +1 -0
- package/types/tectra-ng-ui-input-otp.d.ts +173 -0
- package/types/tectra-ng-ui-input-otp.d.ts.map +1 -0
- package/types/tectra-ng-ui-input.d.ts +113 -0
- package/types/tectra-ng-ui-input.d.ts.map +1 -0
- package/types/tectra-ng-ui-key-filter.d.ts +43 -0
- package/types/tectra-ng-ui-key-filter.d.ts.map +1 -0
- package/types/tectra-ng-ui-knob.d.ts +207 -0
- package/types/tectra-ng-ui-knob.d.ts.map +1 -0
- package/types/tectra-ng-ui-label.d.ts +53 -0
- package/types/tectra-ng-ui-label.d.ts.map +1 -0
- package/types/tectra-ng-ui-link.d.ts +223 -0
- package/types/tectra-ng-ui-link.d.ts.map +1 -0
- package/types/tectra-ng-ui-listbox.d.ts +131 -0
- package/types/tectra-ng-ui-listbox.d.ts.map +1 -0
- package/types/tectra-ng-ui-mention-textarea.d.ts +169 -0
- package/types/tectra-ng-ui-mention-textarea.d.ts.map +1 -0
- package/types/tectra-ng-ui-menu.d.ts +512 -0
- package/types/tectra-ng-ui-menu.d.ts.map +1 -0
- package/types/tectra-ng-ui-message.d.ts +390 -0
- package/types/tectra-ng-ui-message.d.ts.map +1 -0
- package/types/tectra-ng-ui-multiselect.d.ts +216 -0
- package/types/tectra-ng-ui-multiselect.d.ts.map +1 -0
- package/types/tectra-ng-ui-overlay-badge.d.ts +104 -0
- package/types/tectra-ng-ui-overlay-badge.d.ts.map +1 -0
- package/types/tectra-ng-ui-paginator.d.ts +293 -0
- package/types/tectra-ng-ui-paginator.d.ts.map +1 -0
- package/types/tectra-ng-ui-panel.d.ts +133 -0
- package/types/tectra-ng-ui-panel.d.ts.map +1 -0
- package/types/tectra-ng-ui-password-generator.d.ts +80 -0
- package/types/tectra-ng-ui-password-generator.d.ts.map +1 -0
- package/types/tectra-ng-ui-password.d.ts +271 -0
- package/types/tectra-ng-ui-password.d.ts.map +1 -0
- package/types/tectra-ng-ui-pill.d.ts +167 -0
- package/types/tectra-ng-ui-pill.d.ts.map +1 -0
- package/types/tectra-ng-ui-popover.d.ts +244 -0
- package/types/tectra-ng-ui-popover.d.ts.map +1 -0
- package/types/tectra-ng-ui-progress-bar.d.ts +151 -0
- package/types/tectra-ng-ui-progress-bar.d.ts.map +1 -0
- package/types/tectra-ng-ui-progress-spinner.d.ts +95 -0
- package/types/tectra-ng-ui-progress-spinner.d.ts.map +1 -0
- package/types/tectra-ng-ui-radio-button.d.ts +380 -0
- package/types/tectra-ng-ui-radio-button.d.ts.map +1 -0
- package/types/tectra-ng-ui-rating.d.ts +195 -0
- package/types/tectra-ng-ui-rating.d.ts.map +1 -0
- package/types/tectra-ng-ui-select.d.ts +761 -0
- package/types/tectra-ng-ui-select.d.ts.map +1 -0
- package/types/tectra-ng-ui-skeleton.d.ts +182 -0
- package/types/tectra-ng-ui-skeleton.d.ts.map +1 -0
- package/types/tectra-ng-ui-slider.d.ts +220 -0
- package/types/tectra-ng-ui-slider.d.ts.map +1 -0
- package/types/tectra-ng-ui-speed-dial.d.ts +175 -0
- package/types/tectra-ng-ui-speed-dial.d.ts.map +1 -0
- package/types/tectra-ng-ui-split-button.d.ts +139 -0
- package/types/tectra-ng-ui-split-button.d.ts.map +1 -0
- package/types/tectra-ng-ui-status-icon.d.ts +105 -0
- package/types/tectra-ng-ui-status-icon.d.ts.map +1 -0
- package/types/tectra-ng-ui-table.d.ts +1301 -0
- package/types/tectra-ng-ui-table.d.ts.map +1 -0
- package/types/tectra-ng-ui-tag.d.ts +157 -0
- package/types/tectra-ng-ui-tag.d.ts.map +1 -0
- package/types/tectra-ng-ui-textarea.d.ts +146 -0
- package/types/tectra-ng-ui-textarea.d.ts.map +1 -0
- package/types/tectra-ng-ui-toast.d.ts +268 -0
- package/types/tectra-ng-ui-toast.d.ts.map +1 -0
- package/types/tectra-ng-ui-toggle-button.d.ts +184 -0
- package/types/tectra-ng-ui-toggle-button.d.ts.map +1 -0
- package/types/tectra-ng-ui-toggle-switch.d.ts +226 -0
- package/types/tectra-ng-ui-toggle-switch.d.ts.map +1 -0
- package/types/tectra-ng-ui-tooltip.d.ts +275 -0
- package/types/tectra-ng-ui-tooltip.d.ts.map +1 -0
- package/types/tectra-ng-ui-tree-select.d.ts +339 -0
- package/types/tectra-ng-ui-tree-select.d.ts.map +1 -0
- package/types/tectra-ng-ui.d.ts +2 -0
- package/types/tectra-ng-ui.d.ts.map +1 -0
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
import { TxPassThroughOptions } from "@tectra-ng/core/config";
|
|
2
|
+
import { TectraDeepPartial } from "@tectra-ng/themes";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export type TxAmountPart = 'root' | 'value' | 'currency';
|
|
5
|
+
export type TxAmountNotation = 'standard' | 'compact';
|
|
6
|
+
export type TxAmountCurrencyDisplay = 'narrowSymbol' | 'symbol' | 'code' | 'name';
|
|
7
|
+
export type TxAmountSign = 'positive' | 'negative' | 'zero';
|
|
8
|
+
export interface TxAmountSegment {
|
|
9
|
+
text: string;
|
|
10
|
+
currency: boolean;
|
|
11
|
+
}
|
|
12
|
+
export interface TxAmountFormatOptions {
|
|
13
|
+
locale: string;
|
|
14
|
+
currency?: string | null;
|
|
15
|
+
format?: string;
|
|
16
|
+
notation?: TxAmountNotation;
|
|
17
|
+
currencyDisplay?: TxAmountCurrencyDisplay;
|
|
18
|
+
showSign?: boolean;
|
|
19
|
+
}
|
|
20
|
+
export declare class TxAmount {
|
|
21
|
+
private localeService;
|
|
22
|
+
readonly amount: import("@angular/core").InputSignal<number | null | undefined>;
|
|
23
|
+
readonly currency: import("@angular/core").InputSignal<string | null | undefined>;
|
|
24
|
+
readonly format: import("@angular/core").InputSignal<string>;
|
|
25
|
+
readonly notation: import("@angular/core").InputSignal<TxAmountNotation>;
|
|
26
|
+
readonly currencyDisplay: import("@angular/core").InputSignal<TxAmountCurrencyDisplay>;
|
|
27
|
+
readonly showSign: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
28
|
+
readonly signColor: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
29
|
+
readonly strong: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
30
|
+
readonly locale: import("@angular/core").InputSignal<string | undefined>;
|
|
31
|
+
readonly emptyText: import("@angular/core").InputSignal<string>;
|
|
32
|
+
readonly dt: import("@angular/core").InputSignal<TectraDeepPartial<{
|
|
33
|
+
root: {
|
|
34
|
+
color: string;
|
|
35
|
+
fontWeight: string;
|
|
36
|
+
strongFontWeight: string;
|
|
37
|
+
mutedColor: string;
|
|
38
|
+
mutedFontWeight: string;
|
|
39
|
+
positiveColor: string;
|
|
40
|
+
negativeColor: string;
|
|
41
|
+
};
|
|
42
|
+
currency: {
|
|
43
|
+
color: string;
|
|
44
|
+
fontSize: string;
|
|
45
|
+
fontWeight: string;
|
|
46
|
+
};
|
|
47
|
+
}> | undefined>;
|
|
48
|
+
readonly pt: import("@angular/core").InputSignal<Partial<Record<TxAmountPart, import("@tectra-ng/core/config").TxPassThroughValue<TxAmount>>> | undefined>;
|
|
49
|
+
readonly ptOptions: import("@angular/core").InputSignal<TxPassThroughOptions | undefined>;
|
|
50
|
+
readonly unstyled: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
|
|
51
|
+
readonly isUnstyled: import("@angular/core").Signal<boolean>;
|
|
52
|
+
readonly passThrough: import("@angular/core").Signal<Partial<Record<TxAmountPart, import("@tectra-ng/core/config").TxPassThroughPart>>>;
|
|
53
|
+
readonly isEmpty: import("@angular/core").Signal<boolean>;
|
|
54
|
+
readonly sign: import("@angular/core").Signal<TxAmountSign | null>;
|
|
55
|
+
readonly segments: import("@angular/core").Signal<import("@tectra-ng/ui/amount").TxAmountSegment[]>;
|
|
56
|
+
readonly hostStyle: import("@angular/core").Signal<{
|
|
57
|
+
[x: string]: string;
|
|
58
|
+
}>;
|
|
59
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TxAmount, never>;
|
|
60
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TxAmount, "tx-amount", never, {
|
|
61
|
+
"amount": {
|
|
62
|
+
"alias": "amount";
|
|
63
|
+
"required": false;
|
|
64
|
+
"isSignal": true;
|
|
65
|
+
};
|
|
66
|
+
"currency": {
|
|
67
|
+
"alias": "currency";
|
|
68
|
+
"required": false;
|
|
69
|
+
"isSignal": true;
|
|
70
|
+
};
|
|
71
|
+
"format": {
|
|
72
|
+
"alias": "format";
|
|
73
|
+
"required": false;
|
|
74
|
+
"isSignal": true;
|
|
75
|
+
};
|
|
76
|
+
"notation": {
|
|
77
|
+
"alias": "notation";
|
|
78
|
+
"required": false;
|
|
79
|
+
"isSignal": true;
|
|
80
|
+
};
|
|
81
|
+
"currencyDisplay": {
|
|
82
|
+
"alias": "currencyDisplay";
|
|
83
|
+
"required": false;
|
|
84
|
+
"isSignal": true;
|
|
85
|
+
};
|
|
86
|
+
"showSign": {
|
|
87
|
+
"alias": "showSign";
|
|
88
|
+
"required": false;
|
|
89
|
+
"isSignal": true;
|
|
90
|
+
};
|
|
91
|
+
"signColor": {
|
|
92
|
+
"alias": "signColor";
|
|
93
|
+
"required": false;
|
|
94
|
+
"isSignal": true;
|
|
95
|
+
};
|
|
96
|
+
"strong": {
|
|
97
|
+
"alias": "strong";
|
|
98
|
+
"required": false;
|
|
99
|
+
"isSignal": true;
|
|
100
|
+
};
|
|
101
|
+
"locale": {
|
|
102
|
+
"alias": "locale";
|
|
103
|
+
"required": false;
|
|
104
|
+
"isSignal": true;
|
|
105
|
+
};
|
|
106
|
+
"emptyText": {
|
|
107
|
+
"alias": "emptyText";
|
|
108
|
+
"required": false;
|
|
109
|
+
"isSignal": true;
|
|
110
|
+
};
|
|
111
|
+
"dt": {
|
|
112
|
+
"alias": "dt";
|
|
113
|
+
"required": false;
|
|
114
|
+
"isSignal": true;
|
|
115
|
+
};
|
|
116
|
+
"pt": {
|
|
117
|
+
"alias": "pt";
|
|
118
|
+
"required": false;
|
|
119
|
+
"isSignal": true;
|
|
120
|
+
};
|
|
121
|
+
"ptOptions": {
|
|
122
|
+
"alias": "ptOptions";
|
|
123
|
+
"required": false;
|
|
124
|
+
"isSignal": true;
|
|
125
|
+
};
|
|
126
|
+
"unstyled": {
|
|
127
|
+
"alias": "unstyled";
|
|
128
|
+
"required": false;
|
|
129
|
+
"isSignal": true;
|
|
130
|
+
};
|
|
131
|
+
}, {}, never, never, true, never>;
|
|
132
|
+
}
|
|
133
|
+
export declare function parseDigitsInfo(format: string | undefined): Pick<Intl.NumberFormatOptions, 'minimumIntegerDigits' | 'minimumFractionDigits' | 'maximumFractionDigits'>;
|
|
134
|
+
export declare function formatAmount(amount: number, options: TxAmountFormatOptions): TxAmountSegment[];
|
|
135
|
+
//# sourceMappingURL=tectra-ng-ui-amount.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tectra-ng-ui-amount.d.ts","names":[],"sources":["../../../../packages/ui/amount/src/amount.types.ts","../../../../packages/ui/amount/src/amount.component.ts","../../../../packages/ui/amount/src/format-amount.ts"],"mappings":";;;YAAY;YAEA;YAEA;YAEA;iBAEK;EACf;EACA;;iBAGe;EACf;EACA;EACA;EACA,WAAW;EACX,kBAAkB;EAClB;;qBCiBW;UACH;WAEC,gCAAM;WACN,kCAAQ;WACR,gCAAM;WACN,kCAAQ,YAAA;WACR,yCAAe,YAAA;WACf,kCAAQ;WACR,mCAAS;WACT,gCAAM;WACN,gCAAM;WACN,mCAAS;WACT,4BAAE,YAAA;;;;;;;;;;;;;;;;WACF,4BAAE,YAAA,QAAA,OAAA,+CAAA,mBAAA;WACF,mCAAS,YAAA;WACT,kCAAQ;WAER,oCAAU;WACV,qCAAW,OAAA,QAAA,OAAA,+CAAA;WACX,iCAAO;WAIP,8BAAI,OAAA;WAOJ,kCAAQ,sCAAA;WAcR,mCAAS;;;SA7CP,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAQ;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;;;wBChCL,gBAAgB,6BAA6B,KAAK,KAAK;wBA6BvD,aAAa,gBAAgB,SAAS,wBAAwB"}
|
|
@@ -0,0 +1,250 @@
|
|
|
1
|
+
import { TxPassThroughOptions } from "@tectra-ng/core/config";
|
|
2
|
+
import { TxIconName } from "@tectra-ng/icons";
|
|
3
|
+
import { TectraDeepPartial } from "@tectra-ng/themes";
|
|
4
|
+
import { TxSelectBase, TxSelectItem, TxSelectPart } from "@tectra-ng/ui/select";
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export type TxAutocompleteDropdownMode = 'blank' | 'current';
|
|
7
|
+
export type TxAutocompletePart = TxSelectPart | 'input' | 'chip' | 'dropdownButton';
|
|
8
|
+
export interface TxAutocompleteCompleteEvent {
|
|
9
|
+
query: string;
|
|
10
|
+
}
|
|
11
|
+
export interface TxAutocompleteChangeEvent {
|
|
12
|
+
value: unknown;
|
|
13
|
+
option: unknown;
|
|
14
|
+
selected: boolean;
|
|
15
|
+
}
|
|
16
|
+
export declare class TxAutocomplete extends TxSelectBase<unknown> {
|
|
17
|
+
readonly suggestions: import("@angular/core").InputSignal<readonly unknown[]>;
|
|
18
|
+
readonly multiple: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
19
|
+
readonly dropdown: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
20
|
+
readonly dropdownMode: import("@angular/core").InputSignal<TxAutocompleteDropdownMode>;
|
|
21
|
+
readonly dropdownIcon: import("@angular/core").InputSignal<TxIconName>;
|
|
22
|
+
readonly forceSelection: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
23
|
+
readonly localSearch: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
24
|
+
readonly delay: import("@angular/core").InputSignal<number>;
|
|
25
|
+
readonly minLength: import("@angular/core").InputSignal<number>;
|
|
26
|
+
readonly completeOnFocus: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
27
|
+
readonly autoOptionFocus: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
28
|
+
readonly showEmptyMessage: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
29
|
+
readonly maxlength: import("@angular/core").InputSignal<number | undefined>;
|
|
30
|
+
readonly dt: import("@angular/core").InputSignal<TectraDeepPartial<{
|
|
31
|
+
root: {
|
|
32
|
+
dropdownColor: string;
|
|
33
|
+
dropdownWidth: string;
|
|
34
|
+
clearSize: string;
|
|
35
|
+
gap: string;
|
|
36
|
+
};
|
|
37
|
+
overlay: {
|
|
38
|
+
background: string;
|
|
39
|
+
borderColor: string;
|
|
40
|
+
borderRadius: string;
|
|
41
|
+
shadow: string;
|
|
42
|
+
};
|
|
43
|
+
list: {
|
|
44
|
+
padding: string;
|
|
45
|
+
gap: string;
|
|
46
|
+
maxHeight: string;
|
|
47
|
+
};
|
|
48
|
+
option: {
|
|
49
|
+
padding: string;
|
|
50
|
+
gap: string;
|
|
51
|
+
borderRadius: string;
|
|
52
|
+
color: string;
|
|
53
|
+
focusBackground: string;
|
|
54
|
+
selectedBackground: string;
|
|
55
|
+
selectedColor: string;
|
|
56
|
+
selectedFocusBackground: string;
|
|
57
|
+
selectedFocusColor: string;
|
|
58
|
+
selectedFontWeight: string;
|
|
59
|
+
disabledColor: string;
|
|
60
|
+
checkColor: string;
|
|
61
|
+
};
|
|
62
|
+
checkbox: {
|
|
63
|
+
size: string;
|
|
64
|
+
borderRadius: string;
|
|
65
|
+
borderColor: string;
|
|
66
|
+
background: string;
|
|
67
|
+
checkedBackground: string;
|
|
68
|
+
checkedColor: string;
|
|
69
|
+
iconSize: string;
|
|
70
|
+
shadow: string;
|
|
71
|
+
};
|
|
72
|
+
chip: {
|
|
73
|
+
gap: string;
|
|
74
|
+
paddingY: string;
|
|
75
|
+
paddingStart: string;
|
|
76
|
+
paddingEnd: string;
|
|
77
|
+
borderRadius: string;
|
|
78
|
+
background: string;
|
|
79
|
+
color: string;
|
|
80
|
+
fontSize: string;
|
|
81
|
+
removeSize: string;
|
|
82
|
+
removeColor: string;
|
|
83
|
+
removeHoverColor: string;
|
|
84
|
+
};
|
|
85
|
+
optionGroup: {
|
|
86
|
+
padding: string;
|
|
87
|
+
color: string;
|
|
88
|
+
fontSize: string;
|
|
89
|
+
fontWeight: string;
|
|
90
|
+
};
|
|
91
|
+
filter: {
|
|
92
|
+
padding: string;
|
|
93
|
+
gap: string;
|
|
94
|
+
iconInset: string;
|
|
95
|
+
minHeight: string;
|
|
96
|
+
};
|
|
97
|
+
dropdownButton: {
|
|
98
|
+
background: string;
|
|
99
|
+
hoverBackground: string;
|
|
100
|
+
color: string;
|
|
101
|
+
hoverColor: string;
|
|
102
|
+
};
|
|
103
|
+
header: {
|
|
104
|
+
padding: string;
|
|
105
|
+
};
|
|
106
|
+
footer: {
|
|
107
|
+
padding: string;
|
|
108
|
+
};
|
|
109
|
+
empty: {
|
|
110
|
+
padding: string;
|
|
111
|
+
color: string;
|
|
112
|
+
};
|
|
113
|
+
}> | undefined>;
|
|
114
|
+
readonly pt: import("@angular/core").InputSignal<Partial<Record<TxAutocompletePart, import("@tectra-ng/core/config").TxPassThroughValue<TxAutocomplete>>> | undefined>;
|
|
115
|
+
readonly ptOptions: import("@angular/core").InputSignal<TxPassThroughOptions | undefined>;
|
|
116
|
+
readonly unstyled: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
|
|
117
|
+
readonly completed: import("@angular/core").OutputEmitterRef<TxAutocompleteCompleteEvent>;
|
|
118
|
+
readonly changed: import("@angular/core").OutputEmitterRef<TxAutocompleteChangeEvent>;
|
|
119
|
+
readonly isUnstyled: import("@angular/core").Signal<boolean>;
|
|
120
|
+
readonly passThrough: import("@angular/core").Signal<Partial<Record<TxAutocompletePart, import("@tectra-ng/core/config").TxPassThroughPart>>>;
|
|
121
|
+
protected readonly source: import("@angular/core").InputSignal<readonly unknown[]>;
|
|
122
|
+
protected readonly localQuery: import("@angular/core").Signal<string>;
|
|
123
|
+
private readonly known;
|
|
124
|
+
private completeTimer;
|
|
125
|
+
private readonly clearComplete;
|
|
126
|
+
readonly selectedValues: import("@angular/core").Signal<unknown[]>;
|
|
127
|
+
readonly selectedItems: import("@angular/core").Signal<TxSelectItem[]>;
|
|
128
|
+
readonly hasValue: import("@angular/core").Signal<boolean>;
|
|
129
|
+
readonly showPanel: import("@angular/core").Signal<boolean>;
|
|
130
|
+
readonly tokenStyle: import("@angular/core").Signal<Record<string, string>>;
|
|
131
|
+
readonly hostStyle: import("@angular/core").Signal<{
|
|
132
|
+
[x: string]: string;
|
|
133
|
+
}>;
|
|
134
|
+
readonly panelStyle: import("@angular/core").Signal<{
|
|
135
|
+
[x: string]: string;
|
|
136
|
+
}>;
|
|
137
|
+
protected get typingTarget(): boolean;
|
|
138
|
+
writeValue(value: unknown): void;
|
|
139
|
+
open(): void;
|
|
140
|
+
onInput(event: Event): void;
|
|
141
|
+
onFocus(): void;
|
|
142
|
+
onBlur(event: FocusEvent): void;
|
|
143
|
+
onDropdownClick(event: MouseEvent): void;
|
|
144
|
+
onBoxClick(event: MouseEvent): void;
|
|
145
|
+
close(): void;
|
|
146
|
+
removeItem(item: TxSelectItem, event: Event): void;
|
|
147
|
+
protected isSelected(value: unknown): boolean;
|
|
148
|
+
protected activate(item: TxSelectItem): void;
|
|
149
|
+
protected clearValue(): void;
|
|
150
|
+
protected onTypeaheadClosed(): void;
|
|
151
|
+
protected handleExtraKey(event: KeyboardEvent): boolean;
|
|
152
|
+
protected ignoreBoxClick(): boolean;
|
|
153
|
+
private search;
|
|
154
|
+
private cancelSearch;
|
|
155
|
+
private settleText;
|
|
156
|
+
private remember;
|
|
157
|
+
private labelOf;
|
|
158
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TxAutocomplete, never>;
|
|
159
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TxAutocomplete, "tx-autocomplete", never, {
|
|
160
|
+
"suggestions": {
|
|
161
|
+
"alias": "suggestions";
|
|
162
|
+
"required": false;
|
|
163
|
+
"isSignal": true;
|
|
164
|
+
};
|
|
165
|
+
"multiple": {
|
|
166
|
+
"alias": "multiple";
|
|
167
|
+
"required": false;
|
|
168
|
+
"isSignal": true;
|
|
169
|
+
};
|
|
170
|
+
"dropdown": {
|
|
171
|
+
"alias": "dropdown";
|
|
172
|
+
"required": false;
|
|
173
|
+
"isSignal": true;
|
|
174
|
+
};
|
|
175
|
+
"dropdownMode": {
|
|
176
|
+
"alias": "dropdownMode";
|
|
177
|
+
"required": false;
|
|
178
|
+
"isSignal": true;
|
|
179
|
+
};
|
|
180
|
+
"dropdownIcon": {
|
|
181
|
+
"alias": "dropdownIcon";
|
|
182
|
+
"required": false;
|
|
183
|
+
"isSignal": true;
|
|
184
|
+
};
|
|
185
|
+
"forceSelection": {
|
|
186
|
+
"alias": "forceSelection";
|
|
187
|
+
"required": false;
|
|
188
|
+
"isSignal": true;
|
|
189
|
+
};
|
|
190
|
+
"localSearch": {
|
|
191
|
+
"alias": "localSearch";
|
|
192
|
+
"required": false;
|
|
193
|
+
"isSignal": true;
|
|
194
|
+
};
|
|
195
|
+
"delay": {
|
|
196
|
+
"alias": "delay";
|
|
197
|
+
"required": false;
|
|
198
|
+
"isSignal": true;
|
|
199
|
+
};
|
|
200
|
+
"minLength": {
|
|
201
|
+
"alias": "minLength";
|
|
202
|
+
"required": false;
|
|
203
|
+
"isSignal": true;
|
|
204
|
+
};
|
|
205
|
+
"completeOnFocus": {
|
|
206
|
+
"alias": "completeOnFocus";
|
|
207
|
+
"required": false;
|
|
208
|
+
"isSignal": true;
|
|
209
|
+
};
|
|
210
|
+
"autoOptionFocus": {
|
|
211
|
+
"alias": "autoOptionFocus";
|
|
212
|
+
"required": false;
|
|
213
|
+
"isSignal": true;
|
|
214
|
+
};
|
|
215
|
+
"showEmptyMessage": {
|
|
216
|
+
"alias": "showEmptyMessage";
|
|
217
|
+
"required": false;
|
|
218
|
+
"isSignal": true;
|
|
219
|
+
};
|
|
220
|
+
"maxlength": {
|
|
221
|
+
"alias": "maxlength";
|
|
222
|
+
"required": false;
|
|
223
|
+
"isSignal": true;
|
|
224
|
+
};
|
|
225
|
+
"dt": {
|
|
226
|
+
"alias": "dt";
|
|
227
|
+
"required": false;
|
|
228
|
+
"isSignal": true;
|
|
229
|
+
};
|
|
230
|
+
"pt": {
|
|
231
|
+
"alias": "pt";
|
|
232
|
+
"required": false;
|
|
233
|
+
"isSignal": true;
|
|
234
|
+
};
|
|
235
|
+
"ptOptions": {
|
|
236
|
+
"alias": "ptOptions";
|
|
237
|
+
"required": false;
|
|
238
|
+
"isSignal": true;
|
|
239
|
+
};
|
|
240
|
+
"unstyled": {
|
|
241
|
+
"alias": "unstyled";
|
|
242
|
+
"required": false;
|
|
243
|
+
"isSignal": true;
|
|
244
|
+
};
|
|
245
|
+
}, {
|
|
246
|
+
"completed": "completed";
|
|
247
|
+
"changed": "changed";
|
|
248
|
+
}, never, never, true, never>;
|
|
249
|
+
}
|
|
250
|
+
//# sourceMappingURL=tectra-ng-ui-autocomplete.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tectra-ng-ui-autocomplete.d.ts","names":[],"sources":["../../../../packages/ui/autocomplete/src/autocomplete.types.ts","../../../../packages/ui/autocomplete/src/autocomplete.component.ts"],"mappings":";;;;;YAEY;YAEA,qBAAqB;iBAEhB;EACf;;iBAGe;EACf;EACA;EACA;;qBCgCW,uBAAuB;WACzB,qCAAW;WACX,kCAAQ;WACR,kCAAQ;WACR,sCAAY,YAAA;WACZ,sCAAY,YAAA;WACZ,wCAAc;WACd,qCAAW;WACX,+BAAK;WACL,mCAAS;WACT,yCAAe;WACf,yCAAe;WACf,0CAAgB;WAChB,mCAAS;WACT,4BAAE,YAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WACF,4BAAE,YAAA,QAAA,OAAA,qDAAA,mBAAA;WACF,mCAAS,YAAA;WACT,kCAAQ;WAER,mCAAS,iBAAA;WACT,iCAAO,iBAAA;WAEP,oCAAU;WACV,qCAAW,OAAA,QAAA,OAAA,qDAAA;qBACD,gCAAM;qBACG,oCAAU;mBACrB;UACT;mBACS;WAER,wCAAc;WAOd,uCAAa,OAAA;WAiBb,kCAAQ;WACR,mCAAS;WACT,oCAAU,OAAA;WACV,mCAAS;;;WACT,oCAAU;;;gBAEI;EAId,WAAW;EAOX;EAST,QAAQ,OAAO;EAuBf;EAMA,OAAO,OAAO;EAQd,gBAAgB,OAAO;EAUd,WAAW,OAAO;EAMlB;EAKT,WAAW,MAAM,cAAc,OAAO;YAU5B,WAAW;YAIX,SAAS,MAAM;YAmBf;YAOA;YAIA,eAAe,OAAO;YAsBtB;UAIF;UAiBA;UAOA;UAuBA;UAIA;SAnQG,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAc;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;;IAAA;IAAA"}
|
|
@@ -0,0 +1,289 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import { InjectionToken, Signal } from "@angular/core";
|
|
3
|
+
import { TxPassThroughOptions } from "@tectra-ng/core/config";
|
|
4
|
+
import { TxIconName } from "@tectra-ng/icons";
|
|
5
|
+
import { TectraDeepPartial } from "@tectra-ng/themes";
|
|
6
|
+
export type TxAvatarSize = 'small' | 'medium' | 'large' | 'xlarge';
|
|
7
|
+
export type TxAvatarShape = 'circle' | 'square';
|
|
8
|
+
export type TxAvatarTone = 'blue' | 'green' | 'sky' | 'orange' | 'purple' | 'red';
|
|
9
|
+
export type TxAvatarPart = 'root' | 'image' | 'label' | 'icon';
|
|
10
|
+
export type TxAvatarGroupPart = 'root' | 'more';
|
|
11
|
+
export interface TxAvatarGroupContext {
|
|
12
|
+
readonly size: Signal<TxAvatarSize | number | undefined>;
|
|
13
|
+
readonly shape: Signal<TxAvatarShape | undefined>;
|
|
14
|
+
isHidden(avatar: object): boolean;
|
|
15
|
+
}
|
|
16
|
+
export declare const TX_AVATAR_GROUP: InjectionToken<TxAvatarGroupContext>;
|
|
17
|
+
export declare class TxAvatar {
|
|
18
|
+
private txIconRegistry;
|
|
19
|
+
private group;
|
|
20
|
+
readonly image: import("@angular/core").InputSignal<string | null | undefined>;
|
|
21
|
+
readonly name: import("@angular/core").InputSignal<string | null | undefined>;
|
|
22
|
+
readonly label: import("@angular/core").InputSignal<string | undefined>;
|
|
23
|
+
readonly icon: import("@angular/core").InputSignal<TxIconName | (string & {})>;
|
|
24
|
+
readonly size: import("@angular/core").InputSignal<number | TxAvatarSize | undefined>;
|
|
25
|
+
readonly shape: import("@angular/core").InputSignal<TxAvatarShape | undefined>;
|
|
26
|
+
readonly tone: import("@angular/core").InputSignal<TxAvatarTone | undefined>;
|
|
27
|
+
readonly ariaLabel: import("@angular/core").InputSignal<string | undefined>;
|
|
28
|
+
readonly dt: import("@angular/core").InputSignal<TectraDeepPartial<{
|
|
29
|
+
root: {
|
|
30
|
+
size: string;
|
|
31
|
+
fontWeight: string;
|
|
32
|
+
fontScale: string;
|
|
33
|
+
iconScale: string;
|
|
34
|
+
squareBorderRadius: string;
|
|
35
|
+
background: string;
|
|
36
|
+
color: string;
|
|
37
|
+
};
|
|
38
|
+
sm: {
|
|
39
|
+
size: string;
|
|
40
|
+
};
|
|
41
|
+
lg: {
|
|
42
|
+
size: string;
|
|
43
|
+
};
|
|
44
|
+
xl: {
|
|
45
|
+
size: string;
|
|
46
|
+
};
|
|
47
|
+
tones: {
|
|
48
|
+
blue: {
|
|
49
|
+
background: string;
|
|
50
|
+
color: string;
|
|
51
|
+
};
|
|
52
|
+
green: {
|
|
53
|
+
background: string;
|
|
54
|
+
color: string;
|
|
55
|
+
};
|
|
56
|
+
sky: {
|
|
57
|
+
background: string;
|
|
58
|
+
color: string;
|
|
59
|
+
};
|
|
60
|
+
orange: {
|
|
61
|
+
background: string;
|
|
62
|
+
color: string;
|
|
63
|
+
};
|
|
64
|
+
purple: {
|
|
65
|
+
background: string;
|
|
66
|
+
color: string;
|
|
67
|
+
};
|
|
68
|
+
red: {
|
|
69
|
+
background: string;
|
|
70
|
+
color: string;
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
group: {
|
|
74
|
+
overlap: string;
|
|
75
|
+
ringWidth: string;
|
|
76
|
+
ringColor: string;
|
|
77
|
+
moreBackground: string;
|
|
78
|
+
moreColor: string;
|
|
79
|
+
};
|
|
80
|
+
}> | undefined>;
|
|
81
|
+
readonly pt: import("@angular/core").InputSignal<Partial<Record<TxAvatarPart, import("@tectra-ng/core/config").TxPassThroughValue<TxAvatar>>> | undefined>;
|
|
82
|
+
readonly ptOptions: import("@angular/core").InputSignal<TxPassThroughOptions | undefined>;
|
|
83
|
+
readonly unstyled: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
|
|
84
|
+
readonly imageError: import("@angular/core").OutputEmitterRef<Event>;
|
|
85
|
+
readonly isUnstyled: import("@angular/core").Signal<boolean>;
|
|
86
|
+
readonly passThrough: import("@angular/core").Signal<Partial<Record<TxAvatarPart, import("@tectra-ng/core/config").TxPassThroughPart>>>;
|
|
87
|
+
readonly failed: import("@angular/core").WritableSignal<boolean>;
|
|
88
|
+
readonly showImage: import("@angular/core").Signal<boolean>;
|
|
89
|
+
readonly initials: import("@angular/core").Signal<string>;
|
|
90
|
+
readonly resolvedSize: import("@angular/core").Signal<number | TxAvatarSize>;
|
|
91
|
+
readonly presetSize: import("@angular/core").Signal<number | TxAvatarSize | null>;
|
|
92
|
+
readonly resolvedShape: import("@angular/core").Signal<TxAvatarShape>;
|
|
93
|
+
readonly resolvedTone: import("@angular/core").Signal<TxAvatarTone | null>;
|
|
94
|
+
readonly accessibleName: import("@angular/core").Signal<string | null>;
|
|
95
|
+
readonly isHidden: import("@angular/core").Signal<boolean>;
|
|
96
|
+
readonly iconName: import("@angular/core").Signal<TxIconName | (string & {}) | null>;
|
|
97
|
+
readonly hostStyle: import("@angular/core").Signal<{
|
|
98
|
+
'--tx-avatar-size'?: string | undefined;
|
|
99
|
+
}>;
|
|
100
|
+
constructor();
|
|
101
|
+
onImageError(event: Event): void;
|
|
102
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TxAvatar, never>;
|
|
103
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TxAvatar, "tx-avatar", never, {
|
|
104
|
+
"image": {
|
|
105
|
+
"alias": "image";
|
|
106
|
+
"required": false;
|
|
107
|
+
"isSignal": true;
|
|
108
|
+
};
|
|
109
|
+
"name": {
|
|
110
|
+
"alias": "name";
|
|
111
|
+
"required": false;
|
|
112
|
+
"isSignal": true;
|
|
113
|
+
};
|
|
114
|
+
"label": {
|
|
115
|
+
"alias": "label";
|
|
116
|
+
"required": false;
|
|
117
|
+
"isSignal": true;
|
|
118
|
+
};
|
|
119
|
+
"icon": {
|
|
120
|
+
"alias": "icon";
|
|
121
|
+
"required": false;
|
|
122
|
+
"isSignal": true;
|
|
123
|
+
};
|
|
124
|
+
"size": {
|
|
125
|
+
"alias": "size";
|
|
126
|
+
"required": false;
|
|
127
|
+
"isSignal": true;
|
|
128
|
+
};
|
|
129
|
+
"shape": {
|
|
130
|
+
"alias": "shape";
|
|
131
|
+
"required": false;
|
|
132
|
+
"isSignal": true;
|
|
133
|
+
};
|
|
134
|
+
"tone": {
|
|
135
|
+
"alias": "tone";
|
|
136
|
+
"required": false;
|
|
137
|
+
"isSignal": true;
|
|
138
|
+
};
|
|
139
|
+
"ariaLabel": {
|
|
140
|
+
"alias": "ariaLabel";
|
|
141
|
+
"required": false;
|
|
142
|
+
"isSignal": true;
|
|
143
|
+
};
|
|
144
|
+
"dt": {
|
|
145
|
+
"alias": "dt";
|
|
146
|
+
"required": false;
|
|
147
|
+
"isSignal": true;
|
|
148
|
+
};
|
|
149
|
+
"pt": {
|
|
150
|
+
"alias": "pt";
|
|
151
|
+
"required": false;
|
|
152
|
+
"isSignal": true;
|
|
153
|
+
};
|
|
154
|
+
"ptOptions": {
|
|
155
|
+
"alias": "ptOptions";
|
|
156
|
+
"required": false;
|
|
157
|
+
"isSignal": true;
|
|
158
|
+
};
|
|
159
|
+
"unstyled": {
|
|
160
|
+
"alias": "unstyled";
|
|
161
|
+
"required": false;
|
|
162
|
+
"isSignal": true;
|
|
163
|
+
};
|
|
164
|
+
}, {
|
|
165
|
+
"imageError": "imageError";
|
|
166
|
+
}, never, ["*"], true, never>;
|
|
167
|
+
}
|
|
168
|
+
export declare class TxAvatarGroup {
|
|
169
|
+
readonly max: import("@angular/core").InputSignalWithTransform<number | undefined, unknown>;
|
|
170
|
+
readonly size: import("@angular/core").InputSignal<number | TxAvatarSize | undefined>;
|
|
171
|
+
readonly shape: import("@angular/core").InputSignal<TxAvatarShape | undefined>;
|
|
172
|
+
readonly ariaLabel: import("@angular/core").InputSignal<string | undefined>;
|
|
173
|
+
readonly moreLabel: import("@angular/core").InputSignal<string | undefined>;
|
|
174
|
+
readonly dt: import("@angular/core").InputSignal<TectraDeepPartial<{
|
|
175
|
+
root: {
|
|
176
|
+
size: string;
|
|
177
|
+
fontWeight: string;
|
|
178
|
+
fontScale: string;
|
|
179
|
+
iconScale: string;
|
|
180
|
+
squareBorderRadius: string;
|
|
181
|
+
background: string;
|
|
182
|
+
color: string;
|
|
183
|
+
};
|
|
184
|
+
sm: {
|
|
185
|
+
size: string;
|
|
186
|
+
};
|
|
187
|
+
lg: {
|
|
188
|
+
size: string;
|
|
189
|
+
};
|
|
190
|
+
xl: {
|
|
191
|
+
size: string;
|
|
192
|
+
};
|
|
193
|
+
tones: {
|
|
194
|
+
blue: {
|
|
195
|
+
background: string;
|
|
196
|
+
color: string;
|
|
197
|
+
};
|
|
198
|
+
green: {
|
|
199
|
+
background: string;
|
|
200
|
+
color: string;
|
|
201
|
+
};
|
|
202
|
+
sky: {
|
|
203
|
+
background: string;
|
|
204
|
+
color: string;
|
|
205
|
+
};
|
|
206
|
+
orange: {
|
|
207
|
+
background: string;
|
|
208
|
+
color: string;
|
|
209
|
+
};
|
|
210
|
+
purple: {
|
|
211
|
+
background: string;
|
|
212
|
+
color: string;
|
|
213
|
+
};
|
|
214
|
+
red: {
|
|
215
|
+
background: string;
|
|
216
|
+
color: string;
|
|
217
|
+
};
|
|
218
|
+
};
|
|
219
|
+
group: {
|
|
220
|
+
overlap: string;
|
|
221
|
+
ringWidth: string;
|
|
222
|
+
ringColor: string;
|
|
223
|
+
moreBackground: string;
|
|
224
|
+
moreColor: string;
|
|
225
|
+
};
|
|
226
|
+
}> | undefined>;
|
|
227
|
+
readonly pt: import("@angular/core").InputSignal<Partial<Record<TxAvatarGroupPart, import("@tectra-ng/core/config").TxPassThroughValue<TxAvatarGroup>>> | undefined>;
|
|
228
|
+
readonly ptOptions: import("@angular/core").InputSignal<TxPassThroughOptions | undefined>;
|
|
229
|
+
readonly unstyled: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
|
|
230
|
+
readonly avatars: import("@angular/core").Signal<readonly TxAvatar[]>;
|
|
231
|
+
readonly translations: import("@angular/core").Signal<import("@tectra-ng/core/config").TxTranslations>;
|
|
232
|
+
readonly isUnstyled: import("@angular/core").Signal<boolean>;
|
|
233
|
+
readonly passThrough: import("@angular/core").Signal<Partial<Record<TxAvatarGroupPart, import("@tectra-ng/core/config").TxPassThroughPart>>>;
|
|
234
|
+
readonly extra: import("@angular/core").Signal<number>;
|
|
235
|
+
readonly hostStyle: import("@angular/core").Signal<{
|
|
236
|
+
'--tx-avatar-size'?: string | undefined;
|
|
237
|
+
'--_overlap': string;
|
|
238
|
+
}>;
|
|
239
|
+
readonly context: TxAvatarGroupContext;
|
|
240
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TxAvatarGroup, never>;
|
|
241
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TxAvatarGroup, "tx-avatar-group", never, {
|
|
242
|
+
"max": {
|
|
243
|
+
"alias": "max";
|
|
244
|
+
"required": false;
|
|
245
|
+
"isSignal": true;
|
|
246
|
+
};
|
|
247
|
+
"size": {
|
|
248
|
+
"alias": "size";
|
|
249
|
+
"required": false;
|
|
250
|
+
"isSignal": true;
|
|
251
|
+
};
|
|
252
|
+
"shape": {
|
|
253
|
+
"alias": "shape";
|
|
254
|
+
"required": false;
|
|
255
|
+
"isSignal": true;
|
|
256
|
+
};
|
|
257
|
+
"ariaLabel": {
|
|
258
|
+
"alias": "ariaLabel";
|
|
259
|
+
"required": false;
|
|
260
|
+
"isSignal": true;
|
|
261
|
+
};
|
|
262
|
+
"moreLabel": {
|
|
263
|
+
"alias": "moreLabel";
|
|
264
|
+
"required": false;
|
|
265
|
+
"isSignal": true;
|
|
266
|
+
};
|
|
267
|
+
"dt": {
|
|
268
|
+
"alias": "dt";
|
|
269
|
+
"required": false;
|
|
270
|
+
"isSignal": true;
|
|
271
|
+
};
|
|
272
|
+
"pt": {
|
|
273
|
+
"alias": "pt";
|
|
274
|
+
"required": false;
|
|
275
|
+
"isSignal": true;
|
|
276
|
+
};
|
|
277
|
+
"ptOptions": {
|
|
278
|
+
"alias": "ptOptions";
|
|
279
|
+
"required": false;
|
|
280
|
+
"isSignal": true;
|
|
281
|
+
};
|
|
282
|
+
"unstyled": {
|
|
283
|
+
"alias": "unstyled";
|
|
284
|
+
"required": false;
|
|
285
|
+
"isSignal": true;
|
|
286
|
+
};
|
|
287
|
+
}, {}, ["avatars"], ["*", "[txAvatarGroupEnd]"], true, never>;
|
|
288
|
+
}
|
|
289
|
+
//# sourceMappingURL=tectra-ng-ui-avatar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tectra-ng-ui-avatar.d.ts","names":[],"sources":["../../../../packages/ui/avatar/src/avatar.types.ts","../../../../packages/ui/avatar/src/avatar-group.token.ts","../../../../packages/ui/avatar/src/avatar.component.ts","../../../../packages/ui/avatar/src/avatar-group.component.ts"],"mappings":";;;;;YAAY;YACA;YACA;YACA;YACA;iBCDK;WACN,MAAM,OAAO;WACb,OAAO,OAAO;EACvB,SAAS;;qBAGE,iBAAe,eAAA;qBCqCf;UACH;UACA;WAEC,+BAAK;WACL,8BAAI;WACJ,+BAAK;WACL,8BAAI,YAAA;WACJ,8BAAI,qBAAA;WACJ,+BAAK,YAAA;WACL,8BAAI,YAAA;WACJ,mCAAS;WACT,4BAAE,YAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WACF,4BAAE,YAAA,QAAA,OAAA,+CAAA,mBAAA;WACF,mCAAS,YAAA;WACT,kCAAQ;WAER,oCAAU,iBAAA;WAEV,oCAAU;WACV,qCAAW,OAAA,QAAA,OAAA,+CAAA;WACX,gCAAM;WACN,mCAAS;WACT,kCAAQ;WACR,sCAAY,gBAAA;WACZ,oCAAU,gBAAA;WACV,uCAAa,OAAA;WACb,sCAAY,OAAA;WACZ,wCAAc;WACd,kCAAQ;WACR,kCAAQ,OAAA;WACR,mCAAS;;;;EAgBlB,aAAa,OAAO;SA/CT,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAQ;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;;IAAA;;;qBCcR;WACF,6BAAG;WACH,8BAAI,qBAAA;WACJ,+BAAK,YAAA;WACL,mCAAS;WACT,mCAAS;WACT,4BAAE,YAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WACF,4BAAE,YAAA,QAAA,OAAA,oDAAA,mBAAA;WACF,mCAAS,YAAA;WACT,kCAAQ;WAER,iCAAO,gBAAA;WAEP,sCAAY,wCAAA;WACZ,oCAAU;WACV,qCAAW,OAAA,QAAA,OAAA,oDAAA;WACX,+BAAK;WAIL,mCAAS;;;;WAUT,SAAS;SA9BP,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAa;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA"}
|