@coreui/angular 2.11.2 → 2.11.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/README.md
CHANGED
|
@@ -1,81 +1,84 @@
|
|
|
1
|
-
# [@coreui/angular](https://coreui.io/angular)
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
[](https://github.com/coreui/coreui)
|
|
8
|
-
[![npm package][npm-coreui-badge]][npm-coreui]
|
|
9
|
-
[![
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
[npm-coreui-angular
|
|
14
|
-
[npm-coreui-angular-badge-
|
|
15
|
-
[npm-coreui-angular-
|
|
16
|
-
[npm-coreui-angular-next]: https://img.shields.io/npm/v/@coreui/angular/next?style=flat-square
|
|
17
|
-
[npm-coreui]: https://
|
|
18
|
-
[npm-coreui-
|
|
19
|
-
[npm-coreui
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
1
|
+
# [@coreui/angular](https://coreui.io/angular)
|
|
2
|
+
|
|
3
|
+

|
|
4
|
+
[![npm package][npm-coreui-angular-badge-v2]][npm-coreui-angular]
|
|
5
|
+
[![npm package][npm-coreui-angular-badge-latest]][npm-coreui-angular]
|
|
6
|
+
[![NPM downloads][npm-coreui-angular-download]][npm-coreui-angular]
|
|
7
|
+
[](https://github.com/coreui/coreui)
|
|
8
|
+
[![npm package][npm-coreui-badge-v2]][npm-coreui]
|
|
9
|
+
[![npm package][npm-coreui-badge]][npm-coreui]
|
|
10
|
+
[![NPM downloads][npm-coreui-download]][npm-coreui]
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
[npm-coreui-angular]: https://www.npmjs.com/package/@coreui/angular
|
|
14
|
+
[npm-coreui-angular-badge-v2]: https://img.shields.io/npm/v/@coreui/angular/v2-lts?style=flat-square&color=red
|
|
15
|
+
[npm-coreui-angular-badge-latest]: https://img.shields.io/npm/v/@coreui/angular/latest?style=flat-square&color=red
|
|
16
|
+
[npm-coreui-angular-badge-next]: https://img.shields.io/npm/v/@coreui/angular/next?style=flat-square&color=red
|
|
17
|
+
[npm-coreui-angular-download]: https://img.shields.io/npm/dm/@coreui/angular.svg?style=flat-square
|
|
18
|
+
[npm-coreui-angular-next]: https://img.shields.io/npm/v/@coreui/angular/next?style=flat-square
|
|
19
|
+
[npm-coreui]: https://www.npmjs.com/package/@coreui/coreui
|
|
20
|
+
[npm-coreui-badge]: https://img.shields.io/npm/v/@coreui/coreui/latest?style=flat-square
|
|
21
|
+
[npm-coreui-badge-v2]: https://img.shields.io/npm/v/@coreui/coreui/v2-lts?style=flat-square
|
|
22
|
+
[npm-coreui-download]: https://img.shields.io/npm/dm/@coreui/coreui.svg?style=flat-square
|
|
23
|
+
|
|
24
|
+
> [@coreui/angular](https://coreui.io/angular) v2 library project
|
|
25
|
+
> for use with [CoreUI](https://coreui.io/angular/) v2 Bootstrap Admin Template
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
#### Prerequisites
|
|
29
|
+
Before you begin, make sure your development environment includes `Node.js®` and an `npm` package manager.
|
|
30
|
+
|
|
31
|
+
###### Node.js
|
|
32
|
+
Angular 11 requires `Node.js` version 10.19 or later.
|
|
33
|
+
|
|
34
|
+
- To check your version, run `node -v` in a terminal/console window.
|
|
35
|
+
- To get `Node.js`, go to [nodejs.org](https://nodejs.org/).
|
|
36
|
+
|
|
37
|
+
###### Angular CLI
|
|
38
|
+
Install the Angular CLI globally using a terminal/console window.
|
|
39
|
+
```bash
|
|
40
|
+
npm install -g @angular/cli
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
##### Update to Angular 11
|
|
44
|
+
see: [https://update.angular.io](https://update.angular.io)
|
|
45
|
+
|
|
46
|
+
## CoreUI Installation
|
|
47
|
+
|
|
48
|
+
Several options are available:
|
|
49
|
+
|
|
50
|
+
### Clone repo
|
|
51
|
+
|
|
52
|
+
``` bash
|
|
53
|
+
$ git clone https://github.com/coreui/coreui-angular.git
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
### NPM
|
|
57
|
+
|
|
58
|
+
``` bash
|
|
59
|
+
$ npm install @coreui/angular --save
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
### Yarn
|
|
63
|
+
|
|
64
|
+
``` bash
|
|
65
|
+
$ yarn add @coreui/angular
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
## Usage
|
|
69
|
+
|
|
70
|
+
### CSS
|
|
71
|
+
|
|
72
|
+
Copy-paste the stylesheet `<link>` into your `<head>` before all other stylesheets to load our CSS.
|
|
73
|
+
|
|
74
|
+
``` html
|
|
75
|
+
<link rel="stylesheet" href="node_modules/@coreui/coreui/dist/css/coreui.min.css">
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
### Changelog
|
|
79
|
+
|
|
80
|
+
See the GitHub [release history](https://github.com/coreui/coreui-angular/releases).
|
|
81
|
+
|
|
82
|
+
### Contributing
|
|
83
|
+
|
|
84
|
+
See [CONTRIBUTING.md](https://github.com/coreui/coreui-angular/blob/master/CONTRIBUTING.md).
|
|
@@ -1290,10 +1290,16 @@
|
|
|
1290
1290
|
r[k] = a[j];
|
|
1291
1291
|
return r;
|
|
1292
1292
|
}
|
|
1293
|
-
function __spreadArray(to, from) {
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1293
|
+
function __spreadArray(to, from, pack) {
|
|
1294
|
+
if (pack || arguments.length === 2)
|
|
1295
|
+
for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
1296
|
+
if (ar || !(i in from)) {
|
|
1297
|
+
if (!ar)
|
|
1298
|
+
ar = Array.prototype.slice.call(from, 0, i);
|
|
1299
|
+
ar[i] = from[i];
|
|
1300
|
+
}
|
|
1301
|
+
}
|
|
1302
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
1297
1303
|
}
|
|
1298
1304
|
function __await(v) {
|
|
1299
1305
|
return this instanceof __await ? (this.v = v, this) : new __await(v);
|
|
@@ -1359,18 +1365,21 @@
|
|
|
1359
1365
|
function __importDefault(mod) {
|
|
1360
1366
|
return (mod && mod.__esModule) ? mod : { default: mod };
|
|
1361
1367
|
}
|
|
1362
|
-
function __classPrivateFieldGet(receiver,
|
|
1363
|
-
if (!
|
|
1364
|
-
throw new TypeError("
|
|
1365
|
-
|
|
1366
|
-
|
|
1368
|
+
function __classPrivateFieldGet(receiver, state, kind, f) {
|
|
1369
|
+
if (kind === "a" && !f)
|
|
1370
|
+
throw new TypeError("Private accessor was defined without a getter");
|
|
1371
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
1372
|
+
throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
1373
|
+
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
1367
1374
|
}
|
|
1368
|
-
function __classPrivateFieldSet(receiver,
|
|
1369
|
-
if (
|
|
1370
|
-
throw new TypeError("
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1375
|
+
function __classPrivateFieldSet(receiver, state, value, kind, f) {
|
|
1376
|
+
if (kind === "m")
|
|
1377
|
+
throw new TypeError("Private method is not writable");
|
|
1378
|
+
if (kind === "a" && !f)
|
|
1379
|
+
throw new TypeError("Private accessor was defined without a setter");
|
|
1380
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
1381
|
+
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
1382
|
+
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
1374
1383
|
}
|
|
1375
1384
|
|
|
1376
1385
|
var AppSidebarNavItemsComponent = /** @class */ (function () {
|