valtech-components 2.0.527 → 2.0.529
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.
- package/esm2022/lib/components/molecules/code-display/code-display.component.mjs +13 -11
- package/esm2022/lib/components/molecules/command-display/command-display.component.mjs +4 -2
- package/esm2022/lib/components/molecules/plain-code-box/plain-code-box.component.mjs +4 -2
- package/esm2022/lib/components/molecules/share-buttons/share-buttons.component.mjs +4 -2
- package/esm2022/lib/services/i18n/default-content.mjs +95 -1
- package/fesm2022/valtech-components.mjs +112 -13
- package/fesm2022/valtech-components.mjs.map +1 -1
- package/lib/components/molecules/command-display/command-display.component.d.ts +2 -2
- package/lib/components/molecules/plain-code-box/plain-code-box.component.d.ts +4 -4
- package/lib/components/molecules/share-buttons/share-buttons.component.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ToastController } from '@ionic/angular';
|
|
2
1
|
import { CommandDisplayMetadata } from './types';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
3
|
export declare class CommandDisplayComponent {
|
|
5
|
-
toast
|
|
4
|
+
private toast;
|
|
5
|
+
private i18n;
|
|
6
6
|
props: CommandDisplayMetadata;
|
|
7
7
|
copyCommand(): Promise<void>;
|
|
8
8
|
presentToast(message: string): Promise<void>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { AfterViewInit,
|
|
2
|
-
import { ToastController } from '@ionic/angular';
|
|
1
|
+
import { AfterViewInit, ElementRef, OnChanges, SimpleChanges } from '@angular/core';
|
|
3
2
|
import 'prismjs/components/prism-bash';
|
|
4
3
|
import 'prismjs/components/prism-css';
|
|
5
4
|
import 'prismjs/components/prism-javascript';
|
|
@@ -8,8 +7,9 @@ import 'prismjs/components/prism-typescript';
|
|
|
8
7
|
import { PlainCodeBoxMetadata } from './types';
|
|
9
8
|
import * as i0 from "@angular/core";
|
|
10
9
|
export declare class PlainCodeBoxComponent implements AfterViewInit, OnChanges {
|
|
11
|
-
toast
|
|
12
|
-
cdr
|
|
10
|
+
private toast;
|
|
11
|
+
private cdr;
|
|
12
|
+
private i18n;
|
|
13
13
|
props: PlainCodeBoxMetadata;
|
|
14
14
|
codeBlock: ElementRef<HTMLElement>;
|
|
15
15
|
ngOnChanges(changes: SimpleChanges): void;
|
|
@@ -5,6 +5,7 @@ export declare class ShareButtonsComponent {
|
|
|
5
5
|
props: ShareButtonsMetadata;
|
|
6
6
|
shareComplete: EventEmitter<ShareEvent>;
|
|
7
7
|
private toastController;
|
|
8
|
+
private i18n;
|
|
8
9
|
getButtons(): ShareButtonConfig[];
|
|
9
10
|
getButtonFill(): 'solid' | 'outline' | 'clear';
|
|
10
11
|
getButtonIcon(button: ShareButtonConfig): string;
|