@stemy/ngx-utils 19.0.4 → 19.0.5
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/stemy-ngx-utils.mjs +10 -10
- package/fesm2022/stemy-ngx-utils.mjs.map +1 -1
- package/ngx-utils/ngx-utils.imports.d.ts +4 -4
- package/ngx-utils/services/{dialog.service.d.ts → base-dialog.service.d.ts} +3 -3
- package/ngx-utils/services/{toaster.service.d.ts → base-toaster.service.d.ts} +2 -2
- package/package.json +1 -1
- package/public_api.d.ts +2 -2
|
@@ -3053,7 +3053,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImpor
|
|
|
3053
3053
|
args: [SCRIPT_PARAMS]
|
|
3054
3054
|
}] }] });
|
|
3055
3055
|
|
|
3056
|
-
class
|
|
3056
|
+
class BaseDialogService {
|
|
3057
3057
|
constructor(toaster) {
|
|
3058
3058
|
this.toaster = toaster;
|
|
3059
3059
|
}
|
|
@@ -3090,10 +3090,10 @@ class DialogService {
|
|
|
3090
3090
|
templates: config.templates
|
|
3091
3091
|
});
|
|
3092
3092
|
}
|
|
3093
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type:
|
|
3094
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type:
|
|
3093
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: BaseDialogService, deps: [{ token: TOASTER_SERVICE }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3094
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: BaseDialogService }); }
|
|
3095
3095
|
}
|
|
3096
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type:
|
|
3096
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: BaseDialogService, decorators: [{
|
|
3097
3097
|
type: Injectable
|
|
3098
3098
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
3099
3099
|
type: Inject,
|
|
@@ -3595,9 +3595,6 @@ class BaseToasterService {
|
|
|
3595
3595
|
error: "#BD362F"
|
|
3596
3596
|
};
|
|
3597
3597
|
}
|
|
3598
|
-
error(message, params) {
|
|
3599
|
-
this.translateMessage(message, params, "error");
|
|
3600
|
-
}
|
|
3601
3598
|
info(message, params) {
|
|
3602
3599
|
this.translateMessage(message, params, "info");
|
|
3603
3600
|
}
|
|
@@ -3607,6 +3604,9 @@ class BaseToasterService {
|
|
|
3607
3604
|
warning(message, params) {
|
|
3608
3605
|
this.translateMessage(message, params, "warning");
|
|
3609
3606
|
}
|
|
3607
|
+
error(message, params) {
|
|
3608
|
+
this.translateMessage(message, params, "error");
|
|
3609
|
+
}
|
|
3610
3610
|
handleAsyncMethod(method) {
|
|
3611
3611
|
if (!method)
|
|
3612
3612
|
return;
|
|
@@ -5632,7 +5632,7 @@ const providers = [
|
|
|
5632
5632
|
ApiService,
|
|
5633
5633
|
StaticAuthService,
|
|
5634
5634
|
ConfigService,
|
|
5635
|
-
|
|
5635
|
+
BaseDialogService,
|
|
5636
5636
|
ErrorHandlerService,
|
|
5637
5637
|
EventsService,
|
|
5638
5638
|
FormatterService,
|
|
@@ -5905,7 +5905,7 @@ class NgxUtilsModule {
|
|
|
5905
5905
|
},
|
|
5906
5906
|
{
|
|
5907
5907
|
provide: DIALOG_SERVICE,
|
|
5908
|
-
useExisting: (!config ? null : config.dialogService) ||
|
|
5908
|
+
useExisting: (!config ? null : config.dialogService) || BaseDialogService
|
|
5909
5909
|
},
|
|
5910
5910
|
{
|
|
5911
5911
|
provide: WASI_IMPLEMENTATION,
|
|
@@ -5984,5 +5984,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImpor
|
|
|
5984
5984
|
* Generated bundle index. Do not edit.
|
|
5985
5985
|
*/
|
|
5986
5986
|
|
|
5987
|
-
export { API_SERVICE, APP_BASE_URL, AUTH_SERVICE, AclService, AjaxRequestHandler, ApiService, ArrayUtils, AsyncMethodBase, AsyncMethodDirective, AuthGuard, BASE_CONFIG, BackgroundDirective, BaseHttpClient, BaseHttpService, BaseToasterService, CONFIG_SERVICE, CanvasColor, CanvasUtils, ChunkPipe, Circle, ConfigService, DIALOG_SERVICE, DateUtils,
|
|
5987
|
+
export { API_SERVICE, APP_BASE_URL, AUTH_SERVICE, AclService, AjaxRequestHandler, ApiService, ArrayUtils, AsyncMethodBase, AsyncMethodDirective, AuthGuard, BASE_CONFIG, BackgroundDirective, BaseDialogService, BaseHttpClient, BaseHttpService, BaseToasterService, CONFIG_SERVICE, CanvasColor, CanvasUtils, ChunkPipe, Circle, ConfigService, DIALOG_SERVICE, DateUtils, DynamicTableComponent, DynamicTableTemplateDirective, ERROR_HANDLER, EXPRESS_REQUEST, EntriesPipe, ErrorHandlerService, EventsService, ExtraItemPropertiesPipe, FactoryDependencies, FileSystemEntry, FileUtils, FilterPipe, FindPipe, FormatNumberPipe, FormatterService, GenericValue, GetOffsetPipe, GetTypePipe, GetValuePipe, GlobalTemplateDirective, GlobalTemplatePipe, GlobalTemplateService, GroupByPipe, HttpPromise, ICON_SERVICE, IConfiguration, IconDirective, IconService, Initializer, IsTypePipe, JSONfn, JoinPipe, KeysPipe, LANGUAGE_SERVICE, LanguageService, LoaderUtils, LocalHttpService, MapPipe, MathUtils, MaxPipe, MinPipe, NgxTemplateOutletDirective, NgxUtilsModule, OPTIONS_TOKEN, ObjectType, ObjectUtils, ObservableUtils, OpenApiService, PROMISE_SERVICE, PaginationDirective, PaginationItemContext, PaginationItemDirective, PaginationMenuComponent, Point, PopPipe, PromiseService, RESIZE_DELAY, RESIZE_STRATEGY, ROOT_ELEMENT, Rect, ReducePipe, ReflectUtils, RemapPipe, ReplacePipe, ResizeEventPlugin, ResourceIfContext, ResourceIfDirective, ReversePipe, RoundPipe, SCRIPT_PARAMS, SafeHtmlPipe, ScrollEventPlugin, SetUtils, ShiftPipe, SplitPipe, StateService, StaticAuthService, StaticLanguageService, StickyClassDirective, StickyDirective, StorageMode, StorageService, StringUtils, TOASTER_SERVICE, TimerUtils, TranslatePipe, TranslatedUrlSerializer, UniqueUtils, UniversalService, UnorderedListComponent, UnorderedListItemDirective, UnorderedListTemplateDirective, ValuedPromise, ValuesPipe, Vector, WASI_IMPLEMENTATION, WasmService, cachedFactory, cancelablePromise, impatientPromise, provideWithOptions };
|
|
5988
5988
|
//# sourceMappingURL=stemy-ngx-utils.mjs.map
|