@seniorsistemas/data-seniorx-core 3.1.0 → 3.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/core/constants/accordion.const.d.ts +4 -4
- package/core/constants/alert.const.d.ts +1 -1
- package/core/constants/autocomplete.const.d.ts +2 -2
- package/core/constants/badge.const.d.ts +1 -1
- package/core/constants/card.const.d.ts +8 -8
- package/core/constants/chips.const.d.ts +2 -2
- package/core/constants/code-editor.const.d.ts +4 -4
- package/core/constants/collapse-link.const.d.ts +2 -2
- package/core/constants/color-picker.const.d.ts +2 -2
- package/core/constants/combobox.const.d.ts +3 -3
- package/core/constants/context-selector.const.d.ts +1 -1
- package/core/constants/editable-overlay.const.d.ts +4 -4
- package/core/constants/fileupload.const.d.ts +3 -3
- package/core/constants/gantt.const.d.ts +1 -1
- package/core/constants/help-popover.const.d.ts +2 -2
- package/core/constants/hyperlink.const.d.ts +2 -2
- package/core/constants/info-sign.const.d.ts +1 -1
- package/core/constants/inline-edit.const.d.ts +4 -4
- package/core/constants/kanban.const.d.ts +2 -2
- package/core/constants/list.const.d.ts +1 -1
- package/core/constants/modalc.const.d.ts +1 -1
- package/core/constants/navigation-button.const.d.ts +3 -3
- package/core/constants/object-card.const.d.ts +2 -2
- package/core/constants/picklist.const.d.ts +2 -2
- package/core/constants/pin-code-field.const.d.ts +3 -3
- package/core/constants/popover.const.d.ts +1 -1
- package/core/constants/progressbar.const.d.ts +1 -1
- package/core/constants/radio.const.d.ts +2 -2
- package/core/constants/rating-scale.const.d.ts +1 -1
- package/core/constants/sidebar.const.d.ts +1 -1
- package/core/constants/slider.const.d.ts +1 -1
- package/core/constants/split-button.const.d.ts +2 -2
- package/core/constants/spotlight.const.d.ts +8 -8
- package/core/constants/star-rating.const.d.ts +2 -2
- package/core/constants/tab.const.d.ts +3 -3
- package/core/constants/table.const.d.ts +1 -0
- package/core/constants/thumbnails.const.d.ts +4 -4
- package/core/constants/token-list.const.d.ts +1 -1
- package/core/types/table-column.type.d.ts +4 -0
- package/core/types/table-options.type.d.ts +3 -0
- package/core/types/table-shared.type.d.ts +1 -1
- package/core/types/tile-select.type.d.ts +17 -0
- package/esm2022/core/constants/accordion.const.mjs +5 -5
- package/esm2022/core/constants/alert.const.mjs +2 -2
- package/esm2022/core/constants/autocomplete.const.mjs +3 -3
- package/esm2022/core/constants/badge.const.mjs +2 -2
- package/esm2022/core/constants/card.const.mjs +9 -9
- package/esm2022/core/constants/chips.const.mjs +3 -3
- package/esm2022/core/constants/code-editor.const.mjs +5 -5
- package/esm2022/core/constants/collapse-link.const.mjs +3 -3
- package/esm2022/core/constants/color-picker.const.mjs +3 -3
- package/esm2022/core/constants/combobox.const.mjs +7 -4
- package/esm2022/core/constants/context-selector.const.mjs +2 -2
- package/esm2022/core/constants/editable-overlay.const.mjs +5 -5
- package/esm2022/core/constants/fileupload.const.mjs +4 -4
- package/esm2022/core/constants/gantt.const.mjs +2 -2
- package/esm2022/core/constants/help-popover.const.mjs +3 -3
- package/esm2022/core/constants/hyperlink.const.mjs +3 -3
- package/esm2022/core/constants/info-sign.const.mjs +2 -2
- package/esm2022/core/constants/inline-edit.const.mjs +5 -5
- package/esm2022/core/constants/kanban.const.mjs +3 -3
- package/esm2022/core/constants/list.const.mjs +2 -2
- package/esm2022/core/constants/loading-state.const.mjs +2 -2
- package/esm2022/core/constants/modalc.const.mjs +2 -2
- package/esm2022/core/constants/navigation-button.const.mjs +4 -4
- package/esm2022/core/constants/object-card.const.mjs +3 -3
- package/esm2022/core/constants/picklist.const.mjs +3 -3
- package/esm2022/core/constants/pin-code-field.const.mjs +4 -4
- package/esm2022/core/constants/popover.const.mjs +8 -2
- package/esm2022/core/constants/progressbar.const.mjs +2 -2
- package/esm2022/core/constants/radio.const.mjs +3 -3
- package/esm2022/core/constants/rating-scale.const.mjs +2 -2
- package/esm2022/core/constants/sidebar.const.mjs +2 -2
- package/esm2022/core/constants/slider.const.mjs +2 -2
- package/esm2022/core/constants/split-button.const.mjs +3 -3
- package/esm2022/core/constants/spotlight.const.mjs +9 -9
- package/esm2022/core/constants/star-rating.const.mjs +3 -3
- package/esm2022/core/constants/tab.const.mjs +4 -4
- package/esm2022/core/constants/table.const.mjs +4 -3
- package/esm2022/core/constants/thumbnails.const.mjs +5 -5
- package/esm2022/core/constants/token-list.const.mjs +2 -2
- package/esm2022/core/data/fontawesome-v5-solid-icons.data.mjs +2 -2
- package/esm2022/core/types/table-column.type.mjs +1 -1
- package/esm2022/core/types/table-options.type.mjs +1 -1
- package/esm2022/core/types/table-shared.type.mjs +1 -1
- package/esm2022/core/types/tile-select.type.mjs +8 -0
- package/esm2022/core/utils/combobox.util.mjs +6 -6
- package/esm2022/features/accordion/components/accordion-item/accordion-item.component.mjs +3 -3
- package/esm2022/features/autocomplete/autocomplete.component.mjs +3 -3
- package/esm2022/features/bignumber-input/bignumber-input.component.mjs +1 -1
- package/esm2022/features/breadcrumb/breadcrumb.component.mjs +3 -3
- package/esm2022/features/button/button.component.mjs +7 -3
- package/esm2022/features/card-list/card/card.component.mjs +2 -2
- package/esm2022/features/card-list/card-list.component.mjs +7 -3
- package/esm2022/features/chat/chat.component.mjs +4 -4
- package/esm2022/features/checkbox/checkbox.component.mjs +3 -3
- package/esm2022/features/checkbox-list/checkbox-list.component.mjs +3 -3
- package/esm2022/features/chips/chips.component.mjs +3 -3
- package/esm2022/features/code-editor/code-editor.component.mjs +23 -5
- package/esm2022/features/color-picker/color-picker.component.mjs +3 -3
- package/esm2022/features/country-phone-picker/country-phone-picker.component.mjs +3 -3
- package/esm2022/features/currency/currency.component.mjs +1 -1
- package/esm2022/features/editable-overlay/editable-overlay.component.mjs +3 -3
- package/esm2022/features/empty-state/empty-state.component.mjs +1 -1
- package/esm2022/features/fileupload/fileupload.component.mjs +4 -4
- package/esm2022/features/filters/filters.component.mjs +3 -3
- package/esm2022/features/help-popover/help-popover.component.mjs +2 -2
- package/esm2022/features/hyperlink/hyperlink.component.mjs +3 -3
- package/esm2022/features/icon-picker/icon-picker.component.mjs +1 -1
- package/esm2022/features/image-cropper/image-cropper.component.mjs +9 -9
- package/esm2022/features/inline-edit/components/fields/inline-edit-number/inline-edit-number.component.mjs +1 -1
- package/esm2022/features/inline-edit/components/inline-edit-item/inline-edit-item.component.mjs +2 -2
- package/esm2022/features/list/list.component.mjs +7 -3
- package/esm2022/features/loading-state/loading-state.component.mjs +5 -5
- package/esm2022/features/localized-number-input/localized-number-input.component.mjs +4 -4
- package/esm2022/features/lookup/lookup.component.mjs +5 -5
- package/esm2022/features/mask/mask.component.mjs +4 -4
- package/esm2022/features/modal/modal.component.mjs +3 -3
- package/esm2022/features/modalc/modalc.component.mjs +3 -3
- package/esm2022/features/number-input/number-input.component.mjs +32 -5
- package/esm2022/features/object-card/components/object-card-field/object-card-field.component.mjs +1 -1
- package/esm2022/features/object-card/components/object-card-main/object-card-main.component.mjs +1 -1
- package/esm2022/features/object-card/object-card.component.mjs +2 -2
- package/esm2022/features/paginator/paginator.component.mjs +3 -3
- package/esm2022/features/panel/panel.component.mjs +6 -6
- package/esm2022/features/password-strength/password-strength.component.mjs +6 -6
- package/esm2022/features/picklist/picklist.component.mjs +6 -4
- package/esm2022/features/pin-code-field/pin-code-field.component.mjs +3 -3
- package/esm2022/features/profile-picture-picker/profile-picture-picker.component.mjs +11 -11
- package/esm2022/features/rating-scale/rating-scale.component.mjs +3 -3
- package/esm2022/features/row-card-list/row-card/row-card.component.mjs +100 -7
- package/esm2022/features/row-card-list/row-card-list.component.mjs +7 -3
- package/esm2022/features/scaffold/scaffold.component.mjs +3 -3
- package/esm2022/features/searchbox/searchbox.component.mjs +4 -4
- package/esm2022/features/select-button/select-button.component.mjs +5 -5
- package/esm2022/features/sidebar/sidebar.component.mjs +3 -3
- package/esm2022/features/slider/slider.component.mjs +3 -3
- package/esm2022/features/speech-recognition/speech-recognition.component.mjs +12 -12
- package/esm2022/features/spotlight/spotlight.component.mjs +2 -2
- package/esm2022/features/star-rating/star-rating.component.mjs +3 -3
- package/esm2022/features/switch/switch.component.mjs +4 -4
- package/esm2022/features/table/components/table-actions-menu.component.mjs +2 -2
- package/esm2022/features/table/components/table-cell-content.component.mjs +16 -10
- package/esm2022/features/table/table.component.mjs +46 -16
- package/esm2022/features/table/utils/table-visual.util.mjs +25 -7
- package/esm2022/features/textarea/textarea.component.mjs +3 -3
- package/esm2022/features/textbox/textbox.component.mjs +3 -3
- package/esm2022/features/tile-select/tile-select.component.mjs +80 -0
- package/esm2022/features/toast/toast.component.mjs +3 -3
- package/esm2022/features/tree/components/tree-node-item/tree-node-item.component.mjs +6 -6
- package/esm2022/features/visual-sql-editor/visual-sql-editor.component.mjs +2 -2
- package/esm2022/locales/en.json +4760 -4749
- package/esm2022/locales/es-CO.json +4760 -4749
- package/esm2022/locales/pt.json +4760 -4749
- package/esm2022/providers/features.provider.mjs +3 -1
- package/esm2022/public-api.mjs +3 -1
- package/features/button/button.component.d.ts +2 -1
- package/features/card-list/card-list.component.d.ts +3 -1
- package/features/code-editor/code-editor.component.d.ts +2 -1
- package/features/help-popover/help-popover.component.d.ts +1 -1
- package/features/inline-edit/components/inline-edit-item/inline-edit-item.component.d.ts +4 -4
- package/features/kanban/components/kanban-item-dragging/kanban-item-dragging.component.d.ts +2 -2
- package/features/list/list.component.d.ts +3 -1
- package/features/navigation-button/navigation-button.component.d.ts +3 -3
- package/features/number-input/number-input.component.d.ts +7 -1
- package/features/panel/panel.component.d.ts +1 -1
- package/features/picklist/picklist.component.d.ts +3 -2
- package/features/pin-code-field/pin-code-field.component.d.ts +3 -3
- package/features/row-card-list/row-card/row-card.component.d.ts +15 -2
- package/features/row-card-list/row-card-list.component.d.ts +3 -1
- package/features/spotlight/spotlight.component.d.ts +8 -8
- package/features/table/components/table-cell-content.component.d.ts +4 -1
- package/features/table/table.component.d.ts +9 -2
- package/features/table/utils/table-visual.util.d.ts +5 -0
- package/features/textarea/textarea.component.d.ts +1 -1
- package/features/thumbnails/components/thumbnail-item/thumbnail-item.component.d.ts +3 -3
- package/features/thumbnails/components/thumbnail-item-image/thumbnail-item-image.component.d.ts +1 -1
- package/features/thumbnails/components/thumbnail-item-video/thumbnail-item-video.component.d.ts +1 -1
- package/features/tile-select/tile-select.component.d.ts +21 -0
- package/fesm2022/seniorsistemas-data-seniorx-core-fontawesome-v5-solid-icons.data-fK3MF8KJ.mjs +4 -0
- package/fesm2022/{seniorsistemas-data-seniorx-core-fontawesome-v5-solid-icons.data-B7opbaVg.mjs.map → seniorsistemas-data-seniorx-core-fontawesome-v5-solid-icons.data-fK3MF8KJ.mjs.map} +1 -1
- package/fesm2022/seniorsistemas-data-seniorx-core.mjs +14859 -14534
- package/fesm2022/seniorsistemas-data-seniorx-core.mjs.map +1 -1
- package/package.json +57 -22
- package/public-api.d.ts +3 -0
- package/src/locales/en.json +4760 -4749
- package/src/locales/es-CO.json +4760 -4749
- package/src/locales/pt.json +4760 -4749
- package/styles/sdc-global-variables.scss +2 -2
- package/styles.css +2 -2
- package/fesm2022/seniorsistemas-data-seniorx-core-fontawesome-v5-solid-icons.data-B7opbaVg.mjs +0 -4
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import { ButtonPriority } from '../../core/types/button.type';
|
|
3
|
+
import type { LoadingStateIndicator } from '../../core/types/loading-state.type';
|
|
3
4
|
import { ListItem, ListItemAction } from '../../core/types/lists.type';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class ListComponent {
|
|
@@ -20,6 +21,7 @@ export declare class ListComponent {
|
|
|
20
21
|
}>;
|
|
21
22
|
set loading(value: boolean | string | null | undefined);
|
|
22
23
|
get loading(): boolean;
|
|
24
|
+
loadingIndicator: LoadingStateIndicator;
|
|
23
25
|
set items(value: ListItem[] | string | null | undefined);
|
|
24
26
|
set data(value: ListItem[] | string | null | undefined);
|
|
25
27
|
set actions(value: ListItemAction[] | string | null | undefined);
|
|
@@ -40,5 +42,5 @@ export declare class ListComponent {
|
|
|
40
42
|
private normalizeAction;
|
|
41
43
|
private parseArray;
|
|
42
44
|
static ɵfac: i0.ɵɵFactoryDeclaration<ListComponent, never>;
|
|
43
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ListComponent, "sdc-list", never, { "loading": { "alias": "loading"; "required": false; }; "items": { "alias": "items"; "required": false; }; "data": { "alias": "data"; "required": false; }; "actions": { "alias": "actions"; "required": false; }; "buttons": { "alias": "buttons"; "required": false; }; }, { "action": "action"; }, never, never, true, never>;
|
|
45
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ListComponent, "sdc-list", never, { "loading": { "alias": "loading"; "required": false; }; "loadingIndicator": { "alias": "loadingIndicator"; "required": false; }; "items": { "alias": "items"; "required": false; }; "data": { "alias": "data"; "required": false; }; "actions": { "alias": "actions"; "required": false; }; "buttons": { "alias": "buttons"; "required": false; }; }, { "action": "action"; }, never, never, true, never>;
|
|
44
46
|
}
|
|
@@ -30,9 +30,9 @@ export declare class NavigationButtonComponent implements ControlValueAccessor,
|
|
|
30
30
|
currentIndex: number;
|
|
31
31
|
disabled: boolean;
|
|
32
32
|
tieredMenuItems: TieredMenuItemData[];
|
|
33
|
-
readonly previousAriaLabelKey = "platform.datacore.
|
|
34
|
-
readonly nextAriaLabelKey = "platform.datacore.
|
|
35
|
-
readonly openMenuAriaLabelKey = "platform.datacore.
|
|
33
|
+
readonly previousAriaLabelKey = "platform.datacore.navigation_button_previous";
|
|
34
|
+
readonly nextAriaLabelKey = "platform.datacore.navigation_button_next";
|
|
35
|
+
readonly openMenuAriaLabelKey = "platform.datacore.navigation_button_open_menu";
|
|
36
36
|
private onChangeFn;
|
|
37
37
|
private onTouchedFn;
|
|
38
38
|
private value;
|
|
@@ -21,6 +21,7 @@ export declare class NumberInputComponent extends InputsComponent<number> implem
|
|
|
21
21
|
infoTooltipEvent: TooltipEvent;
|
|
22
22
|
addonLeft: string | null;
|
|
23
23
|
addonRight: string | null;
|
|
24
|
+
showSpinners: boolean;
|
|
24
25
|
pasteRejected: EventEmitter<string>;
|
|
25
26
|
displayValue: string;
|
|
26
27
|
private separators;
|
|
@@ -43,9 +44,14 @@ export declare class NumberInputComponent extends InputsComponent<number> implem
|
|
|
43
44
|
onFocus(): void;
|
|
44
45
|
onBlur(): void;
|
|
45
46
|
onPaste(event: ClipboardEvent): void;
|
|
47
|
+
get canIncrement(): boolean;
|
|
48
|
+
get canDecrement(): boolean;
|
|
49
|
+
increment(): void;
|
|
50
|
+
decrement(): void;
|
|
51
|
+
private applyStep;
|
|
46
52
|
private normalizeExternalValue;
|
|
47
53
|
private refreshSeparators;
|
|
48
54
|
private syncDisplayValue;
|
|
49
55
|
static ɵfac: i0.ɵɵFactoryDeclaration<NumberInputComponent, never>;
|
|
50
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NumberInputComponent, "sdc-number-input", never, { "precision": { "alias": "precision"; "required": false; }; "scale": { "alias": "scale"; "required": false; }; "decimalSeparator": { "alias": "decimalSeparator"; "required": false; }; "thousandsSeparator": { "alias": "thousandsSeparator"; "required": false; }; "alignTo": { "alias": "alignTo"; "required": false; }; "allowNegative": { "alias": "allowNegative"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "step": { "alias": "step"; "required": false; }; "infoTooltip": { "alias": "infoTooltip"; "required": false; }; "infoTooltipPosition": { "alias": "infoTooltipPosition"; "required": false; }; "infoTooltipEvent": { "alias": "infoTooltipEvent"; "required": false; }; "addonLeft": { "alias": "addonLeft"; "required": false; }; "addonRight": { "alias": "addonRight"; "required": false; }; }, { "pasteRejected": "pasteRejected"; }, never, never, true, never>;
|
|
56
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NumberInputComponent, "sdc-number-input", never, { "precision": { "alias": "precision"; "required": false; }; "scale": { "alias": "scale"; "required": false; }; "decimalSeparator": { "alias": "decimalSeparator"; "required": false; }; "thousandsSeparator": { "alias": "thousandsSeparator"; "required": false; }; "alignTo": { "alias": "alignTo"; "required": false; }; "allowNegative": { "alias": "allowNegative"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "step": { "alias": "step"; "required": false; }; "infoTooltip": { "alias": "infoTooltip"; "required": false; }; "infoTooltipPosition": { "alias": "infoTooltipPosition"; "required": false; }; "infoTooltipEvent": { "alias": "infoTooltipEvent"; "required": false; }; "addonLeft": { "alias": "addonLeft"; "required": false; }; "addonRight": { "alias": "addonRight"; "required": false; }; "showSpinners": { "alias": "showSpinners"; "required": false; }; }, { "pasteRejected": "pasteRejected"; }, never, never, true, never>;
|
|
51
57
|
}
|
|
@@ -26,5 +26,5 @@ export declare class PanelComponent {
|
|
|
26
26
|
get borderButtonDisabled(): boolean;
|
|
27
27
|
getToggleAriaLabel(): string;
|
|
28
28
|
static ɵfac: i0.ɵɵFactoryDeclaration<PanelComponent, never>;
|
|
29
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PanelComponent, "sdc-panel", never, { "header": { "alias": "header"; "required": false; }; "toggleable": { "alias": "toggleable"; "required": false; }; "collapsed": { "alias": "collapsed"; "required": false; }; "severity": { "alias": "severity"; "required": false; }; "borderButtonOptions": { "alias": "borderButtonOptions"; "required": false; }; "panelClass": { "alias": "class"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "ariaLabelledBy": { "alias": "ariaLabelledBy"; "required": false; }; }, { "collapsedChange": "collapsedChange"; }, never, ["*", "[sdcFooter]"], true, never>;
|
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PanelComponent, "sdc-panel", never, { "header": { "alias": "header"; "required": false; }; "toggleable": { "alias": "toggleable"; "required": false; }; "collapsed": { "alias": "collapsed"; "required": false; }; "severity": { "alias": "severity"; "required": false; }; "borderButtonOptions": { "alias": "borderButtonOptions"; "required": false; }; "panelClass": { "alias": "class"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "ariaLabelledBy": { "alias": "ariaLabelledBy"; "required": false; }; }, { "collapsedChange": "collapsedChange"; }, never, ["[sdcPanelHeaderContent]", "[sdcPanelActions]", "*", "[sdcFooter]"], true, never>;
|
|
30
30
|
}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { AfterViewInit, EventEmitter, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
|
|
2
|
+
import type { LoadingStateIndicator } from '../../core/types/loading-state.type';
|
|
2
3
|
import type { PaginatorState } from '../../core/types/paginator.type';
|
|
3
4
|
import type { PicklistRecord } from '../../core/types/picklist.type';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class PicklistComponent implements OnChanges, AfterViewInit, OnDestroy {
|
|
6
7
|
protected readonly loadingBlockWindow = false;
|
|
7
|
-
protected readonly loadingIndicator = "dots";
|
|
8
8
|
protected readonly loadingBlockDelayMs = 0;
|
|
9
|
+
loadingIndicator: LoadingStateIndicator;
|
|
9
10
|
items: PicklistRecord[];
|
|
10
11
|
selectedIds: number[] | Set<number>;
|
|
11
12
|
idKey: string;
|
|
@@ -92,5 +93,5 @@ export declare class PicklistComponent implements OnChanges, AfterViewInit, OnDe
|
|
|
92
93
|
private getItemValueByPath;
|
|
93
94
|
private updateRowsFromViewport;
|
|
94
95
|
static ɵfac: i0.ɵɵFactoryDeclaration<PicklistComponent, never>;
|
|
95
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PicklistComponent, "sdc-picklist", never, { "items": { "alias": "items"; "required": true; }; "selectedIds": { "alias": "selectedIds"; "required": false; }; "idKey": { "alias": "idKey"; "required": false; }; "titleKey": { "alias": "titleKey"; "required": false; }; "subtitleKey": { "alias": "subtitleKey"; "required": false; }; "iconClass": { "alias": "iconClass"; "required": false; }; "selectionIconClass": { "alias": "selectionIconClass"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "emptyTitle": { "alias": "emptyTitle"; "required": false; }; "emptyText": { "alias": "emptyText"; "required": false; }; "emptyIconClass": { "alias": "emptyIconClass"; "required": false; }; "resultsCounterSingularLabel": { "alias": "resultsCounterSingularLabel"; "required": false; }; "resultsCounterPluralLabel": { "alias": "resultsCounterPluralLabel"; "required": false; }; "filterFields": { "alias": "filterFields"; "required": false; }; "first": { "alias": "first"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "rowsPerPageOptions": { "alias": "rowsPerPageOptions"; "required": false; }; "maxVisibleSelectedItems": { "alias": "maxVisibleSelectedItems"; "required": false; }; "showPaginator": { "alias": "showPaginator"; "required": false; }; "showRowsPerPageOptions": { "alias": "showRowsPerPageOptions"; "required": false; }; "showSelectionCounter": { "alias": "showSelectionCounter"; "required": false; }; "showResultsCounter": { "alias": "showResultsCounter"; "required": false; }; "showItemIcon": { "alias": "showItemIcon"; "required": false; }; "autoResize": { "alias": "autoResize"; "required": false; }; "autoResizeMinRows": { "alias": "autoResizeMinRows"; "required": false; }; "autoResizeMaxRows": { "alias": "autoResizeMaxRows"; "required": false; }; "autoResizeItemHeight": { "alias": "autoResizeItemHeight"; "required": false; }; "autoResizeViewportOffset": { "alias": "autoResizeViewportOffset"; "required": false; }; "maxTitleLength": { "alias": "maxTitleLength"; "required": false; }; "maxSubtitleLength": { "alias": "maxSubtitleLength"; "required": false; }; "autofocusSearch": { "alias": "autofocusSearch"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; }, { "pageChange": "pageChange"; "selectedIdsChange": "selectedIdsChange"; }, never, never, true, never>;
|
|
96
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PicklistComponent, "sdc-picklist", never, { "loadingIndicator": { "alias": "loadingIndicator"; "required": false; }; "items": { "alias": "items"; "required": true; }; "selectedIds": { "alias": "selectedIds"; "required": false; }; "idKey": { "alias": "idKey"; "required": false; }; "titleKey": { "alias": "titleKey"; "required": false; }; "subtitleKey": { "alias": "subtitleKey"; "required": false; }; "iconClass": { "alias": "iconClass"; "required": false; }; "selectionIconClass": { "alias": "selectionIconClass"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "emptyTitle": { "alias": "emptyTitle"; "required": false; }; "emptyText": { "alias": "emptyText"; "required": false; }; "emptyIconClass": { "alias": "emptyIconClass"; "required": false; }; "resultsCounterSingularLabel": { "alias": "resultsCounterSingularLabel"; "required": false; }; "resultsCounterPluralLabel": { "alias": "resultsCounterPluralLabel"; "required": false; }; "filterFields": { "alias": "filterFields"; "required": false; }; "first": { "alias": "first"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "rowsPerPageOptions": { "alias": "rowsPerPageOptions"; "required": false; }; "maxVisibleSelectedItems": { "alias": "maxVisibleSelectedItems"; "required": false; }; "showPaginator": { "alias": "showPaginator"; "required": false; }; "showRowsPerPageOptions": { "alias": "showRowsPerPageOptions"; "required": false; }; "showSelectionCounter": { "alias": "showSelectionCounter"; "required": false; }; "showResultsCounter": { "alias": "showResultsCounter"; "required": false; }; "showItemIcon": { "alias": "showItemIcon"; "required": false; }; "autoResize": { "alias": "autoResize"; "required": false; }; "autoResizeMinRows": { "alias": "autoResizeMinRows"; "required": false; }; "autoResizeMaxRows": { "alias": "autoResizeMaxRows"; "required": false; }; "autoResizeItemHeight": { "alias": "autoResizeItemHeight"; "required": false; }; "autoResizeViewportOffset": { "alias": "autoResizeViewportOffset"; "required": false; }; "maxTitleLength": { "alias": "maxTitleLength"; "required": false; }; "maxSubtitleLength": { "alias": "maxSubtitleLength"; "required": false; }; "autofocusSearch": { "alias": "autofocusSearch"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; }, { "pageChange": "pageChange"; "selectedIdsChange": "selectedIdsChange"; }, never, never, true, never>;
|
|
96
97
|
}
|
|
@@ -15,9 +15,9 @@ export declare class PinCodeFieldComponent implements ControlValueAccessor, OnCh
|
|
|
15
15
|
protected readonly groupLabelId: string;
|
|
16
16
|
codeFilled: EventEmitter<string>;
|
|
17
17
|
pinInputs: QueryList<ElementRef<HTMLInputElement>>;
|
|
18
|
-
protected readonly groupAriaLabelKey = "platform.datacore.
|
|
19
|
-
protected readonly digitAriaLabelKey = "platform.datacore.
|
|
20
|
-
protected readonly characterAriaLabelKey = "platform.datacore.
|
|
18
|
+
protected readonly groupAriaLabelKey = "platform.datacore.pin_code_field_group_label";
|
|
19
|
+
protected readonly digitAriaLabelKey = "platform.datacore.pin_code_field_digit_n_of_total";
|
|
20
|
+
protected readonly characterAriaLabelKey = "platform.datacore.pin_code_field_character_n_of_total";
|
|
21
21
|
protected inputs: string[];
|
|
22
22
|
protected touched: boolean;
|
|
23
23
|
private _onChange?;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { ChangeDetectorRef, ElementRef, EventEmitter, OnChanges, SimpleChanges, TemplateRef } from '@angular/core';
|
|
1
|
+
import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnChanges, OnDestroy, SimpleChanges, TemplateRef } from '@angular/core';
|
|
2
2
|
import { TranslateService } from '@ngx-translate/core';
|
|
3
3
|
import type { BadgeColor } from '../../../core/types/badge.type';
|
|
4
4
|
import type { OptionsRowCard, RowCard } from '../../../core/types/row-card.type';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class RowCardComponent implements OnChanges {
|
|
6
|
+
export declare class RowCardComponent implements OnChanges, AfterViewInit, OnDestroy {
|
|
7
7
|
private readonly cdr;
|
|
8
8
|
private readonly translate;
|
|
9
|
+
private static measureContext?;
|
|
9
10
|
constructor(cdr: ChangeDetectorRef, translate: TranslateService);
|
|
10
11
|
data: RowCard;
|
|
11
12
|
options?: OptionsRowCard;
|
|
@@ -20,7 +21,10 @@ export declare class RowCardComponent implements OnChanges {
|
|
|
20
21
|
cardClick: EventEmitter<RowCard>;
|
|
21
22
|
cardButtonClick: EventEmitter<RowCard>;
|
|
22
23
|
contentWrapper?: ElementRef<HTMLDivElement>;
|
|
24
|
+
private readonly titleInnerRef?;
|
|
25
|
+
private resizeObserver?;
|
|
23
26
|
protected readonly isMobile: boolean;
|
|
27
|
+
protected displayedTitle: string;
|
|
24
28
|
get expanded(): boolean;
|
|
25
29
|
get titleEllipsis(): boolean;
|
|
26
30
|
get leftTitleText(): string;
|
|
@@ -36,6 +40,15 @@ export declare class RowCardComponent implements OnChanges {
|
|
|
36
40
|
get infoTooltipText(): string | null;
|
|
37
41
|
get statusTooltipText(): string | null;
|
|
38
42
|
ngOnChanges(changes: SimpleChanges): void;
|
|
43
|
+
ngAfterViewInit(): void;
|
|
44
|
+
ngOnDestroy(): void;
|
|
45
|
+
onTitleMouseEnter(event: MouseEvent, fullText: string): void;
|
|
46
|
+
private setupTitleResizeObserver;
|
|
47
|
+
private updateTruncatedTitle;
|
|
48
|
+
private setDisplayedTitle;
|
|
49
|
+
private computeTruncatedText;
|
|
50
|
+
private getAvailableWidth;
|
|
51
|
+
private getMeasureContext;
|
|
39
52
|
onCardClick(): void;
|
|
40
53
|
onExpandCardClick(event: Event): void;
|
|
41
54
|
onCardButtonClick(event?: Event): void;
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { DoCheck, EventEmitter, OnChanges, SimpleChanges, TemplateRef } from '@angular/core';
|
|
2
2
|
import type { PaginatorState } from '../../core/types/paginator.type';
|
|
3
|
+
import type { LoadingStateIndicator } from '../../core/types/loading-state.type';
|
|
3
4
|
import { RowCard, RowCardListOptions } from '../../core/types/row-card.type';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class RowCardListComponent implements OnChanges, DoCheck {
|
|
6
7
|
data: RowCard[];
|
|
7
8
|
set loading(value: boolean);
|
|
8
9
|
config: RowCardListOptions;
|
|
10
|
+
loadingIndicator: LoadingStateIndicator;
|
|
9
11
|
set loadingCardId(value: string | null);
|
|
10
12
|
cardButtonClick: EventEmitter<RowCard>;
|
|
11
13
|
cardClick: EventEmitter<RowCard>;
|
|
@@ -42,5 +44,5 @@ export declare class RowCardListComponent implements OnChanges, DoCheck {
|
|
|
42
44
|
private resolveRows;
|
|
43
45
|
private applyConfigOptions;
|
|
44
46
|
static ɵfac: i0.ɵɵFactoryDeclaration<RowCardListComponent, never>;
|
|
45
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RowCardListComponent, "sdc-row-card-list", never, { "data": { "alias": "data"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "config": { "alias": "config"; "required": false; }; "loadingCardId": { "alias": "loadingCardId"; "required": false; }; }, { "cardButtonClick": "cardButtonClick"; "cardClick": "cardClick"; }, ["detailTemplate"], never, true, never>;
|
|
47
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RowCardListComponent, "sdc-row-card-list", never, { "data": { "alias": "data"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "config": { "alias": "config"; "required": false; }; "loadingIndicator": { "alias": "loadingIndicator"; "required": false; }; "loadingCardId": { "alias": "loadingCardId"; "required": false; }; }, { "cardButtonClick": "cardButtonClick"; "cardClick": "cardClick"; }, ["detailTemplate"], never, true, never>;
|
|
46
48
|
}
|
|
@@ -17,14 +17,14 @@ export declare class SpotlightComponent {
|
|
|
17
17
|
previous: import("@angular/core").OutputEmitterRef<void>;
|
|
18
18
|
understand: import("@angular/core").OutputEmitterRef<void>;
|
|
19
19
|
isDoNotShowAgainChecked: import("@angular/core").WritableSignal<boolean>;
|
|
20
|
-
protected readonly closeLabelKey = "platform.datacore.
|
|
21
|
-
protected readonly backLabelKey = "platform.datacore.
|
|
22
|
-
protected readonly nextLabelKey = "platform.datacore.
|
|
23
|
-
protected readonly completeLabelKey = "platform.datacore.
|
|
24
|
-
protected readonly understoodLabelKey = "platform.datacore.
|
|
25
|
-
protected readonly doNotShowAgainLabelKey = "platform.datacore.
|
|
26
|
-
protected readonly stepCounterLabelKey = "platform.datacore.
|
|
27
|
-
protected readonly stepProgressLabelKey = "platform.datacore.
|
|
20
|
+
protected readonly closeLabelKey = "platform.datacore.spotlight_close";
|
|
21
|
+
protected readonly backLabelKey = "platform.datacore.spotlight_back";
|
|
22
|
+
protected readonly nextLabelKey = "platform.datacore.spotlight_next";
|
|
23
|
+
protected readonly completeLabelKey = "platform.datacore.spotlight_complete";
|
|
24
|
+
protected readonly understoodLabelKey = "platform.datacore.spotlight_understood";
|
|
25
|
+
protected readonly doNotShowAgainLabelKey = "platform.datacore.spotlight_do_not_show_again";
|
|
26
|
+
protected readonly stepCounterLabelKey = "platform.datacore.spotlight_step_counter";
|
|
27
|
+
protected readonly stepProgressLabelKey = "platform.datacore.spotlight_step_progress";
|
|
28
28
|
private static instanceCount;
|
|
29
29
|
private static incrementInstanceCount;
|
|
30
30
|
protected readonly instanceId: string;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import type { RowBase, TableCellConfigMap, TableColumn } from '../../../core/types/table.type';
|
|
3
3
|
import type { TableTextOverflow } from '../../../core/types/table-column.type';
|
|
4
|
+
import { type TableTagOverflow } from '../utils/table-visual.util';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class TableCellContentComponent<T extends RowBase = RowBase> {
|
|
6
7
|
cellConfigs: TableCellConfigMap<T>;
|
|
@@ -26,12 +27,14 @@ export declare class TableCellContentComponent<T extends RowBase = RowBase> {
|
|
|
26
27
|
get resolvedAlignment(): 'left' | 'center' | 'right';
|
|
27
28
|
protected cellTextValue(field?: string | undefined): string;
|
|
28
29
|
protected displayText(field?: string | undefined): string;
|
|
29
|
-
protected
|
|
30
|
+
protected effectiveTextOverflow(): TableTextOverflow;
|
|
30
31
|
protected ellipsisTitleText(displayText: string): string | null;
|
|
31
32
|
protected formatDate(): string;
|
|
32
33
|
protected formatCurrency(): string;
|
|
33
34
|
protected getCheckedValue(event: Event): boolean;
|
|
34
35
|
protected tagItems(): import("../utils/table-visual.util").TableResolvedTagItem[];
|
|
36
|
+
protected tagOverflow(): TableTagOverflow;
|
|
37
|
+
protected tagOverflowTitle(overflow: TableTagOverflow): string;
|
|
35
38
|
protected iconPresentation(): import("../utils/table-visual.util").TableResolvedIconPresentation;
|
|
36
39
|
protected titleIconPresentation(): import("../utils/table-visual.util").TableResolvedIconPresentation;
|
|
37
40
|
protected buttonKey(): string;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { AfterViewInit, EventEmitter, OnDestroy } from '@angular/core';
|
|
2
2
|
import type { PaginatorState } from '../../core/types/paginator.type';
|
|
3
|
+
import type { LoadingStateIndicator } from '../../core/types/loading-state.type';
|
|
3
4
|
import { type SearchTriggerMode } from '../../core/types/searchbox.type';
|
|
4
5
|
import { type RowBase, type SortOrder, type TableActionMenuItem as NativeActionMenuItem, type TableActionMenuCloseEvent, type TableCellConfig, type TableColumn, type TableOpenMenuState as OpenMenuState, type TableOptions, type TableSearchEvent, TableMenuFocusTarget } from '../../core/types/table.type';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
@@ -23,15 +24,18 @@ export declare class TableComponent<T extends RowBase = RowBase> implements Afte
|
|
|
23
24
|
protected readonly globalFilter: import("@angular/core").WritableSignal<string>;
|
|
24
25
|
protected readonly sortField: import("@angular/core").WritableSignal<string | null>;
|
|
25
26
|
protected readonly sortOrder: import("@angular/core").WritableSignal<SortOrder>;
|
|
26
|
-
|
|
27
|
+
private readonly selectionSignal;
|
|
27
28
|
protected readonly first: import("@angular/core").WritableSignal<number>;
|
|
28
29
|
protected readonly rows: import("@angular/core").WritableSignal<number>;
|
|
29
30
|
set cols(value: TableColumn<T>[] | null | undefined);
|
|
30
31
|
get cols(): TableColumn<T>[];
|
|
31
32
|
set data(value: T[] | null | undefined);
|
|
32
33
|
get data(): T[];
|
|
34
|
+
set selection(value: T[] | null | undefined);
|
|
35
|
+
get selection(): T[];
|
|
33
36
|
set loading(value: boolean | null | undefined);
|
|
34
37
|
get loading(): boolean;
|
|
38
|
+
loadingIndicator: LoadingStateIndicator;
|
|
35
39
|
set config(value: TableOptions<T> | null | undefined);
|
|
36
40
|
get config(): TableOptions<T>;
|
|
37
41
|
set ariaLabel(value: string | undefined);
|
|
@@ -55,9 +59,11 @@ export declare class TableComponent<T extends RowBase = RowBase> implements Afte
|
|
|
55
59
|
protected readonly options: import("@angular/core").Signal<TableOptions<T>>;
|
|
56
60
|
protected readonly isMobile: import("@angular/core").Signal<boolean>;
|
|
57
61
|
protected readonly showSearch: import("@angular/core").Signal<boolean>;
|
|
62
|
+
protected readonly searchFullWidth: import("@angular/core").Signal<boolean>;
|
|
58
63
|
protected readonly showPaginator: import("@angular/core").Signal<boolean>;
|
|
59
64
|
protected readonly showInitialLoading: import("@angular/core").Signal<boolean>;
|
|
60
65
|
protected readonly rowsPerPageOptions: import("@angular/core").Signal<number[]>;
|
|
66
|
+
protected readonly showRowsPerPageSelector: import("@angular/core").Signal<boolean>;
|
|
61
67
|
protected readonly searchPlaceholder: import("@angular/core").Signal<string>;
|
|
62
68
|
protected readonly triggerMode: import("@angular/core").Signal<SearchTriggerMode>;
|
|
63
69
|
protected readonly totalRecordsLabel: import("@angular/core").Signal<string>;
|
|
@@ -101,6 +107,7 @@ export declare class TableComponent<T extends RowBase = RowBase> implements Afte
|
|
|
101
107
|
protected toggleExpandRow(index: number): void;
|
|
102
108
|
protected isRowExpanded(index: number): boolean;
|
|
103
109
|
protected onPageChange(event: PaginatorState): void;
|
|
110
|
+
protected onRowClicked(row: T): void;
|
|
104
111
|
protected onToggleRow(row: T, checked: boolean): void;
|
|
105
112
|
protected isRowSelected(row: T): boolean;
|
|
106
113
|
protected isRowSelectionDisabled(row: T): boolean;
|
|
@@ -142,5 +149,5 @@ export declare class TableComponent<T extends RowBase = RowBase> implements Afte
|
|
|
142
149
|
private nextActionsMenuId;
|
|
143
150
|
private focusClosedMenuTarget;
|
|
144
151
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent<any>, never>;
|
|
145
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent<any>, "sdc-table", never, { "cols": { "alias": "cols"; "required": true; }; "data": { "alias": "data"; "required": true; }; "loading": { "alias": "loading"; "required": false; }; "config": { "alias": "config"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; }, { "action": "action"; "rowClick": "rowClick"; "lazyLoad": "lazyLoad"; "selectionChange": "selectionChange"; }, never, never, true, never>;
|
|
152
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent<any>, "sdc-table", never, { "cols": { "alias": "cols"; "required": true; }; "data": { "alias": "data"; "required": true; }; "selection": { "alias": "selection"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "loadingIndicator": { "alias": "loadingIndicator"; "required": false; }; "config": { "alias": "config"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; }, { "action": "action"; "rowClick": "rowClick"; "lazyLoad": "lazyLoad"; "selectionChange": "selectionChange"; }, never, never, true, never>;
|
|
146
153
|
}
|
|
@@ -7,6 +7,10 @@ export type TableResolvedTagItem = {
|
|
|
7
7
|
tooltip: string | null;
|
|
8
8
|
tone: 'enabled' | 'disabled' | null;
|
|
9
9
|
};
|
|
10
|
+
export type TableTagOverflow = {
|
|
11
|
+
hiddenCount: number;
|
|
12
|
+
hiddenLabels: string[];
|
|
13
|
+
};
|
|
10
14
|
export type TableResolvedIconPresentation = {
|
|
11
15
|
colorStyle: Record<string, string> | null;
|
|
12
16
|
icon: string | null;
|
|
@@ -16,6 +20,7 @@ export type TableResolvedIconPresentation = {
|
|
|
16
20
|
};
|
|
17
21
|
export declare function resolveTableVisualConfig<T extends RowBase = RowBase, TValue = unknown, TConfig extends TableBaseVisualConfig = TableBaseVisualConfig>(input: TableVisualConfigInput<T, TValue, TConfig> | undefined, value: TValue, row: T): TConfig | null;
|
|
18
22
|
export declare function resolveTableTagItems<T extends RowBase = RowBase>(row: T, col: TableColumn<T>, tagOptions: TableCellConfig<T, 'tag'>, resolveValue: (rowValue: T, field?: string) => unknown): TableResolvedTagItem[];
|
|
23
|
+
export declare function resolveTableTagOverflow<T extends RowBase = RowBase>(row: T, col: TableColumn<T>, tagOptions: TableCellConfig<T, 'tag'>, resolveValue: (rowValue: T, field?: string) => unknown): TableTagOverflow;
|
|
19
24
|
export declare function resolveTableIconPresentation<T extends RowBase = RowBase>(row: T, col: TableColumn<T>, iconOptions: TableCellConfig<T, 'icon'>, resolveValue: (rowValue: T, field?: string) => unknown): TableResolvedIconPresentation;
|
|
20
25
|
export declare function resolveTableTitleIconPresentation<T extends RowBase = RowBase>(row: T, col: TableColumn<T>, iconOptions: TableCellConfig<T, 'icon-title'>, resolveValue: (rowValue: T, field?: string) => unknown): TableResolvedIconPresentation;
|
|
21
26
|
export declare function resolveTableButtonKey<T extends RowBase = RowBase>(row: T, col: TableColumn<T>, buttonOptions: TableCellConfig<T, 'button'>, resolveValue: (rowValue: T, field?: string) => unknown): string;
|
|
@@ -14,5 +14,5 @@ export declare class TextareaComponent extends InputsComponent<string> implement
|
|
|
14
14
|
onTextareaInput(event: Event): void;
|
|
15
15
|
private applyAutoResize;
|
|
16
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<TextareaComponent, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TextareaComponent, "sdc-textarea", never, { "infoTooltip": { "alias": "infoTooltip"; "required": false; }; "infoTooltipPosition": { "alias": "infoTooltipPosition"; "required": false; }; "infoTooltipEvent": { "alias": "infoTooltipEvent"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "autoResize": { "alias": "autoResize"; "required": false; }; }, {}, never,
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TextareaComponent, "sdc-textarea", never, { "infoTooltip": { "alias": "infoTooltip"; "required": false; }; "infoTooltipPosition": { "alias": "infoTooltipPosition"; "required": false; }; "infoTooltipEvent": { "alias": "infoTooltipEvent"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "autoResize": { "alias": "autoResize"; "required": false; }; }, {}, never, ["[sdcTextareaActions]"], true, never>;
|
|
18
18
|
}
|
|
@@ -18,9 +18,9 @@ export declare class ThumbnailItemComponent {
|
|
|
18
18
|
selected: boolean;
|
|
19
19
|
}>;
|
|
20
20
|
opened: EventEmitter<ThumbnailsItem>;
|
|
21
|
-
readonly listenKey = "platform.datacore.
|
|
22
|
-
readonly viewKey = "platform.datacore.
|
|
23
|
-
readonly selectItemKey = "platform.datacore.
|
|
21
|
+
readonly listenKey = "platform.datacore.thumbnails_listen";
|
|
22
|
+
readonly viewKey = "platform.datacore.thumbnails_view";
|
|
23
|
+
readonly selectItemKey = "platform.datacore.thumbnails_select_item";
|
|
24
24
|
onClick(): void;
|
|
25
25
|
onCheckboxChange(event: Event): void;
|
|
26
26
|
onCheckboxClick(event: Event): void;
|
package/features/thumbnails/components/thumbnail-item-image/thumbnail-item-image.component.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ import * as i0 from "@angular/core";
|
|
|
7
7
|
*/
|
|
8
8
|
export declare class ThumbnailItemImageComponent {
|
|
9
9
|
imageUrl: string;
|
|
10
|
-
readonly viewKey = "platform.datacore.
|
|
10
|
+
readonly viewKey = "platform.datacore.thumbnails_view";
|
|
11
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThumbnailItemImageComponent, never>;
|
|
12
12
|
static ɵcmp: i0.ɵɵComponentDeclaration<ThumbnailItemImageComponent, "sdc-thumbnail-item-image", never, { "imageUrl": { "alias": "imageUrl"; "required": false; }; }, {}, never, never, true, never>;
|
|
13
13
|
}
|
package/features/thumbnails/components/thumbnail-item-video/thumbnail-item-video.component.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ export declare class ThumbnailItemVideoComponent {
|
|
|
11
11
|
imageUrl: string;
|
|
12
12
|
videoUrl: string;
|
|
13
13
|
videoPlayer?: ElementRef<HTMLVideoElement>;
|
|
14
|
-
readonly watchKey = "platform.datacore.
|
|
14
|
+
readonly watchKey = "platform.datacore.thumbnails_watch";
|
|
15
15
|
onMouseEnter(): void;
|
|
16
16
|
onMouseLeave(): void;
|
|
17
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThumbnailItemVideoComponent, never>;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { InputsComponent } from '../../core/directives/inputs.directive';
|
|
3
|
+
import { type TileSelectColumns, type TileSelectItem } from '../../core/types/tile-select.type';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class TileSelectComponent<TValue = unknown> extends InputsComponent<TValue> {
|
|
6
|
+
items: TileSelectItem<TValue>[];
|
|
7
|
+
columns: TileSelectColumns;
|
|
8
|
+
compareWith: (a: TValue, b: TValue) => boolean;
|
|
9
|
+
itemSelected: EventEmitter<TileSelectItem<TValue>>;
|
|
10
|
+
protected readonly groupLabelId: string;
|
|
11
|
+
private readonly cdr;
|
|
12
|
+
writeValue(value: TValue | null): void;
|
|
13
|
+
setDisabledState(isDisabled: boolean): void;
|
|
14
|
+
protected isItemSelected(item: TileSelectItem<TValue>): boolean;
|
|
15
|
+
protected isItemDisabled(item: TileSelectItem<TValue>): boolean;
|
|
16
|
+
protected getItemStateAriaLabelKey(item: TileSelectItem<TValue>): string;
|
|
17
|
+
protected onItemSelect(item: TileSelectItem<TValue>): void;
|
|
18
|
+
protected onKeyboardActivate(event: KeyboardEvent, item: TileSelectItem<TValue>): void;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TileSelectComponent<any>, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TileSelectComponent<any>, "sdc-tile-select", never, { "items": { "alias": "items"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "compareWith": { "alias": "compareWith"; "required": false; }; }, { "itemSelected": "itemSelected"; }, never, never, true, never>;
|
|
21
|
+
}
|