xmlui 0.12.19 → 0.12.21

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 (37) hide show
  1. package/dist/lib/{index-WVT6bIgM.js → index-CznbWBUF.js} +3224 -4066
  2. package/dist/lib/index.css +1 -1
  3. package/dist/lib/{initMock-r2IRBsLf.js → initMock-Dj__hABf.js} +2 -2
  4. package/dist/lib/{parser-DpwXEUNb.js → parser-zOoMLvLx.js} +120 -139
  5. package/dist/lib/testing.d.ts +18 -19
  6. package/dist/lib/testing.js +2 -2
  7. package/dist/lib/{xmlui-parser-Cs8kB0VK.js → xmlui-parser-CtU8O3Av.js} +43 -19
  8. package/dist/lib/xmlui-parser.d.ts +23 -19
  9. package/dist/lib/xmlui-parser.js +2 -2
  10. package/dist/lib/{xmlui-serializer-3MPLSsOp.js → xmlui-serializer-C-Iuczzr.js} +9 -8
  11. package/dist/lib/xmlui.d.ts +130 -125
  12. package/dist/lib/xmlui.js +38 -36
  13. package/dist/metadata/TextBox-B-GWiq0J.cjs +1 -0
  14. package/dist/metadata/{TextBox-CwicjBJI.js → TextBox-DHSTy0g0.js} +3407 -4256
  15. package/dist/metadata/behaviors.cjs +1 -1
  16. package/dist/metadata/behaviors.js +1 -1
  17. package/dist/metadata/{initMock-BMq6JN4I.js → initMock-SQIcDMzP.js} +1 -1
  18. package/dist/metadata/{initMock-BKBkbEgr.cjs → initMock-wSFvfKcr.cjs} +1 -1
  19. package/dist/metadata/metadata-utils.cjs +1 -1
  20. package/dist/metadata/metadata-utils.js +1 -1
  21. package/dist/metadata/transform-BOf-UbgP.cjs +1 -0
  22. package/dist/metadata/{transform-D0SWbm8g.js → transform-fGDqiHwH.js} +120 -139
  23. package/dist/metadata/xmlui-metadata.cjs +1 -1
  24. package/dist/metadata/xmlui-metadata.js +12 -8
  25. package/dist/metadata/xmlui.css +2 -2
  26. package/dist/nodejs/bin/index.mjs +63 -79
  27. package/dist/nodejs/index.cjs +63 -79
  28. package/dist/nodejs/index.mjs +63 -79
  29. package/dist/nodejs/server.cjs +1886 -1053
  30. package/dist/nodejs/server.mjs +1886 -1053
  31. package/dist/nodejs/vite-xmlui-plugin.cjs +63 -79
  32. package/dist/nodejs/vite-xmlui-plugin.mjs +63 -79
  33. package/dist/standalone/xmlui-standalone.es.d.ts +192 -179
  34. package/dist/standalone/xmlui-standalone.umd.js +11 -11
  35. package/package.json +1 -1
  36. package/dist/metadata/TextBox-C-4gnBpw.cjs +0 -1
  37. package/dist/metadata/transform-CkTQ-Bfe.cjs +0 -1
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./TextBox-C-4gnBpw.cjs"),t=require("./transform-CkTQ-Bfe.cjs"),a="DataSource",r=e.createMetadata({status:"stable",description:"`DataSource` fetches and caches data from API endpoints, versus [`APICall`](/docs/reference/components/APICall) which creates, updates or deletes data.",props:{method:{description:"Set the HTTP method.",defaultValue:"get",availableValues:t.httpMethodNames},id:{description:"Set the ID used by other components to access the retrieved data in the `value`property of a `DataSource`, or status info in the `loaded` and `error` properties.When no `id` is set, the component cannot be used programmatically.",isRequired:!0,valueType:"string"},url:{description:"Set the URL. Required unless `mockData` is provided, in which case the component returns the mock data directly without making a network request.",valueType:"string"},mockData:{description:"Provide data directly instead of fetching from a URL. When set, the component resolves immediately with this value — no network request is made. Intended for development and testing. Supports reactive expressions: when the bound value changes, the DataSource re-resolves with the updated data.",valueType:"any"},body:{description:"Set the optional request body. The object you pass is serialized as a JSON string.",valueType:"any"},rawBody:{description:"Set the request body with no serialization. Use it to send a payload that has already been serialized to a JSON string.",valueType:"string"},queryParams:{description:"Append optional key-value pairs to the URL.",valueType:"any"},headers:{description:"Set request headers. Pass an object whose keys are header names and values are header values.",valueType:"any"},credentials:{description:'Controls whether cookies and other credentials are sent with the request. Set to `"include"` to send credentials in cross-origin requests (requires `Access-Control-Allow-Credentials: true` header on the server).',availableValues:[{value:"omit",description:"Never send credentials"},{value:"same-origin",description:"Send credentials only for same-origin requests (default browser behavior)"},{value:"include",description:"Always send credentials, even for cross-origin requests"}],valueType:"string"},pollIntervalInSeconds:{description:"Set the interval for periodic data fetching. If the data changes on refresh, XMLUI will re-render components that refer directly or indirectly to the `DataSource`. If not set or set to zero, the component does not poll for data.",valueType:"number"},inProgressNotificationMessage:{description:"Set the message to display when the data fetch is in progress. If the property value is not set, no progress message is displayed.",valueType:"string"},completedNotificationMessage:{description:"Set the message to display when the data fetch completes.If the property value is not set, no completion message is displayed.",valueType:"string"},errorNotificationMessage:{description:"",valueType:"string"},resultSelector:{description:"Set an optional object key to extract a subset of the response data. If this value is not set, the entire response body is considered the result.",valueType:"string"},transformResult:{description:"Set an optional function to perform a final transformation of the response data. If this value is not set, the result is not transformed."},prevPageSelector:{description:`When using \`${a}\` with paging, the response may contain information about the previous and next page. This property defines the selector that extracts the previous page information from the response deserialized to an object.`},nextPageSelector:{description:`When using \`${a}\` with paging, the response may contain information about the previous and next page. This property defines the selector that extracts the next page information from the response deserialized to an object.`},dataType:{description:'Type of data to fetch. When set to `"text"`, the response is returned as a raw string without JSON parsing. When set to `"csv"`, the response is parsed as CSV.',availableValues:[{value:"json",description:"Parse response as JSON (default)"},{value:"text",description:"Return response as raw text"},{value:"csv",description:"Parse response as CSV"},{value:"sql",description:"Execute SQL query"}],valueType:"string"},structuralSharing:{description:"This property allows structural sharing. When turned on, `DataSource` will keep the original reference if nothing has changed in the data. If a subset has changed, `DataSource` will keep the unchanged parts and only replace the changed parts. If you do not need this behavior, set this property to `false`.",defaultValue:"true"},omitTransactionId:{description:"When set to `true`, the `x-ue-client-tx-id` request header will not be added to outgoing requests. Use this when the target API does not allow custom request headers (e.g. third-party APIs with strict CORS `Access-Control-Allow-Headers`).",valueType:"boolean",defaultValue:"false"}},events:{loaded:{description:"The component triggers this event when the fetch operation has been completed and the data is loaded. The event has two arguments. The first is the data loaded; the second indicates if the event is a result of a refetch.",signature:"loaded(data: any, isRefetch: boolean): void",parameters:{data:"The data loaded from the fetch operation.",isRefetch:"Indicates whether this is a result of a refetch operation."}},error:{description:"This event fires when a request results in an error.",signature:"error(error: Error): void",parameters:{error:"The error object that occurred during the request."}}},apis:{value:{description:"This property retrieves the data queried from the source after optional transformations.",signature:"get value(): any"},inProgress:{description:"This property indicates if the data is being fetched.",signature:"get inProgress(): boolean"},isRefetching:{description:"This property indicates if the data is being re-fetched.",signature:"get isRefetching(): boolean"},loaded:{description:"This property indicates if the data has been loaded.",signature:"get loaded(): boolean"},refetch:{description:"This method requests the re-fetch of the data.",signature:"refetch(): void"},responseHeaders:{description:"This property retrieves the HTTP response headers from the last successful fetch. Returns an object whose keys are header names and values are header values, or `undefined` if no fetch has completed yet.",signature:"get responseHeaders(): Record<string, string> | undefined"}}}),o={a:e.HtmlAMd,address:e.HtmlAddressMd,area:e.HtmlAreaMd,article:e.HtmlArticleMd,aside:e.HtmlAsideMd,audio:e.HtmlAudioMd,b:e.HtmlBMd,bdi:e.HtmlBdiMd,bdo:e.HtmlBdoMd,blockquote:e.HtmlBlockquoteMd,br:e.BrMd,button:e.HtmlButtonMd,canvas:e.HtmlCanvasMd,caption:e.HtmlCaptionMd,cite:e.HtmlCiteMd,code:e.HtmlCodeMd,col:e.HtmlColMd,colgroup:e.HtmlColgroupMd,data:e.HtmlDataMd,datalist:e.HtmlDatalistMd,dd:e.HtmlDdMd,del:e.HtmlDelMd,details:e.HtmlDetailsMd,dfn:e.HtmlDfnMd,dialog:e.HtmlDialogMd,div:e.HtmlDivMd,dl:e.HtmlDlMd,dt:e.HtmlDtMd,em:e.HtmlEMMd,embed:e.HtmlEmbedMd,fieldset:e.HtmlFieldsetMd,figcaption:e.HtmlFigcaptionMd,figure:e.HtmlFigureMd,footer:e.HtmlFooterMd,form:e.HtmlFormMd,h1:e.HtmlH1Md,h2:e.HtmlH2Md,h3:e.HtmlH3Md,h4:e.HtmlH4Md,h5:e.HtmlH5Md,h6:e.HtmlH6Md,header:e.HtmlHeaderMd,hr:e.HtmlHrMd,i:e.HtmlIMd,iframe:e.HtmlIframeMd,img:e.HtmlImgMd,input:e.HtmlInputMd,ins:e.HtmlInsMd,kbd:e.HtmlKbdMd,label:e.HtmlLabelMd,legend:e.HtmlLegendMd,li:e.HtmlLiMd,main:e.HtmlMainMd,map:e.HtmlMapMd,mark:e.HtmlMarkMd,menu:e.HtmlMenuMd,meter:e.HtmlMeterMd,nav:e.HtmlNavMd,object:e.HtmlObjectMd,ol:e.HtmlOlMd,optgroup:e.HtmlOptgroupMd,option:e.HtmlOptionMd,output:e.HtmlOutputMd,p:e.HtmlPMd,param:e.HtmlParamMd,picture:e.HtmlPictureMd,pre:e.HtmlPreMd,progress:e.HtmlProgressMd,q:e.HtmlQMd,rp:e.HtmlRpMd,rt:e.HtmlRtMd,ruby:e.HtmlRubyMd,s:e.HtmlSMd,samp:e.HtmlSampMd,section:e.HtmlSectionMd,select:e.HtmlSelectMd,small:e.HtmlSmallMd,source:e.HtmlSourceMd,span:e.HtmlSpanMd,strong:e.HtmlStrongMd,sub:e.HtmlSubMd,summary:e.HtmlSummaryMd,sup:e.HtmlSupMd,table:e.HtmlTableMd,tbody:e.HtmlTbodyMd,td:e.HtmlTdMd,template:e.HtmlTemplateMd,textarea:e.HtmlTextareaMd,tfoot:e.HtmlTfootMd,th:e.HtmlThMd,thead:e.HtmlTheadMd,time:e.HtmlTimeMd,tr:e.HtmlTrMd,track:e.HtmlTrackMd,u:e.HtmlUMd,ul:e.HtmlUlMd,var:e.HtmlVarMd,video:e.HtmlVideoMd,wbr:e.HtmlWbrMd,Accordion:e.AccordionMd,APICall:e.APICallMd,App:e.AppMd,AppHeader:e.AppHeaderMd,AppState:e.AppStateMd,AutoComplete:e.AutoCompleteMd,Avatar:e.AvatarMd,Badge:e.BadgeMd,Bookmark:e.BookmarkMd,Button:e.ButtonMd,Card:e.CardMd,ChangeListener:e.ChangeListenerMd,Checkbox:e.CheckboxMd,CODE:e.HtmlCodeMd,ColorPicker:e.ColorPickerMd,Column:e.ColumnMd,ContextMenu:e.ContextMenuMd,ContentSeparator:e.ContentSeparatorMd,DataSource:r,DatePicker:e.DatePickerMd,DateInput:e.DateInputMd,Drawer:e.DrawerMd,DropdownMenu:e.DropdownMenuMd,EM:e.HtmlEMMd,Fragment:e.FragmentMd,MenuItem:e.MenuItemMd,SubMenuItem:e.SubMenuItemMd,ExpandableItem:e.ExpandableItemMd,FileInput:e.FileInputMd,FileUploadDropZone:e.FileUploadDropZoneMd,FlowLayout:e.FlowLayoutMd,Footer:e.FooterMd,Form:e.FormMd,FormItem:e.FormItemMd,FormSection:e.FormSectionMd,FormSegment:e.FormSegmentMd,Heading:e.HeadingMd,H1:e.H1Md,H2:e.H2Md,H3:e.H3Md,H4:e.H4Md,H5:e.H5Md,H6:e.H6Md,Icon:e.IconMd,IFrame:e.IFrameMd,Image:e.ImageMd,IncludeMarkup:e.IncludeMarkupMd,Items:e.ItemsMd,Link:e.LinkMd,List:e.ListMd,Logo:e.LogoMd,Markdown:e.MarkdownMd,MenuSeparator:e.MenuSeparatorMd,MessageListener:e.MessageListenerMd,ModalDialog:e.ModalDialogMd,NavGroup:e.NavGroupMd,NavLink:e.NavLinkMd,NavPanel:e.NavPanelMd,NoResult:e.NoResultMd,NumberBox:e.NumberBoxMd,Option:e.OptionMd,PageMetaTitle:e.PageMetaTitleMd,Page:e.PageMd,Pages:e.PagesMd,Pagination:e.PaginationMd,ProgressBar:e.ProgressBarMd,QRCode:e.QRCodeMd,Queue:e.QueueMd,RadioGroup:e.RadioGroupMd,Redirect:e.RedirectMd,ResponsiveBar:e.ResponsiveBarMd,ScrollViewer:e.ScrollViewerMd,Select:e.SelectMd,SelectionStore:e.SelectionStoreMd,Slider:e.SliderMd,Slot:e.SlotMd,SpaceFiller:e.SpaceFillerMd,Spinner:e.SpinnerMd,Splitter:e.SplitterMd,StickySection:e.StickySectionMd,Tooltip:e.TooltipMd,HSplitter:e.HSplitterMd,VSplitter:e.VSplitterMd,Stack:e.StackMd,CHStack:e.CHStackMd,CVStack:e.CVStackMd,HStack:e.HStackMd,VStack:e.VStackMd,StickyBox:e.StickyBoxMd,Switch:e.SwitchMd,Table:e.TableMd,TableOfContents:e.TableOfContentsMd,TabItem:e.TabItemMd,Tabs:e.TabsMd,Text:e.TextMd,TextArea:e.TextAreaMd,TextBox:e.TextBoxMd,TileGrid:e.TileGridMd,PasswordInput:e.PasswordMd,Theme:e.ThemeMd,TimeInput:e.TimeInputMd,Timer:e.TimerMd,ToneChangerButton:e.ToneChangerButtonMd,NavPanelCollapseButton:e.NavPanelCollapseButtonMd,ToneSwitch:e.ToneSwitchMd,Tree:e.TreeMd},d={root:e.RootThemeDefinition,xmlui:e.XmlUiThemeDefinition,xmluiGreen:e.XmlUiGreenThemeDefinition,xmluiGray:e.XmlUiGrayThemeDefinition,xmluiOrange:e.XmlUiOrangeThemeDefinition,xmluiPurple:e.XmlUiPurpleThemeDefinition,xmluiCyan:e.XmlUiCyanThemeDefinition,xmluiRed:e.XmlUiRedThemeDefinition,xmluiBlog:e.XmlUiBlogThemeDefinition,xmluiWeb:e.XmlUiWebThemeDefinition};exports.collectedComponentMetadata=o,exports.collectedThemes=d;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./TextBox-B-GWiq0J.cjs"),t=require("./transform-BOf-UbgP.cjs"),a="DataSource",r=e.createMetadata({status:"stable",description:"`DataSource` fetches and caches data from API endpoints, versus [`APICall`](/docs/reference/components/APICall) which creates, updates or deletes data.",props:{method:{description:"Set the HTTP method.",defaultValue:"get",availableValues:t.httpMethodNames,valueType:"string"},id:{description:"Set the ID used by other components to access the retrieved data in the `value`property of a `DataSource`, or status info in the `loaded` and `error` properties.When no `id` is set, the component cannot be used programmatically.",isRequired:!0,valueType:"string"},url:{description:"Set the URL. Required unless `mockData` is provided, in which case the component returns the mock data directly without making a network request.",valueType:"string"},mockData:{description:"Provide data directly instead of fetching from a URL. When set, the component resolves immediately with this value — no network request is made. Intended for development and testing. Supports reactive expressions: when the bound value changes, the DataSource re-resolves with the updated data.",valueType:"any"},body:{description:"Set the optional request body. The object you pass is serialized as a JSON string.",valueType:"any"},rawBody:{description:"Set the request body with no serialization. Use it to send a payload that has already been serialized to a JSON string.",valueType:"string"},queryParams:{description:"Append optional key-value pairs to the URL.",valueType:"any"},headers:{description:"Set request headers. Pass an object whose keys are header names and values are header values.",valueType:"any"},credentials:{description:'Controls whether cookies and other credentials are sent with the request. Set to `"include"` to send credentials in cross-origin requests (requires `Access-Control-Allow-Credentials: true` header on the server).',availableValues:[{value:"omit",description:"Never send credentials"},{value:"same-origin",description:"Send credentials only for same-origin requests (default browser behavior)"},{value:"include",description:"Always send credentials, even for cross-origin requests"}],valueType:"string"},pollIntervalInSeconds:{description:"Set the interval for periodic data fetching. If the data changes on refresh, XMLUI will re-render components that refer directly or indirectly to the `DataSource`. If not set or set to zero, the component does not poll for data.",valueType:"number"},inProgressNotificationMessage:{description:"Set the message to display when the data fetch is in progress. If the property value is not set, no progress message is displayed.",valueType:"string"},completedNotificationMessage:{description:"Set the message to display when the data fetch completes.If the property value is not set, no completion message is displayed.",valueType:"string"},errorNotificationMessage:{description:"",valueType:"string"},resultSelector:{description:"Set an optional object key to extract a subset of the response data. If this value is not set, the entire response body is considered the result.",valueType:"string"},transformResult:{description:"Set an optional function to perform a final transformation of the response data. If this value is not set, the result is not transformed.",valueType:"any"},prevPageSelector:{description:`When using \`${a}\` with paging, the response may contain information about the previous and next page. This property defines the selector that extracts the previous page information from the response deserialized to an object.`,valueType:"string"},nextPageSelector:{description:`When using \`${a}\` with paging, the response may contain information about the previous and next page. This property defines the selector that extracts the next page information from the response deserialized to an object.`,valueType:"string"},dataType:{description:'Type of data to fetch. When set to `"text"`, the response is returned as a raw string without JSON parsing. When set to `"csv"`, the response is parsed as CSV.',availableValues:[{value:"json",description:"Parse response as JSON (default)"},{value:"text",description:"Return response as raw text"},{value:"csv",description:"Parse response as CSV"},{value:"sql",description:"Execute SQL query"}],valueType:"string"},structuralSharing:{description:"This property allows structural sharing. When turned on, `DataSource` will keep the original reference if nothing has changed in the data. If a subset has changed, `DataSource` will keep the unchanged parts and only replace the changed parts. If you do not need this behavior, set this property to `false`.",valueType:"boolean",defaultValue:!0},omitTransactionId:{description:"When set to `true`, the `x-ue-client-tx-id` request header will not be added to outgoing requests. Use this when the target API does not allow custom request headers (e.g. third-party APIs with strict CORS `Access-Control-Allow-Headers`).",valueType:"boolean",defaultValue:"false"}},events:{loaded:{description:"The component triggers this event when the fetch operation has been completed and the data is loaded. The event has two arguments. The first is the data loaded; the second indicates if the event is a result of a refetch.",signature:"loaded(data: any, isRefetch: boolean): void",parameters:{data:"The data loaded from the fetch operation.",isRefetch:"Indicates whether this is a result of a refetch operation."}},error:{description:"This event fires when a request results in an error.",signature:"error(error: Error): void",parameters:{error:"The error object that occurred during the request."}}},apis:{value:{description:"This property retrieves the data queried from the source after optional transformations.",signature:"get value(): any"},inProgress:{description:"This property indicates if the data is being fetched.",signature:"get inProgress(): boolean"},isRefetching:{description:"This property indicates if the data is being re-fetched.",signature:"get isRefetching(): boolean"},loaded:{description:"This property indicates if the data has been loaded.",signature:"get loaded(): boolean"},refetch:{description:"This method requests the re-fetch of the data.",signature:"refetch(): void"},responseHeaders:{description:"This property retrieves the HTTP response headers from the last successful fetch. Returns an object whose keys are header names and values are header values, or `undefined` if no fetch has completed yet.",signature:"get responseHeaders(): Record<string, string> | undefined"}}}),o={a:e.HtmlAMd,address:e.HtmlAddressMd,area:e.HtmlAreaMd,article:e.HtmlArticleMd,aside:e.HtmlAsideMd,audio:e.HtmlAudioMd,b:e.HtmlBMd,bdi:e.HtmlBdiMd,bdo:e.HtmlBdoMd,blockquote:e.HtmlBlockquoteMd,br:e.BrMd,button:e.HtmlButtonMd,canvas:e.HtmlCanvasMd,caption:e.HtmlCaptionMd,cite:e.HtmlCiteMd,code:e.HtmlCodeMd,col:e.HtmlColMd,colgroup:e.HtmlColgroupMd,data:e.HtmlDataMd,datalist:e.HtmlDatalistMd,dd:e.HtmlDdMd,del:e.HtmlDelMd,details:e.HtmlDetailsMd,dfn:e.HtmlDfnMd,dialog:e.HtmlDialogMd,div:e.HtmlDivMd,dl:e.HtmlDlMd,dt:e.HtmlDtMd,em:e.HtmlEMMd,embed:e.HtmlEmbedMd,fieldset:e.HtmlFieldsetMd,figcaption:e.HtmlFigcaptionMd,figure:e.HtmlFigureMd,footer:e.HtmlFooterMd,form:e.HtmlFormMd,h1:e.HtmlH1Md,h2:e.HtmlH2Md,h3:e.HtmlH3Md,h4:e.HtmlH4Md,h5:e.HtmlH5Md,h6:e.HtmlH6Md,header:e.HtmlHeaderMd,hr:e.HtmlHrMd,i:e.HtmlIMd,iframe:e.HtmlIframeMd,img:e.HtmlImgMd,input:e.HtmlInputMd,ins:e.HtmlInsMd,kbd:e.HtmlKbdMd,label:e.HtmlLabelMd,legend:e.HtmlLegendMd,li:e.HtmlLiMd,main:e.HtmlMainMd,map:e.HtmlMapMd,mark:e.HtmlMarkMd,menu:e.HtmlMenuMd,meter:e.HtmlMeterMd,nav:e.HtmlNavMd,object:e.HtmlObjectMd,ol:e.HtmlOlMd,optgroup:e.HtmlOptgroupMd,option:e.HtmlOptionMd,output:e.HtmlOutputMd,p:e.HtmlPMd,param:e.HtmlParamMd,picture:e.HtmlPictureMd,pre:e.HtmlPreMd,progress:e.HtmlProgressMd,q:e.HtmlQMd,rp:e.HtmlRpMd,rt:e.HtmlRtMd,ruby:e.HtmlRubyMd,s:e.HtmlSMd,samp:e.HtmlSampMd,section:e.HtmlSectionMd,select:e.HtmlSelectMd,small:e.HtmlSmallMd,source:e.HtmlSourceMd,span:e.HtmlSpanMd,strong:e.HtmlStrongMd,sub:e.HtmlSubMd,summary:e.HtmlSummaryMd,sup:e.HtmlSupMd,table:e.HtmlTableMd,tbody:e.HtmlTbodyMd,td:e.HtmlTdMd,template:e.HtmlTemplateMd,textarea:e.HtmlTextareaMd,tfoot:e.HtmlTfootMd,th:e.HtmlThMd,thead:e.HtmlTheadMd,time:e.HtmlTimeMd,tr:e.HtmlTrMd,track:e.HtmlTrackMd,u:e.HtmlUMd,ul:e.HtmlUlMd,var:e.HtmlVarMd,video:e.HtmlVideoMd,wbr:e.HtmlWbrMd,Accordion:e.AccordionMd,APICall:e.APICallMd,App:e.AppMd,AppHeader:e.AppHeaderMd,AppState:e.AppStateMd,AutoComplete:e.AutoCompleteMd,Avatar:e.AvatarMd,Badge:e.BadgeMd,Bookmark:e.BookmarkMd,Button:e.ButtonMd,Card:e.CardMd,ChangeListener:e.ChangeListenerMd,Checkbox:e.CheckboxMd,CODE:e.HtmlCodeMd,ColorPicker:e.ColorPickerMd,Column:e.ColumnMd,ContextMenu:e.ContextMenuMd,ContentSeparator:e.ContentSeparatorMd,DataSource:r,DatePicker:e.DatePickerMd,DateInput:e.DateInputMd,Drawer:e.DrawerMd,DropdownMenu:e.DropdownMenuMd,EM:e.HtmlEMMd,Fragment:e.FragmentMd,MenuItem:e.MenuItemMd,SubMenuItem:e.SubMenuItemMd,ExpandableItem:e.ExpandableItemMd,FileInput:e.FileInputMd,FileUploadDropZone:e.FileUploadDropZoneMd,FlowLayout:e.FlowLayoutMd,Footer:e.FooterMd,Form:e.FormMd,FormItem:e.FormItemMd,FormSegment:e.FormSegmentMd,Heading:e.HeadingMd,H1:e.H1Md,H2:e.H2Md,H3:e.H3Md,H4:e.H4Md,H5:e.H5Md,H6:e.H6Md,Icon:e.IconMd,IFrame:e.IFrameMd,Image:e.ImageMd,IncludeMarkup:e.IncludeMarkupMd,Items:e.ItemsMd,Link:e.LinkMd,List:e.ListMd,Logo:e.LogoMd,Markdown:e.MarkdownMd,MenuSeparator:e.MenuSeparatorMd,MessageListener:e.MessageListenerMd,ModalDialog:e.ModalDialogMd,NavGroup:e.NavGroupMd,NavLink:e.NavLinkMd,NavPanel:e.NavPanelMd,NoResult:e.NoResultMd,NumberBox:e.NumberBoxMd,Option:e.OptionMd,PageMetaTitle:e.PageMetaTitleMd,Page:e.PageMd,Pages:e.PagesMd,Pagination:e.PaginationMd,ProgressBar:e.ProgressBarMd,QRCode:e.QRCodeMd,Queue:e.QueueMd,RadioGroup:e.RadioGroupMd,Redirect:e.RedirectMd,ResponsiveBar:e.ResponsiveBarMd,ScrollViewer:e.ScrollViewerMd,Select:e.SelectMd,SelectionStore:e.SelectionStoreMd,Slider:e.SliderMd,Slot:e.SlotMd,SpaceFiller:e.SpaceFillerMd,Spinner:e.SpinnerMd,Splitter:e.SplitterMd,StickySection:e.StickySectionMd,Tooltip:e.TooltipMd,HSplitter:e.HSplitterMd,VSplitter:e.VSplitterMd,Stack:e.StackMd,CHStack:e.CHStackMd,CVStack:e.CVStackMd,HStack:e.HStackMd,VStack:e.VStackMd,StickyBox:e.StickyBoxMd,Switch:e.SwitchMd,Table:e.TableMd,TableOfContents:e.TableOfContentsMd,TabItem:e.TabItemMd,Tabs:e.TabsMd,Text:e.TextMd,TextArea:e.TextAreaMd,TextBox:e.TextBoxMd,TileGrid:e.TileGridMd,PasswordInput:e.PasswordMd,Theme:e.ThemeMd,TimeInput:e.TimeInputMd,Timer:e.TimerMd,ToneChangerButton:e.ToneChangerButtonMd,NavPanelCollapseButton:e.NavPanelCollapseButtonMd,ToneSwitch:e.ToneSwitchMd,Tree:e.TreeMd},d={root:e.RootThemeDefinition,xmlui:e.XmlUiThemeDefinition,xmluiGreen:e.XmlUiGreenThemeDefinition,xmluiGray:e.XmlUiGrayThemeDefinition,xmluiOrange:e.XmlUiOrangeThemeDefinition,xmluiPurple:e.XmlUiPurpleThemeDefinition,xmluiCyan:e.XmlUiCyanThemeDefinition,xmluiRed:e.XmlUiRedThemeDefinition,xmluiBlog:e.XmlUiBlogThemeDefinition,xmluiWeb:e.XmlUiWebThemeDefinition};exports.collectedComponentMetadata=o,exports.collectedThemes=d;
@@ -1,5 +1,5 @@
1
- import { c as createMetadata, T as TreeMd, a as ToneSwitchMd, N as NavPanelCollapseButtonMd, b as ToneChangerButtonMd, d as TimerMd, e as TimeInputMd, f as ThemeMd, P as PasswordMd, g as TileGridMd, h as TextBoxMd, i as TextAreaMd, j as TextMd, k as TabsMd, l as TabItemMd, m as TableOfContentsMd, n as TableMd, S as SwitchMd, o as StickyBoxMd, V as VStackMd, H as HStackMd, C as CVStackMd, p as CHStackMd, q as StackMd, r as VSplitterMd, s as HSplitterMd, t as TooltipMd, u as StickySectionMd, v as SplitterMd, w as SpinnerMd, x as SpaceFillerMd, y as SlotMd, z as SliderMd, A as SelectionStoreMd, B as SelectMd, D as ScrollViewerMd, R as ResponsiveBarMd, E as RedirectMd, F as RadioGroupMd, Q as QueueMd, G as QRCodeMd, I as ProgressBarMd, J as PaginationMd, K as PagesMd, L as PageMd, M as PageMetaTitleMd, O as OptionMd, U as NumberBoxMd, W as NoResultMd, X as NavPanelMd, Y as NavLinkMd, Z as NavGroupMd, _ as ModalDialogMd, $ as MessageListenerMd, a0 as MenuSeparatorMd, a1 as MarkdownMd, a2 as LogoMd, a3 as ListMd, a4 as LinkMd, a5 as ItemsMd, a6 as IncludeMarkupMd, a7 as ImageMd, a8 as IFrameMd, a9 as IconMd, aa as H6Md, ab as H5Md, ac as H4Md, ad as H3Md, ae as H2Md, af as H1Md, ag as HeadingMd, ah as FormSegmentMd, ai as FormSectionMd, aj as FormItemMd, ak as FormMd, al as FooterMd, am as FlowLayoutMd, an as FileUploadDropZoneMd, ao as FileInputMd, ap as ExpandableItemMd, aq as SubMenuItemMd, ar as MenuItemMd, as as FragmentMd, at as HtmlEMMd, au as DropdownMenuMd, av as DrawerMd, aw as DateInputMd, ax as DatePickerMd, ay as ContentSeparatorMd, az as ContextMenuMd, aA as ColumnMd, aB as ColorPickerMd, aC as HtmlCodeMd, aD as CheckboxMd, aE as ChangeListenerMd, aF as CardMd, aG as ButtonMd, aH as BookmarkMd, aI as BadgeMd, aJ as AvatarMd, aK as AutoCompleteMd, aL as AppStateMd, aM as AppHeaderMd, aN as AppMd, aO as APICallMd, aP as AccordionMd, aQ as HtmlWbrMd, aR as HtmlVideoMd, aS as HtmlVarMd, aT as HtmlUlMd, aU as HtmlUMd, aV as HtmlTrackMd, aW as HtmlTrMd, aX as HtmlTimeMd, aY as HtmlTheadMd, aZ as HtmlThMd, a_ as HtmlTfootMd, a$ as HtmlTextareaMd, b0 as HtmlTemplateMd, b1 as HtmlTdMd, b2 as HtmlTbodyMd, b3 as HtmlTableMd, b4 as HtmlSupMd, b5 as HtmlSummaryMd, b6 as HtmlSubMd, b7 as HtmlStrongMd, b8 as HtmlSpanMd, b9 as HtmlSourceMd, ba as HtmlSmallMd, bb as HtmlSelectMd, bc as HtmlSectionMd, bd as HtmlSampMd, be as HtmlSMd, bf as HtmlRubyMd, bg as HtmlRtMd, bh as HtmlRpMd, bi as HtmlQMd, bj as HtmlProgressMd, bk as HtmlPreMd, bl as HtmlPictureMd, bm as HtmlParamMd, bn as HtmlPMd, bo as HtmlOutputMd, bp as HtmlOptionMd, bq as HtmlOptgroupMd, br as HtmlOlMd, bs as HtmlObjectMd, bt as HtmlNavMd, bu as HtmlMeterMd, bv as HtmlMenuMd, bw as HtmlMarkMd, bx as HtmlMapMd, by as HtmlMainMd, bz as HtmlLiMd, bA as HtmlLegendMd, bB as HtmlLabelMd, bC as HtmlKbdMd, bD as HtmlInsMd, bE as HtmlInputMd, bF as HtmlImgMd, bG as HtmlIframeMd, bH as HtmlIMd, bI as HtmlHrMd, bJ as HtmlHeaderMd, bK as HtmlH6Md, bL as HtmlH5Md, bM as HtmlH4Md, bN as HtmlH3Md, bO as HtmlH2Md, bP as HtmlH1Md, bQ as HtmlFormMd, bR as HtmlFooterMd, bS as HtmlFigureMd, bT as HtmlFigcaptionMd, bU as HtmlFieldsetMd, bV as HtmlEmbedMd, bW as HtmlDtMd, bX as HtmlDlMd, bY as HtmlDivMd, bZ as HtmlDialogMd, b_ as HtmlDfnMd, b$ as HtmlDetailsMd, c0 as HtmlDelMd, c1 as HtmlDdMd, c2 as HtmlDatalistMd, c3 as HtmlDataMd, c4 as HtmlColgroupMd, c5 as HtmlColMd, c6 as HtmlCiteMd, c7 as HtmlCaptionMd, c8 as HtmlCanvasMd, c9 as HtmlButtonMd, ca as BrMd, cb as HtmlBlockquoteMd, cc as HtmlBdoMd, cd as HtmlBdiMd, ce as HtmlBMd, cf as HtmlAudioMd, cg as HtmlAsideMd, ch as HtmlArticleMd, ci as HtmlAreaMd, cj as HtmlAddressMd, ck as HtmlAMd, cl as XmlUiWebThemeDefinition, cm as XmlUiBlogThemeDefinition, cn as XmlUiRedThemeDefinition, co as XmlUiCyanThemeDefinition, cp as XmlUiPurpleThemeDefinition, cq as XmlUiOrangeThemeDefinition, cr as XmlUiGrayThemeDefinition, cs as XmlUiGreenThemeDefinition, ct as XmlUiThemeDefinition, cu as RootThemeDefinition } from "./TextBox-CwicjBJI.js";
2
- import { h as httpMethodNames } from "./transform-D0SWbm8g.js";
1
+ import { c as createMetadata, T as TreeMd, a as ToneSwitchMd, N as NavPanelCollapseButtonMd, b as ToneChangerButtonMd, d as TimerMd, e as TimeInputMd, f as ThemeMd, P as PasswordMd, g as TileGridMd, h as TextBoxMd, i as TextAreaMd, j as TextMd, k as TabsMd, l as TabItemMd, m as TableOfContentsMd, n as TableMd, S as SwitchMd, o as StickyBoxMd, V as VStackMd, H as HStackMd, C as CVStackMd, p as CHStackMd, q as StackMd, r as VSplitterMd, s as HSplitterMd, t as TooltipMd, u as StickySectionMd, v as SplitterMd, w as SpinnerMd, x as SpaceFillerMd, y as SlotMd, z as SliderMd, A as SelectionStoreMd, B as SelectMd, D as ScrollViewerMd, R as ResponsiveBarMd, E as RedirectMd, F as RadioGroupMd, Q as QueueMd, G as QRCodeMd, I as ProgressBarMd, J as PaginationMd, K as PagesMd, L as PageMd, M as PageMetaTitleMd, O as OptionMd, U as NumberBoxMd, W as NoResultMd, X as NavPanelMd, Y as NavLinkMd, Z as NavGroupMd, _ as ModalDialogMd, $ as MessageListenerMd, a0 as MenuSeparatorMd, a1 as MarkdownMd, a2 as LogoMd, a3 as ListMd, a4 as LinkMd, a5 as ItemsMd, a6 as IncludeMarkupMd, a7 as ImageMd, a8 as IFrameMd, a9 as IconMd, aa as H6Md, ab as H5Md, ac as H4Md, ad as H3Md, ae as H2Md, af as H1Md, ag as HeadingMd, ah as FormSegmentMd, ai as FormItemMd, aj as FormMd, ak as FooterMd, al as FlowLayoutMd, am as FileUploadDropZoneMd, an as FileInputMd, ao as ExpandableItemMd, ap as SubMenuItemMd, aq as MenuItemMd, ar as FragmentMd, as as HtmlEMMd, at as DropdownMenuMd, au as DrawerMd, av as DateInputMd, aw as DatePickerMd, ax as ContentSeparatorMd, ay as ContextMenuMd, az as ColumnMd, aA as ColorPickerMd, aB as HtmlCodeMd, aC as CheckboxMd, aD as ChangeListenerMd, aE as CardMd, aF as ButtonMd, aG as BookmarkMd, aH as BadgeMd, aI as AvatarMd, aJ as AutoCompleteMd, aK as AppStateMd, aL as AppHeaderMd, aM as AppMd, aN as APICallMd, aO as AccordionMd, aP as HtmlWbrMd, aQ as HtmlVideoMd, aR as HtmlVarMd, aS as HtmlUlMd, aT as HtmlUMd, aU as HtmlTrackMd, aV as HtmlTrMd, aW as HtmlTimeMd, aX as HtmlTheadMd, aY as HtmlThMd, aZ as HtmlTfootMd, a_ as HtmlTextareaMd, a$ as HtmlTemplateMd, b0 as HtmlTdMd, b1 as HtmlTbodyMd, b2 as HtmlTableMd, b3 as HtmlSupMd, b4 as HtmlSummaryMd, b5 as HtmlSubMd, b6 as HtmlStrongMd, b7 as HtmlSpanMd, b8 as HtmlSourceMd, b9 as HtmlSmallMd, ba as HtmlSelectMd, bb as HtmlSectionMd, bc as HtmlSampMd, bd as HtmlSMd, be as HtmlRubyMd, bf as HtmlRtMd, bg as HtmlRpMd, bh as HtmlQMd, bi as HtmlProgressMd, bj as HtmlPreMd, bk as HtmlPictureMd, bl as HtmlParamMd, bm as HtmlPMd, bn as HtmlOutputMd, bo as HtmlOptionMd, bp as HtmlOptgroupMd, bq as HtmlOlMd, br as HtmlObjectMd, bs as HtmlNavMd, bt as HtmlMeterMd, bu as HtmlMenuMd, bv as HtmlMarkMd, bw as HtmlMapMd, bx as HtmlMainMd, by as HtmlLiMd, bz as HtmlLegendMd, bA as HtmlLabelMd, bB as HtmlKbdMd, bC as HtmlInsMd, bD as HtmlInputMd, bE as HtmlImgMd, bF as HtmlIframeMd, bG as HtmlIMd, bH as HtmlHrMd, bI as HtmlHeaderMd, bJ as HtmlH6Md, bK as HtmlH5Md, bL as HtmlH4Md, bM as HtmlH3Md, bN as HtmlH2Md, bO as HtmlH1Md, bP as HtmlFormMd, bQ as HtmlFooterMd, bR as HtmlFigureMd, bS as HtmlFigcaptionMd, bT as HtmlFieldsetMd, bU as HtmlEmbedMd, bV as HtmlDtMd, bW as HtmlDlMd, bX as HtmlDivMd, bY as HtmlDialogMd, bZ as HtmlDfnMd, b_ as HtmlDetailsMd, b$ as HtmlDelMd, c0 as HtmlDdMd, c1 as HtmlDatalistMd, c2 as HtmlDataMd, c3 as HtmlColgroupMd, c4 as HtmlColMd, c5 as HtmlCiteMd, c6 as HtmlCaptionMd, c7 as HtmlCanvasMd, c8 as HtmlButtonMd, c9 as BrMd, ca as HtmlBlockquoteMd, cb as HtmlBdoMd, cc as HtmlBdiMd, cd as HtmlBMd, ce as HtmlAudioMd, cf as HtmlAsideMd, cg as HtmlArticleMd, ch as HtmlAreaMd, ci as HtmlAddressMd, cj as HtmlAMd, ck as XmlUiWebThemeDefinition, cl as XmlUiBlogThemeDefinition, cm as XmlUiRedThemeDefinition, cn as XmlUiCyanThemeDefinition, co as XmlUiPurpleThemeDefinition, cp as XmlUiOrangeThemeDefinition, cq as XmlUiGrayThemeDefinition, cr as XmlUiGreenThemeDefinition, cs as XmlUiThemeDefinition, ct as RootThemeDefinition } from "./TextBox-DHSTy0g0.js";
2
+ import { h as httpMethodNames } from "./transform-fGDqiHwH.js";
3
3
  const COMP = "DataSource";
