valtech-components 4.0.1040 → 4.0.1042

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.
Files changed (21) hide show
  1. package/esm2022/lib/components/molecules/chat-composer/chat-composer.component.mjs +9 -3
  2. package/esm2022/lib/components/molecules/select-input/select-input.component.mjs +5 -2
  3. package/esm2022/lib/components/organisms/chat-window/chat-window.component.mjs +7 -3
  4. package/esm2022/lib/components/templates/page-wrapper/page-wrapper.component.mjs +14 -4
  5. package/esm2022/lib/components/templates/page-wrapper/types.mjs +1 -1
  6. package/esm2022/lib/version.mjs +2 -2
  7. package/fesm2022/valtech-components.mjs +30 -9
  8. package/fesm2022/valtech-components.mjs.map +1 -1
  9. package/lib/components/atoms/rights-footer/rights-footer.component.d.ts +1 -1
  10. package/lib/components/molecules/chat-composer/chat-composer.component.d.ts +1 -1
  11. package/lib/components/molecules/media-object/media-object.component.d.ts +1 -1
  12. package/lib/components/molecules/metadata-list/metadata-list.component.d.ts +1 -1
  13. package/lib/components/molecules/phone-display/phone-display.component.d.ts +1 -1
  14. package/lib/components/molecules/select-input/select-input.component.d.ts +1 -0
  15. package/lib/components/organisms/article/article.component.d.ts +1 -1
  16. package/lib/components/organisms/chat-window/chat-window.component.d.ts +1 -1
  17. package/lib/components/organisms/landing-steps/landing-steps.component.d.ts +1 -1
  18. package/lib/components/organisms/survey-builder/survey-builder.component.d.ts +1 -1
  19. package/lib/components/templates/page-wrapper/types.d.ts +2 -2
  20. package/lib/version.d.ts +1 -1
  21. package/package.json +1 -1
