@rxap/icon 16.0.0-dev.1 → 16.0.0-dev.3
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/CHANGELOG.md +143 -0
- package/README.md +4 -23
- package/esm2022/index.mjs +1 -1
- package/esm2022/lib/icon.module.mjs +15 -16
- package/esm2022/rxap-icon.mjs +1 -1
- package/fesm2022/rxap-icon.mjs +12 -12
- package/fesm2022/rxap-icon.mjs.map +1 -1
- package/lib/icon.module.d.ts +1 -1
- package/package.json +32 -38
- package/LICENSE +0 -21
- package/collection.json +0 -10
- package/migration.json +0 -4
- package/src/schematics/ng-add/index.d.ts +0 -2
- package/src/schematics/ng-add/index.js +0 -8
- package/src/schematics/ng-add/index.js.map +0 -1
- package/src/schematics/ng-add/schema.json +0 -7
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
# Change Log
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
|
+
|
|
6
|
+
# [16.0.0-dev.3](https://gitlab.com/rxap/packages/compare/@rxap/icon@16.0.0-dev.2...@rxap/icon@16.0.0-dev.3) (2023-07-10)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- update package dependency versions ([8479f5c](https://gitlab.com/rxap/packages/commit/8479f5c405a885cc0f300cec6156584e4c65d59c))
|
|
11
|
+
|
|
12
|
+
# [16.0.0-dev.2](https://gitlab.com/rxap/packages/compare/@rxap/icon@16.0.0-dev.1...@rxap/icon@16.0.0-dev.2) (2023-07-10)
|
|
13
|
+
|
|
14
|
+
### Bug Fixes
|
|
15
|
+
|
|
16
|
+
- restructure and merge mono repos packages, schematics, plugins and nest ([653b4cd](https://gitlab.com/rxap/packages/commit/653b4cd39fc92d322df9b3959651fea0aa6079da))
|
|
17
|
+
|
|
18
|
+
# [16.0.0-dev.1](https://gitlab.com/rxap/packages/compare/@rxap/icon@16.0.0-dev.0...@rxap/icon@16.0.0-dev.1) (2023-05-18)
|
|
19
|
+
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
22
|
+
- update rxap packagedependencies ([6e12567](https://gitlab.com/rxap/packages/commit/6e12567c05ee3c504da5079cb393660f2ab4cd30))
|
|
23
|
+
|
|
24
|
+
# [16.0.0-dev.0](https://gitlab.com/rxap/packages/compare/@rxap/icon@15.0.0...@rxap/icon@16.0.0-dev.0) (2023-05-18)
|
|
25
|
+
|
|
26
|
+
### chore
|
|
27
|
+
|
|
28
|
+
- upgrade to nrwl 16.x.x ([12dd87e](https://gitlab.com/rxap/packages/commit/12dd87ef38d465c8af33cd26f7d5d7714bf7c392))
|
|
29
|
+
|
|
30
|
+
### BREAKING CHANGES
|
|
31
|
+
|
|
32
|
+
- upgrade nrwl 16.x.x
|
|
33
|
+
|
|
34
|
+
# [15.0.0](https://gitlab.com/rxap/packages/compare/@rxap/icon@14.0.2...@rxap/icon@15.0.0) (2023-05-17)
|
|
35
|
+
|
|
36
|
+
### chore
|
|
37
|
+
|
|
38
|
+
- upgrade to nrwl 15.x.x ([ad95577](https://gitlab.com/rxap/packages/commit/ad95577538adc5cd134cde8d1ff3b8fad52c9c2b))
|
|
39
|
+
|
|
40
|
+
### BREAKING CHANGES
|
|
41
|
+
|
|
42
|
+
- upgrade nrwl 15.x.x
|
|
43
|
+
|
|
44
|
+
## [14.0.2](https://gitlab.com/rxap/packages/compare/@rxap/icon@14.0.1...@rxap/icon@14.0.2) (2022-12-13)
|
|
45
|
+
|
|
46
|
+
**Note:** Version bump only for package @rxap/icon
|
|
47
|
+
|
|
48
|
+
## [14.0.1](https://gitlab.com/rxap/packages/compare/@rxap/icon@13.0.0...@rxap/icon@14.0.1) (2022-09-17)
|
|
49
|
+
|
|
50
|
+
**Note:** Version bump only for package @rxap/icon
|
|
51
|
+
|
|
52
|
+
# [13.0.0](https://gitlab.com/rxap/packages/compare/@rxap/icon@13.0.0-next.1...@rxap/icon@13.0.0) (2022-09-11)
|
|
53
|
+
|
|
54
|
+
**Note:** Version bump only for package @rxap/icon
|
|
55
|
+
|
|
56
|
+
# [13.0.0-next.1](https://gitlab.com/rxap/packages/compare/@rxap/icon@13.0.0-next.0...@rxap/icon@13.0.0-next.1) (2022-03-29)
|
|
57
|
+
|
|
58
|
+
**Note:** Version bump only for package @rxap/icon
|
|
59
|
+
|
|
60
|
+
# [13.0.0-next.0](https://gitlab.com/rxap/packages/compare/@rxap/icon@12.0.6...@rxap/icon@13.0.0-next.0) (2022-02-19)
|
|
61
|
+
|
|
62
|
+
### Build System
|
|
63
|
+
|
|
64
|
+
- upgrade to nrwl/angular13.x.x ([f8920e7](https://gitlab.com/rxap/packages/commit/f8920e7dde7bd2d4b4efac2b7097543d51482f81))
|
|
65
|
+
|
|
66
|
+
### BREAKING CHANGES
|
|
67
|
+
|
|
68
|
+
- update the core nrwl/angular packages to 13.x.x
|
|
69
|
+
|
|
70
|
+
Signed-off-by: Merzough Münker <mmuenker@digitaix.com>
|
|
71
|
+
|
|
72
|
+
## [12.0.6](https://gitlab.com/rxap/packages/compare/@rxap/icon@12.0.5...@rxap/icon@12.0.6) (2021-06-24)
|
|
73
|
+
|
|
74
|
+
**Note:** Version bump only for package @rxap/icon
|
|
75
|
+
|
|
76
|
+
## [12.0.5](https://gitlab.com/rxap/packages/compare/@rxap/icon@12.0.4...@rxap/icon@12.0.5) (2021-06-23)
|
|
77
|
+
|
|
78
|
+
**Note:** Version bump only for package @rxap/icon
|
|
79
|
+
|
|
80
|
+
## [12.0.4](https://gitlab.com/rxap/packages/compare/@rxap/icon@12.0.3...@rxap/icon@12.0.4) (2021-06-23)
|
|
81
|
+
|
|
82
|
+
**Note:** Version bump only for package @rxap/icon
|
|
83
|
+
|
|
84
|
+
## [12.0.3](https://gitlab.com/rxap/packages/compare/@rxap/icon@12.0.2...@rxap/icon@12.0.3) (2021-06-14)
|
|
85
|
+
|
|
86
|
+
**Note:** Version bump only for package @rxap/icon
|
|
87
|
+
|
|
88
|
+
## [12.0.2](https://gitlab.com/rxap/packages/compare/@rxap/icon@11.0.7...@rxap/icon@12.0.2) (2021-06-09)
|
|
89
|
+
|
|
90
|
+
### Bug Fixes
|
|
91
|
+
|
|
92
|
+
- add readme generator ([aca8e49](https://gitlab.com/rxap/packages/commit/aca8e495f06d81edf14e56fdd1e6a3c2d7de4c50))
|
|
93
|
+
|
|
94
|
+
## [12.0.1](https://gitlab.com/rxap/packages/compare/@rxap/icon@12.0.0...@rxap/icon@12.0.1) (2021-05-24)
|
|
95
|
+
|
|
96
|
+
### Bug Fixes
|
|
97
|
+
|
|
98
|
+
- add readme generator ([aca8e49](https://gitlab.com/rxap/packages/commit/aca8e495f06d81edf14e56fdd1e6a3c2d7de4c50))
|
|
99
|
+
|
|
100
|
+
# [12.0.0](https://gitlab.com/rxap/packages/compare/@rxap/icon@11.0.6...@rxap/icon@12.0.0) (2021-05-24)
|
|
101
|
+
|
|
102
|
+
**Note:** Version bump only for package @rxap/icon
|
|
103
|
+
|
|
104
|
+
## [11.0.6](https://gitlab.com/rxap/packages/compare/@rxap/icon@11.0.5...@rxap/icon@11.0.6) (2021-04-30)
|
|
105
|
+
|
|
106
|
+
### Bug Fixes
|
|
107
|
+
|
|
108
|
+
- **schematics:** update module toesnext ([d1e2cd2](https://gitlab.com/rxap/packages/commit/d1e2cd252f3866471935131187b3acaefe2cca82))
|
|
109
|
+
- **schematics:** update to general schematicstsconfig ([83e5f9a](https://gitlab.com/rxap/packages/commit/83e5f9a0cf1810686a503425d87a5e4ae30b8c84))
|
|
110
|
+
|
|
111
|
+
## [11.0.5](https://gitlab.com/rxap/packages/compare/@rxap/icon@11.0.4...@rxap/icon@11.0.5) (2021-03-19)
|
|
112
|
+
|
|
113
|
+
### Bug Fixes
|
|
114
|
+
|
|
115
|
+
- update peer dependencies ([954fde4](https://gitlab.com/rxap/packages/commit/954fde47836ff0c1f25a77c33ff871ddc7685b6c))
|
|
116
|
+
|
|
117
|
+
## [11.0.4](https://gitlab.com/rxap/packages/compare/@rxap/icon@11.0.3...@rxap/icon@11.0.4) (2021-03-19)
|
|
118
|
+
|
|
119
|
+
### Bug Fixes
|
|
120
|
+
|
|
121
|
+
- update peer dependencies ([c7d1267](https://gitlab.com/rxap/packages/commit/c7d12671f3efc198985cddee92caa2558e74b023))
|
|
122
|
+
|
|
123
|
+
## [11.0.3](https://gitlab.com/rxap/packages/compare/@rxap/icon@11.0.2...@rxap/icon@11.0.3) (2021-02-04)
|
|
124
|
+
|
|
125
|
+
**Note:** Version bump only for package @rxap/icon
|
|
126
|
+
|
|
127
|
+
## [11.0.2](https://gitlab.com/rxap/packages/compare/@rxap/icon@11.0.1...@rxap/icon@11.0.2) (2021-01-15)
|
|
128
|
+
|
|
129
|
+
**Note:** Version bump only for package @rxap/icon
|
|
130
|
+
|
|
131
|
+
## [11.0.1](https://gitlab.com/rxap/packages/compare/@rxap/icon@11.0.0...@rxap/icon@11.0.1) (2021-01-12)
|
|
132
|
+
|
|
133
|
+
**Note:** Version bump only for package @rxap/icon
|
|
134
|
+
|
|
135
|
+
# [11.0.0](https://gitlab.com/rxap/packages/compare/@rxap/icon@10.0.0...@rxap/icon@11.0.0) (2021-01-03)
|
|
136
|
+
|
|
137
|
+
**Note:** Version bump only for package @rxap/icon
|
|
138
|
+
|
|
139
|
+
# 10.0.0 (2021-01-03)
|
|
140
|
+
|
|
141
|
+
### Bug Fixes
|
|
142
|
+
|
|
143
|
+
- custom property keygeneration ([b6e6d23](https://gitlab.com/rxap/packages/commit/b6e6d23215f0b35e0de2d35003b186a3d435b8e4))
|
package/README.md
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
@rxap/icon
|
|
2
|
-
======
|
|
1
|
+
# @rxap/icon
|
|
3
2
|
|
|
4
3
|
[](https://www.npmjs.com/package/@rxap/icon)
|
|
5
4
|
[](https://commitizen.github.io/cz-cli/)
|
|
@@ -8,29 +7,11 @@
|
|
|
8
7
|

|
|
9
8
|

|
|
10
9
|
|
|
11
|
-
> A utility packages to load svg icons for @angular/material.
|
|
12
|
-
|
|
13
10
|
- [Installation](#installation)
|
|
14
|
-
- [Schematics](#schematics)
|
|
15
11
|
|
|
16
12
|
# Installation
|
|
17
13
|
|
|
14
|
+
**Add the package to your workspace:**
|
|
15
|
+
```bash
|
|
16
|
+
yarn add @rxap/icon
|
|
18
17
|
```
|
|
19
|
-
ng add @rxap/icon
|
|
20
|
-
```
|
|
21
|
-
|
|
22
|
-
*Setup the package @rxap/icon for the workspace.*
|
|
23
|
-
|
|
24
|
-
# Schematics
|
|
25
|
-
|
|
26
|
-
## ng-add
|
|
27
|
-
> Setup the package @rxap/icon for the workspace.
|
|
28
|
-
|
|
29
|
-
```
|
|
30
|
-
ng g @rxap/icon:ng-add
|
|
31
|
-
```
|
|
32
|
-
|
|
33
|
-
Option | Type | Default | Description
|
|
34
|
-
--- | --- | --- | ---
|
|
35
|
-
|
|
36
|
-
|
package/esm2022/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export * from './lib/icon.module';
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9hbmd1bGFyL2ljb24vc3JjL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsbUJBQW1CLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2xpYi9pY29uLm1vZHVsZSc7XG4iXX0=
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Inject, InjectionToken, NgModule, } from '@angular/core';
|
|
2
2
|
import { HttpClientModule } from '@angular/common/http';
|
|
3
3
|
import { MatIconRegistry } from '@angular/material/icon';
|
|
4
4
|
import { DomSanitizer } from '@angular/platform-browser';
|
|
@@ -10,32 +10,31 @@ export function DefaultIconSvgFilePath() {
|
|
|
10
10
|
}
|
|
11
11
|
export const RXAP_ICON_ASSET_PATH = new InjectionToken('rxap/icon/asset-path', {
|
|
12
12
|
providedIn: 'root',
|
|
13
|
-
factory: DefaultIconSvgFilePath
|
|
13
|
+
factory: DefaultIconSvgFilePath,
|
|
14
14
|
});
|
|
15
|
-
class IconModule {
|
|
15
|
+
export class IconModule {
|
|
16
|
+
constructor(matIconRegistry, domSanitizer, path) {
|
|
17
|
+
matIconRegistry.addSvgIconSet(domSanitizer.bypassSecurityTrustResourceUrl(path));
|
|
18
|
+
}
|
|
16
19
|
static forRoot(path = DefaultIconSvgFilePath()) {
|
|
17
20
|
return {
|
|
18
21
|
ngModule: IconModule,
|
|
19
22
|
providers: [
|
|
20
23
|
{
|
|
21
24
|
provide: RXAP_ICON_ASSET_PATH,
|
|
22
|
-
useValue: path
|
|
23
|
-
}
|
|
24
|
-
]
|
|
25
|
+
useValue: path,
|
|
26
|
+
},
|
|
27
|
+
],
|
|
25
28
|
};
|
|
26
29
|
}
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
}
|
|
30
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: IconModule, deps: [{ token: MatIconRegistry }, { token: DomSanitizer }, { token: RXAP_ICON_ASSET_PATH }], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
31
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.2", ngImport: i0, type: IconModule, imports: [HttpClientModule] }); }
|
|
32
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: IconModule, imports: [HttpClientModule] }); }
|
|
30
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: IconModule, deps: [{ token: MatIconRegistry }, { token: DomSanitizer }, { token: RXAP_ICON_ASSET_PATH }], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
31
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.4", ngImport: i0, type: IconModule, imports: [HttpClientModule] }); }
|
|
32
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: IconModule, imports: [HttpClientModule] }); }
|
|
33
33
|
}
|
|
34
|
-
|
|
35
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: IconModule, decorators: [{
|
|
34
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: IconModule, decorators: [{
|
|
36
35
|
type: NgModule,
|
|
37
36
|
args: [{
|
|
38
|
-
imports: [HttpClientModule]
|
|
37
|
+
imports: [HttpClientModule],
|
|
39
38
|
}]
|
|
40
39
|
}], ctorParameters: function () { return [{ type: i1.MatIconRegistry, decorators: [{
|
|
41
40
|
type: Inject,
|
|
@@ -47,4 +46,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImpor
|
|
|
47
46
|
type: Inject,
|
|
48
47
|
args: [RXAP_ICON_ASSET_PATH]
|
|
49
48
|
}] }]; } });
|
|
50
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
49
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaWNvbi5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9hbmd1bGFyL2ljb24vc3JjL2xpYi9pY29uLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQ0ws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JY29uUmVnaXN0cnksXG4gICAgQEluamVjdChEb21TYW5pdGl6ZXIpIGRvbVNhbml0aXplcjogRG9tU2FuaXRpemVyLFxuICAgIEBJbmplY3QoUlhBUF9JQ09OX0FTU0VUX1BBVEgpIHBhdGg6IHN0cmluZyxcbiAgKSB7XG4gICAgbWF0SWNvblJlZ2lzdHJ5LmFkZFN2Z0ljb25TZXQoZG9tU2FuaXRpemVyLmJ5cGFzc1NlY3VyaXR5VHJ1c3RSZXNvdXJjZVVybChwYXRoKSk7XG4gIH1cblxuICBwdWJsaWMgc3RhdGljIGZvclJvb3QocGF0aDogc3RyaW5nID0gRGVmYXVsdEljb25TdmdGaWxlUGF0aCgpKTogTW9kdWxlV2l0aFByb3ZpZGVyczxJY29uTW9kdWxlPiB7XG4gICAgcmV0dXJuIHtcbiAgICAgIG5nTW9kdWxlOiBJY29uTW9kdWxlLFxuICAgICAgcHJvdmlkZXJzOiBbXG4gICAgICAgIHtcbiAgICAgICAgICBwcm92aWRlOiBSWEFQX0lDT05fQVNTRVRfUEFUSCxcbiAgICAgICAgICB1c2VWYWx1ZTogcGF0aCxcbiAgICAgICAgfSxcbiAgICAgIF0sXG4gICAgfTtcbiAgfVxuXG59XG4iXX0=
|
package/esm2022/rxap-icon.mjs
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* Generated bundle index. Do not edit.
|
|
3
3
|
*/
|
|
4
4
|
export * from './index';
|
|
5
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicnhhcC1pY29uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvYW5ndWxhci9pY29uL3NyYy9yeGFwLWljb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLFNBQVMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9pbmRleCc7XG4iXX0=
|
package/fesm2022/rxap-icon.mjs
CHANGED
|
@@ -11,31 +11,31 @@ function DefaultIconSvgFilePath() {
|
|
|
11
11
|
}
|
|
12
12
|
const RXAP_ICON_ASSET_PATH = new InjectionToken('rxap/icon/asset-path', {
|
|
13
13
|
providedIn: 'root',
|
|
14
|
-
factory: DefaultIconSvgFilePath
|
|
14
|
+
factory: DefaultIconSvgFilePath,
|
|
15
15
|
});
|
|
16
16
|
class IconModule {
|
|
17
|
+
constructor(matIconRegistry, domSanitizer, path) {
|
|
18
|
+
matIconRegistry.addSvgIconSet(domSanitizer.bypassSecurityTrustResourceUrl(path));
|
|
19
|
+
}
|
|
17
20
|
static forRoot(path = DefaultIconSvgFilePath()) {
|
|
18
21
|
return {
|
|
19
22
|
ngModule: IconModule,
|
|
20
23
|
providers: [
|
|
21
24
|
{
|
|
22
25
|
provide: RXAP_ICON_ASSET_PATH,
|
|
23
|
-
useValue: path
|
|
24
|
-
}
|
|
25
|
-
]
|
|
26
|
+
useValue: path,
|
|
27
|
+
},
|
|
28
|
+
],
|
|
26
29
|
};
|
|
27
30
|
}
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
}
|
|
31
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: IconModule, deps: [{ token: MatIconRegistry }, { token: DomSanitizer }, { token: RXAP_ICON_ASSET_PATH }], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
32
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.2", ngImport: i0, type: IconModule, imports: [HttpClientModule] }); }
|
|
33
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: IconModule, imports: [HttpClientModule] }); }
|
|
31
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: IconModule, deps: [{ token: MatIconRegistry }, { token: DomSanitizer }, { token: RXAP_ICON_ASSET_PATH }], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
32
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.4", ngImport: i0, type: IconModule, imports: [HttpClientModule] }); }
|
|
33
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: IconModule, imports: [HttpClientModule] }); }
|
|
34
34
|
}
|
|
35
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
35
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: IconModule, decorators: [{
|
|
36
36
|
type: NgModule,
|
|
37
37
|
args: [{
|
|
38
|
-
imports: [HttpClientModule]
|
|
38
|
+
imports: [HttpClientModule],
|
|
39
39
|
}]
|
|
40
40
|
}], ctorParameters: function () { return [{ type: i1.MatIconRegistry, decorators: [{
|
|
41
41
|
type: Inject,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rxap-icon.mjs","sources":["
|
|
1
|
+
{"version":3,"file":"rxap-icon.mjs","sources":["../../../../../packages/angular/icon/src/lib/icon.module.ts","../../../../../packages/angular/icon/src/rxap-icon.ts"],"sourcesContent":["import {\n Inject,\n InjectionToken,\n ModuleWithProviders,\n NgModule,\n} from '@angular/core';\nimport { HttpClientModule } from '@angular/common/http';\nimport { MatIconRegistry } from '@angular/material/icon';\nimport { DomSanitizer } from '@angular/platform-browser';\n\nexport function DefaultIconSvgFilePath() {\n return '/assets/mdi.svg';\n}\n\nexport const RXAP_ICON_ASSET_PATH = new InjectionToken('rxap/icon/asset-path', {\n providedIn: 'root',\n factory: DefaultIconSvgFilePath,\n});\n\n@NgModule({\n imports: [ HttpClientModule ],\n})\nexport class IconModule {\n\n constructor(\n @Inject(MatIconRegistry) matIconRegistry: MatIconRegistry,\n @Inject(DomSanitizer) domSanitizer: DomSanitizer,\n @Inject(RXAP_ICON_ASSET_PATH) path: string,\n ) {\n matIconRegistry.addSvgIconSet(domSanitizer.bypassSecurityTrustResourceUrl(path));\n }\n\n public static forRoot(path: string = DefaultIconSvgFilePath()): ModuleWithProviders<IconModule> {\n return {\n ngModule: IconModule,\n providers: [\n {\n provide: RXAP_ICON_ASSET_PATH,\n useValue: path,\n },\n ],\n };\n }\n\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;SAUgB,sBAAsB,GAAA;AACpC,IAAA,OAAO,iBAAiB,CAAC;AAC3B,CAAC;MAEY,oBAAoB,GAAG,IAAI,cAAc,CAAC,sBAAsB,EAAE;AAC7E,IAAA,UAAU,EAAE,MAAM;AAClB,IAAA,OAAO,EAAE,sBAAsB;AAChC,CAAA,EAAE;MAKU,UAAU,CAAA;AAErB,IAAA,WAAA,CAC2B,eAAgC,EACnC,YAA0B,EAClB,IAAY,EAAA;QAE1C,eAAe,CAAC,aAAa,CAAC,YAAY,CAAC,8BAA8B,CAAC,IAAI,CAAC,CAAC,CAAC;KAClF;AAEM,IAAA,OAAO,OAAO,CAAC,IAAA,GAAe,sBAAsB,EAAE,EAAA;QAC3D,OAAO;AACL,YAAA,QAAQ,EAAE,UAAU;AACpB,YAAA,SAAS,EAAE;AACT,gBAAA;AACE,oBAAA,OAAO,EAAE,oBAAoB;AAC7B,oBAAA,QAAQ,EAAE,IAAI;AACf,iBAAA;AACF,aAAA;SACF,CAAC;KACH;AApBU,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,kBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,UAAU,EAGX,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,eAAe,EACf,EAAA,EAAA,KAAA,EAAA,YAAY,aACZ,oBAAoB,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA,EAAA;AALnB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,UAAU,YAFV,gBAAgB,CAAA,EAAA,CAAA,CAAA,EAAA;AAEhB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,UAAU,YAFV,gBAAgB,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAEhB,UAAU,EAAA,UAAA,EAAA,CAAA;kBAHtB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,OAAO,EAAE,CAAE,gBAAgB,CAAE;AAC9B,iBAAA,CAAA;;0BAII,MAAM;2BAAC,eAAe,CAAA;;0BACtB,MAAM;2BAAC,YAAY,CAAA;;0BACnB,MAAM;2BAAC,oBAAoB,CAAA;;;AC3BhC;;AAEG;;;;"}
|
package/lib/icon.module.d.ts
CHANGED
|
@@ -6,8 +6,8 @@ import * as i1 from "@angular/common/http";
|
|
|
6
6
|
export declare function DefaultIconSvgFilePath(): string;
|
|
7
7
|
export declare const RXAP_ICON_ASSET_PATH: InjectionToken<string>;
|
|
8
8
|
export declare class IconModule {
|
|
9
|
-
static forRoot(path?: string): ModuleWithProviders<IconModule>;
|
|
10
9
|
constructor(matIconRegistry: MatIconRegistry, domSanitizer: DomSanitizer, path: string);
|
|
10
|
+
static forRoot(path?: string): ModuleWithProviders<IconModule>;
|
|
11
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<IconModule, never>;
|
|
12
12
|
static ɵmod: i0.ɵɵNgModuleDeclaration<IconModule, never, [typeof i1.HttpClientModule], never>;
|
|
13
13
|
static ɵinj: i0.ɵɵInjectorDeclaration<IconModule>;
|
package/package.json
CHANGED
|
@@ -1,49 +1,44 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rxap/icon",
|
|
3
|
-
"version": "16.0.0-dev.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
"
|
|
3
|
+
"version": "16.0.0-dev.3",
|
|
4
|
+
"peerDependencies": {
|
|
5
|
+
"@angular/common": "^16.1.4",
|
|
6
|
+
"@angular/core": "^16.1.4",
|
|
7
|
+
"@angular/material": "^16.1.4",
|
|
8
|
+
"@angular/platform-browser": "^16.1.4"
|
|
9
|
+
},
|
|
10
|
+
"sideEffects": false,
|
|
11
|
+
"dependencies": {
|
|
12
|
+
"tslib": "2.5.3"
|
|
13
|
+
},
|
|
14
|
+
"publishConfig": {
|
|
15
|
+
"access": "public",
|
|
16
|
+
"directory": "../../../dist/packages/angular/icon"
|
|
7
17
|
},
|
|
8
18
|
"keywords": [
|
|
9
19
|
"rxap",
|
|
10
|
-
"
|
|
11
|
-
"
|
|
12
|
-
"angular"
|
|
20
|
+
"angular",
|
|
21
|
+
"ngx"
|
|
13
22
|
],
|
|
14
|
-
"
|
|
15
|
-
"
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
"repository": "git@gitlab.com:rxap/packages.git",
|
|
19
|
-
"license": "MIT",
|
|
20
|
-
"schematics": "./collection.json",
|
|
21
|
-
"ng-update": {
|
|
22
|
-
"migrations": "./migration.json",
|
|
23
|
-
"packageGroup": [
|
|
24
|
-
"@rxap/icon",
|
|
25
|
-
"@rxap/schematics-utilities"
|
|
26
|
-
]
|
|
27
|
-
},
|
|
28
|
-
"publishConfig": {
|
|
29
|
-
"directory": "../../dist/libs/icon",
|
|
30
|
-
"access": "public"
|
|
23
|
+
"homepage": "https:/gitlab.com/rxap/packages/packages/angular/icon",
|
|
24
|
+
"bugs": {
|
|
25
|
+
"url": "https://gitlab.com/rxap/packages/-/issues",
|
|
26
|
+
"email": "incoming+rxap-packages-14898188-issue-@incoming.gitlab.com"
|
|
31
27
|
},
|
|
32
|
-
"
|
|
33
|
-
|
|
28
|
+
"license": "GPL-3.0-or-later",
|
|
29
|
+
"repository": {
|
|
30
|
+
"type": "git",
|
|
31
|
+
"url": "https://gitlab.com/rxap/packages.git",
|
|
32
|
+
"directory": "packages/angular/icon"
|
|
34
33
|
},
|
|
35
|
-
"
|
|
36
|
-
"
|
|
34
|
+
"author": {
|
|
35
|
+
"name": "Merzough Münker",
|
|
36
|
+
"email": "mmuenker@digitaix.com"
|
|
37
37
|
},
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
"@angular/common": "^16.0.2",
|
|
41
|
-
"@angular/core": "^16.0.2",
|
|
42
|
-
"@angular/material": "^16.0.1",
|
|
43
|
-
"@angular/platform-browser": "^16.0.2",
|
|
44
|
-
"@angular/platform-browser-dynamic": "^16.0.2",
|
|
45
|
-
"@rxap/schematics-utilities": "^16.0.0-dev.1"
|
|
38
|
+
"nx-migrations": {
|
|
39
|
+
"packageGroup": []
|
|
46
40
|
},
|
|
41
|
+
"gitHead": "9ad96f2d4db9225ab199d03fc172efff52609d5d",
|
|
47
42
|
"module": "fesm2022/rxap-icon.mjs",
|
|
48
43
|
"typings": "index.d.ts",
|
|
49
44
|
"exports": {
|
|
@@ -56,6 +51,5 @@
|
|
|
56
51
|
"esm": "./esm2022/rxap-icon.mjs",
|
|
57
52
|
"default": "./fesm2022/rxap-icon.mjs"
|
|
58
53
|
}
|
|
59
|
-
}
|
|
60
|
-
"sideEffects": false
|
|
54
|
+
}
|
|
61
55
|
}
|
package/LICENSE
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2021 Merzough Münker
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
package/collection.json
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"schematics": {
|
|
3
|
-
"ng-add": {
|
|
4
|
-
"description": "Setup the package @rxap/icon for the workspace.",
|
|
5
|
-
"factory": "./src/schematics/ng-add/index",
|
|
6
|
-
"schema": "./src/schematics/ng-add/schema.json"
|
|
7
|
-
}
|
|
8
|
-
},
|
|
9
|
-
"$schema": "../../node_modules/@angular-devkit/schematics/collection-schema.json"
|
|
10
|
-
}
|
package/migration.json
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const schematics_utilities_1 = require("@rxap/schematics-utilities");
|
|
4
|
-
function default_1() {
|
|
5
|
-
return (0, schematics_utilities_1.InstallPeerDependencies)();
|
|
6
|
-
}
|
|
7
|
-
exports.default = default_1;
|
|
8
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../libs/icon/src/schematics/ng-add/index.ts"],"names":[],"mappings":";;AACA,qEAAqE;AAErE;IACE,OAAO,IAAA,8CAAuB,GAAE,CAAC;AACnC,CAAC;AAFD,4BAEC"}
|