@kigi/components 1.16.0 → 1.17.0-beta.2

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.16.0",
3
+ "version": "1.17.0-beta.2",
4
4
  "description": "@kigi/components",
5
5
  "main": "src/components/index.ts",
6
6
  "scripts": {
@@ -79,7 +79,7 @@ class MbgMultiSelectController {
79
79
  this.verifyScroll()
80
80
  this.$timeout(() => delete this.searchModel)
81
81
  if (this.ngChange) {
82
- this.ngChange()
82
+ this.ngChange({ value: item })
83
83
  }
84
84
  }
85
85
  })
@@ -172,12 +172,12 @@ export class NgMaskIe {
172
172
  let sum = results.reduce((acc, value) => acc + value, 0)
173
173
  let mod = sum % 11
174
174
 
175
- if ((mod == 0 || mod == 1) && dig !== 0) {
176
- return false
177
- } else if (dig !== 11 - mod) {
178
- return false
175
+ if ((mod == 0 || mod == 1) && dig === 0) {
176
+ return true
177
+ } else if (mod > 1 && dig === 11 - mod) {
178
+ return true
179
179
  }
180
- return true
180
+ return false
181
181
  }
182
182
  }
183
183