xmlui 0.9.79 → 0.9.80
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-Tct7bB50.mjs → index-DO8H2Odv.mjs} +19057 -14093
- package/dist/lib/index.css +1 -1
- package/dist/lib/{initMock-CXDXFOVS.mjs → initMock-CYAkCVnp.mjs} +1 -1
- package/dist/lib/xmlui.d.ts +11 -9
- package/dist/lib/xmlui.mjs +1 -1
- package/dist/metadata/{collectedComponentMetadata-CJAnOboV.mjs → collectedComponentMetadata-uE4L7cM3.mjs} +23618 -18663
- package/dist/metadata/{initMock-D7yOIx8z.mjs → initMock-CqvnqrIU.mjs} +1 -1
- package/dist/metadata/style.css +1 -1
- package/dist/metadata/xmlui-metadata.mjs +1 -1
- package/dist/metadata/xmlui-metadata.umd.js +135 -123
- package/dist/scripts/package.json +1 -1
- package/dist/scripts/src/components/FormItem/FormItem.js +21 -2
- package/dist/scripts/src/components/FormItem/FormItemNative.js +2 -2
- package/dist/scripts/src/components/Markdown/MarkdownNative.js +4 -3
- package/dist/scripts/src/components/NestedApp/AppWithCodeViewNative.js +7 -6
- package/dist/scripts/src/components/NumberBox/NumberBox.js +6 -1
- package/dist/scripts/src/components/NumberBox/NumberBoxNative.js +1 -0
- package/dist/scripts/src/components-core/ComponentViewer.js +66 -0
- package/dist/scripts/src/components-core/InspectorContext.js +0 -15
- package/dist/scripts/src/components-core/abstractions/standalone.js +2 -0
- package/dist/scripts/src/components-core/devtools/InspectorDialog.js +135 -0
- package/dist/scripts/src/components-core/rendering/AppWrapper.js +5 -2
- package/dist/scripts/src/language-server/services/common/metadata-utils.js +157 -0
- package/dist/scripts/src/parsers/xmlui-parser/index.js +29 -0
- package/dist/scripts/src/parsers/xmlui-parser/lint.js +165 -0
- package/dist/scripts/src/parsers/xmlui-parser/xmlui-serializer.js +582 -0
- package/dist/scripts/src/parsers/xmlui-parser/xmlui-tree.js +2 -0
- package/dist/standalone/xmlui-standalone.es.d.ts +11 -9
- package/dist/standalone/xmlui-standalone.umd.js +277 -265
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { delay as D, HttpResponse as g, matchRequestUrl as E } from "msw";
|
|
2
2
|
import { isArray as N, isObject as U, mapValues as T } from "lodash-es";
|
|
3
|
-
import { r as M, g as $, d as F, m as O, a as B, o as A, T as x } from "./index-
|
|
3
|
+
import { r as M, g as $, d as F, m as O, a as B, o as A, T as x } from "./index-DO8H2Odv.mjs";
|
|
4
4
|
import q from "dexie";
|
|
5
5
|
var k = /* @__PURE__ */ ((e) => (e[e.Continue = 100] = "Continue", e[e.SwitchingProtocols = 101] = "SwitchingProtocols", e[e.Processing = 102] = "Processing", e[e.EarlyHints = 103] = "EarlyHints", e[e.Ok = 200] = "Ok", e[e.Created = 201] = "Created", e[e.Accepted = 202] = "Accepted", e[e.NonAuthoritativeInformation = 203] = "NonAuthoritativeInformation", e[e.NoContent = 204] = "NoContent", e[e.ResetContent = 205] = "ResetContent", e[e.PartialContent = 206] = "PartialContent", e[e.MultiStatus = 207] = "MultiStatus", e[e.AlreadyReported = 208] = "AlreadyReported", e[e.ImUsed = 226] = "ImUsed", e[e.MultipleChoices = 300] = "MultipleChoices", e[e.MovedPermanently = 301] = "MovedPermanently", e[e.Found = 302] = "Found", e[e.SeeOther = 303] = "SeeOther", e[e.NotModified = 304] = "NotModified", e[e.UseProxy = 305] = "UseProxy", e[e.Unused = 306] = "Unused", e[e.TemporaryRedirect = 307] = "TemporaryRedirect", e[e.PermanentRedirect = 308] = "PermanentRedirect", e[e.BadRequest = 400] = "BadRequest", e[e.Unauthorized = 401] = "Unauthorized", e[e.PaymentRequired = 402] = "PaymentRequired", e[e.Forbidden = 403] = "Forbidden", e[e.NotFound = 404] = "NotFound", e[e.MethodNotAllowed = 405] = "MethodNotAllowed", e[e.NotAcceptable = 406] = "NotAcceptable", e[e.ProxyAuthenticationRequired = 407] = "ProxyAuthenticationRequired", e[e.RequestTimeout = 408] = "RequestTimeout", e[e.Conflict = 409] = "Conflict", e[e.Gone = 410] = "Gone", e[e.LengthRequired = 411] = "LengthRequired", e[e.PreconditionFailed = 412] = "PreconditionFailed", e[e.PayloadTooLarge = 413] = "PayloadTooLarge", e[e.UriTooLong = 414] = "UriTooLong", e[e.UnsupportedMediaType = 415] = "UnsupportedMediaType", e[e.RangeNotSatisfiable = 416] = "RangeNotSatisfiable", e[e.ExpectationFailed = 417] = "ExpectationFailed", e[e.ImATeapot = 418] = "ImATeapot", e[e.MisdirectedRequest = 421] = "MisdirectedRequest", e[e.UnprocessableEntity = 422] = "UnprocessableEntity", e[e.Locked = 423] = "Locked", e[e.FailedDependency = 424] = "FailedDependency", e[e.TooEarly = 425] = "TooEarly", e[e.UpgradeRequired = 426] = "UpgradeRequired", e[e.PreconditionRequired = 428] = "PreconditionRequired", e[e.TooManyRequests = 429] = "TooManyRequests", e[e.RequestHeaderFieldsTooLarge = 431] = "RequestHeaderFieldsTooLarge", e[e.UnavailableForLegalReasons = 451] = "UnavailableForLegalReasons", e[e.InternalServerError = 500] = "InternalServerError", e[e.NotImplemented = 501] = "NotImplemented", e[e.BadGateway = 502] = "BadGateway", e[e.ServiceUnavailable = 503] = "ServiceUnavailable", e[e.GatewayTimeout = 504] = "GatewayTimeout", e[e.HttpVersionNotSupported = 505] = "HttpVersionNotSupported", e[e.VariantAlsoNegotiates = 506] = "VariantAlsoNegotiates", e[e.InsufficientStorage = 507] = "InsufficientStorage", e[e.LoopDetected = 508] = "LoopDetected", e[e.NotExtended = 510] = "NotExtended", e[e.NetworkAuthenticationRequired = 511] = "NetworkAuthenticationRequired", e))(k || {});
|
|
6
6
|
class m extends Error {
|
package/dist/lib/xmlui.d.ts
CHANGED
|
@@ -66,13 +66,7 @@ export declare type ApiInterceptorDefinition = {
|
|
|
66
66
|
useWorker?: boolean;
|
|
67
67
|
};
|
|
68
68
|
|
|
69
|
-
export declare function ApiInterceptorProvider({ interceptor, children, parentInterceptorContext, waitForApiInterceptor, }:
|
|
70
|
-
interceptor?: ApiInterceptorDefinition;
|
|
71
|
-
children: ReactNode;
|
|
72
|
-
apiWorker?: SetupWorker;
|
|
73
|
-
parentInterceptorContext?: IApiInterceptorContext;
|
|
74
|
-
waitForApiInterceptor?: boolean;
|
|
75
|
-
}): JSX_2.Element;
|
|
69
|
+
export declare function ApiInterceptorProvider({ interceptor, children, parentInterceptorContext, waitForApiInterceptor, }: Props_4): JSX_2.Element;
|
|
76
70
|
|
|
77
71
|
declare type AppContextObject = {
|
|
78
72
|
[x: string]: unknown;
|
|
@@ -1060,6 +1054,14 @@ declare type Props_3 = {
|
|
|
1060
1054
|
distributeEvenly?: boolean;
|
|
1061
1055
|
};
|
|
1062
1056
|
|
|
1057
|
+
declare type Props_4 = {
|
|
1058
|
+
interceptor?: ApiInterceptorDefinition;
|
|
1059
|
+
children: ReactNode;
|
|
1060
|
+
parentInterceptorContext?: IApiInterceptorContext;
|
|
1061
|
+
waitForApiInterceptor?: boolean;
|
|
1062
|
+
useHashBasedRouting?: boolean;
|
|
1063
|
+
};
|
|
1064
|
+
|
|
1063
1065
|
/**
|
|
1064
1066
|
* TextBox component that supports text input with various configurations.
|
|
1065
1067
|
* Features:
|
|
@@ -1068,7 +1070,7 @@ declare type Props_3 = {
|
|
|
1068
1070
|
* - Start/end adornments (icons and text)
|
|
1069
1071
|
* - Password visibility toggle option
|
|
1070
1072
|
*/
|
|
1071
|
-
declare type
|
|
1073
|
+
declare type Props_5 = {
|
|
1072
1074
|
id?: string;
|
|
1073
1075
|
type?: "text" | "password" | "search";
|
|
1074
1076
|
value?: string;
|
|
@@ -1450,7 +1452,7 @@ declare interface TemplateLiteralExpression extends ExpressionBase {
|
|
|
1450
1452
|
declare const Text_2: default_2.ForwardRefExoticComponent<Omit<TextProps, "ref"> & default_2.RefAttributes<unknown>>;
|
|
1451
1453
|
export { Text_2 as Text }
|
|
1452
1454
|
|
|
1453
|
-
export declare const TextBox: default_2.ForwardRefExoticComponent<
|
|
1455
|
+
export declare const TextBox: default_2.ForwardRefExoticComponent<Props_5 & default_2.RefAttributes<HTMLDivElement>>;
|
|
1454
1456
|
|
|
1455
1457
|
declare type TextProps = {
|
|
1456
1458
|
uid?: string;
|
package/dist/lib/xmlui.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { y as e, A as t, B as o, E as r, I as n, L as p, H as u, N as i, z as l, i as C, h as d, S as m, b as x, k as T, l as c, D as S, F as A, G as g, V as h, C as v, c as B, e as I, f as L, w as b, j as k, p as y, s as E, t as M, K as V, n as f, q as H, M as N, v as R, J as D, u as U, x as X } from "./index-
|
|
1
|
+
import { y as e, A as t, B as o, E as r, I as n, L as p, H as u, N as i, z as l, i as C, h as d, S as m, b as x, k as T, l as c, D as S, F as A, G as g, V as h, C as v, c as B, e as I, f as L, w as b, j as k, p as y, s as E, t as M, K as V, n as f, q as H, M as N, v as R, J as D, u as U, x as X } from "./index-DO8H2Odv.mjs";
|
|
2
2
|
import { X as q } from "./xmlui-serializer-jEIItW8v.mjs";
|
|
3
3
|
export {
|
|
4
4
|
e as ApiInterceptorProvider,
|