@kigi/components 1.19.3-beta.9 → 1.20.0-release

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.19.3-beta.9",
3
+ "version": "1.20.0-release",
4
4
  "description": "@kigi/components",
5
5
  "main": "src/components/index.ts",
6
6
  "scripts": {
@@ -97,4 +97,4 @@
97
97
  "webpack": "^2.5.1",
98
98
  "webpack-dev-server": "^2.6.1"
99
99
  }
100
- }
100
+ }
@@ -56,7 +56,7 @@ class MbgSelectController {
56
56
  public $timeout,
57
57
  public $compile,
58
58
  public $transclude,
59
- ) { }
59
+ ) {}
60
60
 
61
61
  $onInit() {
62
62
  this.fixedValue = this.ngValue || 'id'
@@ -323,6 +323,10 @@ class MbgSelectController {
323
323
  }
324
324
 
325
325
  onInputKeydown(evt) {
326
+ if (this.ngDisabled) {
327
+ return
328
+ }
329
+
326
330
  this.hasFocus = true
327
331
  this.pressEnter = false
328
332
  this.ngModel = null
@@ -45,7 +45,7 @@
45
45
  <div class="col-md-12">
46
46
  <mbg-pagination active-page="$ctrl.pagination.page"
47
47
  page-size="$ctrl.pagination.pageSize"
48
- on-change="$ctrl.fetch()"
48
+ on-change="$ctrl.onChangePage()"
49
49
  count="$ctrl.pagination.count"
50
50
  page-range-displayed="10">
51
51
  </mbg-pagination>
@@ -211,6 +211,7 @@ const mbgSelectMultiList = {
211
211
  isLoading: '=?',
212
212
  pagination: '=?',
213
213
  selectOptions: '=?',
214
+ onChangePage: '&?'
214
215
  },
215
216
  template,
216
217
  controller: MbgSelectMultiListController,