@abp/ng.core 5.0.1 → 5.0.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/README.md +3 -3
- package/abp-ng.core.d.ts +5 -5
- package/bundles/abp-ng.core-locale.umd.js +361 -361
- package/bundles/abp-ng.core-locale.umd.js.map +1 -1
- package/bundles/abp-ng.core-testing.umd.js +442 -442
- package/bundles/abp-ng.core-testing.umd.js.map +1 -1
- package/bundles/abp-ng.core.umd.js +4873 -4868
- package/bundles/abp-ng.core.umd.js.map +1 -1
- package/esm2015/abp-ng.core.js +4 -4
- package/esm2015/lib/abstracts/index.js +2 -2
- package/esm2015/lib/abstracts/ng-model.component.js +59 -59
- package/esm2015/lib/components/dynamic-layout.component.js +89 -89
- package/esm2015/lib/components/index.js +4 -4
- package/esm2015/lib/components/replaceable-route-container.component.js +42 -42
- package/esm2015/lib/components/router-outlet.component.js +15 -15
- package/esm2015/lib/constants/different-locales.js +337 -337
- package/esm2015/lib/constants/index.js +2 -2
- package/esm2015/lib/core.module.js +281 -281
- package/esm2015/lib/directives/autofocus.directive.js +30 -30
- package/esm2015/lib/directives/debounce.directive.js +36 -36
- package/esm2015/lib/directives/for.directive.js +151 -151
- package/esm2015/lib/directives/form-submit.directive.js +69 -69
- package/esm2015/lib/directives/index.js +9 -9
- package/esm2015/lib/directives/init.directive.js +21 -21
- package/esm2015/lib/directives/permission.directive.js +48 -48
- package/esm2015/lib/directives/replaceable-template.directive.js +121 -121
- package/esm2015/lib/directives/stop-propagation.directive.js +32 -32
- package/esm2015/lib/enums/common.js +2 -2
- package/esm2015/lib/enums/index.js +2 -2
- package/esm2015/lib/guards/auth.guard.js +29 -29
- package/esm2015/lib/guards/index.js +3 -3
- package/esm2015/lib/guards/permission.guard.js +44 -44
- package/esm2015/lib/handlers/oauth-configuration.handler.js +37 -37
- package/esm2015/lib/handlers/routes.handler.js +47 -47
- package/esm2015/lib/interceptors/api.interceptor.js +54 -54
- package/esm2015/lib/interceptors/index.js +2 -2
- package/esm2015/lib/localization.module.js +16 -16
- package/esm2015/lib/models/auth.js +2 -2
- package/esm2015/lib/models/common.js +2 -2
- package/esm2015/lib/models/dtos.js +119 -119
- package/esm2015/lib/models/environment.js +2 -2
- package/esm2015/lib/models/index.js +10 -10
- package/esm2015/lib/models/localization.js +2 -2
- package/esm2015/lib/models/replaceable-components.js +2 -2
- package/esm2015/lib/models/rest.js +2 -2
- package/esm2015/lib/models/session.js +2 -2
- package/esm2015/lib/models/utility.js +2 -2
- package/esm2015/lib/pipes/index.js +3 -3
- package/esm2015/lib/pipes/localization.pipe.js +33 -33
- package/esm2015/lib/pipes/sort.pipe.js +49 -49
- package/esm2015/lib/providers/cookie-language.provider.js +22 -22
- package/esm2015/lib/providers/locale.provider.js +22 -22
- package/esm2015/lib/proxy/pages/abp/multi-tenancy/abp-tenant.service.js +29 -29
- package/esm2015/lib/proxy/pages/abp/multi-tenancy/index.js +2 -2
- package/esm2015/lib/proxy/volo/abp/asp-net-core/mvc/api-exploring/abp-api-definition.service.js +24 -24
- package/esm2015/lib/proxy/volo/abp/asp-net-core/mvc/api-exploring/index.js +2 -2
- package/esm2015/lib/proxy/volo/abp/asp-net-core/mvc/application-configurations/abp-application-configuration.service.js +25 -25
- package/esm2015/lib/proxy/volo/abp/asp-net-core/mvc/application-configurations/index.js +5 -5
- package/esm2015/lib/proxy/volo/abp/asp-net-core/mvc/application-configurations/models.js +2 -2
- package/esm2015/lib/proxy/volo/abp/asp-net-core/mvc/application-configurations/object-extending/index.js +2 -2
- package/esm2015/lib/proxy/volo/abp/asp-net-core/mvc/application-configurations/object-extending/models.js +3 -3
- package/esm2015/lib/proxy/volo/abp/asp-net-core/mvc/multi-tenancy/index.js +2 -2
- package/esm2015/lib/proxy/volo/abp/asp-net-core/mvc/multi-tenancy/models.js +2 -2
- package/esm2015/lib/proxy/volo/abp/http/modeling/index.js +2 -2
- package/esm2015/lib/proxy/volo/abp/http/modeling/models.js +3 -3
- package/esm2015/lib/proxy/volo/abp/localization/index.js +2 -2
- package/esm2015/lib/proxy/volo/abp/localization/models.js +2 -2
- package/esm2015/lib/proxy/volo/abp/models.js +2 -2
- package/esm2015/lib/services/auth.service.js +47 -47
- package/esm2015/lib/services/config-state.service.js +130 -130
- package/esm2015/lib/services/content-projection.service.js +17 -17
- package/esm2015/lib/services/dom-insertion.service.js +32 -32
- package/esm2015/lib/services/environment.service.js +35 -35
- package/esm2015/lib/services/http-error-reporter.service.js +29 -29
- package/esm2015/lib/services/http-wait.service.js +72 -72
- package/esm2015/lib/services/index.js +22 -22
- package/esm2015/lib/services/lazy-load.service.js +38 -38
- package/esm2015/lib/services/list.service.js +103 -103
- package/esm2015/lib/services/localization.service.js +182 -182
- package/esm2015/lib/services/multi-tenancy.service.js +48 -48
- package/esm2015/lib/services/permission.service.js +64 -64
- package/esm2015/lib/services/replaceable-components.service.js +49 -49
- package/esm2015/lib/services/resource-wait.service.js +39 -39
- package/esm2015/lib/services/rest.service.js +63 -63
- package/esm2015/lib/services/router-events.service.js +38 -38
- package/esm2015/lib/services/router-wait.service.js +51 -51
- package/esm2015/lib/services/routes.service.js +147 -147
- package/esm2015/lib/services/session-state.service.js +76 -76
- package/esm2015/lib/services/subscription.service.js +41 -41
- package/esm2015/lib/services/track-by.service.js +21 -21
- package/esm2015/lib/strategies/auth-flow.strategy.js +202 -202
- package/esm2015/lib/strategies/container.strategy.js +38 -38
- package/esm2015/lib/strategies/content-security.strategy.js +28 -28
- package/esm2015/lib/strategies/content.strategy.js +48 -48
- package/esm2015/lib/strategies/context.strategy.js +37 -37
- package/esm2015/lib/strategies/cross-origin.strategy.js +26 -26
- package/esm2015/lib/strategies/dom.strategy.js +27 -27
- package/esm2015/lib/strategies/index.js +9 -9
- package/esm2015/lib/strategies/loading.strategy.js +58 -58
- package/esm2015/lib/strategies/projection.strategy.js +80 -80
- package/esm2015/lib/tokens/app-config.token.js +3 -3
- package/esm2015/lib/tokens/cookie-language-key.token.js +5 -5
- package/esm2015/lib/tokens/index.js +9 -9
- package/esm2015/lib/tokens/list.token.js +3 -3
- package/esm2015/lib/tokens/localization.token.js +10 -10
- package/esm2015/lib/tokens/lodaer-delay.token.js +3 -3
- package/esm2015/lib/tokens/manage-profile.token.js +12 -12
- package/esm2015/lib/tokens/options.token.js +8 -8
- package/esm2015/lib/tokens/tenant-key.token.js +3 -3
- package/esm2015/lib/utils/array-utils.js +7 -7
- package/esm2015/lib/utils/auth-utils.js +42 -42
- package/esm2015/lib/utils/common-utils.js +29 -29
- package/esm2015/lib/utils/date-extensions.js +6 -6
- package/esm2015/lib/utils/date-utils.js +13 -13
- package/esm2015/lib/utils/environment-utils.js +36 -36
- package/esm2015/lib/utils/factory-utils.js +24 -24
- package/esm2015/lib/utils/file-utils.js +14 -14
- package/esm2015/lib/utils/form-utils.js +12 -12
- package/esm2015/lib/utils/generator-utils.js +34 -34
- package/esm2015/lib/utils/http-utils.js +19 -19
- package/esm2015/lib/utils/index.js +21 -21
- package/esm2015/lib/utils/initial-utils.js +64 -64
- package/esm2015/lib/utils/internal-store-utils.js +36 -36
- package/esm2015/lib/utils/lazy-load-utils.js +40 -40
- package/esm2015/lib/utils/localization-utils.js +50 -50
- package/esm2015/lib/utils/multi-tenancy-utils.js +83 -83
- package/esm2015/lib/utils/number-utils.js +4 -4
- package/esm2015/lib/utils/object-utils.js +37 -37
- package/esm2015/lib/utils/route-utils.js +27 -27
- package/esm2015/lib/utils/string-utils.js +25 -21
- package/esm2015/lib/utils/tree-utils.js +54 -54
- package/esm2015/lib/validators/age.validator.js +14 -14
- package/esm2015/lib/validators/credit-card.validator.js +21 -21
- package/esm2015/lib/validators/index.js +23 -23
- package/esm2015/lib/validators/range.validator.js +15 -15
- package/esm2015/lib/validators/required.validator.js +13 -13
- package/esm2015/lib/validators/string-length.validator.js +15 -15
- package/esm2015/lib/validators/url.validator.js +16 -16
- package/esm2015/locale/abp-ng.core-locale.js +4 -4
- package/esm2015/locale/public-api.js +2 -2
- package/esm2015/locale/utils/register-locale.js +43 -43
- package/esm2015/public-api.js +26 -26
- package/esm2015/testing/abp-ng.core-testing.js +4 -4
- package/esm2015/testing/lib/core-testing.module.js +62 -62
- package/esm2015/testing/lib/services/index.js +3 -3
- package/esm2015/testing/lib/services/mock-permission.service.js +35 -35
- package/esm2015/testing/lib/services/mock-rest.service.js +30 -30
- package/esm2015/testing/lib/utils/clear-page.util.js +10 -10
- package/esm2015/testing/lib/utils/index.js +3 -3
- package/esm2015/testing/lib/utils/wait.util.js +5 -5
- package/esm2015/testing/public-api.js +4 -4
- package/fesm2015/abp-ng.core-locale.js +40 -40
- package/fesm2015/abp-ng.core-locale.js.map +1 -1
- package/fesm2015/abp-ng.core-testing.js +113 -113
- package/fesm2015/abp-ng.core-testing.js.map +1 -1
- package/fesm2015/abp-ng.core.js +3979 -3975
- package/fesm2015/abp-ng.core.js.map +1 -1
- package/lib/abstracts/index.d.ts +1 -1
- package/lib/abstracts/ng-model.component.d.ts +25 -25
- package/lib/components/dynamic-layout.component.d.ts +27 -27
- package/lib/components/index.d.ts +3 -3
- package/lib/components/replaceable-route-container.component.d.ts +17 -17
- package/lib/components/router-outlet.component.d.ts +5 -5
- package/lib/constants/different-locales.d.ts +334 -334
- package/lib/constants/index.d.ts +1 -1
- package/lib/core.module.d.ts +56 -56
- package/lib/directives/autofocus.directive.d.ts +12 -12
- package/lib/directives/debounce.directive.d.ts +13 -13
- package/lib/directives/for.directive.d.ts +36 -36
- package/lib/directives/form-submit.directive.d.ts +19 -19
- package/lib/directives/index.d.ts +8 -8
- package/lib/directives/init.directive.d.ts +10 -10
- package/lib/directives/permission.directive.d.ts +18 -18
- package/lib/directives/replaceable-template.directive.d.ts +30 -30
- package/lib/directives/stop-propagation.directive.d.ts +12 -12
- package/lib/enums/common.d.ts +5 -5
- package/lib/enums/index.d.ts +1 -1
- package/lib/guards/auth.guard.d.ts +13 -13
- package/lib/guards/index.d.ts +2 -2
- package/lib/guards/permission.guard.d.ts +16 -16
- package/lib/handlers/oauth-configuration.handler.d.ts +13 -13
- package/lib/handlers/routes.handler.d.ts +11 -11
- package/lib/interceptors/api.interceptor.d.ts +16 -16
- package/lib/interceptors/index.d.ts +1 -1
- package/lib/localization.module.d.ts +7 -7
- package/lib/models/auth.d.ts +6 -6
- package/lib/models/common.d.ts +77 -77
- package/lib/models/dtos.d.ts +95 -95
- package/lib/models/environment.d.ts +35 -35
- package/lib/models/index.d.ts +9 -9
- package/lib/models/localization.d.ts +5 -5
- package/lib/models/replaceable-components.d.ts +45 -45
- package/lib/models/rest.d.ts +35 -35
- package/lib/models/session.d.ts +7 -7
- package/lib/models/utility.d.ts +14 -14
- package/lib/pipes/index.d.ts +2 -2
- package/lib/pipes/localization.pipe.d.ts +12 -12
- package/lib/pipes/sort.pipe.d.ts +9 -9
- package/lib/providers/cookie-language.provider.d.ts +3 -3
- package/lib/providers/locale.provider.d.ts +9 -9
- package/lib/proxy/pages/abp/multi-tenancy/abp-tenant.service.d.ts +12 -12
- package/lib/proxy/pages/abp/multi-tenancy/index.d.ts +1 -1
- package/lib/proxy/volo/abp/asp-net-core/mvc/api-exploring/abp-api-definition.service.d.ts +11 -11
- package/lib/proxy/volo/abp/asp-net-core/mvc/api-exploring/index.d.ts +1 -1
- package/lib/proxy/volo/abp/asp-net-core/mvc/application-configurations/abp-application-configuration.service.d.ts +11 -11
- package/lib/proxy/volo/abp/asp-net-core/mvc/application-configurations/index.d.ts +4 -4
- package/lib/proxy/volo/abp/asp-net-core/mvc/application-configurations/models.d.ts +85 -85
- package/lib/proxy/volo/abp/asp-net-core/mvc/application-configurations/object-extending/index.d.ts +1 -1
- package/lib/proxy/volo/abp/asp-net-core/mvc/application-configurations/object-extending/models.d.ts +71 -71
- package/lib/proxy/volo/abp/asp-net-core/mvc/multi-tenancy/index.d.ts +1 -1
- package/lib/proxy/volo/abp/asp-net-core/mvc/multi-tenancy/models.d.ts +14 -14
- package/lib/proxy/volo/abp/http/modeling/index.d.ts +1 -1
- package/lib/proxy/volo/abp/http/modeling/models.d.ts +70 -70
- package/lib/proxy/volo/abp/localization/index.d.ts +1 -1
- package/lib/proxy/volo/abp/localization/models.d.ts +6 -6
- package/lib/proxy/volo/abp/models.d.ts +4 -4
- package/lib/services/auth.service.d.ts +17 -17
- package/lib/services/config-state.service.d.ts +339 -339
- package/lib/services/content-projection.service.d.ts +10 -10
- package/lib/services/dom-insertion.service.d.ts +10 -10
- package/lib/services/environment.service.d.ts +96 -96
- package/lib/services/http-error-reporter.service.d.ts +12 -12
- package/lib/services/http-wait.service.d.ts +30 -30
- package/lib/services/index.d.ts +21 -21
- package/lib/services/lazy-load.service.d.ts +13 -13
- package/lib/services/list.service.d.ts +39 -39
- package/lib/services/localization.service.d.ts +47 -47
- package/lib/services/multi-tenancy.service.d.ts +22 -22
- package/lib/services/permission.service.d.ts +19 -19
- package/lib/services/replaceable-components.service.d.ts +19 -19
- package/lib/services/resource-wait.service.d.ts +15 -15
- package/lib/services/rest.service.d.ts +20 -20
- package/lib/services/router-events.service.d.ts +29 -29
- package/lib/services/router-wait.service.d.ts +20 -20
- package/lib/services/routes.service.d.ts +50 -50
- package/lib/services/session-state.service.d.ts +25 -25
- package/lib/services/subscription.service.d.ts +17 -17
- package/lib/services/track-by.service.d.ts +11 -11
- package/lib/strategies/auth-flow.strategy.d.ts +367 -367
- package/lib/strategies/container.strategy.d.ts +22 -22
- package/lib/strategies/content-security.strategy.d.ts +17 -17
- package/lib/strategies/content.strategy.d.ts +26 -26
- package/lib/strategies/context.strategy.d.ts +23 -23
- package/lib/strategies/cross-origin.strategy.d.ts +14 -14
- package/lib/strategies/dom.strategy.d.ts +13 -13
- package/lib/strategies/index.d.ts +8 -8
- package/lib/strategies/loading.strategy.d.ts +28 -28
- package/lib/strategies/projection.strategy.d.ts +39 -39
- package/lib/tokens/app-config.token.d.ts +3 -3
- package/lib/tokens/cookie-language-key.token.d.ts +2 -2
- package/lib/tokens/index.d.ts +8 -8
- package/lib/tokens/list.token.d.ts +2 -2
- package/lib/tokens/localization.token.d.ts +6 -6
- package/lib/tokens/lodaer-delay.token.d.ts +2 -2
- package/lib/tokens/manage-profile.token.d.ts +2 -2
- package/lib/tokens/options.token.d.ts +4 -4
- package/lib/tokens/tenant-key.token.d.ts +2 -2
- package/lib/utils/array-utils.d.ts +1 -1
- package/lib/utils/auth-utils.d.ts +162 -162
- package/lib/utils/common-utils.d.ts +9 -9
- package/lib/utils/date-extensions.d.ts +6 -6
- package/lib/utils/date-utils.d.ts +4 -4
- package/lib/utils/environment-utils.d.ts +3 -3
- package/lib/utils/factory-utils.d.ts +9 -9
- package/lib/utils/file-utils.d.ts +1 -1
- package/lib/utils/form-utils.d.ts +2 -2
- package/lib/utils/generator-utils.d.ts +3 -3
- package/lib/utils/http-utils.d.ts +8 -8
- package/lib/utils/index.d.ts +20 -20
- package/lib/utils/initial-utils.d.ts +159 -159
- package/lib/utils/internal-store-utils.d.ts +14 -14
- package/lib/utils/lazy-load-utils.d.ts +4 -4
- package/lib/utils/localization-utils.d.ts +5 -5
- package/lib/utils/multi-tenancy-utils.d.ts +3 -3
- package/lib/utils/number-utils.d.ts +1 -1
- package/lib/utils/object-utils.d.ts +1 -1
- package/lib/utils/route-utils.d.ts +8 -8
- package/lib/utils/string-utils.d.ts +3 -2
- package/lib/utils/tree-utils.d.ts +19 -19
- package/lib/validators/age.validator.d.ts +10 -10
- package/lib/validators/credit-card.validator.d.ts +5 -5
- package/lib/validators/index.d.ts +22 -22
- package/lib/validators/range.validator.d.ts +12 -12
- package/lib/validators/required.validator.d.ts +8 -8
- package/lib/validators/string-length.validator.d.ts +14 -14
- package/lib/validators/url.validator.d.ts +5 -5
- package/locale/abp-ng.core-locale.d.ts +5 -5
- package/locale/public-api.d.ts +1 -1
- package/locale/utils/register-locale.d.ts +13 -13
- package/package.json +2 -2
- package/public-api.d.ts +24 -24
- package/testing/abp-ng.core-testing.d.ts +5 -5
- package/testing/lib/core-testing.module.d.ts +16 -16
- package/testing/lib/services/index.d.ts +2 -2
- package/testing/lib/services/mock-permission.service.d.ts +10 -10
- package/testing/lib/services/mock-rest.service.d.ts +13 -13
- package/testing/lib/utils/clear-page.util.d.ts +2 -2
- package/testing/lib/utils/index.d.ts +2 -2
- package/testing/lib/utils/wait.util.d.ts +2 -2
- package/testing/public-api.d.ts +3 -3
|
@@ -1,159 +1,159 @@
|
|
|
1
|
-
import { Injector } from '@angular/core';
|
|
2
|
-
export declare function getInitialData(injector: Injector): () => Promise<{
|
|
3
|
-
localization?: {
|
|
4
|
-
values?: {
|
|
5
|
-
[x: string]: {
|
|
6
|
-
[x: string]: string;
|
|
7
|
-
};
|
|
8
|
-
};
|
|
9
|
-
languages?: import("@abp/ng.core").LanguageInfo[];
|
|
10
|
-
currentCulture?: {
|
|
11
|
-
displayName?: string;
|
|
12
|
-
englishName?: string;
|
|
13
|
-
threeLetterIsoLanguageName?: string;
|
|
14
|
-
twoLetterIsoLanguageName?: string;
|
|
15
|
-
isRightToLeft?: boolean;
|
|
16
|
-
cultureName?: string;
|
|
17
|
-
name?: string;
|
|
18
|
-
nativeName?: string;
|
|
19
|
-
dateTimeFormat?: {
|
|
20
|
-
calendarAlgorithmType?: string;
|
|
21
|
-
dateTimeFormatLong?: string;
|
|
22
|
-
shortDatePattern?: string;
|
|
23
|
-
fullDateTimePattern?: string;
|
|
24
|
-
dateSeparator?: string;
|
|
25
|
-
shortTimePattern?: string;
|
|
26
|
-
longTimePattern?: string;
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
defaultResourceName?: string;
|
|
30
|
-
languagesMap?: {
|
|
31
|
-
[x: string]: import("@abp/ng.core").NameValue<string>[];
|
|
32
|
-
};
|
|
33
|
-
languageFilesMap?: {
|
|
34
|
-
[x: string]: import("@abp/ng.core").NameValue<string>[];
|
|
35
|
-
};
|
|
36
|
-
};
|
|
37
|
-
auth?: {
|
|
38
|
-
policies?: {
|
|
39
|
-
[x: string]: boolean;
|
|
40
|
-
};
|
|
41
|
-
grantedPolicies?: {
|
|
42
|
-
[x: string]: boolean;
|
|
43
|
-
};
|
|
44
|
-
};
|
|
45
|
-
setting?: {
|
|
46
|
-
values?: {
|
|
47
|
-
[x: string]: string;
|
|
48
|
-
};
|
|
49
|
-
};
|
|
50
|
-
currentUser?: {
|
|
51
|
-
isAuthenticated?: boolean;
|
|
52
|
-
id?: string;
|
|
53
|
-
tenantId?: string;
|
|
54
|
-
userName?: string;
|
|
55
|
-
name?: string;
|
|
56
|
-
surName?: string;
|
|
57
|
-
email?: string;
|
|
58
|
-
emailVerified?: boolean;
|
|
59
|
-
phoneNumber?: string;
|
|
60
|
-
phoneNumberVerified?: boolean;
|
|
61
|
-
roles?: string[];
|
|
62
|
-
impersonatorUserId?: string;
|
|
63
|
-
impersonatorTenantId?: string;
|
|
64
|
-
};
|
|
65
|
-
features?: {
|
|
66
|
-
values?: {
|
|
67
|
-
[x: string]: string;
|
|
68
|
-
};
|
|
69
|
-
};
|
|
70
|
-
multiTenancy?: {
|
|
71
|
-
isEnabled?: boolean;
|
|
72
|
-
};
|
|
73
|
-
currentTenant?: {
|
|
74
|
-
id?: string;
|
|
75
|
-
name?: string;
|
|
76
|
-
isAvailable?: boolean;
|
|
77
|
-
};
|
|
78
|
-
timing?: {
|
|
79
|
-
timeZone?: {
|
|
80
|
-
iana?: {
|
|
81
|
-
timeZoneName?: string;
|
|
82
|
-
};
|
|
83
|
-
windows?: {
|
|
84
|
-
timeZoneId?: string;
|
|
85
|
-
};
|
|
86
|
-
};
|
|
87
|
-
};
|
|
88
|
-
clock?: {
|
|
89
|
-
kind?: string;
|
|
90
|
-
};
|
|
91
|
-
objectExtensions?: {
|
|
92
|
-
modules?: {
|
|
93
|
-
[x: string]: {
|
|
94
|
-
entities?: {
|
|
95
|
-
[x: string]: {
|
|
96
|
-
properties?: {
|
|
97
|
-
[x: string]: {
|
|
98
|
-
type?: string;
|
|
99
|
-
typeSimple?: string;
|
|
100
|
-
displayName?: {
|
|
101
|
-
name?: string;
|
|
102
|
-
resource?: string;
|
|
103
|
-
};
|
|
104
|
-
api?: {
|
|
105
|
-
onGet?: {
|
|
106
|
-
isAvailable?: boolean;
|
|
107
|
-
};
|
|
108
|
-
onCreate?: {
|
|
109
|
-
isAvailable?: boolean;
|
|
110
|
-
};
|
|
111
|
-
onUpdate?: {
|
|
112
|
-
isAvailable?: boolean;
|
|
113
|
-
};
|
|
114
|
-
};
|
|
115
|
-
ui?: {
|
|
116
|
-
onTable?: {
|
|
117
|
-
isVisible?: boolean;
|
|
118
|
-
};
|
|
119
|
-
onCreateForm?: {
|
|
120
|
-
isVisible?: boolean;
|
|
121
|
-
};
|
|
122
|
-
onEditForm?: {
|
|
123
|
-
isVisible?: boolean;
|
|
124
|
-
};
|
|
125
|
-
lookup?: {
|
|
126
|
-
url?: string;
|
|
127
|
-
resultListPropertyName?: string;
|
|
128
|
-
displayPropertyName?: string;
|
|
129
|
-
valuePropertyName?: string;
|
|
130
|
-
filterParamName?: string;
|
|
131
|
-
};
|
|
132
|
-
};
|
|
133
|
-
attributes?: import("@abp/ng.core").ExtensionPropertyAttributeDto[];
|
|
134
|
-
configuration?: {
|
|
135
|
-
[x: string]: object;
|
|
136
|
-
};
|
|
137
|
-
defaultValue?: object;
|
|
138
|
-
};
|
|
139
|
-
};
|
|
140
|
-
configuration?: {
|
|
141
|
-
[x: string]: object;
|
|
142
|
-
};
|
|
143
|
-
};
|
|
144
|
-
};
|
|
145
|
-
configuration?: {
|
|
146
|
-
[x: string]: object;
|
|
147
|
-
};
|
|
148
|
-
};
|
|
149
|
-
};
|
|
150
|
-
enums?: {
|
|
151
|
-
[x: string]: {
|
|
152
|
-
fields?: import("@abp/ng.core").ExtensionEnumFieldDto[];
|
|
153
|
-
localizationResource?: string;
|
|
154
|
-
};
|
|
155
|
-
};
|
|
156
|
-
};
|
|
157
|
-
}>;
|
|
158
|
-
export declare function checkAccessToken(injector: Injector): void;
|
|
159
|
-
export declare function localeInitializer(injector: Injector): () => Promise<unknown>;
|
|
1
|
+
import { Injector } from '@angular/core';
|
|
2
|
+
export declare function getInitialData(injector: Injector): () => Promise<{
|
|
3
|
+
localization?: {
|
|
4
|
+
values?: {
|
|
5
|
+
[x: string]: {
|
|
6
|
+
[x: string]: string;
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
languages?: import("@abp/ng.core").LanguageInfo[];
|
|
10
|
+
currentCulture?: {
|
|
11
|
+
displayName?: string;
|
|
12
|
+
englishName?: string;
|
|
13
|
+
threeLetterIsoLanguageName?: string;
|
|
14
|
+
twoLetterIsoLanguageName?: string;
|
|
15
|
+
isRightToLeft?: boolean;
|
|
16
|
+
cultureName?: string;
|
|
17
|
+
name?: string;
|
|
18
|
+
nativeName?: string;
|
|
19
|
+
dateTimeFormat?: {
|
|
20
|
+
calendarAlgorithmType?: string;
|
|
21
|
+
dateTimeFormatLong?: string;
|
|
22
|
+
shortDatePattern?: string;
|
|
23
|
+
fullDateTimePattern?: string;
|
|
24
|
+
dateSeparator?: string;
|
|
25
|
+
shortTimePattern?: string;
|
|
26
|
+
longTimePattern?: string;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
defaultResourceName?: string;
|
|
30
|
+
languagesMap?: {
|
|
31
|
+
[x: string]: import("@abp/ng.core").NameValue<string>[];
|
|
32
|
+
};
|
|
33
|
+
languageFilesMap?: {
|
|
34
|
+
[x: string]: import("@abp/ng.core").NameValue<string>[];
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
auth?: {
|
|
38
|
+
policies?: {
|
|
39
|
+
[x: string]: boolean;
|
|
40
|
+
};
|
|
41
|
+
grantedPolicies?: {
|
|
42
|
+
[x: string]: boolean;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
setting?: {
|
|
46
|
+
values?: {
|
|
47
|
+
[x: string]: string;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
currentUser?: {
|
|
51
|
+
isAuthenticated?: boolean;
|
|
52
|
+
id?: string;
|
|
53
|
+
tenantId?: string;
|
|
54
|
+
userName?: string;
|
|
55
|
+
name?: string;
|
|
56
|
+
surName?: string;
|
|
57
|
+
email?: string;
|
|
58
|
+
emailVerified?: boolean;
|
|
59
|
+
phoneNumber?: string;
|
|
60
|
+
phoneNumberVerified?: boolean;
|
|
61
|
+
roles?: string[];
|
|
62
|
+
impersonatorUserId?: string;
|
|
63
|
+
impersonatorTenantId?: string;
|
|
64
|
+
};
|
|
65
|
+
features?: {
|
|
66
|
+
values?: {
|
|
67
|
+
[x: string]: string;
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
multiTenancy?: {
|
|
71
|
+
isEnabled?: boolean;
|
|
72
|
+
};
|
|
73
|
+
currentTenant?: {
|
|
74
|
+
id?: string;
|
|
75
|
+
name?: string;
|
|
76
|
+
isAvailable?: boolean;
|
|
77
|
+
};
|
|
78
|
+
timing?: {
|
|
79
|
+
timeZone?: {
|
|
80
|
+
iana?: {
|
|
81
|
+
timeZoneName?: string;
|
|
82
|
+
};
|
|
83
|
+
windows?: {
|
|
84
|
+
timeZoneId?: string;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
clock?: {
|
|
89
|
+
kind?: string;
|
|
90
|
+
};
|
|
91
|
+
objectExtensions?: {
|
|
92
|
+
modules?: {
|
|
93
|
+
[x: string]: {
|
|
94
|
+
entities?: {
|
|
95
|
+
[x: string]: {
|
|
96
|
+
properties?: {
|
|
97
|
+
[x: string]: {
|
|
98
|
+
type?: string;
|
|
99
|
+
typeSimple?: string;
|
|
100
|
+
displayName?: {
|
|
101
|
+
name?: string;
|
|
102
|
+
resource?: string;
|
|
103
|
+
};
|
|
104
|
+
api?: {
|
|
105
|
+
onGet?: {
|
|
106
|
+
isAvailable?: boolean;
|
|
107
|
+
};
|
|
108
|
+
onCreate?: {
|
|
109
|
+
isAvailable?: boolean;
|
|
110
|
+
};
|
|
111
|
+
onUpdate?: {
|
|
112
|
+
isAvailable?: boolean;
|
|
113
|
+
};
|
|
114
|
+
};
|
|
115
|
+
ui?: {
|
|
116
|
+
onTable?: {
|
|
117
|
+
isVisible?: boolean;
|
|
118
|
+
};
|
|
119
|
+
onCreateForm?: {
|
|
120
|
+
isVisible?: boolean;
|
|
121
|
+
};
|
|
122
|
+
onEditForm?: {
|
|
123
|
+
isVisible?: boolean;
|
|
124
|
+
};
|
|
125
|
+
lookup?: {
|
|
126
|
+
url?: string;
|
|
127
|
+
resultListPropertyName?: string;
|
|
128
|
+
displayPropertyName?: string;
|
|
129
|
+
valuePropertyName?: string;
|
|
130
|
+
filterParamName?: string;
|
|
131
|
+
};
|
|
132
|
+
};
|
|
133
|
+
attributes?: import("@abp/ng.core").ExtensionPropertyAttributeDto[];
|
|
134
|
+
configuration?: {
|
|
135
|
+
[x: string]: object;
|
|
136
|
+
};
|
|
137
|
+
defaultValue?: object;
|
|
138
|
+
};
|
|
139
|
+
};
|
|
140
|
+
configuration?: {
|
|
141
|
+
[x: string]: object;
|
|
142
|
+
};
|
|
143
|
+
};
|
|
144
|
+
};
|
|
145
|
+
configuration?: {
|
|
146
|
+
[x: string]: object;
|
|
147
|
+
};
|
|
148
|
+
};
|
|
149
|
+
};
|
|
150
|
+
enums?: {
|
|
151
|
+
[x: string]: {
|
|
152
|
+
fields?: import("@abp/ng.core").ExtensionEnumFieldDto[];
|
|
153
|
+
localizationResource?: string;
|
|
154
|
+
};
|
|
155
|
+
};
|
|
156
|
+
};
|
|
157
|
+
}>;
|
|
158
|
+
export declare function checkAccessToken(injector: Injector): void;
|
|
159
|
+
export declare function localeInitializer(injector: Injector): () => Promise<unknown>;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { DeepPartial } from '../models';
|
|
2
|
-
export declare class InternalStore<State> {
|
|
3
|
-
private initialState;
|
|
4
|
-
private state$;
|
|
5
|
-
private update$;
|
|
6
|
-
get state(): State;
|
|
7
|
-
sliceState: <Slice>(selector: (state: State) => Slice, compareFn?: (s1: Slice, s2: Slice) => boolean) => import("rxjs").Observable<Slice>;
|
|
8
|
-
sliceUpdate: <Slice>(selector: (state: DeepPartial<State>) => Slice, filterFn?: (x: Slice) => boolean) => import("rxjs").Observable<Slice>;
|
|
9
|
-
constructor(initialState: State);
|
|
10
|
-
patch(state: Partial<State>): void;
|
|
11
|
-
deepPatch(state: DeepPartial<State>): void;
|
|
12
|
-
set(state: State): void;
|
|
13
|
-
reset(): void;
|
|
14
|
-
}
|
|
1
|
+
import { DeepPartial } from '../models';
|
|
2
|
+
export declare class InternalStore<State> {
|
|
3
|
+
private initialState;
|
|
4
|
+
private state$;
|
|
5
|
+
private update$;
|
|
6
|
+
get state(): State;
|
|
7
|
+
sliceState: <Slice>(selector: (state: State) => Slice, compareFn?: (s1: Slice, s2: Slice) => boolean) => import("rxjs").Observable<Slice>;
|
|
8
|
+
sliceUpdate: <Slice>(selector: (state: DeepPartial<State>) => Slice, filterFn?: (x: Slice) => boolean) => import("rxjs").Observable<Slice>;
|
|
9
|
+
constructor(initialState: State);
|
|
10
|
+
patch(state: Partial<State>): void;
|
|
11
|
+
deepPatch(state: DeepPartial<State>): void;
|
|
12
|
+
set(state: State): void;
|
|
13
|
+
reset(): void;
|
|
14
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import { CrossOriginStrategy } from '../strategies/cross-origin.strategy';
|
|
3
|
-
import { DomStrategy } from '../strategies/dom.strategy';
|
|
4
|
-
export declare function fromLazyLoad<T extends Event>(element: HTMLScriptElement | HTMLLinkElement, domStrategy?: DomStrategy, crossOriginStrategy?: CrossOriginStrategy): Observable<T>;
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { CrossOriginStrategy } from '../strategies/cross-origin.strategy';
|
|
3
|
+
import { DomStrategy } from '../strategies/dom.strategy';
|
|
4
|
+
export declare function fromLazyLoad<T extends Event>(element: HTMLScriptElement | HTMLLinkElement, domStrategy?: DomStrategy, crossOriginStrategy?: CrossOriginStrategy): Observable<T>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ApplicationLocalizationConfigurationDto } from '../proxy/volo/abp/asp-net-core/mvc/application-configurations/models';
|
|
2
|
-
export declare function getLocaleDirection(locale: string): 'ltr' | 'rtl';
|
|
3
|
-
export declare function createLocalizer(localization: ApplicationLocalizationConfigurationDto): (resourceName: string, key: string, defaultValue: string) => string;
|
|
4
|
-
export declare function createLocalizerWithFallback(localization: ApplicationLocalizationConfigurationDto): (resourceNames: string[], keys: string[], defaultValue: string) => string;
|
|
5
|
-
export declare function createLocalizationPipeKeyGenerator(localization: ApplicationLocalizationConfigurationDto): (resourceNames: string[], keys: string[], defaultKey: string | undefined) => string;
|
|
1
|
+
import { ApplicationLocalizationConfigurationDto } from '../proxy/volo/abp/asp-net-core/mvc/application-configurations/models';
|
|
2
|
+
export declare function getLocaleDirection(locale: string): 'ltr' | 'rtl';
|
|
3
|
+
export declare function createLocalizer(localization: ApplicationLocalizationConfigurationDto): (resourceName: string, key: string, defaultValue: string) => string;
|
|
4
|
+
export declare function createLocalizerWithFallback(localization: ApplicationLocalizationConfigurationDto): (resourceNames: string[], keys: string[], defaultValue: string) => string;
|
|
5
|
+
export declare function createLocalizationPipeKeyGenerator(localization: ApplicationLocalizationConfigurationDto): (resourceNames: string[], keys: string[], defaultKey: string | undefined) => string;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { Injector } from '@angular/core';
|
|
2
|
-
import { FindTenantResultDto } from '../proxy/volo/abp/asp-net-core/mvc/multi-tenancy/models';
|
|
3
|
-
export declare function parseTenantFromUrl(injector: Injector): Promise<void | FindTenantResultDto>;
|
|
1
|
+
import { Injector } from '@angular/core';
|
|
2
|
+
import { FindTenantResultDto } from '../proxy/volo/abp/asp-net-core/mvc/multi-tenancy/models';
|
|
3
|
+
export declare function parseTenantFromUrl(injector: Injector): Promise<void | FindTenantResultDto>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function isNumber(value: string | number): boolean;
|
|
1
|
+
export declare function isNumber(value: string | number): boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function deepMerge(target: any, source: any): any;
|
|
1
|
+
export declare function deepMerge(target: any, source: any): any;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { NgZone } from '@angular/core';
|
|
2
|
-
import { Router } from '@angular/router';
|
|
3
|
-
import { ABP } from '../models/common';
|
|
4
|
-
import { RoutesService } from '../services/routes.service';
|
|
5
|
-
import { TreeNode } from './tree-utils';
|
|
6
|
-
export declare function findRoute(routesService: RoutesService, path: string): TreeNode<ABP.Route>;
|
|
7
|
-
export declare function getRoutePath(router: Router, url?: string): string;
|
|
8
|
-
export declare function reloadRoute(router: Router, ngZone: NgZone): void;
|
|
1
|
+
import { NgZone } from '@angular/core';
|
|
2
|
+
import { Router } from '@angular/router';
|
|
3
|
+
import { ABP } from '../models/common';
|
|
4
|
+
import { RoutesService } from '../services/routes.service';
|
|
5
|
+
import { TreeNode } from './tree-utils';
|
|
6
|
+
export declare function findRoute(routesService: RoutesService, path: string): TreeNode<ABP.Route>;
|
|
7
|
+
export declare function getRoutePath(router: Router, url?: string): string;
|
|
8
|
+
export declare function reloadRoute(router: Router, ngZone: NgZone): void;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
export declare function createTokenParser(format: string): (str: string) => Record<string, string[]>;
|
|
2
|
-
export declare function interpolate(text: string, params: string[]): string;
|
|
1
|
+
export declare function createTokenParser(format: string): (str: string) => Record<string, string[]>;
|
|
2
|
+
export declare function interpolate(text: string, params: string[]): string;
|
|
3
|
+
export declare function escapeHtmlChars(value: string): string;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
export declare class BaseTreeNode<T extends object> {
|
|
2
|
-
children: TreeNode<T>[];
|
|
3
|
-
isLeaf: boolean;
|
|
4
|
-
parent?: TreeNode<T>;
|
|
5
|
-
constructor(props: T);
|
|
6
|
-
static create<T extends object>(props: T): TreeNode<T>;
|
|
7
|
-
}
|
|
8
|
-
export declare function createTreeFromList<T extends object, R extends unknown>(list: T[], keySelector: (item: T) => NodeKey, parentKeySelector: typeof keySelector, valueMapper: (item: T) => R): R[];
|
|
9
|
-
export declare function createMapFromList<T extends object, R extends unknown>(list: T[], keySelector: (item: T) => NodeKey, valueMapper: (item: T) => R): Map<NodeKey, R>;
|
|
10
|
-
export declare function createTreeNodeFilterCreator<T extends object>(key: keyof T, mapperFn: (value: any) => string): (search: string) => (nodes: TreeNode<T>[], matches?: any[]) => any[];
|
|
11
|
-
export declare type TreeNode<T extends object> = {
|
|
12
|
-
[K in keyof T]: T[K];
|
|
13
|
-
} & {
|
|
14
|
-
children: TreeNode<T>[];
|
|
15
|
-
isLeaf: boolean;
|
|
16
|
-
parent?: TreeNode<T>;
|
|
17
|
-
};
|
|
18
|
-
declare type NodeKey = number | string | symbol | undefined | null;
|
|
19
|
-
export {};
|
|
1
|
+
export declare class BaseTreeNode<T extends object> {
|
|
2
|
+
children: TreeNode<T>[];
|
|
3
|
+
isLeaf: boolean;
|
|
4
|
+
parent?: TreeNode<T>;
|
|
5
|
+
constructor(props: T);
|
|
6
|
+
static create<T extends object>(props: T): TreeNode<T>;
|
|
7
|
+
}
|
|
8
|
+
export declare function createTreeFromList<T extends object, R extends unknown>(list: T[], keySelector: (item: T) => NodeKey, parentKeySelector: typeof keySelector, valueMapper: (item: T) => R): R[];
|
|
9
|
+
export declare function createMapFromList<T extends object, R extends unknown>(list: T[], keySelector: (item: T) => NodeKey, valueMapper: (item: T) => R): Map<NodeKey, R>;
|
|
10
|
+
export declare function createTreeNodeFilterCreator<T extends object>(key: keyof T, mapperFn: (value: any) => string): (search: string) => (nodes: TreeNode<T>[], matches?: any[]) => any[];
|
|
11
|
+
export declare type TreeNode<T extends object> = {
|
|
12
|
+
[K in keyof T]: T[K];
|
|
13
|
+
} & {
|
|
14
|
+
children: TreeNode<T>[];
|
|
15
|
+
isLeaf: boolean;
|
|
16
|
+
parent?: TreeNode<T>;
|
|
17
|
+
};
|
|
18
|
+
declare type NodeKey = number | string | symbol | undefined | null;
|
|
19
|
+
export {};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { ValidatorFn } from '@angular/forms';
|
|
2
|
-
export interface MinAgeError {
|
|
3
|
-
minAge: {
|
|
4
|
-
age: number;
|
|
5
|
-
};
|
|
6
|
-
}
|
|
7
|
-
export interface MinAgeOptions {
|
|
8
|
-
age?: number;
|
|
9
|
-
}
|
|
10
|
-
export declare function validateMinAge({ age }?: MinAgeOptions): ValidatorFn;
|
|
1
|
+
import { ValidatorFn } from '@angular/forms';
|
|
2
|
+
export interface MinAgeError {
|
|
3
|
+
minAge: {
|
|
4
|
+
age: number;
|
|
5
|
+
};
|
|
6
|
+
}
|
|
7
|
+
export interface MinAgeOptions {
|
|
8
|
+
age?: number;
|
|
9
|
+
}
|
|
10
|
+
export declare function validateMinAge({ age }?: MinAgeOptions): ValidatorFn;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ValidatorFn } from '@angular/forms';
|
|
2
|
-
export interface CreditCardError {
|
|
3
|
-
creditCard: true;
|
|
4
|
-
}
|
|
5
|
-
export declare function validateCreditCard(): ValidatorFn;
|
|
1
|
+
import { ValidatorFn } from '@angular/forms';
|
|
2
|
+
export interface CreditCardError {
|
|
3
|
+
creditCard: true;
|
|
4
|
+
}
|
|
5
|
+
export declare function validateCreditCard(): ValidatorFn;
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { Validators } from '@angular/forms';
|
|
2
|
-
import { validateMinAge } from './age.validator';
|
|
3
|
-
import { validateCreditCard } from './credit-card.validator';
|
|
4
|
-
import { validateRange } from './range.validator';
|
|
5
|
-
import { validateRequired } from './required.validator';
|
|
6
|
-
import { validateStringLength } from './string-length.validator';
|
|
7
|
-
import { validateUrl } from './url.validator';
|
|
8
|
-
export * from './age.validator';
|
|
9
|
-
export * from './credit-card.validator';
|
|
10
|
-
export * from './range.validator';
|
|
11
|
-
export * from './required.validator';
|
|
12
|
-
export * from './string-length.validator';
|
|
13
|
-
export * from './url.validator';
|
|
14
|
-
export declare const AbpValidators: {
|
|
15
|
-
creditCard: typeof validateCreditCard;
|
|
16
|
-
emailAddress: () => typeof Validators.email;
|
|
17
|
-
minAge: typeof validateMinAge;
|
|
18
|
-
range: typeof validateRange;
|
|
19
|
-
required: typeof validateRequired;
|
|
20
|
-
stringLength: typeof validateStringLength;
|
|
21
|
-
url: typeof validateUrl;
|
|
22
|
-
};
|
|
1
|
+
import { Validators } from '@angular/forms';
|
|
2
|
+
import { validateMinAge } from './age.validator';
|
|
3
|
+
import { validateCreditCard } from './credit-card.validator';
|
|
4
|
+
import { validateRange } from './range.validator';
|
|
5
|
+
import { validateRequired } from './required.validator';
|
|
6
|
+
import { validateStringLength } from './string-length.validator';
|
|
7
|
+
import { validateUrl } from './url.validator';
|
|
8
|
+
export * from './age.validator';
|
|
9
|
+
export * from './credit-card.validator';
|
|
10
|
+
export * from './range.validator';
|
|
11
|
+
export * from './required.validator';
|
|
12
|
+
export * from './string-length.validator';
|
|
13
|
+
export * from './url.validator';
|
|
14
|
+
export declare const AbpValidators: {
|
|
15
|
+
creditCard: typeof validateCreditCard;
|
|
16
|
+
emailAddress: () => typeof Validators.email;
|
|
17
|
+
minAge: typeof validateMinAge;
|
|
18
|
+
range: typeof validateRange;
|
|
19
|
+
required: typeof validateRequired;
|
|
20
|
+
stringLength: typeof validateStringLength;
|
|
21
|
+
url: typeof validateUrl;
|
|
22
|
+
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { ValidatorFn } from '@angular/forms';
|
|
2
|
-
export interface RangeError {
|
|
3
|
-
range: {
|
|
4
|
-
max: number;
|
|
5
|
-
min: number;
|
|
6
|
-
};
|
|
7
|
-
}
|
|
8
|
-
export interface RangeOptions {
|
|
9
|
-
maximum?: number;
|
|
10
|
-
minimum?: number;
|
|
11
|
-
}
|
|
12
|
-
export declare function validateRange({ maximum, minimum }?: RangeOptions): ValidatorFn;
|
|
1
|
+
import { ValidatorFn } from '@angular/forms';
|
|
2
|
+
export interface RangeError {
|
|
3
|
+
range: {
|
|
4
|
+
max: number;
|
|
5
|
+
min: number;
|
|
6
|
+
};
|
|
7
|
+
}
|
|
8
|
+
export interface RangeOptions {
|
|
9
|
+
maximum?: number;
|
|
10
|
+
minimum?: number;
|
|
11
|
+
}
|
|
12
|
+
export declare function validateRange({ maximum, minimum }?: RangeOptions): ValidatorFn;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ValidatorFn } from '@angular/forms';
|
|
2
|
-
export interface RequiredError {
|
|
3
|
-
required: true;
|
|
4
|
-
}
|
|
5
|
-
export interface RequiredOptions {
|
|
6
|
-
allowEmptyStrings?: boolean;
|
|
7
|
-
}
|
|
8
|
-
export declare function validateRequired({ allowEmptyStrings }?: RequiredOptions): ValidatorFn;
|
|
1
|
+
import { ValidatorFn } from '@angular/forms';
|
|
2
|
+
export interface RequiredError {
|
|
3
|
+
required: true;
|
|
4
|
+
}
|
|
5
|
+
export interface RequiredOptions {
|
|
6
|
+
allowEmptyStrings?: boolean;
|
|
7
|
+
}
|
|
8
|
+
export declare function validateRequired({ allowEmptyStrings }?: RequiredOptions): ValidatorFn;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { ValidatorFn } from '@angular/forms';
|
|
2
|
-
export interface StringLengthError {
|
|
3
|
-
maxlength?: {
|
|
4
|
-
requiredLength: number;
|
|
5
|
-
};
|
|
6
|
-
minlength?: {
|
|
7
|
-
requiredLength: number;
|
|
8
|
-
};
|
|
9
|
-
}
|
|
10
|
-
export interface StringLengthOptions {
|
|
11
|
-
maximumLength?: number;
|
|
12
|
-
minimumLength?: number;
|
|
13
|
-
}
|
|
14
|
-
export declare function validateStringLength({ maximumLength, minimumLength, }?: StringLengthOptions): ValidatorFn;
|
|
1
|
+
import { ValidatorFn } from '@angular/forms';
|
|
2
|
+
export interface StringLengthError {
|
|
3
|
+
maxlength?: {
|
|
4
|
+
requiredLength: number;
|
|
5
|
+
};
|
|
6
|
+
minlength?: {
|
|
7
|
+
requiredLength: number;
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
export interface StringLengthOptions {
|
|
11
|
+
maximumLength?: number;
|
|
12
|
+
minimumLength?: number;
|
|
13
|
+
}
|
|
14
|
+
export declare function validateStringLength({ maximumLength, minimumLength, }?: StringLengthOptions): ValidatorFn;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ValidatorFn } from '@angular/forms';
|
|
2
|
-
export interface UrlError {
|
|
3
|
-
url: true;
|
|
4
|
-
}
|
|
5
|
-
export declare function validateUrl(): ValidatorFn;
|
|
1
|
+
import { ValidatorFn } from '@angular/forms';
|
|
2
|
+
export interface UrlError {
|
|
3
|
+
url: true;
|
|
4
|
+
}
|
|
5
|
+
export declare function validateUrl(): ValidatorFn;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated bundle index. Do not edit.
|
|
3
|
-
*/
|
|
4
|
-
/// <amd-module name="@abp/ng.core/locale" />
|
|
5
|
-
export * from './public-api';
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
/// <amd-module name="@abp/ng.core/locale" />
|
|
5
|
+
export * from './public-api';
|
package/locale/public-api.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './utils/register-locale';
|
|
1
|
+
export * from './utils/register-locale';
|