@progressio_resources/gravity-design-system 4.1.2 → 4.1.3
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/package.json
CHANGED
|
@@ -202,25 +202,44 @@ declare class GravityAttachFileComponent implements AfterViewInit {
|
|
|
202
202
|
static ɵcmp: i0.ɵɵComponentDeclaration<GravityAttachFileComponent, "gravity-attach-file", never, { "currentLang": { "alias": "currentLang"; "required": false; }; "cypressTag": { "alias": "cypressTag"; "required": false; }; "inputId": { "alias": "inputId"; "required": false; }; "label": { "alias": "label"; "required": false; }; "required": { "alias": "required"; "required": false; }; "state": { "alias": "state"; "required": false; }; "supportedDocumentTypes": { "alias": "supportedDocumentTypes"; "required": false; }; "supportTextContent": { "alias": "supportTextContent"; "required": false; }; "supportTextType": { "alias": "supportTextType"; "required": false; }; }, { "fileValueAsBase64StringResponse": "response"; }, never, never, true, never>;
|
|
203
203
|
}
|
|
204
204
|
|
|
205
|
-
|
|
205
|
+
interface VisibleAvatarItem {
|
|
206
|
+
item: any;
|
|
207
|
+
actualIndex: number;
|
|
208
|
+
isSelected: boolean;
|
|
209
|
+
size: 'sm' | 'md' | 'lg';
|
|
210
|
+
}
|
|
211
|
+
declare class GravityAvatarStackComponent {
|
|
206
212
|
items: Array<any>;
|
|
207
|
-
size: 'lg' | 'md' | 'sm';
|
|
208
213
|
type: 'network' | 'coin';
|
|
209
|
-
|
|
214
|
+
maxDisplayedItems: number;
|
|
215
|
+
selectedIndex: number;
|
|
216
|
+
carouselMaxItems: 3 | 5 | 7;
|
|
217
|
+
size: 'xl' | 'lg' | 'md' | 'sm';
|
|
210
218
|
config: {
|
|
211
219
|
icon: string;
|
|
212
220
|
label: string;
|
|
213
221
|
};
|
|
214
|
-
|
|
222
|
+
selectionMode: 'single' | 'multiple' | 'none';
|
|
215
223
|
clickOnIcon: EventEmitter<any[]>;
|
|
216
|
-
displayedItems: any[];
|
|
217
224
|
selectedIndexes: number[];
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
225
|
+
private touchEnd;
|
|
226
|
+
private touchStart;
|
|
227
|
+
private swipeThreshold;
|
|
228
|
+
get isCarousel(): boolean;
|
|
229
|
+
get carouselItems(): VisibleAvatarItem[];
|
|
230
|
+
get stackDisplayedItems(): any[];
|
|
231
|
+
get selectedItems(): any[];
|
|
232
|
+
isItemSelected(index: number): boolean;
|
|
233
|
+
getIconName(item: any): string;
|
|
234
|
+
getItemLabel(item: any): string;
|
|
235
|
+
selectItem(index: number): void;
|
|
236
|
+
selectNext(): void;
|
|
237
|
+
selectPrevious(): void;
|
|
238
|
+
onTouchStart(event: TouchEvent): void;
|
|
239
|
+
onTouchMove(event: TouchEvent): void;
|
|
240
|
+
onTouchEnd(): void;
|
|
222
241
|
static ɵfac: i0.ɵɵFactoryDeclaration<GravityAvatarStackComponent, never>;
|
|
223
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GravityAvatarStackComponent, "gravity-avatar-stack", never, { "items": { "alias": "items"; "required": false; }; "
|
|
242
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GravityAvatarStackComponent, "gravity-avatar-stack", never, { "items": { "alias": "items"; "required": false; }; "type": { "alias": "type"; "required": false; }; "maxDisplayedItems": { "alias": "maxDisplayedItems"; "required": false; }; "selectedIndex": { "alias": "selectedIndex"; "required": false; }; "carouselMaxItems": { "alias": "carouselMaxItems"; "required": false; }; "size": { "alias": "size"; "required": false; }; "config": { "alias": "config"; "required": false; }; "selectionMode": { "alias": "selectionMode"; "required": false; }; }, { "clickOnIcon": "clickOnIcon"; }, never, never, true, never>;
|
|
224
243
|
}
|
|
225
244
|
|
|
226
245
|
declare class GravityGenericAvatarComponent {
|
|
@@ -2820,4 +2839,4 @@ declare class GravityTooltipComponent implements OnInit {
|
|
|
2820
2839
|
}
|
|
2821
2840
|
|
|
2822
2841
|
export { BsNavigationDirection, GravityActionCardComponent, GravityAttachFileComponent, GravityAvatarStackComponent, GravityBackdropComponent, GravityBadgeComponent, GravityButtonComponent, GravityCalendarV2Component, GravityCheckboxComponent, GravityChipGroupComponent, GravityCurrencyComponent, GravityCurrencyDisplayV2Component, GravityCurrencyDropdownShortComponent, GravityDataViewsV2Component, GravityDatePickerComponent, GravityDesignSystemModule, GravityDetailContainerComponent, GravityDialogComponent, GravityDialogManagerService, GravityDropdownLabelComponent, GravityDropdownListComponent, GravityDropdownListDisplayComponent, GravityEditableInputComponent, GravityGenericAvatarComponent, GravityGenericAvatarSecondaryComponent, GravityHeaderComponent, GravityIconButtonComponent, GravityIconComponent, GravityLinkComponent, GravityMenuComponent, GravityModalComponent, GravityMultiLanguageComponent, GravityNavigationCardComponent, GravityNetworkPillComponent, GravityNotificationInstantContainerComponent, GravityPaginationComponent, GravityPasswordFieldComponent, GravityPushNotificationsComponent, GravityRadioButtonComponent, GravityRadioCardComponent, GravitySegmentedButtonComponent, GravityStatusIndicatorComponent, GravityStepperComponent, GravityStepperV2Component, GravityStrengthMeterComponent, GravitySwitchComponent, GravityTabPrimaryComponent, GravityTabSecondaryComponent, GravityTableComponent, GravityTablesV2Component, GravityTextFieldAmountOnlyComponent, GravityTextFieldComponent, GravityTextFieldNumberOnlyComponent, GravityTooltipComponent, GravityTooltipContainerComponent, GravityTooltipDirective, GravityTooltipModule, GravityTreeViewComponent, ICONS, OLD_ICONS };
|
|
2823
|
-
export type { AdComponent, BreadCrumb, BsDatepickerViewMode, BsNavigationEvent, BsViewNavigationEvent, CalendarCellViewModel, CellHoverEvent, DatepickerFormatOptions, DatepickerRenderOptions, DayViewModel, DaysCalendarModel, DaysCalendarViewModel, GravityChipItem, GravityDialogContentInterface, GravityNotificationContent, GravityPageChangedEvent, MonthViewOptions, MonthsCalendarViewModel, NavigationViewModel, NodeItem, NodeState, SegmentedButton, WeekViewModel, YearsCalendarViewModel };
|
|
2842
|
+
export type { AdComponent, BreadCrumb, BsDatepickerViewMode, BsNavigationEvent, BsViewNavigationEvent, CalendarCellViewModel, CellHoverEvent, DatepickerFormatOptions, DatepickerRenderOptions, DayViewModel, DaysCalendarModel, DaysCalendarViewModel, GravityChipItem, GravityDialogContentInterface, GravityNotificationContent, GravityPageChangedEvent, MonthViewOptions, MonthsCalendarViewModel, NavigationViewModel, NodeItem, NodeState, SegmentedButton, VisibleAvatarItem, WeekViewModel, YearsCalendarViewModel };
|