
Research
/Security News
Weaponizing Discord for Command and Control Across npm, PyPI, and RubyGems.org
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
@sap-devx/controls-navigator
Advanced tools
Navigator is a navigation control . It can display the groups in a way like wizard steps or tabs control
navigationType
It can be two values:
prompt-index
It is the current group index(zero based)
prompts
It is the groups array, for example:
[{name:”database”},{name:”authorization”}]
{
promptName:”group1”,
answers:[
{
"label":"prop1",
"value":"value1",
"type":"warning",
},
{
"label":"prop1",
"value":"value1"
}
]
}
{
"group1":[
{
"label":"prop1",
"value":"value1"
},
{
"label":"prop1",
"value":"value1"
}
],
"group2":[
{
"label":"prop1",
"value":"value1"
}
]
}
If writing a Vue application, simply add the following line to your <template>
tag:
<NavigatorControl
:prompt-index="promptIndex"
:prompts="prompts"
:all-answers=" allAnswers "
:prompt-answers="{}"
navigation-type="tab"
@on-goto-step="gotoStep"
:showIconForError="true"
/>
The properties values looks like the following:
{
promptIndex:0,
prompts:[{name: "group1"},{name:"group2"}],
allAnswers:{
group1:[
{label:"akey1", value: "aType"},
{label:"akey2", value: "a", type: "warning"}
],
group2:[
{label:"bkey1", value: "bType"},
{label:"", value: "b"}
]
},
promptAnswers:{},
navigationType:"tab"
}
Import the control:
import NavigatorControl from "@sap-devx/controls-navigator";
const naviOptions = { vuetify };
app.use(NavigatorControl, naviOptions);
Import the css file:
import "@sap-devx/controls-navigator/dist/navigator-control.css";
Override style for specific navigator type
For tab style
For stepper style
Override “group summary” styles
To get more help, support and information please open a github issue.
Contributing information can be found in the CONTRIBUTING.md file.
3.4.6 (2025-07-15)
Note: Version bump only for package root
FAQs
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
/Security News
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
Security News
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Research
The Socket Threat Research Team is tracking weekly intrusions into the npm registry that follow a repeatable adversarial playbook used by North Korean state-sponsored actors.