xmlui 0.7.23 → 0.7.24
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-BZ3Gd4mb.mjs → apiInterceptorWorker-C6UAUhRI.mjs} +14 -7
- package/dist/{core-BfTKHuQQ.mjs → core-BmjxDmQl.mjs} +2060 -1868
- package/dist/index-BcnKqeXb.mjs +32917 -0
- package/dist/index.css +1 -1
- package/dist/scripts/src/components/Accordion/Accordion.js +1 -5
- package/dist/scripts/src/components/Button/Button.js +2 -1
- package/dist/scripts/src/components/Card/Card.js +1 -5
- package/dist/scripts/src/components/DatePicker/DatePicker.js +12 -6
- package/dist/scripts/src/components/DatePicker/DatePickerNative.js +4 -3
- package/dist/scripts/src/components/IconProvider.js +2 -0
- package/dist/scripts/src/components/Markdown/MarkdownNative.js +17 -11
- package/dist/scripts/src/components/Table/Table.js +0 -1
- package/dist/scripts/src/components-core/theming/ThemeProvider.js +6 -11
- package/dist/scripts/src/components-core/theming/transformThemeVars.js +270 -3
- package/dist/scripts/src/parsers/style-parser/StyleParser.js +4 -1
- package/dist/style.css +1 -1
- package/dist/{wasm-SPaT1zC5.mjs → wasm-DQxwEHae.mjs} +3 -1
- package/dist/xmlui-metadata.mjs +3515 -3883
- package/dist/xmlui-metadata.umd.js +17 -17
- package/dist/xmlui-standalone.umd.js +218 -188
- package/dist/xmlui.mjs +1 -1
- package/package.json +3 -2
- package/dist/index-C9zkAour.mjs +0 -32761
|
@@ -7,7 +7,7 @@ var U = (e, t, r) => Lr(e, typeof t != "symbol" ? t + "" : t, r), ve = (e, t, r)
|
|
|
7
7
|
var Q = (e, t, r) => (ve(e, t, "read from private field"), r ? r.call(e) : t.get(e)), we = (e, t, r) => t.has(e) ? Be("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, r), Ve = (e, t, r, s) => (ve(e, t, "write to private field"), s ? s.call(e, r) : t.set(e, r), r), ie = (e, t, r) => (ve(e, t, "access private method"), r);
|
|
8
8
|
import { delay as Sr, HttpResponse as K, http as Dr } from "msw";
|
|
9
9
|
import { isArray as It, isObject as Nt, mapValues as Cr } from "lodash-es";
|
|
10
|
-
import { r as Mr,
|
|
10
|
+
import { r as Mr, g as qr, d as $r, m as Ur, a as jr, o as Ee, T as Fr } from "./index-BcnKqeXb.mjs";
|
|
11
11
|
import We from "dexie";
|
|
12
12
|
var Br = /(%?)(%([sdijo]))/g;
|
|
13
13
|
function Vr(e, t) {
|
|
@@ -2776,13 +2776,20 @@ function gi(e) {
|
|
|
2776
2776
|
return yi(e, or);
|
|
2777
2777
|
}
|
|
2778
2778
|
function vi(e, t) {
|
|
2779
|
-
|
|
2779
|
+
const r = new wi(e, t), s = r.parseDocument();
|
|
2780
|
+
return Object.defineProperty(s, "tokenCount", {
|
|
2781
|
+
enumerable: !1,
|
|
2782
|
+
value: r.tokenCount
|
|
2783
|
+
}), s;
|
|
2780
2784
|
}
|
|
2781
2785
|
class wi {
|
|
2782
2786
|
constructor(t, r = {}) {
|
|
2783
2787
|
const s = gi(t) ? t : new or(t);
|
|
2784
2788
|
this._lexer = new Ks(s), this._options = r, this._tokenCounter = 0;
|
|
2785
2789
|
}
|
|
2790
|
+
get tokenCount() {
|
|
2791
|
+
return this._tokenCounter;
|
|
2792
|
+
}
|
|
2786
2793
|
/**
|
|
2787
2794
|
* Converts a name lex token into a name parse node.
|
|
2788
2795
|
*/
|
|
@@ -3871,7 +3878,7 @@ class wi {
|
|
|
3871
3878
|
}
|
|
3872
3879
|
advanceLexer() {
|
|
3873
3880
|
const { maxTokens: t } = this._options, r = this._lexer.advance();
|
|
3874
|
-
if (
|
|
3881
|
+
if (r.kind !== f.EOF && (++this._tokenCounter, t !== void 0 && this._tokenCounter > t))
|
|
3875
3882
|
throw k(
|
|
3876
3883
|
this._lexer.source,
|
|
3877
3884
|
r.start,
|
|
@@ -5984,12 +5991,12 @@ class ta {
|
|
|
5984
5991
|
localContext: s,
|
|
5985
5992
|
eventArgs: r,
|
|
5986
5993
|
appContext: {
|
|
5987
|
-
...
|
|
5988
|
-
|
|
5989
|
-
delay:
|
|
5994
|
+
...jr,
|
|
5995
|
+
...Ur,
|
|
5996
|
+
delay: $r,
|
|
5990
5997
|
Errors: Qo,
|
|
5991
5998
|
createFile: (...d) => new File(d[0], d[1], d[2]),
|
|
5992
|
-
getDate:
|
|
5999
|
+
getDate: qr
|
|
5993
6000
|
}
|
|
5994
6001
|
});
|
|
5995
6002
|
return await Mr(t, n), (h = (u = n.mainThread) == null ? void 0 : u.blocks) != null && h.length ? n.mainThread.blocks[n.mainThread.blocks.length - 1].returnValue : void 0;
|