A widget is a term used to represent an atomic UI element associated with specific data.
It serves as a versatile tool that adds context based on the trace state.
Its primary objective is to deliver meaningful insights to end users, offering a clear understanding of the progress made in the process.Since users may have varying preferences for the information displayed,
it is essential to create a configuration file aligned with the principles used for the overview table configuration.
A view is a keyword we use to define an atomic display of a piece of data. We provide core views which are fundamental to displaying correctly various natures of data.All the views have the common property:
The text view enables to display a piece of data as plain text. If the text is too long, an ellipses will be displayed.
This is the default view used if a view type is invalid.
The JMESPath syntax is very powerful and can be used to build complex expressions.
For example, the path "['Hello ',userName,', how are you?'].join('',@)" will produce "Hello ${userName}, how are you?".
A locale string or array of locale strings that contain one or more language or locale tags.
If you include more than one locale string, list them in descending order of priority so that the first entry is the preferred locale.
A JMESPath that resolves to a number. This feature allows adding context to the displayed number by appending a ” / denominator” to it.
This is useful, for instance, when showing the number of steps completed out of a total expected.
The same format is applied to the denominator.
The date view displays a formatted date and supports a deadline warning feature. This feature displays the date in red with a warning icon if it’s past or too close to today.
A JMESPath that resolves to a string. This text will be displayed as the link content.
If no urlPath is provided or its resolved value is falsy, the resolved value of the path will also act as the link url.
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"Stratumn","colors":{"primary":"#4B35D2","light":"#c4ccff","dark":"#3a2aa9"},"favicon":"https://mintcdn.com/stratumn/_7ghGbILOYM4ffi0/favicon.svg?fit=max\u0026auto=format\u0026n=_7ghGbILOYM4ffi0\u0026q=85\u0026s=98830f119947145b0bb33320436bd758","logo":{"light":"https://mintcdn.com/stratumn/ZLZL0fVzWovButfa/logo/light.svg?fit=max\u0026auto=format\u0026n=ZLZL0fVzWovButfa\u0026q=85\u0026s=da95401bd6fe81b834b92c5fb0bf87e3","dark":"https://mintcdn.com/stratumn/ZLZL0fVzWovButfa/logo/dark.svg?fit=max\u0026auto=format\u0026n=ZLZL0fVzWovButfa\u0026q=85\u0026s=0508328b6874ccf69c5cb1508b83ee62"},"api":{"openapi":"api-reference/open-api-v1.json"},"appearance":{"default":"dark","strict":false},"background":{"decoration":"windows"},"navbar":{"links":[{"label":"Support","href":"mailto:info@stratumn.com"}],"primary":{"type":"button","label":"Go to Trace","href":"https://trace.stratumn.com"}},"footer":{"socials":{"github":"https://github.com/stratumn","website":"https://trace.stratumn.com"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"stratumn","hasAudioNarration":false,"actualSubdomain":"stratumn","customDomains":["docs.stratumn.com"],"gitSource":{"type":"github","owner":"stratumn","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"entitlements":{},"buildId":"6adf3040fb05475c270ae86d","clientVersion":"0.0.4102","searchFilterCounts":[{"language":"default","tag":"Studio","count":36},{"language":"default","tag":"Configuration","count":26},{"language":"default","tag":"Workflow configuration","count":26},{"language":"default","tag":"API Reference","count":20},{"language":"default","tag":"Trace","count":13},{"language":"default","tag":"Action","count":8},{"language":"default","tag":"BPMN","count":6},{"language":"default","tag":"Databases","count":6},{"language":"default","tag":"Table","count":5},{"language":"default","tag":"Getting started","count":4}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"configuration/ui/widgets","slug":"/configuration/ui/widgets","pageMetadata":{"title":"Widgets","description":null,"icon":"cube","iconType":"duotone","href":"/configuration/ui/widgets"},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,br:`br`,code:`code`,em:`em`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Frame,Heading,Note,OptimizedImage,ParamField,Tab,Tabs}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Frame)_missingMdxReference(`Frame`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!Tab)_missingMdxReference(`Tab`,true);if(!Tabs)_missingMdxReference(`Tabs`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`A `,_jsx(_components.em,{children:`widget`}),` is a term used to represent an atomic UI element associated with specific data.\nIt serves as a versatile tool that adds context based on the trace state.\nIts primary objective is to deliver meaningful insights to end users, offering a clear understanding of the progress made in the process.`]}),`\n`,_jsx(_components.p,{children:`Since users may have varying preferences for the information displayed,\nit is essential to create a configuration file aligned with the principles used for the overview table configuration.`}),`\n`,_jsx(Heading,{level:`1`,id:`views`,children:`Views`}),`\n`,_jsxs(_components.p,{children:[`A `,_jsx(_components.em,{children:`view`}),` is a keyword we use to define an atomic display of a piece of data. We provide core views which are fundamental to displaying correctly various natures of data.`]}),`\n`,_jsx(_components.p,{children:`All the views have the common property:`}),`\n`,_jsx(ParamField,{path:`type`,type:`string`,required:true,id:`param-type`,children:_jsx(_components.p,{children:`The type of view to display.`})}),`\n`,_jsxs(_components.p,{children:[`Widget views can be used in the `,_jsx(_components.a,{href:`/configuration/ui/introduction#workflow-overview`,children:`workflow overview`}),` and the `,_jsx(_components.a,{href:`/configuration/ui/introduction#trace-infos`,children:`trace infos`}),` via their dedicated configuration files.`]}),`\n`,_jsx(Heading,{level:`2`,id:`text`,children:`Text`}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`text`}),` view enables to display a piece of data as plain text. If the text is too long, an ellipses will be displayed. `,_jsx(_components.br,{}),`\n`,`This is the default view used if a view `,_jsx(_components.strong,{children:`type`}),` is invalid.`]}),`\n`,_jsxs(Tabs,{children:[_jsx(Tab,{title:`Screenshot`,id:`screenshot`,children:_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/stratumn/_7ghGbILOYM4ffi0/images/configuration/ui/widgets/text.png?fit=max\u0026auto=format\u0026n=_7ghGbILOYM4ffi0\u0026q=85\u0026s=589ed97db1b7b553a4e437877b4f2a8d`,\"data-og-width\":`1076`,width:`1076`,\"data-og-height\":`228`,height:`228`,\"data-path\":`images/configuration/ui/widgets/text.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/stratumn/_7ghGbILOYM4ffi0/images/configuration/ui/widgets/text.png?w=280\u0026fit=max\u0026auto=format\u0026n=_7ghGbILOYM4ffi0\u0026q=85\u0026s=481f2904e1994b684bf1b2cdcb397bf7 280w, https://mintcdn.com/stratumn/_7ghGbILOYM4ffi0/images/configuration/ui/widgets/text.png?w=560\u0026fit=max\u0026auto=format\u0026n=_7ghGbILOYM4ffi0\u0026q=85\u0026s=1d65d66ec466317ae6eb914177a0dbe3 560w, https://mintcdn.com/stratumn/_7ghGbILOYM4ffi0/images/configuration/ui/widgets/text.png?w=840\u0026fit=max\u0026auto=format\u0026n=_7ghGbILOYM4ffi0\u0026q=85\u0026s=7732a0bebd321a8cfcebe9da0c27fd37 840w, https://mintcdn.com/stratumn/_7ghGbILOYM4ffi0/images/configuration/ui/widgets/text.png?w=1100\u0026fit=max\u0026auto=format\u0026n=_7ghGbILOYM4ffi0\u0026q=85\u0026s=2f4bb8eb6d8debf905b7d7f1369041e9 1100w, https://mintcdn.com/stratumn/_7ghGbILOYM4ffi0/images/configuration/ui/widgets/text.png?w=1650\u0026fit=max\u0026auto=format\u0026n=_7ghGbILOYM4ffi0\u0026q=85\u0026s=f61ac5a96898734586fff3c69ff5d783 1650w, https://mintcdn.com/stratumn/_7ghGbILOYM4ffi0/images/configuration/ui/widgets/text.png?w=2500\u0026fit=max\u0026auto=format\u0026n=_7ghGbILOYM4ffi0\u0026q=85\u0026s=96556e18bf2d5f7fb4322ce0713919ab 2500w`})})}),_jsxs(Tab,{title:`API`,id:`api`,children:[_jsx(ParamField,{path:`type`,type:`'text'`,id:`param-type-1`,children:_jsxs(_components.p,{children:[`The type of the view, must be equal to `,_jsx(_components.code,{children:`text`}),`, or undefined.`]})}),_jsx(ParamField,{path:`path`,type:`JMESPath`,required:true,id:`param-path`,children:_jsx(_components.p,{children:`The path to the data to be displayed.`})}),_jsx(ParamField,{path:`isRichText`,type:`boolean`,default:`false`,id:`param-is-rich-text`,children:_jsxs(_components.p,{children:[`If the provided path resolves to a `,_jsx(_components.a,{href:`https://docs.slatejs.org/`,children:`SlateJS`}),` object, this option will display the data as a rich text.`]})}),_jsx(ParamField,{path:`default`,type:`JMESPath`,id:`param-default`,children:_jsx(_components.p,{children:`The default value to display if the data found at path is empty.`})})]}),_jsx(Tab,{title:`Type`,id:`type`,children:_jsx(CodeBlock,{filename:`Typescript`,numberOfLines:`6`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`6`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`type`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` TextView`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` type`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`?:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'text'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` path`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` string`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` default`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`?:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` string`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` isRichText`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`?:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` boolean`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})}),_jsxs(Tab,{title:`Example`,id:`example`,children:[_jsx(CodeBlock,{filename:`Simple usage`,numberOfLines:`4`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"text\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"path\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"data.order.name\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(Note,{children:_jsxs(_components.p,{children:[`The `,_jsx(_components.a,{href:`https://jmespath.org/specification.html`,children:`JMESPath`}),` syntax is very powerful and can be used to build complex expressions.\nFor example, the path `,_jsx(_components.code,{children:`\"['Hello ',userName,', how are you?'].join('',@)\"`}),` will produce `,_jsx(_components.code,{children:'\"Hello ${userName}, how are you?\"'}),`.`]})})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`id`,children:`Id`}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`id`}),` view displays an id as plain text. The user can copy the id to the clipboard by clicking on it.`]}),`\n`,_jsxs(Tabs,{children:[_jsx(Tab,{title:`Screenshot`,id:`screenshot-2`,children:_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/stratumn/xfcxnLAcYZzFKokk/images/configuration/ui/widgets/id.png?fit=max\u0026auto=format\u0026n=xfcxnLAcYZzFKokk\u0026q=85\u0026s=c441e25729dc501b7a00853c88a090c2`,\"data-og-width\":`746`,width:`746`,\"data-og-height\":`125`,height:`125`,\"data-path\":`images/configuration/ui/widgets/id.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/stratumn/xfcxnLAcYZzFKokk/images/configuration/ui/widgets/id.png?w=280\u0026fit=max\u0026auto=format\u0026n=xfcxnLAcYZzFKokk\u0026q=85\u0026s=b3e214d1049df613449cc3801905fb9a 280w, https://mintcdn.com/stratumn/xfcxnLAcYZzFKokk/images/configuration/ui/widgets/id.png?w=560\u0026fit=max\u0026auto=format\u0026n=xfcxnLAcYZzFKokk\u0026q=85\u0026s=4476f10ce28309f1687b8c6916b3ec91 560w, https://mintcdn.com/stratumn/xfcxnLAcYZzFKokk/images/configuration/ui/widgets/id.png?w=840\u0026fit=max\u0026auto=format\u0026n=xfcxnLAcYZzFKokk\u0026q=85\u0026s=bb703a494c684f9ba08d03f0bd9507a9 840w, https://mintcdn.com/stratumn/xfcxnLAcYZzFKokk/images/configuration/ui/widgets/id.png?w=1100\u0026fit=max\u0026auto=format\u0026n=xfcxnLAcYZzFKokk\u0026q=85\u0026s=61b04bab490d8dda97fba4a43c10d5d3 1100w, https://mintcdn.com/stratumn/xfcxnLAcYZzFKokk/images/configuration/ui/widgets/id.png?w=1650\u0026fit=max\u0026auto=format\u0026n=xfcxnLAcYZzFKokk\u0026q=85\u0026s=b3549b765fc83167ef3d715b2f573757 1650w, https://mintcdn.com/stratumn/xfcxnLAcYZzFKokk/images/configuration/ui/widgets/id.png?w=2500\u0026fit=max\u0026auto=format\u0026n=xfcxnLAcYZzFKokk\u0026q=85\u0026s=f1631ab3c038b96d0bcb21b7758962b8 2500w`})})}),_jsxs(Tab,{title:`API`,id:`api-2`,children:[_jsx(ParamField,{path:`type`,type:`'id'`,required:true,id:`param-type-2`,children:_jsxs(_components.p,{children:[`The type of the view, must be equal to `,_jsx(_components.code,{children:`id`}),`.`]})}),_jsx(ParamField,{path:`path`,type:`JMESPath`,required:true,id:`param-path-1`,children:_jsx(_components.p,{children:`A JMESPath that resolves to an id.`})})]}),_jsx(Tab,{title:`Type`,id:`type-2`,children:_jsx(CodeBlock,{filename:`Typescript`,numberOfLines:`4`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`type`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` IdView`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` type`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'id'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` path`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` string`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})})]}),`\n`,_jsx(Heading,{level:`2`,id:`number`,children:`Number`}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`number`}),` view displays a piece of data as formatted number.`]}),`\n`,_jsxs(Tabs,{children:[_jsx(Tab,{title:`Screenshot`,id:`screenshot-3`,children:_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/stratumn/xfcxnLAcYZzFKokk/images/configuration/ui/widgets/number.png?fit=max\u0026auto=format\u0026n=xfcxnLAcYZzFKokk\u0026q=85\u0026s=1281d03095afbdd9b34660c8a632cdb2`,\"data-og-width\":`746`,width:`746`,\"data-og-height\":`125`,height:`125`,\"data-path\":`images/configuration/ui/widgets/number.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/stratumn/xfcxnLAcYZzFKokk/images/configuration/ui/widgets/number.png?w=280\u0026fit=max\u0026auto=format\u0026n=xfcxnLAcYZzFKokk\u0026q=85\u0026s=5908b8352e2eb9cfd646567c95de18cd 280w, https://mintcdn.com/stratumn/xfcxnLAcYZzFKokk/images/configuration/ui/widgets/number.png?w=560\u0026fit=max\u0026auto=format\u0026n=xfcxnLAcYZzFKokk\u0026q=85\u0026s=c35c0de7f58f2dfcadb02d64adfe9a04 560w, https://mintcdn.com/stratumn/xfcxnLAcYZzFKokk/images/configuration/ui/widgets/number.png?w=840\u0026fit=max\u0026auto=format\u0026n=xfcxnLAcYZzFKokk\u0026q=85\u0026s=002fd644e64bd14ed09e0b30e5df96d6 840w, https://mintcdn.com/stratumn/xfcxnLAcYZzFKokk/images/configuration/ui/widgets/number.png?w=1100\u0026fit=max\u0026auto=format\u0026n=xfcxnLAcYZzFKokk\u0026q=85\u0026s=abf28de6749a525e566cde7a327fef64 1100w, https://mintcdn.com/stratumn/xfcxnLAcYZzFKokk/images/configuration/ui/widgets/number.png?w=1650\u0026fit=max\u0026auto=format\u0026n=xfcxnLAcYZzFKokk\u0026q=85\u0026s=7ceccccdd59c20d2af10a19c6d936c57 1650w, https://mintcdn.com/stratumn/xfcxnLAcYZzFKokk/images/configuration/ui/widgets/number.png?w=2500\u0026fit=max\u0026auto=format\u0026n=xfcxnLAcYZzFKokk\u0026q=85\u0026s=32a3e7b2d5eb948e6926a9306d87688d 2500w`})})}),_jsxs(Tab,{title:`API`,id:`api-3`,children:[_jsx(ParamField,{path:`type`,type:`'number'`,required:true,id:`param-type-3`,children:_jsxs(_components.p,{children:[`The type of the view, must be equal to `,_jsx(_components.code,{children:`number`}),`.`]})}),_jsx(ParamField,{path:`path`,type:`JMESPath`,required:true,id:`param-path-2`,children:_jsx(_components.p,{children:`A JMESPath that resolves to a number.`})}),_jsxs(ParamField,{path:`format`,type:`object`,id:`param-format`,children:[_jsxs(_components.p,{children:[`Settings to format the displayed number using the `,_jsx(_components.a,{href:`https://www.w3schools.com/jsref/jsref_tolocalestring_number.asp`,children:`Number toLocaleString()`}),` method.`]}),_jsxs(Expandable,{title:`properties`,defaultOpen:true,children:[_jsx(ParamField,{path:`format.local`,type:`string or string[]`,default:`navigator.language or 'en-US'`,id:`param-format-local`,children:_jsx(_components.p,{children:`A locale string or array of locale strings that contain one or more language or locale tags.\nIf you include more than one locale string, list them in descending order of priority so that the first entry is the preferred locale.`})}),_jsx(ParamField,{path:`format.options`,type:`object`,id:`param-format-options`,children:_jsxs(_components.p,{children:[`An object that contains one or more properties that specify comparison options.\nSee `,_jsx(_components.a,{href:`https://www.w3schools.com/jsref/jsref_tolocalestring_number.asp`,children:`Number toLocaleString()`}),` for the list of options.`]})})]})]}),_jsx(ParamField,{path:`denominatorPath`,type:`JMESPath`,id:`param-denominator-path`,children:_jsx(_components.p,{children:`A JMESPath that resolves to a number. This feature allows adding context to the displayed number by appending a ” / denominator” to it.\nThis is useful, for instance, when showing the number of steps completed out of a total expected.\nThe same format is applied to the denominator.`})}),_jsx(ParamField,{path:`tabRight`,type:`boolean`,default:`false`,id:`param-tab-right`,children:_jsx(_components.p,{children:`If enabled, the number will appear on the right side of the tab.`})})]}),_jsx(Tab,{title:`Type`,id:`type-3`,children:_jsx(CodeBlock,{filename:`Typescript`,numberOfLines:`10`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`10`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`type`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` NumberView`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` type`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'number'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` path`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` string`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` denominatorPath`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`?:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` string`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` tabRight`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`?:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` boolean`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` format`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`?:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` options`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`?:`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` Intl`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`NumberFormatOptions`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` local`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`?:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` string`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` |`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` string`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[];`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` };`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`};`})}),`\n`]})})})}),_jsx(Tab,{title:`Example`,id:`example-2`,children:_jsx(CodeBlock,{filename:`Simple usage`,numberOfLines:`6`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"number\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"path\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"data.amount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"tabRight\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"format\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"options\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"minimumFractionDigits\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`2`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})})]}),`\n`,_jsx(Heading,{level:`2`,id:`date`,children:`Date`}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`date`}),` view displays a formatted date and supports a deadline warning feature. This feature displays the date in red with a warning icon if it’s past or too close to today.`]}),`\n`,_jsxs(Tabs,{children:[_jsx(Tab,{title:`Screenshot`,id:`screenshot-4`,children:_jsx(Frame,{caption:`A date view with a deadline warning`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/stratumn/_7ghGbILOYM4ffi0/images/configuration/ui/widgets/date.png?fit=max\u0026auto=format\u0026n=_7ghGbILOYM4ffi0\u0026q=85\u0026s=aa58644b976ec11356309524560c1035`,\"data-og-width\":`1076`,width:`1076`,\"data-og-height\":`228`,height:`228`,\"data-path\":`images/configuration/ui/widgets/date.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/stratumn/_7ghGbILOYM4ffi0/images/configuration/ui/widgets/date.png?w=280\u0026fit=max\u0026auto=format\u0026n=_7ghGbILOYM4ffi0\u0026q=85\u0026s=f2b396cd6b4a52734724c558e54f7c8c 280w, https://mintcdn.com/stratumn/_7ghGbILOYM4ffi0/images/configuration/ui/widgets/date.png?w=560\u0026fit=max\u0026auto=format\u0026n=_7ghGbILOYM4ffi0\u0026q=85\u0026s=34f9e804e7be44ac23a3f5a6ea9aacfa 560w, https://mintcdn.com/stratumn/_7ghGbILOYM4ffi0/images/configuration/ui/widgets/date.png?w=840\u0026fit=max\u0026auto=format\u0026n=_7ghGbILOYM4ffi0\u0026q=85\u0026s=68de48b42d9d3a64b5d6c004131be5fa 840w, https://mintcdn.com/stratumn/_7ghGbILOYM4ffi0/images/configuration/ui/widgets/date.png?w=1100\u0026fit=max\u0026auto=format\u0026n=_7ghGbILOYM4ffi0\u0026q=85\u0026s=6b0de73e5edf7e256abc5dc85cc870cf 1100w, https://mintcdn.com/stratumn/_7ghGbILOYM4ffi0/images/configuration/ui/widgets/date.png?w=1650\u0026fit=max\u0026auto=format\u0026n=_7ghGbILOYM4ffi0\u0026q=85\u0026s=07c8dcd684d2387fd7317310174d0d91 1650w, https://mintcdn.com/stratumn/_7ghGbILOYM4ffi0/images/configuration/ui/widgets/date.png?w=2500\u0026fit=max\u0026auto=format\u0026n=_7ghGbILOYM4ffi0\u0026q=85\u0026s=c61b2524110f26e29507c1cb5c78d399 2500w`})})}),_jsxs(Tab,{title:`API`,id:`api-4`,children:[_jsx(ParamField,{path:`type`,type:`'date'`,required:true,id:`param-type-4`,children:_jsxs(_components.p,{children:[`The type of the view, must be equal to `,_jsx(_components.code,{children:`date`}),`.`]})}),_jsx(ParamField,{path:`path`,type:`JMESPath`,required:true,id:`param-path-3`,children:_jsx(_components.p,{children:`A JMESPath that resolves to a date string.`})}),_jsx(ParamField,{path:`format`,type:`string`,default:`DD/MM/YYYY`,id:`param-format-1`,children:_jsxs(_components.p,{children:[`The format to apply to the date when displaying. Uses the `,_jsx(_components.a,{href:`https://momentjs.com/docs/#/displaying/format/`,children:`moment.js formats`}),`.`]})}),_jsx(ParamField,{path:`isDeadline`,type:`boolean`,default:`false`,id:`param-is-deadline`,children:_jsxs(_components.p,{children:[`Enables the deadline warning feature if set to `,_jsx(_components.code,{children:`true`}),`.`]})}),_jsx(ParamField,{path:`deadlineWarningBuffer`,type:`number`,default:`0`,id:`param-deadline-warning-buffer`,children:_jsxs(_components.p,{children:[`The number of days before the deadline to start showing the warning. For example, `,_jsx(_components.code,{children:`5`}),` means the warning appears 5 days before the deadline.`]})}),_jsx(ParamField,{path:`donePath`,type:`JMESPath`,id:`param-done-path`,children:_jsxs(_components.p,{children:[`A path to a value that disables the warning feature if it evaluates to `,_jsx(_components.code,{children:`true`}),` (e.g., when the task is flagged as “Done”).`]})}),_jsx(ParamField,{path:`deadlineWarningIcon`,type:`string`,default:`Clock`,id:`param-deadline-warning-icon`,children:_jsxs(_components.p,{children:[`The icon ID to use for the warning. Default is `,_jsx(_components.code,{children:`'Clock'`}),`.`]})})]}),_jsx(Tab,{title:`Type`,id:`type-4`,children:_jsx(CodeBlock,{filename:`Typescript`,numberOfLines:`15`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`15`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`type`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` DateView`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` type`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'date'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` path`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` string`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` format`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`?:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` string`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`} `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`\u0026`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` |`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` isDeadline`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`?:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` |`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` isDeadline`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` deadlineWarningBuffer`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`?:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` number`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` donePath`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`?:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` string`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` deadlineWarningIcon`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`?:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` string`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})}),`\n`]})})})}),_jsx(Tab,{title:`Example`,id:`example-3`,children:_jsx(CodeBlock,{filename:`Simple usage`,numberOfLines:`8`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"date\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"path\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"data.dueDate\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"isDeadline\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"deadlineWarningBuffer\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`7`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"donePath\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"data.isTraceClosed\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"format\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"MM/DD/YYYY\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})})]}),`\n`,_jsx(Heading,{level:`2`,id:`progress-bar`,children:`Progress bar`}),`\n`,_jsx(_components.p,{children:`The progress bar view displays a percentage value in a classic progress bar\nwhich changes color based on predefined ranges of progress.`}),`\n`,_jsxs(Tabs,{children:[_jsx(Tab,{title:`Screenshot`,id:`screenshot-5`,children:_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/stratumn/_7ghGbILOYM4ffi0/images/configuration/ui/widgets/progress.png?fit=max\u0026auto=format\u0026n=_7ghGbILOYM4ffi0\u0026q=85\u0026s=f185bee9da04a20821425239e5ced090`,\"data-og-width\":`1076`,width:`1076`,\"data-og-height\":`228`,height:`228`,\"data-path\":`images/configuration/ui/widgets/progress.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/stratumn/_7ghGbILOYM4ffi0/images/configuration/ui/widgets/progress.png?w=280\u0026fit=max\u0026auto=format\u0026n=_7ghGbILOYM4ffi0\u0026q=85\u0026s=438d2494401a44bd6fd5e48b53060a70 280w, https://mintcdn.com/stratumn/_7ghGbILOYM4ffi0/images/configuration/ui/widgets/progress.png?w=560\u0026fit=max\u0026auto=format\u0026n=_7ghGbILOYM4ffi0\u0026q=85\u0026s=5421cde65acdebb3c2822e96651a1435 560w, https://mintcdn.com/stratumn/_7ghGbILOYM4ffi0/images/configuration/ui/widgets/progress.png?w=840\u0026fit=max\u0026auto=format\u0026n=_7ghGbILOYM4ffi0\u0026q=85\u0026s=2b11e6754a1875f11b24423c50f22fca 840w, https://mintcdn.com/stratumn/_7ghGbILOYM4ffi0/images/configuration/ui/widgets/progress.png?w=1100\u0026fit=max\u0026auto=format\u0026n=_7ghGbILOYM4ffi0\u0026q=85\u0026s=5be3fd1f4155d68d5c1c3802f04e223f 1100w, https://mintcdn.com/stratumn/_7ghGbILOYM4ffi0/images/configuration/ui/widgets/progress.png?w=1650\u0026fit=max\u0026auto=format\u0026n=_7ghGbILOYM4ffi0\u0026q=85\u0026s=67767ec35d499344f105f8bb5f658db5 1650w, https://mintcdn.com/stratumn/_7ghGbILOYM4ffi0/images/configuration/ui/widgets/progress.png?w=2500\u0026fit=max\u0026auto=format\u0026n=_7ghGbILOYM4ffi0\u0026q=85\u0026s=01d91ecaa5ac74ff61b8b1c5b1a759f8 2500w`})})}),_jsxs(Tab,{title:`API`,id:`api-5`,children:[_jsx(ParamField,{path:`type`,type:`'progress'`,required:true,id:`param-type-5`,children:_jsxs(_components.p,{children:[`The type of the view, must be equal to `,_jsx(_components.code,{children:`progress`}),`.`]})}),_jsx(ParamField,{path:`path`,type:`JMESPath`,required:true,id:`param-path-4`,children:_jsx(_components.p,{children:`A JMESPath that resolves to a number, usually between 0 and 1.`})}),_jsx(ParamField,{path:`denominatorPath`,type:`JMESPath`,id:`param-denominator-path-1`,children:_jsxs(_components.p,{children:[`Allows scaling the number resolved using the `,_jsx(_components.code,{children:`path`}),`,\nallowing it to not necessarily be between 0 and 1.`]})})]}),_jsx(Tab,{title:`Type`,id:`type-5`,children:_jsx(CodeBlock,{filename:`Typescript`,numberOfLines:`5`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`type`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` ProgressView`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` type`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'progress'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` path`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` string`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` denominatorPath`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`?:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` string`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})}),_jsx(Tab,{title:`Example`,id:`example-4`,children:_jsx(CodeBlock,{filename:`Simple usage`,numberOfLines:`4`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"progress\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"path\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"data.status.progress\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})})]}),`\n`,_jsx(Heading,{level:`2`,id:`labels`,children:`Labels`}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`labels`}),` view displays a list of strings as a set of labels.`]}),`\n`,_jsxs(Tabs,{children:[_jsx(Tab,{title:`Screenshot`,id:`screenshot-6`,children:_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/stratumn/_7ghGbILOYM4ffi0/images/configuration/ui/widgets/labels.png?fit=max\u0026auto=format\u0026n=_7ghGbILOYM4ffi0\u0026q=85\u0026s=3902a1eba7b15c8e4769bff768295a74`,\"data-og-width\":`1076`,width:`1076`,\"data-og-height\":`228`,height:`228`,\"data-path\":`images/configuration/ui/widgets/labels.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/stratumn/_7ghGbILOYM4ffi0/images/configuration/ui/widgets/labels.png?w=280\u0026fit=max\u0026auto=format\u0026n=_7ghGbILOYM4ffi0\u0026q=85\u0026s=b626573e02879fdfb4ce06fb08fa13c1 280w, https://mintcdn.com/stratumn/_7ghGbILOYM4ffi0/images/configuration/ui/widgets/labels.png?w=560\u0026fit=max\u0026auto=format\u0026n=_7ghGbILOYM4ffi0\u0026q=85\u0026s=c670f352d784e40f316c90fc37672087 560w, https://mintcdn.com/stratumn/_7ghGbILOYM4ffi0/images/configuration/ui/widgets/labels.png?w=840\u0026fit=max\u0026auto=format\u0026n=_7ghGbILOYM4ffi0\u0026q=85\u0026s=263e040031d1933ff932d2dd98fd501c 840w, https://mintcdn.com/stratumn/_7ghGbILOYM4ffi0/images/configuration/ui/widgets/labels.png?w=1100\u0026fit=max\u0026auto=format\u0026n=_7ghGbILOYM4ffi0\u0026q=85\u0026s=044e89a0dbb4ba6080dfc11b63b58b7b 1100w, https://mintcdn.com/stratumn/_7ghGbILOYM4ffi0/images/configuration/ui/widgets/labels.png?w=1650\u0026fit=max\u0026auto=format\u0026n=_7ghGbILOYM4ffi0\u0026q=85\u0026s=5a903fbcd9c7f54da74919ff8d5fac02 1650w, https://mintcdn.com/stratumn/_7ghGbILOYM4ffi0/images/configuration/ui/widgets/labels.png?w=2500\u0026fit=max\u0026auto=format\u0026n=_7ghGbILOYM4ffi0\u0026q=85\u0026s=d0f71874babd762335bf701f954337a1 2500w`})})}),_jsxs(Tab,{title:`API`,id:`api-6`,children:[_jsx(ParamField,{path:`type`,type:`'labels'`,required:true,id:`param-type-6`,children:_jsxs(_components.p,{children:[`The type of the view, must be equal to `,_jsx(_components.code,{children:`progress`}),`.`]})}),_jsx(ParamField,{path:`path`,type:`JMESPath`,required:true,id:`param-path-5`,children:_jsx(_components.p,{children:`A JMESPath that resolves to a list of strings to be displayed.`})})]}),_jsx(Tab,{title:`Type`,id:`type-6`,children:_jsx(CodeBlock,{filename:`Typescript`,numberOfLines:`4`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`type`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` LabelsView`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` type`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'labels'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` path`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` string`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})}),_jsx(Tab,{title:`Example`,id:`example-5`,children:_jsx(CodeBlock,{filename:`Simple usage`,numberOfLines:`4`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"labels\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"path\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"data.favoriteMeals\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})})]}),`\n`,_jsx(Heading,{level:`2`,id:`status`,children:`Status`}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`status`}),` displays a progress as well as the name of the status at the same time.`]}),`\n`,_jsxs(Tabs,{children:[_jsx(Tab,{title:`Screenshot`,id:`screenshot-7`,children:_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/stratumn/xfcxnLAcYZzFKokk/images/configuration/ui/widgets/status.png?fit=max\u0026auto=format\u0026n=xfcxnLAcYZzFKokk\u0026q=85\u0026s=12595c3053e73b6215f20f1bca2a911c`,\"data-og-width\":`746`,width:`746`,\"data-og-height\":`125`,height:`125`,\"data-path\":`images/configuration/ui/widgets/status.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/stratumn/xfcxnLAcYZzFKokk/images/configuration/ui/widgets/status.png?w=280\u0026fit=max\u0026auto=format\u0026n=xfcxnLAcYZzFKokk\u0026q=85\u0026s=e907375a007ec63c1dd1bebeb2ce04cd 280w, https://mintcdn.com/stratumn/xfcxnLAcYZzFKokk/images/configuration/ui/widgets/status.png?w=560\u0026fit=max\u0026auto=format\u0026n=xfcxnLAcYZzFKokk\u0026q=85\u0026s=0f6edde1eab3085ce675fe1fa41c0086 560w, https://mintcdn.com/stratumn/xfcxnLAcYZzFKokk/images/configuration/ui/widgets/status.png?w=840\u0026fit=max\u0026auto=format\u0026n=xfcxnLAcYZzFKokk\u0026q=85\u0026s=7719ac6322e5ad2e58aea434f16122f1 840w, https://mintcdn.com/stratumn/xfcxnLAcYZzFKokk/images/configuration/ui/widgets/status.png?w=1100\u0026fit=max\u0026auto=format\u0026n=xfcxnLAcYZzFKokk\u0026q=85\u0026s=7f8931ed6e50617cb89c3fed88bbb4c1 1100w, https://mintcdn.com/stratumn/xfcxnLAcYZzFKokk/images/configuration/ui/widgets/status.png?w=1650\u0026fit=max\u0026auto=format\u0026n=xfcxnLAcYZzFKokk\u0026q=85\u0026s=428a01397075597aff4d40cc39d295ed 1650w, https://mintcdn.com/stratumn/xfcxnLAcYZzFKokk/images/configuration/ui/widgets/status.png?w=2500\u0026fit=max\u0026auto=format\u0026n=xfcxnLAcYZzFKokk\u0026q=85\u0026s=43de757999c35d74c22233046c0e365e 2500w`})})}),_jsxs(Tab,{title:`API`,id:`api-7`,children:[_jsx(ParamField,{path:`type`,type:`'status'`,required:true,id:`param-type-7`,children:_jsxs(_components.p,{children:[`The type of the view, must be equal to `,_jsx(_components.code,{children:`status`}),`.`]})}),_jsx(ParamField,{path:`path`,type:`JMESPath`,required:true,id:`param-path-6`,children:_jsx(_components.p,{children:`A path that resolves to a string representing the status name.`})}),_jsx(ParamField,{path:`progressPath`,type:`JMESPath`,required:true,id:`param-progress-path`,children:_jsx(_components.p,{children:`A path that resolves to a number between 0 and 1, representing the progress of the status.`})}),_jsx(ParamField,{path:`progressSize`,type:`number`,default:`16`,id:`param-progress-size`,children:_jsx(_components.p,{children:`The diameter of the progress circle, in pixels.`})}),_jsx(ParamField,{path:`cancelValue`,type:`number`,id:`param-cancel-value`,children:_jsx(_components.p,{children:`The value that represents the status as cancelled.\nIn some workflows 0% is not cancel, so we need to specify a cancel value to prevent 0% override.`})})]}),_jsx(Tab,{title:`Type`,id:`type-7`,children:_jsx(CodeBlock,{filename:`Typescript`,numberOfLines:`7`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`7`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`type`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` StatusWidget`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` type`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'status'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` path`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` string`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` progressPath`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` string`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` progressSize`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`?:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` number`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` cancelValue`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`?:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` number`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})}),_jsx(Tab,{title:`Example`,id:`example-6`,children:_jsx(CodeBlock,{filename:`Simple usage`,numberOfLines:`5`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"path\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"data.status.name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"progressPath\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"data.status.progress\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})})]}),`\n`,_jsx(Heading,{level:`2`,id:`key-value`,children:`Key-value`}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`keyValue`}),` view displays any widget (usually a text) nested under a label.\nThis widget is usually used to display relevant data in the `,_jsx(_components.a,{href:`/configuration/ui/introduction#trace-infos`,children:`trace infos`}),`.`]}),`\n`,_jsxs(Tabs,{children:[_jsx(Tab,{title:`Screenshot`,id:`screenshot-8`,children:_jsxs(_components.p,{children:[`☝️ View an example of how the `,_jsx(_components.code,{children:`keyValue`}),` view appears here.`]})}),_jsxs(Tab,{title:`API`,id:`api-8`,children:[_jsx(ParamField,{path:`type`,type:`'keyValue'`,required:true,id:`param-type-8`,children:_jsxs(_components.p,{children:[`The type of the view, must be equal to `,_jsx(_components.code,{children:`keyvalue`}),`.`]})}),_jsx(ParamField,{path:`key`,type:`string`,required:true,id:`param-key`,children:_jsx(_components.p,{children:`The label as plain text, describing the pair.`})}),_jsx(ParamField,{path:`value.view`,type:`WidgetView`,required:true,id:`param-value-view`,children:_jsx(_components.p,{children:`Any valid widget view.`})})]}),_jsx(Tab,{title:`Type`,id:`type-8`,children:_jsx(CodeBlock,{filename:`Typescript`,numberOfLines:`5`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`type`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` KeyValueWidget`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` type`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'keyValue'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` key`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` string`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` value`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` WidgetView`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})}),_jsx(Tab,{title:`Example`,id:`example-7`,children:_jsx(CodeBlock,{filename:`Simple usage`,numberOfLines:`11`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`11`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"keyValue\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"value\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"view\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"path\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"data.status.name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"progressPath\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"data.status.progress\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})})]}),`\n`,_jsx(Heading,{level:`2`,id:`icon`,children:`Icon`}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`icon`}),` view displays an icon, which can be static or resolved dynamically from a path.\nA label can be displayed next to the icon.`]}),`\n`,_jsxs(Tabs,{children:[_jsx(Tab,{title:`Screenshot`,id:`screenshot-9`,children:_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/stratumn/xfcxnLAcYZzFKokk/images/configuration/ui/widgets/icon.png?fit=max\u0026auto=format\u0026n=xfcxnLAcYZzFKokk\u0026q=85\u0026s=fe745c1b3d053135833f5eb812f8384f`,\"data-og-width\":`746`,width:`746`,\"data-og-height\":`125`,height:`125`,\"data-path\":`images/configuration/ui/widgets/icon.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/stratumn/xfcxnLAcYZzFKokk/images/configuration/ui/widgets/icon.png?w=280\u0026fit=max\u0026auto=format\u0026n=xfcxnLAcYZzFKokk\u0026q=85\u0026s=3b65ac4eae077adf01afe2c560802edb 280w, https://mintcdn.com/stratumn/xfcxnLAcYZzFKokk/images/configuration/ui/widgets/icon.png?w=560\u0026fit=max\u0026auto=format\u0026n=xfcxnLAcYZzFKokk\u0026q=85\u0026s=cef8e91ccb4549e692eccd4959c5682e 560w, https://mintcdn.com/stratumn/xfcxnLAcYZzFKokk/images/configuration/ui/widgets/icon.png?w=840\u0026fit=max\u0026auto=format\u0026n=xfcxnLAcYZzFKokk\u0026q=85\u0026s=1b4226078a21f414fa62ced9d7104199 840w, https://mintcdn.com/stratumn/xfcxnLAcYZzFKokk/images/configuration/ui/widgets/icon.png?w=1100\u0026fit=max\u0026auto=format\u0026n=xfcxnLAcYZzFKokk\u0026q=85\u0026s=00c5406449c704a2171689c30370051f 1100w, https://mintcdn.com/stratumn/xfcxnLAcYZzFKokk/images/configuration/ui/widgets/icon.png?w=1650\u0026fit=max\u0026auto=format\u0026n=xfcxnLAcYZzFKokk\u0026q=85\u0026s=c3a740894cf34a84ef7d768ff27e155d 1650w, https://mintcdn.com/stratumn/xfcxnLAcYZzFKokk/images/configuration/ui/widgets/icon.png?w=2500\u0026fit=max\u0026auto=format\u0026n=xfcxnLAcYZzFKokk\u0026q=85\u0026s=f74d85d93b0b7ce0c2624aad5e5ecbbb 2500w`})})}),_jsxs(Tab,{title:`API`,id:`api-9`,children:[_jsx(ParamField,{path:`type`,type:`'icon'`,required:true,id:`param-type-9`,children:_jsxs(_components.p,{children:[`The type of the view, must be equal to `,_jsx(_components.code,{children:`icon`}),`.`]})}),_jsx(ParamField,{path:`icon`,type:`string`,id:`param-icon`,children:_jsxs(_components.p,{children:[`A static icon id to be displayed if the `,_jsx(_components.code,{children:`iconPath`}),` does not resolve to a `,_jsx(_components.em,{children:`truthy`}),` value.`]})}),_jsx(ParamField,{path:`iconPath`,type:`JMESPath`,id:`param-icon-path`,children:_jsxs(_components.p,{children:[`A JMESPath that resolves to an icon id.\nRenders the `,_jsx(_components.em,{children:`Document`}),` icon if the resolved value is falsy, or the icon defined in `,_jsx(_components.code,{children:`icon`}),` (see above) if it’s set.`]})}),_jsx(ParamField,{path:`labelPath`,type:`JMESPath`,id:`param-label-path`,children:_jsx(_components.p,{children:`A JMESPath that resolves to a string displayed as a label next to the icon.`})}),_jsx(ParamField,{path:`path`,type:`JMESPath`,id:`param-path-7`,children:_jsxs(_components.p,{children:[`A JMESPath that if resolves to a `,_jsx(_components.em,{children:`truthy`}),` value will trigger the display of the icon.\nBy default, the icon is displayed if the path is not set.`]})})]}),_jsx(Tab,{title:`Type`,id:`type-9`,children:_jsx(CodeBlock,{filename:`Typescript`,numberOfLines:`7`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`7`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`type`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` IconWidget`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` type`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'icon'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` iconPath`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`?:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` string`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` icon`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`?:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` string`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` labelPath`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`?:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` string`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` path`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`?:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` string`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})}),_jsx(Tab,{title:`Example`,id:`example-8`,children:_jsx(CodeBlock,{filename:`Simple usage`,numberOfLines:`5`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"icon\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"iconPath\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"meta.head.action.icon\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"labelPath\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"meta.head.action.title\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})})]}),`\n`,_jsx(Heading,{level:`2`,id:`boolean`,children:`Boolean`}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`boolean`}),` view displays a checkmark if the path resolves to a `,_jsx(_components.em,{children:`truthy`}),` value.`,_jsx(_components.br,{}),`\n`,`It is similar to the `,_jsx(_components.a,{href:`/configuration/ui/widgets#icon`,children:`icon view`}),` but with a simpler configuration.`]}),`\n`,_jsxs(Tabs,{children:[_jsx(Tab,{title:`Screenshot`,id:`screenshot-10`,children:_jsxs(_components.p,{children:[`☝️ View an example of how the `,_jsx(_components.code,{children:`boolean`}),` view appears here.`]})}),_jsxs(Tab,{title:`API`,id:`api-10`,children:[_jsx(ParamField,{path:`type`,type:`'boolean'`,required:true,id:`param-type-10`,children:_jsxs(_components.p,{children:[`The type of the view, must be equal to `,_jsx(_components.code,{children:`boolean`}),`.`]})}),_jsx(ParamField,{path:`path`,type:`JMESPath`,required:true,id:`param-path-8`,children:_jsx(_components.p,{children:`A JMESPath that resolves to a boolean value which, if truthy, will display the checkmark.`})})]}),_jsx(Tab,{title:`Type`,id:`type-10`,children:_jsx(CodeBlock,{filename:`Typescript`,numberOfLines:`4`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`type`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` BooleanWidget`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` type`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'boolean'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` path`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` string`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})}),_jsx(Tab,{title:`Example`,id:`example-9`,children:_jsx(CodeBlock,{filename:`Simple usage`,numberOfLines:`4`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"boolean\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"path\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"data.isValid\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})})]}),`\n`,_jsx(Heading,{level:`2`,id:`link`,children:`Link`}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`link`}),` view displays an HTML link. It has the same configuration as the `,_jsx(_components.a,{href:`/configuration/ui/widgets#link-wrapper`,children:`Link Wrapper`}),` view.`]}),`\n`,_jsxs(Tabs,{children:[_jsx(Tab,{title:`Screenshot`,id:`screenshot-11`,children:_jsxs(_components.p,{children:[`☝️ View an example of how the `,_jsx(_components.code,{children:`link`}),` view appears here.`]})}),_jsxs(Tab,{title:`API`,id:`api-11`,children:[_jsx(ParamField,{path:`type`,type:`'link'`,required:true,id:`param-type-11`,children:_jsxs(_components.p,{children:[`The type of the view, must be equal to `,_jsx(_components.code,{children:`link`}),`.`]})}),_jsx(ParamField,{path:`path`,type:`JMESPath`,required:true,id:`param-path-9`,children:_jsxs(_components.p,{children:[`A JMESPath that resolves to a string. This text will be displayed as the link content.\nIf no `,_jsx(_components.code,{children:`urlPath`}),` is provided or its resolved value is falsy, the resolved value of the path will also act as the link url.`]})}),_jsx(ParamField,{path:`rootUrl`,type:`string`,id:`param-root-url`,children:_jsx(_components.p,{children:`The root of the url, as plain text.`})}),_jsx(ParamField,{path:`urlPath`,type:`JMESPath`,id:`param-url-path`,children:_jsx(_components.p,{children:`A JMESPath that resolves to a string, which will be used as the url suffix.`})}),_jsx(ParamField,{path:`openInNewTab`,type:`boolean`,default:`false`,id:`param-open-in-new-tab`,children:_jsx(_components.p,{children:`Whether to open the link in a new browser tab or in the current one.`})})]}),_jsx(Tab,{title:`Type`,id:`type-11`,children:_jsx(CodeBlock,{filename:`Typescript`,numberOfLines:`7`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`7`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`type`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` LinkWidget`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` type`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'link'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` path`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` string`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` rootUrl`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`?:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` string`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` urlPath`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`?:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` string`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` openInNewTab`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`?:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` boolean`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})}),_jsx(Tab,{title:`Example`,id:`example-10`,children:_jsx(CodeBlock,{filename:`Simple usage`,numberOfLines:`7`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"link\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"path\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"'The documentation'\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"rootUrl\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"urlPath\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"data.documentationUrl\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"openInNewTab\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})})]}),`\n`,_jsx(Heading,{level:`2`,id:`wrappers`,children:`Wrappers`}),`\n`,_jsx(_components.p,{children:`Wrappers are components that wrap other widgets.`}),`\n`,_jsx(Heading,{level:`3`,id:`link-wrapper`,children:`Link Wrapper`}),`\n`,_jsx(Heading,{level:`3`,id:`window-wrapper`,children:`Window Wrapper`}),`\n`,_jsx(Heading,{level:`3`,id:`tooltip-wrapper`,children:`Tooltip Wrapper`})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Widgets","description":null,"icon":"cube","iconType":"duotone","href":"/configuration/ui/widgets"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Views","slug":"views","depth":1,"children":[]},{"title":"Text","slug":"text","depth":2,"children":[]},{"title":"Id","slug":"id","depth":2,"children":[]},{"title":"Number","slug":"number","depth":2,"children":[]},{"title":"Date","slug":"date","depth":2,"children":[]},{"title":"Progress bar","slug":"progress-bar","depth":2,"children":[]},{"title":"Labels","slug":"labels","depth":2,"children":[]},{"title":"Status","slug":"status","depth":2,"children":[]},{"title":"Key-value","slug":"key-value","depth":2,"children":[]},{"title":"Icon","slug":"icon","depth":2,"children":[]},{"title":"Boolean","slug":"boolean","depth":2,"children":[]},{"title":"Link","slug":"link","depth":2,"children":[]},{"title":"Wrappers","slug":"wrappers","depth":2,"children":[{"title":"Link Wrapper","slug":"link-wrapper","depth":3,"children":[]},{"title":"Window Wrapper","slug":"window-wrapper","depth":3,"children":[]},{"title":"Tooltip Wrapper","slug":"tooltip-wrapper","depth":3,"children":[]}]}],"codeExamples":{}},"jsLinks":[],"subdomain":"stratumn","siteName":"Stratumn","title":"Widgets - Stratumn","navMaps":{"firstHrefInVersion":{"v2":{"href":"/configuration/ui/widgets","matchLevel":0},"v1":{"href":"/configuration/ui/widgets","matchLevel":0}},"firstHrefInLanguage":{}},"lastModified":"2026-10-26T10:49:59.476Z","originalFileLocation":"configuration/ui/widgets.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"application-name\" content=\"Stratumn\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/stratumn/KR8-7fDOi5wEV22S/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/stratumn/KR8-7fDOi5wEV22S/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/stratumn/KR8-7fDOi5wEV22S/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/stratumn/KR8-7fDOi5wEV22S/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/stratumn/KR8-7fDOi5wEV22S/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/stratumn/KR8-7fDOi5wEV22S/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/stratumn/KR8-7fDOi5wEV22S/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/stratumn/KR8-7fDOi5wEV22S/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/stratumn/KR8-7fDOi5wEV22S/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Widgets - Stratumn\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Stratumn\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.stratumn.com/configuration/ui/widgets\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://stratumn.mintlify.site/_mintlify/api/og/v2?division=UI+configuration\u0026amp;title=Widgets\u0026amp;theme=4f09d40c83f861311aab72be\u0026amp;signature=d0c8f44fc43ae1ac6029633ba478523712f4f45bd5860023a9c211a2d5429942\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Widgets - Stratumn\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://stratumn.mintlify.site/_mintlify/api/og/v2?division=UI+configuration\u0026amp;title=Widgets\u0026amp;theme=4f09d40c83f861311aab72be\u0026amp;signature=d0c8f44fc43ae1ac6029633ba478523712f4f45bd5860023a9c211a2d5429942\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/stratumn/KR8-7fDOi5wEV22S/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Stratumn\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#4B35D2\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.stratumn.com/configuration/ui/widgets\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/configuration/ui/widgets.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.stratumn.com/#organization\",\"name\":\"Stratumn\",\"url\":\"https://docs.stratumn.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/stratumn/ZLZL0fVzWovButfa/logo/light.svg?fit=max\u0026auto=format\u0026n=ZLZL0fVzWovButfa\u0026q=85\u0026s=da95401bd6fe81b834b92c5fb0bf87e3\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.stratumn.com#website\",\"name\":\"Stratumn\",\"url\":\"https://docs.stratumn.com\",\"publisher\":{\"@id\":\"https://docs.stratumn.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.stratumn.com/configuration/ui/widgets#webpage\",\"url\":\"https://docs.stratumn.com/configuration/ui/widgets\",\"name\":\"Widgets\",\"dateModified\":\"2026-10-26T10:49:59.476Z\",\"isPartOf\":{\"@id\":\"https://docs.stratumn.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.stratumn.com/configuration/ui/widgets#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.stratumn.com/configuration/ui/widgets#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Workflow configuration\",\"item\":\"https://docs.stratumn.com/configuration/introduction\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"UI configuration\",\"item\":\"https://docs.stratumn.com/configuration/ui/introduction\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Widgets\",\"item\":\"https://docs.stratumn.com/configuration/ui/widgets\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.stratumn.com/configuration/ui/widgets#article\",\"headline\":\"Widgets\",\"name\":\"Widgets\",\"url\":\"https://docs.stratumn.com/configuration/ui/widgets\",\"mainEntityOfPage\":{\"@id\":\"https://docs.stratumn.com/configuration/ui/widgets#webpage\"},\"dateModified\":\"2026-10-26T10:49:59.476Z\",\"publisher\":{\"@id\":\"https://docs.stratumn.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.stratumn.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Stratumn\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Stratumn\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/configuration/ui/widgets.md","siteName":"Stratumn","nav":{"global":null,"versions":[{"version":"v2","anchors":[{"anchor":"Documentation","icon":"book-open","pages":[{"title":"Documentation","href":"/api-reference/introduction"}]},{"anchor":"API Reference","icon":"square-terminal","pages":[{"title":"API Reference","href":"/api-reference/v2/trace/create-a-new-trace"}]},{"anchor":"Studio","icon":"brush","pages":[{"title":"Studio","href":"/studio/introduction"}]},{"anchor":"Configuration","icon":"rocket","groups":[{"group":"Workflow configuration","pages":[{"title":"Introduction","icon":"pen-to-square","href":"/configuration/introduction"},{"group":"Getting started","icon":{"name":"rocket","style":"duotone"},"pages":[{"title":"🚀 Getting started","sidebarTitle":"Introduction","icon":"book-open","iconType":"duotone","href":"/configuration/getting-started/introduction"},{"title":"Step 1","sidebarTitle":"Step 1","icon":"1","href":"/configuration/getting-started/step-1"},{"title":"Step 2","sidebarTitle":"Step 2","icon":"2","href":"/configuration/getting-started/step-2"},{"title":"Specification file","sidebarTitle":"Specification file","icon":"file-excel","iconType":"duotone","href":"/configuration/getting-started/specification"}]},{"title":"Workflow Definition","icon":"diagram-project","href":"/configuration/workflow-definition"},{"title":"Accounts","icon":"user-group","href":"/configuration/accounts"},{"title":"Trace","icon":"arrow-progress","href":"/configuration/trace"},{"group":"Action","icon":"pen-to-square","pages":[{"title":"Action definition","sidebarTitle":"Definition","icon":"book-open","iconType":"duotone","href":"/configuration/action/definition"},{"title":"Form action","icon":"input-text","href":"/configuration/action/form"},{"title":"Data importer","icon":"cloud-arrow-down","href":"/configuration/action/data-importer"},{"title":"Data editor","icon":"pen","href":"/configuration/action/data-editor"},{"title":"Effects","icon":"bolt","href":"/configuration/action/effects"},{"title":"Automated actions","icon":"gears","href":"/configuration/action/automated-actions"},{"title":"Notifications","icon":"bell","href":"/configuration/action/notifications"},{"title":"Visitor access","icon":"link","href":"/configuration/action/visitor-access"}]},{"title":"Trace migrations","sidebarTitle":"Migration","icon":"wand-magic-sparkles","iconType":"duotone","href":"/configuration/migration"},{"group":"UI configuration","icon":"sparkles","pages":[{"title":"UI Configuration","sidebarTitle":"Introduction","description":null,"icon":"book-open","iconType":"duotone","href":"/configuration/ui/introduction"},{"title":"Widgets","icon":"cube","iconType":"duotone","href":"/configuration/ui/widgets"},{"title":"Overview table","sidebarTitle":"Overview","description":null,"icon":"table","href":"/configuration/ui/overview"}]},{"group":"Table","icon":"table-cells-large","pages":[{"title":"Table configuration","icon":"gear","href":"/configuration/table/configuration"},{"title":"Column","icon":"table-columns","href":"/configuration/table/column"},{"title":"Read view","sidebarTitle":"Read view","icon":"eye","href":"/configuration/table/read-views"},{"title":"Edit view","sidebarTitle":"Edit view","icon":"pen","href":"/configuration/table/edit-views"},{"title":"Wrappers","sidebarTitle":"Wrappers","icon":"window","href":"/configuration/table/wrappers"}]},{"title":"Project structure","sidebarTitle":"Project structure","icon":"folder-open","iconType":"duotone","href":"/configuration/project-structure"}]}]},{"anchor":"Errors","icon":"triangle-exclamation","pages":[{"title":"Errors","href":"/errors/trace-errors"}]}]},{"version":"v1","anchors":[{"anchor":"Documentation","icon":"book-open","pages":[{"title":"Documentation","href":"/api-reference/introduction"}]},{"anchor":"API Reference","icon":"square-terminal","pages":[{"title":"API Reference","href":"/api-reference/v1/trace/retrieve-trace-state"}]},{"anchor":"Studio","icon":"brush","pages":[{"title":"Studio","href":"/studio/introduction"}]},{"anchor":"Configuration","icon":"rocket","groups":[{"group":"Workflow configuration","pages":[{"title":"Introduction","icon":"pen-to-square","href":"/configuration/introduction"},{"group":"Getting started","icon":{"name":"rocket","style":"duotone"},"pages":[{"title":"🚀 Getting started","sidebarTitle":"Introduction","icon":"book-open","iconType":"duotone","href":"/configuration/getting-started/introduction"},{"title":"Step 1","sidebarTitle":"Step 1","icon":"1","href":"/configuration/getting-started/step-1"},{"title":"Step 2","sidebarTitle":"Step 2","icon":"2","href":"/configuration/getting-started/step-2"},{"title":"Specification file","sidebarTitle":"Specification file","icon":"file-excel","iconType":"duotone","href":"/configuration/getting-started/specification"}]},{"title":"Workflow Definition","icon":"diagram-project","href":"/configuration/workflow-definition"},{"title":"Accounts","icon":"user-group","href":"/configuration/accounts"},{"title":"Trace","icon":"arrow-progress","href":"/configuration/trace"},{"group":"Action","icon":"pen-to-square","pages":[{"title":"Action definition","sidebarTitle":"Definition","icon":"book-open","iconType":"duotone","href":"/configuration/action/definition"},{"title":"Form action","icon":"input-text","href":"/configuration/action/form"},{"title":"Data importer","icon":"cloud-arrow-down","href":"/configuration/action/data-importer"},{"title":"Data editor","icon":"pen","href":"/configuration/action/data-editor"},{"title":"Effects","icon":"bolt","href":"/configuration/action/effects"},{"title":"Automated actions","icon":"gears","href":"/configuration/action/automated-actions"},{"title":"Notifications","icon":"bell","href":"/configuration/action/notifications"},{"title":"Visitor access","icon":"link","href":"/configuration/action/visitor-access"}]},{"title":"Trace migrations","sidebarTitle":"Migration","icon":"wand-magic-sparkles","iconType":"duotone","href":"/configuration/migration"},{"group":"UI configuration","icon":"sparkles","pages":[{"title":"UI Configuration","sidebarTitle":"Introduction","description":null,"icon":"book-open","iconType":"duotone","href":"/configuration/ui/introduction"},{"title":"Widgets","icon":"cube","iconType":"duotone","href":"/configuration/ui/widgets"},{"title":"Overview table","sidebarTitle":"Overview","description":null,"icon":"table","href":"/configuration/ui/overview"}]},{"group":"Table","icon":"table-cells-large","pages":[{"title":"Table configuration","icon":"gear","href":"/configuration/table/configuration"},{"title":"Column","icon":"table-columns","href":"/configuration/table/column"},{"title":"Read view","sidebarTitle":"Read view","icon":"eye","href":"/configuration/table/read-views"},{"title":"Edit view","sidebarTitle":"Edit view","icon":"pen","href":"/configuration/table/edit-views"},{"title":"Wrappers","sidebarTitle":"Wrappers","icon":"window","href":"/configuration/table/wrappers"}]},{"title":"Project structure","sidebarTitle":"Project structure","icon":"folder-open","iconType":"duotone","href":"/configuration/project-structure"}]}]},{"anchor":"Errors","icon":"triangle-exclamation","pages":[{"title":"Errors","href":"/errors/trace-errors"}]}]}]},"basePath":"","title":"Widgets - Stratumn","buildId":"dpl_596ePT575z4qnAFksq1biRW97aLY","deploymentId":"dpl_596ePT575z4qnAFksq1biRW97aLY","dynamics":["07c022d89b","a74be98ba7"],"chunks":["Frame-BXrZabKK.js","DynamicMarkdown-CtasenyM.js","zoom-image-lightbox-C5F0mVLH.js","lightbox-handle-r17bVUz3.js"]}