Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Andrey Shilov
Ngx Bootstrap
Commits
17036345
Commit
17036345
authored
9 years ago
by
Dmitriy Shekhovtsov
Browse files
Options
Download
Email Patches
Plain Diff
chore(package): updated 3rd party dependecies
parent
95aca012
development
add-focus-trap-angular-cdk
allow-click-dblclick-events-for-datepicker
bs5-alerts
bs5-carousel
bs5-libs-accordion
bs5-libs-common-docs-common
bs5-libs-datepicker
bs5-libs-dropdown
bs5-libs-modal
bs5-libs-tabs
bs5-ngx-bootstrap-docs
bs5-rating
ci-polish
e2e-fix-different-spec-files
e2e-tests-poc-bdd
feat-a11y-focus-trap
feat-build-ivy-support
feat-build-migrate-to-angular8-rc3
feat-dropdown-animation
feat-modal-service-v2
feat-prevent-tab-select
feat-tests-demo
feature/fix-datepicker
fix-chronos-issue
fix-collapse-display
fix-datepicker-ivy
fix-dropdown-inside-click
fix-dropdowns-up
fix-progress-bar-not-working-on-prod
fix-timepicker-time-convertation-with-meridian
generated-libs-errors
hide-tooltip-after-delay
master
refactor-timepicker
refactor-tooltip-rxjs-events
sr-locale
test-position-aplitools
toggleCarouselIndicatorViaProp
v6.2.0
v6.1.0
v6.0.0
v5.7.0
v5.6.2
v5.6.1
v5.6.0
v5.5.0
v5.4.0
v5.3.2
v5.3.1
v5.3.0
v5.2.0
v5.1.2
v5.1.1
v5.1.0
v5.0.0
v4.3.0
v4.2.0
v4.1.1
v4.0.1
v4.0.0
v3.3.0
v3.2.0
v3.1.4
v3.1.3
v3.1.2
v3.1.1
v3.1.0
v3.0.1
v3.0.0
v3.0.0-RC.1
v2.0.5
v2.0.4
v2.0.3
v2.0.2
v2.0.1
v2.0.0
v2.0.0-rc.1
v2.0.0-rc.0
v2.0.0-beta.11
v2.0.0-beta.10
v2.0.0-beta.9
v2.0.0-beta.8
v2.0.0-beta.7
v2.0.0-beta.6
v2.0.0-beta.5
v2.0.0-beta.4
v2.0.0-beta.3
v1.9.3
v1.9.2
v1.9.1
v1.9.0
v1.8.1
v1.8.0
v1.7.1
v1.7.0
v1.6.6
v1.6.5
v1.6.4
v1.6.3
v1.6.2
v1.6.1
v1.6.0
v1.5.0
v1.4.2
v1.4.1
v1.4.0
v1.3.3
v1.3.2
v1.3.1
v1.3.0
v1.2.6
v1.2.5
v1.2.4
v1.2.3
v1.2.2
v1.2.1
v1.2.0
v1.1.17
v1.1.16
v1.1.16-11
v1.1.16-9
v1.1.16-8
v1.1.16-7
v1.1.16-6
v1.1.16-5
v1.1.16-4
v1.1.16-3
v1.1.16-2
v1.1.15
v1.1.14
v1.1.14-1
v1.1.14-0
v1.1.13
v1.1.13-1
v1.1.13-0
v1.1.12
v1.1.11
v1.1.10
v1.1.9
v1.1.8
v1.1.7
v1.1.6
v1.1.5
v1.1.4
v1.1.3
v1.1.2
v1.1.1
v1.1.0
v1.0.24
v1.0.23
v1.0.22
v1.0.21
v1.0.20
v1.0.19
v1.0.18
v1.0.17
No related merge requests found
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
.travis.yml
+5
-3
.travis.yml
components/alert/alert.component.spec.ts
+2
-1
components/alert/alert.component.spec.ts
components/datepicker/daypicker.component.ts
+2
-2
components/datepicker/daypicker.component.ts
components/datepicker/yearpicker.component.ts
+2
-1
components/datepicker/yearpicker.component.ts
demo/components/progressbar/progressbar-demo.ts
+2
-1
demo/components/progressbar/progressbar-demo.ts
gulp-tasks/lint.js
+4
-2
gulp-tasks/lint.js
gulpfile.js
+0
-9
gulpfile.js
package.json
+14
-16
package.json
with
31 additions
and
35 deletions
+31
-35
.travis.yml
View file @
17036345
...
...
@@ -3,9 +3,11 @@ node_js:
-
"
6"
script
:
-
npm run flow.install:typings
-
npm test
-
./node_modules/.bin/codecov
-
npm run flow.install:typings
-
npm test
after_success
:
-
./node_modules/.bin/codecov
addons
:
# sauce labs tunel connector (read more https://docs.travis-ci.com/user/sauce-connect/ )
...
...
This diff is collapsed.
Click to expand it.
components/alert/alert.component.spec.ts
View file @
17036345
...
...
@@ -3,7 +3,8 @@ import { TestComponentBuilder, ComponentFixture } from '@angular/compiler/testin
import
{
AlertComponent
}
from
'
./alert.component
'
;
describe
(
'
Component: Alert
'
,
()
=>
{
let
fixture
:
ComponentFixture
<
any
>
,
context
:
any
;
let
fixture
:
ComponentFixture
<
any
>
;
let
context
:
any
;
const
overTemplate
=
`
<div class="alert" role="alert" [ngClass]="classes" *ngIf="!closed">
<button *ngIf="dismissible" type="button" class="close" (click)="onClose()" (touch)="onClose()">
...
...
This diff is collapsed.
Click to expand it.
components/datepicker/daypicker.component.ts
View file @
17036345
...
...
@@ -150,8 +150,8 @@ export class DayPickerComponent implements OnInit {
if
(
this
.
showWeeks
)
{
self
.
weekNumbers
=
[];
let
thursdayIndex
=
(
4
+
7
-
this
.
startingDay
)
%
7
,
numWeeks
=
self
.
rows
.
length
;
let
thursdayIndex
=
(
4
+
7
-
this
.
startingDay
)
%
7
;
let
numWeeks
=
self
.
rows
.
length
;
for
(
let
curWeek
=
0
;
curWeek
<
numWeeks
;
curWeek
++
)
{
self
.
weekNumbers
.
push
(
self
.
getISO8601WeekNumber
(
self
.
rows
[
curWeek
][
thursdayIndex
].
date
));
}
...
...
This diff is collapsed.
Click to expand it.
components/datepicker/yearpicker.component.ts
View file @
17036345
...
...
@@ -86,8 +86,9 @@ export class YearPickerComponent implements OnInit {
this
.
datePicker
.
setRefreshViewHandler
(
function
():
void
{
let
years
:
Array
<
any
>
=
new
Array
(
this
.
yearRange
);
let
date
:
Date
;
let
start
=
self
.
getStartingYear
(
this
.
activeDate
.
getFullYear
());
for
(
let
i
=
0
,
start
=
self
.
getStartingYear
(
this
.
activeDate
.
getFullYear
())
;
i
<
this
.
yearRange
;
i
++
)
{
for
(
let
i
=
0
;
i
<
this
.
yearRange
;
i
++
)
{
date
=
new
Date
(
start
+
i
,
0
,
1
);
date
=
this
.
fixTimeZone
(
date
);
years
[
i
]
=
this
.
createDateObject
(
date
,
this
.
formatYear
);
...
...
This diff is collapsed.
Click to expand it.
demo/components/progressbar/progressbar-demo.ts
View file @
17036345
...
...
@@ -53,7 +53,8 @@ export class ProgressbarDemoComponent {
this
.
stacked
=
[];
let
total
=
0
;
for
(
let
i
=
0
,
n
=
Math
.
floor
((
Math
.
random
()
*
4
)
+
1
);
i
<
n
;
i
++
)
{
let
n
=
Math
.
floor
((
Math
.
random
()
*
4
)
+
1
);
for
(
let
i
=
0
;
i
<
n
;
i
++
)
{
let
index
=
Math
.
floor
((
Math
.
random
()
*
4
));
let
value
=
Math
.
floor
((
Math
.
random
()
*
30
)
+
1
);
total
+=
value
;
...
...
This diff is collapsed.
Click to expand it.
gulp-tasks/lint.js
View file @
17036345
...
...
@@ -2,11 +2,13 @@
const
gulp
=
require
(
'
gulp
'
);
const
tslint
=
require
(
'
gulp-tslint
'
);
const
paths
=
gulp
.
paths
;
const
gitignore
=
require
(
'
gitignore-to-glob
'
)();
gitignore
.
push
(
'
**/*.ts
'
);
gulp
.
task
(
'
tslint
'
,
()
=>
gulp
.
src
(
paths
.
tssrc
)
.
src
(
gitignore
)
.
pipe
(
tslint
())
.
pipe
(
tslint
.
report
(
'
prose
'
,
{
emitError
:
true
,
...
...
This diff is collapsed.
Click to expand it.
gulpfile.js
View file @
17036345
...
...
@@ -2,15 +2,6 @@
const
gulp
=
require
(
'
gulp
'
);
gulp
.
paths
=
{
tssrc
:
[
'
**/*.ts
'
,
'
!**/*.d.ts
'
,
'
!node_modules/**/*
'
,
'
!bundles/**/*
'
,
'
!typings/**/*
'
]
};
require
(
'
require-dir
'
)(
'
./gulp-tasks
'
);
gulp
.
task
(
'
default
'
,
()
=>
{
...
...
This diff is collapsed.
Click to expand it.
package.json
View file @
17036345
...
...
@@ -14,7 +14,7 @@
"flow.tslint"
:
"./node_modules/.bin/gulp lint"
,
"flow.lint"
:
"npm run flow.eslint && npm run flow.tslint"
,
"flow.changelog"
:
"./node_modules/.bin/conventional-changelog -i CHANGELOG.md -s -p angular -v"
,
"flow.github-release"
:
"conventional-github-releaser -p angular"
,
"flow.github-release"
:
"
./node_modules/.bin/
conventional-github-releaser -p angular"
,
"flow.build:prod"
:
"NODE_ENV=production ./node_modules/.bin/webpack --progress --color"
,
"flow.build:dev"
:
"./node_modules/.bin/webpack --progress --color"
,
"flow.serve:dev"
:
"./node_modules/.bin/webpack-dev-server --hot --inline --colors --display-error-details --display-cached"
,
...
...
@@ -52,9 +52,7 @@
"peerDependencies"
:
{
"
@angular/common
"
:
"
^2.0.0-rc.1
"
,
"
@angular/compiler
"
:
"
^2.0.0-rc.1
"
,
"
@angular/core
"
:
"
^2.0.0-rc.1
"
,
"
@angular/platform-browser
"
:
"
^2.0.0-rc.1
"
,
"
@angular/platform-browser-dynamic
"
:
"
^2.0.0-rc.1
"
"
@angular/core
"
:
"
^2.0.0-rc.1
"
},
"devDependencies"
:
{
"
@angular/common
"
:
"
^2.0.0-rc.1
"
,
...
...
@@ -63,27 +61,27 @@
"
@angular/platform-browser
"
:
"
^2.0.0-rc.1
"
,
"
@angular/platform-browser-dynamic
"
:
"
^2.0.0-rc.1
"
,
"
async
"
:
"
1.5.2
"
,
"
balanced-match
"
:
"
0.4.1
"
,
"
bootstrap
"
:
"
3.3.6
"
,
"
codecov
"
:
"
1.0.1
"
,
"
compression-webpack-plugin
"
:
"
0.3.1
"
,
"
conventional-changelog-cli
"
:
"
1.
1.1
"
,
"
conventional-changelog-cli
"
:
"
1.
2.0
"
,
"
conventional-github-releaser
"
:
"
1.1.2
"
,
"
copy-webpack-plugin
"
:
"
2.1.3
"
,
"
copy-webpack-plugin
"
:
"
3.0.0
"
,
"
cpy-cli
"
:
"
1.0.0
"
,
"
del-cli
"
:
"
0.2.0
"
,
"
es6-promise
"
:
"
3.
1.2
"
,
"
es6-shim
"
:
"
0.35.
0
"
,
"
es6-promise
"
:
"
3.
2.1
"
,
"
es6-shim
"
:
"
0.35.
1
"
,
"
es7-reflect-metadata
"
:
"
1.6.0
"
,
"
eslint-config-valorsoft
"
:
"
0.0.1
0
"
,
"
eslint-config-valorsoft
"
:
"
0.0.1
3
"
,
"
exports-loader
"
:
"
0.6.3
"
,
"
file-loader
"
:
"
0.8.5
"
,
"
gh-pages
"
:
"
0.11.0
"
,
"
gitignore-to-glob
"
:
"
0.2.1
"
,
"
gulp
"
:
"
3.9.1
"
,
"
gulp-size
"
:
"
2.1.0
"
,
"
gulp-tslint
"
:
"
github:valorkin/gulp-tslint
"
,
"
gulp-tslint
"
:
"
5.0.0
"
,
"
html-loader
"
:
"
0.4.3
"
,
"
html-webpack-plugin
"
:
"
2.1
6.1
"
,
"
html-webpack-plugin
"
:
"
2.1
7.0
"
,
"
istanbul-instrumenter-loader
"
:
"
0.2.0
"
,
"
jasmine
"
:
"
2.4.1
"
,
"
karma
"
:
"
0.13.22
"
,
...
...
@@ -99,9 +97,9 @@
"
marked
"
:
"
0.3.5
"
,
"
phantomjs-polyfill
"
:
"
0.0.2
"
,
"
phantomjs-prebuilt
"
:
"
2.1.7
"
,
"
pre-commit
"
:
"
1.1.
2
"
,
"
prismjs
"
:
"
1.
4.1
"
,
"
prismjs-loader
"
:
"
0.0.
2
"
,
"
pre-commit
"
:
"
1.1.
3
"
,
"
prismjs
"
:
"
1.
5.0
"
,
"
prismjs-loader
"
:
"
0.0.
3
"
,
"
raw-loader
"
:
"
0.5.1
"
,
"
reflect-metadata
"
:
"
0.1.2
"
,
"
require-dir
"
:
"
0.3.0
"
,
...
...
@@ -109,7 +107,7 @@
"
source-map-loader
"
:
"
0.1.5
"
,
"
systemjs-builder
"
:
"
0.15.16
"
,
"
ts-loader
"
:
"
0.8.2
"
,
"
tslint-config-valorsoft
"
:
"
1.0.
2
"
,
"
tslint-config-valorsoft
"
:
"
1.0.
3
"
,
"
typescript
"
:
"
1.8.10
"
,
"
typings
"
:
"
0.8.1
"
,
"
webpack
"
:
"
1.13.0
"
,
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help