xmlui 0.9.59 → 0.9.61

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.
Files changed (150) hide show
  1. package/dist/lib/{apiInterceptorWorker-BYU_Trhx.mjs → apiInterceptorWorker-DBv1IaN7.mjs} +1 -1
  2. package/dist/lib/{index-JqY6G28u.mjs → index-C9AUt7Ay.mjs} +3316 -3299
  3. package/dist/lib/index.css +1 -1
  4. package/dist/lib/language-server-web-worker.mjs +1 -1
  5. package/dist/lib/language-server.mjs +1 -1
  6. package/dist/lib/{metadata-utils-BXdiMJQN.mjs → metadata-utils-DJM8orNd.mjs} +1 -1
  7. package/dist/lib/{server-common-DGglaqCL.mjs → server-common-D0VA8gIv.mjs} +2 -2
  8. package/dist/lib/{transform-BboeJCuA.mjs → transform-BdB0APqE.mjs} +1203 -1109
  9. package/dist/lib/xmlui-parser.d.ts +45 -247
  10. package/dist/lib/xmlui-parser.mjs +2 -2
  11. package/dist/lib/{xmlui-serializer-D0p6Hyum.mjs → xmlui-serializer-COAfRndx.mjs} +1 -1
  12. package/dist/lib/xmlui.d.ts +52 -673
  13. package/dist/lib/xmlui.mjs +2 -2
  14. package/dist/metadata/{apiInterceptorWorker-CqXRCP46.mjs → apiInterceptorWorker-Bu81HvQB.mjs} +1 -1
  15. package/dist/metadata/{collectedComponentMetadata-BA6d7xt-.mjs → collectedComponentMetadata-Dzn97vOS.mjs} +6006 -5896
  16. package/dist/metadata/style.css +1 -1
  17. package/dist/metadata/xmlui-metadata.mjs +1 -1
  18. package/dist/metadata/xmlui-metadata.umd.js +94 -97
  19. package/dist/scripts/package.json +1 -1
  20. package/dist/scripts/src/abstractions/ComponentDefs.js +0 -8
  21. package/dist/scripts/src/abstractions/ThemingDefs.js +0 -9
  22. package/dist/scripts/src/components/APICall/APICall.js +30 -18
  23. package/dist/scripts/src/components/Accordion/Accordion.js +4 -3
  24. package/dist/scripts/src/components/Accordion/AccordionItem.js +10 -4
  25. package/dist/scripts/src/components/App/App.js +4 -3
  26. package/dist/scripts/src/components/AppHeader/AppHeader.js +1 -2
  27. package/dist/scripts/src/components/AppState/AppState.js +3 -3
  28. package/dist/scripts/src/components/AutoComplete/AutoComplete.js +6 -7
  29. package/dist/scripts/src/components/Avatar/Avatar.js +3 -3
  30. package/dist/scripts/src/components/Backdrop/Backdrop.js +1 -2
  31. package/dist/scripts/src/components/Badge/Badge.js +1 -2
  32. package/dist/scripts/src/components/Bookmark/Bookmark.js +2 -2
  33. package/dist/scripts/src/components/Breakout/Breakout.js +2 -2
  34. package/dist/scripts/src/components/Button/Button.js +1 -2
  35. package/dist/scripts/src/components/Card/Card.js +1 -2
  36. package/dist/scripts/src/components/Carousel/Carousel.js +6 -7
  37. package/dist/scripts/src/components/Carousel/CarouselItem.js +2 -2
  38. package/dist/scripts/src/components/ChangeListener/ChangeListener.js +1 -2
  39. package/dist/scripts/src/components/Charts/BarChart/BarChart.js +2 -2
  40. package/dist/scripts/src/components/Charts/DonutChart/DonutChart.js +2 -2
  41. package/dist/scripts/src/components/Charts/LabelList/LabelList.js +2 -2
  42. package/dist/scripts/src/components/Charts/Legend/Legend.js +2 -2
  43. package/dist/scripts/src/components/Charts/LineChart/LineChart.js +6 -6
  44. package/dist/scripts/src/components/Charts/PieChart/PieChart.js +3 -3
  45. package/dist/scripts/src/components/Checkbox/Checkbox.js +1 -2
  46. package/dist/scripts/src/components/CodeBlock/CodeBlock.js +2 -2
  47. package/dist/scripts/src/components/ColorPicker/ColorPicker.js +1 -2
  48. package/dist/scripts/src/components/Column/Column.js +2 -2
  49. package/dist/scripts/src/components/ContentSeparator/ContentSeparator.js +2 -2
  50. package/dist/scripts/src/components/DatePicker/DatePicker.js +2 -3
  51. package/dist/scripts/src/components/DropdownMenu/DropdownMenu.js +6 -7
  52. package/dist/scripts/src/components/EmojiSelector/EmojiSelector.js +2 -3
  53. package/dist/scripts/src/components/ExpandableItem/ExpandableItem.js +6 -7
  54. package/dist/scripts/src/components/FileInput/FileInput.js +14 -15
  55. package/dist/scripts/src/components/FileUploadDropZone/FileUploadDropZone.js +4 -4
  56. package/dist/scripts/src/components/FlowLayout/FlowLayout.js +2 -2
  57. package/dist/scripts/src/components/Footer/Footer.js +2 -2
  58. package/dist/scripts/src/components/Form/Form.js +12 -13
  59. package/dist/scripts/src/components/FormItem/FormItem.js +7 -8
  60. package/dist/scripts/src/components/FormSection/FormSection.js +7 -29
  61. package/dist/scripts/src/components/Heading/Heading.js +11 -11
  62. package/dist/scripts/src/components/HelloWorld/HelloWorld.js +1 -2
  63. package/dist/scripts/src/components/HoverCard/HoverCard.js +1 -2
  64. package/dist/scripts/src/components/HtmlTags/HtmlTags.js +297 -297
  65. package/dist/scripts/src/components/Icon/Icon.js +5 -5
  66. package/dist/scripts/src/components/Image/Image.js +4 -5
  67. package/dist/scripts/src/components/InspectButton/InspectButton.js +2 -2
  68. package/dist/scripts/src/components/Items/Items.js +2 -3
  69. package/dist/scripts/src/components/Link/Link.js +3 -4
  70. package/dist/scripts/src/components/List/List.js +15 -16
  71. package/dist/scripts/src/components/Logo/Logo.js +2 -2
  72. package/dist/scripts/src/components/Markdown/Markdown.js +3 -3
  73. package/dist/scripts/src/components/Markdown/MarkdownNative.js +1 -2
  74. package/dist/scripts/src/components/Markdown/parse-binding-expr.js +1 -1
  75. package/dist/scripts/src/components/Markdown/utils.js +16 -6
  76. package/dist/scripts/src/components/ModalDialog/ModalDialog.js +9 -9
  77. package/dist/scripts/src/components/NavGroup/NavGroup.js +2 -3
  78. package/dist/scripts/src/components/NavLink/NavLink.js +3 -4
  79. package/dist/scripts/src/components/NavPanel/NavPanel.js +1 -2
  80. package/dist/scripts/src/components/NestedApp/AppWithCodeView.js +2 -2
  81. package/dist/scripts/src/components/NestedApp/AppWithCodeViewNative.js +5 -7
  82. package/dist/scripts/src/components/NestedApp/NestedApp.js +7 -3
  83. package/dist/scripts/src/components/NestedApp/NestedAppNative.js +4 -2
  84. package/dist/scripts/src/components/NoResult/NoResult.js +1 -2
  85. package/dist/scripts/src/components/NumberBox/NumberBox.js +5 -6
  86. package/dist/scripts/src/components/NumberBox/NumberBox2.js +5 -6
  87. package/dist/scripts/src/components/Option/Option.js +5 -5
  88. package/dist/scripts/src/components/PageMetaTitle/PageMetaTitle.js +2 -2
  89. package/dist/scripts/src/components/Pages/Pages.js +3 -4
  90. package/dist/scripts/src/components/PositionedContainer/PositionedContainer.js +3 -3
  91. package/dist/scripts/src/components/ProgressBar/ProgressBar.js +2 -2
  92. package/dist/scripts/src/components/Queue/Queue.js +16 -16
  93. package/dist/scripts/src/components/RadioGroup/RadioGroup.js +1 -2
  94. package/dist/scripts/src/components/RadioGroup/RadioItem.js +2 -2
  95. package/dist/scripts/src/components/RealTimeAdapter/RealTimeAdapter.js +3 -3
  96. package/dist/scripts/src/components/Redirect/Redirect.js +2 -2
  97. package/dist/scripts/src/components/Select/Select.js +6 -7
  98. package/dist/scripts/src/components/SelectionStore/SelectionStore.js +2 -2
  99. package/dist/scripts/src/components/Slider/Slider.js +4 -5
  100. package/dist/scripts/src/components/SpaceFiller/SpaceFiller.js +2 -2
  101. package/dist/scripts/src/components/Spinner/Spinner.js +2 -2
  102. package/dist/scripts/src/components/Splitter/Splitter.js +2 -3
  103. package/dist/scripts/src/components/Stack/Stack.js +1 -2
  104. package/dist/scripts/src/components/StickyBox/StickyBox.js +2 -2
  105. package/dist/scripts/src/components/Switch/Switch.js +1 -2
  106. package/dist/scripts/src/components/Table/Table.js +19 -20
  107. package/dist/scripts/src/components/TableOfContents/TableOfContents.js +2 -2
  108. package/dist/scripts/src/components/Tabs/TabItem.js +1 -2
  109. package/dist/scripts/src/components/Tabs/Tabs.js +4 -4
  110. package/dist/scripts/src/components/Text/Text.js +4 -4
  111. package/dist/scripts/src/components/TextArea/TextArea.js +4 -5
  112. package/dist/scripts/src/components/TextBox/TextBox.js +3 -4
  113. package/dist/scripts/src/components/Theme/Theme.js +4 -4
  114. package/dist/scripts/src/components/ToneChangerButton/ToneChangerButton.js +2 -2
  115. package/dist/scripts/src/components/Tree/TreeComponent.js +1 -2
  116. package/dist/scripts/src/components/TreeDisplay/TreeDisplay.js +2 -2
  117. package/dist/scripts/src/components/metadata-helpers.js +8 -0
  118. package/dist/scripts/src/components-core/Fragment.js +2 -2
  119. package/dist/scripts/src/components-core/LoaderComponent.js +1 -1
  120. package/dist/scripts/src/components-core/RestApiProxy.js +1 -1
  121. package/dist/scripts/src/components-core/Slot.js +3 -3
  122. package/dist/scripts/src/components-core/loader/ApiLoader.js +4 -4
  123. package/dist/scripts/src/components-core/loader/DataLoader.js +20 -20
  124. package/dist/scripts/src/components-core/loader/ExternalDataLoader.js +6 -6
  125. package/dist/scripts/src/components-core/loader/MockLoaderRenderer.js +4 -4
  126. package/dist/scripts/src/components-core/rendering/AppContent.js +2 -2
  127. package/dist/scripts/src/components-core/rendering/ComponentAdapter.js +1 -1
  128. package/dist/scripts/src/components-core/rendering/Container.js +2 -2
  129. package/dist/scripts/src/components-core/rendering/StateContainer.js +2 -2
  130. package/dist/scripts/src/components-core/rendering/reducer.js +1 -1
  131. package/dist/scripts/src/components-core/script-runner/ScriptingSourceTree.js +45 -0
  132. package/dist/scripts/src/components-core/script-runner/eval-tree-async.js +1 -1
  133. package/dist/scripts/src/components-core/script-runner/eval-tree-common.js +1 -1
  134. package/dist/scripts/src/components-core/script-runner/eval-tree-sync.js +1 -1
  135. package/dist/scripts/src/components-core/script-runner/process-statement-async.js +1 -1
  136. package/dist/scripts/src/components-core/script-runner/process-statement-common.js +1 -1
  137. package/dist/scripts/src/components-core/script-runner/process-statement-sync.js +1 -1
  138. package/dist/scripts/src/components-core/script-runner/visitors.js +1 -1
  139. package/dist/scripts/src/components-core/theming/ThemeProvider.js +2 -2
  140. package/dist/scripts/src/components-core/theming/utils.js +31 -0
  141. package/dist/scripts/src/components-core/utils/statementUtils.js +1 -1
  142. package/dist/scripts/src/parsers/scripting/Parser.js +1 -1
  143. package/dist/scripts/src/parsers/scripting/code-behind-collect.js +1 -1
  144. package/dist/scripts/src/parsers/scripting/modules.js +1 -1
  145. package/dist/scripts/src/parsers/scripting/tree-visitor.js +1 -1
  146. package/dist/standalone/xmlui-standalone.es.d.ts +52 -673
  147. package/dist/standalone/xmlui-standalone.umd.js +215 -218
  148. package/package.json +1 -1
  149. /package/dist/scripts/src/components-core/{abstractions → rendering}/containers.js +0 -0
  150. /package/dist/scripts/src/{abstractions/scripting/ScriptingSourceTree.js → parsers/scripting/ScriptingNodeTypes.js} +0 -0
