@stemy/ngx-utils 13.2.1 → 13.2.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/stemy-ngx-utils.umd.js +65 -50
- package/bundles/stemy-ngx-utils.umd.js.map +1 -1
- package/esm2015/ngx-utils/directives/async-method.base.js +14 -2
- package/esm2015/ngx-utils/directives/async-method.directive.js +2 -9
- package/esm2015/ngx-utils/ngx-utils.module.js +3 -1
- package/esm2015/ngx-utils/pipes/replace.pipe.js +3 -2
- package/esm2015/ngx-utils/services/universal.service.js +2 -2
- package/esm2015/ngx-utils/utils/date.utils.js +8 -7
- package/esm2015/ngx-utils/utils/object.utils.js +3 -3
- package/esm2015/public_api.js +2 -1
- package/esm2015/stemy-ngx-utils.js +1 -2
- package/esm2020/ngx-utils/common-types.mjs +1 -1
- package/esm2020/ngx-utils/pipes/replace.pipe.mjs +3 -2
- package/esm2020/ngx-utils/services/universal.service.mjs +2 -2
- package/esm2020/ngx-utils/utils/date.utils.mjs +5 -4
- package/esm2020/ngx-utils/utils/object.utils.mjs +3 -3
- package/fesm2015/stemy-ngx-utils.js +58 -51
- package/fesm2015/stemy-ngx-utils.js.map +1 -1
- package/fesm2015/stemy-ngx-utils.mjs +8 -7
- package/fesm2015/stemy-ngx-utils.mjs.map +1 -1
- package/fesm2020/stemy-ngx-utils.mjs +8 -7
- package/fesm2020/stemy-ngx-utils.mjs.map +1 -1
- package/ngx-utils/common-types.d.ts +2 -1
- package/ngx-utils/utils/date.utils.d.ts +1 -1
- package/package.json +1 -1
- package/stemy-ngx-utils.metadata.json +1 -1
|
@@ -270,7 +270,8 @@ export declare class IConfiguration {
|
|
|
270
270
|
[key: string]: any;
|
|
271
271
|
}
|
|
272
272
|
export interface IConfigService {
|
|
273
|
-
config: IConfiguration;
|
|
273
|
+
readonly config: IConfiguration;
|
|
274
|
+
readonly injector: Injector;
|
|
274
275
|
readonly load: () => Promise<IConfiguration>;
|
|
275
276
|
prepareUrl(url: string, ending: string): string;
|
|
276
277
|
getConfigValue(key: string): any;
|
|
@@ -3,6 +3,6 @@ export declare class DateUtils {
|
|
|
3
3
|
static isHoliday(date: Date): boolean;
|
|
4
4
|
static isBusinessDay(date: Date): boolean;
|
|
5
5
|
static add(date: Date, amount?: DurationInputArg1, unit?: DurationInputArg2): Date;
|
|
6
|
-
static businessAdd(date: Date, amount: number, unit?: DurationInputArg2): Date;
|
|
6
|
+
static businessAdd(date: Date, amount: number, unit?: DurationInputArg2, freeDays?: Date[]): Date;
|
|
7
7
|
static businessSubtract(date: Date, amount: number, unit?: DurationInputArg2): Date;
|
|
8
8
|
}
|