-
-
-
-
-
Welcome to PrimeLand!
-
Sign in to continue
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ selector: 'app-login',
+ standalone: true,
+ imports: [
+ ButtonModule,
+ CheckboxModule,
+ InputTextModule,
+ PasswordModule,
+ FormsModule,
+ RouterModule,
+ RippleModule,
+ ],
+ template: `
+
+
+
+
+
+
+
+ Welcome to PrimeLand!
+
+
Sign in to continue
+
+
+
+
+
+
+
+
+
+
+
+
- `
+
+
+ `,
})
export class Login {
- email: string = '';
+ email: string = '';
- password: string = '';
+ password: string = '';
- checked: boolean = false;
+ checked: boolean = false;
}
diff --git a/src/app/pages/landing/components/featureswidget.ts b/src/app/pages/landing/components/featureswidget.ts
deleted file mode 100644
index 68a459f..0000000
--- a/src/app/pages/landing/components/featureswidget.ts
+++ /dev/null
@@ -1,139 +0,0 @@
-import { Component } from '@angular/core';
-import { CommonModule } from '@angular/common';
-
-@Component({
- selector: 'features-widget',
- standalone: true,
- imports: [CommonModule],
- template: `
-
-
-
Marvelous Features
-
Placerat in egestas erat...
-
-
-
-
-
-
-
-
-
Easy to Use
-
Posuere morbi leo urna molestie.
-
-
-
-
-
-
-
-
-
-
-
Fresh Design
-
Semper risus in hendrerit.
-
-
-
-
-
-
-
-
-
-
-
Well Documented
-
Non arcu risus quis varius quam quisque.
-
-
-
-
-
-
-
-
-
-
-
Responsive Layout
-
Nulla malesuada pellentesque elit.
-
-
-
-
-
-
-
-
-
-
-
Clean Code
-
Condimentum lacinia quis vel eros.
-
-
-
-
-
-
-
-
-
-
-
Dark Mode
-
Convallis tellus id interdum velit laoreet.
-
-
-
-
-
-
-
-
-
-
-
Ready to Use
-
Mauris sit amet massa vitae.
-
-
-
-
-
-
-
-
-
-
-
Modern Practices
-
Elementum nibh tellus molestie nunc non.
-
-
-
-
-
-
-
-
-
-
-
Privacy
-
Neque egestas congue quisque.
-
-
-
-
-
-
-
Joséphine Miller
-
Peak Interactive
-
- “Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.”
-
-

-
-
-
-
`
-})
-export class FeaturesWidget {}
diff --git a/src/app/pages/landing/components/footerwidget.ts b/src/app/pages/landing/components/footerwidget.ts
deleted file mode 100644
index a8cbd8d..0000000
--- a/src/app/pages/landing/components/footerwidget.ts
+++ /dev/null
@@ -1,73 +0,0 @@
-import { Component } from '@angular/core';
-import { Router, RouterModule } from '@angular/router';
-
-@Component({
- selector: 'footer-widget',
- imports: [RouterModule],
- template: `
-
- `
-})
-export class FooterWidget {
- constructor(public router: Router) {}
-}
diff --git a/src/app/pages/landing/components/herowidget.ts b/src/app/pages/landing/components/herowidget.ts
deleted file mode 100644
index fbbf017..0000000
--- a/src/app/pages/landing/components/herowidget.ts
+++ /dev/null
@@ -1,25 +0,0 @@
-import { Component } from '@angular/core';
-import { ButtonModule } from 'primeng/button';
-import { RippleModule } from 'primeng/ripple';
-
-@Component({
- selector: 'hero-widget',
- imports: [ButtonModule, RippleModule],
- template: `
-
-
-
Eu sem integereget magna fermentum
-
Sed blandit libero volutpat sed cras. Fames ac turpis egestas integer. Placerat in egestas erat...
-
-
-
-

