First commit
This commit is contained in:
commit
c6e2478c40
13918 changed files with 2303184 additions and 0 deletions
30
sites/all/modules/civicrm/bower_components/angular-file-upload/.bower.json
vendored
Normal file
30
sites/all/modules/civicrm/bower_components/angular-file-upload/.bower.json
vendored
Normal file
|
@ -0,0 +1,30 @@
|
|||
{
|
||||
"name": "angular-file-upload",
|
||||
"main": "angular-file-upload.min.js",
|
||||
"homepage": "https://github.com/nervgh/angular-file-upload",
|
||||
"ignore": [
|
||||
"examples"
|
||||
],
|
||||
"dependencies": {
|
||||
"angular": "~1.2.11"
|
||||
},
|
||||
"devDependencies": {
|
||||
"es5-shim": ">=3.4.0"
|
||||
},
|
||||
"keywords": [
|
||||
"angular",
|
||||
"file",
|
||||
"upload",
|
||||
"module"
|
||||
],
|
||||
"version": "1.1.6",
|
||||
"_release": "1.1.6",
|
||||
"_resolution": {
|
||||
"type": "version",
|
||||
"tag": "v1.1.6",
|
||||
"commit": "1bf43e92ecb1bd46ffe34bbcd10d6173012b1b1d"
|
||||
},
|
||||
"_source": "https://github.com/nervgh/angular-file-upload.git",
|
||||
"_target": ">=1.1.5 <=1.1.6",
|
||||
"_originalSource": "angular-file-upload"
|
||||
}
|
5
sites/all/modules/civicrm/bower_components/angular-file-upload/.gitignore
vendored
Normal file
5
sites/all/modules/civicrm/bower_components/angular-file-upload/.gitignore
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
.temp
|
||||
.idea
|
||||
*.iml
|
||||
node_modules
|
||||
bower_components
|
22
sites/all/modules/civicrm/bower_components/angular-file-upload/.jshintrc
vendored
Normal file
22
sites/all/modules/civicrm/bower_components/angular-file-upload/.jshintrc
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
"camelcase" : true,
|
||||
"indent": 4,
|
||||
"strict": true,
|
||||
"undef": true,
|
||||
"unused": true,
|
||||
"quotmark": "single",
|
||||
"maxlen": 120,
|
||||
"trailing": true,
|
||||
"curly": true,
|
||||
|
||||
"devel": true,
|
||||
|
||||
"browser":true,
|
||||
"jquery":true,
|
||||
"predef": [
|
||||
"angular",
|
||||
"define",
|
||||
"require",
|
||||
"app"
|
||||
]
|
||||
}
|
58
sites/all/modules/civicrm/bower_components/angular-file-upload/Gruntfile.coffee
vendored
Normal file
58
sites/all/modules/civicrm/bower_components/angular-file-upload/Gruntfile.coffee
vendored
Normal file
|
@ -0,0 +1,58 @@
|
|||
path = require 'path'
|
||||
|
||||
# Build configurations.
|
||||
module.exports = (grunt) ->
|
||||
grunt.initConfig
|
||||
|
||||
# Metadata
|
||||
pkg: grunt.file.readJSON('package.json'),
|
||||
|
||||
banner: '/*\n' +
|
||||
' <%= pkg.name %> v<%= pkg.version %>\n' +
|
||||
' <%= pkg.homepage %>\n' +
|
||||
'*/\n'
|
||||
|
||||
# Deletes built file and temp directories.
|
||||
clean:
|
||||
working:
|
||||
src: [
|
||||
'angular-file-upload.*'
|
||||
]
|
||||
|
||||
uglify:
|
||||
|
||||
# concat js files before minification
|
||||
js:
|
||||
src: ['angular-file-upload.js']
|
||||
dest: 'angular-file-upload.min.js'
|
||||
options:
|
||||
banner: '<%= banner %>'
|
||||
sourceMap: (fileName) ->
|
||||
fileName.replace /\.js$/, '.map'
|
||||
concat:
|
||||
|
||||
# concat js files before minification
|
||||
js:
|
||||
options:
|
||||
banner: '<%= banner %>'
|
||||
stripBanners: true
|
||||
src: [
|
||||
'src/intro.js',
|
||||
'src/module.js',
|
||||
'src/outro.js'
|
||||
]
|
||||
dest: 'angular-file-upload.js'
|
||||
|
||||
# Register grunt tasks supplied by grunt-contrib-*.
|
||||
# Referenced in package.json.
|
||||
# https://github.com/gruntjs/grunt-contrib
|
||||
grunt.loadNpmTasks 'grunt-contrib-clean'
|
||||
grunt.loadNpmTasks 'grunt-contrib-copy'
|
||||
grunt.loadNpmTasks 'grunt-contrib-uglify'
|
||||
grunt.loadNpmTasks 'grunt-contrib-concat'
|
||||
|
||||
grunt.registerTask 'default', [
|
||||
'clean'
|
||||
'concat'
|
||||
'uglify'
|
||||
]
|
24
sites/all/modules/civicrm/bower_components/angular-file-upload/README.md
vendored
Normal file
24
sites/all/modules/civicrm/bower_components/angular-file-upload/README.md
vendored
Normal file
|
@ -0,0 +1,24 @@
|
|||
# Angular File Upload
|
||||
|
||||
---
|
||||
|
||||
## About
|
||||
|
||||
**Angular File Upload** is a module for the [AngularJS](http://angularjs.org/) framework. Supports drag-n-drop upload, upload progress, validation filters and a file upload queue. It supports native HTML5 uploads, but degrades to a legacy iframe upload method for older browsers. Works with any server side platform which supports standard HTML form uploads.
|
||||
|
||||
When files are selected or dropped into the component, one or more filters are applied. Files which pass all filters are added to the queue. When file is added to the queue, for him is created instance of `{FileItem}` and uploader options are copied into this object. After, items in the queue (FileItems) are ready for uploading.
|
||||
|
||||
You could find this module in bower like [_angular file upload_](http://bower.io/search/?q=angular%20file%20upload).
|
||||
|
||||
## Demos
|
||||
1. [Simple example](http://nervgh.github.io/pages/angular-file-upload/examples/simple)
|
||||
2. [Uploads only images (with canvas preview)](http://nervgh.github.io/pages/angular-file-upload/examples/image-preview)
|
||||
3. [Without bootstrap example](http://nervgh.github.io/pages/angular-file-upload/examples/without-bootstrap)
|
||||
|
||||
## More Info
|
||||
|
||||
1. [Introduction](https://github.com/nervgh/angular-file-upload/wiki/Introduction)
|
||||
2. [Module API](https://github.com/nervgh/angular-file-upload/wiki/Module-API)
|
||||
3. [FAQ](https://github.com/nervgh/angular-file-upload/wiki/FAQ)
|
||||
4. [Migrate from 0.x.x to 1.x.x](https://github.com/nervgh/angular-file-upload/wiki/Migrate-from-0.x.x-to-1.x.x)
|
||||
5. [RubyGem](https://github.com/marthyn/angularjs-file-upload-rails)
|
1341
sites/all/modules/civicrm/bower_components/angular-file-upload/angular-file-upload.js
vendored
Normal file
1341
sites/all/modules/civicrm/bower_components/angular-file-upload/angular-file-upload.js
vendored
Normal file
File diff suppressed because it is too large
Load diff
7
sites/all/modules/civicrm/bower_components/angular-file-upload/angular-file-upload.min.js
vendored
Normal file
7
sites/all/modules/civicrm/bower_components/angular-file-upload/angular-file-upload.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
sites/all/modules/civicrm/bower_components/angular-file-upload/angular-file-upload.min.map
vendored
Normal file
1
sites/all/modules/civicrm/bower_components/angular-file-upload/angular-file-upload.min.map
vendored
Normal file
File diff suppressed because one or more lines are too long
18
sites/all/modules/civicrm/bower_components/angular-file-upload/bower.json
vendored
Normal file
18
sites/all/modules/civicrm/bower_components/angular-file-upload/bower.json
vendored
Normal file
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
"name": "angular-file-upload",
|
||||
"main": "angular-file-upload.min.js",
|
||||
"homepage": "https://github.com/nervgh/angular-file-upload",
|
||||
"ignore": ["examples"],
|
||||
"dependencies": {
|
||||
"angular": "~1.2.11"
|
||||
},
|
||||
"devDependencies": {
|
||||
"es5-shim": ">=3.4.0"
|
||||
},
|
||||
"keywords": [
|
||||
"angular",
|
||||
"file",
|
||||
"upload",
|
||||
"module"
|
||||
]
|
||||
}
|
21
sites/all/modules/civicrm/bower_components/angular-file-upload/license.txt
vendored
Normal file
21
sites/all/modules/civicrm/bower_components/angular-file-upload/license.txt
vendored
Normal file
|
@ -0,0 +1,21 @@
|
|||
The MIT License
|
||||
|
||||
Copyright (c) 2013 nerv. https://github.com/nervgh
|
||||
|
||||
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.
|
19
sites/all/modules/civicrm/bower_components/angular-file-upload/package.json
vendored
Normal file
19
sites/all/modules/civicrm/bower_components/angular-file-upload/package.json
vendored
Normal file
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
"name": "angular-file-upload",
|
||||
"version": "1.1.6",
|
||||
"homepage": "https://github.com/nervgh/angular-file-upload",
|
||||
"description": "Angular File Upload is a module for the AngularJS framework",
|
||||
"author": {
|
||||
"name": "nerv",
|
||||
"url": "https://github.com/nervgh"
|
||||
},
|
||||
"main": "angular-file-upload.min.js",
|
||||
"dependencies": {
|
||||
"coffee-script": "~1.6.2",
|
||||
"grunt-contrib-copy": "~0.4.1",
|
||||
"grunt-contrib-clean": "~0.4.0",
|
||||
"grunt-contrib-concat": "~0.3.0",
|
||||
"grunt-contrib-uglify": "~0.2.1",
|
||||
"grunt": "~0.4.1"
|
||||
}
|
||||
}
|
11
sites/all/modules/civicrm/bower_components/angular-file-upload/src/intro.js
vendored
Normal file
11
sites/all/modules/civicrm/bower_components/angular-file-upload/src/intro.js
vendored
Normal file
|
@ -0,0 +1,11 @@
|
|||
(function(angular, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
define('angular-file-upload', ['angular'], function(angular) {
|
||||
return factory(angular);
|
||||
});
|
||||
} else {
|
||||
return factory(angular);
|
||||
}
|
||||
}(typeof angular === 'undefined' ? null : angular, function(angular) {
|
||||
|
||||
var module = angular.module('angularFileUpload', []);
|
1322
sites/all/modules/civicrm/bower_components/angular-file-upload/src/module.js
vendored
Normal file
1322
sites/all/modules/civicrm/bower_components/angular-file-upload/src/module.js
vendored
Normal file
File diff suppressed because it is too large
Load diff
2
sites/all/modules/civicrm/bower_components/angular-file-upload/src/outro.js
vendored
Normal file
2
sites/all/modules/civicrm/bower_components/angular-file-upload/src/outro.js
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
return module;
|
||||
}));
|
Loading…
Add table
Add a link
Reference in a new issue