@colijnit/corecomponents_v12 262.1.1 → 262.1.2

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/index.d.ts CHANGED
@@ -2435,11 +2435,17 @@ declare abstract class BaseSimpleGridComponent {
2435
2435
  static ɵdir: i0.ɵɵDirectiveDeclaration<BaseSimpleGridComponent, never, never, { "data": { "alias": "data"; "required": false; }; "exportData": { "alias": "exportData"; "required": false; }; "dragDropEnabled": { "alias": "dragDropEnabled"; "required": false; }; "resizable": { "alias": "resizable"; "required": false; }; "inlineEdit": { "alias": "inlineEdit"; "required": false; }; "showEdit": { "alias": "showEdit"; "required": false; }; "showToolbar": { "alias": "showToolbar"; "required": false; }; "autoAddRow": { "alias": "autoAddRow"; "required": false; }; "useCustomExcelExport": { "alias": "useCustomExcelExport"; "required": false; }; "emitDragDrop": { "alias": "emitDragDrop"; "required": false; }; "extraColumns": { "alias": "extraColumns"; "required": false; }; }, { "onDrop": "onDrop"; "selectRow": "selectRow"; "deselectRow": "deselectRow"; "dblClickRow": "dblClickRow"; "saveRow": "saveRow"; "deleteRow": "deleteRow"; "addRow": "addRow"; "rowVisible": "rowVisible"; "paginationPageChange": "paginationPageChange"; "customExcelExport": "customExcelExport"; }, ["content"], never, true, never>;
2436
2436
  }
2437
2437
 
