Updated npm packages
Added IE11 polyfill Re-use sortdirection from PnP instead of separate enum #656
This commit is contained in:
parent
2df0641eb7
commit
03e4b2307f
File diff suppressed because it is too large
Load Diff
|
@ -19,12 +19,13 @@
|
|||
"@microsoft/sp-lodash-subset": "1.6.0-plusbeta",
|
||||
"@microsoft/sp-office-ui-fabric-core": "1.6.0-plusbeta",
|
||||
"@microsoft/sp-webpart-base": "1.6.0-plusbeta",
|
||||
"@pnp/common": "1.2.1",
|
||||
"@pnp/logging": "1.2.1",
|
||||
"@pnp/odata": "1.2.1",
|
||||
"@pnp/sp": "1.2.1",
|
||||
"@pnp/spfx-controls-react": "1.8.0",
|
||||
"@pnp/spfx-property-controls": "1.10.0",
|
||||
"@pnp/common": "1.2.3",
|
||||
"@pnp/logging": "1.2.3",
|
||||
"@pnp/odata": "1.2.3",
|
||||
"@pnp/polyfill-ie11": "^1.0.0",
|
||||
"@pnp/sp": "1.2.3",
|
||||
"@pnp/spfx-controls-react": "1.9.0",
|
||||
"@pnp/spfx-property-controls": "1.11.0",
|
||||
"@types/es6-promise": "0.0.33",
|
||||
"@types/fabric": "^1.5.43",
|
||||
"@types/handlebars": "^4.0.39",
|
||||
|
|
|
@ -1,6 +0,0 @@
|
|||
enum SortDirection {
|
||||
Ascending = "ascending",
|
||||
Descending = "descending"
|
||||
}
|
||||
|
||||
export default SortDirection;
|
|
@ -1,5 +1,5 @@
|
|||
import SortDirection from "./SortDirection";
|
||||
import { SortDirection } from "@pnp/sp";
|
||||
|
||||
type UpdateSortOperationCallback = (sortDirection:SortDirection,sortField?:string) => void;
|
||||
type UpdateSortOperationCallback = (sortDirection: SortDirection, sortField?: string) => void;
|
||||
|
||||
export default UpdateSortOperationCallback;
|
|
@ -9,6 +9,7 @@ import {sortBy, groupBy} from
|
|||
const mapKeys: any = require('lodash/mapKeys');
|
||||
const mapValues: any = require('lodash/mapValues');
|
||||
import LocalizationHelper from '../../helpers/LocalizationHelper';
|
||||
import "@pnp/polyfill-ie11";
|
||||
|
||||
declare var System: any;
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { ISearchResults, IRefinementFilter, IRefinementResult } from '../../../../models/ISearchResult';
|
||||
import SortDirection from '../../../../models/SortDirection';
|
||||
import { SortDirection } from "@pnp/sp";
|
||||
|
||||
interface ISearchResultsContainerState {
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ import { WebPartTitle } from "@pnp/spfx-controls-react/lib/WebPartTitle";
|
|||
import SearchResultsTemplate from '../Layouts/SearchResultsTemplate';
|
||||
import styles from '../SearchResultsWebPart.module.scss';
|
||||
import { SortPanel } from '../SortPanel';
|
||||
import SortDirection from '../../../../models/SortDirection';
|
||||
import { SortDirection } from "@pnp/sp";
|
||||
|
||||
declare var System: any;
|
||||
let FilterPanel = null;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import UpdateSortOperationCallback from '../../../../models/UpdateSortOperationCallback';
|
||||
import SortDirection from '../../../../models/SortDirection';
|
||||
import { SortDirection } from "@pnp/sp";
|
||||
|
||||
interface ISortPanelProps {
|
||||
sortableFieldsConfiguration: { [key: string]: string };
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { IRefinementFilter } from '../../../../models/ISearchResult';
|
||||
import SortDirection from '../../../../models/SortDirection';
|
||||
import { SortDirection } from "@pnp/sp";
|
||||
|
||||
interface IFilterPanelState {
|
||||
showPanel?: boolean;
|
||||
|
|
|
@ -7,7 +7,7 @@ import { Toggle } from 'office-u
|
|||
import * as strings from 'SearchWebPartStrings';
|
||||
import { Scrollbars } from 'react-custom-scrollbars';
|
||||
import { ActionButton } from 'office-ui-fabric-react/lib/Button';
|
||||
import SortDirection from '../../../../models/SortDirection';
|
||||
import { SortDirection } from "@pnp/sp";
|
||||
import styles from '../SearchResultsWebPart.module.scss';
|
||||
|
||||
export default class SortPanel extends React.Component<ISortPanelProps, ISortPanelState> {
|
||||
|
|
Loading…
Reference in New Issue