vc-layout 1.2.4 → 2.0.0
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 -24
- package/esm2022/lib/components/global-alert/global-alert/global-alert.component.mjs +83 -83
- package/esm2022/lib/components/global-alert/global-alert.module.mjs +1 -1
- package/esm2022/lib/components/header/business-cycle/business-cycle.component.mjs +3 -3
- package/esm2022/lib/components/header/create-workflow/create-workflow.component.mjs +3 -3
- package/esm2022/lib/components/header/header-container/header-container.component.mjs +4 -10
- package/esm2022/lib/components/header/header.module.mjs +2 -5
- package/esm2022/lib/components/header/queue/queue.component.mjs +35 -35
- package/esm2022/lib/components/header/search/search.component.mjs +75 -75
- package/esm2022/lib/components/header/support/support.component.mjs +13 -13
- package/esm2022/lib/components/header/user-details/user-details.component.mjs +3 -3
- package/esm2022/lib/components/product-list/module-list/module-list.component.mjs +77 -77
- package/esm2022/lib/components/product-list/preference-list/preference-list.component.mjs +59 -59
- package/esm2022/lib/components/product-list/product-list-container/product-list-container.component.mjs +17 -17
- package/esm2022/lib/components/product-list/product-list.module.mjs +1 -1
- package/esm2022/lib/components/sub-menu/sub-menu-container/sub-menu-container.component.mjs +77 -77
- package/esm2022/lib/components/sub-menu/sub-menu.module.mjs +1 -1
- package/esm2022/lib/configurations.mjs +1 -1
- package/esm2022/lib/constants/alerts.constant.mjs +1 -1
- package/esm2022/lib/constants/api.constant.mjs +1 -1
- package/esm2022/lib/constants/app-url.constant.mjs +1 -1
- package/esm2022/lib/constants/assets.constants.mjs +1 -2
- package/esm2022/lib/constants/business-cycle.constant.mjs +2 -1
- package/esm2022/lib/constants/product-list.constant.mjs +1 -1
- package/esm2022/lib/shared/pipe/check-create-permission.pipe.mjs +1 -1
- package/esm2022/lib/shared/pipe/date-format.pipe.mjs +1 -1
- package/esm2022/lib/shared/pipe/get-file-url.pipe.mjs +1 -1
- package/esm2022/lib/shared/pipe/get-module-icon.pipe.mjs +1 -1
- package/esm2022/lib/shared/pipe/pipes.module.mjs +1 -1
- package/esm2022/lib/shared/services/RBAC.service.mjs +1 -1
- package/esm2022/lib/shared/services/api.service.mjs +1 -1
- package/esm2022/lib/shared/services/business-cycle.service.mjs +12 -5
- package/esm2022/lib/shared/services/layout.service.mjs +1 -1
- package/esm2022/lib/shared/services/product-list.service.mjs +1 -1
- package/esm2022/lib/shared/ui-kit/avatar/avatar/avatar.component.mjs +19 -19
- package/esm2022/lib/shared/ui-kit/avatar/avatar.module.mjs +1 -1
- package/esm2022/lib/shared/ui-kit/formgroup/checkbox/checkbox.component.mjs +3 -3
- package/esm2022/lib/shared/ui-kit/formgroup/click-outside.directive.mjs +1 -1
- package/esm2022/lib/shared/ui-kit/formgroup/cs-checkbox/cs-checkbox.component.mjs +3 -3
- package/esm2022/lib/shared/ui-kit/formgroup/cs-checkbox-indeterminate/cs-checkbox-indeterminate.component.mjs +3 -3
- package/esm2022/lib/shared/ui-kit/formgroup/cs-radio/cs-radio.component.mjs +3 -3
- package/esm2022/lib/shared/ui-kit/formgroup/cs-radio-group/cs-radio-group.component.mjs +3 -3
- package/esm2022/lib/shared/ui-kit/formgroup/cs-select/cs-select.component.mjs +3 -3
- package/esm2022/lib/shared/ui-kit/formgroup/cs-switch/cs-switch.component.mjs +3 -3
- package/esm2022/lib/shared/ui-kit/formgroup/formgroup.module.mjs +1 -1
- package/esm2022/lib/shared/ui-kit/formgroup/pipes/pascal.pipe.mjs +1 -1
- package/esm2022/lib/shared/ui-kit/formgroup/pipes/searchMultiSelect.pipe.mjs +1 -1
- package/esm2022/lib/shared/ui-kit/page-loader/page-loader.component.mjs +31 -31
- package/esm2022/lib/shared/ui-kit/popover/popover-event.directive.mjs +1 -1
- package/esm2022/lib/shared/ui-kit/popover/popover-longpress.directive.mjs +1 -1
- package/esm2022/lib/shared/ui-kit/popover/popover.component.mjs +3 -3
- package/esm2022/lib/shared/ui-kit/popover/popover.directive.mjs +1 -1
- package/esm2022/lib/shared/ui-kit/popover/popover.module.mjs +1 -1
- package/esm2022/lib/shared/ui-kit/popover/popover.service.mjs +1 -1
- package/esm2022/lib/shared/ui-kit/tooltip/tooltip.directive.mjs +1 -1
- package/esm2022/lib/shared/ui-kit/tooltip/tooltip.module.mjs +1 -1
- package/esm2022/lib/vc-layout.component.mjs +1 -1
- package/esm2022/lib/vc-layout.module.mjs +1 -1
- package/esm2022/lib/vc-layout.service.mjs +1 -1
- package/esm2022/public-api.mjs +1 -1
- package/fesm2022/vc-layout.mjs +513 -541
- package/fesm2022/vc-layout.mjs.map +1 -1
- package/lib/components/header/header-container/header-container.component.d.ts +0 -2
- package/lib/components/header/header.module.d.ts +9 -10
- package/package.json +1 -1
- package/esm2022/lib/components/header/ai-assistant/ai-assistant.component.mjs +0 -31
- package/lib/components/header/ai-assistant/ai-assistant.component.d.ts +0 -10
|
@@ -14,7 +14,6 @@ export declare class HeaderContainerComponent implements OnInit, OnDestroy {
|
|
|
14
14
|
showBusinessCycle: string[];
|
|
15
15
|
currentUrl: string;
|
|
16
16
|
defaultURL: string;
|
|
17
|
-
isAiAssistantEnabled: boolean;
|
|
18
17
|
showSearch: boolean;
|
|
19
18
|
featureFlag: any;
|
|
20
19
|
isAdvanceSearch: boolean;
|
|
@@ -28,7 +27,6 @@ export declare class HeaderContainerComponent implements OnInit, OnDestroy {
|
|
|
28
27
|
businessCycleChangeHandler(event: any): void;
|
|
29
28
|
onRouterChange(): void;
|
|
30
29
|
get isBusinessCycleVisible(): boolean;
|
|
31
|
-
getFlagStatus(): void;
|
|
32
30
|
checkSnowFallVisibility(): void;
|
|
33
31
|
checkXmasCapVisibility(): void;
|
|
34
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<HeaderContainerComponent, never>;
|
|
@@ -6,17 +6,16 @@ import * as i4 from "./create-workflow/create-workflow.component";
|
|
|
6
6
|
import * as i5 from "./queue/queue.component";
|
|
7
7
|
import * as i6 from "./user-details/user-details.component";
|
|
8
8
|
import * as i7 from "./support/support.component";
|
|
9
|
-
import * as i8 from "
|
|
10
|
-
import * as i9 from "
|
|
11
|
-
import * as i10 from "../../shared/ui-kit/
|
|
12
|
-
import * as i11 from "../../shared/ui-kit/
|
|
13
|
-
import * as i12 from "../../shared/ui-kit/
|
|
14
|
-
import * as i13 from "
|
|
15
|
-
import * as i14 from "
|
|
16
|
-
import * as i15 from "
|
|
17
|
-
import * as i16 from "@angular/forms";
|
|
9
|
+
import * as i8 from "@angular/common";
|
|
10
|
+
import * as i9 from "../../shared/ui-kit/tooltip/tooltip.module";
|
|
11
|
+
import * as i10 from "../../shared/ui-kit/avatar/avatar.module";
|
|
12
|
+
import * as i11 from "../../shared/ui-kit/popover/popover.module";
|
|
13
|
+
import * as i12 from "../../shared/ui-kit/formgroup/formgroup.module";
|
|
14
|
+
import * as i13 from "../global-alert/global-alert.module";
|
|
15
|
+
import * as i14 from "../../shared/pipe/pipes.module";
|
|
16
|
+
import * as i15 from "@angular/forms";
|
|
18
17
|
export declare class HeaderModule {
|
|
19
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<HeaderModule, never>;
|
|
20
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<HeaderModule, [typeof i1.HeaderContainerComponent, typeof i2.BusinessCycleComponent, typeof i3.SearchComponent, typeof i4.CreateWorkflowComponent, typeof i5.QueueComponent, typeof i6.UserDetailsComponent, typeof i7.SupportComponent
|
|
19
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<HeaderModule, [typeof i1.HeaderContainerComponent, typeof i2.BusinessCycleComponent, typeof i3.SearchComponent, typeof i4.CreateWorkflowComponent, typeof i5.QueueComponent, typeof i6.UserDetailsComponent, typeof i7.SupportComponent], [typeof i8.CommonModule, typeof i9.TooltipModule, typeof i10.AvatarModule, typeof i11.PopoverModule, typeof i12.FormgroupModule, typeof i13.GlobalAlertModule, typeof i14.PipesModule, typeof i15.FormsModule, typeof i12.FormgroupModule], [typeof i1.HeaderContainerComponent]>;
|
|
21
20
|
static ɵinj: i0.ɵɵInjectorDeclaration<HeaderModule>;
|
|
22
21
|
}
|
package/package.json
CHANGED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { Component, EventEmitter, Output } from '@angular/core';
|
|
2
|
-
import { ASSETS } from '../../../constants/assets.constants';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export class AiAssistantComponent {
|
|
5
|
-
constructor() {
|
|
6
|
-
this.ASSETS = ASSETS;
|
|
7
|
-
this.openAiAssistant = new EventEmitter();
|
|
8
|
-
}
|
|
9
|
-
ngOnInit() { }
|
|
10
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AiAssistantComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
11
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: AiAssistantComponent, selector: "vc-ai-assistant", outputs: { openAiAssistant: "openAiAssistant" }, ngImport: i0, template: `<div
|
|
12
|
-
(click)="openAiAssistant.emit()"
|
|
13
|
-
class="header-ai-assistant vx-fs-11 vx-txt-white vx-tt-uppercase vx-p-1 vx-pl-2 vx-pr-2 vx-d-flex vx-align-center vx-mr-4"
|
|
14
|
-
>
|
|
15
|
-
<img [src]="ASSETS.ai_assistant_icon" alt="AI Assistant" width="18" height="18" class="vx-mr-2"/>
|
|
16
|
-
AI ASSISTANT
|
|
17
|
-
</div>`, isInline: true, styles: ["@import\"https://cdn.v-comply.com/design-system/css/mixin/mixin.css\";@import\"https://cdn.v-comply.com/design-system/css/color/color.css\";@import\"https://cdn.v-comply.com/design-system/css/icons/icons.css\";@import\"https://cdn.v-comply.com/design-system/css/display/display.css\";@import\"https://cdn.v-comply.com/design-system/css/alignment/alignment.css\";@import\"https://cdn.v-comply.com/design-system/css/text/text.css\";@import\"https://cdn.v-comply.com/design-system/css/width/width.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-top.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-right.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-bottom.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-left.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-top.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-right.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-bottom.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-left.css\";.header-ai-assistant{border-radius:.125rem;cursor:pointer;height:1.5rem;position:relative}.header-ai-assistant:before{background:#74757690;content:\"\";position:absolute;top:0;right:-.5rem;width:1px;height:1.5rem}.header-ai-assistant:hover{background:#343952}\n"] }); }
|
|
18
|
-
}
|
|
19
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AiAssistantComponent, decorators: [{
|
|
20
|
-
type: Component,
|
|
21
|
-
args: [{ selector: 'vc-ai-assistant', template: `<div
|
|
22
|
-
(click)="openAiAssistant.emit()"
|
|
23
|
-
class="header-ai-assistant vx-fs-11 vx-txt-white vx-tt-uppercase vx-p-1 vx-pl-2 vx-pr-2 vx-d-flex vx-align-center vx-mr-4"
|
|
24
|
-
>
|
|
25
|
-
<img [src]="ASSETS.ai_assistant_icon" alt="AI Assistant" width="18" height="18" class="vx-mr-2"/>
|
|
26
|
-
AI ASSISTANT
|
|
27
|
-
</div>`, styles: ["@import\"https://cdn.v-comply.com/design-system/css/mixin/mixin.css\";@import\"https://cdn.v-comply.com/design-system/css/color/color.css\";@import\"https://cdn.v-comply.com/design-system/css/icons/icons.css\";@import\"https://cdn.v-comply.com/design-system/css/display/display.css\";@import\"https://cdn.v-comply.com/design-system/css/alignment/alignment.css\";@import\"https://cdn.v-comply.com/design-system/css/text/text.css\";@import\"https://cdn.v-comply.com/design-system/css/width/width.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-top.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-right.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-bottom.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-left.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-top.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-right.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-bottom.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-left.css\";.header-ai-assistant{border-radius:.125rem;cursor:pointer;height:1.5rem;position:relative}.header-ai-assistant:before{background:#74757690;content:\"\";position:absolute;top:0;right:-.5rem;width:1px;height:1.5rem}.header-ai-assistant:hover{background:#343952}\n"] }]
|
|
28
|
-
}], ctorParameters: function () { return []; }, propDecorators: { openAiAssistant: [{
|
|
29
|
-
type: Output
|
|
30
|
-
}] } });
|
|
31
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWktYXNzaXN0YW50LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3ZjLWxheW91dC9zcmMvbGliL2NvbXBvbmVudHMvaGVhZGVyL2FpLWFzc2lzdGFudC9haS1hc3Npc3RhbnQuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsWUFBWSxFQUFVLE1BQU0sRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN4RSxPQUFPLEVBQUUsTUFBTSxFQUFFLE1BQU0scUNBQXFDLENBQUM7O0FBYTdELE1BQU0sT0FBTyxvQkFBb0I7SUFLL0I7UUFKQSxXQUFNLEdBQVEsTUFBTSxDQUFDO1FBRVgsb0JBQW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BvbmVudCBpbXBsZW1lbnRzIE9uSW5pdCB7XG4gIEFTU0VUUzogYW55ID0gQVNTRVRTO1xuXG4gIEBPdXRwdXQoKSBvcGVuQWlBc3Npc3RhbnQ6IEV2ZW50RW1pdHRlcjxhbnk+ID0gbmV3IEV2ZW50RW1pdHRlcjxhbnk+KCk7XG5cbiAgY29uc3RydWN0b3IoKSB7fVxuXG4gIG5nT25Jbml0KCk6IHZvaWQge31cbn1cbiJdfQ==
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class AiAssistantComponent implements OnInit {
|
|
4
|
-
ASSETS: any;
|
|
5
|
-
openAiAssistant: EventEmitter<any>;
|
|
6
|
-
constructor();
|
|
7
|
-
ngOnInit(): void;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AiAssistantComponent, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AiAssistantComponent, "vc-ai-assistant", never, {}, { "openAiAssistant": "openAiAssistant"; }, never, never, false, never>;
|
|
10
|
-
}
|