Skip to content
This repository was archived by the owner on Nov 21, 2024. It is now read-only.

Commit 80a3825

Browse files
committed
Merge branch 'release/1.30.1'
2 parents a5712af + ab80b2a commit 80a3825

File tree

15 files changed

+48
-32
lines changed

15 files changed

+48
-32
lines changed

CHANGELOG.md

+12
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
<a name="1.30.1"></a>
2+
## [1.30.1](https://github.com/rucken/core/compare/1.30.0...1.30.1) (2018-01-12)
3+
4+
5+
### Bug Fixes
6+
7+
* **base-resource-select-input:** Set default value for inputReadonly to false ([d70152a](https://github.com/rucken/core/commit/d70152a))
8+
* **navbar:** Remove show changelog modal on first open site ([20d40e3](https://github.com/rucken/core/commit/20d40e3))
9+
* **select-input:** Add ignore errors if item prop is readonly ([c4038fc](https://github.com/rucken/core/commit/c4038fc))
10+
11+
12+
113
<a name="1.30.0"></a>
214
# [1.30.0](https://github.com/rucken/core/compare/1.29.1...1.30.0) (2018-01-10)
315

apps/demo/src/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<meta charset="utf-8">
33
<title>Rucken: Demo</title>
44
<base href="/">
5-
<meta name="version" content="1.30.0">
5+
<meta name="version" content="1.30.1">
66
<meta name="viewport" content="width=device-width, initial-scale=1">
77
<link rel="icon" type="image/x-icon" href="favicon.ico">
88
<link href="assets/css/please-wait.css" rel="stylesheet">

libs/core/src/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@rucken/core",
3-
"version": "1.30.0",
3+
"version": "1.30.1",
44
"description": "Core with base class and admin entities for application maked on Angular5+",
55
"keywords": [
66
"ngx",

libs/web/src/base/base-resources-grid/base-resource-input/base-resource-input.component.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export class BaseResourceInputComponent extends BaseComponent {
1515
@Input()
1616
lookupTooltip?: string;
1717
@Input()
18-
lookupIcon?= 'fa fa-search';
18+
lookupIcon = 'fa fa-search';
1919
@Input()
2020
readonly?: boolean;
2121
@Input()

libs/web/src/base/base-resources-grid/base-resource-select-input/base-resource-select-input.component.ts

+6-6
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@ import { BaseResourcesListComponent } from '../base-resources-list/base-resource
1515
export class BaseResourceSelectInputComponent extends BaseResourcesListComponent {
1616

1717
@Input()
18-
labelClass?= 'control-label';
18+
labelClass = 'control-label';
1919
@Input()
20-
inputClass?= 'form-control';
20+
inputClass = 'form-control';
2121
@Input()
22-
inputFrameClass?= '';
22+
inputFrameClass = '';
2323
@Input()
24-
lookupTooltip?: string;
24+
lookupTooltip: string;
2525
@Input()
26-
lookupIcon?= 'fa fa-search';
26+
lookupIcon = 'fa fa-search';
2727
@Input()
2828
readonly?: boolean;
2929
@Input()
@@ -103,7 +103,7 @@ export class BaseResourceSelectInputComponent extends BaseResourcesListComponent
103103
this.hardReadonly = false;
104104
}
105105
if (this.inputReadonly === undefined) {
106-
this.inputReadonly = true;
106+
this.inputReadonly = false;
107107
}
108108
if (this.inputElement) {
109109
this.inputElement.hardValue = this.hardValue;

libs/web/src/base/base-resources-grid/base-resources-list-modal/base-resources-list-modal.component.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ import { BaseModalComponent } from './../../base-modal/base-modal.component';
99
export class BaseResourceListModalComponent extends BaseModalComponent {
1010

1111
@Input()
12-
readonly?= false;
12+
readonly = false;
1313
@Input()
14-
hardReadonly?= false;
14+
hardReadonly = false;
1515

1616
item: any = {};
1717
items: any[] = [];

libs/web/src/controls/checkboxes-input/checkboxes-input.component.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ export class CheckboxesInputComponent extends BaseComponent {
1616
inputElement: ElementRef;
1717

1818
@Input()
19-
labelClass?= 'control-label';
19+
labelClass = 'control-label';
2020
@Input()
21-
inputClass?= 'control-label checkbox-inline';
21+
inputClass = 'control-label checkbox-inline';
2222
@Input()
23-
inputFrameClass?= 'form-control form-checkbox-controls';
23+
inputFrameClass = 'form-control form-checkbox-controls';
2424
@Input()
2525
readonly = false;
2626
@Input()

libs/web/src/controls/grid-row-buttons/grid-row-buttons.component.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ export class GridRowButtonsComponent extends BaseComponent {
1515
@Input()
1616
removeTitle?: string;
1717
@Input()
18-
editIcon?= 'fa fa-pencil-square-o';
18+
editIcon = 'fa fa-pencil-square-o';
1919
@Input()
20-
removeIcon?= 'fa fa-remove';
20+
removeIcon = 'fa fa-remove';
2121
@Input()
22-
editIconColor?= ''; // text-primary';
22+
editIconColor = ''; // text-primary';
2323
@Input()
24-
removeIconColor?= ''; // 'text-warning';
24+
removeIconColor = ''; // 'text-warning';
2525
@Output()
2626
onEdit: EventEmitter<boolean> = new EventEmitter<boolean>();
2727
@Output()

libs/web/src/controls/navbar/navbar.component.ts

-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,6 @@ export class NavbarComponent extends BaseComponent {
107107
}
108108
initVersion() {
109109
if (this.app.localVersion !== this.app.currentVersion) {
110-
this.showChangeLog();
111110
this.app.localVersion = this.app.currentVersion;
112111
}
113112
}

libs/web/src/controls/radios-input/radios-input.component.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ export class RadiosInputComponent extends BaseComponent {
1515
inputElement: ElementRef;
1616

1717
@Input()
18-
labelClass?= 'control-label';
18+
labelClass = 'control-label';
1919
@Input()
20-
inputClass?= 'control-label checkbox-inline';
20+
inputClass = 'control-label checkbox-inline';
2121
@Input()
22-
inputFrameClass?= 'form-control form-radio-controls';
22+
inputFrameClass = 'form-control form-radio-controls';
2323
@Input()
2424
readonly = false;
2525
@Input()

libs/web/src/controls/select-input/select-input.component.ts

+10-5
Original file line numberDiff line numberDiff line change
@@ -24,17 +24,17 @@ export class SelectInputComponent extends BaseComponent {
2424
inputElement: ElementRef;
2525

2626
@Input()
27-
debounceTime?: number;
27+
debounceTime: number;
2828
@Output()
2929
onChangeInputValue: EventEmitter<string> = new EventEmitter<string>();
3030
@Output()
3131
onInputFocus: EventEmitter<string> = new EventEmitter<string>();
3232
@Input()
33-
labelClass?= 'control-label';
33+
labelClass = 'control-label';
3434
@Input()
35-
inputClass?= 'form-control';
35+
inputClass = 'form-control';
3636
@Input()
37-
inputFrameClass?= '';
37+
inputFrameClass = '';
3838
@Input()
3939
inFormGroup = true;
4040
@Input()
@@ -73,7 +73,12 @@ export class SelectInputComponent extends BaseComponent {
7373
return this.dataSource;
7474
}
7575
return this._items.map(item => {
76-
item[this.inputTitleField] = this.getInputTitle(item);
76+
// todo: refactor
77+
try {
78+
item[this.inputTitleField] = this.getInputTitle(item);
79+
} catch (error) {
80+
81+
}
7782
return item;
7883
});
7984
}

libs/web/src/controls/text-input/text-input.component.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ export class TextInputComponent extends BaseComponent {
2424
tooltip: TooltipDirective;
2525

2626
@Input()
27-
labelClass?= 'control-label';
27+
labelClass = 'control-label';
2828
@Input()
29-
inputClass?= 'form-control';
29+
inputClass = 'form-control';
3030
@Input()
3131
inputFrameClass?: string;
3232
@Input()

libs/web/src/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@rucken/web",
3-
"version": "1.30.0",
3+
"version": "1.30.1",
44
"description": "Base components, services and ui for admin entities for application maked on Angular5+",
55
"keywords": [
66
"ngx",

package-lock.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "rucken",
3-
"version": "1.30.0",
3+
"version": "1.30.1",
44
"license": "MIT",
55
"author": "EndyKaufman <[email protected]>",
66
"engines": {

0 commit comments

Comments
 (0)