@mediusinc/mng-commons 0.9.1 → 0.9.4
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/assets/i18n/sl.json +1 -1
- package/dev-scripts/version-info.js +4 -2
- package/esm2020/lib/components/form/editor/form-editor.component.mjs +25 -3
- package/esm2020/lib/components/form/formly/fields/formly-field-autocomplete/formly-field-autocomplete.component.mjs +32 -3
- package/esm2020/lib/components/form/formly/fields/formly-field-input/formly-field-input.component.mjs +12 -8
- package/esm2020/lib/components/form/formly/fields/formly-field-table-dialog-form/formly-field-table-dialog-form.component.mjs +19 -1
- package/esm2020/lib/components/form/formly/fields/formly-field-table-dialog-multiselect/formly-field-table-dialog-multiselect.component.mjs +30 -3
- package/fesm2015/mediusinc-mng-commons.mjs +110 -12
- package/fesm2015/mediusinc-mng-commons.mjs.map +1 -1
- package/fesm2020/mediusinc-mng-commons.mjs +107 -12
- package/fesm2020/mediusinc-mng-commons.mjs.map +1 -1
- package/lib/components/form/formly/fields/formly-field-autocomplete/formly-field-autocomplete.component.d.ts +5 -2
- package/lib/components/form/formly/fields/formly-field-input/formly-field-input.component.d.ts +2 -0
- package/lib/components/form/formly/fields/formly-field-table-dialog-form/formly-field-table-dialog-form.component.d.ts +3 -2
- package/lib/components/form/formly/fields/formly-field-table-dialog-multiselect/formly-field-table-dialog-multiselect.component.d.ts +3 -2
- package/package.json +1 -1
- package/scss/mng-overrides/_mixins.scss +2 -0
- package/scss/{theme/default/_mng-variables.scss → mng-overrides/_variables.scss} +0 -0
- package/scss/theme/default/_mng-variables-theme-dark.scss +1 -1
- package/scss/theme/default/_mng-variables-theme-light.scss +1 -1
- package/version-info.json +5 -5
|
@@ -1,12 +1,15 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
1
|
+
import { AfterViewInit, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { FormControl } from '@angular/forms';
|
|
3
3
|
import { FieldType } from '@ngx-formly/core';
|
|
4
4
|
import { FieldLookupDescriptor } from '../../../../../descriptors';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class MngFormlyFieldAutocompleteComponent<T> extends FieldType implements OnInit {
|
|
6
|
+
export declare class MngFormlyFieldAutocompleteComponent<T> extends FieldType implements OnInit, AfterViewInit, OnDestroy {
|
|
7
7
|
aFormControl: FormControl;
|
|
8
8
|
descriptor: FieldLookupDescriptor<T, any>;
|
|
9
|
+
private subscriptions;
|
|
9
10
|
ngOnInit(): void;
|
|
11
|
+
ngAfterViewInit(): void;
|
|
12
|
+
ngOnDestroy(): void;
|
|
10
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<MngFormlyFieldAutocompleteComponent<any>, never>;
|
|
11
14
|
static ɵcmp: i0.ɵɵComponentDeclaration<MngFormlyFieldAutocompleteComponent<any>, "mng-formly-field-autocomplete", never, {}, {}, never, never>;
|
|
12
15
|
}
|
package/lib/components/form/formly/fields/formly-field-input/formly-field-input.component.d.ts
CHANGED
|
@@ -4,12 +4,14 @@ import { FieldType } from '@ngx-formly/core';
|
|
|
4
4
|
import { FieldInputDescriptor } from '../../../../../descriptors';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class MngFormlyFieldInputComponent extends FieldType implements OnInit, OnDestroy {
|
|
7
|
+
applicationLocale: string;
|
|
7
8
|
iFormControl: FormControl;
|
|
8
9
|
descriptor: FieldInputDescriptor<any>;
|
|
9
10
|
numberFieldMode: 'decimal' | 'currency';
|
|
10
11
|
currency?: string;
|
|
11
12
|
private files;
|
|
12
13
|
private subscriptions;
|
|
14
|
+
constructor(applicationLocale: string);
|
|
13
15
|
ngOnInit(): void;
|
|
14
16
|
ngOnDestroy(): void;
|
|
15
17
|
onFileSelect(event: any): void;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { OnDestroy, OnInit } from '@angular/core';
|
|
1
|
+
import { AfterViewInit, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { FieldType } from '@ngx-formly/core';
|
|
3
3
|
import { Observable, Subject } from 'rxjs';
|
|
4
4
|
import { ActionDescriptor, FieldManyEditorDescriptor } from '../../../../../descriptors';
|
|
5
5
|
import { MngActionExecutorService } from '../../../../../services';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class MngFormlyFieldTableDialogFormComponent<T, ET> extends FieldType implements OnInit, OnDestroy {
|
|
7
|
+
export declare class MngFormlyFieldTableDialogFormComponent<T, ET> extends FieldType implements OnInit, AfterViewInit, OnDestroy {
|
|
8
8
|
private actionExecutor;
|
|
9
9
|
descriptor: FieldManyEditorDescriptor<T, ET>;
|
|
10
10
|
itemsSubject: Subject<Array<T>>;
|
|
@@ -16,6 +16,7 @@ export declare class MngFormlyFieldTableDialogFormComponent<T, ET> extends Field
|
|
|
16
16
|
private isEnabled$;
|
|
17
17
|
constructor(actionExecutor: MngActionExecutorService);
|
|
18
18
|
ngOnInit(): void;
|
|
19
|
+
ngAfterViewInit(): void;
|
|
19
20
|
ngOnDestroy(): void;
|
|
20
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<MngFormlyFieldTableDialogFormComponent<any, any>, never>;
|
|
21
22
|
static ɵcmp: i0.ɵɵComponentDeclaration<MngFormlyFieldTableDialogFormComponent<any, any>, "mng-formly-table-dialog-form-field", never, {}, {}, never, never>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { Injector, OnDestroy, OnInit } from '@angular/core';
|
|
1
|
+
import { AfterViewInit, Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { FieldType } from '@ngx-formly/core';
|
|
3
3
|
import { Message } from 'primeng/api';
|
|
4
4
|
import { Observable, Subject } from 'rxjs';
|
|
5
5
|
import { MediusQueryResult } from '../../../../../api/models';
|
|
6
6
|
import { FieldManyToManyEditorDescriptor } from '../../../../../descriptors';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class MngFormlyFieldTableDialogMultiselectComponent<T, ET> extends FieldType implements OnInit, OnDestroy {
|
|
8
|
+
export declare class MngFormlyFieldTableDialogMultiselectComponent<T, ET> extends FieldType implements OnInit, AfterViewInit, OnDestroy {
|
|
9
9
|
private injector;
|
|
10
10
|
descriptor: FieldManyToManyEditorDescriptor<T, ET>;
|
|
11
11
|
itemsSubject: Subject<Array<T>>;
|
|
@@ -26,6 +26,7 @@ export declare class MngFormlyFieldTableDialogMultiselectComponent<T, ET> extend
|
|
|
26
26
|
private subscriptions;
|
|
27
27
|
constructor(injector: Injector);
|
|
28
28
|
ngOnInit(): void;
|
|
29
|
+
ngAfterViewInit(): void;
|
|
29
30
|
ngOnDestroy(): void;
|
|
30
31
|
openAddDialog(): void;
|
|
31
32
|
onSelectionChange(items: Array<any>): void;
|
package/package.json
CHANGED
|
File without changes
|
package/version-info.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mediusinc/mng-commons",
|
|
3
|
-
"version": "0.9.
|
|
4
|
-
"tag": "v0.9.
|
|
3
|
+
"version": "0.9.4",
|
|
4
|
+
"tag": "v0.9.4",
|
|
5
5
|
"distance": 0,
|
|
6
|
-
"hash": "
|
|
6
|
+
"hash": "363d2703",
|
|
7
7
|
"dirty": false,
|
|
8
|
-
"semver": "0.9.
|
|
9
|
-
"raw": "v0.9.
|
|
8
|
+
"semver": "0.9.4",
|
|
9
|
+
"raw": "v0.9.4-363d2703"
|
|
10
10
|
}
|