-
-
- `
-})
-export class HeroWidget {}
diff --git a/src/app/pages/landing/components/highlightswidget.ts b/src/app/pages/landing/components/highlightswidget.ts
deleted file mode 100644
index 8e80e2d..0000000
--- a/src/app/pages/landing/components/highlightswidget.ts
+++ /dev/null
@@ -1,46 +0,0 @@
-import { Component } from '@angular/core';
-
-@Component({
- selector: 'highlights-widget',
- template: `
-
-
-
Powerful Everywhere
-
Amet consectetur adipiscing elit...
-
-
-
-
-

-
-
-
-
-
-
-
Congue Quisque Egestas
-
Lectus arcu bibendum at varius vel pharetra vel turpis nunc. Eget aliquet nibh praesent tristique magna sit amet purus gravida. Sit amet mattis vulputate enim nulla aliquet.
-
-
-
-
-
-
-
-
-
Celerisque Eu Ultrices
-
Adipiscing commodo elit at imperdiet dui. Viverra nibh cras pulvinar mattis nunc sed blandit libero. Suspendisse in est ante in. Mauris pharetra et ultrices neque ornare aenean euismod elementum nisi.
-
-
-
-

-
-
-
- `
-})
-export class HighlightsWidget {}
diff --git a/src/app/pages/landing/components/pricingwidget.ts b/src/app/pages/landing/components/pricingwidget.ts
deleted file mode 100644
index f091a2c..0000000
--- a/src/app/pages/landing/components/pricingwidget.ts
+++ /dev/null
@@ -1,119 +0,0 @@
-import { Component } from '@angular/core';
-import { ButtonModule } from 'primeng/button';
-import { DividerModule } from 'primeng/divider';
-import { RippleModule } from 'primeng/ripple';
-
-@Component({
- selector: 'pricing-widget',
- imports: [DividerModule, ButtonModule, RippleModule],
- template: `
-
-
-
Matchless Pricing
-
Amet consectetur adipiscing elit...
-
-
-
-
-
-
Free
-

-
-
-
- -
-
- Responsive Layout
-
- -
-
- Unlimited Push Messages
-
- -
-
- 50 Support Ticket
-
- -
-
- Free Shipping
-
-
-
-
-
-
-
-
Startup
-

-
-
-
- -
-
- Responsive Layout
-
- -
-
- Unlimited Push Messages
-
- -
-
- 50 Support Ticket
-
- -
-
- Free Shipping
-
-
-
-
-
-
-
-
Enterprise
-

