From c02c127093e4cbd51c5aeecc3997e4a22489a8cc Mon Sep 17 00:00:00 2001 From: Josh Dayment <52637666+jdayment@users.noreply.github.com> Date: Mon, 29 Apr 2024 14:55:40 -0700 Subject: [PATCH 01/23] Update fsc_actionList3.js-meta.xml --- .../default/lwc/fsc_actionList3/fsc_actionList3.js-meta.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flow_screen_components/FlowScreenComponentsBasePack/force-app/main/default/lwc/fsc_actionList3/fsc_actionList3.js-meta.xml b/flow_screen_components/FlowScreenComponentsBasePack/force-app/main/default/lwc/fsc_actionList3/fsc_actionList3.js-meta.xml index d000d7828..70fcb62e1 100644 --- a/flow_screen_components/FlowScreenComponentsBasePack/force-app/main/default/lwc/fsc_actionList3/fsc_actionList3.js-meta.xml +++ b/flow_screen_components/FlowScreenComponentsBasePack/force-app/main/default/lwc/fsc_actionList3/fsc_actionList3.js-meta.xml @@ -2,7 +2,7 @@ - 57.0 + 60.0 false From a6566aeb7cdacfad357baf8ef5025047910ceef3 Mon Sep 17 00:00:00 2001 From: Josh Dayment <52637666+jdayment@users.noreply.github.com> Date: Mon, 29 Apr 2024 14:56:02 -0700 Subject: [PATCH 02/23] Update fsc_flexcardCPE.js-meta.xml --- .../default/lwc/fsc_flexcardCPE/fsc_flexcardCPE.js-meta.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flow_screen_components/FlowScreenComponentsBasePack/force-app/main/default/lwc/fsc_flexcardCPE/fsc_flexcardCPE.js-meta.xml b/flow_screen_components/FlowScreenComponentsBasePack/force-app/main/default/lwc/fsc_flexcardCPE/fsc_flexcardCPE.js-meta.xml index 46450740a..34f44cf9d 100644 --- a/flow_screen_components/FlowScreenComponentsBasePack/force-app/main/default/lwc/fsc_flexcardCPE/fsc_flexcardCPE.js-meta.xml +++ b/flow_screen_components/FlowScreenComponentsBasePack/force-app/main/default/lwc/fsc_flexcardCPE/fsc_flexcardCPE.js-meta.xml @@ -1,6 +1,6 @@ - 58.0 + 60.0 true Flow Flex Card CPE From 06dfa5b83ca3efa7f0b61654a6c52b1d98879eac Mon Sep 17 00:00:00 2001 From: Josh Dayment <52637666+jdayment@users.noreply.github.com> Date: Mon, 29 Apr 2024 14:56:49 -0700 Subject: [PATCH 03/23] Update fsc_flexcardCPE.js --- .../lwc/fsc_flexcardCPE/fsc_flexcardCPE.js | 32 +++++++++++++++++-- 1 file changed, 29 insertions(+), 3 deletions(-) diff --git a/flow_screen_components/FlowScreenComponentsBasePack/force-app/main/default/lwc/fsc_flexcardCPE/fsc_flexcardCPE.js b/flow_screen_components/FlowScreenComponentsBasePack/force-app/main/default/lwc/fsc_flexcardCPE/fsc_flexcardCPE.js index 068bbf5f2..c50bb7759 100644 --- a/flow_screen_components/FlowScreenComponentsBasePack/force-app/main/default/lwc/fsc_flexcardCPE/fsc_flexcardCPE.js +++ b/flow_screen_components/FlowScreenComponentsBasePack/force-app/main/default/lwc/fsc_flexcardCPE/fsc_flexcardCPE.js @@ -2,7 +2,7 @@ * @description : * @author : Josh Dayment * @group : - * @last modified on : 05-31-2023 + * @last modified on : 04-29-2024 * @last modified by : Josh Dayment **/ import { api, track, LightningElement } from 'lwc'; @@ -54,10 +54,26 @@ export default class fsc_flexcardCPE extends LightningElement { ]; componentStyling = [ - { label: 'Card Size', helpText: 'Size in pixels default is 300px' }, + { label: 'Component Label', helpText: 'Label for the entire component does support rich text' }, + { label: 'Card Width', helpText: 'Size in pixels default is 300px' }, + { label: 'Card Height', helpText: 'Size in pixels default is 300px' }, + + ]; + + headerStyling = [ + { label: 'Header Field', helpText: 'Choose the field name to populate in the card header' }, { label: 'Style attribute for the card headers', helpText: 'Standard HTML syling to apply to the card headers' }, { label: 'Pick an Icon', helpText: 'When an Icon is selected it will apply it before the name in the card header' }, + { label: 'Apply SLDS class to header field?', helptText: 'Select SLDS class to apply to header text' }, + ]; + + cardStyling = [ + { label: 'Style attribute for the card body', helpText: 'Standard HTML syling to apply to the card body' }, + { label: 'Apply SLDS class to field values?', helptText: 'Select SLDS class to apply to field values' }, + { label: 'Show or hide field labels?', helptText: 'Decide if you want to show the field labels or just the values' }, + ]; + flexCardActions = [ { label: 'List or Menu', helpText: 'Menu will display that action in a dropdown list, list will display the action as a list on the card' }, { label: 'Actons Menu Label', helpText: 'When there is a text string here it either adds a label to the menu button or if list it will add a label with an h1 tag' }, @@ -90,6 +106,8 @@ export default class fsc_flexcardCPE extends LightningElement { cardWidth: { value: null, valueDataType: null, isCollection: false, label: 'Card Width', helpText: 'This is the width of the card in Pixels' }, fieldVariant: { value: null, valueDatatType: null, isCollection: false, label: 'Field Variant' }, fieldClass: { value: null, valueDataType: null, isCollection: false, label: 'Field Class' }, + headerField: { value: null, valueDataType: null, isCollection: false, label: 'Header Field' }, + headerFieldClass: { value: null, valueDataType: null, isCollection: false, label: 'Header Field Class' }, }; @api get builderContext() { @@ -175,7 +193,7 @@ export default class fsc_flexcardCPE extends LightningElement { get fieldClassOptions() { return [ - { label: '--None--', value:''}, + { label: '--None--', value: '' }, { label: 'Body Small', value: 'slds-text-body_small' }, { label: 'Heading Large', value: 'slds-text-heading_large' }, { label: 'Heading Medium', value: 'slds-text-heading_medium' }, @@ -370,10 +388,18 @@ export default class fsc_flexcardCPE extends LightningElement { this.dispatchFlowValueChangeEvent('fieldClass', event.detail.value, 'String') } + handleHeaderFieldClassChange(event) { + this.dispatchFlowValueChangeEvent('headerFieldClass', event.detail.value, 'String') + } + handleAllowAllObjects(event) { this.dispatchFlowValueChangeEvent('allowAllObjects', event.detail.value, 'String'); } + handleHeaderFieldNameChange(event) { + this.dispatchFlowValueChangeEvent('headerField', event.detail.value, 'String'); + } + get isMenu() { let displayType = this.inputValues.actionDisplayType.value if (displayType == 'menu') From cbfd137a33965bbe9d8b27fc999ac7e71967a6e3 Mon Sep 17 00:00:00 2001 From: Josh Dayment <52637666+jdayment@users.noreply.github.com> Date: Mon, 29 Apr 2024 14:57:23 -0700 Subject: [PATCH 04/23] Update fsc_flexcardCPE.html --- .../lwc/fsc_flexcardCPE/fsc_flexcardCPE.html | 38 +++++++++++++------ 1 file changed, 26 insertions(+), 12 deletions(-) diff --git a/flow_screen_components/FlowScreenComponentsBasePack/force-app/main/default/lwc/fsc_flexcardCPE/fsc_flexcardCPE.html b/flow_screen_components/FlowScreenComponentsBasePack/force-app/main/default/lwc/fsc_flexcardCPE/fsc_flexcardCPE.html index fea9c29ca..f172d8d59 100644 --- a/flow_screen_components/FlowScreenComponentsBasePack/force-app/main/default/lwc/fsc_flexcardCPE/fsc_flexcardCPE.html +++ b/flow_screen_components/FlowScreenComponentsBasePack/force-app/main/default/lwc/fsc_flexcardCPE/fsc_flexcardCPE.html @@ -2,7 +2,7 @@ @description : @author : ChangeMeIn@UserSettingsUnder.SFDoc @group : - @last modified on : 08-20-2023 + @last modified on : 04-29-2024 @last modified by : Josh Dayment -->