@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 +1 -1
- package/source/i18n/formatter.mjs +1 -0
- package/source/i18n/locale.mjs +1 -0
- package/source/i18n/provider.mjs +1 -0
- package/source/i18n/providers/embed.mjs +1 -0
- package/source/i18n/providers/fetch.mjs +1 -0
- package/source/i18n/translations.mjs +1 -0
- package/source/logging/handler/console.mjs +1 -0
- package/source/logging/handler.mjs +1 -0
- package/source/logging/logentry.mjs +1 -0
- package/source/logging/logger.mjs +1 -0
- package/source/net/webconnect/message.mjs +1 -1
- package/source/net/webconnect.mjs +1 -1
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.
|
|
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
|
/**
|
package/source/i18n/locale.mjs
CHANGED
|
@@ -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 {
|
package/source/i18n/provider.mjs
CHANGED
|
@@ -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,7 +25,7 @@ const dataSymbol = Symbol("@@data");
|
|
|
25
25
|
* @license AGPLv3
|
|
26
26
|
* @since 3.4.0
|
|
27
27
|
* @copyright Volker Schukai
|
|
28
|
-
* @summary
|
|
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
|
|
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
|
/**
|