test changes

This commit is contained in:
Abderahman88 2022-05-11 20:18:57 +02:00
parent a93be1a70b
commit 1fd4eb1947
3 changed files with 444 additions and 147 deletions

File diff suppressed because it is too large Load Diff

View File

@ -40,7 +40,6 @@
"react-big-calendar": "^0.24.6", "react-big-calendar": "^0.24.6",
"react-dom": "16.9.0", "react-dom": "16.9.0",
"react-draft-wysiwyg": "^1.13.2", "react-draft-wysiwyg": "^1.13.2",
"spfx-uifabric-themes": "^0.6.0",
"string-format": "^2.0.0", "string-format": "^2.0.0",
"typescript": "^3.2.4", "typescript": "^3.2.4",
"xml2js": "^0.4.19" "xml2js": "^0.4.19"
@ -69,6 +68,7 @@
"gulp-stylelint": "^8.0.0", "gulp-stylelint": "^8.0.0",
"jest": "^23.6.0", "jest": "^23.6.0",
"karma-junit-reporter": "^1.2.0", "karma-junit-reporter": "^1.2.0",
"spfx-uifabric-themes": "^0.6.0",
"stylelint": "^9.10.1", "stylelint": "^9.10.1",
"stylelint-config-standard": "^18.2.0", "stylelint-config-standard": "^18.2.0",
"stylelint-scss": "^3.5.4", "stylelint-scss": "^3.5.4",

View File

@ -45,6 +45,7 @@ import { Map, ICoordinates, MapType } from "@pnp/spfx-controls-react/lib/Map";
import { EventRecurrenceInfo } from '../../controls/EventRecurrenceInfo/EventRecurrenceInfo'; import { EventRecurrenceInfo } from '../../controls/EventRecurrenceInfo/EventRecurrenceInfo';
import { getGUID } from '@pnp/common'; import { getGUID } from '@pnp/common';
import { toLocaleShortDateString } from '../../utils/dateUtils'; import { toLocaleShortDateString } from '../../utils/dateUtils';
import { getTheme, FontWeights, mergeStyleSets } from 'office-ui-fabric-react/lib/Styling';
const format = require('string-format'); const format = require('string-format');
const DayPickerStrings: IDatePickerStrings = { const DayPickerStrings: IDatePickerStrings = {
@ -455,6 +456,7 @@ export class Event extends React.Component<IEventProps, IEventState> {
* @memberof Event * @memberof Event
*/ */
private onDelete(ev: React.MouseEvent<HTMLDivElement>) { private onDelete(ev: React.MouseEvent<HTMLDivElement>) {
debugger;
ev.preventDefault(); ev.preventDefault();
this.setState({ displayDialog: true }); this.setState({ displayDialog: true });
} }
@ -1210,6 +1212,8 @@ export class Event extends React.Component<IEventProps, IEventState> {
styles: { main: { maxWidth: 450 } } styles: { main: { maxWidth: 450 } }
}} }}
> >
TEST
{/*
<Label>{this.state.recurrenceSeriesEdited ? strings.ConfirmeDeleteAllRecurrrencesMessage : strings.ConfirmeDeleteOneRecurrenceMessage }</Label> <Label>{this.state.recurrenceSeriesEdited ? strings.ConfirmeDeleteAllRecurrrencesMessage : strings.ConfirmeDeleteOneRecurrenceMessage }</Label>
{ {
this.state.isDeleting && this.state.isDeleting &&
@ -1219,6 +1223,7 @@ export class Event extends React.Component<IEventProps, IEventState> {
<PrimaryButton onClick={this.confirmDelete} text={strings.DialogConfirmDeleteLabel} disabled={this.state.isDeleting} /> <PrimaryButton onClick={this.confirmDelete} text={strings.DialogConfirmDeleteLabel} disabled={this.state.isDeleting} />
<DefaultButton onClick={this.closeDialog} text={strings.DialogCloseButtonLabel} /> <DefaultButton onClick={this.closeDialog} text={strings.DialogCloseButtonLabel} />
</DialogFooter> </DialogFooter>
*/}
</Dialog> </Dialog>
</div> </div>