@schukai/monster 4.133.0 → 4.134.0

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/package.json CHANGED
@@ -1 +1 @@
1
- {"author":"Volker Schukai","dependencies":{"@floating-ui/dom":"^1.7.6"},"description":"Monster is a simple library for creating fast, robust and lightweight websites.","homepage":"https://monsterjs.org/","keywords":["framework","web","dom","css","sass","mobile-first","app","front-end","templates","schukai","core","shopcloud","alvine","monster","buildmap","stack","observer","observable","uuid","node","nodelist","css-in-js","logger","log","theme"],"license":"AGPL 3.0","main":"source/monster.mjs","module":"source/monster.mjs","name":"@schukai/monster","repository":{"type":"git","url":"https://gitlab.schukai.com/oss/libraries/javascript/monster.git"},"type":"module","version":"4.133.0"}
1
+ {"author":"Volker Schukai","dependencies":{"@floating-ui/dom":"^1.7.6"},"description":"Monster is a simple library for creating fast, robust and lightweight websites.","homepage":"https://monsterjs.org/","keywords":["framework","web","dom","css","sass","mobile-first","app","front-end","templates","schukai","core","shopcloud","alvine","monster","buildmap","stack","observer","observable","uuid","node","nodelist","css-in-js","logger","log","theme"],"license":"AGPL 3.0","main":"source/monster.mjs","module":"source/monster.mjs","name":"@schukai/monster","repository":{"type":"git","url":"https://gitlab.schukai.com/oss/libraries/javascript/monster.git"},"type":"module","version":"4.134.0"}
@@ -35,6 +35,7 @@ const internalTranslationSymbol = Symbol("internalTranslation");
35
35
  * @license AGPLv3
36
36
  * @since 1.26.0
37
37
  * @copyright Volker Schukai
38
+ * @summary An i18n formatter for locale-aware number, date and text presentation.
38
39
  */
39
40
  class Formatter extends TextFormatter {
40
41
  /**
@@ -68,6 +68,7 @@ const localeStringSymbol = Symbol("localeString");
68
68
  * @license AGPLv3
69
69
  * @since 1.13.0
70
70
  * @copyright Volker Schukai
71
+ * @summary A locale value object for parsing, validating and formatting language-region identifiers.
71
72
  * @see https://datatracker.ietf.org/doc/html/rfc3066
72
73
  */
73
74
  class Locale extends Base {
@@ -41,6 +41,7 @@ const translationsLinkSymbol = Symbol.for(
41
41
  * @license AGPLv3
42
42
  * @since 1.13.0
43
43
  * @copyright Volker Schukai
44
+ * @summary A translation provider base class for loading and attaching locale-dependent text sources.
44
45
  * @see {@link https://datatracker.ietf.org/doc/html/rfc3066}
45
46
  */
46
47
  class Provider extends BaseWithOptions {
@@ -30,6 +30,7 @@ export { Embed };
30
30
  * @license AGPLv3
31
31
  * @since 1.13.0
32
32
  * @copyright Volker Schukai
33
+ * @summary A translation provider that reads embedded locale resources from the current document.
33
34
  * @see {@link https://datatracker.ietf.org/doc/html/rfc3066}
34
35
  */
35
36
  class Embed extends Provider {
@@ -31,6 +31,7 @@ export { Fetch };
31
31
  * @license AGPLv3
32
32
  * @since 1.13.0
33
33
  * @copyright Volker Schukai
34
+ * @summary A translation provider that loads locale resources from remote endpoints via fetch.
34
35
  * @see {@link https://datatracker.ietf.org/doc/html/rfc3066}
35
36
  * @tutorial i18n-locale-and-formatter
36
37
  */
@@ -39,6 +39,7 @@ export { Translations, getDocumentTranslations };
39
39
  * @license AGPLv3
40
40
  * @since 1.13.0
41
41
  * @copyright Volker Schukai
42
+ * @summary A translation registry for storing localized text keys and resolving plural-aware output.
42
43
  * @see https://datatracker.ietf.org/doc/html/rfc3066
43
44
  */
44
45
  class Translations extends Base {
@@ -25,6 +25,7 @@ export { ConsoleHandler };
25
25
  * @license AGPLv3
26
26
  * @since 1.5.0
27
27
  * @copyright Volker Schukai
28
+ * @summary A logging handler that writes Monster log entries to the browser console.
28
29
  */
29
30
  class ConsoleHandler extends Handler {
30
31
  /**
@@ -25,6 +25,7 @@ export { Handler };
25
25
  * @license AGPLv3
26
26
  * @since 1.5.0
27
27
  * @copyright Volker Schukai
28
+ * @summary A logging handler base class for processing and exporting log entries.
28
29
  */
29
30
  class Handler extends Base {
30
31
  constructor() {
@@ -23,6 +23,7 @@ export { LogEntry };
23
23
  * @license AGPLv3
24
24
  * @since 1.5.0
25
25
  * @copyright Volker Schukai
26
+ * @summary A log entry value object that stores level, message, context and timestamp information.
26
27
  */
27
28
  class LogEntry extends Base {
28
29
  /**
@@ -71,6 +71,7 @@ const OFF = 0;
71
71
  * @license AGPLv3
72
72
  * @since 1.5.0
73
73
  * @copyright Volker Schukai
74
+ * @summary A logger for collecting log entries and forwarding them to one or more handlers.
74
75
  */
75
76
  class Logger extends Base {
76
77
  /**
@@ -25,7 +25,7 @@ const dataSymbol = Symbol("@@data");
25
25
  * @license AGPLv3
26
26
  * @since 3.4.0
27
27
  * @copyright Volker Schukai
28
- * @summary The Message class encapsulates a WebSocket message.
28
+ * @summary A structured WebSocket message object for typed payload exchange over WebConnect.
29
29
  */
30
30
  class Message extends Base {
31
31
  /**
@@ -213,7 +213,7 @@ function connectServer(resolve, reject) {
213
213
  * @license AGPLv3
214
214
  * @since 3.1.0
215
215
  * @copyright Volker Schukai
216
- * @summary The LocalStorage class encapsulates the access to data objects.
216
+ * @summary A WebSocket connection wrapper for sending, receiving and observing structured real-time messages.
217
217
  */
218
218
  class WebConnect extends BaseWithOptions {
219
219
  /**