@mikezimm/fps-library-v2 1.2.4 → 1.2.6
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/lib/banner/FPSWebPartClass/FPSBaseClass.d.ts +1 -0
- package/lib/banner/FPSWebPartClass/FPSBaseClass.d.ts.map +1 -1
- package/lib/banner/FPSWebPartClass/FPSBaseClass.js +1 -0
- package/lib/banner/FPSWebPartClass/FPSBaseClass.js.map +1 -1
- package/lib/banner/FPSWebPartClass/IThisFPSWebPartClass.d.ts +1 -0
- package/lib/banner/FPSWebPartClass/IThisFPSWebPartClass.d.ts.map +1 -1
- package/lib/banner/components/EasyPages/Analytics/components/Row.d.ts.map +1 -1
- package/lib/banner/components/EasyPages/Analytics/components/Row.js +6 -1
- package/lib/banner/components/EasyPages/Analytics/components/Row.js.map +1 -1
- package/lib/banner/components/EasyPages/functions/devLinks.d.ts.map +1 -1
- package/lib/banner/components/EasyPages/functions/devLinks.js +7 -7
- package/lib/banner/components/EasyPages/functions/devLinks.js.map +1 -1
- package/lib/banner/features/FPSDOM/FPSDocument.d.ts.map +1 -1
- package/lib/banner/features/FPSDOM/FPSDocument.js +11 -1
- package/lib/banner/features/FPSDOM/FPSDocument.js.map +1 -1
- package/lib/banner/features/FPSDOM/Interfaces.d.ts +2 -1
- package/lib/banner/features/FPSDOM/Interfaces.d.ts.map +1 -1
- package/lib/banner/features/ImportExport/IgnoreBlockProps.js +1 -1
- package/lib/banner/features/ImportExport/IgnoreBlockProps.js.map +1 -1
- package/lib/banner/features/Misc/fpsDefaults.js +3 -3
- package/lib/banner/features/PageStyle/DEPRECATED/minimzeHeader.d.ts +10 -0
- package/lib/banner/features/PageStyle/DEPRECATED/minimzeHeader.d.ts.map +1 -0
- package/lib/banner/features/PageStyle/{minimzeHeader.js → DEPRECATED/minimzeHeader.js} +8 -8
- package/lib/banner/features/PageStyle/DEPRECATED/minimzeHeader.js.map +1 -0
- package/lib/banner/features/PageStyle/Interfaces.d.ts +1 -0
- package/lib/banner/features/PageStyle/Interfaces.d.ts.map +1 -1
- package/lib/banner/features/PageStyle/Interfaces.js +1 -1
- package/lib/banner/features/PageStyle/Interfaces.js.map +1 -1
- package/lib/banner/features/PageStyle/hideSPODataAutoId.d.ts +12 -0
- package/lib/banner/features/PageStyle/hideSPODataAutoId.d.ts.map +1 -0
- package/lib/banner/features/PageStyle/hideSPODataAutoId.js +63 -0
- package/lib/banner/features/PageStyle/hideSPODataAutoId.js.map +1 -0
- package/lib/banner/features/PageStyle/renderCustStyles.d.ts.map +1 -1
- package/lib/banner/features/PageStyle/renderCustStyles.js +4 -2
- package/lib/banner/features/PageStyle/renderCustStyles.js.map +1 -1
- package/lib/banner/features/PageStyle/setAllSectionStyles.js +2 -2
- package/lib/banner/features/PageStyle/setAllSectionStyles.js.map +1 -1
- package/lib/banner/propPane/FPSOptionsGroupBasic.d.ts.map +1 -1
- package/lib/banner/propPane/FPSOptionsGroupBasic.js +7 -0
- package/lib/banner/propPane/FPSOptionsGroupBasic.js.map +1 -1
- package/lib/common/PropPaneHelp/atoms/GridAreaHelp.d.ts +17 -0
- package/lib/common/PropPaneHelp/atoms/GridAreaHelp.d.ts.map +1 -0
- package/lib/common/PropPaneHelp/atoms/GridAreaHelp.js +63 -0
- package/lib/common/PropPaneHelp/atoms/GridAreaHelp.js.map +1 -0
- package/lib/common/PropPaneHelp/atoms/GridAreaNamesNetworkBuilder.d.ts +6 -0
- package/lib/common/PropPaneHelp/atoms/GridAreaNamesNetworkBuilder.d.ts.map +1 -0
- package/lib/common/PropPaneHelp/atoms/GridAreaNamesNetworkBuilder.js +27 -0
- package/lib/common/PropPaneHelp/atoms/GridAreaNamesNetworkBuilder.js.map +1 -0
- package/lib/common/PropPaneHelp/atoms/HandleBarsHelp.d.ts +7 -0
- package/lib/common/PropPaneHelp/atoms/HandleBarsHelp.d.ts.map +1 -0
- package/lib/common/PropPaneHelp/atoms/HandleBarsHelp.js +10 -0
- package/lib/common/PropPaneHelp/atoms/HandleBarsHelp.js.map +1 -0
- package/lib/common/PropPaneHelp/atoms/HandleBarsJSONObjectHelp.d.ts +28 -0
- package/lib/common/PropPaneHelp/atoms/HandleBarsJSONObjectHelp.d.ts.map +1 -0
- package/lib/common/PropPaneHelp/atoms/HandleBarsJSONObjectHelp.js +85 -0
- package/lib/common/PropPaneHelp/atoms/HandleBarsJSONObjectHelp.js.map +1 -0
- package/lib/common/PropPaneHelp/atoms/JSONEdit.d.ts.map +1 -1
- package/lib/common/PropPaneHelp/atoms/JSONEdit.js +2 -1
- package/lib/common/PropPaneHelp/atoms/JSONEdit.js.map +1 -1
- package/lib/common/PropPaneHelp/pages/listview/Commands.d.ts.map +1 -1
- package/lib/common/PropPaneHelp/pages/listview/Commands.js +2 -1
- package/lib/common/PropPaneHelp/pages/listview/Commands.js.map +1 -1
- package/lib/common/PropPaneHelp/pages/listview/ListPerformance.d.ts.map +1 -1
- package/lib/common/PropPaneHelp/pages/listview/ListPerformance.js +5 -6
- package/lib/common/PropPaneHelp/pages/listview/ListPerformance.js.map +1 -1
- package/lib/common/PropPaneHelp/pages/listview/ReactListViews.js +2 -2
- package/lib/common/PropPaneHelp/pages/listview/ReactListViews.js.map +1 -1
- package/lib/common/PropPaneHelp/pages/listview/RefinerColumns.d.ts.map +1 -1
- package/lib/common/PropPaneHelp/pages/listview/RefinerColumns.js +2 -2
- package/lib/common/PropPaneHelp/pages/listview/RefinerColumns.js.map +1 -1
- package/lib/common/PropPaneHelp/pages/listview/Stats.d.ts.map +1 -1
- package/lib/common/PropPaneHelp/pages/listview/Stats.js +0 -1
- package/lib/common/PropPaneHelp/pages/listview/Stats.js.map +1 -1
- package/lib/common/PropPaneHelp/preconfig/ApplyPresets.d.ts.map +1 -1
- package/lib/common/PropPaneHelp/preconfig/ApplyPresets.js +20 -16
- package/lib/common/PropPaneHelp/preconfig/ApplyPresets.js.map +1 -1
- package/lib/common/PropPaneHelp/preconfig/PreConfiguredConstants.d.ts.map +1 -1
- package/lib/common/PropPaneHelp/preconfig/PreConfiguredConstants.js +4 -0
- package/lib/common/PropPaneHelp/preconfig/PreConfiguredConstants.js.map +1 -1
- package/lib/components/atoms/Links/CommonDevUrls.d.ts +32 -0
- package/lib/components/atoms/Links/CommonDevUrls.d.ts.map +1 -0
- package/lib/components/atoms/Links/CommonDevUrls.js +33 -0
- package/lib/components/atoms/Links/CommonDevUrls.js.map +1 -0
- package/lib/components/atoms/Links/CreateLinks.d.ts +0 -1
- package/lib/components/atoms/Links/CreateLinks.d.ts.map +1 -1
- package/lib/components/atoms/Links/CreateLinks.js +0 -1
- package/lib/components/atoms/Links/CreateLinks.js.map +1 -1
- package/lib/components/atoms/Links/GulpLinks.d.ts +0 -2
- package/lib/components/atoms/Links/GulpLinks.d.ts.map +1 -1
- package/lib/components/atoms/Links/GulpLinks.js +1 -2
- package/lib/components/atoms/Links/GulpLinks.js.map +1 -1
- package/lib/components/atoms/Links/LinksDevDocs.d.ts +4 -6
- package/lib/components/atoms/Links/LinksDevDocs.d.ts.map +1 -1
- package/lib/components/atoms/Links/LinksDevDocs.js +14 -11
- package/lib/components/atoms/Links/LinksDevDocs.js.map +1 -1
- package/lib/components/atoms/TextInput/FPSTextInput.d.ts +2 -0
- package/lib/components/atoms/TextInput/FPSTextInput.d.ts.map +1 -1
- package/lib/components/atoms/TextInput/FPSTextInput.js +13 -4
- package/lib/components/atoms/TextInput/FPSTextInput.js.map +1 -1
- package/lib/components/molecules/FPSTiles/functions/Any/buildFPSAnyTileItems.js +1 -1
- package/lib/components/molecules/FPSTiles/functions/Any/buildFPSAnyTileItems.js.map +1 -1
- package/lib/components/molecules/FPSTiles/functions/HubsSubs/buildFPSTileItems.js +1 -1
- package/lib/components/molecules/FPSTiles/functions/HubsSubs/buildFPSTileItems.js.map +1 -1
- package/lib/logic/Objects/deep.d.ts +1 -1
- package/lib/logic/Objects/deep.d.ts.map +1 -1
- package/lib/logic/Objects/deep.js +3 -2
- package/lib/logic/Objects/deep.js.map +1 -1
- package/package.json +1 -1
- package/lib/banner/features/PageStyle/minimzeHeader.d.ts +0 -10
- package/lib/banner/features/PageStyle/minimzeHeader.d.ts.map +0 -1
- package/lib/banner/features/PageStyle/minimzeHeader.js.map +0 -1
- package/lib/common/PropPaneHelp/atoms/InternalNames.d.ts +0 -3
- package/lib/common/PropPaneHelp/atoms/InternalNames.d.ts.map +0 -1
- package/lib/common/PropPaneHelp/atoms/InternalNames.js +0 -3
- package/lib/common/PropPaneHelp/atoms/InternalNames.js.map +0 -1
- package/lib/components/atoms/Links/InternalNames.d.ts +0 -3
- package/lib/components/atoms/Links/InternalNames.d.ts.map +0 -1
- package/lib/components/atoms/Links/InternalNames.js +0 -2
- package/lib/components/atoms/Links/InternalNames.js.map +0 -1
|
@@ -37,6 +37,13 @@ export function FPSOptionsGroupBasic(thisWPClass) {
|
|
|
37
37
|
onText: 'Hidden',
|
|
38
38
|
}));
|
|
39
39
|
}
|
|
40
|
+
if (thisWPClass._allowSocialBarHide === true) {
|
|
41
|
+
fields.push(PropertyPaneToggle('socialBarHide', {
|
|
42
|
+
label: 'Hide Social Bar - aka Like, Views, Save for Later',
|
|
43
|
+
offText: 'Ignore',
|
|
44
|
+
onText: 'Hidden',
|
|
45
|
+
}));
|
|
46
|
+
}
|
|
40
47
|
if (thisWPClass._allowAllSectWidth !== false) {
|
|
41
48
|
fields.push(PropertyPaneToggle('allSectionMaxWidthEnable', {
|
|
42
49
|
label: 'All Sections Max Width',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FPSOptionsGroupBasic.js","sourceRoot":"","sources":["../../../src/banner/propPane/FPSOptionsGroupBasic.ts"],"names":[],"mappings":"AAAA,OAAO;AACL,+BAA+B;AAC/B,kBAAkB,EAAE,kBAAkB,EACtC,iBAAiB,EAClB,MAAM,6BAA6B,CAAC;AAOrC;;;;;;GAMG;AAEH,mCAAmC;AACnC,sJAAsJ;AACtJ,gJAAgJ;AAEhJ,MAAM,UAAU,oBAAoB,CAAE,W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AAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI;gBACjF,GAAG,EAAE,IAAI;gBACT,GAAG,EAAE,IAAI;gBACT,IAAI,EAAE,GAAG;aACV,CAAC,CACH,CAAC;SACH;QACD,IAAI,WAAW,CAAC,kBAAkB,KAAK,KAAK,EAAE;YAC5C,MAAM,CAAC,IAAI,CACT,kBAAkB,CAAC,wBAAwB,EAAE;gBAC3C,KAAK,EAAE,qBAAqB;gBAC5B,OAAO,EAAE,KAAK;gBACd,MAAM,EAAE,IAAI;aACb,CAAC,CACH,CAAC;YACF,MAAM,CAAC,IAAI,CACT,kBAAkB,CAAC,kBAAkB,EAAE;gBACrC,KAAK,EAAE,uBAAuB;gBAC9B,QAAQ,EAAE,WAAW,CAAC,UAAU,CAAC,sBAAsB,KAAK,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI;gBAC/E,GAAG,EAAE,CAAC;gBACN,GAAG,EAAE,GAAG;gBACR,IAAI,EAAE,CAAC;aACR,CAAC,CACH,CAAC;SACH;QACD,IAAI,WAAW,CAAC,iBAAiB,KAAK,IAAI,EAAE;YAC1C,MAAM,CAAC,IAAI,CACT,kBAAkB,CAAC,aAAa,EAAE;gBAChC,KAAK,EAAE,8BAA8B;gBACrC,OAAO,EAAE,QAAQ;gBACjB,MAAM,EAAE,QAAQ;aACjB,CAAC,CACH,CAAC;SACH;KACF;IAED,IAAI,YAAY,GAAG;QACjB,SAAS,EAAE,yBAAyB;QACpC,WAAW,EAAE,IAAI;QACjB,WAAW,EAAE,MAAM;KAEpB,CAAC;IAEF,OAAO,YAAY,CAAC;AAEtB,CAAC"}
|
|
1
|
+
{"version":3,"file":"FPSOptionsGroupBasic.js","sourceRoot":"","sources":["../../../src/banner/propPane/FPSOptionsGroupBasic.ts"],"names":[],"mappings":"AAAA,OAAO;AACL,+BAA+B;AAC/B,kBAAkB,EAAE,kBAAkB,EACtC,iBAAiB,EAClB,MAAM,6BAA6B,CAAC;AA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BAAyB;QACpC,WAAW,EAAE,IAAI;QACjB,WAAW,EAAE,MAAM;KAEpB,CAAC;IAEF,OAAO,YAAY,CAAC;AAEtB,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const LabelPropsToggle: JSX.Element;
|
|
3
|
+
/**
|
|
4
|
+
* See GridAreaFormNamesNetworkBuilder from Network Builder as an example of input
|
|
5
|
+
* @param FormAreaNames
|
|
6
|
+
* @returns
|
|
7
|
+
*/
|
|
8
|
+
export declare function getGridAreaFormNames(FormAreaNames: JSX.Element): JSX.Element;
|
|
9
|
+
/**
|
|
10
|
+
* Can be used in PropPane Help as shown in getHelpSingleItem in Network-Builder
|
|
11
|
+
*/
|
|
12
|
+
export declare const GridAreaPropHelp: JSX.Element;
|
|
13
|
+
/**
|
|
14
|
+
* Can be used in PropPane Help as shown in getHelpSingleItem in Network-Builder
|
|
15
|
+
*/
|
|
16
|
+
export declare const GridAreaRowColHelp: JSX.Element;
|
|
17
|
+
//# sourceMappingURL=GridAreaHelp.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GridAreaHelp.d.ts","sourceRoot":"","sources":["../../../../src/common/PropPaneHelp/atoms/GridAreaHelp.tsx"],"names":[],"mappings":";AAIA,eAAO,MAAM,gBAAgB,EAAE,GAAG,CAAC,OAAiG,CAAC;AAErI;;;;GAIG;AACH,wBAAgB,oBAAoB,CAAE,aAAa,EAAE,GAAG,CAAC,OAAO,GAAI,GAAG,CAAC,OAAO,CAM9E;AAED;;GAEG;AACH,eAAO,MAAM,gBAAgB,EAAE,GAAG,CAAC,OAM7B,CAAC;AAEP;;GAEG;AACH,eAAO,MAAM,kBAAkB,EAAE,GAAG,CAAC,OAI/B,CAAC"}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { CSSGridDocsLink, CSSGridGenLink } from '../../../components/atoms/Links/LinksDevDocs';
|
|
3
|
+
import { SingleQuotesEle } from './HandleBarsHelp';
|
|
4
|
+
export const LabelPropsToggle = React.createElement("div", null,
|
|
5
|
+
"Toggle the ",
|
|
6
|
+
React.createElement("b", null, "Labels"),
|
|
7
|
+
" toggle to Properties to see the name of each field.");
|
|
8
|
+
/**
|
|
9
|
+
* See GridAreaFormNamesNetworkBuilder from Network Builder as an example of input
|
|
10
|
+
* @param FormAreaNames
|
|
11
|
+
* @returns
|
|
12
|
+
*/
|
|
13
|
+
export function getGridAreaFormNames(FormAreaNames) {
|
|
14
|
+
const ele = React.createElement("div", null,
|
|
15
|
+
React.createElement("div", { className: 'fps-pph-topic' },
|
|
16
|
+
"Grid Area Names from this form: ",
|
|
17
|
+
CSSGridDocsLink,
|
|
18
|
+
" | ",
|
|
19
|
+
CSSGridGenLink),
|
|
20
|
+
FormAreaNames);
|
|
21
|
+
return ele;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Can be used in PropPane Help as shown in getHelpSingleItem in Network-Builder
|
|
25
|
+
*/
|
|
26
|
+
export const GridAreaPropHelp = React.createElement("div", null,
|
|
27
|
+
React.createElement("div", { className: 'fps-pph-topic' },
|
|
28
|
+
"CSS Grid Area: ",
|
|
29
|
+
CSSGridDocsLink,
|
|
30
|
+
" ",
|
|
31
|
+
CSSGridGenLink),
|
|
32
|
+
React.createElement("div", null,
|
|
33
|
+
"You define the layout ",
|
|
34
|
+
` ( Rows and Columns )`,
|
|
35
|
+
" of the form using CSS Grid Area Syntax."),
|
|
36
|
+
React.createElement("div", null, LabelPropsToggle),
|
|
37
|
+
React.createElement("div", null,
|
|
38
|
+
"Generally speaking, you define each row of the grid using ",
|
|
39
|
+
React.createElement("b", null, "Grid Areas"),
|
|
40
|
+
" in ",
|
|
41
|
+
SingleQuotesEle,
|
|
42
|
+
"."),
|
|
43
|
+
React.createElement("div", null,
|
|
44
|
+
"Each row should be separated by a space and the Grid Areas defined in the row must be in ",
|
|
45
|
+
SingleQuotesEle));
|
|
46
|
+
/**
|
|
47
|
+
* Can be used in PropPane Help as shown in getHelpSingleItem in Network-Builder
|
|
48
|
+
*/
|
|
49
|
+
export const GridAreaRowColHelp = React.createElement("div", null,
|
|
50
|
+
React.createElement("div", { className: 'fps-pph-topic' },
|
|
51
|
+
"CSS Grid Columns / Rows: ",
|
|
52
|
+
CSSGridDocsLink,
|
|
53
|
+
" ",
|
|
54
|
+
CSSGridGenLink),
|
|
55
|
+
React.createElement("div", null,
|
|
56
|
+
"CSS Grid Columns settting of ",
|
|
57
|
+
React.createElement("b", null, "1fr 1fr 1fr 1fr"),
|
|
58
|
+
" will create 4 columns of equal fractions"),
|
|
59
|
+
React.createElement("div", null,
|
|
60
|
+
"CSS Grid Rows settting of ",
|
|
61
|
+
React.createElement("b", null, "auto auto"),
|
|
62
|
+
" will create 2 rows of auto height... generally automatically defines height based on content"));
|
|
63
|
+
//# sourceMappingURL=GridAreaHelp.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GridAreaHelp.js","sourceRoot":"","sources":["../../../../src/common/PropPaneHelp/atoms/GridAreaHelp.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,8CAA8C,CAAC;AAC/F,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAEnD,MAAM,CAAC,MAAM,gBAAgB,GAAgB;;IAAgB,wCAAa;2DAA0D,CAAC;AAErI;;;;GAIG;AACH,MAAM,UAAU,oBAAoB,CAAE,aAA0B;IAC9D,MAAM,GAAG,GAAG;QACV,6BAAK,SAAS,EAAG,eAAe;;YAAqC,eAAe;;YAAO,cAAc,CAAQ;QAC/G,aAAa,CACX,CAAC;IACP,OAAO,GAAG,CAAA;AACZ,CAAC;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAgB;IAC3C,6BAAK,SAAS,EAAG,eAAe;;QAAoB,eAAe;;QAAK,cAAc,CAAQ;IAC9F;;QAA4B,uBAAuB;mDAA+C;IAClG,iCAAO,gBAAgB,CAAQ;IAC/B;;QAA+D,4CAAiB;;QAAM,eAAe;YAAS;IAC9G;;QAAgG,eAAe,CAAQ,CACnH,CAAC;AAEP;;GAEG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAgB;IAC7C,6BAAK,SAAS,EAAG,eAAe;;QAA8B,eAAe;;QAAK,cAAc,CAAQ;IACxG;;QAAkC,iDAAsB;oDAA+C;IACvG;;QAA+B,2CAAgB;wGAAmG,CAC9I,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GridAreaNamesNetworkBuilder.d.ts","sourceRoot":"","sources":["../../../../src/common/PropPaneHelp/atoms/GridAreaNamesNetworkBuilder.tsx"],"names":[],"mappings":";AAIA;;GAEG;AACH,eAAO,MAAM,+BAA+B,EAAE,GAAG,CAAC,OAS5C,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { CSSGridDocsLink, CSSGridGenLink } from '../../../components/atoms/Links/LinksDevDocs';
|
|
3
|
+
import { LabelPropsToggle } from './GridAreaHelp';
|
|
4
|
+
/**
|
|
5
|
+
* This is a sample of grid area names from Network-Builder as of 2024-06-21
|
|
6
|
+
*/
|
|
7
|
+
export const GridAreaFormNamesNetworkBuilder = React.createElement("div", null,
|
|
8
|
+
React.createElement("div", { className: 'fps-pph-topic' },
|
|
9
|
+
"Grid Area Names from this form: ",
|
|
10
|
+
CSSGridDocsLink,
|
|
11
|
+
" ",
|
|
12
|
+
CSSGridGenLink),
|
|
13
|
+
React.createElement("div", null, LabelPropsToggle),
|
|
14
|
+
React.createElement("ul", null,
|
|
15
|
+
React.createElement("li", null,
|
|
16
|
+
"Primary and Links: ",
|
|
17
|
+
React.createElement("b", null, "primaryName, primeHash, linksStateT1 thru linksStateT7")),
|
|
18
|
+
React.createElement("li", null,
|
|
19
|
+
"Multi Item: ",
|
|
20
|
+
React.createElement("b", null, "multiTypes, multiImageMask, multiField1 thru multiField6")),
|
|
21
|
+
React.createElement("li", null,
|
|
22
|
+
"Single Item: ",
|
|
23
|
+
React.createElement("b", null, "singleStateT1 thru singleStateT5, singleStateM6 thru singleStateM7")),
|
|
24
|
+
React.createElement("li", null,
|
|
25
|
+
"Pages: ",
|
|
26
|
+
React.createElement("b", null, "pageStateMA1, pageStateMB1, pageStateMA2, pageStateMB2"))));
|
|
27
|
+
//# sourceMappingURL=GridAreaNamesNetworkBuilder.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GridAreaNamesNetworkBuilder.js","sourceRoot":"","sources":["../../../../src/common/PropPaneHelp/atoms/GridAreaNamesNetworkBuilder.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,8CAA8C,CAAC;AAC/F,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAElD;;GAEG;AACH,MAAM,CAAC,MAAM,+BAA+B,GAAgB;IAC1D,6BAAK,SAAS,EAAE,eAAe;;QAAmC,eAAe;;QAAG,cAAc,CAAO;IACzG,iCAAM,gBAAgB,CAAO;IAC7B;QACE;;YAAuB,wFAA6D,CAAK;QACzF;;YAAgB,0FAA+D,CAAK;QACpF;;YAAiB,oGAAyE,CAAK;QAC/F;;YAAW,wFAA6D,CAAK,CAC1E,CACD,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const DoubleQuotesEle: JSX.Element;
|
|
3
|
+
export declare const SingleQuotesEle: JSX.Element;
|
|
4
|
+
export declare const HandleBarsEle: JSX.Element;
|
|
5
|
+
export declare const FormPropNameEle: JSX.Element;
|
|
6
|
+
export declare const SeeHandleBarsHelpTab: JSX.Element;
|
|
7
|
+
//# sourceMappingURL=HandleBarsHelp.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HandleBarsHelp.d.ts","sourceRoot":"","sources":["../../../../src/common/PropPaneHelp/atoms/HandleBarsHelp.tsx"],"names":[],"mappings":";AAEA,eAAO,MAAM,eAAe,EAAE,GAAG,CAAC,OAAmC,CAAC;AACtE,eAAO,MAAM,eAAe,EAAE,GAAG,CAAC,OAAmC,CAAC;AACtE,eAAO,MAAM,aAAa,EAAE,GAAG,CAAC,OAAmC,CAAC;AACpE,eAAO,MAAM,eAAe,EAAE,GAAG,CAAC,OAAyC,CAAC;AAE5E,eAAO,MAAM,oBAAoB,EAAE,GAAG,CAAC,OAAyG,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export const DoubleQuotesEle = React.createElement("b", null, `"DoubleQuotes"`);
|
|
3
|
+
export const SingleQuotesEle = React.createElement("b", null, `'SingleQuotes'`);
|
|
4
|
+
export const HandleBarsEle = React.createElement("b", null, `{{HandleBars}}`);
|
|
5
|
+
export const FormPropNameEle = React.createElement("b", null, `{{formPropertyName}}`);
|
|
6
|
+
export const SeeHandleBarsHelpTab = React.createElement("div", null,
|
|
7
|
+
"For this and any ObjectMask Property, see the ",
|
|
8
|
+
HandleBarsEle,
|
|
9
|
+
" tab for more details");
|
|
10
|
+
//# sourceMappingURL=HandleBarsHelp.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HandleBarsHelp.js","sourceRoot":"","sources":["../../../../src/common/PropPaneHelp/atoms/HandleBarsHelp.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,MAAM,CAAC,MAAM,eAAe,GAAgB,+BAAI,gBAAgB,CAAK,CAAC;AACtE,MAAM,CAAC,MAAM,eAAe,GAAgB,+BAAI,gBAAgB,CAAK,CAAC;AACtE,MAAM,CAAC,MAAM,aAAa,GAAgB,+BAAI,gBAAgB,CAAK,CAAC;AACpE,MAAM,CAAC,MAAM,eAAe,GAAgB,+BAAI,sBAAsB,CAAK,CAAC;AAE5E,MAAM,CAAC,MAAM,oBAAoB,GAAgB;;IAAqD,aAAa;4BAA6B,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { IReactJSONSettings } from '../../../components/atoms/ReactJSON/ReactJSONObject';
|
|
3
|
+
/**
|
|
4
|
+
* This gets called by getHelpHandleBarsPivotItem... use it as primary entry point if possible.
|
|
5
|
+
* @param reactJSONSettings
|
|
6
|
+
* @param explained
|
|
7
|
+
* @returns
|
|
8
|
+
*/
|
|
9
|
+
export declare function buildHandleBarsJSONObjectHelp(reactJSONSettings: IReactJSONSettings, explained: JSX.Element): JSX.Element;
|
|
10
|
+
/**
|
|
11
|
+
*
|
|
12
|
+
* @param reactJSONSettings
|
|
13
|
+
* @param explained - see comment example below
|
|
14
|
+
* @returns
|
|
15
|
+
|
|
16
|
+
This is the 'explained' element from Network-Builder for an example:
|
|
17
|
+
<div className={ 'fps-pph-topic' }>This is what it should create:</div>
|
|
18
|
+
<ul>
|
|
19
|
+
<li><b>Title</b> Column will be something like <b>CompanyX - Youtube</b></li>
|
|
20
|
+
<li><b>Link</b> Column will be something like <b>`{ `{ "Url": "LinkUrlFromForm", "Description": "LinkUrlFromForm" }` }`</b></li>
|
|
21
|
+
<li><b>LinkType</b> Column will be something like <b>Youtube</b></li>
|
|
22
|
+
<li><b>ImageUrl</b> Column will be something like <b>/sites/Collection/Library/CompanyX.png</b></li>
|
|
23
|
+
<li><b>CompanyLogo</b> Column will be something like <b>{ LogosBase }/CompanyX Logo.png</b></li>
|
|
24
|
+
<li><b>Company</b> Column will be something like <b>CompanyX</b></li>
|
|
25
|
+
</ul>
|
|
26
|
+
*/
|
|
27
|
+
export declare function getHelpHandleBarsPivotItem(reactJSONSettings: IReactJSONSettings, explained: JSX.Element): JSX.Element;
|
|
28
|
+
//# sourceMappingURL=HandleBarsJSONObjectHelp.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HandleBarsJSONObjectHelp.d.ts","sourceRoot":"","sources":["../../../../src/common/PropPaneHelp/atoms/HandleBarsJSONObjectHelp.tsx"],"names":[],"mappings":";AAOA,OAAO,EAAgB,kBAAkB,EAAE,MAAM,qDAAqD,CAAC;AAEvG;;;;;GAKG;AACH,wBAAgB,6BAA6B,CAAE,iBAAiB,EAAE,kBAAkB,EAAE,SAAS,EAAE,GAAG,CAAC,OAAO,GAAI,GAAG,CAAC,OAAO,CA+B1H;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,0BAA0B,CAAG,iBAAiB,EAAE,kBAAkB,EAAE,SAAS,EAAE,GAAG,CAAC,OAAO,GAAI,GAAG,CAAC,OAAO,CAWxH"}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { PivotItem, } from 'office-ui-fabric-react/lib/Pivot';
|
|
3
|
+
// import { IAllPropPaneProps } from '../components/IFpsNetworkBuilderWPProps';
|
|
4
|
+
import { JSONEditor } from '../../../components/atoms/Links/LinksDevDocs';
|
|
5
|
+
import { DoubleQuotesEle, FormPropNameEle, HandleBarsEle } from './HandleBarsHelp';
|
|
6
|
+
import { FPSReactJSON } from '../../../components/atoms/ReactJSON/ReactJSONObject';
|
|
7
|
+
/**
|
|
8
|
+
* This gets called by getHelpHandleBarsPivotItem... use it as primary entry point if possible.
|
|
9
|
+
* @param reactJSONSettings
|
|
10
|
+
* @param explained
|
|
11
|
+
* @returns
|
|
12
|
+
*/
|
|
13
|
+
export function buildHandleBarsJSONObjectHelp(reactJSONSettings, explained) {
|
|
14
|
+
const ele = React.createElement("div", null,
|
|
15
|
+
React.createElement("div", null,
|
|
16
|
+
"Use a ",
|
|
17
|
+
HandleBarsEle,
|
|
18
|
+
" like syntax to completely customize a created Item using any fields on the form."),
|
|
19
|
+
React.createElement("div", null, "Rules"),
|
|
20
|
+
React.createElement("ul", null,
|
|
21
|
+
React.createElement("li", null,
|
|
22
|
+
"The string must represent a valid JSON object. Use a popular free web site to validate: ",
|
|
23
|
+
JSONEditor,
|
|
24
|
+
" "),
|
|
25
|
+
React.createElement("li", null,
|
|
26
|
+
"Some of the most common errors of JSON objects: Forgetting ",
|
|
27
|
+
DoubleQuotesEle,
|
|
28
|
+
" and adding a comma after the last item in the object!"),
|
|
29
|
+
React.createElement("li", null,
|
|
30
|
+
"The Keys must represent the list Internal Column Name and be surrounded by ",
|
|
31
|
+
DoubleQuotesEle),
|
|
32
|
+
React.createElement("li", null,
|
|
33
|
+
"All Text Values must be surrounded by ",
|
|
34
|
+
DoubleQuotesEle,
|
|
35
|
+
" including Choice column values"),
|
|
36
|
+
React.createElement("li", null,
|
|
37
|
+
"You can use the ",
|
|
38
|
+
FormPropNameEle,
|
|
39
|
+
" syntax to substitute values in the Object with values from the Form"),
|
|
40
|
+
React.createElement("li", null,
|
|
41
|
+
"You can VIEW the ",
|
|
42
|
+
FormPropNameEle,
|
|
43
|
+
" names by using the toggle at the top of the page"),
|
|
44
|
+
React.createElement("li", null,
|
|
45
|
+
"You can create a ",
|
|
46
|
+
React.createElement("b", null, "Link type"),
|
|
47
|
+
" of column using: ",
|
|
48
|
+
`{ "LinkColName": "Url": "www...", "Description": "www... or Title" }`),
|
|
49
|
+
React.createElement("li", null,
|
|
50
|
+
"You can create a ",
|
|
51
|
+
React.createElement("b", null, "Multi-select"),
|
|
52
|
+
" column using: ",
|
|
53
|
+
`{ "MultiChoiceColName": [ "AddChoiceHere" ] }`)),
|
|
54
|
+
React.createElement("div", { style: { display: 'flex' } },
|
|
55
|
+
React.createElement("div", { style: { width: '50%' } },
|
|
56
|
+
React.createElement("div", { className: 'fps-pph-topic' }, "Here is an example HandleBars object:"),
|
|
57
|
+
FPSReactJSON(reactJSONSettings)),
|
|
58
|
+
React.createElement("div", null, explained)));
|
|
59
|
+
return ele;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @param reactJSONSettings
|
|
64
|
+
* @param explained - see comment example below
|
|
65
|
+
* @returns
|
|
66
|
+
|
|
67
|
+
This is the 'explained' element from Network-Builder for an example:
|
|
68
|
+
<div className={ 'fps-pph-topic' }>This is what it should create:</div>
|
|
69
|
+
<ul>
|
|
70
|
+
<li><b>Title</b> Column will be something like <b>CompanyX - Youtube</b></li>
|
|
71
|
+
<li><b>Link</b> Column will be something like <b>`{ `{ "Url": "LinkUrlFromForm", "Description": "LinkUrlFromForm" }` }`</b></li>
|
|
72
|
+
<li><b>LinkType</b> Column will be something like <b>Youtube</b></li>
|
|
73
|
+
<li><b>ImageUrl</b> Column will be something like <b>/sites/Collection/Library/CompanyX.png</b></li>
|
|
74
|
+
<li><b>CompanyLogo</b> Column will be something like <b>{ LogosBase }/CompanyX Logo.png</b></li>
|
|
75
|
+
<li><b>Company</b> Column will be something like <b>CompanyX</b></li>
|
|
76
|
+
</ul>
|
|
77
|
+
*/
|
|
78
|
+
export function getHelpHandleBarsPivotItem(reactJSONSettings, explained) {
|
|
79
|
+
const WebPartHelpElement = React.createElement(PivotItem, { headerText: '{{HandleBars}}' },
|
|
80
|
+
React.createElement("div", { className: 'fps-pph-content' },
|
|
81
|
+
React.createElement("div", { className: 'fps-pph-topic' }, `{{HandleBars}}`),
|
|
82
|
+
buildHandleBarsJSONObjectHelp(reactJSONSettings, explained)));
|
|
83
|
+
return WebPartHelpElement;
|
|
84
|
+
}
|
|
85
|
+
//# sourceMappingURL=HandleBarsJSONObjectHelp.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HandleBarsJSONObjectHelp.js","sourceRoot":"","sources":["../../../../src/common/PropPaneHelp/atoms/HandleBarsJSONObjectHelp.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAG,SAAS,GAAG,MAAM,kCAAkC,CAAC;AAC/D,+EAA+E;A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@@
|
|
|
1
|
-
{"version":3,"file":"JSONEdit.d.ts","sourceRoot":"","sources":["../../../../src/common/PropPaneHelp/atoms/JSONEdit.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"JSONEdit.d.ts","sourceRoot":"","sources":["../../../../src/common/PropPaneHelp/atoms/JSONEdit.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,cAAc,wHAIzB,CAAC"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { PropertyPaneLink, } from '@microsoft/sp-property-pane';
|
|
2
|
+
import { JSONViewerUrl } from '../../../components/atoms/Links/CommonDevUrls';
|
|
2
3
|
export const JSON_Edit_Link = PropertyPaneLink('JSON Link', {
|
|
3
4
|
text: 'Use this site to more easily work on JSON',
|
|
4
|
-
href:
|
|
5
|
+
href: JSONViewerUrl,
|
|
5
6
|
target: '_blank',
|
|
6
7
|
});
|
|
7
8
|
//# sourceMappingURL=JSONEdit.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"JSONEdit.js","sourceRoot":"","sources":["../../../../src/common/PropPaneHelp/atoms/JSONEdit.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,GAAG,MAAM,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"JSONEdit.js","sourceRoot":"","sources":["../../../../src/common/PropPaneHelp/atoms/JSONEdit.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,GAAG,MAAM,6BAA6B,CAAC;AAChE,OAAO,EAAE,aAAa,EAAE,MAAM,+CAA+C,CAAC;AAE9E,MAAM,CAAC,MAAM,cAAc,GAAG,gBAAgB,CAAC,WAAW,EAAG;IAC3D,IAAI,EAAE,2CAA2C;IACjD,IAAI,EAAE,aAAa;IACnB,MAAM,EAAE,QAAQ;CACjB,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Commands.d.ts","sourceRoot":"","sources":["../../../../../src/common/PropPaneHelp/pages/listview/Commands.tsx"],"names":[],"mappings":";AAWA,OAAO,EAAE,mBAAmB,EAAE,MAAM,kDAAkD,CAAC;
|
|
1
|
+
{"version":3,"file":"Commands.d.ts","sourceRoot":"","sources":["../../../../../src/common/PropPaneHelp/pages/listview/Commands.tsx"],"names":[],"mappings":";AAWA,OAAO,EAAE,mBAAmB,EAAE,MAAM,kDAAkD,CAAC;AAGvF,wBAAgB,eAAe,CAAG,WAAW,EAAE,mBAAmB,GAAM,GAAG,CAAC,OAAO,CA8IlF"}
|
|
@@ -6,6 +6,7 @@ import { AdvancedCommands, SampleCommands } from './samples/SampleCommands';
|
|
|
6
6
|
import { PleaseSeeWiki } from '../../atoms/SeeWiki';
|
|
7
7
|
const padRight15 = { paddingRight: '15px' };
|
|
8
8
|
const padRight40 = { paddingRight: '40px' };
|
|
9
|
+
import { FLICONio } from '../../../../components/atoms/Links/LinksDevDocs';
|
|
9
10
|
export function getHelpCommands(bannerProps) {
|
|
10
11
|
const WebPartHelpElement = React.createElement(PivotItem, { headerText: 'Commands' },
|
|
11
12
|
React.createElement("div", { className: 'fps-pph-content' },
|
|
@@ -62,7 +63,7 @@ export function getHelpCommands(bannerProps) {
|
|
|
62
63
|
React.createElement("li", null,
|
|
63
64
|
React.createElement("b", null, "icon:"),
|
|
64
65
|
" Icon name. Go to ",
|
|
65
|
-
|
|
66
|
+
FLICONio,
|
|
66
67
|
" for complete list."),
|
|
67
68
|
React.createElement("li", null,
|
|
68
69
|
React.createElement("b", null, "updateItem:"),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Commands.js","sourceRoot":"","sources":["../../../../../src/common/PropPaneHelp/pages/listview/Commands.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,wDAAwD;AAExD,OAAO,EAAE,SAAS,GAAG,MAAM,2BAA2B,CAAC;AACvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,yDAAyD,CAAC;AAC5F,OAAO,EA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AAK;gCACnH;oCAAI,oHAAyF,CAAK;gCAClG;;oCAAqC,mCAAmC;mDAAkB;gCAC1F,+EAAqD;gCACrD,iGAAuE;gCACvE,8FAAoE;gCACpE,6BAAK,KAAK,EAAE,EAAC,MAAM,EAAE,MAAM,EAAE,GAAG;gCAChC;oCAAI,+BAAI,kEAAkE,CAAK,CAAK;gCACpF,6BAAK,KAAK,EAAE,EAAC,MAAM,EAAE,MAAM,EAAE,GAAG;gCAChC;oCAAI,+BAAI,2HAA2H,CAAK,CAAK;gCAC7I,6BAAK,KAAK,EAAE,EAAC,MAAM,EAAE,MAAM,EAAE,GAAG;gCAChC,iKAAuI;gCACvI,+HAAqG;gCACrG,8IAAoH,CACjH,CACF,CAEJ,CACD,CACF;YAGJ,aAAa,CAAE,WAAW,CAAE,CAC1B,CACI,CACf;IAED,OAAO,kBAAkB,CAAC;AAE5B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListPerformance.d.ts","sourceRoot":"","sources":["../../../../../src/common/PropPaneHelp/pages/listview/ListPerformance.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"ListPerformance.d.ts","sourceRoot":"","sources":["../../../../../src/common/PropPaneHelp/pages/listview/ListPerformance.tsx"],"names":[],"mappings":";AAMA,wBAAgB,sBAAsB,IAAO,GAAG,CAAC,OAAO,CAsDvD"}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
// import { escape } from '@microsoft/sp-lodash-subset';
|
|
3
3
|
import { PivotItem, } from '@fluentui/react/lib/Pivot';
|
|
4
|
-
|
|
5
|
-
const LinkOdataOperators = React.createElement("a", { href: 'https://learn.microsoft.com/en-us/azure/search/search-query-odata-comparison-operators#syntax', target: "_blank" }, "ge");
|
|
4
|
+
import { FindInternalNameHelpLink, OdataOperatorsHelpLink } from '../../../../components/atoms/Links/LinksDevDocs';
|
|
6
5
|
export function getHelpListPerformance() {
|
|
7
6
|
//headerText={ 'Performance' }
|
|
8
7
|
const WebPartHelpElement = React.createElement(PivotItem, { itemIcon: 'SpeedHigh' },
|
|
@@ -23,7 +22,7 @@ export function getHelpListPerformance() {
|
|
|
23
22
|
"In rest filters, ",
|
|
24
23
|
React.createElement("b", null, `everything is case sensitive`),
|
|
25
24
|
" and requires using ",
|
|
26
|
-
|
|
25
|
+
FindInternalNameHelpLink),
|
|
27
26
|
React.createElement("ul", null,
|
|
28
27
|
React.createElement("li", null, `Status eq '4. Completed' --- Only retrieve items where Status column equals '4. Completed'`),
|
|
29
28
|
React.createElement("li", null,
|
|
@@ -32,14 +31,14 @@ export function getHelpListPerformance() {
|
|
|
32
31
|
React.createElement("li", null,
|
|
33
32
|
React.createElement("b", null,
|
|
34
33
|
"Modified ",
|
|
35
|
-
|
|
34
|
+
OdataOperatorsHelpLink,
|
|
36
35
|
" [Today - 100]"),
|
|
37
36
|
" --- Only retrieve items where Modified Date is Greater Than or Equal to Today - 100 days"),
|
|
38
37
|
React.createElement("li", null,
|
|
39
38
|
"Date syntax for specific dates: ",
|
|
40
39
|
React.createElement("b", null,
|
|
41
40
|
"MeetingDate ",
|
|
42
|
-
|
|
41
|
+
OdataOperatorsHelpLink,
|
|
43
42
|
" datetime'2023-09-17T01:11:01.366Z'")),
|
|
44
43
|
React.createElement("li", null, "You can combine filters but there are limitations."),
|
|
45
44
|
React.createElement("ul", null,
|
|
@@ -55,7 +54,7 @@ export function getHelpListPerformance() {
|
|
|
55
54
|
"In Javascript eval filters, ",
|
|
56
55
|
React.createElement("b", null, `everything is case sensitive`),
|
|
57
56
|
" and requires using ",
|
|
58
|
-
|
|
57
|
+
FindInternalNameHelpLink),
|
|
59
58
|
React.createElement("ul", null,
|
|
60
59
|
React.createElement("li", null,
|
|
61
60
|
"item.Author",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListPerformance.js","sourceRoot":"","sources":["../../../../../src/common/PropPaneHelp/pages/listview/ListPerformance.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,wDAAwD;AAExD,OAAO,EAAE,SAAS,GAAG,MAAM,2BAA2B,CAAC;
|
|
1
|
+
{"version":3,"file":"ListPerformance.js","sourceRoot":"","sources":["../../../../../src/common/PropPaneHelp/pages/listview/ListPerformance.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,wDAAwD;AAExD,OAAO,EAAE,SAAS,GAAG,MAAM,2BAA2B,CAAC;AACvD,OAAO,EAAE,wBAAwB,EAAE,sBAAsB,EAAE,MAAM,iDAAiD,CAAC;AAEnH,MAAM,UAAU,sBAAsB;IACpC,8BAA8B;IAC9B,MAAM,kBAAkB,GAAG,oBAAC,SAAS,IAAC,QAAQ,EAAK,WAAW;QACxD,6BAAK,SAAS,EAAG,iBAAiB;YAKhC,6BAAK,SAAS,EAAG,eAAe;gBAAI,sBAAsB;sEAA0D;YACpH,iCAAM,uDAAuD,CAAO;YAGpE,6BAAK,SAAS,EAAG,eAAe,iDAAmD;YACnF,0FAAiE;YACjE,0HAAiG;YACjG,6GAAoF;YACpF,4GAAmF;YAEnF,6BAAK,SAAS,EAAG,eAAe,8CAAgD;YAChF,uGAA8E;YAC9E,mIAA0G;YAC1G;;gBAAsB,+BAAI,8BAA8B,CAAK;;gBAAsB,wBAAwB,CAAQ;YACnH;gBACE,gCAAK,6FAA6F,CAAM;gBACxG;oBAAI,kDAAuB;sGAAoF;gBAC/G;oBAAI;;wBAAa,sBAAsB;yCAAmB;gHAA8F;gBACxJ;;oBAAqC;;wBAAgB,sBAAsB;8DAAwC,CAAK;gBACxH,qFAA2D;gBAC3D;oBACE,sGAA4E;oBAC5E,yFAA+D,CAC5D,CACF;YAEL,6BAAK,SAAS,EAAG,eAAe,sBAAwB;YACxD,6FAAoE;YACpE,gGAAuE;YACvE,wFAA+D;YAC/D,iCAAM,4FAA4F,CAAO;YACzG,oIAA2G;YAC3G;;gBAAiC,+BAAI,8BAA8B,CAAK;;gBAAsB,wBAAwB,CAAQ;YAC9H;gBACE;;oBAAe,oCAAS;;oBAAqC,oCAAS;6CAA2B;gBACjG,mIAAyG;gBACzG;oBAAK;wBAAM,qEAA0C,CAAO;;oBAA6B,uDAA4B;wBAAO;gBAC5H,gCAAK,+HAA+H,CAAM,CACvI,CAED,CACI,CACf;IAED,OAAO,kBAAkB,CAAC;AAE5B,CAAC"}
|
|
@@ -37,8 +37,8 @@ const SampleViewJSON = [
|
|
|
37
37
|
},
|
|
38
38
|
];
|
|
39
39
|
import { PleaseSeeWiki } from '../../atoms/SeeWiki';
|
|
40
|
-
import { LinkFindInternalName } from '../../atoms/InternalNames';
|
|
41
40
|
import { putObjectIntoJSON } from '../../../../components/atoms/Elements/putObjectIntoJSON';
|
|
41
|
+
import { FindInternalNameHelpLink } from '../../../../components/atoms/Links/LinksDevDocs';
|
|
42
42
|
const ShieldIcon = React.createElement(Icon, { iconName: 'Shield', style: { fontSize: 'large' } });
|
|
43
43
|
const ShareIcon = React.createElement(Icon, { iconName: 'Share', style: { fontSize: 'large' } });
|
|
44
44
|
export function getHelpReactListViews(bannerProps) {
|
|
@@ -70,7 +70,7 @@ export function getHelpReactListViews(bannerProps) {
|
|
|
70
70
|
React.createElement("li", null,
|
|
71
71
|
React.createElement("b", null, "name:"),
|
|
72
72
|
" is the Internal Column name for the field. ",
|
|
73
|
-
|
|
73
|
+
FindInternalNameHelpLink),
|
|
74
74
|
React.createElement("li", null,
|
|
75
75
|
React.createElement("b", null, "name: \"folderString\""),
|
|
76
76
|
" is a special variation which for files, will show the Folder the item is in."),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReactListViews.js","sourceRoot":"","sources":["../../../../../src/common/PropPaneHelp/pages/listview/ReactListViews.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,SAAS,GAAG,MAAM,2BAA2B,CAAC;AACvD,OAAO,EAAE,IAAI,GAAG,MAAM,0BAA0B,CAAC;AAEjD,MAAM,cAAc,GAAS;IAC3B,oDAAoD;IACpD;QACE,MAAM,EAAE,IAAI;QACZ,aAAa,EAAE,IAAI;QACnB,UAAU,EAAE,EAAE;QACd,UAAU,EAAE,EAAE;QACd,kBAAkB,EAAC,eAAe;KACnC;IACD;QACE,MAAM,EAAE,cAAc;QACtB,aAAa,EAAE,YAAY;QAC3B,UAAU,EAAE,EAAE;KACf;IACD;QACE,MAAM,EAAE,SAAS;QACjB,aAAa,EAAE,aAAa;QAC5B,UAAU,EAAE,EAAE;QACd,kBAAkB,EAAE,iBAAiB;KACtC;IACD;QACE,MAAM,EAAE,yBAAyB;QACjC,aAAa,EAAE,QAAQ;QACvB,UAAU,EAAE,EAAE;QACd,kBAAkB,EAAE,gBAAgB;KACrC;IACD;QACE,MAAM,EAAE,YAAY;QACpB,aAAa,EAAE,cAAc;QAC7B,UAAU,EAAE,EAAE;QACd,gBAAgB,EAAE,kDAAkD;QACpE,gBAAgB,EAAE,mDAAmD;QACrE,kBAAkB,EAAE,IAAI;KACzB;CACF,CAAC;AAIF,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"ReactListViews.js","sourceRoot":"","sources":["../../../../../src/common/PropPaneHelp/pages/listview/ReactListViews.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,SAAS,GAAG,MAAM,2BAA2B,CAAC;AACvD,OAAO,EAAE,IAAI,GAAG,MAAM,0BAA0B,CAAC;AAEjD,MAAM,cAAc,GAAS;IAC3B,oDAAoD;IACpD;QACE,MAAM,EAAE,IAAI;QACZ,aAAa,EAAE,IAAI;QACnB,UAAU,EAAE,EAAE;QACd,UAAU,EAAE,EAAE;QACd,kBAAkB,EAAC,eAAe;KACnC;IACD;QACE,MAAM,EAAE,cAAc;QACtB,aAAa,EAAE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AA4B;4FAAkD,CACxG,CACF,CACF,CACF,CACF,CACD,CACF;YACJ,aAAa,CAAE,WAAW,CAAE;YAE9B,6BAAK,SAAS,EAAG,eAAe,0BAA4B;YAC5D,sGAA6E;YAC7E,wGAA+E;YAC/E;;gBAA6E,oBAAC,IAAI,IAAC,QAAQ,EAAC,cAAc,GAAE,CAAM;YAClH,uHAA8F;YAE9F,6BAAK,SAAS,EAAG,eAAe,mCAAqC;YACrE,6GAAoF;YACpF,2GAAkF;YAClF,wHAA+F,CAC3F,CACI,CACX;IAED,OAAO,kBAAkB,CAAC;AAE5B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RefinerColumns.d.ts","sourceRoot":"","sources":["../../../../../src/common/PropPaneHelp/pages/listview/RefinerColumns.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"RefinerColumns.d.ts","sourceRoot":"","sources":["../../../../../src/common/PropPaneHelp/pages/listview/RefinerColumns.tsx"],"names":[],"mappings":";AAMA,wBAAgB,qBAAqB,IAAO,GAAG,CAAC,OAAO,CAmCtD"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
// import { escape } from '@microsoft/sp-lodash-subset';
|
|
3
3
|
import { PivotItem, } from '@fluentui/react/lib/Pivot';
|
|
4
|
-
|
|
4
|
+
import { FindInternalNameHelpLink } from '../../../../components/atoms/Links/LinksDevDocs';
|
|
5
5
|
export function getHelpRefinerColumns() {
|
|
6
6
|
const WebPartHelpElement = React.createElement(PivotItem, { headerText: 'Refiner Columns' },
|
|
7
7
|
React.createElement("div", { className: 'fps-pph-content' },
|
|
@@ -15,7 +15,7 @@ export function getHelpRefinerColumns() {
|
|
|
15
15
|
React.createElement("div", null,
|
|
16
16
|
React.createElement("b", null, "Internal Column names"),
|
|
17
17
|
" ARE NOT the Column Titles you see. ",
|
|
18
|
-
|
|
18
|
+
FindInternalNameHelpLink),
|
|
19
19
|
React.createElement("div", { className: 'fps-pph-topic' }, "Simple column types (Text, Date, Number, Single/Multi Select Choice)"),
|
|
20
20
|
React.createElement("div", null,
|
|
21
21
|
React.createElement("b", null, "InternalColumnName"),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RefinerColumns.js","sourceRoot":"","sources":["../../../../../src/common/PropPaneHelp/pages/listview/RefinerColumns.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,wDAAwD;AAExD,OAAO,EAAE,SAAS,GAAG,MAAM,2BAA2B,CAAC;
|
|
1
|
+
{"version":3,"file":"RefinerColumns.js","sourceRoot":"","sources":["../../../../../src/common/PropPaneHelp/pages/listview/RefinerColumns.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,wDAAwD;AAExD,OAAO,EAAE,SAAS,GAAG,MAAM,2BAA2B,CAAC;AACvD,OAAO,EAAE,wBAAwB,EAAE,MAAM,iDAAiD,CAAC;AAE3F,MAAM,UAAU,qBAAqB;IAEnC,MAAM,kBAAkB,GAAG,oBAAC,SAAS,IAAC,UAAU,EAAG,iBAAiB;QAClE,6BAAK,SAAS,EAAG,iBAAiB;YAChC,6BAAK,SAAS,EAAG,eAAe,IAAI,oCAAoC,CAAO;YAC/E;gBAAK;oBAAM,uCAAY,CAAO;;gBAA6B,+DAAoC;oBAAO;YACtG;gBAAK,uDAA4B;;gBAAsC,wBAAwB,CAAQ;YACvG,6BAAK,SAAS,EAAG,eAAe,2EAA6E;YAC7G;gBAAK,oDAAyB;oEAAuD;YAKrF,6BAAK,SAAS,EAAG,eAAe,IAAI,iFAAiF,CAAO;YAC5H;gBAAK,sDAA2B;gBAAC,mCAAmC,CAAO;YAC3E,6GAAoF;YAEpF,6BAAK,SAAS,EAAG,eAAe,iFAAmF;YACnH;gBAAK,wDAA6B;uEAA0D;YAC5F;gBAAK,6DAAkC;oGAAuF;YAE9H,6BAAK,SAAS,EAAG,eAAe,uCAAyC;YACzE;;gBAAqB,yCAAc,CAAM;YACzC;;gBAA2B,iDAAsB,CAAM;YAEvD,6BAAK,SAAS,EAAG,eAAe,EAAG,KAAK,EAAE,EAAE,cAAc,EAAE,WAAW,EAAC,qCAAsC;YAC9G,6BAAK,KAAK,EAAE,EAAE,UAAU,EAAE,KAAK,EAAC,IAAG,kIAAkI,CAAO;YAC5K;;gBAAuC,qDAA0B,CAAM;YACvE;;gBAAyC,uDAA4B,CAAM,CACvE,CACI,CACX;IAED,OAAO,kBAAkB,CAAC;AAE5B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Stats.d.ts","sourceRoot":"","sources":["../../../../../src/common/PropPaneHelp/pages/listview/Stats.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"Stats.d.ts","sourceRoot":"","sources":["../../../../../src/common/PropPaneHelp/pages/listview/Stats.tsx"],"names":[],"mappings":";AAKA,OAAO,EAAE,mBAAmB,EAAE,MAAM,kDAAkD,CAAC;AAIvF,wBAAgB,YAAY,CAAG,WAAW,EAAE,mBAAmB,GAAM,GAAG,CAAC,OAAO,CAkD/E"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { PivotItem, } from '@fluentui/react/lib/Pivot';
|
|
3
3
|
import { putObjectIntoJSON } from '../../../../components/atoms/Elements/putObjectIntoJSON';
|
|
4
|
-
const LinkFindInternalName = React.createElement("a", { href: "https://tomriha.com/what-is-sharepoint-column-internal-name-and-where-to-find-it/", target: "_blank" }, "Finding Internal Name of a column");
|
|
5
4
|
import { SampleCharts } from './samples/SampleCharts';
|
|
6
5
|
import { PleaseSeeWiki } from '../../atoms/SeeWiki';
|
|
7
6
|
export function getHelpStats(bannerProps) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Stats.js","sourceRoot":"","sources":["../../../../../src/common/PropPaneHelp/pages/listview/Stats.tsx"],"names":[],"mappings":"AAAA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sJ,CAAO;4BACnK;;gCAA0E,IAAI,CAAO,CAClF;wBACL,6BAAK,SAAS,EAAG,eAAe,mCAAqC;wBACrE;4BACE,gCAAK,2BAA2B,CAAM;4BACtC,oGAA0E;4BAC1E,4HAAkG;4BAClG,+IAAqH,CAClH,CACF,CACD,CACF;YACJ,aAAa,CAAE,WAAW,CAAE,CAC1B,CACI,CACX;IAED,OAAO,kBAAkB,CAAC;AAE5B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ApplyPresets.d.ts","sourceRoot":"","sources":["../../../../src/common/PropPaneHelp/preconfig/ApplyPresets.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,qBAAqB,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAE1E,OAAO,EAAE,iBAAiB,EAAE,MAAM,oDAAoD,CAAC;AACvF,OAAO,EAAE,uBAAuB,EAAE,MAAM,0BAA0B,CAAC;AAGnE,wBAAgB,6BAA6B,CAAE,WAAW,EAAE,mBAAmB,EAAG,kBAAkB,EAAE,qBAAqB,EAAE,SAAS,EAAE,iBAAiB,EAAE,OAAO,EAAE,uBAAuB,
|
|
1
|
+
{"version":3,"file":"ApplyPresets.d.ts","sourceRoot":"","sources":["../../../../src/common/PropPaneHelp/preconfig/ApplyPresets.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,qBAAqB,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAE1E,OAAO,EAAE,iBAAiB,EAAE,MAAM,oDAAoD,CAAC;AACvF,OAAO,EAAE,uBAAuB,EAAE,MAAM,0BAA0B,CAAC;AAGnE,wBAAgB,6BAA6B,CAAE,WAAW,EAAE,mBAAmB,EAAG,kBAAkB,EAAE,qBAAqB,EAAE,SAAS,EAAE,iBAAiB,EAAE,OAAO,EAAE,uBAAuB,uBA2C1L"}
|
|
@@ -1,31 +1,20 @@
|
|
|
1
1
|
import { check4This } from "@mikezimm/fps-pnp2/lib/services/sp/CheckSearch";
|
|
2
2
|
import { getThisSitesPreConfigProps } from "./getThisSitesPreConfigProps";
|
|
3
|
-
import {
|
|
3
|
+
import { getDeepPropUsingDotNotation } from "../../../logic/Objects/deep";
|
|
4
4
|
export function applyPresetCollectionDefaults(sitePresets, PreConfiguredProps, thisProps, context) {
|
|
5
5
|
sitePresets = getThisSitesPreConfigProps(PreConfiguredProps, thisProps, context.pageContext.web.serverRelativeUrl);
|
|
6
6
|
sitePresets.presets.map(setting => {
|
|
7
|
-
|
|
7
|
+
let value = setActualValue(setting.value, context);
|
|
8
|
+
if (thisProps[setting.prop] === value) {
|
|
8
9
|
setting.status = 'valid';
|
|
9
10
|
}
|
|
10
11
|
else if (thisProps[setting.prop] === undefined || thisProps[setting.prop] === null) { //Changed from just !this... because if value was 'false' it would set to true
|
|
11
|
-
thisProps[setting.prop] =
|
|
12
|
+
thisProps[setting.prop] = value;
|
|
12
13
|
setting.status = 'preset';
|
|
13
14
|
}
|
|
14
15
|
});
|
|
15
16
|
sitePresets.forces.map(setting => {
|
|
16
|
-
let value = setting.value;
|
|
17
|
-
if (value.indexOf('{{context') > -1) {
|
|
18
|
-
/**
|
|
19
|
-
* replace the context. from the beginning of the value because the that is the object we are passing in to check
|
|
20
|
-
* Explanation:
|
|
21
|
-
/^\{\{context\./:
|
|
22
|
-
^: Asserts the position at the start of the string.
|
|
23
|
-
\{\{: Matches the literal characters {{.
|
|
24
|
-
context\.: Matches the literal characters context..
|
|
25
|
-
\: Escapes the special characters { and ..
|
|
26
|
-
*/
|
|
27
|
-
value = checkDeepProperty(context, setting.value.replace(/^\{\{context\./, '{{'), 'Actual');
|
|
28
|
-
}
|
|
17
|
+
let value = setActualValue(setting.value, context);
|
|
29
18
|
if (thisProps.overrideKeys.indexOf(setting.prop) > -1) {
|
|
30
19
|
setting.status = 'override';
|
|
31
20
|
}
|
|
@@ -45,4 +34,19 @@ export function applyPresetCollectionDefaults(sitePresets, PreConfiguredProps, t
|
|
|
45
34
|
console.log('showPresets=true Preset props:', sitePresets);
|
|
46
35
|
return sitePresets;
|
|
47
36
|
}
|
|
37
|
+
function setActualValue(value, context) {
|
|
38
|
+
if (typeof value === 'string' && value.indexOf('{{context') > -1) {
|
|
39
|
+
/**
|
|
40
|
+
* replace the context. from the beginning of the value because the that is the object we are passing in to check
|
|
41
|
+
* Explanation:
|
|
42
|
+
/^\{\{context\./:
|
|
43
|
+
^: Asserts the position at the start of the string.
|
|
44
|
+
\{\{: Matches the literal characters {{.
|
|
45
|
+
context\.: Matches the literal characters context..
|
|
46
|
+
\: Escapes the special characters { and ..
|
|
47
|
+
*/
|
|
48
|
+
value = getDeepPropUsingDotNotation(context, value.replace(/^\{\{context\./, '{{'), 'Actual');
|
|
49
|
+
}
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
48
52
|
//# sourceMappingURL=ApplyPresets.js.map
|