-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature: Support for lightning__FlowScreen target #66
Comments
Splitting up the targets as such, that the <?xml version="1.0" encoding="UTF-8" ?>
<LightningComponentBundle
xmlns="http://soap.sforce.com/2006/04/metadata"
fqn="timeline"
>
<apiVersion>51.0</apiVersion>
<isExposed>true</isExposed>
<masterLabel>LWCC App Builder</masterLabel>
<description
>Expose beautiful Chart.js chart using Lightning Web Component in the App Builder</description>
<targets>
<target>lightning__AppPage</target>
<target>lightning__HomePage</target>
<target>lightning__RecordPage</target>
<target>lightningCommunity__Page</target>
<target>lightningCommunity__Default</target>
</targets>
<targetConfigs>
<targetConfig
targets="lightning__AppPage,lightning__HomePage,lightning__RecordPage"
>
<property
name="type"
label="Type"
description="Define the chart type"
required="true"
default="line"
placeholder="Chart type"
type="String"
datasource="line,bar,radar,doughnut,pie,polarArea,bubble,scatter"
/>
<property
name="title"
label="Title"
description="Define the chart title"
required="false"
default="Chart"
placeholder="Chart title"
type="String"
/>
<property
name="legendPosition"
label="Legend Position"
description="Define where the legend will be displayed"
required="false"
default="top"
placeholder="top"
type="String"
datasource="top,bottom,right,left"
/>
<property
name="styleCss"
label="CSS Style"
description="Provide inline custom css style for chart container"
required="false"
default=""
placeholder=""
type="String"
/>
<property
name="colorPalette"
label="Color palette to use"
description="Choose the slds color palette to use (https://www.lightningdesignsystem.com/guidelines/charts/#Chart-Color)"
required="false"
default="default"
placeholder=""
type="String"
datasource="default,colorsafe,light,bluegrass,sunrise,water,watermelon"
/>
<property
name="fill"
label="Fill the chart ?"
description="Check this property fo fill the chart"
required="false"
default="false"
type="Boolean"
/>
<property
name="detailsLabels"
label="Dataset Labels"
description="Display the label for each values set in the dataset in a JSON array of string"
required="false"
default="[]"
placeholder="["Label 1","Label 2"],..."
type="String"
/>
<property
name="details"
label="Dataset"
description="Define the chart values in a JSON array of object"
required="false"
default=""
placeholder="[{"labels":"Data 1", "detail":[1, 1]},{"labels":"Data 2", "detail":[2, 2]},...]"
type="String"
/>
<property
name="soql"
label="SOQL"
description="Define a SOQL to be used to fetch the data (only aggregate query). Use label alias for the label and value alias for the value"
required="false"
default=""
placeholder="SELECT StageName label, SUM(Amount) value FROM Opportunity WHERE IsClosed = false AND AccountId = :recordId WITH SECURITY_ENFORCED GROUP BY StageName LIMIT 10"
type="String"
/>
<property
name="handler"
label="Custom Data Provider"
description="Define the Custom Data Provider class hander name to fetch the data. It must extends "ChartDataProvider""
required="false"
default=""
type="String"
datasource="apex://CustomDataProviderDataSourceProvider"
/>
</targetConfig>
<targetConfig targets="lightningCommunity__Default">
<property
name="type"
label="Type"
description="Define the chart type"
required="true"
default="line"
placeholder="Chart type"
type="String"
datasource="line,bar,radar,doughnut,pie,polarArea,bubble,scatter"
/>
<property
name="title"
label="Title"
description="Define the chart title"
required="false"
default="Chart"
placeholder="Chart title"
type="String"
/>
<property
name="legendPosition"
label="Legend Position"
description="Define where the legend will be displayed"
required="false"
default="top"
placeholder="top"
type="String"
datasource="top,bottom,right,left"
/>
<property
name="styleCss"
label="CSS Style"
description="Provide inline custom css style for chart container"
required="false"
default=""
placeholder=""
type="String"
/>
<property
name="colorPalette"
label="Color palette to use"
description="Choose the slds color palette to use (https://www.lightningdesignsystem.com/guidelines/charts/#Chart-Color)"
required="false"
default="default"
placeholder=""
type="String"
datasource="default,colorsafe,light,bluegrass,sunrise,water,watermelon"
/>
<property
name="fill"
label="Fill the chart ?"
description="Check this property fo fill the chart"
required="false"
default="false"
type="Boolean"
/>
<property
name="detailsLabels"
label="Dataset Labels"
description="Display the label for each values set in the dataset in a JSON array of string"
required="false"
default="[]"
placeholder="["Label 1","Label 2"],..."
type="String"
/>
<property
name="details"
label="Dataset"
description="Define the chart values in a JSON array of object"
required="false"
default=""
placeholder="[{"labels":"Data 1", "detail":[1, 1]},{"labels":"Data 2", "detail":[2, 2]},...]"
type="String"
/>
<property
name="soql"
label="SOQL"
description="Define a SOQL to be used to fetch the data (only aggregate query). Use label alias for the label and value alias for the value"
required="false"
default=""
placeholder="SELECT StageName label, SUM(Amount) value FROM Opportunity WHERE IsClosed = false AND AccountId = :recordId WITH SECURITY_ENFORCED GROUP BY StageName LIMIT 10"
type="String"
/>
<property
name="recordId"
label="Record ID"
description="The id of the current record in Lightning Communities"
type="String"
placeholder="{!recordId}"
default="{!recordId}"
/>
<property
name="handler"
label="Custom Data Provider"
description="Define the Custom Data Provider class hander name to fetch the data. It must extends "ChartDataProvider""
required="false"
default=""
type="String"
datasource="apex://CustomDataProviderDataSourceProvider"
/>
</targetConfig>
</targetConfigs>
</LightningComponentBundle> |
Hello, we do not continue to apply fixes to this project, but we only act as code reviewers and release managers. |
It would be ideal to have support for
lightning__FlowScreen
in the package; but their might be a reason why this is not implemented today? @victorgzThe text was updated successfully, but these errors were encountered: