@tectra-ng/ui 0.0.0-stage → 0.1.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/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,187 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import { ElementRef, TemplateRef } from "@angular/core";
|
|
3
|
+
import { TxPassThroughOptions } from "@tectra-ng/core/config";
|
|
4
|
+
import { TxFormControlBase } from "@tectra-ng/core/forms";
|
|
5
|
+
import { TectraDeepPartial } from "@tectra-ng/themes";
|
|
6
|
+
export type TxChipsInputSize = 'small' | 'medium' | 'large';
|
|
7
|
+
export type TxChipsInputVariant = 'outlined' | 'filled';
|
|
8
|
+
export type TxChipsInputPart = 'root' | 'list' | 'chip' | 'input' | 'clear';
|
|
9
|
+
export interface TxChipsInputItemContext {
|
|
10
|
+
$implicit: string;
|
|
11
|
+
index: number;
|
|
12
|
+
}
|
|
13
|
+
export interface TxChipsInputEvent {
|
|
14
|
+
value: string;
|
|
15
|
+
values: string[];
|
|
16
|
+
}
|
|
17
|
+
export declare class TxChipsInputItemTemplate {
|
|
18
|
+
readonly templateRef: TemplateRef<TxChipsInputItemContext>;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TxChipsInputItemTemplate, never>;
|
|
20
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TxChipsInputItemTemplate, "ng-template[txChipsInputItem]", never, {}, {}, never, never, true, never>;
|
|
21
|
+
}
|
|
22
|
+
export declare class TxChipsInput extends TxFormControlBase<string[]> {
|
|
23
|
+
readonly placeholder: import("@angular/core").InputSignal<string>;
|
|
24
|
+
readonly separator: import("@angular/core").InputSignal<string | RegExp>;
|
|
25
|
+
readonly addOnBlur: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
26
|
+
readonly allowDuplicate: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
27
|
+
readonly caseSensitive: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
28
|
+
readonly max: import("@angular/core").InputSignal<number | undefined>;
|
|
29
|
+
readonly maxLength: import("@angular/core").InputSignal<number | undefined>;
|
|
30
|
+
readonly itemPattern: import("@angular/core").InputSignal<RegExp | undefined>;
|
|
31
|
+
readonly showClear: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
32
|
+
readonly inputId: import("@angular/core").InputSignal<string | undefined>;
|
|
33
|
+
readonly ariaLabel: import("@angular/core").InputSignal<string | undefined>;
|
|
34
|
+
readonly ariaLabelledBy: import("@angular/core").InputSignal<string | undefined>;
|
|
35
|
+
readonly size: import("@angular/core").InputSignal<TxChipsInputSize>;
|
|
36
|
+
readonly variant: import("@angular/core").InputSignal<TxChipsInputVariant>;
|
|
37
|
+
readonly invalid: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
|
|
38
|
+
readonly readonly: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
39
|
+
readonly dt: import("@angular/core").InputSignal<TectraDeepPartial<{
|
|
40
|
+
root: {
|
|
41
|
+
gap: string;
|
|
42
|
+
chipHeight: string;
|
|
43
|
+
chipFontSize: string;
|
|
44
|
+
chipPaddingX: string;
|
|
45
|
+
chipBorderRadius: string;
|
|
46
|
+
inputMinWidth: string;
|
|
47
|
+
};
|
|
48
|
+
}> | undefined>;
|
|
49
|
+
readonly pt: import("@angular/core").InputSignal<Partial<Record<TxChipsInputPart, import("@tectra-ng/core/config").TxPassThroughValue<TxChipsInput>>> | undefined>;
|
|
50
|
+
readonly ptOptions: import("@angular/core").InputSignal<TxPassThroughOptions | undefined>;
|
|
51
|
+
readonly unstyled: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
|
|
52
|
+
readonly added: import("@angular/core").OutputEmitterRef<TxChipsInputEvent>;
|
|
53
|
+
readonly removed: import("@angular/core").OutputEmitterRef<TxChipsInputEvent>;
|
|
54
|
+
readonly rejected: import("@angular/core").OutputEmitterRef<TxChipsInputEvent>;
|
|
55
|
+
readonly itemTemplate: import("@angular/core").Signal<TxChipsInputItemTemplate | undefined>;
|
|
56
|
+
readonly field: import("@angular/core").Signal<ElementRef<HTMLInputElement>>;
|
|
57
|
+
readonly translations: import("@angular/core").Signal<import("@tectra-ng/core/config").TxTranslations>;
|
|
58
|
+
readonly isInvalid: import("@angular/core").Signal<boolean>;
|
|
59
|
+
readonly isUnstyled: import("@angular/core").Signal<boolean>;
|
|
60
|
+
readonly passThrough: import("@angular/core").Signal<Partial<Record<TxChipsInputPart, import("@tectra-ng/core/config").TxPassThroughPart>>>;
|
|
61
|
+
readonly text: import("@angular/core").WritableSignal<string>;
|
|
62
|
+
readonly values: import("@angular/core").Signal<string[]>;
|
|
63
|
+
readonly isFull: import("@angular/core").Signal<boolean>;
|
|
64
|
+
readonly canClear: import("@angular/core").Signal<boolean>;
|
|
65
|
+
readonly hostStyle: import("@angular/core").Signal<{
|
|
66
|
+
[x: string]: string;
|
|
67
|
+
}>;
|
|
68
|
+
writeValue(value: string[] | null): void;
|
|
69
|
+
removeLabel(item: string): string;
|
|
70
|
+
onInput(event: Event): void;
|
|
71
|
+
onPaste(event: ClipboardEvent): void;
|
|
72
|
+
onKeydown(event: KeyboardEvent): void;
|
|
73
|
+
onBlur(): void;
|
|
74
|
+
onHostClick(event: MouseEvent): void;
|
|
75
|
+
removeAt(index: number): void;
|
|
76
|
+
clear(): void;
|
|
77
|
+
private addAll;
|
|
78
|
+
private setText;
|
|
79
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TxChipsInput, never>;
|
|
80
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TxChipsInput, "tx-chips-input", never, {
|
|
81
|
+
"placeholder": {
|
|
82
|
+
"alias": "placeholder";
|
|
83
|
+
"required": false;
|
|
84
|
+
"isSignal": true;
|
|
85
|
+
};
|
|
86
|
+
"separator": {
|
|
87
|
+
"alias": "separator";
|
|
88
|
+
"required": false;
|
|
89
|
+
"isSignal": true;
|
|
90
|
+
};
|
|
91
|
+
"addOnBlur": {
|
|
92
|
+
"alias": "addOnBlur";
|
|
93
|
+
"required": false;
|
|
94
|
+
"isSignal": true;
|
|
95
|
+
};
|
|
96
|
+
"allowDuplicate": {
|
|
97
|
+
"alias": "allowDuplicate";
|
|
98
|
+
"required": false;
|
|
99
|
+
"isSignal": true;
|
|
100
|
+
};
|
|
101
|
+
"caseSensitive": {
|
|
102
|
+
"alias": "caseSensitive";
|
|
103
|
+
"required": false;
|
|
104
|
+
"isSignal": true;
|
|
105
|
+
};
|
|
106
|
+
"max": {
|
|
107
|
+
"alias": "max";
|
|
108
|
+
"required": false;
|
|
109
|
+
"isSignal": true;
|
|
110
|
+
};
|
|
111
|
+
"maxLength": {
|
|
112
|
+
"alias": "maxLength";
|
|
113
|
+
"required": false;
|
|
114
|
+
"isSignal": true;
|
|
115
|
+
};
|
|
116
|
+
"itemPattern": {
|
|
117
|
+
"alias": "itemPattern";
|
|
118
|
+
"required": false;
|
|
119
|
+
"isSignal": true;
|
|
120
|
+
};
|
|
121
|
+
"showClear": {
|
|
122
|
+
"alias": "showClear";
|
|
123
|
+
"required": false;
|
|
124
|
+
"isSignal": true;
|
|
125
|
+
};
|
|
126
|
+
"inputId": {
|
|
127
|
+
"alias": "inputId";
|
|
128
|
+
"required": false;
|
|
129
|
+
"isSignal": true;
|
|
130
|
+
};
|
|
131
|
+
"ariaLabel": {
|
|
132
|
+
"alias": "ariaLabel";
|
|
133
|
+
"required": false;
|
|
134
|
+
"isSignal": true;
|
|
135
|
+
};
|
|
136
|
+
"ariaLabelledBy": {
|
|
137
|
+
"alias": "ariaLabelledBy";
|
|
138
|
+
"required": false;
|
|
139
|
+
"isSignal": true;
|
|
140
|
+
};
|
|
141
|
+
"size": {
|
|
142
|
+
"alias": "size";
|
|
143
|
+
"required": false;
|
|
144
|
+
"isSignal": true;
|
|
145
|
+
};
|
|
146
|
+
"variant": {
|
|
147
|
+
"alias": "variant";
|
|
148
|
+
"required": false;
|
|
149
|
+
"isSignal": true;
|
|
150
|
+
};
|
|
151
|
+
"invalid": {
|
|
152
|
+
"alias": "invalid";
|
|
153
|
+
"required": false;
|
|
154
|
+
"isSignal": true;
|
|
155
|
+
};
|
|
156
|
+
"readonly": {
|
|
157
|
+
"alias": "readonly";
|
|
158
|
+
"required": false;
|
|
159
|
+
"isSignal": true;
|
|
160
|
+
};
|
|
161
|
+
"dt": {
|
|
162
|
+
"alias": "dt";
|
|
163
|
+
"required": false;
|
|
164
|
+
"isSignal": true;
|
|
165
|
+
};
|
|
166
|
+
"pt": {
|
|
167
|
+
"alias": "pt";
|
|
168
|
+
"required": false;
|
|
169
|
+
"isSignal": true;
|
|
170
|
+
};
|
|
171
|
+
"ptOptions": {
|
|
172
|
+
"alias": "ptOptions";
|
|
173
|
+
"required": false;
|
|
174
|
+
"isSignal": true;
|
|
175
|
+
};
|
|
176
|
+
"unstyled": {
|
|
177
|
+
"alias": "unstyled";
|
|
178
|
+
"required": false;
|
|
179
|
+
"isSignal": true;
|
|
180
|
+
};
|
|
181
|
+
}, {
|
|
182
|
+
"added": "added";
|
|
183
|
+
"removed": "removed";
|
|
184
|
+
"rejected": "rejected";
|
|
185
|
+
}, ["itemTemplate"], never, true, never>;
|
|
186
|
+
}
|
|
187
|
+
//# sourceMappingURL=tectra-ng-ui-chips-input.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tectra-ng-ui-chips-input.d.ts","names":[],"sources":["../../../../packages/ui/chips-input/src/chips-input.types.ts","../../../../packages/ui/chips-input/src/chips-input-item.directive.ts","../../../../packages/ui/chips-input/src/chips-input.component.ts"],"mappings":";;;;;YAAY;YACA;YACA;iBAEK;EACf;EACA;;iBAGe;EACf;EACA;;qBCPW;WACF,aAAW,YAAA;SADT,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;;qBC2CA,qBAAqB;WACvB,qCAAW;WACX,mCAAS,qBAAA;WACT,mCAAS;WACT,wCAAc;WACd,uCAAa;WACb,6BAAG;WACH,mCAAS;WACT,qCAAW,YAAA;WACX,mCAAS;WACT,iCAAO;WACP,mCAAS;WACT,wCAAc;WACd,8BAAI,YAAA;WACJ,iCAAO,YAAA;WACP,iCAAO;WACP,kCAAQ;WACR,4BAAE,YAAA;;;;;;;;;;WACF,4BAAE,YAAA,QAAA,OAAA,mDAAA,mBAAA;WACF,mCAAS,YAAA;WACT,kCAAQ;WAER,+BAAK,iBAAA;WACL,iCAAO,iBAAA;WACP,kCAAQ,iBAAA;WAER,sCAAY,OAAA;WACZ,+BAAK,OAAA,WAAA;WAEL,sCAAY,wCAAA;WACZ,mCAAS;WACT,oCAAU;WACV,qCAAW,OAAA,QAAA,OAAA,mDAAA;WACX,8BAAI;WAEJ,gCAAM;WACN,gCAAM;WACN,kCAAQ;WACR,mCAAS;;;EAET,WAAW;EAIpB,YAAY;EAIZ,QAAQ,OAAO;EAYf,QAAQ,OAAO;EASf,UAAU,OAAO;EAiBjB;EAOA,YAAY,OAAO;EAMnB,SAAS;EAWT;UAMQ;UAkBA;SAtIG,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAY;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;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;;IAAA;IAAA;IAAA"}
|
|
@@ -0,0 +1,237 @@
|
|
|
1
|
+
import { ConnectedOverlayPositionChange } from "@angular/cdk/overlay";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import { ElementRef } from "@angular/core";
|
|
4
|
+
import { TxPassThroughOptions } from "@tectra-ng/core/config";
|
|
5
|
+
import { TxFormControlBase } from "@tectra-ng/core/forms";
|
|
6
|
+
import { TxPlacement } from "@tectra-ng/core/overlay";
|
|
7
|
+
import { TectraDeepPartial } from "@tectra-ng/themes";
|
|
8
|
+
export type TxColorFormat = 'hex' | 'rgb' | 'hsb';
|
|
9
|
+
export type TxColorPickerSize = 'small' | 'medium' | 'large';
|
|
10
|
+
export type TxColorPickerPart = 'root' | 'trigger' | 'swatch' | 'panel' | 'area' | 'hue' | 'input' | 'presets' | 'preset' | 'clear';
|
|
11
|
+
export interface TxRgb {
|
|
12
|
+
r: number;
|
|
13
|
+
g: number;
|
|
14
|
+
b: number;
|
|
15
|
+
}
|
|
16
|
+
export interface TxHsb {
|
|
17
|
+
h: number;
|
|
18
|
+
s: number;
|
|
19
|
+
b: number;
|
|
20
|
+
}
|
|
21
|
+
export type TxColorValue = string | TxRgb | TxHsb;
|
|
22
|
+
export declare class TxColorPicker extends TxFormControlBase<TxColorValue> {
|
|
23
|
+
readonly format: import("@angular/core").InputSignal<TxColorFormat>;
|
|
24
|
+
readonly inline: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
25
|
+
readonly presets: import("@angular/core").InputSignal<readonly string[]>;
|
|
26
|
+
readonly showClear: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
27
|
+
readonly showInput: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
28
|
+
readonly showValue: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
29
|
+
readonly placeholder: import("@angular/core").InputSignal<string | undefined>;
|
|
30
|
+
readonly inputId: import("@angular/core").InputSignal<string | undefined>;
|
|
31
|
+
readonly ariaLabel: import("@angular/core").InputSignal<string | undefined>;
|
|
32
|
+
readonly ariaLabelledBy: import("@angular/core").InputSignal<string | undefined>;
|
|
33
|
+
readonly size: import("@angular/core").InputSignal<TxColorPickerSize>;
|
|
34
|
+
readonly invalid: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
|
|
35
|
+
readonly readonly: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
36
|
+
readonly dt: import("@angular/core").InputSignal<TectraDeepPartial<{
|
|
37
|
+
root: {
|
|
38
|
+
gap: string;
|
|
39
|
+
swatchSize: string;
|
|
40
|
+
swatchBorderRadius: string;
|
|
41
|
+
swatchRing: string;
|
|
42
|
+
};
|
|
43
|
+
panel: {
|
|
44
|
+
width: string;
|
|
45
|
+
padding: string;
|
|
46
|
+
gap: string;
|
|
47
|
+
background: string;
|
|
48
|
+
borderColor: string;
|
|
49
|
+
borderRadius: string;
|
|
50
|
+
shadow: string;
|
|
51
|
+
};
|
|
52
|
+
area: {
|
|
53
|
+
height: string;
|
|
54
|
+
borderRadius: string;
|
|
55
|
+
saturationGradient: string;
|
|
56
|
+
brightnessGradient: string;
|
|
57
|
+
};
|
|
58
|
+
hue: {
|
|
59
|
+
height: string;
|
|
60
|
+
borderRadius: string;
|
|
61
|
+
gradient: string;
|
|
62
|
+
};
|
|
63
|
+
handle: {
|
|
64
|
+
size: string;
|
|
65
|
+
borderColor: string;
|
|
66
|
+
ring: string;
|
|
67
|
+
focusRing: string;
|
|
68
|
+
};
|
|
69
|
+
preset: {
|
|
70
|
+
size: string;
|
|
71
|
+
gap: string;
|
|
72
|
+
borderRadius: string;
|
|
73
|
+
selectedRing: string;
|
|
74
|
+
};
|
|
75
|
+
}> | undefined>;
|
|
76
|
+
readonly pt: import("@angular/core").InputSignal<Partial<Record<TxColorPickerPart, import("@tectra-ng/core/config").TxPassThroughValue<TxColorPicker>>> | undefined>;
|
|
77
|
+
readonly ptOptions: import("@angular/core").InputSignal<TxPassThroughOptions | undefined>;
|
|
78
|
+
readonly unstyled: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
|
|
79
|
+
readonly changed: import("@angular/core").OutputEmitterRef<TxColorValue | null>;
|
|
80
|
+
readonly opened: import("@angular/core").OutputEmitterRef<void>;
|
|
81
|
+
readonly closed: import("@angular/core").OutputEmitterRef<void>;
|
|
82
|
+
readonly trigger: import("@angular/core").Signal<ElementRef<HTMLButtonElement> | undefined>;
|
|
83
|
+
readonly area: import("@angular/core").Signal<ElementRef<HTMLElement> | undefined>;
|
|
84
|
+
readonly panel: import("@angular/core").Signal<ElementRef<HTMLElement> | undefined>;
|
|
85
|
+
private injector;
|
|
86
|
+
private host;
|
|
87
|
+
private overlayInsets;
|
|
88
|
+
private readonly connectedOverlay;
|
|
89
|
+
private readonly followOrigin;
|
|
90
|
+
readonly translations: import("@angular/core").Signal<import("@tectra-ng/core/config").TxTranslations>;
|
|
91
|
+
readonly isInvalid: import("@angular/core").Signal<boolean>;
|
|
92
|
+
readonly isUnstyled: import("@angular/core").Signal<boolean>;
|
|
93
|
+
readonly passThrough: import("@angular/core").Signal<Partial<Record<TxColorPickerPart, import("@tectra-ng/core/config").TxPassThroughPart>>>;
|
|
94
|
+
readonly positions: import("@angular/cdk/overlay").ConnectedPosition[];
|
|
95
|
+
readonly scrollStrategy: import("@angular/cdk/overlay").ScrollStrategy;
|
|
96
|
+
readonly panelId: string;
|
|
97
|
+
readonly valueId: string;
|
|
98
|
+
readonly hsb: import("@angular/core").WritableSignal<TxHsb>;
|
|
99
|
+
readonly hasColor: import("@angular/core").WritableSignal<boolean>;
|
|
100
|
+
readonly isOpen: import("@angular/core").WritableSignal<boolean>;
|
|
101
|
+
readonly isPanelMounted: import("@angular/core").WritableSignal<boolean>;
|
|
102
|
+
readonly placement: import("@angular/core").WritableSignal<TxPlacement>;
|
|
103
|
+
readonly draft: import("@angular/core").WritableSignal<string | null>;
|
|
104
|
+
private readonly exact;
|
|
105
|
+
private hasEntered;
|
|
106
|
+
readonly hex: import("@angular/core").Signal<string>;
|
|
107
|
+
readonly hueColor: import("@angular/core").Signal<string>;
|
|
108
|
+
readonly areaText: import("@angular/core").Signal<string>;
|
|
109
|
+
readonly triggerText: import("@angular/core").Signal<string>;
|
|
110
|
+
readonly triggerLabel: import("@angular/core").Signal<string | null>;
|
|
111
|
+
readonly editable: import("@angular/core").Signal<boolean>;
|
|
112
|
+
readonly hostStyle: import("@angular/core").Signal<{
|
|
113
|
+
[x: string]: string;
|
|
114
|
+
}>;
|
|
115
|
+
readonly panelStyle: import("@angular/core").Signal<{
|
|
116
|
+
[x: string]: string;
|
|
117
|
+
}>;
|
|
118
|
+
writeValue(value: TxColorValue | null): void;
|
|
119
|
+
open(): void;
|
|
120
|
+
close(focusTrigger?: boolean): void;
|
|
121
|
+
toggle(): void;
|
|
122
|
+
onAttach(): void;
|
|
123
|
+
onPositionChange(change: ConnectedOverlayPositionChange): void;
|
|
124
|
+
onOutsideClick(event: MouseEvent): void;
|
|
125
|
+
onPanelKeydown(event: KeyboardEvent): void;
|
|
126
|
+
onPanelFocusOut(event: FocusEvent): void;
|
|
127
|
+
onAreaPointer(event: PointerEvent): void;
|
|
128
|
+
onHuePointer(event: PointerEvent): void;
|
|
129
|
+
onAreaKeydown(event: KeyboardEvent): void;
|
|
130
|
+
onHueKeydown(event: KeyboardEvent): void;
|
|
131
|
+
onHexInput(event: Event): void;
|
|
132
|
+
onHexBlur(): void;
|
|
133
|
+
pickPreset(color: string): void;
|
|
134
|
+
isPreset(color: string): boolean;
|
|
135
|
+
clear(): void;
|
|
136
|
+
private applyKey;
|
|
137
|
+
private commit;
|
|
138
|
+
private toValue;
|
|
139
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TxColorPicker, never>;
|
|
140
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TxColorPicker, "tx-color-picker", never, {
|
|
141
|
+
"format": {
|
|
142
|
+
"alias": "format";
|
|
143
|
+
"required": false;
|
|
144
|
+
"isSignal": true;
|
|
145
|
+
};
|
|
146
|
+
"inline": {
|
|
147
|
+
"alias": "inline";
|
|
148
|
+
"required": false;
|
|
149
|
+
"isSignal": true;
|
|
150
|
+
};
|
|
151
|
+
"presets": {
|
|
152
|
+
"alias": "presets";
|
|
153
|
+
"required": false;
|
|
154
|
+
"isSignal": true;
|
|
155
|
+
};
|
|
156
|
+
"showClear": {
|
|
157
|
+
"alias": "showClear";
|
|
158
|
+
"required": false;
|
|
159
|
+
"isSignal": true;
|
|
160
|
+
};
|
|
161
|
+
"showInput": {
|
|
162
|
+
"alias": "showInput";
|
|
163
|
+
"required": false;
|
|
164
|
+
"isSignal": true;
|
|
165
|
+
};
|
|
166
|
+
"showValue": {
|
|
167
|
+
"alias": "showValue";
|
|
168
|
+
"required": false;
|
|
169
|
+
"isSignal": true;
|
|
170
|
+
};
|
|
171
|
+
"placeholder": {
|
|
172
|
+
"alias": "placeholder";
|
|
173
|
+
"required": false;
|
|
174
|
+
"isSignal": true;
|
|
175
|
+
};
|
|
176
|
+
"inputId": {
|
|
177
|
+
"alias": "inputId";
|
|
178
|
+
"required": false;
|
|
179
|
+
"isSignal": true;
|
|
180
|
+
};
|
|
181
|
+
"ariaLabel": {
|
|
182
|
+
"alias": "ariaLabel";
|
|
183
|
+
"required": false;
|
|
184
|
+
"isSignal": true;
|
|
185
|
+
};
|
|
186
|
+
"ariaLabelledBy": {
|
|
187
|
+
"alias": "ariaLabelledBy";
|
|
188
|
+
"required": false;
|
|
189
|
+
"isSignal": true;
|
|
190
|
+
};
|
|
191
|
+
"size": {
|
|
192
|
+
"alias": "size";
|
|
193
|
+
"required": false;
|
|
194
|
+
"isSignal": true;
|
|
195
|
+
};
|
|
196
|
+
"invalid": {
|
|
197
|
+
"alias": "invalid";
|
|
198
|
+
"required": false;
|
|
199
|
+
"isSignal": true;
|
|
200
|
+
};
|
|
201
|
+
"readonly": {
|
|
202
|
+
"alias": "readonly";
|
|
203
|
+
"required": false;
|
|
204
|
+
"isSignal": true;
|
|
205
|
+
};
|
|
206
|
+
"dt": {
|
|
207
|
+
"alias": "dt";
|
|
208
|
+
"required": false;
|
|
209
|
+
"isSignal": true;
|
|
210
|
+
};
|
|
211
|
+
"pt": {
|
|
212
|
+
"alias": "pt";
|
|
213
|
+
"required": false;
|
|
214
|
+
"isSignal": true;
|
|
215
|
+
};
|
|
216
|
+
"ptOptions": {
|
|
217
|
+
"alias": "ptOptions";
|
|
218
|
+
"required": false;
|
|
219
|
+
"isSignal": true;
|
|
220
|
+
};
|
|
221
|
+
"unstyled": {
|
|
222
|
+
"alias": "unstyled";
|
|
223
|
+
"required": false;
|
|
224
|
+
"isSignal": true;
|
|
225
|
+
};
|
|
226
|
+
}, {
|
|
227
|
+
"changed": "changed";
|
|
228
|
+
"opened": "opened";
|
|
229
|
+
"closed": "closed";
|
|
230
|
+
}, never, never, true, never>;
|
|
231
|
+
}
|
|
232
|
+
export declare function parseHex(text: string): TxRgb | null;
|
|
233
|
+
export declare function rgbToHex({ r, g, b }: TxRgb): string;
|
|
234
|
+
export declare function rgbToHsb({ r, g, b }: TxRgb): TxHsb;
|
|
235
|
+
export declare function hsbToRgb({ h, s, b }: TxHsb): TxRgb;
|
|
236
|
+
export declare function toHsb(value: unknown): TxHsb | null;
|
|
237
|
+
//# sourceMappingURL=tectra-ng-ui-color-picker.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tectra-ng-ui-color-picker.d.ts","names":[],"sources":["../../../../packages/ui/color-picker/src/color-picker.types.ts","../../../../packages/ui/color-picker/src/color-picker.component.ts","../../../../packages/ui/color-picker/src/color.ts"],"mappings":";;;;;;;YAAY;YACA;YACA;iBAEK;EACf;EACA;EACA;;iBAGe;EACf;EACA;EACA;;YAGU,wBAAwB,QAAQ;qBCoC/B,sBAAsB,kBAAkB;WAC1C,gCAAM,YAAA;WACN,gCAAM;WACN,iCAAO;WACP,mCAAS;WACT,mCAAS;WACT,mCAAS;WACT,qCAAW;WACX,iCAAO;WACP,mCAAS;WACT,wCAAc;WACd,8BAAI,YAAA;WACJ,iCAAO;WACP,kCAAQ;WACR,4BAAE,YAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WACF,4BAAE,YAAA,QAAA,OAAA,oDAAA,mBAAA;WACF,mCAAS,YAAA;WACT,kCAAQ;WAER,iCAAO,iBAAA;WACP,gCAAM;WACN,gCAAM;WAEN,iCAAO,OAAA,WAAA;WACP,8BAAI,OAAA,WAAA;WACJ,+BAAK,OAAA,WAAA;UAEN;UACA;UACA;mBACS;mBACA;WAWR,sCAAY,wCAAA;WACZ,mCAAS;WACT,oCAAU;WACV,qCAAW,OAAA,QAAA,OAAA,oDAAA;WACX,0CAAS;WACT,+CAAc;WACd;WACA;WAEA,6BAAG,eAAA;WACH,kCAAQ;WACR,gCAAM;WACN,wCAAc;WACd,mCAAS,eAAA;WACT,+BAAK;mBACG;UACT;WAEC,6BAAG;WACH,kCAAQ;WACR,kCAAQ;WAKR,qCAAW;WACX,sCAAY;WAOZ,kCAAQ;WACR,mCAAS;;;WACT,oCAAU;;;EAEV,WAAW,OAAO;EAY3B;EAUA,MAAM;EAkBN;EAQA;EAIA,iBAAiB,QAAQ;EASzB,eAAe,OAAO;EAMtB,eAAe,OAAO;EAOtB,gBAAgB,OAAO;EAOvB,cAAc,OAAO;EAerB,aAAa,OAAO;EAapB,cAAc,OAAO;EAgBrB,aAAa,OAAO;EAgBpB,WAAW,OAAO;EASlB;EAIA,WAAW;EAOX,SAAS;EAKT;UAQQ;UASA;UAYA;SAlRG,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;;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;IAAA;;;wBC9CV,SAAS,eAAe;wBASxB,WAAW,GAAG,GAAG,KAAK;wBAItB,WAAW,GAAG,GAAG,KAAK,QAAQ;wBAiB9B,WAAW,GAAG,GAAG,KAAK,QAAQ;wBAU9B,MAAM,iBAAiB"}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { TxOverlayRef, TxPlacement } from "@tectra-ng/core/overlay";
|
|
2
|
+
import { TectraConfirmTokens, TectraDeepPartial } from "@tectra-ng/themes";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import { InjectionToken, Signal, WritableSignal } from "@angular/core";
|
|
5
|
+
export type TxConfirmSeverity = 'primary' | 'info' | 'success' | 'warn' | 'danger';
|
|
6
|
+
export type TxConfirmFocus = 'accept' | 'reject';
|
|
7
|
+
export interface TxConfirmOptions {
|
|
8
|
+
title?: string;
|
|
9
|
+
message?: string;
|
|
10
|
+
icon?: string | false;
|
|
11
|
+
severity?: TxConfirmSeverity;
|
|
12
|
+
acceptLabel?: string;
|
|
13
|
+
rejectLabel?: string;
|
|
14
|
+
acceptIcon?: string;
|
|
15
|
+
defaultFocus?: TxConfirmFocus;
|
|
16
|
+
accept?: () => unknown;
|
|
17
|
+
placement?: TxPlacement;
|
|
18
|
+
dt?: TectraDeepPartial<TectraConfirmTokens>;
|
|
19
|
+
}
|
|
20
|
+
export interface TxConfirmState {
|
|
21
|
+
options: TxConfirmOptions;
|
|
22
|
+
messageId: string;
|
|
23
|
+
busy: boolean;
|
|
24
|
+
}
|
|
25
|
+
interface TxConfirmView {
|
|
26
|
+
severity: TxConfirmSeverity;
|
|
27
|
+
icon: string | null;
|
|
28
|
+
title: Signal<string>;
|
|
29
|
+
message: string | undefined;
|
|
30
|
+
acceptLabel: Signal<string>;
|
|
31
|
+
rejectLabel: Signal<string>;
|
|
32
|
+
acceptIcon: string | undefined;
|
|
33
|
+
style: Record<string, string>;
|
|
34
|
+
busy: WritableSignal<boolean>;
|
|
35
|
+
accept(finish: (accepted: boolean) => void): Promise<void>;
|
|
36
|
+
}
|
|
37
|
+
declare function confirmView(state: TxConfirmState): TxConfirmView;
|
|
38
|
+
export declare class TxConfirmDialog {
|
|
39
|
+
private ref;
|
|
40
|
+
readonly state: TxConfirmState;
|
|
41
|
+
readonly view: TxConfirmView;
|
|
42
|
+
readonly finish: (accepted: boolean) => undefined;
|
|
43
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TxConfirmDialog, never>;
|
|
44
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TxConfirmDialog, "tx-confirm-dialog", never, {}, {}, never, never, true, never>;
|
|
45
|
+
}
|
|
46
|
+
export interface TxConfirmPopupData {
|
|
47
|
+
state: TxConfirmState;
|
|
48
|
+
ref: Signal<TxOverlayRef | null>;
|
|
49
|
+
originSize: {
|
|
50
|
+
width: number;
|
|
51
|
+
height: number;
|
|
52
|
+
};
|
|
53
|
+
finish: (accepted: boolean) => void;
|
|
54
|
+
}
|
|
55
|
+
export declare const TX_CONFIRM_POPUP: InjectionToken<TxConfirmPopupData>;
|
|
56
|
+
export declare class TxConfirmPopup {
|
|
57
|
+
readonly data: TxConfirmPopupData;
|
|
58
|
+
readonly view: TxConfirmView;
|
|
59
|
+
readonly placement: Signal<TxPlacement>;
|
|
60
|
+
readonly side: Signal<import("@tectra-ng/core/overlay").TxPlacementSide>;
|
|
61
|
+
readonly arrowOffset: Signal<string>;
|
|
62
|
+
readonly hostStyle: Signal<{
|
|
63
|
+
'--tx-confirm-arrow-offset': string;
|
|
64
|
+
}>;
|
|
65
|
+
constructor();
|
|
66
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TxConfirmPopup, never>;
|
|
67
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TxConfirmPopup, "tx-confirm-popup", never, {}, {}, never, never, true, never>;
|
|
68
|
+
}
|
|
69
|
+
export declare class TxConfirmService {
|
|
70
|
+
private dialogs;
|
|
71
|
+
private overlay;
|
|
72
|
+
private injector;
|
|
73
|
+
dialog(options?: TxConfirmOptions): Promise<boolean>;
|
|
74
|
+
popup(target: Element | Event, options?: TxConfirmOptions): Promise<boolean>;
|
|
75
|
+
private state;
|
|
76
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TxConfirmService, never>;
|
|
77
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
78
|
+
}
|
|
79
|
+
export {};
|
|
80
|
+
//# sourceMappingURL=tectra-ng-ui-confirm.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tectra-ng-ui-confirm.d.ts","names":[],"sources":["../../../../packages/ui/confirm/src/confirm.types.ts","../../../../packages/ui/confirm/src/confirm-content.ts","../../../../packages/ui/confirm/src/confirm-dialog.component.ts","../../../../packages/ui/confirm/src/confirm-popup.component.ts","../../../../packages/ui/confirm/src/confirm.service.ts"],"mappings":";;;;YAGY;YACA;iBAEK;EACf;EACA;EACA;EACA,WAAW;EACX;EACA;EACA;EACA,eAAe;EACf;EACA,YAAY;EACZ,KAAK,kBAAkB;;iBAGR;EACf,SAAS;EACT;EACA;;UCVe;EACf,UAAU;EACV;EACA,OAAO;EACP;EACA,aAAa;EACb,aAAa;EACb;EACA,OAAO;EACP,MAAM;EACN,OAAO,SAAS,6BAA6B;;iBAG/B,YAAY,OAAO,iBAAiB;qBCevC;UACH;WACC,OAAK;WACL,MADK;WAEL,SAAU;SAJR,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;;iBCjCI;EACf,OAAO;EACP,KAAK,OAAO;EACZ;IAAc;IAAe;;EAC7B,SAAS;;qBAGE,kBAAgB,eAAA;qBAyDhB;WACF,MAAI;WACJ,MADI;WAEJ,WAAS,OAAA;WACT,MAAI,yCAAA;WACJ,aAAW;WACX,WAAS;;;;SANP,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;;qBC9DA;UACH;UACA;UACA;EAER,OAAO,UAAS,mBAAwB;EAYxC,MAAM,QAAQ,UAAU,OAAO,UAAS,mBAAwB;UA2BxD;SA5CG,MAAA,GAAA,qBAAA"}
|