4
4
  const DataSourceMd = createMetadata({
5
5
  status: "stable",
@@ -8,7 +8,8 @@ const DataSourceMd = createMetadata({
8
8
  method: {
9
9
  description: `Set the HTTP method.`,
10
10
  defaultValue: "get",
11
- availableValues: httpMethodNames
11
+ availableValues: httpMethodNames,
12
+ valueType: "string"
12
13
  },
13
14
  id: {
14
15
  description: `Set the ID used by other components to access the retrieved data in the \`value\`property of a \`DataSource\`, or status info in the \`loaded\` and \`error\` properties.When no \`id\` is set, the component cannot be used programmatically.`,
@@ -69,13 +70,16 @@ const DataSourceMd = createMetadata({
69
70
  valueType: "string"
70
71
  },
71
72
  transformResult: {
72
- description: "Set an optional function to perform a final transformation of the response data. If this value is not set, the result is not transformed."
73
+ description: "Set an optional function to perform a final transformation of the response data. If this value is not set, the result is not transformed.",
74
+ valueType: "any"
73
75
  },
74
76
  prevPageSelector: {
75
- description: `When using \`${COMP}\` with paging, the response may contain information about the previous and next page. This property defines the selector that extracts the previous page information from the response deserialized to an object.`
77
+ description: `When using \`${COMP}\` with paging, the response may contain information about the previous and next page. This property defines the selector that extracts the previous page information from the response deserialized to an object.`,
78
+ valueType: "string"
76
79
  },
77
80
  nextPageSelector: {
78
- description: `When using \`${COMP}\` with paging, the response may contain information about the previous and next page. This property defines the selector that extracts the next page information from the response deserialized to an object.`
81
+ description: `When using \`${COMP}\` with paging, the response may contain information about the previous and next page. This property defines the selector that extracts the next page information from the response deserialized to an object.`,
82
+ valueType: "string"
79
83
  },
80
84
  dataType: {
81
85
  description: 'Type of data to fetch. When set to `"text"`, the response is returned as a raw string without JSON parsing. When set to `"csv"`, the response is parsed as CSV.',
@@ -89,7 +93,8 @@ const DataSourceMd = createMetadata({
89
93
  },
90
94
  structuralSharing: {
91
95
  description: "This property allows structural sharing. When turned on, `DataSource` will keep the original reference if nothing has changed in the data. If a subset has changed, `DataSource` will keep the unchanged parts and only replace the changed parts. If you do not need this behavior, set this property to `false`.",
92
- defaultValue: "true"
96
+ valueType: "boolean",
97
+ defaultValue: true
93
98
  },
94
99
  omitTransactionId: {
95
100
  description: "When set to `true`, the `x-ue-client-tx-id` request header will not be added to outgoing requests. Use this when the target API does not allow custom request headers (e.g. third-party APIs with strict CORS `Access-Control-Allow-Headers`).",
@@ -277,7 +282,6 @@ const collectedComponentMetadata = {
277
282
  Footer: FooterMd,
278
283
  Form: FormMd,
279
284
  FormItem: FormItemMd,
280
- FormSection: FormSectionMd,
281
285
  FormSegment: FormSegmentMd,
282
286
  Heading: HeadingMd,
283
287
  H1: H1Md,