@testgorilla/tgo-ui 2.23.37 → 2.23.39
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/components/multi-input/multi-input.component.d.ts +8 -1
- package/components/side-panel/side-panel.animations.d.ts +3 -0
- package/components/side-panel/side-panel.component.d.ts +21 -0
- package/components/side-panel/side-panel.component.module.d.ts +12 -0
- package/components/side-panel/side-panel.model.d.ts +15 -0
- package/components/side-panel/side-panel.service.d.ts +20 -0
- package/esm2022/components/autocomplete/autocomplete.component.mjs +3 -3
- package/esm2022/components/multi-input/multi-input.component.mjs +13 -4
- package/esm2022/components/side-panel/side-panel.animations.mjs +26 -0
- package/esm2022/components/side-panel/side-panel.component.mjs +52 -0
- package/esm2022/components/side-panel/side-panel.component.module.mjs +22 -0
- package/esm2022/components/side-panel/side-panel.model.mjs +20 -0
- package/esm2022/components/side-panel/side-panel.service.mjs +77 -0
- package/esm2022/components/tooltip/tooltip.component.mjs +3 -3
- package/esm2022/public-api.mjs +15 -10
- package/fesm2022/testgorilla-tgo-ui.mjs +204 -21
- package/fesm2022/testgorilla-tgo-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/public-api.d.ts +13 -9
|
@@ -56,6 +56,13 @@ export declare class MultiInputComponent implements ControlValueAccessor, OnInit
|
|
|
56
56
|
* @memberof MultiInputComponent
|
|
57
57
|
*/
|
|
58
58
|
label: string;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @description Defines the placeholder of the multi input
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof MultiInputComponent
|
|
64
|
+
*/
|
|
65
|
+
placeholder: string;
|
|
59
66
|
/**
|
|
60
67
|
*
|
|
61
68
|
* @description Allow decimal values in the multi input
|
|
@@ -154,7 +161,7 @@ export declare class MultiInputComponent implements ControlValueAccessor, OnInit
|
|
|
154
161
|
private addValidation;
|
|
155
162
|
private updateDisableState;
|
|
156
163
|
static ɵfac: i0.ɵɵFactoryDeclaration<MultiInputComponent, [{ optional: true; self: true; }, { optional: true; }, null]>;
|
|
157
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MultiInputComponent, "ui-multi-input", never, { "itemsList": { "alias": "itemsList"; "required": true; }; "itemTextField": { "alias": "itemTextField"; "required": true; }; "itemValueField": { "alias": "itemValueField"; "required": true; }; "value": { "alias": "value"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "required": { "alias": "required"; "required": false; }; "label": { "alias": "label"; "required": false; }; "allowDecimal": { "alias": "allowDecimal"; "required": false; }; "allowNegative": { "alias": "allowNegative"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "errors": { "alias": "errors"; "required": false; }; "hideBuiltInErrors": { "alias": "hideBuiltInErrors"; "required": false; }; "hideLabelInErrors": { "alias": "hideLabelInErrors"; "required": false; }; "language": { "alias": "language"; "required": false; }; "maxCharacters": { "alias": "maxCharacters"; "required": false; }; "fullWidth": { "alias": "fullWidth"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, false, never>;
|
|
164
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MultiInputComponent, "ui-multi-input", never, { "itemsList": { "alias": "itemsList"; "required": true; }; "itemTextField": { "alias": "itemTextField"; "required": true; }; "itemValueField": { "alias": "itemValueField"; "required": true; }; "value": { "alias": "value"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "required": { "alias": "required"; "required": false; }; "label": { "alias": "label"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "allowDecimal": { "alias": "allowDecimal"; "required": false; }; "allowNegative": { "alias": "allowNegative"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "errors": { "alias": "errors"; "required": false; }; "hideBuiltInErrors": { "alias": "hideBuiltInErrors"; "required": false; }; "hideLabelInErrors": { "alias": "hideLabelInErrors"; "required": false; }; "language": { "alias": "language"; "required": false; }; "maxCharacters": { "alias": "maxCharacters"; "required": false; }; "fullWidth": { "alias": "fullWidth"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, false, never>;
|
|
158
165
|
static ngAcceptInputType_disabled: unknown;
|
|
159
166
|
static ngAcceptInputType_required: unknown;
|
|
160
167
|
static ngAcceptInputType_allowDecimal: unknown;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { ElementRef, ViewContainerRef } from '@angular/core';
|
|
2
|
+
import { SidePanelAnimationState, SidePanelPosition } from './side-panel.model';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class SidePanelComponent {
|
|
5
|
+
title: string;
|
|
6
|
+
showBackButton: boolean;
|
|
7
|
+
sidePanelPosition: import("@angular/core").WritableSignal<SidePanelPosition>;
|
|
8
|
+
sidePanelContainer: import("@angular/core").Signal<ViewContainerRef>;
|
|
9
|
+
sidePanel: import("@angular/core").Signal<ElementRef<HTMLDivElement>>;
|
|
10
|
+
backdrop: import("@angular/core").Signal<ElementRef<HTMLDivElement>>;
|
|
11
|
+
language: import("@testgorilla/tgo-ui").Language;
|
|
12
|
+
isOpen: import("@angular/core").WritableSignal<boolean>;
|
|
13
|
+
animation: import("@angular/core").Signal<SidePanelAnimationState.Open | SidePanelAnimationState.ClosedRight | SidePanelAnimationState.ClosedLeft>;
|
|
14
|
+
private sidePanelService;
|
|
15
|
+
private sidePanelConfig;
|
|
16
|
+
constructor();
|
|
17
|
+
open(): void;
|
|
18
|
+
close(): void;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SidePanelComponent, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SidePanelComponent, "ui-side-panel", never, {}, {}, never, never, false, never>;
|
|
21
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./side-panel.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/material/tooltip";
|
|
5
|
+
import * as i4 from "../tooltip/tooltip.component.module";
|
|
6
|
+
import * as i5 from "../button/button.component.module";
|
|
7
|
+
import * as i6 from "../../pipes/ui-translate.pipe";
|
|
8
|
+
export declare class SidePanelComponentModule {
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SidePanelComponentModule, never>;
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SidePanelComponentModule, [typeof i1.SidePanelComponent], [typeof i2.CommonModule, typeof i3.MatTooltipModule, typeof i4.TooltipComponentModule, typeof i5.ButtonComponentModule, typeof i6.UiTranslatePipe], [typeof i1.SidePanelComponent]>;
|
|
11
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SidePanelComponentModule>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { InjectionToken } from "@angular/core";
|
|
2
|
+
export type SidePanelPosition = 'left' | 'right';
|
|
3
|
+
export declare enum SidePanelAnimationState {
|
|
4
|
+
Open = "open",
|
|
5
|
+
Closed = "closed",
|
|
6
|
+
ClosedRight = "closedRight",
|
|
7
|
+
ClosedLeft = "closedLeft"
|
|
8
|
+
}
|
|
9
|
+
export declare class SidePanelConfig {
|
|
10
|
+
title: string;
|
|
11
|
+
position: SidePanelPosition;
|
|
12
|
+
showBackButton: boolean;
|
|
13
|
+
}
|
|
14
|
+
export declare const defaultSidePanelConfig: SidePanelConfig;
|
|
15
|
+
export declare const SIDE_PANEL_CONFIG: InjectionToken<SidePanelConfig>;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ApplicationRef, EnvironmentInjector, TemplateRef, Type } from '@angular/core';
|
|
2
|
+
import { SidePanelConfig } from './side-panel.model';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class SidePanelService {
|
|
5
|
+
private appRef;
|
|
6
|
+
private injector;
|
|
7
|
+
private SidePanelComponentRef?;
|
|
8
|
+
private contentComponentRef?;
|
|
9
|
+
private embeddedViewRef?;
|
|
10
|
+
private defaultSidePanelConfig;
|
|
11
|
+
constructor(appRef: ApplicationRef, injector: EnvironmentInjector);
|
|
12
|
+
open(content: Type<any> | TemplateRef<any>, config: Partial<SidePanelConfig>): void;
|
|
13
|
+
destroyComponent(): void;
|
|
14
|
+
private createSidePanelInjector;
|
|
15
|
+
private createSidePanelComponent;
|
|
16
|
+
private loadComponent;
|
|
17
|
+
private loadTemplate;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SidePanelService, never>;
|
|
19
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SidePanelService>;
|
|
20
|
+
}
|