diff options
author | st782s <statta@research.att.com> | 2017-05-04 07:48:42 -0400 |
---|---|---|
committer | st782s <statta@research.att.com> | 2017-05-04 12:28:17 -0400 |
commit | b54df0ddd0c6a0372327c5aa3668e5a6458fcd64 (patch) | |
tree | e69cfa9b314a801bd187cf0145d1d4306436229c /ecomp-portal-FE/client/bower_components/ui-select/docs/assets | |
parent | 39d1e62c84041831bfc52cca73b5ed5efaf57d27 (diff) |
[PORTAL-7] Rebase
This rebasing includes common libraries and common overlays projects
abstraction of components
Change-Id: I9a24a338665c7cd058978e8636bc412d9e2fdce8
Signed-off-by: st782s <statta@research.att.com>
Diffstat (limited to 'ecomp-portal-FE/client/bower_components/ui-select/docs/assets')
4 files changed, 0 insertions, 911 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 deleted file mode 100644 index f51f062d..00000000 --- a/ecomp-portal-FE/client/bower_components/ui-select/docs/assets/app.js +++ /dev/null @@ -1 +0,0 @@ -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 deleted file mode 100644 index 7aaf3364..00000000 --- a/ecomp-portal-FE/client/bower_components/ui-select/docs/assets/demo.js +++ /dev/null @@ -1,461 +0,0 @@ -'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 deleted file mode 100644 index 98ed6173..00000000 --- a/ecomp-portal-FE/client/bower_components/ui-select/docs/assets/docs.css +++ /dev/null @@ -1,339 +0,0 @@ -/* - 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 deleted file mode 100644 index deee25ed..00000000 --- a/ecomp-portal-FE/client/bower_components/ui-select/docs/assets/plunkr.js +++ /dev/null @@ -1,110 +0,0 @@ -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"> </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); - }; -}]); |