otimus-library 0.2.52 → 0.2.56

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.
@@ -36,6 +36,7 @@ export declare class OcAutocompleteComponent implements AfterViewInit, OnChanges
36
36
  ocSemanticLike: boolean;
37
37
  ocStyle: OcStyleThemeType;
38
38
  ocTabIndex?: number;
39
+ iconSize: 'small' | 'medium' | 'large';
39
40
  ocHasDeleteButton?: boolean;
40
41
  ocValueChange: EventEmitter<string>;
41
42
  ocChange: EventEmitter<string | null>;
@@ -64,5 +65,5 @@ export declare class OcAutocompleteComponent implements AfterViewInit, OnChanges
64
65
  selectValue(value: any): void;
65
66
  clearValue(): void;
66
67
  static ɵfac: i0.ɵɵFactoryDeclaration<OcAutocompleteComponent, never>;
67
- static ɵcmp: i0.ɵɵComponentDeclaration<OcAutocompleteComponent, "oc-autocomplete", never, { "ocPlaceholder": { "alias": "ocPlaceholder"; "required": false; }; "ocError": { "alias": "ocError"; "required": false; }; "ocSize": { "alias": "ocSize"; "required": false; }; "ocData": { "alias": "ocData"; "required": false; }; "ocValue": { "alias": "ocValue"; "required": false; }; "ocClearOnChange": { "alias": "ocClearOnChange"; "required": false; }; "ocWidth": { "alias": "ocWidth"; "required": false; }; "ocMinWidth": { "alias": "ocMinWidth"; "required": false; }; "ocMaxWidth": { "alias": "ocMaxWidth"; "required": false; }; "ocOptionsMaxHeight": { "alias": "ocOptionsMaxHeight"; "required": false; }; "ocOptionsWidth": { "alias": "ocOptionsWidth"; "required": false; }; "ocRequired": { "alias": "ocRequired"; "required": false; }; "ocMaxResults": { "alias": "ocMaxResults"; "required": false; }; "ocAllowNotListedValue": { "alias": "ocAllowNotListedValue"; "required": false; }; "ocNoAvailableOptionsText": { "alias": "ocNoAvailableOptionsText"; "required": false; }; "ocTypeForMoreResultsText": { "alias": "ocTypeForMoreResultsText"; "required": false; }; "ocLoading": { "alias": "ocLoading"; "required": false; }; "ocSemanticLike": { "alias": "ocSemanticLike"; "required": false; }; "ocStyle": { "alias": "ocStyle"; "required": false; }; "ocTabIndex": { "alias": "ocTabIndex"; "required": false; }; "ocHasDeleteButton": { "alias": "ocHasDeleteButton"; "required": false; }; }, { "ocValueChange": "ocValueChange"; "ocChange": "ocChange"; "ocOptionNotFound": "ocOptionNotFound"; "ocClick": "ocClick"; }, ["ocPrefix", "ocSuffix"], ["*", "ocPrefix", "ocSuffix"], true, never>;
68
+ static ɵcmp: i0.ɵɵComponentDeclaration<OcAutocompleteComponent, "oc-autocomplete", never, { "ocPlaceholder": { "alias": "ocPlaceholder"; "required": false; }; "ocError": { "alias": "ocError"; "required": false; }; "ocSize": { "alias": "ocSize"; "required": false; }; "ocData": { "alias": "ocData"; "required": false; }; "ocValue": { "alias": "ocValue"; "required": false; }; "ocClearOnChange": { "alias": "ocClearOnChange"; "required": false; }; "ocWidth": { "alias": "ocWidth"; "required": false; }; "ocMinWidth": { "alias": "ocMinWidth"; "required": false; }; "ocMaxWidth": { "alias": "ocMaxWidth"; "required": false; }; "ocOptionsMaxHeight": { "alias": "ocOptionsMaxHeight"; "required": false; }; "ocOptionsWidth": { "alias": "ocOptionsWidth"; "required": false; }; "ocRequired": { "alias": "ocRequired"; "required": false; }; "ocMaxResults": { "alias": "ocMaxResults"; "required": false; }; "ocAllowNotListedValue": { "alias": "ocAllowNotListedValue"; "required": false; }; "ocNoAvailableOptionsText": { "alias": "ocNoAvailableOptionsText"; "required": false; }; "ocTypeForMoreResultsText": { "alias": "ocTypeForMoreResultsText"; "required": false; }; "ocLoading": { "alias": "ocLoading"; "required": false; }; "ocSemanticLike": { "alias": "ocSemanticLike"; "required": false; }; "ocStyle": { "alias": "ocStyle"; "required": false; }; "ocTabIndex": { "alias": "ocTabIndex"; "required": false; }; "iconSize": { "alias": "iconSize"; "required": false; }; "ocHasDeleteButton": { "alias": "ocHasDeleteButton"; "required": false; }; }, { "ocValueChange": "ocValueChange"; "ocChange": "ocChange"; "ocOptionNotFound": "ocOptionNotFound"; "ocClick": "ocClick"; }, ["ocPrefix", "ocSuffix"], ["*", "ocPrefix", "ocSuffix"], true, never>;
68
69
  }
