@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
- [![npm package][npm-coreui-angular-badge-latest]][npm-coreui-angular]
4
- [![NPM downloads][npm-coreui-angular-download]][npm-coreui-angular]
5
- ![angular](https://img.shields.io/badge/angular-^11.2.0-lightgrey.svg?style=flat-square&logo=angular)
6
- [![npm-coreui-angular-next][npm-coreui-angular-badge-next]][npm-coreui-angular]
7
- [![@coreui coreui](https://img.shields.io/badge/@coreui%20-coreui-lightgrey.svg?style=flat-square)](https://github.com/coreui/coreui)
8
- [![npm package][npm-coreui-badge]][npm-coreui]
9
- [![NPM downloads][npm-coreui-download]][npm-coreui]
10
-
11
-
12
- [npm-coreui-angular]: https://www.npmjs.com/package/@coreui/angular
13
- [npm-coreui-angular-badge-latest]: https://img.shields.io/npm/v/@coreui/angular/latest?style=flat-square&color=red
14
- [npm-coreui-angular-badge-next]: https://img.shields.io/npm/v/@coreui/angular/next?style=flat-square&color=red
15
- [npm-coreui-angular-download]: https://img.shields.io/npm/dm/@coreui/angular.svg?style=flat-square
16
- [npm-coreui-angular-next]: https://img.shields.io/npm/v/@coreui/angular/next?style=flat-square
17
- [npm-coreui]: https://www.npmjs.com/package/@coreui/coreui
18
- [npm-coreui-badge]: https://img.shields.io/npm/v/@coreui/coreui.png?style=flat-square
19
- [npm-coreui-download]: https://img.shields.io/npm/dm/@coreui/coreui.svg?style=flat-square
20
-
21
- > [@coreui/angular](https://coreui.io/angular) v2 library project
22
- > for use with [CoreUI](https://coreui.io/angular/) v2 Bootstrap Admin Template
23
-
24
-
25
- #### Prerequisites
26
- Before you begin, make sure your development environment includes `Node.js®` and an `npm` package manager.
27
-
28
- ###### Node.js
29
- Angular 11 requires `Node.js` version 10.13 or later.
30
-
31
- - To check your version, run `node -v` in a terminal/console window.
32
- - To get `Node.js`, go to [nodejs.org](https://nodejs.org/).
33
-
34
- ###### Angular CLI
35
- Install the Angular CLI globally using a terminal/console window.
36
- ```bash
37
- npm install -g @angular/cli
38
- ```
39
-
40
- ##### Update to Angular 11
41
- see: [https://update.angular.io](https://update.angular.io)
42
-
43
- ## CoreUI Installation
44
-
45
- Several options are available:
46
-
47
- ### Clone repo
48
-
49
- ``` bash
50
- $ git clone https://github.com/coreui/coreui-angular.git
51
- ```
52
-
53
- ### NPM
54
-
55
- ``` bash
56
- $ npm install @coreui/angular --save
57
- ```
58
-
59
- ### Yarn
60
-
61
- ``` bash
62
- $ yarn add @coreui/angular
63
- ```
64
-
65
- ## Usage
66
-
67
- ### CSS
68
-
69
- Copy-paste the stylesheet `<link>` into your `<head>` before all other stylesheets to load our CSS.
70
-
71
- ``` html
72
- <link rel="stylesheet" href="node_modules/@coreui/coreui/dist/css/coreui.min.css">
73
- ```
74
-
75
- ### Changelog
76
-
77
- See the GitHub [release history](https://github.com/coreui/coreui-angular/releases).
78
-
79
- ### Contributing
80
-
81
- See [CONTRIBUTING.md](https://github.com/coreui/coreui-angular/blob/master/CONTRIBUTING.md).
1
+ # [@coreui/angular](https://coreui.io/angular)
2
+
3
+ ![angular](https://img.shields.io/badge/angular-^11.2.0-lightgrey.svg?style=flat-square&logo=angular)
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
+ [![@coreui coreui](https://img.shields.io/badge/@coreui%20-coreui-lightgrey.svg?style=flat-square)](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
- for (var i = 0, il = from.length, j = to.length; i < il; i++, j++)
1295
- to[j] = from[i];
1296
- return to;
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, privateMap) {
1363
- if (!privateMap.has(receiver)) {
1364
- throw new TypeError("attempted to get private field on non-instance");
1365
- }
1366
- return privateMap.get(receiver);
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, privateMap, value) {
1369
- if (!privateMap.has(receiver)) {
1370
- throw new TypeError("attempted to set private field on non-instance");
1371
- }
1372
- privateMap.set(receiver, value);
1373
- return value;
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 () {