@rxap/service-worker 22.0.0-dev.0 → 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 (109) hide show
  1. package/CHANGELOG.md +33 -0
  2. package/README.md +5 -3
  3. package/compodoc/architecture.html +222 -0
  4. package/compodoc/changelog.html +77 -5
  5. package/compodoc/components/ServiceWorkerUpdateDialogComponent.html +101 -57
  6. package/compodoc/dependencies.html +100 -23
  7. package/compodoc/index.html +50 -8
  8. package/compodoc/injectables/AutoUpdateService.html +77 -17
  9. package/compodoc/injectables/CheckForUpdateService.html +77 -17
  10. package/compodoc/injectables/DialogUpdateService.html +77 -17
  11. package/compodoc/injectables/LogUpdateService.html +77 -17
  12. package/compodoc/injectables/SnackbarUpdateService.html +77 -17
  13. package/compodoc/js/architecture-graph.js +288 -0
  14. package/compodoc/js/libs/bootstrap-native.js +4 -2
  15. package/compodoc/js/libs/jszip.min.js +13 -0
  16. package/compodoc/js/libs/svg-pan-zoom.min.js +3 -3
  17. package/compodoc/js/libs/tablesort.min.js +3 -3
  18. package/compodoc/js/libs/tablesort.number.min.js +3 -3
  19. package/compodoc/js/libs/vis-network.min.js +78 -0
  20. package/compodoc/js/menu-wc.js +25 -12
  21. package/compodoc/js/menu.js +10 -11
  22. package/compodoc/js/routes/routes_index.js +1 -0
  23. package/compodoc/js/routes.js +142 -34
  24. package/compodoc/js/search/search-lunr.js +6 -8
  25. package/compodoc/js/search/search.js +118 -66
  26. package/compodoc/js/search/search_index.js +2 -2
  27. package/compodoc/js/tabs.js +98 -15
  28. package/compodoc/js/tree.js +44 -7
  29. package/compodoc/license.html +48 -6
  30. package/compodoc/llms.txt +91 -0
  31. package/compodoc/miscellaneous/functions.html +139 -14
  32. package/compodoc/miscellaneous/variables.html +58 -5
  33. package/compodoc/modules.html +44 -3
  34. package/compodoc/overview.html +54 -3
  35. package/compodoc/properties.html +45 -4
  36. package/compodoc/routes.html +227 -0
  37. package/compodoc/styles/compodoc.css +365 -44
  38. package/compodoc/styles/dark.css +16 -0
  39. package/compodoc/template-playground/default-templates.json +192 -0
  40. package/compodoc/template-playground/hbs-render.service.ts +217 -0
  41. package/compodoc/template-playground/main.ts +9 -0
  42. package/compodoc/template-playground/template-editor.service.ts +173 -0
  43. package/compodoc/template-playground/template-playground.component.ts +614 -0
  44. package/compodoc/template-playground/template-playground.module.ts +29 -0
  45. package/compodoc/template-playground/zip-export.service.ts +86 -0
  46. package/compodoc/template-playground-app/app.js +1389 -0
  47. package/compodoc/template-playground-app/index.html +462 -0
  48. package/docs/documentation.json +182 -98
  49. package/docs/html/assets/highlight.css +1 -1
  50. package/docs/html/assets/icons.js +1 -1
  51. package/docs/html/assets/icons.svg +1 -1
  52. package/docs/html/assets/main.js +5 -5
  53. package/docs/html/assets/search.js +1 -1
  54. package/docs/html/assets/style.css +265 -228
  55. package/docs/html/classes/AutoUpdateService.html +74 -3
  56. package/docs/html/classes/CheckForUpdateService.html +74 -3
  57. package/docs/html/classes/DialogUpdateService.html +74 -3
  58. package/docs/html/classes/LogUpdateService.html +74 -3
  59. package/docs/html/classes/ServiceWorkerUpdateDialogComponent.html +102 -6
  60. package/docs/html/classes/SnackbarUpdateService.html +74 -3
  61. package/docs/html/functions/ProvideServiceWorkerUpdater.html +42 -1
  62. package/docs/html/functions/UnregisterServiceWorker.html +42 -1
  63. package/docs/html/functions/withAutoUpdater.html +38 -1
  64. package/docs/html/functions/withDialogUpdater.html +38 -1
  65. package/docs/html/functions/withLogUpdater.html +38 -1
  66. package/docs/html/functions/withSnackbarUpdater.html +38 -1
  67. package/docs/html/hierarchy.html +29 -0
  68. package/docs/html/index.html +44 -7
  69. package/docs/html/modules.html +44 -1
  70. package/docs/html/variables/UPDATE_AVAILABLE_EVENT.html +33 -1
  71. package/docs/markdown/README.md +6 -4
  72. package/docs/markdown/classes/AutoUpdateService.md +6 -6
  73. package/docs/markdown/classes/CheckForUpdateService.md +6 -6
  74. package/docs/markdown/classes/DialogUpdateService.md +6 -6
  75. package/docs/markdown/classes/LogUpdateService.md +6 -6
  76. package/docs/markdown/classes/ServiceWorkerUpdateDialogComponent.md +10 -10
  77. package/docs/markdown/classes/SnackbarUpdateService.md +6 -6
  78. package/docs/markdown/functions/ProvideServiceWorkerUpdater.md +2 -2
  79. package/docs/markdown/functions/UnregisterServiceWorker.md +2 -2
  80. package/docs/markdown/functions/withAutoUpdater.md +2 -2
  81. package/docs/markdown/functions/withDialogUpdater.md +2 -2
  82. package/docs/markdown/functions/withLogUpdater.md +2 -2
  83. package/docs/markdown/functions/withSnackbarUpdater.md +2 -2
  84. package/docs/markdown/globals.md +2 -2
  85. package/docs/markdown/variables/UPDATE_AVAILABLE_EVENT.md +2 -2
  86. package/docs/wiki/Class.AutoUpdateService.md +5 -5
  87. package/docs/wiki/Class.CheckForUpdateService.md +5 -5
  88. package/docs/wiki/Class.DialogUpdateService.md +5 -5
  89. package/docs/wiki/Class.LogUpdateService.md +5 -5
  90. package/docs/wiki/Class.ServiceWorkerUpdateDialogComponent.md +9 -9
  91. package/docs/wiki/Class.SnackbarUpdateService.md +5 -5
  92. package/docs/wiki/Function.ProvideServiceWorkerUpdater.md +1 -1
  93. package/docs/wiki/Function.UnregisterServiceWorker.md +1 -1
  94. package/docs/wiki/Function.withAutoUpdater.md +1 -1
  95. package/docs/wiki/Function.withDialogUpdater.md +1 -1
  96. package/docs/wiki/Function.withLogUpdater.md +1 -1
  97. package/docs/wiki/Function.withSnackbarUpdater.md +1 -1
  98. package/docs/wiki/Home.md +5 -3
  99. package/docs/wiki/Variable.UPDATE_AVAILABLE_EVENT.md +1 -1
  100. package/docs/wiki/globals.md +1 -1
  101. package/generators.json +16 -0
  102. package/package.json +30 -16
  103. package/src/generators/init/generator.js +120 -0
  104. package/src/generators/init/index.js +6 -0
  105. package/src/generators/init/schema.json +8 -0
  106. package/src/generators/package.json +3 -0
  107. package/compodoc/js/libs/vis.min.js +0 -47
  108. package/compodoc/js/menu-wc_es5.js +0 -40
  109. 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-service-worker</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=\"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="#components-links"' : 'data-bs-target="#xs-components-links"', ">\n <span class=\"icon ion-md-cog\"></span>\n <span>Components</span>\n <span class=\"icon ion-ios-arrow-down\"></span>\n </div>\n <ul class=\"links collapse \" ").concat(isNormalMode ? 'id="components-links"' : 'id="xs-components-links"', ">\n <li class=\"link\">\n <a href=\"components/ServiceWorkerUpdateDialogComponent.html\" data-type=\"entity-link\" >ServiceWorkerUpdateDialogComponent</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/AutoUpdateService.html\" data-type=\"entity-link\" >AutoUpdateService</a>\n </li>\n <li class=\"link\">\n <a href=\"injectables/CheckForUpdateService.html\" data-type=\"entity-link\" >CheckForUpdateService</a>\n </li>\n <li class=\"link\">\n <a href=\"injectables/DialogUpdateService.html\" data-type=\"entity-link\" >DialogUpdateService</a>\n </li>\n <li class=\"link\">\n <a href=\"injectables/LogUpdateService.html\" data-type=\"entity-link\" >LogUpdateService</a>\n </li>\n <li class=\"link\">\n <a href=\"injectables/SnackbarUpdateService.html\" data-type=\"entity-link\" >SnackbarUpdateService</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)));
