@fuentis/phoenix-ui 0.0.9-alpha.3 → 0.0.9-alpha.300

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.
Files changed (91) hide show
  1. package/fesm2022/fuentis-phoenix-ui.mjs +5612 -381
  2. package/fesm2022/fuentis-phoenix-ui.mjs.map +1 -1
  3. package/lib/components/actions/action-state.service.d.ts +10 -0
  4. package/lib/components/actions/actions.component.d.ts +46 -0
  5. package/lib/components/card/card.component.d.ts +22 -0
  6. package/lib/components/data-table/phoenix-data-table-action/phoenix-data-table-action.component.d.ts +2 -3
  7. package/lib/components/data-table/phoenix-data-table-tabs/phoenix-data-table-tabs.component.d.ts +4 -4
  8. package/lib/components/data-table/table/table.component.d.ts +51 -0
  9. package/lib/components/data-table/table-caption/table-caption.component.d.ts +46 -0
  10. package/lib/components/data-table/utils/dataTable.enum.d.ts +2 -0
  11. package/lib/components/data-table/utils/dataTable.interface.d.ts +2 -0
  12. package/lib/components/data-table/utils/table-cell.pipe.d.ts +11 -0
  13. package/lib/components/inner-header/inner-header.component.d.ts +7 -0
  14. package/lib/components/meta-form/meta-field-error/inline-field-error.component.d.ts +20 -0
  15. package/lib/components/meta-form/meta-field-label/meta-label.component.d.ts +10 -0
  16. package/lib/components/meta-form/meta-form-abstract.d.ts +41 -0
  17. package/lib/components/meta-form/meta-form-buttons/meta-form-buttons.component.d.ts +21 -0
  18. package/lib/components/meta-form/meta-form-fields/meta-assign-asset/meta-assign-asset.component.d.ts +21 -0
  19. package/lib/components/meta-form/meta-form-fields/meta-assign-responsible/meta-assign-responsible.component.d.ts +21 -0
  20. package/lib/components/meta-form/meta-form-fields/meta-calendar/meta-calendar.component.d.ts +7 -0
  21. package/lib/components/meta-form/meta-form-fields/meta-checkbox/meta-checkbox.component.d.ts +8 -0
  22. package/lib/components/meta-form/meta-form-fields/meta-checkbox-color-picker/meta-checkbox-color-picker.component.d.ts +10 -0
  23. package/lib/components/meta-form/meta-form-fields/meta-color-picker/meta-color-picker.component.d.ts +6 -0
  24. package/lib/components/meta-form/meta-form-fields/meta-currency/meta-currency.component.d.ts +9 -0
  25. package/lib/components/meta-form/meta-form-fields/meta-multiple-select/meta-multiple-select.component.d.ts +6 -0
  26. package/lib/components/meta-form/meta-form-fields/meta-number-input/meta-number-input.component.d.ts +7 -0
  27. package/lib/components/meta-form/meta-form-fields/meta-password-feild/meta-password-feild.component.d.ts +6 -0
  28. package/lib/components/meta-form/meta-form-fields/meta-select-button/meta-select-button.component.d.ts +6 -0
  29. package/lib/components/meta-form/meta-form-fields/meta-single-select/meta-single-select.component.d.ts +12 -0
  30. package/lib/components/meta-form/meta-form-fields/meta-single-select-object-based/meta-single-select-object_based.component.d.ts +11 -0
  31. package/lib/components/meta-form/meta-form-fields/meta-start-due-date/meta-start-due-date.component.d.ts +23 -0
  32. package/lib/components/meta-form/meta-form-fields/meta-switch/meta-switch.component.d.ts +6 -0
  33. package/lib/components/meta-form/meta-form-fields/meta-text-area/meta-text-area.component.d.ts +9 -0
  34. package/lib/components/meta-form/meta-form-fields/meta-text-editor/meta-text-editor.component.d.ts +7 -0
  35. package/lib/components/meta-form/meta-form-fields/meta-text-input/meta-text-input.component.d.ts +7 -0
  36. package/lib/components/meta-form/meta-form-fields/meta-timeperiod/meta-timeperiod.component.d.ts +19 -0
  37. package/lib/components/meta-form/meta-form-fields/meta-upload/meta-upload.component.d.ts +12 -0
  38. package/lib/components/meta-form/meta-form-fields/meta-upload-dragdrop/meta-upload-dragdrop.component.d.ts +16 -0
  39. package/lib/components/meta-form/meta-form-fields/object-item-dialog/object-item-dialog.component.d.ts +31 -0
  40. package/lib/components/meta-form/meta-form-interface/interfaces.d.ts +40 -0
  41. package/lib/components/meta-form/meta-form-templates/groups-form/groups-form.component.d.ts +14 -0
  42. package/lib/components/meta-form/meta-form-templates/read-only-input/read-only-input.component.d.ts +23 -0
  43. package/lib/components/meta-form/meta-form.component.d.ts +16 -0
  44. package/lib/components/meta-form/meta-validators/due-date/start-due-date.validator.d.ts +4 -0
  45. package/lib/components/meta-form/meta-validators/timeperiod/timeperiod.validator.d.ts +2 -0
  46. package/lib/components/meta-form/meta-validators/white-space-validator.d.ts +9 -0
  47. package/lib/components/meta-form/services/meta-form.service.d.ts +36 -0
  48. package/lib/components/meta-form/utils/base-meta-field.d.ts +25 -0
  49. package/lib/components/meta-form/utils/control-type.enum.d.ts +25 -0
  50. package/lib/components/meta-form/utils/error-type.util.d.ts +17 -0
  51. package/lib/components/meta-form/utils/field-col.pipe.d.ts +7 -0
  52. package/lib/components/meta-form/utils/field-label.pipe.d.ts +7 -0
  53. package/lib/components/meta-form/utils/form-fields.utils.d.ts +1 -0
  54. package/lib/components/meta-form/utils/get-field-type.utils.d.ts +1 -0
  55. package/lib/components/meta-form/utils/global-phase.utils.d.ts +19 -0
  56. package/lib/components/meta-form/utils/lang.utils.d.ts +1 -0
  57. package/lib/components/meta-form/utils/so-types.d.ts +22 -0
  58. package/lib/components/meta-form/utils/strip-html.pipe.d.ts +7 -0
  59. package/lib/components/meta-form/utils/translate-dropdown-data.pipe.d.ts +9 -0
  60. package/lib/components/quick-pick/quick-pick/quick-pick.component.d.ts +9 -0
  61. package/lib/components/quick-pick/quick-pick-sidepanel/quick-pick-sidepanel.component.d.ts +24 -0
  62. package/lib/components/search-bar/search-bar.component.d.ts +55 -24
  63. package/lib/components/search-card/search-card.component.d.ts +32 -0
  64. package/lib/components/shell/shell.component.d.ts +13 -5
  65. package/lib/components/sidebar/sidebar.component.d.ts +11 -6
  66. package/lib/components/sidebar-item/sidebar-item.component.d.ts +5 -10
  67. package/lib/components/status-bar/enums/status-col-type.enum.d.ts +8 -0
  68. package/lib/components/status-bar/models/status-attribute.model.d.ts +30 -0
  69. package/lib/components/status-bar/models/status-bar-configuration.model.d.ts +15 -0
  70. package/lib/components/status-bar/pipes/first-letter.pipe.d.ts +7 -0
  71. package/lib/components/status-bar/pipes/text-length.pipe.d.ts +14 -0
  72. package/lib/components/status-bar/status-attribute-display.component.d.ts +13 -0
  73. package/lib/components/status-bar/status-bar.component.d.ts +20 -0
  74. package/lib/components/status-header/status-header.component.d.ts +15 -40
  75. package/lib/components/tag/tag.component.d.ts +17 -0
  76. package/lib/components/topbar/topbar.component.d.ts +43 -15
  77. package/lib/components/user/user.component.d.ts +3 -9
  78. package/lib/models/assignee.model.d.ts +16 -0
  79. package/lib/models/base-object.d.ts +15 -0
  80. package/lib/models/search-result.model.d.ts +14 -0
  81. package/lib/models/search.model.d.ts +6 -0
  82. package/lib/models/shell-config.model.d.ts +13 -4
  83. package/lib/models/status.model.d.ts +20 -0
  84. package/lib/pipes/time-period.pipe.d.ts +7 -0
  85. package/lib/services/crud.service.d.ts +10 -0
  86. package/lib/utils/compl-types.utils.d.ts +22 -0
  87. package/lib/utils/initials.pipe.d.ts +7 -0
  88. package/package.json +10 -10
  89. package/public-api.d.ts +19 -0
  90. package/styles/global.css +46 -2
  91. package/lib/utils/date-format.service.d.ts +0 -14
