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
// import 'reflect-metadata' | |
type TCallback = (prev?: any) => void | |
type TSetStateParam = TCallback | any | |
type SetState = (param: TSetStateParam) => void | |
// Property Decorator | |
const UseState = function(initialValue: any) { | |
return function(target: any, key: string) { |
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
// Location Rate Templates - Counter (Machine) | |
const context = { | |
application_config: { | |
max_attempts: 5, | |
buttons: { | |
cancel: { | |
name: 'CANCEL', | |
display_name: 'Cancel', | |
icon: 'close', | |
display: 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
// Location Summary - Counter (Machine) | |
const context = { | |
application_data: { | |
record: {} | |
}, | |
params: { | |
id: '' | |
} | |
} |
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 Location - Counter (Machine) | |
const context = { | |
application_config: { | |
max_attempts: 5, | |
buttons: { | |
save: { | |
name: 'SAVE', | |
display_name: 'Save Changes', | |
icon: 'check', | |
display: 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
// New Location - Counter (Machine) | |
const context = { | |
application_config: { | |
max_attempts: 5, | |
buttons: { | |
save_close: { | |
name: 'SAVE & CLOSE', | |
display_name: 'Save & Close', | |
icon: 'check', | |
display: 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
// 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
// Contact Summary (Machine) | |
const context = { | |
application_data: { | |
record: { | |
id: '', | |
address: '', | |
company_name: '', | |
emails: [], | |
first_name: '', | |
title: '', |
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
// New Contact (Machine) | |
const context = { | |
application_config: { | |
max_attempts: 5, | |
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
// Contact Summary (Machine) | |
const context = { | |
application_data: { | |
record: { | |
id: '', | |
address: '', | |
company_name: '', | |
emails: [], | |
first_name: '', | |
title: '', |
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
// New Contact (Machine) | |
const context = { | |
application_config: { | |
max_attempts: 5, | |
buttons: { | |
save_close: { | |
name: 'SAVE & CLOSE', | |
display: true, | |
disabled: true, | |
}, |
NewerOlder