valtech-components 2.0.357 → 2.0.358

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.
@@ -4,6 +4,7 @@ import 'prismjs/components/prism-css';
4
4
  import 'prismjs/components/prism-javascript';
5
5
  import 'prismjs/components/prism-markup';
6
6
  import 'prismjs/components/prism-typescript';
7
+ import { LangService } from '../../../services/lang-provider/lang-provider.service';
7
8
  import { CodeDisplayMetadata } from './types';
8
9
  import * as i0 from "@angular/core";
9
10
  export declare class CodeDisplayComponent implements AfterViewInit, OnChanges {
@@ -11,6 +12,7 @@ export declare class CodeDisplayComponent implements AfterViewInit, OnChanges {
11
12
  codeElement: ElementRef<HTMLElement>;
12
13
  props: CodeDisplayMetadata;
13
14
  toast: ToastController;
15
+ langService: LangService;
14
16
  selectedTab: number;
15
17
  constructor(cdr: ChangeDetectorRef);
16
18
  ngOnChanges(changes: SimpleChanges): void;
@@ -12,8 +12,10 @@ export declare class ExpandableTextComponent {
12
12
  props: ExpandableTextInput;
13
13
  expanded: boolean;
14
14
  defaultColor: string;
15
+ private langService;
15
16
  get truncatedText(): string;
16
17
  get isTruncated(): boolean;
18
+ getExpandText(): string;
17
19
  toggleExpand(): void;
18
20
  color(): string;
19
21
  static ɵfac: i0.ɵɵFactoryDeclaration<ExpandableTextComponent, never>;
@@ -5,11 +5,13 @@ import 'prismjs/components/prism-css';
5
5
  import 'prismjs/components/prism-javascript';
6
6
  import 'prismjs/components/prism-markup';
7
7
  import 'prismjs/components/prism-typescript';
8
+ import { LangService } from '../../../services/lang-provider/lang-provider.service';
8
9
  import { PlainCodeBoxMetadata } from './types';
9
10
  import * as i0 from "@angular/core";
10
11
  export declare class PlainCodeBoxComponent implements AfterViewInit, OnChanges {
11
12
  toast: ToastController;
12
13
  cdr: ChangeDetectorRef;
14
+ langService: LangService;
13
15
  props: PlainCodeBoxMetadata;
14
16
  codeBlock: ElementRef<HTMLElement>;
15
17
  constructor();
@@ -12,7 +12,20 @@ export declare class PopoverSelectorComponent {
12
12
  * Emits the selected value(s).
13
13
  */
14
14
  selectionChange: EventEmitter<string | string[]>;
15
+ private langService;
15
16
  constructor();
17
+ /**
18
+ * Get reactive placeholder text.
19
+ */
20
+ getPlaceholderText(): string;
21
+ /**
22
+ * Get reactive cancel text.
23
+ */
24
+ getCancelText(): string;
25
+ /**
26
+ * Get reactive ok text.
27
+ */
28
+ getOkText(): string;
16
29
  /**
17
30
  * Handle selection change from the ion-select.
18
31
  * @param event - The ion-select change event
@@ -10,6 +10,8 @@ export declare class SelectSearchComponent implements OnChanges, OnDestroy {
10
10
  valueProperty: string;
11
11
  multiple: boolean;
12
12
  placeholder: string;
13
+ private langService;
14
+ constructor();
13
15
  /**
14
16
  * Input configuration object.
15
17
  * @type {InputMetadata}
@@ -73,9 +73,9 @@ 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
- type: "button" | "submit" | "reset";
78
+ type: "submit" | "button" | "reset";
79
79
  token?: string;
80
80
  ref?: any;
81
81
  handler?: (value: any) => any;
@@ -1,8 +1,7 @@
1
- import { ChangeDetectorRef, EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
1
+ import { EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
2
2
  import { MOTION, Step, WizardMetadata } from './types';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class WizardComponent implements OnInit, OnChanges {
5
- private cdr;
6
5
  props: WizardMetadata;
7
6
  onClick: EventEmitter<{
8
7
  current: number;
@@ -11,7 +10,10 @@ export declare class WizardComponent implements OnInit, OnChanges {
11
10
  wrapperId: string;
12
11
  currentStep: Step | null;
13
12
  currentStepTitles: any;
14
- constructor(cdr: ChangeDetectorRef);
13
+ loadingText: string;
14
+ private cdr;
15
+ private langService;
16
+ constructor();
15
17
  ngOnInit(): void;
16
18
  ngOnChanges(changes: SimpleChanges): void;
17
19
  private updateCurrentStep;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "valtech-components",
3
- "version": "2.0.357",
3
+ "version": "2.0.358",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^18.0.0",
6
6
  "@angular/core": "^18.0.0",