@sd-angular/core 0.0.900 → 0.0.904
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/scss/core/override-material-ui.scss +4 -0
- package/assets/scss/core/position.scss +1 -1
- package/assets/scss/core/scrollbar.scss +4 -4
- package/assets/scss/core/text.scss +3 -0
- package/assets/scss/sd-core.scss +18 -16
- package/bundles/sd-angular-core-grid-material.umd.js +30 -9
- package/bundles/sd-angular-core-grid-material.umd.js.map +1 -1
- package/bundles/sd-angular-core-grid-material.umd.min.js +2 -2
- package/bundles/sd-angular-core-grid-material.umd.min.js.map +1 -1
- package/bundles/sd-angular-core-select.umd.js +12 -4
- package/bundles/sd-angular-core-select.umd.js.map +1 -1
- package/bundles/sd-angular-core-select.umd.min.js +1 -1
- package/bundles/sd-angular-core-select.umd.min.js.map +1 -1
- package/bundles/sd-angular-core-tab-router.umd.js +11 -8
- package/bundles/sd-angular-core-tab-router.umd.js.map +1 -1
- package/bundles/sd-angular-core-tab-router.umd.min.js +1 -1
- package/bundles/sd-angular-core-tab-router.umd.min.js.map +1 -1
- package/esm2015/grid-material/src/lib/components/desktop-cell-view/desktop-cell-view.component.js +2 -2
- package/esm2015/grid-material/src/lib/components/popup-grid-configuration/popup-grid-configuration.component.js +23 -5
- package/esm2015/grid-material/src/lib/grid-material.module.js +4 -2
- package/esm2015/grid-material/src/lib/models/grid-column.model.js +1 -1
- package/esm2015/grid-material/src/lib/pipes/column-transform.pipe.js +5 -1
- package/esm2015/select/src/lib/select.component.js +13 -5
- package/esm2015/tab-router/src/lib/components/tab-router-outlet/tab-router-outlet.component.js +21 -18
- package/fesm2015/sd-angular-core-grid-material.js +28 -6
- package/fesm2015/sd-angular-core-grid-material.js.map +1 -1
- package/fesm2015/sd-angular-core-select.js +12 -4
- package/fesm2015/sd-angular-core-select.js.map +1 -1
- package/fesm2015/sd-angular-core-tab-router.js +11 -8
- package/fesm2015/sd-angular-core-tab-router.js.map +1 -1
- package/grid-material/sd-angular-core-grid-material.metadata.json +1 -1
- package/grid-material/src/lib/components/popup-grid-configuration/popup-grid-configuration.component.d.ts +9 -0
- package/grid-material/src/lib/models/grid-column.model.d.ts +2 -0
- package/package.json +1 -1
- package/{sd-angular-core-0.0.900.tgz → sd-angular-core-0.0.904.tgz} +0 -0
- package/tab-router/src/lib/components/tab-router-outlet/tab-router-outlet.component.d.ts +7 -7
|
@@ -5,6 +5,9 @@ import { SdTranslateService } from '@sd-angular/core/translate';
|
|
|
5
5
|
import { SdGridMaterialOption } from '../../models/grid-option.model';
|
|
6
6
|
import { SdGridConfigurationResult, SdGridConfiguration } from '../../models/grid-config.model';
|
|
7
7
|
import { SdGridConfigurationService } from '../../services/grid-configuration.service';
|
|
8
|
+
import { MatTable } from '@angular/material/table';
|
|
9
|
+
import { CdkDragDrop } from '@angular/cdk/drag-drop';
|
|
10
|
+
import { SdGridMaterialColumn } from '../../models/grid-column.model';
|
|
8
11
|
export declare class SdPopupGridConfiguration implements OnInit {
|
|
9
12
|
#private;
|
|
10
13
|
private ref;
|
|
@@ -14,17 +17,23 @@ export declare class SdPopupGridConfiguration implements OnInit {
|
|
|
14
17
|
gridOption: SdGridMaterialOption;
|
|
15
18
|
key: string;
|
|
16
19
|
modal: SdModal;
|
|
20
|
+
table: MatTable<SdGridMaterialColumn>;
|
|
17
21
|
readonly changes: EventEmitter<SdGridConfigurationResult>;
|
|
18
22
|
configuration: SdGridConfiguration;
|
|
19
23
|
isCreatingColumn: boolean;
|
|
20
24
|
selected: {
|
|
21
25
|
[key: string]: boolean;
|
|
22
26
|
};
|
|
27
|
+
disabledDrag: boolean;
|
|
23
28
|
constructor(ref: ChangeDetectorRef, notifyService: SdNotifyService, translateService: SdTranslateService, gridConfigurationService: SdGridConfigurationService);
|
|
24
29
|
ngOnInit(): void;
|
|
30
|
+
mouseUp(event: any): void;
|
|
25
31
|
open: () => Promise<void>;
|
|
26
32
|
onSave: () => void;
|
|
27
33
|
onReset: () => Promise<void>;
|
|
28
34
|
createColumn: () => Promise<void>;
|
|
29
35
|
confirm: () => Promise<void>;
|
|
36
|
+
dropTable(event: CdkDragDrop<SdGridMaterialColumn[]>): void;
|
|
37
|
+
handleMouseDown(): void;
|
|
38
|
+
handleMouseUp(): void;
|
|
30
39
|
}
|
|
@@ -36,6 +36,8 @@ interface SdGridMaterialBool<T = any> extends SdGridMaterialBaseColumn<T> {
|
|
|
36
36
|
displayOnTrue?: string;
|
|
37
37
|
displayOnFalse?: string;
|
|
38
38
|
};
|
|
39
|
+
badge?: (value: any, rowData: T) => 'warning' | 'info' | 'success' | 'danger' | 'normal';
|
|
40
|
+
badgeType?: 'circle';
|
|
39
41
|
}
|
|
40
42
|
interface SdGridMaterialColumnDate<T = any> extends SdGridMaterialBaseColumn<T> {
|
|
41
43
|
type: 'date' | 'datetime' | 'time';
|
package/package.json
CHANGED
|
Binary file
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { ChangeDetectorRef, Compiler, Injector, OnDestroy } from
|
|
2
|
-
import { ActivatedRoute, Router } from
|
|
3
|
-
import { SdNotifyService } from
|
|
4
|
-
import { SdTab } from
|
|
5
|
-
import { SdTabRouterService } from
|
|
6
|
-
import { SdTabRouterNavComponent } from
|
|
7
|
-
import { SdTabDecoratorService } from
|
|
1
|
+
import { ChangeDetectorRef, Compiler, Injector, OnDestroy } from "@angular/core";
|
|
2
|
+
import { ActivatedRoute, Router } from "@angular/router";
|
|
3
|
+
import { SdNotifyService } from "@sd-angular/core/notify";
|
|
4
|
+
import { SdTab } from "../../models/tab-router.model";
|
|
5
|
+
import { SdTabRouterService } from "../../services/tab-router.service";
|
|
6
|
+
import { SdTabRouterNavComponent } from "../tab-router-nav/tab-router-nav.component";
|
|
7
|
+
import { SdTabDecoratorService } from "../../services/tab-decorator.service";
|
|
8
8
|
export declare class SdTabRouterOutletComponent implements OnDestroy {
|
|
9
9
|
#private;
|
|
10
10
|
private router;
|