chore(release): v3.0.4
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
<a name="3.0.4"></a>
|
||||
## [3.0.4](https://github.com/morgul/ui-bootstrap4/compare/v3.0.3...v3.0.4) (2018-07-04)
|
||||
|
||||
|
||||
|
||||
<a name="3.0.3"></a>
|
||||
## [3.0.3](https://github.com/morgul/ui-bootstrap4/compare/v3.0.2...v3.0.3) (2018-03-13)
|
||||
|
||||
|
||||
File diff suppressed because one or more lines are too long
+26
-26
@@ -14,7 +14,7 @@
|
||||
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.6.1/angular-animate.min.js"></script>
|
||||
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.6.1/angular-touch.min.js"></script>
|
||||
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.6.1/angular-sanitize.js"></script>
|
||||
<script src="ui-bootstrap-tpls-3.0.3.min.js"></script>
|
||||
<script src="ui-bootstrap-tpls-3.0.4.min.js"></script>
|
||||
<script src="assets/plunker.js"></script>
|
||||
<script src="assets/app.js"></script>
|
||||
|
||||
@@ -80,7 +80,7 @@
|
||||
<path d="M1344 1344q0-26-19-45t-45-19-45 19-19 45 19 45 45 19 45-19 19-45zm256 0q0-26-19-45t-45-19-45 19-19 45 19 45 45 19 45-19 19-45zm128-224v320q0 40-28 68t-68 28h-1472q-40 0-68-28t-28-68v-320q0-40 28-68t68-28h465l135 136q58 56 136 56t136-56l136-136h464q40 0 68 28t28 68zm-325-569q17 41-14 70l-448 448q-18 19-45 19t-45-19l-448-448q-31-29-14-70 17-39 59-39h256v-448q0-26 19-45t45-19h256q26 0 45 19t19 45v448h256q42 0 59 39z"/>
|
||||
</svg>
|
||||
</i>
|
||||
Download <small>(3.0.3)</small>
|
||||
Download <small>(3.0.4)</small>
|
||||
</button>
|
||||
<button type="button" class="btn btn-outline-inverse btn-lg" ng-click="showBuildModal()">
|
||||
<i class="fa-svg-icon">
|
||||
@@ -154,7 +154,7 @@
|
||||
<li><a href="http://angularjs.org" target="_blank">Angular-animate</a> (the version should match with your angular's, tested with 1.6.1) if you plan in using animations, you need to load angular-animate as well.</li>
|
||||
<li><a href="http://angularjs.org" target="_blank">Angular-touch</a> (the version should match with your angular's, tested with 1.6.1) if you plan in using swipe actions, you need to load angular-touch as well.</li>
|
||||
<li><a href="http://getbootstrap.com" target="_blank">Bootstrap CSS</a> (tested with version 4.0.0).
|
||||
This version of the library (3.0.3) works only with Bootstrap CSS in version 4.x.
|
||||
This version of the library (3.0.4) works only with Bootstrap CSS in version 4.x.
|
||||
2.5.0 is the last version of this library that supports Bootstrap CSS in version 3.x.x.
|
||||
0.8.0 is the last version of this library that supports Bootstrap CSS in version 2.3.x.
|
||||
</li>
|
||||
@@ -337,7 +337,7 @@ Add the ability to override the template used on the component.</p>
|
||||
<div class="row code">
|
||||
<div class="col-md-12" ng-controller="PlunkerCtrl">
|
||||
<div class="float-right">
|
||||
<button type="button" class="btn btn-info plunk-btn" ng-click="edit('1.6.1', '4.0.0', '3.0.3', 'accordion')">
|
||||
<button type="button" class="btn btn-info plunk-btn" ng-click="edit('1.6.1', '4.0.0', '3.0.4', 'accordion')">
|
||||
<i class="fa-svg-icon">
|
||||
<svg width="1792" height="1792" viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg"><path d="M888 1184l116-116-152-152-116 116v56h96v96h56zm440-720q-16-16-33 1l-350 350q-17 17-1 33t33-1l350-350q17-17 1-33zm80 594v190q0 119-84.5 203.5t-203.5 84.5h-832q-119 0-203.5-84.5t-84.5-203.5v-832q0-119 84.5-203.5t203.5-84.5h832q63 0 117 25 15 7 18 23 3 17-9 29l-49 49q-14 14-32 8-23-6-45-6h-832q-66 0-113 47t-47 113v832q0 66 47 113t113 47h832q66 0 113-47t47-113v-126q0-13 9-22l64-64q15-15 35-7t20 29zm-96-738l288 288-672 672h-288v-288zm444 132l-92 92-288-288 92-92q28-28 68-28t68 28l152 152q28 28 28 68t-28 68z"/></svg>
|
||||
</i>
|
||||
@@ -516,7 +516,7 @@ Add the ability to override the template used in the component.</p>
|
||||
<div class="row code">
|
||||
<div class="col-md-12" ng-controller="PlunkerCtrl">
|
||||
<div class="float-right">
|
||||
<button type="button" class="btn btn-info plunk-btn" ng-click="edit('1.6.1', '4.0.0', '3.0.3', 'alert')">
|
||||
<button type="button" class="btn btn-info plunk-btn" ng-click="edit('1.6.1', '4.0.0', '3.0.4', 'alert')">
|
||||
<i class="fa-svg-icon">
|
||||
<svg width="1792" height="1792" viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg"><path d="M888 1184l116-116-152-152-116 116v56h96v96h56zm440-720q-16-16-33 1l-350 350q-17 17-1 33t33-1l350-350q17-17 1-33zm80 594v190q0 119-84.5 203.5t-203.5 84.5h-832q-119 0-203.5-84.5t-84.5-203.5v-832q0-119 84.5-203.5t203.5-84.5h832q63 0 117 25 15 7 18 23 3 17-9 29l-49 49q-14 14-32 8-23-6-45-6h-832q-66 0-113 47t-47 113v832q0 66 47 113t113 47h832q66 0 113-47t47-113v-126q0-13 9-22l64-64q15-15 35-7t20 29zm-96-738l288 288-672 672h-288v-288zm444 132l-92 92-288-288 92-92q28-28 68-28t68 28l152 152q28 28 28 68t-28 68z"/></svg>
|
||||
</i>
|
||||
@@ -676,7 +676,7 @@ Event used to toggle the buttons.</p>
|
||||
<div class="row code">
|
||||
<div class="col-md-12" ng-controller="PlunkerCtrl">
|
||||
<div class="float-right">
|
||||
<button type="button" class="btn btn-info plunk-btn" ng-click="edit('1.6.1', '4.0.0', '3.0.3', 'buttons')">
|
||||
<button type="button" class="btn btn-info plunk-btn" ng-click="edit('1.6.1', '4.0.0', '3.0.4', 'buttons')">
|
||||
<i class="fa-svg-icon">
|
||||
<svg width="1792" height="1792" viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg"><path d="M888 1184l116-116-152-152-116 116v56h96v96h56zm440-720q-16-16-33 1l-350 350q-17 17-1 33t33-1l350-350q17-17 1-33zm80 594v190q0 119-84.5 203.5t-203.5 84.5h-832q-119 0-203.5-84.5t-84.5-203.5v-832q0-119 84.5-203.5t203.5-84.5h832q63 0 117 25 15 7 18 23 3 17-9 29l-49 49q-14 14-32 8-23-6-45-6h-832q-66 0-113 47t-47 113v832q0 66 47 113t113 47h832q66 0 113-47t47-113v-126q0-13 9-22l64-64q15-15 35-7t20 29zm-96-738l288 288-672 672h-288v-288zm444 132l-92 92-288-288 92-92q28-28 68-28t68 28l152 152q28 28 28 68t-28 68z"/></svg>
|
||||
</i>
|
||||
@@ -878,7 +878,7 @@ Add the ability to override the template used on the component.</p>
|
||||
<div class="row code">
|
||||
<div class="col-md-12" ng-controller="PlunkerCtrl">
|
||||
<div class="float-right">
|
||||
<button type="button" class="btn btn-info plunk-btn" ng-click="edit('1.6.1', '4.0.0', '3.0.3', 'carousel')">
|
||||
<button type="button" class="btn btn-info plunk-btn" ng-click="edit('1.6.1', '4.0.0', '3.0.4', 'carousel')">
|
||||
<i class="fa-svg-icon">
|
||||
<svg width="1792" height="1792" viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg"><path d="M888 1184l116-116-152-152-116 116v56h96v96h56zm440-720q-16-16-33 1l-350 350q-17 17-1 33t33-1l350-350q17-17 1-33zm80 594v190q0 119-84.5 203.5t-203.5 84.5h-832q-119 0-203.5-84.5t-84.5-203.5v-832q0-119 84.5-203.5t203.5-84.5h832q63 0 117 25 15 7 18 23 3 17-9 29l-49 49q-14 14-32 8-23-6-45-6h-832q-66 0-113 47t-47 113v832q0 66 47 113t113 47h832q66 0 113-47t47-113v-126q0-13 9-22l64-64q15-15 35-7t20 29zm-96-738l288 288-672 672h-288v-288zm444 132l-92 92-288-288 92-92q28-28 68-28t68 28l152 152q28 28 28 68t-28 68z"/></svg>
|
||||
</i>
|
||||
@@ -1147,7 +1147,7 @@ An optional attribute that permit to collapse horizontally.</p>
|
||||
<div class="row code">
|
||||
<div class="col-md-12" ng-controller="PlunkerCtrl">
|
||||
<div class="float-right">
|
||||
<button type="button" class="btn btn-info plunk-btn" ng-click="edit('1.6.1', '4.0.0', '3.0.3', 'collapse')">
|
||||
<button type="button" class="btn btn-info plunk-btn" ng-click="edit('1.6.1', '4.0.0', '3.0.4', 'collapse')">
|
||||
<i class="fa-svg-icon">
|
||||
<svg width="1792" height="1792" viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg"><path d="M888 1184l116-116-152-152-116 116v56h96v96h56zm440-720q-16-16-33 1l-350 350q-17 17-1 33t33-1l350-350q17-17 1-33zm80 594v190q0 119-84.5 203.5t-203.5 84.5h-832q-119 0-203.5-84.5t-84.5-203.5v-832q0-119 84.5-203.5t203.5-84.5h832q63 0 117 25 15 7 18 23 3 17-9 29l-49 49q-14 14-32 8-23-6-45-6h-832q-66 0-113 47t-47 113v832q0 66 47 113t113 47h832q66 0 113-47t47-113v-126q0-13 9-22l64-64q15-15 35-7t20 29zm-96-738l288 288-672 672h-288v-288zm444 132l-92 92-288-288 92-92q28-28 68-28t68 28l152 152q28 28 28 68t-28 68z"/></svg>
|
||||
</i>
|
||||
@@ -1401,7 +1401,7 @@ Parses the long form of the era (<code>Anno Domini</code> or <code>Before Christ
|
||||
<div class="row code">
|
||||
<div class="col-md-12" ng-controller="PlunkerCtrl">
|
||||
<div class="float-right">
|
||||
<button type="button" class="btn btn-info plunk-btn" ng-click="edit('1.6.1', '4.0.0', '3.0.3', 'dateparser')">
|
||||
<button type="button" class="btn btn-info plunk-btn" ng-click="edit('1.6.1', '4.0.0', '3.0.4', 'dateparser')">
|
||||
<i class="fa-svg-icon">
|
||||
<svg width="1792" height="1792" viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg"><path d="M888 1184l116-116-152-152-116 116v56h96v96h56zm440-720q-16-16-33 1l-350 350q-17 17-1 33t33-1l350-350q17-17 1-33zm80 594v190q0 119-84.5 203.5t-203.5 84.5h-832q-119 0-203.5-84.5t-84.5-203.5v-832q0-119 84.5-203.5t203.5-84.5h832q63 0 117 25 15 7 18 23 3 17-9 29l-49 49q-14 14-32 8-23-6-45-6h-832q-66 0-113 47t-47 113v832q0 66 47 113t113 47h832q66 0 113-47t47-113v-126q0-13 9-22l64-64q15-15 35-7t20 29zm-96-738l288 288-672 672h-288v-288zm444 132l-92 92-288-288 92-92q28-28 68-28t68 28l152 152q28 28 28 68t-28 68z"/></svg>
|
||||
</i>
|
||||
@@ -1651,7 +1651,7 @@ Number of columns displayed in year selection.</p>
|
||||
<div class="row code">
|
||||
<div class="col-md-12" ng-controller="PlunkerCtrl">
|
||||
<div class="float-right">
|
||||
<button type="button" class="btn btn-info plunk-btn" ng-click="edit('1.6.1', '4.0.0', '3.0.3', 'datepicker')">
|
||||
<button type="button" class="btn btn-info plunk-btn" ng-click="edit('1.6.1', '4.0.0', '3.0.4', 'datepicker')">
|
||||
<i class="fa-svg-icon">
|
||||
<svg width="1792" height="1792" viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg"><path d="M888 1184l116-116-152-152-116 116v56h96v96h56zm440-720q-16-16-33 1l-350 350q-17 17-1 33t33-1l350-350q17-17 1-33zm80 594v190q0 119-84.5 203.5t-203.5 84.5h-832q-119 0-203.5-84.5t-84.5-203.5v-832q0-119 84.5-203.5t203.5-84.5h832q63 0 117 25 15 7 18 23 3 17-9 29l-49 49q-14 14-32 8-23-6-45-6h-832q-66 0-113 47t-47 113v832q0 66 47 113t113 47h832q66 0 113-47t47-113v-126q0-13 9-22l64-64q15-15 35-7t20 29zm-96-738l288 288-672 672h-288v-288zm444 132l-92 92-288-288 92-92q28-28 68-28t68 28l152 152q28 28 28 68t-28 68z"/></svg>
|
||||
</i>
|
||||
@@ -2012,7 +2012,7 @@ The format for displayed dates. This string can take string literals by surround
|
||||
<div class="row code">
|
||||
<div class="col-md-12" ng-controller="PlunkerCtrl">
|
||||
<div class="float-right">
|
||||
<button type="button" class="btn btn-info plunk-btn" ng-click="edit('1.6.1', '4.0.0', '3.0.3', 'datepickerPopup')">
|
||||
<button type="button" class="btn btn-info plunk-btn" ng-click="edit('1.6.1', '4.0.0', '3.0.4', 'datepickerPopup')">
|
||||
<i class="fa-svg-icon">
|
||||
<svg width="1792" height="1792" viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg"><path d="M888 1184l116-116-152-152-116 116v56h96v96h56zm440-720q-16-16-33 1l-350 350q-17 17-1 33t33-1l350-350q17-17 1-33zm80 594v190q0 119-84.5 203.5t-203.5 84.5h-832q-119 0-203.5-84.5t-84.5-203.5v-832q0-119 84.5-203.5t203.5-84.5h832q63 0 117 25 15 7 18 23 3 17-9 29l-49 49q-14 14-32 8-23-6-45-6h-832q-66 0-113 47t-47 113v832q0 66 47 113t113 47h832q66 0 113-47t47-113v-126q0-13 9-22l64-64q15-15 35-7t20 29zm-96-738l288 288-672 672h-288v-288zm444 132l-92 92-288-288 92-92q28-28 68-28t68 28l152 152q28 28 28 68t-28 68z"/></svg>
|
||||
</i>
|
||||
@@ -2517,7 +2517,7 @@ Class to apply when the dropdown is open.</p>
|
||||
<div class="row code">
|
||||
<div class="col-md-12" ng-controller="PlunkerCtrl">
|
||||
<div class="float-right">
|
||||
<button type="button" class="btn btn-info plunk-btn" ng-click="edit('1.6.1', '4.0.0', '3.0.3', 'dropdown')">
|
||||
<button type="button" class="btn btn-info plunk-btn" ng-click="edit('1.6.1', '4.0.0', '3.0.4', 'dropdown')">
|
||||
<i class="fa-svg-icon">
|
||||
<svg width="1792" height="1792" viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg"><path d="M888 1184l116-116-152-152-116 116v56h96v96h56zm440-720q-16-16-33 1l-350 350q-17 17-1 33t33-1l350-350q17-17 1-33zm80 594v190q0 119-84.5 203.5t-203.5 84.5h-832q-119 0-203.5-84.5t-84.5-203.5v-832q0-119 84.5-203.5t203.5-84.5h832q63 0 117 25 15 7 18 23 3 17-9 29l-49 49q-14 14-32 8-23-6-45-6h-832q-66 0-113 47t-47 113v832q0 66 47 113t113 47h832q66 0 113-47t47-113v-126q0-13 9-22l64-64q15-15 35-7t20 29zm-96-738l288 288-672 672h-288v-288zm444 132l-92 92-288-288 92-92q28-28 68-28t68 28l152 152q28 28 28 68t-28 68z"/></svg>
|
||||
</i>
|
||||
@@ -2958,7 +2958,7 @@ Also, the <code>$close</code> and <code>$dismiss</code> methods returns true if
|
||||
<div class="row code">
|
||||
<div class="col-md-12" ng-controller="PlunkerCtrl">
|
||||
<div class="float-right">
|
||||
<button type="button" class="btn btn-info plunk-btn" ng-click="edit('1.6.1', '4.0.0', '3.0.3', 'modal')">
|
||||
<button type="button" class="btn btn-info plunk-btn" ng-click="edit('1.6.1', '4.0.0', '3.0.4', 'modal')">
|
||||
<i class="fa-svg-icon">
|
||||
<svg width="1792" height="1792" viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg"><path d="M888 1184l116-116-152-152-116 116v56h96v96h56zm440-720q-16-16-33 1l-350 350q-17 17-1 33t33-1l350-350q17-17 1-33zm80 594v190q0 119-84.5 203.5t-203.5 84.5h-832q-119 0-203.5-84.5t-84.5-203.5v-832q0-119 84.5-203.5t203.5-84.5h832q63 0 117 25 15 7 18 23 3 17-9 29l-49 49q-14 14-32 8-23-6-45-6h-832q-66 0-113 47t-47 113v832q0 66 47 113t113 47h832q66 0 113-47t47-113v-126q0-13 9-22l64-64q15-15 35-7t20 29zm-96-738l288 288-672 672h-288v-288zm444 132l-92 92-288-288 92-92q28-28 68-28t68 28l152 152q28 28 28 68t-28 68z"/></svg>
|
||||
</i>
|
||||
@@ -3353,7 +3353,7 @@ Total number of items in all pages.</p>
|
||||
<div class="row code">
|
||||
<div class="col-md-12" ng-controller="PlunkerCtrl">
|
||||
<div class="float-right">
|
||||
<button type="button" class="btn btn-info plunk-btn" ng-click="edit('1.6.1', '4.0.0', '3.0.3', 'pager')">
|
||||
<button type="button" class="btn btn-info plunk-btn" ng-click="edit('1.6.1', '4.0.0', '3.0.4', 'pager')">
|
||||
<i class="fa-svg-icon">
|
||||
<svg width="1792" height="1792" viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg"><path d="M888 1184l116-116-152-152-116 116v56h96v96h56zm440-720q-16-16-33 1l-350 350q-17 17-1 33t33-1l350-350q17-17 1-33zm80 594v190q0 119-84.5 203.5t-203.5 84.5h-832q-119 0-203.5-84.5t-84.5-203.5v-832q0-119 84.5-203.5t203.5-84.5h832q63 0 117 25 15 7 18 23 3 17-9 29l-49 49q-14 14-32 8-23-6-45-6h-832q-66 0-113 47t-47 113v832q0 66 47 113t113 47h832q66 0 113-47t47-113v-126q0-13 9-22l64-64q15-15 35-7t20 29zm-96-738l288 288-672 672h-288v-288zm444 132l-92 92-288-288 92-92q28-28 68-28t68 28l152 152q28 28 28 68t-28 68z"/></svg>
|
||||
</i>
|
||||
@@ -3532,7 +3532,7 @@ Total number of items in all pages.</p>
|
||||
<div class="row code">
|
||||
<div class="col-md-12" ng-controller="PlunkerCtrl">
|
||||
<div class="float-right">
|
||||
<button type="button" class="btn btn-info plunk-btn" ng-click="edit('1.6.1', '4.0.0', '3.0.3', 'pagination')">
|
||||
<button type="button" class="btn btn-info plunk-btn" ng-click="edit('1.6.1', '4.0.0', '3.0.4', 'pagination')">
|
||||
<i class="fa-svg-icon">
|
||||
<svg width="1792" height="1792" viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg"><path d="M888 1184l116-116-152-152-116 116v56h96v96h56zm440-720q-16-16-33 1l-350 350q-17 17-1 33t33-1l350-350q17-17 1-33zm80 594v190q0 119-84.5 203.5t-203.5 84.5h-832q-119 0-203.5-84.5t-84.5-203.5v-832q0-119 84.5-203.5t203.5-84.5h832q63 0 117 25 15 7 18 23 3 17-9 29l-49 49q-14 14-32 8-23-6-45-6h-832q-66 0-113 47t-47 113v832q0 66 47 113t113 47h832q66 0 113-47t47-113v-126q0-13 9-22l64-64q15-15 35-7t20 29zm-96-738l288 288-672 672h-288v-288zm444 132l-92 92-288-288 92-92q28-28 68-28t68 28l152 152q28 28 28 68t-28 68z"/></svg>
|
||||
</i>
|
||||
@@ -3793,7 +3793,7 @@ Provide a set of defaults for certain tooltip and popover attributes. Currently
|
||||
<div class="row code">
|
||||
<div class="col-md-12" ng-controller="PlunkerCtrl">
|
||||
<div class="float-right">
|
||||
<button type="button" class="btn btn-info plunk-btn" ng-click="edit('1.6.1', '4.0.0', '3.0.3', 'popover')">
|
||||
<button type="button" class="btn btn-info plunk-btn" ng-click="edit('1.6.1', '4.0.0', '3.0.4', 'popover')">
|
||||
<i class="fa-svg-icon">
|
||||
<svg width="1792" height="1792" viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg"><path d="M888 1184l116-116-152-152-116 116v56h96v96h56zm440-720q-16-16-33 1l-350 350q-17 17-1 33t33-1l350-350q17-17 1-33zm80 594v190q0 119-84.5 203.5t-203.5 84.5h-832q-119 0-203.5-84.5t-84.5-203.5v-832q0-119 84.5-203.5t203.5-84.5h832q63 0 117 25 15 7 18 23 3 17-9 29l-49 49q-14 14-32 8-23-6-45-6h-832q-66 0-113 47t-47 113v832q0 66 47 113t113 47h832q66 0 113-47t47-113v-126q0-13 9-22l64-64q15-15 35-7t20 29zm-96-738l288 288-672 672h-288v-288zm444 132l-92 92-288-288 92-92q28-28 68-28t68 28l152 152q28 28 28 68t-28 68z"/></svg>
|
||||
</i>
|
||||
@@ -4287,7 +4287,7 @@ The placement for the element.</p>
|
||||
<div class="row code">
|
||||
<div class="col-md-12" ng-controller="PlunkerCtrl">
|
||||
<div class="float-right">
|
||||
<button type="button" class="btn btn-info plunk-btn" ng-click="edit('1.6.1', '4.0.0', '3.0.3', 'position')">
|
||||
<button type="button" class="btn btn-info plunk-btn" ng-click="edit('1.6.1', '4.0.0', '3.0.4', 'position')">
|
||||
<i class="fa-svg-icon">
|
||||
<svg width="1792" height="1792" viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg"><path d="M888 1184l116-116-152-152-116 116v56h96v96h56zm440-720q-16-16-33 1l-350 350q-17 17-1 33t33-1l350-350q17-17 1-33zm80 594v190q0 119-84.5 203.5t-203.5 84.5h-832q-119 0-203.5-84.5t-84.5-203.5v-832q0-119 84.5-203.5t203.5-84.5h832q63 0 117 25 15 7 18 23 3 17-9 29l-49 49q-14 14-32 8-23-6-45-6h-832q-66 0-113 47t-47 113v832q0 66 47 113t113 47h832q66 0 113-47t47-113v-126q0-13 9-22l64-64q15-15 35-7t20 29zm-96-738l288 288-672 672h-288v-288zm444 132l-92 92-288-288 92-92q28-28 68-28t68 28l152 152q28 28 28 68t-28 68z"/></svg>
|
||||
</i>
|
||||
@@ -4515,7 +4515,7 @@ Title to use as label (for accessibility).</p>
|
||||
<div class="row code">
|
||||
<div class="col-md-12" ng-controller="PlunkerCtrl">
|
||||
<div class="float-right">
|
||||
<button type="button" class="btn btn-info plunk-btn" ng-click="edit('1.6.1', '4.0.0', '3.0.3', 'progressbar')">
|
||||
<button type="button" class="btn btn-info plunk-btn" ng-click="edit('1.6.1', '4.0.0', '3.0.4', 'progressbar')">
|
||||
<i class="fa-svg-icon">
|
||||
<svg width="1792" height="1792" viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg"><path d="M888 1184l116-116-152-152-116 116v56h96v96h56zm440-720q-16-16-33 1l-350 350q-17 17-1 33t33-1l350-350q17-17 1-33zm80 594v190q0 119-84.5 203.5t-203.5 84.5h-832q-119 0-203.5-84.5t-84.5-203.5v-832q0-119 84.5-203.5t203.5-84.5h832q63 0 117 25 15 7 18 23 3 17-9 29l-49 49q-14 14-32 8-23-6-45-6h-832q-66 0-113 47t-47 113v832q0 66 47 113t113 47h832q66 0 113-47t47-113v-126q0-13 9-22l64-64q15-15 35-7t20 29zm-96-738l288 288-672 672h-288v-288zm444 132l-92 92-288-288 92-92q28-28 68-28t68 28l152 152q28 28 28 68t-28 68z"/></svg>
|
||||
</i>
|
||||
@@ -4732,7 +4732,7 @@ A variable used in the template to specify the state for unselected icons.</p>
|
||||
<div class="row code">
|
||||
<div class="col-md-12" ng-controller="PlunkerCtrl">
|
||||
<div class="float-right">
|
||||
<button type="button" class="btn btn-info plunk-btn" ng-click="edit('1.6.1', '4.0.0', '3.0.3', 'rating')">
|
||||
<button type="button" class="btn btn-info plunk-btn" ng-click="edit('1.6.1', '4.0.0', '3.0.4', 'rating')">
|
||||
<i class="fa-svg-icon">
|
||||
<svg width="1792" height="1792" viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg"><path d="M888 1184l116-116-152-152-116 116v56h96v96h56zm440-720q-16-16-33 1l-350 350q-17 17-1 33t33-1l350-350q17-17 1-33zm80 594v190q0 119-84.5 203.5t-203.5 84.5h-832q-119 0-203.5-84.5t-84.5-203.5v-832q0-119 84.5-203.5t203.5-84.5h832q63 0 117 25 15 7 18 23 3 17-9 29l-49 49q-14 14-32 8-23-6-45-6h-832q-66 0-113 47t-47 113v832q0 66 47 113t113 47h832q66 0 113-47t47-113v-126q0-13 9-22l64-64q15-15 35-7t20 29zm-96-738l288 288-672 672h-288v-288zm444 132l-92 92-288-288 92-92q28-28 68-28t68 28l152 152q28 28 28 68t-28 68z"/></svg>
|
||||
</i>
|
||||
@@ -4970,7 +4970,7 @@ A URL representing the location of a template to use for the tab heading.</p>
|
||||
<div class="row code">
|
||||
<div class="col-md-12" ng-controller="PlunkerCtrl">
|
||||
<div class="float-right">
|
||||
<button type="button" class="btn btn-info plunk-btn" ng-click="edit('1.6.1', '4.0.0', '3.0.3', 'tabs')">
|
||||
<button type="button" class="btn btn-info plunk-btn" ng-click="edit('1.6.1', '4.0.0', '3.0.4', 'tabs')">
|
||||
<i class="fa-svg-icon">
|
||||
<svg width="1792" height="1792" viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg"><path d="M888 1184l116-116-152-152-116 116v56h96v96h56zm440-720q-16-16-33 1l-350 350q-17 17-1 33t33-1l350-350q17-17 1-33zm80 594v190q0 119-84.5 203.5t-203.5 84.5h-832q-119 0-203.5-84.5t-84.5-203.5v-832q0-119 84.5-203.5t203.5-84.5h832q63 0 117 25 15 7 18 23 3 17-9 29l-49 49q-14 14-32 8-23-6-45-6h-832q-66 0-113 47t-47 113v832q0 66 47 113t113 47h832q66 0 113-47t47-113v-126q0-13 9-22l64-64q15-15 35-7t20 29zm-96-738l288 288-672 672h-288v-288zm444 132l-92 92-288-288 92-92q28-28 68-28t68 28l152 152q28 28 28 68t-28 68z"/></svg>
|
||||
</i>
|
||||
@@ -5259,7 +5259,7 @@ Add the ability to override the template used on the component.</p>
|
||||
<div class="row code">
|
||||
<div class="col-md-12" ng-controller="PlunkerCtrl">
|
||||
<div class="float-right">
|
||||
<button type="button" class="btn btn-info plunk-btn" ng-click="edit('1.6.1', '4.0.0', '3.0.3', 'timepicker')">
|
||||
<button type="button" class="btn btn-info plunk-btn" ng-click="edit('1.6.1', '4.0.0', '3.0.4', 'timepicker')">
|
||||
<i class="fa-svg-icon">
|
||||
<svg width="1792" height="1792" viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg"><path d="M888 1184l116-116-152-152-116 116v56h96v96h56zm440-720q-16-16-33 1l-350 350q-17 17-1 33t33-1l350-350q17-17 1-33zm80 594v190q0 119-84.5 203.5t-203.5 84.5h-832q-119 0-203.5-84.5t-84.5-203.5v-832q0-119 84.5-203.5t203.5-84.5h832q63 0 117 25 15 7 18 23 3 17-9 29l-49 49q-14 14-32 8-23-6-45-6h-832q-66 0-113 47t-47 113v832q0 66 47 113t113 47h832q66 0 113-47t47-113v-126q0-13 9-22l64-64q15-15 35-7t20 29zm-96-738l288 288-672 672h-288v-288zm444 132l-92 92-288-288 92-92q28-28 68-28t68 28l152 152q28 28 28 68t-28 68z"/></svg>
|
||||
</i>
|
||||
@@ -5576,7 +5576,7 @@ Provide a set of defaults for certain tooltip and popover attributes. Currently
|
||||
<div class="row code">
|
||||
<div class="col-md-12" ng-controller="PlunkerCtrl">
|
||||
<div class="float-right">
|
||||
<button type="button" class="btn btn-info plunk-btn" ng-click="edit('1.6.1', '4.0.0', '3.0.3', 'tooltip')">
|
||||
<button type="button" class="btn btn-info plunk-btn" ng-click="edit('1.6.1', '4.0.0', '3.0.4', 'tooltip')">
|
||||
<i class="fa-svg-icon">
|
||||
<svg width="1792" height="1792" viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg"><path d="M888 1184l116-116-152-152-116 116v56h96v96h56zm440-720q-16-16-33 1l-350 350q-17 17-1 33t33-1l350-350q17-17 1-33zm80 594v190q0 119-84.5 203.5t-203.5 84.5h-832q-119 0-203.5-84.5t-84.5-203.5v-832q0-119 84.5-203.5t203.5-84.5h832q63 0 117 25 15 7 18 23 3 17-9 29l-49 49q-14 14-32 8-23-6-45-6h-832q-66 0-113 47t-47 113v832q0 66 47 113t113 47h832q66 0 113-47t47-113v-126q0-13 9-22l64-64q15-15 35-7t20 29zm-96-738l288 288-672 672h-288v-288zm444 132l-92 92-288-288 92-92q28-28 68-28t68 28l152 152q28 28 28 68t-28 68z"/></svg>
|
||||
</i>
|
||||
@@ -5945,7 +5945,7 @@ Comprehension Angular expression (see <a href="http://docs.angularjs.org/api/ng.
|
||||
<div class="row code">
|
||||
<div class="col-md-12" ng-controller="PlunkerCtrl">
|
||||
<div class="float-right">
|
||||
<button type="button" class="btn btn-info plunk-btn" ng-click="edit('1.6.1', '4.0.0', '3.0.3', 'typeahead')">
|
||||
<button type="button" class="btn btn-info plunk-btn" ng-click="edit('1.6.1', '4.0.0', '3.0.4', 'typeahead')">
|
||||
<i class="fa-svg-icon">
|
||||
<svg width="1792" height="1792" viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg"><path d="M888 1184l116-116-152-152-116 116v56h96v96h56zm440-720q-16-16-33 1l-350 350q-17 17-1 33t33-1l350-350q17-17 1-33zm80 594v190q0 119-84.5 203.5t-203.5 84.5h-832q-119 0-203.5-84.5t-84.5-203.5v-832q0-119 84.5-203.5t203.5-84.5h832q63 0 117 25 15 7 18 23 3 17-9 29l-49 49q-14 14-32 8-23-6-45-6h-832q-66 0-113 47t-47 113v832q0 66 47 113t113 47h832q66 0 113-47t47-113v-126q0-13 9-22l64-64q15-15 35-7t20 29zm-96-738l288 288-672 672h-288v-288zm444 132l-92 92-288-288 92-92q28-28 68-28t68 28l152 152q28 28 28 68t-28 68z"/></svg>
|
||||
</i>
|
||||
@@ -6178,13 +6178,13 @@ Comprehension Angular expression (see <a href="http://docs.angularjs.org/api/ng.
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button class="btn btn-secondary" ng-click="cancel()">Close</button>
|
||||
<a class="btn btn-primary" ng-href="{{download('3.0.3')}}" download>
|
||||
<a class="btn btn-primary" ng-href="{{download('3.0.4')}}" download>
|
||||
<i class="fa-svg-icon">
|
||||
<svg width="1792" height="1792" viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M1344 1344q0-26-19-45t-45-19-45 19-19 45 19 45 45 19 45-19 19-45zm256 0q0-26-19-45t-45-19-45 19-19 45 19 45 45 19 45-19 19-45zm128-224v320q0 40-28 68t-68 28h-1472q-40 0-68-28t-28-68v-320q0-40 28-68t68-28h465l135 136q58 56 136 56t136-56l136-136h464q40 0 68 28t28 68zm-325-569q17 41-14 70l-448 448q-18 19-45 19t-45-19l-448-448q-31-29-14-70 17-39 59-39h256v-448q0-26 19-45t45-19h256q26 0 45 19t19 45v448h256q42 0 59 39z"/>
|
||||
</svg>
|
||||
</i>
|
||||
Download 3.0.3
|
||||
Download 3.0.4
|
||||
</a>
|
||||
</div>
|
||||
</script>
|
||||
@@ -6533,7 +6533,7 @@ Comprehension Angular expression (see <a href="http://docs.angularjs.org/api/ng.
|
||||
<button class="btn btn-secondary" ng-click="cancel()">Close</button>
|
||||
<button class="btn btn-primary" ng-hide="isOldBrowser()"
|
||||
ng-disabled="isOldBrowser() !== false && !selectedModules.length"
|
||||
ng-click="selectedModules.length && build(selectedModules, '3.0.3')">
|
||||
ng-click="selectedModules.length && build(selectedModules, '3.0.4')">
|
||||
<i class="fa-svg-icon">
|
||||
<svg width="1792" height="1792" viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M1344 1344q0-26-19-45t-45-19-45 19-19 45 19 45 45 19 45-19 19-45zm256 0q0-26-19-45t-45-19-45 19-19 45 19 45 45 19 45-19 19-45zm128-224v320q0 40-28 68t-68 28h-1472q-40 0-68-28t-28-68v-320q0-40 28-68t68-28h465l135 136q58 56 136 56t136-56l136-136h464q40 0 68 28t28 68zm-325-569q17 41-14 70l-448 448q-18 19-45 19t-45-19l-448-448q-31-29-14-70 17-39 59-39h256v-448q0-26 19-45t45-19h256q26 0 45 19t19 45v448h256q42 0 59 39z"/>
|
||||
|
||||
@@ -0,0 +1,116 @@
|
||||
/* Include this file in your html if you are using the CSP mode. */
|
||||
|
||||
.ng-animate.item:not(.left):not(.right) {
|
||||
-webkit-transition: 0s ease-in-out left;
|
||||
transition: 0s ease-in-out left
|
||||
}
|
||||
.uib-datepicker .uib-title {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.uib-day button, .uib-month button, .uib-year button {
|
||||
min-width: 100%;
|
||||
}
|
||||
|
||||
.uib-left, .uib-right {
|
||||
width: 100%
|
||||
}
|
||||
|
||||
.uib-position-measure {
|
||||
display: block !important;
|
||||
visibility: hidden !important;
|
||||
position: absolute !important;
|
||||
top: -9999px !important;
|
||||
left: -9999px !important;
|
||||
}
|
||||
|
||||
.uib-position-scrollbar-measure {
|
||||
position: absolute !important;
|
||||
top: -9999px !important;
|
||||
width: 50px !important;
|
||||
height: 50px !important;
|
||||
overflow: scroll !important;
|
||||
}
|
||||
|
||||
.uib-position-body-scrollbar-measure {
|
||||
overflow: scroll !important;
|
||||
}
|
||||
.uib-datepicker-popup.dropdown-menu {
|
||||
display: block;
|
||||
float: none;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.uib-button-bar {
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
[uib-tooltip-popup].tooltip.top-left > .tooltip-arrow,
|
||||
[uib-tooltip-popup].tooltip.top-right > .tooltip-arrow,
|
||||
[uib-tooltip-popup].tooltip.bottom-left > .tooltip-arrow,
|
||||
[uib-tooltip-popup].tooltip.bottom-right > .tooltip-arrow,
|
||||
[uib-tooltip-popup].tooltip.left-top > .tooltip-arrow,
|
||||
[uib-tooltip-popup].tooltip.left-bottom > .tooltip-arrow,
|
||||
[uib-tooltip-popup].tooltip.right-top > .tooltip-arrow,
|
||||
[uib-tooltip-popup].tooltip.right-bottom > .tooltip-arrow,
|
||||
[uib-tooltip-html-popup].tooltip.top-left > .tooltip-arrow,
|
||||
[uib-tooltip-html-popup].tooltip.top-right > .tooltip-arrow,
|
||||
[uib-tooltip-html-popup].tooltip.bottom-left > .tooltip-arrow,
|
||||
[uib-tooltip-html-popup].tooltip.bottom-right > .tooltip-arrow,
|
||||
[uib-tooltip-html-popup].tooltip.left-top > .tooltip-arrow,
|
||||
[uib-tooltip-html-popup].tooltip.left-bottom > .tooltip-arrow,
|
||||
[uib-tooltip-html-popup].tooltip.right-top > .tooltip-arrow,
|
||||
[uib-tooltip-html-popup].tooltip.right-bottom > .tooltip-arrow,
|
||||
[uib-tooltip-template-popup].tooltip.top-left > .tooltip-arrow,
|
||||
[uib-tooltip-template-popup].tooltip.top-right > .tooltip-arrow,
|
||||
[uib-tooltip-template-popup].tooltip.bottom-left > .tooltip-arrow,
|
||||
[uib-tooltip-template-popup].tooltip.bottom-right > .tooltip-arrow,
|
||||
[uib-tooltip-template-popup].tooltip.left-top > .tooltip-arrow,
|
||||
[uib-tooltip-template-popup].tooltip.left-bottom > .tooltip-arrow,
|
||||
[uib-tooltip-template-popup].tooltip.right-top > .tooltip-arrow,
|
||||
[uib-tooltip-template-popup].tooltip.right-bottom > .tooltip-arrow,
|
||||
[uib-popover-popup].popover.top-left > .arrow,
|
||||
[uib-popover-popup].popover.top-right > .arrow,
|
||||
[uib-popover-popup].popover.bottom-left > .arrow,
|
||||
[uib-popover-popup].popover.bottom-right > .arrow,
|
||||
[uib-popover-popup].popover.left-top > .arrow,
|
||||
[uib-popover-popup].popover.left-bottom > .arrow,
|
||||
[uib-popover-popup].popover.right-top > .arrow,
|
||||
[uib-popover-popup].popover.right-bottom > .arrow,
|
||||
[uib-popover-html-popup].popover.top-left > .arrow,
|
||||
[uib-popover-html-popup].popover.top-right > .arrow,
|
||||
[uib-popover-html-popup].popover.bottom-left > .arrow,
|
||||
[uib-popover-html-popup].popover.bottom-right > .arrow,
|
||||
[uib-popover-html-popup].popover.left-top > .arrow,
|
||||
[uib-popover-html-popup].popover.left-bottom > .arrow,
|
||||
[uib-popover-html-popup].popover.right-top > .arrow,
|
||||
[uib-popover-html-popup].popover.right-bottom > .arrow,
|
||||
[uib-popover-template-popup].popover.top-left > .arrow,
|
||||
[uib-popover-template-popup].popover.top-right > .arrow,
|
||||
[uib-popover-template-popup].popover.bottom-left > .arrow,
|
||||
[uib-popover-template-popup].popover.bottom-right > .arrow,
|
||||
[uib-popover-template-popup].popover.left-top > .arrow,
|
||||
[uib-popover-template-popup].popover.left-bottom > .arrow,
|
||||
[uib-popover-template-popup].popover.right-top > .arrow,
|
||||
[uib-popover-template-popup].popover.right-bottom > .arrow {
|
||||
top: auto;
|
||||
bottom: auto;
|
||||
left: auto;
|
||||
right: auto;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
[uib-popover-popup].popover,
|
||||
[uib-popover-html-popup].popover,
|
||||
[uib-popover-template-popup].popover {
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
.uib-time input {
|
||||
/* Bootstrap 4 overrides this otherwise */
|
||||
width: 50px !important;
|
||||
}
|
||||
|
||||
[uib-typeahead-popup].dropdown-menu {
|
||||
display: block;
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
Vendored
+10
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
Vendored
+11
File diff suppressed because one or more lines are too long
+83
-47
@@ -2,7 +2,7 @@
|
||||
* ui-bootstrap4
|
||||
* http://morgul.github.io/ui-bootstrap4/
|
||||
|
||||
* Version: 3.0.2 - 2018-02-12
|
||||
* Version: 3.0.3 - 2018-03-12
|
||||
* License: MIT
|
||||
*/angular.module("ui.bootstrap", ["ui.bootstrap.tpls", "ui.bootstrap.collapse","ui.bootstrap.tabindex","ui.bootstrap.accordion","ui.bootstrap.alert","ui.bootstrap.buttons","ui.bootstrap.carousel","ui.bootstrap.dateparser","ui.bootstrap.isClass","ui.bootstrap.datepicker","ui.bootstrap.position","ui.bootstrap.datepickerPopup","ui.bootstrap.debounce","ui.bootstrap.multiMap","ui.bootstrap.dropdown","ui.bootstrap.stackedMap","ui.bootstrap.modal","ui.bootstrap.paging","ui.bootstrap.pager","ui.bootstrap.pagination","ui.bootstrap.tooltip","ui.bootstrap.popover","ui.bootstrap.progressbar","ui.bootstrap.rating","ui.bootstrap.tabs","ui.bootstrap.timepicker","ui.bootstrap.typeahead"]);
|
||||
angular.module("ui.bootstrap.tpls", ["uib/template/accordion/accordion-group.html","uib/template/accordion/accordion.html","uib/template/alert/alert.html","uib/template/carousel/carousel.html","uib/template/carousel/slide.html","uib/template/datepicker/datepicker.html","uib/template/datepicker/day.html","uib/template/datepicker/month.html","uib/template/datepicker/year.html","uib/template/datepickerPopup/popup.html","uib/template/modal/window.html","uib/template/pager/pager.html","uib/template/pagination/pagination.html","uib/template/tooltip/tooltip-html-popup.html","uib/template/tooltip/tooltip-popup.html","uib/template/tooltip/tooltip-template-popup.html","uib/template/popover/popover-html.html","uib/template/popover/popover-template.html","uib/template/popover/popover.html","uib/template/progressbar/bar.html","uib/template/progressbar/progress.html","uib/template/progressbar/progressbar.html","uib/template/rating/rating.html","uib/template/tabs/tab.html","uib/template/tabs/tabset.html","uib/template/timepicker/timepicker.html","uib/template/typeahead/typeahead-match.html","uib/template/typeahead/typeahead-popup.html"]);
|
||||
@@ -2111,12 +2111,12 @@ angular.module('ui.bootstrap.datepicker', ['ui.bootstrap.dateparser', 'ui.bootst
|
||||
|
||||
angular.module('ui.bootstrap.position', [])
|
||||
|
||||
/**
|
||||
* A set of utility methods for working with the DOM.
|
||||
* It is meant to be used where we need to absolute-position elements in
|
||||
* relation to another element (this is the case for tooltips, popovers,
|
||||
* typeahead suggestions etc.).
|
||||
*/
|
||||
/**
|
||||
* A set of utility methods for working with the DOM.
|
||||
* It is meant to be used where we need to absolute-position elements in
|
||||
* relation to another element (this is the case for tooltips, popovers,
|
||||
* typeahead suggestions etc.).
|
||||
*/
|
||||
.factory('$uibPosition', ['$document', '$window', function($document, $window) {
|
||||
/**
|
||||
* Used by scrollbarWidth() function to cache scrollbar's width.
|
||||
@@ -2251,7 +2251,7 @@ angular.module('ui.bootstrap.position', [])
|
||||
heightOverflow: scrollParent.scrollHeight > scrollParent.clientHeight,
|
||||
bottom: paddingBottom + scrollbarWidth,
|
||||
originalBottom: paddingBottom
|
||||
};
|
||||
};
|
||||
},
|
||||
|
||||
/**
|
||||
@@ -2374,16 +2374,27 @@ angular.module('ui.bootstrap.position', [])
|
||||
* <li>**right**: distance to bottom edge of viewport</li>
|
||||
* </ul>
|
||||
*/
|
||||
offset: function(elem) {
|
||||
offset: function(elem, includeMargins) {
|
||||
elem = this.getRawNode(elem);
|
||||
|
||||
var elemBCR = elem.getBoundingClientRect();
|
||||
return {
|
||||
var offset = {
|
||||
width: Math.round(angular.isNumber(elemBCR.width) ? elemBCR.width : elem.offsetWidth),
|
||||
height: Math.round(angular.isNumber(elemBCR.height) ? elemBCR.height : elem.offsetHeight),
|
||||
top: Math.round(elemBCR.top + ($window.pageYOffset || $document[0].documentElement.scrollTop)),
|
||||
left: Math.round(elemBCR.left + ($window.pageXOffset || $document[0].documentElement.scrollLeft))
|
||||
};
|
||||
|
||||
if (includeMargins) {
|
||||
var styles = window.getComputedStyle(elem);
|
||||
var verticalMargin = this.parseStyle(styles.marginTop) + this.parseStyle(styles.marginBottom);
|
||||
var horisontalMargin = this.parseStyle(styles.marginLeft) + this.parseStyle(styles.marginRight);
|
||||
|
||||
offset.height += verticalMargin;
|
||||
offset.width += horisontalMargin;
|
||||
}
|
||||
|
||||
return offset;
|
||||
},
|
||||
|
||||
/**
|
||||
@@ -2534,6 +2545,8 @@ angular.module('ui.bootstrap.position', [])
|
||||
* </ul>
|
||||
* @param {boolean=} [appendToBody=false] - Should the top and left values returned
|
||||
* be calculated from the body element, default is false.
|
||||
* @param {boolean=} [includeMargins=false] - Should margins count into targetElem width
|
||||
* in position claculation
|
||||
*
|
||||
* @returns {object} An object with the following properties:
|
||||
* <ul>
|
||||
@@ -2542,7 +2555,7 @@ angular.module('ui.bootstrap.position', [])
|
||||
* <li>**placement**: The resolved placement.</li>
|
||||
* </ul>
|
||||
*/
|
||||
positionElements: function(hostElem, targetElem, placement, appendToBody) {
|
||||
positionElements: function(hostElem, targetElem, placement, appendToBody, includeMargins) {
|
||||
hostElem = this.getRawNode(hostElem);
|
||||
targetElem = this.getRawNode(targetElem);
|
||||
|
||||
@@ -2550,6 +2563,15 @@ angular.module('ui.bootstrap.position', [])
|
||||
var targetWidth = angular.isDefined(targetElem.offsetWidth) ? targetElem.offsetWidth : targetElem.prop('offsetWidth');
|
||||
var targetHeight = angular.isDefined(targetElem.offsetHeight) ? targetElem.offsetHeight : targetElem.prop('offsetHeight');
|
||||
|
||||
if (includeMargins) {
|
||||
var styles = window.getComputedStyle(targetElem);
|
||||
var verticalMargin = this.parseStyle(styles.marginTop) + this.parseStyle(styles.marginBottom);
|
||||
var horisontalMargin = this.parseStyle(styles.marginLeft) + this.parseStyle(styles.marginRight);
|
||||
|
||||
targetHeight += verticalMargin;
|
||||
targetWidth += horisontalMargin;
|
||||
}
|
||||
|
||||
placement = this.parsePlacement(placement);
|
||||
|
||||
var hostElemPos = appendToBody ? this.offset(hostElem) : this.position(hostElem);
|
||||
@@ -2565,16 +2587,16 @@ angular.module('ui.bootstrap.position', [])
|
||||
};
|
||||
|
||||
placement[0] = placement[0] === 'top' && adjustedSize.height > viewportOffset.top && adjustedSize.height <= viewportOffset.bottom ? 'bottom' :
|
||||
placement[0] === 'bottom' && adjustedSize.height > viewportOffset.bottom && adjustedSize.height <= viewportOffset.top ? 'top' :
|
||||
placement[0] === 'left' && adjustedSize.width > viewportOffset.left && adjustedSize.width <= viewportOffset.right ? 'right' :
|
||||
placement[0] === 'right' && adjustedSize.width > viewportOffset.right && adjustedSize.width <= viewportOffset.left ? 'left' :
|
||||
placement[0];
|
||||
placement[0] === 'bottom' && adjustedSize.height > viewportOffset.bottom && adjustedSize.height <= viewportOffset.top ? 'top' :
|
||||
placement[0] === 'left' && adjustedSize.width > viewportOffset.left && adjustedSize.width <= viewportOffset.right ? 'right' :
|
||||
placement[0] === 'right' && adjustedSize.width > viewportOffset.right && adjustedSize.width <= viewportOffset.left ? 'left' :
|
||||
placement[0];
|
||||
|
||||
placement[1] = placement[1] === 'top' && adjustedSize.height - hostElemPos.height > viewportOffset.bottom && adjustedSize.height - hostElemPos.height <= viewportOffset.top ? 'bottom' :
|
||||
placement[1] === 'bottom' && adjustedSize.height - hostElemPos.height > viewportOffset.top && adjustedSize.height - hostElemPos.height <= viewportOffset.bottom ? 'top' :
|
||||
placement[1] === 'left' && adjustedSize.width - hostElemPos.width > viewportOffset.right && adjustedSize.width - hostElemPos.width <= viewportOffset.left ? 'right' :
|
||||
placement[1] === 'right' && adjustedSize.width - hostElemPos.width > viewportOffset.left && adjustedSize.width - hostElemPos.width <= viewportOffset.right ? 'left' :
|
||||
placement[1];
|
||||
placement[1] === 'bottom' && adjustedSize.height - hostElemPos.height > viewportOffset.top && adjustedSize.height - hostElemPos.height <= viewportOffset.bottom ? 'top' :
|
||||
placement[1] === 'left' && adjustedSize.width - hostElemPos.width > viewportOffset.right && adjustedSize.width - hostElemPos.width <= viewportOffset.left ? 'right' :
|
||||
placement[1] === 'right' && adjustedSize.width - hostElemPos.width > viewportOffset.left && adjustedSize.width - hostElemPos.width <= viewportOffset.right ? 'left' :
|
||||
placement[1];
|
||||
|
||||
if (placement[1] === 'center') {
|
||||
if (PLACEMENT_REGEX.vertical.test(placement[0])) {
|
||||
@@ -2694,7 +2716,7 @@ angular.module('ui.bootstrap.position', [])
|
||||
|
||||
placement = this.parsePlacement(placement);
|
||||
if (placement[1] === 'center') {
|
||||
var arrowElemOffset = this.offset(arrowElem);
|
||||
var arrowElemOffset = this.offset(arrowElem, true);
|
||||
if (PLACEMENT_REGEX.vertical.test(placement[0])) {
|
||||
var aHW = arrowElemOffset.width / 2;
|
||||
var eHW = this.offset(elem).width / 2;
|
||||
@@ -2720,19 +2742,21 @@ angular.module('ui.bootstrap.position', [])
|
||||
borderRadiusProp += '-radius';
|
||||
var borderRadius = $window.getComputedStyle(isTooltip ? innerElem : elem)[borderRadiusProp];
|
||||
|
||||
switch (placement[0]) {
|
||||
case 'top':
|
||||
arrowCss.bottom = isTooltip ? '0' : '-' + borderWidth;
|
||||
break;
|
||||
case 'bottom':
|
||||
arrowCss.top = isTooltip ? '0' : '-' + borderWidth;
|
||||
break;
|
||||
case 'left':
|
||||
arrowCss.right = isTooltip ? '0' : '-' + borderWidth;
|
||||
break;
|
||||
case 'right':
|
||||
arrowCss.left = isTooltip ? '0' : '-' + borderWidth;
|
||||
break;
|
||||
if (isTooltip) {
|
||||
switch (placement[0]) {
|
||||
case 'top':
|
||||
arrowCss.bottom = '0';
|
||||
break;
|
||||
case 'bottom':
|
||||
arrowCss.top = '0';
|
||||
break;
|
||||
case 'left':
|
||||
arrowCss.right = '0';
|
||||
break;
|
||||
case 'right':
|
||||
arrowCss.left = '0';
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
arrowCss[placement[1]] = borderRadius;
|
||||
@@ -3605,8 +3629,9 @@ angular.module('ui.bootstrap.dropdown', ['ui.bootstrap.multiMap', 'ui.bootstrap.
|
||||
|
||||
self.dropdownMenu.css(css);
|
||||
}
|
||||
|
||||
var openContainer = appendTo ? appendTo : $element.find('div');
|
||||
|
||||
// find openContainer by uib-dropdown-menu directive
|
||||
var openContainer = appendTo ? appendTo : angular.element($element[0].querySelector("[uib-dropdown-menu]"));
|
||||
var dropdownOpenClass = appendTo ? appendToOpenClass : openClass;
|
||||
var hasOpenClass = openContainer.hasClass(dropdownOpenClass);
|
||||
var isOnlyOpen = uibDropdownService.isOnlyOpen($scope, appendTo);
|
||||
@@ -3618,6 +3643,10 @@ angular.module('ui.bootstrap.dropdown', ['ui.bootstrap.multiMap', 'ui.bootstrap.
|
||||
} else {
|
||||
toggleClass = isOpen ? 'addClass' : 'removeClass';
|
||||
}
|
||||
|
||||
// original Bootstrap 4 dropdown sets openClass on both dropdownMenu and element
|
||||
$animate[toggleClass]($element, dropdownOpenClass);
|
||||
|
||||
$animate[toggleClass](openContainer, dropdownOpenClass).then(function() {
|
||||
if (angular.isDefined(isOpen) && isOpen !== wasOpen) {
|
||||
toggleInvoker($scope, { open: !!isOpen });
|
||||
@@ -5069,21 +5098,25 @@ angular.module('ui.bootstrap.tooltip', ['ui.bootstrap.position', 'ui.bootstrap.s
|
||||
|
||||
if (!positionTimeout) {
|
||||
positionTimeout = $timeout(function() {
|
||||
var ttPosition = $position.positionElements(element, tooltip, ttScope.placement, appendToBody);
|
||||
var initialHeight = angular.isDefined(tooltip.offsetHeight) ? tooltip.offsetHeight : tooltip.prop('offsetHeight');
|
||||
var elementPos = appendToBody ? $position.offset(element) : $position.position(element);
|
||||
tooltip.css({ top: ttPosition.top + 'px', left: ttPosition.left + 'px' });
|
||||
var placementClasses = ttPosition.placement.split('-');
|
||||
|
||||
var placementClasses = $position.parsePlacement(ttScope.placement);
|
||||
var placement = placementClasses[1] === 'center' ? placementClasses[0] : placementClasses[0] + '-' + placementClasses[1];
|
||||
|
||||
// need to add classes prior to placement to allow correct tooltip width calculations
|
||||
if (!tooltip.hasClass(placementClasses[0])) {
|
||||
tooltip.removeClass(lastPlacement.split('-')[0]);
|
||||
tooltip.addClass(placementClasses[0]);
|
||||
}
|
||||
|
||||
if (!tooltip.hasClass(options.placementClassPrefix + ttPosition.placement)) {
|
||||
if (!tooltip.hasClass(options.placementClassPrefix + placement)) {
|
||||
tooltip.removeClass(options.placementClassPrefix + lastPlacement);
|
||||
tooltip.addClass(options.placementClassPrefix + ttPosition.placement);
|
||||
tooltip.addClass(options.placementClassPrefix + placement);
|
||||
}
|
||||
|
||||
// Take into account tooltup margins, since boostrap css draws tooltip arrow inside margins
|
||||
var ttPosition = $position.positionElements(element, tooltip, ttScope.placement, appendToBody, true);
|
||||
var initialHeight = angular.isDefined(tooltip.offsetHeight) ? tooltip.offsetHeight : tooltip.prop('offsetHeight');
|
||||
var elementPos = appendToBody ? $position.offset(element) : $position.position(element);
|
||||
tooltip.css({ top: ttPosition.top + 'px', left: ttPosition.left + 'px' });
|
||||
|
||||
adjustmentTimeout = $timeout(function() {
|
||||
var currentHeight = angular.isDefined(tooltip.offsetHeight) ? tooltip.offsetHeight : tooltip.prop('offsetHeight');
|
||||
@@ -5768,7 +5801,8 @@ angular.module('ui.bootstrap.progressbar', [])
|
||||
require: '^uibProgress',
|
||||
scope: {
|
||||
value: '=',
|
||||
type: '@'
|
||||
type: '@',
|
||||
striped: '=?'
|
||||
},
|
||||
templateUrl: 'uib/template/progressbar/bar.html',
|
||||
link: function(scope, element, attrs, progressCtrl) {
|
||||
@@ -5785,7 +5819,8 @@ angular.module('ui.bootstrap.progressbar', [])
|
||||
scope: {
|
||||
value: '=',
|
||||
maxParam: '=?max',
|
||||
type: '@'
|
||||
type: '@',
|
||||
striped: '=?'
|
||||
},
|
||||
templateUrl: 'uib/template/progressbar/progressbar.html',
|
||||
link: function(scope, element, attrs, progressCtrl) {
|
||||
@@ -7725,7 +7760,7 @@ angular.module("uib/template/popover/popover.html", []).run(["$templateCache", f
|
||||
|
||||
angular.module("uib/template/progressbar/bar.html", []).run(["$templateCache", function ($templateCache) {
|
||||
$templateCache.put("uib/template/progressbar/bar.html",
|
||||
"<div class=\"progress-bar\" ng-class=\"type && 'progress-bar-' + type\" role=\"progressbar\" aria-valuenow=\"{{value}}\" aria-valuemin=\"0\" aria-valuemax=\"{{max}}\" ng-style=\"{width: (percent < 100 ? percent : 100) + '%'}\" aria-valuetext=\"{{percent | number:0}}%\" aria-labelledby=\"{{::title}}\" ng-transclude></div>\n" +
|
||||
"<div class=\"progress-bar\" ng-class=\"[type ? 'bg-' + type : '', striped ? 'progress-bar-striped' : '']\" role=\"progressbar\" aria-valuenow=\"{{value}}\" aria-valuemin=\"0\" aria-valuemax=\"{{max}}\" ng-style=\"{width: (percent < 100 ? percent : 100) + '%'}\" aria-valuetext=\"{{percent | number:0}}%\" aria-labelledby=\"{{::title}}\" ng-transclude></div>\n" +
|
||||
"");
|
||||
}]);
|
||||
|
||||
@@ -7737,7 +7772,7 @@ angular.module("uib/template/progressbar/progress.html", []).run(["$templateCach
|
||||
angular.module("uib/template/progressbar/progressbar.html", []).run(["$templateCache", function ($templateCache) {
|
||||
$templateCache.put("uib/template/progressbar/progressbar.html",
|
||||
"<div class=\"progress\">\n" +
|
||||
" <div class=\"progress-bar\" ng-class=\"type && 'progress-bar-' + type\" role=\"progressbar\" aria-valuenow=\"{{value}}\" aria-valuemin=\"0\" aria-valuemax=\"{{max}}\" ng-style=\"{width: (percent < 100 ? percent : 100) + '%'}\" aria-valuetext=\"{{percent | number:0}}%\" aria-labelledby=\"{{::title}}\" ng-transclude></div>\n" +
|
||||
" <div class=\"progress-bar\" ng-class=\"[type ? 'bg-' + type : '', striped ? 'progress-bar-striped' : '']\" role=\"progressbar\" aria-valuenow=\"{{value}}\" aria-valuemin=\"0\" aria-valuemax=\"{{max}}\" ng-style=\"{width: (percent < 100 ? percent : 100) + '%'}\" aria-valuetext=\"{{percent | number:0}}%\" aria-labelledby=\"{{::title}}\" ng-transclude></div>\n" +
|
||||
"</div>\n" +
|
||||
"");
|
||||
}]);
|
||||
@@ -7856,6 +7891,7 @@ angular.module("uib/template/typeahead/typeahead-match.html", []).run(["$templat
|
||||
$templateCache.put("uib/template/typeahead/typeahead-match.html",
|
||||
"<a href\n" +
|
||||
" tabindex=\"-1\"\n" +
|
||||
" class=\"dropdown-item\"\n" +
|
||||
" ng-bind-html=\"match.label | uibTypeaheadHighlight:query\"\n" +
|
||||
" ng-attr-title=\"{{match.label}}\"></a>\n" +
|
||||
"");
|
||||
|
||||
+80
-45
@@ -2,7 +2,7 @@
|
||||
* ui-bootstrap4
|
||||
* http://morgul.github.io/ui-bootstrap4/
|
||||
|
||||
* Version: 3.0.2 - 2018-02-12
|
||||
* Version: 3.0.3 - 2018-03-12
|
||||
* License: MIT
|
||||
*/angular.module("ui.bootstrap", ["ui.bootstrap.collapse","ui.bootstrap.tabindex","ui.bootstrap.accordion","ui.bootstrap.alert","ui.bootstrap.buttons","ui.bootstrap.carousel","ui.bootstrap.dateparser","ui.bootstrap.isClass","ui.bootstrap.datepicker","ui.bootstrap.position","ui.bootstrap.datepickerPopup","ui.bootstrap.debounce","ui.bootstrap.multiMap","ui.bootstrap.dropdown","ui.bootstrap.stackedMap","ui.bootstrap.modal","ui.bootstrap.paging","ui.bootstrap.pager","ui.bootstrap.pagination","ui.bootstrap.tooltip","ui.bootstrap.popover","ui.bootstrap.progressbar","ui.bootstrap.rating","ui.bootstrap.tabs","ui.bootstrap.timepicker","ui.bootstrap.typeahead"]);
|
||||
angular.module('ui.bootstrap.collapse', [])
|
||||
@@ -2110,12 +2110,12 @@ angular.module('ui.bootstrap.datepicker', ['ui.bootstrap.dateparser', 'ui.bootst
|
||||
|
||||
angular.module('ui.bootstrap.position', [])
|
||||
|
||||
/**
|
||||
* A set of utility methods for working with the DOM.
|
||||
* It is meant to be used where we need to absolute-position elements in
|
||||
* relation to another element (this is the case for tooltips, popovers,
|
||||
* typeahead suggestions etc.).
|
||||
*/
|
||||
/**
|
||||
* A set of utility methods for working with the DOM.
|
||||
* It is meant to be used where we need to absolute-position elements in
|
||||
* relation to another element (this is the case for tooltips, popovers,
|
||||
* typeahead suggestions etc.).
|
||||
*/
|
||||
.factory('$uibPosition', ['$document', '$window', function($document, $window) {
|
||||
/**
|
||||
* Used by scrollbarWidth() function to cache scrollbar's width.
|
||||
@@ -2250,7 +2250,7 @@ angular.module('ui.bootstrap.position', [])
|
||||
heightOverflow: scrollParent.scrollHeight > scrollParent.clientHeight,
|
||||
bottom: paddingBottom + scrollbarWidth,
|
||||
originalBottom: paddingBottom
|
||||
};
|
||||
};
|
||||
},
|
||||
|
||||
/**
|
||||
@@ -2373,16 +2373,27 @@ angular.module('ui.bootstrap.position', [])
|
||||
* <li>**right**: distance to bottom edge of viewport</li>
|
||||
* </ul>
|
||||
*/
|
||||
offset: function(elem) {
|
||||
offset: function(elem, includeMargins) {
|
||||
elem = this.getRawNode(elem);
|
||||
|
||||
var elemBCR = elem.getBoundingClientRect();
|
||||
return {
|
||||
var offset = {
|
||||
width: Math.round(angular.isNumber(elemBCR.width) ? elemBCR.width : elem.offsetWidth),
|
||||
height: Math.round(angular.isNumber(elemBCR.height) ? elemBCR.height : elem.offsetHeight),
|
||||
top: Math.round(elemBCR.top + ($window.pageYOffset || $document[0].documentElement.scrollTop)),
|
||||
left: Math.round(elemBCR.left + ($window.pageXOffset || $document[0].documentElement.scrollLeft))
|
||||
};
|
||||
|
||||
if (includeMargins) {
|
||||
var styles = window.getComputedStyle(elem);
|
||||
var verticalMargin = this.parseStyle(styles.marginTop) + this.parseStyle(styles.marginBottom);
|
||||
var horisontalMargin = this.parseStyle(styles.marginLeft) + this.parseStyle(styles.marginRight);
|
||||
|
||||
offset.height += verticalMargin;
|
||||
offset.width += horisontalMargin;
|
||||
}
|
||||
|
||||
return offset;
|
||||
},
|
||||
|
||||
/**
|
||||
@@ -2533,6 +2544,8 @@ angular.module('ui.bootstrap.position', [])
|
||||
* </ul>
|
||||
* @param {boolean=} [appendToBody=false] - Should the top and left values returned
|
||||
* be calculated from the body element, default is false.
|
||||
* @param {boolean=} [includeMargins=false] - Should margins count into targetElem width
|
||||
* in position claculation
|
||||
*
|
||||
* @returns {object} An object with the following properties:
|
||||
* <ul>
|
||||
@@ -2541,7 +2554,7 @@ angular.module('ui.bootstrap.position', [])
|
||||
* <li>**placement**: The resolved placement.</li>
|
||||
* </ul>
|
||||
*/
|
||||
positionElements: function(hostElem, targetElem, placement, appendToBody) {
|
||||
positionElements: function(hostElem, targetElem, placement, appendToBody, includeMargins) {
|
||||
hostElem = this.getRawNode(hostElem);
|
||||
targetElem = this.getRawNode(targetElem);
|
||||
|
||||
@@ -2549,6 +2562,15 @@ angular.module('ui.bootstrap.position', [])
|
||||
var targetWidth = angular.isDefined(targetElem.offsetWidth) ? targetElem.offsetWidth : targetElem.prop('offsetWidth');
|
||||
var targetHeight = angular.isDefined(targetElem.offsetHeight) ? targetElem.offsetHeight : targetElem.prop('offsetHeight');
|
||||
|
||||
if (includeMargins) {
|
||||
var styles = window.getComputedStyle(targetElem);
|
||||
var verticalMargin = this.parseStyle(styles.marginTop) + this.parseStyle(styles.marginBottom);
|
||||
var horisontalMargin = this.parseStyle(styles.marginLeft) + this.parseStyle(styles.marginRight);
|
||||
|
||||
targetHeight += verticalMargin;
|
||||
targetWidth += horisontalMargin;
|
||||
}
|
||||
|
||||
placement = this.parsePlacement(placement);
|
||||
|
||||
var hostElemPos = appendToBody ? this.offset(hostElem) : this.position(hostElem);
|
||||
@@ -2564,16 +2586,16 @@ angular.module('ui.bootstrap.position', [])
|
||||
};
|
||||
|
||||
placement[0] = placement[0] === 'top' && adjustedSize.height > viewportOffset.top && adjustedSize.height <= viewportOffset.bottom ? 'bottom' :
|
||||
placement[0] === 'bottom' && adjustedSize.height > viewportOffset.bottom && adjustedSize.height <= viewportOffset.top ? 'top' :
|
||||
placement[0] === 'left' && adjustedSize.width > viewportOffset.left && adjustedSize.width <= viewportOffset.right ? 'right' :
|
||||
placement[0] === 'right' && adjustedSize.width > viewportOffset.right && adjustedSize.width <= viewportOffset.left ? 'left' :
|
||||
placement[0];
|
||||
placement[0] === 'bottom' && adjustedSize.height > viewportOffset.bottom && adjustedSize.height <= viewportOffset.top ? 'top' :
|
||||
placement[0] === 'left' && adjustedSize.width > viewportOffset.left && adjustedSize.width <= viewportOffset.right ? 'right' :
|
||||
placement[0] === 'right' && adjustedSize.width > viewportOffset.right && adjustedSize.width <= viewportOffset.left ? 'left' :
|
||||
placement[0];
|
||||
|
||||
placement[1] = placement[1] === 'top' && adjustedSize.height - hostElemPos.height > viewportOffset.bottom && adjustedSize.height - hostElemPos.height <= viewportOffset.top ? 'bottom' :
|
||||
placement[1] === 'bottom' && adjustedSize.height - hostElemPos.height > viewportOffset.top && adjustedSize.height - hostElemPos.height <= viewportOffset.bottom ? 'top' :
|
||||
placement[1] === 'left' && adjustedSize.width - hostElemPos.width > viewportOffset.right && adjustedSize.width - hostElemPos.width <= viewportOffset.left ? 'right' :
|
||||
placement[1] === 'right' && adjustedSize.width - hostElemPos.width > viewportOffset.left && adjustedSize.width - hostElemPos.width <= viewportOffset.right ? 'left' :
|
||||
placement[1];
|
||||
placement[1] === 'bottom' && adjustedSize.height - hostElemPos.height > viewportOffset.top && adjustedSize.height - hostElemPos.height <= viewportOffset.bottom ? 'top' :
|
||||
placement[1] === 'left' && adjustedSize.width - hostElemPos.width > viewportOffset.right && adjustedSize.width - hostElemPos.width <= viewportOffset.left ? 'right' :
|
||||
placement[1] === 'right' && adjustedSize.width - hostElemPos.width > viewportOffset.left && adjustedSize.width - hostElemPos.width <= viewportOffset.right ? 'left' :
|
||||
placement[1];
|
||||
|
||||
if (placement[1] === 'center') {
|
||||
if (PLACEMENT_REGEX.vertical.test(placement[0])) {
|
||||
@@ -2693,7 +2715,7 @@ angular.module('ui.bootstrap.position', [])
|
||||
|
||||
placement = this.parsePlacement(placement);
|
||||
if (placement[1] === 'center') {
|
||||
var arrowElemOffset = this.offset(arrowElem);
|
||||
var arrowElemOffset = this.offset(arrowElem, true);
|
||||
if (PLACEMENT_REGEX.vertical.test(placement[0])) {
|
||||
var aHW = arrowElemOffset.width / 2;
|
||||
var eHW = this.offset(elem).width / 2;
|
||||
@@ -2719,19 +2741,21 @@ angular.module('ui.bootstrap.position', [])
|
||||
borderRadiusProp += '-radius';
|
||||
var borderRadius = $window.getComputedStyle(isTooltip ? innerElem : elem)[borderRadiusProp];
|
||||
|
||||
switch (placement[0]) {
|
||||
case 'top':
|
||||
arrowCss.bottom = isTooltip ? '0' : '-' + borderWidth;
|
||||
break;
|
||||
case 'bottom':
|
||||
arrowCss.top = isTooltip ? '0' : '-' + borderWidth;
|
||||
break;
|
||||
case 'left':
|
||||
arrowCss.right = isTooltip ? '0' : '-' + borderWidth;
|
||||
break;
|
||||
case 'right':
|
||||
arrowCss.left = isTooltip ? '0' : '-' + borderWidth;
|
||||
break;
|
||||
if (isTooltip) {
|
||||
switch (placement[0]) {
|
||||
case 'top':
|
||||
arrowCss.bottom = '0';
|
||||
break;
|
||||
case 'bottom':
|
||||
arrowCss.top = '0';
|
||||
break;
|
||||
case 'left':
|
||||
arrowCss.right = '0';
|
||||
break;
|
||||
case 'right':
|
||||
arrowCss.left = '0';
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
arrowCss[placement[1]] = borderRadius;
|
||||
@@ -3604,8 +3628,9 @@ angular.module('ui.bootstrap.dropdown', ['ui.bootstrap.multiMap', 'ui.bootstrap.
|
||||
|
||||
self.dropdownMenu.css(css);
|
||||
}
|
||||
|
||||
var openContainer = appendTo ? appendTo : $element.find('div');
|
||||
|
||||
// find openContainer by uib-dropdown-menu directive
|
||||
var openContainer = appendTo ? appendTo : angular.element($element[0].querySelector("[uib-dropdown-menu]"));
|
||||
var dropdownOpenClass = appendTo ? appendToOpenClass : openClass;
|
||||
var hasOpenClass = openContainer.hasClass(dropdownOpenClass);
|
||||
var isOnlyOpen = uibDropdownService.isOnlyOpen($scope, appendTo);
|
||||
@@ -3617,6 +3642,10 @@ angular.module('ui.bootstrap.dropdown', ['ui.bootstrap.multiMap', 'ui.bootstrap.
|
||||
} else {
|
||||
toggleClass = isOpen ? 'addClass' : 'removeClass';
|
||||
}
|
||||
|
||||
// original Bootstrap 4 dropdown sets openClass on both dropdownMenu and element
|
||||
$animate[toggleClass]($element, dropdownOpenClass);
|
||||
|
||||
$animate[toggleClass](openContainer, dropdownOpenClass).then(function() {
|
||||
if (angular.isDefined(isOpen) && isOpen !== wasOpen) {
|
||||
toggleInvoker($scope, { open: !!isOpen });
|
||||
@@ -5068,21 +5097,25 @@ angular.module('ui.bootstrap.tooltip', ['ui.bootstrap.position', 'ui.bootstrap.s
|
||||
|
||||
if (!positionTimeout) {
|
||||
positionTimeout = $timeout(function() {
|
||||
var ttPosition = $position.positionElements(element, tooltip, ttScope.placement, appendToBody);
|
||||
var initialHeight = angular.isDefined(tooltip.offsetHeight) ? tooltip.offsetHeight : tooltip.prop('offsetHeight');
|
||||
var elementPos = appendToBody ? $position.offset(element) : $position.position(element);
|
||||
tooltip.css({ top: ttPosition.top + 'px', left: ttPosition.left + 'px' });
|
||||
var placementClasses = ttPosition.placement.split('-');
|
||||
|
||||
var placementClasses = $position.parsePlacement(ttScope.placement);
|
||||
var placement = placementClasses[1] === 'center' ? placementClasses[0] : placementClasses[0] + '-' + placementClasses[1];
|
||||
|
||||
// need to add classes prior to placement to allow correct tooltip width calculations
|
||||
if (!tooltip.hasClass(placementClasses[0])) {
|
||||
tooltip.removeClass(lastPlacement.split('-')[0]);
|
||||
tooltip.addClass(placementClasses[0]);
|
||||
}
|
||||
|
||||
if (!tooltip.hasClass(options.placementClassPrefix + ttPosition.placement)) {
|
||||
if (!tooltip.hasClass(options.placementClassPrefix + placement)) {
|
||||
tooltip.removeClass(options.placementClassPrefix + lastPlacement);
|
||||
tooltip.addClass(options.placementClassPrefix + ttPosition.placement);
|
||||
tooltip.addClass(options.placementClassPrefix + placement);
|
||||
}
|
||||
|
||||
// Take into account tooltup margins, since boostrap css draws tooltip arrow inside margins
|
||||
var ttPosition = $position.positionElements(element, tooltip, ttScope.placement, appendToBody, true);
|
||||
var initialHeight = angular.isDefined(tooltip.offsetHeight) ? tooltip.offsetHeight : tooltip.prop('offsetHeight');
|
||||
var elementPos = appendToBody ? $position.offset(element) : $position.position(element);
|
||||
tooltip.css({ top: ttPosition.top + 'px', left: ttPosition.left + 'px' });
|
||||
|
||||
adjustmentTimeout = $timeout(function() {
|
||||
var currentHeight = angular.isDefined(tooltip.offsetHeight) ? tooltip.offsetHeight : tooltip.prop('offsetHeight');
|
||||
@@ -5767,7 +5800,8 @@ angular.module('ui.bootstrap.progressbar', [])
|
||||
require: '^uibProgress',
|
||||
scope: {
|
||||
value: '=',
|
||||
type: '@'
|
||||
type: '@',
|
||||
striped: '=?'
|
||||
},
|
||||
templateUrl: 'uib/template/progressbar/bar.html',
|
||||
link: function(scope, element, attrs, progressCtrl) {
|
||||
@@ -5784,7 +5818,8 @@ angular.module('ui.bootstrap.progressbar', [])
|
||||
scope: {
|
||||
value: '=',
|
||||
maxParam: '=?max',
|
||||
type: '@'
|
||||
type: '@',
|
||||
striped: '=?'
|
||||
},
|
||||
templateUrl: 'uib/template/progressbar/progressbar.html',
|
||||
link: function(scope, element, attrs, progressCtrl) {
|
||||
|
||||
@@ -1 +1 @@
|
||||
[{"version":"Current","url":"/angular-ui-bootstrap4"},{"version":"3.0.2","url":"/angular-ui-bootstrap4/versioned-docs/3.0.2"},{"version":"3.0.1","url":"/angular-ui-bootstrap4/versioned-docs/3.0.1"},{"version":"3.0.0","url":"/angular-ui-bootstrap4/versioned-docs/3.0.0"},{"version":"2.5.0","url":"/angular-ui-bootstrap4/versioned-docs/2.5.0"},{"version":"2.4.0","url":"/angular-ui-bootstrap4/versioned-docs/2.4.0"},{"version":"2.3.2","url":"/angular-ui-bootstrap4/versioned-docs/2.3.2"},{"version":"2.3.1","url":"/angular-ui-bootstrap4/versioned-docs/2.3.1"},{"version":"2.3.0","url":"/angular-ui-bootstrap4/versioned-docs/2.3.0"},{"version":"2.2.0","url":"/angular-ui-bootstrap4/versioned-docs/2.2.0"},{"version":"2.1.4","url":"/angular-ui-bootstrap4/versioned-docs/2.1.4"},{"version":"2.1.3","url":"/angular-ui-bootstrap4/versioned-docs/2.1.3"},{"version":"2.1.2","url":"/angular-ui-bootstrap4/versioned-docs/2.1.2"},{"version":"2.1.1","url":"/angular-ui-bootstrap4/versioned-docs/2.1.1"},{"version":"2.1.0","url":"/angular-ui-bootstrap4/versioned-docs/2.1.0"},{"version":"2.0.2","url":"/angular-ui-bootstrap4/versioned-docs/2.0.2"},{"version":"2.0.1","url":"/angular-ui-bootstrap4/versioned-docs/2.0.1"},{"version":"2.0.0","url":"/angular-ui-bootstrap4/versioned-docs/2.0.0"},{"version":"1.3.3","url":"/angular-ui-bootstrap4/versioned-docs/1.3.3"},{"version":"1.3.2","url":"/angular-ui-bootstrap4/versioned-docs/1.3.2"},{"version":"1.3.1","url":"/angular-ui-bootstrap4/versioned-docs/1.3.1"},{"version":"1.3.0","url":"/angular-ui-bootstrap4/versioned-docs/1.3.0"},{"version":"1.2.5","url":"/angular-ui-bootstrap4/versioned-docs/1.2.5"},{"version":"1.2.4","url":"/angular-ui-bootstrap4/versioned-docs/1.2.4"},{"version":"1.2.3","url":"/angular-ui-bootstrap4/versioned-docs/1.2.3"},{"version":"1.2.2","url":"/angular-ui-bootstrap4/versioned-docs/1.2.2"},{"version":"1.2.1","url":"/angular-ui-bootstrap4/versioned-docs/1.2.1"},{"version":"1.2.0","url":"/angular-ui-bootstrap4/versioned-docs/1.2.0"},{"version":"1.1.2","url":"/angular-ui-bootstrap4/versioned-docs/1.1.2"},{"version":"1.1.1","url":"/angular-ui-bootstrap4/versioned-docs/1.1.1"},{"version":"1.1.0","url":"/angular-ui-bootstrap4/versioned-docs/1.1.0"},{"version":"1.0.3","url":"/angular-ui-bootstrap4/versioned-docs/1.0.3"},{"version":"1.0.2","url":"/angular-ui-bootstrap4/versioned-docs/1.0.2"},{"version":"1.0.1","url":"/angular-ui-bootstrap4/versioned-docs/1.0.1"},{"version":"1.0.0","url":"/angular-ui-bootstrap4/versioned-docs/1.0.0"},{"version":"0.14.3","url":"/angular-ui-bootstrap4/versioned-docs/0.14.3"},{"version":"0.14.2","url":"/angular-ui-bootstrap4/versioned-docs/0.14.2"},{"version":"0.14.1","url":"/angular-ui-bootstrap4/versioned-docs/0.14.1"},{"version":"0.14.0","url":"/angular-ui-bootstrap4/versioned-docs/0.14.0"},{"version":"0.13.4","url":"/angular-ui-bootstrap4/versioned-docs/0.13.4"},{"version":"0.13.3","url":"/angular-ui-bootstrap4/versioned-docs/0.13.3"},{"version":"0.13.2","url":"/angular-ui-bootstrap4/versioned-docs/0.13.2"},{"version":"0.13.1","url":"/angular-ui-bootstrap4/versioned-docs/0.13.1"},{"version":"0.13.0","url":"/angular-ui-bootstrap4/versioned-docs/0.13.0"},{"version":"0.12.1","url":"/angular-ui-bootstrap4/versioned-docs/0.12.1"},{"version":"0.12.0","url":"/angular-ui-bootstrap4/versioned-docs/0.12.0"}]
|
||||
[{"version":"Current","url":"/angular-ui-bootstrap4"},{"version":"3.0.3","url":"/angular-ui-bootstrap4/versioned-docs/3.0.3"},{"version":"3.0.2","url":"/angular-ui-bootstrap4/versioned-docs/3.0.2"},{"version":"3.0.1","url":"/angular-ui-bootstrap4/versioned-docs/3.0.1"},{"version":"3.0.0","url":"/angular-ui-bootstrap4/versioned-docs/3.0.0"},{"version":"2.5.0","url":"/angular-ui-bootstrap4/versioned-docs/2.5.0"},{"version":"2.4.0","url":"/angular-ui-bootstrap4/versioned-docs/2.4.0"},{"version":"2.3.2","url":"/angular-ui-bootstrap4/versioned-docs/2.3.2"},{"version":"2.3.1","url":"/angular-ui-bootstrap4/versioned-docs/2.3.1"},{"version":"2.3.0","url":"/angular-ui-bootstrap4/versioned-docs/2.3.0"},{"version":"2.2.0","url":"/angular-ui-bootstrap4/versioned-docs/2.2.0"},{"version":"2.1.4","url":"/angular-ui-bootstrap4/versioned-docs/2.1.4"},{"version":"2.1.3","url":"/angular-ui-bootstrap4/versioned-docs/2.1.3"},{"version":"2.1.2","url":"/angular-ui-bootstrap4/versioned-docs/2.1.2"},{"version":"2.1.1","url":"/angular-ui-bootstrap4/versioned-docs/2.1.1"},{"version":"2.1.0","url":"/angular-ui-bootstrap4/versioned-docs/2.1.0"},{"version":"2.0.2","url":"/angular-ui-bootstrap4/versioned-docs/2.0.2"},{"version":"2.0.1","url":"/angular-ui-bootstrap4/versioned-docs/2.0.1"},{"version":"2.0.0","url":"/angular-ui-bootstrap4/versioned-docs/2.0.0"},{"version":"1.3.3","url":"/angular-ui-bootstrap4/versioned-docs/1.3.3"},{"version":"1.3.2","url":"/angular-ui-bootstrap4/versioned-docs/1.3.2"},{"version":"1.3.1","url":"/angular-ui-bootstrap4/versioned-docs/1.3.1"},{"version":"1.3.0","url":"/angular-ui-bootstrap4/versioned-docs/1.3.0"},{"version":"1.2.5","url":"/angular-ui-bootstrap4/versioned-docs/1.2.5"},{"version":"1.2.4","url":"/angular-ui-bootstrap4/versioned-docs/1.2.4"},{"version":"1.2.3","url":"/angular-ui-bootstrap4/versioned-docs/1.2.3"},{"version":"1.2.2","url":"/angular-ui-bootstrap4/versioned-docs/1.2.2"},{"version":"1.2.1","url":"/angular-ui-bootstrap4/versioned-docs/1.2.1"},{"version":"1.2.0","url":"/angular-ui-bootstrap4/versioned-docs/1.2.0"},{"version":"1.1.2","url":"/angular-ui-bootstrap4/versioned-docs/1.1.2"},{"version":"1.1.1","url":"/angular-ui-bootstrap4/versioned-docs/1.1.1"},{"version":"1.1.0","url":"/angular-ui-bootstrap4/versioned-docs/1.1.0"},{"version":"1.0.3","url":"/angular-ui-bootstrap4/versioned-docs/1.0.3"},{"version":"1.0.2","url":"/angular-ui-bootstrap4/versioned-docs/1.0.2"},{"version":"1.0.1","url":"/angular-ui-bootstrap4/versioned-docs/1.0.1"},{"version":"1.0.0","url":"/angular-ui-bootstrap4/versioned-docs/1.0.0"},{"version":"0.14.3","url":"/angular-ui-bootstrap4/versioned-docs/0.14.3"},{"version":"0.14.2","url":"/angular-ui-bootstrap4/versioned-docs/0.14.2"},{"version":"0.14.1","url":"/angular-ui-bootstrap4/versioned-docs/0.14.1"},{"version":"0.14.0","url":"/angular-ui-bootstrap4/versioned-docs/0.14.0"},{"version":"0.13.4","url":"/angular-ui-bootstrap4/versioned-docs/0.13.4"},{"version":"0.13.3","url":"/angular-ui-bootstrap4/versioned-docs/0.13.3"},{"version":"0.13.2","url":"/angular-ui-bootstrap4/versioned-docs/0.13.2"},{"version":"0.13.1","url":"/angular-ui-bootstrap4/versioned-docs/0.13.1"},{"version":"0.13.0","url":"/angular-ui-bootstrap4/versioned-docs/0.13.0"},{"version":"0.12.1","url":"/angular-ui-bootstrap4/versioned-docs/0.12.1"},{"version":"0.12.0","url":"/angular-ui-bootstrap4/versioned-docs/0.12.0"}]
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"author": "https://github.com/morgul/ui-bootstrap4/graphs/contributors",
|
||||
"name": "ui-bootstrap4",
|
||||
"version": "3.0.3",
|
||||
"version": "3.0.4",
|
||||
"description": "Native AngularJS (Angular) directives for Bootstrap",
|
||||
"homepage": "http://morgul.github.io/ui-bootstrap4/",
|
||||
"keywords": [
|
||||
|
||||
Reference in New Issue
Block a user