xmlui 0.11.20 → 0.11.22
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/lib/{index-BQKYtkKU.js → index-BvICspZ1.js} +23651 -24050
- package/dist/lib/index.css +1 -1
- package/dist/lib/{initMock-DoewYSkg.js → initMock-Bq5003sR.js} +2 -2
- package/dist/lib/language-server-web-worker.js +1 -1
- package/dist/lib/language-server.js +1 -1
- package/dist/lib/{metadata-utils-BXGJbvlh.js → metadata-utils-DFy9QKH6.js} +5 -5
- package/dist/lib/{server-common-Ce61T1XU.js → server-common-BwQMbLFd.js} +1 -1
- package/dist/lib/xmlui.d.ts +21 -0
- package/dist/lib/xmlui.js +1 -1
- package/dist/metadata/{collectedComponentMetadata-Ul5p46oY.js → collectedComponentMetadata-CiXsnuT1.js} +24998 -25397
- package/dist/metadata/{initMock-CYmQLPJo.js → initMock-B3RWJ2uL.js} +2 -2
- package/dist/metadata/xmlui-metadata.css +1 -1
- package/dist/metadata/xmlui-metadata.js +1 -1
- package/dist/metadata/xmlui-metadata.umd.cjs +3 -3
- package/dist/standalone/xmlui-standalone.es.d.ts +21 -0
- package/dist/standalone/xmlui-standalone.umd.js +36 -36
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { delay as delay$1, HttpResponse, matchRequestUrl } from "msw";
|
|
2
2
|
import { isArray, isObject, mapValues } from "lodash-es";
|
|
3
|
-
import { r as runEventHandlerCode, g as getDate, d as delay, m as miscellaneousUtils, a as dateFunctions, o as orderBy, T as ThrowStatementError } from "./index-
|
|
3
|
+
import { r as runEventHandlerCode, g as getDate, d as delay, m as miscellaneousUtils, a as dateFunctions, o as orderBy, T as ThrowStatementError } from "./index-BvICspZ1.js";
|
|
4
4
|
import Dexie from "dexie";
|
|
5
5
|
var HttpStatusCode = /* @__PURE__ */ ((HttpStatusCode2) => {
|
|
6
6
|
HttpStatusCode2[HttpStatusCode2["Continue"] = 100] = "Continue";
|
|
@@ -95,7 +95,7 @@ class ConflictError extends HttpError {
|
|
|
95
95
|
}
|
|
96
96
|
}
|
|
97
97
|
function convertErrorDetails(messageOrDetails) {
|
|
98
|
-
let details;
|
|
98
|
+
let details = void 0;
|
|
99
99
|
if (messageOrDetails) {
|
|
100
100
|
if (typeof messageOrDetails === "string") {
|
|
101
101
|
details = {
|
|
@@ -490,13 +490,13 @@ export {
|
|
|
490
490
|
getDefaultExportFromCjs as b,
|
|
491
491
|
alignmentOptionValues as c,
|
|
492
492
|
alignmentOptionMd as d,
|
|
493
|
-
|
|
494
|
-
|
|
493
|
+
iconPositionMd as e,
|
|
494
|
+
buttonTypesMd as f,
|
|
495
495
|
getAugmentedNamespace as g,
|
|
496
|
-
|
|
496
|
+
buttonThemeMd as h,
|
|
497
497
|
isSizeType as i,
|
|
498
|
-
|
|
499
|
-
|
|
498
|
+
buttonVariantMd as j,
|
|
499
|
+
layoutOptionKeys as k,
|
|
500
500
|
labelPositionMd as l,
|
|
501
501
|
variantOptionsMd as m,
|
|
502
502
|
scrollAnchoringValues as n,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as getAugmentedNamespace, a as addOnPrefix, M as MetadataProvider } from "./metadata-utils-
|
|
1
|
+
import { g as getAugmentedNamespace, a as addOnPrefix, M as MetadataProvider } from "./metadata-utils-DFy9QKH6.js";
|
|
2
2
|
import { CompletionItemKind as CompletionItemKind$1, MarkupKind as MarkupKind$1, TextDocuments, TextDocumentSyncKind, DidChangeConfigurationNotification } from "vscode-languageserver";
|
|
3
3
|
import { TextDocument as TextDocument$1 } from "vscode-languageserver-textdocument";
|
|
4
4
|
import { S as SyntaxKind, B as findTokenAtPos, h as createXmlUiParser } from "./transform-CQ_6R-43.js";
|
package/dist/lib/xmlui.d.ts
CHANGED
|
@@ -145,6 +145,7 @@ declare type AppContextObject = {
|
|
|
145
145
|
};
|
|
146
146
|
distinct: (arr: any[]) => any[];
|
|
147
147
|
forceRefreshAnchorScroll: () => void;
|
|
148
|
+
AppState: AppState;
|
|
148
149
|
};
|
|
149
150
|
|
|
150
151
|
declare const appLayoutNames: readonly ["vertical", "vertical-sticky", "vertical-full-header", "condensed", "condensed-sticky", "horizontal", "horizontal-sticky", "desktop"];
|
|
@@ -162,6 +163,26 @@ export declare function AppRoot({ apiInterceptor, contributes, node, decorateCom
|
|
|
162
163
|
isNested?: boolean;
|
|
163
164
|
}): JSX_2.Element;
|
|
164
165
|
|
|
166
|
+
/**
|
|
167
|
+
* AppState type definition for global state management
|
|
168
|
+
*/
|
|
169
|
+
declare type AppState = {
|
|
170
|
+
define(bucket: string, initialState: any): any;
|
|
171
|
+
get(bucket: string, path?: string): any;
|
|
172
|
+
set(bucket: string, pathOrValue: string | any, value?: any): any;
|
|
173
|
+
update(bucket: string, pathOrUpdater: string | Function | any, updater?: Function | ((prev: any) => any | Promise<any>)): Promise<any>;
|
|
174
|
+
updateWith(bucket: string, updater: (prev: any) => any | Promise<any>): Promise<any>;
|
|
175
|
+
remove(bucket: string, value: any): void;
|
|
176
|
+
removeBy(bucket: string, predicate: (item: any) => boolean | Promise<boolean>): Promise<void>;
|
|
177
|
+
removeAt(bucket: string, index: number): any;
|
|
178
|
+
append(bucket: string, value: any): any;
|
|
179
|
+
push(bucket: string, value: any): any;
|
|
180
|
+
pop(bucket: string): any;
|
|
181
|
+
shift(bucket: string): any;
|
|
182
|
+
unshift(bucket: string, value: any): any;
|
|
183
|
+
insertAt(bucket: string, index: number, value: any): any;
|
|
184
|
+
};
|
|
185
|
+
|
|
165
186
|
declare type AppThemes = {
|
|
166
187
|
setActiveThemeId: (newThemeId: string) => void;
|
|
167
188
|
setActiveThemeTone: (newTone: ThemeTone) => void;
|
package/dist/lib/xmlui.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aa, Z, al, a1, ax, av, _, $, ai, ak, ay, aw, ag, ab, a2, a0, S, ar, b, ao, ap, a4, a5, ae, af, as, aj, at, au, ah, ad, c, f, e, h, j, k, l, i, n, p, q, s, u, v, x, w, t, y, z, A, B, C, D, E, F, G, H, I, J, K, L, M, P, N, O, Q, R, U, V, a3, W, X, a7, an, a6, a8, aq, a9, am, Y, ac } from "./index-
|
|
1
|
+
import { aa, Z, al, a1, ax, av, _, $, ai, ak, ay, aw, ag, ab, a2, a0, S, ar, b, ao, ap, a4, a5, ae, af, as, aj, at, au, ah, ad, c, f, e, h, j, k, l, i, n, p, q, s, u, v, x, w, t, y, z, A, B, C, D, E, F, G, H, I, J, K, L, M, P, N, O, Q, R, U, V, a3, W, X, a7, an, a6, a8, aq, a9, am, Y, ac } from "./index-BvICspZ1.js";
|
|
2
2
|
import { f as f2, x as x2 } from "./xmlui-parser-9Yk-asFP.js";
|
|
3
3
|
import { X as X2 } from "./xmlui-serializer-CeCcgdVR.js";
|
|
4
4
|
export {
|