-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bb9a137
commit fd607ca
Showing
23 changed files
with
376 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
export interface MixScheduler { | ||
cronExpression: string; | ||
name: string; | ||
groupName: string; | ||
jobName: string; | ||
description: string; | ||
startAt: any; | ||
isStartNow: boolean; | ||
interval: any; | ||
intervalType: string; | ||
repeatCount: number; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
libs/mix-share/src/modules/scheduler/components/job-form/job-form.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<div class="mix-dialog --default-padding"> | ||
<div class="mix-dialog__header"> | ||
New Job | ||
</div> | ||
|
||
<div class="mix-dialog__content"> | ||
asd | ||
</div> | ||
|
||
<div class="mix-dialog__footer"> | ||
<mix-button class="mr-auto" | ||
type="outline">Close</mix-button> | ||
|
||
<mix-button>Add</mix-button> | ||
</div> | ||
</div> |
Empty file.
28 changes: 28 additions & 0 deletions
28
libs/mix-share/src/modules/scheduler/components/job-form/job-form.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
import { CommonModule } from '@angular/common'; | ||
import { ChangeDetectionStrategy, Component } from '@angular/core'; | ||
import { ReactiveFormsModule } from '@angular/forms'; | ||
import { MixButtonComponent } from '@mixcore/ui/button'; | ||
import { MixDatePickerComponent } from '@mixcore/ui/date-picker'; | ||
import { MixInputComponent } from '@mixcore/ui/input'; | ||
|
||
@Component({ | ||
selector: 'job-form', | ||
standalone: true, | ||
imports: [ | ||
CommonModule, | ||
ReactiveFormsModule, | ||
MixInputComponent, | ||
MixDatePickerComponent, | ||
MixButtonComponent, | ||
], | ||
templateUrl: './job-form.component.html', | ||
styleUrl: './job-form.component.scss', | ||
changeDetection: ChangeDetectionStrategy.OnPush, | ||
}) | ||
export class JobFormComponent { | ||
public static dialogOption = { | ||
windowClass: 'mix-record-form-dialog top-align-modal interact-modal', | ||
minWidth: '800px', | ||
maxWidth: '95vw', | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export * from './schedule.route'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"lib": { | ||
"entryFile": "index.ts" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"name": "@mixcore/share/scheduler", | ||
"$schema": "../../../node_modules/nx/schemas/project-schema.json", | ||
"projectType": "library", | ||
"sourceRoot": "libs/mix-share/src/scheduler", | ||
"targets": { | ||
"lint": { | ||
"executor": "@nx/eslint:lint", | ||
"outputs": ["{options.outputFile}"], | ||
"options": { | ||
"lintFilePatterns": [ | ||
"libs/mix-share/src/scheduler/**/*.ts", | ||
"libs/mix-share/src/scheduler/**/*.html" | ||
] | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import { Routes } from '@angular/router'; | ||
|
||
export const SchedulerRoute: Routes = [ | ||
{ | ||
path: 'schedulers', | ||
loadComponent: () => | ||
import('./schedulers/schedulers.component').then( | ||
(c) => c.SchedulersComponent | ||
), | ||
}, | ||
{ | ||
path: '', | ||
redirectTo: 'schedulers', | ||
pathMatch: 'full', | ||
}, | ||
]; |
Oops, something went wrong.
fd607ca
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
mix-portal-angular – ./
mix-portal-angular-phongcaos-projects.vercel.app
mix-portal-angular-git-master-phongcaos-projects.vercel.app
p4ps-portal.vercel.app