@stemy/ngx-utils 19.7.12 → 19.7.14

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.
@@ -302,7 +302,6 @@ export declare class PaginationItemContext {
302
302
  get odd(): boolean;
303
303
  get row(): any;
304
304
  get parallelRow(): any;
305
- filter(filterRx: RegExp): boolean;
306
305
  }
307
306
  export interface IPoint {
308
307
  readonly x: number;
@@ -1,9 +1,12 @@
1
1
  import { ChangeDetectorRef, ElementRef, EventEmitter, OnChanges, SimpleChanges } from "@angular/core";
2
2
  import { ControlValueAccessor } from "@angular/forms";
3
3
  import { ChipOption, ChipStatus, ChipValue } from "../../common-types";
4
+ import { AutoPlacementOptions } from "@floating-ui/dom";
5
+ import { DropdownDirective } from "../../directives/dropdown.directive";
4
6
  import * as i0 from "@angular/core";
5
7
  export declare class ChipsComponent implements ControlValueAccessor, OnChanges {
6
8
  readonly cdr: ChangeDetectorRef;
9
+ testId: string;
7
10
  value: ChipValue | ChipValue[];
8
11
  multiple: boolean;
9
12
  disabled: boolean;
@@ -15,9 +18,10 @@ export declare class ChipsComponent implements ControlValueAccessor, OnChanges {
15
18
  step: number;
16
19
  placeholder: string;
17
20
  unique: boolean;
21
+ strict: boolean;
18
22
  options: ReadonlyArray<ChipOption>;
19
23
  valueChange: EventEmitter<ChipValue | ChipValue[]>;
20
- chipContainer: ElementRef<HTMLDivElement>;
24
+ chipDropdown: DropdownDirective;
21
25
  chipButtons: ElementRef<HTMLDivElement>;
22
26
  chipInput: ElementRef<HTMLInputElement>;
23
27
  inputStyles: {
@@ -26,6 +30,7 @@ export declare class ChipsComponent implements ControlValueAccessor, OnChanges {
26
30
  valueOptions: ChipOption[];
27
31
  filteredOptions: ChipOption[];
28
32
  statuses: ChipStatus[];
33
+ autoPlacement: AutoPlacementOptions;
29
34
  private undoList;
30
35
  private previousValue;
31
36
  onChange: any;
@@ -41,7 +46,7 @@ export declare class ChipsComponent implements ControlValueAccessor, OnChanges {
41
46
  onResize(): void;
42
47
  onInput(ev: KeyboardEvent): boolean;
43
48
  onBlur(ev: FocusEvent): void;
44
- enterOption(value: string): boolean;
49
+ enterOption(src: string | number): boolean;
45
50
  trackBy(index: number, option: ChipOption): string;
46
51
  protected makeUndo(): void;
47
52
  protected createOption(value: string | number): ChipOption;
@@ -49,5 +54,5 @@ export declare class ChipsComponent implements ControlValueAccessor, OnChanges {
49
54
  protected updateValue(): ChipValue | ChipValue[];
50
55
  protected filterOptions(): void;
51
56
  static ɵfac: i0.ɵɵFactoryDeclaration<ChipsComponent, never>;
52
- static ɵcmp: i0.ɵɵComponentDeclaration<ChipsComponent, "chips", never, { "value": { "alias": "value"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "type": { "alias": "type"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "minLength": { "alias": "minLength"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "step": { "alias": "step"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "unique": { "alias": "unique"; "required": false; }; "options": { "alias": "options"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, false, never>;
57
+ static ɵcmp: i0.ɵɵComponentDeclaration<ChipsComponent, "chips", never, { "testId": { "alias": "testId"; "required": false; }; "value": { "alias": "value"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "type": { "alias": "type"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "minLength": { "alias": "minLength"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "step": { "alias": "step"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "unique": { "alias": "unique"; "required": false; }; "strict": { "alias": "strict"; "required": false; }; "options": { "alias": "options"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, false, never>;
53
58
  }
@@ -81,7 +81,7 @@ export declare class DynamicTableComponent implements AfterContentInit, AfterVie
81
81
  setQueryValue(c: string, value: string | boolean): void;
82
82
  setItemsPerPage(count: number): void;
83
83
  loadData: (page: number, itemsPerPage: number) => Promise<IPaginationData>;
84
- protected loadLocalData(page: number, rowsPerPage: number, orderBy: string, orderDescending: boolean, filter: string): Promise<IPaginationData>;
84
+ protected loadLocalData(page: number, rowsPerPage: number, orderBy: string, orderDescending: boolean, filter: string, query: ITableDataQuery): Promise<IPaginationData>;
85
85
  static ɵfac: i0.ɵɵFactoryDeclaration<DynamicTableComponent, never>;
86
86
  static ɵcmp: i0.ɵɵComponentDeclaration<DynamicTableComponent, "dynamic-table", never, { "dataLoader": { "alias": "dataLoader"; "required": false; }; "data": { "alias": "data"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "page": { "alias": "page"; "required": false; }; "urlParam": { "alias": "urlParam"; "required": false; }; "parallelData": { "alias": "parallelData"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "showFilter": { "alias": "showFilter"; "required": false; }; "filterLabel": { "alias": "filterLabel"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "showItems": { "alias": "showItems"; "required": false; }; "itemsPerPage": { "alias": "itemsPerPage"; "required": false; }; "updateTime": { "alias": "updateTime"; "required": false; }; "filterTime": { "alias": "filterTime"; "required": false; }; "maxPages": { "alias": "maxPages"; "required": false; }; "directionLinks": { "alias": "directionLinks"; "required": false; }; "boundaryLinks": { "alias": "boundaryLinks"; "required": false; }; "orderBy": { "alias": "orderBy"; "required": false; }; "orderDescending": { "alias": "orderDescending"; "required": false; }; "testId": { "alias": "testId"; "required": false; }; "titlePrefix": { "alias": "titlePrefix"; "required": false; }; "dragStartFn": { "alias": "dragStartFn"; "required": false; }; "dragEnterFn": { "alias": "dragEnterFn"; "required": false; }; "dropFn": { "alias": "dropFn"; "required": false; }; }, {}, ["rowTemplate", "wrapperTemplate", "templateDirectives"], ["[table-features-before]", "[table-features-after]", "[table-top]", "[table-bottom]"], false, never>;
87
87
  }
@@ -1,7 +1,6 @@
1
1
  import { ErrorHandler } from "@angular/core";
2
2
  import { UrlSerializer } from "@angular/router";
3
3
  import { DeviceDetectorService } from "ngx-device-detector";
4
- import { IConfigService } from "./common-types";
5
4
  import { AuthGuard } from "./utils/auth.guard";
6
5
  import { AclService } from "./services/acl.service";
7
6
  import { StaticAuthService } from "./services/auth.service";
@@ -90,4 +89,3 @@ export declare const providers: (typeof UniversalService | typeof StateService |
90
89
  useClass?: undefined;
91
90
  multi?: undefined;
92
91
  })[];
93
- export declare function loadConfig(config: IConfigService): any;
@@ -79,7 +79,6 @@ export declare class NgxUtilsModule {
79
79
  static forRoot(config?: IModuleConfig): ModuleWithProviders<NgxUtilsModule>;
80
80
  static provideUtils(config?: IModuleConfig): EnvironmentProviders;
81
81
  static useDynamic(moduleInfo: DynamicModuleInfo): ModuleWithProviders<NgxUtilsModule>;
82
- constructor();
83
82
  static ɵfac: i0.ɵɵFactoryDeclaration<NgxUtilsModule, never>;
84
83
  static ɵmod: i0.ɵɵNgModuleDeclaration<NgxUtilsModule, [typeof i1.ChunkPipe, typeof i2.EntriesPipe, typeof i3.ExtraItemPropertiesPipe, typeof i4.FilterPipe, typeof i5.FindPipe, typeof i6.FormatNumberPipe, typeof i7.GetOffsetPipe, typeof i8.GetTypePipe, typeof i9.GetValuePipe, typeof i10.GlobalTemplatePipe, typeof i11.GroupByPipe, typeof i12.IncludesPipe, typeof i13.IsTypePipe, typeof i14.JoinPipe, typeof i15.KeysPipe, typeof i16.MapPipe, typeof i17.MaxPipe, typeof i18.MinPipe, typeof i19.PopPipe, typeof i20.ReducePipe, typeof i21.RemapPipe, typeof i22.ReplacePipe, typeof i23.ReversePipe, typeof i24.RoundPipe, typeof i25.SafeHtmlPipe, typeof i26.ShiftPipe, typeof i27.SplitPipe, typeof i28.TranslatePipe, typeof i29.ValuesPipe, typeof i30.AsyncMethodBase, typeof i31.AsyncMethodDirective, typeof i32.AsyncMethodTargetDirective, typeof i33.BackgroundDirective, typeof i34.ComponentLoaderDirective, typeof i35.DynamicTableTemplateDirective, typeof i36.GlobalTemplateDirective, typeof i37.IconDirective, typeof i38.NgxTemplateOutletDirective, typeof i39.PaginationDirective, typeof i40.PaginationItemDirective, typeof i41.ResourceIfDirective, typeof i42.StickyDirective, typeof i43.StickyClassDirective, typeof i44.DropdownDirective, typeof i45.DropdownContentDirective, typeof i46.DropdownToggleDirective, typeof i47.TabsItemDirective, typeof i48.TabsTemplateDirective, typeof i49.UnorderedListItemDirective, typeof i50.UnorderedListTemplateDirective, typeof i51.BtnComponent, typeof i52.BtnDefaultComponent, typeof i53.ChipsComponent, typeof i54.CloseBtnComponent, typeof i55.DropListComponent, typeof i56.DropdownBoxComponent, typeof i57.DynamicTableComponent, typeof i58.FakeModuleComponent, typeof i59.PaginationMenuComponent, typeof i60.IconComponent, typeof i61.IconDefaultComponent, typeof i62.InteractiveCanvasComponent, typeof i63.InteractiveItemComponent, typeof i64.InteractiveCircleComponent, typeof i65.InteractiveRectComponent, typeof i66.TabsComponent, typeof i67.UnorderedListComponent, typeof i68.UploadComponent], [typeof i69.CommonModule, typeof i70.FormsModule], [typeof i1.ChunkPipe, typeof i2.EntriesPipe, typeof i3.ExtraItemPropertiesPipe, typeof i4.FilterPipe, typeof i5.FindPipe, typeof i6.FormatNumberPipe, typeof i7.GetOffsetPipe, typeof i8.GetTypePipe, typeof i9.GetValuePipe, typeof i10.GlobalTemplatePipe, typeof i11.GroupByPipe, typeof i12.IncludesPipe, typeof i13.IsTypePipe, typeof i14.JoinPipe, typeof i15.KeysPipe, typeof i16.MapPipe, typeof i17.MaxPipe, typeof i18.MinPipe, typeof i19.PopPipe, typeof i20.ReducePipe, typeof i21.RemapPipe, typeof i22.ReplacePipe, typeof i23.ReversePipe, typeof i24.RoundPipe, typeof i25.SafeHtmlPipe, typeof i26.ShiftPipe, typeof i27.SplitPipe, typeof i28.TranslatePipe, typeof i29.ValuesPipe, typeof i30.AsyncMethodBase, typeof i31.AsyncMethodDirective, typeof i32.AsyncMethodTargetDirective, typeof i33.BackgroundDirective, typeof i34.ComponentLoaderDirective, typeof i35.DynamicTableTemplateDirective, typeof i36.GlobalTemplateDirective, typeof i37.IconDirective, typeof i38.NgxTemplateOutletDirective, typeof i39.PaginationDirective, typeof i40.PaginationItemDirective, typeof i41.ResourceIfDirective, typeof i42.StickyDirective, typeof i43.StickyClassDirective, typeof i44.DropdownDirective, typeof i45.DropdownContentDirective, typeof i46.DropdownToggleDirective, typeof i47.TabsItemDirective, typeof i48.TabsTemplateDirective, typeof i49.UnorderedListItemDirective, typeof i50.UnorderedListTemplateDirective, typeof i51.BtnComponent, typeof i52.BtnDefaultComponent, typeof i53.ChipsComponent, typeof i54.CloseBtnComponent, typeof i55.DropListComponent, typeof i56.DropdownBoxComponent, typeof i57.DynamicTableComponent, typeof i58.FakeModuleComponent, typeof i59.PaginationMenuComponent, typeof i60.IconComponent, typeof i61.IconDefaultComponent, typeof i62.InteractiveCanvasComponent, typeof i63.InteractiveItemComponent, typeof i64.InteractiveCircleComponent, typeof i65.InteractiveRectComponent, typeof i66.TabsComponent, typeof i67.UnorderedListComponent, typeof i68.UploadComponent, typeof i70.FormsModule]>;
85
84
  static ɵinj: i0.ɵɵInjectorDeclaration<NgxUtilsModule>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stemy/ngx-utils",
3
- "version": "19.7.12",
3
+ "version": "19.7.14",
4
4
  "license": "MIT",
5
5
  "public": true,
6
6
  "repository": "https://github.com/stemyke/ngx-utils.git",