@schukai/monster 3.80.5 → 3.81.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/CHANGELOG.md +11 -0
- package/package.json +1 -1
- package/source/components/constants.mjs +0 -13
- package/source/components/datatable/change-button.mjs +0 -1
- package/source/components/datatable/columnbar.mjs +0 -1
- package/source/components/datatable/constants.mjs +0 -12
- package/source/components/datatable/dataset.mjs +0 -1
- package/source/components/datatable/datasource/dom.mjs +0 -1
- package/source/components/datatable/datasource/rest.mjs +0 -1
- package/source/components/datatable/datasource.mjs +0 -1
- package/source/components/datatable/datatable/header.mjs +0 -1
- package/source/components/datatable/datatable.mjs +0 -1
- package/source/components/datatable/embedded-pagination.mjs +0 -1
- package/source/components/datatable/filter/abstract-base.mjs +0 -1
- package/source/components/datatable/filter/date-range.mjs +0 -1
- package/source/components/datatable/filter/input.mjs +0 -1
- package/source/components/datatable/filter/range.mjs +0 -1
- package/source/components/datatable/filter/select.mjs +0 -1
- package/source/components/datatable/filter/settings.mjs +0 -2
- package/source/components/datatable/filter-button.mjs +0 -1
- package/source/components/datatable/filter.mjs +0 -1
- package/source/components/datatable/pagination.mjs +0 -1
- package/source/components/datatable/status.mjs +0 -1
- package/source/components/datatable/stylesheet/change-button.mjs +1 -1
- package/source/components/datatable/stylesheet/column-bar.mjs +1 -1
- package/source/components/datatable/stylesheet/dataset.mjs +1 -1
- package/source/components/datatable/stylesheet/datatable.mjs +1 -1
- package/source/components/datatable/stylesheet/embedded-pagination.mjs +1 -1
- package/source/components/datatable/stylesheet/filter-button.mjs +1 -1
- package/source/components/datatable/stylesheet/filter-controls-defaults.mjs +1 -1
- package/source/components/datatable/stylesheet/filter-select.mjs +1 -1
- package/source/components/datatable/stylesheet/filter.mjs +1 -1
- package/source/components/datatable/stylesheet/pagination.mjs +1 -1
- package/source/components/datatable/stylesheet/save-button.mjs +1 -1
- package/source/components/datatable/stylesheet/status.mjs +1 -1
- package/source/components/form/action-button.mjs +0 -1
- package/source/components/form/api-button.mjs +0 -1
- package/source/components/form/button-bar.mjs +0 -1
- package/source/components/form/confirm-button.mjs +0 -2
- package/source/components/form/constants.mjs +0 -10
- package/source/components/form/context-error.mjs +0 -1
- package/source/components/form/message-state-button.mjs +0 -35
- package/source/components/form/popper-button.mjs +0 -2
- package/source/components/form/select.mjs +2 -4
- package/source/components/form/stylesheet/action-button.mjs +1 -1
- package/source/components/form/stylesheet/button-bar.mjs +1 -1
- package/source/components/form/stylesheet/context-error.mjs +1 -1
- package/source/components/form/stylesheet/context-help.mjs +1 -1
- package/source/components/form/stylesheet/select.mjs +1 -1
- package/source/components/form/template.mjs +0 -1
- package/source/components/form/tree-select.mjs +0 -2
- package/source/components/form/types/state.mjs +0 -2
- package/source/components/host/call-button.mjs +0 -3
- package/source/components/host/collapse.mjs +0 -1
- package/source/components/host/config-manager.mjs +0 -1
- package/source/components/host/constants.mjs +0 -1
- package/source/components/host/host.mjs +0 -1
- package/source/components/host/overlay.mjs +0 -1
- package/source/components/host/stylesheet/call-button.mjs +1 -1
- package/source/components/host/stylesheet/host.mjs +1 -1
- package/source/components/host/stylesheet/overlay.mjs +1 -1
- package/source/components/host/stylesheet/toggle-button.mjs +1 -1
- package/source/components/host/stylesheet/viewer.mjs +1 -1
- package/source/components/host/toggle-button.mjs +0 -1
- package/source/components/host/viewer.mjs +0 -1
- package/source/components/layout/iframe.mjs +5 -10
- package/source/components/layout/stylesheet/collapse.mjs +1 -1
- package/source/components/layout/stylesheet/details.mjs +1 -1
- package/source/components/layout/stylesheet/panel.mjs +1 -1
- package/source/components/layout/stylesheet/slider.mjs +1 -1
- package/source/components/layout/stylesheet/split-panel.mjs +1 -1
- package/source/components/layout/stylesheet/tabs.mjs +1 -1
- package/source/components/layout/stylesheet/width-toggle.mjs +1 -1
- package/source/components/navigation/stylesheet/table-of-content.mjs +1 -1
- package/source/components/notify/constants.mjs +0 -1
- package/source/components/notify/message.mjs +0 -1
- package/source/components/notify/notify.mjs +0 -1
- package/source/components/notify/stylesheet/message.mjs +1 -1
- package/source/components/state/log/entry.mjs +0 -1
- package/source/components/state/state.mjs +0 -6
- package/source/components/style/badge.css +2 -0
- package/source/components/style/border.css +2 -0
- package/source/components/style/button.css +2 -0
- package/source/components/style/card.css +2 -0
- package/source/components/style/color.css +2 -0
- package/source/components/style/common.css +2 -0
- package/source/components/style/control.css +2 -0
- package/source/components/style/data-grid.css +2 -0
- package/source/components/style/display.css +2 -0
- package/source/components/style/floating-ui.css +2 -0
- package/source/components/style/form.css +2 -0
- package/source/components/style/host.css +2 -0
- package/source/components/style/icons.css +2 -0
- package/source/components/style/link.css +2 -0
- package/source/components/style/normalize.css +2 -0
- package/source/components/style/popper.css +2 -0
- package/source/components/style/property.css +2 -0
- package/source/components/style/ripple.css +2 -0
- package/source/components/style/skeleton.css +2 -0
- package/source/components/style/space.css +2 -0
- package/source/components/style/spinner.css +2 -0
- package/source/components/style/table.css +2 -0
- package/source/components/style/theme.css +2 -0
- package/source/components/style/typography.css +2 -0
- package/source/components/stylesheet/card.mjs +1 -1
- package/source/components/stylesheet/icons.mjs +1 -1
- package/source/components/stylesheet/property.mjs +1 -1
- package/source/components/stylesheet/space.mjs +1 -1
- package/source/components/tree-menu/stylesheet/tree-menu.mjs +1 -1
- package/source/constants.mjs +0 -2
- package/source/constraints/abstract.mjs +0 -1
- package/source/constraints/abstractoperator.mjs +0 -1
- package/source/data/buildmap.mjs +0 -5
- package/source/data/buildtree.mjs +0 -1
- package/source/data/datasource/dom.mjs +0 -1
- package/source/data/datasource/server/restapi/data-fetch-error.mjs +0 -1
- package/source/data/datasource/server/restapi/writeerror.mjs +0 -1
- package/source/data/datasource/server/restapi.mjs +0 -2
- package/source/data/datasource/server/webconnect.mjs +0 -1
- package/source/data/datasource/server.mjs +0 -1
- package/source/data/datasource/storage/localstorage.mjs +0 -1
- package/source/data/datasource/storage/sessionstorage.mjs +0 -1
- package/source/data/datasource/storage.mjs +0 -1
- package/source/data/datasource.mjs +0 -2
- package/source/data/diff.mjs +0 -1
- package/source/data/extend.mjs +0 -1
- package/source/dom/assembler.mjs +0 -2
- package/source/dom/attributes.mjs +0 -13
- package/source/dom/constants.mjs +0 -59
- package/source/dom/customelement.mjs +0 -7
- package/source/dom/dimension.mjs +0 -2
- package/source/dom/events.mjs +0 -3
- package/source/dom/focusmanager.mjs +0 -1
- package/source/dom/locale.mjs +0 -1
- package/source/dom/ready.mjs +0 -2
- package/source/dom/resource/data.mjs +0 -1
- package/source/dom/resource/link/stylesheet.mjs +0 -1
- package/source/dom/resource/link.mjs +0 -1
- package/source/dom/resource/script.mjs +0 -1
- package/source/dom/resource.mjs +0 -1
- package/source/dom/resourcemanager.mjs +0 -1
- package/source/dom/template.mjs +0 -2
- package/source/dom/theme.mjs +0 -2
- package/source/dom/updater.mjs +0 -1
- package/source/dom/util.mjs +0 -7
- package/source/dom/worker/factory.mjs +0 -1
- package/source/i18n/locale.mjs +0 -3
- package/source/i18n/providers/fetch.mjs +0 -1
- package/source/logging/logentry.mjs +0 -1
- package/source/math/random.mjs +0 -1
- package/source/monster.mjs +0 -1
- package/source/net/webconnect.mjs +0 -1
- package/source/text/formatter.mjs +0 -1
- package/source/text/generate-range-comparison-expression.mjs +0 -1
- package/source/types/binary.mjs +0 -2
- package/source/types/global.mjs +0 -3
- package/source/types/id.mjs +0 -1
- package/source/types/internal.mjs +0 -1
- package/source/types/mediatype.mjs +0 -4
- package/source/types/node.mjs +0 -1
- package/source/types/validate.mjs +0 -10
- package/source/util/clone.mjs +0 -1
- package/source/util/comparator.mjs +0 -1
- package/source/util/freeze.mjs +0 -1
- package/source/util/runtime.mjs +0 -8
- package/source/util/trimspaces.mjs +0 -1
- package/source/components/stylesheet/mixin/form.mjs +0 -38
|
@@ -32,7 +32,6 @@ const storageObjectSymbol = Symbol.for(
|
|
|
32
32
|
* @license AGPLv3
|
|
33
33
|
* @since 1.22.0
|
|
34
34
|
* @copyright schukai GmbH
|
|
35
|
-
* @memberOf Monster.Data.Datasource
|
|
36
35
|
* @summary The Storage class encapsulates the access to data objects over WebStorageAPI.
|
|
37
36
|
*/
|
|
38
37
|
class Storage extends Datasource {
|
|
@@ -30,14 +30,12 @@ export { Datasource };
|
|
|
30
30
|
* @callback Monster.Data.Datasource~exampleCallback
|
|
31
31
|
* @param {*} value Value
|
|
32
32
|
* @param {string} key Key
|
|
33
|
-
* @memberOf Monster.Data
|
|
34
33
|
* @see Monster.Data.Datasource
|
|
35
34
|
*/
|
|
36
35
|
|
|
37
36
|
/**
|
|
38
37
|
* @private
|
|
39
38
|
* @type {symbol}
|
|
40
|
-
* @memberOf Monster.Data
|
|
41
39
|
* @license AGPLv3
|
|
42
40
|
* @since 1.24.0
|
|
43
41
|
*/
|
package/source/data/diff.mjs
CHANGED
package/source/data/extend.mjs
CHANGED
package/source/dom/assembler.mjs
CHANGED
|
@@ -23,7 +23,6 @@ export { ATTRIBUTEPREFIX, Assembler };
|
|
|
23
23
|
* attribute prefix
|
|
24
24
|
*
|
|
25
25
|
* @type {string}
|
|
26
|
-
* @memberOf Monster.DOM
|
|
27
26
|
*/
|
|
28
27
|
const ATTRIBUTEPREFIX = "data-monster-";
|
|
29
28
|
|
|
@@ -33,7 +32,6 @@ const ATTRIBUTEPREFIX = "data-monster-";
|
|
|
33
32
|
* @license AGPLv3
|
|
34
33
|
* @since 1.6.0
|
|
35
34
|
* @copyright schukai GmbH
|
|
36
|
-
* @memberOf Monster.DOM
|
|
37
35
|
* @summary Allows you to build an html fragment
|
|
38
36
|
*/
|
|
39
37
|
class Assembler extends Base {
|
|
@@ -48,7 +48,6 @@ export {
|
|
|
48
48
|
* @license AGPLv3
|
|
49
49
|
* @since 1.10.0
|
|
50
50
|
* @copyright schukai GmbH
|
|
51
|
-
* @memberOf Monster.DOM
|
|
52
51
|
* @throws {TypeError} value is not an instance of HTMLElement
|
|
53
52
|
*/
|
|
54
53
|
function findClosestObjectLink(element) {
|
|
@@ -61,7 +60,6 @@ function findClosestObjectLink(element) {
|
|
|
61
60
|
* @license AGPLv3
|
|
62
61
|
* @since 1.9.0
|
|
63
62
|
* @copyright schukai GmbH
|
|
64
|
-
* @memberOf Monster.DOM
|
|
65
63
|
* @param element
|
|
66
64
|
* @param symbol
|
|
67
65
|
* @param object
|
|
@@ -86,7 +84,6 @@ function addToObjectLink(element, symbol, object) {
|
|
|
86
84
|
* @license AGPLv3
|
|
87
85
|
* @since 1.9.0
|
|
88
86
|
* @copyright schukai GmbH
|
|
89
|
-
* @memberOf Monster.DOM
|
|
90
87
|
* @param {HTMLElement} element
|
|
91
88
|
* @param {Symbol} symbol
|
|
92
89
|
* @return {*}
|
|
@@ -110,7 +107,6 @@ function removeObjectLink(element, symbol) {
|
|
|
110
107
|
* @license AGPLv3
|
|
111
108
|
* @since 1.9.0
|
|
112
109
|
* @copyright schukai GmbH
|
|
113
|
-
* @memberOf Monster.DOM
|
|
114
110
|
* @param {HTMLElement} element
|
|
115
111
|
* @param {Symbol} symbol
|
|
116
112
|
* @return {boolean}
|
|
@@ -141,7 +137,6 @@ function hasObjectLink(element, symbol) {
|
|
|
141
137
|
* @license AGPLv3
|
|
142
138
|
* @since 1.9.0
|
|
143
139
|
* @copyright schukai GmbH
|
|
144
|
-
* @memberOf Monster.DOM
|
|
145
140
|
* @param {HTMLElement} element
|
|
146
141
|
* @param {Symbol} symbol
|
|
147
142
|
* @return {Iterator}
|
|
@@ -166,7 +161,6 @@ function getLinkedObjects(element, symbol) {
|
|
|
166
161
|
* @license AGPLv3
|
|
167
162
|
* @since 1.9.0
|
|
168
163
|
* @copyright schukai GmbH
|
|
169
|
-
* @memberOf Monster.DOM
|
|
170
164
|
* @param {HTMLElement} element
|
|
171
165
|
* @param {string} key
|
|
172
166
|
* @param {string} token
|
|
@@ -196,7 +190,6 @@ function toggleAttributeToken(element, key, token) {
|
|
|
196
190
|
* @license AGPLv3
|
|
197
191
|
* @since 1.9.0
|
|
198
192
|
* @copyright schukai GmbH
|
|
199
|
-
* @memberOf Monster.DOM
|
|
200
193
|
* @param {HTMLElement} element
|
|
201
194
|
* @param {string} key
|
|
202
195
|
* @param {string} token
|
|
@@ -228,7 +221,6 @@ function addAttributeToken(element, key, token) {
|
|
|
228
221
|
* @license AGPLv3
|
|
229
222
|
* @since 1.9.0
|
|
230
223
|
* @copyright schukai GmbH
|
|
231
|
-
* @memberOf Monster.DOM
|
|
232
224
|
* @param {HTMLElement} element
|
|
233
225
|
* @param {string} key
|
|
234
226
|
* @param {string} token
|
|
@@ -259,7 +251,6 @@ function removeAttributeToken(element, key, token) {
|
|
|
259
251
|
* @license AGPLv3
|
|
260
252
|
* @since 1.9.0
|
|
261
253
|
* @copyright schukai GmbH
|
|
262
|
-
* @memberOf Monster.DOM
|
|
263
254
|
* @param {HTMLElement} element
|
|
264
255
|
* @param {string} key
|
|
265
256
|
* @param {string} token
|
|
@@ -283,7 +274,6 @@ function containsAttributeToken(element, key, token) {
|
|
|
283
274
|
* @license AGPLv3
|
|
284
275
|
* @since 1.9.0
|
|
285
276
|
* @copyright schukai GmbH
|
|
286
|
-
* @memberOf Monster.DOM
|
|
287
277
|
* @param {HTMLElement} element
|
|
288
278
|
* @param {string} key
|
|
289
279
|
* @param {string} from
|
|
@@ -314,7 +304,6 @@ function replaceAttributeToken(element, key, from, to) {
|
|
|
314
304
|
* @license AGPLv3
|
|
315
305
|
* @since 1.9.0
|
|
316
306
|
* @copyright schukai GmbH
|
|
317
|
-
* @memberOf Monster.DOM
|
|
318
307
|
* @param {HTMLElement} element
|
|
319
308
|
* @param {string} key
|
|
320
309
|
* @return {HTMLElement}
|
|
@@ -354,7 +343,6 @@ function clearAttributeTokens(element, key) {
|
|
|
354
343
|
* @license AGPLv3
|
|
355
344
|
* @since 1.14.0
|
|
356
345
|
* @copyright schukai GmbH
|
|
357
|
-
* @memberOf Monster.DOM
|
|
358
346
|
* @param {HTMLElement} element
|
|
359
347
|
* @param {string} key
|
|
360
348
|
* @param {string|undefined} value
|
|
@@ -408,7 +396,6 @@ function findClosestByAttribute(element, key, value) {
|
|
|
408
396
|
* @license AGPLv3
|
|
409
397
|
* @since 1.27.0
|
|
410
398
|
* @copyright schukai GmbH
|
|
411
|
-
* @memberOf Monster.DOM
|
|
412
399
|
* @param {HTMLElement} element
|
|
413
400
|
* @param {string} className
|
|
414
401
|
* @return {HTMLElement|undefined}
|
package/source/dom/constants.mjs
CHANGED
|
@@ -76,13 +76,11 @@ export {
|
|
|
76
76
|
|
|
77
77
|
/**
|
|
78
78
|
* default theme
|
|
79
|
-
* @memberOf Monster.DOM
|
|
80
79
|
* @type {string}
|
|
81
80
|
*/
|
|
82
81
|
const DEFAULT_THEME = "monster";
|
|
83
82
|
|
|
84
83
|
/**
|
|
85
|
-
* @memberOf Monster.DOM
|
|
86
84
|
* @license AGPLv3
|
|
87
85
|
* @since 1.8.0
|
|
88
86
|
* @type {string}
|
|
@@ -92,7 +90,6 @@ const ATTRIBUTE_PREFIX = "data-monster-";
|
|
|
92
90
|
/**
|
|
93
91
|
* This is the name of the attribute to pass options to a control
|
|
94
92
|
*
|
|
95
|
-
* @memberOf Monster.DOM
|
|
96
93
|
* @license AGPLv3
|
|
97
94
|
* @since 1.8.0
|
|
98
95
|
* @type {string}
|
|
@@ -102,7 +99,6 @@ const ATTRIBUTE_OPTIONS = `${ATTRIBUTE_PREFIX}options`;
|
|
|
102
99
|
/**
|
|
103
100
|
* This is name of the attribute to pass the script host to a control
|
|
104
101
|
*
|
|
105
|
-
* @memberOf Monster.DOM
|
|
106
102
|
* @license AGPLv3
|
|
107
103
|
* @since 3.48.0
|
|
108
104
|
* @type {string}
|
|
@@ -112,7 +108,6 @@ const ATTRIBUTE_SCRIPT_HOST = `${ATTRIBUTE_PREFIX}script-host`;
|
|
|
112
108
|
/**
|
|
113
109
|
* This is the name of the attribute to pass options to a control
|
|
114
110
|
*
|
|
115
|
-
* @memberOf Monster.DOM
|
|
116
111
|
* @license AGPLv3
|
|
117
112
|
* @since 1.30.0
|
|
118
113
|
* @type {string}
|
|
@@ -122,7 +117,6 @@ const ATTRIBUTE_OPTIONS_SELECTOR = `${ATTRIBUTE_PREFIX}options-selector`;
|
|
|
122
117
|
/**
|
|
123
118
|
* This is the name of the attribute to pass the callback to a control
|
|
124
119
|
*
|
|
125
|
-
* @memberOf Monster.DOM
|
|
126
120
|
* @license AGPLv3
|
|
127
121
|
* @since 3.48.0
|
|
128
122
|
* @type {string}
|
|
@@ -132,7 +126,6 @@ const ATTRIBUTE_INIT_CALLBACK = `${ATTRIBUTE_PREFIX}init-callback`;
|
|
|
132
126
|
/**
|
|
133
127
|
* This is the name of the callback to pass the callback to a control
|
|
134
128
|
*
|
|
135
|
-
* @memberOf Monster.DOM
|
|
136
129
|
* @license AGPLv3
|
|
137
130
|
* @since 3.48.0
|
|
138
131
|
* @type {string}
|
|
@@ -140,7 +133,6 @@ const ATTRIBUTE_INIT_CALLBACK = `${ATTRIBUTE_PREFIX}init-callback`;
|
|
|
140
133
|
const initControlCallbackName = `initCustomControlCallback`;
|
|
141
134
|
|
|
142
135
|
/**
|
|
143
|
-
* @memberOf Monster.DOM
|
|
144
136
|
* @type {string}
|
|
145
137
|
* @license AGPLv3
|
|
146
138
|
* @since 1.8.0
|
|
@@ -148,13 +140,11 @@ const initControlCallbackName = `initCustomControlCallback`;
|
|
|
148
140
|
const ATTRIBUTE_THEME_PREFIX = `${ATTRIBUTE_PREFIX}theme-`;
|
|
149
141
|
|
|
150
142
|
/**
|
|
151
|
-
* @memberOf Monster.DOM
|
|
152
143
|
* @type {string}
|
|
153
144
|
*/
|
|
154
145
|
const ATTRIBUTE_THEME_NAME = `${ATTRIBUTE_THEME_PREFIX}name`;
|
|
155
146
|
|
|
156
147
|
/**
|
|
157
|
-
* @memberOf Monster.DOM
|
|
158
148
|
* @type {string}
|
|
159
149
|
* @license AGPLv3
|
|
160
150
|
* @since 1.8.0
|
|
@@ -162,7 +152,6 @@ const ATTRIBUTE_THEME_NAME = `${ATTRIBUTE_THEME_PREFIX}name`;
|
|
|
162
152
|
const ATTRIBUTE_UPDATER_ATTRIBUTES = `${ATTRIBUTE_PREFIX}attributes`;
|
|
163
153
|
|
|
164
154
|
/**
|
|
165
|
-
* @memberOf Monster.DOM
|
|
166
155
|
* @type {string}
|
|
167
156
|
* @license AGPLv3
|
|
168
157
|
* @since 1.27.1
|
|
@@ -170,7 +159,6 @@ const ATTRIBUTE_UPDATER_ATTRIBUTES = `${ATTRIBUTE_PREFIX}attributes`;
|
|
|
170
159
|
const ATTRIBUTE_UPDATER_SELECT_THIS = `${ATTRIBUTE_PREFIX}select-this`;
|
|
171
160
|
|
|
172
161
|
/**
|
|
173
|
-
* @memberOf Monster.DOM
|
|
174
162
|
* @type {string}
|
|
175
163
|
* @license AGPLv3
|
|
176
164
|
* @since 1.8.0
|
|
@@ -178,7 +166,6 @@ const ATTRIBUTE_UPDATER_SELECT_THIS = `${ATTRIBUTE_PREFIX}select-this`;
|
|
|
178
166
|
const ATTRIBUTE_UPDATER_REPLACE = `${ATTRIBUTE_PREFIX}replace`;
|
|
179
167
|
|
|
180
168
|
/**
|
|
181
|
-
* @memberOf Monster.DOM
|
|
182
169
|
* @type {string}
|
|
183
170
|
* @license AGPLv3
|
|
184
171
|
* @since 1.8.0
|
|
@@ -186,7 +173,6 @@ const ATTRIBUTE_UPDATER_REPLACE = `${ATTRIBUTE_PREFIX}replace`;
|
|
|
186
173
|
const ATTRIBUTE_UPDATER_INSERT = `${ATTRIBUTE_PREFIX}insert`;
|
|
187
174
|
|
|
188
175
|
/**
|
|
189
|
-
* @memberOf Monster.DOM
|
|
190
176
|
* @type {string}
|
|
191
177
|
* @license AGPLv3
|
|
192
178
|
* @since 1.8.0
|
|
@@ -194,7 +180,6 @@ const ATTRIBUTE_UPDATER_INSERT = `${ATTRIBUTE_PREFIX}insert`;
|
|
|
194
180
|
const ATTRIBUTE_UPDATER_INSERT_REFERENCE = `${ATTRIBUTE_PREFIX}insert-reference`;
|
|
195
181
|
|
|
196
182
|
/**
|
|
197
|
-
* @memberOf Monster.DOM
|
|
198
183
|
* @type {string}
|
|
199
184
|
* @license AGPLv3
|
|
200
185
|
* @since 1.8.0
|
|
@@ -202,7 +187,6 @@ const ATTRIBUTE_UPDATER_INSERT_REFERENCE = `${ATTRIBUTE_PREFIX}insert-reference`
|
|
|
202
187
|
const ATTRIBUTE_UPDATER_REMOVE = `${ATTRIBUTE_PREFIX}remove`;
|
|
203
188
|
|
|
204
189
|
/**
|
|
205
|
-
* @memberOf Monster.DOM
|
|
206
190
|
* @type {string}
|
|
207
191
|
* @license AGPLv3
|
|
208
192
|
* @since 1.9.0
|
|
@@ -210,7 +194,6 @@ const ATTRIBUTE_UPDATER_REMOVE = `${ATTRIBUTE_PREFIX}remove`;
|
|
|
210
194
|
const ATTRIBUTE_UPDATER_BIND = `${ATTRIBUTE_PREFIX}bind`;
|
|
211
195
|
|
|
212
196
|
/**
|
|
213
|
-
* @memberOf Monster.DOM
|
|
214
197
|
* @type {string}
|
|
215
198
|
* @license AGPLv3
|
|
216
199
|
* @since 3.73.0
|
|
@@ -218,7 +201,6 @@ const ATTRIBUTE_UPDATER_BIND = `${ATTRIBUTE_PREFIX}bind`;
|
|
|
218
201
|
const ATTRIBUTE_FORM_BIND = `${ATTRIBUTE_PREFIX}form-bind`;
|
|
219
202
|
|
|
220
203
|
/**
|
|
221
|
-
* @memberOf Monster.DOM
|
|
222
204
|
* @type {string}
|
|
223
205
|
* @license AGPLv3
|
|
224
206
|
* @since 3.73.0
|
|
@@ -226,7 +208,6 @@ const ATTRIBUTE_FORM_BIND = `${ATTRIBUTE_PREFIX}form-bind`;
|
|
|
226
208
|
const ATTRIBUTE_FORM_BIND_TYPE = `${ATTRIBUTE_PREFIX}form-bind-type`;
|
|
227
209
|
|
|
228
210
|
/**
|
|
229
|
-
* @memberOf Monster.DOM
|
|
230
211
|
* @type {string}
|
|
231
212
|
* @license AGPLv3
|
|
232
213
|
* @since 1.9.0
|
|
@@ -234,7 +215,6 @@ const ATTRIBUTE_FORM_BIND_TYPE = `${ATTRIBUTE_PREFIX}form-bind-type`;
|
|
|
234
215
|
const ATTRIBUTE_UPDATER_BIND_TYPE = `${ATTRIBUTE_UPDATER_BIND}-type`;
|
|
235
216
|
|
|
236
217
|
/**
|
|
237
|
-
* @memberOf Monster.DOM
|
|
238
218
|
* @type {string}
|
|
239
219
|
* @license AGPLv3
|
|
240
220
|
* @since 1.27.0
|
|
@@ -242,7 +222,6 @@ const ATTRIBUTE_UPDATER_BIND_TYPE = `${ATTRIBUTE_UPDATER_BIND}-type`;
|
|
|
242
222
|
const ATTRIBUTE_TEMPLATE_PREFIX = `${ATTRIBUTE_PREFIX}template-prefix`;
|
|
243
223
|
|
|
244
224
|
/**
|
|
245
|
-
* @memberOf Monster.DOM
|
|
246
225
|
* @type {string}
|
|
247
226
|
* @license AGPLv3
|
|
248
227
|
* @since 1.14.0
|
|
@@ -250,7 +229,6 @@ const ATTRIBUTE_TEMPLATE_PREFIX = `${ATTRIBUTE_PREFIX}template-prefix`;
|
|
|
250
229
|
const ATTRIBUTE_ROLE = `${ATTRIBUTE_PREFIX}role`;
|
|
251
230
|
|
|
252
231
|
/**
|
|
253
|
-
* @memberOf Monster.DOM
|
|
254
232
|
* @type {string}
|
|
255
233
|
* @license AGPLv3
|
|
256
234
|
* @since 1.24.0
|
|
@@ -258,7 +236,6 @@ const ATTRIBUTE_ROLE = `${ATTRIBUTE_PREFIX}role`;
|
|
|
258
236
|
const ATTRIBUTE_DISABLED = "disabled";
|
|
259
237
|
|
|
260
238
|
/**
|
|
261
|
-
* @memberOf Monster.DOM
|
|
262
239
|
* @type {string}
|
|
263
240
|
* @license AGPLv3
|
|
264
241
|
* @since 1.24.0
|
|
@@ -266,7 +243,6 @@ const ATTRIBUTE_DISABLED = "disabled";
|
|
|
266
243
|
const ATTRIBUTE_VALUE = "value";
|
|
267
244
|
|
|
268
245
|
/**
|
|
269
|
-
* @memberOf Monster.DOM
|
|
270
246
|
* @type {string}
|
|
271
247
|
* @license AGPLv3
|
|
272
248
|
* @since 1.9.0
|
|
@@ -274,7 +250,6 @@ const ATTRIBUTE_VALUE = "value";
|
|
|
274
250
|
const ATTRIBUTE_OBJECTLINK = `${ATTRIBUTE_PREFIX}objectlink`;
|
|
275
251
|
|
|
276
252
|
/**
|
|
277
|
-
* @memberOf Monster.DOM
|
|
278
253
|
* @type {string}
|
|
279
254
|
* @license AGPLv3
|
|
280
255
|
* @since 1.24.0
|
|
@@ -282,7 +257,6 @@ const ATTRIBUTE_OBJECTLINK = `${ATTRIBUTE_PREFIX}objectlink`;
|
|
|
282
257
|
const ATTRIBUTE_ERRORMESSAGE = `${ATTRIBUTE_PREFIX}error`;
|
|
283
258
|
|
|
284
259
|
/**
|
|
285
|
-
* @memberOf Monster.DOM
|
|
286
260
|
* @type {symbol}
|
|
287
261
|
* @license AGPLv3
|
|
288
262
|
* @since 1.24.0
|
|
@@ -292,7 +266,6 @@ const objectUpdaterLinkSymbol = Symbol.for(
|
|
|
292
266
|
);
|
|
293
267
|
|
|
294
268
|
/**
|
|
295
|
-
* @memberOf Monster.DOM
|
|
296
269
|
* @type {symbol}
|
|
297
270
|
* @license AGPLv3
|
|
298
271
|
* @since 1.24.0
|
|
@@ -302,7 +275,6 @@ const customElementUpdaterLinkSymbol = Symbol.for(
|
|
|
302
275
|
);
|
|
303
276
|
|
|
304
277
|
/**
|
|
305
|
-
* @memberOf Monster.DOM
|
|
306
278
|
* @type {string}
|
|
307
279
|
* @license AGPLv3
|
|
308
280
|
* @since 1.25.0
|
|
@@ -310,7 +282,6 @@ const customElementUpdaterLinkSymbol = Symbol.for(
|
|
|
310
282
|
const TAG_SCRIPT = "script";
|
|
311
283
|
|
|
312
284
|
/**
|
|
313
|
-
* @memberOf Monster.DOM
|
|
314
285
|
* @type {string}
|
|
315
286
|
* @license AGPLv3
|
|
316
287
|
* @since 1.25.0
|
|
@@ -318,7 +289,6 @@ const TAG_SCRIPT = "script";
|
|
|
318
289
|
const TAG_STYLE = "style";
|
|
319
290
|
|
|
320
291
|
/**
|
|
321
|
-
* @memberOf Monster.DOM
|
|
322
292
|
* @type {string}
|
|
323
293
|
* @license AGPLv3
|
|
324
294
|
* @since 1.25.0
|
|
@@ -326,7 +296,6 @@ const TAG_STYLE = "style";
|
|
|
326
296
|
const TAG_LINK = "link";
|
|
327
297
|
|
|
328
298
|
/**
|
|
329
|
-
* @memberOf Monster.DOM
|
|
330
299
|
* @type {string}
|
|
331
300
|
* @license AGPLv3
|
|
332
301
|
* @since 1.25.0
|
|
@@ -335,7 +304,6 @@ const TAG_LINK = "link";
|
|
|
335
304
|
const ATTRIBUTE_ID = "id";
|
|
336
305
|
|
|
337
306
|
/**
|
|
338
|
-
* @memberOf Monster.DOM
|
|
339
307
|
* @type {string}
|
|
340
308
|
* @license AGPLv3
|
|
341
309
|
* @since 1.25.0
|
|
@@ -344,7 +312,6 @@ const ATTRIBUTE_ID = "id";
|
|
|
344
312
|
const ATTRIBUTE_CLASS = "class";
|
|
345
313
|
|
|
346
314
|
/**
|
|
347
|
-
* @memberOf Monster.DOM
|
|
348
315
|
* @type {string}
|
|
349
316
|
* @license AGPLv3
|
|
350
317
|
* @since 1.25.0
|
|
@@ -352,14 +319,12 @@ const ATTRIBUTE_CLASS = "class";
|
|
|
352
319
|
const ATTRIBUTE_TITLE = "title";
|
|
353
320
|
|
|
354
321
|
/**
|
|
355
|
-
* @memberOf Monster.DOM
|
|
356
322
|
* @type {string}
|
|
357
323
|
* @license AGPLv3
|
|
358
324
|
* @since 1.25.0
|
|
359
325
|
*/
|
|
360
326
|
const ATTRIBUTE_SRC = "src";
|
|
361
327
|
/**
|
|
362
|
-
* @memberOf Monster.DOM
|
|
363
328
|
* @type {string}
|
|
364
329
|
* @license AGPLv3
|
|
365
330
|
* @since 1.25.0
|
|
@@ -367,7 +332,6 @@ const ATTRIBUTE_SRC = "src";
|
|
|
367
332
|
const ATTRIBUTE_HREF = "href";
|
|
368
333
|
|
|
369
334
|
/**
|
|
370
|
-
* @memberOf Monster.DOM
|
|
371
335
|
* @type {string}
|
|
372
336
|
* @license AGPLv3
|
|
373
337
|
* @since 1.25.0
|
|
@@ -375,7 +339,6 @@ const ATTRIBUTE_HREF = "href";
|
|
|
375
339
|
const ATTRIBUTE_TYPE = "type";
|
|
376
340
|
|
|
377
341
|
/**
|
|
378
|
-
* @memberOf Monster.DOM
|
|
379
342
|
* @type {string}
|
|
380
343
|
* @license AGPLv3
|
|
381
344
|
* @since 1.25.0
|
|
@@ -383,7 +346,6 @@ const ATTRIBUTE_TYPE = "type";
|
|
|
383
346
|
const ATTRIBUTE_NONCE = "nonce";
|
|
384
347
|
|
|
385
348
|
/**
|
|
386
|
-
* @memberOf Monster.DOM
|
|
387
349
|
* @type {string}
|
|
388
350
|
* @license AGPLv3
|
|
389
351
|
* @since 1.25.0
|
|
@@ -391,7 +353,6 @@ const ATTRIBUTE_NONCE = "nonce";
|
|
|
391
353
|
const ATTRIBUTE_TRANSLATE = "translate";
|
|
392
354
|
|
|
393
355
|
/**
|
|
394
|
-
* @memberOf Monster.DOM
|
|
395
356
|
* @type {string}
|
|
396
357
|
* @license AGPLv3
|
|
397
358
|
* @since 1.25.0
|
|
@@ -399,7 +360,6 @@ const ATTRIBUTE_TRANSLATE = "translate";
|
|
|
399
360
|
const ATTRIBUTE_TABINDEX = "tabindex";
|
|
400
361
|
|
|
401
362
|
/**
|
|
402
|
-
* @memberOf Monster.DOM
|
|
403
363
|
* @type {string}
|
|
404
364
|
* @license AGPLv3
|
|
405
365
|
* @since 1.25.0
|
|
@@ -407,7 +367,6 @@ const ATTRIBUTE_TABINDEX = "tabindex";
|
|
|
407
367
|
const ATTRIBUTE_SPELLCHECK = "spellcheck";
|
|
408
368
|
|
|
409
369
|
/**
|
|
410
|
-
* @memberOf Monster.DOM
|
|
411
370
|
* @type {string}
|
|
412
371
|
* @license AGPLv3
|
|
413
372
|
* @since 1.25.0
|
|
@@ -415,7 +374,6 @@ const ATTRIBUTE_SPELLCHECK = "spellcheck";
|
|
|
415
374
|
const ATTRIBUTE_SLOT = "slot";
|
|
416
375
|
|
|
417
376
|
/**
|
|
418
|
-
* @memberOf Monster.DOM
|
|
419
377
|
* @type {string}
|
|
420
378
|
* @license AGPLv3
|
|
421
379
|
* @since 1.25.0
|
|
@@ -423,7 +381,6 @@ const ATTRIBUTE_SLOT = "slot";
|
|
|
423
381
|
const ATTRIBUTE_PART = "part";
|
|
424
382
|
|
|
425
383
|
/**
|
|
426
|
-
* @memberOf Monster.DOM
|
|
427
384
|
* @type {string}
|
|
428
385
|
* @license AGPLv3
|
|
429
386
|
* @since 1.25.0
|
|
@@ -431,7 +388,6 @@ const ATTRIBUTE_PART = "part";
|
|
|
431
388
|
const ATTRIBUTE_LANG = "lang";
|
|
432
389
|
|
|
433
390
|
/**
|
|
434
|
-
* @memberOf Monster.DOM
|
|
435
391
|
* @type {string}
|
|
436
392
|
* @license AGPLv3
|
|
437
393
|
* @since 1.25.0
|
|
@@ -439,7 +395,6 @@ const ATTRIBUTE_LANG = "lang";
|
|
|
439
395
|
const ATTRIBUTE_ITEMTYPE = "itemtype";
|
|
440
396
|
|
|
441
397
|
/**
|
|
442
|
-
* @memberOf Monster.DOM
|
|
443
398
|
* @type {string}
|
|
444
399
|
* @license AGPLv3
|
|
445
400
|
* @since 1.25.0
|
|
@@ -447,7 +402,6 @@ const ATTRIBUTE_ITEMTYPE = "itemtype";
|
|
|
447
402
|
const ATTRIBUTE_ITEMSCOPE = "itemscope";
|
|
448
403
|
|
|
449
404
|
/**
|
|
450
|
-
* @memberOf Monster.DOM
|
|
451
405
|
* @type {string}
|
|
452
406
|
* @license AGPLv3
|
|
453
407
|
* @since 1.25.0
|
|
@@ -455,7 +409,6 @@ const ATTRIBUTE_ITEMSCOPE = "itemscope";
|
|
|
455
409
|
const ATTRIBUTE_ITEMREF = "itemref";
|
|
456
410
|
|
|
457
411
|
/**
|
|
458
|
-
* @memberOf Monster.DOM
|
|
459
412
|
* @type {string}
|
|
460
413
|
* @license AGPLv3
|
|
461
414
|
* @since 1.25.0
|
|
@@ -463,7 +416,6 @@ const ATTRIBUTE_ITEMREF = "itemref";
|
|
|
463
416
|
const ATTRIBUTE_ITEMID = "itemid";
|
|
464
417
|
|
|
465
418
|
/**
|
|
466
|
-
* @memberOf Monster.DOM
|
|
467
419
|
* @type {string}
|
|
468
420
|
* @license AGPLv3
|
|
469
421
|
* @since 1.25.0
|
|
@@ -471,7 +423,6 @@ const ATTRIBUTE_ITEMID = "itemid";
|
|
|
471
423
|
const ATTRIBUTE_ITEMPROP = "itemprop";
|
|
472
424
|
|
|
473
425
|
/**
|
|
474
|
-
* @memberOf Monster.DOM
|
|
475
426
|
* @type {string}
|
|
476
427
|
* @license AGPLv3
|
|
477
428
|
* @since 1.25.0
|
|
@@ -479,7 +430,6 @@ const ATTRIBUTE_ITEMPROP = "itemprop";
|
|
|
479
430
|
const ATTRIBUTE_IS = "is";
|
|
480
431
|
|
|
481
432
|
/**
|
|
482
|
-
* @memberOf Monster.DOM
|
|
483
433
|
* @type {string}
|
|
484
434
|
* @license AGPLv3
|
|
485
435
|
* @since 1.25.0
|
|
@@ -487,7 +437,6 @@ const ATTRIBUTE_IS = "is";
|
|
|
487
437
|
const ATTRIBUTE_INPUTMODE = "inputmode";
|
|
488
438
|
|
|
489
439
|
/**
|
|
490
|
-
* @memberOf Monster.DOM
|
|
491
440
|
* @type {string}
|
|
492
441
|
* @license AGPLv3
|
|
493
442
|
* @since 1.25.0
|
|
@@ -495,7 +444,6 @@ const ATTRIBUTE_INPUTMODE = "inputmode";
|
|
|
495
444
|
const ATTRIBUTE_ACCESSKEY = "accesskey";
|
|
496
445
|
|
|
497
446
|
/**
|
|
498
|
-
* @memberOf Monster.DOM
|
|
499
447
|
* @type {string}
|
|
500
448
|
* @license AGPLv3
|
|
501
449
|
* @since 1.25.0
|
|
@@ -503,7 +451,6 @@ const ATTRIBUTE_ACCESSKEY = "accesskey";
|
|
|
503
451
|
const ATTRIBUTE_AUTOCAPITALIZE = "autocapitalize";
|
|
504
452
|
|
|
505
453
|
/**
|
|
506
|
-
* @memberOf Monster.DOM
|
|
507
454
|
* @type {string}
|
|
508
455
|
* @license AGPLv3
|
|
509
456
|
* @since 1.25.0
|
|
@@ -511,7 +458,6 @@ const ATTRIBUTE_AUTOCAPITALIZE = "autocapitalize";
|
|
|
511
458
|
const ATTRIBUTE_AUTOFOCUS = "autofocus";
|
|
512
459
|
|
|
513
460
|
/**
|
|
514
|
-
* @memberOf Monster.DOM
|
|
515
461
|
* @type {string}
|
|
516
462
|
* @license AGPLv3
|
|
517
463
|
* @since 1.25.0
|
|
@@ -519,7 +465,6 @@ const ATTRIBUTE_AUTOFOCUS = "autofocus";
|
|
|
519
465
|
const ATTRIBUTE_CONTENTEDITABLE = "contenteditable";
|
|
520
466
|
|
|
521
467
|
/**
|
|
522
|
-
* @memberOf Monster.DOM
|
|
523
468
|
* @type {string}
|
|
524
469
|
* @license AGPLv3
|
|
525
470
|
* @since 1.25.0
|
|
@@ -527,7 +472,6 @@ const ATTRIBUTE_CONTENTEDITABLE = "contenteditable";
|
|
|
527
472
|
const ATTRIBUTE_DIR = "dir";
|
|
528
473
|
|
|
529
474
|
/**
|
|
530
|
-
* @memberOf Monster.DOM
|
|
531
475
|
* @type {string}
|
|
532
476
|
* @license AGPLv3
|
|
533
477
|
* @since 1.25.0
|
|
@@ -535,21 +479,18 @@ const ATTRIBUTE_DIR = "dir";
|
|
|
535
479
|
const ATTRIBUTE_DRAGGABLE = "draggable";
|
|
536
480
|
|
|
537
481
|
/**
|
|
538
|
-
* @memberOf Monster.DOM
|
|
539
482
|
* @type {string}
|
|
540
483
|
* @license AGPLv3
|
|
541
484
|
* @since 1.25.0
|
|
542
485
|
*/
|
|
543
486
|
const ATTRIBUTE_ENTERKEYHINT = "enterkeyhint";
|
|
544
487
|
/**
|
|
545
|
-
* @memberOf Monster.DOM
|
|
546
488
|
* @type {string}
|
|
547
489
|
* @license AGPLv3
|
|
548
490
|
* @since 1.25.0
|
|
549
491
|
*/
|
|
550
492
|
const ATTRIBUTE_EXPORTPARTS = "exportparts";
|
|
551
493
|
/**
|
|
552
|
-
* @memberOf Monster.DOM
|
|
553
494
|
* @type {string}
|
|
554
495
|
* @license AGPLv3
|
|
555
496
|
* @since 1.25.0
|
|
@@ -69,13 +69,11 @@ export {
|
|
|
69
69
|
};
|
|
70
70
|
|
|
71
71
|
/**
|
|
72
|
-
* @memberOf Monster.DOM
|
|
73
72
|
* @type {symbol}
|
|
74
73
|
*/
|
|
75
74
|
const initMethodSymbol = Symbol.for("@schukai/monster/dom/@@initMethodSymbol");
|
|
76
75
|
|
|
77
76
|
/**
|
|
78
|
-
* @memberOf Monster.DOM
|
|
79
77
|
* @type {symbol}
|
|
80
78
|
*/
|
|
81
79
|
const assembleMethodSymbol = Symbol.for(
|
|
@@ -83,7 +81,6 @@ const assembleMethodSymbol = Symbol.for(
|
|
|
83
81
|
);
|
|
84
82
|
|
|
85
83
|
/**
|
|
86
|
-
* @memberOf Monster.DOM
|
|
87
84
|
* @type {symbol}
|
|
88
85
|
*/
|
|
89
86
|
const updaterTransformerMethodsSymbol = Symbol.for(
|
|
@@ -92,7 +89,6 @@ const updaterTransformerMethodsSymbol = Symbol.for(
|
|
|
92
89
|
|
|
93
90
|
/**
|
|
94
91
|
* this symbol holds the attribute observer callbacks. The key is the attribute name.
|
|
95
|
-
* @memberOf Monster.DOM
|
|
96
92
|
* @type {symbol}
|
|
97
93
|
*/
|
|
98
94
|
const attributeObserverSymbol = Symbol.for(
|
|
@@ -1085,7 +1081,6 @@ function initHtmlContent() {
|
|
|
1085
1081
|
/**
|
|
1086
1082
|
* @private
|
|
1087
1083
|
* @return {CustomElement}
|
|
1088
|
-
* @memberOf Monster.DOM
|
|
1089
1084
|
* @this CustomElement
|
|
1090
1085
|
* @license AGPLv3
|
|
1091
1086
|
* @since 1.16.0
|
|
@@ -1142,7 +1137,6 @@ function initCSSStylesheet() {
|
|
|
1142
1137
|
* @return {CustomElement}
|
|
1143
1138
|
* @throws {Error} html is not set.
|
|
1144
1139
|
* @see https://developer.mozilla.org/en-US/docs/Web/API/Element/attachShadow
|
|
1145
|
-
* @memberOf Monster.DOM
|
|
1146
1140
|
* @license AGPLv3
|
|
1147
1141
|
* @since 1.8.0
|
|
1148
1142
|
*/
|
|
@@ -1193,7 +1187,6 @@ function initShadowRoot() {
|
|
|
1193
1187
|
* @license AGPLv3
|
|
1194
1188
|
* @since 1.7.0
|
|
1195
1189
|
* @copyright schukai GmbH
|
|
1196
|
-
* @memberOf Monster.DOM
|
|
1197
1190
|
* @throws {DOMException} Failed to execute 'define' on 'CustomElementRegistry': is not a valid custom element name
|
|
1198
1191
|
*/
|
|
1199
1192
|
function registerCustomElement(element) {
|
package/source/dom/dimension.mjs
CHANGED
|
@@ -39,7 +39,6 @@ let CURRENT_DEVICE_DPI = function () {
|
|
|
39
39
|
* Returns the DPI of the device.
|
|
40
40
|
*
|
|
41
41
|
* @since 3.34.0
|
|
42
|
-
* @memberOf Monster.DOM
|
|
43
42
|
* @return {number}
|
|
44
43
|
*/
|
|
45
44
|
function getDeviceDPI() {
|
|
@@ -77,7 +76,6 @@ function getDeviceDPI() {
|
|
|
77
76
|
* @since 3.34.0
|
|
78
77
|
* @copyright schukai GmbH
|
|
79
78
|
* @throws {Error} Unsupported unit
|
|
80
|
-
* @memberOf Monster.DOM
|
|
81
79
|
* @throws {Error} Invalid value format
|
|
82
80
|
*/
|
|
83
81
|
|
package/source/dom/events.mjs
CHANGED
|
@@ -27,7 +27,6 @@ export { fireEvent, fireCustomEvent, findTargetElementFromEvent };
|
|
|
27
27
|
* @license AGPLv3
|
|
28
28
|
* @since 1.10.0
|
|
29
29
|
* @copyright schukai GmbH
|
|
30
|
-
* @memberOf Monster.DOM
|
|
31
30
|
* @throws {TypeError} value is not an instance of HTMLElement or HTMLCollection
|
|
32
31
|
* @summary Construct and send and event
|
|
33
32
|
*/
|
|
@@ -69,7 +68,6 @@ function fireEvent(element, type) {
|
|
|
69
68
|
* @license AGPLv3
|
|
70
69
|
* @since 1.29.0
|
|
71
70
|
* @copyright schukai GmbH
|
|
72
|
-
* @memberOf Monster.DOM
|
|
73
71
|
* @throws {TypeError} value is not an instance of HTMLElement or HTMLCollection
|
|
74
72
|
* @summary Construct and send and event
|
|
75
73
|
*/
|
|
@@ -109,7 +107,6 @@ function fireCustomEvent(element, type, detail) {
|
|
|
109
107
|
* @param {string} attributeName
|
|
110
108
|
* @param {string|null|undefined} attributeValue
|
|
111
109
|
* @throws {Error} unsupported event
|
|
112
|
-
* @memberOf Monster.DOM
|
|
113
110
|
* @throws {TypeError} value is not a string
|
|
114
111
|
* @throws {TypeError} value is not an instance of HTMLElement
|
|
115
112
|
* @summary Help function to find the appropriate control
|
package/source/dom/locale.mjs
CHANGED
|
@@ -38,7 +38,6 @@ const DEFAULT_LANGUAGE = "en";
|
|
|
38
38
|
* @license AGPLv3
|
|
39
39
|
* @since 1.13.0
|
|
40
40
|
* @copyright schukai GmbH
|
|
41
|
-
* @memberOf Monster.DOM
|
|
42
41
|
* @throws {TypeError} value is not a string
|
|
43
42
|
* @throws {Error} unsupported locale
|
|
44
43
|
* @summary Tries to determine the locale used
|