Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@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"
/>
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.
FAQs
Navigator control
The npm package @sap-devx/controls-navigator receives a total of 0 weekly downloads. As such, @sap-devx/controls-navigator popularity was classified as not popular.
We found that @sap-devx/controls-navigator demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers collaborating on the project.
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 a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.