valtech-components 2.0.374 → 2.0.376

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.
@@ -0,0 +1,48 @@
1
+ import { OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
2
+ import { IonModal } from '@ionic/angular';
3
+ import { IconService } from '../../../services/icons.service';
4
+ import { InputMetadata, InputOption } from '../../types';
5
+ import * as i0 from "@angular/core";
6
+ export declare class MultiSelectSearchComponent implements OnChanges, OnDestroy {
7
+ modal: IonModal;
8
+ label: string;
9
+ labelProperty: string;
10
+ valueProperty: string;
11
+ placeholder: string;
12
+ props: InputMetadata;
13
+ private langService;
14
+ icon: IconService;
15
+ private changeDetector;
16
+ searchTerm: string;
17
+ filteredItems: InputOption[];
18
+ selectedItems: InputOption[];
19
+ displayValue: string;
20
+ private previousOptions;
21
+ private isProcessingChanges;
22
+ private valueChangesSubscription?;
23
+ constructor();
24
+ ngOnInit(): void;
25
+ ngOnDestroy(): void;
26
+ ngOnChanges(changes: SimpleChanges): void;
27
+ ionViewWillEnter(): void;
28
+ private subscribeToValueChanges;
29
+ private areOptionsEqual;
30
+ private initializeItems;
31
+ private syncControlValueWithSelectedItems;
32
+ private applyDefaultValue;
33
+ onFilter(event: any): void;
34
+ onFocus(): void;
35
+ onBlur(): void;
36
+ openModal(): void;
37
+ preventDefaultBehavior(event: MouseEvent): void;
38
+ cancelModal(): void;
39
+ toggleItem(item: any): void;
40
+ isItemSelected(item: any): boolean;
41
+ clearSelection(): void;
42
+ applySelection(): void;
43
+ updateDisplayValue(): void;
44
+ applyChanges(): void;
45
+ reset(): void;
46
+ static ɵfac: i0.ɵɵFactoryDeclaration<MultiSelectSearchComponent, never>;
47
+ static ɵcmp: i0.ɵɵComponentDeclaration<MultiSelectSearchComponent, "val-multi-select-search", never, { "label": { "alias": "label"; "required": false; }; "labelProperty": { "alias": "labelProperty"; "required": false; }; "valueProperty": { "alias": "valueProperty"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "props": { "alias": "props"; "required": false; }; }, {}, never, never, true, never>;
48
+ }
@@ -31,7 +31,7 @@ export declare class ArticleComponent implements OnInit {
31
31
  getVideoElement(element: ArticleElement): ArticleVideoElement;
32
32
  getCustomElement(element: ArticleElement): ArticleCustomElement;
33
33
  getQuoteTextProps(element: ArticleElement): {
34
- size: "small" | "medium" | "large" | "xlarge";
34
+ size: "medium" | "small" | "large" | "xlarge";
35
35
  color: import("@ionic/core").Color;
36
36
  content?: string;
37
37
  bold: boolean;
@@ -44,7 +44,7 @@ export declare class ArticleComponent implements OnInit {
44
44
  allowPartialBold?: boolean;
45
45
  };
46
46
  getHighlightTextProps(element: ArticleElement): {
47
- size: "small" | "medium" | "large" | "xlarge";
47
+ size: "medium" | "small" | "large" | "xlarge";
48
48
  color: import("@ionic/core").Color;
49
49
  content?: string;
50
50
  bold: boolean;
@@ -73,7 +73,7 @@ export declare class ArticleComponent implements OnInit {
73
73
  contentInterpolation?: Record<string, string | number>;
74
74
  icon?: import("valtech-components").IconMetada;
75
75
  shape?: "round";
76
- size?: "small" | "large" | "default";
76
+ size?: "small" | "default" | "large";
77
77
  fill?: "default" | "clear" | "outline" | "solid";
78
78
  type: "button" | "submit" | "reset";
79
79
  token?: string;
@@ -52,7 +52,8 @@ export declare enum InputType {
52
52
  RADIO = 10,
53
53
  SELECT = 11,
54
54
  SEARCH_SELECT = 12,
55
- FILE = 13
55
+ MULTI_SELECT = 13,
56
+ FILE = 14
56
57
  }
57
58
  /**
58
59
  * Option for select, radio, etc. inputs.
@@ -1,3 +1,4 @@
1
+ import { Location } from '@angular/common';
1
2
  import { Router } from '@angular/router';
2
3
  import { InAppBrowserService } from './in-app-browser.service';
3
4
  import * as i0 from "@angular/core";
@@ -11,6 +12,7 @@ export declare class NavigationService {
11
12
  */
12
13
  data: any;
13
14
  router: Router;
15
+ location: Location;
14
16
  inAppBrowser: InAppBrowserService;
15
17
  constructor();
16
18
  /**
@@ -34,6 +36,10 @@ export declare class NavigationService {
34
36
  * @param url The URL to open
35
37
  */
36
38
  openInNewTab(url: string): void;
39
+ /**
40
+ * Navigates back to the previous page in the browser history.
41
+ */
42
+ back(): void;
37
43
  static ɵfac: i0.ɵɵFactoryDeclaration<NavigationService, never>;
38
44
  static ɵprov: i0.ɵɵInjectableDeclaration<NavigationService>;
39
45
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "valtech-components",
3
- "version": "2.0.374",
3
+ "version": "2.0.376",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^18.0.0",
6
6
  "@angular/core": "^18.0.0",