vc-layout 0.0.1
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 +24 -0
- package/esm2022/lib/components/global-alert/global-alert/global-alert.component.mjs +13 -0
- package/esm2022/lib/components/global-alert/global-alert.module.mjs +18 -0
- package/esm2022/lib/components/header/business-cycle/business-cycle.component.mjs +279 -0
- package/esm2022/lib/components/header/create-workflow/create-workflow.component.mjs +18 -0
- package/esm2022/lib/components/header/header-container/header-container.component.mjs +36 -0
- package/esm2022/lib/components/header/header.module.mjs +64 -0
- package/esm2022/lib/components/header/queue/queue.component.mjs +59 -0
- package/esm2022/lib/components/header/search/search.component.mjs +14 -0
- package/esm2022/lib/components/header/support/support.component.mjs +31 -0
- package/esm2022/lib/components/header/user-details/user-details.component.mjs +34 -0
- package/esm2022/lib/components/product-list/module-list/module-list.component.mjs +130 -0
- package/esm2022/lib/components/product-list/preference-list/preference-list.component.mjs +83 -0
- package/esm2022/lib/components/product-list/product-list-container/product-list-container.component.mjs +33 -0
- package/esm2022/lib/components/product-list/product-list.module.mjs +27 -0
- package/esm2022/lib/components/sub-menu/sub-menu-container/sub-menu-container.component.mjs +117 -0
- package/esm2022/lib/components/sub-menu/sub-menu.module.mjs +19 -0
- package/esm2022/lib/configurations.mjs +6 -0
- package/esm2022/lib/constants/api.constant.mjs +7 -0
- package/esm2022/lib/constants/app-url.constant.mjs +18 -0
- package/esm2022/lib/constants/assets.constants.mjs +32 -0
- package/esm2022/lib/constants/product-list.constant.mjs +92 -0
- package/esm2022/lib/shared/pipe/check-create-permission.pipe.mjs +17 -0
- package/esm2022/lib/shared/pipe/date-format.pipe.mjs +35 -0
- package/esm2022/lib/shared/pipe/get-file-url.pipe.mjs +22 -0
- package/esm2022/lib/shared/pipe/pipes.module.mjs +20 -0
- package/esm2022/lib/shared/services/api.service.mjs +96 -0
- package/esm2022/lib/shared/services/business-cycle.service.mjs +125 -0
- package/esm2022/lib/shared/services/layout.service.mjs +40 -0
- package/esm2022/lib/shared/services/product-list.service.mjs +82 -0
- package/esm2022/lib/shared/services/rbac.service.mjs +58 -0
- package/esm2022/lib/shared/ui-kit/avatar/avatar/avatar.component.mjs +43 -0
- package/esm2022/lib/shared/ui-kit/avatar/avatar.module.mjs +19 -0
- package/esm2022/lib/shared/ui-kit/formgroup/checkbox/checkbox.component.mjs +39 -0
- package/esm2022/lib/shared/ui-kit/formgroup/click-outside.directive.mjs +29 -0
- package/esm2022/lib/shared/ui-kit/formgroup/cs-checkbox/cs-checkbox.component.mjs +28 -0
- package/esm2022/lib/shared/ui-kit/formgroup/cs-checkbox-indeterminate/cs-checkbox-indeterminate.component.mjs +32 -0
- package/esm2022/lib/shared/ui-kit/formgroup/cs-radio/cs-radio.component.mjs +30 -0
- package/esm2022/lib/shared/ui-kit/formgroup/cs-radio-group/cs-radio-group.component.mjs +14 -0
- package/esm2022/lib/shared/ui-kit/formgroup/cs-select/cs-select.component.mjs +102 -0
- package/esm2022/lib/shared/ui-kit/formgroup/cs-switch/cs-switch.component.mjs +35 -0
- package/esm2022/lib/shared/ui-kit/formgroup/formgroup.module.mjs +65 -0
- package/esm2022/lib/shared/ui-kit/formgroup/pipes/pascal.pipe.mjs +19 -0
- package/esm2022/lib/shared/ui-kit/formgroup/pipes/searchMultiSelect.pipe.mjs +24 -0
- package/esm2022/lib/shared/ui-kit/popover/popover-event.directive.mjs +28 -0
- package/esm2022/lib/shared/ui-kit/popover/popover-longpress.directive.mjs +48 -0
- package/esm2022/lib/shared/ui-kit/popover/popover.component.mjs +141 -0
- package/esm2022/lib/shared/ui-kit/popover/popover.directive.mjs +82 -0
- package/esm2022/lib/shared/ui-kit/popover/popover.module.mjs +23 -0
- package/esm2022/lib/shared/ui-kit/popover/popover.service.mjs +15 -0
- package/esm2022/lib/shared/ui-kit/tooltip/tooltip.directive.mjs +156 -0
- package/esm2022/lib/shared/ui-kit/tooltip/tooltip.module.mjs +18 -0
- package/esm2022/lib/vc-layout.component.mjs +19 -0
- package/esm2022/lib/vc-layout.module.mjs +24 -0
- package/esm2022/lib/vc-layout.service.mjs +14 -0
- package/esm2022/public-api.mjs +14 -0
- package/esm2022/vc-layout.mjs +5 -0
- package/fesm2022/vc-layout.mjs +2457 -0
- package/fesm2022/vc-layout.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/components/global-alert/global-alert/global-alert.component.d.ts +8 -0
- package/lib/components/global-alert/global-alert.module.d.ts +8 -0
- package/lib/components/header/business-cycle/business-cycle.component.d.ts +87 -0
- package/lib/components/header/create-workflow/create-workflow.component.d.ts +9 -0
- package/lib/components/header/header-container/header-container.component.d.ts +15 -0
- package/lib/components/header/header.module.d.ts +20 -0
- package/lib/components/header/queue/queue.component.d.ts +12 -0
- package/lib/components/header/search/search.component.d.ts +8 -0
- package/lib/components/header/support/support.component.d.ts +10 -0
- package/lib/components/header/user-details/user-details.component.d.ts +14 -0
- package/lib/components/product-list/module-list/module-list.component.d.ts +42 -0
- package/lib/components/product-list/preference-list/preference-list.component.d.ts +9 -0
- package/lib/components/product-list/product-list-container/product-list-container.component.d.ts +10 -0
- package/lib/components/product-list/product-list.module.d.ts +11 -0
- package/lib/components/sub-menu/sub-menu-container/sub-menu-container.component.d.ts +11 -0
- package/lib/components/sub-menu/sub-menu.module.d.ts +9 -0
- package/lib/configurations.d.ts +4 -0
- package/lib/constants/api.constant.d.ts +6 -0
- package/lib/constants/app-url.constant.d.ts +1 -0
- package/lib/constants/assets.constants.d.ts +30 -0
- package/lib/constants/product-list.constant.d.ts +1 -0
- package/lib/shared/pipe/check-create-permission.pipe.d.ts +7 -0
- package/lib/shared/pipe/date-format.pipe.d.ts +7 -0
- package/lib/shared/pipe/get-file-url.pipe.d.ts +10 -0
- package/lib/shared/pipe/pipes.module.d.ts +10 -0
- package/lib/shared/services/api.service.d.ts +37 -0
- package/lib/shared/services/business-cycle.service.d.ts +51 -0
- package/lib/shared/services/layout.service.d.ts +9 -0
- package/lib/shared/services/product-list.service.d.ts +31 -0
- package/lib/shared/services/rbac.service.d.ts +25 -0
- package/lib/shared/ui-kit/avatar/avatar/avatar.component.d.ts +12 -0
- package/lib/shared/ui-kit/avatar/avatar.module.d.ts +9 -0
- package/lib/shared/ui-kit/formgroup/checkbox/checkbox.component.d.ts +16 -0
- package/lib/shared/ui-kit/formgroup/click-outside.directive.d.ts +10 -0
- package/lib/shared/ui-kit/formgroup/cs-checkbox/cs-checkbox.component.d.ts +13 -0
- package/lib/shared/ui-kit/formgroup/cs-checkbox-indeterminate/cs-checkbox-indeterminate.component.d.ts +13 -0
- package/lib/shared/ui-kit/formgroup/cs-radio/cs-radio.component.d.ts +15 -0
- package/lib/shared/ui-kit/formgroup/cs-radio-group/cs-radio-group.component.d.ts +8 -0
- package/lib/shared/ui-kit/formgroup/cs-select/cs-select.component.d.ts +36 -0
- package/lib/shared/ui-kit/formgroup/cs-switch/cs-switch.component.d.ts +15 -0
- package/lib/shared/ui-kit/formgroup/formgroup.module.d.ts +19 -0
- package/lib/shared/ui-kit/formgroup/pipes/pascal.pipe.d.ts +7 -0
- package/lib/shared/ui-kit/formgroup/pipes/searchMultiSelect.pipe.d.ts +7 -0
- package/lib/shared/ui-kit/popover/popover-event.directive.d.ts +10 -0
- package/lib/shared/ui-kit/popover/popover-longpress.directive.d.ts +16 -0
- package/lib/shared/ui-kit/popover/popover.component.d.ts +28 -0
- package/lib/shared/ui-kit/popover/popover.directive.d.ts +17 -0
- package/lib/shared/ui-kit/popover/popover.module.d.ts +11 -0
- package/lib/shared/ui-kit/popover/popover.service.d.ts +12 -0
- package/lib/shared/ui-kit/tooltip/tooltip.directive.d.ts +27 -0
- package/lib/shared/ui-kit/tooltip/tooltip.module.d.ts +8 -0
- package/lib/vc-layout.component.d.ts +10 -0
- package/lib/vc-layout.module.d.ts +10 -0
- package/lib/vc-layout.service.d.ts +6 -0
- package/package.json +25 -0
- package/public-api.d.ts +10 -0
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class PascalPipe implements PipeTransform {
|
|
4
|
+
transform(value: string, ...args: unknown[]): unknown;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PascalPipe, never>;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<PascalPipe, "pascal", false>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class SearchMultiSelectPipe implements PipeTransform {
|
|
4
|
+
transform(value: any[], key: string, searchKey: string): any[];
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SearchMultiSelectPipe, never>;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<SearchMultiSelectPipe, "searchMultiSelect", false>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { PopoverService } from './popover.service';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class PopoverEventDirective {
|
|
4
|
+
private popoverService;
|
|
5
|
+
constructor(popoverService: PopoverService);
|
|
6
|
+
contextmenu(event: any): void;
|
|
7
|
+
getEventPosition(event: any): void;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PopoverEventDirective, never>;
|
|
9
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PopoverEventDirective, "[appPopoverEvent]", never, {}, {}, never, never, false, never>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { PopoverService } from './popover.service';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class PopoverLongpressDirective {
|
|
5
|
+
private popoverService;
|
|
6
|
+
getTime: any;
|
|
7
|
+
currentTime: any;
|
|
8
|
+
timer: any;
|
|
9
|
+
longPressPopover: EventEmitter<any>;
|
|
10
|
+
constructor(popoverService: PopoverService);
|
|
11
|
+
mousedown(event: any): void;
|
|
12
|
+
mouseup(): void;
|
|
13
|
+
getEventPosition(event: any): void;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PopoverLongpressDirective, never>;
|
|
15
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PopoverLongpressDirective, "[appPopoverLongpress]", never, {}, { "longPressPopover": "longPressPopover"; }, never, never, false, never>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { ElementRef, OnInit, EventEmitter } from '@angular/core';
|
|
2
|
+
import { PopoverService } from './popover.service';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class PopoverComponent implements OnInit {
|
|
5
|
+
popoverService: PopoverService;
|
|
6
|
+
dontCloseonClick: boolean;
|
|
7
|
+
popoverContainer: boolean;
|
|
8
|
+
popoverRatio: ElementRef;
|
|
9
|
+
popoverContent: ElementRef;
|
|
10
|
+
closedOnOverlay: EventEmitter<any>;
|
|
11
|
+
constructor(popoverService: PopoverService);
|
|
12
|
+
showPopover: boolean;
|
|
13
|
+
leftValue: any;
|
|
14
|
+
topValue: any;
|
|
15
|
+
popoverHeight: any;
|
|
16
|
+
popoverWidth: any;
|
|
17
|
+
positionX: number;
|
|
18
|
+
positionY: number;
|
|
19
|
+
ngOnInit(): void;
|
|
20
|
+
popover(): boolean;
|
|
21
|
+
popoverEvent(): boolean;
|
|
22
|
+
closePopover(top?: string): void;
|
|
23
|
+
close(): void;
|
|
24
|
+
clickedPopover(): void;
|
|
25
|
+
getPosition(): void;
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PopoverComponent, never>;
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PopoverComponent, "vui-popover", never, { "dontCloseonClick": { "alias": "dontCloseonClick"; "required": false; }; }, { "closedOnOverlay": "closedOnOverlay"; }, never, ["*"], false, never>;
|
|
28
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import { PopoverService } from './popover.service';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class PopoverDirective {
|
|
5
|
+
private elRef;
|
|
6
|
+
private popoverService;
|
|
7
|
+
dynamicComponent: any;
|
|
8
|
+
refrence: any;
|
|
9
|
+
position: string;
|
|
10
|
+
leftValue: any;
|
|
11
|
+
topValue: any;
|
|
12
|
+
constructor(elRef: ElementRef, popoverService: PopoverService);
|
|
13
|
+
click(): void;
|
|
14
|
+
getPosition(): void;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PopoverDirective, never>;
|
|
16
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PopoverDirective, "[appPopover]", never, { "refrence": { "alias": "refrence"; "required": false; }; "position": { "alias": "position"; "required": false; }; }, {}, never, never, false, never>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./popover.component";
|
|
3
|
+
import * as i2 from "./popover.directive";
|
|
4
|
+
import * as i3 from "./popover-event.directive";
|
|
5
|
+
import * as i4 from "./popover-longpress.directive";
|
|
6
|
+
import * as i5 from "@angular/common";
|
|
7
|
+
export declare class PopoverModule {
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PopoverModule, never>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PopoverModule, [typeof i1.PopoverComponent, typeof i2.PopoverDirective, typeof i3.PopoverEventDirective, typeof i4.PopoverLongpressDirective], [typeof i5.CommonModule], [typeof i1.PopoverComponent, typeof i2.PopoverDirective, typeof i3.PopoverEventDirective, typeof i4.PopoverLongpressDirective]>;
|
|
10
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<PopoverModule>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class PopoverService {
|
|
3
|
+
positionX: number;
|
|
4
|
+
positionY: number;
|
|
5
|
+
popoverHeight: any;
|
|
6
|
+
popoverWidth: any;
|
|
7
|
+
elementPosition: any;
|
|
8
|
+
elementDirection: any;
|
|
9
|
+
constructor();
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PopoverService, never>;
|
|
11
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<PopoverService>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { ElementRef, Renderer2, OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ToolTipDirective implements OnInit {
|
|
4
|
+
private el;
|
|
5
|
+
private renderer;
|
|
6
|
+
tooltipTitle: string;
|
|
7
|
+
placement: string;
|
|
8
|
+
type: any;
|
|
9
|
+
tooltipMandatory: boolean;
|
|
10
|
+
showTooltip: boolean;
|
|
11
|
+
animate: boolean;
|
|
12
|
+
tooltip: HTMLElement;
|
|
13
|
+
offset: number;
|
|
14
|
+
constructor(el: ElementRef, renderer: Renderer2);
|
|
15
|
+
ngOnInit(): void;
|
|
16
|
+
onMouseEnter(): void;
|
|
17
|
+
onMouseOver(): void;
|
|
18
|
+
onMouseLeave(): void;
|
|
19
|
+
onMouseOut(): void;
|
|
20
|
+
onClick(): void;
|
|
21
|
+
show(): void;
|
|
22
|
+
hide(): void;
|
|
23
|
+
create(): void;
|
|
24
|
+
setPosition(): void;
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToolTipDirective, never>;
|
|
26
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ToolTipDirective, "[arTooltip]", never, { "tooltipTitle": { "alias": "arTooltip"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "type": { "alias": "type"; "required": false; }; "tooltipMandatory": { "alias": "tooltipMandatory"; "required": false; }; "showTooltip": { "alias": "showTooltip"; "required": false; }; "animate": { "alias": "animate"; "required": false; }; }, {}, never, never, false, never>;
|
|
27
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./tooltip.directive";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
export declare class TooltipModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TooltipModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TooltipModule, [typeof i1.ToolTipDirective], [typeof i2.CommonModule], [typeof i1.ToolTipDirective]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TooltipModule>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class VcLayoutComponent implements OnInit {
|
|
4
|
+
baseUrl: string;
|
|
5
|
+
constructor();
|
|
6
|
+
ngOnInit(): void;
|
|
7
|
+
private setBaseUrl;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VcLayoutComponent, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VcLayoutComponent, "vc-layout", never, {}, {}, never, never, false, never>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
+
import { Configurations } from './configurations';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "./vc-layout.component";
|
|
5
|
+
export declare class VcLayoutModule {
|
|
6
|
+
static forRoot(environmentConfig: Configurations): ModuleWithProviders<VcLayoutModule>;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VcLayoutModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<VcLayoutModule, [typeof i1.VcLayoutComponent], never, [typeof i1.VcLayoutComponent]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<VcLayoutModule>;
|
|
10
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "vc-layout",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"peerDependencies": {
|
|
5
|
+
"@angular/common": " 12.x || 13.x || 14.x || 15.x || 16.x || 17.x || 18.x || 19.x ",
|
|
6
|
+
"@angular/core": " 12.x || 13.x || 14.x || 15.x || 16.x || 17.x || 18.x || 19.x "
|
|
7
|
+
},
|
|
8
|
+
"dependencies": {
|
|
9
|
+
"tslib": "^2.3.0"
|
|
10
|
+
},
|
|
11
|
+
"module": "fesm2022/vc-layout.mjs",
|
|
12
|
+
"typings": "index.d.ts",
|
|
13
|
+
"exports": {
|
|
14
|
+
"./package.json": {
|
|
15
|
+
"default": "./package.json"
|
|
16
|
+
},
|
|
17
|
+
".": {
|
|
18
|
+
"types": "./index.d.ts",
|
|
19
|
+
"esm2022": "./esm2022/vc-layout.mjs",
|
|
20
|
+
"esm": "./esm2022/vc-layout.mjs",
|
|
21
|
+
"default": "./fesm2022/vc-layout.mjs"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"sideEffects": false
|
|
25
|
+
}
|
package/public-api.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export * from './lib/shared/services/rbac.service';
|
|
2
|
+
export * from './lib/vc-layout.service';
|
|
3
|
+
export * from './lib/vc-layout.component';
|
|
4
|
+
export * from './lib/vc-layout.module';
|
|
5
|
+
export * from './lib/components/product-list/product-list-container/product-list-container.component';
|
|
6
|
+
export * from './lib/components/header/header-container/header-container.component';
|
|
7
|
+
export * from './lib/components/sub-menu/sub-menu-container/sub-menu-container.component';
|
|
8
|
+
export * from './lib/components/product-list/product-list.module';
|
|
9
|
+
export * from './lib/components/header/header.module';
|
|
10
|
+
export * from './lib/components/sub-menu/sub-menu.module';
|