xmlui 0.11.22 → 0.11.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/bin/index.cjs +67 -73
- package/dist/bin/index.js +51 -57
- package/dist/lib/{index-BvICspZ1.js → index-9UB61miF.js} +4548 -4060
- package/dist/lib/index.css +1 -1
- package/dist/lib/{initMock-Bq5003sR.js → initMock-DppAqVHs.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-DFy9QKH6.js → metadata-utils-X4ryJQBa.js} +1 -1
- package/dist/lib/scss/components-core/theming/_themes.scss +35 -7
- package/dist/lib/scss/index.scss +113 -66
- package/dist/lib/{server-common-BwQMbLFd.js → server-common-BZY2B446.js} +2464 -1296
- package/dist/lib/syntax-textmate.d.ts +1 -1
- package/dist/lib/syntax-textmate.js +1 -1
- package/dist/lib/testing.d.ts +8 -1
- package/dist/lib/testing.js +2 -2
- package/dist/lib/{transform-CQ_6R-43.js → transform-FiPBuy3W.js} +9 -3
- package/dist/lib/vite-xmlui-plugin.js +7 -3
- package/dist/lib/{xmlui-parser-9Yk-asFP.js → xmlui-parser-DXCqrM50.js} +1 -1
- package/dist/lib/xmlui-parser.d.ts +8 -1
- package/dist/lib/xmlui-parser.js +2 -2
- package/dist/lib/{xmlui-serializer-CeCcgdVR.js → xmlui-serializer-D4ixnQay.js} +1 -1
- package/dist/lib/xmlui.d.ts +15 -5
- package/dist/lib/xmlui.js +65 -64
- package/dist/metadata/{collectedComponentMetadata-CiXsnuT1.js → collectedComponentMetadata-CkHQSF65.js} +2237 -1751
- package/dist/metadata/{initMock-B3RWJ2uL.js → initMock-KBzfT81H.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 +17 -5
- package/dist/standalone/xmlui-standalone.umd.js +36 -36
- package/package.json +1 -1
- package/src/syntax/textMate/xmlui.tmLanguage.json +1 -1
|
@@ -395,6 +395,7 @@ declare type CollectedDeclarations = {
|
|
|
395
395
|
vars: Record<string, CodeDeclaration>;
|
|
396
396
|
functions: Record<string, CodeDeclaration>;
|
|
397
397
|
moduleErrors?: ModuleErrors;
|
|
398
|
+
hasInvalidStatements?: boolean;
|
|
398
399
|
};
|
|
399
400
|
|
|
400
401
|
declare type ColorDef = {
|
|
@@ -508,11 +509,17 @@ declare interface ComponentDefCore {
|
|
|
508
509
|
debug?: Record<string, any>;
|
|
509
510
|
}
|
|
510
511
|
|
|
512
|
+
declare type ComponentEventMetadata = {
|
|
513
|
+
readonly description: string;
|
|
514
|
+
readonly signature?: string;
|
|
515
|
+
readonly parameters?: Record<string, string>;
|
|
516
|
+
};
|
|
517
|
+
|
|
511
518
|
declare type ComponentExtension = ComponentRendererDef | CompoundComponentRendererInfo;
|
|
512
519
|
|
|
513
520
|
declare type ComponentLike = ComponentDef | CompoundComponentDef;
|
|
514
521
|
|
|
515
|
-
declare type ComponentMetadata<TProps extends Record<string, ComponentPropertyMetadata> = Record<string, any>, TEvents extends Record<string,
|
|
522
|
+
declare type ComponentMetadata<TProps extends Record<string, ComponentPropertyMetadata> = Record<string, any>, TEvents extends Record<string, ComponentEventMetadata> = Record<string, any>, TContextValues extends Record<string, ComponentPropertyMetadata> = Record<string, any>, TApis extends Record<string, ComponentApiMetadata> = Record<string, any>> = {
|
|
516
523
|
status?: "stable" | "experimental" | "deprecated" | "in progress" | "internal";
|
|
517
524
|
description?: string;
|
|
518
525
|
shortDescription?: string;
|
|
@@ -665,13 +672,13 @@ declare function d(description: string, availableValues?: readonly PropertyValue
|
|
|
665
672
|
|
|
666
673
|
declare function dAutoFocus(): ComponentPropertyMetadata;
|
|
667
674
|
|
|
668
|
-
declare function dClick(comp: string):
|
|
675
|
+
declare function dClick(comp: string): ComponentEventMetadata;
|
|
669
676
|
|
|
670
677
|
declare function dCollapse(comp: string): ComponentPropertyMetadata;
|
|
671
678
|
|
|
672
679
|
declare function dComponent(description: string): ComponentPropertyMetadata;
|
|
673
680
|
|
|
674
|
-
declare function dDidChange(comp: string):
|
|
681
|
+
declare function dDidChange(comp: string): ComponentEventMetadata;
|
|
675
682
|
|
|
676
683
|
declare function dDidClose(comp: string): ComponentPropertyMetadata;
|
|
677
684
|
|
|
@@ -707,7 +714,7 @@ declare function dExpanded(comp: string): ComponentPropertyMetadata;
|
|
|
707
714
|
|
|
708
715
|
declare function dFocus(comp: string): ComponentPropertyMetadata;
|
|
709
716
|
|
|
710
|
-
declare function dGotFocus(comp: string):
|
|
717
|
+
declare function dGotFocus(comp: string): ComponentEventMetadata;
|
|
711
718
|
|
|
712
719
|
declare enum DiagnosticCategory {
|
|
713
720
|
Error = 1,
|
|
@@ -718,6 +725,8 @@ declare enum DiagnosticCategory {
|
|
|
718
725
|
|
|
719
726
|
declare function dIndeterminate(defaultValue?: boolean): ComponentPropertyMetadata;
|
|
720
727
|
|
|
728
|
+
declare function dInit(comp: string): ComponentEventMetadata;
|
|
729
|
+
|
|
721
730
|
declare function dInitialValue(value?: any): ComponentPropertyMetadata;
|
|
722
731
|
|
|
723
732
|
declare function dInternal(description?: string): ComponentPropertyMetadata;
|
|
@@ -730,7 +739,7 @@ declare function dLabelPosition(def?: string): ComponentPropertyMetadata;
|
|
|
730
739
|
|
|
731
740
|
declare function dLabelWidth(comp: string): ComponentPropertyMetadata;
|
|
732
741
|
|
|
733
|
-
declare function dLostFocus(comp: string):
|
|
742
|
+
declare function dLostFocus(comp: string): ComponentEventMetadata;
|
|
734
743
|
|
|
735
744
|
declare function dMaxLength(): ComponentPropertyMetadata;
|
|
736
745
|
|
|
@@ -1003,6 +1012,7 @@ declare interface IAppLayoutContext {
|
|
|
1003
1012
|
scrollWholePage?: boolean;
|
|
1004
1013
|
isFullVerticalWidth?: boolean;
|
|
1005
1014
|
isNested?: boolean;
|
|
1015
|
+
setScrollRestorationEnabled?: (enabled: boolean) => void;
|
|
1006
1016
|
}
|
|
1007
1017
|
|
|
1008
1018
|
declare const Icon: default_2.ForwardRefExoticComponent<IconBaseProps & default_2.RefAttributes<HTMLElement>>;
|
|
@@ -1601,6 +1611,7 @@ declare const standaloneExports: {
|
|
|
1601
1611
|
dExpand: typeof xmluiExports.dExpand;
|
|
1602
1612
|
dGotFocus: typeof xmluiExports.dGotFocus;
|
|
1603
1613
|
dIndeterminate: typeof xmluiExports.dIndeterminate;
|
|
1614
|
+
dInit: typeof xmluiExports.dInit;
|
|
1604
1615
|
dInitialValue: typeof xmluiExports.dInitialValue;
|
|
1605
1616
|
dInternal: typeof xmluiExports.dInternal;
|
|
1606
1617
|
dLabel: typeof xmluiExports.dLabel;
|
|
@@ -2540,6 +2551,7 @@ declare namespace xmluiExports {
|
|
|
2540
2551
|
dExpand,
|
|
2541
2552
|
dGotFocus,
|
|
2542
2553
|
dIndeterminate,
|
|
2554
|
+
dInit,
|
|
2543
2555
|
dInitialValue,
|
|
2544
2556
|
dInternal,
|
|
2545
2557
|
dLabel,
|