@@ -241,94 +241,30 @@ declare type CollectedDeclarations = {
241
241
  moduleErrors?: ModuleErrors;
242
242
  };
243
243
 
244
- /**
245
- * This interface represents the properties of a component definition.
246
- */
247
244
  declare interface ComponentDef<TMd extends ComponentMetadata = ComponentMetadata> extends ComponentDefCore, Scriptable {
248
245
  props?: Record<keyof TMd["props"], any>;
249
246
  events?: Record<keyof TMd["events"], any>;
250
- /**
251
- * Components may have an API that other components can use to interact with them. This property holds
252
- * the API methods associated with this component definition.
253
- */
254
247
  api?: Record<keyof TMd["apis"], any>;
255
- /**
256
- * Components may provide context variables that can be used to in expressions and event handlers
257
- * within the component.
258
- * REVIEW: This property can be removed after migration to the new componend definition type.
259
- */
260
248
  contextVars?: Record<keyof TMd["contextVars"], string>;
261
249
  }
262
250
 
263
- /**
264
- * This interface represents the core properties of a component definition (independent
265
- * of component metadata).
266
- */
267
251
  declare interface ComponentDefCore {
268
252
  type: string;
269
253
  uid?: string;
270
254
  testId?: string;
271
- /**
272
- * A component can define namespaces on it, with the <ComponentName xmlns:KEY="VALUE" /> syntax
273
- * these are used later to resolve the `type` of the componentDef.
274
- * <KEY:Button/> will have type `VALUE.Button` (joined with a "." (dot) )
275
- */
276
255
  namespaces?: Record<string, string>;
277
- /**
278
- * Though components manage their state internally, the app logic may require user state management.
279
- * Components may have user *variables*, which the UI logic uses to manage the application state.
280
- * This property holds the variables (name and value pairs) associated with this component definition.
281
- */
282
256
  vars?: Record<string, any>;
283
- /**
284
- * Each component may have child components to constitute a hierarchy of components. This property
285
- * holds the definition of these nested children.
286
- */
287
257
  children?: ComponentDef[];
288
- /**
289
- * Components may have slots that can be filled with other components. This property holds the
290
- * contents of the slots
291
- */
292
258
  slots?: Record<string, ComponentDef[]>;
293
- /**
294
- * This property is evaluated to a Boolean value during run time. When this value is `true`, the
295
- * component with its children chain is rendered; otherwise, the entire component hierarchy is omitted
296
- * from the rendered tree.
297
- */
298
259
  when?: string | boolean;
299
- /**
300
- * Some components work with data obtained asynchronously. Fetching this data requires some state
301
- * management handling the complexity (including error handling) of data access. A *loader* is
302
- * responsible for managing this logic. This property holds the loaders associated with this component
303
- * definition.
304
- */
305
260
  loaders?: ComponentDef[];
306
- /**
307
- * Components may have functions that are used to perform some logic. This property holds the functions
308
- * (name and function body) associated with this component definition.
309
- */
310
261
  functions?: Record<string, any>;
311
- /**
312
- * Components managing state through variables or loaders are wrapped with containers responsible
313
- * for this job. Just as components, containers form a hierarchy. While working with this hierarchy,
314
- * parent components may flow state values (key and value pairs) to their child containers. This
315
- * property holds the name of state values to flow down to the direct child containers.
316
- */
317
262
  uses?: string[];
318
- /**
319
- * Arbitrary debug information that can be attached to a component definition.
320
- * Current usage:
321
- * - `debug: { source: { start: number, end: number } }` Ther start and end positions of of the source
322
- * belonging to the particular component definition.
323
- */
324
263
  debug?: Record<string, any>;
325
264
  }
