@schukai/monster 3.111.0 → 3.112.1
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/CHANGELOG.md +24 -0
- package/package.json +1 -1
- package/source/components/content/camera.mjs +339 -329
- package/source/components/content/stylesheet/camera-capture.mjs +13 -6
- package/source/components/datatable/status.mjs +175 -177
- package/source/components/form/reload.mjs +1 -2
- package/source/components/form/util/fetch.mjs +5 -2
- package/source/components/layout/popper.mjs +1 -1
- package/source/components/layout/slider.mjs +1 -1
- package/source/components/time/month-calendar.mjs +824 -0
- package/source/components/time/style/month-calendar.pcss +100 -0
- package/source/components/time/stylesheet/month-calendar.mjs +38 -0
- package/source/components/time/timeline/collection.mjs +218 -0
- package/source/components/time/timeline/item.mjs +192 -0
- package/source/components/time/timeline/segment.mjs +169 -0
- package/source/components/time/timeline/style/segment.pcss +18 -0
- package/source/components/time/timeline/stylesheet/segment.mjs +38 -0
- package/source/components/tree-menu/tree-menu.mjs +36 -20
- package/source/data/datasource/server/restapi/data-fetch-error.mjs +3 -3
- package/source/data/datasource/server/restapi.mjs +1 -1
- package/source/data/transformer.mjs +60 -0
- package/source/monster.mjs +4 -0
- package/source/text/bracketed-key-value-hash.mjs +187 -187
- package/source/types/base.mjs +6 -5
- package/source/types/basewithoptions.mjs +4 -1
- package/source/types/internal.mjs +1 -1
- package/source/types/version.mjs +1 -1
- package/test/cases/monster.mjs +1 -1
- package/test/web/test.html +2 -2
- package/test/web/tests.js +1139 -977
@@ -17,6 +17,7 @@ import { extend } from "../data/extend.mjs";
|
|
17
17
|
import { Pathfinder } from "../data/pathfinder.mjs";
|
18
18
|
import { Base } from "./base.mjs";
|
19
19
|
import { validateObject } from "./validate.mjs";
|
20
|
+
import { isObject } from "./is.mjs";
|
20
21
|
|
21
22
|
export { BaseWithOptions };
|
22
23
|
|
@@ -28,6 +29,8 @@ export { BaseWithOptions };
|
|
28
29
|
* Classes that require the possibility of options can be derived directly from this class.
|
29
30
|
* Derived classes almost always override the `default` getter with their own values.
|
30
31
|
*
|
32
|
+
* This class is deprecated since 3.15.0. Use `BaseWithDefaults` instead.
|
33
|
+
*
|
31
34
|
* @license AGPLv3
|
32
35
|
* @since 1.13.0
|
33
36
|
* @copyright schukai GmbH
|
@@ -41,7 +44,7 @@ class BaseWithOptions extends Base {
|
|
41
44
|
constructor(options) {
|
42
45
|
super();
|
43
46
|
|
44
|
-
if (options
|
47
|
+
if (!isObject(options)) {
|
45
48
|
options = {};
|
46
49
|
}
|
47
50
|
|
package/source/types/version.mjs
CHANGED
package/test/cases/monster.mjs
CHANGED
package/test/web/test.html
CHANGED
@@ -9,8 +9,8 @@
|
|
9
9
|
</head>
|
10
10
|
<body>
|
11
11
|
<div id="headline" style="display: flex;align-items: center;justify-content: center;flex-direction: column;">
|
12
|
-
<h1 style='margin-bottom: 0.1em;'>Monster 3.
|
13
|
-
<div id="lastupdate" style='font-size:0.7em'>last update Sa
|
12
|
+
<h1 style='margin-bottom: 0.1em;'>Monster 3.112.0</h1>
|
13
|
+
<div id="lastupdate" style='font-size:0.7em'>last update Sa 8. Mär 00:49:17 CET 2025</div>
|
14
14
|
</div>
|
15
15
|
<div id="mocha-errors"
|
16
16
|
style="color: red;font-weight: bold;display: flex;align-items: center;justify-content: center;flex-direction: column;margin:20px;"></div>
|