@kigi/components 1.7.3 → 1.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kigi/components",
3
- "version": "1.7.3",
3
+ "version": "1.8.0",
4
4
  "description": "@kigi/components",
5
5
  "main": "src/components/index.ts",
6
6
  "scripts": {
@@ -32,6 +32,13 @@
32
32
  ng-show="$ctrl.count">
33
33
  <span>{{$ctrl.data.length}} / {{$ctrl.count}}</span>
34
34
  </div>
35
+ <div class="row m-b-24 m-t-14" ng-show="$ctrl.pagination.data.length > 0">
36
+ <div class="col-md-12">
37
+ <mbg-pagination active-page="$ctrl.pagination.page" page-size="$ctrl.pagination.pageSize"
38
+ on-change="$ctrl.fetch()" count="$ctrl.pagination.count" page-range-displayed="10">
39
+ </mbg-pagination>
40
+ </div>
41
+ </div>
35
42
  </div>
36
43
  <div class="col-md-6 full-height">
37
44
  <mbg-input-search ng-model="$ctrl.inputValueResult"
@@ -17,6 +17,7 @@ export class MbgSelectMultiListController {
17
17
  private placeholderLeft: string
18
18
  private placeholderRight: string
19
19
  private inputValueResult: string
20
+ private pagination
20
21
 
21
22
  constructor(
22
23
  public $scope,
@@ -167,6 +168,7 @@ const mbgSelectMultiList = {
167
168
  titleRight: '@?',
168
169
  data: '=?',
169
170
  isLoading: '=?',
171
+ pagination: '=?',
170
172
  },
171
173
  template,
172
174
  controller: MbgSelectMultiListController,