Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@aribaui/components
Advanced tools
Components module has 3 main parts:
Mostly services or one interesting core directive such as:
IncludeComponentDirective
which is key building block in order to render dynamic UI (MetaUI).
e.g:
<aw-include-component [name]="'TextFieldComponent'" [bindings]=bindings >
</aw-include-component>
You just pass a string and component is rendered dynamically.
GenericContainerComponent
is really generic component which can help you literary render any
html element. Also key building block for generating UI on the fly. We are using this component to
dynamically wrap other components.
<aw-generic-container tagName="h1" >
My title
</aw-generic-container>
FormTable
: Pretty much every place that needs to
render form fields uses this component. It support either only 1 zone layout (1 column) or multi
zone layout:
<aw-form-table [labelsOnTop]="labelsOnTop" >
<aw-form-row [label]="'a label 1'" [name]="'name'" [size]="'medium'">
<aw-input-field [name]="'name'" [value]="value1"></aw-input-field>
</aw-form-row>
<aw-form-row [label]="'a label 2'" [name]="'name2'" [size]="'medium'">
<aw-input-field [name]="'name'" [value]="value1"></aw-input-field>
</aw-form-row>=
</aw-form-table>
or
<aw-form-table [useFiveZone]="fiveZone" >
<aw-left>
<aw-form-row [label]="'a label 1'" [name]="'name'" [size]="'medium'">
<aw-input-field [name]="'name'" [value]="value1"></aw-input-field>
</aw-form-row>
</aw-left>
<aw-right>
<aw-form-row [label]="'a label 1'" [name]="'name'" [size]="'medium'">
<aw-input-field [name]="'name'" [value]="value1"></aw-input-field>
</aw-form-row>
</aw-right>
</aw-form-table>
Declarative layout
This is still on our todo
list in order to loose dependency on PrimeNG grid system or any css
grid system we might use in the future. We just want to have a component that could look like this
e.g. :
<aw-flex-layout pattern=" (hbox (vzone MYLEFT) (vzone MYRIGHT))" >
<aw-flex-content zone="MYLEFT">
some fields
</aw-flex-content>
<aw-flex-content zone="MYRIGHT">
some fields
</aw-flex-content>
</aw-flex-layout>
It would render one horizontal box with two named columns left and right for
holding a content. aw-flex-content
would just place your content into specific zone
. With this
you can define any kinds of layouts on the page. Basically the layout pattern would be parsed into a
tree and then we would traverse a tree and render each box and zone. We don't want developers to
trouble with detail of any css layout system.
Contains basic set of widgets extending existing 3th-party library http://www.primefaces.org/primeng/ to match our custom usecases.
FAQs
Ariba UI widgets and layouts based on primeng.
The npm package @aribaui/components receives a total of 3 weekly downloads. As such, @aribaui/components popularity was classified as not popular.
We found that @aribaui/components demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.