release: WRNexusJS 0.6.0

This commit is contained in:
2026-08-01 01:09:58 +05:30
parent 3e565e8d03
commit 687d345882
502 changed files with 33038 additions and 11358 deletions
+23 -20
View File
@@ -1,30 +1,33 @@
component PortalDashboard {
outputs {
action(payload: { item: string | number | boolean | null | object; value: string | number | boolean; index: number })
navigate(payload: { item: string | number | boolean | null | object; value: string | number | boolean; index: number })
}
props {
@event action = function
@event navigate = function
size = "default"
color = "primary"
eyebrow = "Overview"
eyebrowKey = ""
title = "Dashboard"
titleKey = ""
description = ""
descriptionKey = ""
userName = ""
metrics = []
actions = []
updates = []
tasks = []
class = ""
size: string = "default"
color: string = "primary"
eyebrow: string = "Overview"
eyebrowKey: string = ""
title: string = "Dashboard"
titleKey: string = ""
description: string = ""
descriptionKey: string = ""
userName: string = ""
metrics: unknown[] = []
actions: unknown[] = []
updates: unknown[] = []
tasks: unknown[] = []
class: string = ""
}
functions {
function chooseAction(item, index) {
$emit("action", { item: item, value: item.value || "", index: index })
client function chooseAction(item, index) {
output.action({ item: item, value: item.value || "", index: index })
}
function chooseNavigation(item, index) {
$emit("navigate", { item: item, value: item.value || "", index: index })
client function chooseNavigation(item, index) {
output.navigate({ item: item, value: item.value || "", index: index })
}
}