Skip to content

Commit

Permalink
Merge pull request #337 from LuccaSA/3.0.2
Browse files Browse the repository at this point in the history
3.0.2
  • Loading branch information
lucienbertin authored Oct 11, 2016
2 parents 9a9037a + 9828efb commit 85a32a7
Show file tree
Hide file tree
Showing 10 changed files with 59 additions and 807 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Change log

## 3.0.3 - [release](https://github.com/LuccaSA/lucca-ui/releases/tag/3.0.3)

### Bug fixes

## 3.0.2 - [release](https://github.com/LuccaSA/lucca-ui/releases/tag/3.0.2)

### Bug fixes
- user-picker - fix nullrefex due to the new rights on api/v3/users

## 3.0.1 - [release](https://github.com/LuccaSA/lucca-ui/releases/tag/3.0.1)

### Bug fixes
Expand Down
10 changes: 7 additions & 3 deletions config/ts.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,15 @@ module.exports = function(grunt, options){
},
dist:{
src: [
"ts/**/*.ts",
// "ts/**/*.ts",
"ts/*.ts",
"ts/config/*.ts",
"ts/date-picker/*.ts",
"ts/filters/*.ts",
"ts/progress-bar/*.ts",
"ts/utils/*.ts",
"!ts/**/*.spec.ts",
"!ts/**/*.e2e.ts",
"!ts/table-grid/**/*.*",
"!ts/notify-service/**/*.*",
"typings/index.d.ts"
],
dest: ".temp/lucca-ui-ts.js",
Expand Down
43 changes: 5 additions & 38 deletions dist/custom/lucca-ui-spe.js
Original file line number Diff line number Diff line change
Expand Up @@ -1646,7 +1646,9 @@
// Add each property to the user
_.each(props, function(prop) {
var newProp = prop.name.split('.')[0];
user[newProp] = userWithProps[newProp];
if (!!userWithProps && !!userWithProps[newProp]) {
user[newProp] = userWithProps[newProp];
}
});
});

Expand Down Expand Up @@ -2395,7 +2397,7 @@ var Lui;
return LuipConfig;
}());
var Config = (function () {
function Config(conf, $log, cgNotify) {
function Config(conf, $log) {
_.extend(this, conf);
if (!this.parentElt && !!this.parentTagIdClass) {
var parentTagIdClass = this.parentTagIdClass || "body";
Expand Down Expand Up @@ -4456,41 +4458,6 @@ var Lui;
})(Service = Lui.Service || (Lui.Service = {}));
})(Lui || (Lui = {}));
var Lui;
(function (Lui) {
var Directives;
(function (Directives) {
var Iban;
(function (Iban) {
"use strict";
var SelectNext = (function () {
function SelectNext() {
this.restrict = "A";
}
SelectNext.factory = function () {
var directive = function () {
return new SelectNext();
};
return directive;
};
SelectNext.prototype.link = function (scope, element, attrs) {
element.on("input", function (event) {
if (!!element[0].maxLength && (element[0].value.length === element[0].maxLength)) {
var nextElements = element.next();
if (nextElements.length) {
nextElements[0].select();
}
}
});
};
SelectNext.IID = "selectNext";
return SelectNext;
}());
Iban.SelectNext = SelectNext;
angular.module("lui.directives").directive(SelectNext.IID, SelectNext.factory());
})(Iban = Directives.Iban || (Directives.Iban = {}));
})(Directives = Lui.Directives || (Lui.Directives = {}));
})(Lui || (Lui = {}));
var Lui;
(function (Lui) {
var Directives;
(function (Directives) {
Expand Down Expand Up @@ -5179,7 +5146,7 @@ var Lui;


$templateCache.put('lui/templates/formly/fields/radio.html',
"<div class=\"lui {{::options.templateOptions.display}} field\"><div class=\"lui radio input\" ng-repeat=\"choice in options.templateOptions.choices\"><input id=\"{{::id}}_{{$index}}\" type=\"radio\" name=\"{{::id}}\" ng-model=\"model[options.key]\" ng-required=\"{{options.templateOptions.required}}\" ng-disabled=\"options.templateOptions.disabled\" ng-value=\"choice\"><label for=\"{{::id}}_{{$index}}\">{{ choice.label }}</label></div><small class=\"message helper\">{{ options.templateOptions.helper}}</small> <small class=\"message error lui animated up fade in\" ng-show=\"form.{{::id}}.$touched && form.{{::id}}.$error.required\">{{::options.templateOptions.requiredError}}</small><label>{{ options.templateOptions.label }}</label></div>"
"<div class=\"lui {{::options.templateOptions.display}} field\"><div class=\"lui input\"><div class=\"lui radio input\" ng-repeat=\"choice in options.templateOptions.choices\"><input id=\"{{::id}}_{{$index}}\" type=\"radio\" name=\"{{::id}}\" ng-model=\"model[options.key]\" ng-required=\"{{options.templateOptions.required}}\" ng-disabled=\"options.templateOptions.disabled\" ng-value=\"choice\"><label for=\"{{::id}}_{{$index}}\">{{ choice.label }}</label></div><label>{{ options.templateOptions.label }}</label></div><small class=\"message helper\">{{ options.templateOptions.helper}}</small> <small class=\"message error lui animated up fade in\" ng-show=\"form.{{::id}}.$touched && form.{{::id}}.$error.required\">{{::options.templateOptions.requiredError}}</small></div>"
);


Expand Down
10 changes: 5 additions & 5 deletions dist/custom/lucca-ui-spe.min.js

Large diffs are not rendered by default.

8 changes: 0 additions & 8 deletions dist/lucca-ui.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -346,14 +346,6 @@ declare module Lui.Service {
getDomElement: () => ng.IAugmentedJQuery;
}
}
declare module Lui.Directives.Iban {
class SelectNext implements ng.IDirective {
static IID: string;
restrict: string;
static factory(): angular.IDirectiveFactory;
link(scope: ng.IScope, element: ng.IAugmentedJQuery, attrs: ng.IAttributes): void;
}
}
declare module Lui.Directives.TableGrid {
class Tree {
node: Header;
Expand Down
2 changes: 1 addition & 1 deletion dist/lucca-ui.global.min.css

Large diffs are not rendered by default.

Loading

0 comments on commit 85a32a7

Please sign in to comment.