@nebularstreams/libmui 2.5.106 → 2.5.108
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
|
@@ -217,8 +217,8 @@ function tokenizeUrl(tokenizedUrl, parameters, options) {
|
|
|
217
217
|
}
|
|
218
218
|
|
|
219
219
|
const
|
|
220
|
-
REGEX_DOTS = /[^0-9A-Z
|
|
221
|
-
REGEX_NODOTS = /[^0-9A-
|
|
220
|
+
REGEX_DOTS = /[^0-9A-Z._\-]+/gi,
|
|
221
|
+
REGEX_NODOTS = /[^0-9A-Z_\-]+/gi;
|
|
222
222
|
|
|
223
223
|
function sanitizeFilename(filename, withDots = true) {
|
|
224
224
|
// EDGE CASE -> NO DOT AT THE END
|
|
@@ -398,8 +398,8 @@ const
|
|
|
398
398
|
isCardieArray
|
|
399
399
|
? Array.isArray(rawValue)
|
|
400
400
|
? rawValue.map((item, index) => m(CardieWidget, {
|
|
401
|
-
class: "relative grows " + (metaDef.class || "emby w-max") + (metaDef.dynClass ? " " + metaDef.dynClass(parameters, auxParameters) : ""),
|
|
402
|
-
title: metaDef.dynTitle ? metaDef.dynTitle(parameters, auxParameters) : metaDef.title + " " + (index + 1),
|
|
401
|
+
class: "relative grows " + (metaDef.class || "pad-h emby w-max") + (metaDef.dynClass ? " " + metaDef.dynClass(parameters, auxParameters, index) : ""),
|
|
402
|
+
title: metaDef.dynTitle ? metaDef.dynTitle(parameters, auxParameters, index) : metaDef.title + " " + (index + 1),
|
|
403
403
|
cardid: metaDef.cardid + "-" + index,
|
|
404
404
|
nofold: false,
|
|
405
405
|
size: metaDef.margin || 0,
|