├── .gitignore ├── .travis.yml ├── LICENSE ├── README.md ├── automation ├── .vscode │ ├── launch.json │ └── settings.json ├── clean_package_artifacts.py ├── cli.py ├── create_local_package.py ├── prepare_distribution_package.py └── publish_release_package.py ├── development ├── .editorconfig ├── .vscode │ ├── settings.json │ └── tasks.json ├── package-lock.json ├── package.json ├── src │ └── ng2-file-drop │ │ ├── directives │ │ └── file-drop.directive.ts │ │ ├── dropped-files │ │ ├── accepted-file.ts │ │ ├── dropped-files.ts │ │ └── rejected-file.ts │ │ ├── index.ts │ │ ├── module │ │ └── file-drop.module.ts │ │ ├── properties │ │ ├── color-index.ts │ │ └── rejection-reasons.ts │ │ └── utilities │ │ ├── drop-zone-style.ts │ │ └── file-state.ts ├── tsconfig-ci.json ├── tsconfig.json └── tslint.json └── samples ├── .editorconfig ├── .vscode ├── launch.json ├── settings.json └── tasks.json ├── assets └── profile-placeholder.png ├── index.html ├── package-lock.json ├── package.json ├── src ├── app │ ├── app.module.ts │ └── components │ │ ├── app │ │ ├── app.component.css │ │ ├── app.component.html │ │ └── app.component.ts │ │ ├── file-drop-samples │ │ ├── disable-styles │ │ │ ├── disable-styles.component.css │ │ │ ├── disable-styles.component.html │ │ │ └── disable-styles.component.ts │ │ ├── image-validation │ │ │ ├── image-validation.component.css │ │ │ ├── image-validation.component.html │ │ │ └── image-validation.component.ts │ │ └── size-validation │ │ │ ├── size-validation.component.css │ │ │ ├── size-validation.component.html │ │ │ └── size-validation.component.ts │ │ └── main-page │ │ ├── main-page.component.css │ │ ├── main-page.component.html │ │ └── main-page.component.ts └── main.ts ├── styles ├── reset.css └── styles.css ├── systemjs.config.js ├── tsconfig-ci.json ├── tsconfig.json └── tslint.json /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leewinder/ng2-file-drop/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leewinder/ng2-file-drop/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leewinder/ng2-file-drop/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leewinder/ng2-file-drop/HEAD/README.md -------------------------------------------------------------------------------- /automation/.vscode/launch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leewinder/ng2-file-drop/HEAD/automation/.vscode/launch.json -------------------------------------------------------------------------------- /automation/.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leewinder/ng2-file-drop/HEAD/automation/.vscode/settings.json -------------------------------------------------------------------------------- /automation/clean_package_artifacts.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leewinder/ng2-file-drop/HEAD/automation/clean_package_artifacts.py -------------------------------------------------------------------------------- /automation/cli.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leewinder/ng2-file-drop/HEAD/automation/cli.py -------------------------------------------------------------------------------- /automation/create_local_package.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leewinder/ng2-file-drop/HEAD/automation/create_local_package.py -------------------------------------------------------------------------------- /automation/prepare_distribution_package.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leewinder/ng2-file-drop/HEAD/automation/prepare_distribution_package.py -------------------------------------------------------------------------------- /automation/publish_release_package.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leewinder/ng2-file-drop/HEAD/automation/publish_release_package.py -------------------------------------------------------------------------------- /development/.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leewinder/ng2-file-drop/HEAD/development/.editorconfig -------------------------------------------------------------------------------- /development/.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leewinder/ng2-file-drop/HEAD/development/.vscode/settings.json -------------------------------------------------------------------------------- /development/.vscode/tasks.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leewinder/ng2-file-drop/HEAD/development/.vscode/tasks.json -------------------------------------------------------------------------------- /development/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leewinder/ng2-file-drop/HEAD/development/package-lock.json -------------------------------------------------------------------------------- /development/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leewinder/ng2-file-drop/HEAD/development/package.json -------------------------------------------------------------------------------- /development/src/ng2-file-drop/directives/file-drop.directive.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leewinder/ng2-file-drop/HEAD/development/src/ng2-file-drop/directives/file-drop.directive.ts -------------------------------------------------------------------------------- /development/src/ng2-file-drop/dropped-files/accepted-file.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leewinder/ng2-file-drop/HEAD/development/src/ng2-file-drop/dropped-files/accepted-file.ts -------------------------------------------------------------------------------- /development/src/ng2-file-drop/dropped-files/dropped-files.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leewinder/ng2-file-drop/HEAD/development/src/ng2-file-drop/dropped-files/dropped-files.ts -------------------------------------------------------------------------------- /development/src/ng2-file-drop/dropped-files/rejected-file.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leewinder/ng2-file-drop/HEAD/development/src/ng2-file-drop/dropped-files/rejected-file.ts -------------------------------------------------------------------------------- /development/src/ng2-file-drop/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leewinder/ng2-file-drop/HEAD/development/src/ng2-file-drop/index.ts -------------------------------------------------------------------------------- /development/src/ng2-file-drop/module/file-drop.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leewinder/ng2-file-drop/HEAD/development/src/ng2-file-drop/module/file-drop.module.ts -------------------------------------------------------------------------------- /development/src/ng2-file-drop/properties/color-index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leewinder/ng2-file-drop/HEAD/development/src/ng2-file-drop/properties/color-index.ts -------------------------------------------------------------------------------- /development/src/ng2-file-drop/properties/rejection-reasons.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leewinder/ng2-file-drop/HEAD/development/src/ng2-file-drop/properties/rejection-reasons.ts -------------------------------------------------------------------------------- /development/src/ng2-file-drop/utilities/drop-zone-style.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leewinder/ng2-file-drop/HEAD/development/src/ng2-file-drop/utilities/drop-zone-style.ts -------------------------------------------------------------------------------- /development/src/ng2-file-drop/utilities/file-state.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leewinder/ng2-file-drop/HEAD/development/src/ng2-file-drop/utilities/file-state.ts -------------------------------------------------------------------------------- /development/tsconfig-ci.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leewinder/ng2-file-drop/HEAD/development/tsconfig-ci.json -------------------------------------------------------------------------------- /development/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leewinder/ng2-file-drop/HEAD/development/tsconfig.json -------------------------------------------------------------------------------- /development/tslint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leewinder/ng2-file-drop/HEAD/development/tslint.json -------------------------------------------------------------------------------- /samples/.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leewinder/ng2-file-drop/HEAD/samples/.editorconfig -------------------------------------------------------------------------------- /samples/.vscode/launch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leewinder/ng2-file-drop/HEAD/samples/.vscode/launch.json -------------------------------------------------------------------------------- /samples/.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leewinder/ng2-file-drop/HEAD/samples/.vscode/settings.json -------------------------------------------------------------------------------- /samples/.vscode/tasks.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leewinder/ng2-file-drop/HEAD/samples/.vscode/tasks.json -------------------------------------------------------------------------------- /samples/assets/profile-placeholder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leewinder/ng2-file-drop/HEAD/samples/assets/profile-placeholder.png -------------------------------------------------------------------------------- /samples/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leewinder/ng2-file-drop/HEAD/samples/index.html -------------------------------------------------------------------------------- /samples/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leewinder/ng2-file-drop/HEAD/samples/package-lock.json -------------------------------------------------------------------------------- /samples/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leewinder/ng2-file-drop/HEAD/samples/package.json -------------------------------------------------------------------------------- /samples/src/app/app.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leewinder/ng2-file-drop/HEAD/samples/src/app/app.module.ts -------------------------------------------------------------------------------- /samples/src/app/components/app/app.component.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /samples/src/app/components/app/app.component.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leewinder/ng2-file-drop/HEAD/samples/src/app/components/app/app.component.html -------------------------------------------------------------------------------- /samples/src/app/components/app/app.component.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leewinder/ng2-file-drop/HEAD/samples/src/app/components/app/app.component.ts -------------------------------------------------------------------------------- /samples/src/app/components/file-drop-samples/disable-styles/disable-styles.component.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leewinder/ng2-file-drop/HEAD/samples/src/app/components/file-drop-samples/disable-styles/disable-styles.component.css -------------------------------------------------------------------------------- /samples/src/app/components/file-drop-samples/disable-styles/disable-styles.component.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leewinder/ng2-file-drop/HEAD/samples/src/app/components/file-drop-samples/disable-styles/disable-styles.component.html -------------------------------------------------------------------------------- /samples/src/app/components/file-drop-samples/disable-styles/disable-styles.component.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leewinder/ng2-file-drop/HEAD/samples/src/app/components/file-drop-samples/disable-styles/disable-styles.component.ts -------------------------------------------------------------------------------- /samples/src/app/components/file-drop-samples/image-validation/image-validation.component.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leewinder/ng2-file-drop/HEAD/samples/src/app/components/file-drop-samples/image-validation/image-validation.component.css -------------------------------------------------------------------------------- /samples/src/app/components/file-drop-samples/image-validation/image-validation.component.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leewinder/ng2-file-drop/HEAD/samples/src/app/components/file-drop-samples/image-validation/image-validation.component.html -------------------------------------------------------------------------------- /samples/src/app/components/file-drop-samples/image-validation/image-validation.component.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leewinder/ng2-file-drop/HEAD/samples/src/app/components/file-drop-samples/image-validation/image-validation.component.ts -------------------------------------------------------------------------------- /samples/src/app/components/file-drop-samples/size-validation/size-validation.component.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leewinder/ng2-file-drop/HEAD/samples/src/app/components/file-drop-samples/size-validation/size-validation.component.css -------------------------------------------------------------------------------- /samples/src/app/components/file-drop-samples/size-validation/size-validation.component.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leewinder/ng2-file-drop/HEAD/samples/src/app/components/file-drop-samples/size-validation/size-validation.component.html -------------------------------------------------------------------------------- /samples/src/app/components/file-drop-samples/size-validation/size-validation.component.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leewinder/ng2-file-drop/HEAD/samples/src/app/components/file-drop-samples/size-validation/size-validation.component.ts -------------------------------------------------------------------------------- /samples/src/app/components/main-page/main-page.component.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leewinder/ng2-file-drop/HEAD/samples/src/app/components/main-page/main-page.component.css -------------------------------------------------------------------------------- /samples/src/app/components/main-page/main-page.component.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leewinder/ng2-file-drop/HEAD/samples/src/app/components/main-page/main-page.component.html -------------------------------------------------------------------------------- /samples/src/app/components/main-page/main-page.component.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leewinder/ng2-file-drop/HEAD/samples/src/app/components/main-page/main-page.component.ts -------------------------------------------------------------------------------- /samples/src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leewinder/ng2-file-drop/HEAD/samples/src/main.ts -------------------------------------------------------------------------------- /samples/styles/reset.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leewinder/ng2-file-drop/HEAD/samples/styles/reset.css -------------------------------------------------------------------------------- /samples/styles/styles.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leewinder/ng2-file-drop/HEAD/samples/styles/styles.css -------------------------------------------------------------------------------- /samples/systemjs.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leewinder/ng2-file-drop/HEAD/samples/systemjs.config.js -------------------------------------------------------------------------------- /samples/tsconfig-ci.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leewinder/ng2-file-drop/HEAD/samples/tsconfig-ci.json -------------------------------------------------------------------------------- /samples/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leewinder/ng2-file-drop/HEAD/samples/tsconfig.json -------------------------------------------------------------------------------- /samples/tslint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leewinder/ng2-file-drop/HEAD/samples/tslint.json --------------------------------------------------------------------------------