@@ -57,7 +57,7 @@ export declare class RightsFooterComponent {
57
57
  /**
58
58
  * Computed helper for color prop in template.
59
59
  */
60
- propsColor: import("@angular/core").Signal<"success" | "medium" | "primary" | "secondary" | "tertiary" | "warning" | "danger" | "light" | "dark">;
60
+ propsColor: import("@angular/core").Signal<"dark" | "success" | "medium" | "primary" | "secondary" | "tertiary" | "warning" | "danger" | "light">;
61
61
  /**
62
62
  * Computed helper for withMargin prop in template.
63
63
  */
@@ -92,6 +92,6 @@ export declare class ChatComposerComponent implements OnDestroy {
92
92
  ngOnDestroy(): void;
93
93
  t(key: string): string;
94
94
  static ɵfac: i0.ɵɵFactoryDeclaration<ChatComposerComponent, never>;
95
- static ɵcmp: i0.ɵɵComponentDeclaration<ChatComposerComponent, "val-chat-composer", never, { "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "maxLength": { "alias": "maxLength"; "required": false; "isSignal": true; }; "replyingTo": { "alias": "replyingTo"; "required": false; "isSignal": true; }; "showAttach": { "alias": "showAttach"; "required": false; "isSignal": true; }; "showMic": { "alias": "showMic"; "required": false; "isSignal": true; }; "showVoiceMessage": { "alias": "showVoiceMessage"; "required": false; "isSignal": true; }; }, { "send": "send"; "typing": "typing"; "voice": "voice"; "cancelReply": "cancelReply"; }, never, never, true, never>;
95
+ static ɵcmp: i0.ɵɵComponentDeclaration<ChatComposerComponent, "val-chat-composer", never, { "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "maxLength": { "alias": "maxLength"; "required": false; "isSignal": true; }; "replyingTo": { "alias": "replyingTo"; "required": false; "isSignal": true; }; "showAttach": { "alias": "showAttach"; "required": false; "isSignal": true; }; "showMic": { "alias": "showMic"; "required": false; "isSignal": true; }; "showVoiceMessage": { "alias": "showVoiceMessage"; "required": false; "isSignal": true; }; }, { "send": "send"; "typing": "typing"; "voice": "voice"; "cancelReply": "cancelReply"; }, never, ["[composer-leading]"], true, never>;
96
96
  }
97
97
  export {};
@@ -30,7 +30,7 @@ export declare class MediaObjectComponent {
30
30
  /** Emitted when the inline link is clicked */
31
31
  onLinkClick: EventEmitter<string>;
32
32
  /** Merged configuration with defaults */
33
- config: import("@angular/core").Signal<MediaObjectMetadata & Required<Pick<MediaObjectMetadata, "rounded" | "circle" | "mediaWidth" | "reversed" | "align">>>;
33
+ config: import("@angular/core").Signal<MediaObjectMetadata & Required<Pick<MediaObjectMetadata, "circle" | "rounded" | "mediaWidth" | "reversed" | "align">>>;
34
34
  getColor(): string;
35
35
  handleLinkClick(event: MouseEvent): void;
36
36
  static ɵfac: i0.ɵɵFactoryDeclaration<MediaObjectComponent, never>;
@@ -26,7 +26,7 @@ export declare class MetadataListComponent {
26
26
  readonly resolvedProps: import("@angular/core").Signal<{
27
27
  items?: import("./types").MetadataItem[];
28
28
  sections?: MetadataSection[];
29
- size?: "small" | "md";
29
+ size?: "md" | "small";
30
30
  dividers?: boolean;
31
31
  columns?: number;
32
32
  }>;
@@ -6,7 +6,7 @@ export declare class PhoneDisplayComponent {
6
6
  props: PhoneDisplayMetadata;
7
7
  onClick: EventEmitter<string>;
8
8
  protected rawPhone: import("@angular/core").Signal<string>;
9
- protected mode: import("@angular/core").Signal<"link" | "button" | "text">;
9
+ protected mode: import("@angular/core").Signal<"button" | "link" | "text">;
10
10
  protected formatted: import("@angular/core").Signal<string>;
11
11
  protected href: import("@angular/core").Signal<string>;
12
12
  protected ariaLabel: import("@angular/core").Signal<string>;
@@ -38,6 +38,7 @@ export declare class SearchSelectorComponent implements OnInit, OnChanges {
38
38
  };
39
39
  cancelText: string;
40
40
  okText: string;
41
+ constructor();
41
42
  ngOnInit(): void;
42
43
  ngOnChanges(changes: SimpleChanges): void;
43
44
  /**
@@ -105,7 +105,7 @@ export declare class ArticleComponent implements OnInit, AfterViewInit {
105
105
  shape?: "round";
106
106
  size?: "small" | "default" | "large";
107
107
  fill?: "default" | "clear" | "outline" | "solid" | "tint";
108
- type: "reset" | "submit" | "button";
108
+ type: "button" | "reset" | "submit";
109
109
  token?: string;
110
110
  ariaLabel?: string;
111
111
  ref?: any;
@@ -76,6 +76,6 @@ export declare class ChatWindowComponent {
76
76
  protected onAction(event: MessageBubbleAction): void;
77
77
  t(key: string): string;
78
78
  static ɵfac: i0.ɵɵFactoryDeclaration<ChatWindowComponent, never>;
79
- static ɵcmp: i0.ɵɵComponentDeclaration<ChatWindowComponent, "val-chat-window", never, { "convId": { "alias": "convId"; "required": false; "isSignal": true; }; "messages": { "alias": "messages"; "required": false; "isSignal": true; }; "currentUserId": { "alias": "currentUserId"; "required": false; "isSignal": true; }; "isOpen": { "alias": "isOpen"; "required": false; "isSignal": true; }; "typingUsers": { "alias": "typingUsers"; "required": false; "isSignal": true; }; "isLoading": { "alias": "isLoading"; "required": false; "isSignal": true; }; "canModerate": { "alias": "canModerate"; "required": false; "isSignal": true; }; "showAttach": { "alias": "showAttach"; "required": false; "isSignal": true; }; "showDictation": { "alias": "showDictation"; "required": false; "isSignal": true; }; "showVoiceMessage": { "alias": "showVoiceMessage"; "required": false; "isSignal": true; }; "showAvatars": { "alias": "showAvatars"; "required": false; "isSignal": true; }; "renderAiMessages": { "alias": "renderAiMessages"; "required": false; "isSignal": true; }; "showReactions": { "alias": "showReactions"; "required": false; "isSignal": true; }; "showReplyAction": { "alias": "showReplyAction"; "required": false; "isSignal": true; }; "showReactAction": { "alias": "showReactAction"; "required": false; "isSignal": true; }; "showEditAction": { "alias": "showEditAction"; "required": false; "isSignal": true; }; "showDeleteAction": { "alias": "showDeleteAction"; "required": false; "isSignal": true; }; "showCopyAction": { "alias": "showCopyAction"; "required": false; "isSignal": true; }; }, { "sendMessage": "sendMessage"; "loadMore": "loadMore"; "reactionClick": "reactionClick"; "deleteMessage": "deleteMessage"; "replyTo": "replyTo"; "editMessage": "editMessage"; "typing": "typing"; "voice": "voice"; }, never, never, true, never>;
79
+ static ɵcmp: i0.ɵɵComponentDeclaration<ChatWindowComponent, "val-chat-window", never, { "convId": { "alias": "convId"; "required": false; "isSignal": true; }; "messages": { "alias": "messages"; "required": false; "isSignal": true; }; "currentUserId": { "alias": "currentUserId"; "required": false; "isSignal": true; }; "isOpen": { "alias": "isOpen"; "required": false; "isSignal": true; }; "typingUsers": { "alias": "typingUsers"; "required": false; "isSignal": true; }; "isLoading": { "alias": "isLoading"; "required": false; "isSignal": true; }; "canModerate": { "alias": "canModerate"; "required": false; "isSignal": true; }; "showAttach": { "alias": "showAttach"; "required": false; "isSignal": true; }; "showDictation": { "alias": "showDictation"; "required": false; "isSignal": true; }; "showVoiceMessage": { "alias": "showVoiceMessage"; "required": false; "isSignal": true; }; "showAvatars": { "alias": "showAvatars"; "required": false; "isSignal": true; }; "renderAiMessages": { "alias": "renderAiMessages"; "required": false; "isSignal": true; }; "showReactions": { "alias": "showReactions"; "required": false; "isSignal": true; }; "showReplyAction": { "alias": "showReplyAction"; "required": false; "isSignal": true; }; "showReactAction": { "alias": "showReactAction"; "required": false; "isSignal": true; }; "showEditAction": { "alias": "showEditAction"; "required": false; "isSignal": true; }; "showDeleteAction": { "alias": "showDeleteAction"; "required": false; "isSignal": true; }; "showCopyAction": { "alias": "showCopyAction"; "required": false; "isSignal": true; }; }, { "sendMessage": "sendMessage"; "loadMore": "loadMore"; "reactionClick": "reactionClick"; "deleteMessage": "deleteMessage"; "replyTo": "replyTo"; "editMessage": "editMessage"; "typing": "typing"; "voice": "voice"; }, never, ["[composer-leading]"], true, never>;
80
80
  }
81
81
  export {};
@@ -4,7 +4,7 @@ export declare class LandingStepsComponent {
4
4
  private readonly props_;
5
5
  set props(v: LandingStepsMetadata);
6
6
  readonly p: import("@angular/core").Signal<LandingStepsMetadata>;
7
- readonly cols: import("@angular/core").Signal<2 | 3 | 4>;
7
+ readonly cols: import("@angular/core").Signal<3 | 2 | 4>;
8
8
  readonly accentColor: import("@angular/core").Signal<string>;
9
9
  static ɵfac: i0.ɵɵFactoryDeclaration<LandingStepsComponent, never>;
10
10
  static ɵcmp: i0.ɵɵComponentDeclaration<LandingStepsComponent, "val-landing-steps", never, { "props": { "alias": "props"; "required": false; }; }, {}, never, never, true, never>;
@@ -59,7 +59,7 @@ export declare class SurveyBuilderComponent implements OnInit {
59
59
  readonly wizardStep: import("@angular/core").WritableSignal<number>;
60
60
  readonly validationError: import("@angular/core").WritableSignal<string>;
61
61
  readonly saving: import("@angular/core").WritableSignal<boolean>;
62
- readonly uploadingImage: import("@angular/core").WritableSignal<"" | "success" | "header">;
62
+ readonly uploadingImage: import("@angular/core").WritableSignal<"" | "header" | "success">;
63
63
  readonly sectionIds: import("@angular/core").WritableSignal<string[]>;
64
64
  readonly sectionNames: import("@angular/core").WritableSignal<Record<string, string>>;
65
65
  readonly sectionSubtitles: import("@angular/core").WritableSignal<Record<string, string>>;
@@ -16,8 +16,8 @@ export interface SideNavItem {
16
16
  * Configuration for the page wrapper component.
17
17
  */
18
18
  export interface PageWrapperMetadata {
19
- /** Header configuration */
20
- header?: HeaderMetadata;
19
+ /** Header configuration. Use null to render the page without a shell header. */
20
+ header?: HeaderMetadata | null;
21
21
  /** Footer configuration */
22
22
  footer?: CompanyFooterMetadata;
23
23
  /** Background color or CSS variable */
package/lib/version.d.ts CHANGED
@@ -2,4 +2,4 @@
2
2
  * Current version of valtech-components.
3
3
  * This is automatically updated during the publish process.
4
4
  */
5
- export declare const VERSION = "4.0.1040";
5
+ export declare const VERSION = "4.0.1042";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "valtech-components",
3
- "version": "4.0.1040",
3
+ "version": "4.0.1042",
4
4
  "private": false,
5
5
  "bin": {
6
6
  "valtech-firebase-config": "./src/lib/services/firebase/scripts/generate-sw-config.js"