summaryrefslogtreecommitdiffstats
path: root/ecomp-portal-FE/client/bower_components/ui-select/docs
diff options
context:
space:
mode:
authortalasila <talasila@research.att.com>2017-02-07 15:03:57 -0500
committertalasila <talasila@research.att.com>2017-02-07 15:05:15 -0500
commit4ad39a5c96dd99acf819ce189b13fec946d7506b (patch)
treea1449286441947cc3d07a45227fa0d6f978e1a7d /ecomp-portal-FE/client/bower_components/ui-select/docs
parent5500448cbd1f374d0ac743ee2fd636fe2d3c0027 (diff)
Initial OpenECOMP Portal commit
Change-Id: I804b80e0830c092e307da1599bd9fbb5c3e2da77 Signed-off-by: talasila <talasila@research.att.com>
Diffstat (limited to 'ecomp-portal-FE/client/bower_components/ui-select/docs')
-rw-r--r--ecomp-portal-FE/client/bower_components/ui-select/docs/assets/app.js1
-rw-r--r--ecomp-portal-FE/client/bower_components/ui-select/docs/assets/demo.js461
-rw-r--r--ecomp-portal-FE/client/bower_components/ui-select/docs/assets/docs.css339
-rw-r--r--ecomp-portal-FE/client/bower_components/ui-select/docs/assets/plunkr.js110
-rw-r--r--ecomp-portal-FE/client/bower_components/ui-select/docs/index.html191
-rw-r--r--ecomp-portal-FE/client/bower_components/ui-select/docs/partials/_footer.html2
-rw-r--r--ecomp-portal-FE/client/bower_components/ui-select/docs/partials/_header.html64
7 files changed, 1168 insertions, 0 deletions
diff --git a/ecomp-portal-FE/client/bower_components/ui-select/docs/assets/app.js b/ecomp-portal-FE/client/bower_components/ui-select/docs/assets/app.js
new file mode 100644
index 00000000..f51f062d
--- /dev/null
+++ b/ecomp-portal-FE/client/bower_components/ui-select/docs/assets/app.js
@@ -0,0 +1 @@
+var module = angular.module('ui.select.pages', ['plunkr']);
diff --git a/ecomp-portal-FE/client/bower_components/ui-select/docs/assets/demo.js b/ecomp-portal-FE/client/bower_components/ui-select/docs/assets/demo.js
new file mode 100644
index 00000000..7aaf3364
--- /dev/null
+++ b/ecomp-portal-FE/client/bower_components/ui-select/docs/assets/demo.js
@@ -0,0 +1,461 @@
+'use strict';
+
+var app = angular.module('demo', ['ngSanitize', 'ui.select']);
+
+/**
+ * AngularJS default filter with the following expression:
+ * "person in people | filter: {name: $select.search, age: $select.search}"
+ * performs an AND between 'name: $select.search' and 'age: $select.search'.
+ * We want to perform an OR.
+ */
+app.filter('propsFilter', function() {
+ return function(items, props) {
+ var out = [];
+
+ if (angular.isArray(items)) {
+ var keys = Object.keys(props);
+
+ items.forEach(function(item) {
+ var itemMatches = false;
+
+ for (var i = 0; i < keys.length; i++) {
+ var prop = keys[i];
+ var text = props[prop].toLowerCase();
+ if (item[prop].toString().toLowerCase().indexOf(text) !== -1) {
+ itemMatches = true;
+ break;
+ }
+ }
+
+ if (itemMatches) {
+ out.push(item);
+ }
+ });
+ } else {
+ // Let the output be the input untouched
+ out = items;
+ }
+
+ return out;
+ };
+});
+
+app.controller('DemoCtrl', function ($scope, $http, $timeout, $interval) {
+ var vm = this;
+
+ vm.disabled = undefined;
+ vm.searchEnabled = undefined;
+
+ vm.setInputFocus = function (){
+ $scope.$broadcast('UiSelectDemo1');
+ };
+
+ vm.enable = function() {
+ vm.disabled = false;
+ };
+
+ vm.disable = function() {
+ vm.disabled = true;
+ };
+
+ vm.enableSearch = function() {
+ vm.searchEnabled = true;
+ };
+
+ vm.disableSearch = function() {
+ vm.searchEnabled = false;
+ };
+
+ vm.clear = function() {
+ vm.person.selected = undefined;
+ vm.address.selected = undefined;
+ vm.country.selected = undefined;
+ };
+
+ vm.someGroupFn = function (item){
+
+ if (item.name[0] >= 'A' && item.name[0] <= 'M')
+ return 'From A - M';
+
+ if (item.name[0] >= 'N' && item.name[0] <= 'Z')
+ return 'From N - Z';
+
+ };
+
+ vm.firstLetterGroupFn = function (item){
+ return item.name[0];
+ };
+
+ vm.reverseOrderFilterFn = function(groups) {
+ return groups.reverse();
+ };
+
+ vm.personAsync = {selected : "wladimir@email.com"};
+ vm.peopleAsync = [];
+
+ $timeout(function(){
+ vm.peopleAsync = [
+ { name: 'Adam', email: 'adam@email.com', age: 12, country: 'United States' },
+ { name: 'Amalie', email: 'amalie@email.com', age: 12, country: 'Argentina' },
+ { name: 'Estefanía', email: 'estefania@email.com', age: 21, country: 'Argentina' },
+ { name: 'Adrian', email: 'adrian@email.com', age: 21, country: 'Ecuador' },
+ { name: 'Wladimir', email: 'wladimir@email.com', age: 30, country: 'Ecuador' },
+ { name: 'Samantha', email: 'samantha@email.com', age: 30, country: 'United States' },
+ { name: 'Nicole', email: 'nicole@email.com', age: 43, country: 'Colombia' },
+ { name: 'Natasha', email: 'natasha@email.com', age: 54, country: 'Ecuador' },
+ { name: 'Michael', email: 'michael@email.com', age: 15, country: 'Colombia' },
+ { name: 'Nicolás', email: 'nicole@email.com', age: 43, country: 'Colombia' }
+ ];
+ },3000);
+
+ vm.counter = 0;
+ vm.onSelectCallback = function (item, model){
+ vm.counter++;
+ vm.eventResult = {item: item, model: model};
+ };
+
+ vm.removed = function (item, model) {
+ vm.lastRemoved = {
+ item: item,
+ model: model
+ };
+ };
+
+ vm.tagTransform = function (newTag) {
+ var item = {
+ name: newTag,
+ email: newTag.toLowerCase()+'@email.com',
+ age: 'unknown',
+ country: 'unknown'
+ };
+
+ return item;
+ };
+
+ vm.peopleObj = {
+ '1' : { name: 'Adam', email: 'adam@email.com', age: 12, country: 'United States' },
+ '2' : { name: 'Amalie', email: 'amalie@email.com', age: 12, country: 'Argentina' },
+ '3' : { name: 'Estefanía', email: 'estefania@email.com', age: 21, country: 'Argentina' },
+ '4' : { name: 'Adrian', email: 'adrian@email.com', age: 21, country: 'Ecuador' },
+ '5' : { name: 'Wladimir', email: 'wladimir@email.com', age: 30, country: 'Ecuador' },
+ '6' : { name: 'Samantha', email: 'samantha@email.com', age: 30, country: 'United States' },
+ '7' : { name: 'Nicole', email: 'nicole@email.com', age: 43, country: 'Colombia' },
+ '8' : { name: 'Natasha', email: 'natasha@email.com', age: 54, country: 'Ecuador' },
+ '9' : { name: 'Michael', email: 'michael@email.com', age: 15, country: 'Colombia' },
+ '10' : { name: 'Nicolás', email: 'nicolas@email.com', age: 43, country: 'Colombia' }
+ };
+
+ vm.person = {};
+
+ vm.person.selectedValue = vm.peopleObj[3];
+ vm.person.selectedSingle = 'Samantha';
+ vm.person.selectedSingleKey = '5';
+
+ vm.people = [
+ { name: 'Adam', email: 'adam@email.com', age: 12, country: 'United States' },
+ { name: 'Amalie', email: 'amalie@email.com', age: 12, country: 'Argentina' },
+ { name: 'Estefanía', email: 'estefania@email.com', age: 21, country: 'Argentina' },
+ { name: 'Adrian', email: 'adrian@email.com', age: 21, country: 'Ecuador' },
+ { name: 'Wladimir', email: 'wladimir@email.com', age: 30, country: 'Ecuador' },
+ { name: 'Samantha', email: 'samantha@email.com', age: 30, country: 'United States' },
+ { name: 'Nicole', email: 'nicole@email.com', age: 43, country: 'Colombia' },
+ { name: 'Natasha', email: 'natasha@email.com', age: 54, country: 'Ecuador' },
+ { name: 'Michael', email: 'michael@email.com', age: 15, country: 'Colombia' },
+ { name: 'Nicolás', email: 'nicolas@email.com', age: 43, country: 'Colombia' }
+ ];
+
+ vm.availableColors = ['Red','Green','Blue','Yellow','Magenta','Maroon','Umbra','Turquoise'];
+
+ vm.singleDemo = {};
+ vm.singleDemo.color = '';
+ vm.multipleDemo = {};
+ vm.multipleDemo.colors = ['Blue','Red'];
+ vm.multipleDemo.colors2 = ['Blue','Red'];
+ vm.multipleDemo.selectedPeople = [vm.people[5], vm.people[4]];
+ vm.multipleDemo.selectedPeople2 = vm.multipleDemo.selectedPeople;
+ vm.multipleDemo.selectedPeopleWithGroupBy = [vm.people[8], vm.people[6]];
+ vm.multipleDemo.selectedPeopleSimple = ['samantha@email.com','wladimir@email.com'];
+
+ vm.appendToBodyDemo = {
+ remainingToggleTime: 0,
+ present: true,
+ startToggleTimer: function() {
+ var scope = vm.appendToBodyDemo;
+ var promise = $interval(function() {
+ if (scope.remainingTime < 1000) {
+ $interval.cancel(promise);
+ scope.present = !scope.present;
+ scope.remainingTime = 0;
+ } else {
+ scope.remainingTime -= 1000;
+ }
+ }, 1000);
+ scope.remainingTime = 3000;
+ }
+ };
+
+ vm.address = {};
+ vm.refreshAddresses = function(address) {
+ var params = {address: address, sensor: false};
+ return $http.get(
+ 'http://maps.googleapis.com/maps/api/geocode/json',
+ {params: params}
+ ).then(function(response) {
+ vm.addresses = response.data.results;
+ });
+ };
+
+ vm.addPerson = function(item, model){
+ if(item.hasOwnProperty('isTag')) {
+ delete item.isTag;
+ vm.people.push(item);
+ }
+ }
+
+ vm.country = {};
+ vm.countries = [ // Taken from https://gist.github.com/unceus/6501985
+ {name: 'Afghanistan', code: 'AF'},
+ {name: 'Åland Islands', code: 'AX'},
+ {name: 'Albania', code: 'AL'},
+ {name: 'Algeria', code: 'DZ'},
+ {name: 'American Samoa', code: 'AS'},
+ {name: 'Andorra', code: 'AD'},
+ {name: 'Angola', code: 'AO'},
+ {name: 'Anguilla', code: 'AI'},
+ {name: 'Antarctica', code: 'AQ'},
+ {name: 'Antigua and Barbuda', code: 'AG'},
+ {name: 'Argentina', code: 'AR'},
+ {name: 'Armenia', code: 'AM'},
+ {name: 'Aruba', code: 'AW'},
+ {name: 'Australia', code: 'AU'},
+ {name: 'Austria', code: 'AT'},
+ {name: 'Azerbaijan', code: 'AZ'},
+ {name: 'Bahamas', code: 'BS'},
+ {name: 'Bahrain', code: 'BH'},
+ {name: 'Bangladesh', code: 'BD'},
+ {name: 'Barbados', code: 'BB'},
+ {name: 'Belarus', code: 'BY'},
+ {name: 'Belgium', code: 'BE'},
+ {name: 'Belize', code: 'BZ'},
+ {name: 'Benin', code: 'BJ'},
+ {name: 'Bermuda', code: 'BM'},
+ {name: 'Bhutan', code: 'BT'},
+ {name: 'Bolivia', code: 'BO'},
+ {name: 'Bosnia and Herzegovina', code: 'BA'},
+ {name: 'Botswana', code: 'BW'},
+ {name: 'Bouvet Island', code: 'BV'},
+ {name: 'Brazil', code: 'BR'},
+ {name: 'British Indian Ocean Territory', code: 'IO'},
+ {name: 'Brunei Darussalam', code: 'BN'},
+ {name: 'Bulgaria', code: 'BG'},
+ {name: 'Burkina Faso', code: 'BF'},
+ {name: 'Burundi', code: 'BI'},
+ {name: 'Cambodia', code: 'KH'},
+ {name: 'Cameroon', code: 'CM'},
+ {name: 'Canada', code: 'CA'},
+ {name: 'Cape Verde', code: 'CV'},
+ {name: 'Cayman Islands', code: 'KY'},
+ {name: 'Central African Republic', code: 'CF'},
+ {name: 'Chad', code: 'TD'},
+ {name: 'Chile', code: 'CL'},
+ {name: 'China', code: 'CN'},
+ {name: 'Christmas Island', code: 'CX'},
+ {name: 'Cocos (Keeling) Islands', code: 'CC'},
+ {name: 'Colombia', code: 'CO'},
+ {name: 'Comoros', code: 'KM'},
+ {name: 'Congo', code: 'CG'},
+ {name: 'Congo, The Democratic Republic of the', code: 'CD'},
+ {name: 'Cook Islands', code: 'CK'},
+ {name: 'Costa Rica', code: 'CR'},
+ {name: 'Cote D\'Ivoire', code: 'CI'},
+ {name: 'Croatia', code: 'HR'},
+ {name: 'Cuba', code: 'CU'},
+ {name: 'Cyprus', code: 'CY'},
+ {name: 'Czech Republic', code: 'CZ'},
+ {name: 'Denmark', code: 'DK'},
+ {name: 'Djibouti', code: 'DJ'},
+ {name: 'Dominica', code: 'DM'},
+ {name: 'Dominican Republic', code: 'DO'},
+ {name: 'Ecuador', code: 'EC'},
+ {name: 'Egypt', code: 'EG'},
+ {name: 'El Salvador', code: 'SV'},
+ {name: 'Equatorial Guinea', code: 'GQ'},
+ {name: 'Eritrea', code: 'ER'},
+ {name: 'Estonia', code: 'EE'},
+ {name: 'Ethiopia', code: 'ET'},
+ {name: 'Falkland Islands (Malvinas)', code: 'FK'},
+ {name: 'Faroe Islands', code: 'FO'},
+ {name: 'Fiji', code: 'FJ'},
+ {name: 'Finland', code: 'FI'},
+ {name: 'France', code: 'FR'},
+ {name: 'French Guiana', code: 'GF'},
+ {name: 'French Polynesia', code: 'PF'},
+ {name: 'French Southern Territories', code: 'TF'},
+ {name: 'Gabon', code: 'GA'},
+ {name: 'Gambia', code: 'GM'},
+ {name: 'Georgia', code: 'GE'},
+ {name: 'Germany', code: 'DE'},
+ {name: 'Ghana', code: 'GH'},
+ {name: 'Gibraltar', code: 'GI'},
+ {name: 'Greece', code: 'GR'},
+ {name: 'Greenland', code: 'GL'},
+ {name: 'Grenada', code: 'GD'},
+ {name: 'Guadeloupe', code: 'GP'},
+ {name: 'Guam', code: 'GU'},
+ {name: 'Guatemala', code: 'GT'},
+ {name: 'Guernsey', code: 'GG'},
+ {name: 'Guinea', code: 'GN'},
+ {name: 'Guinea-Bissau', code: 'GW'},
+ {name: 'Guyana', code: 'GY'},
+ {name: 'Haiti', code: 'HT'},
+ {name: 'Heard Island and Mcdonald Islands', code: 'HM'},
+ {name: 'Holy See (Vatican City State)', code: 'VA'},
+ {name: 'Honduras', code: 'HN'},
+ {name: 'Hong Kong', code: 'HK'},
+ {name: 'Hungary', code: 'HU'},
+ {name: 'Iceland', code: 'IS'},
+ {name: 'India', code: 'IN'},
+ {name: 'Indonesia', code: 'ID'},
+ {name: 'Iran, Islamic Republic Of', code: 'IR'},
+ {name: 'Iraq', code: 'IQ'},
+ {name: 'Ireland', code: 'IE'},
+ {name: 'Isle of Man', code: 'IM'},
+ {name: 'Israel', code: 'IL'},
+ {name: 'Italy', code: 'IT'},
+ {name: 'Jamaica', code: 'JM'},
+ {name: 'Japan', code: 'JP'},
+ {name: 'Jersey', code: 'JE'},
+ {name: 'Jordan', code: 'JO'},
+ {name: 'Kazakhstan', code: 'KZ'},
+ {name: 'Kenya', code: 'KE'},
+ {name: 'Kiribati', code: 'KI'},
+ {name: 'Korea, Democratic People\'s Republic of', code: 'KP'},
+ {name: 'Korea, Republic of', code: 'KR'},
+ {name: 'Kuwait', code: 'KW'},
+ {name: 'Kyrgyzstan', code: 'KG'},
+ {name: 'Lao People\'s Democratic Republic', code: 'LA'},
+ {name: 'Latvia', code: 'LV'},
+ {name: 'Lebanon', code: 'LB'},
+ {name: 'Lesotho', code: 'LS'},
+ {name: 'Liberia', code: 'LR'},
+ {name: 'Libyan Arab Jamahiriya', code: 'LY'},
+ {name: 'Liechtenstein', code: 'LI'},
+ {name: 'Lithuania', code: 'LT'},
+ {name: 'Luxembourg', code: 'LU'},
+ {name: 'Macao', code: 'MO'},
+ {name: 'Macedonia, The Former Yugoslav Republic of', code: 'MK'},
+ {name: 'Madagascar', code: 'MG'},
+ {name: 'Malawi', code: 'MW'},
+ {name: 'Malaysia', code: 'MY'},
+ {name: 'Maldives', code: 'MV'},
+ {name: 'Mali', code: 'ML'},
+ {name: 'Malta', code: 'MT'},
+ {name: 'Marshall Islands', code: 'MH'},
+ {name: 'Martinique', code: 'MQ'},
+ {name: 'Mauritania', code: 'MR'},
+ {name: 'Mauritius', code: 'MU'},
+ {name: 'Mayotte', code: 'YT'},
+ {name: 'Mexico', code: 'MX'},
+ {name: 'Micronesia, Federated States of', code: 'FM'},
+ {name: 'Moldova, Republic of', code: 'MD'},
+ {name: 'Monaco', code: 'MC'},
+ {name: 'Mongolia', code: 'MN'},
+ {name: 'Montserrat', code: 'MS'},
+ {name: 'Morocco', code: 'MA'},
+ {name: 'Mozambique', code: 'MZ'},
+ {name: 'Myanmar', code: 'MM'},
+ {name: 'Namibia', code: 'NA'},
+ {name: 'Nauru', code: 'NR'},
+ {name: 'Nepal', code: 'NP'},
+ {name: 'Netherlands', code: 'NL'},
+ {name: 'Netherlands Antilles', code: 'AN'},
+ {name: 'New Caledonia', code: 'NC'},
+ {name: 'New Zealand', code: 'NZ'},
+ {name: 'Nicaragua', code: 'NI'},
+ {name: 'Niger', code: 'NE'},
+ {name: 'Nigeria', code: 'NG'},
+ {name: 'Niue', code: 'NU'},
+ {name: 'Norfolk Island', code: 'NF'},
+ {name: 'Northern Mariana Islands', code: 'MP'},
+ {name: 'Norway', code: 'NO'},
+ {name: 'Oman', code: 'OM'},
+ {name: 'Pakistan', code: 'PK'},
+ {name: 'Palau', code: 'PW'},
+ {name: 'Palestinian Territory, Occupied', code: 'PS'},
+ {name: 'Panama', code: 'PA'},
+ {name: 'Papua New Guinea', code: 'PG'},
+ {name: 'Paraguay', code: 'PY'},
+ {name: 'Peru', code: 'PE'},
+ {name: 'Philippines', code: 'PH'},
+ {name: 'Pitcairn', code: 'PN'},
+ {name: 'Poland', code: 'PL'},
+ {name: 'Portugal', code: 'PT'},
+ {name: 'Puerto Rico', code: 'PR'},
+ {name: 'Qatar', code: 'QA'},
+ {name: 'Reunion', code: 'RE'},
+ {name: 'Romania', code: 'RO'},
+ {name: 'Russian Federation', code: 'RU'},
+ {name: 'Rwanda', code: 'RW'},
+ {name: 'Saint Helena', code: 'SH'},
+ {name: 'Saint Kitts and Nevis', code: 'KN'},
+ {name: 'Saint Lucia', code: 'LC'},
+ {name: 'Saint Pierre and Miquelon', code: 'PM'},
+ {name: 'Saint Vincent and the Grenadines', code: 'VC'},
+ {name: 'Samoa', code: 'WS'},
+ {name: 'San Marino', code: 'SM'},
+ {name: 'Sao Tome and Principe', code: 'ST'},
+ {name: 'Saudi Arabia', code: 'SA'},
+ {name: 'Senegal', code: 'SN'},
+ {name: 'Serbia and Montenegro', code: 'CS'},
+ {name: 'Seychelles', code: 'SC'},
+ {name: 'Sierra Leone', code: 'SL'},
+ {name: 'Singapore', code: 'SG'},
+ {name: 'Slovakia', code: 'SK'},
+ {name: 'Slovenia', code: 'SI'},
+ {name: 'Solomon Islands', code: 'SB'},
+ {name: 'Somalia', code: 'SO'},
+ {name: 'South Africa', code: 'ZA'},
+ {name: 'South Georgia and the South Sandwich Islands', code: 'GS'},
+ {name: 'Spain', code: 'ES'},
+ {name: 'Sri Lanka', code: 'LK'},
+ {name: 'Sudan', code: 'SD'},
+ {name: 'Suriname', code: 'SR'},
+ {name: 'Svalbard and Jan Mayen', code: 'SJ'},
+ {name: 'Swaziland', code: 'SZ'},
+ {name: 'Sweden', code: 'SE'},
+ {name: 'Switzerland', code: 'CH'},
+ {name: 'Syrian Arab Republic', code: 'SY'},
+ {name: 'Taiwan, Province of China', code: 'TW'},
+ {name: 'Tajikistan', code: 'TJ'},
+ {name: 'Tanzania, United Republic of', code: 'TZ'},
+ {name: 'Thailand', code: 'TH'},
+ {name: 'Timor-Leste', code: 'TL'},
+ {name: 'Togo', code: 'TG'},
+ {name: 'Tokelau', code: 'TK'},
+ {name: 'Tonga', code: 'TO'},
+ {name: 'Trinidad and Tobago', code: 'TT'},
+ {name: 'Tunisia', code: 'TN'},
+ {name: 'Turkey', code: 'TR'},
+ {name: 'Turkmenistan', code: 'TM'},
+ {name: 'Turks and Caicos Islands', code: 'TC'},
+ {name: 'Tuvalu', code: 'TV'},
+ {name: 'Uganda', code: 'UG'},
+ {name: 'Ukraine', code: 'UA'},
+ {name: 'United Arab Emirates', code: 'AE'},
+ {name: 'United Kingdom', code: 'GB'},
+ {name: 'United States', code: 'US'},
+ {name: 'United States Minor Outlying Islands', code: 'UM'},
+ {name: 'Uruguay', code: 'UY'},
+ {name: 'Uzbekistan', code: 'UZ'},
+ {name: 'Vanuatu', code: 'VU'},
+ {name: 'Venezuela', code: 'VE'},
+ {name: 'Vietnam', code: 'VN'},
+ {name: 'Virgin Islands, British', code: 'VG'},
+ {name: 'Virgin Islands, U.S.', code: 'VI'},
+ {name: 'Wallis and Futuna', code: 'WF'},
+ {name: 'Western Sahara', code: 'EH'},
+ {name: 'Yemen', code: 'YE'},
+ {name: 'Zambia', code: 'ZM'},
+ {name: 'Zimbabwe', code: 'ZW'}
+ ];
+});
diff --git a/ecomp-portal-FE/client/bower_components/ui-select/docs/assets/docs.css b/ecomp-portal-FE/client/bower_components/ui-select/docs/assets/docs.css
new file mode 100644
index 00000000..98ed6173
--- /dev/null
+++ b/ecomp-portal-FE/client/bower_components/ui-select/docs/assets/docs.css
@@ -0,0 +1,339 @@
+/*
+ Taken from angular-ui/bootstrap
+ See https://github.com/angular-ui/bootstrap/blob/master/misc/demo/assets/demo.css
+*/
+
+body {
+ opacity: 1;
+ -webkit-transition: opacity 1s ease;
+ -moz-transition: opacity 1s ease;
+ transition: opacity 1s;
+}
+
+.ng-cloak {
+ opacity: 0;
+}
+
+.ng-invalid {
+ border: 1px solid red !important;
+}
+
+section {
+ padding-top: 30px;
+}
+
+.page-header h1 > small > a {
+ color: #999;
+}
+
+ .page-header h1 > small > a:hover {
+ text-decoration: none;
+ }
+
+.footer {
+ text-align: center;
+ padding: 30px 0;
+ margin-top: 70px;
+ border-top: 1px solid #e5e5e5;
+ background-color: #f5f5f5;
+}
+
+.bs-social {
+ margin-top: 20px;
+ margin-bottom: 20px;
+ text-align: center;
+}
+
+@media (min-width: 768px) {
+
+ .bs-social {
+ text-align: left;
+ }
+}
+
+.nav, .pagination, .carousel, .panel-title a {
+ cursor: pointer;
+}
+
+.bs-social-buttons {
+ display: inline-block;
+ margin-bottom: 0;
+ padding-left: 0;
+ list-style: none;
+}
+
+ .bs-social-buttons li {
+ display: inline-block;
+ padding: 5px 8px;
+ line-height: 1;
+ }
+
+@media (max-width: 767px) {
+
+ .visible-xs.collapse.in {
+ display: block !important;
+ }
+
+ .visible-xs.collapse {
+ display: none !important;
+ }
+}
+
+.navbar .collapse {
+ border-top: 1px solid #e7e7e7;
+ margin-left: -15px;
+ margin-right: -15px;
+ padding-right: 15px;
+ padding-left: 15px;
+}
+
+.show-grid {
+ margin-bottom: 15px;
+}
+
+/*
+ * Container
+ *
+ * Tweak to width of container.
+ */
+
+/*@media (min-width: 1200px) {
+ .container{
+ max-width: 970px;
+ }
+}*/
+
+/*
+ * Tabs
+ *
+ * Tweaks to the Tabs.
+ */
+
+.code .nav-tabs {
+ border-bottom: 1px solid #ccc;
+}
+
+.code pre, .code code {
+ border-top: none;
+ border-top-left-radius: 0;
+ border-top-right-radius: 0;
+}
+
+.code .nav-tabs > li.active > a, .code .nav-tabs > li.active > a:hover, .code .nav-tabs > li.active > a:focus {
+ background-color: #f8f8f8;
+ border: 1px solid #ccc;
+ border-bottom-color: transparent;
+}
+
+/*
+ * Button Inverse
+ *
+ * Buttons in the masthead.
+ */
+
+.btn-outline-inverse {
+ color: #fff;
+ background-color: transparent;
+ border-color: #cdbfe3;
+ margin: 10px;
+}
+
+@media (min-width: 768px) {
+
+ .btn-outline-inverse {
+ width: auto;
+ margin: 20px 5px 20px 0;
+ padding: 18px 24px;
+ font-size: 21px;
+ }
+}
+
+.btn-outline-inverse:hover, .btn-outline-inverse:focus, .btn-outline-inverse:active {
+ color: #563d7c;
+ text-shadow: none;
+ background-color: #fff;
+ border-color: #fff;
+}
+
+
+/* Page headers */
+.bs-header {
+ padding: 30px 15px 40px; /* side padding builds on .container 15px, so 30px */
+ font-size: 16px;
+ text-align: center;
+ text-shadow: 0 1px 0 rgba(0,0,0,.15);
+ color: #cdbfe3;
+ background-color: #563d7c;
+ background-image: url(header.png);
+}
+
+ .bs-header a {
+ color: #fff;
+ font-weight: normal;
+ }
+
+ .bs-header h1 {
+ color: #fff;
+ }
+
+ .bs-header p {
+ font-weight: 200;
+ line-height: 1.4;
+ }
+
+ .bs-header .container {
+ position: relative;
+ }
+
+@media (min-width: 768px) {
+ .bs-header {
+ font-size: 30px;
+ text-align: left;
+ }
+
+ .bs-header h1 {
+ font-size: 100px;
+ line-height: 1;
+ }
+}
+
+@media (min-width: 992px) {
+ .bs-header p {
+ margin-right: 25%;
+ }
+}
+
+.navbar-inner {
+ -webkit-box-shadow: 0 3px 3px rgba(0,0,0,0.175);
+ box-shadow: 0 3px 3px rgba(0,0,0,0.175);
+}
+
+/*
+ * Side navigation
+ *
+ * Scrollspy and affixed enhanced navigation to highlight sections and secondary
+ * sections of docs content.
+ */
+
+/* By default it's not affixed in mobile views, so undo that */
+.bs-sidebar.affix {
+ position: static;
+}
+
+/* First level of nav */
+.bs-sidenav {
+ margin-top: 30px;
+ margin-bottom: 30px;
+ padding-top: 10px;
+ padding-bottom: 10px;
+ text-shadow: 0 1px 0 #fff;
+ background-color: #f7f5fa;
+ border-radius: 5px;
+}
+
+/* All levels of nav */
+.bs-sidebar .nav > li > a {
+ display: block;
+ color: #716b7a;
+ padding: 5px 20px;
+}
+
+ .bs-sidebar .nav > li > a:hover,
+ .bs-sidebar .nav > li > a:focus {
+ text-decoration: none;
+ background-color: #e5e3e9;
+ border-right: 1px solid #dbd8e0;
+ }
+
+.bs-sidebar .nav > .active > a,
+.bs-sidebar .nav > .active:hover > a,
+.bs-sidebar .nav > .active:focus > a {
+ font-weight: bold;
+ color: #563d7c;
+ background-color: transparent;
+ border-right: 1px solid #563d7c;
+}
+
+/* Nav: second level (shown on .active) */
+.bs-sidebar .nav .nav {
+ display: none; /* Hide by default, but at >768px, show it */
+ margin-bottom: 8px;
+}
+
+ .bs-sidebar .nav .nav > li > a {
+ padding-top: 3px;
+ padding-bottom: 3px;
+ padding-left: 30px;
+ font-size: 90%;
+ }
+
+/* Show and affix the side nav when space allows it */
+@media (min-width: 992px) {
+ .bs-sidebar .nav > .active > ul {
+ display: block;
+ }
+ /* Widen the fixed sidebar */
+ .bs-sidebar.affix,
+ .bs-sidebar.affix-bottom {
+ width: 213px;
+ }
+
+ .bs-sidebar.affix {
+ position: fixed; /* Undo the static from mobile first approach */
+ top: 80px;
+ }
+
+ .bs-sidebar.affix-bottom {
+ position: absolute; /* Undo the static from mobile first approach */
+ }
+
+ .bs-sidebar.affix-bottom .bs-sidenav,
+ .bs-sidebar.affix .bs-sidenav {
+ margin-top: 0;
+ margin-bottom: 0;
+ }
+}
+
+@media (min-width: 1200px) {
+ /* Widen the fixed sidebar again */
+ .bs-sidebar.affix-bottom,
+ .bs-sidebar.affix {
+ width: 263px;
+ }
+}
+
+
+/* Not enough room on mobile for markup tab, js tab, and plunk btn.
+ And no one cares about plunk button on a phone anyway */
+@media only screen and (max-device-width: 480px) {
+ #plunk-btn {
+ display: none;
+ }
+}
+
+.navbar-nav .dropdown .navbar-brand {
+ max-width: 100%;
+ margin-right: inherit;
+ margin-left: inherit;
+}
+
+.header-placeholder {
+ height: 50px;
+}
+
+@media screen and (min-width: 768px) {
+
+ .dropdown.open > .navbar-brand + .dropdown-menu {
+ left: 10px;
+ }
+
+ .header-placeholder {
+ height: 50px;
+ }
+
+ .navbar-nav .dropdown .navbar-brand {
+ max-width: 200px;
+ margin-right: 5px;
+ margin-left: 10px;
+ }
+}
diff --git a/ecomp-portal-FE/client/bower_components/ui-select/docs/assets/plunkr.js b/ecomp-portal-FE/client/bower_components/ui-select/docs/assets/plunkr.js
new file mode 100644
index 00000000..deee25ed
--- /dev/null
+++ b/ecomp-portal-FE/client/bower_components/ui-select/docs/assets/plunkr.js
@@ -0,0 +1,110 @@
+angular.module('plunkr', [])
+.factory('formPostData', ['$document', function ($document) {
+ return function (url, newWindow, fields) {
+ /**
+ * If the form posts to target="_blank", pop-up blockers can cause it not to work.
+ * If a user choses to bypass pop-up blocker one time and click the link, they will arrive at
+ * a new default plnkr, not a plnkr with the desired template. Given this undesired behavior,
+ * some may still want to open the plnk in a new window by opting-in via ctrl+click. The
+ * newWindow param allows for this possibility.
+ */
+ var target = newWindow ? '_blank' : '_self';
+ var form = angular.element('<form style="display: none;" method="post" action="' + url + '" target="' + target + '"></form>');
+ angular.forEach(fields, function (value, name) {
+ var input = angular.element('<input type="hidden" name="' + name + '">');
+ input.attr('value', value);
+ form.append(input);
+ });
+ $document.find('body').append(form);
+ form[0].submit();
+ form.remove();
+ };
+}])
+
+
+.directive('plnkrOpener', ['$q', 'getExampleData', 'formPostData', function ($q, getExampleData, formPostData) {
+ return {
+ scope: {},
+ bindToController: {
+ 'examplePath': '@'
+ },
+ controllerAs: 'plnkr',
+ template: '<button ng-click="plnkr.open($event)" class="btn btn-info btn-sm plunk-btn"> <i class="glyphicon glyphicon-edit">&nbsp;</i> Edit in Plunker</button> ',
+ controller: [function () {
+ var ctrl = this;
+
+ ctrl.prepareExampleData = function (examplePath) {
+ if (ctrl.prepared) {
+ return $q.when(ctrl.prepared);
+ } else {
+ return getExampleData(examplePath).then(function (data) {
+ ctrl.prepared = data;
+ });
+ }
+ };
+
+ ctrl.open = function (clickEvent) {
+
+ var newWindow = clickEvent.ctrlKey || clickEvent.metaKey;
+ var postData = {
+ 'tags[0]': "angularjs",
+ 'tags[1]': "ui-select",
+ 'private': true
+ };
+
+ // Make sure the example data is available.
+ // If an XHR must be made, this might break some pop-up blockers when
+ // new window is requested
+ ctrl.prepareExampleData(ctrl.examplePath)
+ .then(function () {
+ angular.forEach(ctrl.prepared, function (file) {
+ postData['files[' + file.name + ']'] = file.content;
+ });
+
+ postData.description = "Angular ui-select http://github.com/angular-ui/ui-select/";
+
+ formPostData('http://plnkr.co/edit/?p=preview', newWindow, postData);
+ });
+ };
+
+ // Initialize the example data, so it's ready when clicking the open button.
+ // Otherwise pop-up blockers will prevent a new window from opening
+ ctrl.prepareExampleData(ctrl.examplePath);
+ }]
+ };
+}])
+
+.factory('getExampleData', ['$http', '$q', function ($http, $q) {
+ return function (exampleFile) {
+ // Load the manifest for the example
+ var defaultFiles = {
+ 'demo.js': './assets/',
+ 'select.css': './dist',
+ 'select.js': './dist'
+ };
+ files = angular.copy(defaultFiles);
+ files[exampleFile] = './';
+
+ var filePromises = [];
+
+ angular.forEach(files, function (folder, filename) {
+ filePromises.push($http.get(folder + '/' + filename, { transformResponse: [], cache: true })
+ .then(function (response) {
+
+ var content = response.data;
+ // Should only be one html (the example)
+ if (filename.match(/.html$/)) {
+ filename = "index.html";
+ content = content.replace(/.\/assets\//g, './').replace(/.\/dist\//g, './');
+ }
+
+ return {
+ name: filename,
+ content: content
+ };
+ }));
+ });
+
+ return $q.all(filePromises);
+ };
+}]);
diff --git a/ecomp-portal-FE/client/bower_components/ui-select/docs/index.html b/ecomp-portal-FE/client/bower_components/ui-select/docs/index.html
new file mode 100644
index 00000000..734486bd
--- /dev/null
+++ b/ecomp-portal-FE/client/bower_components/ui-select/docs/index.html
@@ -0,0 +1,191 @@
+<!DOCTYPE html>
+<html lang="en" ng-app="ui.select.pages">
+<head>
+ <meta charset="utf-8">
+ <title>AngularJS ui-select</title>
+
+ <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.0/angular.js"></script>
+ <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.0/angular-sanitize.js"></script>
+
+ <script src="./assets/app.js" type="text/javascript"></script>
+ <script src="./assets/plunkr.js" type="text/javascript"></script>
+
+ <!-- themes -->
+ <link rel="stylesheet" href="https://netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.css">
+ <link rel="stylesheet" href="./assets/docs.css" />
+
+</head>
+
+<body>
+ <header class="navbar navbar-default navbar-fixed-top navbar-inner">
+ <div class="container">
+ <div class="navbar-header">
+ <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-3" ng-click="isCollapsed = !isCollapsed">
+ <span class="sr-only">Toggle navigation</span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ </button>
+ <a class="navbar-brand visible-xs" href="#">UI Select</a>
+ </div>
+ <nav class="hidden-xs">
+ <ul class="nav navbar-nav">
+ <a href="#top" role="button" class="navbar-brand">
+ UI Select
+ </a>
+ <li><a href="#getting_started">Getting started</a></li>
+ <li><a href="#documenation">Documentation</a></li>
+ <li><a href="#examples">Examples</a></li>
+ <!--<li class="dropdown" uib-dropdown>
+ <a role="button" class="dropdown-toggle" uib-dropdown-toggle>
+ Previous docs <b class="caret"></b>
+ </a>
+ <ul class="dropdown-menu">
+ <li ng-repeat="version in oldDocs">
+ <a ng-href="{{version.url}}">{{version.version}}</a>
+ </li>
+ </ul>
+ </li>-->
+ </ul>
+ </nav>
+ <nav class="visible-xs" uib-collapse="!isCollapsed">
+ <ul class="nav navbar-nav">
+ <li><a href="#getting_started" ng-click="isCollapsed = !isCollapsed">Getting started</a></li>
+ <li><a href="#directives_small" ng-click="isCollapsed = !isCollapsed">Directives</a></li>
+ </ul>
+ </nav>
+ </div>
+ </header>
+ <div class="header-placeholder"></div>
+ <div role="main">
+ <header class="bs-header text-center" id="overview">
+ <div class="container">
+
+ <h1>UI Select</h1>
+ <p>
+ A native <a href="http://angularjs.org">AngularJS</a> implementation of Select2/Selectize by the
+ <a href="http://angular-ui.github.io">AngularUI Team</a>
+ </p>
+
+ <p>
+ <a class="btn btn-outline-inverse btn-lg" href="https://github.com/angular-ui/ui-select"><i class="icon-github"></i>Code on Github</a>
+ <!--<button type="button" class="btn btn-outline-inverse btn-lg" ng-click="showDownloadModal()">
+ <i class="glyphicon glyphicon-download-alt"></i> Download <small>(<%= pkg.version%>)</small>
+ </button>-->
+ </p>
+ </div>
+ <div class="bs-social container">
+ <ul class="bs-social-buttons">
+ <li>
+ <iframe src="//ghbtns.com/github-btn.html?user=angular-ui&repo=ui-select&type=watch&count=true"
+ allowtransparency="true" frameborder="0" scrolling="0" width="110" height="20"></iframe>
+ </li>
+ <li>
+ <iframe src="//ghbtns.com/github-btn.html?user=angular-ui&repo=ui-select&type=fork&count=true"
+ allowtransparency="true" frameborder="0" scrolling="0" width="110" height="20"></iframe>
+ </li>
+ <li>
+ <a href="https://twitter.com/share" class="twitter-share-button"
+ data-hashtags="angularjs">Tweet</a>
+ <script>
+ !function (d, s, id) {
+ var js, fjs = d.getElementsByTagName(s)[0];
+ if (!d.getElementById(id)) {
+ js = d.createElement(s);
+ js.id = id;
+ js.src = "//platform.twitter.com/widgets.js";
+ fjs.parentNode.insertBefore(js, fjs);
+ }
+ }(document, "script", "twitter-wjs");</script>
+ </li>
+ <li>
+ <!-- Place this tag where you want the +1 button to render. -->
+ <div class="g-plusone" data-size="medium"></div>
+
+ <!-- Place this tag after the last +1 button tag. -->
+ <script type="text/javascript">
+ (function () {
+ var po = document.createElement('script');
+ po.type = 'text/javascript';
+ po.async = true;
+ po.src = 'https://apis.google.com/js/plusone.js';
+ var s = document.getElementsByTagName('script')[0];
+ s.parentNode.insertBefore(po, s);
+ })();
+ </script>
+ </li>
+ </ul>
+ </div>
+ </header>
+ <div class="container">
+ <div class="row">
+ <div class="col-md-12">
+ <section id="getting_started">
+ <div class="page-header">
+ <h1>Getting started</h1>
+ </div>
+ <h3>Dependencies</h3>
+ <p>
+ This repository contains a <strong>native AngularJS</strong> select directive based on
+ Bootstrap/Select2/Selectize's CSS. As a result no dependency on jQuery or 3rd-Party
+ JavaScript is required. The only <strong>required</strong> dependencies are:
+ </p>
+ <ul>
+ <li>
+ <a href="http://angularjs.org" target="_blank">AngularJS</a> (requires AngularJS 1.2.x or higher, tested with 1.5.3).
+ </li>
+ <li>
+ <a href="http://angularjs.org" target="_blank">Angular-Sanitze</a> (the version should match your version of angular.js).
+ </li>
+ <li>
+ The matching CSS for your the theme you wish to use:
+ <ul>
+ <li>Bootstrap</li>
+ <li>Select2</li>
+ <li>Selectize</li>
+ </ul>
+ </li>
+ </ul>
+
+ <h3>Installation</h3>
+ <h4>Install via npm</h4>
+ <pre>$ npm install ui-select</pre>
+ <h4>Install via bower</h4>
+ <pre>$ bower install angular-ui-select</pre>
+ <p>
+ As soon as you've got all the files downloaded and included in your page you just need to declare
+ a dependency on the <code>ui.select</code> <a href="http://docs.angularjs.org/guide/module">module</a>:<br>
+ <pre><code>angular.module('myModule', ['ui.select', 'ngSanitize']);</code></pre>
+ </p>
+
+ </section>
+ <section id="documenation">
+ <div class="page-header">
+ <h1>Documentation</h1>
+ </div>
+ <h3>Wiki</h3>
+ For up to date information please refer to the <a href="https://github.com/angular-ui/ui-select/wiki" target="_blank">Wiki</a>
+ <h3>FAQ</h3>
+ <p>Please check <a href="https://github.com/angular-ui/ui-select/wiki/FAQs" target="_blank">our FAQ section</a> for common problems / solutions.</p>
+ </section>
+ <section id="examples">
+ <div class="page-header">
+ <h1>Examples</h1>
+ </div>
+ <p>You can fork one of the plunkers from this page to see a working example of what is described here.</p>
+
+ <!-- INSERT EXAMPLES HERE -->
+ </section>
+ </div>
+ </div>
+ </div><!-- /.container -->
+ </div><!-- /.main -->
+ <footer class="footer">
+ <div class="container">
+ <p>Designed and built by all ui-select <a href="https://github.com/angular-ui/ui-select/graphs/contributors" target="_blank">contributors</a>.</p>
+ <p>Code licensed under <a href="https://github.com/angular-ui/ui-select/blob/master/LICENSE">MIT License</a>.</p>
+ <p><a href="https://github.com/angular-ui/ui-select/issues?state=open">Issues</a></p>
+ </div>
+ </footer>
+</body>
+</html> \ No newline at end of file
diff --git a/ecomp-portal-FE/client/bower_components/ui-select/docs/partials/_footer.html b/ecomp-portal-FE/client/bower_components/ui-select/docs/partials/_footer.html
new file mode 100644
index 00000000..308b1d01
--- /dev/null
+++ b/ecomp-portal-FE/client/bower_components/ui-select/docs/partials/_footer.html
@@ -0,0 +1,2 @@
+</body>
+</html>
diff --git a/ecomp-portal-FE/client/bower_components/ui-select/docs/partials/_header.html b/ecomp-portal-FE/client/bower_components/ui-select/docs/partials/_header.html
new file mode 100644
index 00000000..b6bb1e4b
--- /dev/null
+++ b/ecomp-portal-FE/client/bower_components/ui-select/docs/partials/_header.html
@@ -0,0 +1,64 @@
+<!DOCTYPE html>
+<html lang="en" ng-app="demo">
+<head>
+ <meta charset="utf-8">
+ <title>AngularJS ui-select</title>
+
+ <!--
+ IE8 support, see AngularJS Internet Explorer Compatibility http://docs.angularjs.org/guide/ie
+ For Firefox 3.6, you will also need to include jQuery and ECMAScript 5 shim
+ -->
+ <!--[if lt IE 9]>
+ <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.js"></script>
+ <script src="http://cdnjs.cloudflare.com/ajax/libs/es5-shim/2.2.0/es5-shim.js"></script>
+ <script>
+ document.createElement('ui-select');
+ document.createElement('ui-select-match');
+ document.createElement('ui-select-choices');
+ </script>
+ <![endif]-->
+
+ <script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.5.0/angular.js"></script>
+ <script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.5.0/angular-sanitize.js"></script>
+
+ <!-- ui-select files -->
+ <script src="./dist/select.js"></script>
+ <link rel="stylesheet" href="./dist/select.css">
+
+ <script src="./assets/demo.js"></script>
+
+ <!-- themes -->
+ <link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.css">
+ <link rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/select2/3.4.5/select2.css">
+ <link rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/selectize.js/0.8.5/css/selectize.default.css">
+ <!-- <link rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/selectize.js/0.8.5/css/selectize.bootstrap2.css"> -->
+ <!--<link rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/selectize.js/0.8.5/css/selectize.bootstrap3.css">-->
+
+ <style>
+ body {
+ padding: 15px;
+ }
+
+ .select2 > .select2-choice.ui-select-match {
+ /* Because of the inclusion of Bootstrap */
+ height: 29px;
+ }
+
+ .selectize-control > .selectize-dropdown {
+ top: 36px;
+ }
+ /* Some additional styling to demonstrate that append-to-body helps achieve the proper z-index layering. */
+ .select-box {
+ background: #fff;
+ position: relative;
+ z-index: 1;
+ }
+ .alert-info.positioned {
+ margin-top: 1em;
+ position: relative;
+ z-index: 10000; /* The select2 dropdown has a z-index of 9999 */
+ }
+ </style>
+</head>
+
+<body class="ng-cloak" ng-controller="DemoCtrl as ctrl">