valtech-components 2.0.102 → 2.0.104

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.
@@ -1,15 +1,37 @@
1
1
  import { OnInit } from '@angular/core';
2
- import { InputMetadata } from '../../types';
2
+ import { ModalController } from '@ionic/angular';
3
+ import { InputMetadata, InputOption } from '../../types';
3
4
  import * as i0 from "@angular/core";
4
- export declare class SearchSelectorComponent implements OnInit {
5
+ export declare const SEARCH_SELECTOR_NO_RESULT: {
6
+ title: string;
7
+ subtitle: string;
8
+ };
9
+ export declare const SEARCH_SELECTOR_NO_OPTIONS: {
10
+ title: string;
11
+ subtitle: string;
12
+ };
13
+ export declare class SelectorModalComponent implements OnInit {
14
+ modalController: ModalController;
5
15
  props: InputMetadata;
6
- customModalOptions: {
7
- header: string;
8
- breakpoints: number[];
9
- initialBreakpoint: number;
16
+ selection: number;
17
+ showAllAtStart: boolean;
18
+ searching: boolean;
19
+ listVolatile: InputOption[];
20
+ noResult: {
21
+ title: string;
22
+ subtitle: string;
10
23
  };
11
- constructor();
24
+ noNothing: {
25
+ title: string;
26
+ subtitle: string;
27
+ };
28
+ constructor(modalController: ModalController);
12
29
  ngOnInit(): void;
13
- static ɵfac: i0.ɵɵFactoryDeclaration<SearchSelectorComponent, never>;
14
- static ɵcmp: i0.ɵɵComponentDeclaration<SearchSelectorComponent, "val-search-selector-input", never, { "props": { "alias": "props"; "required": false; }; }, {}, never, never, true, never>;
30
+ dismiss(): void;
31
+ applyChanges(): void;
32
+ onFilter(event: string): void;
33
+ onBlur(): void;
34
+ onFocus(): void;
35
+ static ɵfac: i0.ɵɵFactoryDeclaration<SelectorModalComponent, never>;
36
+ static ɵcmp: i0.ɵɵComponentDeclaration<SelectorModalComponent, "val-search-selector-input", never, { "props": { "alias": "props"; "required": false; }; "selection": { "alias": "selection"; "required": false; }; "showAllAtStart": { "alias": "showAllAtStart"; "required": false; }; }, {}, never, never, true, never>;
15
37
  }
@@ -0,0 +1,15 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { InputMetadata } from '../../types';
3
+ import * as i0 from "@angular/core";
4
+ export declare class SearchSelectorComponent implements OnInit {
5
+ props: InputMetadata;
6
+ customModalOptions: {
7
+ header: string;
8
+ breakpoints: number[];
9
+ initialBreakpoint: number;
10
+ };
11
+ constructor();
12
+ ngOnInit(): void;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<SearchSelectorComponent, never>;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<SearchSelectorComponent, "val-select-input", never, { "props": { "alias": "props"; "required": false; }; }, {}, never, never, true, never>;
15
+ }
@@ -10,5 +10,5 @@ export declare class SimpleComponent {
10
10
  onClickHandler(token?: string): void;
11
11
  onScrollHandler($event: Event): void;
12
12
  static ɵfac: i0.ɵɵFactoryDeclaration<SimpleComponent, never>;
13
- static ɵcmp: i0.ɵɵComponentDeclaration<SimpleComponent, "val-simple", never, { "props": { "alias": "props"; "required": false; }; }, { "onClick": "onClick"; "onScrollEvent": "onScrollEvent"; }, never, ["[inner-container]", "[outside-container]"], true, never>;
13
+ static ɵcmp: i0.ɵɵComponentDeclaration<SimpleComponent, "val-simple", never, { "props": { "alias": "props"; "required": false; }; }, { "onClick": "onClick"; "onScrollEvent": "onScrollEvent"; }, never, ["[inner-container]", "[outter-container]"], true, never>;
14
14
  }
@@ -32,7 +32,8 @@ export declare enum InputType {
32
32
  CHECK = 8,
33
33
  RADIO = 9,
34
34
  SELECT = 10,
35
- FILE = 11
35
+ SEARCH_SELECT = 11,
36
+ FILE = 12
36
37
  }
37
38
  export type InputOption = {
38
39
  id: string;
@@ -0,0 +1 @@
1
+ export declare const replaceSpecialChars: (text: string) => string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "valtech-components",
3
- "version": "2.0.102",
3
+ "version": "2.0.104",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^18.0.0",
6
6
  "@angular/core": "^18.0.0",
package/public-api.d.ts CHANGED
@@ -53,6 +53,7 @@ export * from './lib/components/molecules/prompter/types';
53
53
  export * from './lib/components/molecules/radio-input/radio-input.component';
54
54
  export * from './lib/components/molecules/search-selector-input/search-selector-input.component';
55
55
  export * from './lib/components/molecules/searchbar/searchbar.component';
56
+ export * from './lib/components/molecules/select-input/select-input.component';
56
57
  export * from './lib/components/molecules/text-input/text-input.component';
57
58
  export * from './lib/components/molecules/title-block/title-block.component';
58
59
  export * from './lib/components/molecules/title-block/types';
@@ -88,3 +89,4 @@ export * from './lib/services/toast.service';
88
89
  export * from './lib/services/types';
89
90
  export * from './lib/components/types';
90
91
  export * from './lib/shared/utils/dom';
92
+ export * from './lib/shared/utils/text';