Skip to content

Commit

Permalink
Merge pull request #1517 from pnp/revert-1505-issue-1439
Browse files Browse the repository at this point in the history
Revert "ViewPicker - New control added for Issue 1439"
  • Loading branch information
AJIXuMuK committed Apr 19, 2023
2 parents 0cfa9cc + 1dcf293 commit 8a3ccd6
Show file tree
Hide file tree
Showing 9 changed files with 0 additions and 417 deletions.
1 change: 0 additions & 1 deletion src/ViewPicker.ts

This file was deleted.

12 changes: 0 additions & 12 deletions src/common/SPEntities.ts
Original file line number Diff line number Diff line change
Expand Up @@ -206,15 +206,3 @@ export interface IUploadImageResult {
ServerRelativeUrl: string;
UniqueId: string;
}

export interface ISPView {
Id: string;
Title: string;
}

/**
* Defines a collection of SharePoint list views
*/
export interface ISPViews {
value: ISPView[];
}
13 changes: 0 additions & 13 deletions src/common/utilities/GeneralHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import * as strings from 'ControlStrings';

export const IMG_SUPPORTED_EXTENSIONS = ".gif,.jpg,.jpeg,.bmp,.dib,.tif,.tiff,.ico,.png,.jxr,.svg";

import * as _ from '@microsoft/sp-lodash-subset';
/**
* Helper with general methods to simplify some routines
*/
Expand Down Expand Up @@ -406,15 +405,3 @@ export function dateToNumber(date: string | number | Date): number {

return dateObj.getTime();
}

export const setPropertyValue = (properties: any, targetProperty: string, value: any): void => { // eslint-disable-line @typescript-eslint/no-explicit-any
if (!properties) {
return;
}
if (targetProperty.indexOf('.') === -1) { // simple prop
properties[targetProperty] = value;
}
else {
_.set(properties, targetProperty, value);
}
};
100 changes: 0 additions & 100 deletions src/controls/viewPicker/IViewPicker.ts

This file was deleted.

177 changes: 0 additions & 177 deletions src/controls/viewPicker/ViewPicker.tsx

This file was deleted.

2 changes: 0 additions & 2 deletions src/controls/viewPicker/index.ts

This file was deleted.

5 changes: 0 additions & 5 deletions src/services/ISPViewPickerService.ts

This file was deleted.

Loading

0 comments on commit 8a3ccd6

Please sign in to comment.