@fuentis/phoenix-ui 0.0.9-alpha.96 → 0.0.9-alpha.98
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 +5065 -0
- package/fesm2022/fuentis-phoenix-ui.mjs.map +1 -0
- package/lib/components/actions/actions.component.d.ts +9 -0
- package/lib/components/data-table/phoenix-data-table/isSelected.pipe.d.ts +7 -0
- package/lib/components/data-table/phoenix-data-table/phoenix-data-table.component.d.ts +84 -0
- package/lib/components/data-table/phoenix-data-table-action/phoenix-data-table-action.component.d.ts +28 -0
- package/lib/components/data-table/phoenix-data-table-tabs/phoenix-data-table-tabs.component.d.ts +16 -0
- package/lib/components/data-table/table/table.component.d.ts +43 -0
- package/lib/components/data-table/table-caption/table-caption.component.d.ts +32 -0
- package/lib/components/data-table/utils/data-cell-value.pipe.d.ts +16 -0
- package/lib/components/data-table/utils/dataTable.enum.d.ts +62 -0
- package/lib/components/data-table/utils/dataTable.interface.d.ts +45 -0
- package/lib/components/data-table/utils/export-type.util.d.ts +4 -0
- package/lib/components/data-table/utils/remove-html-tags.pipe.d.ts +7 -0
- package/lib/components/data-table/utils/table-cell.pipe.d.ts +10 -0
- package/lib/components/meta-form/meta-field-error/inline-field-error.component.d.ts +20 -0
- package/lib/components/meta-form/meta-field-label/meta-label.component.d.ts +10 -0
- package/lib/components/meta-form/meta-form-abstract.d.ts +40 -0
- package/lib/components/meta-form/meta-form-buttons/meta-form-buttons.component.d.ts +21 -0
- package/lib/components/meta-form/meta-form-fields/meta-assign-responsible/meta-assign-responsible.component.d.ts +21 -0
- package/lib/components/meta-form/meta-form-fields/meta-calendar/meta-calendar.component.d.ts +7 -0
- package/lib/components/meta-form/meta-form-fields/meta-checkbox/meta-checkbox.component.d.ts +8 -0
- package/lib/components/meta-form/meta-form-fields/meta-checkbox-color-picker/meta-checkbox-color-picker.component.d.ts +10 -0
- package/lib/components/meta-form/meta-form-fields/meta-color-picker/meta-color-picker.component.d.ts +6 -0
- package/lib/components/meta-form/meta-form-fields/meta-currency/meta-currency.component.d.ts +9 -0
- package/lib/components/meta-form/meta-form-fields/meta-multiple-select/meta-multiple-select.component.d.ts +6 -0
- package/lib/components/meta-form/meta-form-fields/meta-number-input/meta-number-input.component.d.ts +7 -0
- package/lib/components/meta-form/meta-form-fields/meta-password-feild/meta-password-feild.component.d.ts +6 -0
- package/lib/components/meta-form/meta-form-fields/meta-select-button/meta-select-button.component.d.ts +6 -0
- package/lib/components/meta-form/meta-form-fields/meta-single-select/meta-single-select.component.d.ts +12 -0
- package/lib/components/meta-form/meta-form-fields/meta-single-select-object-based/meta-single-select-object_based.component.d.ts +11 -0
- package/lib/components/meta-form/meta-form-fields/meta-start-due-date/meta-start-due-date.component.d.ts +23 -0
- package/lib/components/meta-form/meta-form-fields/meta-switch/meta-switch.component.d.ts +6 -0
- package/lib/components/meta-form/meta-form-fields/meta-text-area/meta-text-area.component.d.ts +7 -0
- package/lib/components/meta-form/meta-form-fields/meta-text-editor/meta-text-editor.component.d.ts +7 -0
- package/lib/components/meta-form/meta-form-fields/meta-text-input/meta-text-input.component.d.ts +7 -0
- package/lib/components/meta-form/meta-form-fields/meta-timeperiod/meta-timeperiod.component.d.ts +19 -0
- package/lib/components/meta-form/meta-form-fields/meta-upload/meta-upload.component.d.ts +12 -0
- package/lib/components/meta-form/meta-form-fields/object-item-dialog/object-item-dialog.component.d.ts +39 -0
- package/lib/components/meta-form/meta-form-interface/interfaces.d.ts +40 -0
- package/lib/components/meta-form/meta-form-templates/groups-form/groups-form.component.d.ts +14 -0
- package/lib/components/meta-form/meta-form-templates/read-only-input/read-only-input.component.d.ts +24 -0
- package/lib/components/meta-form/meta-form.component.d.ts +16 -0
- package/lib/components/meta-form/meta-validators/due-date/start-due-date.validator.d.ts +4 -0
- package/lib/components/meta-form/meta-validators/timeperiod/timeperiod.validator.d.ts +2 -0
- package/lib/components/meta-form/meta-validators/white-space-validator.d.ts +9 -0
- package/lib/components/meta-form/services/meta-form.service.d.ts +36 -0
- package/lib/components/meta-form/utils/base-meta-field.d.ts +24 -0
- package/lib/components/meta-form/utils/control-type.enum.d.ts +23 -0
- package/lib/components/meta-form/utils/error-type.util.d.ts +17 -0
- package/lib/components/meta-form/utils/field-col.pipe.d.ts +7 -0
- package/lib/components/meta-form/utils/field-label.pipe.d.ts +7 -0
- package/lib/components/meta-form/utils/get-field-type.utils.d.ts +1 -0
- package/lib/components/meta-form/utils/global-phase.utils.d.ts +19 -0
- package/lib/components/meta-form/utils/lang.utils.d.ts +1 -0
- package/lib/components/meta-form/utils/so-types.d.ts +22 -0
- package/lib/components/meta-form/utils/translate-dropdown-data.pipe.d.ts +9 -0
- package/lib/components/quick-pick/quick-pick/quick-pick.component.d.ts +9 -0
- package/lib/components/quick-pick/quick-pick-sidepanel/quick-pick-sidepanel.component.d.ts +20 -0
- package/lib/components/search-bar/search-bar.component.d.ts +30 -0
- package/lib/components/shell/shell.component.d.ts +9 -0
- package/lib/components/sidebar/sidebar.component.d.ts +12 -0
- package/lib/components/sidebar-item/sidebar-item.component.d.ts +12 -0
- package/lib/components/status-bar/enums/status-col-type.enum.d.ts +8 -0
- 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 +20 -0
- package/lib/components/status-header/status-header.component.d.ts +19 -0
- package/lib/components/tag/tag.component.d.ts +17 -0
- package/lib/components/topbar/topbar.component.d.ts +46 -0
- package/lib/components/user/user.component.d.ts +15 -0
- package/lib/models/assignee.model.d.ts +16 -0
- package/lib/models/shell-config.model.d.ts +26 -0
- package/lib/models/status.model.d.ts +20 -0
- package/package.json +3 -3
- package/public-api.d.ts +23 -0
- package/fesm2022/public-api.mjs +0 -4
- package/fesm2022/public-api.mjs.map +0 -1
|
@@ -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
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export interface TopbarModuleItem {
|
|
3
|
+
label: string;
|
|
4
|
+
fullName?: string;
|
|
5
|
+
icon?: string;
|
|
6
|
+
url?: string;
|
|
7
|
+
routerLink?: string[];
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
}
|
|
10
|
+
export interface TopbarModuleGroup {
|
|
11
|
+
label: string;
|
|
12
|
+
layout: 'full' | 'grid';
|
|
13
|
+
showIconBackground: boolean;
|
|
14
|
+
items: TopbarModuleItem[];
|
|
15
|
+
}
|
|
16
|
+
export interface TopbarFooterConfig {
|
|
17
|
+
companyName: string;
|
|
18
|
+
companyUrl: string;
|
|
19
|
+
guideLabel: string;
|
|
20
|
+
guideUrl: string;
|
|
21
|
+
copyrightText: string;
|
|
22
|
+
}
|
|
23
|
+
export declare class TopbarComponent {
|
|
24
|
+
sidebarConfig: {
|
|
25
|
+
visible: boolean;
|
|
26
|
+
type: string;
|
|
27
|
+
};
|
|
28
|
+
currentYear: number;
|
|
29
|
+
isSidebarVisible: boolean;
|
|
30
|
+
homeUrl: string;
|
|
31
|
+
user: {
|
|
32
|
+
email: string;
|
|
33
|
+
imageUrl?: string;
|
|
34
|
+
username: string;
|
|
35
|
+
};
|
|
36
|
+
shortModuleName?: string;
|
|
37
|
+
topbarModulesMenu: TopbarModuleGroup[];
|
|
38
|
+
footerConfig: TopbarFooterConfig;
|
|
39
|
+
openSidebarPanel(): void;
|
|
40
|
+
/** ✅ Zatvara sidebar */
|
|
41
|
+
closeSidebar(): void;
|
|
42
|
+
goToHome(): void;
|
|
43
|
+
get bindImageUrl(): string;
|
|
44
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TopbarComponent, never>;
|
|
45
|
+
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; }; "footerConfig": { "alias": "footerConfig"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
46
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
interface User {
|
|
4
|
+
email: string;
|
|
5
|
+
imageUrl?: string;
|
|
6
|
+
username: string;
|
|
7
|
+
}
|
|
8
|
+
export declare class UserComponent {
|
|
9
|
+
user: User;
|
|
10
|
+
logout: EventEmitter<void>;
|
|
11
|
+
editSettings: EventEmitter<void>;
|
|
12
|
+
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>;
|
|
14
|
+
}
|
|
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,26 @@
|
|
|
1
|
+
export interface SidebarItem {
|
|
2
|
+
label: string;
|
|
3
|
+
path: string;
|
|
4
|
+
icon?: string;
|
|
5
|
+
isActive?: boolean;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
}
|
|
8
|
+
export interface TopbarItem {
|
|
9
|
+
label: string;
|
|
10
|
+
icon?: string;
|
|
11
|
+
url?: string;
|
|
12
|
+
routerLink?: string[];
|
|
13
|
+
disabled?: boolean;
|
|
14
|
+
path: string;
|
|
15
|
+
}
|
|
16
|
+
export interface User {
|
|
17
|
+
email: string;
|
|
18
|
+
username: string;
|
|
19
|
+
imageUrl: string;
|
|
20
|
+
}
|
|
21
|
+
export interface ShellConfig {
|
|
22
|
+
mainItems: SidebarItem[][];
|
|
23
|
+
user: User;
|
|
24
|
+
footerItem: TopbarItem[];
|
|
25
|
+
topbarModulesMenu: any[];
|
|
26
|
+
}
|
|
@@ -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
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fuentis/phoenix-ui",
|
|
3
|
-
"version": "0.0.9-alpha.
|
|
3
|
+
"version": "0.0.9-alpha.98",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": "^19.0.0",
|
|
6
6
|
"@angular/core": "^19.0.0"
|
|
@@ -12,12 +12,12 @@
|
|
|
12
12
|
"styles": [
|
|
13
13
|
"styles/global.css"
|
|
14
14
|
],
|
|
15
|
-
"module": "fesm2022/
|
|
15
|
+
"module": "fesm2022/fuentis-phoenix-ui.mjs",
|
|
16
16
|
"typings": "public-api.d.ts",
|
|
17
17
|
"exports": {
|
|
18
18
|
".": {
|
|
19
19
|
"types": "./public-api.d.ts",
|
|
20
|
-
"default": "./fesm2022/
|
|
20
|
+
"default": "./fesm2022/fuentis-phoenix-ui.mjs"
|
|
21
21
|
},
|
|
22
22
|
"./package.json": {
|
|
23
23
|
"default": "./package.json"
|
package/public-api.d.ts
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/** Public API Surface of phoenix */
|
|
2
|
+
export * from './lib/components/sidebar/sidebar.component';
|
|
3
|
+
export * from './lib/components/topbar/topbar.component';
|
|
4
|
+
export * from './lib/components/search-bar/search-bar.component';
|
|
5
|
+
export * from './lib/components/sidebar-item/sidebar-item.component';
|
|
6
|
+
export * from './lib/components/user/user.component';
|
|
7
|
+
export * from './lib/components/status-header/status-header.component';
|
|
8
|
+
export * from './lib/components/shell/shell.component';
|
|
9
|
+
export * from './lib/components/data-table/phoenix-data-table/phoenix-data-table.component';
|
|
10
|
+
export * from './lib/components/data-table/table/table.component';
|
|
11
|
+
export * from './lib/components/meta-form/meta-form.component';
|
|
12
|
+
export * from './lib/components/meta-form/meta-form-buttons/meta-form-buttons.component';
|
|
13
|
+
export * from './lib/components/meta-form/meta-form-templates/groups-form/groups-form.component';
|
|
14
|
+
export * from './lib/components/meta-form/services/meta-form.service';
|
|
15
|
+
export * from './lib/components/quick-pick/quick-pick/quick-pick.component';
|
|
16
|
+
export * from './lib/components/status-bar/status-bar.component';
|
|
17
|
+
export * from './lib/components/quick-pick/quick-pick-sidepanel/quick-pick-sidepanel.component';
|
|
18
|
+
export * from './lib/components/status-bar/models/status-attribute.model';
|
|
19
|
+
export * from './lib/components/status-bar/enums/status-col-type.enum';
|
|
20
|
+
export * from './lib/components/status-bar/models/status-bar-configuration.model';
|
|
21
|
+
export * from './lib/models/shell-config.model';
|
|
22
|
+
export * from './lib/models/status.model';
|
|
23
|
+
export * from './lib/components/data-table/utils/dataTable.enum';
|
package/fesm2022/public-api.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"public-api.mjs","sources":["../../../projects/phoenix-ui/src/public-api.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":"AAAA;;AAEG"}
|