UNPKG

@bitrix24/b24ui-nuxt

Version:

Bitrix24 UI-Kit for developing web applications REST API for NUXT & VUE

1,233 lines (1,232 loc) 3.27 MB
var B24UIMeta = { "B24Advice": { "mode": "all", "prefetch": false, "preload": false, "pascalName": "B24Advice", "kebabName": "b24-advice", "chunkName": "components/b24-advice", "priority": 0, "_scanned": true, "meta": { "type": 0, "props": [ { "name": "as", "global": false, "description": "The element or component this component should render as.", "tags": [ { "name": "defaultValue", "text": "'div'" } ], "required": false, "type": "any", "schema": "any", "default": '"div"' }, { "name": "description", "global": false, "description": "", "tags": [], "required": false, "type": "string | undefined", "schema": { "kind": "enum", "type": "string | undefined", "schema": { "0": "undefined", "1": "string" } } }, { "name": "angle", "global": false, "description": "", "tags": [ { "name": "defaultValue", "text": "'bottom'" } ], "required": false, "type": '"bottom" | "top" | undefined', "schema": { "kind": "enum", "type": '"bottom" | "top" | undefined', "schema": { "0": "undefined", "1": '"bottom"', "2": '"top"' } }, "default": '"bottom"' }, { "name": "b24ui", "global": false, "description": "", "tags": [], "required": false, "type": "Partial<{ root: string; descriptionWrapper: string; descriptionBorder: string; descriptionBg: string; descriptionAngle: string; description: string; leading: string; leadingIcon: string; leadingAvatar: string; leadingAvatarSize: string; }> | undefined", "schema": { "kind": "enum", "type": "Partial<{ root: string; descriptionWrapper: string; descriptionBorder: string; descriptionBg: string; descriptionAngle: string; description: string; leading: string; leadingIcon: string; leadingAvatar: string; leadingAvatarSize: string; }> | undefined", "schema": { "0": "undefined", "1": "Partial<{ root: string; descriptionWrapper: string; descriptionBorder: string; descriptionBg: string; descriptionAngle: string; description: string; leading: string; leadingIcon: string; leadingAvatar: string; leadingAvatarSize: string; }>" } } }, { "name": "icon", "global": false, "description": "Display an icon on the left side.", "tags": [ { "name": "defaultValue", "text": "icons.loading" }, { "name": "IconComponent" } ], "required": false, "type": "IconComponent | undefined", "schema": { "kind": "enum", "type": "IconComponent | undefined", "schema": { "0": "undefined", "1": { "kind": "event", "type": '(props: HTMLAttributes & VNodeProps & {}, ctx: Omit<{ attrs: Data; slots: Readonly<InternalSlots>; emit: (event: string, ...args: any[]) => void; expose: <Exposed extends Record<string, any> = Record<...>>(exposed?: Exposed | undefined) => void; }, "expose">): any', "schema": [] } } } }, { "name": "avatar", "global": false, "description": "Display an avatar on the left side.", "tags": [], "required": false, "type": "AvatarProps | undefined", "schema": { "kind": "enum", "type": "AvatarProps | undefined", "schema": { "0": "undefined", "1": { "kind": "object", "type": "AvatarProps", "schema": { "as": { "name": "as", "global": false, "description": "The element or component this component should render as.", "tags": [ { "name": "defaultValue", "text": "'span'" } ], "required": false, "type": "any", "schema": "any" }, "src": { "name": "src", "global": false, "description": "", "tags": [], "required": false, "type": "string | undefined", "schema": { "kind": "enum", "type": "string | undefined", "schema": { "0": "undefined", "1": "string" } } }, "alt": { "name": "alt", "global": false, "description": "", "tags": [], "required": false, "type": "string | undefined", "schema": "string | undefined" }, "icon": { "name": "icon", "global": false, "description": "Display an icon on the left side.", "tags": [ { "name": "IconComponent" } ], "required": false, "type": "IconComponent | undefined", "schema": { "kind": "enum", "type": "IconComponent | undefined", "schema": { "0": "undefined", "1": { "kind": "event", "type": '(props: HTMLAttributes & VNodeProps & {}, ctx: Omit<{ attrs: Data; slots: Readonly<InternalSlots>; emit: (event: string, ...args: any[]) => void; expose: <Exposed extends Record<string, any> = Record<...>>(exposed?: Exposed | undefined) => void; }, "expose">): any', "schema": [] } } } }, "text": { "name": "text", "global": false, "description": "", "tags": [], "required": false, "type": "string | undefined", "schema": "string | undefined" }, "size": { "name": "size", "global": false, "description": "", "tags": [ { "name": "defaultValue", "text": "'md'" } ], "required": false, "type": '"lg" | "md" | "3xs" | "2xs" | "xs" | "sm" | "xl" | "2xl" | "3xl" | undefined', "schema": { "kind": "enum", "type": '"lg" | "md" | "3xs" | "2xs" | "xs" | "sm" | "xl" | "2xl" | "3xl" | undefined', "schema": { "0": "undefined", "1": '"lg"', "2": '"md"', "3": '"3xs"', "4": '"2xs"', "5": '"xs"', "6": '"sm"', "7": '"xl"', "8": '"2xl"', "9": '"3xl"' } } }, "class": { "name": "class", "global": false, "description": "", "tags": [], "required": false, "type": "any", "schema": "any" }, "style": { "name": "style", "global": false, "description": "", "tags": [], "required": false, "type": "any", "schema": "any" }, "b24ui": { "name": "b24ui", "global": false, "description": "", "tags": [], "required": false, "type": "Partial<{ root: string; image: string; fallback: string; icon: string; }> | undefined", "schema": { "kind": "enum", "type": "Partial<{ root: string; image: string; fallback: string; icon: string; }> | undefined", "schema": { "0": "undefined", "1": "Partial<{ root: string; image: string; fallback: string; icon: string; }>" } } } } } } } } ], "slots": [ { "name": "leading", "type": "{} | undefined", "description": "", "schema": { "kind": "enum", "type": "{} | undefined", "schema": { "0": "undefined", "1": { "kind": "object", "type": "{}", "schema": {} } } } }, { "name": "default", "type": "{} | undefined", "description": "", "schema": { "kind": "enum", "type": "{} | undefined", "schema": { "0": "undefined", "1": { "kind": "object", "type": "{}", "schema": {} } } } } ], "events": [], "exposed": [] } }, "B24Alert": { "mode": "all", "prefetch": false, "preload": false, "pascalName": "B24Alert", "kebabName": "b24-alert", "chunkName": "components/b24-alert", "priority": 0, "_scanned": true, "meta": { "type": 0, "props": [ { "name": "as", "global": false, "description": "The element or component this component should render as.", "tags": [ { "name": "defaultValue", "text": "'div'" } ], "required": false, "type": "any", "schema": "any" }, { "name": "title", "global": false, "description": "", "tags": [], "required": false, "type": "string | undefined", "schema": { "kind": "enum", "type": "string | undefined", "schema": { "0": "undefined", "1": "string" } } }, { "name": "description", "global": false, "description": "", "tags": [], "required": false, "type": "string | undefined", "schema": { "kind": "enum", "type": "string | undefined", "schema": { "0": "undefined", "1": "string" } } }, { "name": "icon", "global": false, "description": "Display an icon on the left side.", "tags": [ { "name": "IconComponent" } ], "required": false, "type": "IconComponent | undefined", "schema": { "kind": "enum", "type": "IconComponent | undefined", "schema": { "0": "undefined", "1": { "kind": "event", "type": '(props: HTMLAttributes & VNodeProps & {}, ctx: Omit<{ attrs: Data; slots: Readonly<InternalSlots>; emit: (event: string, ...args: any[]) => void; expose: <Exposed extends Record<string, any> = Record<...>>(exposed?: Exposed | undefined) => void; }, "expose">): any', "schema": [] } } } }, { "name": "avatar", "global": false, "description": "", "tags": [], "required": false, "type": "AvatarProps | undefined", "schema": { "kind": "enum", "type": "AvatarProps | undefined", "schema": { "0": "undefined", "1": { "kind": "object", "type": "AvatarProps", "schema": { "as": { "name": "as", "global": false, "description": "The element or component this component should render as.", "tags": [ { "name": "defaultValue", "text": "'span'" } ], "required": false, "type": "any", "schema": "any" }, "src": { "name": "src", "global": false, "description": "", "tags": [], "required": false, "type": "string | undefined", "schema": { "kind": "enum", "type": "string | undefined", "schema": { "0": "undefined", "1": "string" } } }, "alt": { "name": "alt", "global": false, "description": "", "tags": [], "required": false, "type": "string | undefined", "schema": "string | undefined" }, "icon": { "name": "icon", "global": false, "description": "Display an icon on the left side.", "tags": [ { "name": "IconComponent" } ], "required": false, "type": "IconComponent | undefined", "schema": { "kind": "enum", "type": "IconComponent | undefined", "schema": { "0": "undefined", "1": { "kind": "event", "type": '(props: HTMLAttributes & VNodeProps & {}, ctx: Omit<{ attrs: Data; slots: Readonly<InternalSlots>; emit: (event: string, ...args: any[]) => void; expose: <Exposed extends Record<string, any> = Record<...>>(exposed?: Exposed | undefined) => void; }, "expose">): any', "schema": [] } } } }, "text": { "name": "text", "global": false, "description": "", "tags": [], "required": false, "type": "string | undefined", "schema": "string | undefined" }, "size": { "name": "size", "global": false, "description": "", "tags": [ { "name": "defaultValue", "text": "'md'" } ], "required": false, "type": '"lg" | "md" | "3xs" | "2xs" | "xs" | "sm" | "xl" | "2xl" | "3xl" | undefined', "schema": { "kind": "enum", "type": '"lg" | "md" | "3xs" | "2xs" | "xs" | "sm" | "xl" | "2xl" | "3xl" | undefined', "schema": { "0": "undefined", "1": '"lg"', "2": '"md"', "3": '"3xs"', "4": '"2xs"', "5": '"xs"', "6": '"sm"', "7": '"xl"', "8": '"2xl"', "9": '"3xl"' } } }, "class": { "name": "class", "global": false, "description": "", "tags": [], "required": false, "type": "any", "schema": "any" }, "style": { "name": "style", "global": false, "description": "", "tags": [], "required": false, "type": "any", "schema": "any" }, "b24ui": { "name": "b24ui", "global": false, "description": "", "tags": [], "required": false, "type": "Partial<{ root: string; image: string; fallback: string; icon: string; }> | undefined", "schema": { "kind": "enum", "type": "Partial<{ root: string; image: string; fallback: string; icon: string; }> | undefined", "schema": { "0": "undefined", "1": "Partial<{ root: string; image: string; fallback: string; icon: string; }>" } } } } } } } }, { "name": "color", "global": false, "description": "", "tags": [ { "name": "defaultValue", "text": "'default'" } ], "required": false, "type": '"default" | "danger" | "success" | "warning" | "primary" | "secondary" | "collab" | "ai" | undefined', "schema": { "kind": "enum", "type": '"default" | "danger" | "success" | "warning" | "primary" | "secondary" | "collab" | "ai" | undefined', "schema": { "0": "undefined", "1": '"default"', "2": '"danger"', "3": '"success"', "4": '"warning"', "5": '"primary"', "6": '"secondary"', "7": '"collab"', "8": '"ai"' } } }, { "name": "orientation", "global": false, "description": "The orientation between the content and the actions.", "tags": [ { "name": "defaultValue", "text": "'vertical'" } ], "required": false, "type": '"vertical" | "horizontal" | undefined', "schema": { "kind": "enum", "type": '"vertical" | "horizontal" | undefined', "schema": { "0": "undefined", "1": '"vertical"', "2": '"horizontal"' } }, "default": '"vertical"' }, { "name": "size", "global": false, "description": "", "tags": [ { "name": "defaultValue", "text": "'md'" } ], "required": false, "type": '"md" | "sm" | undefined', "schema": { "kind": "enum", "type": '"md" | "sm" | undefined', "schema": { "0": "undefined", "1": '"md"', "2": '"sm"' } } }, { "name": "actions", "global": false, "description": "Display a list of actions:\n- under the title and description when orientation is `vertical`\n- next to the close button when orientation is `horizontal`\n`{ size: 'xs' }`{lang=\"ts\"}", "tags": [], "required": false, "type": "ButtonProps[] | undefined", "schema": { "kind": "enum", "type": "ButtonProps[] | undefined", "schema": { "0": "undefined", "1": { "kind": "array", "type": "ButtonProps[]", "schema": [ { "kind": "object", "type": "ButtonProps", "schema": { "label": { "name": "label", "global": false, "description": "", "tags": [], "required": false, "type": "string | undefined", "schema": { "kind": "enum", "type": "string | undefined", "schema": { "0": "undefined", "1": "string" } } }, "color": { "name": "color", "global": false, "description": "", "tags": [ { "name": "defaultValue", "text": "'default'" } ], "required": false, "type": '"default" | "danger" | "success" | "warning" | "primary" | "secondary" | "collab" | "ai" | "link" | undefined', "schema": { "kind": "enum", "type": '"default" | "danger" | "success" | "warning" | "primary" | "secondary" | "collab" | "ai" | "link" | undefined', "schema": { "0": "undefined", "1": '"default"', "2": '"danger"', "3": '"success"', "4": '"warning"', "5": '"primary"', "6": '"secondary"', "7": '"collab"', "8": '"ai"', "9": '"link"' } } }, "activeColor": { "name": "activeColor", "global": false, "description": "", "tags": [], "required": false, "type": '"default" | "danger" | "success" | "warning" | "primary" | "secondary" | "collab" | "ai" | "link" | undefined', "schema": '"default" | "danger" | "success" | "warning" | "primary" | "secondary" | "collab" | "ai" | "link" | undefined' }, "depth": { "name": "depth", "global": false, "description": "", "tags": [ { "name": "defaultValue", "text": "'normal'" } ], "required": false, "type": '"light" | "normal" | "dark" | undefined', "schema": { "kind": "enum", "type": '"light" | "normal" | "dark" | undefined', "schema": { "0": "undefined", "1": '"light"', "2": '"normal"', "3": '"dark"' } } }, "activeDepth": { "name": "activeDepth", "global": false, "description": "", "tags": [], "required": false, "type": '"light" | "normal" | "dark" | undefined', "schema": '"light" | "normal" | "dark" | undefined' }, "size": { "name": "size", "global": false, "description": "", "tags": [ { "name": "defaultValue", "text": "'md'" } ], "required": false, "type": '"lg" | "md" | "xs" | "sm" | undefined', "schema": { "kind": "enum", "type": '"lg" | "md" | "xs" | "sm" | undefined', "schema": { "0": "undefined", "1": '"lg"', "2": '"md"', "3": '"xs"', "4": '"sm"' } } }, "rounded": { "name": "rounded", "global": false, "description": "Rounds the corners of the button", "tags": [ { "name": "defaultValue", "text": "false" } ], "required": false, "type": "boolean | undefined", "schema": { "kind": "enum", "type": "boolean | undefined", "schema": { "0": "undefined", "1": "false", "2": "true" } } }, "block": { "name": "block", "global": false, "description": "Render the button full width", "tags": [ { "name": "defaultValue", "text": "false" } ], "required": false, "type": "boolean | undefined", "schema": "boolean | undefined" }, "loadingAuto": { "name": "loadingAuto", "global": false, "description": "Set loading state automatically based on the `@click` promise state", "tags": [ { "name": "defaultValue", "text": "false" } ], "required": false, "type": "boolean | undefined", "schema": "boolean | undefined" }, "normalCase": { "name": "normalCase", "global": false, "description": "Disable uppercase label", "tags": [ { "name": "defaultValue", "text": "false" } ], "required": false, "type": "boolean | undefined", "schema": "boolean | undefined" }, "useWait": { "name": "useWait", "global": false, "description": "Shows LoaderWaitIcon in loading mode", "tags": [ { "name": "defaultValue", "text": "false" } ], "required": false, "type": "boolean | undefined", "schema": "boolean | undefined" }, "useClock": { "name": "useClock", "global": false, "description": "Shows LoaderClockIcon icon in loading mode", "tags": [ { "name": "defaultValue", "text": "false" } ], "required": false, "type": "boolean | undefined", "schema": "boolean | undefined" }, "useDropdown": { "name": "useDropdown", "global": false, "description": "Shows icons.chevronDown on the right side", "tags": [ { "name": "defaultValue", "text": "false" } ], "required": false, "type": "boolean | undefined", "schema": "boolean | undefined" }, "onClick": { "name": "onClick", "global": false, "description": "", "tags": [], "required": false, "type": "((event: MouseEvent) => void | Promise<void>) | ((event: MouseEvent) => void | Promise<void>)[] | undefined", "schema": { "kind": "enum", "type": "((event: MouseEvent) => void | Promise<void>) | ((event: MouseEvent) => void | Promise<void>)[] | undefined", "schema": { "0": "undefined", "1": { "kind": "event", "type": "(event: MouseEvent): void | Promise<void>", "schema": [] }, "2": { "kind": "array", "type": "((event: MouseEvent) => void | Promise<void>)[]", "schema": [ { "kind": "event", "type": "(event: MouseEvent): void | Promise<void>", "schema": [] } ] } } } }, "class": { "name": "class", "global": false, "description": "", "tags": [], "required": false, "type": "any", "schema": "any" }, "activeClass": { "name": "activeClass", "global": false, "description": "The class to apply when the link is active", "tags": [ { "name": "defaultValue", "text": "''" } ], "required": false, "type": "string | undefined", "schema": "string | undefined" }, "inactiveClass": { "name": "inactiveClass", "global": false, "description": "The class to apply when the link is inactive", "tags": [ { "name": "defaultValue", "text": "''" } ], "required": false, "type": "string | undefined", "schema": "string | undefined" }, "b24ui": { "name": "b24ui", "global": false, "description": "", "tags": [], "required": false, "type": "PartialString<{ base: string[]; baseLine: string; label: string; leadingIcon: string; leadingAvatar: string; leadingAvatarSize: string; trailingIcon: string; safeList: string; }> | undefined", "schema": { "kind": "enum", "type": "PartialString<{ base: string[]; baseLine: string; label: string; leadingIcon: string; leadingAvatar: string; leadingAvatarSize: string; trailingIcon: string; safeList: string; }> | undefined", "schema": { "0": "undefined", "1": "PartialString<{ base: string[]; baseLine: string; label: string; leadingIcon: string; leadingAvatar: string; leadingAvatarSize: string; trailingIcon: string; safeList: string; }>" } } }, "loading": { "name": "loading", "global": false, "description": "When `true`, the loading icon will be displayed.", "tags": [], "required": false, "type": "boolean | undefined", "schema": "boolean | undefined" }, "icon": { "name": "icon", "global": false, "description": "Display an icon on the left side.", "tags": [ { "name": "defaultValue", "text": "icons.loading" }, { "name": "IconComponent" } ], "required": false, "type": "IconComponent | undefined", "schema": { "kind": "enum", "type": "IconComponent | undefined", "schema": { "0": "undefined", "1": { "kind": "event", "type": '(props: HTMLAttributes & VNodeProps & {}, ctx: Omit<{ attrs: Data; slots: Readonly<InternalSlots>; emit: (event: string, ...args: any[]) => void; expose: <Exposed extends Record<string, any> = Record<...>>(exposed?: Exposed | undefined) => void; }, "expose">): any', "schema": [] } } } }, "avatar": { "name": "avatar", "global": false, "description": "Display an avatar on the left side.", "tags": [], "required": false, "type": "AvatarProps | undefined", "schema": { "kind": "enum", "type": "AvatarProps | undefined", "schema": { "0": "undefined", "1": { "kind": "object", "type": "AvatarProps", "schema": { "as": { "name": "as", "global": false, "description": "The element or component this component should render as.", "tags": [ { "name": "defaultValue", "text": "'span'" } ], "required": false, "type": "any", "schema": "any" }, "src": { "name": "src", "global": false, "description": "", "tags": [], "required": false, "type": "string | undefined", "schema": "string | undefined" }, "alt": { "name": "alt", "global": false, "description": "", "tags": [], "required": false, "type": "string | undefined", "schema": "string | undefined" }, "icon": { "name": "icon", "global": false, "description": "Display an icon on the left side.", "tags": [ { "name": "IconComponent" } ], "required": false, "type": "IconComponent | undefined", "schema": "IconComponent | undefined" }, "text": { "name": "text", "global": false, "description": "", "tags": [], "required": false, "type": "string | undefined", "schema": "string | undefined" }, "size": { "name": "size", "global": false, "description": "", "tags": [ { "name": "defaultValue", "text": "'md'" } ], "required": false, "type": '"lg" | "md" | "3xs" | "2xs" | "xs" | "sm" | "xl" | "2xl" | "3xl" | undefined', "schema": { "kind": "enum", "type": '"lg" | "md" | "3xs" | "2xs" | "xs" | "sm" | "xl" | "2xl" | "3xl" | undefined', "schema": { "0": "undefined", "1": '"lg"', "2": '"md"', "3": '"3xs"', "4": '"2xs"', "5": '"xs"', "6": '"sm"', "7": '"xl"', "8": '"2xl"', "9": '"3xl"' } } }, "class": { "name": "class", "global": false, "description": "", "tags": [], "required": false, "type": "any", "schema": "any" }, "style": { "name": "style", "global": false, "description": "", "tags": [], "required": false, "type": "any", "schema": "any" }, "b24ui": { "name": "b24ui", "global": false, "description": "", "tags": [], "required": false, "type": "Partial<{ root: string; image: string; fallback: string; icon: string; }> | undefined", "schema": { "kind": "enum", "type": "Partial<{ root: string; image: string; fallback: string; icon: string; }> | undefined", "schema": { "0": "undefined", "1": "Partial<{ root: string; image: string; fallback: string; icon: string; }>" } } } } } } } }, "as": { "name": "as", "global": false, "description": "The element or component this component should render as when not a link.", "tags": [ { "name": "defaultValue", "text": "'button'" } ], "required": false, "type": "any", "schema": "any" }, "type": { "name": "type", "global": false, "description": "The type of the button when not a link.", "tags": [ { "name": "defaultValue", "text": "'button'" } ], "required": false, "type": '"reset" | "submit" | "button" | undefined', "schema": { "kind": "enum", "type": '"reset" | "submit" | "button" | undefined', "schema": { "0": "undefined", "1": '"reset"', "2": '"submit"', "3": '"button"' } } }, "to": { "name": "to", "global": false, "description": "Route Location the link should navigate to when clicked on.", "tags": [], "required": false, "type": "string | RouteLocationAsRelativeGeneric | RouteLocationAsPathGeneric | undefined", "schema": { "kind": "enum", "type": "string | RouteLocationAsRelativeGeneric | RouteLocationAsPathGeneric | undefined", "schema": { "0": "undefined", "1": "string", "2": { "kind": "object", "type": "RouteLocationAsRelativeGeneric", "schema": { "name": { "name": "name", "global": false, "description": "", "tags": [], "required": false, "type": "RouteRecordNameGeneric", "schema": { "kind": "enum", "type": "RouteRecordNameGeneric", "schema": { "0": "undefined", "1": "string", "2": "symbol" } } }, "params": { "name": "params", "global": false, "description": "", "tags": [], "required": false, "type": "RouteParamsRawGeneric | undefined", "schema": { "kind": "enum", "type": "RouteParamsRawGeneric | undefined", "schema": { "0": "undefined", "1": "RouteParamsRawGeneric" } } }, "path": { "name": "path", "global": false, "description": "A relative path to the current location. This property should be removed", "tags": [], "required": false, "type": "undefined", "schema": "undefined" }, "query": { "name": "query", "global": false, "description": "", "tags": [], "required": false, "type": "LocationQueryRaw | undefined", "schema": { "kind": "enum", "type": "LocationQueryRaw | undefined", "schema": { "0": "undefined", "1": "LocationQueryRaw" } } }, "hash": { "name": "hash", "global": false, "description": "", "tags": [], "required": false,