@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,1301 @@
|
|
|
1
|
+
import { CdkDragDrop } from "@angular/cdk/drag-drop";
|
|
2
|
+
import { TxPassThroughOptions } from "@tectra-ng/core/config";
|
|
3
|
+
import { TectraDeepPartial } from "@tectra-ng/themes";
|
|
4
|
+
import { TxMenuItem } from "@tectra-ng/ui/menu";
|
|
5
|
+
import { TxPageState, TxRowsPerPageOption } from "@tectra-ng/ui/paginator";
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
import { InjectionToken, Signal, TemplateRef } from "@angular/core";
|
|
8
|
+
export type TxTableSize = 'small' | 'medium' | 'large';
|
|
9
|
+
export type TxSortOrder = 'asc' | 'desc' | null;
|
|
10
|
+
export type TxTableSortMode = 'single' | 'multiple';
|
|
11
|
+
export type TxTableSelectionMode = 'single' | 'multiple' | 'checkbox' | 'radio';
|
|
12
|
+
export type TxTableColumnResizeMode = 'fit' | 'expand';
|
|
13
|
+
export type TxTableStateStorage = 'local' | 'session';
|
|
14
|
+
export type TxTableFrozen = 'start' | 'end';
|
|
15
|
+
export type TxTableAlign = 'start' | 'center' | 'end';
|
|
16
|
+
export type TxTablePaginatorPosition = 'top' | 'bottom' | 'both';
|
|
17
|
+
export type TxTableRowKey = string | number;
|
|
18
|
+
export type TxTableFilterDisplay = 'menu' | 'row';
|
|
19
|
+
export type TxTableEditMode = 'cell' | 'row';
|
|
20
|
+
export type TxTableRowGroupMode = 'subheader' | 'rowspan';
|
|
21
|
+
export type TxTableEditType = 'text' | 'numeric' | 'date' | 'boolean';
|
|
22
|
+
export type TxTableFilterType = 'text' | 'numeric' | 'date' | 'boolean';
|
|
23
|
+
export type TxFilterOperator = 'and' | 'or';
|
|
24
|
+
export type TxFilterMatchMode = 'startsWith' | 'contains' | 'notContains' | 'endsWith' | 'equals' | 'notEquals' | 'in' | 'lt' | 'lte' | 'gt' | 'gte' | 'between' | 'dateIs' | 'dateIsNot' | 'dateBefore' | 'dateAfter';
|
|
25
|
+
export interface TxFilterRule {
|
|
26
|
+
value: unknown;
|
|
27
|
+
matchMode: TxFilterMatchMode;
|
|
28
|
+
}
|
|
29
|
+
export interface TxColumnFilter {
|
|
30
|
+
operator: TxFilterOperator;
|
|
31
|
+
rules: TxFilterRule[];
|
|
32
|
+
}
|
|
33
|
+
export type TxTableFilters = Record<string, TxColumnFilter>;
|
|
34
|
+
export interface TxTableFilterOption {
|
|
35
|
+
label: string;
|
|
36
|
+
value: unknown;
|
|
37
|
+
}
|
|
38
|
+
export interface TxTableFilterEvent<T = unknown> {
|
|
39
|
+
filters: TxTableFilters;
|
|
40
|
+
globalFilter: string;
|
|
41
|
+
filteredValue: T[];
|
|
42
|
+
}
|
|
43
|
+
export type TxTablePart = 'root' | 'toolbar' | 'frame' | 'scroller' | 'table' | 'thead' | 'headerRow' | 'headerCell' | 'sortButton' | 'sortIcon' | 'tbody' | 'row' | 'cell' | 'tfoot' | 'footerCell' | 'loading' | 'empty' | 'paginator' | 'cards' | 'card';
|
|
44
|
+
export interface TxTableColumn {
|
|
45
|
+
field: string;
|
|
46
|
+
header?: string;
|
|
47
|
+
sortable?: boolean;
|
|
48
|
+
sortField?: string;
|
|
49
|
+
reorderable?: boolean;
|
|
50
|
+
resizable?: boolean;
|
|
51
|
+
hideable?: boolean;
|
|
52
|
+
hidden?: boolean;
|
|
53
|
+
width?: string;
|
|
54
|
+
initialWidth?: string;
|
|
55
|
+
minWidth?: string;
|
|
56
|
+
maxWidth?: string;
|
|
57
|
+
frozen?: TxTableFrozen;
|
|
58
|
+
align?: TxTableAlign;
|
|
59
|
+
headerClass?: string;
|
|
60
|
+
cellClass?: string;
|
|
61
|
+
footer?: string;
|
|
62
|
+
cardTitle?: boolean;
|
|
63
|
+
hideInCard?: boolean;
|
|
64
|
+
filter?: boolean;
|
|
65
|
+
filterField?: string;
|
|
66
|
+
filterType?: TxTableFilterType;
|
|
67
|
+
filterMatchModes?: TxFilterMatchMode[];
|
|
68
|
+
filterOptions?: TxTableFilterOption[];
|
|
69
|
+
filterPlaceholder?: string;
|
|
70
|
+
editable?: boolean;
|
|
71
|
+
editType?: TxTableEditType;
|
|
72
|
+
editOptions?: TxTableFilterOption[];
|
|
73
|
+
}
|
|
74
|
+
export interface TxSortMeta {
|
|
75
|
+
field: string;
|
|
76
|
+
order: Exclude<TxSortOrder, null>;
|
|
77
|
+
}
|
|
78
|
+
export interface TxTableSortEvent {
|
|
79
|
+
field: string | null;
|
|
80
|
+
order: TxSortOrder;
|
|
81
|
+
multiSortMeta: TxSortMeta[];
|
|
82
|
+
}
|
|
83
|
+
export interface TxTableLazyLoadEvent {
|
|
84
|
+
first: number;
|
|
85
|
+
rows: number;
|
|
86
|
+
sortField: string | null;
|
|
87
|
+
sortOrder: TxSortOrder;
|
|
88
|
+
multiSortMeta: TxSortMeta[];
|
|
89
|
+
filters: TxTableFilters;
|
|
90
|
+
globalFilter: string;
|
|
91
|
+
}
|
|
92
|
+
export type TxTablePageEvent = TxPageState;
|
|
93
|
+
export interface TxTableRowEvent<T = unknown> {
|
|
94
|
+
row: T;
|
|
95
|
+
index: number;
|
|
96
|
+
originalEvent?: Event;
|
|
97
|
+
}
|
|
98
|
+
export interface TxTableRowReorderEvent<T = unknown> {
|
|
99
|
+
from: number;
|
|
100
|
+
to: number;
|
|
101
|
+
value: T[];
|
|
102
|
+
}
|
|
103
|
+
export interface TxTableGroupContext<T = unknown> {
|
|
104
|
+
$implicit: T;
|
|
105
|
+
value: unknown;
|
|
106
|
+
count: number;
|
|
107
|
+
rows: T[];
|
|
108
|
+
collapsed: boolean;
|
|
109
|
+
toggle: () => void;
|
|
110
|
+
}
|
|
111
|
+
export interface TxTableColumnResizeEvent {
|
|
112
|
+
field: string;
|
|
113
|
+
width: number;
|
|
114
|
+
}
|
|
115
|
+
export interface TxTableColumnReorderEvent {
|
|
116
|
+
columns: TxTableColumn[];
|
|
117
|
+
from: number;
|
|
118
|
+
to: number;
|
|
119
|
+
}
|
|
120
|
+
export interface TxTableState {
|
|
121
|
+
widths?: Record<string, number>;
|
|
122
|
+
order?: string[];
|
|
123
|
+
hidden?: string[];
|
|
124
|
+
sortField?: string | null;
|
|
125
|
+
sortOrder?: TxSortOrder;
|
|
126
|
+
multiSortMeta?: TxSortMeta[];
|
|
127
|
+
first?: number;
|
|
128
|
+
rows?: number;
|
|
129
|
+
filters?: TxTableFilters;
|
|
130
|
+
globalFilter?: string;
|
|
131
|
+
actionOrder?: string[];
|
|
132
|
+
pinnedActions?: string[];
|
|
133
|
+
}
|
|
134
|
+
export interface TxTableCellEditEvent<T = unknown> {
|
|
135
|
+
row: T;
|
|
136
|
+
index: number;
|
|
137
|
+
field: string;
|
|
138
|
+
value: unknown;
|
|
139
|
+
previousValue: unknown;
|
|
140
|
+
}
|
|
141
|
+
export interface TxTableRowEditEvent<T = unknown> {
|
|
142
|
+
row: T;
|
|
143
|
+
index: number;
|
|
144
|
+
changes: Record<string, unknown>;
|
|
145
|
+
previous: Record<string, unknown>;
|
|
146
|
+
}
|
|
147
|
+
export interface TxTableEditorContext<T = unknown> {
|
|
148
|
+
$implicit: T;
|
|
149
|
+
row: T;
|
|
150
|
+
index: number;
|
|
151
|
+
column: TxTableColumn;
|
|
152
|
+
value: unknown;
|
|
153
|
+
set: (value: unknown) => void;
|
|
154
|
+
commit: () => void;
|
|
155
|
+
cancel: () => void;
|
|
156
|
+
}
|
|
157
|
+
export interface TxTableCellContext<T = unknown> {
|
|
158
|
+
$implicit: T;
|
|
159
|
+
row: T;
|
|
160
|
+
index: number;
|
|
161
|
+
column: TxTableColumn;
|
|
162
|
+
value: unknown;
|
|
163
|
+
}
|
|
164
|
+
export interface TxTableHeaderContext {
|
|
165
|
+
$implicit: TxTableColumn;
|
|
166
|
+
}
|
|
167
|
+
export interface TxTableRowContext<T = unknown> {
|
|
168
|
+
$implicit: T;
|
|
169
|
+
index: number;
|
|
170
|
+
}
|
|
171
|
+
export interface TxTableEmptyContext {
|
|
172
|
+
$implicit: number;
|
|
173
|
+
}
|
|
174
|
+
export interface TxTableActionConfig {
|
|
175
|
+
label: string;
|
|
176
|
+
id?: string;
|
|
177
|
+
}
|
|
178
|
+
export interface TxTableActionItem {
|
|
179
|
+
id: string;
|
|
180
|
+
label: string;
|
|
181
|
+
}
|
|
182
|
+
export declare class TxTableActionsStore {
|
|
183
|
+
readonly inlineCount: import("@angular/core").WritableSignal<number>;
|
|
184
|
+
readonly order: import("@angular/core").WritableSignal<string[]>;
|
|
185
|
+
readonly pinned: import("@angular/core").WritableSignal<ReadonlySet<string> | null>;
|
|
186
|
+
private readonly registry;
|
|
187
|
+
private listener;
|
|
188
|
+
readonly registeredActions: import("@angular/core").Signal<TxTableActionItem[]>;
|
|
189
|
+
private readonly defaultPinned;
|
|
190
|
+
readonly pinnedIds: import("@angular/core").Signal<ReadonlySet<string>>;
|
|
191
|
+
readonly columnWidth: import("@angular/core").Signal<string>;
|
|
192
|
+
onChange(listener: () => void): void;
|
|
193
|
+
restore(order: readonly string[] | undefined, pinned: readonly string[] | undefined): void;
|
|
194
|
+
register(actions: readonly TxTableActionItem[]): void;
|
|
195
|
+
isPinned(id: string): boolean;
|
|
196
|
+
setPinned(id: string, pinned: boolean): void;
|
|
197
|
+
reorder(from: number, to: number): void;
|
|
198
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TxTableActionsStore, never>;
|
|
199
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
200
|
+
}
|
|
201
|
+
export declare class TxTableCell {
|
|
202
|
+
readonly templateRef: TemplateRef<TxTableCellContext<unknown>>;
|
|
203
|
+
readonly txTableCell: import("@angular/core").InputSignal<string>;
|
|
204
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TxTableCell, never>;
|
|
205
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TxTableCell, "ng-template[txTableCell]", never, {
|
|
206
|
+
"txTableCell": {
|
|
207
|
+
"alias": "txTableCell";
|
|
208
|
+
"required": true;
|
|
209
|
+
"isSignal": true;
|
|
210
|
+
};
|
|
211
|
+
}, {}, never, never, true, never>;
|
|
212
|
+
}
|
|
213
|
+
export declare class TxTableEditor {
|
|
214
|
+
readonly templateRef: TemplateRef<TxTableEditorContext<unknown>>;
|
|
215
|
+
readonly txTableEditor: import("@angular/core").InputSignal<string>;
|
|
216
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TxTableEditor, never>;
|
|
217
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TxTableEditor, "ng-template[txTableEditor]", never, {
|
|
218
|
+
"txTableEditor": {
|
|
219
|
+
"alias": "txTableEditor";
|
|
220
|
+
"required": true;
|
|
221
|
+
"isSignal": true;
|
|
222
|
+
};
|
|
223
|
+
}, {}, never, never, true, never>;
|
|
224
|
+
}
|
|
225
|
+
export declare class TxTableHeaderCell {
|
|
226
|
+
readonly templateRef: TemplateRef<TxTableHeaderContext>;
|
|
227
|
+
readonly txTableHeaderCell: import("@angular/core").InputSignal<string>;
|
|
228
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TxTableHeaderCell, never>;
|
|
229
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TxTableHeaderCell, "ng-template[txTableHeaderCell]", never, {
|
|
230
|
+
"txTableHeaderCell": {
|
|
231
|
+
"alias": "txTableHeaderCell";
|
|
232
|
+
"required": true;
|
|
233
|
+
"isSignal": true;
|
|
234
|
+
};
|
|
235
|
+
}, {}, never, never, true, never>;
|
|
236
|
+
}
|
|
237
|
+
export declare class TxTableFooterCell {
|
|
238
|
+
readonly templateRef: TemplateRef<TxTableHeaderContext>;
|
|
239
|
+
readonly txTableFooterCell: import("@angular/core").InputSignal<string>;
|
|
240
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TxTableFooterCell, never>;
|
|
241
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TxTableFooterCell, "ng-template[txTableFooterCell]", never, {
|
|
242
|
+
"txTableFooterCell": {
|
|
243
|
+
"alias": "txTableFooterCell";
|
|
244
|
+
"required": true;
|
|
245
|
+
"isSignal": true;
|
|
246
|
+
};
|
|
247
|
+
}, {}, never, never, true, never>;
|
|
248
|
+
}
|
|
249
|
+
export declare class TxTableCard {
|
|
250
|
+
readonly templateRef: TemplateRef<TxTableRowContext<unknown>>;
|
|
251
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TxTableCard, never>;
|
|
252
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TxTableCard, "ng-template[txTableCard]", never, {}, {}, never, never, true, never>;
|
|
253
|
+
}
|
|
254
|
+
export declare class TxTableExpansion {
|
|
255
|
+
readonly templateRef: TemplateRef<TxTableRowContext<unknown>>;
|
|
256
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TxTableExpansion, never>;
|
|
257
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TxTableExpansion, "ng-template[txTableExpansion]", never, {}, {}, never, never, true, never>;
|
|
258
|
+
}
|
|
259
|
+
export declare class TxTableActionsTemplate {
|
|
260
|
+
readonly templateRef: TemplateRef<TxTableRowContext<unknown>>;
|
|
261
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TxTableActionsTemplate, never>;
|
|
262
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TxTableActionsTemplate, "ng-template[txTableActions]", never, {}, {}, never, never, true, never>;
|
|
263
|
+
}
|
|
264
|
+
export declare class TxTableGroupHeader {
|
|
265
|
+
readonly templateRef: TemplateRef<TxTableGroupContext<unknown>>;
|
|
266
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TxTableGroupHeader, never>;
|
|
267
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TxTableGroupHeader, "ng-template[txTableGroupHeader]", never, {}, {}, never, never, true, never>;
|
|
268
|
+
}
|
|
269
|
+
export declare class TxTableGroupFooter {
|
|
270
|
+
readonly templateRef: TemplateRef<TxTableGroupContext<unknown>>;
|
|
271
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TxTableGroupFooter, never>;
|
|
272
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TxTableGroupFooter, "ng-template[txTableGroupFooter]", never, {}, {}, never, never, true, never>;
|
|
273
|
+
}
|
|
274
|
+
export declare class TxTableEmpty {
|
|
275
|
+
readonly templateRef: TemplateRef<TxTableEmptyContext>;
|
|
276
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TxTableEmpty, never>;
|
|
277
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TxTableEmpty, "ng-template[txTableEmpty]", never, {}, {}, never, never, true, never>;
|
|
278
|
+
}
|
|
279
|
+
export declare class TxTableAction {
|
|
280
|
+
readonly templateRef: TemplateRef<unknown>;
|
|
281
|
+
readonly txTableAction: import("@angular/core").InputSignal<TxTableActionConfig>;
|
|
282
|
+
readonly id: import("@angular/core").Signal<string>;
|
|
283
|
+
readonly label: import("@angular/core").Signal<string>;
|
|
284
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TxTableAction, never>;
|
|
285
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TxTableAction, "[txTableAction]", never, {
|
|
286
|
+
"txTableAction": {
|
|
287
|
+
"alias": "txTableAction";
|
|
288
|
+
"required": true;
|
|
289
|
+
"isSignal": true;
|
|
290
|
+
};
|
|
291
|
+
}, {}, never, never, true, never>;
|
|
292
|
+
}
|
|
293
|
+
export interface TxTableRowActionsSource {
|
|
294
|
+
readonly menuActions: Signal<readonly TxTableAction[]>;
|
|
295
|
+
}
|
|
296
|
+
export interface TxTableContext {
|
|
297
|
+
readonly cardView: Signal<boolean>;
|
|
298
|
+
readonly actionsStore: TxTableActionsStore;
|
|
299
|
+
readonly reorderableColumns: Signal<boolean>;
|
|
300
|
+
reorderColumn(field: string, targetField: string): void;
|
|
301
|
+
readonly filters: Signal<TxTableFilters>;
|
|
302
|
+
readonly filterDelay: Signal<number>;
|
|
303
|
+
applyFilter(field: string, filter: TxColumnFilter | null): void;
|
|
304
|
+
registerRowActions(row: Element, source: TxTableRowActionsSource): void;
|
|
305
|
+
unregisterRowActions(row: Element, source: TxTableRowActionsSource): void;
|
|
306
|
+
}
|
|
307
|
+
export declare const TX_TABLE: InjectionToken<TxTableContext>;
|
|
308
|
+
export declare const TX_TABLE_SELECT_FIELD = "__select";
|
|
309
|
+
export declare const TX_TABLE_EXPAND_FIELD = "__expand";
|
|
310
|
+
export declare const TX_TABLE_ACTIONS_FIELD = "__actions";
|
|
311
|
+
export declare const TX_TABLE_EDITOR_FIELD = "__editor";
|
|
312
|
+
export declare const TX_TABLE_REORDER_FIELD = "__reorder";
|
|
313
|
+
interface TxTableRenderColumn {
|
|
314
|
+
column: TxTableColumn;
|
|
315
|
+
kind: 'data' | 'select' | 'expand' | 'actions' | 'editor' | 'reorder';
|
|
316
|
+
style: Record<string, string>;
|
|
317
|
+
frozen: 'start' | 'end' | null;
|
|
318
|
+
lastFrozenStart: boolean;
|
|
319
|
+
firstFrozenEnd: boolean;
|
|
320
|
+
}
|
|
321
|
+
interface TxTableRenderRow<T> {
|
|
322
|
+
row: T;
|
|
323
|
+
index: number;
|
|
324
|
+
key: unknown;
|
|
325
|
+
selected: boolean;
|
|
326
|
+
selectable: boolean;
|
|
327
|
+
expanded: boolean;
|
|
328
|
+
group: TxTableRenderGroup | null;
|
|
329
|
+
}
|
|
330
|
+
interface TxTableRenderGroup {
|
|
331
|
+
value: unknown;
|
|
332
|
+
key: string;
|
|
333
|
+
first: boolean;
|
|
334
|
+
last: boolean;
|
|
335
|
+
size: number;
|
|
336
|
+
collapsed: boolean;
|
|
337
|
+
}
|
|
338
|
+
export declare class TxTable<T = unknown> implements TxTableContext {
|
|
339
|
+
private document;
|
|
340
|
+
private host;
|
|
341
|
+
private injector;
|
|
342
|
+
private localeService;
|
|
343
|
+
private breakpointObserver;
|
|
344
|
+
readonly actionsStore: TxTableActionsStore;
|
|
345
|
+
readonly value: import("@angular/core").InputSignal<readonly T[] | null | undefined>;
|
|
346
|
+
readonly columns: import("@angular/core").ModelSignal<TxTableColumn[]>;
|
|
347
|
+
readonly dataKey: import("@angular/core").InputSignal<string | undefined>;
|
|
348
|
+
readonly size: import("@angular/core").InputSignal<TxTableSize>;
|
|
349
|
+
readonly showGridlines: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
350
|
+
readonly stripedRows: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
351
|
+
readonly rowHover: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
352
|
+
readonly scrollHeight: import("@angular/core").InputSignal<string | undefined>;
|
|
353
|
+
readonly loading: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
354
|
+
readonly emptyMessage: import("@angular/core").InputSignal<string | undefined>;
|
|
355
|
+
readonly caption: import("@angular/core").InputSignal<string | undefined>;
|
|
356
|
+
readonly ariaLabel: import("@angular/core").InputSignal<string | undefined>;
|
|
357
|
+
readonly ariaLabelledBy: import("@angular/core").InputSignal<string | undefined>;
|
|
358
|
+
readonly rowClass: import("@angular/core").InputSignal<((row: T, index: number) => string | string[] | Record<string, boolean> | null | undefined) | undefined>;
|
|
359
|
+
readonly sortMode: import("@angular/core").InputSignal<TxTableSortMode>;
|
|
360
|
+
readonly sortField: import("@angular/core").ModelSignal<string | null>;
|
|
361
|
+
readonly sortOrder: import("@angular/core").ModelSignal<TxSortOrder>;
|
|
362
|
+
readonly multiSortMeta: import("@angular/core").ModelSignal<TxSortMeta[]>;
|
|
363
|
+
readonly customSort: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
364
|
+
readonly lazy: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
365
|
+
readonly filterDisplay: import("@angular/core").InputSignal<TxTableFilterDisplay>;
|
|
366
|
+
readonly filters: import("@angular/core").ModelSignal<TxTableFilters>;
|
|
367
|
+
readonly globalFilter: import("@angular/core").ModelSignal<string>;
|
|
368
|
+
readonly globalFilterFields: import("@angular/core").InputSignal<string[] | undefined>;
|
|
369
|
+
readonly filterDelay: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
370
|
+
readonly lazyLoadOnInit: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
371
|
+
readonly paginator: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
372
|
+
readonly paginatorPosition: import("@angular/core").InputSignal<TxTablePaginatorPosition>;
|
|
373
|
+
readonly first: import("@angular/core").ModelSignal<number>;
|
|
374
|
+
readonly rows: import("@angular/core").ModelSignal<number>;
|
|
375
|
+
readonly totalRecords: import("@angular/core").InputSignalWithTransform<number | undefined, unknown>;
|
|
376
|
+
readonly rowsPerPageOptions: import("@angular/core").InputSignal<TxRowsPerPageOption[] | null | undefined>;
|
|
377
|
+
readonly showTotal: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
378
|
+
readonly showCurrentPageReport: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
379
|
+
readonly currentPageReportTemplate: import("@angular/core").InputSignal<string | undefined>;
|
|
380
|
+
readonly showFirstLastIcon: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
381
|
+
readonly showPageLinks: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
382
|
+
readonly showJumpToPageDropdown: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
383
|
+
readonly showJumpToPageInput: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
384
|
+
readonly alwaysShowPaginator: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
385
|
+
readonly pageLinks: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
386
|
+
readonly selectionMode: import("@angular/core").InputSignal<TxTableSelectionMode | null | undefined>;
|
|
387
|
+
readonly selection: import("@angular/core").ModelSignal<T | T[] | null>;
|
|
388
|
+
readonly metaKeySelection: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
389
|
+
readonly rowSelectable: import("@angular/core").InputSignal<((row: T, index: number) => boolean) | undefined>;
|
|
390
|
+
readonly selectAll: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
|
|
391
|
+
readonly editMode: import("@angular/core").InputSignal<TxTableEditMode | null | undefined>;
|
|
392
|
+
readonly editingRowKeys: import("@angular/core").ModelSignal<unknown[]>;
|
|
393
|
+
readonly expandedRowKeys: import("@angular/core").ModelSignal<unknown[]>;
|
|
394
|
+
readonly virtualScroll: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
395
|
+
readonly virtualScrollItemSize: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
396
|
+
readonly virtualScrollTolerance: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
397
|
+
readonly cellTooltip: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
398
|
+
readonly csvSeparator: import("@angular/core").InputSignal<string>;
|
|
399
|
+
readonly exportFilename: import("@angular/core").InputSignal<string>;
|
|
400
|
+
readonly exportFunction: import("@angular/core").InputSignal<((row: T, column: TxTableColumn) => unknown) | undefined>;
|
|
401
|
+
readonly reorderableRows: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
402
|
+
readonly frozenValue: import("@angular/core").InputSignal<readonly T[] | null | undefined>;
|
|
403
|
+
readonly groupRowsBy: import("@angular/core").InputSignal<string | undefined>;
|
|
404
|
+
readonly rowGroupMode: import("@angular/core").InputSignal<TxTableRowGroupMode>;
|
|
405
|
+
readonly expandableRowGroups: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
406
|
+
readonly expandedRowGroups: import("@angular/core").ModelSignal<unknown[] | null>;
|
|
407
|
+
readonly expandableRows: import("@angular/core").InputSignal<((row: T, index: number) => boolean) | undefined>;
|
|
408
|
+
readonly resizableColumns: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
409
|
+
readonly columnResizeMode: import("@angular/core").InputSignal<TxTableColumnResizeMode>;
|
|
410
|
+
readonly reorderableColumns: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
411
|
+
readonly columnSettings: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
412
|
+
readonly actionsSettings: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
413
|
+
readonly actionsInlineCount: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
414
|
+
readonly actionsHeader: import("@angular/core").InputSignal<string | undefined>;
|
|
415
|
+
readonly actionsFrozen: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
416
|
+
readonly stateKey: import("@angular/core").InputSignal<string | undefined>;
|
|
417
|
+
readonly stateStorage: import("@angular/core").InputSignal<TxTableStateStorage>;
|
|
418
|
+
readonly toolbar: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
419
|
+
readonly contextMenu: import("@angular/core").InputSignal<TxMenuItem<unknown>[] | null | undefined>;
|
|
420
|
+
readonly contextMenuSelection: import("@angular/core").ModelSignal<T | null>;
|
|
421
|
+
readonly rowContextMenu: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
422
|
+
readonly responsive: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
423
|
+
readonly breakpoint: import("@angular/core").InputSignal<string>;
|
|
424
|
+
readonly dt: import("@angular/core").InputSignal<TectraDeepPartial<{
|
|
425
|
+
root: {
|
|
426
|
+
borderColor: string;
|
|
427
|
+
transitionDuration: string;
|
|
428
|
+
color: string;
|
|
429
|
+
fontSize: string;
|
|
430
|
+
lineHeight: string;
|
|
431
|
+
};
|
|
432
|
+
toolbar: {
|
|
433
|
+
gap: string;
|
|
434
|
+
marginBottom: string;
|
|
435
|
+
};
|
|
436
|
+
scroller: {
|
|
437
|
+
paddingBottom: string;
|
|
438
|
+
scrollbarSize: string;
|
|
439
|
+
scrollbarThumb: string;
|
|
440
|
+
scrollbarThumbHover: string;
|
|
441
|
+
};
|
|
442
|
+
headerCell: {
|
|
443
|
+
background: string;
|
|
444
|
+
color: string;
|
|
445
|
+
padding: string;
|
|
446
|
+
fontSize: string;
|
|
447
|
+
fontWeight: string;
|
|
448
|
+
gap: string;
|
|
449
|
+
sm: {
|
|
450
|
+
padding: string;
|
|
451
|
+
};
|
|
452
|
+
lg: {
|
|
453
|
+
padding: string;
|
|
454
|
+
};
|
|
455
|
+
};
|
|
456
|
+
sortIcon: {
|
|
457
|
+
size: string;
|
|
458
|
+
color: string;
|
|
459
|
+
badgeSize: string;
|
|
460
|
+
badgeFontSize: string;
|
|
461
|
+
badgeBackground: string;
|
|
462
|
+
badgeColor: string;
|
|
463
|
+
};
|
|
464
|
+
row: {
|
|
465
|
+
background: string;
|
|
466
|
+
hoverBackground: string;
|
|
467
|
+
color: string;
|
|
468
|
+
stripedBackground: string;
|
|
469
|
+
selectedBackground: string;
|
|
470
|
+
selectedColor: string;
|
|
471
|
+
menuBackground: string;
|
|
472
|
+
focusRing: {
|
|
473
|
+
width: string;
|
|
474
|
+
style: string;
|
|
475
|
+
color: string;
|
|
476
|
+
offset: string;
|
|
477
|
+
};
|
|
478
|
+
};
|
|
479
|
+
bodyCell: {
|
|
480
|
+
padding: string;
|
|
481
|
+
height: string;
|
|
482
|
+
selectedBorderColor: string;
|
|
483
|
+
sm: {
|
|
484
|
+
padding: string;
|
|
485
|
+
height: string;
|
|
486
|
+
};
|
|
487
|
+
lg: {
|
|
488
|
+
padding: string;
|
|
489
|
+
height: string;
|
|
490
|
+
};
|
|
491
|
+
};
|
|
492
|
+
footerCell: {
|
|
493
|
+
background: string;
|
|
494
|
+
color: string;
|
|
495
|
+
padding: string;
|
|
496
|
+
fontWeight: string;
|
|
497
|
+
};
|
|
498
|
+
frozenColumn: {
|
|
499
|
+
shadow: string;
|
|
500
|
+
};
|
|
501
|
+
columnResizer: {
|
|
502
|
+
width: string;
|
|
503
|
+
lineWidth: string;
|
|
504
|
+
color: string;
|
|
505
|
+
};
|
|
506
|
+
dropPoint: {
|
|
507
|
+
color: string;
|
|
508
|
+
background: string;
|
|
509
|
+
hoverBackground: string;
|
|
510
|
+
};
|
|
511
|
+
dragPreview: {
|
|
512
|
+
background: string;
|
|
513
|
+
borderColor: string;
|
|
514
|
+
borderRadius: string;
|
|
515
|
+
shadow: string;
|
|
516
|
+
};
|
|
517
|
+
loading: {
|
|
518
|
+
blur: string;
|
|
519
|
+
background: string;
|
|
520
|
+
};
|
|
521
|
+
empty: {
|
|
522
|
+
padding: string;
|
|
523
|
+
color: string;
|
|
524
|
+
};
|
|
525
|
+
filter: {
|
|
526
|
+
gap: string;
|
|
527
|
+
minWidth: string;
|
|
528
|
+
buttonInset: string;
|
|
529
|
+
cellPadding: string;
|
|
530
|
+
};
|
|
531
|
+
group: {
|
|
532
|
+
background: string;
|
|
533
|
+
fontWeight: string;
|
|
534
|
+
};
|
|
535
|
+
editor: {
|
|
536
|
+
paddingBlock: string;
|
|
537
|
+
};
|
|
538
|
+
expansion: {
|
|
539
|
+
duration: string;
|
|
540
|
+
easing: string;
|
|
541
|
+
};
|
|
542
|
+
grip: {
|
|
543
|
+
size: string;
|
|
544
|
+
color: string;
|
|
545
|
+
};
|
|
546
|
+
rowToggleButton: {
|
|
547
|
+
size: string;
|
|
548
|
+
borderRadius: string;
|
|
549
|
+
color: string;
|
|
550
|
+
hoverColor: string;
|
|
551
|
+
hoverBackground: string;
|
|
552
|
+
};
|
|
553
|
+
paginator: {
|
|
554
|
+
marginTop: string;
|
|
555
|
+
};
|
|
556
|
+
settings: {
|
|
557
|
+
width: string;
|
|
558
|
+
padding: string;
|
|
559
|
+
gap: string;
|
|
560
|
+
maxHeight: string;
|
|
561
|
+
titleGap: string;
|
|
562
|
+
titleFontWeight: string;
|
|
563
|
+
itemPadding: string;
|
|
564
|
+
itemRadius: string;
|
|
565
|
+
itemHoverBackground: string;
|
|
566
|
+
handleColor: string;
|
|
567
|
+
handleSize: string;
|
|
568
|
+
};
|
|
569
|
+
actions: {
|
|
570
|
+
gap: string;
|
|
571
|
+
overflowPadding: string;
|
|
572
|
+
};
|
|
573
|
+
card: {
|
|
574
|
+
minWidth: string;
|
|
575
|
+
gap: string;
|
|
576
|
+
borderRadius: string;
|
|
577
|
+
background: string;
|
|
578
|
+
borderColor: string;
|
|
579
|
+
fieldPadding: string;
|
|
580
|
+
fieldGap: string;
|
|
581
|
+
fieldFontSize: string;
|
|
582
|
+
labelFontSize: string;
|
|
583
|
+
labelColor: string;
|
|
584
|
+
titlePadding: string;
|
|
585
|
+
titleFontSize: string;
|
|
586
|
+
titleFontWeight: string;
|
|
587
|
+
selectInset: string;
|
|
588
|
+
actionsPadding: string;
|
|
589
|
+
};
|
|
590
|
+
}> | undefined>;
|
|
591
|
+
readonly pt: import("@angular/core").InputSignal<Partial<Record<TxTablePart, import("@tectra-ng/core/config").TxPassThroughValue<TxTable<T>>>> | undefined>;
|
|
592
|
+
readonly ptOptions: import("@angular/core").InputSignal<TxPassThroughOptions | undefined>;
|
|
593
|
+
readonly unstyled: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
|
|
594
|
+
readonly sortChange: import("@angular/core").OutputEmitterRef<TxTableSortEvent>;
|
|
595
|
+
readonly filterChange: import("@angular/core").OutputEmitterRef<TxTableFilterEvent<T>>;
|
|
596
|
+
readonly pageChange: import("@angular/core").OutputEmitterRef<TxPageState>;
|
|
597
|
+
readonly lazyLoad: import("@angular/core").OutputEmitterRef<TxTableLazyLoadEvent>;
|
|
598
|
+
readonly rowClick: import("@angular/core").OutputEmitterRef<TxTableRowEvent<T>>;
|
|
599
|
+
readonly rowSelect: import("@angular/core").OutputEmitterRef<TxTableRowEvent<T>>;
|
|
600
|
+
readonly rowUnselect: import("@angular/core").OutputEmitterRef<TxTableRowEvent<T>>;
|
|
601
|
+
readonly selectAllChange: import("@angular/core").OutputEmitterRef<boolean>;
|
|
602
|
+
readonly rowExpand: import("@angular/core").OutputEmitterRef<TxTableRowEvent<T>>;
|
|
603
|
+
readonly rowCollapse: import("@angular/core").OutputEmitterRef<TxTableRowEvent<T>>;
|
|
604
|
+
readonly columnResize: import("@angular/core").OutputEmitterRef<TxTableColumnResizeEvent>;
|
|
605
|
+
readonly columnReorder: import("@angular/core").OutputEmitterRef<TxTableColumnReorderEvent>;
|
|
606
|
+
readonly columnVisibilityChange: import("@angular/core").OutputEmitterRef<string[]>;
|
|
607
|
+
readonly contextMenuSelect: import("@angular/core").OutputEmitterRef<TxTableRowEvent<T>>;
|
|
608
|
+
readonly rowReorder: import("@angular/core").OutputEmitterRef<TxTableRowReorderEvent<T>>;
|
|
609
|
+
readonly rowGroupToggle: import("@angular/core").OutputEmitterRef<{
|
|
610
|
+
value: unknown;
|
|
611
|
+
expanded: boolean;
|
|
612
|
+
}>;
|
|
613
|
+
readonly cellEditInit: import("@angular/core").OutputEmitterRef<TxTableCellEditEvent<T>>;
|
|
614
|
+
readonly cellEditComplete: import("@angular/core").OutputEmitterRef<TxTableCellEditEvent<T>>;
|
|
615
|
+
readonly cellEditCancel: import("@angular/core").OutputEmitterRef<TxTableCellEditEvent<T>>;
|
|
616
|
+
readonly rowEditInit: import("@angular/core").OutputEmitterRef<TxTableRowEditEvent<T>>;
|
|
617
|
+
readonly rowEditSave: import("@angular/core").OutputEmitterRef<TxTableRowEditEvent<T>>;
|
|
618
|
+
readonly rowEditCancel: import("@angular/core").OutputEmitterRef<TxTableRowEditEvent<T>>;
|
|
619
|
+
readonly cellTemplates: import("@angular/core").Signal<readonly TxTableCell[]>;
|
|
620
|
+
readonly headerTemplates: import("@angular/core").Signal<readonly TxTableHeaderCell[]>;
|
|
621
|
+
readonly footerTemplates: import("@angular/core").Signal<readonly TxTableFooterCell[]>;
|
|
622
|
+
readonly cardTemplate: import("@angular/core").Signal<TxTableCard | undefined>;
|
|
623
|
+
readonly expansionTemplate: import("@angular/core").Signal<TxTableExpansion | undefined>;
|
|
624
|
+
readonly actionsTemplate: import("@angular/core").Signal<TxTableActionsTemplate | undefined>;
|
|
625
|
+
readonly emptyTemplate: import("@angular/core").Signal<TxTableEmpty | undefined>;
|
|
626
|
+
readonly editorTemplates: import("@angular/core").Signal<readonly TxTableEditor[]>;
|
|
627
|
+
readonly groupHeaderTemplate: import("@angular/core").Signal<TxTableGroupHeader | undefined>;
|
|
628
|
+
readonly groupFooterTemplate: import("@angular/core").Signal<TxTableGroupFooter | undefined>;
|
|
629
|
+
private readonly headerRow;
|
|
630
|
+
private readonly rowMenu;
|
|
631
|
+
readonly translations: import("@angular/core").Signal<import("@tectra-ng/core/config").TxTranslations>;
|
|
632
|
+
readonly isUnstyled: import("@angular/core").Signal<boolean>;
|
|
633
|
+
readonly passThrough: import("@angular/core").Signal<Partial<Record<TxTablePart, import("@tectra-ng/core/config").TxPassThroughPart>>>;
|
|
634
|
+
readonly hostStyle: import("@angular/core").Signal<{
|
|
635
|
+
[x: string]: string;
|
|
636
|
+
}>;
|
|
637
|
+
readonly hidden: import("@angular/core").WritableSignal<ReadonlySet<string>>;
|
|
638
|
+
readonly widths: import("@angular/core").WritableSignal<Record<string, number>>;
|
|
639
|
+
readonly resizing: import("@angular/core").WritableSignal<string | null>;
|
|
640
|
+
readonly frozenOffsets: import("@angular/core").WritableSignal<Record<string, number>>;
|
|
641
|
+
readonly focusedRow: import("@angular/core").WritableSignal<number>;
|
|
642
|
+
readonly menuRowKey: import("@angular/core").WritableSignal<unknown>;
|
|
643
|
+
readonly menuItems: import("@angular/core").WritableSignal<TxMenuItem<unknown>[]>;
|
|
644
|
+
readonly closingKeys: import("@angular/core").WritableSignal<unknown[]>;
|
|
645
|
+
readonly cellEdit: import("@angular/core").WritableSignal<{
|
|
646
|
+
key: unknown;
|
|
647
|
+
field: string;
|
|
648
|
+
value: unknown;
|
|
649
|
+
} | null>;
|
|
650
|
+
readonly rowDrafts: import("@angular/core").WritableSignal<ReadonlyMap<unknown, Record<string, unknown>>>;
|
|
651
|
+
readonly editVersion: import("@angular/core").WritableSignal<number>;
|
|
652
|
+
readonly reordered: import("@angular/core").WritableSignal<{
|
|
653
|
+
source: readonly T[];
|
|
654
|
+
rows: T[];
|
|
655
|
+
} | null>;
|
|
656
|
+
readonly headerHeight: import("@angular/core").WritableSignal<number>;
|
|
657
|
+
readonly scrollTop: import("@angular/core").WritableSignal<number>;
|
|
658
|
+
readonly viewportHeight: import("@angular/core").WritableSignal<number>;
|
|
659
|
+
private lastRange;
|
|
660
|
+
private readonly rowActionSources;
|
|
661
|
+
private restored;
|
|
662
|
+
private anchor;
|
|
663
|
+
private selectionAnchor;
|
|
664
|
+
private readonly narrow;
|
|
665
|
+
readonly cardView: import("@angular/core").Signal<boolean>;
|
|
666
|
+
readonly templatesByField: import("@angular/core").Signal<Map<string, TxTableCell>>;
|
|
667
|
+
readonly headerTemplatesByField: import("@angular/core").Signal<Map<string, TxTableHeaderCell>>;
|
|
668
|
+
readonly footerTemplatesByField: import("@angular/core").Signal<Map<string, TxTableFooterCell>>;
|
|
669
|
+
readonly hasFooter: import("@angular/core").Signal<boolean>;
|
|
670
|
+
readonly visibleColumns: import("@angular/core").Signal<TxTableColumn[]>;
|
|
671
|
+
readonly sortMeta: import("@angular/core").Signal<TxSortMeta[]>;
|
|
672
|
+
readonly allRows: import("@angular/core").Signal<readonly T[]>;
|
|
673
|
+
readonly hasFilters: import("@angular/core").Signal<boolean>;
|
|
674
|
+
readonly filterRow: import("@angular/core").Signal<boolean>;
|
|
675
|
+
readonly filteredRows: import("@angular/core").Signal<T[]>;
|
|
676
|
+
readonly sortedRows: import("@angular/core").Signal<T[]>;
|
|
677
|
+
readonly total: import("@angular/core").Signal<number>;
|
|
678
|
+
readonly pageRows: import("@angular/core").Signal<T[]>;
|
|
679
|
+
readonly editorTemplatesByField: import("@angular/core").Signal<Map<string, TxTableEditor>>;
|
|
680
|
+
readonly hasEditorColumn: import("@angular/core").Signal<boolean>;
|
|
681
|
+
readonly renderRows: import("@angular/core").Signal<TxTableRenderRow<T>[]>;
|
|
682
|
+
readonly windowRange: import("@angular/core").Signal<{
|
|
683
|
+
start: number;
|
|
684
|
+
end: number;
|
|
685
|
+
}>;
|
|
686
|
+
readonly visibleRows: import("@angular/core").Signal<TxTableRenderRow<T>[]>;
|
|
687
|
+
readonly spacerBefore: import("@angular/core").Signal<number>;
|
|
688
|
+
readonly spacerAfter: import("@angular/core").Signal<number>;
|
|
689
|
+
readonly collapsedGroupKeys: import("@angular/core").Signal<ReadonlySet<string>>;
|
|
690
|
+
readonly frozenRows: import("@angular/core").Signal<TxTableRenderRow<T>[]>;
|
|
691
|
+
readonly animatedGroups: import("@angular/core").Signal<boolean>;
|
|
692
|
+
readonly hasSelectColumn: import("@angular/core").Signal<boolean>;
|
|
693
|
+
readonly hasExpandColumn: import("@angular/core").Signal<boolean>;
|
|
694
|
+
readonly hasActionsColumn: import("@angular/core").Signal<boolean>;
|
|
695
|
+
readonly renderColumns: import("@angular/core").Signal<TxTableRenderColumn[]>;
|
|
696
|
+
readonly selectableRows: import("@angular/core").Signal<TxTableRenderRow<T>[]>;
|
|
697
|
+
readonly allSelected: import("@angular/core").Signal<boolean>;
|
|
698
|
+
readonly someSelected: import("@angular/core").Signal<boolean>;
|
|
699
|
+
readonly radioValue: import("@angular/core").Signal<unknown>;
|
|
700
|
+
readonly rowSelection: import("@angular/core").Signal<boolean>;
|
|
701
|
+
readonly showSettings: import("@angular/core").Signal<boolean>;
|
|
702
|
+
readonly showToolbar: import("@angular/core").Signal<boolean>;
|
|
703
|
+
readonly showPaginatorTop: import("@angular/core").Signal<boolean>;
|
|
704
|
+
readonly showPaginatorBottom: import("@angular/core").Signal<boolean>;
|
|
705
|
+
readonly empty: import("@angular/core").Signal<boolean>;
|
|
706
|
+
readonly dataColumnCount: import("@angular/core").Signal<number>;
|
|
707
|
+
readonly cardTitleField: import("@angular/core").Signal<string>;
|
|
708
|
+
readonly cardFields: import("@angular/core").Signal<TxTableColumn[]>;
|
|
709
|
+
readonly cardTitleColumn: import("@angular/core").Signal<TxTableColumn | null>;
|
|
710
|
+
constructor();
|
|
711
|
+
columnStyle(column: TxTableColumn): Record<string, string>;
|
|
712
|
+
frozenStyle(item: TxTableRenderColumn): Record<string, string>;
|
|
713
|
+
cellValue(row: T, column: TxTableColumn): unknown;
|
|
714
|
+
displayValue(row: T, column: TxTableColumn): string;
|
|
715
|
+
label(column: TxTableColumn): string;
|
|
716
|
+
isSortable(column: TxTableColumn): boolean;
|
|
717
|
+
sortFieldOf(column: TxTableColumn): string;
|
|
718
|
+
sortOrderOf(column: TxTableColumn): TxSortOrder;
|
|
719
|
+
sortIndexOf(column: TxTableColumn): number;
|
|
720
|
+
ariaSort(column: TxTableColumn): string | null;
|
|
721
|
+
sort(column: TxTableColumn, event: MouseEvent | KeyboardEvent): void;
|
|
722
|
+
onPage(state: TxPageState): void;
|
|
723
|
+
emitLazyLoad(): void;
|
|
724
|
+
private lazyEvent;
|
|
725
|
+
applyFilter(field: string, filter: TxColumnFilter | null): void;
|
|
726
|
+
clearFilters(): void;
|
|
727
|
+
isFiltered(field: string): boolean;
|
|
728
|
+
private afterFilter;
|
|
729
|
+
isSelected(row: T): boolean;
|
|
730
|
+
private multiple;
|
|
731
|
+
toggleRow(item: TxTableRenderRow<T>, event?: Event): void;
|
|
732
|
+
selectRadio(item: TxTableRenderRow<T>, event?: Event): void;
|
|
733
|
+
toggleAll(checked: boolean): void;
|
|
734
|
+
private sameRow;
|
|
735
|
+
onRowClick(item: TxTableRenderRow<T>, position: number, event: MouseEvent): void;
|
|
736
|
+
private selectionCount;
|
|
737
|
+
private selectRange;
|
|
738
|
+
onRowKeydown(item: TxTableRenderRow<T>, position: number, event: KeyboardEvent): void;
|
|
739
|
+
private focusRowAt;
|
|
740
|
+
toggleExpansion(item: TxTableRenderRow<T>, event?: Event): void;
|
|
741
|
+
isClosing(key: unknown): boolean;
|
|
742
|
+
finishClosing(key: unknown, event?: TransitionEvent): void;
|
|
743
|
+
isEditable(column: TxTableColumn): boolean;
|
|
744
|
+
isEditing(item: TxTableRenderRow<T>, column: TxTableColumn): boolean;
|
|
745
|
+
isRowEditing(item: TxTableRenderRow<T>): boolean;
|
|
746
|
+
draftValue(item: TxTableRenderRow<T>, column: TxTableColumn): unknown;
|
|
747
|
+
setDraft(item: TxTableRenderRow<T>, column: TxTableColumn, value: unknown): void;
|
|
748
|
+
editorContext(item: TxTableRenderRow<T>, column: TxTableColumn): {
|
|
749
|
+
$implicit: T;
|
|
750
|
+
row: T;
|
|
751
|
+
index: number;
|
|
752
|
+
column: TxTableColumn;
|
|
753
|
+
value: unknown;
|
|
754
|
+
set: (value: unknown) => void;
|
|
755
|
+
commit: () => void;
|
|
756
|
+
cancel: () => void;
|
|
757
|
+
};
|
|
758
|
+
startCellEdit(item: TxTableRenderRow<T>, column: TxTableColumn, event?: Event): void;
|
|
759
|
+
commitCell(): void;
|
|
760
|
+
cancelCell(): void;
|
|
761
|
+
onEditorKeydown(item: TxTableRenderRow<T>, column: TxTableColumn, event: KeyboardEvent): void;
|
|
762
|
+
onCellFocusOut(item: TxTableRenderRow<T>, column: TxTableRenderColumn, event: FocusEvent): void;
|
|
763
|
+
onCellClick(item: TxTableRenderRow<T>, column: TxTableRenderColumn, event: MouseEvent): void;
|
|
764
|
+
onCellKeydown(item: TxTableRenderRow<T>, column: TxTableRenderColumn, event: KeyboardEvent): void;
|
|
765
|
+
private moveCellEdit;
|
|
766
|
+
startRowEdit(item: TxTableRenderRow<T>): void;
|
|
767
|
+
saveRow(item: TxTableRenderRow<T>): void;
|
|
768
|
+
cancelRow(item: TxTableRenderRow<T>): void;
|
|
769
|
+
private closeRowEdit;
|
|
770
|
+
private focusEditor;
|
|
771
|
+
dateInput(value: unknown): string;
|
|
772
|
+
parseDateInput(value: string): Date | null;
|
|
773
|
+
groupContext(item: TxTableRenderRow<T>): TxTableGroupContext<T>;
|
|
774
|
+
toggleGroup(item: TxTableRenderRow<T>): void;
|
|
775
|
+
isGroupedCellHidden(item: TxTableRenderRow<T>, column: TxTableRenderColumn): boolean;
|
|
776
|
+
groupRowspan(item: TxTableRenderRow<T>, column: TxTableRenderColumn): number | null;
|
|
777
|
+
dropRow(event: CdkDragDrop<unknown>): void;
|
|
778
|
+
moveRowBy(position: number, step: number, event: Event): void;
|
|
779
|
+
private moveRow;
|
|
780
|
+
isLoadingRow(item: TxTableRenderRow<T>): boolean;
|
|
781
|
+
onScroll(event: Event): void;
|
|
782
|
+
private requestVirtualRange;
|
|
783
|
+
exportCSV(options?: {
|
|
784
|
+
selectionOnly?: boolean;
|
|
785
|
+
filename?: string;
|
|
786
|
+
}): string;
|
|
787
|
+
canExpand(item: TxTableRenderRow<T>): boolean;
|
|
788
|
+
rowClassOf(item: TxTableRenderRow<T>): string | string[] | Record<string, boolean> | null | undefined;
|
|
789
|
+
toggleColumn(field: string, visible: boolean): void;
|
|
790
|
+
dropColumn(event: CdkDragDrop<unknown>): void;
|
|
791
|
+
moveColumnBy(column: TxTableColumn, step: number, event: Event): void;
|
|
792
|
+
reorderColumn(field: string, targetField: string): void;
|
|
793
|
+
private moveColumn;
|
|
794
|
+
startResize(item: TxTableRenderColumn, event: PointerEvent): void;
|
|
795
|
+
resizeValue(column: TxTableColumn): number;
|
|
796
|
+
resizeMin(column: TxTableColumn): number;
|
|
797
|
+
resizeMax(column: TxTableColumn): number | null;
|
|
798
|
+
resizeByKey(item: TxTableRenderColumn, step: number, event: Event): void;
|
|
799
|
+
registerRowActions(row: Element, source: TxTableRowActionsSource): void;
|
|
800
|
+
unregisterRowActions(row: Element, source: TxTableRowActionsSource): void;
|
|
801
|
+
onRowContextMenu(item: TxTableRenderRow<T>, event: MouseEvent | KeyboardEvent): void;
|
|
802
|
+
private openMenuAt;
|
|
803
|
+
onMenuClosed(): void;
|
|
804
|
+
actionTemplate(item: TxMenuItem): TxTableAction | null;
|
|
805
|
+
private triggerAction;
|
|
806
|
+
saveState(): void;
|
|
807
|
+
clearState(): void;
|
|
808
|
+
private storage;
|
|
809
|
+
private restoreState;
|
|
810
|
+
private measureFrozen;
|
|
811
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TxTable<any>, never>;
|
|
812
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TxTable<any>, "tx-table", never, {
|
|
813
|
+
"value": {
|
|
814
|
+
"alias": "value";
|
|
815
|
+
"required": false;
|
|
816
|
+
"isSignal": true;
|
|
817
|
+
};
|
|
818
|
+
"columns": {
|
|
819
|
+
"alias": "columns";
|
|
820
|
+
"required": false;
|
|
821
|
+
"isSignal": true;
|
|
822
|
+
};
|
|
823
|
+
"dataKey": {
|
|
824
|
+
"alias": "dataKey";
|
|
825
|
+
"required": false;
|
|
826
|
+
"isSignal": true;
|
|
827
|
+
};
|
|
828
|
+
"size": {
|
|
829
|
+
"alias": "size";
|
|
830
|
+
"required": false;
|
|
831
|
+
"isSignal": true;
|
|
832
|
+
};
|
|
833
|
+
"showGridlines": {
|
|
834
|
+
"alias": "showGridlines";
|
|
835
|
+
"required": false;
|
|
836
|
+
"isSignal": true;
|
|
837
|
+
};
|
|
838
|
+
"stripedRows": {
|
|
839
|
+
"alias": "stripedRows";
|
|
840
|
+
"required": false;
|
|
841
|
+
"isSignal": true;
|
|
842
|
+
};
|
|
843
|
+
"rowHover": {
|
|
844
|
+
"alias": "rowHover";
|
|
845
|
+
"required": false;
|
|
846
|
+
"isSignal": true;
|
|
847
|
+
};
|
|
848
|
+
"scrollHeight": {
|
|
849
|
+
"alias": "scrollHeight";
|
|
850
|
+
"required": false;
|
|
851
|
+
"isSignal": true;
|
|
852
|
+
};
|
|
853
|
+
"loading": {
|
|
854
|
+
"alias": "loading";
|
|
855
|
+
"required": false;
|
|
856
|
+
"isSignal": true;
|
|
857
|
+
};
|
|
858
|
+
"emptyMessage": {
|
|
859
|
+
"alias": "emptyMessage";
|
|
860
|
+
"required": false;
|
|
861
|
+
"isSignal": true;
|
|
862
|
+
};
|
|
863
|
+
"caption": {
|
|
864
|
+
"alias": "caption";
|
|
865
|
+
"required": false;
|
|
866
|
+
"isSignal": true;
|
|
867
|
+
};
|
|
868
|
+
"ariaLabel": {
|
|
869
|
+
"alias": "ariaLabel";
|
|
870
|
+
"required": false;
|
|
871
|
+
"isSignal": true;
|
|
872
|
+
};
|
|
873
|
+
"ariaLabelledBy": {
|
|
874
|
+
"alias": "ariaLabelledBy";
|
|
875
|
+
"required": false;
|
|
876
|
+
"isSignal": true;
|
|
877
|
+
};
|
|
878
|
+
"rowClass": {
|
|
879
|
+
"alias": "rowClass";
|
|
880
|
+
"required": false;
|
|
881
|
+
"isSignal": true;
|
|
882
|
+
};
|
|
883
|
+
"sortMode": {
|
|
884
|
+
"alias": "sortMode";
|
|
885
|
+
"required": false;
|
|
886
|
+
"isSignal": true;
|
|
887
|
+
};
|
|
888
|
+
"sortField": {
|
|
889
|
+
"alias": "sortField";
|
|
890
|
+
"required": false;
|
|
891
|
+
"isSignal": true;
|
|
892
|
+
};
|
|
893
|
+
"sortOrder": {
|
|
894
|
+
"alias": "sortOrder";
|
|
895
|
+
"required": false;
|
|
896
|
+
"isSignal": true;
|
|
897
|
+
};
|
|
898
|
+
"multiSortMeta": {
|
|
899
|
+
"alias": "multiSortMeta";
|
|
900
|
+
"required": false;
|
|
901
|
+
"isSignal": true;
|
|
902
|
+
};
|
|
903
|
+
"customSort": {
|
|
904
|
+
"alias": "customSort";
|
|
905
|
+
"required": false;
|
|
906
|
+
"isSignal": true;
|
|
907
|
+
};
|
|
908
|
+
"lazy": {
|
|
909
|
+
"alias": "lazy";
|
|
910
|
+
"required": false;
|
|
911
|
+
"isSignal": true;
|
|
912
|
+
};
|
|
913
|
+
"filterDisplay": {
|
|
914
|
+
"alias": "filterDisplay";
|
|
915
|
+
"required": false;
|
|
916
|
+
"isSignal": true;
|
|
917
|
+
};
|
|
918
|
+
"filters": {
|
|
919
|
+
"alias": "filters";
|
|
920
|
+
"required": false;
|
|
921
|
+
"isSignal": true;
|
|
922
|
+
};
|
|
923
|
+
"globalFilter": {
|
|
924
|
+
"alias": "globalFilter";
|
|
925
|
+
"required": false;
|
|
926
|
+
"isSignal": true;
|
|
927
|
+
};
|
|
928
|
+
"globalFilterFields": {
|
|
929
|
+
"alias": "globalFilterFields";
|
|
930
|
+
"required": false;
|
|
931
|
+
"isSignal": true;
|
|
932
|
+
};
|
|
933
|
+
"filterDelay": {
|
|
934
|
+
"alias": "filterDelay";
|
|
935
|
+
"required": false;
|
|
936
|
+
"isSignal": true;
|
|
937
|
+
};
|
|
938
|
+
"lazyLoadOnInit": {
|
|
939
|
+
"alias": "lazyLoadOnInit";
|
|
940
|
+
"required": false;
|
|
941
|
+
"isSignal": true;
|
|
942
|
+
};
|
|
943
|
+
"paginator": {
|
|
944
|
+
"alias": "paginator";
|
|
945
|
+
"required": false;
|
|
946
|
+
"isSignal": true;
|
|
947
|
+
};
|
|
948
|
+
"paginatorPosition": {
|
|
949
|
+
"alias": "paginatorPosition";
|
|
950
|
+
"required": false;
|
|
951
|
+
"isSignal": true;
|
|
952
|
+
};
|
|
953
|
+
"first": {
|
|
954
|
+
"alias": "first";
|
|
955
|
+
"required": false;
|
|
956
|
+
"isSignal": true;
|
|
957
|
+
};
|
|
958
|
+
"rows": {
|
|
959
|
+
"alias": "rows";
|
|
960
|
+
"required": false;
|
|
961
|
+
"isSignal": true;
|
|
962
|
+
};
|
|
963
|
+
"totalRecords": {
|
|
964
|
+
"alias": "totalRecords";
|
|
965
|
+
"required": false;
|
|
966
|
+
"isSignal": true;
|
|
967
|
+
};
|
|
968
|
+
"rowsPerPageOptions": {
|
|
969
|
+
"alias": "rowsPerPageOptions";
|
|
970
|
+
"required": false;
|
|
971
|
+
"isSignal": true;
|
|
972
|
+
};
|
|
973
|
+
"showTotal": {
|
|
974
|
+
"alias": "showTotal";
|
|
975
|
+
"required": false;
|
|
976
|
+
"isSignal": true;
|
|
977
|
+
};
|
|
978
|
+
"showCurrentPageReport": {
|
|
979
|
+
"alias": "showCurrentPageReport";
|
|
980
|
+
"required": false;
|
|
981
|
+
"isSignal": true;
|
|
982
|
+
};
|
|
983
|
+
"currentPageReportTemplate": {
|
|
984
|
+
"alias": "currentPageReportTemplate";
|
|
985
|
+
"required": false;
|
|
986
|
+
"isSignal": true;
|
|
987
|
+
};
|
|
988
|
+
"showFirstLastIcon": {
|
|
989
|
+
"alias": "showFirstLastIcon";
|
|
990
|
+
"required": false;
|
|
991
|
+
"isSignal": true;
|
|
992
|
+
};
|
|
993
|
+
"showPageLinks": {
|
|
994
|
+
"alias": "showPageLinks";
|
|
995
|
+
"required": false;
|
|
996
|
+
"isSignal": true;
|
|
997
|
+
};
|
|
998
|
+
"showJumpToPageDropdown": {
|
|
999
|
+
"alias": "showJumpToPageDropdown";
|
|
1000
|
+
"required": false;
|
|
1001
|
+
"isSignal": true;
|
|
1002
|
+
};
|
|
1003
|
+
"showJumpToPageInput": {
|
|
1004
|
+
"alias": "showJumpToPageInput";
|
|
1005
|
+
"required": false;
|
|
1006
|
+
"isSignal": true;
|
|
1007
|
+
};
|
|
1008
|
+
"alwaysShowPaginator": {
|
|
1009
|
+
"alias": "alwaysShowPaginator";
|
|
1010
|
+
"required": false;
|
|
1011
|
+
"isSignal": true;
|
|
1012
|
+
};
|
|
1013
|
+
"pageLinks": {
|
|
1014
|
+
"alias": "pageLinks";
|
|
1015
|
+
"required": false;
|
|
1016
|
+
"isSignal": true;
|
|
1017
|
+
};
|
|
1018
|
+
"selectionMode": {
|
|
1019
|
+
"alias": "selectionMode";
|
|
1020
|
+
"required": false;
|
|
1021
|
+
"isSignal": true;
|
|
1022
|
+
};
|
|
1023
|
+
"selection": {
|
|
1024
|
+
"alias": "selection";
|
|
1025
|
+
"required": false;
|
|
1026
|
+
"isSignal": true;
|
|
1027
|
+
};
|
|
1028
|
+
"metaKeySelection": {
|
|
1029
|
+
"alias": "metaKeySelection";
|
|
1030
|
+
"required": false;
|
|
1031
|
+
"isSignal": true;
|
|
1032
|
+
};
|
|
1033
|
+
"rowSelectable": {
|
|
1034
|
+
"alias": "rowSelectable";
|
|
1035
|
+
"required": false;
|
|
1036
|
+
"isSignal": true;
|
|
1037
|
+
};
|
|
1038
|
+
"selectAll": {
|
|
1039
|
+
"alias": "selectAll";
|
|
1040
|
+
"required": false;
|
|
1041
|
+
"isSignal": true;
|
|
1042
|
+
};
|
|
1043
|
+
"editMode": {
|
|
1044
|
+
"alias": "editMode";
|
|
1045
|
+
"required": false;
|
|
1046
|
+
"isSignal": true;
|
|
1047
|
+
};
|
|
1048
|
+
"editingRowKeys": {
|
|
1049
|
+
"alias": "editingRowKeys";
|
|
1050
|
+
"required": false;
|
|
1051
|
+
"isSignal": true;
|
|
1052
|
+
};
|
|
1053
|
+
"expandedRowKeys": {
|
|
1054
|
+
"alias": "expandedRowKeys";
|
|
1055
|
+
"required": false;
|
|
1056
|
+
"isSignal": true;
|
|
1057
|
+
};
|
|
1058
|
+
"virtualScroll": {
|
|
1059
|
+
"alias": "virtualScroll";
|
|
1060
|
+
"required": false;
|
|
1061
|
+
"isSignal": true;
|
|
1062
|
+
};
|
|
1063
|
+
"virtualScrollItemSize": {
|
|
1064
|
+
"alias": "virtualScrollItemSize";
|
|
1065
|
+
"required": false;
|
|
1066
|
+
"isSignal": true;
|
|
1067
|
+
};
|
|
1068
|
+
"virtualScrollTolerance": {
|
|
1069
|
+
"alias": "virtualScrollTolerance";
|
|
1070
|
+
"required": false;
|
|
1071
|
+
"isSignal": true;
|
|
1072
|
+
};
|
|
1073
|
+
"cellTooltip": {
|
|
1074
|
+
"alias": "cellTooltip";
|
|
1075
|
+
"required": false;
|
|
1076
|
+
"isSignal": true;
|
|
1077
|
+
};
|
|
1078
|
+
"csvSeparator": {
|
|
1079
|
+
"alias": "csvSeparator";
|
|
1080
|
+
"required": false;
|
|
1081
|
+
"isSignal": true;
|
|
1082
|
+
};
|
|
1083
|
+
"exportFilename": {
|
|
1084
|
+
"alias": "exportFilename";
|
|
1085
|
+
"required": false;
|
|
1086
|
+
"isSignal": true;
|
|
1087
|
+
};
|
|
1088
|
+
"exportFunction": {
|
|
1089
|
+
"alias": "exportFunction";
|
|
1090
|
+
"required": false;
|
|
1091
|
+
"isSignal": true;
|
|
1092
|
+
};
|
|
1093
|
+
"reorderableRows": {
|
|
1094
|
+
"alias": "reorderableRows";
|
|
1095
|
+
"required": false;
|
|
1096
|
+
"isSignal": true;
|
|
1097
|
+
};
|
|
1098
|
+
"frozenValue": {
|
|
1099
|
+
"alias": "frozenValue";
|
|
1100
|
+
"required": false;
|
|
1101
|
+
"isSignal": true;
|
|
1102
|
+
};
|
|
1103
|
+
"groupRowsBy": {
|
|
1104
|
+
"alias": "groupRowsBy";
|
|
1105
|
+
"required": false;
|
|
1106
|
+
"isSignal": true;
|
|
1107
|
+
};
|
|
1108
|
+
"rowGroupMode": {
|
|
1109
|
+
"alias": "rowGroupMode";
|
|
1110
|
+
"required": false;
|
|
1111
|
+
"isSignal": true;
|
|
1112
|
+
};
|
|
1113
|
+
"expandableRowGroups": {
|
|
1114
|
+
"alias": "expandableRowGroups";
|
|
1115
|
+
"required": false;
|
|
1116
|
+
"isSignal": true;
|
|
1117
|
+
};
|
|
1118
|
+
"expandedRowGroups": {
|
|
1119
|
+
"alias": "expandedRowGroups";
|
|
1120
|
+
"required": false;
|
|
1121
|
+
"isSignal": true;
|
|
1122
|
+
};
|
|
1123
|
+
"expandableRows": {
|
|
1124
|
+
"alias": "expandableRows";
|
|
1125
|
+
"required": false;
|
|
1126
|
+
"isSignal": true;
|
|
1127
|
+
};
|
|
1128
|
+
"resizableColumns": {
|
|
1129
|
+
"alias": "resizableColumns";
|
|
1130
|
+
"required": false;
|
|
1131
|
+
"isSignal": true;
|
|
1132
|
+
};
|
|
1133
|
+
"columnResizeMode": {
|
|
1134
|
+
"alias": "columnResizeMode";
|
|
1135
|
+
"required": false;
|
|
1136
|
+
"isSignal": true;
|
|
1137
|
+
};
|
|
1138
|
+
"reorderableColumns": {
|
|
1139
|
+
"alias": "reorderableColumns";
|
|
1140
|
+
"required": false;
|
|
1141
|
+
"isSignal": true;
|
|
1142
|
+
};
|
|
1143
|
+
"columnSettings": {
|
|
1144
|
+
"alias": "columnSettings";
|
|
1145
|
+
"required": false;
|
|
1146
|
+
"isSignal": true;
|
|
1147
|
+
};
|
|
1148
|
+
"actionsSettings": {
|
|
1149
|
+
"alias": "actionsSettings";
|
|
1150
|
+
"required": false;
|
|
1151
|
+
"isSignal": true;
|
|
1152
|
+
};
|
|
1153
|
+
"actionsInlineCount": {
|
|
1154
|
+
"alias": "actionsInlineCount";
|
|
1155
|
+
"required": false;
|
|
1156
|
+
"isSignal": true;
|
|
1157
|
+
};
|
|
1158
|
+
"actionsHeader": {
|
|
1159
|
+
"alias": "actionsHeader";
|
|
1160
|
+
"required": false;
|
|
1161
|
+
"isSignal": true;
|
|
1162
|
+
};
|
|
1163
|
+
"actionsFrozen": {
|
|
1164
|
+
"alias": "actionsFrozen";
|
|
1165
|
+
"required": false;
|
|
1166
|
+
"isSignal": true;
|
|
1167
|
+
};
|
|
1168
|
+
"stateKey": {
|
|
1169
|
+
"alias": "stateKey";
|
|
1170
|
+
"required": false;
|
|
1171
|
+
"isSignal": true;
|
|
1172
|
+
};
|
|
1173
|
+
"stateStorage": {
|
|
1174
|
+
"alias": "stateStorage";
|
|
1175
|
+
"required": false;
|
|
1176
|
+
"isSignal": true;
|
|
1177
|
+
};
|
|
1178
|
+
"toolbar": {
|
|
1179
|
+
"alias": "toolbar";
|
|
1180
|
+
"required": false;
|
|
1181
|
+
"isSignal": true;
|
|
1182
|
+
};
|
|
1183
|
+
"contextMenu": {
|
|
1184
|
+
"alias": "contextMenu";
|
|
1185
|
+
"required": false;
|
|
1186
|
+
"isSignal": true;
|
|
1187
|
+
};
|
|
1188
|
+
"contextMenuSelection": {
|
|
1189
|
+
"alias": "contextMenuSelection";
|
|
1190
|
+
"required": false;
|
|
1191
|
+
"isSignal": true;
|
|
1192
|
+
};
|
|
1193
|
+
"rowContextMenu": {
|
|
1194
|
+
"alias": "rowContextMenu";
|
|
1195
|
+
"required": false;
|
|
1196
|
+
"isSignal": true;
|
|
1197
|
+
};
|
|
1198
|
+
"responsive": {
|
|
1199
|
+
"alias": "responsive";
|
|
1200
|
+
"required": false;
|
|
1201
|
+
"isSignal": true;
|
|
1202
|
+
};
|
|
1203
|
+
"breakpoint": {
|
|
1204
|
+
"alias": "breakpoint";
|
|
1205
|
+
"required": false;
|
|
1206
|
+
"isSignal": true;
|
|
1207
|
+
};
|
|
1208
|
+
"dt": {
|
|
1209
|
+
"alias": "dt";
|
|
1210
|
+
"required": false;
|
|
1211
|
+
"isSignal": true;
|
|
1212
|
+
};
|
|
1213
|
+
"pt": {
|
|
1214
|
+
"alias": "pt";
|
|
1215
|
+
"required": false;
|
|
1216
|
+
"isSignal": true;
|
|
1217
|
+
};
|
|
1218
|
+
"ptOptions": {
|
|
1219
|
+
"alias": "ptOptions";
|
|
1220
|
+
"required": false;
|
|
1221
|
+
"isSignal": true;
|
|
1222
|
+
};
|
|
1223
|
+
"unstyled": {
|
|
1224
|
+
"alias": "unstyled";
|
|
1225
|
+
"required": false;
|
|
1226
|
+
"isSignal": true;
|
|
1227
|
+
};
|
|
1228
|
+
}, {
|
|
1229
|
+
"columns": "columnsChange";
|
|
1230
|
+
"sortField": "sortFieldChange";
|
|
1231
|
+
"sortOrder": "sortOrderChange";
|
|
1232
|
+
"multiSortMeta": "multiSortMetaChange";
|
|
1233
|
+
"filters": "filtersChange";
|
|
1234
|
+
"globalFilter": "globalFilterChange";
|
|
1235
|
+
"first": "firstChange";
|
|
1236
|
+
"rows": "rowsChange";
|
|
1237
|
+
"selection": "selectionChange";
|
|
1238
|
+
"editingRowKeys": "editingRowKeysChange";
|
|
1239
|
+
"expandedRowKeys": "expandedRowKeysChange";
|
|
1240
|
+
"expandedRowGroups": "expandedRowGroupsChange";
|
|
1241
|
+
"contextMenuSelection": "contextMenuSelectionChange";
|
|
1242
|
+
"sortChange": "sortChange";
|
|
1243
|
+
"filterChange": "filterChange";
|
|
1244
|
+
"pageChange": "pageChange";
|
|
1245
|
+
"lazyLoad": "lazyLoad";
|
|
1246
|
+
"rowClick": "rowClick";
|
|
1247
|
+
"rowSelect": "rowSelect";
|
|
1248
|
+
"rowUnselect": "rowUnselect";
|
|
1249
|
+
"selectAllChange": "selectAllChange";
|
|
1250
|
+
"rowExpand": "rowExpand";
|
|
1251
|
+
"rowCollapse": "rowCollapse";
|
|
1252
|
+
"columnResize": "columnResize";
|
|
1253
|
+
"columnReorder": "columnReorder";
|
|
1254
|
+
"columnVisibilityChange": "columnVisibilityChange";
|
|
1255
|
+
"contextMenuSelect": "contextMenuSelect";
|
|
1256
|
+
"rowReorder": "rowReorder";
|
|
1257
|
+
"rowGroupToggle": "rowGroupToggle";
|
|
1258
|
+
"cellEditInit": "cellEditInit";
|
|
1259
|
+
"cellEditComplete": "cellEditComplete";
|
|
1260
|
+
"cellEditCancel": "cellEditCancel";
|
|
1261
|
+
"rowEditInit": "rowEditInit";
|
|
1262
|
+
"rowEditSave": "rowEditSave";
|
|
1263
|
+
"rowEditCancel": "rowEditCancel";
|
|
1264
|
+
}, ["cellTemplates", "headerTemplates", "footerTemplates", "cardTemplate", "expansionTemplate", "actionsTemplate", "emptyTemplate", "editorTemplates", "groupHeaderTemplate", "groupFooterTemplate"], ["[txTableToolbar]", "*"], true, never>;
|
|
1265
|
+
}
|
|
1266
|
+
export declare class TxTableActions implements TxTableRowActionsSource {
|
|
1267
|
+
private table;
|
|
1268
|
+
private host;
|
|
1269
|
+
private row;
|
|
1270
|
+
readonly inlineCount: import("@angular/core").InputSignalWithTransform<number | undefined, unknown>;
|
|
1271
|
+
readonly actions: import("@angular/core").Signal<readonly TxTableAction[]>;
|
|
1272
|
+
readonly translations: import("@angular/core").Signal<import("@tectra-ng/core/types/tectra-ng-core-config").TxTranslations>;
|
|
1273
|
+
private readonly present;
|
|
1274
|
+
private readonly ordered;
|
|
1275
|
+
readonly menuActions: import("@angular/core").Signal<readonly TxTableAction[]>;
|
|
1276
|
+
private readonly showAll;
|
|
1277
|
+
private readonly isInline;
|
|
1278
|
+
readonly inlineActions: import("@angular/core").Signal<TxTableAction[]>;
|
|
1279
|
+
readonly overflowActions: import("@angular/core").Signal<TxTableAction[]>;
|
|
1280
|
+
constructor();
|
|
1281
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TxTableActions, never>;
|
|
1282
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TxTableActions, "tx-table-actions", never, {
|
|
1283
|
+
"inlineCount": {
|
|
1284
|
+
"alias": "inlineCount";
|
|
1285
|
+
"required": false;
|
|
1286
|
+
"isSignal": true;
|
|
1287
|
+
};
|
|
1288
|
+
}, {}, ["actions"], never, true, never>;
|
|
1289
|
+
}
|
|
1290
|
+
export declare function resolveField(row: unknown, field: string | undefined): unknown;
|
|
1291
|
+
export declare function writeField(row: unknown, field: string, value: unknown): void;
|
|
1292
|
+
export declare function compareValues(a: unknown, b: unknown, locale?: string): number;
|
|
1293
|
+
export declare function sortRows<T>(rows: readonly T[], meta: readonly TxSortMeta[], locale?: string): T[];
|
|
1294
|
+
export declare function nextSortOrder(current: 'asc' | 'desc' | null): 'asc' | 'desc' | null;
|
|
1295
|
+
export declare function rowKeyOf(row: unknown, dataKey: string | undefined, index: number): TxTableRowKey | unknown;
|
|
1296
|
+
export declare function actionIdOf(config: TxTableActionConfig): string;
|
|
1297
|
+
export declare function pxOf(length: string | undefined): number | null;
|
|
1298
|
+
export declare function columnLabel(column: TxTableColumn): string;
|
|
1299
|
+
export declare function mergeColumnOrder(columns: readonly TxTableColumn[], order: readonly string[], visible: (field: string) => boolean): TxTableColumn[];
|
|
1300
|
+
export {};
|
|
1301
|
+
//# sourceMappingURL=tectra-ng-ui-table.d.ts.map
|