Skip to content

Revert "ViewPicker - New control added for Issue 1439" #1517

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 19, 2023
Merged
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
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