@@ -1,20 +1,23 @@
1
- import { ElementRef, Renderer2 } from '@angular/core';
1
+ import { ElementRef, Renderer2, NgZone, ChangeDetectorRef, OnDestroy } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
- export declare class OcTooltipDirective {
3
+ export declare class OcTooltipDirective implements OnDestroy {
4
4
  private elRef;
5
5
  private renderer;
6
- constructor(elRef: ElementRef, renderer: Renderer2);
6
+ private zone;
7
+ private cdr;
7
8
  content: string;
8
9
  side: 'bottom' | 'upon' | 'left' | 'right' | 'top' | 'mouse';
9
- private created;
10
10
  private tooltip;
11
- createToolTip(): HTMLElement | null;
11
+ private moveScheduled;
12
+ constructor(elRef: ElementRef, renderer: Renderer2, zone: NgZone, cdr: ChangeDetectorRef);
13
+ private setupEvents;
14
+ private createTooltip;
12
15
  onMouseOver(event: MouseEvent): void;
13
- mouseingInterval: any | null;
14
16
  onMouseMove(event: MouseEvent): void;
17
+ onMouseOut(event: MouseEvent): void;
15
18
  private updateTooltipPosition;
16
19
  private positionTooltipFixed;
17
- onMouseOut(): void;
20
+ ngOnDestroy(): void;
18
21
  static ɵfac: i0.ɵɵFactoryDeclaration<OcTooltipDirective, never>;
19
22
  static ɵdir: i0.ɵɵDirectiveDeclaration<OcTooltipDirective, "[ocTooltip]", never, { "content": { "alias": "content"; "required": false; }; "side": { "alias": "side"; "required": false; }; }, {}, never, never, true, never>;
20
23
  }
@@ -1,5 +1,8 @@
1
+ import { MaterialSymbol } from 'material-symbols';
1
2
  interface OcAutoCompleteType {
2
3
  name: string;
3
4
  value?: any;
5
+ icon?: MaterialSymbol;
6
+ iconSize?: string;
4
7
  }
5
8
  export { OcAutoCompleteType };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "otimus-library",
3
- "version": "0.2.52",
3
+ "version": "0.2.56",
4
4
  "license": "MIT",
5
5
  "peerDependencies": {
6
6
  "@angular/cdk": "^18.2.14",
@@ -12,7 +12,8 @@
12
12
  },
13
13
  "engineStrict": true,
14
14
  "dependencies": {
15
- "tslib": "^2.8.1"
15
+ "tslib": "^2.8.1",
16
+ "material-symbols": "^0.31.3"
16
17
  },
17
18
  "sideEffects": false,
18
19
  "exports": {