primo-explore-dom
Advanced tools
Comparing version 0.0.8 to 0.0.9
{ | ||
"name": "primo-explore-dom", | ||
"version": "0.0.8", | ||
"version": "0.0.9", | ||
"description": "A simple Domain Object Model for Primo 5", | ||
@@ -5,0 +5,0 @@ "main": "js/custom.js", |
### This is a __pre-release__: you can help us make it better. | ||
### Current version 0.0.7 | ||
### Current version 0.0.9 | ||
- extracted ui to its own project [primo-explore-dom-ui](https://github.com/mehmetc/primo-explore-dom-ui) | ||
- added user.loans | ||
- add Helper.loadScript() | ||
- Primo.version now displays library version and Primo version & hot fix | ||
- Possibility to drill down on a service in the UI | ||
- Better check if reloadWithDebugInfo() was ran | ||
- explorer UI popups automatically when Primo UI is loaded with angular.reloadWithDebugInfo() | ||
- some general refactoring | ||
- fixed an issue that would prevent explore.ui.toggle() from running twice | ||
### version 0.0.8 | ||
- refactoring of ui | ||
- better component ctrl discovery | ||
- ui component property display | ||
- unhandle promise | ||
### version 0.0.7 | ||
- user fines | ||
@@ -41,3 +58,3 @@ - better ctrl discovery | ||
7. Test. | ||
* ```gulp run --view YOUR_VIEW_CODE``` | ||
* ```gulp run --view YOUR_VIEW_CODE --proxy http://my.primo.com``` | ||
* Open your web browser and go to http://localhost:8003/primo-explore/search?vid=YOUR_VIEW_CODE | ||
@@ -82,2 +99,3 @@ | ||
- [UI](#ui) | ||
- [Examples](#examples) | ||
@@ -290,1 +308,17 @@ # General<a name="general"></a> | ||
 | ||
# Examples<a name="examples"></a> | ||
### Display the _user name_ after the logo | ||
```js | ||
app.component('prmLogoAfter', { | ||
bindings: { | ||
parentCtrl : '<' | ||
}, | ||
template: '<div>{{$ctrl.user}}</div>', | ||
controller: function(){ | ||
let ctrl = this; | ||
ctrl.user = ''; | ||
Primo.user.then(u => ctrl.user = u.name); | ||
} | ||
}); | ||
``` |
Sorry, the diff of this file is too big to display
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
108114
1225
322
2