qms-angular 1.0.96 → 1.0.97
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/bundles/qms-angular.umd.js +136 -28
- package/bundles/qms-angular.umd.js.map +1 -1
- package/esm2015/lib/components/breadcrumb/breadcrumb.js +32 -18
- package/esm2015/lib/components/breadcrumb/breadcrumb.module.js +6 -2
- package/esm2015/lib/components/breadcrumb/enum/breadcrumb-type.js +7 -0
- package/esm2015/lib/components/breadcrumb/model/breadcrumb-node.model.js +1 -1
- package/esm2015/lib/components/comment/comment.js +1 -1
- package/esm2015/lib/components/qms-navigation-drawer/qms-navigation-drawer.component.js +3 -2
- package/esm2015/lib/directives/chip-input/chip-input-select-dropdown.directive.js +4 -4
- package/esm2015/lib/model/en.js +3 -1
- package/esm2015/lib/model/no.js +3 -1
- package/esm2015/lib/qms-angular.module.js +4 -4
- package/esm2015/lib/utils/qms-mfe.utils.js +56 -0
- package/esm2015/public-api.js +4 -1
- package/fesm2015/qms-angular.js +107 -26
- package/fesm2015/qms-angular.js.map +1 -1
- package/lib/components/breadcrumb/breadcrumb.d.ts +10 -5
- package/lib/components/breadcrumb/enum/breadcrumb-type.d.ts +5 -0
- package/lib/directives/chip-input/chip-input-select-dropdown.directive.d.ts +1 -1
- package/lib/model/en.d.ts +2 -0
- package/lib/model/no.d.ts +2 -0
- package/lib/utils/qms-mfe.utils.d.ts +18 -0
- package/package.json +1 -1
- package/public-api.d.ts +2 -0
- package/qms-angular.metadata.json +1 -1
- package/src/lib/components/breadcrumb/breadcrumb.scss +174 -81
@@ -1,35 +1,40 @@
|
|
1
1
|
import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnInit, QueryList, SimpleChanges } from "@angular/core";
|
2
2
|
import { MatIconRegistry } from "@angular/material/icon";
|
3
3
|
import { DomSanitizer } from "@angular/platform-browser";
|
4
|
+
import { TranslateLibraryService } from "../../services/translation-registry.service";
|
4
5
|
import { ItemIconType } from "../related/common/item-icon-type.enum";
|
5
6
|
import { QMSBreadcrumbItemDirective } from "./breadcrumb-item.directive";
|
7
|
+
import { BreadcrumbType } from "./enum/breadcrumb-type";
|
6
8
|
import { BreadcrumbNode } from "./model/breadcrumb-node.model";
|
7
9
|
export declare class QMSBreadcrumb implements OnInit, AfterViewInit {
|
8
10
|
private ele;
|
9
11
|
private iconRegistry;
|
10
12
|
private cdRef;
|
11
13
|
private sanitizer;
|
14
|
+
trans: TranslateLibraryService;
|
12
15
|
nodes: BreadcrumbNode[];
|
13
|
-
type:
|
16
|
+
type: BreadcrumbType.normal | BreadcrumbType.table | BreadcrumbType.mobile;
|
14
17
|
maxLine: number;
|
15
18
|
numDisplayItem: number;
|
16
19
|
onlyItem: boolean;
|
17
20
|
disabledLastItem: boolean;
|
18
21
|
onItemClick: EventEmitter<any>;
|
19
22
|
breadCrumbNodes: QueryList<QMSBreadcrumbItemDirective>;
|
20
|
-
dropdownNodes: BreadcrumbNode[];
|
21
23
|
isOverflow: boolean;
|
24
|
+
dropdownNodes: BreadcrumbNode[];
|
22
25
|
homeNode: BreadcrumbNode;
|
23
26
|
previousNode: BreadcrumbNode;
|
24
27
|
itemNodes: BreadcrumbNode[];
|
28
|
+
sideNavNodes: BreadcrumbNode[];
|
25
29
|
itemSpace: number;
|
26
30
|
itemIconType: any;
|
27
31
|
isMobileType: boolean;
|
28
|
-
|
29
|
-
|
30
|
-
checkOverflow(width: number): void;
|
32
|
+
LANG: any;
|
33
|
+
constructor(ele: ElementRef, iconRegistry: MatIconRegistry, cdRef: ChangeDetectorRef, sanitizer: DomSanitizer, trans: TranslateLibraryService);
|
31
34
|
ngOnChanges(changes: SimpleChanges): void;
|
32
35
|
ngOnInit(): void;
|
36
|
+
ngAfterViewInit(): void;
|
37
|
+
checkOverflow(width: number): void;
|
33
38
|
initBreadCrumb(): void;
|
34
39
|
buildBreadcrumb(): void;
|
35
40
|
getItemIconType(treeConfig: BreadcrumbNode): ItemIconType;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { ElementRef, OnInit } from "@angular/core";
|
2
|
-
export declare class
|
2
|
+
export declare class QMSChipInputSelectDropDownDirective implements OnInit {
|
3
3
|
ele: ElementRef;
|
4
4
|
constructor(ele: ElementRef);
|
5
5
|
ngOnInit(): void;
|
package/lib/model/en.d.ts
CHANGED
package/lib/model/no.d.ts
CHANGED
@@ -0,0 +1,18 @@
|
|
1
|
+
export declare enum FileType {
|
2
|
+
Component = "Component",
|
3
|
+
Module = "Module",
|
4
|
+
Css = "CSS",
|
5
|
+
Html = "Html"
|
6
|
+
}
|
7
|
+
export interface LoadRemoteFileOptions {
|
8
|
+
remoteEntry: string;
|
9
|
+
remoteName: string;
|
10
|
+
exposedFile: string;
|
11
|
+
exposeFileType: FileType;
|
12
|
+
}
|
13
|
+
export declare class MfeUtil {
|
14
|
+
private fileMap;
|
15
|
+
loadRemoteFile(loadRemoteModuleOptions: LoadRemoteFileOptions): Promise<any>;
|
16
|
+
private findExposedModule;
|
17
|
+
private loadRemoteEntry;
|
18
|
+
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
export * from './lib/qms-angular.service';
|
2
2
|
export * from './lib/qms-angular.component';
|
3
3
|
export * from './lib/qms-angular.module';
|
4
|
+
export * from './lib/utils/qms-mfe.utils';
|
4
5
|
export * from './lib/directives/margin.directive';
|
5
6
|
export * from './lib/directives/form.directive';
|
6
7
|
export * from './lib/components/button/button.module';
|
@@ -142,6 +143,7 @@ export * from './lib/components/breadcrumb/breadcrumb.module';
|
|
142
143
|
export * from './lib/components/breadcrumb/breadcrumb-item.directive';
|
143
144
|
export * from './lib/components/breadcrumb/breadcrumb-direction-icon.directive';
|
144
145
|
export * from './lib/components/breadcrumb/model/breadcrumb-node.model';
|
146
|
+
export * from './lib/components/breadcrumb/enum/breadcrumb-type';
|
145
147
|
export * from './lib/common/qms-icon.const';
|
146
148
|
export * from './lib/common/related.const';
|
147
149
|
export * from './lib/common/themes.const';
|