-
-
-
- -
-
- Responsive Layout
-
- -
-
- Unlimited Push Messages
-
- -
-
- 50 Support Ticket
-
- -
-
- Free Shipping
-
-
-
-
-
-
- `
-})
-export class PricingWidget {}
diff --git a/src/app/pages/landing/components/topbarwidget.component.ts b/src/app/pages/landing/components/topbarwidget.component.ts
deleted file mode 100644
index 879c0a0..0000000
--- a/src/app/pages/landing/components/topbarwidget.component.ts
+++ /dev/null
@@ -1,68 +0,0 @@
-import { Component } from '@angular/core';
-import { StyleClassModule } from 'primeng/styleclass';
-import { Router, RouterModule } from '@angular/router';
-import { RippleModule } from 'primeng/ripple';
-import { ButtonModule } from 'primeng/button';
-import {AppFloatingConfigurator} from "@/layout/component/app.floatingconfigurator";
-
-@Component({
- selector: 'topbar-widget',
- imports: [RouterModule, StyleClassModule, ButtonModule, RippleModule, AppFloatingConfigurator],
- template: `
-
- SAKAI
-
-
-
-
-
-
-
`
-})
-export class TopbarWidget {
- constructor(public router: Router) {}
-}
diff --git a/src/app/pages/landing/landing.ts b/src/app/pages/landing/landing.ts
deleted file mode 100644
index 56d3e46..0000000
--- a/src/app/pages/landing/landing.ts
+++ /dev/null
@@ -1,31 +0,0 @@
-import { Component } from '@angular/core';
-import { RouterModule } from '@angular/router';
-import { RippleModule } from 'primeng/ripple';
-import { StyleClassModule } from 'primeng/styleclass';
-import { ButtonModule } from 'primeng/button';
-import { DividerModule } from 'primeng/divider';
-import { TopbarWidget } from './components/topbarwidget.component';
-import { HeroWidget } from './components/herowidget';
-import { FeaturesWidget } from './components/featureswidget';
-import { HighlightsWidget } from './components/highlightswidget';
-import { PricingWidget } from './components/pricingwidget';
-import { FooterWidget } from './components/footerwidget';
-
-@Component({
- selector: 'app-landing',
- standalone: true,
- imports: [RouterModule, TopbarWidget, HeroWidget, FeaturesWidget, HighlightsWidget, PricingWidget, FooterWidget, RippleModule, StyleClassModule, ButtonModule, DividerModule],
- template: `
-
- `
-})
-export class Landing {}
diff --git a/src/app/pages/notfound/notfound.component.html b/src/app/pages/notfound/notfound.component.html
new file mode 100644
index 0000000..d388b20
--- /dev/null
+++ b/src/app/pages/notfound/notfound.component.html
@@ -0,0 +1,52 @@
+
+
+
+
![]()
+
صندوق فروشگاهی
+
+
+
+
404
+
صفحه مورد نظر یافت نشد
+
+ متاسفانه صفحه ای که به دنبال آن هستید وجود ندارد یا ممکن است حذف شده باشد.
+
+
+
+
+
+
+
diff --git a/src/app/pages/notfound/notfound.component.ts b/src/app/pages/notfound/notfound.component.ts
new file mode 100644
index 0000000..56ce444
--- /dev/null
+++ b/src/app/pages/notfound/notfound.component.ts
@@ -0,0 +1,29 @@
+import { Component, inject } from '@angular/core';
+import { RouterModule } from '@angular/router';
+import { ButtonModule } from 'primeng/button';
+import images from 'src/assets/images';
+
+@Component({
+ selector: 'app-notfound',
+ standalone: true,
+ imports: [RouterModule, ButtonModule],
+ templateUrl: './notfound.component.html',
+})
+export class Notfound {
+ readonly logo = images.logo;
+
+ readonly notFoundListItems = [
+ {
+ icon: 'pi-table',
+ title: 'سوالات متداول',
+ description: 'لیست سوالات متداول',
+ link: '/',
+ },
+ {
+ icon: 'pi-question-circle',
+ title: 'تیکت پشتیبانی',
+ description: 'از این طریق میتوانید با پشتیبانی در ارتباط باشید',
+ link: '/',
+ },
+ ];
+}
diff --git a/src/app/pages/notfound/notfound.ts b/src/app/pages/notfound/notfound.ts
deleted file mode 100644
index 07ef44a..0000000
--- a/src/app/pages/notfound/notfound.ts
+++ /dev/null
@@ -1,68 +0,0 @@
-import { Component } from '@angular/core';
-import { RouterModule } from '@angular/router';
-import { ButtonModule } from 'primeng/button';
-import { AppFloatingConfigurator } from '../../layout/component/app.floatingconfigurator';
-
-@Component({
- selector: 'app-notfound',
- standalone: true,
- imports: [RouterModule, AppFloatingConfigurator, ButtonModule],
- template: `
-
`
-})
-export class Notfound {}
diff --git a/src/app/shared/components/input/input.component.html b/src/app/shared/components/input/input.component.html
index e744cf1..a766364 100644
--- a/src/app/shared/components/input/input.component.html
+++ b/src/app/shared/components/input/input.component.html
@@ -1,17 +1,21 @@
-
+ @if (type === "switch") {
+
+ } @else {
+
+ }
diff --git a/src/app/shared/components/input/input.component.ts b/src/app/shared/components/input/input.component.ts
index f5c881e..a23193b 100644
--- a/src/app/shared/components/input/input.component.ts
+++ b/src/app/shared/components/input/input.component.ts
@@ -4,15 +4,17 @@ import { CommonModule } from '@angular/common';
import { Component, EventEmitter, Input, Output } from '@angular/core';
import { FormControl, ReactiveFormsModule, Validators } from '@angular/forms';
import { InputTextModule } from 'primeng/inputtext';
+import { ToggleSwitch } from 'primeng/toggleswitch';
@Component({
selector: 'app-input',
standalone: true,
- imports: [CommonModule, ReactiveFormsModule, InputTextModule, UikitFieldComponent],
+ imports: [CommonModule, ReactiveFormsModule, InputTextModule, UikitFieldComponent, ToggleSwitch],
templateUrl: './input.component.html',
})
export class InputComponent {
- @Input() type: 'simple' | 'postalCode' | 'mobile' | 'phone' | 'email' = 'simple';
+ @Input() type: 'simple' | 'postalCode' | 'mobile' | 'phone' | 'email' | 'checkbox' | 'switch' =
+ 'simple';
@Input() control!: FormControl
>;
@Input() name!: string;
@Input() label: string = '';
diff --git a/src/app/shared/components/pageDataList/page-data-list.component.html b/src/app/shared/components/pageDataList/page-data-list.component.html
index bacaa3a..dff5a06 100644
--- a/src/app/shared/components/pageDataList/page-data-list.component.html
+++ b/src/app/shared/components/pageDataList/page-data-list.component.html
@@ -83,7 +83,7 @@
-
+
|
|
+
@for (i of [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20]; track i) {
diff --git a/src/app/shared/components/pageDataList/page-data-list.component.ts b/src/app/shared/components/pageDataList/page-data-list.component.ts
index fb1be86..2b6c01b 100644
--- a/src/app/shared/components/pageDataList/page-data-list.component.ts
+++ b/src/app/shared/components/pageDataList/page-data-list.component.ts
@@ -80,9 +80,9 @@ export class PageDataListComponent {
filterDrawerVisible = signal(false);
ngOnInit() {
- if (this.fullHeight) {
- this.renderer.setStyle(this.host.nativeElement, 'height', '100cqmin');
- }
+ // if (this.fullHeight) {
+ // this.renderer.setStyle(this.host.nativeElement, 'height', '100cqmin');
+ // }
}
edit = (item: I) => {
diff --git a/src/app/uikit/uikit-emptystate.component.html b/src/app/uikit/uikit-emptystate.component.html
index b6ce4b5..6e86269 100644
--- a/src/app/uikit/uikit-emptystate.component.html
+++ b/src/app/uikit/uikit-emptystate.component.html
@@ -1,6 +1,6 @@
-
+
{{ title }}
@if (description) {
diff --git a/src/app/uikit/uikit-emptystate.component.ts b/src/app/uikit/uikit-emptystate.component.ts
index ee70566..03384ea 100644
--- a/src/app/uikit/uikit-emptystate.component.ts
+++ b/src/app/uikit/uikit-emptystate.component.ts
@@ -1,36 +1,36 @@
import {
- AfterContentInit,
- Component,
- ContentChild,
- ElementRef,
- EventEmitter,
- Input,
- Output,
+ AfterContentInit,
+ Component,
+ ContentChild,
+ ElementRef,
+ EventEmitter,
+ Input,
+ Output,
} from '@angular/core';
import { CommonModule } from '@angular/common';
import { Button } from 'primeng/button';
@Component({
- selector: 'uikit-empty-state',
- standalone: true,
- imports: [CommonModule, Button],
- templateUrl: './uikit-emptystate.component.html',
+ selector: 'uikit-empty-state',
+ standalone: true,
+ imports: [CommonModule, Button],
+ templateUrl: './uikit-emptystate.component.html',
})
export class UikitEmptyStateComponent implements AfterContentInit {
- @ContentChild('cta', { static: false, read: ElementRef })
- ctaContent?: ElementRef;
- hasCtaContent = false;
+ @ContentChild('cta', { static: false, read: ElementRef })
+ ctaContent?: ElementRef;
+ hasCtaContent = false;
- @Input() title: string = 'متاسفانه موردی یافت نشد.';
- @Input() description?: string;
- @Input() icon: string = 'pi pi-database';
- @Input() ctaLabel?: string;
- @Input() showCTA?: boolean = true;
+ @Input() title: string = 'متاسفانه موردی یافت نشد.';
+ @Input() description?: string;
+ @Input() icon: string = 'pi pi-database';
+ @Input() ctaLabel?: string;
+ @Input() showCTA?: boolean = true;
- @Output() ctaClick = new EventEmitter();
+ @Output() ctaClick = new EventEmitter();
- ngAfterContentInit() {
- this.hasCtaContent = !!this.ctaContent;
- }
+ ngAfterContentInit() {
+ this.hasCtaContent = !!this.ctaContent;
+ }
}
diff --git a/src/assets/images/index.ts b/src/assets/images/index.ts
index 1d6d6d2..638f57b 100644
--- a/src/assets/images/index.ts
+++ b/src/assets/images/index.ts
@@ -2,7 +2,7 @@
// The Angular CLI / build serves files in `src/assets` at `/assets`.
import errors from './errors';
import login from './login.webp';
-import logo from './logo.webp';
+import logo from './logo.png';
export default {
logo,
diff --git a/src/assets/images/logo.png b/src/assets/images/logo.png
index d9b4cf5..f82b4c3 100644
Binary files a/src/assets/images/logo.png and b/src/assets/images/logo.png differ
diff --git a/src/assets/images/logo.webp b/src/assets/images/logo.webp
deleted file mode 100644
index 19f9483..0000000
Binary files a/src/assets/images/logo.webp and /dev/null differ
diff --git a/src/assets/layout/_main.scss b/src/assets/layout/_main.scss
index 75831da..85ffa8b 100644
--- a/src/assets/layout/_main.scss
+++ b/src/assets/layout/_main.scss
@@ -15,5 +15,5 @@
.layout-main {
flex: 1 1 auto;
- overflow: hidden;
+ overflow: auto;
}
diff --git a/src/environments/environment.ts b/src/environments/environment.ts
index e789966..15584fc 100644
--- a/src/environments/environment.ts
+++ b/src/environments/environment.ts
@@ -1,9 +1,9 @@
// Development environment configuration
export const environment = {
- production: false,
- apiBaseUrl: 'https://localhost',
- host: 'localhost',
- port: 60749,
- enableLogging: true,
- enableDebug: true,
+ production: false,
+ apiBaseUrl: 'http://localhost:3000',
+ host: 'localhost',
+ port: 60749,
+ enableLogging: true,
+ enableDebug: true,
};
diff --git a/src/index.html b/src/index.html
index 82ca35a..ddfd142 100644
--- a/src/index.html
+++ b/src/index.html
@@ -5,9 +5,8 @@
pos
-
-
-
+
+
diff --git a/src/proxy.conf.js b/src/proxy.conf.js
index 8d37aee..331f35e 100644
--- a/src/proxy.conf.js
+++ b/src/proxy.conf.js
@@ -1,16 +1,16 @@
-const { env } = require('process');
+// const { env } = require('process');
-const target = env.ASPNETCORE_HTTPS_PORT
- ? `https://localhost:${env.ASPNETCORE_HTTPS_PORT}`
- : env.ASPNETCORE_URLS
- ? env.ASPNETCORE_URLS.split(';')[0]
- : 'https://localhost:7148';
+// const target = env.ASPNETCORE_HTTPS_PORT
+// ? `https://localhost:${env.ASPNETCORE_HTTPS_PORT}`
+// : env.ASPNETCORE_URLS
+// ? env.ASPNETCORE_URLS.split(';')[0]
+// : 'https://localhost:7148';
-const PROXY_CONFIG = [
- {
- target,
- secure: false,
- },
-];
+// const PROXY_CONFIG = [
+// {
+// target,
+// secure: false,
+// },
+// ];
-module.exports = PROXY_CONFIG;
+// module.exports = PROXY_CONFIG;