@@ -0,0 +1,15 @@
1
+ import { StatusColType } from "../enums/status-col-type.enum";
2
+ import { StatusAttribute } from "./status-attribute.model";
3
+ export interface StatusBarConfig {
4
+ type?: string;
5
+ icon?: string;
6
+ name: string;
7
+ title: string;
8
+ description?: {
9
+ label: string;
10
+ value: any;
11
+ icon?: string;
12
+ type?: StatusColType;
13
+ }[];
14
+ attributes?: StatusAttribute[];
15
+ }
@@ -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,13 @@
1
+ import { EventEmitter } from "@angular/core";
2
+ import { StatusAttribute, StatusTooltipType } from "./models/status-attribute.model";
3
+ import * as i0 from "@angular/core";
4
+ export declare class StatusAttributeDisplayComponent {
5
+ attr: StatusAttribute;
6
+ dateFormat: string;
7
+ listItemClick: EventEmitter<any>;
8
+ statusTooltipType: typeof StatusTooltipType;
9
+ getFullUrl(path: string): string;
10
+ isMultiWordLabel(label: string | undefined | null): boolean;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<StatusAttributeDisplayComponent, never>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<StatusAttributeDisplayComponent, "phoenix-status-attribute-display", never, { "attr": { "alias": "attr"; "required": false; }; "dateFormat": { "alias": "dateFormat"; "required": false; }; }, { "listItemClick": "listItemClick"; }, never, never, true, never>;
13
+ }
@@ -0,0 +1,20 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { StatusBarConfig } from './models/status-bar-configuration.model';
3
+ import { StatusColType } from './enums/status-col-type.enum';
4
+ import * as i0 from "@angular/core";
5
+ export declare class StatusBarComponent {
6
+ statusBarConfig: StatusBarConfig;
7
+ iconEnable: boolean;
8
+ enableClosing: boolean;
9
+ description: boolean;
10
+ dateFormat: string;
11
+ onListItemClick: EventEmitter<any>;
12
+ isCollapsed: boolean;
13
+ StatusColType: typeof StatusColType;
14
+ iconStyle: {
15
+ height: number;
16
+ width: number;
17
+ };
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<StatusBarComponent, never>;
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>;
20
+ }
@@ -1,45 +1,20 @@
1
- import { DateFormatService } from '../../utils/date-format.service';
2
- import { Subscription } from 'rxjs';
1
+ import { EventEmitter } from '@angular/core';
3
2
  import * as i0 from "@angular/core";
