ps-toolkit-ui 0.1.75 → 0.1.76
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/bundles/ps-toolkit-ui.umd.js +21 -12
- package/bundles/ps-toolkit-ui.umd.js.map +1 -1
- package/bundles/ps-toolkit-ui.umd.min.js +1 -1
- package/bundles/ps-toolkit-ui.umd.min.js.map +1 -1
- package/esm2015/lib/components/form/bank-card/form.bank-card.component.js +22 -13
- package/fesm2015/ps-toolkit-ui.js +21 -12
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
|
@@ -3194,32 +3194,32 @@
|
|
|
3194
3194
|
this.cValue = '';
|
|
3195
3195
|
this.banks = [
|
|
3196
3196
|
{ name: 'edbi', startWith: ['2071', '6276'] },
|
|
3197
|
-
{ name: 'bpi', startWith: ['5022', '
|
|
3197
|
+
{ name: 'bpi', startWith: ['5022', '639347'] },
|
|
3198
3198
|
{ name: 'shahr-bank', startWith: ['5028'] },
|
|
3199
|
-
{ name: 'ttbank', startWith: ['
|
|
3200
|
-
{ name: 'karafarinbank', startWith: ['
|
|
3201
|
-
{ name: 'bank-day', startWith: ['
|
|
3199
|
+
{ name: 'ttbank', startWith: ['502908'] },
|
|
3200
|
+
{ name: 'karafarinbank', startWith: ['502910', '627488'] },
|
|
3201
|
+
{ name: 'bank-day', startWith: ['502938'] },
|
|
3202
3202
|
{ name: 'tourismbank', startWith: ['5054'] },
|
|
3203
3203
|
{ name: 'izbank', startWith: ['5057'] },
|
|
3204
3204
|
{ name: 'ebanksepah', startWith: ['5892'] },
|
|
3205
3205
|
{ name: 'refah-bank', startWith: ['5894'] },
|
|
3206
|
-
{ name: 'bsi', startWith: ['
|
|
3207
|
-
{ name: 'bki', startWith: ['
|
|
3208
|
-
{ name: 'bmi', startWith: ['
|
|
3209
|
-
{ name: 'qmb', startWith: ['6063', '
|
|
3206
|
+
{ name: 'bsi', startWith: ['603769'] },
|
|
3207
|
+
{ name: 'bki', startWith: ['603770', '6392'] },
|
|
3208
|
+
{ name: 'bmi', startWith: ['603799'] },
|
|
3209
|
+
{ name: 'qmb', startWith: ['6063', '639370'] },
|
|
3210
3210
|
{ name: 'bankmellat', startWith: ['6104', '9919'] },
|
|
3211
3211
|
{ name: 'sb24', startWith: ['6219'] },
|
|
3212
3212
|
{ name: 'parsian-bank', startWith: ['6221', '6278', '6391'] },
|
|
3213
|
-
{ name: 'tejaratbank', startWith: ['
|
|
3214
|
-
{ name: 'ansarbank', startWith: ['
|
|
3215
|
-
{ name: 'enbank', startWith: ['
|
|
3213
|
+
{ name: 'tejaratbank', startWith: ['627353'] },
|
|
3214
|
+
{ name: 'ansarbank', startWith: ['627381'] },
|
|
3215
|
+
{ name: 'enbank', startWith: ['627412'] },
|
|
3216
3216
|
{ name: 'postbank', startWith: ['6277'] },
|
|
3217
3217
|
{ name: 'bim', startWith: ['6279'] },
|
|
3218
3218
|
{ name: 'bank-maskan', startWith: ['6280'] },
|
|
3219
3219
|
{ name: 'cid', startWith: ['6281'] },
|
|
3220
3220
|
{ name: 'ba24', startWith: ['6362'] },
|
|
3221
3221
|
{ name: 'cbi', startWith: ['6367'] },
|
|
3222
|
-
{ name: 'sinabank', startWith: ['
|
|
3222
|
+
{ name: 'sinabank', startWith: ['639346'] },
|
|
3223
3223
|
{ name: 'sbank', startWith: ['6396'] },
|
|
3224
3224
|
];
|
|
3225
3225
|
}
|
|
@@ -3254,6 +3254,15 @@
|
|
|
3254
3254
|
};
|
|
3255
3255
|
this.part2.onChange = function (v) {
|
|
3256
3256
|
_this.inp.error = null;
|
|
3257
|
+
if (v.length === 2) {
|
|
3258
|
+
var b = _this.banks.filter(function (x) { return x.startWith.includes(_this.part1.data().toString() + _this.part2.data().toString()); });
|
|
3259
|
+
if (b.length > 0) {
|
|
3260
|
+
$__namespace(_this.inputIcon.nativeElement).removeClass('fa-money-check').addClass(b[0].name);
|
|
3261
|
+
}
|
|
3262
|
+
else {
|
|
3263
|
+
$__namespace(_this.inputIcon.nativeElement).addClass('fa-money-check').removeClass(bankNames);
|
|
3264
|
+
}
|
|
3265
|
+
}
|
|
3257
3266
|
if (v.length === 4) {
|
|
3258
3267
|
_this.part3.focus();
|
|
3259
3268
|
}
|