2438
+ declare enum ScrollDirection {
2439
+ top = "top",
2440
+ bottom = "bottom"
2441
+ }
2442
+
2438
2443
  declare class SimpleGridComponent extends BaseSimpleGridComponent {
2439
2444
  icons: IconCacheService;
2440
2445
  protected changeDetection: ChangeDetectorRef;
2441
2446
  private _formMaster;
2442
2447
  readonly defaultTextAlign: ColumnAlign;
2448
+ readonly scrollDirections: typeof ScrollDirection;
2443
2449
  set headerCells(cells: any);
2444
2450
  rowElements: QueryList<ElementRef>;
2445
2451
  showAdd: boolean;
@@ -2453,6 +2459,8 @@ declare class SimpleGridComponent extends BaseSimpleGridComponent {
2453
2459
  showColumnSort: boolean;
2454
2460
  showRowButtons: boolean;
2455
2461
  resetPageOnDataChange: boolean;
2462
+ scrollOnRowAction: boolean;
2463
+ scrollDirection: ScrollDirection;
2456
2464
  /**
2457
2465
  * Promise function, if provided should return boolean
2458
2466
  */
@@ -2516,8 +2524,9 @@ declare class SimpleGridComponent extends BaseSimpleGridComponent {
2516
2524
  private _saveRow;
2517
2525
  private _detectChanges;
2518
2526
  private _resetEdit;
2527
+ private _scrollAfterRowAction;
2519
2528
  static ɵfac: i0.ɵɵFactoryDeclaration<SimpleGridComponent, never>;
2520
- static ɵcmp: i0.ɵɵComponentDeclaration<SimpleGridComponent, "co-simple-grid", never, { "showAdd": { "alias": "showAdd"; "required": false; }; "showDelete": { "alias": "showDelete"; "required": false; }; "deselectAllowed": { "alias": "deselectAllowed"; "required": false; }; "editOnCellClick": { "alias": "editOnCellClick"; "required": false; }; "rightToolbar": { "alias": "rightToolbar"; "required": false; }; "showGridSettings": { "alias": "showGridSettings"; "required": false; }; "rowsPerPage": { "alias": "rowsPerPage"; "required": false; }; "rowDisabledFn": { "alias": "rowDisabledFn"; "required": false; }; "showColumnSort": { "alias": "showColumnSort"; "required": false; }; "showRowButtons": { "alias": "showRowButtons"; "required": false; }; "resetPageOnDataChange": { "alias": "resetPageOnDataChange"; "required": false; }; "canRowBeEdittedFn": { "alias": "canRowBeEdittedFn"; "required": false; }; }, {}, never, never, false, never>;
2529
+ static ɵcmp: i0.ɵɵComponentDeclaration<SimpleGridComponent, "co-simple-grid", never, { "showAdd": { "alias": "showAdd"; "required": false; }; "showDelete": { "alias": "showDelete"; "required": false; }; "deselectAllowed": { "alias": "deselectAllowed"; "required": false; }; "editOnCellClick": { "alias": "editOnCellClick"; "required": false; }; "rightToolbar": { "alias": "rightToolbar"; "required": false; }; "showGridSettings": { "alias": "showGridSettings"; "required": false; }; "rowsPerPage": { "alias": "rowsPerPage"; "required": false; }; "rowDisabledFn": { "alias": "rowDisabledFn"; "required": false; }; "showColumnSort": { "alias": "showColumnSort"; "required": false; }; "showRowButtons": { "alias": "showRowButtons"; "required": false; }; "resetPageOnDataChange": { "alias": "resetPageOnDataChange"; "required": false; }; "scrollOnRowAction": { "alias": "scrollOnRowAction"; "required": false; }; "scrollDirection": { "alias": "scrollDirection"; "required": false; }; "canRowBeEdittedFn": { "alias": "canRowBeEdittedFn"; "required": false; }; }, {}, never, never, false, never>;
2521
2530
  }
2522
2531
 
2523
2532
  declare class SimpleGridCellComponent {
@@ -4018,5 +4027,5 @@ interface DragDropContainerElement {
4018
4027
  elementIdx: number;
4019
4028
  }
4020
4029
 
4021
- export { AlignWithDirective, AlignWithModule, AppendPipe, AppendPipeModule, ArticleTileComponent, ArticleTileModule, BaseInputComponent, BaseInputDatePickerDirective, BaseModuleScreenConfigService, BaseModuleService, ButtonComponent, ButtonModule, CalendarComponent, CalendarModule, CalendarTemplateComponent, CardComponent, CardModule, Carousel3dComponent, Carousel3dModule, CarouselComponent, CarouselHammerConfig, CarouselModule, CheckmarkOverlayComponent, CheckmarkOverlayModule, ClickOutsideDirective, ClickoutsideModule, CoCurrencyPipe, CoCurrencyPipeModule, CoDialogComponent, CoDialogModule, CoDialogWizardComponent, CoDialogWizardModule, CoDirection, CoOrientation, CollapsibleComponent, CollapsibleModule, ColorPickerComponent, ColorPickerModule, ColorSequenceService, ColumnAlign, ContentViewMode, CoreComponentsIcon, CoreComponentsTranslationModule, CoreComponentsTranslationService, CoreDialogModule, CoreDialogService, CoreLocalizePipe, DoubleCalendarComponent, DoubleCalendarModule, DragDropContainer, DragDropContainerComponent, DragDropManagerService, DragDropModule, DraggableDirective, ElementPosition, FilterItemComponent, FilterItemMode, FilterItemModule, FilterItemViewmodel, FilterPipe, FilterPipeModule, FilterViewmodel, FormComponent, FormInputUserModelChangeListenerService, FormMasterService, FormModule, GridToolbarButtonComponent, GridToolbarButtonModule, GridToolbarComponent, GridToolbarModule, HourSchedulingComponent, HourSchedulingComponentModule, HourSchedulingExpandableComponent, HourSchedulingExpandableComponentModule, HourSchedulingExpandableTemplateComponent, HourSchedulingExpandableTemplateModule, HourSchedulingTestObjectComponent, IconCacheService, IconCollapseHandleComponent, IconCollapseHandleModule, IconComponent, IconModule, ImageComponent, ImageModule, InputCheckboxComponent, InputCheckboxModule, InputDatePickerComponent, InputDatePickerModule, InputDateRangePickerComponent, InputDateRangePickerModule, InputNumberPickerComponent, InputNumberPickerModule, InputRadioButtonComponent, InputRadioButtonModule, InputScannerComponent, InputScannerModule, InputSearchComponent, InputSearchModule, InputTextComponent, InputTextModule, InputTextareaComponent, InputTextareaModule, InputTimeComponent, InputTimeModule, LevelIndicatorComponent, LevelIndicatorModule, ListOfIconsComponent, ListOfIconsModule, ListOfValuesComponent, ListOfValuesModule, ListOfValuesPopupComponent, LoaderComponent, LoaderModule, NgZoneWrapperService, ObserveVisibilityDirective, ObserveVisibilityModule, OrientationOfDirection, OverlayDirective, OverlayModule, OverlayParentDirective, OverlayService, PaginatePipe, PaginationBarComponent, PaginationBarModule, PaginationComponent, PaginationModule, PopupButtonsComponent, PopupMessageDisplayComponent, PopupModule, PopupWindowShellComponent, PrependPipe, PrependPipeModule, PriceDisplayPipe, PriceDisplayPipeModule, PromptService, ResponsiveTextComponent, ResponsiveTextModule, SCREEN_CONFIG_ADAPTER_COMPONENT_INTERFACE_NAME, ScreenConfigurationDirective, ScreenConfigurationModule, ScrollContainerComponent, ScrollContainerModule, SimpleGridCellComponent, SimpleGridColumnDirective, SimpleGridColumnTemplateDirective, SimpleGridColumnTemplateType, SimpleGridComponent, SimpleGridModule, TemplateWrapperDirective, TemplateWrapperModule, TextInputPopupComponent, TileComponent, TileModule, TileSelectComponent, TileSelectModule, TooltipDirective, TooltipDirectiveModule, ViewModeButtonsComponent, ViewModeButtonsModule, emailValidator, equalValidator, getValidatePasswordErrorString, maxStringLengthValidator, passwordValidator, precisionScaleValidator, requiredValidator, showHideDialog };
4030
+ export { AlignWithDirective, AlignWithModule, AppendPipe, AppendPipeModule, ArticleTileComponent, ArticleTileModule, BaseInputComponent, BaseInputDatePickerDirective, BaseModuleScreenConfigService, BaseModuleService, ButtonComponent, ButtonModule, CalendarComponent, CalendarModule, CalendarTemplateComponent, CardComponent, CardModule, Carousel3dComponent, Carousel3dModule, CarouselComponent, CarouselHammerConfig, CarouselModule, CheckmarkOverlayComponent, CheckmarkOverlayModule, ClickOutsideDirective, ClickoutsideModule, CoCurrencyPipe, CoCurrencyPipeModule, CoDialogComponent, CoDialogModule, CoDialogWizardComponent, CoDialogWizardModule, CoDirection, CoOrientation, CollapsibleComponent, CollapsibleModule, ColorPickerComponent, ColorPickerModule, ColorSequenceService, ColumnAlign, ContentViewMode, CoreComponentsIcon, CoreComponentsTranslationModule, CoreComponentsTranslationService, CoreDialogModule, CoreDialogService, CoreLocalizePipe, DoubleCalendarComponent, DoubleCalendarModule, DragDropContainer, DragDropContainerComponent, DragDropManagerService, DragDropModule, DraggableDirective, ElementPosition, FilterItemComponent, FilterItemMode, FilterItemModule, FilterItemViewmodel, FilterPipe, FilterPipeModule, FilterViewmodel, FormComponent, FormInputUserModelChangeListenerService, FormMasterService, FormModule, GridToolbarButtonComponent, GridToolbarButtonModule, GridToolbarComponent, GridToolbarModule, HourSchedulingComponent, HourSchedulingComponentModule, HourSchedulingExpandableComponent, HourSchedulingExpandableComponentModule, HourSchedulingExpandableTemplateComponent, HourSchedulingExpandableTemplateModule, HourSchedulingTestObjectComponent, IconCacheService, IconCollapseHandleComponent, IconCollapseHandleModule, IconComponent, IconModule, ImageComponent, ImageModule, InputCheckboxComponent, InputCheckboxModule, InputDatePickerComponent, InputDatePickerModule, InputDateRangePickerComponent, InputDateRangePickerModule, InputNumberPickerComponent, InputNumberPickerModule, InputRadioButtonComponent, InputRadioButtonModule, InputScannerComponent, InputScannerModule, InputSearchComponent, InputSearchModule, InputTextComponent, InputTextModule, InputTextareaComponent, InputTextareaModule, InputTimeComponent, InputTimeModule, LevelIndicatorComponent, LevelIndicatorModule, ListOfIconsComponent, ListOfIconsModule, ListOfValuesComponent, ListOfValuesModule, ListOfValuesPopupComponent, LoaderComponent, LoaderModule, NgZoneWrapperService, ObserveVisibilityDirective, ObserveVisibilityModule, OrientationOfDirection, OverlayDirective, OverlayModule, OverlayParentDirective, OverlayService, PaginatePipe, PaginationBarComponent, PaginationBarModule, PaginationComponent, PaginationModule, PopupButtonsComponent, PopupMessageDisplayComponent, PopupModule, PopupWindowShellComponent, PrependPipe, PrependPipeModule, PriceDisplayPipe, PriceDisplayPipeModule, PromptService, ResponsiveTextComponent, ResponsiveTextModule, SCREEN_CONFIG_ADAPTER_COMPONENT_INTERFACE_NAME, ScreenConfigurationDirective, ScreenConfigurationModule, ScrollContainerComponent, ScrollContainerModule, ScrollDirection, SimpleGridCellComponent, SimpleGridColumnDirective, SimpleGridColumnTemplateDirective, SimpleGridColumnTemplateType, SimpleGridComponent, SimpleGridModule, TemplateWrapperDirective, TemplateWrapperModule, TextInputPopupComponent, TileComponent, TileModule, TileSelectComponent, TileSelectModule, TooltipDirective, TooltipDirectiveModule, ViewModeButtonsComponent, ViewModeButtonsModule, emailValidator, equalValidator, getValidatePasswordErrorString, maxStringLengthValidator, passwordValidator, precisionScaleValidator, requiredValidator, showHideDialog };
4022
4031
  export type { CoDragEvent, CoDropEvent, DataItem, DialogResponseInterface, DragDropContainerElement, IPage, IconListItem, SchedulingObject$1 as SchedulingObject, ScreenConfigAdapterComponent, lovViewModel };
@@ -93,8 +93,6 @@
93
93
  }
94
94
 
95
95
  .co-button {
96
- background-color: $cc-simple-grid-button-background-color;
97
-
98
96
  .co-icon {
99
97
  width: $cc-simple-grid-cell-icon-size;
100
98
  height: $cc-simple-grid-cell-icon-size;
@@ -41,8 +41,6 @@ $cc-simple-grid-cell-field-align-items: center !default;
41
41
  $cc-simple-grid-pagination-background-color: white !default;
42
42
  $cc-simple-grid-pagination-bar-margin: 10px 0 0 0 !default;
43
43
 
44
- $cc-simple-grid-button-background-color: #FFFFFF !default;
45
-
46
44
  $cc-simple-grid-input-checkbox-height: 18px !default;
47
45
  $cc-simple-grid-input-checkbox-color: #F5F5FC;
48
46
  $cc-simple-grid-input-checkbox-checked-color: #1a73e8;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@colijnit/corecomponents_v12",
3
- "version": "262.1.1",
3
+ "version": "262.1.2",
4
4
  "description": "Colijn IT core components for Angular 12",
5
5
  "private": false,
6
6
  "peerDependencies": {