@fuentis/phoenix-ui 0.0.9-alpha.81 → 0.0.9-alpha.83

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.
@@ -0,0 +1 @@
1
+ export type StatusColType = "LIST" | "TAG" | "DATE_LIST" | "DATE" | "STRING" | "ACTION" | "OWNER" | "PERSON";
@@ -0,0 +1,13 @@
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
+ tooltip?: string;
9
+ createdBy?: string;
10
+ createdDate?: string;
11
+ lastModifiedBy?: string;
12
+ lastModifiedDate?: string;
13
+ }
@@ -0,0 +1,12 @@
1
+ import { StatusColType } from "../enums/status-col-type.enum";
2
+ import { StatusAttribute } from "./status-attribute.model";
3
+ export interface StatusBarConfig {
4
+ icon?: string;
5
+ description?: {
6
+ label: string;
7
+ value: any;
8
+ icon?: string;
9
+ type?: StatusColType;
10
+ }[];
11
+ attributes?: StatusAttribute[];
12
+ }
@@ -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
+ }
@@ -0,0 +1,15 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { StatusBarConfig } from './models/status-bar-configuration.model';
3
+ import * as i0 from "@angular/core";
4
+ export declare class StatusBarComponent {
5
+ statusBarConfig: StatusBarConfig;
6
+ icon: string;
7
+ iconEnable: boolean;
8
+ enableClosing: boolean;
9
+ description: boolean;
10
+ dateFormat: string;
11
+ onListItemClick: EventEmitter<any>;
12
+ isCollapsed: boolean;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<StatusBarComponent, never>;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<StatusBarComponent, "phoenix-status-bar", never, { "statusBarConfig": { "alias": "statusBarConfig"; "required": false; }; "icon": { "alias": "icon"; "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>;
15
+ }
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fuentis/phoenix-ui",
3
- "version": "0.0.9-alpha.81",
3
+ "version": "0.0.9-alpha.83",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^19.0.0",
6
6
  "@angular/core": "^19.0.0"
package/public-api.d.ts CHANGED
@@ -12,7 +12,11 @@ export * from './lib/components/meta-form/meta-form-buttons/meta-form-buttons.co
12
12
  export * from './lib/components/meta-form/meta-form-templates/groups-form/groups-form.component';
13
13
  export * from './lib/components/meta-form/services/meta-form.service';
14
14
  export * from './lib/components/quick-pick/quick-pick/quick-pick.component';
15
+ export * from './lib/components/status-bar/status-bar.component';
15
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';
16
20
  export * from './lib/models/shell-config.model';
17
21
  export * from './lib/models/status.model';
18
22
  export * from './lib/components/data-table/utils/dataTable.enum';
@@ -1,12 +0,0 @@
1
- import { EventEmitter } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class SidepanelHeaderComponent {
4
- isFullScreen: boolean;
5
- panelTitle: string;
6
- expand: boolean;
7
- customClose: boolean;
8
- handlePanelFullScreen: EventEmitter<any>;
9
- onCloseEvent: EventEmitter<void>;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<SidepanelHeaderComponent, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<SidepanelHeaderComponent, "phoenix-sidepanel-header", never, { "isFullScreen": { "alias": "isFullScreen"; "required": false; }; "panelTitle": { "alias": "panelTitle"; "required": false; }; "expand": { "alias": "expand"; "required": false; }; "customClose": { "alias": "customClose"; "required": false; }; }, { "handlePanelFullScreen": "handlePanelFullScreen"; "onCloseEvent": "onCloseEvent"; }, never, never, true, never>;
12
- }