xmlui 0.11.12 → 0.11.15
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-C_siLDTF.js → index-CP9ZIMMT.js} +230 -61
- package/dist/lib/index.css +1 -1
- package/dist/lib/{initMock-BYfY6ibT.js → initMock-C17fxLuA.js} +1 -1
- package/dist/lib/language-server-web-worker.js +1 -1
- package/dist/lib/language-server.js +1 -1
- package/dist/lib/{metadata-utils-2bsMr4Gd.js → metadata-utils-BXGJbvlh.js} +2 -2
- package/dist/lib/{server-common-aCslEKNy.js → server-common-Ce61T1XU.js} +1 -1
- package/dist/lib/testing.d.ts +9 -0
- package/dist/lib/testing.js +14 -0
- package/dist/lib/xmlui-parser.d.ts +1 -0
- package/dist/lib/xmlui.d.ts +4 -0
- package/dist/lib/xmlui.js +1 -1
- package/dist/metadata/{collectedComponentMetadata-CCJh2wtR.js → collectedComponentMetadata-Bn_obqca.js} +229 -60
- package/dist/metadata/{initMock-Dm6pyFPh.js → initMock-DROjRCvI.js} +1 -1
- 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 +7 -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-CP9ZIMMT.js";
|
|
4
4
|
import Dexie from "dexie";
|
|
5
5
|
var HttpStatusCode = /* @__PURE__ */ ((HttpStatusCode2) => {
|
|
6
6
|
HttpStatusCode2[HttpStatusCode2["Continue"] = 100] = "Continue";
|
|
@@ -489,8 +489,8 @@ export {
|
|
|
489
489
|
addOnPrefix as a,
|
|
490
490
|
getDefaultExportFromCjs as b,
|
|
491
491
|
alignmentOptionValues as c,
|
|
492
|
-
|
|
493
|
-
|
|
492
|
+
alignmentOptionMd as d,
|
|
493
|
+
layoutOptionKeys as e,
|
|
494
494
|
iconPositionMd as f,
|
|
495
495
|
getAugmentedNamespace as g,
|
|
496
496
|
buttonTypesMd as h,
|
|
@@ -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-BXGJbvlh.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/testing.d.ts
CHANGED
|
@@ -968,6 +968,13 @@ declare interface ReactiveVarDeclaration extends ExpressionBase {
|
|
|
968
968
|
expr: Expression;
|
|
969
969
|
}
|
|
970
970
|
|
|
971
|
+
declare class ResponsiveBarDriver extends ComponentDriver {
|
|
972
|
+
/**
|
|
973
|
+
* Get all menu items
|
|
974
|
+
*/
|
|
975
|
+
getMenuItems(): Locator;
|
|
976
|
+
}
|
|
977
|
+
|
|
971
978
|
declare type RETURN_STATEMENT = typeof T_RETURN_STATEMENT;
|
|
972
979
|
|
|
973
980
|
declare interface ReturnStatement extends ScripNodeBase {
|
|
@@ -1357,6 +1364,7 @@ declare type TestDriverExtenderProps = {
|
|
|
1357
1364
|
createDateInputDriver: ComponentDriverMethod<DateInputDriver>;
|
|
1358
1365
|
createModalDialogDriver: ComponentDriverMethod<ModalDialogDriver>;
|
|
1359
1366
|
createTreeDriver: ComponentDriverMethod<TreeDriver>;
|
|
1367
|
+
createResponsiveBarDriver: ComponentDriverMethod<ResponsiveBarDriver>;
|
|
1360
1368
|
};
|
|
1361
1369
|
|
|
1362
1370
|
declare class TestStateDriver {
|
|
@@ -1384,6 +1392,7 @@ declare interface ThemeDefinition extends ThemeDefinitionDetails {
|
|
|
1384
1392
|
name?: string;
|
|
1385
1393
|
extends?: string | Array<string>;
|
|
1386
1394
|
tones?: Record<string | ThemeTone, ThemeDefinitionDetails>;
|
|
1395
|
+
color?: string;
|
|
1387
1396
|
}
|
|
1388
1397
|
|
|
1389
1398
|
declare interface ThemeDefinitionDetails {
|
package/dist/lib/testing.js
CHANGED
|
@@ -1032,6 +1032,15 @@ class SliderDriver extends ComponentDriver {
|
|
|
1032
1032
|
}
|
|
1033
1033
|
}
|
|
1034
1034
|
}
|
|
1035
|
+
class ResponsiveBarDriver extends ComponentDriver {
|
|
1036
|
+
// Driver methods for ResponsiveBar will be added here
|
|
1037
|
+
/**
|
|
1038
|
+
* Get all menu items
|
|
1039
|
+
*/
|
|
1040
|
+
getMenuItems() {
|
|
1041
|
+
return this.page.getByRole("menuitem");
|
|
1042
|
+
}
|
|
1043
|
+
}
|
|
1035
1044
|
class TimeInputDriver extends InputComponentDriver {
|
|
1036
1045
|
get hourInput() {
|
|
1037
1046
|
return this.getByPartName("hour");
|
|
@@ -1677,6 +1686,11 @@ const test = test$1.extend({
|
|
|
1677
1686
|
await use((testIdOrLocator) => {
|
|
1678
1687
|
return createDriver(TreeDriver, testIdOrLocator);
|
|
1679
1688
|
});
|
|
1689
|
+
},
|
|
1690
|
+
createResponsiveBarDriver: async ({ createDriver }, use) => {
|
|
1691
|
+
await use((testIdOrLocator) => {
|
|
1692
|
+
return createDriver(ResponsiveBarDriver, testIdOrLocator);
|
|
1693
|
+
});
|
|
1680
1694
|
}
|
|
1681
1695
|
});
|
|
1682
1696
|
export {
|
|
@@ -1251,6 +1251,7 @@ declare interface ThemeDefinition extends ThemeDefinitionDetails {
|
|
|
1251
1251
|
name?: string;
|
|
1252
1252
|
extends?: string | Array<string>;
|
|
1253
1253
|
tones?: Record<string | ThemeTone, ThemeDefinitionDetails>;
|
|
1254
|
+
color?: string;
|
|
1254
1255
|
}
|
|
1255
1256
|
|
|
1256
1257
|
declare interface ThemeDefinitionDetails {
|
package/dist/lib/xmlui.d.ts
CHANGED
|
@@ -563,6 +563,7 @@ declare type ContentSeparatorProps = {
|
|
|
563
563
|
thickness?: number | string;
|
|
564
564
|
length?: number | string;
|
|
565
565
|
orientation?: string;
|
|
566
|
+
hasExplicitLength?: boolean;
|
|
566
567
|
style?: CSSProperties;
|
|
567
568
|
className?: string;
|
|
568
569
|
};
|
|
@@ -725,6 +726,7 @@ declare type DropdownMenuProps = {
|
|
|
725
726
|
triggerButtonThemeColor?: string;
|
|
726
727
|
triggerButtonIcon?: string;
|
|
727
728
|
triggerButtonIconPosition?: IconPosition;
|
|
729
|
+
compact?: boolean;
|
|
728
730
|
};
|
|
729
731
|
|
|
730
732
|
export declare function dSetValueApi(): ComponentPropertyMetadata;
|
|
@@ -1125,6 +1127,7 @@ declare type MenuItemProps = {
|
|
|
1125
1127
|
to?: string;
|
|
1126
1128
|
active?: boolean;
|
|
1127
1129
|
enabled?: boolean;
|
|
1130
|
+
compact?: boolean;
|
|
1128
1131
|
};
|
|
1129
1132
|
|
|
1130
1133
|
declare type Message = ValueOrFunction<Renderable, Toast>;
|
|
@@ -1801,6 +1804,7 @@ export declare interface ThemeDefinition extends ThemeDefinitionDetails {
|
|
|
1801
1804
|
name?: string;
|
|
1802
1805
|
extends?: string | Array<string>;
|
|
1803
1806
|
tones?: Record<string | ThemeTone, ThemeDefinitionDetails>;
|
|
1807
|
+
color?: string;
|
|
1804
1808
|
}
|
|
1805
1809
|
|
|
1806
1810
|
declare interface ThemeDefinitionDetails {
|
package/dist/lib/xmlui.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aa, Z, al, a1, ax, av, _, $, ai, ak, 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, 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-CP9ZIMMT.js";
|
|
2
2
|
import { e as e2, x as x2 } from "./xmlui-parser-CW8YmGjO.js";
|
|
3
3
|
import { X as X2 } from "./xmlui-serializer-CeCcgdVR.js";
|
|
4
4
|
export {
|