Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,6 @@ export class DxcAccordionComponent implements OnInit, OnChanges, AfterViewInit {
display: block;
div.mat-expansion-panel-content {
div.mat-expansion-panel-body {
font: normal normal normal 16px/22px var(--fontFamily);
cursor: default;
${inputs.padding
? this.cssUtils.getPaddings(inputs.padding)
Expand Down
19 changes: 19 additions & 0 deletions projects/dxc-ngx-cdk/src/lib/dxc-cron-editor/cronoptions.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
export interface CronOptions {
formInputClass?: string;
formSelectClass?: string;
formRadioClass?: string;
formCheckboxClass?: string;
defaultTime: string,
hideMinutesTab: boolean;
hideHourlyTab: boolean;
hideDailyTab: boolean;
hideWeeklyTab: boolean;
hideMonthlyTab: boolean;
hideYearlyTab: boolean;
hideAdvancedTab: boolean;
hideSpecificWeekDayTab: boolean;
hideSpecificMonthWeekTab: boolean;
use24HourTime: boolean;
hideSeconds: boolean;
cronFlavor: string;
}

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@

.cron-editor-main .cron-editor-container {
}

.cron-editor-tab-content {
margin-top: 24px;
border-radius: 8px;
}

.cron-editor-main .cron-editor-container .cron-editor-radio {
width: 20px;
display: inline-block;
}

.cron-editor-main .cron-editor-container .cron-editor-select,
.cron-editor-main .cron-editor-container .cron-editor-input,
.cron-editor-main .cron-editor-container .cron-editor-checkbox {
display: inline-block;
}

.cron-editor-main .cron-editor-container .well-time-wrapper {
padding-left: 20px;
}

.cron-editor-main .cron-editor-container .inline-block {
display: inline-block;
}

.cron-editor-main .cron-editor-container .hour-types {
width: 70px;
}

.nav-tabs li a {
cursor: pointer;
}

.cron-editor-radio-group {
display: flex;
flex-direction: column;
margin: 15px 0;
}

.cron-editor-radio-button {
margin: 5px;
}

.checkbox-margin {
margin: 0 10px;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
import { ComponentFixture, TestBed } from '@angular/core/testing';

import { DxcCronEditorComponent } from './dxc-cron-editor.component';

describe('DxcCronEditorComponent', () => {
let component: DxcCronEditorComponent;
let fixture: ComponentFixture<DxcCronEditorComponent>;

beforeEach(async () => {
await TestBed.configureTestingModule({
declarations: [ DxcCronEditorComponent ]
})
.compileComponents();
});

beforeEach(() => {
fixture = TestBed.createComponent(DxcCronEditorComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});

it('should create', () => {
expect(component).toBeTruthy();
});
});
Loading