@mikezimm/fps-library-v2 1.1.11 → 1.1.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +15 -1
- package/lib/banner/components/EasyPages/Analytics/components/Row.d.ts +0 -1
- package/lib/banner/components/EasyPages/Analytics/components/Row.d.ts.map +1 -1
- package/lib/banner/components/EasyPages/Analytics/components/Row.js +1 -9
- package/lib/banner/components/EasyPages/Analytics/components/Row.js.map +1 -1
- package/lib/banner/components/EasyPages/Analytics/components/getPageTitle.d.ts +3 -0
- package/lib/banner/components/EasyPages/Analytics/components/getPageTitle.d.ts.map +1 -0
- package/lib/banner/components/EasyPages/Analytics/components/getPageTitle.js +10 -0
- package/lib/banner/components/EasyPages/Analytics/components/getPageTitle.js.map +1 -0
- package/lib/banner/components/EasyPages/Analytics/functions/buildAnalyticsSummary.d.ts.map +1 -1
- package/lib/banner/components/EasyPages/Analytics/functions/buildAnalyticsSummary.js +6 -4
- package/lib/banner/components/EasyPages/Analytics/functions/buildAnalyticsSummary.js.map +1 -1
- package/lib/banner/components/EasyPages/Analytics/functions/summarizeArrayByKey.d.ts +0 -1
- package/lib/banner/components/EasyPages/Analytics/functions/summarizeArrayByKey.d.ts.map +1 -1
- package/lib/banner/components/EasyPages/Analytics/functions/summarizeArrayByKey.js +8 -9
- package/lib/banner/components/EasyPages/Analytics/functions/summarizeArrayByKey.js.map +1 -1
- package/lib/components/atoms/EasyIcons/functions/getEasyIcon.d.ts.map +1 -1
- package/lib/components/atoms/EasyIcons/functions/getEasyIcon.js +3 -1
- package/lib/components/atoms/EasyIcons/functions/getEasyIcon.js.map +1 -1
- package/lib/components/atoms/EasyIcons/interfaces/eiTypes.d.ts.map +1 -1
- package/lib/components/atoms/EasyIcons/interfaces/eiTypes.js +1 -1
- package/lib/components/atoms/EasyIcons/interfaces/eiTypes.js.map +1 -1
- package/lib/components/molecules/AnyContent/IAnyContent.d.ts +12 -5
- package/lib/components/molecules/AnyContent/IAnyContent.d.ts.map +1 -1
- package/lib/components/molecules/AnyContent/IAnyListLib.d.ts +68 -0
- package/lib/components/molecules/AnyContent/IAnyListLib.d.ts.map +1 -0
- package/lib/components/molecules/AnyContent/IAnyListLib.js +43 -0
- package/lib/components/molecules/AnyContent/IAnyListLib.js.map +1 -0
- package/lib/components/molecules/AnyContent/IAnySecurableItem.d.ts +4 -0
- package/lib/components/molecules/AnyContent/IAnySecurableItem.d.ts.map +1 -0
- package/lib/components/molecules/AnyContent/IAnySecurableItem.js +2 -0
- package/lib/components/molecules/AnyContent/IAnySecurableItem.js.map +1 -0
- package/lib/components/molecules/AnyContent/IAnyWeb.d.ts +19 -0
- package/lib/components/molecules/AnyContent/IAnyWeb.d.ts.map +1 -0
- package/lib/components/molecules/AnyContent/IAnyWeb.js +2 -0
- package/lib/components/molecules/AnyContent/IAnyWeb.js.map +1 -0
- package/lib/components/molecules/AnyContent/IFPSItemElements.d.ts +8 -0
- package/lib/components/molecules/AnyContent/IFPSItemElements.d.ts.map +1 -0
- package/lib/components/molecules/AnyContent/IFPSItemElements.js +2 -0
- package/lib/components/molecules/AnyContent/IFPSItemElements.js.map +1 -0
- package/lib/components/molecules/AnyContent/IFPSItemSearch.d.ts +1 -1
- package/lib/components/molecules/AnyContent/IFPSItemSearch.d.ts.map +1 -1
- package/lib/components/molecules/AnyContent/IFPSItemStyles.d.ts +6 -0
- package/lib/components/molecules/AnyContent/IFPSItemStyles.d.ts.map +1 -1
- package/lib/components/molecules/AnyContent/IsA/IFPSItemIsA.d.ts +101 -0
- package/lib/components/molecules/AnyContent/IsA/IFPSItemIsA.d.ts.map +1 -0
- package/lib/components/molecules/AnyContent/IsA/IFPSItemIsA.js +87 -0
- package/lib/components/molecules/AnyContent/IsA/IFPSItemIsA.js.map +1 -0
- package/lib/components/molecules/AnyContent/IsA/IFPSItemIsALibraryObject.d.ts +1 -0
- package/lib/components/molecules/AnyContent/IsA/IFPSItemIsALibraryObject.d.ts.map +1 -0
- package/lib/components/molecules/AnyContent/IsA/IFPSItemIsALibraryObject.js +51 -0
- package/lib/components/molecules/AnyContent/IsA/IFPSItemIsALibraryObject.js.map +1 -0
- package/lib/components/molecules/AnyContent/IsA/IFPSItemIsAListItem.d.ts +1 -0
- package/lib/components/molecules/AnyContent/IsA/IFPSItemIsAListItem.d.ts.map +1 -0
- package/lib/components/molecules/AnyContent/IsA/IFPSItemIsAListItem.js +63 -0
- package/lib/components/molecules/AnyContent/IsA/IFPSItemIsAListItem.js.map +1 -0
- package/lib/components/molecules/AnyContent/IsA/IFPSItemIsAListObject.d.ts +1 -0
- package/lib/components/molecules/AnyContent/IsA/IFPSItemIsAListObject.d.ts.map +1 -0
- package/lib/components/molecules/AnyContent/IsA/IFPSItemIsAListObject.js +11 -0
- package/lib/components/molecules/AnyContent/IsA/IFPSItemIsAListObject.js.map +1 -0
- package/lib/components/molecules/AnyContent/IsA/IFPSItemIsASearchedObject.d.ts +1 -0
- package/lib/components/molecules/AnyContent/IsA/IFPSItemIsASearchedObject.d.ts.map +1 -0
- package/lib/components/molecules/AnyContent/IsA/IFPSItemIsASearchedObject.js +18 -0
- package/lib/components/molecules/AnyContent/IsA/IFPSItemIsASearchedObject.js.map +1 -0
- package/lib/components/molecules/AnyContent/IsA/IFPSItemIsASecurable.d.ts +1 -0
- package/lib/components/molecules/AnyContent/IsA/IFPSItemIsASecurable.d.ts.map +1 -0
- package/lib/components/molecules/AnyContent/IsA/IFPSItemIsASecurable.js +14 -0
- package/lib/components/molecules/AnyContent/IsA/IFPSItemIsASecurable.js.map +1 -0
- package/lib/components/molecules/AnyContent/IsA/IFPSItemIsAv2.d.ts +1 -0
- package/lib/components/molecules/AnyContent/IsA/IFPSItemIsAv2.d.ts.map +1 -0
- package/lib/components/molecules/AnyContent/IsA/IFPSItemIsAv2.js +71 -0
- package/lib/components/molecules/AnyContent/IsA/IFPSItemIsAv2.js.map +1 -0
- package/lib/components/molecules/SearchPage/Interfaces/ISearchTypes.d.ts +1 -1
- package/lib/components/molecules/SearchPage/Interfaces/ISearchTypes.d.ts.map +1 -1
- package/lib/components/molecules/SearchPage/functions/addDeepPropsToSearch.d.ts.map +1 -1
- package/lib/components/molecules/SearchPage/functions/addDeepPropsToSearch.js +1 -2
- package/lib/components/molecules/SearchPage/functions/addDeepPropsToSearch.js.map +1 -1
- package/lib/components/molecules/SearchPage/functions/addItemIsA.d.ts +1 -1
- package/lib/components/molecules/SearchPage/functions/addItemIsA.d.ts.map +1 -1
- package/lib/components/molecules/SearchPage/functions/addItemIsA.js +33 -5
- package/lib/components/molecules/SearchPage/functions/addItemIsA.js.map +1 -1
- package/lib/components/molecules/SearchPage/functions/addSearchMeta1.d.ts.map +1 -1
- package/lib/components/molecules/SearchPage/functions/addSearchMeta1.js +14 -3
- package/lib/components/molecules/SearchPage/functions/addSearchMeta1.js.map +1 -1
- package/lib/components/molecules/SearchPage/functions/getFilteredV1.d.ts.map +1 -1
- package/lib/components/molecules/SearchPage/functions/getFilteredV1.js.map +1 -1
- package/package.json +1 -1
- package/lib/components/molecules/AnyContent/IFPSItemIsA.d.ts +0 -66
- package/lib/components/molecules/AnyContent/IFPSItemIsA.d.ts.map +0 -1
- package/lib/components/molecules/AnyContent/IFPSItemIsA.js +0 -41
- package/lib/components/molecules/AnyContent/IFPSItemIsA.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IAnySecurableItem.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/AnyContent/IAnySecurableItem.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,iBAAiB;IAChC,wBAAwB,CAAC,EAAE,OAAO,CAAC;CACpC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IAnySecurableItem.js","sourceRoot":"","sources":["../../../../src/components/molecules/AnyContent/IAnySecurableItem.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { IAnySecurableItem } from "./IAnySecurableItem";
|
|
2
|
+
export declare const TypeCheckKeysAnyWeb: string[];
|
|
3
|
+
export interface IAnyWeb extends IAnySecurableItem {
|
|
4
|
+
EnableMinimalDownload?: boolean;
|
|
5
|
+
Title?: string;
|
|
6
|
+
Description?: string;
|
|
7
|
+
Created?: string;
|
|
8
|
+
Language?: number;
|
|
9
|
+
LastItemModifiedDate?: string;
|
|
10
|
+
LastItemUserModifiedDate?: string;
|
|
11
|
+
NoCrawl?: boolean;
|
|
12
|
+
SiteLogoUrl?: string;
|
|
13
|
+
ServerRelativeUrl?: string;
|
|
14
|
+
WebTemplate?: string;
|
|
15
|
+
WebTemplateId?: number;
|
|
16
|
+
Id?: any;
|
|
17
|
+
ID?: any;
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=IAnyWeb.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IAnyWeb.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/AnyContent/IAnyWeb.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAIxD,eAAO,MAAM,mBAAmB,EAAG,MAAM,EAExC,CAAC;AAEF,MAAM,WAAW,OAAQ,SAAQ,iBAAiB;IAChD,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,EAAE,CAAC,EAAE,GAAG,CAAC;IACT,EAAE,CAAC,EAAE,GAAG,CAAC;CACV"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IAnyWeb.js","sourceRoot":"","sources":["../../../../src/components/molecules/AnyContent/IAnyWeb.ts"],"names":[],"mappings":"AAIA,MAAM,CAAC,MAAM,mBAAmB,GAAgB,EAE/C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IFPSItemElements.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/AnyContent/IFPSItemElements.ts"],"names":[],"mappings":";AACA,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,CAAC,EAAE,GAAG,CAAC,OAAO,CAAC;IACvB,QAAQ,CAAC,EAAE,GAAG,CAAC,OAAO,CAAC;IACvB,QAAQ,CAAC,EAAE,GAAG,CAAC,OAAO,CAAC;IACvB,QAAQ,CAAC,EAAE,GAAG,CAAC,OAAO,CAAC;CACxB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IFPSItemElements.js","sourceRoot":"","sources":["../../../../src/components/molecules/AnyContent/IFPSItemElements.ts"],"names":[],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IFPSItemSearch.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/AnyContent/IFPSItemSearch.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AACpE,OAAO,EAAE,cAAc,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"IFPSItemSearch.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/AnyContent/IFPSItemSearch.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AACpE,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAGnD,MAAM,WAAW,cAAc;IAE7B,MAAM,EAAE,GAAG,CAAC;IAEZ,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IAErB,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB,YAAY,EAAE,MAAM,EAAE,CAAC;IAEvB,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,WAAW,EAAE,MAAM,EAAE,CAAC;IAEtB,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,cAAc,EAAE,MAAM,EAAE,CAAC;IAEzB,YAAY,EAAE,MAAM,CAAC;IACrB,cAAc,EAAE,MAAM,CAAC;IAIvB,iBAAiB,EAAE,WAAW,CAAC;IAC/B,WAAW,EAAE,WAAW,EAAE,CAAC;IAC3B,UAAU,EAAE,cAAc,EAAE,CAAC;IAE7B,IAAI,EAAE,MAAM,CAAC;IACb,aAAa,EAAE,MAAM,CAAC;IACtB,OAAO,EAAE,MAAM,CAAC;IAEhB,WAAW,EAAE,GAAG,CAAC;IACjB,UAAU,EAAE,GAAG,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IAEnB,UAAU,EAAE,OAAO,CAAC;IACpB,IAAI,EAAE,MAAM,EAAE,CAAC;IAGf,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;CAClB;AAED,eAAO,MAAM,kBAAkB,EAAG,cAkCjC,CAAA"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { IImageCover, IImageFit } from "../../../common/Images/imgFit";
|
|
3
3
|
import { IImageTarget } from "../../../common/Images/imgTarget";
|
|
4
|
+
import { ImageFit, ImageCoverStyle } from 'office-ui-fabric-react/lib/Image';
|
|
4
5
|
export interface IFPSItemStyles {
|
|
5
6
|
class?: string;
|
|
6
7
|
css?: {
|
|
@@ -15,6 +16,11 @@ export interface IFPSItemStyles {
|
|
|
15
16
|
target?: IImageTarget;
|
|
16
17
|
cover?: IImageCover;
|
|
17
18
|
fit?: IImageFit;
|
|
19
|
+
background?: string;
|
|
20
|
+
};
|
|
21
|
+
fabric?: {
|
|
22
|
+
imgCover?: ImageCoverStyle;
|
|
23
|
+
imgFit?: ImageFit;
|
|
18
24
|
};
|
|
19
25
|
react?: React.CSSProperties;
|
|
20
26
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IFPSItemStyles.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/AnyContent/IFPSItemStyles.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,+BAA+B,CAAC;AACvE,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;
|
|
1
|
+
{"version":3,"file":"IFPSItemStyles.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/AnyContent/IFPSItemStyles.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,+BAA+B,CAAC;AACvE,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAChE,OAAO,EAAE,QAAQ,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AAE7E,MAAM,WAAW,cAAc;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,GAAG,CAAC,EAAE;QACJ,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,MAAM,CAAC,EAAE,YAAY,CAAC;QACtB,KAAK,CAAC,EAAE,WAAW,CAAC;QACpB,GAAG,CAAC,EAAE,SAAS,CAAC;QAChB,UAAU,CAAC,EAAE,MAAM,CAAC;KACrB,CAAC;IACF,MAAM,CAAC,EAAE;QACP,QAAQ,CAAC,EAAE,eAAe,CAAC;QAC3B,MAAM,CAAC,EAAE,QAAQ,CAAC;KACnB,CAAA;IACD,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC7B"}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Comments about IsA Logic:
|
|
3
|
+
*
|
|
4
|
+
* Where it all began:
|
|
5
|
+
*
|
|
6
|
+
* This started with Compliance web part and the CodeContent/OfficeContent etc labels.
|
|
7
|
+
* In that web part, it was designed to make it easier to create both searchable and clickable labels for filter buttons above the SourceList.
|
|
8
|
+
* The IsAKeys match the object keys in the IFPSItemIsA object
|
|
9
|
+
* The IsAValues are the labels that relate to said keys.
|
|
10
|
+
*
|
|
11
|
+
* They both of the Keys and Values arrays need to be in the exact same order in order for some of the search logic to work.
|
|
12
|
+
* So far that was only used in certain Content based props in Compliance, but it could now be used in any File Based use case like Document Sets.
|
|
13
|
+
*
|
|
14
|
+
* I'll admit, it's a little cumbersom to maintain given I keep adding more keys.
|
|
15
|
+
* BUT the goal is to have a standard way for both identifying what items have these labels.
|
|
16
|
+
* But also be able to then use the same labels for filtering or generating 'highlight' elements like in PivotTiles.
|
|
17
|
+
*/
|
|
18
|
+
export type IItemIsAKeys = 'DocSet' | 'File' | 'FolderContent' | 'Page' | 'NewsPost' | 'NewsLink' | 'Draft' | 'Major' | 'Published' | 'UnPublished' | 'CheckedOut' | 'CodeContent' | 'OfficeContent' | 'DataContent' | 'MediaContent' | 'SharePoint' | 'UniquePerms' | 'RequiresCheckout' | 'VersionsDisabled' | 'MinorVersionsEnabled' | 'AttachmentsDisabled' | 'HasMinimalDownload' | 'ToManyItems' | 'LotsOfItems' | 'NoItems' | 'NoRecentViews' | 'PopularRecently' | 'PopularLifeTime' | 'OtherContent';
|
|
19
|
+
export type IItemIsAValues = 'ItemIsADocSet' | 'ItemIsAFile' | 'ItemIsFolderContent' | 'ItemIsAPage' | 'ItemIsANewsPost' | 'ItemIsANewsLink' | 'ItemIsADraft' | 'ItemIsAMajor' | 'ItemIsPublished' | 'ItemIsUnPublished' | 'ItemIsCheckedOut' | 'ItemIsCodeContent' | 'ItemIsOfficeContent' | 'ItemIsDataContent' | 'ItemIsMediaContent' | 'ItemIsSharePointContent' | 'ItemHasUniquePerms' | 'ItemRequiresCheckout' | 'ItemHasNoVersioning' | 'ItemHasMinors' | 'ItemHasNoAttachments' | 'ItemHasMinimalDownload' | 'ItemHasToManyItems' | 'ItemHasLotsOfItems' | 'ItemHasNoItems' | 'ItemHasNoRecentViews' | 'ItemWasPopularRecently' | 'ItemWasLifeTime' | 'ItemIsOtherContent';
|
|
20
|
+
export interface IFPSItemIsA {
|
|
21
|
+
/**
|
|
22
|
+
* WARNING
|
|
23
|
+
* Constants, ItemIsAValues, IItemIsAValues, ItemIsAKeys AND IAnySourceItem MUST BE IN SYNC AND IN ORDER
|
|
24
|
+
*/
|
|
25
|
+
DocSet?: boolean;
|
|
26
|
+
File?: boolean;
|
|
27
|
+
FolderContent?: boolean;
|
|
28
|
+
Page?: boolean;
|
|
29
|
+
News?: boolean;
|
|
30
|
+
NewsPost?: boolean;
|
|
31
|
+
NewsLink?: boolean;
|
|
32
|
+
Draft?: boolean;
|
|
33
|
+
Major?: boolean;
|
|
34
|
+
Published?: boolean;
|
|
35
|
+
UnPublished?: boolean;
|
|
36
|
+
CheckedOut?: boolean;
|
|
37
|
+
CodeContent?: boolean;
|
|
38
|
+
OfficeContent?: boolean;
|
|
39
|
+
DataContent?: boolean;
|
|
40
|
+
MediaContent?: boolean;
|
|
41
|
+
SharePoint?: boolean;
|
|
42
|
+
OtherContent?: boolean;
|
|
43
|
+
DescIsHTML?: boolean;
|
|
44
|
+
UniquePerms?: boolean;
|
|
45
|
+
RequiresCheckout?: boolean;
|
|
46
|
+
VersionsDisabled?: boolean;
|
|
47
|
+
MinorVersionsEnabled?: boolean;
|
|
48
|
+
AttachmentsDisabled?: boolean;
|
|
49
|
+
HasMinimalDownload?: boolean;
|
|
50
|
+
ToManyItems?: boolean;
|
|
51
|
+
LotsOfItems?: boolean;
|
|
52
|
+
NoItems?: boolean;
|
|
53
|
+
NoRecentViews?: boolean;
|
|
54
|
+
PopularRecently?: boolean;
|
|
55
|
+
PopularLifeTime?: boolean;
|
|
56
|
+
allIsAKeys?: IItemIsAValues[];
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* WARNING
|
|
60
|
+
* Constants, ItemIsAValues, IItemIsAValues, ItemIsAKeys AND IAnySourceItem MUST BE IN SYNC AND IN ORDER
|
|
61
|
+
*/
|
|
62
|
+
export declare const ItemIsADocSet: IItemIsAValues;
|
|
63
|
+
export declare const ItemIsAFile: IItemIsAValues;
|
|
64
|
+
export declare const ItemIsFolderContent: IItemIsAValues;
|
|
65
|
+
export declare const ItemIsAPage: IItemIsAValues;
|
|
66
|
+
export declare const ItemIsANewsPost: IItemIsAValues;
|
|
67
|
+
export declare const ItemIsANewsLink: IItemIsAValues;
|
|
68
|
+
export declare const ItemIsADraft: IItemIsAValues;
|
|
69
|
+
export declare const ItemIsAMajor: IItemIsAValues;
|
|
70
|
+
export declare const ItemIsPublished: IItemIsAValues;
|
|
71
|
+
export declare const ItemIsUnPublished: IItemIsAValues;
|
|
72
|
+
export declare const ItemIsCodeContent: IItemIsAValues;
|
|
73
|
+
export declare const ItemIsOfficeContent: IItemIsAValues;
|
|
74
|
+
export declare const ItemIsDataContent: IItemIsAValues;
|
|
75
|
+
export declare const ItemIsMediaContent: IItemIsAValues;
|
|
76
|
+
export declare const ItemIsSharePointContent: IItemIsAValues;
|
|
77
|
+
export declare const ItemHasUniquePerms: IItemIsAValues;
|
|
78
|
+
export declare const ItemRequiresCheckout: IItemIsAValues;
|
|
79
|
+
export declare const ItemHasNoVersioning: IItemIsAValues;
|
|
80
|
+
export declare const ItemHasMinors: IItemIsAValues;
|
|
81
|
+
export declare const ItemHasNoAttachments: IItemIsAValues;
|
|
82
|
+
export declare const ItemIsCheckedOut: IItemIsAValues;
|
|
83
|
+
export declare const ItemHasMinimalDownload: IItemIsAValues;
|
|
84
|
+
export declare const ItemHasToManyItems: IItemIsAValues;
|
|
85
|
+
export declare const ItemHasLotsOfItems: IItemIsAValues;
|
|
86
|
+
export declare const ItemHasNoItems: IItemIsAValues;
|
|
87
|
+
export declare const ItemHasNoRecentViews: IItemIsAValues;
|
|
88
|
+
export declare const ItemWasPopularRecently: IItemIsAValues;
|
|
89
|
+
export declare const ItemWasLifeTime: IItemIsAValues;
|
|
90
|
+
export declare const ItemIsOtherContent: IItemIsAValues;
|
|
91
|
+
/**
|
|
92
|
+
* WARNING
|
|
93
|
+
* Constants, ItemIsAValues, IItemIsAValues, ItemIsAKeys AND IAnySourceItem MUST BE IN SYNC AND IN ORDER
|
|
94
|
+
*/
|
|
95
|
+
export declare const ItemIsAKeys: IItemIsAKeys[];
|
|
96
|
+
/**
|
|
97
|
+
* WARNING
|
|
98
|
+
* Constants, ItemIsAValues, IItemIsAValues, ItemIsAKeys AND IAnySourceItem MUST BE IN SYNC AND IN ORDER
|
|
99
|
+
*/
|
|
100
|
+
export declare const ItemIsAValues: IItemIsAValues[];
|
|
101
|
+
//# sourceMappingURL=IFPSItemIsA.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IFPSItemIsA.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/AnyContent/IsA/IFPSItemIsA.ts"],"names":[],"mappings":"AACA;;;;;;;;;;;;;;;;GAgBG;AAEH,MAAM,MAAM,YAAY,GACtB,QAAQ,GAAG,MAAM,GAAG,eAAe,GACnC,MAAM,GAAG,UAAU,GAAG,UAAU,GAChC,OAAO,GAAG,OAAO,GAAG,WAAW,GAAG,aAAa,GAAG,YAAY,GAC9D,aAAa,GAAG,eAAe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EAAE,cAAoC,CAAC;AACrE,eAAO,MAAM,kBAAkB,EAAE,cAAqC,CAAC;AACvE,eAAO,MAAM,uBAAuB,EAAE,cAA0C,CAAC;AAEjF,eAAO,MAAM,kBAAkB,EAAE,cAAqC,CAAC;AAGvE,eAAO,MAAM,oBAAoB,EAAE,cAAuC,CAAC;AAC3E,eAAO,MAAM,mBAAmB,EAAE,cAAsC,CAAC;AACzE,eAAO,MAAM,aAAa,EAAE,cAAgC,CAAC;AAC7D,eAAO,MAAM,oBAAoB,EAAE,cAAuC,CAAC;AAE3E,eAAO,MAAM,gBAAgB,EAAE,cAAmC,CAAC;AAGnE,eAAO,MAAM,sBAAsB,EAAE,cAAyC,CAAC;AAI/E,eAAO,MAAM,kBAAkB,EAAE,cAAqC,CAAC;AACvE,eAAO,MAAM,kBAAkB,EAAE,cAAqC,CAAC;AACvE,eAAO,MAAM,cAAc,EAAE,cAAiC,CAAC;AAE/D,eAAO,MAAM,oBAAoB,EAAE,cAAuC,CAAC;AAC3E,eAAO,MAAM,sBAAsB,EAAE,cAAyC,CAAC;AAC/E,eAAO,MAAM,eAAe,EAAE,cAAkC,CAAC;AAEjE,eAAO,MAAM,kBAAkB,EAAE,cAAqC,CAAC;AAEvE;;;GAGG;AACH,eAAO,MAAM,WAAW,EAAE,YAAY,EAerC,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,aAAa,EAAE,cAAc,EAezC,CAAC"}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Comments about IsA Logic:
|
|
3
|
+
*
|
|
4
|
+
* Where it all began:
|
|
5
|
+
*
|
|
6
|
+
* This started with Compliance web part and the CodeContent/OfficeContent etc labels.
|
|
7
|
+
* In that web part, it was designed to make it easier to create both searchable and clickable labels for filter buttons above the SourceList.
|
|
8
|
+
* The IsAKeys match the object keys in the IFPSItemIsA object
|
|
9
|
+
* The IsAValues are the labels that relate to said keys.
|
|
10
|
+
*
|
|
11
|
+
* They both of the Keys and Values arrays need to be in the exact same order in order for some of the search logic to work.
|
|
12
|
+
* So far that was only used in certain Content based props in Compliance, but it could now be used in any File Based use case like Document Sets.
|
|
13
|
+
*
|
|
14
|
+
* I'll admit, it's a little cumbersom to maintain given I keep adding more keys.
|
|
15
|
+
* BUT the goal is to have a standard way for both identifying what items have these labels.
|
|
16
|
+
* But also be able to then use the same labels for filtering or generating 'highlight' elements like in PivotTiles.
|
|
17
|
+
*/
|
|
18
|
+
/**
|
|
19
|
+
* WARNING
|
|
20
|
+
* Constants, ItemIsAValues, IItemIsAValues, ItemIsAKeys AND IAnySourceItem MUST BE IN SYNC AND IN ORDER
|
|
21
|
+
*/
|
|
22
|
+
export const ItemIsADocSet = `ItemIsADocSet`;
|
|
23
|
+
export const ItemIsAFile = `ItemIsAFile`;
|
|
24
|
+
export const ItemIsFolderContent = `ItemIsFolderContent`;
|
|
25
|
+
export const ItemIsAPage = `ItemIsAPage`;
|
|
26
|
+
export const ItemIsANewsPost = `ItemIsANewsPost`;
|
|
27
|
+
export const ItemIsANewsLink = `ItemIsANewsLink`;
|
|
28
|
+
export const ItemIsADraft = `ItemIsADraft`;
|
|
29
|
+
export const ItemIsAMajor = `ItemIsAMajor`;
|
|
30
|
+
export const ItemIsPublished = `ItemIsPublished`;
|
|
31
|
+
export const ItemIsUnPublished = `ItemIsUnPublished`;
|
|
32
|
+
export const ItemIsCodeContent = `ItemIsCodeContent`;
|
|
33
|
+
export const ItemIsOfficeContent = `ItemIsOfficeContent`;
|
|
34
|
+
export const ItemIsDataContent = `ItemIsDataContent`;
|
|
35
|
+
export const ItemIsMediaContent = `ItemIsMediaContent`;
|
|
36
|
+
export const ItemIsSharePointContent = `ItemIsSharePointContent`;
|
|
37
|
+
export const ItemHasUniquePerms = `ItemHasUniquePerms`;
|
|
38
|
+
// List-Library type of props
|
|
39
|
+
export const ItemRequiresCheckout = `ItemRequiresCheckout`;
|
|
40
|
+
export const ItemHasNoVersioning = `ItemHasNoVersioning`;
|
|
41
|
+
export const ItemHasMinors = `ItemHasMinors`;
|
|
42
|
+
export const ItemHasNoAttachments = `ItemHasNoAttachments`;
|
|
43
|
+
export const ItemIsCheckedOut = `ItemIsCheckedOut`;
|
|
44
|
+
// Is this a web?
|
|
45
|
+
export const ItemHasMinimalDownload = `ItemHasMinimalDownload`;
|
|
46
|
+
// 'ToManyItems' | 'LotsOfItems' | 'NoItems'
|
|
47
|
+
// 'ItemHasToManyItems' | 'ItemHasLotsOfItems' | 'ItemHasNoItems'
|
|
48
|
+
export const ItemHasToManyItems = `ItemHasToManyItems`;
|
|
49
|
+
export const ItemHasLotsOfItems = `ItemHasLotsOfItems`;
|
|
50
|
+
export const ItemHasNoItems = `ItemHasNoItems`;
|
|
51
|
+
export const ItemHasNoRecentViews = `ItemHasNoRecentViews`;
|
|
52
|
+
export const ItemWasPopularRecently = `ItemWasPopularRecently`;
|
|
53
|
+
export const ItemWasLifeTime = `ItemWasLifeTime`;
|
|
54
|
+
export const ItemIsOtherContent = `ItemIsOtherContent`;
|
|
55
|
+
/**
|
|
56
|
+
* WARNING
|
|
57
|
+
* Constants, ItemIsAValues, IItemIsAValues, ItemIsAKeys AND IAnySourceItem MUST BE IN SYNC AND IN ORDER
|
|
58
|
+
*/
|
|
59
|
+
export const ItemIsAKeys = [
|
|
60
|
+
'DocSet', 'File', 'FolderContent',
|
|
61
|
+
'Page', 'NewsPost', 'NewsLink',
|
|
62
|
+
'Draft', 'Major', 'Published', 'UnPublished', 'CheckedOut',
|
|
63
|
+
'CodeContent', 'OfficeContent', 'DataContent', 'MediaContent', 'SharePoint',
|
|
64
|
+
'UniquePerms',
|
|
65
|
+
'RequiresCheckout', 'VersionsDisabled', 'MinorVersionsEnabled', 'AttachmentsDisabled',
|
|
66
|
+
'HasMinimalDownload',
|
|
67
|
+
'ToManyItems', 'LotsOfItems', 'NoItems',
|
|
68
|
+
'NoRecentViews', 'PopularRecently', 'PopularLifeTime',
|
|
69
|
+
'OtherContent',
|
|
70
|
+
];
|
|
71
|
+
/**
|
|
72
|
+
* WARNING
|
|
73
|
+
* Constants, ItemIsAValues, IItemIsAValues, ItemIsAKeys AND IAnySourceItem MUST BE IN SYNC AND IN ORDER
|
|
74
|
+
*/
|
|
75
|
+
export const ItemIsAValues = [
|
|
76
|
+
ItemIsADocSet, ItemIsAFile, ItemIsFolderContent,
|
|
77
|
+
ItemIsAPage, ItemIsANewsPost, ItemIsANewsLink,
|
|
78
|
+
ItemIsADraft, ItemIsAMajor, ItemIsPublished, ItemIsUnPublished, ItemIsCheckedOut,
|
|
79
|
+
ItemIsCodeContent, ItemIsOfficeContent, ItemIsDataContent, ItemIsMediaContent, ItemIsSharePointContent,
|
|
80
|
+
ItemHasUniquePerms,
|
|
81
|
+
ItemRequiresCheckout, ItemHasNoVersioning, ItemHasMinors, ItemHasNoAttachments,
|
|
82
|
+
ItemHasMinimalDownload,
|
|
83
|
+
ItemHasToManyItems, ItemHasLotsOfItems, ItemHasNoItems,
|
|
84
|
+
ItemHasNoRecentViews, ItemWasPopularRecently, ItemWasLifeTime,
|
|
85
|
+
ItemIsOtherContent
|
|
86
|
+
];
|
|
87
|
+
//# sourceMappingURL=IFPSItemIsA.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IFPSItemIsA.js","sourceRoot":"","sources":["../../../../../src/components/molecules/AnyContent/IsA/IFPSItemIsA.ts"],"names":[],"mappings":"AACA;;;;;;;;;;;;;;;;GAgBG;AAkFH;;;GAGG;AAGH,MAAM,CAAC,MAAM,aAAa,GAAmB,eAAe,CAAC;AAC7D,MAAM,CAAC,MAAM,WAAW,GAAmB,aAAa,CAAC;AACzD,MAAM,CAAC,MAAM,mBAAmB,GAAmB,qBAAqB,CAAC;AAEzE,MAAM,CAAC,MAAM,WAAW,GAAmB,aAAa,CAAC;AACzD,MAAM,CAAC,MAAM,eAAe,GAAmB,iBAAiB,CAAC;AACjE,MAAM,CAAC,MAAM,eAAe,GAAmB,iBAAiB,CAAC;AAEjE,MAAM,C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AEjE,MAAM,CAAC,MAAM,kBAAkB,GAAmB,oBAAoB,CAAC;AAEvE;;;GAGG;AACH,MAAM,CAAC,MAAM,WAAW,GAAmB;IACzC,QAAQ,EAAE,MAAM,EAAE,eAAe;IACjC,MAAM,EAAE,UAAU,EAAE,UAAU;IAE9B,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,aAAa,EAAE,YAAY;IAC1D,aAAa,EAAE,eAAe,EAAE,aAAa,EAAE,cAAc,EAAE,YAAY;IAE3E,aAAa;IACb,kBAAkB,EAAE,kBAAkB,EAAE,sBAAsB,EAAE,qBAAqB;IAErF,oBAAoB;IACpB,aAAa,EAAG,aAAa,EAAG,SAAS;IAEzC,eAAe,EAAG,iBAAiB,EAAG,iBAAiB;IACvD,cAAc;CACf,CAAC;AAEF;;;GAGG;AACH,MAAM,CAAC,MAAM,aAAa,GAAqB;IAC7C,aAAa,EAAE,WAAW,EAAE,mBAAmB;IAC/C,WAAW,EAAE,eAAe,EAAE,eAAe;IAE7C,YAAY,EAAE,YAAY,EAAE,eAAe,EAAE,iBAAiB,EAAE,gBAAgB;IAChF,iBAAiB,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,uBAAuB;IAEtG,kBAAkB;IAClB,oBAAoB,EAAG,mBAAmB,EAAG,aAAa,EAAG,oBAAoB;IAEjF,sBAAsB;IACtB,kBAAkB,EAAG,kBAAkB,EAAG,cAAc;IAExD,oBAAoB,EAAE,sBAAsB,EAAE,eAAe;IAC7D,kBAAkB;CACnB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=IFPSItemIsALibraryObject.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IFPSItemIsALibraryObject.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/AnyContent/IsA/IFPSItemIsALibraryObject.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
// import { IFPSItemIsASecurableObject, IItemIsASecurableValue } from "./IFPSItemIsASecurable";
|
|
2
|
+
// /**
|
|
3
|
+
// * WARNING
|
|
4
|
+
// * Constants, ItemIsAValues, IItemIsALibraryObjectValues, ItemIsAKeys AND IAnySourceItem MUST BE IN SYNC AND IN ORDER
|
|
5
|
+
// */
|
|
6
|
+
// export type IItemIsALibraryKeys =
|
|
7
|
+
// 'RequiresCheckout' | 'VersionsDisabled' | 'MinorVersionsEnabled' | 'AttachmentsDisabled' |
|
|
8
|
+
// 'CheckedOut' | 'HasMinimalDownload' |
|
|
9
|
+
// 'ToManyItems' | 'LotsOfItems' | 'NoItems' ;
|
|
10
|
+
// /**
|
|
11
|
+
// * WARNING
|
|
12
|
+
// * Constants, ItemIsAValues, IItemIsALibraryObjectValues, ItemIsAKeys AND IAnySourceItem MUST BE IN SYNC AND IN ORDER
|
|
13
|
+
// */
|
|
14
|
+
// export const ItemIsALibraryKeys: IItemIsALibraryKeys[] = [
|
|
15
|
+
// 'RequiresCheckout', 'VersionsDisabled', 'MinorVersionsEnabled', 'AttachmentsDisabled',
|
|
16
|
+
// 'CheckedOut', 'HasMinimalDownload',
|
|
17
|
+
// 'ToManyItems' , 'LotsOfItems' , 'NoItems' ,
|
|
18
|
+
// ];
|
|
19
|
+
// export interface IFPSItemIsALibraryObject extends IFPSItemIsASecurableObject {
|
|
20
|
+
// RequiresCheckout?: boolean; // Added to highlight code in libraries...
|
|
21
|
+
// VersionsDisabled?: boolean; // Added to highlight code in libraries...
|
|
22
|
+
// MinorVersionsEnabled?: boolean; // Added to highlight code in libraries...
|
|
23
|
+
// AttachmentsDisabled?: boolean; // Added to highlight code in libraries...
|
|
24
|
+
// CheckedOut?: boolean; // Added to highlight code in libraries...
|
|
25
|
+
// HasMinimalDownload?: boolean; // Added to highlight code in libraries...
|
|
26
|
+
// ToManyItems?: boolean;
|
|
27
|
+
// LotsOfItems?: boolean;
|
|
28
|
+
// NoItems?: boolean;
|
|
29
|
+
// allIsAKeys?: IItemIsALibraryAllValues[];
|
|
30
|
+
// }
|
|
31
|
+
// export type IItemHasACount = 'ItemHasToManyItems' | 'ItemHasLotsOfItems' | 'ItemHasNoItems' ;
|
|
32
|
+
// export type IItemIsALibraryObjectValues =
|
|
33
|
+
// 'ItemRequiresCheckout' | 'ItemHasNoVersioning' | 'ItemHasMinors' | 'ItemHasNoAttachments' |
|
|
34
|
+
// 'ItemIsCheckedOut' | 'ItemHasMinimalDownload' ;
|
|
35
|
+
// export type IItemIsALibraryAllValues = IItemIsALibraryObjectValues & IItemHasACount & IItemIsASecurableValue
|
|
36
|
+
// // List-Library type of props
|
|
37
|
+
// export const ItemRequiresCheckout: IItemIsALibraryObjectValues = `ItemRequiresCheckout`;
|
|
38
|
+
// export const ItemHasNoVersioning: IItemIsALibraryObjectValues = `ItemHasNoVersioning`;
|
|
39
|
+
// export const ItemHasMinors: IItemIsALibraryObjectValues = `ItemHasMinors`;
|
|
40
|
+
// export const ItemHasNoAttachments: IItemIsALibraryObjectValues = `ItemHasNoAttachments`;
|
|
41
|
+
// export const ItemIsCheckedOut: IItemIsALibraryObjectValues = `ItemIsCheckedOut`;
|
|
42
|
+
// export const ItemHasMinimalDownload: IItemIsALibraryObjectValues = `ItemHasMinimalDownload`;
|
|
43
|
+
// export const ItemHasToManyItems: IItemHasACount = `ItemHasToManyItems`;
|
|
44
|
+
// export const ItemHasLotsOfItems: IItemHasACount = `ItemHasLotsOfItems`;
|
|
45
|
+
// export const ItemHasNoItems: IItemHasACount = `ItemHasNoItems`;
|
|
46
|
+
// export const ItemIsALibraryObjectValues: IItemIsALibraryAllValues[] = [
|
|
47
|
+
// // ItemRequiresCheckout , ItemHasNoVersioning , ItemHasMinors , ItemHasNoAttachments,
|
|
48
|
+
// // ItemIsCheckedOut, ItemHasMinimalDownload,
|
|
49
|
+
// // ItemHasToManyItems , ItemHasLotsOfItems , ItemHasNoItems,
|
|
50
|
+
// ];
|
|
51
|
+
//# sourceMappingURL=IFPSItemIsALibraryObject.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IFPSItemIsALibraryObject.js","sourceRoot":"","sources":["../../../../../src/components/molecules/AnyContent/IsA/IFPSItemIsALibraryObject.ts"],"names":[],"mappings":"AAAA,+FAA+F;AAG/F,MAAM;AACN,aAAa;AACb,wHAAwH;AACxH,MAAM;AACN,qCAAqC;AACrC,+FAA+F;AAC/F,0CAA0C;AAC1C,gDAAgD;AAEhD,MAAM;AACN,aAAa;AACb,wHAAwH;AACxH,MAAM;AACN,6DAA6D;AAC7D,4FAA4F;AAC5F,wCAAwC;AACxC,gDAAgD;AAChD,KAAK;AAEL,iFAAiF;AAEjF,2EAA2E;AAC3E,2EAA2E;AAC3E,+EAA+E;AAC/E,8EAA8E;AAE9E,qEAAqE;AACrE,6EAA6E;AAE7E,2BAA2B;AAC3B,2BAA2B;AAC3B,uBAAuB;AAEvB,6CAA6C;AAC7C,IAAI;AAGJ,gGAAgG;AAEhG,6CAA6C;AAC7C,gGAAgG;AAChG,oDAAoD;AAEpD,+GAA+G;AAE/G,gCAAgC;AAChC,2FAA2F;AAC3F,yFAAyF;AACzF,6EAA6E;AAC7E,2FAA2F;AAE3F,mFAAmF;AAEnF,+FAA+F;AAE/F,0EAA0E;AAC1E,0EAA0E;AAC1E,kEAAkE;AAElE,0EAA0E;AAC1E,0FAA0F;AAC1F,iDAAiD;AACjD,iEAAiE;AACjE,KAAK"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=IFPSItemIsAListItem.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IFPSItemIsAListItem.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/AnyContent/IsA/IFPSItemIsAListItem.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
// import { IFPSItemIsASecurableObject } from "./IFPSItemIsASecurable";
|
|
2
|
+
// export interface IFPSItemIsAListItem extends IFPSItemIsASecurableObject {
|
|
3
|
+
// /**
|
|
4
|
+
// * WARNING
|
|
5
|
+
// * Constants, ItemIsAValues, IItemIsAValues, ItemIsAKeys AND IAnySourceItem MUST BE IN SYNC AND IN ORDER
|
|
6
|
+
// */
|
|
7
|
+
// // 2023-03-19: added in addSearchMeta1 - Only added IF TRUE
|
|
8
|
+
// DocSet?: boolean;
|
|
9
|
+
// File?: boolean;
|
|
10
|
+
// FolderContent?: boolean;
|
|
11
|
+
// Page?: boolean;
|
|
12
|
+
// News?: boolean;
|
|
13
|
+
// NewsPost?: boolean;
|
|
14
|
+
// NewsLink?: boolean;
|
|
15
|
+
// // 2023-03-19: added in addOtherIsAMeta - Only added IF TRUE
|
|
16
|
+
// Draft?: boolean;
|
|
17
|
+
// Major?: boolean;
|
|
18
|
+
// Published?: boolean;
|
|
19
|
+
// UnPublished?: boolean;
|
|
20
|
+
// //'CodeContent' | 'OfficeContent' | 'DataContent' | 'MediaContent' | 'SharePoint' ;
|
|
21
|
+
// CodeContent?: boolean; // Added to highlight code in libraries...
|
|
22
|
+
// OfficeContent?: boolean; // Added to highlight code in libraries...
|
|
23
|
+
// DataContent?: boolean; // Added to highlight code in libraries...
|
|
24
|
+
// MediaContent?: boolean; // Added to highlight code in libraries...
|
|
25
|
+
// SharePoint?: boolean; // Added to highlight code in libraries...
|
|
26
|
+
// CheckedOut?: boolean; // Added to highlight code in libraries...
|
|
27
|
+
// OtherContent?: boolean; // Added to highlight code in libraries...
|
|
28
|
+
// DescIsHTML?: boolean; // Added to highlight code in libraries... // linked to sescIsHTML in IFPSItemSearch
|
|
29
|
+
// UniquePerms?: boolean;
|
|
30
|
+
// allIsAKeys?: IItemIsAListItemValue[];
|
|
31
|
+
// }
|
|
32
|
+
// export type IItemIsAListItemValue = 'ItemIsADocSet' | 'ItemIsAFile' | 'ItemIsFolderContent' |
|
|
33
|
+
// 'ItemIsAPage' | 'ItemIsANewsPost' | 'ItemIsANewsLink' |
|
|
34
|
+
// 'ItemIsADraft' | 'ItemIsAMajor' | 'ItemIsPublished' | 'ItemIsUnPublished' |
|
|
35
|
+
// 'ItemIsCodeContent' | 'ItemIsOfficeContent' | 'ItemIsDataContent' | 'ItemIsMediaContent' | 'ItemIsSharePointContent' |
|
|
36
|
+
// 'ItemHasUniquePerms' |
|
|
37
|
+
// 'ItemIsOtherContent';
|
|
38
|
+
// /**
|
|
39
|
+
// * WARNING
|
|
40
|
+
// * Constants, ItemIsAValues, IItemIsAValues, ItemIsAKeys AND IAnySourceItem MUST BE IN SYNC AND IN ORDER
|
|
41
|
+
// */
|
|
42
|
+
// export const ItemIsADocSet: IItemIsAListItemValue = `ItemIsADocSet`;
|
|
43
|
+
// export const ItemIsAFile: IItemIsAListItemValue = `ItemIsAFile`;
|
|
44
|
+
// export const ItemIsFolderContent: IItemIsAListItemValue = `ItemIsFolderContent`;
|
|
45
|
+
// export const ItemIsAPage: IItemIsAListItemValue = `ItemIsAPage`;
|
|
46
|
+
// export const ItemIsANewsPost: IItemIsAListItemValue = `ItemIsANewsPost`;
|
|
47
|
+
// export const ItemIsANewsLink: IItemIsAListItemValue = `ItemIsANewsLink`;
|
|
48
|
+
// export const ItemIsADraft: IItemIsAListItemValue = `ItemIsADraft`;
|
|
49
|
+
// export const ItemIsAMajor: IItemIsAListItemValue = `ItemIsAMajor`;
|
|
50
|
+
// export const ItemIsPublished: IItemIsAListItemValue = `ItemIsPublished`;
|
|
51
|
+
// export const ItemIsUnPublished: IItemIsAListItemValue = `ItemIsUnPublished`;
|
|
52
|
+
// export const ItemIsCodeContent: IItemIsAListItemValue = `ItemIsCodeContent`;
|
|
53
|
+
// export const ItemIsOfficeContent: IItemIsAListItemValue = `ItemIsOfficeContent`;
|
|
54
|
+
// export const ItemIsDataContent: IItemIsAListItemValue = `ItemIsDataContent`;
|
|
55
|
+
// export const ItemIsMediaContent: IItemIsAListItemValue = `ItemIsMediaContent`;
|
|
56
|
+
// export const ItemIsSharePointContent: IItemIsAListItemValue = `ItemIsSharePointContent`;
|
|
57
|
+
// export const ItemIsAListItemValues: IItemIsAListItemValue[] = [
|
|
58
|
+
// ItemIsADocSet, ItemIsAFile, ItemIsFolderContent,
|
|
59
|
+
// ItemIsAPage, ItemIsANewsPost, ItemIsANewsLink,
|
|
60
|
+
// ItemIsADraft, ItemIsAMajor, ItemIsPublished, ItemIsUnPublished,
|
|
61
|
+
// ItemIsCodeContent, ItemIsOfficeContent, ItemIsDataContent, ItemIsMediaContent, ItemIsSharePointContent,
|
|
62
|
+
// ];
|
|
63
|
+
//# sourceMappingURL=IFPSItemIsAListItem.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IFPSItemIsAListItem.js","sourceRoot":"","sources":["../../../../../src/components/molecules/AnyContent/IsA/IFPSItemIsAListItem.ts"],"names":[],"mappings":"AAAA,uEAAuE;AAEvE,4EAA4E;AAE5E,QAAQ;AACR,eAAe;AACf,6GAA6G;AAC7G,QAAQ;AACR,gEAAgE;AAChE,sBAAsB;AACtB,oBAAoB;AACpB,6BAA6B;AAC7B,oBAAoB;AACpB,oBAAoB;AACpB,wBAAwB;AACxB,wBAAwB;AAExB,iEAAiE;AACjE,qBAAqB;AACrB,qBAAqB;AACrB,yBAAyB;AACzB,2BAA2B;AAE3B,wFAAwF;AACxF,uEAAuE;AACvE,wEAAwE;AACxE,sEAAsE;AACtE,uEAAuE;AACvE,qEAAqE;AAErE,qEAAqE;AAErE,uEAAuE;AACvE,+GAA+G;AAE/G,2BAA2B;AAE3B,0CAA0C;AAC1C,IAAI;AAEJ,gGAAgG;AAChG,4DAA4D;AAC5D,gFAAgF;AAChF,2HAA2H;AAC3H,2BAA2B;AAC3B,0BAA0B;AAC1B,MAAM;AACN,aAAa;AACb,2GAA2G;AAC3G,MAAM;AAGN,uEAAuE;AACvE,mEAAmE;AACnE,mFAAmF;AAEnF,mEAAmE;AACnE,2EAA2E;AAC3E,2EAA2E;AAE3E,qEAAqE;AACrE,qEAAqE;AACrE,2EAA2E;AAC3E,+EAA+E;AAE/E,+EAA+E;AAC/E,mFAAmF;AACnF,+EAA+E;AAC/E,iFAAiF;AACjF,2FAA2F;AAE3F,kEAAkE;AAClE,qDAAqD;AACrD,mDAAmD;AACnD,oEAAoE;AACpE,4GAA4G;AAC5G,KAAK"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=IFPSItemIsAListObject.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IFPSItemIsAListObject.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/AnyContent/IsA/IFPSItemIsAListObject.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// import { IItemIsAValues } from "./IFPSItemIsAv2";
|
|
2
|
+
// export interface IFPSItemIsAListObject {
|
|
3
|
+
// VersionsDisabled?: boolean; // Added to highlight code in libraries...
|
|
4
|
+
// AttachmentsDisabled?: boolean; // Added to highlight code in libraries...
|
|
5
|
+
// HasMinimalDownload?: boolean; // Added to highlight code in libraries...
|
|
6
|
+
// ToManyItems?: boolean;
|
|
7
|
+
// LotsOfItems?: boolean;
|
|
8
|
+
// NoItems?: boolean;
|
|
9
|
+
// allIsAKeys?: IItemIsAValues[];
|
|
10
|
+
// }
|
|
11
|
+
//# sourceMappingURL=IFPSItemIsAListObject.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IFPSItemIsAListObject.js","sourceRoot":"","sources":["../../../../../src/components/molecules/AnyContent/IsA/IFPSItemIsAListObject.ts"],"names":[],"mappings":"AAAA,oDAAoD;AAEpD,2CAA2C;AAE3C,2EAA2E;AAC3E,8EAA8E;AAE9E,6EAA6E;AAE7E,2BAA2B;AAC3B,2BAA2B;AAC3B,uBAAuB;AAEvB,mCAAmC;AACnC,IAAI"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=IFPSItemIsASearchedObject.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IFPSItemIsASearchedObject.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/AnyContent/IsA/IFPSItemIsASearchedObject.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// export type IItemIsASearchedItemKey = 'NoRecentViews' | 'PopularRecently' | 'PopularLifeTime' ;
|
|
2
|
+
// export const ItemIsASearchedItemKeys: IItemIsASearchedItemKey[] = [
|
|
3
|
+
// 'NoRecentViews' , 'PopularRecently' , 'PopularLifeTime',
|
|
4
|
+
// ];
|
|
5
|
+
// export interface IFPSItemIsASearchedObject {
|
|
6
|
+
// NoRecentViews?: boolean;
|
|
7
|
+
// PopularRecently?: boolean;
|
|
8
|
+
// PopularLifeTime?: boolean;
|
|
9
|
+
// allIsAKeys?: IItemIsASearchedItemValue[];
|
|
10
|
+
// }
|
|
11
|
+
// export type IItemIsASearchedItemValue = 'ItemHasNoRecentViews' | 'ItemWasPopularRecently' | 'ItemWasLifeTime' ;
|
|
12
|
+
// export const ItemHasNoRecentViews: IItemIsASearchedItemValue = `ItemHasNoRecentViews`;
|
|
13
|
+
// export const ItemWasPopularRecently: IItemIsASearchedItemValue = `ItemWasPopularRecently`;
|
|
14
|
+
// export const ItemWasLifeTime: IItemIsASearchedItemValue = `ItemWasLifeTime`;
|
|
15
|
+
// export const ItemIsAValues: IItemIsASearchedItemValue[] = [
|
|
16
|
+
// ItemHasNoRecentViews, ItemWasPopularRecently, ItemWasLifeTime,
|
|
17
|
+
// ];
|
|
18
|
+
//# sourceMappingURL=IFPSItemIsASearchedObject.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IFPSItemIsASearchedObject.js","sourceRoot":"","sources":["../../../../../src/components/molecules/AnyContent/IsA/IFPSItemIsASearchedObject.ts"],"names":[],"mappings":"AACA,kGAAkG;AAElG,sEAAsE;AACtE,6DAA6D;AAC7D,KAAK;AAEL,+CAA+C;AAC/C,6BAA6B;AAC7B,+BAA+B;AAC/B,+BAA+B;AAC/B,8CAA8C;AAC9C,IAAI;AAEJ,kHAAkH;AAElH,yFAAyF;AACzF,6FAA6F;AAC7F,+EAA+E;AAE/E,8DAA8D;AAC9D,mEAAmE;AACnE,KAAK"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=IFPSItemIsASecurable.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IFPSItemIsASecurable.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/AnyContent/IsA/IFPSItemIsASecurable.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// export type IItemIsASecurableKeys = 'UniquePerms' ;
|
|
2
|
+
// export const ItemIsASecurableKeys: IItemIsASecurableKeys[] = [
|
|
3
|
+
// 'UniquePerms' ,
|
|
4
|
+
// ];
|
|
5
|
+
// export interface IFPSItemIsASecurableObject {
|
|
6
|
+
// UniquePerms?: boolean; // Added to highlight code in libraries...
|
|
7
|
+
// allIsAKeys?: IItemIsASecurableValue[];
|
|
8
|
+
// }
|
|
9
|
+
// export type IItemIsASecurableValue = 'ItemHasUniquePerms' ;
|
|
10
|
+
// export const ItemHasUniquePerms: IItemIsASecurableValue = `ItemHasUniquePerms`;
|
|
11
|
+
// export const ItemIsAValues: IItemIsASecurableValue[] = [
|
|
12
|
+
// ItemHasUniquePerms,
|
|
13
|
+
// ];
|
|
14
|
+
//# sourceMappingURL=IFPSItemIsASecurable.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IFPSItemIsASecurable.js","sourceRoot":"","sources":["../../../../../src/components/molecules/AnyContent/IsA/IFPSItemIsASecurable.ts"],"names":[],"mappings":"AAEA,sDAAsD;AAEtD,iEAAiE;AACjE,oBAAoB;AACpB,KAAK;AAEL,gDAAgD;AAChD,sEAAsE;AACtE,2CAA2C;AAC3C,IAAI;AAEJ,8DAA8D;AAE9D,kFAAkF;AAElF,2DAA2D;AAC3D,wBAAwB;AACxB,KAAK"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=IFPSItemIsAv2.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IFPSItemIsAv2.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/AnyContent/IsA/IFPSItemIsAv2.ts"],"names":[],"mappings":""}
|