1.15.0 • Published 1 year ago

@forter/logical-conditions v1.15.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
1 year ago

fc-logical-conditions

An element by Forter

Usage

<script>
   import '@forter/logical-conditions';
</script>

<fc-logical-conditions>
</fc-logical-conditions>

Properties

PropertyAttributeTypeDefaultDescription
actionResultsactionResultsany[]
addValueToList({ optionalValues, currentDepth, index, previousIndex }: { optionalValues: any; currentDepth: any; index: any; previousIndex: any; }) => void
attributesattributes{}{}
conditionsSchemaconditionsSchema{}{}
getDefaultValuesForCheckboxSearch(values: any, valuesForCheckboxSearch: any) => any[]
getSingleConditionElementsByAttributeTargetId(targetId: any) => { operationSelectionTargetSelect: any; valueSelectionTargetSelect: any; contextualMenuTarget: any; targetElement: any; }
getValuesForCheckboxSearch(optionalValues: any) => any
isEditModeisEditModebooleanfalseIf the element is in edit mode
labellabelstring""
maximumDepthmaximumDepthnumber2
onActionChange(event: any) => void
onAttributeFocus(event: any) => void
onAttributeFocusOut(event: any) => void
onLogicalConditionChange(event: any, optionalValues: any) => void
onValueChange({ currentDepth, conditionIndex, previousIndex, listValueIndex, newValue, changeType, optionalValues }: { currentDepth: any; conditionIndex: any; previousIndex: any; listValueIndex: any; newValue: any; changeType: any; optionalValues: any; }) => void
renderAddingConditionButton() => TemplateResult
renderConditionContextualMenu({ currentDepth, index, previousIndex, id }: { currentDepth: any; index: any; previousIndex: any; id: any; }) => TemplateResult
renderConditionType(index: any, currentDepth: any, currentConditionType: any, previousConditionType: any, previousIndex: any) => TemplateResult
renderConditionValue({ value, optionalValues, type, currentDepth, index, previousIndex }: any) => TemplateResult \| undefined
renderConditions() => TemplateResult
renderConditionsBody() => TemplateResult
renderHeader() => TemplateResult
renderListConditionValue(values: any, optionalValues: any, currentDepth: any, index: any, previousIndex: any) => TemplateResult
renderListWithOptionalValues(values: any, optionalValues: any, currentDepth: any, index: any, previousIndex: any) => TemplateResult
renderListWithoutOptionalValues(values: any, currentDepth: any, index: any, previousIndex: any) => TemplateResult
renderOperatorSelectionByType({ type, defaultOperator, currentDepth, index, previousIndex, optionalValues }: any) => TemplateResult \| undefined
renderResultAction() => TemplateResult
renderRootConditionHeader() => TemplateResult
renderSingleCondition({ singleCondition, index, currentConditionType, currentDepth, previousConditionType, previousIndex }: any) => TemplateResult \| undefinedA single condition can be either 'regular' condition or nested one, with other conditions in it.Example to nested condition is: singleCondition = {or: ...}Nested condition type can be only AND or OR.In case of a nested condition we will render recursively renderSingleCondition in order to get its all children (may be more than 2 depth).
renderSingleConditionValue(value: any, optionalValues: any, currentDepth: any, index: any, previousIndex: any) => TemplateResult \| undefined
rootOptionrootOptionstring
selectedActionselectedActionany
setSingleConditionTargetsNewStyle({ operationSelectionTargetSelect, valueSelectionTargetSelect, contextualMenuTarget, targetElement, operationSelectionWidth, valueSelectionWidth, attributeSelectionWidth, contextualOpacity }: { operationSelectionTargetSelect: any; valueSelectionTargetSelect: any; contextualMenuTarget: any; targetElement: any; operat...
updateConditionsSchema(newSchema: any) => void

CSS Custom Properties

PropertyDescription
--fc-logical-conditions-disabled-colordisabled color. example: gray
1.15.0

1 year ago

1.14.0

1 year ago

1.13.2

1 year ago

1.13.1

1 year ago

1.13.0

1 year ago

1.11.2

1 year ago

1.10.3

1 year ago

1.12.0

1 year ago

1.11.1

1 year ago

1.10.2

1 year ago

1.9.1

1 year ago

1.9.0

1 year ago

1.8.0

2 years ago

1.7.0

2 years ago

1.5.2

2 years ago

1.6.0

2 years ago

1.5.1

2 years ago

1.11.0

1 year ago

1.10.1

1 year ago

1.10.0

1 year ago

1.4.5

2 years ago

1.4.4

2 years ago

1.4.3

2 years ago

1.4.2

2 years ago

1.5.0

2 years ago

1.4.1

2 years ago

1.2.0

2 years ago

1.3.3

2 years ago

1.4.0

2 years ago

1.1.3

2 years ago

1.3.0

2 years ago

1.2.1

2 years ago

1.1.2

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.1

2 years ago