@fuentis/phoenix-ui 0.0.9-alpha.82 → 0.0.9-alpha.84
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/fesm2022/fuentis-phoenix-ui.mjs +313 -208
- package/fesm2022/fuentis-phoenix-ui.mjs.map +1 -1
- package/lib/{enums → components/status-bar/enums}/status-col-type.enum.d.ts +2 -5
- package/lib/components/status-bar/models/status-attribute.model.d.ts +19 -0
- package/lib/components/status-bar/models/status-bar-configuration.model.d.ts +14 -0
- package/lib/components/status-bar/pipes/first-letter.pipe.d.ts +7 -0
- package/lib/components/status-bar/pipes/text-length.pipe.d.ts +14 -0
- package/lib/components/status-bar/status-bar.component.d.ts +8 -13
- package/lib/components/tag/tag.component.d.ts +17 -0
- package/package.json +1 -1
- package/public-api.d.ts +3 -0
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
export declare enum StatusColType {
|
|
2
|
-
LIST = "LIST",
|
|
3
2
|
TAG = "TAG",
|
|
4
3
|
STRING = "STRING",
|
|
5
|
-
DATE = "DATE",
|
|
6
4
|
PERSON = "PERSON",
|
|
7
|
-
|
|
8
|
-
OWNER = "OWNER",
|
|
5
|
+
DATE = "DATE",
|
|
9
6
|
DATE_LIST = "DATE_LIST",
|
|
10
|
-
|
|
7
|
+
LIST = "LIST"
|
|
11
8
|
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { StatusColType } from "../enums/status-col-type.enum";
|
|
2
|
+
export interface StatusAttribute {
|
|
3
|
+
type: StatusColType;
|
|
4
|
+
label: string;
|
|
5
|
+
value: any;
|
|
6
|
+
key?: string;
|
|
7
|
+
color?: string;
|
|
8
|
+
value1?: string;
|
|
9
|
+
tooltip?: {
|
|
10
|
+
label: string;
|
|
11
|
+
value: string;
|
|
12
|
+
value1: string;
|
|
13
|
+
}[];
|
|
14
|
+
item?: {
|
|
15
|
+
name: string;
|
|
16
|
+
url?: string;
|
|
17
|
+
disabled?: boolean;
|
|
18
|
+
}[] | string | null;
|
|
19
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { StatusColType } from "../enums/status-col-type.enum";
|
|
2
|
+
import { StatusAttribute } from "./status-attribute.model";
|
|
3
|
+
export interface StatusBarConfig {
|
|
4
|
+
icon?: string;
|
|
5
|
+
name: string;
|
|
6
|
+
title: string;
|
|
7
|
+
description?: {
|
|
8
|
+
label: string;
|
|
9
|
+
value: any;
|
|
10
|
+
icon?: string;
|
|
11
|
+
type?: StatusColType;
|
|
12
|
+
}[];
|
|
13
|
+
attributes?: StatusAttribute[];
|
|
14
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class FirstLetterPipe implements PipeTransform {
|
|
4
|
+
transform(value: string): string;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FirstLetterPipe, never>;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<FirstLetterPipe, "firstLetter", true>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class TextLength implements PipeTransform {
|
|
4
|
+
/**
|
|
5
|
+
* Transforms the specified text value
|
|
6
|
+
* If the size of the string is greater than the limit, it returns a substring of the desired size, and adds ellipsis "..."
|
|
7
|
+
* If the size of the string is less than the limit, it returns the original string
|
|
8
|
+
* @param value
|
|
9
|
+
* @param limit
|
|
10
|
+
*/
|
|
11
|
+
transform(value: string, limit: number): string;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TextLength, never>;
|
|
13
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<TextLength, "textLength", true>;
|
|
14
|
+
}
|
|
@@ -1,18 +1,9 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { StatusBarConfig } from './models/status-bar-configuration.model';
|
|
3
|
+
import { StatusColType } from './enums/status-col-type.enum';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class StatusBarComponent {
|
|
5
|
-
statusBarConfig:
|
|
6
|
-
icon?: string;
|
|
7
|
-
description?: {
|
|
8
|
-
label: string;
|
|
9
|
-
value: any;
|
|
10
|
-
icon?: string;
|
|
11
|
-
type?: StatusColType;
|
|
12
|
-
}[];
|
|
13
|
-
attributes?: any[];
|
|
14
|
-
};
|
|
15
|
-
icon: string;
|
|
6
|
+
statusBarConfig: StatusBarConfig;
|
|
16
7
|
iconEnable: boolean;
|
|
17
8
|
enableClosing: boolean;
|
|
18
9
|
description: boolean;
|
|
@@ -20,6 +11,10 @@ export declare class StatusBarComponent {
|
|
|
20
11
|
onListItemClick: EventEmitter<any>;
|
|
21
12
|
isCollapsed: boolean;
|
|
22
13
|
StatusColType: typeof StatusColType;
|
|
14
|
+
iconStyle: {
|
|
15
|
+
height: number;
|
|
16
|
+
width: number;
|
|
17
|
+
};
|
|
23
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<StatusBarComponent, never>;
|
|
24
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<StatusBarComponent, "phoenix-status-bar", never, { "statusBarConfig": { "alias": "statusBarConfig"; "required": false; }; "
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StatusBarComponent, "phoenix-status-bar", never, { "statusBarConfig": { "alias": "statusBarConfig"; "required": false; }; "iconEnable": { "alias": "iconEnable"; "required": false; }; "enableClosing": { "alias": "enableClosing"; "required": false; }; "description": { "alias": "description"; "required": false; }; "dateFormat": { "alias": "dateFormat"; "required": false; }; }, { "onListItemClick": "onListItemClick"; }, never, never, true, never>;
|
|
25
20
|
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { OnChanges } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class TagComponent implements OnChanges {
|
|
4
|
+
key: string;
|
|
5
|
+
content: string;
|
|
6
|
+
customColor: string;
|
|
7
|
+
color: string | undefined;
|
|
8
|
+
customStyle: {
|
|
9
|
+
'background-color': string;
|
|
10
|
+
border: string;
|
|
11
|
+
color: string;
|
|
12
|
+
};
|
|
13
|
+
ngOnChanges(): void;
|
|
14
|
+
invertHex(hex: string): string;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TagComponent, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TagComponent, "phoenix-tag", never, { "key": { "alias": "key"; "required": false; }; "content": { "alias": "content"; "required": false; }; "customColor": { "alias": "customColor"; "required": false; }; }, {}, never, never, true, never>;
|
|
17
|
+
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -14,6 +14,9 @@ export * from './lib/components/meta-form/services/meta-form.service';
|
|
|
14
14
|
export * from './lib/components/quick-pick/quick-pick/quick-pick.component';
|
|
15
15
|
export * from './lib/components/status-bar/status-bar.component';
|
|
16
16
|
export * from './lib/components/quick-pick/quick-pick-sidepanel/quick-pick-sidepanel.component';
|
|
17
|
+
export * from './lib/components/status-bar/models/status-attribute.model';
|
|
18
|
+
export * from './lib/components/status-bar/enums/status-col-type.enum';
|
|
19
|
+
export * from './lib/components/status-bar/models/status-bar-configuration.model';
|
|
17
20
|
export * from './lib/models/shell-config.model';
|
|
18
21
|
export * from './lib/models/status.model';
|
|
19
22
|
export * from './lib/components/data-table/utils/dataTable.enum';
|