@rxap/icon 22.0.0-dev.1 → 22.0.0-dev.2

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.
Files changed (42) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/README.md +5 -3
  3. package/compodoc/changelog.html +16 -0
  4. package/compodoc/dependencies.html +1 -5
  5. package/compodoc/index.html +4 -3
  6. package/compodoc/js/search/search_index.js +2 -2
  7. package/compodoc/llms.txt +3 -1
  8. package/compodoc/miscellaneous/functions.html +81 -0
  9. package/compodoc/properties.html +1 -1
  10. package/docs/documentation.json +39 -15
  11. package/docs/html/classes/IconLoaderService.html +5 -5
  12. package/docs/html/functions/DefaultIconSvgFilePath.html +4 -4
  13. package/docs/html/functions/LoadIconSetsFactory.html +4 -4
  14. package/docs/html/functions/ProvideIconAssetPath.html +4 -4
  15. package/docs/html/hierarchy.html +4 -4
  16. package/docs/html/index.html +8 -7
  17. package/docs/html/modules.html +4 -4
  18. package/docs/html/variables/RXAP_ICON_ASSET_PATH.html +4 -4
  19. package/docs/markdown/README.md +6 -4
  20. package/docs/markdown/classes/IconLoaderService.md +3 -3
  21. package/docs/markdown/functions/DefaultIconSvgFilePath.md +2 -2
  22. package/docs/markdown/functions/LoadIconSetsFactory.md +2 -2
  23. package/docs/markdown/functions/ProvideIconAssetPath.md +2 -2
  24. package/docs/markdown/globals.md +2 -2
  25. package/docs/markdown/variables/RXAP_ICON_ASSET_PATH.md +2 -2
  26. package/docs/wiki/Class.IconLoaderService.md +2 -2
  27. package/docs/wiki/Function.DefaultIconSvgFilePath.md +1 -1
  28. package/docs/wiki/Function.LoadIconSetsFactory.md +1 -1
  29. package/docs/wiki/Function.ProvideIconAssetPath.md +1 -1
  30. package/docs/wiki/Home.md +5 -3
  31. package/docs/wiki/Variable.RXAP_ICON_ASSET_PATH.md +1 -1
  32. package/docs/wiki/globals.md +1 -1
  33. package/generators.json +16 -0
  34. package/package.json +10 -9
  35. package/src/generators/init/generator.js +120 -0
  36. package/src/generators/init/index.js +6 -0
  37. package/src/generators/init/schema.json +8 -0
  38. package/src/generators/package.json +3 -0
  39. package/compodoc/js/libs/vis.min.js +0 -47
  40. package/compodoc/js/menu-wc_es5.js +0 -40
  41. package/compodoc/modules/IconModule.html +0 -348
  42. package/theme.css +0 -1
