@firestitch/filter 12.7.0 → 12.7.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/bundles/firestitch-filter.umd.js +9 -7
- package/bundles/firestitch-filter.umd.js.map +1 -1
- package/esm2015/app/models/items/week-item.js +7 -5
- package/esm2015/app/services/items-store.service.js +11 -8
- package/fesm2015/firestitch-filter.js +16 -11
- package/fesm2015/firestitch-filter.js.map +1 -1
- package/package.json +1 -1
|
@@ -2002,9 +2002,11 @@
|
|
|
2002
2002
|
};
|
|
2003
2003
|
WeekItem.prototype._validateModel = function () { };
|
|
2004
2004
|
WeekItem.prototype._setModel = function (value) {
|
|
2005
|
-
|
|
2006
|
-
|
|
2007
|
-
|
|
2005
|
+
if (value) {
|
|
2006
|
+
value.from = parseDate(value.from);
|
|
2007
|
+
value.to = parseDate(value.to);
|
|
2008
|
+
value.period = parseInt(value.period, 10) || null;
|
|
2009
|
+
}
|
|
2008
2010
|
_super.prototype._setModel.call(this, value);
|
|
2009
2011
|
};
|
|
2010
2012
|
WeekItem.prototype._parseConfig = function (item) {
|
|
@@ -2014,7 +2016,7 @@
|
|
|
2014
2016
|
WeekItem.prototype._init = function () { };
|
|
2015
2017
|
WeekItem.prototype._clearValue = function (defaultValue) {
|
|
2016
2018
|
if (defaultValue === void 0) { defaultValue = undefined; }
|
|
2017
|
-
this.model = defaultValue !== null && defaultValue !== void 0 ? defaultValue :
|
|
2019
|
+
this.model = defaultValue !== null && defaultValue !== void 0 ? defaultValue : undefined;
|
|
2018
2020
|
};
|
|
2019
2021
|
return WeekItem;
|
|
2020
2022
|
}(BaseItem));
|
|
@@ -2192,13 +2194,13 @@
|
|
|
2192
2194
|
return (item instanceof MultipleSelectItem) && item.hasPendingValues && item.isolate;
|
|
2193
2195
|
});
|
|
2194
2196
|
if (defaultValuesToBeLoaded.length > 0 || valuesToBeLoaded.length > 0) {
|
|
2195
|
-
rxjs.forkJoin(defaultValuesToBeLoaded
|
|
2196
|
-
.map(function (item) { return item.loadDefaultValue(); }), valuesToBeLoaded
|
|
2197
|
+
rxjs.forkJoin(__spreadArray(__spreadArray([], __read(defaultValuesToBeLoaded
|
|
2198
|
+
.map(function (item) { return item.loadDefaultValue(); }))), __read(valuesToBeLoaded
|
|
2197
2199
|
.map(function (item) {
|
|
2198
2200
|
item.loadAsyncValues();
|
|
2199
2201
|
return item.loading$
|
|
2200
2202
|
.pipe();
|
|
2201
|
-
}))
|
|
2203
|
+
}))))
|
|
2202
2204
|
.pipe(operators.finalize(function () {
|
|
2203
2205
|
_this._ready$.next(true);
|
|
2204
2206
|
}), operators.takeUntil(this._destroy$))
|