@posiwise/dashboard-module 0.0.86 → 0.0.87
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/esm2022/index.mjs +16 -0
- package/esm2022/lib/customizer/customizer.component.mjs +17 -0
- package/esm2022/lib/dashboard.module.mjs +101 -0
- package/esm2022/lib/faq/faq.component.mjs +108 -0
- package/esm2022/lib/faq-details/faq-details.component.mjs +38 -0
- package/esm2022/lib/footer/footer.component.mjs +22 -0
- package/esm2022/lib/home/home.component.mjs +79 -0
- package/esm2022/lib/navbar/navbar.component.mjs +162 -0
- package/esm2022/lib/notifications-page/current-notifications/current-notifications.component.mjs +58 -0
- package/esm2022/lib/notifications-page/dismissed-notifications/dismissed-notifications.component.mjs +73 -0
- package/esm2022/lib/notifications-page/notifications-page.component.mjs +14 -0
- package/esm2022/lib/search/search.component.mjs +48 -0
- package/esm2022/lib/sidebar/sidebar-routes.config.mjs +350 -0
- package/esm2022/lib/sidebar/sidebar.metadata.mjs +2 -0
- package/esm2022/lib/user-feedback/user-feedback.component.mjs +73 -0
- package/esm2022/lib/user-notifications/user-notifications.component.mjs +65 -0
- package/esm2022/posiwise-dashboard-module.mjs +5 -0
- package/fesm2022/posiwise-dashboard-module.mjs +1118 -0
- package/fesm2022/posiwise-dashboard-module.mjs.map +1 -0
- package/{src/index.ts → index.d.ts} +0 -1
- package/lib/customizer/customizer.component.d.ts +7 -0
- package/lib/dashboard.module.d.ts +28 -0
- package/lib/faq/faq.component.d.ts +37 -0
- package/lib/faq-details/faq-details.component.d.ts +16 -0
- package/lib/footer/footer.component.d.ts +12 -0
- package/lib/home/home.component.d.ts +18 -0
- package/lib/navbar/navbar.component.d.ts +35 -0
- package/lib/notifications-page/current-notifications/current-notifications.component.d.ts +17 -0
- package/lib/notifications-page/dismissed-notifications/dismissed-notifications.component.d.ts +18 -0
- package/lib/notifications-page/notifications-page.component.d.ts +5 -0
- package/lib/search/search.component.d.ts +24 -0
- package/lib/sidebar/sidebar-routes.config.d.ts +64 -0
- package/{src/lib/sidebar/sidebar.metadata.ts → lib/sidebar/sidebar.metadata.d.ts} +0 -1
- package/lib/user-feedback/user-feedback.component.d.ts +24 -0
- package/lib/user-notifications/user-notifications.component.d.ts +20 -0
- package/package.json +23 -10
- package/.eslintrc.json +0 -21
- package/ng-package.json +0 -15
- package/project.json +0 -72
- package/src/lib/customizer/customizer.component.html +0 -184
- package/src/lib/customizer/customizer.component.scss +0 -101
- package/src/lib/customizer/customizer.component.ts +0 -13
- package/src/lib/dashboard.module.ts +0 -63
- package/src/lib/faq/faq.component.html +0 -110
- package/src/lib/faq/faq.component.scss +0 -58
- package/src/lib/faq/faq.component.spec.ts +0 -143
- package/src/lib/faq/faq.component.ts +0 -144
- package/src/lib/faq-details/faq-details.component.html +0 -21
- package/src/lib/faq-details/faq-details.component.scss +0 -3
- package/src/lib/faq-details/faq-details.component.spec.ts +0 -69
- package/src/lib/faq-details/faq-details.component.ts +0 -38
- package/src/lib/footer/footer.component.html +0 -14
- package/src/lib/footer/footer.component.spec.ts +0 -42
- package/src/lib/footer/footer.component.ts +0 -24
- package/src/lib/home/home.component.html +0 -93
- package/src/lib/home/home.component.scss +0 -0
- package/src/lib/home/home.component.spec.ts +0 -69
- package/src/lib/home/home.component.ts +0 -88
- package/src/lib/navbar/navbar.component.html +0 -189
- package/src/lib/navbar/navbar.component.scss +0 -92
- package/src/lib/navbar/navbar.component.spec.ts +0 -76
- package/src/lib/navbar/navbar.component.ts +0 -198
- package/src/lib/notifications-page/current-notifications/current-notifications.component.html +0 -61
- package/src/lib/notifications-page/current-notifications/current-notifications.component.spec.ts +0 -57
- package/src/lib/notifications-page/current-notifications/current-notifications.component.ts +0 -63
- package/src/lib/notifications-page/dismissed-notifications/dismissed-notifications.component.html +0 -65
- package/src/lib/notifications-page/dismissed-notifications/dismissed-notifications.component.spec.ts +0 -71
- package/src/lib/notifications-page/dismissed-notifications/dismissed-notifications.component.ts +0 -79
- package/src/lib/notifications-page/notifications-page.component.html +0 -24
- package/src/lib/notifications-page/notifications-page.component.scss +0 -28
- package/src/lib/notifications-page/notifications-page.component.spec.ts +0 -26
- package/src/lib/notifications-page/notifications-page.component.ts +0 -8
- package/src/lib/search/search.component.html +0 -215
- package/src/lib/search/search.component.scss +0 -98
- package/src/lib/search/search.component.spec.ts +0 -64
- package/src/lib/search/search.component.ts +0 -50
- package/src/lib/sidebar/sidebar-routes.config.ts +0 -355
- package/src/lib/user-feedback/user-feedback.component.html +0 -53
- package/src/lib/user-feedback/user-feedback.component.scss +0 -18
- package/src/lib/user-feedback/user-feedback.component.spec.ts +0 -54
- package/src/lib/user-feedback/user-feedback.component.ts +0 -83
- package/src/lib/user-notifications/user-notifications.component.html +0 -21
- package/src/lib/user-notifications/user-notifications.component.scss +0 -21
- package/src/lib/user-notifications/user-notifications.component.spec.ts +0 -47
- package/src/lib/user-notifications/user-notifications.component.ts +0 -74
- package/tsconfig.json +0 -30
- package/tsconfig.lib.json +0 -19
- package/tsconfig.lib.prod.json +0 -9
- package/tsconfig.spec.json +0 -11
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { RouteInfo } from './sidebar.metadata';
|
|
2
|
+
export declare const ROUTES: RouteInfo[];
|
|
3
|
+
export declare const FAQ_Menu: {
|
|
4
|
+
permission: string;
|
|
5
|
+
path: string;
|
|
6
|
+
title: string;
|
|
7
|
+
icon: string;
|
|
8
|
+
class: string;
|
|
9
|
+
badge: string;
|
|
10
|
+
badgeClass: string;
|
|
11
|
+
isExternalLink: boolean;
|
|
12
|
+
submenu: any[];
|
|
13
|
+
visible: boolean;
|
|
14
|
+
order: number;
|
|
15
|
+
};
|
|
16
|
+
export declare const ENTERPRISE_MENU: {
|
|
17
|
+
permission: string;
|
|
18
|
+
path: string;
|
|
19
|
+
title: string;
|
|
20
|
+
icon: string;
|
|
21
|
+
class: string;
|
|
22
|
+
badge: string;
|
|
23
|
+
badgeClass: string;
|
|
24
|
+
isExternalLink: boolean;
|
|
25
|
+
order: number;
|
|
26
|
+
submenu: {
|
|
27
|
+
permission: string;
|
|
28
|
+
path: string;
|
|
29
|
+
title: string;
|
|
30
|
+
icon: string;
|
|
31
|
+
class: string;
|
|
32
|
+
badge: string;
|
|
33
|
+
badgeClass: string;
|
|
34
|
+
isExternalLink: boolean;
|
|
35
|
+
submenu: any[];
|
|
36
|
+
visible: boolean;
|
|
37
|
+
}[];
|
|
38
|
+
visible: boolean;
|
|
39
|
+
};
|
|
40
|
+
export declare const CHAT_MENU: {
|
|
41
|
+
permission: string;
|
|
42
|
+
path: string;
|
|
43
|
+
title: string;
|
|
44
|
+
icon: string;
|
|
45
|
+
class: string;
|
|
46
|
+
badge: string;
|
|
47
|
+
badgeClass: string;
|
|
48
|
+
isExternalLink: boolean;
|
|
49
|
+
submenu: any[];
|
|
50
|
+
order: number;
|
|
51
|
+
visible: boolean;
|
|
52
|
+
};
|
|
53
|
+
export declare const BLOG_MENU: {
|
|
54
|
+
permission: string;
|
|
55
|
+
path: string;
|
|
56
|
+
title: string;
|
|
57
|
+
icon: string;
|
|
58
|
+
class: string;
|
|
59
|
+
badge: string;
|
|
60
|
+
badgeClass: string;
|
|
61
|
+
isExternalLink: boolean;
|
|
62
|
+
submenu: any[];
|
|
63
|
+
visible: boolean;
|
|
64
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Injector, OnInit } from '@angular/core';
|
|
2
|
+
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
3
|
+
import { User } from '@posiwise/common-utilities';
|
|
4
|
+
import { CommonService } from '@posiwise/common-services';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class UserFeedbackComponent extends AppBaseComponent implements OnInit {
|
|
7
|
+
private commonService;
|
|
8
|
+
rating: number;
|
|
9
|
+
selectedValue: number | null;
|
|
10
|
+
questions: any[];
|
|
11
|
+
counter: ArrayConstructor;
|
|
12
|
+
subscriptionId: number;
|
|
13
|
+
user: User;
|
|
14
|
+
showSection: boolean;
|
|
15
|
+
constructor(injector: Injector, commonService: CommonService);
|
|
16
|
+
ngOnInit(): void;
|
|
17
|
+
checkFeedBackExpiry(): void;
|
|
18
|
+
closeSection(): void;
|
|
19
|
+
private getFeedbackQuestions;
|
|
20
|
+
onSubmit(questionId: number, formValue: any): void;
|
|
21
|
+
trackByQuestion(_index: number, item: any): any;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UserFeedbackComponent, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UserFeedbackComponent, "pw-user-feedback", never, {}, {}, never, never, false, never>;
|
|
24
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { Subject } from 'rxjs';
|
|
3
|
+
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
4
|
+
import { CommonService } from '@posiwise/common-services';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class UserNotificationsComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
7
|
+
private commonService;
|
|
8
|
+
notifications: any[];
|
|
9
|
+
notifier: Subject<unknown>;
|
|
10
|
+
isHomePage: boolean;
|
|
11
|
+
previousUrl: string;
|
|
12
|
+
currentUrl: string;
|
|
13
|
+
constructor(injector: Injector, commonService: CommonService);
|
|
14
|
+
ngOnInit(): void;
|
|
15
|
+
getUserNotifications(): void;
|
|
16
|
+
hideNoty(id: number): void;
|
|
17
|
+
ngOnDestroy(): void;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UserNotificationsComponent, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UserNotificationsComponent, "pw-user-notifications", never, {}, {}, never, never, false, never>;
|
|
20
|
+
}
|
package/package.json
CHANGED
|
@@ -1,12 +1,25 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
"name": "@posiwise/dashboard-module",
|
|
3
|
+
"version": "0.0.87",
|
|
4
|
+
"peerDependencies": {
|
|
5
|
+
"@angular/common": "17.3.6",
|
|
6
|
+
"@angular/core": "17.3.6"
|
|
7
|
+
},
|
|
8
|
+
"dependencies": {
|
|
9
|
+
"tslib": "^2.6.2"
|
|
10
|
+
},
|
|
11
|
+
"sideEffects": false,
|
|
12
|
+
"module": "fesm2022/posiwise-dashboard-module.mjs",
|
|
13
|
+
"typings": "index.d.ts",
|
|
14
|
+
"exports": {
|
|
15
|
+
"./package.json": {
|
|
16
|
+
"default": "./package.json"
|
|
7
17
|
},
|
|
8
|
-
"
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
18
|
+
".": {
|
|
19
|
+
"types": "./index.d.ts",
|
|
20
|
+
"esm2022": "./esm2022/posiwise-dashboard-module.mjs",
|
|
21
|
+
"esm": "./esm2022/posiwise-dashboard-module.mjs",
|
|
22
|
+
"default": "./fesm2022/posiwise-dashboard-module.mjs"
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
package/.eslintrc.json
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"extends": ["../../.eslintrc.json"],
|
|
3
|
-
"ignorePatterns": ["!**/*"],
|
|
4
|
-
"overrides": [
|
|
5
|
-
{
|
|
6
|
-
"files": ["*.ts"],
|
|
7
|
-
"rules": {
|
|
8
|
-
"@typescript-eslint/no-explicit-any": "warn"
|
|
9
|
-
},
|
|
10
|
-
"extends": [
|
|
11
|
-
"plugin:@nx/angular",
|
|
12
|
-
"plugin:@angular-eslint/template/process-inline-templates"
|
|
13
|
-
]
|
|
14
|
-
},
|
|
15
|
-
{
|
|
16
|
-
"files": ["*.html"],
|
|
17
|
-
"extends": ["plugin:@nx/angular-template"],
|
|
18
|
-
"rules": {}
|
|
19
|
-
}
|
|
20
|
-
]
|
|
21
|
-
}
|
package/ng-package.json
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "../../node_modules/ng-packagr/ng-package.schema.json",
|
|
3
|
-
"dest": "../../dist/libs/dashboard-module",
|
|
4
|
-
"lib": {
|
|
5
|
-
"entryFile": "src/index.ts",
|
|
6
|
-
"styleIncludePaths": ["../core-styles/scss"]
|
|
7
|
-
},
|
|
8
|
-
"assets": [
|
|
9
|
-
{
|
|
10
|
-
"glob": "**/*.scss",
|
|
11
|
-
"input": "@posiwise/core-styles/",
|
|
12
|
-
"output": "./assets"
|
|
13
|
-
}
|
|
14
|
-
]
|
|
15
|
-
}
|
package/project.json
DELETED
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "dashboard-module",
|
|
3
|
-
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
|
4
|
-
"sourceRoot": "libs/dashboard-module/src",
|
|
5
|
-
"prefix": "posiwise",
|
|
6
|
-
"tags": [],
|
|
7
|
-
"projectType": "library",
|
|
8
|
-
"targets": {
|
|
9
|
-
"build": {
|
|
10
|
-
"executor": "@nx/angular:package",
|
|
11
|
-
"outputs": ["{workspaceRoot}/dist/{projectRoot}"],
|
|
12
|
-
"options": {
|
|
13
|
-
"tsConfig": "libs/dashboard-module/tsconfig.lib.json",
|
|
14
|
-
"project": "libs/dashboard-module/ng-package.json"
|
|
15
|
-
},
|
|
16
|
-
"configurations": {
|
|
17
|
-
"production": {
|
|
18
|
-
"tsConfig": "libs/dashboard-module/tsconfig.lib.prod.json"
|
|
19
|
-
},
|
|
20
|
-
"development": {
|
|
21
|
-
"tsConfig": "libs/dashboard-module/tsconfig.lib.json"
|
|
22
|
-
}
|
|
23
|
-
},
|
|
24
|
-
"defaultConfiguration": "production"
|
|
25
|
-
},
|
|
26
|
-
"test": {
|
|
27
|
-
"executor": "@angular-devkit/build-angular:karma",
|
|
28
|
-
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
|
|
29
|
-
"options": {
|
|
30
|
-
"main": "libs/test-setup.ts",
|
|
31
|
-
"karmaConfig": "libs/karma.conf.js",
|
|
32
|
-
"polyfills": ["zone.js"],
|
|
33
|
-
"sourceMap": false,
|
|
34
|
-
"tsConfig": "libs/dashboard-module/tsconfig.spec.json",
|
|
35
|
-
"assets": [
|
|
36
|
-
{
|
|
37
|
-
"glob": "**/*.scss",
|
|
38
|
-
"input": "libs/core-styles/",
|
|
39
|
-
"output": "./assets"
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
"glob": "**/*",
|
|
43
|
-
"input": "libs/i18n",
|
|
44
|
-
"output": "./assets/i18n/"
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
"glob": "**/*",
|
|
48
|
-
"input": "./libs/core-images",
|
|
49
|
-
"output": "./assets/img/"
|
|
50
|
-
}
|
|
51
|
-
],
|
|
52
|
-
"scripts": [
|
|
53
|
-
"node_modules/jquery/dist/jquery.min.js",
|
|
54
|
-
"libs/js-assets/popper.js",
|
|
55
|
-
"node_modules/bootstrap/dist/js/bootstrap.bundle.min.js",
|
|
56
|
-
"node_modules/jstree/dist/jstree.min.js",
|
|
57
|
-
"libs/js-assets/perfect-scrollbar.jquery.min.js",
|
|
58
|
-
"node_modules/psl/dist/psl.min.js",
|
|
59
|
-
"libs/js-assets/main.js",
|
|
60
|
-
"libs/js-assets/global.js"
|
|
61
|
-
],
|
|
62
|
-
"stylePreprocessorOptions": {
|
|
63
|
-
"includePaths": ["libs/core-styles/scss"]
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
},
|
|
67
|
-
"lint": {
|
|
68
|
-
"executor": "@nx/eslint:lint",
|
|
69
|
-
"outputs": ["{options.outputFile}"]
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
}
|
|
@@ -1,184 +0,0 @@
|
|
|
1
|
-
<!--Theme customizer Starts-->
|
|
2
|
-
<div class="customizer border-left-blue-grey border-left-lighten-4 d-none d-sm-none d-md-block open">
|
|
3
|
-
<a class="customizer-close">
|
|
4
|
-
<i class="ft-x font-medium-3" aria-hidden="true"></i>
|
|
5
|
-
</a>
|
|
6
|
-
<a class="customizer-toggle bg-danger"
|
|
7
|
-
id="customizer-toggle-icon">
|
|
8
|
-
<i class="ft-settings font-medium-4 fa fa-spin white align-middle" aria-hidden="true"></i>
|
|
9
|
-
</a>
|
|
10
|
-
<div class="customizer-content p-3 ps-container ps-theme-dark"
|
|
11
|
-
data-ps-id="df6a5ce4-a175-9172-4402-dabd98fc9c0a">
|
|
12
|
-
<h4 class="text-uppercase mb-0 text-bold-400">Theme Customizer</h4>
|
|
13
|
-
<p>Customize & Preview in Real Time</p>
|
|
14
|
-
<hr />
|
|
15
|
-
<!--Sidebar Options Starts-->
|
|
16
|
-
<h6 class="text-center text-bold-500 mb-3 text-uppercase">Sidebar Color Options</h6>
|
|
17
|
-
<div class="cz-bg-color">
|
|
18
|
-
<div class="row p-1">
|
|
19
|
-
<div class="col">
|
|
20
|
-
<span class="gradient-pomegranate d-block rounded-circle"
|
|
21
|
-
data-bg-color="pomegranate"></span>
|
|
22
|
-
</div>
|
|
23
|
-
<div class="col">
|
|
24
|
-
<span class="gradient-king-yna d-block rounded-circle"
|
|
25
|
-
data-bg-color="king-yna"></span>
|
|
26
|
-
</div>
|
|
27
|
-
<div class="col">
|
|
28
|
-
<span class="gradient-ibiza-sunset d-block rounded-circle"
|
|
29
|
-
data-bg-color="ibiza-sunset"></span>
|
|
30
|
-
</div>
|
|
31
|
-
<div class="col">
|
|
32
|
-
<span class="gradient-flickr d-block rounded-circle"
|
|
33
|
-
data-bg-color="flickr"></span>
|
|
34
|
-
</div>
|
|
35
|
-
<div class="col">
|
|
36
|
-
<span class="gradient-purple-bliss d-block rounded-circle"
|
|
37
|
-
data-bg-color="purple-bliss"></span>
|
|
38
|
-
</div>
|
|
39
|
-
<div class="col">
|
|
40
|
-
<span class="gradient-man-of-steel d-block rounded-circle"
|
|
41
|
-
data-bg-color="man-of-steel"></span>
|
|
42
|
-
</div>
|
|
43
|
-
<div class="col">
|
|
44
|
-
<span class="gradient-custom-branding d-block rounded-circle"
|
|
45
|
-
data-bg-color="custom-branding"></span>
|
|
46
|
-
</div>
|
|
47
|
-
<div class="col">
|
|
48
|
-
<span class="gradient-purple-love d-block rounded-circle"
|
|
49
|
-
data-bg-color="purple-love"></span>
|
|
50
|
-
</div>
|
|
51
|
-
</div>
|
|
52
|
-
<div class="row p-1">
|
|
53
|
-
<div class="col">
|
|
54
|
-
<span class="bg-black d-block rounded-circle"
|
|
55
|
-
data-bg-color="black"></span>
|
|
56
|
-
</div>
|
|
57
|
-
<div class="col">
|
|
58
|
-
<span class="bg-grey d-block rounded-circle"
|
|
59
|
-
data-bg-color="white"></span>
|
|
60
|
-
</div>
|
|
61
|
-
<div class="col">
|
|
62
|
-
<span class="bg-primary d-block rounded-circle"
|
|
63
|
-
data-bg-color="primary"></span>
|
|
64
|
-
</div>
|
|
65
|
-
<div class="col">
|
|
66
|
-
<span class="bg-success d-block rounded-circle"
|
|
67
|
-
data-bg-color="success"></span>
|
|
68
|
-
</div>
|
|
69
|
-
<div class="col">
|
|
70
|
-
<span class="bg-warning d-block rounded-circle"
|
|
71
|
-
data-bg-color="warning"></span>
|
|
72
|
-
</div>
|
|
73
|
-
<div class="col">
|
|
74
|
-
<span class="bg-info d-block rounded-circle"
|
|
75
|
-
data-bg-color="info"></span>
|
|
76
|
-
</div>
|
|
77
|
-
<div class="col">
|
|
78
|
-
<span class="bg-default d-block rounded-circle"
|
|
79
|
-
data-bg-color="default"></span>
|
|
80
|
-
</div>
|
|
81
|
-
<div class="col">
|
|
82
|
-
<span class="bg-danger d-block rounded-circle"
|
|
83
|
-
data-bg-color="danger"></span>
|
|
84
|
-
</div>
|
|
85
|
-
</div>
|
|
86
|
-
</div>
|
|
87
|
-
<!--Sidebar Options Ends-->
|
|
88
|
-
<hr />
|
|
89
|
-
|
|
90
|
-
<!--Sidebar BG Image Starts-->
|
|
91
|
-
<h6 class="text-center text-bold-500 mb-3 text-uppercase">Sidebar Bg Image</h6>
|
|
92
|
-
<div class="cz-bg-image row">
|
|
93
|
-
<div class="col mb-3">
|
|
94
|
-
<img src="assets/img/sidebar-bg/01.jpg"
|
|
95
|
-
alt=""
|
|
96
|
-
class="rounded"
|
|
97
|
-
width="90" />
|
|
98
|
-
</div>
|
|
99
|
-
<div class="col mb-3">
|
|
100
|
-
<img src="assets/img/sidebar-bg/02.jpg"
|
|
101
|
-
alt=""
|
|
102
|
-
class="rounded"
|
|
103
|
-
width="90" />
|
|
104
|
-
</div>
|
|
105
|
-
<div class="col mb-3">
|
|
106
|
-
<img src="assets/img/sidebar-bg/03.jpg"
|
|
107
|
-
alt=""
|
|
108
|
-
class="rounded"
|
|
109
|
-
width="90" />
|
|
110
|
-
</div>
|
|
111
|
-
<div class="col mb-3">
|
|
112
|
-
<img src="assets/img/sidebar-bg/04.jpg"
|
|
113
|
-
alt=""
|
|
114
|
-
class="rounded"
|
|
115
|
-
width="90" />
|
|
116
|
-
</div>
|
|
117
|
-
<div class="col mb-3">
|
|
118
|
-
<img src="assets/img/sidebar-bg/05.jpg"
|
|
119
|
-
alt=""
|
|
120
|
-
class="rounded"
|
|
121
|
-
width="90" />
|
|
122
|
-
</div>
|
|
123
|
-
<div class="col mb-3">
|
|
124
|
-
<img src="assets/img/sidebar-bg/06.jpg"
|
|
125
|
-
alt=""
|
|
126
|
-
class="rounded"
|
|
127
|
-
width="90" />
|
|
128
|
-
</div>
|
|
129
|
-
</div>
|
|
130
|
-
<!--Sidebar BG Image Ends-->
|
|
131
|
-
<hr />
|
|
132
|
-
|
|
133
|
-
<!--Sidebar BG Image Toggle Starts-->
|
|
134
|
-
<div class="togglebutton">
|
|
135
|
-
<div class="switch">
|
|
136
|
-
<span>Sidebar Bg Image</span>
|
|
137
|
-
<div class="float-end">
|
|
138
|
-
<div class="form-check custom-checkbox mb-2 me-sm-2 mb-sm-0">
|
|
139
|
-
<input type="checkbox"
|
|
140
|
-
class="form-check-input cz-bg-image-display"
|
|
141
|
-
checked
|
|
142
|
-
id="sidebar-bg-img" />
|
|
143
|
-
<label class="form-check-label"
|
|
144
|
-
for="sidebar-bg-img"></label>
|
|
145
|
-
</div>
|
|
146
|
-
</div>
|
|
147
|
-
</div>
|
|
148
|
-
</div>
|
|
149
|
-
<!--Sidebar BG Image Toggle Ends-->
|
|
150
|
-
<hr />
|
|
151
|
-
|
|
152
|
-
<!--Compact Menu Starts-->
|
|
153
|
-
<div class="togglebutton">
|
|
154
|
-
<div class="switch">
|
|
155
|
-
<span>Compact Menu</span>
|
|
156
|
-
<div class="float-end">
|
|
157
|
-
<div class="form-check custom-checkbox mb-2 me-sm-2 mb-sm-0">
|
|
158
|
-
<input type="checkbox"
|
|
159
|
-
class="form-check-input cz-compact-menu"
|
|
160
|
-
id="cz-compact-menu" />
|
|
161
|
-
<label class="form-check-label"
|
|
162
|
-
for="cz-compact-menu"></label>
|
|
163
|
-
</div>
|
|
164
|
-
</div>
|
|
165
|
-
</div>
|
|
166
|
-
</div>
|
|
167
|
-
<!--Compact Menu Ends-->
|
|
168
|
-
<hr />
|
|
169
|
-
|
|
170
|
-
<!--Sidebar Width Starts-->
|
|
171
|
-
<div>
|
|
172
|
-
<label for="cz-sidebar-width">Sidebar Width</label>
|
|
173
|
-
<select id="cz-sidebar-width"
|
|
174
|
-
class="form-select cz-sidebar-width float-end">
|
|
175
|
-
<option value="small">Small</option>
|
|
176
|
-
<option value="medium"
|
|
177
|
-
selected>Medium</option>
|
|
178
|
-
<option value="large">Large</option>
|
|
179
|
-
</select>
|
|
180
|
-
</div>
|
|
181
|
-
<!--Sidebar Width Ends-->
|
|
182
|
-
</div>
|
|
183
|
-
</div>
|
|
184
|
-
<!--Theme customizer Ends-->
|
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
@import 'variables';
|
|
2
|
-
|
|
3
|
-
.customizer {
|
|
4
|
-
backface-visibility: hidden;
|
|
5
|
-
background-color: rgb(255 255 255);
|
|
6
|
-
border-left: 1px solid rgb(0 0 0 / 5%);
|
|
7
|
-
bottom: 0;
|
|
8
|
-
box-shadow: 0 0 8px rgb(0 0 0 / 10%);
|
|
9
|
-
height: 100vh;
|
|
10
|
-
padding: 0;
|
|
11
|
-
position: fixed;
|
|
12
|
-
right: -400px;
|
|
13
|
-
top: 0;
|
|
14
|
-
transition: right 0.4s cubic-bezier(0.05, 0.74, 0.2, 0.99);
|
|
15
|
-
width: 400px;
|
|
16
|
-
z-index: 1051;
|
|
17
|
-
|
|
18
|
-
&.open {
|
|
19
|
-
right: 0;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.customizer-content {
|
|
23
|
-
height: 100%;
|
|
24
|
-
position: relative;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
a.customizer-toggle {
|
|
28
|
-
background: rgb(255 255 255);
|
|
29
|
-
box-shadow: -3px 0 8px rgb(0 0 0 / 10%);
|
|
30
|
-
color: map-get($primary, base);
|
|
31
|
-
display: block;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
a.customizer-close {
|
|
35
|
-
color: rgb(0 0 0);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.customizer-close {
|
|
39
|
-
padding: 7px;
|
|
40
|
-
position: absolute;
|
|
41
|
-
right: 10px;
|
|
42
|
-
top: 10px;
|
|
43
|
-
width: auto;
|
|
44
|
-
z-index: 10;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
.customizer-toggle {
|
|
48
|
-
cursor: pointer;
|
|
49
|
-
height: 40px;
|
|
50
|
-
left: -54px;
|
|
51
|
-
line-height: 50px;
|
|
52
|
-
position: absolute;
|
|
53
|
-
text-align: center;
|
|
54
|
-
top: 35%;
|
|
55
|
-
width: 54px;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.color-options {
|
|
59
|
-
a {
|
|
60
|
-
white-space: pre;
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
.cz-bg-color {
|
|
65
|
-
margin: 0 auto;
|
|
66
|
-
|
|
67
|
-
span {
|
|
68
|
-
&:hover {
|
|
69
|
-
cursor: pointer;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
&.white {
|
|
73
|
-
color: rgb(221 221 221) !important;
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.selected {
|
|
78
|
-
border: 3px solid rgb(49 79 229);
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
.cz-bg-image {
|
|
83
|
-
&:hover {
|
|
84
|
-
cursor: pointer;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
img.rounded {
|
|
88
|
-
border: 2px solid $input-switch-slider;
|
|
89
|
-
border-radius: 1rem !important;
|
|
90
|
-
|
|
91
|
-
&.selected {
|
|
92
|
-
border: 2px solid rgb(255 88 107);
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
.rounded-circle {
|
|
99
|
-
height: 20px;
|
|
100
|
-
width: 20px;
|
|
101
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Component, OnInit } from '@angular/core';
|
|
2
|
-
|
|
3
|
-
@Component({
|
|
4
|
-
selector: 'pw-customizer',
|
|
5
|
-
templateUrl: './customizer.component.html',
|
|
6
|
-
styleUrls: ['./customizer.component.scss']
|
|
7
|
-
})
|
|
8
|
-
export class CustomizerComponent implements OnInit {
|
|
9
|
-
ngOnInit() {
|
|
10
|
-
// Customizer JS File
|
|
11
|
-
$.getScript('/assets/js/customizer.js');
|
|
12
|
-
}
|
|
13
|
-
}
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
// Core Angular modules
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';
|
|
4
|
-
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
5
|
-
import { NgbDropdownModule, NgbNavModule } from '@ng-bootstrap/ng-bootstrap';
|
|
6
|
-
|
|
7
|
-
import { RadioButtonModule } from 'primeng/radiobutton';
|
|
8
|
-
import { ProgressSpinnerModule } from 'primeng/progressspinner';
|
|
9
|
-
|
|
10
|
-
import { CustomizerComponent } from './customizer/customizer.component';
|
|
11
|
-
import { FaqComponent } from './faq/faq.component';
|
|
12
|
-
import { FooterComponent } from './footer/footer.component';
|
|
13
|
-
import { HomeComponent } from './home/home.component';
|
|
14
|
-
import { NavbarComponent } from './navbar/navbar.component';
|
|
15
|
-
import { CurrentNotificationsComponent } from './notifications-page/current-notifications/current-notifications.component';
|
|
16
|
-
import { DismissedNotificationsComponent } from './notifications-page/dismissed-notifications/dismissed-notifications.component';
|
|
17
|
-
import { NotificationsPageComponent } from './notifications-page/notifications-page.component';
|
|
18
|
-
import { SearchComponent } from './search/search.component';
|
|
19
|
-
import { UserFeedbackComponent } from './user-feedback/user-feedback.component';
|
|
20
|
-
import { UserNotificationsComponent } from './user-notifications/user-notifications.component';
|
|
21
|
-
import { FaqDetailsComponent } from './faq-details/faq-details.component';
|
|
22
|
-
|
|
23
|
-
import { UserModuleModule } from '@posiwise/user-module';
|
|
24
|
-
import { SubscriptionService } from '@posiwise/common-services';
|
|
25
|
-
import { CoreTranslocoModule } from '@posiwise/core-transloco';
|
|
26
|
-
import { PipesModule } from '@posiwise/pipes';
|
|
27
|
-
import { DirectivesModule } from '@posiwise/directives';
|
|
28
|
-
import { SharedComponentsModule } from '@posiwise/shared-components';
|
|
29
|
-
|
|
30
|
-
@NgModule({
|
|
31
|
-
imports: [
|
|
32
|
-
CommonModule,
|
|
33
|
-
SharedComponentsModule,
|
|
34
|
-
FormsModule,
|
|
35
|
-
PipesModule,
|
|
36
|
-
DirectivesModule,
|
|
37
|
-
ReactiveFormsModule,
|
|
38
|
-
CoreTranslocoModule,
|
|
39
|
-
NgbNavModule,
|
|
40
|
-
NgbDropdownModule,
|
|
41
|
-
UserModuleModule,
|
|
42
|
-
RadioButtonModule,
|
|
43
|
-
ProgressSpinnerModule
|
|
44
|
-
],
|
|
45
|
-
declarations: [
|
|
46
|
-
HomeComponent,
|
|
47
|
-
UserFeedbackComponent,
|
|
48
|
-
NotificationsPageComponent,
|
|
49
|
-
FooterComponent,
|
|
50
|
-
NavbarComponent,
|
|
51
|
-
UserNotificationsComponent,
|
|
52
|
-
CustomizerComponent,
|
|
53
|
-
FaqComponent,
|
|
54
|
-
SearchComponent,
|
|
55
|
-
CurrentNotificationsComponent,
|
|
56
|
-
DismissedNotificationsComponent,
|
|
57
|
-
FaqDetailsComponent
|
|
58
|
-
],
|
|
59
|
-
exports: [FooterComponent, NavbarComponent, UserNotificationsComponent, CustomizerComponent],
|
|
60
|
-
providers: [SubscriptionService],
|
|
61
|
-
schemas: [CUSTOM_ELEMENTS_SCHEMA]
|
|
62
|
-
})
|
|
63
|
-
export class DashboardLibModule {}
|