diff --git a/.angular-cli.json b/.angular-cli.json index cd71a480..e70507f1 100644 --- a/.angular-cli.json +++ b/.angular-cli.json @@ -19,7 +19,6 @@ "tsconfig": "tsconfig.json", "prefix": "app", "styles": [ - "../../../node_modules/ladda/css/ladda.scss", "styles.scss" ], "scripts": [], diff --git a/.gitignore b/.gitignore index 1f639cbe..9c29388c 100644 --- a/.gitignore +++ b/.gitignore @@ -4,6 +4,7 @@ .tmp dist tmp +.ng_pkg_build out-tsc *.tgz diff --git a/CHANGELOG.md b/CHANGELOG.md index 788d546f..9576f470 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,30 @@ + +# [1.30.0](https://github.com/rucken/core/compare/1.29.1...1.30.0) (2018-01-10) + + +### Bug Fixes + +* **base:** Add @Input to title for base page and frame ([3a6bd4f](https://github.com/rucken/core/commit/3a6bd4f)) +* **base:** Remove interfaces change its to classes [#83](https://github.com/rucken/core/issues/83) ([aace802](https://github.com/rucken/core/commit/aace802)) +* **base-resource-list:** If used mock items and not set perPage, set default to 10 items on per page ([22e4405](https://github.com/rucken/core/commit/22e4405)) +* **deps:** Remove [@ngui](https://github.com/ngui)/auto-complete and angular2-ladda ([140abe6](https://github.com/rucken/core/commit/140abe6)) +* **deps:** Update dependencies ([92b7850](https://github.com/rucken/core/commit/92b7850)) +* **profile-frame:** Fix error in update profile [#82](https://github.com/rucken/core/issues/82) ([8eb1821](https://github.com/rucken/core/commit/8eb1821)) +* **select-input:** Fix work typeahead and add async loading [#81](https://github.com/rucken/core/issues/81) ([bf2d031](https://github.com/rucken/core/commit/bf2d031)) +* **styles:** Remove custom styles like "app-grid-...." and others [#101](https://github.com/rucken/core/issues/101) ([5ce1ee2](https://github.com/rucken/core/commit/5ce1ee2)) +* **text-input:** Set null if date value is invalid ([9baed6d](https://github.com/rucken/core/commit/9baed6d)) +* **user-components:** Add check userGroups before set/get values from its ([4bc7576](https://github.com/rucken/core/commit/4bc7576)) +* Add update local items on change mock items ([6b55cbf](https://github.com/rucken/core/commit/6b55cbf)) + + +### Features + +* **base:** Add interfaces for service and model and implements all from its [#83](https://github.com/rucken/core/issues/83) ([f043bec](https://github.com/rucken/core/commit/f043bec)) +* **text-input:** Change datepicker component for new ngx-bootstrap style [#81](https://github.com/rucken/core/issues/81) ([4272629](https://github.com/rucken/core/commit/4272629)) +* **user.model:** Add checkGroups method ([7849399](https://github.com/rucken/core/commit/7849399)) + + + ## [1.29.1](https://github.com/rucken/core/compare/1.29.0...1.29.1) (2017-12-14) diff --git a/apps/demo/src/app/app.component.scss b/apps/demo/src/app/app.component.scss deleted file mode 100644 index e69de29b..00000000 diff --git a/apps/demo/src/app/app.component.ts b/apps/demo/src/app/app.component.ts index 32440f27..f0fbaab8 100644 --- a/apps/demo/src/app/app.component.ts +++ b/apps/demo/src/app/app.component.ts @@ -1,8 +1,8 @@ -import { Component, ComponentFactoryResolver, Injector, ViewContainerRef, ViewEncapsulation } from '@angular/core'; +import { Component, ComponentFactoryResolver, Injector, ViewContainerRef } from '@angular/core'; import { NavigationEnd, Router } from '@angular/router'; import { RuckenCoreRuI18n, translate } from '@rucken/core'; import { AlertModalComponent, BaseAppComponent, RuckenWebRuI18n } from '@rucken/web'; -import * as _ from 'lodash'; +import * as lodashImported from 'lodash'; const _ = lodashImported; import { defineLocale } from 'ngx-bootstrap/bs-moment'; import { enGb, ru } from 'ngx-bootstrap/locale'; import { takeUntil } from 'rxjs/operators'; @@ -15,9 +15,7 @@ defineLocale('en', enGb); @Component({ selector: 'demo-root', templateUrl: './app.component.html', - styleUrls: ['./app.component.scss'], - entryComponents: [AlertModalComponent], - encapsulation: ViewEncapsulation.None + entryComponents: [AlertModalComponent] }) export class DemoAppComponent extends BaseAppComponent { diff --git a/apps/demo/src/app/app.module.ts b/apps/demo/src/app/app.module.ts index 9c6d7637..c673653e 100644 --- a/apps/demo/src/app/app.module.ts +++ b/apps/demo/src/app/app.module.ts @@ -18,7 +18,6 @@ import { WebThemesService, WebTokenService, } from '@rucken/web'; -import { LaddaModule } from 'angular2-ladda'; import { ComponentLoaderFactory, PaginationConfig, @@ -43,11 +42,6 @@ import { DemoHttpHelper } from './shared/helpers/http.helper'; BrowserModule, FormsModule, HttpClientModule, - LaddaModule.forRoot({ - style: 'expand-left', - spinnerColor: 'white', - spinnerLines: 12 - }), TranslateModule.forRoot({ loader: { provide: TranslateLoader, useClass: TranslateFakeLoader } }), diff --git a/apps/demo/src/app/controls/navbar/navbar.component.html b/apps/demo/src/app/controls/navbar/navbar.component.html index 1388d26a..e64e270a 100644 --- a/apps/demo/src/app/controls/navbar/navbar.component.html +++ b/apps/demo/src/app/controls/navbar/navbar.component.html @@ -1,25 +1,25 @@ -