An application to show a list of records in rows and columns. These application uses React Table to build a headless and UI-less, customizable data grid tables. For more information about React Table, click here.
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
// Edit Contact (Machine) | |
const context = { | |
application_config: { | |
max_attempts: 5, | |
buttons: { | |
save: { | |
name: 'SAVE', | |
display: true, | |
disabled: 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
const config = { | |
initial: 'loading', | |
context: { | |
application_config: { | |
buttons: { | |
save_close: { | |
name: 'SAVE & CLOSE', | |
display: true, | |
disabled: 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
const context = { | |
application_config: { | |
max_attempts: 5, | |
buttons: { | |
save_close: { | |
name: 'SAVE', | |
display: true, | |
disabled: true, | |
}, | |
cancel: { |
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
const context = { | |
application_config: { | |
max_attempts: 5, | |
buttons: { | |
save_close: { | |
name: 'SAVE', | |
display: true, | |
disabled: true, | |
}, | |
cancel: { |
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
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions |
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
// credits: Kevin Dave Gerona, Dan Quesada, Kinit Lopez | |
const context = { | |
application_config: { | |
connection: { | |
max_retry_count: 5, | |
debounce_time_ms: 1000 | |
}, | |
initial_data: { | |
rows_per_page_items: [5, 10, 20] | |
}, |
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
const context = { | |
application_config: { | |
max_attempts: 5 | |
}, | |
application_data: { | |
data: {}, | |
record: {}, | |
entity: 'users', | |
attempts: 0 | |
} |
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
const context = { | |
application_config: { | |
max_attempts: 5, | |
}, | |
application_data: { | |
attempts: 0, | |
}, | |
} | |
const config = { |
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
const context = { | |
application_config: { | |
max_attempts: 5, | |
}, | |
application_data: { | |
attempts: 0, | |
}, | |
} | |
const config = { |