@colijnit/corecomponents_v12 262.1.1 → 262.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/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 {
@@ -2753,6 +2762,10 @@ declare class ViewModeButtonsModule {
2753
2762
  static ɵinj: i0.ɵɵInjectorDeclaration<ViewModeButtonsModule>;
2754
2763
  }
2755
2764
 
2765
+ declare class LovUtils {
2766
+ static getDisplayValue(model: any, displayField: string): string;
2767
+ }
2768
+
2756
2769
  declare class ListOfValuesComponent extends BaseInputComponent<any> implements OnInit {
2757
2770
  formComponent: FormComponent;
2758
2771
  iconCacheService: IconCacheService;
@@ -2762,6 +2775,7 @@ declare class ListOfValuesComponent extends BaseInputComponent<any> implements O
2762
2775
  protected ngZoneWrapper?: NgZoneWrapperService;
2763
2776
  elementRef?: ElementRef;
2764
2777
  readonly icons: typeof CoreComponentsIcon;
2778
+ readonly lovUtils: typeof LovUtils;
2765
2779
  set model(value: any);
2766
2780
  get model(): any;
2767
2781
  parentForOverlay: ElementRef;
@@ -2814,6 +2828,7 @@ interface lovViewModel {
2814
2828
  declare class ListOfValuesPopupComponent implements OnInit {
2815
2829
  iconCacheService: IconCacheService;
2816
2830
  private _elementRef;
2831
+ readonly lovUtils: typeof LovUtils;
2817
2832
  set lovItems(children: any);
2818
2833
  dropDownList: ElementRef;
2819
2834
  set inputSearch(component: InputSearchComponent);
@@ -4018,5 +4033,5 @@ interface DragDropContainerElement {
4018
4033
  elementIdx: number;
4019
4034
  }
4020
4035
 
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 };
4036
+ 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
4037
  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.3",
4
4
  "description": "Colijn IT core components for Angular 12",
5
5
  "private": false,
6
6
  "peerDependencies": {