wacom 19.5.0 → 19.5.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/fesm2022/wacom.mjs
CHANGED
|
@@ -1242,6 +1242,21 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImpor
|
|
|
1242
1242
|
}]
|
|
1243
1243
|
}] });
|
|
1244
1244
|
|
|
1245
|
+
class NumberPipe {
|
|
1246
|
+
transform(value) {
|
|
1247
|
+
const result = Number(value); // Convert value to a number
|
|
1248
|
+
return isNaN(result) ? 0 : result; // Return 0 if conversion fails
|
|
1249
|
+
}
|
|
1250
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: NumberPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
1251
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.2", ngImport: i0, type: NumberPipe, isStandalone: true, name: "number" });
|
|
1252
|
+
}
|
|
1253
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: NumberPipe, decorators: [{
|
|
1254
|
+
type: Pipe,
|
|
1255
|
+
args: [{
|
|
1256
|
+
name: 'number',
|
|
1257
|
+
}]
|
|
1258
|
+
}] });
|
|
1259
|
+
|
|
1245
1260
|
class BaseService {
|
|
1246
1261
|
now = new Date().getTime();
|
|
1247
1262
|
refreshNow() {
|
|
@@ -2175,10 +2190,12 @@ class CrudService extends BaseService {
|
|
|
2175
2190
|
__store = inject(StoreService);
|
|
2176
2191
|
__alert = inject(AlertService);
|
|
2177
2192
|
__core = inject(CoreService);
|
|
2193
|
+
loaded;
|
|
2178
2194
|
constructor(_config) {
|
|
2179
2195
|
super();
|
|
2180
2196
|
this._config = _config;
|
|
2181
2197
|
this._url += this._config.name;
|
|
2198
|
+
this.loaded = this.__core.onComplete(this._config.name + '_loaded');
|
|
2182
2199
|
if (this._config.unauthorized) {
|
|
2183
2200
|
this.restoreDocs();
|
|
2184
2201
|
}
|
|
@@ -4832,5 +4849,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImpor
|
|
|
4832
4849
|
* Generated bundle index. Do not edit.
|
|
4833
4850
|
*/
|
|
4834
4851
|
|
|
4835
|
-
export { AlertComponent, AlertService, ArrPipe, BaseComponent, BaseService, CONFIG_TOKEN, ClickOutsideDirective, CoreService, CrudComponent, CrudService, DEFAULT_Alert, DEFAULT_CONFIG, DomService, FileService, HashService, HttpService, LoaderComponent, LoaderService, MetaGuard, MetaService, ModalComponent, ModalService, MongoService, MongodatePipe, PaginationPipe, RenderService, SafePipe, SearchPipe, SocketService, SplicePipe, SplitPipe, StoreService, TimeService, UiService, WacomModule };
|
|
4852
|
+
export { AlertComponent, AlertService, ArrPipe, BaseComponent, BaseService, CONFIG_TOKEN, ClickOutsideDirective, CoreService, CrudComponent, CrudService, DEFAULT_Alert, DEFAULT_CONFIG, DomService, FileService, HashService, HttpService, LoaderComponent, LoaderService, MetaGuard, MetaService, ModalComponent, ModalService, MongoService, MongodatePipe, NumberPipe, PaginationPipe, RenderService, SafePipe, SearchPipe, SocketService, SplicePipe, SplitPipe, StoreService, TimeService, UiService, WacomModule };
|
|
4836
4853
|
//# sourceMappingURL=wacom.mjs.map
|