xmlui 0.9.3 → 0.9.5
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/dist/{apiInterceptorWorker-Y5MxQ95G.mjs → apiInterceptorWorker-Be8IJaBL.mjs} +1 -1
- package/dist/{core-DowI-7YH.mjs → core-XLM8cuFP.mjs} +52 -2
- package/dist/{index-DHAz4bv_.mjs → index-tLddBc_K.mjs} +949 -13483
- package/dist/index.css +82 -78
- package/dist/language-server-web-worker.d.ts +579 -0
- package/dist/language-server-web-worker.mjs +10 -0
- package/dist/language-server.d.ts +14 -14
- package/dist/language-server.mjs +4 -25301
- package/dist/scripts/src/components/App/AppNative.js +2 -2
- package/dist/scripts/src/components/Select/Select.js +3 -1
- package/dist/scripts/src/components/Select/SelectNative.js +2 -2
- package/dist/scripts/src/components-core/theming/transformThemeVars.js +6 -0
- package/dist/server-common-BKe32fY_.mjs +8636 -0
- package/dist/style.css +82 -78
- package/dist/xmlui-metadata.mjs +49 -38
- package/dist/xmlui-metadata.umd.js +49 -38
- package/dist/xmlui-parser.d.ts +14 -14
- package/dist/xmlui-standalone.umd.js +152 -140
- package/dist/xmlui.mjs +10 -10
- package/package.json +10 -1
|
@@ -12,7 +12,7 @@ var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "acce
|
|
|
12
12
|
var _executor, _DeferredPromise_instances, decorate_fn, _a2;
|
|
13
13
|
import { delay as delay$1, HttpResponse, http } from "msw";
|
|
14
14
|
import { isArray, isObject as isObject$1, mapValues } from "lodash-es";
|
|
15
|
-
import { r as runEventHandlerCode, g as getDate, d as delay, m as miscellaneousUtils, a as dateFunctions, o as orderBy, T as ThrowStatementError } from "./index-
|
|
15
|
+
import { r as runEventHandlerCode, g as getDate, d as delay, m as miscellaneousUtils, a as dateFunctions, o as orderBy, T as ThrowStatementError } from "./index-tLddBc_K.mjs";
|
|
16
16
|
import Dexie from "dexie";
|
|
17
17
|
var POSITIONALS_EXP = /(%?)(%([sdijo]))/g;
|
|
18
18
|
function serializePositional(positional, flag) {
|
|
@@ -2,7 +2,6 @@ var __defProp = Object.defineProperty;
|
|
|
2
2
|
var __defNormalProp = (obj, key2, value) => key2 in obj ? __defProp(obj, key2, { enumerable: true, configurable: true, writable: true, value }) : obj[key2] = value;
|
|
3
3
|
var __publicField = (obj, key2, value) => __defNormalProp(obj, typeof key2 !== "symbol" ? key2 + "" : key2, value);
|
|
4
4
|
var _a, _b;
|
|
5
|
-
import { s as stringify$1, b as stringify$2, z as zwitch, h as htmlVoidElements } from "./index-DHAz4bv_.mjs";
|
|
6
5
|
let ShikiError$2 = class ShikiError extends Error {
|
|
7
6
|
constructor(message) {
|
|
8
7
|
super(message);
|
|
@@ -3564,6 +3563,28 @@ var Registry$1 = class Registry {
|
|
|
3564
3563
|
}
|
|
3565
3564
|
};
|
|
3566
3565
|
var INITIAL = StateStackImpl.NULL;
|
|
3566
|
+
const htmlVoidElements = [
|
|
3567
|
+
"area",
|
|
3568
|
+
"base",
|
|
3569
|
+
"basefont",
|
|
3570
|
+
"bgsound",
|
|
3571
|
+
"br",
|
|
3572
|
+
"col",
|
|
3573
|
+
"command",
|
|
3574
|
+
"embed",
|
|
3575
|
+
"frame",
|
|
3576
|
+
"hr",
|
|
3577
|
+
"image",
|
|
3578
|
+
"img",
|
|
3579
|
+
"input",
|
|
3580
|
+
"keygen",
|
|
3581
|
+
"link",
|
|
3582
|
+
"meta",
|
|
3583
|
+
"param",
|
|
3584
|
+
"source",
|
|
3585
|
+
"track",
|
|
3586
|
+
"wbr"
|
|
3587
|
+
];
|
|
3567
3588
|
class Schema {
|
|
3568
3589
|
/**
|
|
3569
3590
|
* @param {SchemaType['property']} property
|
|
@@ -4748,6 +4769,25 @@ function camelcase($0) {
|
|
|
4748
4769
|
}
|
|
4749
4770
|
const html$2 = merge([aria, html$3, xlink, xmlns, xml], "html");
|
|
4750
4771
|
const svg = merge([aria, svg$1, xlink, xmlns, xml], "svg");
|
|
4772
|
+
const own$2 = {}.hasOwnProperty;
|
|
4773
|
+
function zwitch(key2, options) {
|
|
4774
|
+
const settings = options || {};
|
|
4775
|
+
function one2(value, ...parameters) {
|
|
4776
|
+
let fn = one2.invalid;
|
|
4777
|
+
const handlers = one2.handlers;
|
|
4778
|
+
if (value && own$2.call(value, key2)) {
|
|
4779
|
+
const id = String(value[key2]);
|
|
4780
|
+
fn = own$2.call(handlers, id) ? handlers[id] : one2.unknown;
|
|
4781
|
+
}
|
|
4782
|
+
if (fn) {
|
|
4783
|
+
return fn.call(this, value, ...parameters);
|
|
4784
|
+
}
|
|
4785
|
+
}
|
|
4786
|
+
one2.handlers = settings.handlers || {};
|
|
4787
|
+
one2.invalid = settings.invalid;
|
|
4788
|
+
one2.unknown = settings.unknown;
|
|
4789
|
+
return one2;
|
|
4790
|
+
}
|
|
4751
4791
|
const defaultSubsetRegex = /["&'<>`]/g;
|
|
4752
4792
|
const surrogatePairsRegex = /[\uD800-\uDBFF][\uDC00-\uDFFF]/g;
|
|
4753
4793
|
const controlCharactersRegex = (
|
|
@@ -5256,6 +5296,16 @@ function ccount(value, character) {
|
|
|
5256
5296
|
}
|
|
5257
5297
|
return count;
|
|
5258
5298
|
}
|
|
5299
|
+
function stringify$2(values, options) {
|
|
5300
|
+
const settings = options || {};
|
|
5301
|
+
const input = values[values.length - 1] === "" ? [...values, ""] : values;
|
|
5302
|
+
return input.join(
|
|
5303
|
+
(settings.padRight ? " " : "") + "," + (settings.padLeft === false ? "" : " ")
|
|
5304
|
+
).trim();
|
|
5305
|
+
}
|
|
5306
|
+
function stringify$1(values) {
|
|
5307
|
+
return values.join(" ").trim();
|
|
5308
|
+
}
|
|
5259
5309
|
const re = /[ \t\n\f\r]/g;
|
|
5260
5310
|
function whitespace(thing) {
|
|
5261
5311
|
return typeof thing === "object" ? thing.type === "text" ? empty(thing.value) : false : empty(thing);
|
|
@@ -5512,7 +5562,7 @@ function serializeAttribute(state, key2, value) {
|
|
|
5512
5562
|
})
|
|
5513
5563
|
);
|
|
5514
5564
|
if (value === true) return name;
|
|
5515
|
-
value = Array.isArray(value) ? (info.commaSeparated ? stringify$
|
|
5565
|
+
value = Array.isArray(value) ? (info.commaSeparated ? stringify$2 : stringify$1)(value, {
|
|
5516
5566
|
padLeft: !state.settings.tightCommaSeparatedLists
|
|
5517
5567
|
}) : String(value);
|
|
5518
5568
|
if (state.settings.collapseEmptyAttributes && !value) return name;
|