4
- interface Log {
5
- date: string;
6
- description: string;
7
- user: string;
8
- }
9
- interface StatusHeaderData {
10
- approach: string;
11
- date: string;
3
+ export declare class StatusHeaderComponent {
4
+ onQuickPickClickEmiter: EventEmitter<void>;
5
+ onToggleClickEmmiter: EventEmitter<"forward" | "back">;
6
+ onCloseEvent: EventEmitter<void>;
7
+ type: string;
12
8
  name: string;
13
- type?: string;
14
- scope: string;
15
9
  title: string;
16
- status: string;
17
- entity: string;
18
- description?: string;
19
- logs: Log[];
20
- createdBy: string;
21
- createdAt: string;
22
- }
23
- interface Icon {
24
- url: string;
25
- alt?: string;
26
- size: {
27
- width: string;
28
- height: string;
29
- };
30
- }
31
- export declare class StatusHeaderComponent {
32
- private dateFormatService;
33
- isCollapsed: boolean;
34
- iconUrl: string;
35
- icon: Icon;
36
- showQuickActions: boolean;
37
- data: StatusHeaderData;
38
- dateFormat: string;
39
- dataFormatSub$: Subscription;
40
- constructor(dateFormatService: DateFormatService);
41
- ngOnDestroy(): void;
10
+ enableQuickPick: boolean;
11
+ actions: any[];
12
+ panelState: boolean;
13
+ customClose: boolean;
14
+ validSeverities: string[];
15
+ onToggleClick(direction: 'forward' | 'back'): void;
16
+ toggleSidePanel(): void;
17
+ closePanel(): void;
42
18
  static ɵfac: i0.ɵɵFactoryDeclaration<StatusHeaderComponent, never>;
43
- static ɵcmp: i0.ɵɵComponentDeclaration<StatusHeaderComponent, "pho-status-header", never, { "iconUrl": { "alias": "iconUrl"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "showQuickActions": { "alias": "showQuickActions"; "required": false; }; "data": { "alias": "data"; "required": false; }; }, {}, never, never, true, never>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<StatusHeaderComponent, "phoenix-status-header", never, { "type": { "alias": "type"; "required": false; }; "name": { "alias": "name"; "required": false; }; "title": { "alias": "title"; "required": false; }; "enableQuickPick": { "alias": "enableQuickPick"; "required": false; }; "actions": { "alias": "actions"; "required": false; }; "panelState": { "alias": "panelState"; "required": false; }; "customClose": { "alias": "customClose"; "required": false; }; }, { "onQuickPickClickEmiter": "onQuickPickClickEmiter"; "onToggleClickEmmiter": "onToggleClickEmmiter"; "onCloseEvent": "onCloseEvent"; }, never, never, true, never>;
44
20
  }
45
- export {};
@@ -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
+ }
@@ -1,24 +1,52 @@
1
- import { OnInit } from '@angular/core';
2
- import { MegaMenuItem } from 'primeng/api';
1
+ import { EventEmitter } from '@angular/core';
2
+ import { User } from '../../models/shell-config.model';
3
+ import { SearchTabs } from '../../models/search.model';
3
4
  import * as i0 from "@angular/core";
4
- export declare class TopbarComponent implements OnInit {
5
- supportApps: any;
6
- coreModules: any;
5
+ export interface TopbarModuleItem {
6
+ label: string;
7
+ fullName?: string;
8
+ icon?: string;
9
+ url?: string;
10
+ routerLink?: string[];
11
+ disabled?: boolean;
12
+ }
13
+ export interface TopbarModuleGroup {
14
+ label: string;
15
+ layout: 'full' | 'grid';
16
+ showIconBackground: boolean;
17
+ items: TopbarModuleItem[];
18
+ }
19
+ export interface TopbarFooterConfig {
20
+ companyName: string;
21
+ companyUrl: string;
22
+ guideLabel: string;
23
+ guideUrl: string;
24
+ copyrightText: string;
25
+ }
26
+ export declare class TopbarComponent {
7
27
  sidebarConfig: {
8
28
  visible: boolean;
9
29
  type: string;
10
30
  };
11
31
  currentYear: number;
12
- visible: boolean;
13
- user: {
14
- email: string;
15
- imageUrl?: string;
16
- username: string;
17
- };
32
+ isSidebarVisible: boolean;
33
+ homeUrl: string;
34
+ user: User;
18
35
  shortModuleName?: string;
19
- model: MegaMenuItem[];
20
- ngOnInit(): void;
21
- openSidebarPanel(key: string): void;
36
+ topbarModulesMenu: TopbarModuleGroup[];
37
+ darkModeSelector: any;
38
+ footerConfig: TopbarFooterConfig;
39
+ onDarkModeSelect: EventEmitter<void>;
40
+ onUserPopoverAction: EventEmitter<string>;
41
+ closeCallback(event: any): void;
42
+ searchConfig: import("@angular/core").InputSignal<SearchTabs[] | undefined>;
43
+ openSidebarPanel(): void;
44
+ /** ✅ Zatvara sidebar */
45
+ closeSidebar(): void;
46
+ onDarkModeSelectEmit(): void;
47
+ goToHome(): void;
48
+ goToTicketCenter(): void;
49
+ get bindImageUrl(): string;
22
50
  static ɵfac: i0.ɵɵFactoryDeclaration<TopbarComponent, never>;
23
- static ɵcmp: i0.ɵɵComponentDeclaration<TopbarComponent, "pho-topbar", never, { "user": { "alias": "user"; "required": false; }; "shortModuleName": { "alias": "shortModuleName"; "required": false; }; "model": { "alias": "model"; "required": false; }; }, {}, never, ["*"], true, never>;
51
+ static ɵcmp: i0.ɵɵComponentDeclaration<TopbarComponent, "pho-topbar", never, { "homeUrl": { "alias": "homeUrl"; "required": false; }; "user": { "alias": "user"; "required": false; }; "shortModuleName": { "alias": "shortModuleName"; "required": false; }; "topbarModulesMenu": { "alias": "topbarModulesMenu"; "required": false; }; "darkModeSelector": { "alias": "darkModeSelector"; "required": false; }; "footerConfig": { "alias": "footerConfig"; "required": false; }; "searchConfig": { "alias": "searchConfig"; "required": false; "isSignal": true; }; }, { "onDarkModeSelect": "onDarkModeSelect"; "onUserPopoverAction": "onUserPopoverAction"; }, never, ["*"], true, never>;
24
52
  }
@@ -1,15 +1,9 @@
1
1
  import { EventEmitter } from '@angular/core';
2
+ import { User } from '../../models/shell-config.model';
2
3
  import * as i0 from "@angular/core";
3
- interface User {
4
- email: string;
5
- imageUrl?: string;
6
- username: string;
7
- }
8
4
  export declare class UserComponent {
9
5
  user: User;
10
- logout: EventEmitter<void>;
11
- editSettings: EventEmitter<void>;
6
+ actionEmmiter: EventEmitter<string>;
12
7
  static ɵfac: i0.ɵɵFactoryDeclaration<UserComponent, never>;
13
- static ɵcmp: i0.ɵɵComponentDeclaration<UserComponent, "pho-user", never, { "user": { "alias": "user"; "required": false; }; }, { "logout": "logout"; "editSettings": "editSettings"; }, never, never, true, never>;
8
+ static ɵcmp: i0.ɵɵComponentDeclaration<UserComponent, "pho-user", never, { "user": { "alias": "user"; "required": false; }; }, { "actionEmmiter": "actionEmmiter"; }, never, never, true, never>;
14
9
  }
15
- export {};
@@ -0,0 +1,16 @@
1
+ export declare class Assignee {
2
+ uuid: string;
3
+ name: string;
4
+ function: string;
5
+ type: AssigneeType;
6
+ typlifecycleStatuse: AssigneeLifecycleType;
7
+ phone: string;
8
+ email: string;
9
+ }
10
+ export declare enum AssigneeType {
11
+ EMPLOYEE = "EMPLOYEE"
12
+ }
13
+ export declare enum AssigneeLifecycleType {
14
+ ACTIVE = "ACTIVE",
15
+ DELETED = "DELETED "
16
+ }
@@ -0,0 +1,15 @@
1
+ export declare class BaseObject {
2
+ name: string;
3
+ uuid: string;
4
+ constructor(partial: Partial<BaseObject>);
5
+ }
6
+ export declare class BaseObjectType {
7
+ id: number;
8
+ labelKey: string;
9
+ labelKeyValEn: string;
10
+ labelKeyValDe: string;
11
+ labelKeyValSr?: string;
12
+ labelKeyVal?: string;
13
+ [key: string]: any;
14
+ constructor(partial: Partial<BaseObjectType>);
15
+ }
@@ -0,0 +1,14 @@
1
+ import { BaseObject, BaseObjectType } from './base-object';
2
+ export declare class SearchResult {
3
+ name: string;
4
+ title: string;
5
+ uuid: string;
6
+ type?: BaseObjectType;
7
+ entity?: BaseObject;
8
+ scopes?: BaseObject[];
9
+ asset?: BaseObject;
10
+ score?: number;
11
+ togType?: string;
12
+ url?: string;
13
+ constructor(partial: Partial<SearchResult>);
14
+ }
@@ -0,0 +1,6 @@
1
+ export interface SearchTabs {
2
+ id: number;
3
+ apiUrl: string;
4
+ header: string;
5
+ linkUrl: string;
6
+ }
@@ -1,5 +1,9 @@
1
- import { MegaMenuItem } from 'primeng/api';
1
+ import { SearchTabs } from './search.model';
2
2
  export interface SidebarItem {
3
+ module: string;
4
+ items: any;
5
+ }
6
+ export interface TopbarItem {
3
7
  label: string;
4
8
  icon?: string;
5
9
  url?: string;
@@ -11,10 +15,15 @@ export interface User {
11
15
  email: string;
12
16
  username: string;
13
17
  imageUrl: string;
18
+ bindImageUrl: string;
19
+ firstname?: string;
20
+ lastname?: string;
14
21
  }
15
22
  export interface ShellConfig {
16
- mainItems: SidebarItem[][];
17
23
  user: User;
18
- footerItem: SidebarItem[];
19
- topbarModulesMenu: MegaMenuItem[];
24
+ mainItems: SidebarItem[][];
25
+ shortModuleName: string;
26
+ footerItem: TopbarItem[];
27
+ topbarModulesMenu: any[];
28
+ searchConfig?: SearchTabs[];
20
29
  }
@@ -0,0 +1,20 @@
1
+ export declare enum SimpleButtonType {
2
+ REGULAR = "regular",
3
+ SPLIT = "split"
4
+ }
5
+ export type Severity = 'success' | 'info' | 'warn' | 'danger' | 'help' | 'primary' | 'secondary' | 'contrast' | null | undefined;
6
+ export interface ActionButton {
7
+ id?: number | string;
8
+ label: string;
9
+ icon?: string;
10
+ disabled?: boolean;
11
+ type?: SimpleButtonType;
12
+ severity?: Severity;
13
+ tooltip?: string;
14
+ action?: () => void;
15
+ splitItems?: {
16
+ label: string;
17
+ icon?: string;
18
+ command: () => void;
19
+ }[];
20
+ }
@@ -0,0 +1,7 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class TimePeriodPipe implements PipeTransform {
4
+ transform(value: number): string;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<TimePeriodPipe, never>;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<TimePeriodPipe, "timePeriod", true>;
7
+ }
@@ -0,0 +1,10 @@
1
+ import { HttpClient } from '@angular/common/http';
2
+ import { Observable } from 'rxjs';
3
+ import * as i0 from "@angular/core";
4
+ export declare class CrudService {
5
+ private http;
6
+ constructor(http: HttpClient);
7
+ getSearchData<T>(url: string, phrase: string, size: number): Observable<T[]>;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<CrudService, never>;
9
+ static ɵprov: i0.ɵɵInjectableDeclaration<CrudService>;
10
+ }
@@ -0,0 +1,22 @@
1
+ export declare enum ComplItems {
2
+ COMPL_APPLIED_MODULES = "COMPL_APPLIED_MODULES",
3
+ COMPL_APPLIED_MEASURE = "COMPL_APPLIED_MEASURE",
4
+ COMPL_APPLIED_REQUIREMENT = "COMPL_APPLIED_REQUIREMENT",
5
+ COMPL_APPLIED_THREAT = "COMPL_APPLIED_THREAT",
6
+ COMPL_APPLIED_CONTROL = "COMPL_APPLIED_CONTROL",
7
+ COMPL_SCOPE = "COMPL_SCOPE",
8
+ COMPL_TOT_BUILDING = "COMPL_TOT_BUILDING",
9
+ COMPL_TOT_DOMAIN = "COMPL_TOT_DOMAIN",
10
+ COMPL_TOT_INFORMATION = "COMPL_TOT_INFORMATION",
11
+ COMPL_TOT_BUSINESS = "COMPL_TOT_BUSINESS_PROCESS",
12
+ COMPL_TOT_APPLICATION = "COMPL_TOT_APPLICATION",
13
+ COMPL_TOT_ITSYSETEM = "COMPL_TOT_IT_SYSTEM",
14
+ COMPL_TOT_NETWORK = "COMPL_TOT_NETWORK",
15
+ COMPL_TOT_EMPLOYEE = "COMPL_TOT_EMPLOYEE",
16
+ COMPL_TOT_INFRASTRUCTURE = "COMPL_TOT_INFRASTRUCTURE",
17
+ COMPL_TOT_OUTSORCING = "COMPL_TOT_OUTSORCING",
18
+ COMPL_TOT_PHYSICAL_FACILITY = "COMPL_TOT_PHYSICAL_FACILITY",
19
+ COMPL_TOT_ROOM = "COMPL_TOT_ROOM",
20
+ COMPL_TOGS = "COMPL_TOGS",
21
+ RISK = "RISK"
22
+ }
@@ -0,0 +1,7 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class InitialsPipe implements PipeTransform {
4
+ transform(name: string): string;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<InitialsPipe, never>;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<InitialsPipe, "initials", true>;
7
+ }
package/package.json CHANGED
@@ -1,26 +1,26 @@
1
1
  {
2
2
  "name": "@fuentis/phoenix-ui",
3
- "version": "0.0.9-alpha.3",
3
+ "version": "0.0.9-alpha.300",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^19.0.0",
6
6
  "@angular/core": "^19.0.0"
7
7
  },
8
- "styles": [
9
- "src/lib/styles/global.css"
10
- ],
11
8
  "dependencies": {
12
9
  "tslib": "^2.3.0"
13
10
  },
14
11
  "sideEffects": false,
12
+ "styles": [
13
+ "styles/global.css"
14
+ ],
15
15
  "module": "fesm2022/fuentis-phoenix-ui.mjs",
16
- "typings": "index.d.ts",
16
+ "typings": "public-api.d.ts",
17
17
  "exports": {
18
- "./package.json": {
19
- "default": "./package.json"
20
- },
21
18
  ".": {
22
- "types": "./index.d.ts",
19
+ "types": "./public-api.d.ts",
23
20
  "default": "./fesm2022/fuentis-phoenix-ui.mjs"
21
+ },
22
+ "./package.json": {
23
+ "default": "./package.json"
24
24
  }
25
25
  }
26
- }
26
+ }
package/public-api.d.ts CHANGED
@@ -1,4 +1,8 @@
1
+ /** Public API Surface of phoenix */
2
+ export * from './lib/components/inner-header/inner-header.component';
1
3
  export * from './lib/components/sidebar/sidebar.component';
4
+ export * from './lib/components/actions/actions.component';
5
+ export * from './lib/components/card/card.component';
2
6
  export * from './lib/components/topbar/topbar.component';
3
7
  export * from './lib/components/search-bar/search-bar.component';
4
8
  export * from './lib/components/sidebar-item/sidebar-item.component';
@@ -6,4 +10,19 @@ export * from './lib/components/user/user.component';
6
10
  export * from './lib/components/status-header/status-header.component';
7
11
  export * from './lib/components/shell/shell.component';
8
12
  export * from './lib/components/data-table/phoenix-data-table/phoenix-data-table.component';
13
+ export * from './lib/components/data-table/table/table.component';
14
+ export * from './lib/components/meta-form/meta-form.component';
15
+ export * from './lib/components/meta-form/meta-form-buttons/meta-form-buttons.component';
16
+ export * from './lib/components/meta-form/meta-form-templates/groups-form/groups-form.component';
17
+ export * from './lib/components/meta-form/services/meta-form.service';
18
+ export * from './lib/components/meta-form/meta-form-fields/object-item-dialog/object-item-dialog.component';
19
+ export * from './lib/components/quick-pick/quick-pick/quick-pick.component';
20
+ export * from './lib/components/status-bar/status-bar.component';
21
+ export * from './lib/components/quick-pick/quick-pick-sidepanel/quick-pick-sidepanel.component';
22
+ export * from './lib/components/status-bar/models/status-attribute.model';
23
+ export * from './lib/components/status-bar/enums/status-col-type.enum';
24
+ export * from './lib/components/status-bar/models/status-bar-configuration.model';
25
+ export * from './lib/models/shell-config.model';
26
+ export * from './lib/models/status.model';
9
27
  export * from './lib/components/data-table/utils/dataTable.enum';
28
+ export * from './lib/components/data-table/utils/dataTable.interface';
package/styles/global.css CHANGED
@@ -4,15 +4,19 @@
4
4
 
5
5
  html {
6
6
  font-family: "Roboto";
7
+ font-size: 14px;
7
8
  }
8
-
9
- :root {
9
+ .pho-dark .arrow-icon path {
10
+ fill: white;
11
+ }
12
+ /* :root {
10
13
  --pho-primary: #00395b;
11
14
 
12
15
  --pho-secondary: #b3e5fc;
13
16
  --pho-secondary-text: #01579b;
14
17
 
15
18
  --pho-accent: #e94260;
19
+ --tag-font-weight: 500 !important;
16
20
  }
17
21
 
18
22
  .p-popover::after,
@@ -34,3 +38,43 @@ html {
34
38
  .text-pho-secondary {
35
39
  color: var(--pho-secondary) !important;
36
40
  }
41
+
42
+ .p-drawer-header {
43
+ display: none !important;
44
+ } */
45
+
46
+ .pho-dark .sidebaritem:hover {
47
+ background-color: var(--surface-800) !important;
48
+ }
49
+
50
+ .pho-dark .topbar {
51
+ background-color: var(--surface-900);
52
+ color: var(--text-color);
53
+ }
54
+
55
+ .pho-dark .wrap {
56
+ background-color: var(--surface-900) !important;
57
+
58
+ color: var(--text-color);
59
+ }
60
+
61
+ .pho-dark .sidebar {
62
+ background-color: var(--surface-900);
63
+ }
64
+
65
+ .pho-dark .active-link {
66
+ font-weight: bold;
67
+ background-color: var(--surface-700) !important;
68
+ }
69
+
70
+ .active-link {
71
+ font-weight: bold;
72
+ background-color: var(--surface-100) !important;
73
+ }
74
+
75
+ .pho-dark .border-300 {
76
+ border-color: var(--primary-400) !important;
77
+ }
78
+ .pho-dark .text-primary {
79
+ color: var(--primary-200) !important;
80
+ }
@@ -1,14 +0,0 @@
1
- import { OnDestroy } from '@angular/core';
2
- import { BehaviorSubject, Subscription } from 'rxjs';
3
- import * as i0 from "@angular/core";
4
- export declare class DateFormatService implements OnDestroy {
5
- dateFormat: BehaviorSubject<string>;
6
- currentDateFormatsub$: Subscription;
7
- currentDateFormat$: import("rxjs").Observable<string>;
8
- date: string;
9
- constructor();
10
- setDateFormat(date: string): void;
11
- ngOnDestroy(): void;
12
- static ɵfac: i0.ɵɵFactoryDeclaration<DateFormatService, never>;
13
- static ɵprov: i0.ɵɵInjectableDeclaration<DateFormatService>;
14
- }