coer-elements 1.1.34 → 2.0.0
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/components/lib/coer-sidenav/coer-sidenav.component.d.ts +3 -5
- package/fesm2022/coer-elements-components.mjs +11 -17
- package/fesm2022/coer-elements-components.mjs.map +1 -1
- package/fesm2022/coer-elements-pages.mjs +11 -3
- package/fesm2022/coer-elements-pages.mjs.map +1 -1
- package/fesm2022/coer-elements-tools.mjs +10 -0
- package/fesm2022/coer-elements-tools.mjs.map +1 -1
- package/fesm2022/coer-elements.mjs.map +1 -1
- package/package.json +26 -8
- package/pages/lib/coer-menu/coer-menu.component.d.ts +6 -1
- package/tools/lib/service.class.d.ts +2 -0
- package/README.md +0 -63
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"coer-elements.mjs","sources":["../../../projects/coer-elements/index.ts","../../../projects/coer-elements/coer-elements.ts"],"sourcesContent":["import { NgModule } from '@angular/core'; \r\nimport 'coer-elements/extensions';\r\n\r\n//Components \r\nimport { CoerAlert }
|
1
|
+
{"version":3,"file":"coer-elements.mjs","sources":["../../../projects/coer-elements/index.ts","../../../projects/coer-elements/coer-elements.ts"],"sourcesContent":["import { NgModule } from '@angular/core'; \r\nimport 'coer-elements/extensions';\r\n\r\n//Components \r\nimport { CoerAlert } from 'coer-elements/tools';\r\nimport * as components from 'coer-elements/components';\r\nimport * as pages from 'coer-elements/pages';\r\nimport * as directives from 'coer-elements/directives';\r\nimport * as pipes from 'coer-elements/pipes'; \r\nimport * as services from 'coer-elements/services';\r\n\r\n\r\n@NgModule({ \r\n imports: [ \r\n components.ComponentsModule, \r\n pages.PagesModule,\r\n directives.DirectivesModule,\r\n pipes.PipesModule, \r\n services.ServicesModule,\r\n CoerAlert \r\n ],\r\n exports: [ \r\n CoerAlert,\r\n pages.COERSystem,\r\n pages.CoerMenuPage,\r\n pages.HomePage, \r\n pages.LoadingPage,\r\n components.CoerAccordion,\r\n components.CoerButton,\r\n components.CoerCheckbox,\r\n components.CoerDateBox,\r\n components.CoerFilebox,\r\n components.CoerForm,\r\n components.CoerGrid,\r\n components.CoerList, \r\n components.CoerModal,\r\n components.CoerNumberBox,\r\n components.CoerPageTitle,\r\n components.CoerSelectbox,\r\n components.CoerDropdown,\r\n components.CoerSidenav,\r\n components.CoerSwitch,\r\n components.CoerTextarea,\r\n components.CoerTab,\r\n components.CoerTextBox,\r\n components.CoerToolbar, \r\n directives.CoerRefDirective,\r\n directives.LifeCycleDirective,\r\n pipes.HtmlPipe,\r\n pipes.NoImagePipe,\r\n pipes.NumericFormatPipe \r\n ]\r\n})\r\nexport class CoerElementsModule { } \r\n\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1","i2","i3","i4","i5"],"mappings":";;;;;;;;;;MAqDa,kBAAkB,CAAA;8GAAlB,kBAAkB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;+GAAlB,kBAAkB,EAAA,OAAA,EAAA,CAAAA,UAAA,CAAA,gBAAA,EAAAC,KAAA,CAAA,WAAA,EAAAC,UAAA,CAAA,gBAAA,EAAAC,KAAA,CAAA,WAAA,EAAAC,QAAA,CAAA,cAAA,EAlCvB,SAAS,CAAA,EAAA,OAAA,EAAA,CAGT,SAAS,EAAAH,KAAA,CAAA,UAAA,EAAAA,KAAA,CAAA,YAAA,EAAAA,KAAA,CAAA,QAAA,EAAAA,KAAA,CAAA,WAAA,EAAAD,UAAA,CAAA,aAAA,EAAAA,UAAA,CAAA,UAAA,EAAAA,UAAA,CAAA,YAAA,EAAAA,UAAA,CAAA,WAAA,EAAAA,UAAA,CAAA,WAAA,EAAAA,UAAA,CAAA,QAAA,EAAAA,UAAA,CAAA,QAAA,EAAAA,UAAA,CAAA,QAAA,EAAAA,UAAA,CAAA,SAAA,EAAAA,UAAA,CAAA,aAAA,EAAAA,UAAA,CAAA,aAAA,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nB,wBAAA,UAAU,CAAC,QAAQ;AACnB,wBAAA,UAAU,CAAC,QAAQ;AACnB,wBAAA,UAAU,CAAC,SAAS;AACpB,wBAAA,UAAU,CAAC,aAAa;AACxB,wBAAA,UAAU,CAAC,aAAa;AACxB,wBAAA,UAAU,CAAC,aAAa;AACxB,wBAAA,UAAU,CAAC,YAAY;AACvB,wBAAA,UAAU,CAAC,WAAW;AACtB,wBAAA,UAAU,CAAC,UAAU;AACrB,wBAAA,UAAU,CAAC,YAAY;AACvB,wBAAA,UAAU,CAAC,OAAO;AAClB,wBAAA,UAAU,CAAC,WAAW;AACtB,wBAAA,UAAU,CAAC,WAAW;AACtB,wBAAA,UAAU,CAAC,gBAAgB;AAC3B,wBAAA,UAAU,CAAC,kBAAkB;AAC7B,wBAAA,KAAK,CAAC,QAAQ;AACd,wBAAA,KAAK,CAAC,WAAW;AACjB,wBAAA,KAAK,CAAC;AACT;AACJ,iBAAA;;;ACpDD;;AAEG;;;;"}
|
package/package.json
CHANGED
@@ -1,29 +1,47 @@
|
|
1
1
|
{
|
2
2
|
"name": "coer-elements",
|
3
|
-
"version": "
|
3
|
+
"version": "2.0.0",
|
4
4
|
"author": "Christian Omar Escamilla Rodríguez",
|
5
5
|
"keywords": [
|
6
|
-
"COER",
|
7
6
|
"Components",
|
8
7
|
"Directives",
|
8
|
+
"Extensions",
|
9
|
+
"Guards",
|
10
|
+
"Images",
|
11
|
+
"Interceptors",
|
12
|
+
"Interfaces",
|
13
|
+
"Pages",
|
9
14
|
"Pipes",
|
15
|
+
"Services",
|
16
|
+
"Signals",
|
17
|
+
"Styles",
|
10
18
|
"Tools"
|
11
19
|
],
|
12
|
-
"description": "",
|
20
|
+
"description": "Library for Angular projects",
|
13
21
|
"license": "MIT",
|
14
|
-
"homepage": "",
|
15
22
|
"repository": {
|
16
|
-
"type": "git"
|
17
|
-
"url": ""
|
23
|
+
"type": "git"
|
18
24
|
},
|
19
25
|
"peerDependencies": {
|
26
|
+
"@angular/animations": "^19.0.0",
|
27
|
+
"@angular/cdk": "^19.0.1",
|
20
28
|
"@angular/common": "^19.0.0",
|
29
|
+
"@angular/compiler": "^19.0.0",
|
21
30
|
"@angular/core": "^19.0.0",
|
31
|
+
"@angular/forms": "^19.0.0",
|
32
|
+
"@angular/material": "^19.0.1",
|
33
|
+
"@angular/platform-browser": "^19.0.0",
|
34
|
+
"@angular/platform-browser-dynamic": "^19.0.0",
|
35
|
+
"@angular/router": "^19.0.0",
|
36
|
+
"@auth0/angular-jwt": "^5.2.0",
|
37
|
+
"@fortawesome/fontawesome-free": "^6.7.1",
|
38
|
+
"rxjs": "~7.8.0",
|
22
39
|
"bootstrap": "^5.3.3",
|
23
40
|
"bootstrap-icons": "^1.11.3",
|
24
41
|
"moment": "^2.30.1",
|
25
|
-
"
|
26
|
-
"
|
42
|
+
"sweetalert2": "^11.14.5",
|
43
|
+
"file-saver": "^2.0.5",
|
44
|
+
"xlsx": "^0.18.5"
|
27
45
|
},
|
28
46
|
"dependencies": {
|
29
47
|
"tslib": "^2.3.0"
|
@@ -1,12 +1,17 @@
|
|
1
1
|
import { WritableSignal } from '@angular/core';
|
2
2
|
import { Page } from 'coer-elements/tools';
|
3
|
-
import { IMenuSelected } from 'coer-elements/interfaces';
|
3
|
+
import { IMenu, IMenuSelected } from 'coer-elements/interfaces';
|
4
4
|
import * as i0 from "@angular/core";
|
5
5
|
export declare class CoerMenuPage extends Page {
|
6
6
|
protected menu: WritableSignal<IMenuSelected | null>;
|
7
7
|
constructor();
|
8
|
+
protected _gridMenu: import("@angular/core").Signal<IMenu[]>;
|
8
9
|
/** */
|
9
10
|
protected RunPage(): void;
|
11
|
+
/** */
|
12
|
+
protected _isPage: (item: IMenu) => boolean;
|
13
|
+
/** */
|
14
|
+
protected _getPath: (item: IMenu) => string | null;
|
10
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<CoerMenuPage, never>;
|
11
16
|
static ɵcmp: i0.ɵɵComponentDeclaration<CoerMenuPage, "coer-menu-page", never, {}, {}, never, never, false, never>;
|
12
17
|
}
|
package/README.md
DELETED
@@ -1,63 +0,0 @@
|
|
1
|
-
# CoerElements
|
2
|
-
|
3
|
-
This project was generated using [Angular CLI](https://github.com/angular/angular-cli) version 19.0.0.
|
4
|
-
|
5
|
-
## Code scaffolding
|
6
|
-
|
7
|
-
Angular CLI includes powerful code scaffolding tools. To generate a new component, run:
|
8
|
-
|
9
|
-
```bash
|
10
|
-
ng generate component component-name
|
11
|
-
```
|
12
|
-
|
13
|
-
For a complete list of available schematics (such as `components`, `directives`, or `pipes`), run:
|
14
|
-
|
15
|
-
```bash
|
16
|
-
ng generate --help
|
17
|
-
```
|
18
|
-
|
19
|
-
## Building
|
20
|
-
|
21
|
-
To build the library, run:
|
22
|
-
|
23
|
-
```bash
|
24
|
-
ng build coer-elements
|
25
|
-
```
|
26
|
-
|
27
|
-
This command will compile your project, and the build artifacts will be placed in the `dist/` directory.
|
28
|
-
|
29
|
-
### Publishing the Library
|
30
|
-
|
31
|
-
Once the project is built, you can publish your library by following these steps:
|
32
|
-
|
33
|
-
1. Navigate to the `dist` directory:
|
34
|
-
```bash
|
35
|
-
cd dist/coer-elements
|
36
|
-
```
|
37
|
-
|
38
|
-
2. Run the `npm publish` command to publish your library to the npm registry:
|
39
|
-
```bash
|
40
|
-
npm publish
|
41
|
-
```
|
42
|
-
|
43
|
-
## Running unit tests
|
44
|
-
|
45
|
-
To execute unit tests with the [Karma](https://karma-runner.github.io) test runner, use the following command:
|
46
|
-
|
47
|
-
```bash
|
48
|
-
ng test
|
49
|
-
```
|
50
|
-
|
51
|
-
## Running end-to-end tests
|
52
|
-
|
53
|
-
For end-to-end (e2e) testing, run:
|
54
|
-
|
55
|
-
```bash
|
56
|
-
ng e2e
|
57
|
-
```
|
58
|
-
|
59
|
-
Angular CLI does not come with an end-to-end testing framework by default. You can choose one that suits your needs.
|
60
|
-
|
61
|
-
## Additional Resources
|
62
|
-
|
63
|
-
For more information on using the Angular CLI, including detailed command references, visit the [Angular CLI Overview and Command Reference](https://angular.dev/tools/cli) page.
|