coer-elements 0.0.19 → 0.0.21
Sign up to get free protection for your applications and to get access to all the features.
- package/components/lib/coer-filebox/coer-filebox.component.d.ts +1 -1
- package/components/lib/coer-grid/coer-grid.component.d.ts +1 -1
- package/components/lib/coer-grid/coer-grid.extension.d.ts +1 -1
- package/components/lib/coer-grid/coer-grid.templates.d.ts +1 -1
- package/components/lib/coer-page-title/coer-page-title.component.d.ts +1 -1
- package/directives/lib/life-cycle.directive.d.ts +5 -3
- package/esm2022/components/lib/coer-filebox/coer-filebox.component.mjs +1 -1
- package/esm2022/components/lib/coer-grid/coer-grid.component.mjs +1 -1
- package/esm2022/components/lib/coer-grid/coer-grid.extension.mjs +1 -1
- package/esm2022/components/lib/coer-grid/coer-grid.templates.mjs +1 -1
- package/esm2022/components/lib/coer-page-title/coer-page-title.component.mjs +1 -1
- package/esm2022/components/lib/coer-tab/coer-tab.component.mjs +1 -1
- package/esm2022/directives/lib/life-cycle.directive.mjs +6 -2
- package/esm2022/interfaces/index.mjs +36 -2
- package/esm2022/interfaces/lib/coer-menu/menu-selected.interface.mjs +2 -0
- package/esm2022/interfaces/lib/service/http-request.interface.mjs +2 -0
- package/esm2022/interfaces/lib/service/http-response.interface.mjs +2 -0
- package/esm2022/interfaces/lib/service/patch.interface.mjs +2 -0
- package/esm2022/pipes/lib/no-image.pipe.mjs +2 -2
- package/esm2022/public_api.mjs +1 -1
- package/esm2022/signals/index.mjs +3 -1
- package/esm2022/signals/lib/is-menu-open.signal.mjs +3 -0
- package/esm2022/signals/lib/menu.signal.mjs +3 -0
- package/esm2022/tools/index.mjs +3 -2
- package/esm2022/tools/lib/breadcrumbs.class.mjs +1 -1
- package/esm2022/tools/lib/menu.class.mjs +1 -1
- package/esm2022/tools/lib/page.class.mjs +1 -1
- package/esm2022/tools/lib/screen.class.mjs +1 -1
- package/esm2022/tools/lib/service.class.mjs +248 -0
- package/esm2022/tools/lib/source.class.mjs +1 -1
- package/fesm2022/coer-elements.mjs +257 -4
- package/fesm2022/coer-elements.mjs.map +1 -1
- package/interfaces/index.d.ts +30 -1
- package/{src/interfaces/lib/coer-menu/menu-selected.interface.ts → interfaces/lib/coer-menu/menu-selected.interface.d.ts} +10 -11
- package/interfaces/lib/service/http-request.interface.d.ts +10 -0
- package/interfaces/lib/service/http-response.interface.d.ts +6 -0
- package/package.json +1 -1
- package/public_api.d.ts +1 -5
- package/signals/index.d.ts +2 -0
- package/signals/lib/is-menu-open.signal.d.ts +1 -0
- package/signals/lib/menu.signal.d.ts +2 -0
- package/styles/angular-material.scss +12 -0
- package/{src/styles → styles}/bootstrap.scss +3 -3
- package/tools/index.d.ts +2 -1
- package/tools/lib/breadcrumbs.class.d.ts +1 -1
- package/tools/lib/menu.class.d.ts +1 -1
- package/tools/lib/page.class.d.ts +1 -2
- package/tools/lib/screen.class.d.ts +1 -1
- package/tools/lib/service.class.d.ts +39 -0
- package/tools/lib/source.class.d.ts +1 -1
- package/esm2022/interfaces/coer-filebox/index.mjs +0 -3
- package/esm2022/interfaces/coer-grid/index.mjs +0 -21
- package/esm2022/interfaces/lib/patch.interface.mjs +0 -2
- package/esm2022/interfaces/page-title/index.mjs +0 -3
- package/interfaces/coer-filebox/index.d.ts +0 -2
- package/interfaces/coer-grid/index.d.ts +0 -20
- package/interfaces/page-title/index.d.ts +0 -2
- package/src/interfaces/coer-filebox/index.ts +0 -2
- package/src/interfaces/coer-grid/index.ts +0 -20
- package/src/interfaces/coer-menu/index.ts +0 -3
- package/src/interfaces/index.ts +0 -4
- package/src/interfaces/lib/app-source.interface.ts +0 -4
- package/src/interfaces/lib/coer-filebox/file-image.interface.ts +0 -14
- package/src/interfaces/lib/coer-filebox/file.interface.ts +0 -5
- package/src/interfaces/lib/coer-grid/grid-button-by-row.interface.ts +0 -7
- package/src/interfaces/lib/coer-grid/grid-checkbox.interface.ts +0 -5
- package/src/interfaces/lib/coer-grid/grid-coer-numberbox.interface.ts +0 -12
- package/src/interfaces/lib/coer-grid/grid-coer-selectbox.interface.ts +0 -9
- package/src/interfaces/lib/coer-grid/grid-coer-switch.interface.ts +0 -6
- package/src/interfaces/lib/coer-grid/grid-coer-textbox.interface.ts +0 -11
- package/src/interfaces/lib/coer-grid/grid-column.interface.ts +0 -23
- package/src/interfaces/lib/coer-grid/grid-data-source.interface.ts +0 -6
- package/src/interfaces/lib/coer-grid/grid-header-button.interface.ts +0 -8
- package/src/interfaces/lib/coer-grid/grid-header-export-button.interface.ts +0 -10
- package/src/interfaces/lib/coer-grid/grid-header.interface.ts +0 -5
- package/src/interfaces/lib/coer-grid/grid-import.interface.ts +0 -4
- package/src/interfaces/lib/coer-grid/grid-input-checkbox.interface.ts +0 -5
- package/src/interfaces/lib/coer-grid/grid-input-switch-change.interface.ts +0 -5
- package/src/interfaces/lib/coer-grid/grid-input-textbox.interface.ts +0 -5
- package/src/interfaces/lib/coer-grid/grid-item.interface.ts +0 -5
- package/src/interfaces/lib/coer-grid/grid-keyup-enter.interface.ts +0 -6
- package/src/interfaces/lib/coer-grid/grid-length.interface.ts +0 -5
- package/src/interfaces/lib/coer-grid/grid-search.interface.ts +0 -4
- package/src/interfaces/lib/coer-grid/grid-sort.interface.ts +0 -5
- package/src/interfaces/lib/coer-menu/menu-option-selected.interface.ts +0 -10
- package/src/interfaces/lib/coer-menu/menu.interface.ts +0 -6
- package/src/interfaces/lib/coer-ref.interface.ts +0 -11
- package/src/interfaces/lib/page-title/breadcrumb.interface.ts +0 -6
- package/src/interfaces/lib/page-title/go-back.interface.ts +0 -6
- package/src/interfaces/lib/patch.interface.ts +0 -5
- package/src/interfaces/lib/screen-size.interface.ts +0 -5
- package/src/interfaces/page-title/index.ts +0 -2
- package/src/styles/angular-material.scss +0 -12
- /package/{src/images → images}/no-image.png +0 -0
- /package/{src/images → images}/no-user.png +0 -0
- /package/interfaces/lib/{patch.interface.d.ts → service/patch.interface.d.ts} +0 -0
- /package/{src/styles → styles}/colors.scss +0 -0
- /package/{src/styles → styles}/containers.scss +0 -0
- /package/{src/styles → styles}/cursores.scss +0 -0
- /package/{src/styles → styles}/index.scss +0 -0
- /package/{src/styles → styles}/layout.scss +0 -0
- /package/{src/styles → styles}/scroll-bar.scss +0 -0
package/interfaces/index.d.ts
CHANGED
@@ -1,4 +1,33 @@
|
|
1
|
+
export * from './lib/coer-filebox/file-image.interface';
|
2
|
+
export * from './lib/coer-filebox/file.interface';
|
3
|
+
export * from './lib/coer-grid/grid-button-by-row.interface';
|
4
|
+
export * from './lib/coer-grid/grid-checkbox.interface';
|
5
|
+
export * from './lib/coer-grid/grid-coer-numberbox.interface';
|
6
|
+
export * from './lib/coer-grid/grid-coer-selectbox.interface';
|
7
|
+
export * from './lib/coer-grid/grid-coer-switch.interface';
|
8
|
+
export * from './lib/coer-grid/grid-coer-textbox.interface';
|
9
|
+
export * from './lib/coer-grid/grid-column.interface';
|
10
|
+
export * from './lib/coer-grid/grid-data-source.interface';
|
11
|
+
export * from './lib/coer-grid/grid-header-button.interface';
|
12
|
+
export * from './lib/coer-grid/grid-header-export-button.interface';
|
13
|
+
export * from './lib/coer-grid/grid-header.interface';
|
14
|
+
export * from './lib/coer-grid/grid-import.interface';
|
15
|
+
export * from './lib/coer-grid/grid-input-checkbox.interface';
|
16
|
+
export * from './lib/coer-grid/grid-input-switch-change.interface';
|
17
|
+
export * from './lib/coer-grid/grid-input-textbox.interface';
|
18
|
+
export * from './lib/coer-grid/grid-item.interface';
|
19
|
+
export * from './lib/coer-grid/grid-keyup-enter.interface';
|
20
|
+
export * from './lib/coer-grid/grid-length.interface';
|
21
|
+
export * from './lib/coer-grid/grid-search.interface';
|
22
|
+
export * from './lib/coer-grid/grid-sort.interface';
|
23
|
+
export * from './lib/coer-menu/menu-option-selected.interface';
|
24
|
+
export * from './lib/coer-menu/menu-selected.interface';
|
25
|
+
export * from './lib/coer-menu/menu.interface';
|
26
|
+
export * from './lib/page-title/breadcrumb.interface';
|
27
|
+
export * from './lib/page-title/go-back.interface';
|
28
|
+
export * from './lib/service/http-request.interface';
|
29
|
+
export * from './lib/service/http-response.interface';
|
30
|
+
export * from './lib/service/patch.interface';
|
1
31
|
export * from './lib/app-source.interface';
|
2
32
|
export * from './lib/coer-ref.interface';
|
3
|
-
export * from './lib/patch.interface';
|
4
33
|
export * from './lib/screen-size.interface';
|
@@ -1,11 +1,10 @@
|
|
1
|
-
import { IMenu } from "./menu.interface";
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
}
|
1
|
+
import { IMenu } from "./menu.interface";
|
2
|
+
export interface IMenuSelected {
|
3
|
+
level: number;
|
4
|
+
label: string;
|
5
|
+
icon: string;
|
6
|
+
isExpanded: boolean;
|
7
|
+
isCollapsed: boolean;
|
8
|
+
items?: IMenu[];
|
9
|
+
tree: IMenu[];
|
10
|
+
}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { HttpHeaders, HttpParams } from "@angular/common/http";
|
2
|
+
import { IPatch } from "./patch.interface";
|
3
|
+
export interface IHttpRequest<T> {
|
4
|
+
url: string;
|
5
|
+
body?: T | IPatch[] | {};
|
6
|
+
queryParams?: HttpParams;
|
7
|
+
headers?: HttpHeaders;
|
8
|
+
alertSuccess?: string;
|
9
|
+
alertError?: string;
|
10
|
+
}
|
package/package.json
CHANGED
package/public_api.d.ts
CHANGED
package/signals/index.d.ts
CHANGED
@@ -0,0 +1 @@
|
|
1
|
+
export declare const isMenuOpenSIGNAL: import("@angular/core").WritableSignal<boolean>;
|
@@ -0,0 +1,12 @@
|
|
1
|
+
/********** COER styles **********/
|
2
|
+
//@import "src/app/home/components/coer-sidenav/coer-sidenav.component.scss";
|
3
|
+
//@import "src/app/home/components/coer-tree-accordion/coer-tree-accordion.component.scss";
|
4
|
+
//@import "src/app/home/components/coer-menu-option/coer-menu-option.component.scss";
|
5
|
+
@import "../src/components/lib/coer-button/coer-button.component.scss";
|
6
|
+
@import "../src/components/lib/coer-textbox/coer-textbox.component.scss";
|
7
|
+
@import "../src/components/lib/coer-textarea/coer-textarea.component.scss";
|
8
|
+
@import "../src/components/lib/coer-selectbox/coer-selectbox.component.scss";
|
9
|
+
@import "../src/components/lib/coer-numberbox/coer-numberbox.component.scss";
|
10
|
+
@import "../src/components/lib/coer-switch/coer-switch.component.scss";
|
11
|
+
@import "../src/components/lib/coer-checkbox/coer-checkbox.component.scss";
|
12
|
+
@import "../src/components/lib/coer-tab/coer-tab.component.scss";
|
@@ -14,6 +14,6 @@
|
|
14
14
|
height: 0px !important;
|
15
15
|
}
|
16
16
|
|
17
|
-
@import "../components/lib/coer-page-title/coer-page-title.component.scss";
|
18
|
-
@import "../components/lib/coer-grid/coer-grid.component.scss";
|
19
|
-
@import "../components/lib/coer-modal/coer-modal.component.scss";
|
17
|
+
@import "../src/components/lib/coer-page-title/coer-page-title.component.scss";
|
18
|
+
@import "../src/components/lib/coer-grid/coer-grid.component.scss";
|
19
|
+
@import "../src/components/lib/coer-modal/coer-modal.component.scss";
|
package/tools/index.d.ts
CHANGED
@@ -2,8 +2,9 @@ export * from './lib/breadcrumbs.class';
|
|
2
2
|
export * from './lib/control-value.class';
|
3
3
|
export * from './lib/date-time.class';
|
4
4
|
export * from './lib/files.class';
|
5
|
-
export * from './lib/tools';
|
6
5
|
export * from './lib/menu.class';
|
7
6
|
export * from './lib/page.class';
|
8
7
|
export * from './lib/screen.class';
|
8
|
+
export * from './lib/service.class';
|
9
9
|
export * from './lib/source.class';
|
10
|
+
export * from './lib/tools';
|
@@ -1,7 +1,6 @@
|
|
1
1
|
import { Router } from '@angular/router';
|
2
2
|
import { AfterViewInit, OnDestroy } from '@angular/core';
|
3
|
-
import { IBreadcrumb } from '../../interfaces
|
4
|
-
import { IGoBack } from '../../interfaces/lib/page-title/go-back.interface';
|
3
|
+
import { IBreadcrumb, IGoBack } from '../../interfaces';
|
5
4
|
import { CoerAlert } from '../../components/lib/coer-alert/coer-alert.component';
|
6
5
|
import * as i0 from "@angular/core";
|
7
6
|
export declare class Page implements AfterViewInit, OnDestroy {
|
@@ -0,0 +1,39 @@
|
|
1
|
+
import { HttpClient } from "@angular/common/http";
|
2
|
+
import { CoerAlert } from "../../components/lib/coer-alert/coer-alert.component";
|
3
|
+
import { IHttpRequest, IHttpResponse } from "../../interfaces";
|
4
|
+
export declare class Service {
|
5
|
+
protected readonly alert: CoerAlert;
|
6
|
+
protected readonly http: HttpClient;
|
7
|
+
protected httpCode: {
|
8
|
+
Ok: number;
|
9
|
+
Created: number;
|
10
|
+
NoContent: number;
|
11
|
+
BadRequest: number;
|
12
|
+
Unauthorize: number;
|
13
|
+
NotFound: number;
|
14
|
+
NotAllowed: number;
|
15
|
+
NotAcceptable: number;
|
16
|
+
Conflict: number;
|
17
|
+
PayloadTooLarge: number;
|
18
|
+
InnerError: number;
|
19
|
+
};
|
20
|
+
private _GET$;
|
21
|
+
private _POST$;
|
22
|
+
private _PUT$;
|
23
|
+
private _PATCH$;
|
24
|
+
private _DELETE$;
|
25
|
+
/** */
|
26
|
+
private ReleaseSubscription;
|
27
|
+
/** HTTP GET */
|
28
|
+
protected HTTP_GET<T>(request: IHttpRequest<T>): Promise<IHttpResponse<T>>;
|
29
|
+
/** HTTP POST */
|
30
|
+
protected HTTP_POST<T>(request: IHttpRequest<T>): Promise<IHttpResponse<T>>;
|
31
|
+
/** HTTP PUT */
|
32
|
+
protected HTTP_PUT<T>(request: IHttpRequest<T>): Promise<IHttpResponse<void>>;
|
33
|
+
/** HTTP PATCH */
|
34
|
+
protected HTTP_PATCH<T>(request: IHttpRequest<T>): Promise<IHttpResponse<void>>;
|
35
|
+
/** HTTP DELETE */
|
36
|
+
protected HTTP_DELETE<T>(request: IHttpRequest<T>): Promise<IHttpResponse<void>>;
|
37
|
+
/** */
|
38
|
+
private AlertError;
|
39
|
+
}
|
@@ -1,3 +0,0 @@
|
|
1
|
-
export * from '../lib/coer-filebox/file-image.interface';
|
2
|
-
export * from '../lib/coer-filebox/file.interface';
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb2VyLWVsZW1lbnRzL3NyYy9pbnRlcmZhY2VzL2NvZXItZmlsZWJveC9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLDBDQUEwQyxDQUFDO0FBQ3pELGNBQWMsb0NBQW9DLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuLi9saWIvY29lci1maWxlYm94L2ZpbGUtaW1hZ2UuaW50ZXJmYWNlJztcclxuZXhwb3J0ICogZnJvbSAnLi4vbGliL2NvZXItZmlsZWJveC9maWxlLmludGVyZmFjZSc7ICJdfQ==
|
@@ -1,21 +0,0 @@
|
|
1
|
-
export * from '../lib/coer-grid/grid-button-by-row.interface';
|
2
|
-
export * from '../lib/coer-grid/grid-checkbox.interface';
|
3
|
-
export * from '../lib/coer-grid/grid-coer-numberbox.interface';
|
4
|
-
export * from '../lib/coer-grid/grid-coer-selectbox.interface';
|
5
|
-
export * from '../lib/coer-grid/grid-coer-switch.interface';
|
6
|
-
export * from '../lib/coer-grid/grid-coer-textbox.interface';
|
7
|
-
export * from '../lib/coer-grid/grid-column.interface';
|
8
|
-
export * from '../lib/coer-grid/grid-data-source.interface';
|
9
|
-
export * from '../lib/coer-grid/grid-header-button.interface';
|
10
|
-
export * from '../lib/coer-grid/grid-header-export-button.interface';
|
11
|
-
export * from '../lib/coer-grid/grid-header.interface';
|
12
|
-
export * from '../lib/coer-grid/grid-import.interface';
|
13
|
-
export * from '../lib/coer-grid/grid-input-checkbox.interface';
|
14
|
-
export * from '../lib/coer-grid/grid-input-switch-change.interface';
|
15
|
-
export * from '../lib/coer-grid/grid-input-textbox.interface';
|
16
|
-
export * from '../lib/coer-grid/grid-item.interface';
|
17
|
-
export * from '../lib/coer-grid/grid-keyup-enter.interface';
|
18
|
-
export * from '../lib/coer-grid/grid-length.interface';
|
19
|
-
export * from '../lib/coer-grid/grid-search.interface';
|
20
|
-
export * from '../lib/coer-grid/grid-sort.interface';
|
21
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb2VyLWVsZW1lbnRzL3NyYy9pbnRlcmZhY2VzL2NvZXItZ3JpZC9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLCtDQUErQyxDQUFDO0FBQzlELGNBQWMsMENBQTBDLENBQUM7QUFDekQsY0FBYyxnREFBZ0QsQ0FBQztBQUMvRCxjQUFjLGdEQUFnRCxDQUFDO0FBQy9ELGNBQWMsNkNBQTZDLENBQUM7QUFDNUQsY0FBYyw4Q0FBOEMsQ0FBQztBQUM3RCxjQUFjLHdDQUF3QyxDQUFDO0FBQ3ZELGNBQWMsNkNBQTZDLENBQUM7QUFDNUQsY0FBYywrQ0FBK0MsQ0FBQztBQUM5RCxjQUFjLHNEQUFzRCxDQUFDO0FBQ3JFLGNBQWMsd0NBQXdDLENBQUM7QUFDdkQsY0FBYyx3Q0FBd0MsQ0FBQztBQUN2RCxjQUFjLGdEQUFnRCxDQUFDO0FBQy9ELGNBQWMscURBQXFELENBQUM7QUFDcEUsY0FBYywrQ0FBK0MsQ0FBQztBQUM5RCxjQUFjLHNDQUFzQyxDQUFDO0FBQ3JELGNBQWMsNkNBQTZDLENBQUM7QUFDNUQsY0FBYyx3Q0FBd0MsQ0FBQztBQUN2RCxjQUFjLHdDQUF3QyxDQUFDO0FBQ3ZELGNBQWMsc0NBQXNDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuLi9saWIvY29lci1ncmlkL2dyaWQtYnV0dG9uLWJ5LXJvdy5pbnRlcmZhY2UnO1xyXG5leHBvcnQgKiBmcm9tICcuLi9saWIvY29lci1ncmlkL2dyaWQtY2hlY2tib3guaW50ZXJmYWNlJztcclxuZXhwb3J0ICogZnJvbSAnLi4vbGliL2NvZXItZ3JpZC9ncmlkLWNvZXItbnVtYmVyYm94LmludGVyZmFjZSc7XHJcbmV4cG9ydCAqIGZyb20gJy4uL2xpYi9jb2VyLWdyaWQvZ3JpZC1jb2VyLXNlbGVjdGJveC5pbnRlcmZhY2UnO1xyXG5leHBvcnQgKiBmcm9tICcuLi9saWIvY29lci1ncmlkL2dyaWQtY29lci1zd2l0Y2guaW50ZXJmYWNlJztcclxuZXhwb3J0ICogZnJvbSAnLi4vbGliL2NvZXItZ3JpZC9ncmlkLWNvZXItdGV4dGJveC5pbnRlcmZhY2UnO1xyXG5leHBvcnQgKiBmcm9tICcuLi9saWIvY29lci1ncmlkL2dyaWQtY29sdW1uLmludGVyZmFjZSc7XHJcbmV4cG9ydCAqIGZyb20gJy4uL2xpYi9jb2VyLWdyaWQvZ3JpZC1kYXRhLXNvdXJjZS5pbnRlcmZhY2UnO1xyXG5leHBvcnQgKiBmcm9tICcuLi9saWIvY29lci1ncmlkL2dyaWQtaGVhZGVyLWJ1dHRvbi5pbnRlcmZhY2UnO1xyXG5leHBvcnQgKiBmcm9tICcuLi9saWIvY29lci1ncmlkL2dyaWQtaGVhZGVyLWV4cG9ydC1idXR0b24uaW50ZXJmYWNlJztcclxuZXhwb3J0ICogZnJvbSAnLi4vbGliL2NvZXItZ3JpZC9ncmlkLWhlYWRlci5pbnRlcmZhY2UnO1xyXG5leHBvcnQgKiBmcm9tICcuLi9saWIvY29lci1ncmlkL2dyaWQtaW1wb3J0LmludGVyZmFjZSc7XHJcbmV4cG9ydCAqIGZyb20gJy4uL2xpYi9jb2VyLWdyaWQvZ3JpZC1pbnB1dC1jaGVja2JveC5pbnRlcmZhY2UnO1xyXG5leHBvcnQgKiBmcm9tICcuLi9saWIvY29lci1ncmlkL2dyaWQtaW5wdXQtc3dpdGNoLWNoYW5nZS5pbnRlcmZhY2UnO1xyXG5leHBvcnQgKiBmcm9tICcuLi9saWIvY29lci1ncmlkL2dyaWQtaW5wdXQtdGV4dGJveC5pbnRlcmZhY2UnO1xyXG5leHBvcnQgKiBmcm9tICcuLi9saWIvY29lci1ncmlkL2dyaWQtaXRlbS5pbnRlcmZhY2UnO1xyXG5leHBvcnQgKiBmcm9tICcuLi9saWIvY29lci1ncmlkL2dyaWQta2V5dXAtZW50ZXIuaW50ZXJmYWNlJztcclxuZXhwb3J0ICogZnJvbSAnLi4vbGliL2NvZXItZ3JpZC9ncmlkLWxlbmd0aC5pbnRlcmZhY2UnO1xyXG5leHBvcnQgKiBmcm9tICcuLi9saWIvY29lci1ncmlkL2dyaWQtc2VhcmNoLmludGVyZmFjZSc7XHJcbmV4cG9ydCAqIGZyb20gJy4uL2xpYi9jb2VyLWdyaWQvZ3JpZC1zb3J0LmludGVyZmFjZSc7Il19
|
@@ -1,2 +0,0 @@
|
|
1
|
-
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGF0Y2guaW50ZXJmYWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29lci1lbGVtZW50cy9zcmMvaW50ZXJmYWNlcy9saWIvcGF0Y2guaW50ZXJmYWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgaW50ZXJmYWNlIElQYXRjaCB7XHJcbiAgICBvcDogJ3JlbW92ZScgfCAnYWRkJyB8ICdyZXBsYWNlJztcclxuICAgIHBhdGg6IHN0cmluZztcclxuICAgIHZhbHVlOiBhbnk7XHJcbn0iXX0=
|
@@ -1,3 +0,0 @@
|
|
1
|
-
export * from '../lib/page-title/breadcrumb.interface';
|
2
|
-
export * from '../lib/page-title/go-back.interface';
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb2VyLWVsZW1lbnRzL3NyYy9pbnRlcmZhY2VzL3BhZ2UtdGl0bGUvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyx3Q0FBd0MsQ0FBQztBQUN2RCxjQUFjLHFDQUFxQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi4vbGliL3BhZ2UtdGl0bGUvYnJlYWRjcnVtYi5pbnRlcmZhY2UnO1xyXG5leHBvcnQgKiBmcm9tICcuLi9saWIvcGFnZS10aXRsZS9nby1iYWNrLmludGVyZmFjZSc7Il19
|
@@ -1,20 +0,0 @@
|
|
1
|
-
export * from '../lib/coer-grid/grid-button-by-row.interface';
|
2
|
-
export * from '../lib/coer-grid/grid-checkbox.interface';
|
3
|
-
export * from '../lib/coer-grid/grid-coer-numberbox.interface';
|
4
|
-
export * from '../lib/coer-grid/grid-coer-selectbox.interface';
|
5
|
-
export * from '../lib/coer-grid/grid-coer-switch.interface';
|
6
|
-
export * from '../lib/coer-grid/grid-coer-textbox.interface';
|
7
|
-
export * from '../lib/coer-grid/grid-column.interface';
|
8
|
-
export * from '../lib/coer-grid/grid-data-source.interface';
|
9
|
-
export * from '../lib/coer-grid/grid-header-button.interface';
|
10
|
-
export * from '../lib/coer-grid/grid-header-export-button.interface';
|
11
|
-
export * from '../lib/coer-grid/grid-header.interface';
|
12
|
-
export * from '../lib/coer-grid/grid-import.interface';
|
13
|
-
export * from '../lib/coer-grid/grid-input-checkbox.interface';
|
14
|
-
export * from '../lib/coer-grid/grid-input-switch-change.interface';
|
15
|
-
export * from '../lib/coer-grid/grid-input-textbox.interface';
|
16
|
-
export * from '../lib/coer-grid/grid-item.interface';
|
17
|
-
export * from '../lib/coer-grid/grid-keyup-enter.interface';
|
18
|
-
export * from '../lib/coer-grid/grid-length.interface';
|
19
|
-
export * from '../lib/coer-grid/grid-search.interface';
|
20
|
-
export * from '../lib/coer-grid/grid-sort.interface';
|
@@ -1,20 +0,0 @@
|
|
1
|
-
export * from '../lib/coer-grid/grid-button-by-row.interface';
|
2
|
-
export * from '../lib/coer-grid/grid-checkbox.interface';
|
3
|
-
export * from '../lib/coer-grid/grid-coer-numberbox.interface';
|
4
|
-
export * from '../lib/coer-grid/grid-coer-selectbox.interface';
|
5
|
-
export * from '../lib/coer-grid/grid-coer-switch.interface';
|
6
|
-
export * from '../lib/coer-grid/grid-coer-textbox.interface';
|
7
|
-
export * from '../lib/coer-grid/grid-column.interface';
|
8
|
-
export * from '../lib/coer-grid/grid-data-source.interface';
|
9
|
-
export * from '../lib/coer-grid/grid-header-button.interface';
|
10
|
-
export * from '../lib/coer-grid/grid-header-export-button.interface';
|
11
|
-
export * from '../lib/coer-grid/grid-header.interface';
|
12
|
-
export * from '../lib/coer-grid/grid-import.interface';
|
13
|
-
export * from '../lib/coer-grid/grid-input-checkbox.interface';
|
14
|
-
export * from '../lib/coer-grid/grid-input-switch-change.interface';
|
15
|
-
export * from '../lib/coer-grid/grid-input-textbox.interface';
|
16
|
-
export * from '../lib/coer-grid/grid-item.interface';
|
17
|
-
export * from '../lib/coer-grid/grid-keyup-enter.interface';
|
18
|
-
export * from '../lib/coer-grid/grid-length.interface';
|
19
|
-
export * from '../lib/coer-grid/grid-search.interface';
|
20
|
-
export * from '../lib/coer-grid/grid-sort.interface';
|
package/src/interfaces/index.ts
DELETED
@@ -1,14 +0,0 @@
|
|
1
|
-
export interface IFileImage {
|
2
|
-
value: string | File | null | undefined;
|
3
|
-
name?: string;
|
4
|
-
width?: string;
|
5
|
-
maxWidth?: string;
|
6
|
-
height?: string;
|
7
|
-
maxHeight?: string;
|
8
|
-
marginTop?: string;
|
9
|
-
marginRight?: string;
|
10
|
-
marginBottom?: string;
|
11
|
-
marginLeft?: string;
|
12
|
-
allowDelete?: boolean;
|
13
|
-
allowExpand?: boolean;
|
14
|
-
}
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import { IGridItem } from "./grid-item.interface";
|
2
|
-
|
3
|
-
export interface IGridButtonByRow<T> {
|
4
|
-
showEditButton?: boolean | ((item: IGridItem<T>) => boolean);
|
5
|
-
showDeleteButton?: boolean | ((item: IGridItem<T>) => boolean);
|
6
|
-
showGoButton?: boolean | ((item: IGridItem<T>) => boolean);
|
7
|
-
}
|
@@ -1,12 +0,0 @@
|
|
1
|
-
export interface IGridCoerNumberBox {
|
2
|
-
isInput: boolean;
|
3
|
-
isDisabled?: boolean;
|
4
|
-
isValid?: boolean;
|
5
|
-
isInvalid?: boolean;
|
6
|
-
selectOnFocus?: boolean;
|
7
|
-
placeholder?: string;
|
8
|
-
textPosition?: 'left' | 'center' | 'right';
|
9
|
-
min?: number;
|
10
|
-
max?: number;
|
11
|
-
decimals?: number;
|
12
|
-
}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
export interface IGridCoerTextBox {
|
2
|
-
isInput: boolean;
|
3
|
-
isDisabled?: boolean;
|
4
|
-
isValid?: boolean;
|
5
|
-
isInvalid?: boolean;
|
6
|
-
selectOnFocus?: boolean;
|
7
|
-
placeholder?: string;
|
8
|
-
textPosition?: 'left' | 'center' | 'right';
|
9
|
-
minLength?: number;
|
10
|
-
maxLength?: number;
|
11
|
-
}
|
@@ -1,23 +0,0 @@
|
|
1
|
-
import { IGridCoerNumberBox } from "./grid-coer-numberbox.interface";
|
2
|
-
import { IGridCoerSelectBox } from "./grid-coer-selectbox.interface";
|
3
|
-
import { IGridCoerSwitch } from "./grid-coer-switch.interface";
|
4
|
-
import { IGridCoerTextBox } from "./grid-coer-textbox.interface";
|
5
|
-
import { IGridItem } from "./grid-item.interface";
|
6
|
-
|
7
|
-
export interface IGridColumn<T> {
|
8
|
-
property: string;
|
9
|
-
alias?: string;
|
10
|
-
width?: string;
|
11
|
-
textAlign?: 'left' | 'center' | 'right';
|
12
|
-
colorBlue?: boolean | ((item: IGridItem<T>) => boolean);
|
13
|
-
colorGreen?: boolean | ((item: IGridItem<T>) => boolean);
|
14
|
-
colorYellow?: boolean | ((item: IGridItem<T>) => boolean);
|
15
|
-
colorRed?: boolean | ((item: IGridItem<T>) => boolean);
|
16
|
-
typeNumber?: boolean | ((item: IGridItem<T>) => boolean);
|
17
|
-
typeDate?: boolean | ((item: IGridItem<T>) => boolean);
|
18
|
-
template?: string | ((item: IGridItem<T>) => string);
|
19
|
-
coerSwitch?: ((item: IGridItem<T>) => IGridCoerSwitch);
|
20
|
-
coerTextbox?: ((item: IGridItem<T>) => IGridCoerTextBox);
|
21
|
-
coerNumberbox?: ((item: IGridItem<T>) => IGridCoerNumberBox);
|
22
|
-
coerSelectbox?: ((item: IGridItem<T>) => IGridCoerSelectBox);
|
23
|
-
}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
import { TemplateRef, WritableSignal } from '@angular/core';
|
2
|
-
|
3
|
-
export interface ICoerRef {
|
4
|
-
coerRef: WritableSignal<string>;
|
5
|
-
title: WritableSignal<string>;
|
6
|
-
icon: WritableSignal<string>;
|
7
|
-
isDisabled: WritableSignal<boolean>;
|
8
|
-
show: WritableSignal<boolean>;
|
9
|
-
tooltip: WritableSignal<string>;
|
10
|
-
template: TemplateRef<any>;
|
11
|
-
}
|