@acorex/core 16.0.2 → 17.0.1
Sign up to get free protection for your applications and to get access to all the features.
- package/common/README.md +3 -0
- package/common/countries/countries.data.d.ts +2 -0
- package/common/countries/country.d.ts +13 -0
- package/common/index.d.ts +2 -0
- package/config/README.md +3 -0
- package/config/index.d.ts +2 -0
- package/config/lib/configs.d.ts +6 -0
- package/config/lib/configs.service.d.ts +12 -0
- package/date-time/README.md +3 -0
- package/date-time/index.d.ts +10 -0
- package/date-time/lib/calendar.service.d.ts +27 -0
- package/date-time/lib/dateTime.config.d.ts +12 -0
- package/date-time/lib/datetime.class.d.ts +138 -0
- package/date-time/lib/datetime.module.d.ts +8 -0
- package/date-time/lib/datetime.pipe.d.ts +12 -0
- package/date-time/lib/formatters/datetime-formatter.d.ts +19 -0
- package/date-time/lib/formatters/timeleft-formatter.d.ts +16 -0
- package/date-time/lib/georgian.calendar.d.ts +21 -0
- package/date-time/lib/holidays.loader.d.ts +21 -0
- package/date-time/lib/jalali.calendar.d.ts +40 -0
- package/esm2022/common/acorex-core-common.mjs +5 -0
- package/esm2022/common/countries/countries.data.mjs +2625 -0
- package/esm2022/common/countries/country.mjs +2 -0
- package/esm2022/common/index.mjs +3 -0
- package/esm2022/config/acorex-core-config.mjs +5 -0
- package/esm2022/config/index.mjs +3 -0
- package/esm2022/config/lib/configs.mjs +7 -0
- package/esm2022/config/lib/configs.service.mjs +27 -0
- package/esm2022/date-time/acorex-core-date-time.mjs +5 -0
- package/esm2022/date-time/index.mjs +11 -0
- package/esm2022/date-time/lib/calendar.service.mjs +100 -0
- package/esm2022/date-time/lib/dateTime.config.mjs +50 -0
- package/esm2022/date-time/lib/datetime.class.mjs +337 -0
- package/esm2022/date-time/lib/datetime.module.mjs +27 -0
- package/esm2022/date-time/lib/datetime.pipe.mjs +29 -0
- package/esm2022/date-time/lib/formatters/datetime-formatter.mjs +32 -0
- package/esm2022/date-time/lib/formatters/timeleft-formatter.mjs +91 -0
- package/esm2022/date-time/lib/georgian.calendar.mjs +203 -0
- package/esm2022/date-time/lib/holidays.loader.mjs +13 -0
- package/esm2022/date-time/lib/jalali.calendar.mjs +440 -0
- package/esm2022/events/acorex-core-events.mjs +5 -0
- package/esm2022/events/index.mjs +3 -0
- package/esm2022/events/lib/event.service.mjs +43 -0
- package/esm2022/events/lib/event.type.mjs +6 -0
- package/esm2022/file/acorex-core-file.mjs +5 -0
- package/esm2022/file/index.mjs +7 -0
- package/esm2022/file/lib/file-download-ref.class.mjs +12 -0
- package/esm2022/file/lib/file-download-result.class.mjs +45 -0
- package/esm2022/file/lib/file-size-formatter.mjs +24 -0
- package/esm2022/file/lib/file-upload-ref.class.mjs +12 -0
- package/esm2022/file/lib/file.module.mjs +20 -0
- package/esm2022/file/lib/file.service.mjs +103 -0
- package/esm2022/format/acorex-core-format.mjs +5 -0
- package/esm2022/format/index.mjs +8 -0
- package/esm2022/format/lib/format.config.mjs +3 -0
- package/esm2022/format/lib/format.module.mjs +64 -0
- package/esm2022/format/lib/format.pipe.mjs +37 -0
- package/esm2022/format/lib/format.service.mjs +95 -0
- package/esm2022/format/lib/format.types.mjs +2 -0
- package/esm2022/format/lib/formatters/number-formatter.mjs +74 -0
- package/esm2022/format/lib/formatters/string-formatter.mjs +15 -0
- package/esm2022/image/acorex-core-image.mjs +5 -0
- package/esm2022/image/index.mjs +2 -0
- package/esm2022/image/lib/image.service.mjs +43 -0
- package/esm2022/index.mjs +2 -44
- package/esm2022/memorize/acorex-core-memorize.mjs +5 -0
- package/esm2022/memorize/index.mjs +2 -0
- package/esm2022/memorize/lib/memorize.decorator.mjs +19 -0
- package/esm2022/pipes/acorex-core-pipes.mjs +5 -0
- package/esm2022/pipes/index.mjs +2 -0
- package/esm2022/pipes/lib/safe/safe.pipe.mjs +38 -0
- package/esm2022/platform/acorex-core-platform.mjs +5 -0
- package/esm2022/platform/index.mjs +2 -0
- package/esm2022/platform/lib/platform.service.mjs +225 -0
- package/esm2022/storage/acorex-core-storage.mjs +5 -0
- package/esm2022/storage/cookie-storage.service.mjs +202 -0
- package/esm2022/storage/index.mjs +5 -0
- package/esm2022/storage/local-storage.service.mjs +58 -0
- package/esm2022/storage/session-storage.service.mjs +22 -0
- package/esm2022/storage/storage.interface.mjs +2 -0
- package/esm2022/translation/acorex-core-translation.mjs +5 -0
- package/esm2022/translation/index.mjs +9 -0
- package/esm2022/translation/lib/translation-scope.resolver.mjs +11 -0
- package/esm2022/translation/lib/translation.config.mjs +20 -0
- package/esm2022/translation/lib/translation.loader.mjs +14 -0
- package/esm2022/translation/lib/translation.module.mjs +40 -0
- package/esm2022/translation/lib/translation.service.mjs +173 -0
- package/esm2022/translation/lib/translation.types.mjs +2 -0
- package/esm2022/translation/lib/translator.directive.mjs +28 -0
- package/esm2022/translation/lib/translator.pipe.mjs +23 -0
- package/esm2022/types/acorex-core-types.mjs +5 -0
- package/esm2022/types/index.mjs +2 -0
- package/esm2022/utils/acorex-core-utils.mjs +5 -0
- package/esm2022/utils/index.mjs +6 -0
- package/esm2022/utils/lib/auto-unsubscribe.mjs +36 -0
- package/esm2022/utils/lib/color-util.mjs +111 -0
- package/esm2022/utils/lib/drawing-util.mjs +35 -0
- package/esm2022/utils/lib/html-util.mjs +39 -0
- package/esm2022/utils/lib/string-util.mjs +19 -0
- package/esm2022/validation/acorex-core-validation.mjs +5 -0
- package/esm2022/validation/index.mjs +18 -0
- package/esm2022/validation/lib/rules/between-rule.mjs +31 -0
- package/esm2022/validation/lib/rules/callback-rule.mjs +29 -0
- package/esm2022/validation/lib/rules/equal-rule.mjs +26 -0
- package/esm2022/validation/lib/rules/greater-than.mjs +29 -0
- package/esm2022/validation/lib/rules/length-rule.mjs +26 -0
- package/esm2022/validation/lib/rules/less-than-rule.mjs +29 -0
- package/esm2022/validation/lib/rules/maxlength-rule.mjs +27 -0
- package/esm2022/validation/lib/rules/minlength-rule.mjs +26 -0
- package/esm2022/validation/lib/rules/regex-rule.mjs +49 -0
- package/esm2022/validation/lib/rules/required-rule.mjs +36 -0
- package/esm2022/validation/lib/validation.config.mjs +33 -0
- package/esm2022/validation/lib/validation.module.mjs +84 -0
- package/esm2022/validation/lib/validation.service.mjs +98 -0
- package/esm2022/validation/lib/validation.types.mjs +3 -0
- package/events/README.md +3 -0
- package/events/index.d.ts +2 -0
- package/{lib/services → events/lib}/event.service.d.ts +8 -0
- package/events/lib/event.type.d.ts +5 -0
- package/fesm2022/acorex-core-common.mjs +2631 -0
- package/fesm2022/acorex-core-common.mjs.map +1 -0
- package/fesm2022/acorex-core-config.mjs +39 -0
- package/fesm2022/acorex-core-config.mjs.map +1 -0
- package/fesm2022/acorex-core-date-time.mjs +1305 -0
- package/fesm2022/acorex-core-date-time.mjs.map +1 -0
- package/fesm2022/acorex-core-events.mjs +56 -0
- package/fesm2022/acorex-core-events.mjs.map +1 -0
- package/fesm2022/acorex-core-file.mjs +214 -0
- package/fesm2022/acorex-core-file.mjs.map +1 -0
- package/fesm2022/acorex-core-format.mjs +282 -0
- package/fesm2022/acorex-core-format.mjs.map +1 -0
- package/fesm2022/acorex-core-image.mjs +50 -0
- package/fesm2022/acorex-core-image.mjs.map +1 -0
- package/fesm2022/acorex-core-memorize.mjs +26 -0
- package/fesm2022/acorex-core-memorize.mjs.map +1 -0
- package/fesm2022/acorex-core-pipes.mjs +44 -0
- package/fesm2022/acorex-core-pipes.mjs.map +1 -0
- package/fesm2022/acorex-core-platform.mjs +232 -0
- package/fesm2022/acorex-core-platform.mjs.map +1 -0
- package/fesm2022/acorex-core-storage.mjs +285 -0
- package/fesm2022/acorex-core-storage.mjs.map +1 -0
- package/fesm2022/acorex-core-translation.mjs +293 -0
- package/fesm2022/acorex-core-translation.mjs.map +1 -0
- package/fesm2022/acorex-core-types.mjs +6 -0
- package/fesm2022/acorex-core-types.mjs.map +1 -0
- package/fesm2022/acorex-core-utils.mjs +247 -0
- package/fesm2022/acorex-core-utils.mjs.map +1 -0
- package/fesm2022/acorex-core-validation.mjs +488 -0
- package/fesm2022/acorex-core-validation.mjs.map +1 -0
- package/fesm2022/acorex-core.mjs +2 -2309
- package/fesm2022/acorex-core.mjs.map +1 -1
- package/file/README.md +3 -0
- package/file/index.d.ts +6 -0
- package/file/lib/file-download-ref.class.d.ts +6 -0
- package/file/lib/file-download-result.class.d.ts +8 -0
- package/file/lib/file-size-formatter.d.ts +16 -0
- package/file/lib/file-upload-ref.class.d.ts +5 -0
- package/file/lib/file.module.d.ts +7 -0
- package/file/lib/file.service.d.ts +18 -0
- package/format/README.md +3 -0
- package/format/index.d.ts +7 -0
- package/format/lib/format.config.d.ts +5 -0
- package/format/lib/format.module.d.ts +18 -0
- package/format/lib/format.pipe.d.ts +12 -0
- package/format/lib/format.service.d.ts +43 -0
- package/format/lib/format.types.d.ts +4 -0
- package/format/lib/formatters/number-formatter.d.ts +23 -0
- package/format/lib/formatters/string-formatter.d.ts +14 -0
- package/image/README.md +3 -0
- package/image/index.d.ts +1 -0
- package/image/lib/image.service.d.ts +11 -0
- package/index.d.ts +1 -43
- package/memorize/README.md +3 -0
- package/memorize/index.d.ts +1 -0
- package/memorize/lib/memorize.decorator.d.ts +1 -0
- package/package.json +98 -5
- package/pipes/README.md +3 -0
- package/pipes/index.d.ts +1 -0
- package/pipes/lib/safe/safe.pipe.d.ts +10 -0
- package/platform/README.md +3 -0
- package/platform/index.d.ts +1 -0
- package/{lib/platform → platform/lib}/platform.service.d.ts +14 -6
- package/storage/README.md +3 -0
- package/storage/cookie-storage.service.d.ts +104 -0
- package/storage/index.d.ts +4 -0
- package/storage/local-storage.service.d.ts +16 -0
- package/storage/session-storage.service.d.ts +10 -0
- package/storage/storage.interface.d.ts +14 -0
- package/translation/README.md +3 -0
- package/translation/index.d.ts +8 -0
- package/translation/lib/translation-scope.resolver.d.ts +2 -0
- package/translation/lib/translation.config.d.ts +14 -0
- package/translation/lib/translation.loader.d.ts +14 -0
- package/translation/lib/translation.module.d.ts +8 -0
- package/translation/lib/translation.service.d.ts +31 -0
- package/translation/lib/translation.types.d.ts +10 -0
- package/translation/lib/translator.directive.d.ts +12 -0
- package/translation/lib/translator.pipe.d.ts +12 -0
- package/types/README.md +3 -0
- package/types/index.d.ts +2 -0
- package/utils/README.md +3 -0
- package/utils/index.d.ts +5 -0
- package/utils/lib/auto-unsubscribe.d.ts +12 -0
- package/utils/lib/color-util.d.ts +24 -0
- package/utils/lib/drawing-util.d.ts +18 -0
- package/utils/lib/html-util.d.ts +5 -0
- package/utils/lib/string-util.d.ts +6 -0
- package/validation/README.md +3 -0
- package/validation/index.d.ts +14 -0
- package/validation/lib/rules/between-rule.d.ts +18 -0
- package/validation/lib/rules/callback-rule.d.ts +23 -0
- package/validation/lib/rules/equal-rule.d.ts +17 -0
- package/validation/lib/rules/greater-than.d.ts +17 -0
- package/validation/lib/rules/length-rule.d.ts +17 -0
- package/validation/lib/rules/less-than-rule.d.ts +17 -0
- package/validation/lib/rules/maxlength-rule.d.ts +16 -0
- package/validation/lib/rules/minlength-rule.d.ts +16 -0
- package/validation/lib/rules/regex-rule.d.ts +17 -0
- package/validation/lib/rules/required-rule.d.ts +16 -0
- package/validation/lib/validation.config.d.ts +15 -0
- package/validation/lib/validation.module.d.ts +17 -0
- package/validation/lib/validation.service.d.ts +35 -0
- package/validation/lib/validation.types.d.ts +21 -0
- package/esm2022/lib/classes/base-page.class.mjs +0 -26
- package/esm2022/lib/classes/color.class.mjs +0 -49
- package/esm2022/lib/classes/datetime.class.mjs +0 -323
- package/esm2022/lib/classes/menu.class.mjs +0 -35
- package/esm2022/lib/classes/navigator.class.mjs +0 -2
- package/esm2022/lib/classes/popup.class.mjs +0 -2
- package/esm2022/lib/classes/promise.class.mjs +0 -21
- package/esm2022/lib/classes/sectionlist.class.mjs +0 -2
- package/esm2022/lib/classes/select.class.mjs +0 -8
- package/esm2022/lib/core.module.mjs +0 -27
- package/esm2022/lib/error/error.class.mjs +0 -2
- package/esm2022/lib/error/error.module.mjs +0 -19
- package/esm2022/lib/error/error.service.mjs +0 -22
- package/esm2022/lib/events/keyboard.mjs +0 -2
- package/esm2022/lib/http/http-error.class.mjs +0 -2
- package/esm2022/lib/http/http-events.interceptor.mjs +0 -3
- package/esm2022/lib/http/http-request.class.mjs +0 -2
- package/esm2022/lib/http/http-result.class.mjs +0 -25
- package/esm2022/lib/http/http.module.mjs +0 -35
- package/esm2022/lib/http/http.service.mjs +0 -148
- package/esm2022/lib/locale/en.json +0 -255
- package/esm2022/lib/locale/fa.json +0 -245
- package/esm2022/lib/pipe/datetime.pipe.mjs +0 -25
- package/esm2022/lib/pipe/htmlToText.pipe.mjs +0 -25
- package/esm2022/lib/platform/index.mjs +0 -2
- package/esm2022/lib/platform/platform.service.mjs +0 -152
- package/esm2022/lib/services/config.mjs +0 -29
- package/esm2022/lib/services/event.service.mjs +0 -34
- package/esm2022/lib/services/navigator.service.mjs +0 -10
- package/esm2022/lib/services/storage.service.mjs +0 -16
- package/esm2022/lib/translator/translator.mjs +0 -26
- package/esm2022/lib/translator/translator.module.mjs +0 -25
- package/esm2022/lib/translator/translator.pipe.mjs +0 -24
- package/esm2022/lib/translator/translator.service.mjs +0 -21
- package/esm2022/lib/utils/array/array-util.mjs +0 -133
- package/esm2022/lib/utils/html/html-util.mjs +0 -200
- package/esm2022/lib/utils/html/html.module.mjs +0 -19
- package/esm2022/lib/utils/math/math-util.mjs +0 -6
- package/esm2022/lib/utils/object/object-util.mjs +0 -83
- package/esm2022/lib/utils/render/on-demand-preload-strategy.service.mjs +0 -21
- package/esm2022/lib/utils/render/render.service.mjs +0 -109
- package/esm2022/lib/utils/render/rendering.module.mjs +0 -35
- package/esm2022/lib/utils/scroll/scroll.directive.mjs +0 -56
- package/esm2022/lib/utils/scroll/scroll.module.mjs +0 -19
- package/esm2022/lib/utils/separator/separator.module.mjs +0 -19
- package/esm2022/lib/utils/separator/separator.pipe.mjs +0 -33
- package/lib/classes/base-page.class.d.ts +0 -13
- package/lib/classes/color.class.d.ts +0 -17
- package/lib/classes/datetime.class.d.ts +0 -63
- package/lib/classes/menu.class.d.ts +0 -34
- package/lib/classes/navigator.class.d.ts +0 -5
- package/lib/classes/popup.class.d.ts +0 -12
- package/lib/classes/promise.class.d.ts +0 -7
- package/lib/classes/sectionlist.class.d.ts +0 -8
- package/lib/classes/select.class.d.ts +0 -7
- package/lib/core.module.d.ts +0 -9
- package/lib/error/error.class.d.ts +0 -4
- package/lib/error/error.module.d.ts +0 -7
- package/lib/error/error.service.d.ts +0 -13
- package/lib/events/keyboard.d.ts +0 -2
- package/lib/http/http-error.class.d.ts +0 -7
- package/lib/http/http-events.interceptor.d.ts +0 -10
- package/lib/http/http-request.class.d.ts +0 -14
- package/lib/http/http-result.class.d.ts +0 -11
- package/lib/http/http.module.d.ts +0 -10
- package/lib/http/http.service.d.ts +0 -23
- package/lib/pipe/datetime.pipe.d.ts +0 -8
- package/lib/pipe/htmlToText.pipe.d.ts +0 -7
- package/lib/platform/index.d.ts +0 -1
- package/lib/services/config.d.ts +0 -9
- package/lib/services/navigator.service.d.ts +0 -8
- package/lib/services/storage.service.d.ts +0 -7
- package/lib/translator/translator.d.ts +0 -9
- package/lib/translator/translator.module.d.ts +0 -8
- package/lib/translator/translator.pipe.d.ts +0 -8
- package/lib/translator/translator.service.d.ts +0 -8
- package/lib/utils/array/array-util.d.ts +0 -6
- package/lib/utils/html/html-util.d.ts +0 -62
- package/lib/utils/html/html.module.d.ts +0 -8
- package/lib/utils/math/math-util.d.ts +0 -3
- package/lib/utils/object/object-util.d.ts +0 -7
- package/lib/utils/render/on-demand-preload-strategy.service.d.ts +0 -10
- package/lib/utils/render/render.service.d.ts +0 -18
- package/lib/utils/render/rendering.module.d.ts +0 -8
- package/lib/utils/scroll/scroll.directive.d.ts +0 -18
- package/lib/utils/scroll/scroll.module.d.ts +0 -8
- package/lib/utils/separator/separator.module.d.ts +0 -8
- package/lib/utils/separator/separator.pipe.d.ts +0 -8
@@ -1,19 +0,0 @@
|
|
1
|
-
import { NgModule } from '@angular/core';
|
2
|
-
import { CommonModule } from '@angular/common';
|
3
|
-
import { AXSeparatorPipe } from './separator.pipe';
|
4
|
-
import * as i0 from "@angular/core";
|
5
|
-
export class AXSeparatorModule {
|
6
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXSeparatorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
7
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: AXSeparatorModule, declarations: [AXSeparatorPipe], imports: [CommonModule], exports: [AXSeparatorPipe] });
|
8
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXSeparatorModule, imports: [CommonModule] });
|
9
|
-
}
|
10
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXSeparatorModule, decorators: [{
|
11
|
-
type: NgModule,
|
12
|
-
args: [{
|
13
|
-
declarations: [AXSeparatorPipe],
|
14
|
-
imports: [CommonModule],
|
15
|
-
exports: [AXSeparatorPipe],
|
16
|
-
providers: []
|
17
|
-
}]
|
18
|
-
}] });
|
19
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VwYXJhdG9yLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29yZS9zcmMvbGliL3V0aWxzL3NlcGFyYXRvci9zZXBhcmF0b3IubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSxrQkFBa0IsQ0FBQzs7QUFRbkQsTUFBTSxPQUFPLGlCQUFpQjt3R0FBakIsaUJBQWlCO3lHQUFqQixpQkFBaUIsaUJBTGIsZUFBZSxhQUNwQixZQUFZLGFBQ1osZUFBZTt5R0FHZCxpQkFBaUIsWUFKbEIsWUFBWTs7NEZBSVgsaUJBQWlCO2tCQU43QixRQUFRO21CQUFDO29CQUNSLFlBQVksRUFBRSxDQUFDLGVBQWUsQ0FBQztvQkFDL0IsT0FBTyxFQUFFLENBQUMsWUFBWSxDQUFDO29CQUN2QixPQUFPLEVBQUUsQ0FBQyxlQUFlLENBQUM7b0JBQzFCLFNBQVMsRUFBRSxFQUFFO2lCQUNkIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgTmdNb2R1bGUgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydCB7IENvbW1vbk1vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvbW1vbic7XG5pbXBvcnQgeyBBWFNlcGFyYXRvclBpcGUgfSBmcm9tICcuL3NlcGFyYXRvci5waXBlJztcblxuQE5nTW9kdWxlKHtcbiAgZGVjbGFyYXRpb25zOiBbQVhTZXBhcmF0b3JQaXBlXSxcbiAgaW1wb3J0czogW0NvbW1vbk1vZHVsZV0sXG4gIGV4cG9ydHM6IFtBWFNlcGFyYXRvclBpcGVdLFxuICBwcm92aWRlcnM6IFtdXG59KVxuZXhwb3J0IGNsYXNzIEFYU2VwYXJhdG9yTW9kdWxlIHsgfVxuIl19
|
@@ -1,33 +0,0 @@
|
|
1
|
-
import { Pipe, Injectable } from '@angular/core';
|
2
|
-
import { AXConfig } from '../../services/config';
|
3
|
-
import * as i0 from "@angular/core";
|
4
|
-
// export class AXSeparatorPipe2 implements PipeTransform {
|
5
|
-
// transform(value: any) {
|
6
|
-
// if (value) {
|
7
|
-
// return value.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ',');
|
8
|
-
// } else {
|
9
|
-
// return '0';
|
10
|
-
// }
|
11
|
-
// }
|
12
|
-
// }
|
13
|
-
export class AXSeparatorPipe {
|
14
|
-
transform(value, currency = '', decimal = 0, locale = AXConfig.get('layout.rtl') ? 'fa' : 'en') {
|
15
|
-
return (new Intl.NumberFormat(locale, {
|
16
|
-
minimumFractionDigits: 0,
|
17
|
-
maximumFractionDigits: decimal
|
18
|
-
}).format(Number(value)) + (currency != '' ? ' ' + currency : ''));
|
19
|
-
}
|
20
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXSeparatorPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
21
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: AXSeparatorPipe, name: "separator" });
|
22
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXSeparatorPipe, providedIn: 'root' });
|
23
|
-
}
|
24
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXSeparatorPipe, decorators: [{
|
25
|
-
type: Pipe,
|
26
|
-
args: [{ name: 'separator' }]
|
27
|
-
}, {
|
28
|
-
type: Injectable,
|
29
|
-
args: [{
|
30
|
-
providedIn: 'root'
|
31
|
-
}]
|
32
|
-
}] });
|
33
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VwYXJhdG9yLnBpcGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvcmUvc3JjL2xpYi91dGlscy9zZXBhcmF0b3Ivc2VwYXJhdG9yLnBpcGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLElBQUksRUFBaUIsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ2hFLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSx1QkFBdUIsQ0FBQzs7QUFPakQsMkRBQTJEO0FBQzNELDRCQUE0QjtBQUM1QixtQkFBbUI7QUFDbkIsdUVBQXVFO0FBQ3ZFLGVBQWU7QUFDZixvQkFBb0I7QUFDcEIsUUFBUTtBQUNSLE1BQU07QUFDTixJQUFJO0FBQ0osTUFBTSxPQUFPLGVBQWU7SUFDMUIsU0FBUyxDQUFDLEtBQXNCLEVBQUUsV0FBbUIsRUFBRSxFQUFFLFVBQWtCLENBQUMsRUFBRSxTQUFpQixRQUFRLENBQUMsR0FBRyxDQUFDLFlBQVksQ0FBQyxDQUFDLENBQUMsQ0FBQyxJQUFJLENBQUMsQ0FBQyxDQUFDLElBQUk7UUFDckksT0FBTyxDQUNMLElBQUksSUFBSSxDQUFDLFlBQVksQ0FBQyxNQUFNLEVBQUU7WUFDNUIscUJBQXFCLEVBQUUsQ0FBQztZQUN4QixxQkFBcUIsRUFBRSxPQUFPO1NBQy9CLENBQUMsQ0FBQyxNQUFNLENBQUMsTUFBTSxDQUFDLEtBQUssQ0FBQyxDQUFDLEdBQUcsQ0FBQyxRQUFRLElBQUksRUFBRSxDQUFDLENBQUMsQ0FBQyxHQUFHLEdBQUcsUUFBUSxDQUFDLENBQUMsQ0FBQyxFQUFFLENBQUMsQ0FDbEUsQ0FBQztJQUNKLENBQUM7d0dBUlUsZUFBZTtzR0FBZixlQUFlOzRHQUFmLGVBQWUsY0FaZCxNQUFNOzs0RkFZUCxlQUFlO2tCQWQzQixJQUFJO21CQUFDLEVBQUUsSUFBSSxFQUFFLFdBQVcsRUFBRTs7a0JBQzFCLFVBQVU7bUJBQUM7b0JBQ1YsVUFBVSxFQUFFLE1BQU07aUJBQ25CIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgUGlwZSwgUGlwZVRyYW5zZm9ybSwgSW5qZWN0YWJsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHsgQVhDb25maWcgfSBmcm9tICcuLi8uLi9zZXJ2aWNlcy9jb25maWcnO1xuXG5AUGlwZSh7IG5hbWU6ICdzZXBhcmF0b3InIH0pXG5ASW5qZWN0YWJsZSh7XG4gIHByb3ZpZGVkSW46ICdyb290J1xufSlcblxuLy8gZXhwb3J0IGNsYXNzIEFYU2VwYXJhdG9yUGlwZTIgaW1wbGVtZW50cyBQaXBlVHJhbnNmb3JtIHtcbi8vICAgdHJhbnNmb3JtKHZhbHVlOiBhbnkpIHtcbi8vICAgICBpZiAodmFsdWUpIHtcbi8vICAgICAgIHJldHVybiB2YWx1ZS50b1N0cmluZygpLnJlcGxhY2UoL1xcQig/PShcXGR7M30pKyg/IVxcZCkpL2csICcsJyk7XG4vLyAgICAgfSBlbHNlIHtcbi8vICAgICAgIHJldHVybiAnMCc7XG4vLyAgICAgfVxuLy8gICB9XG4vLyB9XG5leHBvcnQgY2xhc3MgQVhTZXBhcmF0b3JQaXBlIGltcGxlbWVudHMgUGlwZVRyYW5zZm9ybSB7XG4gIHRyYW5zZm9ybSh2YWx1ZTogbnVtYmVyIHwgc3RyaW5nLCBjdXJyZW5jeTogc3RyaW5nID0gJycsIGRlY2ltYWw6IG51bWJlciA9IDAsIGxvY2FsZTogc3RyaW5nID0gQVhDb25maWcuZ2V0KCdsYXlvdXQucnRsJykgPyAnZmEnIDogJ2VuJyk6IHN0cmluZyB7XG4gICAgcmV0dXJuIChcbiAgICAgIG5ldyBJbnRsLk51bWJlckZvcm1hdChsb2NhbGUsIHtcbiAgICAgICAgbWluaW11bUZyYWN0aW9uRGlnaXRzOiAwLFxuICAgICAgICBtYXhpbXVtRnJhY3Rpb25EaWdpdHM6IGRlY2ltYWxcbiAgICAgIH0pLmZvcm1hdChOdW1iZXIodmFsdWUpKSArIChjdXJyZW5jeSAhPSAnJyA/ICcgJyArIGN1cnJlbmN5IDogJycpXG4gICAgKTtcbiAgfVxufVxuIl19
|
@@ -1,13 +0,0 @@
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
2
|
-
import * as i0 from "@angular/core";
|
3
|
-
/**
|
4
|
-
* @deprecated Use AXBasePageComponent from @acorex/components
|
5
|
-
*/
|
6
|
-
export declare abstract class AXBasePageComponent {
|
7
|
-
onClosed: EventEmitter<any>;
|
8
|
-
close(data?: any): void;
|
9
|
-
onClosing(e: any): void | Promise<void>;
|
10
|
-
ngOnDestroy(): void;
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXBasePageComponent, never>;
|
12
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AXBasePageComponent>;
|
13
|
-
}
|
@@ -1,17 +0,0 @@
|
|
1
|
-
export interface AXColor {
|
2
|
-
id?: string;
|
3
|
-
color?: string;
|
4
|
-
code: string;
|
5
|
-
selected?: boolean;
|
6
|
-
active?: boolean;
|
7
|
-
}
|
8
|
-
export declare class AXColorUtil {
|
9
|
-
static hex2Rgb(hexColor: string): {
|
10
|
-
r: number;
|
11
|
-
g: number;
|
12
|
-
b: number;
|
13
|
-
};
|
14
|
-
static rgb2Hex(r: number, g: number, b: number, a?: number): string;
|
15
|
-
static illuminance(hexColor: string): number;
|
16
|
-
static contrastToWhite(hexColor: string): number;
|
17
|
-
}
|
@@ -1,63 +0,0 @@
|
|
1
|
-
export type TimeUnit = 'second' | 'minute' | 'minutes' | 'hour' | 'hours' | 'day' | 'days' | 'month' | 'year' | 'week';
|
2
|
-
export type TimeDuration = 'seconds' | 'minutes' | 'hours' | 'days' | 'weeks' | 'month' | 'years';
|
3
|
-
export type TimeStep = 'Y' | 'M' | 'D' | 'YM' | 'YMD' | 'YMDh' | 'YMDhm' | 'YMDhms' | 'h' | 'm' | 's';
|
4
|
-
export type AXCalendarType = 'jalali' | 'gregorian';
|
5
|
-
export declare class AXDateTime {
|
6
|
-
type: AXCalendarType;
|
7
|
-
static convert(value: any, type?: AXCalendarType): AXDateTime;
|
8
|
-
private _date;
|
9
|
-
get date(): Date;
|
10
|
-
private resolveUnit;
|
11
|
-
private _moment;
|
12
|
-
constructor(value?: Date | string, type?: AXCalendarType);
|
13
|
-
clone(): AXDateTime;
|
14
|
-
get dayInMonth(): number;
|
15
|
-
get dayOfYear(): number;
|
16
|
-
get dayInWeek(): number;
|
17
|
-
get hour(): number;
|
18
|
-
get minute(): number;
|
19
|
-
get second(): number;
|
20
|
-
get year(): number;
|
21
|
-
get monthOfYear(): number;
|
22
|
-
get month(): AXCalendarMonth;
|
23
|
-
get firstDayOfWeek(): AXDateTime;
|
24
|
-
get endDayOfWeek(): AXDateTime;
|
25
|
-
convertStringToJalali(date: string, format: string): string;
|
26
|
-
convertStringToGregorian(date: string, format: string): Date;
|
27
|
-
add(unit: TimeUnit, amount: number): AXDateTime;
|
28
|
-
addDay(amount: number): AXDateTime;
|
29
|
-
addMonth(amount: number): AXDateTime;
|
30
|
-
addHour(amount: number): AXDateTime;
|
31
|
-
set(unit: TimeUnit, value: number): AXDateTime;
|
32
|
-
duration(end: AXDateTime, unit?: TimeDuration): number;
|
33
|
-
startOf(unit?: TimeUnit): AXDateTime;
|
34
|
-
endOf(unit?: TimeUnit): AXDateTime;
|
35
|
-
format(format?: string): string;
|
36
|
-
toString(): string;
|
37
|
-
equal(value: AXDateTime, unit?: TimeUnit): boolean;
|
38
|
-
convertToJalaliDate(value: any): any;
|
39
|
-
toJalaliString(value: any): string;
|
40
|
-
convertToGregorianDate(value: any): any;
|
41
|
-
toGregorianString(value: any): string;
|
42
|
-
compaireNew(value: AXDateTime, unit?: TimeStep, type?: string): 1 | -1 | 0;
|
43
|
-
compaire(value: AXDateTime, unit?: TimeUnit): 1 | -1 | 0;
|
44
|
-
toISOString(): string;
|
45
|
-
}
|
46
|
-
export declare class AXCalendarMonth {
|
47
|
-
private _moment;
|
48
|
-
private _range;
|
49
|
-
get range(): AXDateTimeRange;
|
50
|
-
set range(v: AXDateTimeRange);
|
51
|
-
constructor(date: AXDateTime);
|
52
|
-
private readonly index;
|
53
|
-
private readonly name;
|
54
|
-
}
|
55
|
-
export declare class AXDateTimeRange {
|
56
|
-
startTime: AXDateTime;
|
57
|
-
endTime: AXDateTime;
|
58
|
-
constructor(startTime: AXDateTime, endTime: AXDateTime);
|
59
|
-
duration(unit?: TimeDuration): number;
|
60
|
-
enumurate(unit?: TimeUnit, type?: AXCalendarType): AXDateTime[];
|
61
|
-
includes(value: AXDateTime, unit?: TimeUnit, type?: string): boolean;
|
62
|
-
getViewCompaire(view: any): "Y" | "YM" | "YMD";
|
63
|
-
}
|
@@ -1,34 +0,0 @@
|
|
1
|
-
export declare class AXBaseMenuItem {
|
2
|
-
uid?: string;
|
3
|
-
id?: string;
|
4
|
-
name?: string;
|
5
|
-
text?: string;
|
6
|
-
tooltip?: string;
|
7
|
-
tooltipPlacement?: 'top' | 'right' | 'bottom' | 'left';
|
8
|
-
icon?: string;
|
9
|
-
visible?: boolean;
|
10
|
-
disable?: boolean;
|
11
|
-
selected?: boolean;
|
12
|
-
groupName?: string;
|
13
|
-
data?: any;
|
14
|
-
style?: string;
|
15
|
-
orderIndex?: number;
|
16
|
-
endIcon?: string;
|
17
|
-
startIcon?: string;
|
18
|
-
onClick?: (e?: any) => void;
|
19
|
-
}
|
20
|
-
export declare class AXMenuItem extends AXBaseMenuItem {
|
21
|
-
items?: AXMenuItem[];
|
22
|
-
parentId?: string;
|
23
|
-
divider?: boolean;
|
24
|
-
}
|
25
|
-
export declare class AXButtonItem extends AXBaseMenuItem {
|
26
|
-
dropdown?: boolean;
|
27
|
-
submitBehavior?: boolean;
|
28
|
-
cancelBehavior?: boolean;
|
29
|
-
}
|
30
|
-
export declare class AXCheckItem {
|
31
|
-
text?: string;
|
32
|
-
value?: any;
|
33
|
-
selected?: boolean;
|
34
|
-
}
|
package/lib/core.module.d.ts
DELETED
@@ -1,9 +0,0 @@
|
|
1
|
-
import * as i0 from "@angular/core";
|
2
|
-
import * as i1 from "./pipe/datetime.pipe";
|
3
|
-
import * as i2 from "./utils/scroll/scroll.module";
|
4
|
-
import * as i3 from "./translator/translator.module";
|
5
|
-
export declare class AXCoreModule {
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXCoreModule, never>;
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCoreModule, [typeof i1.AXDateTimePipe], [typeof i2.AXScrollModule, typeof i3.AXTranslatorModule], [typeof i1.AXDateTimePipe]>;
|
8
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<AXCoreModule>;
|
9
|
-
}
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import * as i0 from "@angular/core";
|
2
|
-
import * as i1 from "@angular/common";
|
3
|
-
export declare class AXErrorModule {
|
4
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXErrorModule, never>;
|
5
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXErrorModule, never, [typeof i1.CommonModule], never>;
|
6
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<AXErrorModule>;
|
7
|
-
}
|
@@ -1,13 +0,0 @@
|
|
1
|
-
import { InjectionToken, Injector } from '@angular/core';
|
2
|
-
import * as i0 from "@angular/core";
|
3
|
-
export declare const AX_ERROR_DISPLAY_INTERCEPTOR: InjectionToken<AXErrorDisplayInterceptor>;
|
4
|
-
export interface AXErrorDisplayInterceptor {
|
5
|
-
show(message: string): any;
|
6
|
-
}
|
7
|
-
export declare class AXErrorService {
|
8
|
-
private injector;
|
9
|
-
constructor(injector: Injector);
|
10
|
-
handle(message: string): void;
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXErrorService, never>;
|
12
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AXErrorService>;
|
13
|
-
}
|
package/lib/events/keyboard.d.ts
DELETED
@@ -1,10 +0,0 @@
|
|
1
|
-
import { IHttpError } from './http-error.class';
|
2
|
-
import { InjectionToken } from '@angular/core';
|
3
|
-
import { AXHttpRequestOptions } from './http-request.class';
|
4
|
-
export declare const AX_HTTP_EVENT_INTERCEPTOR: InjectionToken<AXHttpEventInterceptor>;
|
5
|
-
export interface AXHttpEventInterceptor {
|
6
|
-
begin(request: AXHttpRequestOptions): Promise<AXHttpRequestOptions>;
|
7
|
-
success(request: AXHttpRequestOptions, result: any): Promise<any>;
|
8
|
-
complete(request: AXHttpRequestOptions): any;
|
9
|
-
error(request: AXHttpRequestOptions, error: IHttpError): any;
|
10
|
-
}
|
@@ -1,14 +0,0 @@
|
|
1
|
-
export interface AXHttpRequestOptions {
|
2
|
-
url?: any;
|
3
|
-
params?: {
|
4
|
-
[param: string]: any;
|
5
|
-
};
|
6
|
-
body?: {
|
7
|
-
[param: string]: any;
|
8
|
-
};
|
9
|
-
headers?: {
|
10
|
-
[header: string]: any;
|
11
|
-
};
|
12
|
-
method?: 'get' | 'post' | 'put' | 'delete';
|
13
|
-
responseType?: any;
|
14
|
-
}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
import { IHttpError } from './http-error.class';
|
2
|
-
export declare class HttpResult<T> {
|
3
|
-
private _executor;
|
4
|
-
constructor(executor: (result: (e?: T) => void, error: (e?: IHttpError) => void, complete: () => void) => void);
|
5
|
-
private resultAction;
|
6
|
-
private errorAction;
|
7
|
-
private completeAction;
|
8
|
-
result(action: (e?: T) => void): HttpResult<T>;
|
9
|
-
error(action: (e?: IHttpError) => void): HttpResult<T>;
|
10
|
-
complete(action: () => void): HttpResult<T>;
|
11
|
-
}
|
@@ -1,10 +0,0 @@
|
|
1
|
-
import { ModuleWithProviders } from '@angular/core';
|
2
|
-
import * as i0 from "@angular/core";
|
3
|
-
import * as i1 from "@angular/common";
|
4
|
-
import * as i2 from "@angular/common/http";
|
5
|
-
export declare class AXHttpModule {
|
6
|
-
static forRoot(): ModuleWithProviders<AXHttpModule>;
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXHttpModule, never>;
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXHttpModule, never, [typeof i1.CommonModule, typeof i2.HttpClientModule], [typeof i2.HttpClientModule]>;
|
9
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<AXHttpModule>;
|
10
|
-
}
|
@@ -1,23 +0,0 @@
|
|
1
|
-
import { Injector } from '@angular/core';
|
2
|
-
import { HttpClient } from '@angular/common/http';
|
3
|
-
import { HttpResult } from './http-result.class';
|
4
|
-
import { AXHttpRequestOptions } from './http-request.class';
|
5
|
-
import * as i0 from "@angular/core";
|
6
|
-
export declare class AXHttpService {
|
7
|
-
private http;
|
8
|
-
private injector;
|
9
|
-
private interceptor;
|
10
|
-
constructor(http: HttpClient, injector: Injector);
|
11
|
-
get<T>(url: string, config?: AXHttpRequestOptions): HttpResult<T>;
|
12
|
-
post<T>(url: string, config?: AXHttpRequestOptions): HttpResult<T>;
|
13
|
-
delete<T>(url: string, config?: AXHttpRequestOptions): HttpResult<T>;
|
14
|
-
put<T>(url: string, config?: AXHttpRequestOptions): HttpResult<T>;
|
15
|
-
request<T>(config: AXHttpRequestOptions): HttpResult<T>;
|
16
|
-
private handleResult;
|
17
|
-
private handleBegin;
|
18
|
-
private handleComplete;
|
19
|
-
private handleError;
|
20
|
-
private mapOptions;
|
21
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXHttpService, never>;
|
22
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AXHttpService>;
|
23
|
-
}
|
@@ -1,8 +0,0 @@
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
2
|
-
import * as i0 from "@angular/core";
|
3
|
-
export declare class AXDateTimePipe implements PipeTransform {
|
4
|
-
constructor();
|
5
|
-
transform(value: any, format?: string): string;
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXDateTimePipe, never>;
|
7
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<AXDateTimePipe, "dt", false>;
|
8
|
-
}
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
2
|
-
import * as i0 from "@angular/core";
|
3
|
-
export declare class AXHtmlToTextPipe implements PipeTransform {
|
4
|
-
transform(value: string): string;
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXHtmlToTextPipe, never>;
|
6
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<AXHtmlToTextPipe, "html2text", false>;
|
7
|
-
}
|
package/lib/platform/index.d.ts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
export * from './platform.service';
|
package/lib/services/config.d.ts
DELETED
@@ -1,9 +0,0 @@
|
|
1
|
-
import { Observable } from 'rxjs';
|
2
|
-
export declare class AXConfig {
|
3
|
-
private static dataModel;
|
4
|
-
private static dataChangeSubject;
|
5
|
-
static get onChange(): Observable<any>;
|
6
|
-
static set(config: any): any;
|
7
|
-
static set(path: string, value?: any): void;
|
8
|
-
static get(path: string): any;
|
9
|
-
}
|
@@ -1,8 +0,0 @@
|
|
1
|
-
import { AXNavigatorParam } from '../classes/navigator.class';
|
2
|
-
import * as i0 from "@angular/core";
|
3
|
-
export declare abstract class AXNavigator {
|
4
|
-
abstract navigate(params: AXNavigatorParam): any;
|
5
|
-
abstract popup(params: AXNavigatorParam): any;
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXNavigator, never>;
|
7
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AXNavigator>;
|
8
|
-
}
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import * as i0 from "@angular/core";
|
2
|
-
export declare class AXStorageService {
|
3
|
-
get(key: string): any;
|
4
|
-
set(key: string, value: any): void;
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXStorageService, never>;
|
6
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AXStorageService>;
|
7
|
-
}
|
@@ -1,9 +0,0 @@
|
|
1
|
-
import { Observable } from 'rxjs';
|
2
|
-
export declare class AXTranslator {
|
3
|
-
private static lang;
|
4
|
-
private static dataChangeSubject;
|
5
|
-
static get onChange(): Observable<any>;
|
6
|
-
static load(lang: string, value: any): void;
|
7
|
-
static use(lang: string): void;
|
8
|
-
static get(key: string, lang?: string): string;
|
9
|
-
}
|
@@ -1,8 +0,0 @@
|
|
1
|
-
import * as i0 from "@angular/core";
|
2
|
-
import * as i1 from "./translator.pipe";
|
3
|
-
export declare class AXTranslatorModule {
|
4
|
-
constructor();
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXTranslatorModule, never>;
|
6
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXTranslatorModule, [typeof i1.AXTranslatorPipe], never, [typeof i1.AXTranslatorPipe]>;
|
7
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<AXTranslatorModule>;
|
8
|
-
}
|
@@ -1,8 +0,0 @@
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
2
|
-
import * as i0 from "@angular/core";
|
3
|
-
export declare class AXTranslatorPipe implements PipeTransform {
|
4
|
-
constructor();
|
5
|
-
transform(value: string, lang?: string): string;
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXTranslatorPipe, never>;
|
7
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<AXTranslatorPipe, "trans", false>;
|
8
|
-
}
|
@@ -1,8 +0,0 @@
|
|
1
|
-
import * as i0 from "@angular/core";
|
2
|
-
export declare class AXTranslatorService {
|
3
|
-
load(lang: string, value: any): void;
|
4
|
-
use(lang: string): void;
|
5
|
-
get(key: string, lang?: string): string;
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXTranslatorService, never>;
|
7
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AXTranslatorService>;
|
8
|
-
}
|
@@ -1,62 +0,0 @@
|
|
1
|
-
export type AXPlacement = 'top-start' | 'top-middle' | 'top-end' | 'center-start' | 'center-end' | 'bottom-start' | 'bottom-middle' | 'bottom-end';
|
2
|
-
export interface AXIPoint {
|
3
|
-
x: number;
|
4
|
-
y: number;
|
5
|
-
}
|
6
|
-
export interface AXConnectedPosition {
|
7
|
-
originX: 'start' | 'center' | 'end';
|
8
|
-
originY: 'top' | 'center' | 'bottom';
|
9
|
-
overlayX: 'start' | 'center' | 'end';
|
10
|
-
overlayY: 'top' | 'center' | 'bottom';
|
11
|
-
weight?: number;
|
12
|
-
offsetX?: number;
|
13
|
-
offsetY?: number;
|
14
|
-
}
|
15
|
-
export declare class AXPoint implements AXIPoint {
|
16
|
-
x: number;
|
17
|
-
y: number;
|
18
|
-
constructor(x: number, y: number);
|
19
|
-
}
|
20
|
-
export interface AXClientRecCtor {
|
21
|
-
left?: number;
|
22
|
-
top?: number;
|
23
|
-
width?: number;
|
24
|
-
height?: number;
|
25
|
-
bottom?: number;
|
26
|
-
right?: number;
|
27
|
-
}
|
28
|
-
export declare class AXClientRec implements AXClientRecCtor {
|
29
|
-
private _left;
|
30
|
-
get left(): number;
|
31
|
-
set left(v: number);
|
32
|
-
private _top;
|
33
|
-
get top(): number;
|
34
|
-
set top(v: number);
|
35
|
-
private _right;
|
36
|
-
get right(): number;
|
37
|
-
set right(v: number);
|
38
|
-
private _bottom;
|
39
|
-
get bottom(): number;
|
40
|
-
set bottom(v: number);
|
41
|
-
private _width;
|
42
|
-
get width(): number;
|
43
|
-
set width(v: number);
|
44
|
-
private _height;
|
45
|
-
get height(): number;
|
46
|
-
set height(v: number);
|
47
|
-
constructor(rec: AXClientRecCtor);
|
48
|
-
intersect(rec: AXClientRecCtor): boolean;
|
49
|
-
}
|
50
|
-
export declare class AXHtmlUtil {
|
51
|
-
static getBoundingRectPoint(el: HTMLElement, placement: AXPlacement): AXPoint;
|
52
|
-
static isInRecPoint(pos: AXIPoint, rec: AXClientRecCtor): boolean;
|
53
|
-
static isInElementBound(pos: AXIPoint, element: HTMLElement): boolean;
|
54
|
-
static getDimensions(): {
|
55
|
-
width: number;
|
56
|
-
height: number;
|
57
|
-
};
|
58
|
-
static getOffsetRight(elem: HTMLElement): number;
|
59
|
-
static getUID(): string;
|
60
|
-
static getRelatedPosition(source: HTMLElement, placement: AXPlacement, target: HTMLElement, alignment: AXPlacement): AXIPoint;
|
61
|
-
static collision(a: HTMLElement, b: HTMLElement): boolean;
|
62
|
-
}
|
@@ -1,8 +0,0 @@
|
|
1
|
-
import * as i0 from "@angular/core";
|
2
|
-
import * as i1 from "../../pipe/htmlToText.pipe";
|
3
|
-
import * as i2 from "@angular/common";
|
4
|
-
export declare class AXHtmlModule {
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXHtmlModule, never>;
|
6
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXHtmlModule, [typeof i1.AXHtmlToTextPipe], [typeof i2.CommonModule], [typeof i1.AXHtmlToTextPipe]>;
|
7
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<AXHtmlModule>;
|
8
|
-
}
|
@@ -1,7 +0,0 @@
|
|
1
|
-
export declare class AXObjectUtil {
|
2
|
-
static deepJSONClone(obj: any): any;
|
3
|
-
static deepCopy(obj: any): any;
|
4
|
-
}
|
5
|
-
export declare function AXFetchProp(obj: any, prop: string): any;
|
6
|
-
export declare function getPropByPath(obj: any, path: any, defaultVal?: any): any;
|
7
|
-
export declare function setPropByPath(obj: any, path: any, value: any): any;
|
@@ -1,10 +0,0 @@
|
|
1
|
-
import { Subject } from 'rxjs';
|
2
|
-
import * as i0 from "@angular/core";
|
3
|
-
export declare class AXOnDemandPreloadService {
|
4
|
-
subject: Subject<string>;
|
5
|
-
tmp: string;
|
6
|
-
constructor();
|
7
|
-
startPreload(routePath: string): void;
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXOnDemandPreloadService, never>;
|
9
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AXOnDemandPreloadService>;
|
10
|
-
}
|
@@ -1,18 +0,0 @@
|
|
1
|
-
import { ApplicationRef, ComponentFactoryResolver, ComponentRef, Injector, Type, Compiler } from '@angular/core';
|
2
|
-
import { Router, Route } from '@angular/router';
|
3
|
-
import { AXOnDemandPreloadService } from './on-demand-preload-strategy.service';
|
4
|
-
import * as i0 from "@angular/core";
|
5
|
-
export declare class AXRenderService {
|
6
|
-
private appRef;
|
7
|
-
private router;
|
8
|
-
private componentFactoryResolver;
|
9
|
-
private compiler;
|
10
|
-
private modulePreloadService;
|
11
|
-
private injector;
|
12
|
-
constructor(appRef: ApplicationRef, router: Router, componentFactoryResolver: ComponentFactoryResolver, compiler: Compiler, modulePreloadService: AXOnDemandPreloadService, injector: Injector);
|
13
|
-
appendComponent<T>(componentClass: Type<T>, options?: any, location?: Element): ComponentRef<any>;
|
14
|
-
findLoadedComponentByRoute(path: string, timeoutTime?: number): Promise<Route>;
|
15
|
-
private _findLoadedComponentByRoute;
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXRenderService, never>;
|
17
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AXRenderService>;
|
18
|
-
}
|
@@ -1,8 +0,0 @@
|
|
1
|
-
import { AXOnDemandPreloadService } from './on-demand-preload-strategy.service';
|
2
|
-
import * as i0 from "@angular/core";
|
3
|
-
export declare function getOnDemandPreloadServiceFactory(): AXOnDemandPreloadService;
|
4
|
-
export declare class AXRenderingModule {
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXRenderingModule, never>;
|
6
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXRenderingModule, never, never, never>;
|
7
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<AXRenderingModule>;
|
8
|
-
}
|
@@ -1,18 +0,0 @@
|
|
1
|
-
import { ElementRef } from '@angular/core';
|
2
|
-
import * as i0 from "@angular/core";
|
3
|
-
export declare class AXHorizontalScrollDirective {
|
4
|
-
private el;
|
5
|
-
constructor(el: ElementRef<HTMLElement>);
|
6
|
-
scrollValue: number;
|
7
|
-
onMouseWheel(e: any): void;
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXHorizontalScrollDirective, never>;
|
9
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AXHorizontalScrollDirective, "[horizontalScroll]", never, { "scrollValue": { "alias": "horizontalScroll"; "required": false; }; }, {}, never, never, false, never>;
|
10
|
-
}
|
11
|
-
export declare class AXVerticalScrollDirective {
|
12
|
-
private el;
|
13
|
-
constructor(el: ElementRef<HTMLElement>);
|
14
|
-
scrollValue: number;
|
15
|
-
onMouseWheel(e: any): void;
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXVerticalScrollDirective, never>;
|
17
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AXVerticalScrollDirective, "[verticalScroll]", never, { "scrollValue": { "alias": "verticalScroll"; "required": false; }; }, {}, never, never, false, never>;
|
18
|
-
}
|
@@ -1,8 +0,0 @@
|
|
1
|
-
import * as i0 from "@angular/core";
|
2
|
-
import * as i1 from "./scroll.directive";
|
3
|
-
import * as i2 from "@angular/common";
|
4
|
-
export declare class AXScrollModule {
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXScrollModule, never>;
|
6
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXScrollModule, [typeof i1.AXHorizontalScrollDirective, typeof i1.AXVerticalScrollDirective], [typeof i2.CommonModule], [typeof i1.AXHorizontalScrollDirective, typeof i1.AXVerticalScrollDirective]>;
|
7
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<AXScrollModule>;
|
8
|
-
}
|
@@ -1,8 +0,0 @@
|
|
1
|
-
import * as i0 from "@angular/core";
|
2
|
-
import * as i1 from "./separator.pipe";
|
3
|
-
import * as i2 from "@angular/common";
|
4
|
-
export declare class AXSeparatorModule {
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXSeparatorModule, never>;
|
6
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXSeparatorModule, [typeof i1.AXSeparatorPipe], [typeof i2.CommonModule], [typeof i1.AXSeparatorPipe]>;
|
7
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<AXSeparatorModule>;
|
8
|
-
}
|