aboutsummaryrefslogtreecommitdiffstats
path: root/vnfmarket/common/thirdparty/angular-material/modules/closure/input
diff options
context:
space:
mode:
Diffstat (limited to 'vnfmarket/common/thirdparty/angular-material/modules/closure/input')
-rw-r--r--vnfmarket/common/thirdparty/angular-material/modules/closure/input/input-default-theme.css92
-rw-r--r--vnfmarket/common/thirdparty/angular-material/modules/closure/input/input-default-theme.min.css6
-rw-r--r--vnfmarket/common/thirdparty/angular-material/modules/closure/input/input.css316
-rw-r--r--vnfmarket/common/thirdparty/angular-material/modules/closure/input/input.js1100
-rw-r--r--vnfmarket/common/thirdparty/angular-material/modules/closure/input/input.min.css6
-rw-r--r--vnfmarket/common/thirdparty/angular-material/modules/closure/input/input.min.js7
6 files changed, 1527 insertions, 0 deletions
diff --git a/vnfmarket/common/thirdparty/angular-material/modules/closure/input/input-default-theme.css b/vnfmarket/common/thirdparty/angular-material/modules/closure/input/input-default-theme.css
new file mode 100644
index 00000000..41b41c89
--- /dev/null
+++ b/vnfmarket/common/thirdparty/angular-material/modules/closure/input/input-default-theme.css
@@ -0,0 +1,92 @@
+/*!
+ * Angular Material Design
+ * https://github.com/angular/material
+ * @license MIT
+ * v1.1.3
+ */
+md-input-container.md-THEME_NAME-theme .md-input {
+ color: '{{foreground-1}}';
+ border-color: '{{foreground-4}}'; }
+ md-input-container.md-THEME_NAME-theme .md-input::-webkit-input-placeholder {
+ color: '{{foreground-3}}'; }
+ md-input-container.md-THEME_NAME-theme .md-input:-moz-placeholder {
+ color: '{{foreground-3}}'; }
+ md-input-container.md-THEME_NAME-theme .md-input::-moz-placeholder {
+ color: '{{foreground-3}}'; }
+ md-input-container.md-THEME_NAME-theme .md-input:-ms-input-placeholder {
+ color: '{{foreground-3}}'; }
+ md-input-container.md-THEME_NAME-theme .md-input::-webkit-input-placeholder {
+ color: '{{foreground-3}}'; }
+
+md-input-container.md-THEME_NAME-theme > md-icon {
+ color: '{{foreground-1}}'; }
+
+md-input-container.md-THEME_NAME-theme label,
+md-input-container.md-THEME_NAME-theme .md-placeholder {
+ color: '{{foreground-3}}'; }
+
+md-input-container.md-THEME_NAME-theme label.md-required:after {
+ color: '{{warn-A700}}'; }
+
+md-input-container.md-THEME_NAME-theme:not(.md-input-focused):not(.md-input-invalid) label.md-required:after {
+ color: '{{foreground-2}}'; }
+
+md-input-container.md-THEME_NAME-theme .md-input-messages-animation, md-input-container.md-THEME_NAME-theme .md-input-message-animation {
+ color: '{{warn-A700}}'; }
+ md-input-container.md-THEME_NAME-theme .md-input-messages-animation .md-char-counter, md-input-container.md-THEME_NAME-theme .md-input-message-animation .md-char-counter {
+ color: '{{foreground-1}}'; }
+
+md-input-container.md-THEME_NAME-theme.md-input-focused .md-input::-webkit-input-placeholder {
+ color: '{{foreground-2}}'; }
+
+md-input-container.md-THEME_NAME-theme.md-input-focused .md-input:-moz-placeholder {
+ color: '{{foreground-2}}'; }
+
+md-input-container.md-THEME_NAME-theme.md-input-focused .md-input::-moz-placeholder {
+ color: '{{foreground-2}}'; }
+
+md-input-container.md-THEME_NAME-theme.md-input-focused .md-input:-ms-input-placeholder {
+ color: '{{foreground-2}}'; }
+
+md-input-container.md-THEME_NAME-theme.md-input-focused .md-input::-webkit-input-placeholder {
+ color: '{{foreground-2}}'; }
+
+md-input-container.md-THEME_NAME-theme:not(.md-input-invalid).md-input-has-value label {
+ color: '{{foreground-2}}'; }
+
+md-input-container.md-THEME_NAME-theme:not(.md-input-invalid).md-input-focused .md-input, md-input-container.md-THEME_NAME-theme:not(.md-input-invalid).md-input-resized .md-input {
+ border-color: '{{primary-color}}'; }
+
+md-input-container.md-THEME_NAME-theme:not(.md-input-invalid).md-input-focused label,
+md-input-container.md-THEME_NAME-theme:not(.md-input-invalid).md-input-focused md-icon {
+ color: '{{primary-color}}'; }
+
+md-input-container.md-THEME_NAME-theme:not(.md-input-invalid).md-input-focused.md-accent .md-input {
+ border-color: '{{accent-color}}'; }
+
+md-input-container.md-THEME_NAME-theme:not(.md-input-invalid).md-input-focused.md-accent label,
+md-input-container.md-THEME_NAME-theme:not(.md-input-invalid).md-input-focused.md-accent md-icon {
+ color: '{{accent-color}}'; }
+
+md-input-container.md-THEME_NAME-theme:not(.md-input-invalid).md-input-focused.md-warn .md-input {
+ border-color: '{{warn-A700}}'; }
+
+md-input-container.md-THEME_NAME-theme:not(.md-input-invalid).md-input-focused.md-warn label,
+md-input-container.md-THEME_NAME-theme:not(.md-input-invalid).md-input-focused.md-warn md-icon {
+ color: '{{warn-A700}}'; }
+
+md-input-container.md-THEME_NAME-theme.md-input-invalid .md-input {
+ border-color: '{{warn-A700}}'; }
+
+md-input-container.md-THEME_NAME-theme.md-input-invalid label,
+md-input-container.md-THEME_NAME-theme.md-input-invalid .md-input-message-animation,
+md-input-container.md-THEME_NAME-theme.md-input-invalid .md-char-counter {
+ color: '{{warn-A700}}'; }
+
+md-input-container.md-THEME_NAME-theme .md-input[disabled],
+[disabled] md-input-container.md-THEME_NAME-theme .md-input {
+ border-bottom-color: transparent;
+ color: '{{foreground-3}}';
+ background-image: -webkit-linear-gradient(left, "{{foreground-3}}" 0%, "{{foreground-3}}" 33%, transparent 0%);
+ background-image: linear-gradient(to right, "{{foreground-3}}" 0%, "{{foreground-3}}" 33%, transparent 0%);
+ background-image: -ms-linear-gradient(left, transparent 0%, "{{foreground-3}}" 100%); }
diff --git a/vnfmarket/common/thirdparty/angular-material/modules/closure/input/input-default-theme.min.css b/vnfmarket/common/thirdparty/angular-material/modules/closure/input/input-default-theme.min.css
new file mode 100644
index 00000000..f55f919a
--- /dev/null
+++ b/vnfmarket/common/thirdparty/angular-material/modules/closure/input/input-default-theme.min.css
@@ -0,0 +1,6 @@
+/*!
+ * Angular Material Design
+ * https://github.com/angular/material
+ * @license MIT
+ * v1.1.2-master-a9ba340
+ */md-input-container.md-THEME_NAME-theme .md-input{color:"{{foreground-1}}";border-color:"{{foreground-4}}"}md-input-container.md-THEME_NAME-theme .md-input:-moz-placeholder,md-input-container.md-THEME_NAME-theme .md-input::-moz-placeholder{color:"{{foreground-3}}"}md-input-container.md-THEME_NAME-theme .md-input:-ms-input-placeholder{color:"{{foreground-3}}"}md-input-container.md-THEME_NAME-theme .md-input::-webkit-input-placeholder{color:"{{foreground-3}}"}md-input-container.md-THEME_NAME-theme>md-icon{color:"{{foreground-1}}"}md-input-container.md-THEME_NAME-theme .md-placeholder,md-input-container.md-THEME_NAME-theme label{color:"{{foreground-3}}"}md-input-container.md-THEME_NAME-theme label.md-required:after{color:"{{warn-A700}}"}md-input-container.md-THEME_NAME-theme:not(.md-input-focused):not(.md-input-invalid) label.md-required:after{color:"{{foreground-2}}"}md-input-container.md-THEME_NAME-theme .md-input-message-animation,md-input-container.md-THEME_NAME-theme .md-input-messages-animation{color:"{{warn-A700}}"}md-input-container.md-THEME_NAME-theme .md-input-message-animation .md-char-counter,md-input-container.md-THEME_NAME-theme .md-input-messages-animation .md-char-counter{color:"{{foreground-1}}"}md-input-container.md-THEME_NAME-theme.md-input-focused .md-input:-moz-placeholder,md-input-container.md-THEME_NAME-theme.md-input-focused .md-input::-moz-placeholder{color:"{{foreground-2}}"}md-input-container.md-THEME_NAME-theme.md-input-focused .md-input:-ms-input-placeholder{color:"{{foreground-2}}"}md-input-container.md-THEME_NAME-theme.md-input-focused .md-input::-webkit-input-placeholder{color:"{{foreground-2}}"}md-input-container.md-THEME_NAME-theme:not(.md-input-invalid).md-input-has-value label{color:"{{foreground-2}}"}md-input-container.md-THEME_NAME-theme:not(.md-input-invalid).md-input-focused .md-input,md-input-container.md-THEME_NAME-theme:not(.md-input-invalid).md-input-resized .md-input{border-color:"{{primary-color}}"}md-input-container.md-THEME_NAME-theme:not(.md-input-invalid).md-input-focused label,md-input-container.md-THEME_NAME-theme:not(.md-input-invalid).md-input-focused md-icon{color:"{{primary-color}}"}md-input-container.md-THEME_NAME-theme:not(.md-input-invalid).md-input-focused.md-accent .md-input{border-color:"{{accent-color}}"}md-input-container.md-THEME_NAME-theme:not(.md-input-invalid).md-input-focused.md-accent label,md-input-container.md-THEME_NAME-theme:not(.md-input-invalid).md-input-focused.md-accent md-icon{color:"{{accent-color}}"}md-input-container.md-THEME_NAME-theme:not(.md-input-invalid).md-input-focused.md-warn .md-input{border-color:"{{warn-A700}}"}md-input-container.md-THEME_NAME-theme:not(.md-input-invalid).md-input-focused.md-warn label,md-input-container.md-THEME_NAME-theme:not(.md-input-invalid).md-input-focused.md-warn md-icon{color:"{{warn-A700}}"}md-input-container.md-THEME_NAME-theme.md-input-invalid .md-input{border-color:"{{warn-A700}}"}md-input-container.md-THEME_NAME-theme.md-input-invalid .md-char-counter,md-input-container.md-THEME_NAME-theme.md-input-invalid .md-input-message-animation,md-input-container.md-THEME_NAME-theme.md-input-invalid label{color:"{{warn-A700}}"}[disabled] md-input-container.md-THEME_NAME-theme .md-input,md-input-container.md-THEME_NAME-theme .md-input[disabled]{border-bottom-color:transparent;color:"{{foreground-3}}";background-image:-webkit-linear-gradient(left,"{{foreground-3}}","{{foreground-3}}" 33%,transparent 0);background-image:linear-gradient(90deg,"{{foreground-3}}" 0,"{{foreground-3}}" 33%,transparent 0);background-image:-ms-linear-gradient(left,transparent 0,"{{foreground-3}}" 100%)} \ No newline at end of file
diff --git a/vnfmarket/common/thirdparty/angular-material/modules/closure/input/input.css b/vnfmarket/common/thirdparty/angular-material/modules/closure/input/input.css
new file mode 100644
index 00000000..182381fd
--- /dev/null
+++ b/vnfmarket/common/thirdparty/angular-material/modules/closure/input/input.css
@@ -0,0 +1,316 @@
+/*!
+ * Angular Material Design
+ * https://github.com/angular/material
+ * @license MIT
+ * v1.1.3
+ */
+md-input-container {
+ display: inline-block;
+ position: relative;
+ padding: 2px;
+ margin: 18px 0;
+ vertical-align: middle;
+ /*
+ * The .md-input class is added to the input/textarea
+ */ }
+ md-input-container:after {
+ content: '';
+ display: table;
+ clear: both; }
+ md-input-container.md-block {
+ display: block; }
+ md-input-container .md-errors-spacer {
+ float: right;
+ min-height: 24px;
+ min-width: 1px; }
+ [dir=rtl] md-input-container .md-errors-spacer {
+ float: left; }
+ md-input-container > md-icon {
+ position: absolute;
+ top: 8px;
+ left: 2px;
+ right: auto; }
+ [dir=rtl] md-input-container > md-icon {
+ left: auto; }
+ [dir=rtl] md-input-container > md-icon {
+ right: 2px; }
+ md-input-container textarea,
+ md-input-container input[type="text"],
+ md-input-container input[type="password"],
+ md-input-container input[type="datetime"],
+ md-input-container input[type="datetime-local"],
+ md-input-container input[type="date"],
+ md-input-container input[type="month"],
+ md-input-container input[type="time"],
+ md-input-container input[type="week"],
+ md-input-container input[type="number"],
+ md-input-container input[type="email"],
+ md-input-container input[type="url"],
+ md-input-container input[type="search"],
+ md-input-container input[type="tel"],
+ md-input-container input[type="color"] {
+ /* remove default appearance from all input/textarea */
+ -moz-appearance: none;
+ -webkit-appearance: none; }
+ md-input-container input[type="date"],
+ md-input-container input[type="datetime-local"],
+ md-input-container input[type="month"],
+ md-input-container input[type="time"],
+ md-input-container input[type="week"] {
+ min-height: 26px; }
+ md-input-container textarea {
+ resize: none;
+ overflow: hidden; }
+ md-input-container textarea.md-input {
+ min-height: 26px;
+ -ms-flex-preferred-size: auto; }
+ md-input-container textarea[md-no-autogrow] {
+ height: auto;
+ overflow: auto; }
+ md-input-container label:not(.md-container-ignore) {
+ position: absolute;
+ bottom: 100%;
+ left: 0;
+ right: auto; }
+ [dir=rtl] md-input-container label:not(.md-container-ignore) {
+ left: auto; }
+ [dir=rtl] md-input-container label:not(.md-container-ignore) {
+ right: 0; }
+ md-input-container label:not(.md-container-ignore).md-required:after {
+ content: ' *';
+ font-size: 13px;
+ vertical-align: top; }
+ md-input-container label:not(.md-no-float):not(.md-container-ignore),
+ md-input-container .md-placeholder {
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+ width: 100%;
+ -webkit-box-ordinal-group: 2;
+ -webkit-order: 1;
+ order: 1;
+ pointer-events: none;
+ -webkit-font-smoothing: antialiased;
+ padding-left: 3px;
+ padding-right: 0;
+ z-index: 1;
+ -webkit-transform: translate3d(0, 28px, 0) scale(1);
+ transform: translate3d(0, 28px, 0) scale(1);
+ -webkit-transition: -webkit-transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
+ transition: -webkit-transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
+ transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
+ transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), -webkit-transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
+ max-width: 100%;
+ -webkit-transform-origin: left top;
+ transform-origin: left top; }
+ [dir=rtl] md-input-container label:not(.md-no-float):not(.md-container-ignore), [dir=rtl]
+ md-input-container .md-placeholder {
+ padding-left: 0; }
+ [dir=rtl] md-input-container label:not(.md-no-float):not(.md-container-ignore), [dir=rtl]
+ md-input-container .md-placeholder {
+ padding-right: 3px; }
+ [dir=rtl] md-input-container label:not(.md-no-float):not(.md-container-ignore), [dir=rtl]
+ md-input-container .md-placeholder {
+ -webkit-transform-origin: right top;
+ transform-origin: right top; }
+ md-input-container .md-placeholder {
+ position: absolute;
+ top: 0;
+ opacity: 0;
+ -webkit-transition-property: opacity, -webkit-transform;
+ transition-property: opacity, -webkit-transform;
+ transition-property: opacity, transform;
+ transition-property: opacity, transform, -webkit-transform;
+ -webkit-transform: translate3d(0, 30px, 0);
+ transform: translate3d(0, 30px, 0); }
+ md-input-container.md-input-focused .md-placeholder {
+ opacity: 1;
+ -webkit-transform: translate3d(0, 24px, 0);
+ transform: translate3d(0, 24px, 0); }
+ md-input-container.md-input-has-value .md-placeholder {
+ -webkit-transition: none;
+ transition: none;
+ opacity: 0; }
+ md-input-container:not(.md-input-has-value) input:not(:focus),
+ md-input-container:not(.md-input-has-value) input:not(:focus)::-webkit-datetime-edit-ampm-field,
+ md-input-container:not(.md-input-has-value) input:not(:focus)::-webkit-datetime-edit-day-field,
+ md-input-container:not(.md-input-has-value) input:not(:focus)::-webkit-datetime-edit-hour-field,
+ md-input-container:not(.md-input-has-value) input:not(:focus)::-webkit-datetime-edit-millisecond-field,
+ md-input-container:not(.md-input-has-value) input:not(:focus)::-webkit-datetime-edit-minute-field,
+ md-input-container:not(.md-input-has-value) input:not(:focus)::-webkit-datetime-edit-month-field,
+ md-input-container:not(.md-input-has-value) input:not(:focus)::-webkit-datetime-edit-second-field,
+ md-input-container:not(.md-input-has-value) input:not(:focus)::-webkit-datetime-edit-week-field,
+ md-input-container:not(.md-input-has-value) input:not(:focus)::-webkit-datetime-edit-year-field,
+ md-input-container:not(.md-input-has-value) input:not(:focus)::-webkit-datetime-edit-text {
+ color: transparent; }
+ md-input-container .md-input {
+ -webkit-box-ordinal-group: 3;
+ -webkit-order: 2;
+ order: 2;
+ display: block;
+ margin-top: 0;
+ background: none;
+ padding-top: 2px;
+ padding-bottom: 1px;
+ padding-left: 2px;
+ padding-right: 2px;
+ border-width: 0 0 1px 0;
+ line-height: 26px;
+ height: 30px;
+ -ms-flex-preferred-size: 26px;
+ border-radius: 0;
+ border-style: solid;
+ width: 100%;
+ box-sizing: border-box;
+ float: left; }
+ [dir=rtl] md-input-container .md-input {
+ float: right; }
+ md-input-container .md-input:focus {
+ outline: none; }
+ md-input-container .md-input:invalid {
+ outline: none;
+ box-shadow: none; }
+ md-input-container .md-input.md-no-flex {
+ -webkit-box-flex: 0 !important;
+ -webkit-flex: none !important;
+ flex: none !important; }
+ md-input-container .md-char-counter {
+ text-align: right;
+ padding-right: 2px;
+ padding-left: 0; }
+ [dir=rtl] md-input-container .md-char-counter {
+ text-align: left; }
+ [dir=rtl] md-input-container .md-char-counter {
+ padding-right: 0; }
+ [dir=rtl] md-input-container .md-char-counter {
+ padding-left: 2px; }
+ md-input-container .md-input-messages-animation {
+ position: relative;
+ -webkit-box-ordinal-group: 5;
+ -webkit-order: 4;
+ order: 4;
+ overflow: hidden;
+ clear: left; }
+ [dir=rtl] md-input-container .md-input-messages-animation {
+ clear: right; }
+ md-input-container .md-input-messages-animation.ng-enter .md-input-message-animation {
+ opacity: 0;
+ margin-top: -100px; }
+ md-input-container .md-input-message-animation, md-input-container .md-char-counter {
+ font-size: 12px;
+ line-height: 14px;
+ overflow: hidden;
+ -webkit-transition: all 0.3s cubic-bezier(0.55, 0, 0.55, 0.2);
+ transition: all 0.3s cubic-bezier(0.55, 0, 0.55, 0.2);
+ opacity: 1;
+ margin-top: 0;
+ padding-top: 5px; }
+ md-input-container .md-input-message-animation:not(.md-char-counter), md-input-container .md-char-counter:not(.md-char-counter) {
+ padding-right: 5px;
+ padding-left: 0; }
+ [dir=rtl] md-input-container .md-input-message-animation:not(.md-char-counter), [dir=rtl] md-input-container .md-char-counter:not(.md-char-counter) {
+ padding-right: 0; }
+ [dir=rtl] md-input-container .md-input-message-animation:not(.md-char-counter), [dir=rtl] md-input-container .md-char-counter:not(.md-char-counter) {
+ padding-left: 5px; }
+ md-input-container:not(.md-input-invalid) .md-auto-hide .md-input-message-animation {
+ opacity: 0;
+ margin-top: -100px; }
+ md-input-container .md-input-message-animation:not(.ng-animate) {
+ opacity: 0;
+ margin-top: -100px; }
+ md-input-container .md-input-message-animation.ng-enter {
+ opacity: 0;
+ margin-top: -100px; }
+ md-input-container.md-input-focused label:not(.md-no-float), md-input-container.md-input-has-placeholder label:not(.md-no-float), md-input-container.md-input-has-value label:not(.md-no-float) {
+ -webkit-transform: translate3d(0, 6px, 0) scale(0.75);
+ transform: translate3d(0, 6px, 0) scale(0.75);
+ -webkit-transition: width cubic-bezier(0.25, 0.8, 0.25, 1) 0.4s, -webkit-transform cubic-bezier(0.25, 0.8, 0.25, 1) 0.4s;
+ transition: width cubic-bezier(0.25, 0.8, 0.25, 1) 0.4s, -webkit-transform cubic-bezier(0.25, 0.8, 0.25, 1) 0.4s;
+ transition: transform cubic-bezier(0.25, 0.8, 0.25, 1) 0.4s, width cubic-bezier(0.25, 0.8, 0.25, 1) 0.4s;
+ transition: transform cubic-bezier(0.25, 0.8, 0.25, 1) 0.4s, width cubic-bezier(0.25, 0.8, 0.25, 1) 0.4s, -webkit-transform cubic-bezier(0.25, 0.8, 0.25, 1) 0.4s; }
+ md-input-container.md-input-has-value label {
+ -webkit-transition: none;
+ transition: none; }
+ md-input-container.md-input-focused .md-input,
+ md-input-container .md-input.ng-invalid.ng-dirty,
+ md-input-container.md-input-resized .md-input {
+ padding-bottom: 0;
+ border-width: 0 0 2px 0; }
+ md-input-container .md-input[disabled],
+ [disabled] md-input-container .md-input {
+ background-position: bottom -1px left 0;
+ background-size: 4px 1px;
+ background-repeat: repeat-x; }
+ md-input-container.md-icon-float {
+ -webkit-transition: margin-top 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
+ transition: margin-top 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); }
+ md-input-container.md-icon-float > label {
+ pointer-events: none;
+ position: absolute; }
+ md-input-container.md-icon-float > md-icon {
+ top: 8px;
+ left: 2px;
+ right: auto; }
+ [dir=rtl] md-input-container.md-icon-float > md-icon {
+ left: auto; }
+ [dir=rtl] md-input-container.md-icon-float > md-icon {
+ right: 2px; }
+ md-input-container.md-icon-left > label:not(.md-no-float):not(.md-container-ignore),
+ md-input-container.md-icon-left > label .md-placeholder, md-input-container.md-icon-right > label:not(.md-no-float):not(.md-container-ignore),
+ md-input-container.md-icon-right > label .md-placeholder {
+ width: calc(100% - 36px - 18px); }
+ md-input-container.md-icon-left {
+ padding-left: 36px;
+ padding-right: 0; }
+ [dir=rtl] md-input-container.md-icon-left {
+ padding-left: 0; }
+ [dir=rtl] md-input-container.md-icon-left {
+ padding-right: 36px; }
+ md-input-container.md-icon-left > label {
+ left: 36px;
+ right: auto; }
+ [dir=rtl] md-input-container.md-icon-left > label {
+ left: auto; }
+ [dir=rtl] md-input-container.md-icon-left > label {
+ right: 36px; }
+ md-input-container.md-icon-right {
+ padding-left: 0;
+ padding-right: 36px; }
+ [dir=rtl] md-input-container.md-icon-right {
+ padding-left: 36px; }
+ [dir=rtl] md-input-container.md-icon-right {
+ padding-right: 0; }
+ md-input-container.md-icon-right > md-icon:last-of-type {
+ margin: 0;
+ right: 2px;
+ left: auto; }
+ [dir=rtl] md-input-container.md-icon-right > md-icon:last-of-type {
+ right: auto; }
+ [dir=rtl] md-input-container.md-icon-right > md-icon:last-of-type {
+ left: 2px; }
+ md-input-container.md-icon-left.md-icon-right {
+ padding-left: 36px;
+ padding-right: 36px; }
+ md-input-container.md-icon-left.md-icon-right > label:not(.md-no-float):not(.md-container-ignore),
+ md-input-container.md-icon-left.md-icon-right > label .md-placeholder {
+ width: calc(100% - (36px * 2)); }
+
+.md-resize-wrapper {
+ position: relative; }
+ .md-resize-wrapper:after {
+ content: '';
+ display: table;
+ clear: both; }
+
+.md-resize-handle {
+ position: absolute;
+ bottom: -5px;
+ left: 0;
+ height: 10px;
+ background: transparent;
+ width: 100%;
+ cursor: ns-resize; }
+
+@media screen and (-ms-high-contrast: active) {
+ md-input-container.md-default-theme > md-icon {
+ fill: #fff; } }
diff --git a/vnfmarket/common/thirdparty/angular-material/modules/closure/input/input.js b/vnfmarket/common/thirdparty/angular-material/modules/closure/input/input.js
new file mode 100644
index 00000000..02025128
--- /dev/null
+++ b/vnfmarket/common/thirdparty/angular-material/modules/closure/input/input.js
@@ -0,0 +1,1100 @@
+/*!
+ * Angular Material Design
+ * https://github.com/angular/material
+ * @license MIT
+ * v1.1.3
+ */
+goog.provide('ngmaterial.components.input');
+goog.require('ngmaterial.core');
+/**
+ * @ngdoc module
+ * @name material.components.input
+ */
+mdInputContainerDirective['$inject'] = ["$mdTheming", "$parse"];
+inputTextareaDirective['$inject'] = ["$mdUtil", "$window", "$mdAria", "$timeout", "$mdGesture"];
+mdMaxlengthDirective['$inject'] = ["$animate", "$mdUtil"];
+placeholderDirective['$inject'] = ["$compile"];
+ngMessageDirective['$inject'] = ["$mdUtil"];
+mdSelectOnFocusDirective['$inject'] = ["$timeout"];
+mdInputInvalidMessagesAnimation['$inject'] = ["$$AnimateRunner", "$animateCss", "$mdUtil", "$log"];
+ngMessagesAnimation['$inject'] = ["$$AnimateRunner", "$animateCss", "$mdUtil", "$log"];
+ngMessageAnimation['$inject'] = ["$$AnimateRunner", "$animateCss", "$mdUtil", "$log"];
+var inputModule = angular.module('material.components.input', [
+ 'material.core'
+ ])
+ .directive('mdInputContainer', mdInputContainerDirective)
+ .directive('label', labelDirective)
+ .directive('input', inputTextareaDirective)
+ .directive('textarea', inputTextareaDirective)
+ .directive('mdMaxlength', mdMaxlengthDirective)
+ .directive('placeholder', placeholderDirective)
+ .directive('ngMessages', ngMessagesDirective)
+ .directive('ngMessage', ngMessageDirective)
+ .directive('ngMessageExp', ngMessageDirective)
+ .directive('mdSelectOnFocus', mdSelectOnFocusDirective)
+
+ .animation('.md-input-invalid', mdInputInvalidMessagesAnimation)
+ .animation('.md-input-messages-animation', ngMessagesAnimation)
+ .animation('.md-input-message-animation', ngMessageAnimation);
+
+// If we are running inside of tests; expose some extra services so that we can test them
+if (window._mdMocksIncluded) {
+ inputModule.service('$$mdInput', function() {
+ return {
+ // special accessor to internals... useful for testing
+ messages: {
+ show : showInputMessages,
+ hide : hideInputMessages,
+ getElement : getMessagesElement
+ }
+ }
+ })
+
+ // Register a service for each animation so that we can easily inject them into unit tests
+ .service('mdInputInvalidAnimation', mdInputInvalidMessagesAnimation)
+ .service('mdInputMessagesAnimation', ngMessagesAnimation)
+ .service('mdInputMessageAnimation', ngMessageAnimation);
+}
+
+/**
+ * @ngdoc directive
+ * @name mdInputContainer
+ * @module material.components.input
+ *
+ * @restrict E
+ *
+ * @description
+ * `<md-input-container>` is the parent of any input or textarea element.
+ *
+ * Input and textarea elements will not behave properly unless the md-input-container
+ * parent is provided.
+ *
+ * A single `<md-input-container>` should contain only one `<input>` element, otherwise it will throw an error.
+ *
+ * <b>Exception:</b> Hidden inputs (`<input type="hidden" />`) are ignored and will not throw an error, so
+ * you may combine these with other inputs.
+ *
+ * <b>Note:</b> When using `ngMessages` with your input element, make sure the message and container elements
+ * are *block* elements, otherwise animations applied to the messages will not look as intended. Either use a `div` and
+ * apply the `ng-message` and `ng-messages` classes respectively, or use the `md-block` class on your element.
+ *
+ * @param md-is-error {expression=} When the given expression evaluates to true, the input container
+ * will go into error state. Defaults to erroring if the input has been touched and is invalid.
+ * @param md-no-float {boolean=} When present, `placeholder` attributes on the input will not be converted to floating
+ * labels.
+ *
+ * @usage
+ * <hljs lang="html">
+ *
+ * <md-input-container>
+ * <label>Username</label>
+ * <input type="text" ng-model="user.name">
+ * </md-input-container>
+ *
+ * <md-input-container>
+ * <label>Description</label>
+ * <textarea ng-model="user.description"></textarea>
+ * </md-input-container>
+ *
+ * </hljs>
+ *
+ * <h3>When disabling floating labels</h3>
+ * <hljs lang="html">
+ *
+ * <md-input-container md-no-float>
+ * <input type="text" placeholder="Non-Floating Label">
+ * </md-input-container>
+ *
+ * </hljs>
+ */
+function mdInputContainerDirective($mdTheming, $parse) {
+
+ ContainerCtrl['$inject'] = ["$scope", "$element", "$attrs", "$animate"];
+ var INPUT_TAGS = ['INPUT', 'TEXTAREA', 'SELECT', 'MD-SELECT'];
+
+ var LEFT_SELECTORS = INPUT_TAGS.reduce(function(selectors, isel) {
+ return selectors.concat(['md-icon ~ ' + isel, '.md-icon ~ ' + isel]);
+ }, []).join(",");
+
+ var RIGHT_SELECTORS = INPUT_TAGS.reduce(function(selectors, isel) {
+ return selectors.concat([isel + ' ~ md-icon', isel + ' ~ .md-icon']);
+ }, []).join(",");
+
+ return {
+ restrict: 'E',
+ compile: compile,
+ controller: ContainerCtrl
+ };
+
+ function compile(tElement) {
+ // Check for both a left & right icon
+ var leftIcon = tElement[0].querySelector(LEFT_SELECTORS);
+ var rightIcon = tElement[0].querySelector(RIGHT_SELECTORS);
+
+ if (leftIcon) { tElement.addClass('md-icon-left'); }
+ if (rightIcon) { tElement.addClass('md-icon-right'); }
+
+ return function postLink(scope, element) {
+ $mdTheming(element);
+ };
+ }
+
+ function ContainerCtrl($scope, $element, $attrs, $animate) {
+ var self = this;
+
+ self.isErrorGetter = $attrs.mdIsError && $parse($attrs.mdIsError);
+
+ self.delegateClick = function() {
+ self.input.focus();
+ };
+ self.element = $element;
+ self.setFocused = function(isFocused) {
+ $element.toggleClass('md-input-focused', !!isFocused);
+ };
+ self.setHasValue = function(hasValue) {
+ $element.toggleClass('md-input-has-value', !!hasValue);
+ };
+ self.setHasPlaceholder = function(hasPlaceholder) {
+ $element.toggleClass('md-input-has-placeholder', !!hasPlaceholder);
+ };
+ self.setInvalid = function(isInvalid) {
+ if (isInvalid) {
+ $animate.addClass($element, 'md-input-invalid');
+ } else {
+ $animate.removeClass($element, 'md-input-invalid');
+ }
+ };
+ $scope.$watch(function() {
+ return self.label && self.input;
+ }, function(hasLabelAndInput) {
+ if (hasLabelAndInput && !self.label.attr('for')) {
+ self.label.attr('for', self.input.attr('id'));
+ }
+ });
+ }
+}
+
+function labelDirective() {
+ return {
+ restrict: 'E',
+ require: '^?mdInputContainer',
+ link: function(scope, element, attr, containerCtrl) {
+ if (!containerCtrl || attr.mdNoFloat || element.hasClass('md-container-ignore')) return;
+
+ containerCtrl.label = element;
+ scope.$on('$destroy', function() {
+ containerCtrl.label = null;
+ });
+ }
+ };
+}
+
+/**
+ * @ngdoc directive
+ * @name mdInput
+ * @restrict E
+ * @module material.components.input
+ *
+ * @description
+ * You can use any `<input>` or `<textarea>` element as a child of an `<md-input-container>`. This
+ * allows you to build complex forms for data entry.
+ *
+ * When the input is required and uses a floating label, then the label will automatically contain
+ * an asterisk (`*`).<br/>
+ * This behavior can be disabled by using the `md-no-asterisk` attribute.
+ *
+ * @param {number=} md-maxlength The maximum number of characters allowed in this input. If this is
+ * specified, a character counter will be shown underneath the input.<br/><br/>
+ * The purpose of **`md-maxlength`** is exactly to show the max length counter text. If you don't
+ * want the counter text and only need "plain" validation, you can use the "simple" `ng-maxlength`
+ * or maxlength attributes.<br/><br/>
+ * **Note:** Only valid for text/string inputs (not numeric).
+ *
+ * @param {string=} aria-label Aria-label is required when no label is present. A warning message
+ * will be logged in the console if not present.
+ * @param {string=} placeholder An alternative approach to using aria-label when the label is not
+ * PRESENT. The placeholder text is copied to the aria-label attribute.
+ * @param md-no-autogrow {boolean=} When present, textareas will not grow automatically.
+ * @param md-no-asterisk {boolean=} When present, an asterisk will not be appended to the inputs floating label
+ * @param md-no-resize {boolean=} Disables the textarea resize handle.
+ * @param {number=} max-rows The maximum amount of rows for a textarea.
+ * @param md-detect-hidden {boolean=} When present, textareas will be sized properly when they are
+ * revealed after being hidden. This is off by default for performance reasons because it
+ * guarantees a reflow every digest cycle.
+ *
+ * @usage
+ * <hljs lang="html">
+ * <md-input-container>
+ * <label>Color</label>
+ * <input type="text" ng-model="color" required md-maxlength="10">
+ * </md-input-container>
+ * </hljs>
+ *
+ * <h3>With Errors</h3>
+ *
+ * `md-input-container` also supports errors using the standard `ng-messages` directives and
+ * animates the messages when they become visible using from the `ngEnter`/`ngLeave` events or
+ * the `ngShow`/`ngHide` events.
+ *
+ * By default, the messages will be hidden until the input is in an error state. This is based off
+ * of the `md-is-error` expression of the `md-input-container`. This gives the user a chance to
+ * fill out the form before the errors become visible.
+ *
+ * <hljs lang="html">
+ * <form name="colorForm">
+ * <md-input-container>
+ * <label>Favorite Color</label>
+ * <input name="favoriteColor" ng-model="favoriteColor" required>
+ * <div ng-messages="colorForm.favoriteColor.$error">
+ * <div ng-message="required">This is required!</div>
+ * </div>
+ * </md-input-container>
+ * </form>
+ * </hljs>
+ *
+ * We automatically disable this auto-hiding functionality if you provide any of the following
+ * visibility directives on the `ng-messages` container:
+ *
+ * - `ng-if`
+ * - `ng-show`/`ng-hide`
+ * - `ng-switch-when`/`ng-switch-default`
+ *
+ * You can also disable this functionality manually by adding the `md-auto-hide="false"` expression
+ * to the `ng-messages` container. This may be helpful if you always want to see the error messages
+ * or if you are building your own visibilty directive.
+ *
+ * _<b>Note:</b> The `md-auto-hide` attribute is a static string that is only checked upon
+ * initialization of the `ng-messages` directive to see if it equals the string `false`._
+ *
+ * <hljs lang="html">
+ * <form name="userForm">
+ * <md-input-container>
+ * <label>Last Name</label>
+ * <input name="lastName" ng-model="lastName" required md-maxlength="10" minlength="4">
+ * <div ng-messages="userForm.lastName.$error" ng-show="userForm.lastName.$dirty">
+ * <div ng-message="required">This is required!</div>
+ * <div ng-message="md-maxlength">That's too long!</div>
+ * <div ng-message="minlength">That's too short!</div>
+ * </div>
+ * </md-input-container>
+ * <md-input-container>
+ * <label>Biography</label>
+ * <textarea name="bio" ng-model="biography" required md-maxlength="150"></textarea>
+ * <div ng-messages="userForm.bio.$error" ng-show="userForm.bio.$dirty">
+ * <div ng-message="required">This is required!</div>
+ * <div ng-message="md-maxlength">That's too long!</div>
+ * </div>
+ * </md-input-container>
+ * <md-input-container>
+ * <input aria-label='title' ng-model='title'>
+ * </md-input-container>
+ * <md-input-container>
+ * <input placeholder='title' ng-model='title'>
+ * </md-input-container>
+ * </form>
+ * </hljs>
+ *
+ * <h3>Notes</h3>
+ *
+ * - Requires [ngMessages](https://docs.angularjs.org/api/ngMessages).
+ * - Behaves like the [AngularJS input directive](https://docs.angularjs.org/api/ng/directive/input).
+ *
+ * The `md-input` and `md-input-container` directives use very specific positioning to achieve the
+ * error animation effects. Therefore, it is *not* advised to use the Layout system inside of the
+ * `<md-input-container>` tags. Instead, use relative or absolute positioning.
+ *
+ *
+ * <h3>Textarea directive</h3>
+ * The `textarea` element within a `md-input-container` has the following specific behavior:
+ * - By default the `textarea` grows as the user types. This can be disabled via the `md-no-autogrow`
+ * attribute.
+ * - If a `textarea` has the `rows` attribute, it will treat the `rows` as the minimum height and will
+ * continue growing as the user types. For example a textarea with `rows="3"` will be 3 lines of text
+ * high initially. If no rows are specified, the directive defaults to 1.
+ * - The textarea's height gets set on initialization, as well as while the user is typing. In certain situations
+ * (e.g. while animating) the directive might have been initialized, before the element got it's final height. In
+ * those cases, you can trigger a resize manually by broadcasting a `md-resize-textarea` event on the scope.
+ * - If you wan't a `textarea` to stop growing at a certain point, you can specify the `max-rows` attribute.
+ * - The textarea's bottom border acts as a handle which users can drag, in order to resize the element vertically.
+ * Once the user has resized a `textarea`, the autogrowing functionality becomes disabled. If you don't want a
+ * `textarea` to be resizeable by the user, you can add the `md-no-resize` attribute.
+ */
+
+function inputTextareaDirective($mdUtil, $window, $mdAria, $timeout, $mdGesture) {
+ return {
+ restrict: 'E',
+ require: ['^?mdInputContainer', '?ngModel', '?^form'],
+ link: postLink
+ };
+
+ function postLink(scope, element, attr, ctrls) {
+
+ var containerCtrl = ctrls[0];
+ var hasNgModel = !!ctrls[1];
+ var ngModelCtrl = ctrls[1] || $mdUtil.fakeNgModel();
+ var parentForm = ctrls[2];
+ var isReadonly = angular.isDefined(attr.readonly);
+ var mdNoAsterisk = $mdUtil.parseAttributeBoolean(attr.mdNoAsterisk);
+ var tagName = element[0].tagName.toLowerCase();
+
+
+ if (!containerCtrl) return;
+ if (attr.type === 'hidden') {
+ element.attr('aria-hidden', 'true');
+ return;
+ } else if (containerCtrl.input) {
+ if (containerCtrl.input[0].contains(element[0])) {
+ return;
+ } else {
+ throw new Error("<md-input-container> can only have *one* <input>, <textarea> or <md-select> child element!");
+ }
+ }
+ containerCtrl.input = element;
+
+ setupAttributeWatchers();
+
+ // Add an error spacer div after our input to provide space for the char counter and any ng-messages
+ var errorsSpacer = angular.element('<div class="md-errors-spacer">');
+ element.after(errorsSpacer);
+
+ if (!containerCtrl.label) {
+ $mdAria.expect(element, 'aria-label', attr.placeholder);
+ }
+
+ element.addClass('md-input');
+ if (!element.attr('id')) {
+ element.attr('id', 'input_' + $mdUtil.nextUid());
+ }
+
+ // This works around a Webkit issue where number inputs, placed in a flexbox, that have
+ // a `min` and `max` will collapse to about 1/3 of their proper width. Please check #7349
+ // for more info. Also note that we don't override the `step` if the user has specified it,
+ // in order to prevent some unexpected behaviour.
+ if (tagName === 'input' && attr.type === 'number' && attr.min && attr.max && !attr.step) {
+ element.attr('step', 'any');
+ } else if (tagName === 'textarea') {
+ setupTextarea();
+ }
+
+ // If the input doesn't have an ngModel, it may have a static value. For that case,
+ // we have to do one initial check to determine if the container should be in the
+ // "has a value" state.
+ if (!hasNgModel) {
+ inputCheckValue();
+ }
+
+ var isErrorGetter = containerCtrl.isErrorGetter || function() {
+ return ngModelCtrl.$invalid && (ngModelCtrl.$touched || (parentForm && parentForm.$submitted));
+ };
+
+ scope.$watch(isErrorGetter, containerCtrl.setInvalid);
+
+ // When the developer uses the ngValue directive for the input, we have to observe the attribute, because
+ // Angular's ngValue directive is just setting the `value` attribute.
+ if (attr.ngValue) {
+ attr.$observe('value', inputCheckValue);
+ }
+
+ ngModelCtrl.$parsers.push(ngModelPipelineCheckValue);
+ ngModelCtrl.$formatters.push(ngModelPipelineCheckValue);
+
+ element.on('input', inputCheckValue);
+
+ if (!isReadonly) {
+ element
+ .on('focus', function(ev) {
+ $mdUtil.nextTick(function() {
+ containerCtrl.setFocused(true);
+ });
+ })
+ .on('blur', function(ev) {
+ $mdUtil.nextTick(function() {
+ containerCtrl.setFocused(false);
+ inputCheckValue();
+ });
+ });
+ }
+
+ scope.$on('$destroy', function() {
+ containerCtrl.setFocused(false);
+ containerCtrl.setHasValue(false);
+ containerCtrl.input = null;
+ });
+
+ /** Gets run through ngModel's pipeline and set the `has-value` class on the container. */
+ function ngModelPipelineCheckValue(arg) {
+ containerCtrl.setHasValue(!ngModelCtrl.$isEmpty(arg));
+ return arg;
+ }
+
+ function setupAttributeWatchers() {
+ if (containerCtrl.label) {
+ attr.$observe('required', function (value) {
+ // We don't need to parse the required value, it's always a boolean because of angular's
+ // required directive.
+ containerCtrl.label.toggleClass('md-required', value && !mdNoAsterisk);
+ });
+ }
+ }
+
+ function inputCheckValue() {
+ // An input's value counts if its length > 0,
+ // or if the input's validity state says it has bad input (eg string in a number input)
+ containerCtrl.setHasValue(element.val().length > 0 || (element[0].validity || {}).badInput);
+ }
+
+ function setupTextarea() {
+ var isAutogrowing = !attr.hasOwnProperty('mdNoAutogrow');
+
+ attachResizeHandle();
+
+ if (!isAutogrowing) return;
+
+ // Can't check if height was or not explicity set,
+ // so rows attribute will take precedence if present
+ var minRows = attr.hasOwnProperty('rows') ? parseInt(attr.rows) : NaN;
+ var maxRows = attr.hasOwnProperty('maxRows') ? parseInt(attr.maxRows) : NaN;
+ var scopeResizeListener = scope.$on('md-resize-textarea', growTextarea);
+ var lineHeight = null;
+ var node = element[0];
+
+ // This timeout is necessary, because the browser needs a little bit
+ // of time to calculate the `clientHeight` and `scrollHeight`.
+ $timeout(function() {
+ $mdUtil.nextTick(growTextarea);
+ }, 10, false);
+
+ // We could leverage ngModel's $parsers here, however it
+ // isn't reliable, because Angular trims the input by default,
+ // which means that growTextarea won't fire when newlines and
+ // spaces are added.
+ element.on('input', growTextarea);
+
+ // We should still use the $formatters, because they fire when
+ // the value was changed from outside the textarea.
+ if (hasNgModel) {
+ ngModelCtrl.$formatters.push(formattersListener);
+ }
+
+ if (!minRows) {
+ element.attr('rows', 1);
+ }
+
+ angular.element($window).on('resize', growTextarea);
+ scope.$on('$destroy', disableAutogrow);
+
+ function growTextarea() {
+ // temporarily disables element's flex so its height 'runs free'
+ element
+ .attr('rows', 1)
+ .css('height', 'auto')
+ .addClass('md-no-flex');
+
+ var height = getHeight();
+
+ if (!lineHeight) {
+ // offsetHeight includes padding which can throw off our value
+ var originalPadding = element[0].style.padding || '';
+ lineHeight = element.css('padding', 0).prop('offsetHeight');
+ element[0].style.padding = originalPadding;
+ }
+
+ if (minRows && lineHeight) {
+ height = Math.max(height, lineHeight * minRows);
+ }
+
+ if (maxRows && lineHeight) {
+ var maxHeight = lineHeight * maxRows;
+
+ if (maxHeight < height) {
+ element.attr('md-no-autogrow', '');
+ height = maxHeight;
+ } else {
+ element.removeAttr('md-no-autogrow');
+ }
+ }
+
+ if (lineHeight) {
+ element.attr('rows', Math.round(height / lineHeight));
+ }
+
+ element
+ .css('height', height + 'px')
+ .removeClass('md-no-flex');
+ }
+
+ function getHeight() {
+ var offsetHeight = node.offsetHeight;
+ var line = node.scrollHeight - offsetHeight;
+ return offsetHeight + Math.max(line, 0);
+ }
+
+ function formattersListener(value) {
+ $mdUtil.nextTick(growTextarea);
+ return value;
+ }
+
+ function disableAutogrow() {
+ if (!isAutogrowing) return;
+
+ isAutogrowing = false;
+ angular.element($window).off('resize', growTextarea);
+ scopeResizeListener && scopeResizeListener();
+ element
+ .attr('md-no-autogrow', '')
+ .off('input', growTextarea);
+
+ if (hasNgModel) {
+ var listenerIndex = ngModelCtrl.$formatters.indexOf(formattersListener);
+
+ if (listenerIndex > -1) {
+ ngModelCtrl.$formatters.splice(listenerIndex, 1);
+ }
+ }
+ }
+
+ function attachResizeHandle() {
+ if (attr.hasOwnProperty('mdNoResize')) return;
+
+ var handle = angular.element('<div class="md-resize-handle"></div>');
+ var isDragging = false;
+ var dragStart = null;
+ var startHeight = 0;
+ var container = containerCtrl.element;
+ var dragGestureHandler = $mdGesture.register(handle, 'drag', { horizontal: false });
+
+
+ element.wrap('<div class="md-resize-wrapper">').after(handle);
+ handle.on('mousedown', onMouseDown);
+
+ container
+ .on('$md.dragstart', onDragStart)
+ .on('$md.drag', onDrag)
+ .on('$md.dragend', onDragEnd);
+
+ scope.$on('$destroy', function() {
+ handle
+ .off('mousedown', onMouseDown)
+ .remove();
+
+ container
+ .off('$md.dragstart', onDragStart)
+ .off('$md.drag', onDrag)
+ .off('$md.dragend', onDragEnd);
+
+ dragGestureHandler();
+ handle = null;
+ container = null;
+ dragGestureHandler = null;
+ });
+
+ function onMouseDown(ev) {
+ ev.preventDefault();
+ isDragging = true;
+ dragStart = ev.clientY;
+ startHeight = parseFloat(element.css('height')) || element.prop('offsetHeight');
+ }
+
+ function onDragStart(ev) {
+ if (!isDragging) return;
+ ev.preventDefault();
+ disableAutogrow();
+ container.addClass('md-input-resized');
+ }
+
+ function onDrag(ev) {
+ if (!isDragging) return;
+
+ element.css('height', (startHeight + ev.pointer.distanceY) + 'px');
+ }
+
+ function onDragEnd(ev) {
+ if (!isDragging) return;
+ isDragging = false;
+ container.removeClass('md-input-resized');
+ }
+ }
+
+ // Attach a watcher to detect when the textarea gets shown.
+ if (attr.hasOwnProperty('mdDetectHidden')) {
+
+ var handleHiddenChange = function() {
+ var wasHidden = false;
+
+ return function() {
+ var isHidden = node.offsetHeight === 0;
+
+ if (isHidden === false && wasHidden === true) {
+ growTextarea();
+ }
+
+ wasHidden = isHidden;
+ };
+ }();
+
+ // Check every digest cycle whether the visibility of the textarea has changed.
+ // Queue up to run after the digest cycle is complete.
+ scope.$watch(function() {
+ $mdUtil.nextTick(handleHiddenChange, false);
+ return true;
+ });
+ }
+ }
+ }
+}
+
+function mdMaxlengthDirective($animate, $mdUtil) {
+ return {
+ restrict: 'A',
+ require: ['ngModel', '^mdInputContainer'],
+ link: postLink
+ };
+
+ function postLink(scope, element, attr, ctrls) {
+ var maxlength;
+ var ngModelCtrl = ctrls[0];
+ var containerCtrl = ctrls[1];
+ var charCountEl, errorsSpacer;
+
+ // Wait until the next tick to ensure that the input has setup the errors spacer where we will
+ // append our counter
+ $mdUtil.nextTick(function() {
+ errorsSpacer = angular.element(containerCtrl.element[0].querySelector('.md-errors-spacer'));
+ charCountEl = angular.element('<div class="md-char-counter">');
+
+ // Append our character counter inside the errors spacer
+ errorsSpacer.append(charCountEl);
+
+ // Stop model from trimming. This makes it so whitespace
+ // over the maxlength still counts as invalid.
+ attr.$set('ngTrim', 'false');
+
+ scope.$watch(attr.mdMaxlength, function(value) {
+ maxlength = value;
+ if (angular.isNumber(value) && value > 0) {
+ if (!charCountEl.parent().length) {
+ $animate.enter(charCountEl, errorsSpacer);
+ }
+ renderCharCount();
+ } else {
+ $animate.leave(charCountEl);
+ }
+ });
+
+ ngModelCtrl.$validators['md-maxlength'] = function(modelValue, viewValue) {
+ if (!angular.isNumber(maxlength) || maxlength < 0) {
+ return true;
+ }
+
+ // We always update the char count, when the modelValue has changed.
+ // Using the $validators for triggering the update works very well.
+ renderCharCount();
+
+ return ( modelValue || element.val() || viewValue || '' ).length <= maxlength;
+ };
+ });
+
+ function renderCharCount(value) {
+ // If we have not been appended to the body yet; do not render
+ if (!charCountEl.parent) {
+ return value;
+ }
+
+ // Force the value into a string since it may be a number,
+ // which does not have a length property.
+ charCountEl.text(String(element.val() || value || '').length + ' / ' + maxlength);
+ return value;
+ }
+ }
+}
+
+function placeholderDirective($compile) {
+ return {
+ restrict: 'A',
+ require: '^^?mdInputContainer',
+ priority: 200,
+ link: {
+ // Note that we need to do this in the pre-link, as opposed to the post link, if we want to
+ // support data bindings in the placeholder. This is necessary, because we have a case where
+ // we transfer the placeholder value to the `<label>` and we remove it from the original `<input>`.
+ // If we did this in the post-link, Angular would have set up the observers already and would be
+ // re-adding the attribute, even though we removed it from the element.
+ pre: preLink
+ }
+ };
+
+ function preLink(scope, element, attr, inputContainer) {
+ // If there is no input container, just return
+ if (!inputContainer) return;
+
+ var label = inputContainer.element.find('label');
+ var noFloat = inputContainer.element.attr('md-no-float');
+
+ // If we have a label, or they specify the md-no-float attribute, just return
+ if ((label && label.length) || noFloat === '' || scope.$eval(noFloat)) {
+ // Add a placeholder class so we can target it in the CSS
+ inputContainer.setHasPlaceholder(true);
+ return;
+ }
+
+ // md-select handles placeholders on it's own
+ if (element[0].nodeName != 'MD-SELECT') {
+ // Move the placeholder expression to the label
+ var newLabel = angular.element('<label ng-click="delegateClick()" tabindex="-1">' + attr.placeholder + '</label>');
+
+ // Note that we unset it via `attr`, in order to get Angular
+ // to remove any observers that it might have set up. Otherwise
+ // the attribute will be added on the next digest.
+ attr.$set('placeholder', null);
+
+ // We need to compile the label manually in case it has any bindings.
+ // A gotcha here is that we first add the element to the DOM and we compile
+ // it later. This is necessary, because if we compile the element beforehand,
+ // it won't be able to find the `mdInputContainer` controller.
+ inputContainer.element
+ .addClass('md-icon-float')
+ .prepend(newLabel);
+
+ $compile(newLabel)(scope);
+ }
+ }
+}
+
+/**
+ * @ngdoc directive
+ * @name mdSelectOnFocus
+ * @module material.components.input
+ *
+ * @restrict A
+ *
+ * @description
+ * The `md-select-on-focus` directive allows you to automatically select the element's input text on focus.
+ *
+ * <h3>Notes</h3>
+ * - The use of `md-select-on-focus` is restricted to `<input>` and `<textarea>` elements.
+ *
+ * @usage
+ * <h3>Using with an Input</h3>
+ * <hljs lang="html">
+ *
+ * <md-input-container>
+ * <label>Auto Select</label>
+ * <input type="text" md-select-on-focus>
+ * </md-input-container>
+ * </hljs>
+ *
+ * <h3>Using with a Textarea</h3>
+ * <hljs lang="html">
+ *
+ * <md-input-container>
+ * <label>Auto Select</label>
+ * <textarea md-select-on-focus>This text will be selected on focus.</textarea>
+ * </md-input-container>
+ *
+ * </hljs>
+ */
+function mdSelectOnFocusDirective($timeout) {
+
+ return {
+ restrict: 'A',
+ link: postLink
+ };
+
+ function postLink(scope, element, attr) {
+ if (element[0].nodeName !== 'INPUT' && element[0].nodeName !== "TEXTAREA") return;
+
+ var preventMouseUp = false;
+
+ element
+ .on('focus', onFocus)
+ .on('mouseup', onMouseUp);
+
+ scope.$on('$destroy', function() {
+ element
+ .off('focus', onFocus)
+ .off('mouseup', onMouseUp);
+ });
+
+ function onFocus() {
+ preventMouseUp = true;
+
+ $timeout(function() {
+ // Use HTMLInputElement#select to fix firefox select issues.
+ // The debounce is here for Edge's sake, otherwise the selection doesn't work.
+ element[0].select();
+
+ // This should be reset from inside the `focus`, because the event might
+ // have originated from something different than a click, e.g. a keyboard event.
+ preventMouseUp = false;
+ }, 1, false);
+ }
+
+ // Prevents the default action of the first `mouseup` after a focus.
+ // This is necessary, because browsers fire a `mouseup` right after the element
+ // has been focused. In some browsers (Firefox in particular) this can clear the
+ // selection. There are examples of the problem in issue #7487.
+ function onMouseUp(event) {
+ if (preventMouseUp) {
+ event.preventDefault();
+ }
+ }
+ }
+}
+
+var visibilityDirectives = ['ngIf', 'ngShow', 'ngHide', 'ngSwitchWhen', 'ngSwitchDefault'];
+function ngMessagesDirective() {
+ return {
+ restrict: 'EA',
+ link: postLink,
+
+ // This is optional because we don't want target *all* ngMessage instances, just those inside of
+ // mdInputContainer.
+ require: '^^?mdInputContainer'
+ };
+
+ function postLink(scope, element, attrs, inputContainer) {
+ // If we are not a child of an input container, don't do anything
+ if (!inputContainer) return;
+
+ // Add our animation class
+ element.toggleClass('md-input-messages-animation', true);
+
+ // Add our md-auto-hide class to automatically hide/show messages when container is invalid
+ element.toggleClass('md-auto-hide', true);
+
+ // If we see some known visibility directives, remove the md-auto-hide class
+ if (attrs.mdAutoHide == 'false' || hasVisibiltyDirective(attrs)) {
+ element.toggleClass('md-auto-hide', false);
+ }
+ }
+
+ function hasVisibiltyDirective(attrs) {
+ return visibilityDirectives.some(function(attr) {
+ return attrs[attr];
+ });
+ }
+}
+
+function ngMessageDirective($mdUtil) {
+ return {
+ restrict: 'EA',
+ compile: compile,
+ priority: 100
+ };
+
+ function compile(tElement) {
+ if (!isInsideInputContainer(tElement)) {
+
+ // When the current element is inside of a document fragment, then we need to check for an input-container
+ // in the postLink, because the element will be later added to the DOM and is currently just in a temporary
+ // fragment, which causes the input-container check to fail.
+ if (isInsideFragment()) {
+ return function (scope, element) {
+ if (isInsideInputContainer(element)) {
+ // Inside of the postLink function, a ngMessage directive will be a comment element, because it's
+ // currently hidden. To access the shown element, we need to use the element from the compile function.
+ initMessageElement(tElement);
+ }
+ };
+ }
+ } else {
+ initMessageElement(tElement);
+ }
+
+ function isInsideFragment() {
+ var nextNode = tElement[0];
+ while (nextNode = nextNode.parentNode) {
+ if (nextNode.nodeType === Node.DOCUMENT_FRAGMENT_NODE) {
+ return true;
+ }
+ }
+ return false;
+ }
+
+ function isInsideInputContainer(element) {
+ return !!$mdUtil.getClosest(element, "md-input-container");
+ }
+
+ function initMessageElement(element) {
+ // Add our animation class
+ element.toggleClass('md-input-message-animation', true);
+ }
+ }
+}
+
+var $$AnimateRunner, $animateCss, $mdUtil, $log;
+
+function mdInputInvalidMessagesAnimation($$AnimateRunner, $animateCss, $mdUtil, $log) {
+ saveSharedServices($$AnimateRunner, $animateCss, $mdUtil, $log);
+
+ return {
+ addClass: function(element, className, done) {
+ showInputMessages(element, done);
+ }
+
+ // NOTE: We do not need the removeClass method, because the message ng-leave animation will fire
+ };
+}
+
+function ngMessagesAnimation($$AnimateRunner, $animateCss, $mdUtil, $log) {
+ saveSharedServices($$AnimateRunner, $animateCss, $mdUtil, $log);
+
+ return {
+ enter: function(element, done) {
+ showInputMessages(element, done);
+ },
+
+ leave: function(element, done) {
+ hideInputMessages(element, done);
+ },
+
+ addClass: function(element, className, done) {
+ if (className == "ng-hide") {
+ hideInputMessages(element, done);
+ } else {
+ done();
+ }
+ },
+
+ removeClass: function(element, className, done) {
+ if (className == "ng-hide") {
+ showInputMessages(element, done);
+ } else {
+ done();
+ }
+ }
+ };
+}
+
+function ngMessageAnimation($$AnimateRunner, $animateCss, $mdUtil, $log) {
+ saveSharedServices($$AnimateRunner, $animateCss, $mdUtil, $log);
+
+ return {
+ enter: function(element, done) {
+ var animator = showMessage(element);
+
+ animator.start().done(done);
+ },
+
+ leave: function(element, done) {
+ var animator = hideMessage(element);
+
+ animator.start().done(done);
+ }
+ };
+}
+
+function showInputMessages(element, done) {
+ var animators = [], animator;
+ var messages = getMessagesElement(element);
+ var children = messages.children();
+
+ if (messages.length == 0 || children.length == 0) {
+ $log.warn('mdInput messages show animation called on invalid messages element: ', element);
+ done();
+ return;
+ }
+
+ angular.forEach(children, function(child) {
+ animator = showMessage(angular.element(child));
+
+ animators.push(animator.start());
+ });
+
+ $$AnimateRunner.all(animators, done);
+}
+
+function hideInputMessages(element, done) {
+ var animators = [], animator;
+ var messages = getMessagesElement(element);
+ var children = messages.children();
+
+ if (messages.length == 0 || children.length == 0) {
+ $log.warn('mdInput messages hide animation called on invalid messages element: ', element);
+ done();
+ return;
+ }
+
+ angular.forEach(children, function(child) {
+ animator = hideMessage(angular.element(child));
+
+ animators.push(animator.start());
+ });
+
+ $$AnimateRunner.all(animators, done);
+}
+
+function showMessage(element) {
+ var height = parseInt(window.getComputedStyle(element[0]).height);
+ var topMargin = parseInt(window.getComputedStyle(element[0]).marginTop);
+
+ var messages = getMessagesElement(element);
+ var container = getInputElement(element);
+
+ // Check to see if the message is already visible so we can skip
+ var alreadyVisible = (topMargin > -height);
+
+ // If we have the md-auto-hide class, the md-input-invalid animation will fire, so we can skip
+ if (alreadyVisible || (messages.hasClass('md-auto-hide') && !container.hasClass('md-input-invalid'))) {
+ return $animateCss(element, {});
+ }
+
+ return $animateCss(element, {
+ event: 'enter',
+ structural: true,
+ from: {"opacity": 0, "margin-top": -height + "px"},
+ to: {"opacity": 1, "margin-top": "0"},
+ duration: 0.3
+ });
+}
+
+function hideMessage(element) {
+ var height = element[0].offsetHeight;
+ var styles = window.getComputedStyle(element[0]);
+
+ // If we are already hidden, just return an empty animation
+ if (parseInt(styles.opacity) === 0) {
+ return $animateCss(element, {});
+ }
+
+ // Otherwise, animate
+ return $animateCss(element, {
+ event: 'leave',
+ structural: true,
+ from: {"opacity": 1, "margin-top": 0},
+ to: {"opacity": 0, "margin-top": -height + "px"},
+ duration: 0.3
+ });
+}
+
+function getInputElement(element) {
+ var inputContainer = element.controller('mdInputContainer');
+
+ return inputContainer.element;
+}
+
+function getMessagesElement(element) {
+ // If we ARE the messages element, just return ourself
+ if (element.hasClass('md-input-messages-animation')) {
+ return element;
+ }
+
+ // If we are a ng-message element, we need to traverse up the DOM tree
+ if (element.hasClass('md-input-message-animation')) {
+ return angular.element($mdUtil.getClosest(element, function(node) {
+ return node.classList.contains('md-input-messages-animation');
+ }));
+ }
+
+ // Otherwise, we can traverse down
+ return angular.element(element[0].querySelector('.md-input-messages-animation'));
+}
+
+function saveSharedServices(_$$AnimateRunner_, _$animateCss_, _$mdUtil_, _$log_) {
+ $$AnimateRunner = _$$AnimateRunner_;
+ $animateCss = _$animateCss_;
+ $mdUtil = _$mdUtil_;
+ $log = _$log_;
+}
+
+ngmaterial.components.input = angular.module("material.components.input"); \ No newline at end of file
diff --git a/vnfmarket/common/thirdparty/angular-material/modules/closure/input/input.min.css b/vnfmarket/common/thirdparty/angular-material/modules/closure/input/input.min.css
new file mode 100644
index 00000000..5a4a3f33
--- /dev/null
+++ b/vnfmarket/common/thirdparty/angular-material/modules/closure/input/input.min.css
@@ -0,0 +1,6 @@
+/*!
+ * Angular Material Design
+ * https://github.com/angular/material
+ * @license MIT
+ * v1.1.2-master-a9ba340
+ */md-input-container{display:inline-block;position:relative;padding:2px;margin:18px 0;vertical-align:middle}md-input-container:after{content:"";display:table;clear:both}md-input-container.md-block{display:block}md-input-container .md-errors-spacer{float:right;min-height:24px;min-width:1px}[dir=rtl] md-input-container .md-errors-spacer{float:left}md-input-container>md-icon{position:absolute;top:8px;left:2px;right:auto}[dir=rtl] md-input-container>md-icon{left:auto;right:2px}md-input-container input[type=color],md-input-container input[type=date],md-input-container input[type=datetime-local],md-input-container input[type=datetime],md-input-container input[type=email],md-input-container input[type=month],md-input-container input[type=number],md-input-container input[type=password],md-input-container input[type=search],md-input-container input[type=tel],md-input-container input[type=text],md-input-container input[type=time],md-input-container input[type=url],md-input-container input[type=week],md-input-container textarea{-moz-appearance:none;-webkit-appearance:none}md-input-container input[type=date],md-input-container input[type=datetime-local],md-input-container input[type=month],md-input-container input[type=time],md-input-container input[type=week]{min-height:26px}md-input-container textarea{resize:none;overflow:hidden}md-input-container textarea.md-input{min-height:26px;-ms-flex-preferred-size:auto}md-input-container textarea[md-no-autogrow]{height:auto;overflow:auto}md-input-container label:not(.md-container-ignore){position:absolute;bottom:100%;left:0;right:auto}[dir=rtl] md-input-container label:not(.md-container-ignore){left:auto;right:0}md-input-container label:not(.md-container-ignore).md-required:after{content:" *";font-size:13px;vertical-align:top}md-input-container .md-placeholder,md-input-container label:not(.md-no-float):not(.md-container-ignore){overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%;-webkit-box-ordinal-group:2;-webkit-order:1;order:1;pointer-events:none;-webkit-font-smoothing:antialiased;padding-left:3px;padding-right:0;z-index:1;-webkit-transform:translate3d(0,28px,0) scale(1);transform:translate3d(0,28px,0) scale(1);-webkit-transition:-webkit-transform .4s cubic-bezier(.25,.8,.25,1);transition:-webkit-transform .4s cubic-bezier(.25,.8,.25,1);transition:transform .4s cubic-bezier(.25,.8,.25,1);transition:transform .4s cubic-bezier(.25,.8,.25,1),-webkit-transform .4s cubic-bezier(.25,.8,.25,1);max-width:100%;-webkit-transform-origin:left top;transform-origin:left top}[dir=rtl] md-input-container .md-placeholder,[dir=rtl] md-input-container label:not(.md-no-float):not(.md-container-ignore){padding-left:0;padding-right:3px;-webkit-transform-origin:right top;transform-origin:right top}md-input-container .md-placeholder{position:absolute;top:0;opacity:0;-webkit-transition-property:opacity,-webkit-transform;transition-property:opacity,-webkit-transform;transition-property:opacity,transform;transition-property:opacity,transform,-webkit-transform;-webkit-transform:translate3d(0,30px,0);transform:translate3d(0,30px,0)}md-input-container.md-input-focused .md-placeholder{opacity:1;-webkit-transform:translate3d(0,24px,0);transform:translate3d(0,24px,0)}md-input-container.md-input-has-value .md-placeholder{-webkit-transition:none;transition:none;opacity:0}md-input-container:not(.md-input-has-value) input:not(:focus),md-input-container:not(.md-input-has-value) input:not(:focus)::-webkit-datetime-edit-ampm-field,md-input-container:not(.md-input-has-value) input:not(:focus)::-webkit-datetime-edit-day-field,md-input-container:not(.md-input-has-value) input:not(:focus)::-webkit-datetime-edit-hour-field,md-input-container:not(.md-input-has-value) input:not(:focus)::-webkit-datetime-edit-millisecond-field,md-input-container:not(.md-input-has-value) input:not(:focus)::-webkit-datetime-edit-minute-field,md-input-container:not(.md-input-has-value) input:not(:focus)::-webkit-datetime-edit-month-field,md-input-container:not(.md-input-has-value) input:not(:focus)::-webkit-datetime-edit-second-field,md-input-container:not(.md-input-has-value) input:not(:focus)::-webkit-datetime-edit-text,md-input-container:not(.md-input-has-value) input:not(:focus)::-webkit-datetime-edit-week-field,md-input-container:not(.md-input-has-value) input:not(:focus)::-webkit-datetime-edit-year-field{color:transparent}md-input-container .md-input{-webkit-box-ordinal-group:3;-webkit-order:2;order:2;display:block;margin-top:0;background:none;padding:2px 2px 1px;border-width:0 0 1px;line-height:26px;height:30px;-ms-flex-preferred-size:26px;border-radius:0;border-style:solid;width:100%;box-sizing:border-box;float:left}[dir=rtl] md-input-container .md-input{float:right}md-input-container .md-input:focus{outline:none}md-input-container .md-input:invalid{outline:none;box-shadow:none}md-input-container .md-input.md-no-flex{-webkit-box-flex:0!important;-webkit-flex:none!important;flex:none!important}md-input-container .md-char-counter{text-align:right;padding-right:2px;padding-left:0}[dir=rtl] md-input-container .md-char-counter{text-align:left;padding-right:0;padding-left:2px}md-input-container .md-input-messages-animation{position:relative;-webkit-box-ordinal-group:5;-webkit-order:4;order:4;overflow:hidden;clear:left}[dir=rtl] md-input-container .md-input-messages-animation{clear:right}md-input-container .md-input-messages-animation.ng-enter .md-input-message-animation{opacity:0;margin-top:-100px}md-input-container .md-char-counter,md-input-container .md-input-message-animation{font-size:12px;line-height:14px;overflow:hidden;-webkit-transition:all .3s cubic-bezier(.55,0,.55,.2);transition:all .3s cubic-bezier(.55,0,.55,.2);opacity:1;margin-top:0;padding-top:5px}md-input-container .md-char-counter:not(.md-char-counter),md-input-container .md-input-message-animation:not(.md-char-counter){padding-right:5px;padding-left:0}[dir=rtl] md-input-container .md-char-counter:not(.md-char-counter),[dir=rtl] md-input-container .md-input-message-animation:not(.md-char-counter){padding-right:0;padding-left:5px}md-input-container .md-input-message-animation.ng-enter,md-input-container .md-input-message-animation:not(.ng-animate),md-input-container:not(.md-input-invalid) .md-auto-hide .md-input-message-animation{opacity:0;margin-top:-100px}md-input-container.md-input-focused label:not(.md-no-float),md-input-container.md-input-has-placeholder label:not(.md-no-float),md-input-container.md-input-has-value label:not(.md-no-float){-webkit-transform:translate3d(0,6px,0) scale(.75);transform:translate3d(0,6px,0) scale(.75);-webkit-transition:width .4s cubic-bezier(.25,.8,.25,1),-webkit-transform .4s cubic-bezier(.25,.8,.25,1);transition:width .4s cubic-bezier(.25,.8,.25,1),-webkit-transform .4s cubic-bezier(.25,.8,.25,1);transition:transform .4s cubic-bezier(.25,.8,.25,1),width .4s cubic-bezier(.25,.8,.25,1);transition:transform .4s cubic-bezier(.25,.8,.25,1),width .4s cubic-bezier(.25,.8,.25,1),-webkit-transform .4s cubic-bezier(.25,.8,.25,1)}md-input-container.md-input-has-value label{-webkit-transition:none;transition:none}md-input-container.md-input-focused .md-input,md-input-container.md-input-resized .md-input,md-input-container .md-input.ng-invalid.ng-dirty{padding-bottom:0;border-width:0 0 2px}[disabled] md-input-container .md-input,md-input-container .md-input[disabled]{background-position:bottom -1px left 0;background-size:4px 1px;background-repeat:repeat-x}md-input-container.md-icon-float{-webkit-transition:margin-top .4s cubic-bezier(.25,.8,.25,1);transition:margin-top .4s cubic-bezier(.25,.8,.25,1)}md-input-container.md-icon-float>label{pointer-events:none;position:absolute}md-input-container.md-icon-float>md-icon{top:8px;left:2px;right:auto}[dir=rtl] md-input-container.md-icon-float>md-icon{left:auto;right:2px}md-input-container.md-icon-left>label .md-placeholder,md-input-container.md-icon-left>label:not(.md-no-float):not(.md-container-ignore),md-input-container.md-icon-right>label .md-placeholder,md-input-container.md-icon-right>label:not(.md-no-float):not(.md-container-ignore){width:calc(100% - 36px - 18px)}md-input-container.md-icon-left{padding-left:36px;padding-right:0}[dir=rtl] md-input-container.md-icon-left{padding-left:0;padding-right:36px}md-input-container.md-icon-left>label{left:36px;right:auto}[dir=rtl] md-input-container.md-icon-left>label{left:auto;right:36px}md-input-container.md-icon-right{padding-left:0;padding-right:36px}[dir=rtl] md-input-container.md-icon-right{padding-left:36px;padding-right:0}md-input-container.md-icon-right>md-icon:last-of-type{margin:0;right:2px;left:auto}[dir=rtl] md-input-container.md-icon-right>md-icon:last-of-type{right:auto;left:2px}md-input-container.md-icon-left.md-icon-right{padding-left:36px;padding-right:36px}md-input-container.md-icon-left.md-icon-right>label .md-placeholder,md-input-container.md-icon-left.md-icon-right>label:not(.md-no-float):not(.md-container-ignore){width:calc(100% - 72px)}.md-resize-wrapper{position:relative}.md-resize-wrapper:after{content:"";display:table;clear:both}.md-resize-handle{position:absolute;bottom:-5px;left:0;height:10px;background:transparent;width:100%;cursor:ns-resize}@media screen and (-ms-high-contrast:active){md-input-container.md-default-theme>md-icon{fill:#fff}} \ No newline at end of file
diff --git a/vnfmarket/common/thirdparty/angular-material/modules/closure/input/input.min.js b/vnfmarket/common/thirdparty/angular-material/modules/closure/input/input.min.js
new file mode 100644
index 00000000..f168349e
--- /dev/null
+++ b/vnfmarket/common/thirdparty/angular-material/modules/closure/input/input.min.js
@@ -0,0 +1,7 @@
+/*!
+ * Angular Material Design
+ * https://github.com/angular/material
+ * @license MIT
+ * v1.1.2-master-a9ba340
+ */
+function mdInputContainerDirective(e,n){function t(n){var t=n[0].querySelector(r),i=n[0].querySelector(s);return t&&n.addClass("md-icon-left"),i&&n.addClass("md-icon-right"),function(n,t){e(t)}}function i(e,t,i,a){var r=this;r.isErrorGetter=i.mdIsError&&n(i.mdIsError),r.delegateClick=function(){r.input.focus()},r.element=t,r.setFocused=function(e){t.toggleClass("md-input-focused",!!e)},r.setHasValue=function(e){t.toggleClass("md-input-has-value",!!e)},r.setHasPlaceholder=function(e){t.toggleClass("md-input-has-placeholder",!!e)},r.setInvalid=function(e){e?a.addClass(t,"md-input-invalid"):a.removeClass(t,"md-input-invalid")},e.$watch(function(){return r.label&&r.input},function(e){e&&!r.label.attr("for")&&r.label.attr("for",r.input.attr("id"))})}i.$inject=["$scope","$element","$attrs","$animate"];var a=["INPUT","TEXTAREA","SELECT","MD-SELECT"],r=a.reduce(function(e,n){return e.concat(["md-icon ~ "+n,".md-icon ~ "+n])},[]).join(","),s=a.reduce(function(e,n){return e.concat([n+" ~ md-icon",n+" ~ .md-icon"])},[]).join(",");return{restrict:"E",compile:t,controller:i}}function labelDirective(){return{restrict:"E",require:"^?mdInputContainer",link:function(e,n,t,i){!i||t.mdNoFloat||n.hasClass("md-container-ignore")||(i.label=n,e.$on("$destroy",function(){i.label=null}))}}}function inputTextareaDirective(e,n,t,i,a){function r(r,s,o,u){function l(e){return g.setHasValue(!p.$isEmpty(e)),e}function d(){g.label&&o.$observe("required",function(e){g.label.toggleClass("md-required",e&&!$)})}function c(){g.setHasValue(s.val().length>0||(s[0].validity||{}).badInput)}function m(){function t(){s.attr("rows",1).css("height","auto").addClass("md-no-flex");var e=u();if(!M){var n=s[0].style.padding||"";M=s.css("padding",0).prop("offsetHeight"),s[0].style.padding=n}if(v&&M&&(e=Math.max(e,M*v)),h&&M){var t=M*h;t<e?(s.attr("md-no-autogrow",""),e=t):s.removeAttr("md-no-autogrow")}M&&s.attr("rows",Math.round(e/M)),s.css("height",e+"px").removeClass("md-no-flex")}function u(){var e=C.offsetHeight,n=C.scrollHeight-e;return e+Math.max(n,0)}function l(n){return e.nextTick(t),n}function d(){if(m&&(m=!1,angular.element(n).off("resize",t),$&&$(),s.attr("md-no-autogrow","").off("input",t),f)){var e=p.$formatters.indexOf(l);e>-1&&p.$formatters.splice(e,1)}}function c(){function e(e){e.preventDefault(),l=!0,c=e.clientY,m=parseFloat(s.css("height"))||s.prop("offsetHeight")}function n(e){l&&(e.preventDefault(),d(),f.addClass("md-input-resized"))}function t(e){l&&s.css("height",m+e.pointer.distanceY+"px")}function i(e){l&&(l=!1,f.removeClass("md-input-resized"))}if(!o.hasOwnProperty("mdNoResize")){var u=angular.element('<div class="md-resize-handle"></div>'),l=!1,c=null,m=0,f=g.element,p=a.register(u,"drag",{horizontal:!1});s.wrap('<div class="md-resize-wrapper">').after(u),u.on("mousedown",e),f.on("$md.dragstart",n).on("$md.drag",t).on("$md.dragend",i),r.$on("$destroy",function(){u.off("mousedown",e).remove(),f.off("$md.dragstart",n).off("$md.drag",t).off("$md.dragend",i),p(),u=null,f=null,p=null})}}var m=!o.hasOwnProperty("mdNoAutogrow");if(c(),m){var v=o.hasOwnProperty("rows")?parseInt(o.rows):NaN,h=o.hasOwnProperty("maxRows")?parseInt(o.maxRows):NaN,$=r.$on("md-resize-textarea",t),M=null,C=s[0];if(i(function(){e.nextTick(t)},10,!1),s.on("input",t),f&&p.$formatters.push(l),v||s.attr("rows",1),angular.element(n).on("resize",t),r.$on("$destroy",d),o.hasOwnProperty("mdDetectHidden")){var w=function(){var e=!1;return function(){var n=0===C.offsetHeight;n===!1&&e===!0&&t(),e=n}}();r.$watch(function(){return e.nextTick(w,!1),!0})}}}var g=u[0],f=!!u[1],p=u[1]||e.fakeNgModel(),v=u[2],h=angular.isDefined(o.readonly),$=e.parseAttributeBoolean(o.mdNoAsterisk),M=s[0].tagName.toLowerCase();if(g){if("hidden"===o.type)return void s.attr("aria-hidden","true");if(g.input){if(g.input[0].contains(s[0]))return;throw new Error("<md-input-container> can only have *one* <input>, <textarea> or <md-select> child element!")}g.input=s,d();var C=angular.element('<div class="md-errors-spacer">');s.after(C),g.label||t.expect(s,"aria-label",o.placeholder),s.addClass("md-input"),s.attr("id")||s.attr("id","input_"+e.nextUid()),"input"===M&&"number"===o.type&&o.min&&o.max&&!o.step?s.attr("step","any"):"textarea"===M&&m(),f||c();var w=g.isErrorGetter||function(){return p.$invalid&&(p.$touched||v&&v.$submitted)};r.$watch(w,g.setInvalid),o.ngValue&&o.$observe("value",c),p.$parsers.push(l),p.$formatters.push(l),s.on("input",c),h||s.on("focus",function(n){e.nextTick(function(){g.setFocused(!0)})}).on("blur",function(n){e.nextTick(function(){g.setFocused(!1),c()})}),r.$on("$destroy",function(){g.setFocused(!1),g.setHasValue(!1),g.input=null})}}return{restrict:"E",require:["^?mdInputContainer","?ngModel","?^form"],link:r}}function mdMaxlengthDirective(e,n){function t(t,i,a,r){function s(e){return u.parent?(u.text(String(i.val()||e||"").length+" / "+o),e):e}var o,u,l,d=r[0],c=r[1];n.nextTick(function(){l=angular.element(c.element[0].querySelector(".md-errors-spacer")),u=angular.element('<div class="md-char-counter">'),l.append(u),a.$set("ngTrim","false"),t.$watch(a.mdMaxlength,function(n){o=n,angular.isNumber(n)&&n>0?(u.parent().length||e.enter(u,l),s()):e.leave(u)}),d.$validators["md-maxlength"]=function(e,n){return!angular.isNumber(o)||o<0||(s(),(e||i.val()||n||"").length<=o)}})}return{restrict:"A",require:["ngModel","^mdInputContainer"],link:t}}function placeholderDirective(e){function n(n,t,i,a){if(a){var r=a.element.find("label"),s=a.element.attr("md-no-float");if(r&&r.length||""===s||n.$eval(s))return void a.setHasPlaceholder(!0);if("MD-SELECT"!=t[0].nodeName){var o=angular.element('<label ng-click="delegateClick()" tabindex="-1">'+i.placeholder+"</label>");i.$set("placeholder",null),a.element.addClass("md-icon-float").prepend(o),e(o)(n)}}}return{restrict:"A",require:"^^?mdInputContainer",priority:200,link:{pre:n}}}function mdSelectOnFocusDirective(e){function n(n,t,i){function a(){s=!0,e(function(){t[0].select(),s=!1},1,!1)}function r(e){s&&e.preventDefault()}if("INPUT"===t[0].nodeName||"TEXTAREA"===t[0].nodeName){var s=!1;t.on("focus",a).on("mouseup",r),n.$on("$destroy",function(){t.off("focus",a).off("mouseup",r)})}}return{restrict:"A",link:n}}function ngMessagesDirective(){function e(e,t,i,a){a&&(t.toggleClass("md-input-messages-animation",!0),t.toggleClass("md-auto-hide",!0),("false"==i.mdAutoHide||n(i))&&t.toggleClass("md-auto-hide",!1))}function n(e){return visibilityDirectives.some(function(n){return e[n]})}return{restrict:"EA",link:e,require:"^^?mdInputContainer"}}function ngMessageDirective(e){function n(n){function t(){for(var e=n[0];e=e.parentNode;)if(e.nodeType===Node.DOCUMENT_FRAGMENT_NODE)return!0;return!1}function i(n){return!!e.getClosest(n,"md-input-container")}function a(e){e.toggleClass("md-input-message-animation",!0)}if(i(n))a(n);else if(t())return function(e,t){i(t)&&a(n)}}return{restrict:"EA",compile:n,priority:100}}function mdInputInvalidMessagesAnimation(e,n,t,i){return saveSharedServices(e,n,t,i),{addClass:function(e,n,t){showInputMessages(e,t)}}}function ngMessagesAnimation(e,n,t,i){return saveSharedServices(e,n,t,i),{enter:function(e,n){showInputMessages(e,n)},leave:function(e,n){hideInputMessages(e,n)},addClass:function(e,n,t){"ng-hide"==n?hideInputMessages(e,t):t()},removeClass:function(e,n,t){"ng-hide"==n?showInputMessages(e,t):t()}}}function ngMessageAnimation(e,n,t,i){return saveSharedServices(e,n,t,i),{enter:function(e,n){var t=showMessage(e);t.start().done(n)},leave:function(e,n){var t=hideMessage(e);t.start().done(n)}}}function showInputMessages(e,n){var t,i=[],a=getMessagesElement(e),r=a.children();return 0==a.length||0==r.length?($log.warn("mdInput messages show animation called on invalid messages element: ",e),void n()):(angular.forEach(r,function(e){t=showMessage(angular.element(e)),i.push(t.start())}),void $$AnimateRunner.all(i,n))}function hideInputMessages(e,n){var t,i=[],a=getMessagesElement(e),r=a.children();return 0==a.length||0==r.length?($log.warn("mdInput messages hide animation called on invalid messages element: ",e),void n()):(angular.forEach(r,function(e){t=hideMessage(angular.element(e)),i.push(t.start())}),void $$AnimateRunner.all(i,n))}function showMessage(e){var n=parseInt(window.getComputedStyle(e[0]).height),t=parseInt(window.getComputedStyle(e[0]).marginTop),i=getMessagesElement(e),a=getInputElement(e),r=t>-n;return r||i.hasClass("md-auto-hide")&&!a.hasClass("md-input-invalid")?$animateCss(e,{}):$animateCss(e,{event:"enter",structural:!0,from:{opacity:0,"margin-top":-n+"px"},to:{opacity:1,"margin-top":"0"},duration:.3})}function hideMessage(e){var n=e[0].offsetHeight,t=window.getComputedStyle(e[0]);return 0===parseInt(t.opacity)?$animateCss(e,{}):$animateCss(e,{event:"leave",structural:!0,from:{opacity:1,"margin-top":0},to:{opacity:0,"margin-top":-n+"px"},duration:.3})}function getInputElement(e){var n=e.controller("mdInputContainer");return n.element}function getMessagesElement(e){return e.hasClass("md-input-messages-animation")?e:e.hasClass("md-input-message-animation")?angular.element($mdUtil.getClosest(e,function(e){return e.classList.contains("md-input-messages-animation")})):angular.element(e[0].querySelector(".md-input-messages-animation"))}function saveSharedServices(e,n,t,i){$$AnimateRunner=e,$animateCss=n,$mdUtil=t,$log=i}goog.provide("ngmaterial.components.input"),goog.require("ngmaterial.core"),mdInputContainerDirective.$inject=["$mdTheming","$parse"],inputTextareaDirective.$inject=["$mdUtil","$window","$mdAria","$timeout","$mdGesture"],mdMaxlengthDirective.$inject=["$animate","$mdUtil"],placeholderDirective.$inject=["$compile"],ngMessageDirective.$inject=["$mdUtil"],mdSelectOnFocusDirective.$inject=["$timeout"],mdInputInvalidMessagesAnimation.$inject=["$$AnimateRunner","$animateCss","$mdUtil","$log"],ngMessagesAnimation.$inject=["$$AnimateRunner","$animateCss","$mdUtil","$log"],ngMessageAnimation.$inject=["$$AnimateRunner","$animateCss","$mdUtil","$log"];var inputModule=angular.module("material.components.input",["material.core"]).directive("mdInputContainer",mdInputContainerDirective).directive("label",labelDirective).directive("input",inputTextareaDirective).directive("textarea",inputTextareaDirective).directive("mdMaxlength",mdMaxlengthDirective).directive("placeholder",placeholderDirective).directive("ngMessages",ngMessagesDirective).directive("ngMessage",ngMessageDirective).directive("ngMessageExp",ngMessageDirective).directive("mdSelectOnFocus",mdSelectOnFocusDirective).animation(".md-input-invalid",mdInputInvalidMessagesAnimation).animation(".md-input-messages-animation",ngMessagesAnimation).animation(".md-input-message-animation",ngMessageAnimation);window._mdMocksIncluded&&inputModule.service("$$mdInput",function(){return{messages:{show:showInputMessages,hide:hideInputMessages,getElement:getMessagesElement}}}).service("mdInputInvalidAnimation",mdInputInvalidMessagesAnimation).service("mdInputMessagesAnimation",ngMessagesAnimation).service("mdInputMessageAnimation",ngMessageAnimation);var visibilityDirectives=["ngIf","ngShow","ngHide","ngSwitchWhen","ngSwitchDefault"],$$AnimateRunner,$animateCss,$mdUtil,$log;ngmaterial.components.input=angular.module("material.components.input"); \ No newline at end of file