@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,453 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import { ComponentRef, ElementRef, InjectionToken, Injector, Signal, TemplateRef, Type, ViewContainerRef } from "@angular/core";
|
|
3
|
+
import { Observable } from "rxjs";
|
|
4
|
+
import { TectraDeepPartial, TectraDialogTokens } from "@tectra-ng/themes";
|
|
5
|
+
import { CdkPortalOutlet } from "@angular/cdk/portal";
|
|
6
|
+
export type TxDialogSize = 'small' | 'medium' | 'large' | 'xlarge' | 'fullscreen';
|
|
7
|
+
export type TxDialogPosition = 'center' | 'top' | 'bottom' | 'left' | 'right' | 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
|
|
8
|
+
export type TxDrawerPosition = 'left' | 'right' | 'top' | 'bottom';
|
|
9
|
+
export type TxDrawerSize = 'small' | 'medium' | 'large' | 'full';
|
|
10
|
+
export type TxDialogAutoFocus = 'first' | 'dialog' | 'none' | (string & {});
|
|
11
|
+
export type TxDialogRole = 'dialog' | 'alertdialog';
|
|
12
|
+
export type TxDialogPart = 'root' | 'mask' | 'header' | 'title' | 'subtitle' | 'headerButton' | 'content' | 'footer';
|
|
13
|
+
export type TxDialogGuard<R> = (result: R | undefined) => boolean | Promise<boolean> | Observable<boolean>;
|
|
14
|
+
export interface TxDialogConfig<D = unknown, R = unknown> {
|
|
15
|
+
data?: D;
|
|
16
|
+
inputs?: Record<string, unknown>;
|
|
17
|
+
size?: TxDialogSize;
|
|
18
|
+
width?: string;
|
|
19
|
+
minWidth?: string;
|
|
20
|
+
maxWidth?: string;
|
|
21
|
+
height?: string;
|
|
22
|
+
maxHeight?: string;
|
|
23
|
+
breakpoints?: Record<string, string>;
|
|
24
|
+
position?: TxDialogPosition;
|
|
25
|
+
drawer?: TxDrawerPosition;
|
|
26
|
+
drawerSize?: TxDrawerSize | (string & {});
|
|
27
|
+
modal?: boolean;
|
|
28
|
+
closable?: boolean;
|
|
29
|
+
closeOnEscape?: boolean;
|
|
30
|
+
dismissableMask?: boolean;
|
|
31
|
+
blockScroll?: boolean;
|
|
32
|
+
draggable?: boolean;
|
|
33
|
+
maximizable?: boolean;
|
|
34
|
+
autoFocus?: TxDialogAutoFocus;
|
|
35
|
+
restoreFocus?: boolean;
|
|
36
|
+
role?: TxDialogRole;
|
|
37
|
+
ariaLabel?: string;
|
|
38
|
+
ariaLabelledBy?: string;
|
|
39
|
+
ariaDescribedBy?: string;
|
|
40
|
+
panelClass?: string | string[];
|
|
41
|
+
canClose?: TxDialogGuard<R>;
|
|
42
|
+
dt?: TectraDeepPartial<TectraDialogTokens>;
|
|
43
|
+
unstyled?: boolean;
|
|
44
|
+
injector?: Injector;
|
|
45
|
+
viewContainerRef?: ViewContainerRef;
|
|
46
|
+
}
|
|
47
|
+
export interface TxDialogTemplateContext<D = unknown, R = unknown> {
|
|
48
|
+
$implicit: D | undefined;
|
|
49
|
+
close: (result?: R) => void;
|
|
50
|
+
}
|
|
51
|
+
export interface TxDialogHost {
|
|
52
|
+
leave(): Promise<void>;
|
|
53
|
+
dispose(): void;
|
|
54
|
+
updateSize(width?: string, height?: string): void;
|
|
55
|
+
dragFrom(event: PointerEvent): void;
|
|
56
|
+
}
|
|
57
|
+
export declare const TX_DIALOG_DATA: InjectionToken<unknown>;
|
|
58
|
+
export declare const TX_DIALOG_CURRENT: InjectionToken<Signal<TxDialogRef<unknown, unknown> | null>>;
|
|
59
|
+
export declare class TxDialogRef<R = unknown, C = unknown> {
|
|
60
|
+
readonly id: string;
|
|
61
|
+
readonly config: TxDialogConfig<unknown, R>;
|
|
62
|
+
private readonly closedSubject;
|
|
63
|
+
private readonly openedSubject;
|
|
64
|
+
private readonly maximizedState;
|
|
65
|
+
private readonly titleIdState;
|
|
66
|
+
private host;
|
|
67
|
+
private closing;
|
|
68
|
+
private guarding;
|
|
69
|
+
readonly closed: Observable<R | undefined>;
|
|
70
|
+
readonly afterOpened: Observable<void>;
|
|
71
|
+
readonly maximized: Signal<boolean>;
|
|
72
|
+
readonly titleId: Signal<string | null>;
|
|
73
|
+
componentInstance: C | null;
|
|
74
|
+
constructor(id: string, config: TxDialogConfig<unknown, R>);
|
|
75
|
+
get isClosing(): boolean;
|
|
76
|
+
close(result?: R): Promise<boolean>;
|
|
77
|
+
toggleMaximize(): void;
|
|
78
|
+
maximize(): void;
|
|
79
|
+
restore(): void;
|
|
80
|
+
updateSize(width?: string, height?: string): void;
|
|
81
|
+
dragFrom(event: PointerEvent): void;
|
|
82
|
+
registerTitle(id: string): () => void;
|
|
83
|
+
attachHost(host: TxDialogHost): void;
|
|
84
|
+
markOpened(): void;
|
|
85
|
+
}
|
|
86
|
+
export declare function injectCurrentDialog(): Signal<TxDialogRef | null>;
|
|
87
|
+
export declare function injectDialogData<D>(): D;
|
|
88
|
+
export declare function injectDialogRef<R = unknown, C = unknown>(): TxDialogRef<R, C>;
|
|
89
|
+
export declare class TxDialogTitle {
|
|
90
|
+
private ref;
|
|
91
|
+
readonly id: string;
|
|
92
|
+
constructor();
|
|
93
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TxDialogTitle, never>;
|
|
94
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TxDialogTitle, "[txDialogTitle]", never, {}, {}, never, never, true, never>;
|
|
95
|
+
}
|
|
96
|
+
export declare class TxDialogHeader {
|
|
97
|
+
readonly ref: import("@angular/core").Signal<import("@tectra-ng/ui/dialog").TxDialogRef<unknown, unknown> | null>;
|
|
98
|
+
readonly title: import("@angular/core").InputSignal<string | undefined>;
|
|
99
|
+
readonly subtitle: import("@angular/core").InputSignal<string | undefined>;
|
|
100
|
+
readonly closeButton: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
|
|
101
|
+
readonly maximizeButton: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
|
|
102
|
+
readonly translations: import("@angular/core").Signal<import("@tectra-ng/core/config").TxTranslations>;
|
|
103
|
+
readonly isUnstyled: import("@angular/core").Signal<boolean>;
|
|
104
|
+
readonly passThrough: import("@angular/core").Signal<Partial<Record<TxDialogPart, import("@tectra-ng/core/config").TxPassThroughPart>>>;
|
|
105
|
+
readonly titleId: string;
|
|
106
|
+
readonly draggable: import("@angular/core").Signal<boolean>;
|
|
107
|
+
readonly inDrawer: import("@angular/core").Signal<boolean>;
|
|
108
|
+
readonly showClose: import("@angular/core").Signal<boolean>;
|
|
109
|
+
readonly showMaximize: import("@angular/core").Signal<boolean>;
|
|
110
|
+
constructor();
|
|
111
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TxDialogHeader, never>;
|
|
112
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TxDialogHeader, "tx-dialog-header", never, {
|
|
113
|
+
"title": {
|
|
114
|
+
"alias": "title";
|
|
115
|
+
"required": false;
|
|
116
|
+
"isSignal": true;
|
|
117
|
+
};
|
|
118
|
+
"subtitle": {
|
|
119
|
+
"alias": "subtitle";
|
|
120
|
+
"required": false;
|
|
121
|
+
"isSignal": true;
|
|
122
|
+
};
|
|
123
|
+
"closeButton": {
|
|
124
|
+
"alias": "closeButton";
|
|
125
|
+
"required": false;
|
|
126
|
+
"isSignal": true;
|
|
127
|
+
};
|
|
128
|
+
"maximizeButton": {
|
|
129
|
+
"alias": "maximizeButton";
|
|
130
|
+
"required": false;
|
|
131
|
+
"isSignal": true;
|
|
132
|
+
};
|
|
133
|
+
}, {}, never, ["[txDialogTitle]", "*"], true, never>;
|
|
134
|
+
}
|
|
135
|
+
export declare class TxDialogContent {
|
|
136
|
+
private readonly ref;
|
|
137
|
+
readonly inDrawer: import("@angular/core").Signal<boolean>;
|
|
138
|
+
readonly isUnstyled: import("@angular/core").Signal<boolean>;
|
|
139
|
+
readonly passThrough: import("@angular/core").Signal<Partial<Record<TxDialogPart, import("@tectra-ng/core/config").TxPassThroughPart>>>;
|
|
140
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TxDialogContent, never>;
|
|
141
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TxDialogContent, "tx-dialog-content", never, {}, {}, never, ["*"], true, never>;
|
|
142
|
+
}
|
|
143
|
+
export declare class TxDialogFooter {
|
|
144
|
+
private readonly ref;
|
|
145
|
+
readonly inDrawer: import("@angular/core").Signal<boolean>;
|
|
146
|
+
readonly isUnstyled: import("@angular/core").Signal<boolean>;
|
|
147
|
+
readonly passThrough: import("@angular/core").Signal<Partial<Record<TxDialogPart, import("@tectra-ng/core/config").TxPassThroughPart>>>;
|
|
148
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TxDialogFooter, never>;
|
|
149
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TxDialogFooter, "tx-dialog-footer", never, {}, {}, never, ["*"], true, never>;
|
|
150
|
+
}
|
|
151
|
+
export declare class TxDialogClose {
|
|
152
|
+
private ref;
|
|
153
|
+
readonly txDialogClose: import("@angular/core").InputSignal<unknown>;
|
|
154
|
+
close(): void;
|
|
155
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TxDialogClose, never>;
|
|
156
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TxDialogClose, "[txDialogClose]", never, {
|
|
157
|
+
"txDialogClose": {
|
|
158
|
+
"alias": "txDialogClose";
|
|
159
|
+
"required": false;
|
|
160
|
+
"isSignal": true;
|
|
161
|
+
};
|
|
162
|
+
}, {}, never, never, true, never>;
|
|
163
|
+
}
|
|
164
|
+
export declare class TxDialogContainer {
|
|
165
|
+
readonly ref: TxDialogRef<any, any>;
|
|
166
|
+
private document;
|
|
167
|
+
private checker;
|
|
168
|
+
private focusTrapFactory;
|
|
169
|
+
private viewContainerRef;
|
|
170
|
+
private host;
|
|
171
|
+
private focusTrap;
|
|
172
|
+
readonly config: import("@tectra-ng/ui/dialog").TxDialogConfig<unknown, any>;
|
|
173
|
+
readonly outlet: import("@angular/core").Signal<CdkPortalOutlet>;
|
|
174
|
+
readonly panel: import("@angular/core").Signal<ElementRef<HTMLElement>>;
|
|
175
|
+
readonly modal: boolean;
|
|
176
|
+
readonly role: import("@tectra-ng/ui/dialog").TxDialogRole;
|
|
177
|
+
readonly size: import("@tectra-ng/ui/dialog").TxDialogSize;
|
|
178
|
+
readonly position: import("@tectra-ng/ui/dialog").TxDialogPosition;
|
|
179
|
+
readonly drawer: import("@tectra-ng/ui/dialog").TxDrawerPosition | null;
|
|
180
|
+
readonly isUnstyled: import("@angular/core").Signal<boolean>;
|
|
181
|
+
readonly passThrough: import("@angular/core").Signal<Partial<Record<TxDialogPart, import("@tectra-ng/core/config").TxPassThroughPart>>>;
|
|
182
|
+
readonly leaving: import("@angular/core").WritableSignal<boolean>;
|
|
183
|
+
readonly dragging: import("@angular/core").WritableSignal<boolean>;
|
|
184
|
+
readonly offset: import("@angular/core").WritableSignal<{
|
|
185
|
+
x: number;
|
|
186
|
+
y: number;
|
|
187
|
+
}>;
|
|
188
|
+
private readonly sizeOverride;
|
|
189
|
+
private readonly breakpointWidth;
|
|
190
|
+
readonly labelledBy: import("@angular/core").Signal<string | null>;
|
|
191
|
+
readonly rootClass: import("@angular/core").Signal<string>;
|
|
192
|
+
readonly panelStyle: import("@angular/core").Signal<{
|
|
193
|
+
[x: string]: string;
|
|
194
|
+
}>;
|
|
195
|
+
readonly hostStyle: import("@angular/core").Signal<{
|
|
196
|
+
'--_drawer-size'?: string | undefined;
|
|
197
|
+
}>;
|
|
198
|
+
constructor();
|
|
199
|
+
attach<C, D, R>(content: Type<C> | TemplateRef<TxDialogTemplateContext<D, R>>, injector: Injector, data: D | undefined): ComponentRef<C> | null;
|
|
200
|
+
enter(): void;
|
|
201
|
+
leave(): Promise<void>;
|
|
202
|
+
updateSize(width?: string, height?: string): void;
|
|
203
|
+
onMaskClick(): void;
|
|
204
|
+
dragFrom(event: PointerEvent): void;
|
|
205
|
+
private watchBreakpoints;
|
|
206
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TxDialogContainer, never>;
|
|
207
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TxDialogContainer, "tx-dialog-container", never, {}, {}, never, never, true, never>;
|
|
208
|
+
}
|
|
209
|
+
export declare class TxDialogService {
|
|
210
|
+
private injector;
|
|
211
|
+
private document;
|
|
212
|
+
private readonly dialogs;
|
|
213
|
+
readonly openDialogs: import("@angular/core").Signal<TxDialogRef<unknown, unknown>[]>;
|
|
214
|
+
open<C = unknown, D = unknown, R = unknown>(content: Type<C> | TemplateRef<TxDialogTemplateContext<D, R>>, config?: TxDialogConfig<D, R>): TxDialogRef<R, C>;
|
|
215
|
+
closeAll(): void;
|
|
216
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TxDialogService, never>;
|
|
217
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
218
|
+
}
|
|
219
|
+
export declare class TxDialog {
|
|
220
|
+
private dialogs;
|
|
221
|
+
private injector;
|
|
222
|
+
private current;
|
|
223
|
+
private destroyed;
|
|
224
|
+
readonly visible: import("@angular/core").ModelSignal<boolean>;
|
|
225
|
+
readonly header: import("@angular/core").InputSignal<string | undefined>;
|
|
226
|
+
readonly subtitle: import("@angular/core").InputSignal<string | undefined>;
|
|
227
|
+
readonly size: import("@angular/core").InputSignal<TxDialogSize>;
|
|
228
|
+
readonly width: import("@angular/core").InputSignal<string | undefined>;
|
|
229
|
+
readonly height: import("@angular/core").InputSignal<string | undefined>;
|
|
230
|
+
readonly breakpoints: import("@angular/core").InputSignal<Record<string, string> | undefined>;
|
|
231
|
+
readonly position: import("@angular/core").InputSignal<TxDialogPosition>;
|
|
232
|
+
readonly drawer: import("@angular/core").InputSignal<TxDrawerPosition | undefined>;
|
|
233
|
+
readonly drawerSize: import("@angular/core").InputSignal<TxDrawerSize | (string & {})>;
|
|
234
|
+
readonly modal: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
235
|
+
readonly closable: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
236
|
+
readonly closeOnEscape: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
|
|
237
|
+
readonly dismissableMask: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
|
|
238
|
+
readonly blockScroll: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
239
|
+
readonly draggable: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
240
|
+
readonly maximizable: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
241
|
+
readonly autoFocus: import("@angular/core").InputSignal<TxDialogAutoFocus>;
|
|
242
|
+
readonly restoreFocus: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
243
|
+
readonly role: import("@angular/core").InputSignal<TxDialogRole>;
|
|
244
|
+
readonly ariaLabel: import("@angular/core").InputSignal<string | undefined>;
|
|
245
|
+
readonly panelClass: import("@angular/core").InputSignal<string | undefined>;
|
|
246
|
+
readonly canClose: import("@angular/core").InputSignal<(() => boolean | Promise<boolean>) | undefined>;
|
|
247
|
+
readonly dt: import("@angular/core").InputSignal<TectraDeepPartial<{
|
|
248
|
+
root: {
|
|
249
|
+
background: string;
|
|
250
|
+
borderColor: string;
|
|
251
|
+
borderWidth: string;
|
|
252
|
+
borderRadius: string;
|
|
253
|
+
color: string;
|
|
254
|
+
shadow: string;
|
|
255
|
+
maxHeight: string;
|
|
256
|
+
positionMargin: string;
|
|
257
|
+
fontSize: string;
|
|
258
|
+
lineHeight: string;
|
|
259
|
+
enterDuration: string;
|
|
260
|
+
leaveDuration: string;
|
|
261
|
+
};
|
|
262
|
+
mask: {
|
|
263
|
+
background: string;
|
|
264
|
+
};
|
|
265
|
+
header: {
|
|
266
|
+
padding: string;
|
|
267
|
+
gap: string;
|
|
268
|
+
};
|
|
269
|
+
title: {
|
|
270
|
+
fontSize: string;
|
|
271
|
+
fontWeight: string;
|
|
272
|
+
};
|
|
273
|
+
subtitle: {
|
|
274
|
+
color: string;
|
|
275
|
+
fontSize: string;
|
|
276
|
+
};
|
|
277
|
+
content: {
|
|
278
|
+
padding: string;
|
|
279
|
+
lastPaddingBottom: string;
|
|
280
|
+
};
|
|
281
|
+
footer: {
|
|
282
|
+
padding: string;
|
|
283
|
+
gap: string;
|
|
284
|
+
};
|
|
285
|
+
focusRing: {
|
|
286
|
+
width: string;
|
|
287
|
+
color: string;
|
|
288
|
+
};
|
|
289
|
+
sm: {
|
|
290
|
+
width: string;
|
|
291
|
+
};
|
|
292
|
+
md: {
|
|
293
|
+
width: string;
|
|
294
|
+
};
|
|
295
|
+
lg: {
|
|
296
|
+
width: string;
|
|
297
|
+
};
|
|
298
|
+
xl: {
|
|
299
|
+
width: string;
|
|
300
|
+
};
|
|
301
|
+
drawer: {
|
|
302
|
+
sm: string;
|
|
303
|
+
md: string;
|
|
304
|
+
lg: string;
|
|
305
|
+
background: string;
|
|
306
|
+
dividerColor: string;
|
|
307
|
+
headerPadding: string;
|
|
308
|
+
titleFontSize: string;
|
|
309
|
+
contentPadding: string;
|
|
310
|
+
footerPadding: string;
|
|
311
|
+
};
|
|
312
|
+
}> | undefined>;
|
|
313
|
+
readonly unstyled: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
|
|
314
|
+
readonly opened: import("@angular/core").OutputEmitterRef<void>;
|
|
315
|
+
readonly closed: import("@angular/core").OutputEmitterRef<void>;
|
|
316
|
+
private readonly body;
|
|
317
|
+
constructor();
|
|
318
|
+
close(): void;
|
|
319
|
+
private open;
|
|
320
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TxDialog, never>;
|
|
321
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TxDialog, "tx-dialog", never, {
|
|
322
|
+
"visible": {
|
|
323
|
+
"alias": "visible";
|
|
324
|
+
"required": false;
|
|
325
|
+
"isSignal": true;
|
|
326
|
+
};
|
|
327
|
+
"header": {
|
|
328
|
+
"alias": "header";
|
|
329
|
+
"required": false;
|
|
330
|
+
"isSignal": true;
|
|
331
|
+
};
|
|
332
|
+
"subtitle": {
|
|
333
|
+
"alias": "subtitle";
|
|
334
|
+
"required": false;
|
|
335
|
+
"isSignal": true;
|
|
336
|
+
};
|
|
337
|
+
"size": {
|
|
338
|
+
"alias": "size";
|
|
339
|
+
"required": false;
|
|
340
|
+
"isSignal": true;
|
|
341
|
+
};
|
|
342
|
+
"width": {
|
|
343
|
+
"alias": "width";
|
|
344
|
+
"required": false;
|
|
345
|
+
"isSignal": true;
|
|
346
|
+
};
|
|
347
|
+
"height": {
|
|
348
|
+
"alias": "height";
|
|
349
|
+
"required": false;
|
|
350
|
+
"isSignal": true;
|
|
351
|
+
};
|
|
352
|
+
"breakpoints": {
|
|
353
|
+
"alias": "breakpoints";
|
|
354
|
+
"required": false;
|
|
355
|
+
"isSignal": true;
|
|
356
|
+
};
|
|
357
|
+
"position": {
|
|
358
|
+
"alias": "position";
|
|
359
|
+
"required": false;
|
|
360
|
+
"isSignal": true;
|
|
361
|
+
};
|
|
362
|
+
"drawer": {
|
|
363
|
+
"alias": "drawer";
|
|
364
|
+
"required": false;
|
|
365
|
+
"isSignal": true;
|
|
366
|
+
};
|
|
367
|
+
"drawerSize": {
|
|
368
|
+
"alias": "drawerSize";
|
|
369
|
+
"required": false;
|
|
370
|
+
"isSignal": true;
|
|
371
|
+
};
|
|
372
|
+
"modal": {
|
|
373
|
+
"alias": "modal";
|
|
374
|
+
"required": false;
|
|
375
|
+
"isSignal": true;
|
|
376
|
+
};
|
|
377
|
+
"closable": {
|
|
378
|
+
"alias": "closable";
|
|
379
|
+
"required": false;
|
|
380
|
+
"isSignal": true;
|
|
381
|
+
};
|
|
382
|
+
"closeOnEscape": {
|
|
383
|
+
"alias": "closeOnEscape";
|
|
384
|
+
"required": false;
|
|
385
|
+
"isSignal": true;
|
|
386
|
+
};
|
|
387
|
+
"dismissableMask": {
|
|
388
|
+
"alias": "dismissableMask";
|
|
389
|
+
"required": false;
|
|
390
|
+
"isSignal": true;
|
|
391
|
+
};
|
|
392
|
+
"blockScroll": {
|
|
393
|
+
"alias": "blockScroll";
|
|
394
|
+
"required": false;
|
|
395
|
+
"isSignal": true;
|
|
396
|
+
};
|
|
397
|
+
"draggable": {
|
|
398
|
+
"alias": "draggable";
|
|
399
|
+
"required": false;
|
|
400
|
+
"isSignal": true;
|
|
401
|
+
};
|
|
402
|
+
"maximizable": {
|
|
403
|
+
"alias": "maximizable";
|
|
404
|
+
"required": false;
|
|
405
|
+
"isSignal": true;
|
|
406
|
+
};
|
|
407
|
+
"autoFocus": {
|
|
408
|
+
"alias": "autoFocus";
|
|
409
|
+
"required": false;
|
|
410
|
+
"isSignal": true;
|
|
411
|
+
};
|
|
412
|
+
"restoreFocus": {
|
|
413
|
+
"alias": "restoreFocus";
|
|
414
|
+
"required": false;
|
|
415
|
+
"isSignal": true;
|
|
416
|
+
};
|
|
417
|
+
"role": {
|
|
418
|
+
"alias": "role";
|
|
419
|
+
"required": false;
|
|
420
|
+
"isSignal": true;
|
|
421
|
+
};
|
|
422
|
+
"ariaLabel": {
|
|
423
|
+
"alias": "ariaLabel";
|
|
424
|
+
"required": false;
|
|
425
|
+
"isSignal": true;
|
|
426
|
+
};
|
|
427
|
+
"panelClass": {
|
|
428
|
+
"alias": "panelClass";
|
|
429
|
+
"required": false;
|
|
430
|
+
"isSignal": true;
|
|
431
|
+
};
|
|
432
|
+
"canClose": {
|
|
433
|
+
"alias": "canClose";
|
|
434
|
+
"required": false;
|
|
435
|
+
"isSignal": true;
|
|
436
|
+
};
|
|
437
|
+
"dt": {
|
|
438
|
+
"alias": "dt";
|
|
439
|
+
"required": false;
|
|
440
|
+
"isSignal": true;
|
|
441
|
+
};
|
|
442
|
+
"unstyled": {
|
|
443
|
+
"alias": "unstyled";
|
|
444
|
+
"required": false;
|
|
445
|
+
"isSignal": true;
|
|
446
|
+
};
|
|
447
|
+
}, {
|
|
448
|
+
"visible": "visibleChange";
|
|
449
|
+
"opened": "opened";
|
|
450
|
+
"closed": "closed";
|
|
451
|
+
}, never, ["tx-dialog-header", "*", "tx-dialog-footer"], true, never>;
|
|
452
|
+
}
|
|
453
|
+
//# sourceMappingURL=tectra-ng-ui-dialog.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tectra-ng-ui-dialog.d.ts","names":[],"sources":["../../../../packages/ui/dialog/src/dialog.types.ts","../../../../packages/ui/dialog/src/dialog-ref.ts","../../../../packages/ui/dialog/src/dialog-parts.component.ts","../../../../packages/ui/dialog/src/dialog-container.component.ts","../../../../packages/ui/dialog/src/dialog.service.ts","../../../../packages/ui/dialog/src/dialog.component.ts"],"mappings":"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"}
|
|
@@ -0,0 +1,70 @@
|
|
|
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 TxDividerLayout = 'horizontal' | 'vertical';
|
|
5
|
+
export type TxDividerType = 'solid' | 'dashed' | 'dotted';
|
|
6
|
+
export type TxDividerAlign = 'start' | 'center' | 'end';
|
|
7
|
+
export type TxDividerPart = 'root' | 'content';
|
|
8
|
+
export declare class TxDivider {
|
|
9
|
+
readonly layout: import("@angular/core").InputSignal<TxDividerLayout>;
|
|
10
|
+
readonly type: import("@angular/core").InputSignal<TxDividerType>;
|
|
11
|
+
readonly align: import("@angular/core").InputSignal<TxDividerAlign>;
|
|
12
|
+
readonly dt: import("@angular/core").InputSignal<TectraDeepPartial<{
|
|
13
|
+
root: {
|
|
14
|
+
color: string;
|
|
15
|
+
width: string;
|
|
16
|
+
margin: string;
|
|
17
|
+
contentGap: string;
|
|
18
|
+
contentColor: string;
|
|
19
|
+
contentFontSize: string;
|
|
20
|
+
contentFontWeight: string;
|
|
21
|
+
};
|
|
22
|
+
}> | undefined>;
|
|
23
|
+
readonly pt: import("@angular/core").InputSignal<Partial<Record<TxDividerPart, import("@tectra-ng/core/config").TxPassThroughValue<TxDivider>>> | undefined>;
|
|
24
|
+
readonly ptOptions: import("@angular/core").InputSignal<TxPassThroughOptions | undefined>;
|
|
25
|
+
readonly unstyled: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
|
|
26
|
+
readonly isUnstyled: import("@angular/core").Signal<boolean>;
|
|
27
|
+
readonly passThrough: import("@angular/core").Signal<Partial<Record<TxDividerPart, import("@tectra-ng/core/config").TxPassThroughPart>>>;
|
|
28
|
+
readonly hostStyle: import("@angular/core").Signal<{
|
|
29
|
+
[x: string]: string;
|
|
30
|
+
}>;
|
|
31
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TxDivider, never>;
|
|
32
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TxDivider, "tx-divider", never, {
|
|
33
|
+
"layout": {
|
|
34
|
+
"alias": "layout";
|
|
35
|
+
"required": false;
|
|
36
|
+
"isSignal": true;
|
|
37
|
+
};
|
|
38
|
+
"type": {
|
|
39
|
+
"alias": "type";
|
|
40
|
+
"required": false;
|
|
41
|
+
"isSignal": true;
|
|
42
|
+
};
|
|
43
|
+
"align": {
|
|
44
|
+
"alias": "align";
|
|
45
|
+
"required": false;
|
|
46
|
+
"isSignal": true;
|
|
47
|
+
};
|
|
48
|
+
"dt": {
|
|
49
|
+
"alias": "dt";
|
|
50
|
+
"required": false;
|
|
51
|
+
"isSignal": true;
|
|
52
|
+
};
|
|
53
|
+
"pt": {
|
|
54
|
+
"alias": "pt";
|
|
55
|
+
"required": false;
|
|
56
|
+
"isSignal": true;
|
|
57
|
+
};
|
|
58
|
+
"ptOptions": {
|
|
59
|
+
"alias": "ptOptions";
|
|
60
|
+
"required": false;
|
|
61
|
+
"isSignal": true;
|
|
62
|
+
};
|
|
63
|
+
"unstyled": {
|
|
64
|
+
"alias": "unstyled";
|
|
65
|
+
"required": false;
|
|
66
|
+
"isSignal": true;
|
|
67
|
+
};
|
|
68
|
+
}, {}, never, ["*"], true, never>;
|
|
69
|
+
}
|
|
70
|
+
//# sourceMappingURL=tectra-ng-ui-divider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tectra-ng-ui-divider.d.ts","names":[],"sources":["../../../../packages/ui/divider/src/divider.types.ts","../../../../packages/ui/divider/src/divider.component.ts"],"mappings":";;;YAAY;YACA;YACA;YACA;qBCoBC;WACF,gCAAM,YAAA;WACN,8BAAI,YAAA;WACJ,+BAAK,YAAA;WACL,4BAAE,YAAA;;;;;;;;;;;WACF,4BAAE,YAAA,QAAA,OAAA,gDAAA,mBAAA;WACF,mCAAS,YAAA;WACT,kCAAQ;WAER,oCAAU;WACV,qCAAW,OAAA,QAAA,OAAA,gDAAA;WACX,mCAAS;;;SAXP,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAS;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"}
|