Skip to content

Commit 1dcf293

Browse files
authored
Revert "ViewPicker - New control added for Issue 1439"
1 parent 0cfa9cc commit 1dcf293

File tree

9 files changed

+0
-417
lines changed

9 files changed

+0
-417
lines changed

src/ViewPicker.ts

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/common/SPEntities.ts

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -206,15 +206,3 @@ export interface IUploadImageResult {
206206
ServerRelativeUrl: string;
207207
UniqueId: string;
208208
}
209-
210-
export interface ISPView {
211-
Id: string;
212-
Title: string;
213-
}
214-
215-
/**
216-
* Defines a collection of SharePoint list views
217-
*/
218-
export interface ISPViews {
219-
value: ISPView[];
220-
}

src/common/utilities/GeneralHelper.ts

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import * as strings from 'ControlStrings';
44

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

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

407406
return dateObj.getTime();
408407
}
409-
410-
export const setPropertyValue = (properties: any, targetProperty: string, value: any): void => { // eslint-disable-line @typescript-eslint/no-explicit-any
411-
if (!properties) {
412-
return;
413-
}
414-
if (targetProperty.indexOf('.') === -1) { // simple prop
415-
properties[targetProperty] = value;
416-
}
417-
else {
418-
_.set(properties, targetProperty, value);
419-
}
420-
};

src/controls/viewPicker/IViewPicker.ts

Lines changed: 0 additions & 100 deletions
This file was deleted.

src/controls/viewPicker/ViewPicker.tsx

Lines changed: 0 additions & 177 deletions
This file was deleted.

src/controls/viewPicker/index.ts

Lines changed: 0 additions & 2 deletions
This file was deleted.

src/services/ISPViewPickerService.ts

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)