WIP: account info modal prototype with a little bit of pinia state mgmt.

This commit is contained in:
Cindy Chang
2024-06-20 12:13:39 +08:00
parent d6a79687da
commit 26441d3979
9 changed files with 183 additions and 47 deletions

View File

@@ -1,12 +1,41 @@
export const PRIME_VUE_TICKS_LIMIT = 6;
export const GRID_COLOR = '#64748b';
export const MODAL_CREATE_NEW = 'MODAL_CREATE_NEW';
export const MODAL_ACCT_EDIT = 'MODAL_ACCT_EDIT';
export const MODAL_ACCT_INFO = 'MODAL_ACCT_INFO';
export const knownLayoutChartOption = {
padding: {
top: 16,
left: 8,
right: 8,
}
};
};
export const accountList = [
{
id: 12345,
account: "REDACTED-USER1",
fullName: "Alice Zheng",
adminRights: true,
accountActivation: true,
detail: "abcde",
},
{
id: 345,
account: "REDACTED-USER2",
fullName: "Mike Chen",
adminRights: true,
accountActivation: true,
detail: "abcde",
},
{
id: 88,
account: "REDACTED-USER3",
fullName: "Tory Cheng",
adminRights: true,
accountActivation: true,
detail: "abcde",
},
];
export const knownScaleLineChartOptions = {
x: {
type: 'time',