package/theme.css DELETED
@@ -1 +0,0 @@
1
- .visible{visibility:visible}.static{position:static}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.block{display:block}.inline{display:inline}.flex{display:flex}.table{display:table}.contents{display:contents}.hidden{display:none}.max-w-6xl{max-width:72rem}.table-auto{table-layout:auto}.flex-col{flex-direction:column}.gap-3{gap:.75rem}.overflow-auto{overflow:auto}.rounded{border-radius:.25rem}.bg-primary-500{background-color:var(--primary-500)}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.p-4{padding:1rem}.p-6{padding:1.5rem}.px-4{padding-left:1rem;padding-right:1rem}.py-2{padding-top:.5rem}.pb-2,.py-2{padding-bottom:.5rem}.text-2xl{font-size:1.5rem;line-height:2rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.font-bold{font-weight:700}.capitalize{text-transform:capitalize}.text-black{--tw-text-opacity:1;color:rgb(0 0 0/var(--tw-text-opacity,1))}.drop-shadow-2xl{--tw-drop-shadow:drop-shadow(0 25px 25px rgba(0,0,0,.15))}.drop-shadow-2xl,.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)}.dark\:bg-black:where(.dark,.dark *){--tw-bg-opacity:1;background-color:rgb(0 0 0/var(--tw-bg-opacity,1))}.dark\:text-white:where(.dark,.dark *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}