@morozeckiy/dd-lib 0.7.44 → 0.7.52

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.
@@ -5,6 +5,8 @@ export declare class FixedPositionDirective implements AfterViewChecked, AfterVi
5
5
  private renderer;
6
6
  childName1: string;
7
7
  childName2: string;
8
+ set destroyedItem(val: boolean | undefined);
9
+ private isShown?;
8
10
  private parentElement;
9
11
  private child1;
10
12
  private child2;
@@ -17,5 +19,5 @@ export declare class FixedPositionDirective implements AfterViewChecked, AfterVi
17
19
  private shouldPositionAbove;
18
20
  ngOnDestroy(): void;
19
21
  static ɵfac: i0.ɵɵFactoryDeclaration<FixedPositionDirective, never>;
20
- static ɵdir: i0.ɵɵDirectiveDeclaration<FixedPositionDirective, "[ddFixedPosition]", never, { "childName1": { "alias": "childName1"; "required": false; }; "childName2": { "alias": "childName2"; "required": false; }; }, {}, never, never, true, never>;
22
+ static ɵdir: i0.ɵɵDirectiveDeclaration<FixedPositionDirective, "[ddFixedPosition]", never, { "childName1": { "alias": "childName1"; "required": false; }; "childName2": { "alias": "childName2"; "required": false; }; "destroyedItem": { "alias": "destroyedItem"; "required": false; }; }, {}, never, never, true, never>;
21
23
  }
@@ -0,0 +1,29 @@
1
+ import { ElementRef, OnDestroy, Renderer2 } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class LibHorizontalScrollComponent implements OnDestroy {
4
+ private el;
5
+ private renderer;
6
+ private isDown;
7
+ private startX;
8
+ private scrollLeft;
9
+ private velocity;
10
+ private lastTime;
11
+ private lastScrollLeft;
12
+ private animationFrameId;
13
+ constructor(el: ElementRef, renderer: Renderer2);
14
+ onMouseDown(e: MouseEvent): void;
15
+ onTouchStart(e: TouchEvent): void;
16
+ private startDragging;
17
+ onMouseLeave(): void;
18
+ onMouseUp(): void;
19
+ onTouchEnd(): void;
20
+ private stopDragging;
21
+ onMouseMove(e: MouseEvent): void;
22
+ onTouchMove(e: TouchEvent): void;
23
+ private handleMove;
24
+ private startInertialScroll;
25
+ private cancelAnimation;
26
+ ngOnDestroy(): void;
27
+ static ɵfac: i0.ɵɵFactoryDeclaration<LibHorizontalScrollComponent, never>;
28
+ static ɵcmp: i0.ɵɵComponentDeclaration<LibHorizontalScrollComponent, "dd-lib-horizontal-scroll", never, {}, {}, never, ["*"], true, never>;
29
+ }
@@ -15,28 +15,30 @@ export declare class LibSelectComponent<T> extends LibCommonInputTextComponent i
15
15
  multi: boolean | undefined;
16
16
  tooltipPosition?: TToolTipPositions;
17
17
  highlight: boolean;
18
+ searchOn: boolean;
18
19
  selectId: string | undefined;
19
20
  itemSize: number;
20
21
  keyTitle: string;
21
22
  keyDesc: string;
22
23
  keyValue: string;
23
- noDataError: string | undefined;
24
+ noDataError: string;
25
+ searchPlaceholder: string;
24
26
  placeholder: string;
25
27
  selectedItem: EventEmitter<any>;
26
28
  selectedItems: EventEmitter<any>;
27
- checkedItem: any;
28
29
  _data: WritableSignal<any[] | undefined>;
30
+ checkedItem: any;
29
31
  checkedItems: any[];
30
32
  inputValue: string | undefined;
31
33
  multiCountValue: string | undefined;
32
34
  showMultiCountValue: boolean | undefined;
33
35
  searchValue: string | undefined;
