@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,18 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class TxInputGroup {
|
|
3
|
+
readonly fluid: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
|
|
4
|
+
readonly isFluid: import("@angular/core").Signal<boolean>;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TxInputGroup, never>;
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TxInputGroup, "tx-input-group", never, {
|
|
7
|
+
"fluid": {
|
|
8
|
+
"alias": "fluid";
|
|
9
|
+
"required": false;
|
|
10
|
+
"isSignal": true;
|
|
11
|
+
};
|
|
12
|
+
}, {}, never, ["*"], true, never>;
|
|
13
|
+
}
|
|
14
|
+
export declare class TxInputGroupAddon {
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TxInputGroupAddon, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TxInputGroupAddon, "tx-input-group-addon", never, {}, {}, never, ["*"], true, never>;
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=tectra-ng-ui-input-group.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tectra-ng-ui-input-group.d.ts","names":[],"sources":["../../../../packages/ui/input-group/src/input-group.component.ts","../../../../packages/ui/input-group/src/input-group-addon.component.ts"],"mappings":";qBAWa;WACF,+BAAK;WACL,iCAAO;SAFL,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAY;MAAA;MAAA;MAAA;;;;qBCFZ;SAAA,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA"}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { ControlValueAccessor } from "@angular/forms";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export interface TxMaskSlot {
|
|
4
|
+
readonly test: RegExp | null;
|
|
5
|
+
readonly literal: string;
|
|
6
|
+
readonly optional: boolean;
|
|
7
|
+
}
|
|
8
|
+
export type TxMaskValues = (string | null)[];
|
|
9
|
+
export interface TxMaskEdit {
|
|
10
|
+
readonly values: TxMaskValues;
|
|
11
|
+
readonly caret: number;
|
|
12
|
+
}
|
|
13
|
+
export declare function parseMask(mask: string, characterPattern?: string): TxMaskSlot[];
|
|
14
|
+
export declare function emptyValues(slots: TxMaskSlot[]): TxMaskValues;
|
|
15
|
+
export declare function nextSlot(slots: TxMaskSlot[], from: number): number;
|
|
16
|
+
export declare function previousSlot(slots: TxMaskSlot[], before: number): number;
|
|
17
|
+
export declare function placeFrom(slots: TxMaskSlot[], values: TxMaskValues, from: number, chars: string[]): {
|
|
18
|
+
values: TxMaskValues;
|
|
19
|
+
last: number;
|
|
20
|
+
};
|
|
21
|
+
export declare function remove(slots: TxMaskSlot[], values: TxMaskValues, start: number, end: number): TxMaskValues;
|
|
22
|
+
export declare function insert(slots: TxMaskSlot[], values: TxMaskValues, start: number, end: number, text: string): TxMaskEdit;
|
|
23
|
+
export declare function deleteBackward(slots: TxMaskSlot[], values: TxMaskValues, caret: number): TxMaskEdit;
|
|
24
|
+
export declare function deleteForward(slots: TxMaskSlot[], values: TxMaskValues, caret: number): TxMaskEdit;
|
|
25
|
+
export declare function fromText(slots: TxMaskSlot[], text: string, unmasked: boolean): TxMaskValues;
|
|
26
|
+
export declare function render(slots: TxMaskSlot[], values: TxMaskValues, slotChar: string): string;
|
|
27
|
+
export declare function renderFilled(slots: TxMaskSlot[], values: TxMaskValues, slotChar: string): string;
|
|
28
|
+
export declare function unmaskedValue(slots: TxMaskSlot[], values: TxMaskValues): string;
|
|
29
|
+
export declare function lastFilled(slots: TxMaskSlot[], values: TxMaskValues): number;
|
|
30
|
+
export declare function isComplete(slots: TxMaskSlot[], values: TxMaskValues): boolean;
|
|
31
|
+
export declare class TxInputMask implements ControlValueAccessor {
|
|
32
|
+
private element;
|
|
33
|
+
private values;
|
|
34
|
+
private onChange;
|
|
35
|
+
private onTouched;
|
|
36
|
+
private lastEmitted;
|
|
37
|
+
readonly mask: import("@angular/core").InputSignal<string>;
|
|
38
|
+
readonly slotChar: import("@angular/core").InputSignal<string>;
|
|
39
|
+
readonly autoClear: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
40
|
+
readonly unmask: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
41
|
+
readonly characterPattern: import("@angular/core").InputSignal<string>;
|
|
42
|
+
readonly completed: import("@angular/core").OutputEmitterRef<string>;
|
|
43
|
+
readonly slots: import("@angular/core").Signal<import("@tectra-ng/ui/input-mask").TxMaskSlot[]>;
|
|
44
|
+
constructor();
|
|
45
|
+
writeValue(value: string | null): void;
|
|
46
|
+
registerOnChange(fn: (value: string) => void): void;
|
|
47
|
+
registerOnTouched(fn: () => void): void;
|
|
48
|
+
setDisabledState(isDisabled: boolean): void;
|
|
49
|
+
onBeforeInput(event: InputEvent): void;
|
|
50
|
+
onInput(): void;
|
|
51
|
+
onFocus(): void;
|
|
52
|
+
onClick(): void;
|
|
53
|
+
onBlur(): void;
|
|
54
|
+
private firstEmpty;
|
|
55
|
+
private apply;
|
|
56
|
+
private paint;
|
|
57
|
+
private modelValue;
|
|
58
|
+
private emit;
|
|
59
|
+
private caret;
|
|
60
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TxInputMask, never>;
|
|
61
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TxInputMask, "input[txInputMask]", never, {
|
|
62
|
+
"mask": {
|
|
63
|
+
"alias": "txInputMask";
|
|
64
|
+
"required": true;
|
|
65
|
+
"isSignal": true;
|
|
66
|
+
};
|
|
67
|
+
"slotChar": {
|
|
68
|
+
"alias": "slotChar";
|
|
69
|
+
"required": false;
|
|
70
|
+
"isSignal": true;
|
|
71
|
+
};
|
|
72
|
+
"autoClear": {
|
|
73
|
+
"alias": "autoClear";
|
|
74
|
+
"required": false;
|
|
75
|
+
"isSignal": true;
|
|
76
|
+
};
|
|
77
|
+
"unmask": {
|
|
78
|
+
"alias": "unmask";
|
|
79
|
+
"required": false;
|
|
80
|
+
"isSignal": true;
|
|
81
|
+
};
|
|
82
|
+
"characterPattern": {
|
|
83
|
+
"alias": "characterPattern";
|
|
84
|
+
"required": false;
|
|
85
|
+
"isSignal": true;
|
|
86
|
+
};
|
|
87
|
+
}, {
|
|
88
|
+
"completed": "completed";
|
|
89
|
+
}, never, never, true, never>;
|
|
90
|
+
}
|
|
91
|
+
//# sourceMappingURL=tectra-ng-ui-input-mask.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tectra-ng-ui-input-mask.d.ts","names":[],"sources":["../../../../packages/ui/input-mask/src/mask-engine.ts","../../../../packages/ui/input-mask/src/input-mask.directive.ts"],"mappings":";;iBAAiB;WACN,MAAM;WACN;WACA;;YAGC;iBAEK;WACN,QAAQ;WACR;;wBAKK,UAAU,cAAc,4BAAgC;wBAcxD,YAAY,OAAO,eAAe;wBAIlC,SAAS,OAAO,cAAc;wBAQ9B,aAAa,OAAO,cAAc;wBAQlC,UAAU,OAAO,cAAc,QAAQ,cAAc,cAAc;EAAoB,QAAQ;EAAc;;wBAiB7G,OAAO,OAAO,cAAc,QAAQ,cAAc,eAAe,cAAc;wBAM/E,OAAO,OAAO,cAAc,QAAQ,cAAc,eAAe,aAAa,eAAe;wBAa7F,eAAe,OAAO,cAAc,QAAQ,cAAc,gBAAgB;wBAK1E,cAAc,OAAO,cAAc,QAAQ,cAAc,gBAAgB;wBAKzE,SAAS,OAAO,cAAc,cAAc,oBAAoB;wBAwBhE,OAAO,OAAO,cAAc,QAAQ,cAAc;wBAKlD,aAAa,OAAO,cAAc,QAAQ,cAAc;wBAKxD,cAAc,OAAO,cAAc,QAAQ;wBAI3C,WAAW,OAAO,cAAc,QAAQ;wBASxC,WAAW,OAAO,cAAc,QAAQ;qBC7G3C,uBAAuB;UAC1B;UACA;UACA;UACA;UACA;WAEC,8BAAI;WACJ,kCAAQ;WACR,mCAAS;WACT,gCAAM;WACN,0CAAgB;WAEhB,mCAAS;WAET,+BAAK,0CAAA;;EAUd,WAAW;EAMX,iBAAiB,KAAK;EAItB,kBAAkB;EAIlB,iBAAiB;EAIjB,cAAc,OAAO;EAoCrB;EAOA;EAKA;EAOA;UASQ;UAKA;UAOA;UAOA;UAQA;UAWA;SAjJG,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAW;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;;IAAA"}
|
|
@@ -0,0 +1,326 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import { ElementRef } from "@angular/core";
|
|
3
|
+
import { TxPassThroughOptions } from "@tectra-ng/core/config";
|
|
4
|
+
import { TxFormControlBase } from "@tectra-ng/core/forms";
|
|
5
|
+
import { TxIconName } from "@tectra-ng/icons";
|
|
6
|
+
import { TectraDeepPartial } from "@tectra-ng/themes";
|
|
7
|
+
export type TxInputNumberMode = 'decimal' | 'currency';
|
|
8
|
+
export type TxInputNumberButtonLayout = 'stacked' | 'horizontal' | 'vertical';
|
|
9
|
+
export type TxInputNumberSize = 'small' | 'medium' | 'large';
|
|
10
|
+
export type TxInputNumberVariant = 'outlined' | 'filled';
|
|
11
|
+
export type TxInputNumberCurrencyDisplay = 'symbol' | 'narrowSymbol' | 'code' | 'name';
|
|
12
|
+
export type TxInputNumberPart = 'root' | 'input' | 'increment' | 'decrement' | 'clear';
|
|
13
|
+
export interface TxInputNumberChangeEvent {
|
|
14
|
+
value: number | null;
|
|
15
|
+
originalEvent: Event;
|
|
16
|
+
}
|
|
17
|
+
export interface TxNumberFormatOptions {
|
|
18
|
+
locale: string;
|
|
19
|
+
mode: 'decimal' | 'currency';
|
|
20
|
+
currency?: string;
|
|
21
|
+
currencyDisplay?: 'symbol' | 'narrowSymbol' | 'code' | 'name';
|
|
22
|
+
useGrouping: boolean;
|
|
23
|
+
minFractionDigits?: number;
|
|
24
|
+
maxFractionDigits?: number;
|
|
25
|
+
prefix?: string;
|
|
26
|
+
suffix?: string;
|
|
27
|
+
}
|
|
28
|
+
export declare class TxNumberFormat {
|
|
29
|
+
readonly decimal: string;
|
|
30
|
+
readonly group: string;
|
|
31
|
+
readonly before: string;
|
|
32
|
+
readonly after: string;
|
|
33
|
+
readonly maxFraction: number;
|
|
34
|
+
private full;
|
|
35
|
+
private integer;
|
|
36
|
+
constructor(options: TxNumberFormatOptions);
|
|
37
|
+
format(value: number | null): string;
|
|
38
|
+
formatTyping(text: string): {
|
|
39
|
+
display: string;
|
|
40
|
+
value: number | null;
|
|
41
|
+
};
|
|
42
|
+
parse(text: string): number | null;
|
|
43
|
+
countBefore(text: string, caret: number): number;
|
|
44
|
+
caretFor(display: string, count: number): number;
|
|
45
|
+
private read;
|
|
46
|
+
private strip;
|
|
47
|
+
private isDecimal;
|
|
48
|
+
}
|
|
49
|
+
export declare class TxInputNumber extends TxFormControlBase<number> {
|
|
50
|
+
private txIconRegistry;
|
|
51
|
+
private localeService;
|
|
52
|
+
private generatedId;
|
|
53
|
+
private repeatTimer;
|
|
54
|
+
readonly mode: import("@angular/core").InputSignal<TxInputNumberMode>;
|
|
55
|
+
readonly currency: import("@angular/core").InputSignal<string | undefined>;
|
|
56
|
+
readonly currencyDisplay: import("@angular/core").InputSignal<TxInputNumberCurrencyDisplay>;
|
|
57
|
+
readonly locale: import("@angular/core").InputSignal<string | undefined>;
|
|
58
|
+
readonly useGrouping: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
59
|
+
readonly minFractionDigits: import("@angular/core").InputSignalWithTransform<number | undefined, unknown>;
|
|
60
|
+
readonly maxFractionDigits: import("@angular/core").InputSignalWithTransform<number | undefined, unknown>;
|
|
61
|
+
readonly prefix: import("@angular/core").InputSignal<string | undefined>;
|
|
62
|
+
readonly suffix: import("@angular/core").InputSignal<string | undefined>;
|
|
63
|
+
readonly min: import("@angular/core").InputSignalWithTransform<number | undefined, unknown>;
|
|
64
|
+
readonly max: import("@angular/core").InputSignalWithTransform<number | undefined, unknown>;
|
|
65
|
+
readonly step: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
66
|
+
readonly showButtons: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
67
|
+
readonly buttonLayout: import("@angular/core").InputSignal<TxInputNumberButtonLayout>;
|
|
68
|
+
readonly incrementIcon: import("@angular/core").InputSignal<TxIconName | (string & {}) | undefined>;
|
|
69
|
+
readonly decrementIcon: import("@angular/core").InputSignal<TxIconName | (string & {}) | undefined>;
|
|
70
|
+
readonly allowEmpty: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
71
|
+
readonly showClear: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
72
|
+
readonly placeholder: import("@angular/core").InputSignal<string | undefined>;
|
|
73
|
+
readonly size: import("@angular/core").InputSignal<TxInputNumberSize>;
|
|
74
|
+
readonly variant: import("@angular/core").InputSignal<TxInputNumberVariant>;
|
|
75
|
+
readonly fluid: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
|
|
76
|
+
readonly invalid: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
|
|
77
|
+
readonly disabledInput: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
78
|
+
readonly readonly: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
79
|
+
readonly required: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
80
|
+
readonly name: import("@angular/core").InputSignal<string | undefined>;
|
|
81
|
+
readonly inputId: import("@angular/core").InputSignal<string | undefined>;
|
|
82
|
+
readonly ariaLabel: import("@angular/core").InputSignal<string | undefined>;
|
|
83
|
+
readonly ariaLabelledBy: import("@angular/core").InputSignal<string | undefined>;
|
|
84
|
+
readonly tabindex: import("@angular/core").InputSignalWithTransform<number | undefined, unknown>;
|
|
85
|
+
readonly dt: import("@angular/core").InputSignal<TectraDeepPartial<{
|
|
86
|
+
button: {
|
|
87
|
+
width: string;
|
|
88
|
+
stackedWidth: string;
|
|
89
|
+
background: string;
|
|
90
|
+
hoverBackground: string;
|
|
91
|
+
activeBackground: string;
|
|
92
|
+
color: string;
|
|
93
|
+
hoverColor: string;
|
|
94
|
+
borderColor: string;
|
|
95
|
+
iconSize: string;
|
|
96
|
+
};
|
|
97
|
+
}> | undefined>;
|
|
98
|
+
readonly pt: import("@angular/core").InputSignal<Partial<Record<TxInputNumberPart, import("@tectra-ng/core/config").TxPassThroughValue<TxInputNumber>>> | undefined>;
|
|
99
|
+
readonly ptOptions: import("@angular/core").InputSignal<TxPassThroughOptions | undefined>;
|
|
100
|
+
readonly unstyled: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
|
|
101
|
+
readonly changed: import("@angular/core").OutputEmitterRef<TxInputNumberChangeEvent>;
|
|
102
|
+
readonly cleared: import("@angular/core").OutputEmitterRef<void>;
|
|
103
|
+
readonly inputRef: import("@angular/core").Signal<ElementRef<HTMLInputElement>>;
|
|
104
|
+
readonly translations: import("@angular/core").Signal<import("@tectra-ng/core/config").TxTranslations>;
|
|
105
|
+
readonly isUnstyled: import("@angular/core").Signal<boolean>;
|
|
106
|
+
readonly isFluid: import("@angular/core").Signal<boolean>;
|
|
107
|
+
readonly isInvalid: import("@angular/core").Signal<boolean>;
|
|
108
|
+
readonly passThrough: import("@angular/core").Signal<Partial<Record<TxInputNumberPart, import("@tectra-ng/core/config").TxPassThroughPart>>>;
|
|
109
|
+
readonly isFocused: import("@angular/core").WritableSignal<boolean>;
|
|
110
|
+
readonly resolvedId: import("@angular/core").Signal<string>;
|
|
111
|
+
readonly isDisabled: import("@angular/core").Signal<boolean>;
|
|
112
|
+
readonly isEditable: import("@angular/core").Signal<boolean>;
|
|
113
|
+
readonly format: import("@angular/core").Signal<TxNumberFormat>;
|
|
114
|
+
readonly canIncrement: import("@angular/core").Signal<boolean>;
|
|
115
|
+
readonly canDecrement: import("@angular/core").Signal<boolean>;
|
|
116
|
+
readonly incrementIconName: import("@angular/core").Signal<{
|
|
117
|
+
name: string | null;
|
|
118
|
+
className: string | null;
|
|
119
|
+
}>;
|
|
120
|
+
readonly decrementIconName: import("@angular/core").Signal<{
|
|
121
|
+
name: string | null;
|
|
122
|
+
className: string | null;
|
|
123
|
+
}>;
|
|
124
|
+
readonly hostStyle: import("@angular/core").Signal<{
|
|
125
|
+
[x: string]: string;
|
|
126
|
+
}>;
|
|
127
|
+
constructor();
|
|
128
|
+
writeValue(value: number | null): void;
|
|
129
|
+
focus(): void;
|
|
130
|
+
onInput(event: Event): void;
|
|
131
|
+
onKeydown(event: KeyboardEvent): void;
|
|
132
|
+
onFocus(): void;
|
|
133
|
+
onBlur(event: Event): void;
|
|
134
|
+
startRepeat(direction: 1 | -1, event: PointerEvent): void;
|
|
135
|
+
stopRepeat(): void;
|
|
136
|
+
clear(event: Event): void;
|
|
137
|
+
private spin;
|
|
138
|
+
private finish;
|
|
139
|
+
private commit;
|
|
140
|
+
private clamp;
|
|
141
|
+
private allowsNegative;
|
|
142
|
+
private paint;
|
|
143
|
+
private iconName;
|
|
144
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TxInputNumber, never>;
|
|
145
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TxInputNumber, "tx-input-number", never, {
|
|
146
|
+
"mode": {
|
|
147
|
+
"alias": "mode";
|
|
148
|
+
"required": false;
|
|
149
|
+
"isSignal": true;
|
|
150
|
+
};
|
|
151
|
+
"currency": {
|
|
152
|
+
"alias": "currency";
|
|
153
|
+
"required": false;
|
|
154
|
+
"isSignal": true;
|
|
155
|
+
};
|
|
156
|
+
"currencyDisplay": {
|
|
157
|
+
"alias": "currencyDisplay";
|
|
158
|
+
"required": false;
|
|
159
|
+
"isSignal": true;
|
|
160
|
+
};
|
|
161
|
+
"locale": {
|
|
162
|
+
"alias": "locale";
|
|
163
|
+
"required": false;
|
|
164
|
+
"isSignal": true;
|
|
165
|
+
};
|
|
166
|
+
"useGrouping": {
|
|
167
|
+
"alias": "useGrouping";
|
|
168
|
+
"required": false;
|
|
169
|
+
"isSignal": true;
|
|
170
|
+
};
|
|
171
|
+
"minFractionDigits": {
|
|
172
|
+
"alias": "minFractionDigits";
|
|
173
|
+
"required": false;
|
|
174
|
+
"isSignal": true;
|
|
175
|
+
};
|
|
176
|
+
"maxFractionDigits": {
|
|
177
|
+
"alias": "maxFractionDigits";
|
|
178
|
+
"required": false;
|
|
179
|
+
"isSignal": true;
|
|
180
|
+
};
|
|
181
|
+
"prefix": {
|
|
182
|
+
"alias": "prefix";
|
|
183
|
+
"required": false;
|
|
184
|
+
"isSignal": true;
|
|
185
|
+
};
|
|
186
|
+
"suffix": {
|
|
187
|
+
"alias": "suffix";
|
|
188
|
+
"required": false;
|
|
189
|
+
"isSignal": true;
|
|
190
|
+
};
|
|
191
|
+
"min": {
|
|
192
|
+
"alias": "min";
|
|
193
|
+
"required": false;
|
|
194
|
+
"isSignal": true;
|
|
195
|
+
};
|
|
196
|
+
"max": {
|
|
197
|
+
"alias": "max";
|
|
198
|
+
"required": false;
|
|
199
|
+
"isSignal": true;
|
|
200
|
+
};
|
|
201
|
+
"step": {
|
|
202
|
+
"alias": "step";
|
|
203
|
+
"required": false;
|
|
204
|
+
"isSignal": true;
|
|
205
|
+
};
|
|
206
|
+
"showButtons": {
|
|
207
|
+
"alias": "showButtons";
|
|
208
|
+
"required": false;
|
|
209
|
+
"isSignal": true;
|
|
210
|
+
};
|
|
211
|
+
"buttonLayout": {
|
|
212
|
+
"alias": "buttonLayout";
|
|
213
|
+
"required": false;
|
|
214
|
+
"isSignal": true;
|
|
215
|
+
};
|
|
216
|
+
"incrementIcon": {
|
|
217
|
+
"alias": "incrementIcon";
|
|
218
|
+
"required": false;
|
|
219
|
+
"isSignal": true;
|
|
220
|
+
};
|
|
221
|
+
"decrementIcon": {
|
|
222
|
+
"alias": "decrementIcon";
|
|
223
|
+
"required": false;
|
|
224
|
+
"isSignal": true;
|
|
225
|
+
};
|
|
226
|
+
"allowEmpty": {
|
|
227
|
+
"alias": "allowEmpty";
|
|
228
|
+
"required": false;
|
|
229
|
+
"isSignal": true;
|
|
230
|
+
};
|
|
231
|
+
"showClear": {
|
|
232
|
+
"alias": "showClear";
|
|
233
|
+
"required": false;
|
|
234
|
+
"isSignal": true;
|
|
235
|
+
};
|
|
236
|
+
"placeholder": {
|
|
237
|
+
"alias": "placeholder";
|
|
238
|
+
"required": false;
|
|
239
|
+
"isSignal": true;
|
|
240
|
+
};
|
|
241
|
+
"size": {
|
|
242
|
+
"alias": "size";
|
|
243
|
+
"required": false;
|
|
244
|
+
"isSignal": true;
|
|
245
|
+
};
|
|
246
|
+
"variant": {
|
|
247
|
+
"alias": "variant";
|
|
248
|
+
"required": false;
|
|
249
|
+
"isSignal": true;
|
|
250
|
+
};
|
|
251
|
+
"fluid": {
|
|
252
|
+
"alias": "fluid";
|
|
253
|
+
"required": false;
|
|
254
|
+
"isSignal": true;
|
|
255
|
+
};
|
|
256
|
+
"invalid": {
|
|
257
|
+
"alias": "invalid";
|
|
258
|
+
"required": false;
|
|
259
|
+
"isSignal": true;
|
|
260
|
+
};
|
|
261
|
+
"disabledInput": {
|
|
262
|
+
"alias": "disabled";
|
|
263
|
+
"required": false;
|
|
264
|
+
"isSignal": true;
|
|
265
|
+
};
|
|
266
|
+
"readonly": {
|
|
267
|
+
"alias": "readonly";
|
|
268
|
+
"required": false;
|
|
269
|
+
"isSignal": true;
|
|
270
|
+
};
|
|
271
|
+
"required": {
|
|
272
|
+
"alias": "required";
|
|
273
|
+
"required": false;
|
|
274
|
+
"isSignal": true;
|
|
275
|
+
};
|
|
276
|
+
"name": {
|
|
277
|
+
"alias": "name";
|
|
278
|
+
"required": false;
|
|
279
|
+
"isSignal": true;
|
|
280
|
+
};
|
|
281
|
+
"inputId": {
|
|
282
|
+
"alias": "inputId";
|
|
283
|
+
"required": false;
|
|
284
|
+
"isSignal": true;
|
|
285
|
+
};
|
|
286
|
+
"ariaLabel": {
|
|
287
|
+
"alias": "ariaLabel";
|
|
288
|
+
"required": false;
|
|
289
|
+
"isSignal": true;
|
|
290
|
+
};
|
|
291
|
+
"ariaLabelledBy": {
|
|
292
|
+
"alias": "ariaLabelledBy";
|
|
293
|
+
"required": false;
|
|
294
|
+
"isSignal": true;
|
|
295
|
+
};
|
|
296
|
+
"tabindex": {
|
|
297
|
+
"alias": "tabindex";
|
|
298
|
+
"required": false;
|
|
299
|
+
"isSignal": true;
|
|
300
|
+
};
|
|
301
|
+
"dt": {
|
|
302
|
+
"alias": "dt";
|
|
303
|
+
"required": false;
|
|
304
|
+
"isSignal": true;
|
|
305
|
+
};
|
|
306
|
+
"pt": {
|
|
307
|
+
"alias": "pt";
|
|
308
|
+
"required": false;
|
|
309
|
+
"isSignal": true;
|
|
310
|
+
};
|
|
311
|
+
"ptOptions": {
|
|
312
|
+
"alias": "ptOptions";
|
|
313
|
+
"required": false;
|
|
314
|
+
"isSignal": true;
|
|
315
|
+
};
|
|
316
|
+
"unstyled": {
|
|
317
|
+
"alias": "unstyled";
|
|
318
|
+
"required": false;
|
|
319
|
+
"isSignal": true;
|
|
320
|
+
};
|
|
321
|
+
}, {
|
|
322
|
+
"changed": "changed";
|
|
323
|
+
"cleared": "cleared";
|
|
324
|
+
}, never, never, true, never>;
|
|
325
|
+
}
|
|
326
|
+
//# sourceMappingURL=tectra-ng-ui-input-number.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tectra-ng-ui-input-number.d.ts","names":[],"sources":["../../../../packages/ui/input-number/src/input-number.types.ts","../../../../packages/ui/input-number/src/number-format.ts","../../../../packages/ui/input-number/src/input-number.component.ts"],"mappings":";;;;;;YAAY;YACA;YACA;YACA;YACA;YACA;iBAEK;EACf;EACA,eAAe;;iBCTA;EACf;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;qBAWW;WACF;WACA;WACA;WACA;WACA;UACD;UACA;EAEI,YAAA,SAAS;EAuBrB,OAAO;EAYP,aAAa;IAAiB;IAAiB;;EAa/C,MAAM;EAIN,YAAY,cAAc;EAc1B,SAAS,iBAAiB;UAiBlB;UAkBA;UAWA;;qBChFG,sBAAsB;UACzB;UACA;UACA;UACA;WAEC,8BAAI,YAAA;WACJ,kCAAQ;WACR,yCAAe,YAAA;WACf,gCAAM;WACN,qCAAW;WACX,2CAAiB;WACjB,2CAAiB;WACjB,gCAAM;WACN,gCAAM;WACN,6BAAG;WACH,6BAAG;WACH,8BAAI;WACJ,qCAAW;WACX,sCAAY,YAAA;WACZ,uCAAa,YAAA;WACb,uCAAa,YAAA;WACb,oCAAU;WACV,mCAAS;WACT,qCAAW;WACX,8BAAI,YAAA;WACJ,iCAAO,YAAA;WACP,+BAAK;WACL,iCAAO;WAEP,uCAAa;WACb,kCAAQ;WACR,kCAAQ;WACR,8BAAI;WACJ,iCAAO;WACP,mCAAS;WACT,wCAAc;WACd,kCAAQ;WACR,4BAAE,YAAA;;;;;;;;;;;;;WACF,4BAAE,YAAA,QAAA,OAAA,oDAAA,mBAAA;WACF,mCAAS,YAAA;WACT,kCAAQ;WAER,iCAAO,iBAAA;WACP,iCAAO;WAEP,kCAAQ,OAAA,WAAA;WAER,sCAAY,wCAAA;WACZ,oCAAU;WACV,iCAAO;WACP,mCAAS;WACT,qCAAW,OAAA,QAAA,OAAA,oDAAA;WAEX,mCAAS;WACT,oCAAU;WACV,oCAAU;WACV,oCAAU;WACV,gCAAM,OAAA;WAcN,sCAAY;WACZ,sCAAY;WACZ,2CAAiB;IAwJ4C;IAA0B;;WAvJvF,2CAAiB;IAuJ4C;IAA0B;;WAtJvF,mCAAS;;;;EAaT,WAAW;EAKpB;EAIA,QAAQ,OAAO;EAUf,UAAU,OAAO;EA+BjB;EAIA,OAAO,OAAO;EAMd,YAAY,mBAAmB,OAAO;EAiBtC;EAOA,MAAM,OAAO;UAML;UAUA;UASA;UAUA;UAMA;UAKA;UAOA;SAlOG,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;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"}
|
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import { ElementRef } 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 TxInputOtpSize = 'small' | 'medium' | 'large';
|
|
7
|
+
export type TxInputOtpVariant = 'outlined' | 'filled';
|
|
8
|
+
export type TxInputOtpPart = 'root' | 'cell' | 'separator';
|
|
9
|
+
export declare class TxInputOtp extends TxFormControlBase<string> {
|
|
10
|
+
private generatedId;
|
|
11
|
+
readonly length: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
12
|
+
readonly integerOnly: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
13
|
+
readonly mask: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
14
|
+
readonly groupSize: import("@angular/core").InputSignalWithTransform<number | undefined, unknown>;
|
|
15
|
+
readonly autoFocus: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
16
|
+
readonly size: import("@angular/core").InputSignal<TxInputOtpSize>;
|
|
17
|
+
readonly variant: import("@angular/core").InputSignal<TxInputOtpVariant>;
|
|
18
|
+
readonly invalid: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
|
|
19
|
+
readonly disabledInput: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
20
|
+
readonly readonly: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
21
|
+
readonly name: import("@angular/core").InputSignal<string | undefined>;
|
|
22
|
+
readonly inputId: import("@angular/core").InputSignal<string | undefined>;
|
|
23
|
+
readonly ariaLabel: import("@angular/core").InputSignal<string | undefined>;
|
|
24
|
+
readonly ariaLabelledBy: import("@angular/core").InputSignal<string | undefined>;
|
|
25
|
+
readonly dt: import("@angular/core").InputSignal<TectraDeepPartial<{
|
|
26
|
+
root: {
|
|
27
|
+
gap: string;
|
|
28
|
+
cellWidth: string;
|
|
29
|
+
cellFontSize: string;
|
|
30
|
+
cellFontWeight: string;
|
|
31
|
+
separatorColor: string;
|
|
32
|
+
separatorWidth: string;
|
|
33
|
+
};
|
|
34
|
+
sm: {
|
|
35
|
+
cellWidth: string;
|
|
36
|
+
cellFontSize: string;
|
|
37
|
+
gap: string;
|
|
38
|
+
};
|
|
39
|
+
lg: {
|
|
40
|
+
cellWidth: string;
|
|
41
|
+
cellFontSize: string;
|
|
42
|
+
gap: string;
|
|
43
|
+
};
|
|
44
|
+
}> | undefined>;
|
|
45
|
+
readonly pt: import("@angular/core").InputSignal<Partial<Record<TxInputOtpPart, import("@tectra-ng/core/config").TxPassThroughValue<TxInputOtp>>> | undefined>;
|
|
46
|
+
readonly ptOptions: import("@angular/core").InputSignal<TxPassThroughOptions | undefined>;
|
|
47
|
+
readonly unstyled: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
|
|
48
|
+
readonly completed: import("@angular/core").OutputEmitterRef<string>;
|
|
49
|
+
readonly cells: import("@angular/core").Signal<readonly ElementRef<HTMLInputElement>[]>;
|
|
50
|
+
readonly translations: import("@angular/core").Signal<import("@tectra-ng/core/config").TxTranslations>;
|
|
51
|
+
readonly isUnstyled: import("@angular/core").Signal<boolean>;
|
|
52
|
+
readonly passThrough: import("@angular/core").Signal<Partial<Record<TxInputOtpPart, import("@tectra-ng/core/config").TxPassThroughPart>>>;
|
|
53
|
+
readonly isInvalid: import("@angular/core").Signal<boolean>;
|
|
54
|
+
readonly chars: import("@angular/core").WritableSignal<string[]>;
|
|
55
|
+
readonly indexes: import("@angular/core").Signal<number[]>;
|
|
56
|
+
readonly isDisabled: import("@angular/core").Signal<boolean>;
|
|
57
|
+
readonly isComplete: import("@angular/core").Signal<boolean>;
|
|
58
|
+
readonly firstId: import("@angular/core").Signal<string>;
|
|
59
|
+
readonly hostStyle: import("@angular/core").Signal<{
|
|
60
|
+
[x: string]: string;
|
|
61
|
+
}>;
|
|
62
|
+
constructor();
|
|
63
|
+
writeValue(value: string | null): void;
|
|
64
|
+
hasSeparator(index: number): boolean;
|
|
65
|
+
cellLabel(index: number): string;
|
|
66
|
+
focus(): void;
|
|
67
|
+
onInput(event: Event, index: number): void;
|
|
68
|
+
onPaste(event: ClipboardEvent, index: number): void;
|
|
69
|
+
onKeydown(event: KeyboardEvent, index: number): void;
|
|
70
|
+
onFocus(event: FocusEvent): void;
|
|
71
|
+
onBlur(): void;
|
|
72
|
+
private fillFrom;
|
|
73
|
+
private setChars;
|
|
74
|
+
private syncCells;
|
|
75
|
+
private focusCell;
|
|
76
|
+
private clean;
|
|
77
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TxInputOtp, never>;
|
|
78
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TxInputOtp, "tx-input-otp", never, {
|
|
79
|
+
"length": {
|
|
80
|
+
"alias": "length";
|
|
81
|
+
"required": false;
|
|
82
|
+
"isSignal": true;
|
|
83
|
+
};
|
|
84
|
+
"integerOnly": {
|
|
85
|
+
"alias": "integerOnly";
|
|
86
|
+
"required": false;
|
|
87
|
+
"isSignal": true;
|
|
88
|
+
};
|
|
89
|
+
"mask": {
|
|
90
|
+
"alias": "mask";
|
|
91
|
+
"required": false;
|
|
92
|
+
"isSignal": true;
|
|
93
|
+
};
|
|
94
|
+
"groupSize": {
|
|
95
|
+
"alias": "groupSize";
|
|
96
|
+
"required": false;
|
|
97
|
+
"isSignal": true;
|
|
98
|
+
};
|
|
99
|
+
"autoFocus": {
|
|
100
|
+
"alias": "autoFocus";
|
|
101
|
+
"required": false;
|
|
102
|
+
"isSignal": true;
|
|
103
|
+
};
|
|
104
|
+
"size": {
|
|
105
|
+
"alias": "size";
|
|
106
|
+
"required": false;
|
|
107
|
+
"isSignal": true;
|
|
108
|
+
};
|
|
109
|
+
"variant": {
|
|
110
|
+
"alias": "variant";
|
|
111
|
+
"required": false;
|
|
112
|
+
"isSignal": true;
|
|
113
|
+
};
|
|
114
|
+
"invalid": {
|
|
115
|
+
"alias": "invalid";
|
|
116
|
+
"required": false;
|
|
117
|
+
"isSignal": true;
|
|
118
|
+
};
|
|
119
|
+
"disabledInput": {
|
|
120
|
+
"alias": "disabled";
|
|
121
|
+
"required": false;
|
|
122
|
+
"isSignal": true;
|
|
123
|
+
};
|
|
124
|
+
"readonly": {
|
|
125
|
+
"alias": "readonly";
|
|
126
|
+
"required": false;
|
|
127
|
+
"isSignal": true;
|
|
128
|
+
};
|
|
129
|
+
"name": {
|
|
130
|
+
"alias": "name";
|
|
131
|
+
"required": false;
|
|
132
|
+
"isSignal": true;
|
|
133
|
+
};
|
|
134
|
+
"inputId": {
|
|
135
|
+
"alias": "inputId";
|
|
136
|
+
"required": false;
|
|
137
|
+
"isSignal": true;
|
|
138
|
+
};
|
|
139
|
+
"ariaLabel": {
|
|
140
|
+
"alias": "ariaLabel";
|
|
141
|
+
"required": false;
|
|
142
|
+
"isSignal": true;
|
|
143
|
+
};
|
|
144
|
+
"ariaLabelledBy": {
|
|
145
|
+
"alias": "ariaLabelledBy";
|
|
146
|
+
"required": false;
|
|
147
|
+
"isSignal": true;
|
|
148
|
+
};
|
|
149
|
+
"dt": {
|
|
150
|
+
"alias": "dt";
|
|
151
|
+
"required": false;
|
|
152
|
+
"isSignal": true;
|
|
153
|
+
};
|
|
154
|
+
"pt": {
|
|
155
|
+
"alias": "pt";
|
|
156
|
+
"required": false;
|
|
157
|
+
"isSignal": true;
|
|
158
|
+
};
|
|
159
|
+
"ptOptions": {
|
|
160
|
+
"alias": "ptOptions";
|
|
161
|
+
"required": false;
|
|
162
|
+
"isSignal": true;
|
|
163
|
+
};
|
|
164
|
+
"unstyled": {
|
|
165
|
+
"alias": "unstyled";
|
|
166
|
+
"required": false;
|
|
167
|
+
"isSignal": true;
|
|
168
|
+
};
|
|
169
|
+
}, {
|
|
170
|
+
"completed": "completed";
|
|
171
|
+
}, never, never, true, never>;
|
|
172
|
+
}
|
|
173
|
+
//# sourceMappingURL=tectra-ng-ui-input-otp.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tectra-ng-ui-input-otp.d.ts","names":[],"sources":["../../../../packages/ui/input-otp/src/input-otp.types.ts","../../../../packages/ui/input-otp/src/input-otp.component.ts"],"mappings":";;;;;YAAY;YACA;YACA;qBC0CC,mBAAmB;UACtB;WAEC,gCAAM;WACN,qCAAW;WACX,8BAAI;WACJ,mCAAS;WACT,mCAAS;WACT,8BAAI,YAAA;WACJ,iCAAO,YAAA;WACP,iCAAO;WAEP,uCAAa;WACb,kCAAQ;WACR,8BAAI;WACJ,iCAAO;WACP,mCAAS;WACT,wCAAc;WACd,4BAAE,YAAA;;;;;;;;;;;;;;;;;;;;WACF,4BAAE,YAAA,QAAA,OAAA,iDAAA,mBAAA;WACF,mCAAS,YAAA;WACT,kCAAQ;WAER,mCAAS;WAET,+BAAK,gBAAA,WAAA;WAEL,sCAAY,wCAAA;WACZ,oCAAU;WACV,qCAAW,OAAA,QAAA,OAAA,iDAAA;WACX,mCAAS;WAET,+BAAK;WACL,iCAAO;WACP,oCAAU;WACV,oCAAU;WACV,iCAAO;WACP,mCAAS;;;;EAWT,WAAW;EAKpB,aAAa;EAKb,UAAU;EAIV;EAIA,QAAQ,OAAO,OAAO;EActB,QAAQ,OAAO,gBAAgB;EAQ/B,UAAU,OAAO,eAAe;EAiChC,QAAQ,OAAO;EAIf;UAIQ;UAMA;UAYA;UAIA;UAMA;SA7JG,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAU;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"}
|