import { $ as ee, $n as te, $r as ne, $t as re, A as ie, An as e, Ar as t, At as n, B as r, Bn as i, Br as a, Bt as o, C as s, Cn as c, Cr as l, Ct as u, D as d, Dn as f, Dr as p, Dt as m, E as h, En as g, Er as _, Et as v, F as y, Fn as b, Fr as x, Ft as S, G as C, Gn as w, Gr as T, Gt as E, H as D, Hn as O, Hr as k, Ht as A, I as j, In as M, Ir as N, It as P, J as F, Jn as I, Jr as L, Jt as R, K as z, Kn as B, Kr as V, Kt as H, L as U, Ln as W, Lr as G, Lt as K, M as q, Mn as J, Mr as Y, Mt as ae, N as X, Nn as oe, Nr as se, Nt as ce, O as le, On as ue, Or as de, Ot as fe, P as pe, Pn as me, Pr as he, Pt as ge, Q as _e, Qn as ve, Qr as ye, Qt as be, R as xe, Rn as Se, Rr as Ce, Rt as we, S as Te, Sr as Ee, St as De, T as Oe, Tn as ke, Tr as Ae, Tt as je, U as Me, Un as Ne, Ur as Pe, Ut as Fe, V as Ie, Vn as Le, Vr as Re, Vt as ze, W as Be, Wn as Ve, Wr as He, Wt as Ue, X as We, Xn as Ge, Xr as Ke, Xt as qe, Y as Je, Yn as Ye, Yr as Xe, Yt as Ze, Z as Qe, Zn as $e, Zr as et, Zt as tt, _ as nt, _r as rt, _t as it, a as at, ai as ot, an as st, ar as ct, at as lt, b as Z, br as ut, bt as dt, c as ft, cn as pt, cr as Q, ct as mt, d as ht, dn as gt, dr as _t, dt as vt, ei as yt, en as bt, er as xt, et as St, f as Ct, fn as wt, fr as Tt, ft as Et, g as Dt, gr as Ot, gt as kt, h as At, hn as jt, hr as Mt, ht as Nt, i as Pt, ii as Ft, in as It, ir as Lt, it as Rt, j as zt, jn as Bt, jr as Vt, jt as Ht, k as Ut, kn as Wt, kr as Gt, kt as Kt, l as qt, ln as Jt, lr as Yt, lt as Xt, m as Zt, mn as Qt, mr as $t, mt as en, n as tn, ni as nn, nn as rn, nr as an, nt as on, o as sn, on as cn, or as ln, ot as un, p as dn, pn as fn, pr as pn, pt as mn, q as hn, qn as gn, qr as _n, qt as vn, r as yn, ri as bn, rn as xn, rr as Sn, rt as Cn, s as wn, sn as Tn, sr as En, st as Dn, t as On, ti as kn, tn as An, tr as jn, tt as Mn, u as Nn, un as Pn, ur as Fn, ut as In, v as Ln, vr as Rn, vt as zn, w as Bn, wn as Vn, wr as Hn, wt as Un, x as Wn, xr as Gn, xt as Kn, y as qn, yr as Jn, yt as Yn, z as Xn, zn as Zn, zr as Qn, zt as $n } from "./TextBox-D-3iXLdI.js";
import { j as er } from "./transform-oFwtbFM_.js";
//#region src/components/DataSource/DataSource.tsx
var $ = "DataSource", tr = {
	a: sn,
	address: wn,
	area: ft,
	article: qt,
	aside: Nn,
	audio: ht,
	b: Ct,
	bdi: dn,
	bdo: Zt,
	blockquote: At,
	br: qe,
	button: Dt,
	canvas: nt,
	caption: Ln,
	cite: qn,
	code: Z,
	col: Wn,
	colgroup: Te,
	data: s,
	datalist: Bn,
	dd: Oe,
	del: h,
	details: d,
	dfn: le,
	dialog: Ut,
	div: ie,
	dl: zt,
	dt: q,
	em: X,
	embed: pe,
	fieldset: y,
	figcaption: j,
	figure: U,
	footer: xe,
	form: Xn,
	h1: r,
	h2: Ie,
	h3: D,
	h4: Me,
	h5: Be,
	h6: C,
	header: z,
	hr: hn,
	i: F,
	iframe: Je,
	img: We,
	input: Qe,
	ins: _e,
	kbd: ee,
	label: St,
	legend: Mn,
	li: on,
	main: Cn,
	map: Rt,
	mark: lt,
	menu: un,
	meter: Dn,
	nav: mt,
	object: Xt,
	ol: In,
	optgroup: vt,
	option: Et,
	output: mn,
	p: en,
	param: Nt,
	picture: kt,
	pre: it,
	progress: zn,
	q: Yn,
	rp: dt,
	rt: Kn,
	ruby: De,
	s: u,
	samp: Un,
	section: je,
	select: v,
	small: m,
	source: fe,
	span: Kt,
	strong: n,
	sub: Ht,
	summary: ae,
	sup: ce,
	table: ge,
	tbody: S,
	td: P,
	template: K,
	textarea: we,
	tfoot: $n,
	th: o,
	thead: ze,
	time: A,
	tr: Fe,
	track: Ue,
	u: E,
	ul: H,
	var: vn,
	video: R,
	wbr: Ze,
	Accordion: Tn,
	APICall: bt,
	App: Ne,
	AppHeader: Vt,
	AppState: Jt,
	AutoComplete: Ye,
	Avatar: Ot,
	Badge: rt,
	Bookmark: Pn,
	Button: bn,
	Card: $t,
	ChangeListener: te,
	Checkbox: Hn,
	CODE: Z,
	ColorPicker: gn,
	Column: c,
	ContextMenu: b,
	ContentSeparator: Mt,
	DataSource: ot({
		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: er,
				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 \`${$}\` 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 \`${$}\` 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"
			}
		}
	}),
	DatePicker: Ge,
	DateInput: jt,
	Drawer: at,
	DropdownMenu: N,
	EM: X,
	Fragment: _,
	MenuItem: G,
	SubMenuItem: Qn,
	ExpandableItem: a,
	FileInput: ve,
	FileUploadDropZone: _t,
	FlowLayout: kn,
	Footer: Zn,
	Form: w,
	FormItem: B,
	FormSegment: Ve,
	Heading: L,
	H1: k,
	H2: Pe,
	H3: He,
	H4: T,
	H5: V,
	H6: _n,
	Icon: Ft,
	IFrame: Fn,
	Image: Y,
	IncludeMarkup: tt,
	Items: Yt,
	Link: Re,
	List: jn,
	Logo: t,
	Markdown: Pt,
	MenuSeparator: Ce,
	MessageListener: Ae,
	ModalDialog: pn,
	NavGroup: Se,
	NavLink: Gt,
	NavPanel: O,
	NoResult: Tt,
	NumberBox: $e,
	Option: re,
	PageMetaTitle: En,
	Page: i,
	Pages: Le,
	Pagination: Gn,
	ProgressBar: ln,
	QRCode: be,
	Queue: an,
	RadioGroup: l,
	Redirect: wt,
	ResponsiveBar: x,
	ScrollViewer: nn,
	Select: Ee,
	SelectionStore: Q,
	Slider: I,
	Slot: W,
	SpaceFiller: he,
	Spinner: de,
	Splitter: Lt,
	StickySection: Rn,
	Tooltip: yn,
	HSplitter: Sn,
	VSplitter: ct,
	Stack: ne,
	CHStack: Ke,
	CVStack: et,
	HStack: ye,
	VStack: yt,
	StickyBox: Jn,
	Switch: M,
	Table: ut,
	TableOfContents: pt,
	TabItem: cn,
	Tabs: gt,
	Stepper: st,
	Step: It,
	Text: Xe,
	TextArea: se,
	TextBox: tn,
	TileGrid: xt,
	PasswordInput: On,
	Theme: Vn,
	TimeInput: Qt,
	Timer: fn,
	ToneChangerButton: xn,
	NavPanelCollapseButton: rn,
	ToneSwitch: An,
	Tree: p
}, nr = {
	root: me,
	xmlui: J,
	xmluiGreen: ue,
	xmluiGray: f,
	xmluiOrange: Wt,
	xmluiPurple: e,
	xmluiCyan: g,
	xmluiRed: Bt,
	xmluiBlog: ke,
	xmluiWeb: oe
};
//#endregion
export { tr as collectedComponentMetadata, nr as collectedThemes };

//# sourceMappingURL=xmlui-metadata.js.map