34
36
  isShownList: boolean | undefined;
37
+ showSelected: boolean | undefined;
35
38
  initWriteValue: boolean;
36
39
  stringArray: WritableSignal<boolean | undefined>;
37
40
  writtenValue: any;
38
41
  constructor(destroyed$: DestroyRef, changeDetection: ChangeDetectorRef, el: ElementRef, controlContainer: ControlContainer);
39
- onWindowScroll(): void;
40
42
  ngOnInit(): void;
41
43
  ngOnChanges(changes: SimpleChanges): void;
42
44
  onClear(checkedItem: any): void;
@@ -56,5 +58,5 @@ export declare class LibSelectComponent<T> extends LibCommonInputTextComponent i
56
58
  handleBlur(): void;
57
59
  handleFocus(): void;
58
60
  static ɵfac: i0.ɵɵFactoryDeclaration<LibSelectComponent<any>, [null, null, null, { optional: true; host: true; skipSelf: true; }]>;
59
- static ɵcmp: i0.ɵɵComponentDeclaration<LibSelectComponent<any>, "dd-lib-select", never, { "data": { "alias": "data"; "required": false; }; "virtualScroll": { "alias": "virtualScroll"; "required": false; }; "multi": { "alias": "multi"; "required": false; }; "tooltipPosition": { "alias": "tooltipPosition"; "required": false; }; "highlight": { "alias": "highlight"; "required": false; }; "selectId": { "alias": "selectId"; "required": false; }; "itemSize": { "alias": "itemSize"; "required": false; }; "keyTitle": { "alias": "keyTitle"; "required": false; }; "keyDesc": { "alias": "keyDesc"; "required": false; }; "keyValue": { "alias": "keyValue"; "required": false; }; "noDataError": { "alias": "noDataError"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; }, { "selectedItem": "selectedItem"; "selectedItems": "selectedItems"; }, never, never, true, never>;
61
+ static ɵcmp: i0.ɵɵComponentDeclaration<LibSelectComponent<any>, "dd-lib-select", never, { "data": { "alias": "data"; "required": false; }; "virtualScroll": { "alias": "virtualScroll"; "required": false; }; "multi": { "alias": "multi"; "required": false; }; "tooltipPosition": { "alias": "tooltipPosition"; "required": false; }; "highlight": { "alias": "highlight"; "required": false; }; "searchOn": { "alias": "searchOn"; "required": false; }; "selectId": { "alias": "selectId"; "required": false; }; "itemSize": { "alias": "itemSize"; "required": false; }; "keyTitle": { "alias": "keyTitle"; "required": false; }; "keyDesc": { "alias": "keyDesc"; "required": false; }; "keyValue": { "alias": "keyValue"; "required": false; }; "noDataError": { "alias": "noDataError"; "required": false; }; "searchPlaceholder": { "alias": "searchPlaceholder"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; }, { "selectedItem": "selectedItem"; "selectedItems": "selectedItems"; }, never, never, true, never>;
60
62
  }
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@morozeckiy/dd-lib",
3
- "version": "0.7.44",
3
+ "version": "0.7.52",
4
4
  "types": "./src/typings.d.ts",
5
5
  "repository": "https://gitlab.com/Morozeckiy/dd-lib",
6
6
  "publishConfig": {
package/public-api.d.ts CHANGED
@@ -30,6 +30,7 @@ export * from './lib/lib-date-input/lib-date-input.component';
30
30
  export * from './lib/lib-filter/lib-filter.component';
31
31
  export * from './lib/lib-info-card/lib-info-card.component';
32
32
  export * from './lib/lib-disclaimer/lib-disclaimer.component';
33
+ export * from './lib/lib-horizontal-scroll/lib-horizontal-scroll.component';
33
34
  export * from './lib/utils/decorators';
34
35
  export * from './lib/core/index';
35
36
  export * from './lib/components/index';
Binary file