@planeasyinc/le-angular 0.0.12 → 0.0.13
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/dist/fesm2022/planeasyinc-le-angular.mjs +141 -89
- package/dist/fesm2022/planeasyinc-le-angular.mjs.map +1 -1
- package/dist/lib/components/node/node.component.d.ts +4 -1
- package/dist/lib/components/side-panel/side-panel.component.d.ts +14 -3
- package/dist/lib/icons/icons-map.d.ts +1 -1
- package/dist/lib/icons/le-icon.component.d.ts +1 -1
- package/dist/lib/icons/svg/index.d.ts +1 -1
- package/dist/lib/icons/svg/{history.d.ts → info.d.ts} +1 -1
- package/dist/lib/services/le-side-panel.service.d.ts +5 -6
- package/dist/lib/types/le-table.d.ts +14 -0
- package/dist/lib/types/le-tabs.d.ts +27 -0
- package/dist/lib/types/le-tree.d.ts +5 -0
- package/dist/lib/views/block-view/block-view.component.d.ts +13 -0
- package/dist/lib/views/chart-view/chart-view.component.d.ts +4 -1
- package/dist/lib/views/form-view/form-renderer.component.d.ts +4 -1
- package/dist/lib/views/form-view/form-view.component.d.ts +4 -1
- package/dist/lib/views/gird-col-view/grid-col-view.component.d.ts +4 -1
- package/dist/lib/views/gird-view/grid-view.component.d.ts +4 -1
- package/dist/lib/views/section-view/section-view.component.d.ts +4 -1
- package/dist/lib/views/table-view/table-view-cell.directive.d.ts +1 -1
- package/dist/lib/views/table-view/table-view.component.d.ts +6 -13
- package/dist/lib/views/tree-view/tree-view.component.d.ts +12 -0
- package/dist/lib/views/tree-view/tree-view.utils.d.ts +2 -0
- package/dist/styles/styles.scss +68 -0
- package/package.json +2 -2
- package/dist/lib/components/dialog/dialog.component.d.ts +0 -7
- package/dist/lib/services/le-dialog.service.d.ts +0 -10
- package/dist/lib/types/le-dialog.d.ts +0 -12
|
@@ -4,7 +4,10 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
export declare class NodeComponent {
|
|
5
5
|
node: import("@angular/core").InputSignal<LeNode>;
|
|
6
6
|
config: import("@angular/core").InputSignal<Record<string, string | number | boolean>>;
|
|
7
|
-
event: import("@angular/core").OutputEmitterRef<
|
|
7
|
+
event: import("@angular/core").OutputEmitterRef<{
|
|
8
|
+
type: string;
|
|
9
|
+
data?: any;
|
|
10
|
+
}>;
|
|
8
11
|
componentPortal?: ComponentPortal<any>;
|
|
9
12
|
constructor();
|
|
10
13
|
onPortalAttached(ref: CdkPortalOutletAttachedRef): void;
|
|
@@ -1,13 +1,24 @@
|
|
|
1
|
-
import { LeSidePanelData } from '../../
|
|
1
|
+
import { LeSidePanelData } from '../../types/le-tabs';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class SidePanelComponent {
|
|
4
4
|
private dataService;
|
|
5
|
+
private _selectedTab;
|
|
5
6
|
data: import("@angular/core").InputSignal<LeSidePanelData>;
|
|
6
7
|
config: import("@angular/core").InputSignal<Record<string, string | number | boolean>>;
|
|
7
|
-
event: import("@angular/core").OutputEmitterRef<
|
|
8
|
+
event: import("@angular/core").OutputEmitterRef<{
|
|
9
|
+
type: string;
|
|
10
|
+
data?: any;
|
|
11
|
+
}>;
|
|
8
12
|
readonly node: import("@angular/core").Signal<import("@planeasyinc/le-core").LeNode>;
|
|
13
|
+
readonly tabs: import("@angular/core").Signal<import("../../types/le-tabs").SidePanelTab[]>;
|
|
14
|
+
readonly selectedTabIndex: import("@angular/core").Signal<number>;
|
|
15
|
+
readonly selectedTab: import("@angular/core").Signal<import("../../types/le-tabs").SidePanelTab>;
|
|
9
16
|
constructor();
|
|
10
|
-
onEvent(event:
|
|
17
|
+
onEvent(event: {
|
|
18
|
+
type: string;
|
|
19
|
+
data?: any;
|
|
20
|
+
}): void;
|
|
21
|
+
onTabClick(index: number): void;
|
|
11
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<SidePanelComponent, never>;
|
|
12
23
|
static ɵcmp: i0.ɵɵComponentDeclaration<SidePanelComponent, "ng-component", never, { "data": { "alias": "data"; "required": true; "isSignal": true; }; "config": { "alias": "config"; "required": false; "isSignal": true; }; }, { "event": "event"; }, never, never, true, never>;
|
|
13
24
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export declare class LeIconComponent {
|
|
3
|
-
name: import("@angular/core").InputSignal<"
|
|
3
|
+
name: import("@angular/core").InputSignal<"close" | "arrow-down" | "sort" | "chevron" | "info">;
|
|
4
4
|
size: import("@angular/core").InputSignal<string | number>;
|
|
5
5
|
icon: import("@angular/core").Signal<{
|
|
6
6
|
size: number;
|
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
import { Injector } from '@angular/core';
|
|
2
|
-
import { LeNode } from '@planeasyinc/le-core';
|
|
3
2
|
import { Observable } from 'rxjs';
|
|
3
|
+
import { LeSidePanelData } from '../types/le-tabs';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
export interface LeSidePanelData {
|
|
6
|
-
node?: LeNode;
|
|
7
|
-
config?: Record<string, string | number | boolean>;
|
|
8
|
-
}
|
|
9
5
|
type PanelPosition = 'left' | 'right' | 'top' | 'bottom';
|
|
10
6
|
interface LeSidePanelConfig {
|
|
11
7
|
position: PanelPosition;
|
|
@@ -19,7 +15,10 @@ export declare class LeSidePanelService {
|
|
|
19
15
|
private breakpointObserver;
|
|
20
16
|
private overlayRef?;
|
|
21
17
|
private output;
|
|
22
|
-
show(data: LeSidePanelData, config: LeSidePanelConfig): Observable<
|
|
18
|
+
show(data: LeSidePanelData, config: LeSidePanelConfig): Observable<{
|
|
19
|
+
type: string;
|
|
20
|
+
data?: any;
|
|
21
|
+
}>;
|
|
23
22
|
private hide;
|
|
24
23
|
private delayed;
|
|
25
24
|
private getHeight;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export interface ColumnModel {
|
|
2
|
+
type: string;
|
|
3
|
+
key: string;
|
|
4
|
+
label: string;
|
|
5
|
+
[key: string]: any;
|
|
6
|
+
}
|
|
7
|
+
export interface RowModel {
|
|
8
|
+
[key: string]: any;
|
|
9
|
+
}
|
|
10
|
+
export interface TableDataModel {
|
|
11
|
+
columns: ColumnModel[];
|
|
12
|
+
rows: RowModel[];
|
|
13
|
+
total: number;
|
|
14
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { LeNode } from '@planeasyinc/le-core';
|
|
2
|
+
import { ColumnModel } from './le-table';
|
|
3
|
+
interface SidePanelTabBase {
|
|
4
|
+
type: string;
|
|
5
|
+
label: string;
|
|
6
|
+
data: unknown;
|
|
7
|
+
}
|
|
8
|
+
export interface SidePanelTabObject extends SidePanelTabBase {
|
|
9
|
+
type: 'block';
|
|
10
|
+
data: Record<string, unknown>;
|
|
11
|
+
columns: Array<ColumnModel>;
|
|
12
|
+
}
|
|
13
|
+
export interface SidePanelTabMeta extends SidePanelTabBase {
|
|
14
|
+
type: 'tree';
|
|
15
|
+
data: Record<string, unknown>;
|
|
16
|
+
}
|
|
17
|
+
export interface SidePanelTabVersions extends SidePanelTabBase {
|
|
18
|
+
type: 'table';
|
|
19
|
+
data: LeNode;
|
|
20
|
+
}
|
|
21
|
+
export type SidePanelTab = SidePanelTabObject | SidePanelTabMeta | SidePanelTabVersions;
|
|
22
|
+
export interface LeSidePanelData {
|
|
23
|
+
node?: LeNode;
|
|
24
|
+
tabs: SidePanelTab[];
|
|
25
|
+
config?: Record<string, string | number | boolean>;
|
|
26
|
+
}
|
|
27
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ColumnModel } from '../../types/le-table';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class BlockViewComponent {
|
|
4
|
+
data: import("@angular/core").InputSignal<Record<string, unknown>>;
|
|
5
|
+
columns: import("@angular/core").InputSignal<ColumnModel[]>;
|
|
6
|
+
event: import("@angular/core").OutputEmitterRef<{
|
|
7
|
+
type: string;
|
|
8
|
+
data?: any;
|
|
9
|
+
}>;
|
|
10
|
+
onCellClicked(data: any): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BlockViewComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BlockViewComponent, "le-block-view", never, { "data": { "alias": "data"; "required": true; "isSignal": true; }; "columns": { "alias": "columns"; "required": true; "isSignal": true; }; }, { "event": "event"; }, never, never, true, never>;
|
|
13
|
+
}
|
|
@@ -3,7 +3,10 @@ import * as i0 from "@angular/core";
|
|
|
3
3
|
export declare class ChartViewComponent {
|
|
4
4
|
node: import("@angular/core").InputSignal<LeChartNode>;
|
|
5
5
|
config: import("@angular/core").InputSignal<Record<string, string | number | boolean>>;
|
|
6
|
-
event: import("@angular/core").OutputEmitterRef<
|
|
6
|
+
event: import("@angular/core").OutputEmitterRef<{
|
|
7
|
+
type: string;
|
|
8
|
+
data?: any;
|
|
9
|
+
}>;
|
|
7
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<ChartViewComponent, never>;
|
|
8
11
|
static ɵcmp: i0.ɵɵComponentDeclaration<ChartViewComponent, "chart-view", never, { "node": { "alias": "node"; "required": true; "isSignal": true; }; "config": { "alias": "config"; "required": false; "isSignal": true; }; }, { "event": "event"; }, never, never, true, never>;
|
|
9
12
|
}
|
|
@@ -10,7 +10,10 @@ export declare class FormRendererComponent {
|
|
|
10
10
|
topLevelControls: import("@angular/core").InputSignal<FeControlConfig[]>;
|
|
11
11
|
customCss: import("@angular/core").InputSignal<string>;
|
|
12
12
|
config: import("@angular/core").InputSignal<Record<string, string | number | boolean>>;
|
|
13
|
-
event: import("@angular/core").OutputEmitterRef<
|
|
13
|
+
event: import("@angular/core").OutputEmitterRef<{
|
|
14
|
+
type: string;
|
|
15
|
+
data?: any;
|
|
16
|
+
}>;
|
|
14
17
|
constructor();
|
|
15
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormRendererComponent, never>;
|
|
16
19
|
static ɵcmp: i0.ɵɵComponentDeclaration<FormRendererComponent, "le-form-renderer", never, { "engine": { "alias": "engine"; "required": true; "isSignal": true; }; "sections": { "alias": "sections"; "required": true; "isSignal": true; }; "topLevelControls": { "alias": "topLevelControls"; "required": false; "isSignal": true; }; "customCss": { "alias": "customCss"; "required": false; "isSignal": true; }; "config": { "alias": "config"; "required": false; "isSignal": true; }; }, { "event": "event"; }, never, never, true, never>;
|
|
@@ -16,7 +16,10 @@ export declare class FormViewComponent {
|
|
|
16
16
|
private _actionHandlers;
|
|
17
17
|
node: import("@angular/core").InputSignal<LeFormNode>;
|
|
18
18
|
config: import("@angular/core").InputSignal<Record<string, string | number | boolean>>;
|
|
19
|
-
event: import("@angular/core").OutputEmitterRef<
|
|
19
|
+
event: import("@angular/core").OutputEmitterRef<{
|
|
20
|
+
type: string;
|
|
21
|
+
data?: any;
|
|
22
|
+
}>;
|
|
20
23
|
readonly isLoading: import("@angular/core").Signal<boolean>;
|
|
21
24
|
readonly data: import("@angular/core").Signal<{
|
|
22
25
|
engine: FeFormEngine;
|
|
@@ -3,7 +3,10 @@ import * as i0 from "@angular/core";
|
|
|
3
3
|
export declare class GridColViewComponent {
|
|
4
4
|
node: import("@angular/core").InputSignal<LeGridColNode>;
|
|
5
5
|
config: import("@angular/core").InputSignal<Record<string, string | number | boolean>>;
|
|
6
|
-
event: import("@angular/core").OutputEmitterRef<
|
|
6
|
+
event: import("@angular/core").OutputEmitterRef<{
|
|
7
|
+
type: string;
|
|
8
|
+
data?: any;
|
|
9
|
+
}>;
|
|
7
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<GridColViewComponent, never>;
|
|
8
11
|
static ɵcmp: i0.ɵɵComponentDeclaration<GridColViewComponent, "grid-col-view", never, { "node": { "alias": "node"; "required": true; "isSignal": true; }; "config": { "alias": "config"; "required": false; "isSignal": true; }; }, { "event": "event"; }, never, never, true, never>;
|
|
9
12
|
}
|
|
@@ -3,7 +3,10 @@ import * as i0 from "@angular/core";
|
|
|
3
3
|
export declare class GridComponent {
|
|
4
4
|
node: import("@angular/core").InputSignal<LeGridNode>;
|
|
5
5
|
config: import("@angular/core").InputSignal<Record<string, string | number | boolean>>;
|
|
6
|
-
event: import("@angular/core").OutputEmitterRef<
|
|
6
|
+
event: import("@angular/core").OutputEmitterRef<{
|
|
7
|
+
type: string;
|
|
8
|
+
data?: any;
|
|
9
|
+
}>;
|
|
7
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<GridComponent, never>;
|
|
8
11
|
static ɵcmp: i0.ɵɵComponentDeclaration<GridComponent, "grid-view", never, { "node": { "alias": "node"; "required": true; "isSignal": true; }; "config": { "alias": "config"; "required": false; "isSignal": true; }; }, { "event": "event"; }, never, never, true, never>;
|
|
9
12
|
}
|
|
@@ -3,7 +3,10 @@ import * as i0 from "@angular/core";
|
|
|
3
3
|
export declare class SectionComponent {
|
|
4
4
|
node: import("@angular/core").InputSignal<LeSectionNode>;
|
|
5
5
|
config: import("@angular/core").InputSignal<Record<string, string | number | boolean>>;
|
|
6
|
-
event: import("@angular/core").OutputEmitterRef<
|
|
6
|
+
event: import("@angular/core").OutputEmitterRef<{
|
|
7
|
+
type: string;
|
|
8
|
+
data?: any;
|
|
9
|
+
}>;
|
|
7
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<SectionComponent, never>;
|
|
8
11
|
static ɵcmp: i0.ɵɵComponentDeclaration<SectionComponent, "section-view", never, { "node": { "alias": "node"; "required": true; "isSignal": true; }; "config": { "alias": "config"; "required": false; "isSignal": true; }; }, { "event": "event"; }, never, never, true, never>;
|
|
9
12
|
}
|
|
@@ -2,26 +2,20 @@ import { LeTableAction, LeTableNode } from '@planeasyinc/le-core';
|
|
|
2
2
|
import { TableDataSource } from './table-data-sourse';
|
|
3
3
|
import { PageChange } from './table-view.types';
|
|
4
4
|
import { ColumnFilterModel } from '../../services/le-filters.service';
|
|
5
|
+
import { ColumnModel, RowModel } from '../../types/le-table';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
|
-
export interface ColumnModel {
|
|
7
|
-
type: string;
|
|
8
|
-
key: string;
|
|
9
|
-
label: string;
|
|
10
|
-
[key: string]: any;
|
|
11
|
-
}
|
|
12
|
-
interface RowModel {
|
|
13
|
-
[key: string]: any;
|
|
14
|
-
}
|
|
15
7
|
export declare class TableViewComponent {
|
|
16
8
|
private apiService;
|
|
17
9
|
private dataService;
|
|
18
10
|
private filtersService;
|
|
19
|
-
private dialogService;
|
|
20
11
|
private sidePanelService;
|
|
21
12
|
private injector;
|
|
22
13
|
node: import("@angular/core").InputSignal<LeTableNode>;
|
|
23
14
|
config: import("@angular/core").InputSignal<Record<string, string | number | boolean>>;
|
|
24
|
-
event: import("@angular/core").OutputEmitterRef<
|
|
15
|
+
event: import("@angular/core").OutputEmitterRef<{
|
|
16
|
+
type: string;
|
|
17
|
+
data?: any;
|
|
18
|
+
}>;
|
|
25
19
|
private _columns;
|
|
26
20
|
private _data;
|
|
27
21
|
private _total;
|
|
@@ -54,7 +48,7 @@ export declare class TableViewComponent {
|
|
|
54
48
|
onFiltersClick(event: Event): void;
|
|
55
49
|
onToolbarActionClick({ actions }: LeTableAction): void;
|
|
56
50
|
onRowClick(row: RowModel): void;
|
|
57
|
-
|
|
51
|
+
onRowInfoClick(event: Event, row: RowModel): void;
|
|
58
52
|
onCellClicked(data: any): void;
|
|
59
53
|
private processRowClickAction;
|
|
60
54
|
private processTableAction;
|
|
@@ -71,4 +65,3 @@ export declare class TableViewComponent {
|
|
|
71
65
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableViewComponent, never>;
|
|
72
66
|
static ɵcmp: i0.ɵɵComponentDeclaration<TableViewComponent, "table-view", never, { "node": { "alias": "node"; "required": true; "isSignal": true; }; "config": { "alias": "config"; "required": false; "isSignal": true; }; }, { "event": "event"; }, never, never, true, never>;
|
|
73
67
|
}
|
|
74
|
-
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { NestedTreeControl } from '@angular/cdk/tree';
|
|
2
|
+
import { ArrayDataSource } from '@angular/cdk/collections';
|
|
3
|
+
import { LeTreeNode } from '../../types/le-tree';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class TreeViewComponent {
|
|
6
|
+
treeControl: NestedTreeControl<LeTreeNode, LeTreeNode>;
|
|
7
|
+
data: import("@angular/core").InputSignal<Record<string, unknown>>;
|
|
8
|
+
source: import("@angular/core").Signal<ArrayDataSource<LeTreeNode>>;
|
|
9
|
+
hasChild: (_: number, node: LeTreeNode) => boolean;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TreeViewComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TreeViewComponent, "le-tree-view", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
12
|
+
}
|
package/dist/styles/styles.scss
CHANGED
|
@@ -937,3 +937,71 @@ $sort-icon-size: 6px;
|
|
|
937
937
|
transform: translateY(100%);
|
|
938
938
|
}
|
|
939
939
|
}
|
|
940
|
+
/* =========================
|
|
941
|
+
TABS
|
|
942
|
+
========================== */
|
|
943
|
+
.le-tabs-nav {
|
|
944
|
+
@include flex-row;
|
|
945
|
+
gap: 1rem;
|
|
946
|
+
}
|
|
947
|
+
.le-tabs-content {
|
|
948
|
+
margin-top: 1rem;
|
|
949
|
+
}
|
|
950
|
+
/* =========================
|
|
951
|
+
TREE
|
|
952
|
+
========================== */
|
|
953
|
+
.le-tree-invisible {
|
|
954
|
+
display: none;
|
|
955
|
+
}
|
|
956
|
+
|
|
957
|
+
.le-tree ul,
|
|
958
|
+
.le-tree li {
|
|
959
|
+
margin-top: 0;
|
|
960
|
+
margin-bottom: 0;
|
|
961
|
+
list-style-type: none;
|
|
962
|
+
}
|
|
963
|
+
.le-tree-node {
|
|
964
|
+
display: block;
|
|
965
|
+
}
|
|
966
|
+
|
|
967
|
+
.le-tree-row {
|
|
968
|
+
display: inline-flex;
|
|
969
|
+
width: 100%;
|
|
970
|
+
margin-bottom: 0.5rem;
|
|
971
|
+
|
|
972
|
+
.le-button {
|
|
973
|
+
align-self: flex-end;
|
|
974
|
+
}
|
|
975
|
+
}
|
|
976
|
+
|
|
977
|
+
.le-tree-node .le-tree-node {
|
|
978
|
+
padding-left: 2rem;
|
|
979
|
+
}
|
|
980
|
+
|
|
981
|
+
.le-tree-chevron {
|
|
982
|
+
transform: rotate(90deg);
|
|
983
|
+
transition: transform 0.2s ease-in-out;
|
|
984
|
+
margin-left: auto;
|
|
985
|
+
margin-right: 0;
|
|
986
|
+
}
|
|
987
|
+
|
|
988
|
+
.le-tree-row--expanded {
|
|
989
|
+
.le-tree-chevron {
|
|
990
|
+
transform: rotate(90deg) scaleX(-1);
|
|
991
|
+
}
|
|
992
|
+
}
|
|
993
|
+
/* =========================
|
|
994
|
+
BLOCK VIEW
|
|
995
|
+
========================== */
|
|
996
|
+
.block-view {
|
|
997
|
+
display: grid;
|
|
998
|
+
grid-template-columns: 1fr 1fr 1fr;
|
|
999
|
+
}
|
|
1000
|
+
.block-view-item {
|
|
1001
|
+
padding-bottom: 1rem;
|
|
1002
|
+
}
|
|
1003
|
+
.block-view-label {
|
|
1004
|
+
padding-bottom: 1rem;
|
|
1005
|
+
font-weight: bold;
|
|
1006
|
+
text-transform: uppercase;
|
|
1007
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@planeasyinc/le-angular",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.13",
|
|
4
4
|
"private": false,
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"typescript": "5.6.3",
|
|
39
39
|
"@types/web": "0.0.347",
|
|
40
40
|
"@planeasyinc/le-core": "0.0.3",
|
|
41
|
-
"@planeasyinc/fe-core": "0.1.
|
|
41
|
+
"@planeasyinc/fe-core": "0.1.23"
|
|
42
42
|
},
|
|
43
43
|
"scripts": {
|
|
44
44
|
"lint": "eslint src",
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { LeDialogData } from '../../types/le-dialog';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class DialogComponent {
|
|
4
|
-
data: LeDialogData;
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DialogComponent, never>;
|
|
6
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DialogComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
7
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { DialogConfig } from '@angular/cdk/dialog';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { LeDialogClose, LeDialogData } from '../types/le-dialog';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class LeDialogService {
|
|
6
|
-
private dialog;
|
|
7
|
-
open(data: LeDialogData, config?: DialogConfig): Observable<LeDialogClose | undefined>;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LeDialogService, never>;
|
|
9
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<LeDialogService>;
|
|
10
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { LeNode } from '@planeasyinc/le-core';
|
|
2
|
-
export interface LeDialogData {
|
|
3
|
-
node?: LeNode;
|
|
4
|
-
config?: {
|
|
5
|
-
hideFilters?: boolean;
|
|
6
|
-
hideMetadata?: boolean;
|
|
7
|
-
showCloseButton?: boolean;
|
|
8
|
-
};
|
|
9
|
-
}
|
|
10
|
-
export interface LeDialogClose {
|
|
11
|
-
success?: boolean;
|
|
12
|
-
}
|