326
265
 
327
266
  export declare const componentFileExtension = "xmlui";
328
267
 
329
- /**
330
- * Sometimes, components and compound components can both be used
331
- */
332
268
  declare type ComponentLike = ComponentDef | CompoundComponentDef;
333
269
 
334
270
  export declare type ComponentLints = {
@@ -339,14 +275,6 @@ export declare type ComponentLints = {
339
275
  componentName: string;
340
276
  };
341
277
 
342
- /**
343
- * Components have metadata that the rendering engine uses to render the
344
- * component. This type defines the structure of such metadata.
345
- *
346
- * The type has generic parameters to ensure that type-checking works with
347
- * the metadata defined here in concert with the renderer object using the
348
- * same metadata type.
349
- */
350
278
  declare type ComponentMetadata<TProps extends Record<string, ComponentPropertyMetadata> = Record<string, any>, TEvents extends Record<string, ComponentPropertyMetadata> = Record<string, any>, TContextValues extends Record<string, ComponentPropertyMetadata> = Record<string, any>, TApis extends Record<string, ComponentPropertyMetadata> = Record<string, any>> = {
351
279
  status?: "stable" | "experimental" | "deprecated" | "in progress";
352
280
  description?: string;
@@ -393,88 +321,24 @@ declare class ComponentMetadataProvider {
393
321
  getMetadata(): RestrictedComponentMetadata;
394
322
  }
395
323
 
396
- /**
397
- * Components have properties, events, context values, and exposed API
398
- * endpoints, each holding metadata the rendering engine uses at run time.
399
- * This type defines the structure of such metadata.
400
- */
401
324
  declare type ComponentPropertyMetadata = {
402
- /**
403
- * This field defines the description explaining the property. You can use
404
- * markdown, as the UI may display this value.
405
- */
406
325
  readonly description: string;
407
- /**
408
- * This field defines the type of the property. The rendering engine uses this
409
- * information to validate the property value.
410
- */
411
326
  readonly valueType?: PropertyValueType;
412
- /**
413
- * This field defines the available values of the property. The rendering engine
414
- * uses this information to validate the property value.
415
- */
416
327
  readonly availableValues?: readonly PropertyValueDescription[];
417
- /**
418
- * This field defines the default value of the property. The rendering engine uses
419
- * this information to set the default value of the property.
420
- */
421
328
  defaultValue?: any;
422
- /**
423
- * This field defines a validation function that the rendering engine uses to validate
424
- * the property value. The function returns one or more hinst if the property value is
425
- * invalid.
426
- */
427
329
  isValid?: IsValidFunction<any>;
428
- /**
429
- * Indicates that a particular property is internal and should not be exposed in the
430
- * documentation
431
- */
432
330
  isInternal?: boolean;
433
- /**
434
- * Indicates that a particular property is required for the component to essentially function.
435
- */
436
331
  isRequired?: boolean;
437
332
  };
438
333
 
439
334
  export declare const COMPOUND_COMP_ID = "Component";
440
335
 
441
- /**
442
- * XMLUI allows the creation of reusable components assembled from other XMLUI components (with markup).
443
- * This type represents such components. The name `CompoundComponent` refers to the assembled nature
444
- * of reusable components.
445
- */
446
336
  declare interface CompoundComponentDef extends Scriptable {
447
- /**
448
- * Each compound component must have a unique name. The markup uses this name to refer to the
449
- * particular compound component.
450
- */
451
337
  name: string;
452
- /**
453
- * Each compound component must have a single root component defining the component contents.
454
- */
455
338
  component: ComponentDef;
456
- /**
457
- * Compound components may provide an API that other components can use to interact with them. This
458
- * property holds the API methods associated with this compound component definition.
459
- */
460
339
  api?: Record<string, any>;
461
- /**
462
- * This property holds the variables (name and value pairs) associated with this compound component
463
- * definition.
464
- */
465
340
  vars?: Record<string, any>;
466
- /**
467
- * A component can define namespaces on it, with the <ComponentName xmlns:KEY="VALUE" /> syntax
468
- * these are used later to resolve the `type` of the componentDef.
469
- * <KEY:Button/> will have type `VALUE.Button` (joined with a "." (dot) )
470
- */
471
341
  namespaces?: Record<string, string>;
472
- /**
473
- * Arbitrary debug information that can be attached to a component definition.
474
- * Current usage:
475
- * - `debug: { source: { start: number, end: number } }` Ther start and end positions of of the source
476
- * belonging to the particular component definition.
477
- */
478
342
  debug?: Record<string, any>;
479
343
  codeBehind?: string;
480
344
  }
@@ -735,36 +599,12 @@ export declare type FindTokenSuccess = {
735
599
  sharedParents: undefined;
736
600
  };
737
601
 
738
- /**
739
- * This type describes a font definition resource.
740
- */
741
602
  declare type FontDef = {
742
- /**
743
- * Specifies a name that will be used as the font face value for font properties
744
- */
745
603
  fontFamily: string;
746
- /**
747
- * A fontStyle value. Accepts two values to specify a range that is supported by a font-face,
748
- * for example `fontStyle: oblique 20deg 50deg`
749
- */
750
604
  fontStyle?: string;
751
- /**
752
- * A font-weight value. Accepts two values to specify a range that is supported by a font-face,
753
- * for example `font-weight: 100 900`
754
- */
755
605
  fontWeight?: string;
756
- /**
757
- * This property determines how a font face is displayed based on whether and when it is downloaded
758
- * and ready to use.
759
- */
760
606
  fontDisplay?: string;
761
- /**
762
- * The mime type of the font file
763
- */
764
607
  format?: string;
765
- /**
766
- * Specifies references to font resources.
767
- */
768
608
  src: string;
769
609
  } | string;
770
610
 
@@ -1024,10 +864,6 @@ declare type PrefixOpSymbol = "++" | "--";
1024
864
 
1025
865
  export declare function printComponentLints(lintDiags: ComponentLints): void;
1026
866
 
1027
- /**
1028
- * This type represents the description of a property value, which can be a string, a number,
1029
- * or an object with a value and a description. This type is used in the metadata of a component.
1030
- */
1031
867
  declare type PropertyValueDescription = string | number | {
1032
868
  value: string | number;
1033
869
  description: string;
@@ -1089,21 +925,9 @@ declare interface ScripNodeBase {
1089
925
  endToken?: ScriptingToken;
1090
926
  }
1091
927
 
1092
- /**
1093
- * This interface holds the properties representing a scriptable component definition.
1094
- */
1095
928
  declare interface Scriptable {
1096
- /**
1097
- * This property holds the text defined in all <script> sections attached to a component.
1098
- */
1099
929
  script?: string;
1100
- /**
1101
- * This property holds the parsed form of scripts stored in code-behind files.
1102
- */
1103
930
  scriptCollected?: CollectedDeclarations;
1104
- /**
1105
- * This property holds errors coming from parsing the code-behind scripts.
1106
- */
1107
931
  scriptError?: any;
1108
932
  }
1109
933
 
@@ -1206,93 +1030,93 @@ export declare const enum SyntaxKind {
1206
1030
  ErrorNode = 27
1207
1031
  }
1208
1032
 
1209
- declare const T_ARRAY_DESTRUCTURE = 202;
1033
+ declare const T_ARRAY_DESTRUCTURE: number;
1210
1034
 
1211
- declare const T_ARRAY_LITERAL = 110;
1035
+ declare const T_ARRAY_LITERAL: number;
1212
1036
 
1213
- declare const T_ARROW_EXPRESSION = 115;
1037
+ declare const T_ARROW_EXPRESSION: number;
1214
1038
 
1215
- declare const T_ARROW_EXPRESSION_STATEMENT = 4;
1039
+ declare const T_ARROW_EXPRESSION_STATEMENT: number;
1216
1040
 
1217
- declare const T_ASSIGNMENT_EXPRESSION = 113;
1041
+ declare const T_ASSIGNMENT_EXPRESSION: number;
1218
1042
 
1219
- declare const T_BINARY_EXPRESSION = 101;
1043
+ declare const T_BINARY_EXPRESSION: number;
1220
1044
 
1221
- declare const T_BLOCK_STATEMENT = 1;
1045
+ declare const T_BLOCK_STATEMENT: number;
1222
1046
 
1223
- declare const T_BREAK_STATEMENT = 10;
1047
+ declare const T_BREAK_STATEMENT: number;
1224
1048
 
1225
- declare const T_CALCULATED_MEMBER_ACCESS_EXPRESSION = 106;
1049
+ declare const T_CALCULATED_MEMBER_ACCESS_EXPRESSION: number;
1226
1050
 
1227
- declare const T_CONDITIONAL_EXPRESSION = 103;
1051
+ declare const T_CONDITIONAL_EXPRESSION: number;
1228
1052
 
1229
- declare const T_CONST_STATEMENT = 6;
1053
+ declare const T_CONST_STATEMENT: number;
1230
1054
 
1231
- declare const T_CONTINUE_STATEMENT = 11;
1055
+ declare const T_CONTINUE_STATEMENT: number;
1232
1056
 
1233
- declare const T_DESTRUCTURE = 201;
1057
+ declare const T_DESTRUCTURE: number;
1234
1058
 
1235
- declare const T_DO_WHILE_STATEMENT = 13;
1059
+ declare const T_DO_WHILE_STATEMENT: number;
1236
1060
 
1237
- declare const T_EMPTY_STATEMENT = 2;
1061
+ declare const T_EMPTY_STATEMENT: number;
1238
1062
 
1239
- declare const T_EXPRESSION_STATEMENT = 3;
1063
+ declare const T_EXPRESSION_STATEMENT: number;
1240
1064
 
1241
- declare const T_FOR_IN_STATEMENT = 15;
1065
+ declare const T_FOR_IN_STATEMENT: number;
1242
1066
 
1243
- declare const T_FOR_OF_STATEMENT = 16;
1067
+ declare const T_FOR_OF_STATEMENT: number;
1244
1068
 
1245
- declare const T_FOR_STATEMENT = 14;
1069
+ declare const T_FOR_STATEMENT: number;
1246
1070
 
1247
- declare const T_FUNCTION_DECLARATION = 20;
1071
+ declare const T_FUNCTION_DECLARATION: number;
1248
1072
 
1249
- declare const T_FUNCTION_INVOCATION_EXPRESSION = 104;
1073
+ declare const T_FUNCTION_INVOCATION_EXPRESSION: number;
1250
1074
 
1251
- declare const T_IDENTIFIER = 107;
1075
+ declare const T_IDENTIFIER: number;
1252
1076
 
1253
- declare const T_IF_STATEMENT = 8;
1077
+ declare const T_IF_STATEMENT: number;
1254
1078
 
1255
- declare const T_LET_STATEMENT = 5;
1079
+ declare const T_LET_STATEMENT: number;
1256
1080
 
1257
- declare const T_LITERAL = 109;
1081
+ declare const T_LITERAL: number;
1258
1082
 
1259
- declare const T_MEMBER_ACCESS_EXPRESSION = 105;
1083
+ declare const T_MEMBER_ACCESS_EXPRESSION: number;
1260
1084
 
1261
- declare const T_NO_ARG_EXPRESSION = 114;
1085
+ declare const T_NO_ARG_EXPRESSION: number;
1262
1086
 
1263
- declare const T_OBJECT_DESTRUCTURE = 203;
1087
+ declare const T_OBJECT_DESTRUCTURE: number;
1264
1088
 
1265
- declare const T_OBJECT_LITERAL = 111;
1089
+ declare const T_OBJECT_LITERAL: number;
1266
1090
 
1267
- declare const T_POSTFIX_OP_EXPRESSION = 117;
1091
+ declare const T_POSTFIX_OP_EXPRESSION: number;
1268
1092
 
1269
- declare const T_PREFIX_OP_EXPRESSION = 116;
1093
+ declare const T_PREFIX_OP_EXPRESSION: number;
1270
1094
 
1271
- declare const T_REACTIVE_VAR_DECLARATION = 118;
1095
+ declare const T_REACTIVE_VAR_DECLARATION: number;
1272
1096
 
1273
- declare const T_RETURN_STATEMENT = 9;
1097
+ declare const T_RETURN_STATEMENT: number;
1274
1098
 
1275
- declare const T_SEQUENCE_EXPRESSION = 102;
1099
+ declare const T_SEQUENCE_EXPRESSION: number;
1276
1100
 
1277
- declare const T_SPREAD_EXPRESSION = 112;
1101
+ declare const T_SPREAD_EXPRESSION: number;
1278
1102
 
1279
- declare const T_SWITCH_CASE = 204;
1103
+ declare const T_SWITCH_CASE: number;
1280
1104
 
1281
- declare const T_SWITCH_STATEMENT = 19;
1105
+ declare const T_SWITCH_STATEMENT: number;
1282
1106
 
1283
- declare const T_TEMPLATE_LITERAL_EXPRESSION = 108;
1107
+ declare const T_TEMPLATE_LITERAL_EXPRESSION: number;
1284
1108
 
1285
- declare const T_THROW_STATEMENT = 17;
1109
+ declare const T_THROW_STATEMENT: number;
1286
1110
 
1287
- declare const T_TRY_STATEMENT = 18;
1111
+ declare const T_TRY_STATEMENT: number;
1288
1112
 
1289
- declare const T_UNARY_EXPRESSION = 100;
1113
+ declare const T_UNARY_EXPRESSION: number;
1290
1114
 
1291
- declare const T_VAR_DECLARATION = 200;
1115
+ declare const T_VAR_DECLARATION: number;
1292
1116
 
1293
- declare const T_VAR_STATEMENT = 7;
1117
+ declare const T_VAR_STATEMENT: number;
1294
1118
 
1295
- declare const T_WHILE_STATEMENT = 12;
1119
+ declare const T_WHILE_STATEMENT: number;
1296
1120
 
1297
1121
  declare type TableDescriptor = {
1298
1122
  name: string;
@@ -1319,28 +1143,10 @@ declare interface TemplateLiteralExpression extends ExpressionBase {
1319
1143
  segments: (Literal | Expression)[];
1320
1144
  }
1321
1145
 
1322
- /**
1323
- * This type represents a theme definition object. Theme files can use this object's JSON-serialized
1324
- * format to define an app theme; an app can have multiple theme files.
1325
- */
1326
1146
  declare interface ThemeDefinition extends ThemeDefinitionDetails {
1327
- /**
1328
- * Theme id
1329
- */
1330
1147
  id: string;
1331
- /**
1332
- * Optional theme name
1333
- */
1334
1148
  name?: string;
1335
- /**
1336
- * A theme can extend existing themes. The extension means that the theme variable values defined
1337
- * in the new theme override the base theme's variable values.
1338
- */
1339
1149
  extends?: string | Array<string>;
1340
- /**
1341
- * This property defines the tone-dependent theme variable values. When a theme variable value is
1342
- * resolved, the common theme variable values are overridden with their theme-specific values.
1343
- */
1344
1150
  tones?: Record<string | ThemeTone, ThemeDefinitionDetails>;
1345
1151
  }
1346
1152
 
@@ -1349,15 +1155,7 @@ declare interface ThemeDefinitionDetails {
1349
1155
  resources?: Record<string, string | FontDef>;
1350
1156
  }
1351
1157
 
1352
- /**
1353
- * This type describes one the available theme tones.
1354
- */
1355
- declare type ThemeTone = (typeof ThemeToneKeys)[number];
1356
-
1357
- /**
1358
- * Each theme can have a light or a dark tone.
1359
- */
1360
- declare const ThemeToneKeys: readonly ["light", "dark"];
1158
+ declare type ThemeTone = "light" | "dark";
1361
1159
 
1362
1160
  declare type THROW_STATEMENT = typeof T_THROW_STATEMENT;
1363
1161
 
@@ -1,5 +1,5 @@
1
- import { q as s, s as t, A as i, t as r, v as n, C as o, r as d, a as g, b as m, f as C, e as p, g as l, c as N, D as _, o as D, E as c, N as E, P as S, S as x, T as U, U as A, j as L, h as P, d as f, i as y, B as u, n as b, k as h, m as M, l as v, w as I, u as O, p as T, x as K, z as R, y as X } from "./transform-BboeJCuA.mjs";
2
- import { b as F, L as B, X as j, a as q, c as w, g as z, e as G, l as H, d as V, m as W, p as J } from "./xmlui-serializer-D0p6Hyum.mjs";
1
+ import { q as s, s as t, A as i, t as r, v as n, C as o, r as d, a as g, b as m, f as C, e as p, g as l, c as N, D as _, o as D, E as c, N as E, P as S, S as x, T as U, U as A, j as L, h as P, d as f, i as y, B as u, n as b, k as h, m as M, l as v, w as I, u as O, p as T, x as K, z as R, y as X } from "./transform-BdB0APqE.mjs";
2
+ import { b as F, L as B, X as j, a as q, c as w, g as z, e as G, l as H, d as V, m as W, p as J } from "./xmlui-serializer-COAfRndx.mjs";
3
3
  export {
4
4
  s as AttributeKeyNode,
5
5
  t as AttributeListNode,
@@ -1,4 +1,4 @@
1
- import { v as A, t as j } from "./transform-BboeJCuA.mjs";
1
+ import { v as A, t as j } from "./transform-BdB0APqE.mjs";
2
2
  const k = "xmlui", P = "xmlui.xs", D = "xs";
3
3
  var V = /* @__PURE__ */ ((l) => (l[l.Skip = 0] = "Skip", l[l.Warning = 1] = "Warning", l[l.Error = 2] = "Error", l))(V || {}), w = /* @__PURE__ */ ((l) => (l[l.UnrecognisedProp = 0] = "UnrecognisedProp", l))(w || {});
4
4
  function L(l) {