valtech-components 2.0.381 → 2.0.383

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,43 @@
1
+ import { ElementRef, OnInit, OnDestroy } from '@angular/core';
2
+ import { ControlValueAccessor } from '@angular/forms';
3
+ import { InputMetadata, InputOption } from '../../types';
4
+ import * as i0 from "@angular/core";
5
+ export declare class MultiSelectSimpleComponent implements OnInit, OnDestroy, ControlValueAccessor {
6
+ dropdownRef: ElementRef;
7
+ mainInputRef: ElementRef;
8
+ props: InputMetadata;
9
+ labelProperty: string;
10
+ valueProperty: string;
11
+ placeholder: string;
12
+ private langService;
13
+ isOpen: import("@angular/core").WritableSignal<boolean>;
14
+ searchTerm: import("@angular/core").WritableSignal<string>;
15
+ selectedValues: import("@angular/core").WritableSignal<string[]>;
16
+ displayValue: import("@angular/core").Signal<any>;
17
+ filteredOptions: import("@angular/core").Signal<InputOption[]>;
18
+ searchPlaceholder: string;
19
+ private onChange;
20
+ private onTouched;
21
+ constructor();
22
+ ngOnInit(): void;
23
+ ngOnDestroy(): void;
24
+ writeValue(value: any): void;
25
+ registerOnChange(fn: any): void;
26
+ registerOnTouched(fn: any): void;
27
+ setDisabledState(isDisabled: boolean): void;
28
+ toggleDropdown(event: Event): void;
29
+ onSearch(event: any): void;
30
+ toggleOption(option: InputOption): void;
31
+ selectAll(): void;
32
+ clearAll(): void;
33
+ isSelected(option: InputOption): boolean;
34
+ trackByFn(index: number, option: InputOption): any;
35
+ private handleClickOutside;
36
+ private parseValue;
37
+ private emitValue;
38
+ private getOptionByValue;
39
+ private applyDefaultValue;
40
+ private syncSelectedValues;
41
+ static ɵfac: i0.ɵɵFactoryDeclaration<MultiSelectSimpleComponent, never>;
42
+ static ɵcmp: i0.ɵɵComponentDeclaration<MultiSelectSimpleComponent, "val-multi-select-simple", never, { "props": { "alias": "props"; "required": false; }; "labelProperty": { "alias": "labelProperty"; "required": false; }; "valueProperty": { "alias": "valueProperty"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; }, {}, never, never, true, never>;
43
+ }
@@ -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;
@@ -53,7 +53,8 @@ export declare enum InputType {
53
53
  SELECT = 11,
54
54
  SEARCH_SELECT = 12,
55
55
  MULTI_SELECT = 13,
56
- FILE = 14
56
+ MULTI_SELECT_SIMPLE = 14,
57
+ FILE = 15
57
58
  }
58
59
  /**
59
60
  * Option for select, radio, etc. inputs.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "valtech-components",
3
- "version": "2.0.381",
3
+ "version": "2.0.383",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^18.0.0",
6
6
  "@angular/core": "^18.0.0",
package/public-api.d.ts CHANGED
@@ -20,6 +20,8 @@ export * from './lib/components/atoms/text/text.component';
20
20
  export * from './lib/components/atoms/text/types';
21
21
  export * from './lib/components/atoms/title/title.component';
22
22
  export * from './lib/components/atoms/title/types';
23
+ export * from './lib/components/molecules/action-header/action-header.component';
24
+ export * from './lib/components/molecules/action-header/types';
23
25
  export * from './lib/components/molecules/alert-box/alert-box.component';
24
26
  export * from './lib/components/molecules/alert-box/types';
25
27
  export * from './lib/components/molecules/button-group/button-group.component';
@@ -27,6 +29,10 @@ export * from './lib/components/molecules/button-group/types';
27
29
  export * from './lib/components/molecules/card/card.component';
28
30
  export * from './lib/components/molecules/card/types';
29
31
  export * from './lib/components/molecules/check-input/check-input.component';
32
+ export * from './lib/components/molecules/code-display/code-display.component';
33
+ export * from './lib/components/molecules/code-display/types';
34
+ export * from './lib/components/molecules/command-display/command-display.component';
35
+ export * from './lib/components/molecules/command-display/types';
30
36
  export * from './lib/components/molecules/comment-input/comment-input.component';
31
37
  export * from './lib/components/molecules/content-loader/content-loader.component';
32
38
  export * from './lib/components/molecules/content-loader/types';
@@ -37,6 +43,8 @@ export * from './lib/components/molecules/expandable-text/types';
37
43
  export * from './lib/components/molecules/file-input/file-input.component';
38
44
  export * from './lib/components/molecules/hint/hint.component';
39
45
  export * from './lib/components/molecules/hour-input/hour-input.component';
46
+ export * from './lib/components/molecules/info/info.component';
47
+ export * from './lib/components/molecules/info/types';
40
48
  export * from './lib/components/molecules/language-selector/language-selector.component';
41
49
  export * from './lib/components/molecules/language-selector/types';
42
50
  export * from './lib/components/molecules/layered-card/layered-card.component';
@@ -45,12 +53,18 @@ export * from './lib/components/molecules/link/link.component';
45
53
  export * from './lib/components/molecules/link/types';
46
54
  export * from './lib/components/molecules/links-cake/links-cake.component';
47
55
  export * from './lib/components/molecules/links-cake/types';
56
+ export * from './lib/components/molecules/multi-select-search/multi-select-search.component';
57
+ export * from './lib/components/molecules/multi-select-simple/multi-select-simple.component';
48
58
  export * from './lib/components/molecules/notes-box/notes-box.component';
49
59
  export * from './lib/components/molecules/notes-box/types';
50
- export * from './lib/components/molecules/number-input/number-input.component';
51
60
  export * from './lib/components/molecules/number-from-to/number-from-to.component';
61
+ export * from './lib/components/molecules/number-input/number-input.component';
52
62
  export * from './lib/components/molecules/password-input/password-input.component';
63
+ export * from './lib/components/molecules/pill/pill.component';
64
+ export * from './lib/components/molecules/pill/types';
53
65
  export * from './lib/components/molecules/pin-input/pin-input.component';
66
+ export * from './lib/components/molecules/plain-code-box/plain-code-box.component';
67
+ export * from './lib/components/molecules/plain-code-box/types';
54
68
  export * from './lib/components/molecules/popover-selector/popover-selector.component';
55
69
  export * from './lib/components/molecules/popover-selector/types';
56
70
  export * from './lib/components/molecules/progress-status/progress-status.component';
@@ -64,18 +78,6 @@ export * from './lib/components/molecules/select-search/select-search.component'
64
78
  export * from './lib/components/molecules/text-input/text-input.component';
65
79
  export * from './lib/components/molecules/title-block/title-block.component';
66
80
  export * from './lib/components/molecules/title-block/types';
67
- export * from './lib/components/molecules/code-display/code-display.component';
68
- export * from './lib/components/molecules/code-display/types';
69
- export * from './lib/components/molecules/action-header/action-header.component';
70
- export * from './lib/components/molecules/action-header/types';
71
- export * from './lib/components/molecules/pill/pill.component';
72
- export * from './lib/components/molecules/pill/types';
73
- export * from './lib/components/molecules/command-display/command-display.component';
74
- export * from './lib/components/molecules/command-display/types';
75
- export * from './lib/components/molecules/info/info.component';
76
- export * from './lib/components/molecules/info/types';
77
- export * from './lib/components/molecules/plain-code-box/plain-code-box.component';
78
- export * from './lib/components/molecules/plain-code-box/types';
79
81
  export * from './lib/components/organisms/article/article.component';
80
82
  export * from './lib/components/organisms/article/types';
81
83
  export * from './lib/components/organisms/banner/banner.component';
@@ -117,6 +119,6 @@ export * from './lib/shared/pipes/process-links.pipe';
117
119
  export * from './lib/shared/utils/content';
118
120
  export * from './lib/shared/utils/dom';
119
121
  export * from './lib/shared/utils/form-defaults';
120
- export { createReactiveContentMetadata, extractContentConfig, extractContentConfigWithInterpolation, interpolateStaticContent, ReactiveContentMetadata, ReactiveContentWithInterpolation, ReactiveTextMetadata, shouldUseReactiveContent, shouldUseReactiveContentWithInterpolation, } from './lib/shared/utils/simple-content';
122
+ export { createReactiveContentMetadata, extractContentConfig, extractContentConfigWithInterpolation, interpolateStaticContent, ReactiveContentMetadata, ReactiveContentWithInterpolation, ReactiveTextMetadata, shouldUseReactiveContent, shouldUseReactiveContentWithInterpolation } from './lib/shared/utils/simple-content';
121
123
  export * from './lib/shared/utils/styles';
122
124
  export * from './lib/shared/utils/text';