@mediusinc/mng-commons 7.4.0 → 8.0.0-rc.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 +74 -62
- package/fesm2022/mediusinc-mng-commons-core.mjs +159 -302
- package/fesm2022/mediusinc-mng-commons-core.mjs.map +1 -1
- package/fesm2022/mediusinc-mng-commons-filter.mjs +3 -9
- package/fesm2022/mediusinc-mng-commons-filter.mjs.map +1 -1
- package/fesm2022/mediusinc-mng-commons-form-api.mjs +4 -4
- package/fesm2022/mediusinc-mng-commons-form-api.mjs.map +1 -1
- package/fesm2022/mediusinc-mng-commons-form.mjs +285 -203
- package/fesm2022/mediusinc-mng-commons-form.mjs.map +1 -1
- package/fesm2022/mediusinc-mng-commons-model.mjs +2 -5
- package/fesm2022/mediusinc-mng-commons-model.mjs.map +1 -1
- package/fesm2022/mediusinc-mng-commons-table-api.mjs +1 -0
- package/fesm2022/mediusinc-mng-commons-table-api.mjs.map +1 -1
- package/fesm2022/{mediusinc-mng-commons-table-column-toggle.component-BS5xvoDR.mjs → mediusinc-mng-commons-table-column-toggle.component-BHIzrUZz.mjs} +14 -12
- package/fesm2022/mediusinc-mng-commons-table-column-toggle.component-BHIzrUZz.mjs.map +1 -0
- package/fesm2022/{mediusinc-mng-commons-table-mediusinc-mng-commons-table-BfEYZG7s.mjs → mediusinc-mng-commons-table-mediusinc-mng-commons-table-BPgwJRZk.mjs} +558 -522
- package/fesm2022/mediusinc-mng-commons-table-mediusinc-mng-commons-table-BPgwJRZk.mjs.map +1 -0
- package/fesm2022/mediusinc-mng-commons-table.mjs +1 -1
- package/fesm2022/mediusinc-mng-commons-tableview-api.mjs +10 -75
- package/fesm2022/mediusinc-mng-commons-tableview-api.mjs.map +1 -1
- package/fesm2022/mediusinc-mng-commons-tableview.mjs +460 -326
- package/fesm2022/mediusinc-mng-commons-tableview.mjs.map +1 -1
- package/fesm2022/mediusinc-mng-commons.mjs.map +1 -1
- package/i18n/en.json +1 -1
- package/i18n/sl.json +2 -2
- package/package.json +11 -24
- package/types/mediusinc-mng-commons-core.d.ts +55 -115
- package/types/mediusinc-mng-commons-filter.d.ts +4 -8
- package/types/mediusinc-mng-commons-form-api.d.ts +7 -7
- package/types/mediusinc-mng-commons-form.d.ts +11 -11
- package/types/mediusinc-mng-commons-table-api.d.ts +2 -2
- package/types/mediusinc-mng-commons-table.d.ts +21 -25
- package/types/mediusinc-mng-commons-tableview-api.d.ts +9 -51
- package/types/mediusinc-mng-commons-tableview.d.ts +9 -15
- package/fesm2022/mediusinc-mng-commons-model-class.mjs +0 -97
- package/fesm2022/mediusinc-mng-commons-model-class.mjs.map +0 -1
- package/fesm2022/mediusinc-mng-commons-table-api-class.mjs +0 -204
- package/fesm2022/mediusinc-mng-commons-table-api-class.mjs.map +0 -1
- package/fesm2022/mediusinc-mng-commons-table-column-toggle.component-BS5xvoDR.mjs.map +0 -1
- package/fesm2022/mediusinc-mng-commons-table-mediusinc-mng-commons-table-BfEYZG7s.mjs.map +0 -1
- package/fesm2022/mediusinc-mng-commons-tableview-api-class.mjs +0 -374
- package/fesm2022/mediusinc-mng-commons-tableview-api-class.mjs.map +0 -1
- package/model/class/README.md +0 -8
- package/table/api/class/README.md +0 -10
- package/tableview/api/class/README.md +0 -13
- package/types/mediusinc-mng-commons-model-class.d.ts +0 -25
- package/types/mediusinc-mng-commons-table-api-class.d.ts +0 -77
- package/types/mediusinc-mng-commons-tableview-api-class.d.ts +0 -141
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mediusinc-mng-commons.mjs","sources":["../../src/provide.ts","../../src/mediusinc-mng-commons.ts"],"sourcesContent":["import {EnvironmentProviders, Provider} from '@angular/core';\n\nimport {CommonsModuleConfig, provideCommons} from '@mediusinc/mng-commons/core';\nimport {TableviewFeatureConfig, withTableview} from '@mediusinc/mng-commons/tableview';\n\nexport type CommonsAllConfig = CommonsModuleConfig & {\n tableview?: TableviewFeatureConfig;\n};\n\nexport function provideCommonsWithTableview(config: CommonsAllConfig): (Provider | EnvironmentProviders)[] {\n return provideCommons(config, withTableview(config?.tableview));\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AASM,SAAU,2BAA2B,CAAC,MAAwB,EAAA;IAChE,OAAO,cAAc,CAAC,MAAM,EAAE,aAAa,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC;AACnE;;ACXA;;AAEG
|
|
1
|
+
{"version":3,"file":"mediusinc-mng-commons.mjs","sources":["../../src/provide.ts","../../src/mediusinc-mng-commons.ts"],"sourcesContent":["import {EnvironmentProviders, Provider} from '@angular/core';\n\nimport {CommonsModuleConfig, provideCommons} from '@mediusinc/mng-commons/core';\nimport {TableviewFeatureConfig, withTableview} from '@mediusinc/mng-commons/tableview';\n\nexport type CommonsAllConfig = CommonsModuleConfig & {\n tableview?: TableviewFeatureConfig;\n};\n\nexport function provideCommonsWithTableview(config: CommonsAllConfig): (Provider | EnvironmentProviders)[] {\n return provideCommons(config, withTableview(config?.tableview));\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AASM,SAAU,2BAA2B,CAAC,MAAwB,EAAA;IAChE,OAAO,cAAc,CAAC,MAAM,EAAE,aAAa,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC;AACnE;;ACXA;;AAEG;;"}
|
package/i18n/en.json
CHANGED
package/i18n/sl.json
CHANGED
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
"autoSave": {
|
|
98
98
|
"autosavedAt": "<strong>Lokalno shranjeno</strong> ob {{timestamp}}.",
|
|
99
99
|
"preview": "<strong>Pregled:</strong> Lokalno shranjeno iz {{timestamp}}.",
|
|
100
|
-
"previewCurrent": "<strong>Pregled:</strong>
|
|
100
|
+
"previewCurrent": "<strong>Pregled:</strong> trenutno stanje.",
|
|
101
101
|
"restored": "<strong>Obnovitev:</strong> lokalno shranjeno stanje iz {{timestamp}}.",
|
|
102
102
|
"restore": {
|
|
103
103
|
"title": "Obnovitev samodejno shranjenega obrazca iz {{lastChange}}?",
|
|
@@ -229,7 +229,7 @@
|
|
|
229
229
|
"localization-add": {
|
|
230
230
|
"title": "Prevodi: {{fieldName}}"
|
|
231
231
|
},
|
|
232
|
-
"
|
|
232
|
+
"optimus": {
|
|
233
233
|
"startsWith": "Se začne z",
|
|
234
234
|
"contains": "Vsebuje",
|
|
235
235
|
"notContains": "Ne vsebuje",
|
package/package.json
CHANGED
|
@@ -1,19 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mediusinc/mng-commons",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "8.0.0-rc.2",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
-
"@angular/
|
|
6
|
-
"@angular/
|
|
7
|
-
"@angular/
|
|
8
|
-
"@angular/
|
|
9
|
-
"@angular/
|
|
10
|
-
"@
|
|
11
|
-
"@ngx-
|
|
12
|
-
"@
|
|
13
|
-
"primeng": "~21.0.0"
|
|
5
|
+
"@angular/common": "^22.1.0",
|
|
6
|
+
"@angular/core": "^22.1.0",
|
|
7
|
+
"@angular/forms": "^22.1.0",
|
|
8
|
+
"@angular/platform-browser": "^22.1.0",
|
|
9
|
+
"@angular/router": "^22.1.0",
|
|
10
|
+
"@ngx-formly/core": "~7.1.0",
|
|
11
|
+
"@ngx-translate/core": "^18.0.0",
|
|
12
|
+
"@openng/optimus-ui": "^2.0.0"
|
|
14
13
|
},
|
|
15
14
|
"dependencies": {
|
|
16
|
-
"reflect-metadata": "^0.2.2",
|
|
17
15
|
"tslib": "^2.8.1"
|
|
18
16
|
},
|
|
19
17
|
"publishConfig": {
|
|
@@ -50,10 +48,6 @@
|
|
|
50
48
|
"types": "./types/mediusinc-mng-commons-model.d.ts",
|
|
51
49
|
"default": "./fesm2022/mediusinc-mng-commons-model.mjs"
|
|
52
50
|
},
|
|
53
|
-
"./model/class": {
|
|
54
|
-
"types": "./types/mediusinc-mng-commons-model-class.d.ts",
|
|
55
|
-
"default": "./fesm2022/mediusinc-mng-commons-model-class.mjs"
|
|
56
|
-
},
|
|
57
51
|
"./table": {
|
|
58
52
|
"types": "./types/mediusinc-mng-commons-table.d.ts",
|
|
59
53
|
"default": "./fesm2022/mediusinc-mng-commons-table.mjs"
|
|
@@ -62,10 +56,6 @@
|
|
|
62
56
|
"types": "./types/mediusinc-mng-commons-table-api.d.ts",
|
|
63
57
|
"default": "./fesm2022/mediusinc-mng-commons-table-api.mjs"
|
|
64
58
|
},
|
|
65
|
-
"./table/api/class": {
|
|
66
|
-
"types": "./types/mediusinc-mng-commons-table-api-class.d.ts",
|
|
67
|
-
"default": "./fesm2022/mediusinc-mng-commons-table-api-class.mjs"
|
|
68
|
-
},
|
|
69
59
|
"./tableview": {
|
|
70
60
|
"types": "./types/mediusinc-mng-commons-tableview.d.ts",
|
|
71
61
|
"default": "./fesm2022/mediusinc-mng-commons-tableview.mjs"
|
|
@@ -73,10 +63,7 @@
|
|
|
73
63
|
"./tableview/api": {
|
|
74
64
|
"types": "./types/mediusinc-mng-commons-tableview-api.d.ts",
|
|
75
65
|
"default": "./fesm2022/mediusinc-mng-commons-tableview-api.mjs"
|
|
76
|
-
},
|
|
77
|
-
"./tableview/api/class": {
|
|
78
|
-
"types": "./types/mediusinc-mng-commons-tableview-api-class.d.ts",
|
|
79
|
-
"default": "./fesm2022/mediusinc-mng-commons-tableview-api-class.mjs"
|
|
80
66
|
}
|
|
81
|
-
}
|
|
67
|
+
},
|
|
68
|
+
"type": "module"
|
|
82
69
|
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import * as _angular_router from '@angular/router';
|
|
2
|
-
import { ActivatedRoute, Params, ActivatedRouteSnapshot, RouterStateSnapshot, QueryParamsHandling, Data, Route, Routes, CanActivateFn, CanDeactivateFn, ResolveFn, LoadChildren, DefaultExport } from '@angular/router';
|
|
2
|
+
import { ActivatedRoute, Params, ActivatedRouteSnapshot, RouterStateSnapshot, IsActiveMatchOptions, QueryParamsHandling, Data, Route, Routes, CanActivateFn, CanDeactivateFn, ResolveFn, LoadChildren, DefaultExport } from '@angular/router';
|
|
3
3
|
import * as rxjs from 'rxjs';
|
|
4
4
|
import { Observable, OperatorFunction } from 'rxjs';
|
|
5
5
|
import * as i0 from '@angular/core';
|
|
6
6
|
import { Type, InjectionToken, Injector, ComponentRef, TemplateRef, InputSignal, ErrorHandler, WritableSignal, Signal, PipeTransform, EffectRef, Provider, EnvironmentProviders } from '@angular/core';
|
|
7
|
-
import { ToastMessageOptions, FilterMetadata, MessageService, MenuItem } from '
|
|
8
|
-
import { TableLazyLoadEvent } from '
|
|
7
|
+
import { ToastMessageOptions, FilterMetadata, MessageService, MenuItem } from '@openng/optimus-ui/api';
|
|
8
|
+
import { TableLazyLoadEvent } from '@openng/optimus-ui/table';
|
|
9
9
|
import { HttpErrorResponse, HttpClient, HttpBackend } from '@angular/common/http';
|
|
10
10
|
import * as _mediusinc_mng_commons_core from '@mediusinc/mng-commons/core';
|
|
11
|
-
import { TranslateService,
|
|
11
|
+
import { TranslateService, StrictTranslation, Translation } from '@ngx-translate/core';
|
|
12
12
|
|
|
13
13
|
type ActionData = {
|
|
14
14
|
[key: string]: any;
|
|
@@ -17,36 +17,36 @@ type ActionData = {
|
|
|
17
17
|
type FilterMatchModeType = 'equals' | 'notEquals' | 'contains' | 'notContains' | 'in' | 'notIn' | 'startsWith' | 'endsWith' | 'lessThan' | 'lessThanOrEqualTo' | 'greaterThan' | 'greaterThanOrEqualTo' | 'between' | 'exists' | 'doesNotExist';
|
|
18
18
|
type FilterMatchModeExtendedType = FilterMatchModeType | string;
|
|
19
19
|
declare class FilterMatchMode {
|
|
20
|
-
static Equals: FilterMatchModeType;
|
|
21
|
-
static EqualsAbbr
|
|
22
|
-
static NotEquals: FilterMatchModeType;
|
|
23
|
-
static NotEqualsAbbr
|
|
24
|
-
static Contains: FilterMatchModeType;
|
|
25
|
-
static ContainsAbbr
|
|
26
|
-
static NotContains: FilterMatchModeType;
|
|
27
|
-
static NotContainsAbbr
|
|
28
|
-
static In: FilterMatchModeType;
|
|
29
|
-
static InAbbr
|
|
30
|
-
static NotIn: FilterMatchModeType;
|
|
31
|
-
static NotInAbbr
|
|
32
|
-
static StartsWith: FilterMatchModeType;
|
|
33
|
-
static StartsWithAbbr
|
|
34
|
-
static EndsWith: FilterMatchModeType;
|
|
35
|
-
static EndsWithAbbr
|
|
36
|
-
static LessThan: FilterMatchModeType;
|
|
37
|
-
static LessThanAbbr
|
|
38
|
-
static LessThanOrEqualTo: FilterMatchModeType;
|
|
39
|
-
static LessThanOrEqualToAbbr
|
|
40
|
-
static GreaterThan: FilterMatchModeType;
|
|
41
|
-
static GreaterThanAbbr
|
|
42
|
-
static GreaterThanOrEqualTo: FilterMatchModeType;
|
|
43
|
-
static GreaterThanOrEqualToAbbr
|
|
44
|
-
static Between: FilterMatchModeType;
|
|
45
|
-
static BetweenAbbr
|
|
46
|
-
static Exists: FilterMatchModeType;
|
|
47
|
-
static ExistsAbbr
|
|
48
|
-
static DoesNotExist: FilterMatchModeType;
|
|
49
|
-
static DoesNotExistAbbr
|
|
20
|
+
static readonly Equals: FilterMatchModeType;
|
|
21
|
+
static readonly EqualsAbbr = "eq";
|
|
22
|
+
static readonly NotEquals: FilterMatchModeType;
|
|
23
|
+
static readonly NotEqualsAbbr = "ne";
|
|
24
|
+
static readonly Contains: FilterMatchModeType;
|
|
25
|
+
static readonly ContainsAbbr = "cn";
|
|
26
|
+
static readonly NotContains: FilterMatchModeType;
|
|
27
|
+
static readonly NotContainsAbbr = "nc";
|
|
28
|
+
static readonly In: FilterMatchModeType;
|
|
29
|
+
static readonly InAbbr = "in";
|
|
30
|
+
static readonly NotIn: FilterMatchModeType;
|
|
31
|
+
static readonly NotInAbbr = "ni";
|
|
32
|
+
static readonly StartsWith: FilterMatchModeType;
|
|
33
|
+
static readonly StartsWithAbbr = "sw";
|
|
34
|
+
static readonly EndsWith: FilterMatchModeType;
|
|
35
|
+
static readonly EndsWithAbbr = "ew";
|
|
36
|
+
static readonly LessThan: FilterMatchModeType;
|
|
37
|
+
static readonly LessThanAbbr = "lt";
|
|
38
|
+
static readonly LessThanOrEqualTo: FilterMatchModeType;
|
|
39
|
+
static readonly LessThanOrEqualToAbbr = "le";
|
|
40
|
+
static readonly GreaterThan: FilterMatchModeType;
|
|
41
|
+
static readonly GreaterThanAbbr = "gt";
|
|
42
|
+
static readonly GreaterThanOrEqualTo: FilterMatchModeType;
|
|
43
|
+
static readonly GreaterThanOrEqualToAbbr = "ge";
|
|
44
|
+
static readonly Between: FilterMatchModeType;
|
|
45
|
+
static readonly BetweenAbbr = "bt";
|
|
46
|
+
static readonly Exists: FilterMatchModeType;
|
|
47
|
+
static readonly ExistsAbbr = "ex";
|
|
48
|
+
static readonly DoesNotExist: FilterMatchModeType;
|
|
49
|
+
static readonly DoesNotExistAbbr = "nx";
|
|
50
50
|
static getAbbreviation(mode: string): string | null;
|
|
51
51
|
static fromAbbreviation(abbr: string): string | null;
|
|
52
52
|
}
|
|
@@ -272,7 +272,7 @@ interface FilterState extends Omit<FilterMetadata, 'matchMode'> {
|
|
|
272
272
|
*/
|
|
273
273
|
displayMatchMode?: FilterMatchModeExtendedType;
|
|
274
274
|
/**
|
|
275
|
-
* Overridden
|
|
275
|
+
* Overridden Optimus UI FilterMetadata to have more specific type.
|
|
276
276
|
*/
|
|
277
277
|
matchMode?: FilterMatchModeExtendedType;
|
|
278
278
|
/**
|
|
@@ -746,12 +746,12 @@ declare function dateToIsoString(value: string | number | Date, type: 'date-time
|
|
|
746
746
|
declare function dateToIsoString(value: undefined | null | unknown, type?: 'date'): null;
|
|
747
747
|
declare function dateToIsoString(value: undefined | null | unknown, type: 'date-time' | 'dateTime', dateTimeOpts?: toIsoStringDateTimeOptsType): null;
|
|
748
748
|
declare function dateToIsoString(value: unknown, type?: toIsoStringTypeOptType, dateTimeOpts?: toIsoStringDateTimeOptsType): string | null;
|
|
749
|
-
declare function
|
|
749
|
+
declare function fromAngularDateFormatToOptimus(ngDateFormat: string): string;
|
|
750
750
|
declare function angularDateFormatHasTime(ngDateFormat: string): boolean;
|
|
751
751
|
declare function angularDateFormatHasSeconds(ngDateFormat: string): boolean;
|
|
752
752
|
|
|
753
|
-
type
|
|
754
|
-
declare function
|
|
753
|
+
type OptimusMessageSeverityType = 'success' | 'info' | 'warn' | 'error' | 'secondary' | 'contrast';
|
|
754
|
+
declare function narrowOptimusMessageSeverity(s: string | undefined | null): OptimusMessageSeverityType | undefined;
|
|
755
755
|
|
|
756
756
|
/**
|
|
757
757
|
* Returns true if the current platform is macOS.
|
|
@@ -899,9 +899,15 @@ interface CommonsMenuItem {
|
|
|
899
899
|
isVisible?: ((menuItem: CommonsMenuItem) => Observable<boolean> | boolean) | boolean;
|
|
900
900
|
disabled?: boolean;
|
|
901
901
|
routerLink?: string | Array<string> | null;
|
|
902
|
+
routerLinkActiveOptions?: {
|
|
903
|
+
exact: boolean;
|
|
904
|
+
} | IsActiveMatchOptions;
|
|
902
905
|
href?: string;
|
|
903
906
|
hrefExternalIcon?: string | null;
|
|
904
907
|
target?: string;
|
|
908
|
+
state?: {
|
|
909
|
+
[k: string]: any;
|
|
910
|
+
};
|
|
905
911
|
queryParams?: {
|
|
906
912
|
[k: string]: any;
|
|
907
913
|
};
|
|
@@ -941,9 +947,15 @@ declare function adjustRouteMenuLazyChildrenRouterLinks(rootMenuItem: MenuItem |
|
|
|
941
947
|
isVisible?: ((menuItem: CommonsMenuItem) => rxjs.Observable<boolean> | boolean) | boolean;
|
|
942
948
|
disabled?: boolean;
|
|
943
949
|
routerLink?: string | Array<string> | null;
|
|
950
|
+
routerLinkActiveOptions?: {
|
|
951
|
+
exact: boolean;
|
|
952
|
+
} | _angular_router.IsActiveMatchOptions;
|
|
944
953
|
href?: string;
|
|
945
954
|
hrefExternalIcon?: string | null;
|
|
946
955
|
target?: string;
|
|
956
|
+
state?: {
|
|
957
|
+
[k: string]: any;
|
|
958
|
+
};
|
|
947
959
|
queryParams?: {
|
|
948
960
|
[k: string]: any;
|
|
949
961
|
};
|
|
@@ -1157,13 +1169,6 @@ declare class LoggerService implements ILoggerService {
|
|
|
1157
1169
|
error(msgOrError: string | Error, ...data: any[]): void;
|
|
1158
1170
|
}
|
|
1159
1171
|
|
|
1160
|
-
interface ClassAttributeDef {
|
|
1161
|
-
name: string;
|
|
1162
|
-
baseName: string;
|
|
1163
|
-
type: string;
|
|
1164
|
-
subtype?: string;
|
|
1165
|
-
}
|
|
1166
|
-
|
|
1167
1172
|
type GetterFn<Value = Nullable<any>, Item = any, ReturnType = any> = (value: Value, item: Item) => ReturnType;
|
|
1168
1173
|
|
|
1169
1174
|
type I18nMissingTranslationStrategy = 'returnNull' | 'returnFallbackKey' | 'returnFirstKey';
|
|
@@ -1274,72 +1279,6 @@ declare function effectWithDeps<Input extends readonly unknown[], Params = Input
|
|
|
1274
1279
|
injector?: Injector;
|
|
1275
1280
|
}): EffectRef;
|
|
1276
1281
|
|
|
1277
|
-
declare function TypeName(typeName: string): ClassDecorator;
|
|
1278
|
-
declare function EnumName(typeName: string): ClassDecorator;
|
|
1279
|
-
|
|
1280
|
-
declare const reflectTypeNameKey = "typeName";
|
|
1281
|
-
declare const reflectEnumNameKey = "enumName";
|
|
1282
|
-
/**
|
|
1283
|
-
* Defines type name decorator.
|
|
1284
|
-
* @param targetType class.
|
|
1285
|
-
* @param typeName Name of the type.
|
|
1286
|
-
*/
|
|
1287
|
-
declare function defineReflectTypeName(targetType: ClassType<any>, typeName: string): void;
|
|
1288
|
-
/**
|
|
1289
|
-
* Defines enum name decorator.
|
|
1290
|
-
* @param targetType enum object.
|
|
1291
|
-
* @param enumName Name of the enum.
|
|
1292
|
-
*/
|
|
1293
|
-
declare function defineReflectEnumName(targetType: EnumType, enumName: string): void;
|
|
1294
|
-
/**
|
|
1295
|
-
* Gets type name from reflect metadata.
|
|
1296
|
-
* @param type Class.
|
|
1297
|
-
*/
|
|
1298
|
-
declare function findReflectTypeName<T>(type?: ClassType<T>): string | null;
|
|
1299
|
-
/**
|
|
1300
|
-
* Gets type name from either decorator or reflect metadata.
|
|
1301
|
-
* @param type Class.
|
|
1302
|
-
*/
|
|
1303
|
-
declare function reflectTypeNameExists(type: ClassType<any>): boolean;
|
|
1304
|
-
/**
|
|
1305
|
-
* Gets enum name from either decorator or reflect metadata.
|
|
1306
|
-
* @param enumType Class.
|
|
1307
|
-
*/
|
|
1308
|
-
declare function findReflectEnumName(enumType: EnumType): string | null;
|
|
1309
|
-
|
|
1310
|
-
interface RegistryTypeMap {
|
|
1311
|
-
[index: string]: ClassType<any>;
|
|
1312
|
-
}
|
|
1313
|
-
interface RegistryEnumMap {
|
|
1314
|
-
[index: string]: EnumType;
|
|
1315
|
-
}
|
|
1316
|
-
|
|
1317
|
-
declare class TypeRegistry {
|
|
1318
|
-
private static _instance;
|
|
1319
|
-
private readonly _logCategory;
|
|
1320
|
-
private readonly _typeMap;
|
|
1321
|
-
private readonly _enumMap;
|
|
1322
|
-
get typeMap(): RegistryTypeMap;
|
|
1323
|
-
get enumMap(): RegistryEnumMap;
|
|
1324
|
-
/**
|
|
1325
|
-
* Only use one instance of object (out of Angular context)
|
|
1326
|
-
*/
|
|
1327
|
-
static get(): TypeRegistry;
|
|
1328
|
-
findAttributeDefinitionByClassType(type: ClassType<any>, attributeName: string): ClassAttributeDef | null;
|
|
1329
|
-
findAttributeDefinition(typeName: string, attributeName: string): ClassAttributeDef | null;
|
|
1330
|
-
findAttributesDefinitionByClassType(type: ClassType<any>): Array<ClassAttributeDef> | null;
|
|
1331
|
-
findAttributesDefinition(typeName: string): Array<ClassAttributeDef> | null;
|
|
1332
|
-
findByClassType(type: ClassType<any>): any;
|
|
1333
|
-
findType(typeName: string): any;
|
|
1334
|
-
findEnum(enumName: string): any;
|
|
1335
|
-
registerTypes(types: RegistryTypeMap): void;
|
|
1336
|
-
registerType(type: ClassType<any>, optTypeName?: string): void;
|
|
1337
|
-
clearTypes(): void;
|
|
1338
|
-
registerEnums(enums: RegistryEnumMap): void;
|
|
1339
|
-
registerEnum(enumType: EnumType, enumName: string): void;
|
|
1340
|
-
clearEnums(): void;
|
|
1341
|
-
}
|
|
1342
|
-
|
|
1343
1282
|
type BreadcrumbType = string | string[] | BreadcrumbMenuItem | BreadcrumbMenuItem[] | ((routeUrl: string, route: ActivatedRouteSnapshot) => BreadcrumbMenuItem[]);
|
|
1344
1283
|
interface BreadcrumbMenuItem extends CommonsMenuItem {
|
|
1345
1284
|
isHome?: boolean;
|
|
@@ -1638,7 +1577,7 @@ declare class CommonsService {
|
|
|
1638
1577
|
#private;
|
|
1639
1578
|
private readonly logger;
|
|
1640
1579
|
private readonly router;
|
|
1641
|
-
private readonly
|
|
1580
|
+
private readonly optimusConfig;
|
|
1642
1581
|
private readonly translate;
|
|
1643
1582
|
private readonly titleService;
|
|
1644
1583
|
private readonly moduleConfig;
|
|
@@ -1752,7 +1691,8 @@ declare enum CommonsFeatureTypeEnum {
|
|
|
1752
1691
|
Form = 1,
|
|
1753
1692
|
Table = 2,
|
|
1754
1693
|
Tableview = 3,
|
|
1755
|
-
|
|
1694
|
+
CommonsClass = 4,
|
|
1695
|
+
DataApiAsClassV1 = 5
|
|
1756
1696
|
}
|
|
1757
1697
|
interface CommonsFeature {
|
|
1758
1698
|
type: CommonsFeatureTypeEnum;
|
|
@@ -1760,5 +1700,5 @@ interface CommonsFeature {
|
|
|
1760
1700
|
}
|
|
1761
1701
|
declare function provideCommons(config?: CommonsModuleConfig, ...features: CommonsFeature[]): (Provider | EnvironmentProviders)[];
|
|
1762
1702
|
|
|
1763
|
-
export { ACommonsErrorBase, APermissions, BROWSER_STORAGE_IT, BooleanPipe, COMMONS_INITIALIZER_IT, COMMONS_MODULE_CONFIG_IT, ClassMapPipe, CommonsConfigurationService, CommonsErrorHandler, CommonsFeatureTypeEnum, CommonsHttpError, CommonsInitEventEnum, CommonsInitService, CommonsInternalError, CommonsRouterService, CommonsService, CommonsStorageService, ComponentDirective, DataProviderInst,
|
|
1764
|
-
export type { ActionData, ActionErrorContextToStringOptionsType, ActionParameters, ArrayItemType, BreadcrumbMenuItem, BreadcrumbType,
|
|
1703
|
+
export { ACommonsErrorBase, APermissions, BROWSER_STORAGE_IT, BooleanPipe, COMMONS_INITIALIZER_IT, COMMONS_MODULE_CONFIG_IT, ClassMapPipe, CommonsConfigurationService, CommonsErrorHandler, CommonsFeatureTypeEnum, CommonsHttpError, CommonsInitEventEnum, CommonsInitService, CommonsInternalError, CommonsRouterService, CommonsService, CommonsStorageService, ComponentDirective, DataProviderInst, EnumPipe, EnumerateAsyncPipe, EnumeratePipe, FilterMatchMode, GetterPipe, I18nPropertyPipe, JsonPathPipe, LOG_PUBLISHERS, LogLevelEnum, LogPublisherConsoleService, LoggerService, NotificationWrapperComponent, ParametrizePipe, PermissionService, PermissionTypeEnum, Permissions, RerenderDirective, RouteBuilder, RoutesBuilder, StyleSizeEnum, Styles, TemplateDirective, TemplatePipe, adjustRouteMenuLazyChildrenRouterLinks, angularDateFormatHasSeconds, angularDateFormatHasTime, appendRoutePathToBasePath, booleanOrUndefinedAttribute, booleanWithDefaultAttribute, commonsActionErrorContextToString, commonsErrorToString, commonsInitializerProvider, copyDataListParams, createChildrenLazyRoute, createLazyRoute, createRoute, createRouteRedirect, createRoutes, dataListParamsFilterToUrlQuery, dataListParamsFilterValueToUrlString, dataListParamsFiltersToUrlQuery, dataListParamsSortToUrlQuery, dataListParamsToUrlQuery, dateToIsoString, doesUrlMatchRouterLink, effectWithDeps, errorCauseToString, errorToString, escapeHtml, escapeHtmlAny, findTemplateByName, flattenObjectKeys, fromAngularDateFormatToOptimus, fromAngularNumberFormatToFractions, fromEnumConstantsAsValueArray, fromEnumValuesAsValueArray, fromSubscribeError, fromTableLoadToDataListParams, fromUrlQueryToDataListParams, getEnumConstantName, getEnumConstantNameFromObject, getEnumConstantNames, getEnumConstantNamesFromObject, getEnumConstantValues, getEnumConstantValuesAsNumber, getEnumConstantValuesAsString, getEnumerationI18nBaseKey, getErrorLogLevel, getErrorName, getHttpErrorResponse, getHttpErrorResponseStatus, getHttpErrorResponseStatusText, getI18n, getI18nAsync, getI18nErrorParams, getI18nForError, getI18nTypeGroupKey, getI18nTypeKeyBasePath, getI18nTypeName, getI18nTypeNameAsync, getI18nTypeParams, getI18nTypeParamsAsync, getI18nTypePropertyKey, getI18nTypeTabKey, getObjectGetters, getObjectProperties, getObjectPropertyByPath, httpErrorResponseToString, isHttpErrorResponse, isMac, isPermitted, isRbacPermitted, itemIdToDefined, itemIdToNumber, itemIdToString, mapToDataList, mergeDataListParamsWithDefaults, narrowI18nToTranslation, narrowOptimusMessageSeverity, objectDeepCopy, objectDeepEquals, objectDeepMerge, permissionGuard, populateI18nParams, populateI18nTypeParams, provideCommons, removeRouteEmptyPathSegments, selectEnumerationI18n, selectI18n, stringify, throwError, toEnumerationI18nEnumerate, toObservable, toastMessage, valueToDefined };
|
|
1704
|
+
export type { ActionData, ActionErrorContextToStringOptionsType, ActionParameters, ArrayItemType, BreadcrumbMenuItem, BreadcrumbType, ClassFunctionKeyParam1ObjKeyExtendsOfTargetType, ClassFunctionKeysType, ClassFunctionKeysWithAnyArgsAndReturnType, ClassFunctionKeysWithParamAndReturnType, ClassFunctionKeysWithReturnType, ClassOptType, ClassType, ColorScheme, CommonKeyof3, CommonPropsObjType3, CommonsErrorBaseOptions, CommonsFeature, CommonsMenuItem, CommonsModuleConfig, CommonsRouteData, CommonsSerializationConfig, DataListFilter, DataListFilterBaseValueType, DataListFilterFromUrlValueType, DataListFilterValueType, DataListFiltersType, DataListParams, DataListResult, DataListSort, DeepCopyOptions, EnumConstantType, EnumFromProperty, EnumType, EnumValue, EnumeratePipeI18nInternal, ErrorCauseToStringOptionsType, ErrorToStringOptionsBaseType, ErrorToStringOptionsType, ErrorTypes, FilterMatchModeExtendedType, FilterMatchModeType, FilterState, GetterFn, HttpErrorResponseToStringOptionsType, I18nMissingTranslationStrategy, IActionContextValidation, IActionDescriptor, IColumnDescriptor, ICommonsActionError, ICommonsActionErrorContext, ICommonsError, IDataProvider, IEditorDescriptor, IEnumDescriptor, IFilterDescriptor, ILogPublisher, ILoggerService, ILookupDataProvider, ILookupDataProviderLookup, ILookupDescriptor, IModelDescriptor, IPermissionService, ITableDescriptor, ITableviewDescriptor, IUser, IdType, InternalCommonsMenuItem, ItemOrObservable, KeyOfType, KeyofAndOfType, LocalstorageConfigValueType, LogConfig, LogEntry, LookupDataProviderCacheOpts, LookupDataProviderLookupFnType, Nullable, ObjectOptPropType, OptimusMessageSeverityType, PrimitiveType, PropertyType, RouteBuilderAdjustFnType, ServiceClassOptType, ServiceClassType, SingleOrArrayType, Undefined, VersionConfig, VersionConfigFromConfiguration, VersionConfigFromHttpResource, VersionConfigFromInfo, VersionConfigType, VersionInfo, toIsoStringDateTimeOptsType, toIsoStringTypeOptType };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { InputSignal, Type } from '@angular/core';
|
|
2
|
-
import { IFilterDescriptor, FilterMatchModeExtendedType, ILookupDataProvider,
|
|
2
|
+
import { IFilterDescriptor, FilterMatchModeExtendedType, ILookupDataProvider, ILookupDescriptor, ServiceClassType, LookupDataProviderLookupFnType, LookupDataProviderCacheOpts, EnumValue, EnumConstantType } from '@mediusinc/mng-commons/core';
|
|
3
3
|
import { InputTrimType, LookupDataProviderInst } from '@mediusinc/mng-commons/form/api';
|
|
4
4
|
import { EnumDescriptor } from '@mediusinc/mng-commons/model';
|
|
5
5
|
|
|
@@ -32,7 +32,7 @@ type FilterDatePickerDisplayOptsType = {
|
|
|
32
32
|
showTime?: boolean;
|
|
33
33
|
showSeconds?: boolean;
|
|
34
34
|
showMilliseconds?: boolean;
|
|
35
|
-
|
|
35
|
+
optimusTimePicker?: boolean;
|
|
36
36
|
timeSelectInterval?: number;
|
|
37
37
|
timeSelect?: boolean;
|
|
38
38
|
};
|
|
@@ -73,7 +73,7 @@ declare class FilterDescriptor<FilterModel, TableModel> implements IFilterDescri
|
|
|
73
73
|
protected _datePickerShowTime?: boolean;
|
|
74
74
|
protected _datePickerShowSeconds?: boolean;
|
|
75
75
|
protected _datePickerShowMilliseconds?: boolean;
|
|
76
|
-
protected
|
|
76
|
+
protected _datePickerOptimusTimePicker?: boolean;
|
|
77
77
|
protected _datePickerTimeSelectInterval?: number;
|
|
78
78
|
protected _datePickerTimeSelect?: boolean;
|
|
79
79
|
protected _dateValueNoTime?: boolean;
|
|
@@ -110,7 +110,7 @@ declare class FilterDescriptor<FilterModel, TableModel> implements IFilterDescri
|
|
|
110
110
|
get datePickerShowTime(): boolean | undefined;
|
|
111
111
|
get datePickerShowSeconds(): boolean | undefined;
|
|
112
112
|
get datePickerShowMilliseconds(): boolean | undefined;
|
|
113
|
-
get
|
|
113
|
+
get datePickerOptimusTimePicker(): boolean | undefined;
|
|
114
114
|
get datePickerTimeSelectInterval(): number | undefined;
|
|
115
115
|
get datePickerTimeSelect(): boolean | undefined;
|
|
116
116
|
get dateValueUtc(): boolean | undefined;
|
|
@@ -343,10 +343,6 @@ declare class FilterLookupDescriptor<FilterModel, TableModel, Service = any, Fil
|
|
|
343
343
|
get autocompleteOpenOnFocus(): boolean | undefined;
|
|
344
344
|
get autocompleteAutoClear(): boolean | undefined;
|
|
345
345
|
get inlineSearch(): boolean | undefined;
|
|
346
|
-
/**
|
|
347
|
-
* @deprecated Use `allowInput` instead.
|
|
348
|
-
*/
|
|
349
|
-
get dropdownAllowInput(): boolean | undefined;
|
|
350
346
|
get allowInput(): boolean | undefined;
|
|
351
347
|
/**
|
|
352
348
|
* @deprecated Use `inlineSearch` instead.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ServiceClassOptType, DataProviderInst, ILookupDataProvider, LookupDataProviderLookupFnType, LookupDataProviderCacheOpts, ServiceClassType, StyleSizeEnum } from '@mediusinc/mng-commons/core';
|
|
2
2
|
import { TypeDescriptor, ModelDescriptor } from '@mediusinc/mng-commons/model';
|
|
3
|
-
import { ButtonSeverity } from '
|
|
3
|
+
import { ButtonSeverity } from '@openng/optimus-ui/button';
|
|
4
4
|
|
|
5
5
|
declare class LookupDataProviderInst<Model, Service = any, Sorts = keyof Model, Filters extends keyof any = keyof Model, ServiceClass = ServiceClassOptType<Service>> extends DataProviderInst<Model, Service, ServiceClass> implements ILookupDataProvider<Model, Service, Sorts, Filters, ServiceClass> {
|
|
6
6
|
protected _lookup: LookupDataProviderLookupFnType<Model, Service, Sorts, Filters>;
|
|
@@ -57,9 +57,9 @@ interface IButtonStyleDescriptor {
|
|
|
57
57
|
rounded?: boolean;
|
|
58
58
|
class?: string;
|
|
59
59
|
}
|
|
60
|
-
type
|
|
61
|
-
type
|
|
62
|
-
size?:
|
|
60
|
+
type OptimusButtonSize = 'small' | 'large' | undefined;
|
|
61
|
+
type OptimusButtonStyleProps = Omit<IButtonStyleDescriptor, 'size'> & {
|
|
62
|
+
size?: OptimusButtonSize;
|
|
63
63
|
};
|
|
64
64
|
|
|
65
65
|
declare class ActionButtonDescriptor implements IActionButtonDescriptor {
|
|
@@ -95,7 +95,7 @@ type EmptyValueType = 'undefined' | 'null' | 'none';
|
|
|
95
95
|
|
|
96
96
|
type InputTrimType = 'both' | 'start' | 'end' | 'none';
|
|
97
97
|
|
|
98
|
-
declare function
|
|
98
|
+
declare function buttonStyleToOptimusStyles(descriptor: IButtonStyleDescriptor | undefined, hasNoTitle?: boolean): OptimusButtonStyleProps;
|
|
99
99
|
|
|
100
|
-
export { ActionButtonDescriptor, LookupDataProviderInst,
|
|
101
|
-
export type { EmptyValueType, IActionButtonDescriptor, IButtonStyleDescriptor, InputTrimType,
|
|
100
|
+
export { ActionButtonDescriptor, LookupDataProviderInst, buttonStyleToOptimusStyles, lookupDataProvider };
|
|
101
|
+
export type { EmptyValueType, IActionButtonDescriptor, IButtonStyleDescriptor, InputTrimType, OptimusButtonSize, OptimusButtonStyleProps };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
2
|
import { ExistingProvider, OnInit, Provider } from '@angular/core';
|
|
3
3
|
import { ControlValueAccessor, Validator, FormControl, ValidationErrors } from '@angular/forms';
|
|
4
|
-
import { AutoComplete, AutoCompleteCompleteEvent, AutoCompleteSelectEvent, AutoCompleteUnselectEvent } from '
|
|
4
|
+
import { AutoComplete, AutoCompleteCompleteEvent, AutoCompleteSelectEvent, AutoCompleteUnselectEvent } from '@openng/optimus-ui/autocomplete';
|
|
5
5
|
import { TemplateDirective, ILookupDataProvider, CommonsFeature } from '@mediusinc/mng-commons/core';
|
|
6
6
|
import { InputTrimType, EmptyValueType } from '@mediusinc/mng-commons/form/api';
|
|
7
|
-
import { MultiSelect, MultiSelectChangeEvent, MultiSelectBlurEvent } from '
|
|
8
|
-
import { Select, SelectChangeEvent } from '
|
|
9
|
-
import { InputMask } from '
|
|
7
|
+
import { MultiSelect, MultiSelectChangeEvent, MultiSelectBlurEvent } from '@openng/optimus-ui/multiselect';
|
|
8
|
+
import { Select, SelectChangeEvent } from '@openng/optimus-ui/select';
|
|
9
|
+
import { InputMask } from '@openng/optimus-ui/inputmask';
|
|
10
10
|
import { Observable } from 'rxjs';
|
|
11
11
|
|
|
12
12
|
type NameType$4 = 'prepend' | 'append';
|
|
@@ -50,7 +50,7 @@ declare class AutocompleteComponent implements ControlValueAccessor {
|
|
|
50
50
|
readonly templates: _angular_core.InputSignal<AutocompleteTemplateDirective[]>;
|
|
51
51
|
readonly valueChange: _angular_core.OutputEmitterRef<any>;
|
|
52
52
|
readonly blur: _angular_core.OutputEmitterRef<Event>;
|
|
53
|
-
protected readonly
|
|
53
|
+
protected readonly optimusAutocomplete: _angular_core.Signal<AutoComplete<any> | undefined>;
|
|
54
54
|
protected readonly ngModelValue: _angular_core.WritableSignal<AutocompleteItem<any> | AutocompleteItem<any>[] | null | undefined>;
|
|
55
55
|
protected readonly disabled: _angular_core.Signal<boolean>;
|
|
56
56
|
protected readonly suggestions: _angular_core.WritableSignal<AutocompleteItem<any>[]>;
|
|
@@ -105,7 +105,7 @@ declare class DateRangeComponent implements OnInit, ControlValueAccessor, Valida
|
|
|
105
105
|
readonly showTime: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
106
106
|
readonly showSeconds: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
107
107
|
readonly milliseconds: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
108
|
-
readonly
|
|
108
|
+
readonly optimusTimePicker: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
109
109
|
readonly timeSelect: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
110
110
|
readonly timeSelectInterval: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
111
111
|
readonly dateFormat: _angular_core.InputSignal<string | undefined>;
|
|
@@ -134,7 +134,7 @@ declare class DateRangeComponent implements OnInit, ControlValueAccessor, Valida
|
|
|
134
134
|
validate(): ValidationErrors | null;
|
|
135
135
|
private onValueChange;
|
|
136
136
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DateRangeComponent, never>;
|
|
137
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DateRangeComponent, "mng-date-range", never, { "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "showTime": { "alias": "showTime"; "required": false; "isSignal": true; }; "showSeconds": { "alias": "showSeconds"; "required": false; "isSignal": true; }; "milliseconds": { "alias": "milliseconds"; "required": false; "isSignal": true; }; "
|
|
137
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DateRangeComponent, "mng-date-range", never, { "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "showTime": { "alias": "showTime"; "required": false; "isSignal": true; }; "showSeconds": { "alias": "showSeconds"; "required": false; "isSignal": true; }; "milliseconds": { "alias": "milliseconds"; "required": false; "isSignal": true; }; "optimusTimePicker": { "alias": "optimusTimePicker"; "required": false; "isSignal": true; }; "timeSelect": { "alias": "timeSelect"; "required": false; "isSignal": true; }; "timeSelectInterval": { "alias": "timeSelectInterval"; "required": false; "isSignal": true; }; "dateFormat": { "alias": "dateFormat"; "required": false; "isSignal": true; }; "className": { "alias": "className"; "required": false; "isSignal": true; }; "inputStyleClass": { "alias": "inputStyleClass"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "vertical": { "alias": "vertical"; "required": false; "isSignal": true; }; "templates": { "alias": "templates"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
138
138
|
}
|
|
139
139
|
|
|
140
140
|
type NameType$2 = 'prepend' | 'append';
|
|
@@ -174,8 +174,8 @@ declare class DropdownComponent implements ControlValueAccessor {
|
|
|
174
174
|
searchTrim: _angular_core.InputSignal<InputTrimType | undefined>;
|
|
175
175
|
valueChange: _angular_core.OutputEmitterRef<any>;
|
|
176
176
|
blur: _angular_core.OutputEmitterRef<Event>;
|
|
177
|
-
|
|
178
|
-
|
|
177
|
+
optimusSelect: _angular_core.Signal<Select | undefined>;
|
|
178
|
+
optimusMultiselect: _angular_core.Signal<MultiSelect | undefined>;
|
|
179
179
|
private _value?;
|
|
180
180
|
ngModelValue: _angular_core.WritableSignal<any>;
|
|
181
181
|
private _loading;
|
|
@@ -296,7 +296,7 @@ declare class DatetimePickerComponent implements ControlValueAccessor, Validator
|
|
|
296
296
|
readonly timeSelectInterval: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
297
297
|
readonly secondsInput: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
298
298
|
readonly milliseconds: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
299
|
-
readonly
|
|
299
|
+
readonly optimusTimePicker: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
300
300
|
readonly dateFormat: _angular_core.InputSignal<string | undefined>;
|
|
301
301
|
readonly placeholder: _angular_core.InputSignal<string | undefined>;
|
|
302
302
|
readonly minDate: _angular_core.InputSignal<Date | null>;
|
|
@@ -350,7 +350,7 @@ declare class DatetimePickerComponent implements ControlValueAccessor, Validator
|
|
|
350
350
|
protected openOverlay(): void;
|
|
351
351
|
protected closeOverlay(): void;
|
|
352
352
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DatetimePickerComponent, never>;
|
|
353
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DatetimePickerComponent, "mng-datetime-picker", never, { "templates": { "alias": "templates"; "required": false; "isSignal": true; }; "timeInput": { "alias": "time"; "required": false; "isSignal": true; }; "timeSelect": { "alias": "timeSelect"; "required": false; "isSignal": true; }; "timeSelectInterval": { "alias": "timeSelectInterval"; "required": false; "isSignal": true; }; "secondsInput": { "alias": "seconds"; "required": false; "isSignal": true; }; "milliseconds": { "alias": "milliseconds"; "required": false; "isSignal": true; }; "
|
|
353
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DatetimePickerComponent, "mng-datetime-picker", never, { "templates": { "alias": "templates"; "required": false; "isSignal": true; }; "timeInput": { "alias": "time"; "required": false; "isSignal": true; }; "timeSelect": { "alias": "timeSelect"; "required": false; "isSignal": true; }; "timeSelectInterval": { "alias": "timeSelectInterval"; "required": false; "isSignal": true; }; "secondsInput": { "alias": "seconds"; "required": false; "isSignal": true; }; "milliseconds": { "alias": "milliseconds"; "required": false; "isSignal": true; }; "optimusTimePicker": { "alias": "optimusTimePicker"; "required": false; "isSignal": true; }; "dateFormat": { "alias": "dateFormat"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "minDate": { "alias": "minDate"; "required": false; "isSignal": true; }; "maxDate": { "alias": "maxDate"; "required": false; "isSignal": true; }; "disabledInput": { "alias": "disabled"; "required": false; "isSignal": true; }; "showIcon": { "alias": "showIcon"; "required": false; "isSignal": true; }; "showButtonBar": { "alias": "showButtonBar"; "required": false; "isSignal": true; }; "showClear": { "alias": "showClear"; "required": false; "isSignal": true; }; "className": { "alias": "className"; "required": false; "isSignal": true; }; "panelStyleClass": { "alias": "panelStyleClass"; "required": false; "isSignal": true; }; "inputStyleClass": { "alias": "inputStyleClass"; "required": false; "isSignal": true; }; "dateRange": { "alias": "dateRange"; "required": false; "isSignal": true; }; }, { "blur": "blur"; }, never, never, true, never>;
|
|
354
354
|
}
|
|
355
355
|
|
|
356
356
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Observable, Subject } from 'rxjs';
|
|
2
|
-
import { GetterFn, DataListParams,
|
|
3
|
-
import { TableLazyLoadEvent } from '
|
|
2
|
+
import { GetterFn, DataListParams, DataListFiltersType, DataListSort, ServiceClassOptType, IDataProvider, ItemOrObservable, DataListResult, DataProviderInst, ServiceClassType, ILookupDataProvider, EnumConstantType, ITableDescriptor } from '@mediusinc/mng-commons/core';
|
|
3
|
+
import { TableLazyLoadEvent } from '@openng/optimus-ui/table';
|
|
4
4
|
import { InputSignal, Type } from '@angular/core';
|
|
5
5
|
import { EnumDescriptor, TypeDescriptor, ModelDescriptor, ModelDescriptorCreateOpts } from '@mediusinc/mng-commons/model';
|
|
6
6
|
import { FilterDescriptor, FilterLookupDescriptor, FilterLookupEnumDescriptor, FilterDisplayTypeEnum, FilterGenericDescriptor, FilterGenericProperty } from '@mediusinc/mng-commons/filter';
|