@wizishop/angular-components 0.0.50 → 0.0.51
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/angular-components.scss +4093 -4092
- package/bundles/wizishop-angular-components.umd.js +6 -12
- package/bundles/wizishop-angular-components.umd.js.map +1 -1
- package/bundles/wizishop-angular-components.umd.min.js +1 -1
- package/bundles/wizishop-angular-components.umd.min.js.map +1 -1
- package/esm2015/lib/components/filters/filters.component.js +3 -3
- package/fesm2015/wizishop-angular-components.js +2 -2
- package/fesm2015/wizishop-angular-components.js.map +1 -1
- package/lib/components/filters/filters.component.d.ts +1 -1
- package/package.json +1 -1
- package/wizishop-angular-components-0.0.51.tgz +0 -0
- package/wizishop-angular-components-0.0.50.tgz +0 -0
|
@@ -230,16 +230,10 @@
|
|
|
230
230
|
r[k] = a[j];
|
|
231
231
|
return r;
|
|
232
232
|
}
|
|
233
|
-
function __spreadArray(to, from
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
if (!ar)
|
|
238
|
-
ar = Array.prototype.slice.call(from, 0, i);
|
|
239
|
-
ar[i] = from[i];
|
|
240
|
-
}
|
|
241
|
-
}
|
|
242
|
-
return to.concat(ar || Array.prototype.slice.call(from));
|
|
233
|
+
function __spreadArray(to, from) {
|
|
234
|
+
for (var i = 0, il = from.length, j = to.length; i < il; i++, j++)
|
|
235
|
+
to[j] = from[i];
|
|
236
|
+
return to;
|
|
243
237
|
}
|
|
244
238
|
function __await(v) {
|
|
245
239
|
return this instanceof __await ? (this.v = v, this) : new __await(v);
|
|
@@ -3362,14 +3356,14 @@
|
|
|
3362
3356
|
FiltersComponent.prototype.activeFilter = function (index) {
|
|
3363
3357
|
this.options[index].active = true;
|
|
3364
3358
|
this.filterActiveIndex = '' + index;
|
|
3365
|
-
this.filterChange.emit(
|
|
3359
|
+
this.filterChange.emit(index);
|
|
3366
3360
|
};
|
|
3367
3361
|
FiltersComponent.prototype.resetFilter = function () {
|
|
3368
3362
|
this.options.forEach(function (item) {
|
|
3369
3363
|
item.active = false;
|
|
3370
3364
|
});
|
|
3371
3365
|
this.filterActiveIndex = null;
|
|
3372
|
-
this.filterChange.emit(
|
|
3366
|
+
this.filterChange.emit(-1);
|
|
3373
3367
|
};
|
|
3374
3368
|
return FiltersComponent;
|
|
3375
3369
|
}());
|