-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
logic events that trigger actions that set hidden will set hidden of …
…original component
- Loading branch information
1 parent
12a035b
commit 625f434
Showing
4 changed files
with
109 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
export default { | ||
components: [ | ||
{ | ||
"label": "Show", | ||
"action": "event", | ||
"showValidations": false, | ||
"tableView": false, | ||
"key": "show", | ||
"type": "button", | ||
"event": "show", | ||
"input": true | ||
}, | ||
{ | ||
"label": "Hide", | ||
"action": "event", | ||
"showValidations": false, | ||
"theme": "danger", | ||
"tableView": false, | ||
"key": "hide", | ||
"type": "button", | ||
"event": "hide", | ||
"input": true | ||
}, | ||
{ | ||
"collapsible": true, | ||
"hidden": true, | ||
"key": "panel", | ||
"logic": [ | ||
{ | ||
"name": "ShowPanel", | ||
"trigger": { | ||
"type": "event", | ||
"event": "show" | ||
}, | ||
"actions": [ | ||
{ | ||
"name": "Show", | ||
"type": "property", | ||
"property": { | ||
"label": "Hidden", | ||
"value": "hidden", | ||
"type": "boolean" | ||
}, | ||
"state": false | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "HidePanel", | ||
"trigger": { | ||
"type": "event", | ||
"event": "hide" | ||
}, | ||
"actions": [ | ||
{ | ||
"name": "Hide", | ||
"type": "property", | ||
"property": { | ||
"label": "Hidden", | ||
"value": "hidden", | ||
"type": "boolean" | ||
}, | ||
"state": true | ||
} | ||
] | ||
} | ||
], | ||
"type": "panel", | ||
"label": "Panel", | ||
"collapsed": false, | ||
"input": false, | ||
"tableView": false, | ||
"components": [] | ||
}, | ||
{ | ||
"label": "Text Field", | ||
"applyMaskOn": "change", | ||
"tableView": true, | ||
"key": "textField1", | ||
"type": "textfield", | ||
"input": true | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters