diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..c2cdfb8 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,21 @@ +# EditorConfig helps developers define and maintain consistent +# coding styles between different editors and IDEs +# editorconfig.org + +root = true + + +[*] + +# Change these settings to your own preference +indent_style = space +indent_size = 2 + +# We recommend you to keep these unchanged +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true + +[*.md] +trim_trailing_whitespace = false diff --git a/.jscsrc b/.jscsrc new file mode 100644 index 0000000..f8bf9ba --- /dev/null +++ b/.jscsrc @@ -0,0 +1,6 @@ +{ + "requireCamelCaseOrUpperCaseIdentifiers": true, + "requireCapitalizedConstructors": true, + "requireParenthesesAroundIIFE": true, + "validateQuoteMarks": "'" +} diff --git a/.jshintrc b/.jshintrc new file mode 100644 index 0000000..4572e5d --- /dev/null +++ b/.jshintrc @@ -0,0 +1,16 @@ +{ + "bitwise": true, + "browser": true, + "curly": true, + "eqeqeq": true, + "esnext": true, + "latedef": true, + "noarg": true, + "node": true, + "strict": true, + "undef": true, + "unused": true, + "globals": { + "angular": false + } +} diff --git a/.sass-lint.yml b/.sass-lint.yml new file mode 100644 index 0000000..5c0588c --- /dev/null +++ b/.sass-lint.yml @@ -0,0 +1,92 @@ +options: + formatter: stylish +files: + include: + - 'app/styles/*.s+(a|c)ss' + - 'app/scripts/**/*.s+(a|c)ss' +rules: + # Extends + extends-before-mixins: 1 + extends-before-declarations: 1 + placeholder-in-extend: 1 + + # Mixins + mixins-before-declarations: 1 + + # Line Spacing + one-declaration-per-line: 1 + empty-line-between-blocks: 1 + single-line-per-selector: 1 + + # Disallows + no-attribute-selectors: 0 + no-color-keywords: 1 + no-color-literals: 1 + no-combinators: 0 + no-css-comments: 1 + no-debug: 1 + no-disallowed-properties: 0 + no-duplicate-properties: 1 + no-empty-rulesets: 1 + no-extends: 0 + no-ids: 1 + no-important: 1 + no-invalid-hex: 1 + no-mergeable-selectors: 1 + no-misspelled-properties: 1 + no-qualifying-elements: 1 + no-trailing-whitespace: 1 + no-trailing-zero: 1 + no-transition-all: 1 + no-universal-selectors: 0 + no-url-protocols: 1 + no-vendor-prefixes: 1 + no-warn: 1 + property-units: 0 + + # Nesting + force-attribute-nesting: 1 + force-element-nesting: 1 + force-pseudo-nesting: 1 + + # Name Formats + class-name-format: 1 + function-name-format: 1 + id-name-format: 0 + mixin-name-format: 1 + placeholder-name-format: 1 + variable-name-format: 1 + + # Style Guide + attribute-quotes: 1 + bem-depth: 0 + border-zero: 1 + brace-style: 1 + clean-import-paths: 1 + empty-args: 1 + hex-length: 1 + hex-notation: 1 + indentation: 1 + leading-zero: 1 + nesting-depth: 1 + property-sort-order: 1 + pseudo-element: 1 + quotes: 1 + shorthand-values: 1 + url-quotes: 1 + variable-for-property: 1 + zero-unit: 1 + + # Inner Spacing + space-after-comma: 1 + space-before-colon: 1 + space-after-colon: 1 + space-before-brace: 1 + space-before-bang: 1 + space-after-bang: 1 + space-between-parens: 1 + space-around-operator: 1 + + # Final Items + trailing-semicolon: 1 + final-newline: 1 diff --git a/dist/lf-ng-md-file-input.css b/dist/lf-ng-md-file-input.css index 78c246c..a4010af 100644 --- a/dist/lf-ng-md-file-input.css +++ b/dist/lf-ng-md-file-input.css @@ -66,17 +66,17 @@ } .lf-ng-md-file-input .lf-ng-md-file-input-preview-container .lf-ng-md-file-input-frame > video { height: 160px; - widht: auto; + width: auto; max-width: 100%; } .lf-ng-md-file-input .lf-ng-md-file-input-preview-container .lf-ng-md-file-input-frame > audio { height: 160px; - widht: auto; + width: auto; max-width: 100%; } .lf-ng-md-file-input .lf-ng-md-file-input-preview-container .lf-ng-md-file-input-frame > object { height: 160px; - widht: auto; + width: auto; max-width: 100%; } .lf-ng-md-file-input .lf-ng-md-file-input-preview-container .lf-ng-md-file-input-frame > object .lf-ng-md-file-input-preview-default { diff --git a/dist/lf-ng-md-file-input.min.css b/dist/lf-ng-md-file-input.min.css index da728a1..2f01da0 100644 --- a/dist/lf-ng-md-file-input.min.css +++ b/dist/lf-ng-md-file-input.min.css @@ -1 +1 @@ -.lf-ng-md-file-input{margin-top:5px;margin-bottom:5px}.lf-ng-md-file-input .lf-ng-md-file-input-preview-container{-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;-moz-box-shadow:0 2px 5px 0 rgba(0,0,0,.26);-webkit-box-shadow:0 2px 5px 0 rgba(0,0,0,.26);box-shadow:0 2px 5px 0 rgba(0,0,0,.26);border:1px solid #ddd;padding:5px;margin-bottom:10px}.lf-ng-md-file-input .lf-ng-md-file-input-preview-container.disabled{background-color:rgba(0,0,0,.03)}.lf-ng-md-file-input .lf-ng-md-file-input-preview-container .lf-ng-md-file-input-x{float:none;text-align:right;margin-bottom:5px}.lf-ng-md-file-input .lf-ng-md-file-input-preview-container .lf-ng-md-file-input-x:focus{outline:0;border:0}.lf-ng-md-file-input .lf-ng-md-file-input-preview-container .lf-ng-md-file-input-drag{-moz-border-radius:7px;-webkit-border-radius:7px;border-radius:7px;border:2px dashed #DDD}.lf-ng-md-file-input .lf-ng-md-file-input-preview-container .lf-ng-md-file-input-drag-hover{border:2px dashed #fff;background-color:rgba(0,0,0,.1)}.lf-ng-md-file-input .lf-ng-md-file-input-preview-container .lf-ng-md-file-input-drag-text-container{height:200px}.lf-ng-md-file-input .lf-ng-md-file-input-preview-container .lf-ng-md-file-input-drag-text-container .lf-ng-md-file-input-drag-text{font-size:40px;font-weight:700;color:rgba(0,0,0,.26)}.lf-ng-md-file-input .lf-ng-md-file-input-preview-container .lf-ng-md-file-input-frame{-moz-box-shadow:0 2px 5px 0 rgba(0,0,0,.26);-webkit-box-shadow:0 2px 5px 0 rgba(0,0,0,.26);box-shadow:0 2px 5px 0 rgba(0,0,0,.26);display:table;margin:8px;height:160px;border:1px solid #ddd;padding:6px;float:left;text-align:center;vertical-align:middle}.lf-ng-md-file-input .lf-ng-md-file-input-preview-container .lf-ng-md-file-input-frame:focus{outline:0}.lf-ng-md-file-input .lf-ng-md-file-input-preview-container .lf-ng-md-file-input-frame>img{height:160px;width:auto;max-width:100%}.lf-ng-md-file-input .lf-ng-md-file-input-preview-container .lf-ng-md-file-input-frame>audio,.lf-ng-md-file-input .lf-ng-md-file-input-preview-container .lf-ng-md-file-input-frame>object,.lf-ng-md-file-input .lf-ng-md-file-input-preview-container .lf-ng-md-file-input-frame>video{height:160px;widht:auto;max-width:100%}.lf-ng-md-file-input .lf-ng-md-file-input-preview-container .lf-ng-md-file-input-frame>object .lf-ng-md-file-input-preview-default{height:160px;width:160px;text-align:left}.lf-ng-md-file-input .lf-ng-md-file-input-preview-container .lf-ng-md-file-input-frame>object .lf-ng-md-file-input-preview-default .lf-ng-md-file-input-preview-icon{width:80%;height:80%;margin-top:10%;margin-left:10%;background-size:cover}.lf-ng-md-file-input .lf-ng-md-file-input-preview-container .lf-ng-md-file-input-frame .lf-ng-md-file-input-frame-caption{margin:0 auto;width:160px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;padding-top:4px;font-size:11px;color:#777}.lf-ng-md-file-input .lf-ng-md-file-input-container{-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;-moz-box-shadow:0 2px 5px 0 rgba(0,0,0,.26);-webkit-box-shadow:0 2px 5px 0 rgba(0,0,0,.26);box-shadow:0 2px 5px 0 rgba(0,0,0,.26)}.lf-ng-md-file-input .lf-ng-md-file-input-container .lf-ng-md-file-input-caption{-moz-border-radius:5px 0 0 5px;-webkit-border-radius:5px;border-radius:5px 0 0 5px;position:relative;overflow:hidden;z-index:2;padding:0 8px}.lf-ng-md-file-input .lf-ng-md-file-input-container .lf-ng-md-file-input-caption.disabled{background-color:rgba(0,0,0,.03)}.lf-ng-md-file-input .lf-ng-md-file-input-container .lf-ng-md-file-input-caption .lf-ng-md-file-input-caption-text{margin-left:8px;font-weight:700}.lf-ng-md-file-input .lf-ng-md-file-input-container .lf-ng-md-file-input-caption .lf-ng-md-file-input-caption-text-default{margin-left:8px;color:rgba(0,0,0,.26);font-weight:700}.lf-ng-md-file-input .lf-ng-md-file-input-container md-progress-linear{position:absolute;bottom:0;left:0}.lf-ng-md-file-input .lf-ng-md-file-input-container .lf-icon{background-size:cover}.lf-ng-md-file-input .lf-ng-md-file-input-container .md-raised.lf-ng-md-file-input-button{display:inline-block;vertical-align:middle;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none;-moz-border-radius:none;-webkit-border-radius:none;border-radius:none;margin:0;padding:0 8px;min-height:initial;min-width:100px}.lf-ng-md-file-input .lf-ng-md-file-input-container .md-raised.lf-ng-md-file-input-button.lf-ng-md-file-input-button-brower{-moz-border-radius:0 5px 5px 0;-webkit-border-radius:0;border-radius:0 5px 5px 0}.lf-ng-md-file-input .lf-ng-md-file-input-container .md-raised.lf-ng-md-file-input-button.lf-ng-md-file-input-button-remove{-moz-border-radius:0;-webkit-border-radius:0;border-radius:0;z-index:2}.lf-ng-md-file-input .lf-ng-md-file-input-container .md-raised .lf-ng-md-file-input-tag,.lf-ng-md-file-input .lf-ng-md-file-input-container .md-raised.lf-ng-md-file-input-button .lf-ng-md-file-input-tag{filter:alpha(Opacity=0);opacity:0;display:block;position:absolute;top:0;left:0;min-width:100%;min-height:100%;background:none;cursor:inherit}.lf-ng-md-file-input .lf-caption{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/PjxzdmcgaGVpZ2h0PSI1Ni4yNSIgaWQ9InN2ZzIiIHZlcnNpb249IjEuMSIgd2lkdGg9IjU2LjI1IiB4bWw6c3BhY2U9InByZXNlcnZlIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOmNjPSJodHRwOi8vY3JlYXRpdmVjb21tb25zLm9yZy9ucyMiIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6aW5rc2NhcGU9Imh0dHA6Ly93d3cuaW5rc2NhcGUub3JnL25hbWVzcGFjZXMvaW5rc2NhcGUiIHhtbG5zOnJ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eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxwYXRoIGQ9Ik0yMi41LDZjLTItMi01LjItMi03LjIsMGwtOC43LDguNmMtMS4yLDEuMi0xLjIsMy4xLDAsNC4zYzEuMiwxLjIsMy4xLDEuMiw0LjMsMGw3LjItNy4yYzAuNC0wLjQsMC40LTEsMC0xLjQgIGMtMC40LTAuNC0xLTAuNC0xLjQsMGwtNy4yLDcuMmMtMC40LDAuNC0xLDAuNC0xLjQsMGMtMC40LTAuNC0wLjQtMSwwLTEuNGw4LjctOC43YzEuMi0xLjIsMy4xLTEuMiw0LjMsMGMxLjIsMS4yLDEuMiwzLjEsMCw0LjMgIGwtOC43LDguNmMtMiwyLTUuMiwyLTcuMiwwYy0yLTItMi01LjIsMC03LjJMMTYuNywxLjdjMC40LTAuNCwwLjQtMSwwLTEuNHMtMS0wLjQtMS40LDBMMy43LDExLjhjLTIuOCwyLjgtMi44LDcuMywwLDEwLjEgIGMyLjgsMi44LDcuMywyLjgsMTAuMSwwbDguNy04LjZDMjQuNCwxMS4zLDI0LjQsOCwyMi41LDZ6Ii8+PC9zdmc+)} \ No newline at end of file +.lf-ng-md-file-input{margin-top:5px;margin-bottom:5px}.lf-ng-md-file-input .lf-ng-md-file-input-preview-container{-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;-moz-box-shadow:0 2px 5px 0 rgba(0,0,0,.26);-webkit-box-shadow:0 2px 5px 0 rgba(0,0,0,.26);box-shadow:0 2px 5px 0 rgba(0,0,0,.26);border:1px solid #ddd;padding:5px;margin-bottom:10px}.lf-ng-md-file-input .lf-ng-md-file-input-preview-container.disabled{background-color:rgba(0,0,0,.03)}.lf-ng-md-file-input .lf-ng-md-file-input-preview-container .lf-ng-md-file-input-x{float:none;text-align:right;margin-bottom:5px}.lf-ng-md-file-input .lf-ng-md-file-input-preview-container .lf-ng-md-file-input-x:focus{outline:0;border:0}.lf-ng-md-file-input .lf-ng-md-file-input-preview-container .lf-ng-md-file-input-drag{-moz-border-radius:7px;-webkit-border-radius:7px;border-radius:7px;border:2px dashed #DDD}.lf-ng-md-file-input .lf-ng-md-file-input-preview-container .lf-ng-md-file-input-drag-hover{border:2px dashed #fff;background-color:rgba(0,0,0,.1)}.lf-ng-md-file-input .lf-ng-md-file-input-preview-container .lf-ng-md-file-input-drag-text-container{height:200px}.lf-ng-md-file-input .lf-ng-md-file-input-preview-container .lf-ng-md-file-input-drag-text-container .lf-ng-md-file-input-drag-text{font-size:40px;font-weight:700;color:rgba(0,0,0,.26)}.lf-ng-md-file-input .lf-ng-md-file-input-preview-container .lf-ng-md-file-input-frame{-moz-box-shadow:0 2px 5px 0 rgba(0,0,0,.26);-webkit-box-shadow:0 2px 5px 0 rgba(0,0,0,.26);box-shadow:0 2px 5px 0 rgba(0,0,0,.26);display:table;margin:8px;height:160px;border:1px solid #ddd;padding:6px;float:left;text-align:center;vertical-align:middle}.lf-ng-md-file-input .lf-ng-md-file-input-preview-container .lf-ng-md-file-input-frame:focus{outline:0}.lf-ng-md-file-input .lf-ng-md-file-input-preview-container .lf-ng-md-file-input-frame>audio,.lf-ng-md-file-input .lf-ng-md-file-input-preview-container .lf-ng-md-file-input-frame>img,.lf-ng-md-file-input .lf-ng-md-file-input-preview-container .lf-ng-md-file-input-frame>object,.lf-ng-md-file-input .lf-ng-md-file-input-preview-container .lf-ng-md-file-input-frame>video{height:160px;width:auto;max-width:100%}.lf-ng-md-file-input .lf-ng-md-file-input-preview-container .lf-ng-md-file-input-frame>object .lf-ng-md-file-input-preview-default{height:160px;width:160px;text-align:left}.lf-ng-md-file-input .lf-ng-md-file-input-preview-container .lf-ng-md-file-input-frame>object .lf-ng-md-file-input-preview-default .lf-ng-md-file-input-preview-icon{width:80%;height:80%;margin-top:10%;margin-left:10%;background-size:cover}.lf-ng-md-file-input .lf-ng-md-file-input-preview-container .lf-ng-md-file-input-frame .lf-ng-md-file-input-frame-caption{margin:0 auto;width:160px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;padding-top:4px;font-size:11px;color:#777}.lf-ng-md-file-input .lf-ng-md-file-input-container{-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;-moz-box-shadow:0 2px 5px 0 rgba(0,0,0,.26);-webkit-box-shadow:0 2px 5px 0 rgba(0,0,0,.26);box-shadow:0 2px 5px 0 rgba(0,0,0,.26)}.lf-ng-md-file-input .lf-ng-md-file-input-container .lf-ng-md-file-input-caption{-moz-border-radius:5px 0 0 5px;-webkit-border-radius:5px;border-radius:5px 0 0 5px;position:relative;overflow:hidden;z-index:2;padding:0 8px}.lf-ng-md-file-input .lf-ng-md-file-input-container .lf-ng-md-file-input-caption.disabled{background-color:rgba(0,0,0,.03)}.lf-ng-md-file-input .lf-ng-md-file-input-container .lf-ng-md-file-input-caption .lf-ng-md-file-input-caption-text{margin-left:8px;font-weight:700}.lf-ng-md-file-input .lf-ng-md-file-input-container .lf-ng-md-file-input-caption .lf-ng-md-file-input-caption-text-default{margin-left:8px;color:rgba(0,0,0,.26);font-weight:700}.lf-ng-md-file-input .lf-ng-md-file-input-container md-progress-linear{position:absolute;bottom:0;left:0}.lf-ng-md-file-input .lf-ng-md-file-input-container .lf-icon{background-size:cover}.lf-ng-md-file-input .lf-ng-md-file-input-container .md-raised.lf-ng-md-file-input-button{display:inline-block;vertical-align:middle;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none;-moz-border-radius:none;-webkit-border-radius:none;border-radius:none;margin:0;padding:0 8px;min-height:initial;min-width:100px}.lf-ng-md-file-input .lf-ng-md-file-input-container .md-raised.lf-ng-md-file-input-button.lf-ng-md-file-input-button-brower{-moz-border-radius:0 5px 5px 0;-webkit-border-radius:0;border-radius:0 5px 5px 0}.lf-ng-md-file-input .lf-ng-md-file-input-container .md-raised.lf-ng-md-file-input-button.lf-ng-md-file-input-button-remove{-moz-border-radius:0;-webkit-border-radius:0;border-radius:0;z-index:2}.lf-ng-md-file-input .lf-ng-md-file-input-container .md-raised .lf-ng-md-file-input-tag,.lf-ng-md-file-input .lf-ng-md-file-input-container .md-raised.lf-ng-md-file-input-button .lf-ng-md-file-input-tag{filter:alpha(Opacity=0);opacity:0;display:block;position:absolute;top:0;left:0;min-width:100%;min-height:100%;background:none;cursor:inherit}.lf-ng-md-file-input .lf-caption{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/PjxzdmcgaGVpZ2h0PSI1Ni4yNSIgaWQ9InN2ZzIiIHZlcnNpb249IjEuMSIgd2lkdGg9IjU2LjI1IiB4bWw6c3BhY2U9InByZXNlcnZlIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOmNjPSJodHRwOi8vY3JlYXRpdmVjb21tb25zLm9yZy9ucyMiIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6aW5rc2NhcGU9Imh0dHA6Ly93d3cuaW5rc2NhcGUub3JnL25hbWVzcGFjZXMvaW5rc2NhcGUiIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyIgeG1sbnM6c3ZnPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnMgaWQ9ImRlZnM2Ij48Y2xpcFBhdGggaWQ9ImNsaXBQYXRoMTYiPjxwYXRoIGQ9Ik0gMCwwIDAsNDUgNDUsNDUgNDUsMCAwLDAiIGlkPSJwYXRoMTgiLz48L2NsaXBQYXRoPjwvZGVmcz48ZyBpZD0iZzEwIiB0cmFuc2Zvcm09Im1hdHJpeCgxLjI1LDAsMCwtMS4yNSwwLDU2LjI1KSI+PGcgaWQ9ImcxMiI+PGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXBQYXRoMTYpIiBpZD0iZzE0Ij48ZyBpZD0iZzIwIj48ZyBpZD0iZzIyIj48ZyBpZD0iZzI0Ij48cGF0aCBkPSJtIDkuMzQ3LDYu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gtMi44LDcuMywwLDEwLjEgIGMyLjgsMi44LDcuMywyLjgsMTAuMSwwbDguNy04LjZDMjQuNCwxMS4zLDI0LjQsOCwyMi41LDZ6Ii8+PC9zdmc+)} \ No newline at end of file diff --git a/src/lf-ng-md-file-input.js b/src/lf-ng-md-file-input.js index 1cb2e0d..44396c3 100644 --- a/src/lf-ng-md-file-input.js +++ b/src/lf-ng-md-file-input.js @@ -1,733 +1,743 @@ -(function(window,angular,undefined) { +(function(window, angular, undefined) { - 'use strict'; + 'use strict'; - var genLfObjId = function(){ - return 'lfobjxxxxxxxx'.replace(/[xy]/g, function(c) { - var r = Math.random()*16|0, v = c == 'x' ? r : (r&0x3|0x8); - return v.toString(16); - }); + var genLfObjId = function() { + return 'lfobjxxxxxxxx'.replace(/[xy]/g, function(c) { + var r = Math.random() * 16 | 0, + v = c == 'x' ? r : (r & 0x3 | 0x8); + return v.toString(16); + }); + }; + + var lfNgMdFileinput = angular.module('lfNgMdFileInput', ['ngMaterial']); + + lfNgMdFileinput.directive('html5vfix', function() { + return { + restrict: 'A', + link: function(scope, element, attr) { + attr.$set('src', attr.vsrc); + } + } + }); + + lfNgMdFileinput.run(function($templateCache) { + $templateCache.put('lfNgMdFileinput.html', [ + '