UNPKG

vuetify-admin

Version:

SPA admin framework for Vue.js running on top of REST APIs, built on Vuetify

1,428 lines (1,427 loc) 188 kB
{ "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json", "framework": "vue", "name": "vuetify-admin", "version": "0.1.0", "contributions": { "html": { "types-syntax": "typescript", "description-markup": "markdown", "tags": [ { "name": "VaActionPage", "description": "Main CRUD action page layout used for Show, Create end Edit views components.", "attributes": [ { "name": "resource", "value": { "kind": "expression", "type": "string" }, "description": "Name of the resource to use.\nRequired for good label localization and context action activators.\nDefault behavior is to fetch it from router context." }, { "name": "title", "value": { "kind": "expression", "type": "string" }, "description": "Optional H1 title of the page shown on the left of top header" } ] }, { "name": "VaAppBar", "description": "Default customizable admin VAppBar.\nContains main app title, header menus, direct resource creation links, global refresh action, profile menu.\nProfile user dropdown will not appear on guest mode.", "attributes": [ { "name": "title", "value": { "kind": "expression", "type": "string" }, "description": "Replace default admin app title set on VuetifyAdmin constructor." }, { "name": "headerMenu", "value": { "kind": "expression", "type": "array" }, "description": "Header links visible on left side." }, { "name": "profileMenu", "value": { "kind": "expression", "type": "array" }, "description": "Profile related links, visible inside authenticated dropdown menu." }, { "name": "disableCreate", "value": { "kind": "expression", "type": "boolean" }, "default": "false", "type": "boolean", "description": "Disable create menu." }, { "name": "disableReload", "value": { "kind": "expression", "type": "boolean" }, "default": "false", "type": "boolean", "description": "Disable reload state button." }, { "name": "color", "value": { "kind": "expression", "type": "string" }, "description": "Color for the VAppBar." }, { "name": "dense", "value": { "kind": "expression", "type": "boolean" }, "default": "false", "type": "boolean", "description": "Reduce height of VAppBar" }, { "name": "dark", "value": { "kind": "expression", "type": "boolean" }, "default": "false", "type": "boolean", "description": "Apply dark theme variant for VAppBar" } ] }, { "name": "VaAside", "description": "Customizable admin aside component where you put some contextualized additional information.\nUse the associated `VaAsideLayout` component for content integration from anywhere on any context.", "attributes": [ { "name": "width", "value": { "kind": "expression", "type": "number" }, "description": "Width of the aside" } ] }, { "name": "VaBreadcrumbs", "description": "Default admin component for breadcrumbs, will generate automatically hierarchical links from current route.\nSupport hierarchical CRUD structure.", "attributes": [] }, { "name": "VaFooter", "description": "Default customizable admin VFooter with possibility of corporate related links and infos.", "attributes": [ { "name": "menu", "value": { "kind": "expression", "type": "array" }, "description": "Menu links." } ] }, { "name": "VaLayout", "description": "Admin composable component layout with one slot for each region.", "attributes": [] }, { "name": "VaMessages", "description": "Internal VaMessages system for snackbar/toaster infos and confirm dialog.\nIntegrated with all resource modules for message API calls.\nWill automatically show `message` error property in case or API errors.\nAlready included in main admin layout, use it only if you need total custom layout.", "attributes": [] }, { "name": "VaSidebar", "description": "Default customizable admin VNavigationDrawer with full hierarchical menu and minimize variant.", "attributes": [ { "name": "menu", "value": { "kind": "expression", "type": "array" }, "description": "Main place for side menu, support hierarchical structure, MDI icons, heading and dividers." }, { "name": "miniVariant", "value": { "kind": "expression", "type": "boolean" }, "default": "false", "type": "boolean", "description": "Minimize the sidebar and show only icons." }, { "name": "color", "value": { "kind": "expression", "type": "string" }, "description": "Main color of VNavigationDrawer." }, { "name": "dark", "value": { "kind": "expression", "type": "boolean" }, "default": "false", "type": "boolean", "description": "Apply dark theme variant for VNavigationDrawer" }, { "name": "value", "value": { "kind": "expression", "type": "null" }, "description": "Control visibility" } ] }, { "name": "VaActionButton", "description": "Component tu use for any custom action button. Can be used on data table rows or top header of create, show and edit pages.", "attributes": [ { "name": "icon", "value": { "kind": "expression", "type": "string" }, "description": "Icon button, must be a valid MDI." }, { "name": "label", "value": { "kind": "expression", "type": "string" }, "description": "Label of button, shown as label next icon or as tooltip." }, { "name": "hideLabel", "value": { "kind": "expression", "type": "boolean" }, "default": "false", "type": "boolean", "description": "Hide label next of icon. Will appear as tooltip." }, { "name": "color", "value": { "kind": "expression", "type": "string" }, "description": "Color of button." }, { "name": "text", "value": { "kind": "expression", "type": "boolean" }, "default": "false", "type": "boolean", "description": "Show as text without background." }, { "name": "type", "value": { "kind": "expression", "type": "string" }, "description": "Set the button's type attribute." }, { "name": "to", "value": { "kind": "expression", "type": "string|object" }, "description": "Vue route to redirect on click." }, { "name": "href", "value": { "kind": "expression", "type": "string|object" }, "description": "Turn button to anchor and use href." }, { "name": "target", "value": { "kind": "expression", "type": "string" }, "description": "Anchor target if href used." }, { "name": "loading", "value": { "kind": "expression", "type": "boolean" }, "default": "false", "type": "boolean", "description": "Active a spinner if enabled." } ] }, { "name": "VaAssociateButton", "description": "Action button for resource association. Used on lists with association enabled.\nDumb component, just a submit button.", "attributes": [ { "name": "resource", "value": { "kind": "expression", "type": "string" }, "description": "Name of the resource to use.\nRequired for good label localization and context action activators.\nDefault behavior is to fetch it from router context." }, { "name": "item", "value": { "kind": "expression", "type": "null" }, "description": "Item attached to the button." }, { "name": "icon", "value": { "kind": "expression", "type": "boolean" }, "default": "false", "type": "boolean", "description": "If true, show button with icon only, label will be shown as tooltip." }, { "name": "color", "value": { "kind": "expression", "type": "string" }, "description": "Customizable background or text color, dependably of text prop value." } ] }, { "name": "VaBulkActionButton", "description": "Generic customizable button for update bulk actions in VaList component.\nShown after items selections. Use `updateMany` data provider method under the hood.", "attributes": [ { "name": "icon", "value": { "kind": "expression", "type": "string" }, "description": "Icon button, must be a valid MDI." }, { "name": "label", "value": { "kind": "expression", "type": "string" }, "description": "Label of button, shown as label next icon or as tooltip." }, { "name": "hideLabel", "value": { "kind": "expression", "type": "boolean" }, "default": "false", "type": "boolean", "description": "Hide label next of icon. Will appear as tooltip." }, { "name": "color", "value": { "kind": "expression", "type": "string" }, "description": "Color of button." }, { "name": "text", "value": { "kind": "expression", "type": "boolean" }, "default": "false", "type": "boolean", "description": "Show as text without background." }, { "name": "value", "value": { "kind": "expression", "type": "array" }, "description": "Selected resources items." }, { "name": "action", "value": { "kind": "expression", "type": "object" }, "description": "Data object to send on `updateMany` data provider method.\nContains the resource properties to update." } ] }, { "name": "VaBulkDeleteButton", "description": "Button for delete bulk actions for VaList. Shown after items selections.\nKeep all VaDeleteButton feature and use `deleteMany` data provider method under the hood.", "attributes": [ { "name": "value", "value": { "kind": "expression", "type": "array" }, "description": "Selected resources items." } ] }, { "name": "VaCloneButton", "description": "Button for all clone resource action.\nRedirect to create page by default with target ID of original resource to clone.", "attributes": [ { "name": "resource", "value": { "kind": "expression", "type": "string" }, "description": "Name of the resource to use.\nRequired for good label localization and context action activators.\nDefault behavior is to fetch it from router context." }, { "name": "item", "value": { "kind": "expression", "type": "null" }, "description": "Item attached to the button." }, { "name": "icon", "value": { "kind": "expression", "type": "boolean" }, "default": "false", "type": "boolean", "description": "If true, show button with icon only, label will be shown as tooltip." }, { "name": "color", "value": { "kind": "expression", "type": "string" }, "description": "Customizable background or text color, dependably of text prop value." }, { "name": "disableRedirect", "value": { "kind": "expression", "type": "boolean" }, "default": "false", "type": "boolean", "description": "Disable default redirect behavior for compatible buttons\nForce button to be shown, prevent hiding it according to default behavior if no action exist." } ] }, { "name": "VaCreateButton", "description": "Button for all create resource action. Redirect to create page by default.", "attributes": [ { "name": "resource", "value": { "kind": "expression", "type": "string" }, "description": "Name of the resource to use.\nRequired for good label localization and context action activators.\nDefault behavior is to fetch it from router context." }, { "name": "item", "value": { "kind": "expression", "type": "null" }, "description": "Item attached to the button." }, { "name": "icon", "value": { "kind": "expression", "type": "boolean" }, "default": "false", "type": "boolean", "description": "If true, show button with icon only, label will be shown as tooltip." }, { "name": "color", "value": { "kind": "expression", "type": "string" }, "description": "Customizable background or text color, dependably of text prop value." }, { "name": "disableRedirect", "value": { "kind": "expression", "type": "boolean" }, "default": "false", "type": "boolean", "description": "Disable default redirect behavior for compatible buttons\nForce button to be shown, prevent hiding it according to default behavior if no action exist." } ] }, { "name": "VaDeleteButton", "description": "Button for all delete resource action. Comes with confirm dialog.\nAuto hide if no delete action available unless show prop is active.", "attributes": [ { "name": "resource", "value": { "kind": "expression", "type": "string" }, "description": "Name of the resource to use.\nRequired for good label localization and context action activators.\nDefault behavior is to fetch it from router context." }, { "name": "item", "value": { "kind": "expression", "type": "null" }, "description": "Item attached to the button." }, { "name": "icon", "value": { "kind": "expression", "type": "boolean" }, "default": "false", "type": "boolean", "description": "If true, show button with icon only, label will be shown as tooltip." }, { "name": "color", "value": { "kind": "expression", "type": "string" }, "description": "Customizable background or text color, dependably of text prop value." }, { "name": "redirect", "value": { "kind": "expression", "type": "boolean" }, "default": "false", "type": "boolean", "description": "Redirect to resource list after successful deletion.\nDefault redirect active if current page is resource being deleted." } ] }, { "name": "VaDissociateButton", "description": "Action button for resource dissociation. Used on data tables with association enabled.\nComes with confirm dialog.", "attributes": [ { "name": "resource", "value": { "kind": "expression", "type": "string" }, "description": "Name of the resource to use.\nRequired for good label localization and context action activators.\nDefault behavior is to fetch it from router context." }, { "name": "item", "value": { "kind": "expression", "type": "null" }, "description": "Item attached to the button." }, { "name": "icon", "value": { "kind": "expression", "type": "boolean" }, "default": "false", "type": "boolean", "description": "If true, show button with icon only, label will be shown as tooltip." }, { "name": "color", "value": { "kind": "expression", "type": "string" }, "description": "Customizable background or text color, dependably of text prop value." }, { "name": "source", "value": { "kind": "expression", "type": "string" }, "description": "POST Request property name for update." }, { "name": "sourceId", "value": { "kind": "expression", "type": "number|string" }, "description": "Id of resource to unlink." }, { "name": "sourceResource", "value": { "kind": "expression", "type": "string" }, "description": "Name of resource to be unlinked." } ] }, { "name": "VaEditButton", "description": "Button for all edit resource action. Redirect to edit page by default.", "attributes": [ { "name": "resource", "value": { "kind": "expression", "type": "string" }, "description": "Name of the resource to use.\nRequired for good label localization and context action activators.\nDefault behavior is to fetch it from router context." }, { "name": "item", "value": { "kind": "expression", "type": "null" }, "description": "Item attached to the button." }, { "name": "icon", "value": { "kind": "expression", "type": "boolean" }, "default": "false", "type": "boolean", "description": "If true, show button with icon only, label will be shown as tooltip." }, { "name": "color", "value": { "kind": "expression", "type": "string" }, "description": "Customizable background or text color, dependably of text prop value." }, { "name": "disableRedirect", "value": { "kind": "expression", "type": "boolean" }, "default": "false", "type": "boolean", "description": "Disable default redirect behavior for compatible buttons\nForce button to be shown, prevent hiding it according to default behavior if no action exist." } ] }, { "name": "VaExportButton", "description": "Action button for export all data from a list iterator, aka VaList.\nUse current state of VaList, i.e. keep current filters and sorts while removing pagination limitation.\nWill provoke a download of a CSV file generated on client side thanks to papaparse library.", "attributes": [ { "name": "resource", "value": { "kind": "expression", "type": "string" }, "description": "Name of the resource to use.\nRequired for good label localization and context action activators.\nDefault behavior is to fetch it from router context." }, { "name": "item", "value": { "kind": "expression", "type": "null" }, "description": "Item attached to the button." }, { "name": "icon", "value": { "kind": "expression", "type": "boolean" }, "default": "false", "type": "boolean", "description": "If true, show button with icon only, label will be shown as tooltip." }, { "name": "color", "value": { "kind": "expression", "type": "string" }, "description": "Customizable background or text color, dependably of text prop value." }, { "name": "options", "value": { "kind": "expression", "type": "object" }, "description": "Current state of list, with mainly current sorting." }, { "name": "filter", "value": { "kind": "expression", "type": "object" }, "description": "Current filter state of the list." } ] }, { "name": "VaListButton", "description": "Button for all list resource action. Redirect to list page by default.\nShown on internal CRUD page at top header.", "attributes": [ { "name": "resource", "value": { "kind": "expression", "type": "string" }, "description": "Name of the resource to use.\nRequired for good label localization and context action activators.\nDefault behavior is to fetch it from router context." }, { "name": "item", "value": { "kind": "expression", "type": "null" }, "description": "Item attached to the button." }, { "name": "icon", "value": { "kind": "expression", "type": "boolean" }, "default": "false", "type": "boolean", "description": "If true, show button with icon only, label will be shown as tooltip." }, { "name": "color", "value": { "kind": "expression", "type": "string" }, "description": "Customizable background or text color, dependably of text prop value." } ] }, { "name": "VaLocaleButton", "description": "Locale button which allows resource translation.\nWill list all configured supported languages as dropdown menu.\nChange current locale on current resource store for contextualized fetching or saving on backend API.", "attributes": [ { "name": "resource", "value": { "kind": "expression", "type": "string" }, "description": "Name of the resource to use.\nRequired for good label localization and context action activators.\nDefault behavior is to fetch it from router context." }, { "name": "item", "value": { "kind": "expression", "type": "null" }, "description": "Item attached to the button." }, { "name": "icon", "value": { "kind": "expression", "type": "boolean" }, "default": "false", "type": "boolean", "description": "If true, show button with icon only, label will be shown as tooltip." }, { "name": "color", "value": { "kind": "expression", "type": "string" }, "description": "Customizable background or text color, dependably of text prop value." } ] }, { "name": "VaSaveButton", "description": "Default saving button that can be used for VaForm component.\nDumb component, just a submit button, VaForm do the real work.", "attributes": [ { "name": "resource", "value": { "kind": "expression", "type": "string" }, "description": "Name of the resource to use.\nRequired for good label localization and context action activators.\nDefault behavior is to fetch it from router context." }, { "name": "item", "value": { "kind": "expression", "type": "null" }, "description": "Item attached to the button." }, { "name": "icon", "value": { "kind": "expression", "type": "boolean" }, "default": "false", "type": "boolean", "description": "If true, show button with icon only, label will be shown as tooltip." }, { "name": "color", "value": { "kind": "expression", "type": "string" }, "description": "Customizable background or text color, dependably of text prop value." }, { "name": "text", "value": { "kind": "expression", "type": "boolean" }, "default": "false", "type": "boolean", "description": "Remove background button." }, { "name": "label", "value": { "kind": "expression", "type": "string" }, "description": "Override default label." }, { "name": "redirect", "value": { "kind": "expression", "type": "string" }, "description": "Default route resource action to redirect after saving.\nDisable the default submit behavior if set.\nFor specific redirect on submit, prefer `redirect` prop on `VaForm`" } ] }, { "name": "VaShowButton", "description": "Button for all show resource action. Redirect to show page by default.", "attributes": [ { "name": "resource", "value": { "kind": "expression", "type": "string" }, "description": "Name of the resource to use.\nRequired for good label localization and context action activators.\nDefault behavior is to fetch it from router context." }, { "name": "item", "value": { "kind": "expression", "type": "null" }, "description": "Item attached to the button." }, { "name": "icon", "value": { "kind": "expression", "type": "boolean" }, "default": "false", "type": "boolean", "description": "If true, show button with icon only, label will be shown as tooltip." }, { "name": "color", "value": { "kind": "expression", "type": "string" }, "description": "Customizable background or text color, dependably of text prop value." }, { "name": "disableRedirect", "value": { "kind": "expression", "type": "boolean" }, "default": "false", "type": "boolean", "description": "Disable default redirect behavior for compatible buttons\nForce button to be shown, prevent hiding it according to default behavior if no action exist." } ] }, { "name": "VaArrayField", "description": "Show each single value of multiple array type value as material chip group.", "attributes": [ { "name": "resource", "value": { "kind": "expression", "type": "string" }, "description": "Name of the resource to use.\nRequired for good label localization and context action activators.\nDefault behavior is to fetch it from router context." }, { "name": "source", "value": { "kind": "expression", "type": "string" }, "description": "Property of resource for fetching the value to show.\nSupport dot notation for nested object." }, { "name": "item", "value": { "kind": "expression", "type": "null" }, "description": "Override default item injected by `VaShow`." }, { "name": "color", "value": { "kind": "expression", "type": "string|func" }, "description": "Color of chip, can be a function for dynamic color according to a certain value." }, { "name": "small", "value": { "kind": "expression", "type": "boolean" }, "default": "false", "type": "boolean", "description": "Small chip." }, { "name": "to", "value": { "kind": "expression", "type": "string|object" }, "description": "Router link associated to chip if needed." }, { "name": "itemText", "value": { "kind": "expression", "type": "string|array|func" }, "description": "Property used for stringify inner item if object.\nUse a function for further stringify customization." }, { "name": "select", "value": { "kind": "expression", "type": "boolean" }, "default": "false", "type": "boolean", "description": "Use enum select field instead of simple text as value formatter." }, { "name": "column", "value": { "kind": "expression", "type": "boolean" }, "default": "false", "type": "boolean", "description": "Show list of chips as column." } ] }, { "name": "VaBooleanField", "description": "Show value as identifiable true/false icon.", "attributes": [ { "name": "resource", "value": { "kind": "expression", "type": "string" }, "description": "Name of the resource to use.\nRequired for good label localization and context action activators.\nDefault behavior is to fetch it from router context." }, { "name": "source", "value": { "kind": "expression", "type": "string" }, "description": "Property of resource for fetching the value to show.\nSupport dot notation for nested object." }, { "name": "item", "value": { "kind": "expression", "type": "null" }, "description": "Override default item injected by `VaShow`." }, { "name": "labelTrue", "value": { "kind": "expression", "type": "string" }, "description": "True text for tooltip." }, { "name": "labelFalse", "value": { "kind": "expression", "type": "string" }, "description": "False text for tooltip." }, { "name": "iconTrue", "value": { "kind": "expression", "type": "string" }, "description": "Icon for true value. Must be a valid MDI." }, { "name": "iconFalse", "value": { "kind": "expression", "type": "string" }, "description": "Icon for false value. Must be a valid MDI." } ] }, { "name": "VaChipField", "description": "Show value inside a material chip.", "attributes": [ { "name": "resource", "value": { "kind": "expression", "type": "string" }, "description": "Name of the resource to use.\nRequired for good label localization and context action activators.\nDefault behavior is to fetch it from router context." }, { "name": "source", "value": { "kind": "expression", "type": "string" }, "description": "Property of resource for fetching the value to show.\nSupport dot notation for nested object." }, { "name": "item", "value": { "kind": "expression", "type": "null" }, "description": "Override default item injected by `VaShow`." }, { "name": "color", "value": { "kind": "expression", "type": "string|func" }, "description": "Color of chip, can be a function for dynamic color according to a certain value." }, { "name": "small", "value": { "kind": "expression", "type": "boolean" }, "default": "false", "type": "boolean", "description": "Small chip." }, { "name": "to", "value": { "kind": "expression", "type": "string|object" }, "description": "Router link associated to chip if needed." } ] }, { "name": "VaDateField", "description": "Show value as formatted date. Support any localized format, long, short, etc.\nUse `$d` VueI18n function under the hood.", "attributes": [ { "name": "resource", "value": { "kind": "expression", "type": "string" }, "description": "Name of the resource to use.\nRequired for good label localization and context action activators.\nDefault behavior is to fetch it from router context." }, { "name": "source", "value": { "kind": "expression", "type": "string" }, "description": "Property of resource for fetching the value to show.\nSupport dot notation for nested object." }, { "name": "item", "value": { "kind": "expression", "type": "null" }, "description": "Override default item injected by `VaShow`." }, { "name": "format", "value": { "kind": "expression", "type": "string" }, "description": "Name of date format to use. Must be predefined on your VueI18n plugin." } ] }, { "name": "VaEmailField", "description": "Show value as `mailto` link.", "attributes": [ { "name": "resource", "value": { "kind": "expression", "type": "string" }, "description": "Name of the resource to use.\nRequired for good label localization and context action activators.\nDefault behavior is to fetch it from router context." }, { "name": "source", "value": { "kind": "expression", "type": "string" }, "description": "Property of resource for fetching the value to show.\nSupport dot notation for nested object." }, { "name": "item", "value": { "kind": "expression", "type": "null" }, "description": "Override default item injected by `VaShow`." } ] }, { "name": "VaFileField", "description": "Show a list of file links that point to original files.", "attributes": [ { "name": "resource", "value": { "kind": "expression", "type": "string" }, "description": "Name of the resource to use.\nRequired for good label localization and context action activators.\nDefault behavior is to fetch it from router context." }, { "name": "source", "value": { "kind": "expression", "type": "string" }, "description": "Property of resource for fetching the value to show.\nSupport dot notation for nested object." }, { "name": "item", "value": { "kind": "expression", "type": "null" }, "description": "Override default item injected by `VaShow`." }, { "name": "src", "value": { "kind": "expression", "type": "string" }, "description": "Source property of file object, link through original file." }, { "name": "title", "value": { "kind": "expression", "type": "string" }, "description": "Title attribute of file object, used for title and alt attributes." }, { "name": "fileName", "value": { "kind": "expression", "type": "string" }, "description": "Filename property of file object, shown as anchor text for files." }, { "name": "target", "value": { "kind": "expression", "type": "string" }, "description": "Target value for anchor, default to external." }, { "name": "clearable", "value": { "kind": "expression", "type": "boolean" }, "default": "false", "type": "boolean", "description": "Mainly use for VaFileInput, allow files or image to be removed." }, { "name": "model", "value": { "kind": "expression", "type": "string" }, "description": "Name of property sent to API which contains ids of file to delete." }, { "name": "itemValue", "value": { "kind": "expression", "type": "string" }, "description": "Attribute where taking the id value for identify files to delete." } ] }, { "name": "VaImageField", "description": "Show list of images as gallery with preview support for thumbnails.", "attributes": [ { "name": "resource", "value": { "kind": "expression", "type": "string" }, "description": "Name of the resource to use.\nRequired for good label localization and context action activators.\nDefault behavior is to fetch it from router context." }, { "name": "source", "value": { "kind": "expression", "type": "string" }, "description": "Property of resource for fetching the value to show.\nSupport dot notation for nested object." }, { "name": "item", "value": { "kind": "expression", "type": "null" }, "description": "Override default item injected by `VaShow`." }, { "name": "src", "value": { "kind": "expression", "type": "string" }, "description": "Source property of file object, link through original file." }, { "name": "title", "value": { "kind": "expression", "type": "string" }, "description": "Title attribute of file object, used for title and alt attributes." }, { "name": "fileName", "value": { "kind": "expression", "type": "string" }, "description": "Filename property of file object, shown as anchor text for files." }, { "name": "target", "value": { "kind": "expression", "type": "string" }, "description": "Target value for anchor, default to external." }, { "name": "clearable", "value": { "kind": "expression", "type": "boolean" }, "default": "false", "type": "boolean", "description": "Mainly use for VaFileInput, allow files or image to be removed." }, { "name": "model", "value": { "kind": "expression", "type": "string" }, "description": "Name of property sent to API which contains ids of file to delete." }, { "name": "itemValue", "value": { "kind": "expression", "type": "string" }, "description": "Attribute where taking the id value for identify files to delete." }, { "name": "contain", "value": { "kind": "expression", "type": "boolean" }, "default": "false", "type": "boolean", "description": "Constraint image to full width instead of cover.\nIdeal for logos." }, { "name": "height", "value": { "kind": "expression", "type": "string" }, "description": "Max height of image." }, { "name": "lg", "value": { "kind": "expression", "type": "string|number" }, "description": "Max column width for image gallery." } ] }, { "name": "VaNumberField", "description": "Show value as formatted number. Can be any localized currency, decimal number, or percent value.\nUse `$n` VueI18n function under the hood.", "attributes": [ { "name": "resource", "value": { "kind": "expression", "type": "string" }, "description": "Name of the resource to use.\nRequired for good label localization and context action activators.\nDefault behavior is to fetch it from router context." }, { "name": "source", "value": { "kind": "expression", "type": "string" }, "description": "Property of resource for fetching the value to show.\nSupport dot notation for nested object." }, { "name": "item", "value": { "kind": "expression",