forked from elastic/kibana
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request elastic#7994 from rashidkpc/migrate/timelion
Add timelion to kibana core Former-commit-id: 6aa8ca4
- Loading branch information
Showing
379 changed files
with
71,034 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
|
||
/src/core_plugins/timelion/bower_components | ||
/src/core_plugins/timelion/vendor_components | ||
test/fixtures/scenarios | ||
optimize | ||
test/fixtures/scenarios |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# editorconfig.org | ||
root = true | ||
|
||
[*] | ||
indent_style = space | ||
indent_size = 2 | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false | ||
insert_final_newline = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
--- | ||
parser: babel-eslint | ||
|
||
env: | ||
es6: true | ||
amd: true | ||
node: true | ||
browser: true | ||
jasmine: true | ||
|
||
rules: | ||
block-scoped-var: 2 | ||
camelcase: [ 2, { properties: never } ] | ||
comma-dangle: 0 | ||
comma-style: [ 2, last ] | ||
consistent-return: 0 | ||
curly: [ 2, multi-line ] | ||
dot-location: [ 2, property ] | ||
dot-notation: [ 2, { allowKeywords: true } ] | ||
eqeqeq: [ 2, allow-null ] | ||
guard-for-in: 2 | ||
indent: [ 2, 2, { SwitchCase: 1 } ] | ||
key-spacing: [ 0, { align: value } ] | ||
max-len: [ 2, 140, 2, { ignoreComments: true, ignoreUrls: true } ] | ||
new-cap: [ 2, { capIsNewExceptions: [ Private ] } ] | ||
no-bitwise: 0 | ||
no-caller: 2 | ||
no-cond-assign: 0 | ||
no-debugger: 2 | ||
no-empty: 2 | ||
no-eval: 2 | ||
no-extend-native: 2 | ||
no-extra-parens: 0 | ||
no-irregular-whitespace: 2 | ||
no-iterator: 2 | ||
no-loop-func: 2 | ||
no-multi-spaces: 0 | ||
no-multi-str: 2 | ||
no-nested-ternary: 2 | ||
no-new: 0 | ||
no-path-concat: 0 | ||
no-proto: 2 | ||
no-return-assign: 0 | ||
no-script-url: 2 | ||
no-sequences: 2 | ||
no-shadow: 0 | ||
no-trailing-spaces: 2 | ||
no-undef: 2 | ||
no-underscore-dangle: 0 | ||
no-unused-expressions: 0 | ||
no-unused-vars: 0 | ||
no-use-before-define: [ 2, nofunc ] | ||
no-with: 2 | ||
one-var: [ 2, never ] | ||
quotes: [ 2, single ] | ||
semi-spacing: [ 2, { before: false, after: true } ] | ||
semi: [ 2, always ] | ||
space-after-keywords: [ 2, always ] | ||
space-before-blocks: [ 2, always ] | ||
space-before-function-paren: [ 2, { anonymous: always, named: never } ] | ||
space-in-parens: [ 2, never ] | ||
space-infix-ops: [ 2, { int32Hint: false } ] | ||
space-return-throw-case: [ 2 ] | ||
space-unary-ops: [ 2 ] | ||
strict: [ 2, never ] | ||
valid-typeof: 2 | ||
wrap-iife: [ 2, outside ] | ||
yoda: 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"name": "timelion", | ||
"version": "0.0.0", | ||
"dependencies": { | ||
"flot": "~0.8.3", | ||
"angular-sortable-view": "~0.0.13" | ||
} | ||
} |
37 changes: 37 additions & 0 deletions
37
src/core_plugins/timelion/bower_components/angular-sortable-view/.bower.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
{ | ||
"name": "angular-sortable-view", | ||
"version": "0.0.13", | ||
"homepage": "http://kamilkp.github.io/angular-sortable-view/", | ||
"authors": [ | ||
"Kamil Pękala <kamilkp@gmail.com>" | ||
], | ||
"description": "Fully declarative (multi)sortable for AngularJS", | ||
"main": "./src/angular-sortable-view.js", | ||
"keywords": [ | ||
"angularjs", | ||
"sortable", | ||
"ui-sortable", | ||
"sort", | ||
"sorting", | ||
"declarative" | ||
], | ||
"license": "MIT", | ||
"ignore": [ | ||
"**/.*", | ||
"node_modules", | ||
"bower_components", | ||
"test", | ||
"tests", | ||
"lib" | ||
], | ||
"_release": "0.0.13", | ||
"_resolution": { | ||
"type": "version", | ||
"tag": "v0.0.13", | ||
"commit": "187250cb1cfbd25096185049bded7bcedeab4dbd" | ||
}, | ||
"_source": "git://github.com/kamilkp/angular-sortable-view.git", | ||
"_target": "~0.0.13", | ||
"_originalSource": "angular-sortable-view", | ||
"_direct": true | ||
} |
86 changes: 86 additions & 0 deletions
86
src/core_plugins/timelion/bower_components/angular-sortable-view/CHANGELOG.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
Version 0.0.13 - 2015/01/13 | ||
================ | ||
|
||
* bug fixes | ||
|
||
Version 0.0.12 - 2014/12/09 | ||
================ | ||
|
||
* bug fixes | ||
|
||
Version 0.0.11 - 2014/11/28 | ||
================ | ||
|
||
* touch support | ||
|
||
Version 0.0.9 - 2014/09/11 | ||
================ | ||
|
||
* fixed a bug where `$digest` hasn't been called after `sv-on-start` handler | ||
* added a `sv-on-stop` optional attribute. Function bound there will be called when dragging ended regardless of the fact whether elements have been reordered or not | ||
|
||
Version 0.0.8 - 2014/07/15 | ||
================ | ||
|
||
* fixed a bug where nothing within an element without handle could have been clicked | ||
|
||
|
||
Version 0.0.7 - 2014/07/02 | ||
================ | ||
|
||
You can now use these optional attributes on the element with `sv-root`: | ||
* `sv-on-sort` - The expression passed as a value of that attribute will be evaluated when elements order has changed after sorting. Several parameters can be injected there like: `sv-on-sort="foo($item, $partFrom, $partTo, $indexFrom, $indexTo)"` where: | ||
<ul> | ||
<li>`$item` is the item in model which has been moved</li> | ||
<li>`$partFrom` is the part from which the $item originated</li> | ||
<li>`$partTo` is the part to which the $item has been moved</li> | ||
<li>`$indexFrom` is the previous index of the $item in $partFrom</li> | ||
<li>`$indedTo` is the index of the $item in $partTo</li> | ||
</ul> | ||
</li> | ||
* `sv-on-start` - The expression passed as a value of that attribute will be evaluated when a user starts moving an element. Several parameters can be injected there like: `sv-on-start="bar($item, $part, $index, $helper)"` where: | ||
<ul> | ||
<li>`$item` is the item in model which started being moved</li> | ||
<li>`$part` is the part from which the $item originates</li> | ||
<li>`$index` is the index of the $item in $part</li> | ||
<li>`$helper` is the jqLite/jQuery object of an element that is being dragged around</li> | ||
</ul> | ||
</li> | ||
|
||
Version 0.0.6 - 2014/07/01 | ||
================ | ||
|
||
* You can now listen for resorting. An `sv-on-sort` attribute can be now placed on an element with `sv-root`. The expression passed as a value of that attribute will be evaluated when elements order has changed after sorting. | ||
|
||
Version 0.0.5 - 2014/06/26 | ||
================ | ||
|
||
* source element for sorting is now detached from DOM instead of giving him `display: none` | ||
|
||
Version 0.0.4 - 2014/06/25 | ||
================ | ||
|
||
* Fixed the issue with helper styles | ||
* Dropped the need for the browser to support pointer-events CSS property | ||
* Added the project to the bower registy, it is available to download via `bower install angular-sortable-view` | ||
|
||
Version 0.0.3 - 2014/06/11 | ||
================ | ||
|
||
* Added support for custom placeholders | ||
* Better containment handling | ||
* Bug fixes | ||
* BREAKING CHANGE: the module name is now `angular-sortable-view` | ||
|
||
Version 0.0.2 - 2014/06/11 | ||
================ | ||
|
||
* Added support for empty lists | ||
* Added support for custom helpers | ||
|
||
Version 0.0.1 | ||
================ | ||
|
||
* Support for setting a containment | ||
* Support for multiple sortable lists connected with each other | ||
* Support for specifying a handle element |
43 changes: 43 additions & 0 deletions
43
src/core_plugins/timelion/bower_components/angular-sortable-view/Gruntfile.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
module.exports = function(grunt){ | ||
grunt.loadNpmTasks('grunt-contrib-jshint'); | ||
grunt.loadNpmTasks('grunt-contrib-uglify'); | ||
// grunt.loadNpmTasks('grunt-karma'); | ||
|
||
grunt.initConfig({ | ||
uglify: { | ||
target: { | ||
files: { | ||
'src/angular-sortable-view.min.js': ['src/angular-sortable-view.js'] | ||
} | ||
}, | ||
options: { | ||
banner: '/*\n\tCopyright Kamil Pękala http://github.com/kamilkp\n' + | ||
'\tangular-sortable-view v0.0.13 2015/01/13\n*/\n' | ||
} | ||
}, | ||
jshint: { | ||
all: [ | ||
'src/angular-sortable-view.js', | ||
'Gruntfile.js' | ||
] | ||
}//, | ||
// karma: { | ||
// unit: { | ||
// configFile: 'karma.conf.js', | ||
// singleRun: true, | ||
// }, | ||
// travis: { | ||
// configFile: 'karma.conf.js', | ||
// singleRun: true, | ||
// browsers: [ | ||
// 'Firefox' | ||
// ] | ||
// } | ||
// } | ||
}); | ||
|
||
grunt.registerTask('min', 'Minify javascript source code', 'uglify'); | ||
// grunt.registerTask('test', 'Run unit tests', ['jshint', 'min', 'karma:unit']); | ||
// grunt.registerTask('default', ['test']); | ||
// grunt.registerTask('travis', ['jshint', 'min', 'karma:travis']); | ||
}; |
21 changes: 21 additions & 0 deletions
21
src/core_plugins/timelion/bower_components/angular-sortable-view/LICENSE
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
The MIT License (MIT) | ||
|
||
Copyright (c) 2014 kamilkp | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
Oops, something went wrong.