@@ -1,40 +0,0 @@
1
- 'use strict';
2
-
3
- function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
4
- function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
5
- function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
6
- function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
7
- function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
8
- function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
9
- function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
10
- function _possibleConstructorReturn(t, e) { if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return _assertThisInitialized(t); }
11
- function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
12
- function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); }
13
- function _wrapNativeSuper(t) { var r = "function" == typeof Map ? new Map() : void 0; return _wrapNativeSuper = function _wrapNativeSuper(t) { if (null === t || !_isNativeFunction(t)) return t; if ("function" != typeof t) throw new TypeError("Super expression must either be null or a function"); if (void 0 !== r) { if (r.has(t)) return r.get(t); r.set(t, Wrapper); } function Wrapper() { return _construct(t, arguments, _getPrototypeOf(this).constructor); } return Wrapper.prototype = Object.create(t.prototype, { constructor: { value: Wrapper, enumerable: !1, writable: !0, configurable: !0 } }), _setPrototypeOf(Wrapper, t); }, _wrapNativeSuper(t); }
14
- function _construct(t, e, r) { if (_isNativeReflectConstruct()) return Reflect.construct.apply(null, arguments); var o = [null]; o.push.apply(o, e); var p = new (t.bind.apply(t, o))(); return r && _setPrototypeOf(p, r.prototype), p; }
15
- function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
16
- function _isNativeFunction(t) { try { return -1 !== Function.toString.call(t).indexOf("[native code]"); } catch (n) { return "function" == typeof t; } }
17
- function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
18
- function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
19
- customElements.define('compodoc-menu', /*#__PURE__*/function (_HTMLElement) {
20
- function _class() {
21
- var _this;
22
- _classCallCheck(this, _class);
23
- _this = _callSuper(this, _class);
24
- _this.isNormalMode = _this.getAttribute('mode') === 'normal';
25
- return _this;
26
- }
27
- _inherits(_class, _HTMLElement);
28
- return _createClass(_class, [{
29
- key: "connectedCallback",
30
- value: function connectedCallback() {
31
- this.render(this.isNormalMode);
32
- }
33
- }, {
34
- key: "render",
35
- value: function render(isNormalMode) {
36
- var tp = lithtml.html("\n <nav>\n <ul class=\"list\">\n <li class=\"title\">\n <a href=\"index.html\" data-type=\"index-link\">angular-icon</a>\n </li>\n\n <li class=\"divider\"></li>\n ".concat(isNormalMode ? "<div id=\"book-search-input\" role=\"search\"><input type=\"text\" placeholder=\"Type to search\"></div>" : '', "\n <li class=\"chapter\">\n <a data-type=\"chapter-link\" href=\"index.html\"><span class=\"icon ion-ios-home\"></span>Getting started</a>\n <ul class=\"links\">\n <li class=\"link\">\n <a href=\"overview.html\" data-type=\"chapter-link\">\n <span class=\"icon ion-ios-keypad\"></span>Overview\n </a>\n </li>\n <li class=\"link\">\n <a href=\"index.html\" data-type=\"chapter-link\">\n <span class=\"icon ion-ios-paper\"></span>README\n </a>\n </li>\n <li class=\"link\">\n <a href=\"changelog.html\" data-type=\"chapter-link\">\n <span class=\"icon ion-ios-paper\"></span>CHANGELOG\n </a>\n </li>\n <li class=\"link\">\n <a href=\"license.html\" data-type=\"chapter-link\">\n <span class=\"icon ion-ios-paper\"></span>LICENSE\n </a>\n </li>\n <li class=\"link\">\n <a href=\"todo.html\" data-type=\"chapter-link\">\n <span class=\"icon ion-ios-paper\"></span>TODO\n </a>\n </li>\n <li class=\"link\">\n <a href=\"dependencies.html\" data-type=\"chapter-link\">\n <span class=\"icon ion-ios-list\"></span>Dependencies\n </a>\n </li>\n <li class=\"link\">\n <a href=\"properties.html\" data-type=\"chapter-link\">\n <span class=\"icon ion-ios-apps\"></span>Properties\n </a>\n </li>\n </ul>\n </li>\n <li class=\"chapter\">\n <div class=\"simple menu-toggler\" data-bs-toggle=\"collapse\" ").concat(isNormalMode ? 'data-bs-target="#injectables-links"' : 'data-bs-target="#xs-injectables-links"', ">\n <span class=\"icon ion-md-arrow-round-down\"></span>\n <span>Injectables</span>\n <span class=\"icon ion-ios-arrow-down\"></span>\n </div>\n <ul class=\"links collapse \" ").concat(isNormalMode ? 'id="injectables-links"' : 'id="xs-injectables-links"', ">\n <li class=\"link\">\n <a href=\"injectables/IconLoaderService.html\" data-type=\"entity-link\" class=\"deprecated-name\">IconLoaderService</a>\n </li>\n </ul>\n </li>\n <li class=\"chapter\">\n <div class=\"simple menu-toggler\" data-bs-toggle=\"collapse\" ").concat(isNormalMode ? 'data-bs-target="#miscellaneous-links"' : 'data-bs-target="#xs-miscellaneous-links"', ">\n <span class=\"icon ion-ios-cube\"></span>\n <span>Miscellaneous</span>\n <span class=\"icon ion-ios-arrow-down\"></span>\n </div>\n <ul class=\"links collapse \" ").concat(isNormalMode ? 'id="miscellaneous-links"' : 'id="xs-miscellaneous-links"', ">\n <li class=\"link\">\n <a href=\"miscellaneous/functions.html\" data-type=\"entity-link\">Functions</a>\n </li>\n <li class=\"link\">\n <a href=\"miscellaneous/variables.html\" data-type=\"entity-link\">Variables</a>\n </li>\n </ul>\n </li>\n <li class=\"divider\"></li>\n <li class=\"copyright\">\n Documentation generated using <a href=\"https://compodoc.app/\" target=\"_blank\" rel=\"noopener noreferrer\">\n <img data-src=\"images/compodoc-vectorise.png\" class=\"img-responsive\" data-type=\"compodoc-logo\">\n </a>\n </li>\n </ul>\n </nav>\n "));
37
- this.innerHTML = tp.strings;
38
- }
39
- }]);
40
- }(/*#__PURE__*/_wrapNativeSuper(HTMLElement)));
@@ -1,348 +0,0 @@
1
- <!doctype html>
2
- <html class="no-js" lang="">
3
- <head>
4
- <meta charset="utf-8">
5
- <meta http-equiv="x-ua-compatible" content="ie=edge">
6
- <title>angular-icon</title>
7
- <meta name="description" content="">
8
- <meta name="viewport" content="width=device-width, initial-scale=1">
9
-
10
- <link rel="icon" type="image/x-icon" href="../images/favicon.ico">
11
- <link rel="stylesheet" href="../styles/style.css">
12
- <link rel="stylesheet" href="../styles/dark.css">
13
- </head>
14
- <body>
15
- <script>
16
- // Blocking script to avoid flickering dark mode
17
- // Dark mode toggle button
18
- var useDark = window.matchMedia('(prefers-color-scheme: dark)');
19
- var darkModeState = useDark.matches;
20
- var $darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
21
- var $darkModeToggles = document.querySelectorAll('.dark-mode-switch');
22
- var darkModeStateLocal = localStorage.getItem('compodoc_darkmode-state');
23
-
24
- function checkToggle(check) {
25
- for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
26
- $darkModeToggleSwitchers[i].checked = check;
27
- }
28
- }
29
-
30
- function toggleDarkMode(state) {
31
- if (window.localStorage) {
32
- localStorage.setItem('compodoc_darkmode-state', state);
33
- }
34
-
35
- checkToggle(state);
36
-
37
- const hasClass = document.body.classList.contains('dark');
38
-
39
- if (state) {
40
- for (var i = 0; i < $darkModeToggles.length; i++) {
41
- $darkModeToggles[i].classList.add('dark');
42
- }
43
- if (!hasClass) {
44
- document.body.classList.add('dark');
45
- }
46
- } else {
47
- for (var i = 0; i < $darkModeToggles.length; i++) {
48
- $darkModeToggles[i].classList.remove('dark');
49
- }
50
- if (hasClass) {
51
- document.body.classList.remove('dark');
52
- }
53
- }
54
- }
55
-
56
- useDark.addEventListener('change', function (evt) {
57
- toggleDarkMode(evt.matches);
58
- });
59
- if (darkModeStateLocal) {
60
- darkModeState = darkModeStateLocal === 'true';
61
- }
62
- toggleDarkMode(darkModeState);
63
- </script>
64
-
65
- <div class="navbar navbar-default navbar-fixed-top d-md-none p-0">
66
- <div class="d-flex">
67
- <a href="../" class="navbar-brand">angular-icon</a>
68
- <button type="button" class="btn btn-default btn-menu ion-ios-menu" id="btn-menu"></button>
69
- </div>
70
- </div>
71
-
72
- <div class="xs-menu menu" id="mobile-menu">
73
- <div id="book-search-input" role="search"><input type="text" placeholder="Type to search"></div> <compodoc-menu></compodoc-menu>
74
- </div>
75
-
76
- <div class="container-fluid main">
77
- <div class="row main">
78
- <div class="d-none d-md-block menu">
79
- <compodoc-menu mode="normal"></compodoc-menu>
80
- </div>
81
- <!-- START CONTENT -->
82
- <div class="content module">
83
- <div class="content-data">
84
-
85
-
86
-
87
- <ol class="breadcrumb">
88
- <li class="breadcrumb-item">Modules</li>
89
- <li class="breadcrumb-item"
90
- class="breadcrumb-item deprecated-name"
91
- >IconModule</li>
92
- </ol>
93
-
94
-
95
- <ul class="nav nav-tabs" role="tablist">
96
- <li class="nav-item">
97
- <a href="#info"
98
- class="nav-link"
99
- class="nav-link active"
100
- role="tab" id="info-tab" data-bs-toggle="tab" data-link="info">Info</a>
101
- </li>
102
- <li class="nav-item">
103
- <a href="#source"
104
- class="nav-link"
105
-
106
- role="tab" id="source-tab" data-bs-toggle="tab" data-link="source">Source</a>
107
- </li>
108
- </ul>
109
-
110
- <div class="tab-content">
111
- <div class="tab-pane fade active in" id="info">
112
-
113
- <p class="comment">
114
- <h3>File</h3>
115
- </p>
116
- <p class="comment">
117
- <code>src/lib/icon.module.ts</code>
118
- </p>
119
-
120
-
121
- <p class="comment">
122
- <h3 class="deprecated">Deprecated</h3>
123
- </p>
124
- <p class="comment">
125
- use the ProvideIconAssetPath function in the app.config.ts file
126
- </p>
127
-
128
-
129
-
130
- <div class="container-fluid module">
131
- <div class="row">
132
- </div>
133
- </div>
134
-
135
- <section data-compodoc="block-methods">
136
-
137
- <h3 id="methods">
138
- Methods
139
- </h3>
140
- <table class="table table-sm table-bordered">
141
- <tbody>
142
- <tr>
143
- <td class="col-md-4">
144
- <a name="forRoot"></a>
145
- <span class="name">
146
- <span class="modifier">Static</span>
147
- <span ><b>forRoot</b></span>
148
- <a href="#forRoot"><span class="icon ion-ios-link"></span></a>
149
- </span>
150
- </td>
151
- </tr>
152
- <tr>
153
- <td class="col-md-4">
154
- <span class="modifier-icon icon ion-ios-reset"></span>
155
- <code>forRoot(path: string | string[])</code>
156
- </td>
157
- </tr>
158
-
159
-
160
- <tr>
161
- <td class="col-md-4">
162
- <div class="io-line">Defined in <a href="" data-line="27"
163
- class="link-to-prism">src/lib/icon.module.ts:27</a></div>
164
- </td>
165
- </tr>
166
-
167
-
168
- <tr>
169
- <td class="col-md-4">
170
-
171
- <div class="io-description">
172
- <b>Parameters :</b>
173
-
174
- <table class="params">
175
- <thead>
176
- <tr>
177
- <td>Name</td>
178
- <td>Type</td>
179
- <td>Optional</td>
180
- <td>Default value</td>
181
- </tr>
182
- </thead>
183
- <tbody>
184
- <tr>
185
- <td>path</td>
186
- <td>
187
- <code>string | string[]</code>
188
- </td>
189
-
190
- <td>
191
- No
192
- </td>
193
-
194
- <td>
195
- <code>DefaultIconSvgFilePath()</code>
196
- </td>
197
-
198
- </tr>
199
- </tbody>
200
- </table>
201
- </div>
202
- <div class="io-description">
203
- <b>Returns : </b> <code><a href="../modules/IconModule.html" target="_self" >ModuleWithProviders&lt;IconModule&gt;</a></code>
204
-
205
- </div>
206
- <div class="io-description">
207
-
208
- </div>
209
- </td>
210
- </tr>
211
- </tbody>
212
- </table>
213
- </section>
214
- </div>
215
-
216
-
217
- <div class="tab-pane fade tab-source-code" id="source">
218
- <pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import {
219
- provideHttpClient,
220
- withInterceptorsFromDi,
221
- } from &#x27;@angular/common/http&#x27;;
222
- import {
223
- ModuleWithProviders,
224
- NgModule,
225
- } from &#x27;@angular/core&#x27;;
226
- import { IconLoaderService } from &#x27;./icon-loader.service&#x27;;
227
- import {
228
- DefaultIconSvgFilePath,
229
- RXAP_ICON_ASSET_PATH,
230
- } from &#x27;./tokens&#x27;;
231
-
232
- /**
233
- * @deprecated use the ProvideIconAssetPath function in the app.config.ts file
234
- */
235
- @NgModule({ imports: [], providers: [provideHttpClient(withInterceptorsFromDi())] })
236
- export class IconModule {
237
-
238
- constructor(
239
- iconLoaderService: IconLoaderService,
240
- ) {
241
- iconLoaderService.load();
242
- }
243
-
244
- public static forRoot(path: string | string[] &#x3D; DefaultIconSvgFilePath()): ModuleWithProviders&lt;IconModule&gt; {
245
- return {
246
- ngModule: IconModule,
247
- providers: [
248
- {
249
- provide: RXAP_ICON_ASSET_PATH,
250
- useValue: path,
251
- },
252
- ],
253
- };
254
- }
255
-
256
- }
257
- </code></pre>
258
- </div>
259
- </div>
260
-
261
-
262
-
263
-
264
-
265
-
266
-
267
-
268
-
269
-
270
-
271
-
272
-
273
-
274
-
275
-
276
-
277
- </div><div class="search-results">
278
- <div class="has-results">
279
- <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
280
- <ul class="search-results-list"></ul>
281
- </div>
282
- <div class="no-results">
283
- <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
284
- </div>
285
- </div>
286
- </div>
287
- <!-- END CONTENT -->
288
- </div>
289
- </div>
290
-
291
- <label class="dark-mode-switch">
292
- <input type="checkbox">
293
- <span class="slider">
294
- <svg class="slider-icon" viewBox="0 0 24 24" fill="none" height="20" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" width="20" xmlns="http://www.w3.org/2000/svg">
295
- <path d="M21 12.79A9 9 0 1111.21 3 7 7 0 0021 12.79z"></path>
296
- </svg>
297
- </span>
298
- </label>
299
-
300
- <script>
301
- var COMPODOC_CURRENT_PAGE_DEPTH = 1;
302
- var COMPODOC_CURRENT_PAGE_CONTEXT = 'module';
303
- var COMPODOC_CURRENT_PAGE_URL = 'IconModule.html';
304
- var MAX_SEARCH_RESULTS = 15;
305
- </script>
306
-
307
- <script>
308
- $darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
309
- checkToggle(darkModeState);
310
- if ($darkModeToggleSwitchers.length > 0) {
311
- for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
312
- $darkModeToggleSwitchers[i].addEventListener('change', function (event) {
313
- darkModeState = !darkModeState;
314
- toggleDarkMode(darkModeState);
315
- });
316
- }
317
- }
318
- </script>
319
-
320
- <script src="../js/libs/custom-elements.min.js"></script>
321
- <script src="../js/libs/lit-html.js"></script>
322
-
323
- <script src="../js/menu-wc.js" defer></script>
324
- <script nomodule src="../js/menu-wc_es5.js" defer></script>
325
-
326
- <script src="../js/libs/bootstrap-native.js"></script>
327
-
328
- <script src="../js/libs/es6-shim.min.js"></script>
329
- <script src="../js/libs/EventDispatcher.js"></script>
330
- <script src="../js/libs/promise.min.js"></script>
331
- <script src="../js/libs/zepto.min.js"></script>
332
-
333
- <script src="../js/compodoc.js"></script>
334
-
335
- <script src="../js/tabs.js"></script>
336
- <script src="../js/menu.js"></script>
337
- <script src="../js/libs/clipboard.min.js"></script>
338
- <script src="../js/libs/prism.js"></script>
339
- <script src="../js/sourceCode.js"></script>
340
- <script src="../js/search/search.js"></script>
341
- <script src="../js/search/lunr.min.js"></script>
342
- <script src="../js/search/search-lunr.js"></script>
343
- <script src="../js/search/search_index.js"></script>
344
- <script src="../js/lazy-load-graphs.js"></script>
345
-
346
-
347
- </body>
348
- </html>
package/theme.css DELETED
@@ -1 +0,0 @@
1
- .static{position:static}.relative{position:relative}.sticky{position:sticky}.block{display:block}.inline{display:inline}.contents{display:contents}.capitalize{text-transform:capitalize}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}