@planeasyinc/le-angular 0.0.24 → 0.0.25
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 +127 -30
- package/dist/fesm2022/planeasyinc-le-angular.mjs.map +1 -1
- package/dist/lib/icons/icons-map.d.ts +5 -0
- package/dist/lib/icons/le-icon.component.d.ts +6 -1
- package/dist/lib/icons/svg/download.d.ts +5 -0
- package/dist/lib/icons/svg/index.d.ts +1 -0
- package/dist/lib/templates/base.template.d.ts +9 -0
- package/dist/lib/templates/file.template.d.ts +7 -0
- package/dist/lib/templates/index.d.ts +1 -0
- package/dist/lib/templates/json.template.d.ts +3 -3
- package/dist/lib/templates/reference.template.d.ts +3 -6
- package/dist/lib/templates/string.template.d.ts +3 -3
- package/dist/lib/utils/download.d.ts +1 -0
- package/dist/lib/views/table-view/table-view.component.d.ts +3 -0
- package/dist/styles/styles.scss +6 -2
- package/package.json +4 -4
|
@@ -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" | "download">;
|
|
4
4
|
size: import("@angular/core").InputSignal<string | number>;
|
|
5
5
|
icon: import("@angular/core").Signal<{
|
|
6
6
|
size: number;
|
|
@@ -27,6 +27,11 @@ export declare class LeIconComponent {
|
|
|
27
27
|
name: string;
|
|
28
28
|
viewBox: string;
|
|
29
29
|
content: string[];
|
|
30
|
+
} | {
|
|
31
|
+
size: number;
|
|
32
|
+
name: string;
|
|
33
|
+
viewBox: string;
|
|
34
|
+
content: string[];
|
|
30
35
|
}>;
|
|
31
36
|
static ɵfac: i0.ɵɵFactoryDeclaration<LeIconComponent, never>;
|
|
32
37
|
static ɵcmp: i0.ɵɵComponentDeclaration<LeIconComponent, "le-icon", never, { "name": { "alias": "name"; "required": true; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class BaseTemplate {
|
|
3
|
+
data: import("@angular/core").InputSignal<any>;
|
|
4
|
+
attribute: import("@angular/core").InputSignal<any>;
|
|
5
|
+
metadata: import("@angular/core").InputSignal<any>;
|
|
6
|
+
clicked: import("@angular/core").OutputEmitterRef<any>;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaseTemplate, never>;
|
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaseTemplate, never, never, { "data": { "alias": "data"; "required": true; "isSignal": true; }; "attribute": { "alias": "attribute"; "required": true; "isSignal": true; }; "metadata": { "alias": "metadata"; "required": true; "isSignal": true; }; }, { "clicked": "clicked"; }, never, never, true, never>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { BaseTemplate } from './base.template';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class FileTemplate extends BaseTemplate {
|
|
4
|
+
onClick(event: Event): void;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FileTemplate, never>;
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FileTemplate, "ng-component", never, {}, {}, never, never, true, never>;
|
|
7
|
+
}
|
|
@@ -3,6 +3,7 @@ declare const TABLE_SELL_TEMPLATE_NAMES: {
|
|
|
3
3
|
readonly StringTemplate: "StringTemplate";
|
|
4
4
|
readonly ReferenceTemplate: "ReferenceTemplate";
|
|
5
5
|
readonly JsonTemplate: "JsonTemplate";
|
|
6
|
+
readonly FileTemplate: "FileTemplate";
|
|
6
7
|
};
|
|
7
8
|
export type TableCellTemplateType = (typeof TABLE_SELL_TEMPLATE_NAMES)[keyof typeof TABLE_SELL_TEMPLATE_NAMES];
|
|
8
9
|
export declare const TABLE_CELL_TEMPLATES: Record<TableCellTemplateType, Type<unknown>>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { BaseTemplate } from './base.template';
|
|
1
2
|
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class JSONTemplate {
|
|
3
|
-
data: import("@angular/core").InputSignal<string>;
|
|
3
|
+
export declare class JSONTemplate extends BaseTemplate {
|
|
4
4
|
static ɵfac: i0.ɵɵFactoryDeclaration<JSONTemplate, never>;
|
|
5
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<JSONTemplate, "ng-component", never, {
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<JSONTemplate, "ng-component", never, {}, {}, never, never, true, never>;
|
|
6
6
|
}
|
|
@@ -1,9 +1,6 @@
|
|
|
1
|
+
import { BaseTemplate } from './base.template';
|
|
1
2
|
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class ReferenceTemplate {
|
|
3
|
-
data: import("@angular/core").InputSignal<any>;
|
|
4
|
-
attribute: import("@angular/core").InputSignal<any>;
|
|
5
|
-
metadata: import("@angular/core").InputSignal<any>;
|
|
6
|
-
clicked: import("@angular/core").OutputEmitterRef<any>;
|
|
3
|
+
export declare class ReferenceTemplate extends BaseTemplate {
|
|
7
4
|
reference: import("@angular/core").Signal<{
|
|
8
5
|
text: string;
|
|
9
6
|
href?: string;
|
|
@@ -12,5 +9,5 @@ export declare class ReferenceTemplate {
|
|
|
12
9
|
private generateText;
|
|
13
10
|
private generateLink;
|
|
14
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<ReferenceTemplate, never>;
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ReferenceTemplate, "ng-component", never, {
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ReferenceTemplate, "ng-component", never, {}, {}, never, never, true, never>;
|
|
16
13
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { BaseTemplate } from './base.template';
|
|
1
2
|
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class StringTemplate {
|
|
3
|
-
data: import("@angular/core").InputSignal<string>;
|
|
3
|
+
export declare class StringTemplate extends BaseTemplate {
|
|
4
4
|
static ɵfac: i0.ɵɵFactoryDeclaration<StringTemplate, never>;
|
|
5
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<StringTemplate, "ng-component", never, {
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StringTemplate, "ng-component", never, {}, {}, never, never, true, never>;
|
|
6
6
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const download: (url: string) => void;
|
|
@@ -50,6 +50,9 @@ export declare class TableViewComponent {
|
|
|
50
50
|
onRowClick(row: RowModel): void;
|
|
51
51
|
onRowInfoClick(event: Event, row: RowModel): void;
|
|
52
52
|
onCellClicked(data: any): void;
|
|
53
|
+
private processReferenceClick;
|
|
54
|
+
private processFileClick;
|
|
55
|
+
private getAddressFromRef;
|
|
53
56
|
private processRowClickAction;
|
|
54
57
|
private processTableAction;
|
|
55
58
|
private setView;
|
package/dist/styles/styles.scss
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
@import '@angular/cdk/overlay-prebuilt.css';
|
|
2
|
-
|
|
3
1
|
:root {
|
|
4
2
|
/* =========================
|
|
5
3
|
PRIMARY (GREEN SYSTEM)
|
|
@@ -730,6 +728,12 @@ $sort-icon-size: 6px;
|
|
|
730
728
|
white-space: pre-wrap;
|
|
731
729
|
}
|
|
732
730
|
|
|
731
|
+
.le-template-file a {
|
|
732
|
+
display: inline-flex;
|
|
733
|
+
align-items: center;
|
|
734
|
+
gap: 4px;
|
|
735
|
+
}
|
|
736
|
+
|
|
733
737
|
/* =========================
|
|
734
738
|
TOAST LIS
|
|
735
739
|
========================== */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@planeasyinc/le-angular",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.25",
|
|
4
4
|
"private": false,
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -37,11 +37,11 @@
|
|
|
37
37
|
"ng-packagr": "^19.0.0",
|
|
38
38
|
"typescript": "5.6.3",
|
|
39
39
|
"@types/web": "0.0.347",
|
|
40
|
-
"@planeasyinc/fe-core": "0.1.27",
|
|
41
40
|
"@planeasyinc/le-core": "0.0.5",
|
|
41
|
+
"@planeasyinc/fe-core": "0.1.27",
|
|
42
42
|
"@planeasyinc/fe-adapters-sections": "0.1.15",
|
|
43
|
-
"@planeasyinc/fe-
|
|
44
|
-
"@planeasyinc/fe-
|
|
43
|
+
"@planeasyinc/fe-angular": "0.1.44",
|
|
44
|
+
"@planeasyinc/fe-adapters-old": "0.1.17"
|
|
45
45
|
},
|
|
46
46
|
"scripts": {
|
|
47
47
|
"lint": "eslint src",
|