@mikezimm/fps-library-v2 1.0.32 → 1.0.33

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.
Files changed (114) hide show
  1. package/CHANGELOG.md +6 -1
  2. package/lib/banner/components/EasyPages/functions.d.ts +1 -1
  3. package/lib/banner/components/EasyPages/functions.d.ts.map +1 -1
  4. package/lib/banner/components/SpecialBanner/component.d.ts +1 -1
  5. package/lib/banner/components/SpecialBanner/component.d.ts.map +1 -1
  6. package/lib/banner/features/Expando/functions.d.ts +1 -1
  7. package/lib/banner/features/Expando/functions.d.ts.map +1 -1
  8. package/lib/banner/features/PageStyle/minimzeToolbar.d.ts +2 -2
  9. package/lib/banner/features/PageStyle/minimzeToolbar.d.ts.map +1 -1
  10. package/lib/banner/features/PageStyle/setAllSectionStyles.d.ts +1 -1
  11. package/lib/banner/features/PageStyle/setAllSectionStyles.d.ts.map +1 -1
  12. package/lib/banner/features/PinMe/FPSPinMenu.d.ts +1 -1
  13. package/lib/banner/features/PinMe/FPSPinMenu.d.ts.map +1 -1
  14. package/lib/banner/propPane/controls.d.ts +1 -1
  15. package/lib/banner/propPane/controls.d.ts.map +1 -1
  16. package/lib/common/interfaces/openSource/spfxControlsReact/@3.7.2/IViewField.d.ts +139 -0
  17. package/lib/common/interfaces/openSource/spfxControlsReact/@3.7.2/IViewField.d.ts.map +1 -0
  18. package/lib/common/interfaces/openSource/spfxControlsReact/@3.7.2/IViewField.js +2 -0
  19. package/lib/common/interfaces/openSource/spfxControlsReact/@3.7.2/IViewField.js.map +1 -0
  20. package/lib/components/atoms/Elements/basic.d.ts +1 -1
  21. package/lib/components/atoms/Elements/basic.d.ts.map +1 -1
  22. package/lib/components/molecules/Performance/tables.d.ts +1 -1
  23. package/lib/components/molecules/Performance/tables.d.ts.map +1 -1
  24. package/lib/components/molecules/PropPaneCols/PropPaneCols.module.scss.d.ts +3 -0
  25. package/lib/components/molecules/PropPaneCols/PropPaneCols.module.scss.d.ts.map +1 -0
  26. package/lib/components/molecules/PropPaneCols/PropPaneCols.module.scss.js +6 -0
  27. package/lib/components/molecules/PropPaneCols/PropPaneCols.module.scss.js.map +1 -0
  28. package/lib/components/molecules/PropPaneCols/PropPaneColsClass.d.ts +42 -0
  29. package/lib/components/molecules/PropPaneCols/PropPaneColsClass.d.ts.map +1 -0
  30. package/lib/components/molecules/PropPaneCols/PropPaneColsClass.js +240 -0
  31. package/lib/components/molecules/PropPaneCols/PropPaneColsClass.js.map +1 -0
  32. package/lib/components/molecules/PropPaneCols/PropPaneColsHook.d.ts +1 -0
  33. package/lib/components/molecules/PropPaneCols/PropPaneColsHook.d.ts.map +1 -0
  34. package/lib/components/molecules/PropPaneCols/PropPaneColsHook.js +135 -0
  35. package/lib/components/molecules/PropPaneCols/PropPaneColsHook.js.map +1 -0
  36. package/lib/components/molecules/PropPaneCols/components/FieldPanel.d.ts +10 -0
  37. package/lib/components/molecules/PropPaneCols/components/FieldPanel.d.ts.map +1 -0
  38. package/lib/components/molecules/PropPaneCols/components/FieldPanel.js +43 -0
  39. package/lib/components/molecules/PropPaneCols/components/FieldPanel.js.map +1 -0
  40. package/lib/components/molecules/PropPaneCols/components/IPropPaneColsProps.d.ts +87 -0
  41. package/lib/components/molecules/PropPaneCols/components/IPropPaneColsProps.d.ts.map +1 -0
  42. package/lib/components/molecules/PropPaneCols/components/IPropPaneColsProps.js +2 -0
  43. package/lib/components/molecules/PropPaneCols/components/IPropPaneColsProps.js.map +1 -0
  44. package/lib/components/molecules/PropPaneCols/components/OnClickHelpers.d.ts +18 -0
  45. package/lib/components/molecules/PropPaneCols/components/OnClickHelpers.d.ts.map +1 -0
  46. package/lib/components/molecules/PropPaneCols/components/OnClickHelpers.js +120 -0
  47. package/lib/components/molecules/PropPaneCols/components/OnClickHelpers.js.map +1 -0
  48. package/lib/components/molecules/PropPaneCols/components/command/Accordion.d.ts +17 -0
  49. package/lib/components/molecules/PropPaneCols/components/command/Accordion.d.ts.map +1 -0
  50. package/lib/components/molecules/PropPaneCols/components/command/Accordion.js +229 -0
  51. package/lib/components/molecules/PropPaneCols/components/command/Accordion.js.map +1 -0
  52. package/lib/components/molecules/PropPaneCols/components/command/IAccordion.d.ts +69 -0
  53. package/lib/components/molecules/PropPaneCols/components/command/IAccordion.d.ts.map +1 -0
  54. package/lib/components/molecules/PropPaneCols/components/command/IAccordion.js +73 -0
  55. package/lib/components/molecules/PropPaneCols/components/command/IAccordion.js.map +1 -0
  56. package/lib/components/molecules/PropPaneCols/components/command/SampleDesign copy.d.ts +9 -0
  57. package/lib/components/molecules/PropPaneCols/components/command/SampleDesign copy.d.ts.map +1 -0
  58. package/lib/components/molecules/PropPaneCols/components/command/SampleDesign copy.js +61 -0
  59. package/lib/components/molecules/PropPaneCols/components/command/SampleDesign copy.js.map +1 -0
  60. package/lib/components/molecules/PropPaneCols/components/command/SampleDesign.d.ts +10 -0
  61. package/lib/components/molecules/PropPaneCols/components/command/SampleDesign.d.ts.map +1 -0
  62. package/lib/components/molecules/PropPaneCols/components/command/SampleDesign.js +66 -0
  63. package/lib/components/molecules/PropPaneCols/components/command/SampleDesign.js.map +1 -0
  64. package/lib/components/molecules/PropPaneCols/components/command/createLogic.d.ts +13 -0
  65. package/lib/components/molecules/PropPaneCols/components/command/createLogic.d.ts.map +1 -0
  66. package/lib/components/molecules/PropPaneCols/components/command/createLogic.js +397 -0
  67. package/lib/components/molecules/PropPaneCols/components/command/createLogic.js.map +1 -0
  68. package/lib/components/molecules/PropPaneCols/components/command/helpers.d.ts +2 -0
  69. package/lib/components/molecules/PropPaneCols/components/command/helpers.d.ts.map +1 -0
  70. package/lib/components/molecules/PropPaneCols/components/command/helpers.js +2 -0
  71. package/lib/components/molecules/PropPaneCols/components/command/helpers.js.map +1 -0
  72. package/lib/components/molecules/PropPaneCols/components/command/tableRows.d.ts +5 -0
  73. package/lib/components/molecules/PropPaneCols/components/command/tableRows.d.ts.map +1 -0
  74. package/lib/components/molecules/PropPaneCols/components/command/tableRows.js +25 -0
  75. package/lib/components/molecules/PropPaneCols/components/command/tableRows.js.map +1 -0
  76. package/lib/components/molecules/PropPaneCols/components/common.d.ts +4 -0
  77. package/lib/components/molecules/PropPaneCols/components/common.d.ts.map +1 -0
  78. package/lib/components/molecules/PropPaneCols/components/common.js +16 -0
  79. package/lib/components/molecules/PropPaneCols/components/common.js.map +1 -0
  80. package/lib/components/molecules/PropPaneCols/components/fetch/Pane.d.ts +11 -0
  81. package/lib/components/molecules/PropPaneCols/components/fetch/Pane.d.ts.map +1 -0
  82. package/lib/components/molecules/PropPaneCols/components/fetch/Pane.js +51 -0
  83. package/lib/components/molecules/PropPaneCols/components/fetch/Pane.js.map +1 -0
  84. package/lib/components/molecules/PropPaneCols/components/fetch/funcions.d.ts +3 -0
  85. package/lib/components/molecules/PropPaneCols/components/fetch/funcions.d.ts.map +1 -0
  86. package/lib/components/molecules/PropPaneCols/components/fetch/funcions.js +96 -0
  87. package/lib/components/molecules/PropPaneCols/components/fetch/funcions.js.map +1 -0
  88. package/lib/components/molecules/PropPaneCols/components/main/FieldTable.d.ts +14 -0
  89. package/lib/components/molecules/PropPaneCols/components/main/FieldTable.d.ts.map +1 -0
  90. package/lib/components/molecules/PropPaneCols/components/main/FieldTable.js +68 -0
  91. package/lib/components/molecules/PropPaneCols/components/main/FieldTable.js.map +1 -0
  92. package/lib/components/molecules/PropPaneCols/components/main/Pane.d.ts +13 -0
  93. package/lib/components/molecules/PropPaneCols/components/main/Pane.d.ts.map +1 -0
  94. package/lib/components/molecules/PropPaneCols/components/main/Pane.js +87 -0
  95. package/lib/components/molecules/PropPaneCols/components/main/Pane.js.map +1 -0
  96. package/lib/components/molecules/PropPaneCols/components/selected/TableHook.d.ts +9 -0
  97. package/lib/components/molecules/PropPaneCols/components/selected/TableHook.d.ts.map +1 -0
  98. package/lib/components/molecules/PropPaneCols/components/selected/TableHook.js +63 -0
  99. package/lib/components/molecules/PropPaneCols/components/selected/TableHook.js.map +1 -0
  100. package/lib/components/molecules/PropPaneCols/components/selected/functions.d.ts +5 -0
  101. package/lib/components/molecules/PropPaneCols/components/selected/functions.d.ts.map +1 -0
  102. package/lib/components/molecules/PropPaneCols/components/selected/functions.js +59 -0
  103. package/lib/components/molecules/PropPaneCols/components/selected/functions.js.map +1 -0
  104. package/lib/components/molecules/PropPaneCols/components/views/Accordion.d.ts +12 -0
  105. package/lib/components/molecules/PropPaneCols/components/views/Accordion.d.ts.map +1 -0
  106. package/lib/components/molecules/PropPaneCols/components/views/Accordion.js +29 -0
  107. package/lib/components/molecules/PropPaneCols/components/views/Accordion.js.map +1 -0
  108. package/lib/components/molecules/PropPaneCols/components/views/functions.d.ts +5 -0
  109. package/lib/components/molecules/PropPaneCols/components/views/functions.d.ts.map +1 -0
  110. package/lib/components/molecules/PropPaneCols/components/views/functions.js +133 -0
  111. package/lib/components/molecules/PropPaneCols/components/views/functions.js.map +1 -0
  112. package/lib/logic/Errors/friendly.d.ts +1 -1
  113. package/lib/logic/Errors/friendly.d.ts.map +1 -1
  114. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -5,11 +5,16 @@ npm run build
5
5
  npm version major/minor/patch
6
6
  npm publish --access=public
7
7
 
8
- npm install @mikezimm/fps-library-v2@1.0.32
8
+ npm install @mikezimm/fps-library-v2@1.0.33
9
9
 
10
10
 
11
11
  # Changelog
12
12
 
13
+ NOTE: TURN BACK ON STRICT NULL CHECKS - turned off for PropPaneCols
14
+
15
+ ## 1.0.33 - 2022-Dec-15
16
+ - Add PropPaneCols component
17
+
13
18
  ## 1.0.32 - 2022-Dec-15
14
19
  - udpate IFPSEnviro.web.id and .site.id to check for complex id object
15
20
  - Add EasyPages updates in runOnPropChange from Pnpjs-v2 testing
@@ -27,7 +27,7 @@ export interface IGetPagesContent {
27
27
  performance: ILoadPerformance;
28
28
  errMessage: string;
29
29
  }
30
- export declare function getPagesContent(sourceProps: ISourceProps, EasyIconObject: IEasyIcons | undefined, parentLink: string): Promise<IGetPagesContent>;
30
+ export declare function getPagesContent(sourceProps: ISourceProps, EasyIconObject: IEasyIcons, parentLink: string): Promise<IGetPagesContent>;
31
31
  export declare const DefaultSiteLogo: string;
32
32
  /**
33
33
  * This adds Search String and Meta arrays to items
@@ -1 +1 @@
1
- {"version":3,"file":"functions.d.ts","sourceRoot":"","sources":["../../../../src/banner/components/EasyPages/functions.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAQ5C,OAAO,EAAE,gBAAgB,EAAG,MAAM,wDAAwD,CAAC;AAG3F,OAAO,EAA2C,UAAU,EAAI,MAAM,6CAA6C,CAAC;AAGpH,OAAO,EAA+B,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAG7F;;;;;;GAMG;AACH,wBAAgB,mBAAmB,CAAE,KAAK,EAAE,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,GAAM,SAAS,EAAE,CAqBjH;AAED;;;;;GAKG;AACH,wBAAgB,WAAW,CAAE,WAAW,EAAE,YAAY,EAAE,KAAK,EAAE,SAAS,EAAE,GAAK,MAAM,EAAE,CA4BtF;AAED;;;;GAIG;AACH,MAAM,WAAW,gBAAgB;IAAG,KAAK,EAAE,SAAS,EAAE,CAAC;IAAC,WAAW,EAAE,gBAAgB,CAAC;IAAC,UAAU,EAAE,MAAM,CAAA;CAAE;AAE3G,wBAAsB,eAAe,CAAE,WAAW,EAAE,YAAY,EAAE,cAAc,wBAAoC,EAAE,UAAU,EAAE,MAAM,GAAK,OAAO,CAAC,gBAAgB,CAAC,CAsCrK;AAOD,eAAO,MAAM,eAAe,EAAG,MAAmD,CAAC;AAEnF;;;;;GAKG;AACH,wBAAgB,aAAa,CAAG,KAAK,EAAE,SAAS,EAAE,EAAE,WAAW,EAAE,YAAY,EAAE,SAAS,EAAE,UAAU,GAAK,SAAS,EAAE,CAkDnH"}
1
+ {"version":3,"file":"functions.d.ts","sourceRoot":"","sources":["../../../../src/banner/components/EasyPages/functions.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAQ5C,OAAO,EAAE,gBAAgB,EAAG,MAAM,wDAAwD,CAAC;AAG3F,OAAO,EAA2C,UAAU,EAAI,MAAM,6CAA6C,CAAC;AAGpH,OAAO,EAA+B,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAG7F;;;;;;GAMG;AACH,wBAAgB,mBAAmB,CAAE,KAAK,EAAE,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,GAAM,SAAS,EAAE,CAqBjH;AAED;;;;;GAKG;AACH,wBAAgB,WAAW,CAAE,WAAW,EAAE,YAAY,EAAE,KAAK,EAAE,SAAS,EAAE,GAAK,MAAM,EAAE,CA4BtF;AAED;;;;GAIG;AACH,MAAM,WAAW,gBAAgB;IAAG,KAAK,EAAE,SAAS,EAAE,CAAC;IAAC,WAAW,EAAE,gBAAgB,CAAC;IAAC,UAAU,EAAE,MAAM,CAAA;CAAE;AAE3G,wBAAsB,eAAe,CAAE,WAAW,EAAE,YAAY,EAAE,cAAc,EAAE,UAAkC,EAAE,UAAU,EAAE,MAAM,GAAK,OAAO,CAAC,gBAAgB,CAAC,CAsCrK;AAOD,eAAO,MAAM,eAAe,EAAG,MAAmD,CAAC;AAEnF;;;;;GAKG;AACH,wBAAgB,aAAa,CAAG,KAAK,EAAE,SAAS,EAAE,EAAE,WAAW,EAAE,YAAY,EAAE,SAAS,EAAE,UAAU,GAAK,SAAS,EAAE,CAkDnH"}
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
2
  import { ISpecialMessage } from './interface';
3
- export declare function createSpecialElement(SpecialMessage: ISpecialMessage): JSX.Element | undefined;
3
+ export declare function createSpecialElement(SpecialMessage: ISpecialMessage): JSX.Element;
4
4
  //# sourceMappingURL=component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"component.d.ts","sourceRoot":"","sources":["../../../../src/banner/components/SpecialBanner/component.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAE9C,wBAAgB,oBAAoB,CAAE,cAAc,EAAE,eAAe,2BAgCpE"}
1
+ {"version":3,"file":"component.d.ts","sourceRoot":"","sources":["../../../../src/banner/components/SpecialBanner/component.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAE9C,wBAAgB,oBAAoB,CAAE,cAAc,EAAE,eAAe,eAgCpE"}
@@ -1,5 +1,5 @@
1
1
  import { IPageLayoutType } from '../../../common/interfaces/@msft/1.15.2/layout';
2
- export declare function setExpandoRamicMode(domElement: HTMLElement, maximize: boolean, controlStyle: any, alertError: boolean | undefined, consoleResult: boolean | undefined, expandoPadding: number, host: IPageLayoutType): void;
2
+ export declare function setExpandoRamicMode(domElement: HTMLElement, maximize: boolean, controlStyle: any, alertError: boolean, consoleResult: boolean, expandoPadding: number, host: IPageLayoutType): void;
3
3
  /**
4
4
 
5
5
  style {
@@ -1 +1 @@
1
- {"version":3,"file":"functions.d.ts","sourceRoot":"","sources":["../../../../src/banner/features/Expando/functions.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,eAAe,EAAE,MAAM,gDAAgD,CAAC;AAIjF,wBAAgB,mBAAmB,CAAG,UAAU,EAAE,WAAW,EAAE,QAAQ,EAAG,OAAO,EAAE,YAAY,EAAE,GAAG,EAAE,UAAU,qBAAgB,EAAE,aAAa,qBAAiB,EAAE,cAAc,EAAE,MAAM,EAAE,IAAI,EAAE,eAAe,QAuM9M;AAED;;;;;;;;;;;;;;GAcG"}
1
+ {"version":3,"file":"functions.d.ts","sourceRoot":"","sources":["../../../../src/banner/features/Expando/functions.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,eAAe,EAAE,MAAM,gDAAgD,CAAC;AAIjF,wBAAgB,mBAAmB,CAAG,UAAU,EAAE,WAAW,EAAE,QAAQ,EAAG,OAAO,EAAE,YAAY,EAAE,GAAG,EAAE,UAAU,EAAE,OAAc,EAAE,aAAa,EAAE,OAAe,EAAE,cAAc,EAAE,MAAM,EAAE,IAAI,EAAE,eAAe,QAuM9M;AAED;;;;;;;;;;;;;;GAcG"}
@@ -13,8 +13,8 @@ import { IFPSSectionStyle } from '../FPSDOM/Interfaces';
13
13
  */
14
14
  export declare function setToolbar(displayMode: DisplayMode, wpInstanceID: any, hideToolbar: boolean): {
15
15
  toolBarStyle: IFPSSectionStyle;
16
- } | undefined;
16
+ };
17
17
  export declare function minimizeToolbar(document: any, sectionStyle: IFPSSectionStyle, alertError?: boolean, consoleResult?: boolean): {
18
18
  sectionStyle: IFPSSectionStyle;
19
- } | undefined;
19
+ };
20
20
  //# sourceMappingURL=minimzeToolbar.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"minimzeToolbar.d.ts","sourceRoot":"","sources":["../../../../src/banner/features/PageStyle/minimzeToolbar.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,qDAAqD,CAAA;AACjF,OAAO,EAAmB,gBAAgB,EAAe,MAAM,sBAAsB,CAAC;AAMrF;;;;;;;GAOG;AAGJ;;GAEG;AACA,wBAAiB,UAAU,CAAE,WAAW,EAAE,WAAW,EAAE,YAAY,EAAE,GAAG,EAAE,WAAW,EAAE,OAAO;;cA+C9F;AAED,wBAAgB,eAAe,CAAG,QAAQ,EAAE,GAAG,EAAE,YAAY,EAAE,gBAAgB,EAAG,UAAU,GAAE,OAAc,EAAE,aAAa,GAAE,OAAe;;cAmC3I"}
1
+ {"version":3,"file":"minimzeToolbar.d.ts","sourceRoot":"","sources":["../../../../src/banner/features/PageStyle/minimzeToolbar.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,qDAAqD,CAAA;AACjF,OAAO,EAAmB,gBAAgB,EAAe,MAAM,sBAAsB,CAAC;AAMrF;;;;;;;GAOG;AAGJ;;GAEG;AACA,wBAAiB,UAAU,CAAE,WAAW,EAAE,WAAW,EAAE,YAAY,EAAE,GAAG,EAAE,WAAW,EAAE,OAAO;;EA+C9F;AAED,wBAAgB,eAAe,CAAG,QAAQ,EAAE,GAAG,EAAE,YAAY,EAAE,gBAAgB,EAAG,UAAU,GAAE,OAAc,EAAE,aAAa,GAAE,OAAe;;EAmC3I"}
@@ -5,6 +5,6 @@ import { IMinWPBannerProps } from '../../interfaces/MinWP/IMinWPBannerProps';
5
5
  */
6
6
  export declare function updateSectionStyles(wpInstanceID: any, wpProps: IMinWPBannerProps): {
7
7
  sectionStyles: import("../FPSDOM/Interfaces").IFPSSection;
8
- } | undefined;
8
+ };
9
9
  export declare function applySectionStyle(el: any, targetStyle: IFPSSectionStyle, windowStyle: IFPSSectionStyle, alertError?: boolean, consoleResult?: boolean): IFPSSectionStyle;
10
10
  //# sourceMappingURL=setAllSectionStyles.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"setAllSectionStyles.d.ts","sourceRoot":"","sources":["../../../../src/banner/features/PageStyle/setAllSectionStyles.ts"],"names":[],"mappings":"AAEA,OAAO,EAAmB,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACzE,OAAO,EAAE,iBAAiB,EAAE,MAAM,0CAA0C,CAAC;AAG7E;;GAEG;AACD,wBAAiB,mBAAmB,CAAE,YAAY,EAAE,GAAG,EAAE,OAAO,EAAE,iBAAiB;;cAuElF;AAGD,wBAAgB,iBAAiB,CAAE,EAAE,EAAG,GAAG,EAAG,WAAW,EAAE,gBAAgB,EAAE,WAAW,EAAE,gBAAgB,EAAE,UAAU,GAAE,OAAc,EAAE,aAAa,GAAE,OAAe,oBAoCrK"}
1
+ {"version":3,"file":"setAllSectionStyles.d.ts","sourceRoot":"","sources":["../../../../src/banner/features/PageStyle/setAllSectionStyles.ts"],"names":[],"mappings":"AAEA,OAAO,EAAmB,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACzE,OAAO,EAAE,iBAAiB,EAAE,MAAM,0CAA0C,CAAC;AAG7E;;GAEG;AACD,wBAAiB,mBAAmB,CAAE,YAAY,EAAE,GAAG,EAAE,OAAO,EAAE,iBAAiB;;EAuElF;AAGD,wBAAgB,iBAAiB,CAAE,EAAE,EAAG,GAAG,EAAG,WAAW,EAAE,gBAAgB,EAAE,WAAW,EAAE,gBAAgB,EAAE,UAAU,GAAE,OAAc,EAAE,aAAa,GAAE,OAAe,oBAoCrK"}
@@ -18,5 +18,5 @@ import { DisplayMode } from '@microsoft/sp-core-library';
18
18
  */
19
19
  export declare function getDefaultFPSPinState(prevfpsPinMenu: IFPSPinMenu, currfpsPinMenu: IFPSPinMenu, displayMode: DisplayMode): IPinStatus;
20
20
  export declare function checkIsInVerticalSection(domElement: HTMLElement): boolean;
21
- export declare function FPSPinMe(domElement: HTMLElement, pinState: IPinMeState, controlStyle: any, alertError: boolean | undefined, consoleResult: boolean | undefined, pinMePadding: number, host: IPageLayoutType, displayMode: DisplayMode): void;
21
+ export declare function FPSPinMe(domElement: HTMLElement, pinState: IPinMeState, controlStyle: any, alertError: boolean, consoleResult: boolean, pinMePadding: number, host: IPageLayoutType, displayMode: DisplayMode): void;
22
22
  //# sourceMappingURL=FPSPinMenu.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"FPSPinMenu.d.ts","sourceRoot":"","sources":["../../../../src/banner/features/PinMe/FPSPinMenu.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,eAAe,EAAE,MAAM,gDAAgD,CAAC;AACjF,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAIpE,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAIzD;;;;;;;;;GASG;AAEF,wBAAgB,qBAAqB,CAAG,cAAc,EAAE,WAAW,EAAE,cAAc,EAAE,WAAW,EAAE,WAAW,EAAE,WAAW,cAgB1H;AAED,wBAAgB,wBAAwB,CAAE,UAAU,EAAE,WAAW,WAShE;AAED,wBAAgB,QAAQ,CAAG,UAAU,EAAE,WAAW,EAAE,QAAQ,EAAG,WAAW,EAAE,YAAY,EAAE,GAAG,EAAE,UAAU,qBAAgB,EAAE,aAAa,qBAAiB,EAAE,YAAY,EAAE,MAAM,EAAE,IAAI,EAAE,eAAe,EAAE,WAAW,EAAG,WAAW,QAwGhO"}
1
+ {"version":3,"file":"FPSPinMenu.d.ts","sourceRoot":"","sources":["../../../../src/banner/features/PinMe/FPSPinMenu.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,eAAe,EAAE,MAAM,gDAAgD,CAAC;AACjF,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAIpE,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAIzD;;;;;;;;;GASG;AAEF,wBAAgB,qBAAqB,CAAG,cAAc,EAAE,WAAW,EAAE,cAAc,EAAE,WAAW,EAAE,WAAW,EAAE,WAAW,cAgB1H;AAED,wBAAgB,wBAAwB,CAAE,UAAU,EAAE,WAAW,WAShE;AAED,wBAAgB,QAAQ,CAAG,UAAU,EAAE,WAAW,EAAE,QAAQ,EAAG,WAAW,EAAE,YAAY,EAAE,GAAG,EAAE,UAAU,EAAE,OAAc,EAAE,aAAa,EAAE,OAAe,EAAE,YAAY,EAAE,MAAM,EAAE,IAAI,EAAE,eAAe,EAAE,WAAW,EAAG,WAAW,QAwGhO"}
@@ -28,5 +28,5 @@ export declare function makePropDataText(newProps: string[], prevArray?: any[],
28
28
  * @param step
29
29
  * @param disabled
30
30
  */
31
- export declare function makePropDataSliders(newProps: string[], prevArray: any[] | undefined, min: number, max: number, step: number, disabled?: boolean): any[];
31
+ export declare function makePropDataSliders(newProps: string[], prevArray: any[], min: number, max: number, step: number, disabled?: boolean): any[];
32
32
  //# sourceMappingURL=controls.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"controls.d.ts","sourceRoot":"","sources":["../../../src/banner/propPane/controls.ts"],"names":[],"mappings":"AAWA;;;;;;;EAOE;AAEF,wBAAgB,mBAAmB,CAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,SAAS,GAAE,GAAG,EAAO,EAAE,GAAG,GAAE,MAAc,EAAE,EAAE,GAAE,MAAa,EAAE,OAAO,GAAE,OAAc,EAAE,QAAQ,GAAE,OAAe,SAkBzK;AAED;;;;;;;;EAQE;AACF,wBAAgB,gBAAgB,CAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,SAAS,GAAE,GAAG,EAAO,EAAE,WAAW,GAAE,MAAW,EAAE,QAAQ,GAAE,OAAe,SAc/H;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,mBAAmB,CAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,SAAS,mBAAY,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,GAAE,OAAe,SAkBhJ"}
1
+ {"version":3,"file":"controls.d.ts","sourceRoot":"","sources":["../../../src/banner/propPane/controls.ts"],"names":[],"mappings":"AAWA;;;;;;;EAOE;AAEF,wBAAgB,mBAAmB,CAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,SAAS,GAAE,GAAG,EAAO,EAAE,GAAG,GAAE,MAAc,EAAE,EAAE,GAAE,MAAa,EAAE,OAAO,GAAE,OAAc,EAAE,QAAQ,GAAE,OAAe,SAkBzK;AAED;;;;;;;;EAQE;AACF,wBAAgB,gBAAgB,CAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,SAAS,GAAE,GAAG,EAAO,EAAE,WAAW,GAAE,MAAW,EAAE,QAAQ,GAAE,OAAe,SAc/H;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,mBAAmB,CAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,GAAG,EAAO,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,GAAE,OAAe,SAkBhJ"}
@@ -0,0 +1,139 @@
1
+ import { SelectionMode } from 'office-ui-fabric-react/lib/DetailsList';
2
+ import { IColumn, IGroup } from 'office-ui-fabric-react/lib/components/DetailsList';
3
+ export declare enum GroupOrder {
4
+ ascending = 1,
5
+ descending = 2
6
+ }
7
+ export interface IListViewProps {
8
+ /**
9
+ * Specify if drag and drop option is selected.
10
+ **/
11
+ dragDropFiles?: boolean;
12
+ /**
13
+ * Handler to return the files from drag and drop.
14
+ **/
15
+ onDrop?: any;
16
+ /**
17
+ * Specify the name of the file URL path which will be used to show the file icon.
18
+ */
19
+ iconFieldName?: string;
20
+ /**
21
+ * The items to render.
22
+ */
23
+ items?: any[];
24
+ /**
25
+ * The fields you want to view in your list view
26
+ */
27
+ viewFields?: IViewField[];
28
+ /**
29
+ * The fields you want to group your list view by
30
+ */
31
+ groupByFields?: IGrouping[];
32
+ /**
33
+ * Boolean value to indicate if the component should render in compact mode.
34
+ * Set to false by default
35
+ */
36
+ compact?: boolean;
37
+ /**
38
+ * Specify the item selection mode.
39
+ * By default this is set to none.
40
+ */
41
+ selectionMode?: SelectionMode;
42
+ /**
43
+ * Selection event that passes the selected item(s)
44
+ */
45
+ selection?: (items: any[]) => void;
46
+ /**
47
+ * The index of the items to be select by default
48
+ */
49
+ defaultSelection?: number[];
50
+ /**
51
+ * Specify the placeholder for the filter text box. Default 'Search'
52
+ */
53
+ filterPlaceHolder?: string;
54
+ /**
55
+ * Specify if the filter text box should be rendered.
56
+ */
57
+ showFilter?: boolean;
58
+ /**
59
+ * Specify the initial filter to be applied to the list.
60
+ */
61
+ defaultFilter?: string;
62
+ /**
63
+ * Boolean value to create a fixed/sticky header.
64
+ * Set to false by default
65
+ */
66
+ stickyHeader?: boolean;
67
+ /**
68
+ * Class name to apply additional styles on list view wrapper
69
+ */
70
+ className?: string;
71
+ /**
72
+ * Class name to apply additional styles on list view
73
+ */
74
+ listClassName?: string;
75
+ /**
76
+ * Custom sorting function.
77
+ * @returns sorted collection of items
78
+ */
79
+ sortItems?: (items: any[], columnName: string, descending: boolean) => any[];
80
+ }
81
+ export interface IListViewState {
82
+ /**
83
+ * Current value of the filter input
84
+ */
85
+ filterValue?: string;
86
+ /**
87
+ * The items to render.
88
+ */
89
+ items?: any[];
90
+ /**
91
+ * Given column defitions.
92
+ * If none are provided, default columns will be created based on the item's properties.
93
+ */
94
+ columns?: IColumn[];
95
+ groups?: IGroup[];
96
+ }
97
+ export interface IGrouping {
98
+ name: string;
99
+ order: GroupOrder;
100
+ }
101
+ export interface IGroupsItems {
102
+ items: any[];
103
+ groups: IGroup[];
104
+ }
105
+ export interface IViewField {
106
+ /**
107
+ * Name of the field
108
+ */
109
+ name: string;
110
+ /**
111
+ * Name of the field that will be used as the column title
112
+ */
113
+ displayName?: string;
114
+ /**
115
+ * Specify the field name that needs to be used to render a link
116
+ */
117
+ linkPropertyName?: string;
118
+ /**
119
+ * Specify if you want to enable column sorting
120
+ */
121
+ sorting?: boolean;
122
+ /**
123
+ * Specify the minimum width of the column
124
+ */
125
+ minWidth?: number;
126
+ /**
127
+ * Specify the maximum width of the column
128
+ */
129
+ maxWidth?: number;
130
+ /**
131
+ * Determines if the column can be resized.
132
+ */
133
+ isResizable?: boolean;
134
+ /**
135
+ * Override the render method of the field
136
+ */
137
+ render?: (item?: any, index?: number, column?: IColumn) => any;
138
+ }
139
+ //# sourceMappingURL=IViewField.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IViewField.d.ts","sourceRoot":"","sources":["../../../../../../src/common/interfaces/openSource/spfxControlsReact/@3.7.2/IViewField.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,wCAAwC,CAAC;AACvE,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,mDAAmD,CAAC;AAEpF,MAAM,CAAC,OAAO,MAAM,UAAU;IAC5B,SAAS,IAAI;IACb,UAAU,IAAI;CACf;AACD,MAAM,WAAW,cAAc;IAC7B;;OAEG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;OAEG;IACH,MAAM,CAAC,EAAE,GAAG,CAAC;IACb;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,KAAK,CAAC,EAAE,GAAG,EAAE,CAAC;IACd;;OAEG;IACH,UAAU,CAAC,EAAE,UAAU,EAAE,CAAC;IAC1B;;OAEG;IACH,aAAa,CAAC,EAAE,SAAS,EAAE,CAAC;IAC5B;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;OAGG;IACH,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B;;OAEG;IACH,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,EAAE,KAAK,IAAI,CAAC;IACnC;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC5B;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;KAGC;IACD,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;MAEE;IACF,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;OAGG;IACH,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,EAAE,EAAE,UAAU,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,KAAK,GAAG,EAAE,CAAC;CAC9E;AACD,MAAM,WAAW,cAAc;IAC7B;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,KAAK,CAAC,EAAE,GAAG,EAAE,CAAC;IACd;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,EAAE,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACnB;AACD,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,UAAU,CAAC;CACnB;AACD,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,GAAG,EAAE,CAAC;IACb,MAAM,EAAE,MAAM,EAAE,CAAC;CAClB;AACD,MAAM,WAAW,UAAU;IACzB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;OAEG;IACH,MAAM,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,GAAG,EAAE,KAAK,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,OAAO,KAAK,GAAG,CAAC;CAChE"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IViewField.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IViewField.js","sourceRoot":"","sources":["../../../../../../src/common/interfaces/openSource/spfxControlsReact/@3.7.2/IViewField.ts"],"names":[],"mappings":""}
@@ -6,7 +6,7 @@ import { IMyTextElementTypes } from './IElements';
6
6
  * @param styles Styles should be this limited structure: { color: 'htmlColor', height: 2 }
7
7
  */
8
8
  export declare function MyDivider(title: string, styles: any): JSX.Element;
9
- export declare function MyText(type: IMyTextElementTypes, title: string, styles?: any): JSX.Element | null;
9
+ export declare function MyText(type: IMyTextElementTypes, title: string, styles?: any): JSX.Element;
10
10
  /**
11
11
  *
12
12
  * @param title
@@ -1 +1 @@
1
- {"version":3,"file":"basic.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/Elements/basic.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAGlD;;;;GAIG;AACH,wBAAgB,SAAS,CAAG,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,eAmBrD;AAGD,wBAAgB,MAAM,CAAG,IAAI,EAAG,mBAAmB,EAAG,KAAK,EAAE,MAAM,EAAE,MAAM,CAAC,EAAG,GAAG,sBAsBjF;AACD;;;;;;;;;;;;;GAaG;AACH,wBAAgB,OAAO,CAAG,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,GAAG,EAAE,IAAI,CAAC,EAAE,GAAG,eAoB7E;AAED,wBAAgB,sBAAsB,CAAG,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,GAAG,IAAI,OAkBtG"}
1
+ {"version":3,"file":"basic.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/Elements/basic.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAGlD;;;;GAIG;AACH,wBAAgB,SAAS,CAAG,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,eAmBrD;AAGD,wBAAgB,MAAM,CAAG,IAAI,EAAG,mBAAmB,EAAG,KAAK,EAAE,MAAM,EAAE,MAAM,CAAC,EAAG,GAAG,eAsBjF;AACD;;;;;;;;;;;;;GAaG;AACH,wBAAgB,OAAO,CAAG,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,GAAG,EAAE,IAAI,CAAC,EAAE,GAAG,eAoB7E;AAED,wBAAgB,sBAAsB,CAAG,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,GAAG,IAAI,OAkBtG"}
@@ -13,7 +13,7 @@ export declare function createPerformanceTableVisitor(performance: ILoadPerforma
13
13
  * @param performance
14
14
  * @returns
15
15
  */
16
- export declare function createPerformanceTableVisitorXtra(performance: ILoadPerformance, titleAboveTable: string | undefined, keysToShow: ILoadPerformanceOps[], objAboveTable?: any): JSX.Element;
16
+ export declare function createPerformanceTableVisitorXtra(performance: ILoadPerformance, titleAboveTable: string, keysToShow: ILoadPerformanceOps[], objAboveTable?: any): JSX.Element;
17
17
  /**
18
18
  * USED BY: SecureScript7 loadTable >> loadSummary in \secureScript7\components\SecureScript7.tsx
19
19
  * @param performance
@@ -1 +1 @@
1
- {"version":3,"file":"tables.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/Performance/tables.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAkB,gBAAgB,EAAE,mBAAmB,EAA8C,MAAM,gBAAgB,CAAC;AAKnI,wBAAgB,qBAAqB,CAAE,WAAW,EAAE,gBAAgB,EAAE,UAAU,EAAE,mBAAmB,EAAE,SA4CtG;AAGD,wBAAgB,eAAe,CAAE,SAAS,EAAE,GAAG,SAyB9C;AAED;;;;GAIG;AACH,wBAAgB,6BAA6B,CAAE,WAAW,EAAE,gBAAgB,EAAG,UAAU,EAAE,mBAAmB,EAAE,eAqB/G;AAED;;;;GAIG;AACF,wBAAgB,iCAAiC,CAAE,WAAW,EAAE,gBAAgB,EAAE,eAAe,oBAAa,EAAE,UAAU,EAAE,mBAAmB,EAAE,EAAG,aAAa,GAAE,GAAU,eAc7K;AAED;;;;;GAKG;AACH,wBAAgB,2BAA2B,CAAE,WAAW,EAAE,gBAAgB,EAAG,UAAU,EAAE,mBAAmB,EAAE,EAAE,YAAY,EAAE,GAAG,eAYhI;AAED;;;;;GAKG;AAEF,wBAAgB,qBAAqB,CAAE,KAAK,EAAE,GAAG,EAAE,YAAY,EAAE,GAAG,eAapE"}
1
+ {"version":3,"file":"tables.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/Performance/tables.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAkB,gBAAgB,EAAE,mBAAmB,EAA8C,MAAM,gBAAgB,CAAC;AAKnI,wBAAgB,qBAAqB,CAAE,WAAW,EAAE,gBAAgB,EAAE,UAAU,EAAE,mBAAmB,EAAE,SA4CtG;AAGD,wBAAgB,eAAe,CAAE,SAAS,EAAE,GAAG,SAyB9C;AAED;;;;GAIG;AACH,wBAAgB,6BAA6B,CAAE,WAAW,EAAE,gBAAgB,EAAG,UAAU,EAAE,mBAAmB,EAAE,eAqB/G;AAED;;;;GAIG;AACF,wBAAgB,iCAAiC,CAAE,WAAW,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAW,EAAE,UAAU,EAAE,mBAAmB,EAAE,EAAG,aAAa,GAAE,GAAU,eAc7K;AAED;;;;;GAKG;AACH,wBAAgB,2BAA2B,CAAE,WAAW,EAAE,gBAAgB,EAAG,UAAU,EAAE,mBAAmB,EAAE,EAAE,YAAY,EAAE,GAAG,eAYhI;AAED;;;;;GAKG;AAEF,wBAAgB,qBAAqB,CAAE,KAAK,EAAE,GAAG,EAAE,YAAY,EAAE,GAAG,eAapE"}
@@ -0,0 +1,3 @@
1
+ declare const styles: {};
2
+ export default styles;
3
+ //# sourceMappingURL=PropPaneCols.module.scss.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PropPaneCols.module.scss.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/PropPaneCols/PropPaneCols.module.scss.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,MAAM,IAEX,CAAC;AAEF,eAAe,MAAM,CAAC"}
@@ -0,0 +1,6 @@
1
+ /* tslint:disable */
2
+ require("./PropPaneCols.module.css");
3
+ const styles = {};
4
+ export default styles;
5
+ /* tslint:enable */
6
+ //# sourceMappingURL=PropPaneCols.module.scss.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PropPaneCols.module.scss.js","sourceRoot":"","sources":["../../../../src/components/molecules/PropPaneCols/PropPaneCols.module.scss.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,OAAO,CAAC,2BAA2B,CAAC,CAAC;AACrC,MAAM,MAAM,GAAG,EAEd,CAAC;AAEF,eAAe,MAAM,CAAC;AACtB,mBAAmB"}
@@ -0,0 +1,42 @@
1
+ import * as React from 'react';
2
+ import "@pnp/sp/webs";
3
+ import "@pnp/sp/clientside-pages/web";
4
+ import { IFieldPanelProps, IFieldPanelState } from './components/IPropPaneColsProps';
5
+ export default class FieldPanel extends React.Component<IFieldPanelProps, IFieldPanelState> {
6
+ private _performance;
7
+ /**
8
+ * This updates the private _performance.ops object.
9
+ * @param key
10
+ * @param phase
11
+ * @param note
12
+ * @param count
13
+ * @returns
14
+ */
15
+ private _updatePerformance;
16
+ /***
17
+ * .o88b. .d88b. d8b db .d8888. d888888b d8888b. db db .o88b. d888888b .d88b. d8888b.
18
+ * d8P Y8 .8P Y8. 888o 88 88' YP `~~88~~' 88 `8D 88 88 d8P Y8 `~~88~~' .8P Y8. 88 `8D
19
+ * 8P 88 88 88V8o 88 `8bo. 88 88oobY' 88 88 8P 88 88 88 88oobY'
20
+ * 8b 88 88 88 V8o88 `Y8b. 88 88`8b 88 88 8b 88 88 88 88`8b
21
+ * Y8b d8 `8b d8' 88 V888 db 8D 88 88 `88. 88b d88 Y8b d8 88 `8b d8' 88 `88.
22
+ * `Y88P' `Y88P' VP V8P `8888Y' YP 88 YD ~Y8888P' `Y88P' YP `Y88P' 88 YD
23
+ *
24
+ *
25
+ */
26
+ constructor(props: IFieldPanelProps);
27
+ componentDidUpdate(prevProps: IFieldPanelProps): boolean;
28
+ render(): React.ReactElement<IFieldPanelProps>;
29
+ private _toggleFullDesign;
30
+ private _updateSelected;
31
+ private _onCmdFieldClick;
32
+ private _clickFetchFields;
33
+ private _toggleDesign;
34
+ private _selectFiltered;
35
+ private _onFilterClick2;
36
+ private _onTypeClick;
37
+ private _onSelectItem;
38
+ private _onTextSearch;
39
+ private _onSearchChange;
40
+ private _showFieldPanel;
41
+ }
42
+ //# sourceMappingURL=PropPaneColsClass.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PropPaneColsClass.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/PropPaneCols/PropPaneColsClass.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAO/B,OAAO,cAAc,CAAC;AACtB,OAAO,8BAA8B,CAAC;AAStC,OAAO,EAAyB,gBAAgB,EAAE,gBAAgB,EAA6B,MAAM,iCAAiC,CAAC;AAUvI,MAAM,CAAC,OAAO,OAAO,UAAW,SAAQ,KAAK,CAAC,SAAS,CAAE,gBAAgB,EAAE,gBAAgB,CAAE;IAE3F,OAAO,CAAC,YAAY,CAA0B;IAE9C;;;;;;;OAOG;IACD,OAAO,CAAC,kBAAkB;IAc5B;;;;;;;;;MASE;gBAEoB,KAAK,EAAE,gBAAgB;IAyBtC,kBAAkB,CAAC,SAAS,EAAE,gBAAgB,GAAI,OAAO;IAiCzD,MAAM,IAAI,KAAK,CAAC,YAAY,CAAC,gBAAgB,CAAC;IAiGrD,OAAO,CAAC,iBAAiB;IAKzB,OAAO,CAAC,eAAe;IAIvB,OAAO,CAAC,gBAAgB,CAGtB;YAEY,iBAAiB;IAiB/B,OAAO,CAAC,aAAa;IAMrB,OAAO,CAAC,eAAe,CAItB;IAED,OAAO,CAAC,eAAe,CAOtB;IAED,OAAO,CAAC,YAAY;IAKpB,OAAO,CAAC,aAAa,CAGnB;IAGF,OAAO,CAAC,aAAa;IAKrB,OAAO,CAAC,eAAe;IAqCvB,OAAO,CAAC,eAAe,CAUtB;CAEF"}
@@ -0,0 +1,240 @@
1
+ import * as React from 'react';
2
+ import { startPerformOp, updatePerformanceEnd, createBasePerformanceInit, } from "../../../components/molecules/Performance/functions";
3
+ import "@pnp/sp/webs";
4
+ import "@pnp/sp/clientside-pages/web";
5
+ import { updateSelectedCommands } from './components/command/Accordion';
6
+ import CommandBuilderHook from './components/command/Accordion';
7
+ import { getMainSelectedItems, } from './components/OnClickHelpers';
8
+ // import { buildSelectedFieldTable } from './components/SelectedTable';
9
+ import ViewBuilderHook from './components/views/Accordion';
10
+ import { updateSelectedInfo, } from './components/OnClickHelpers';
11
+ import { MainPane } from './components/main/Pane';
12
+ import { fetchErrorPanel, FetchPane } from './components/fetch/Pane';
13
+ import { fetchFields } from './components/fetch/funcions';
14
+ import SelectedTableHook from './components/selected/TableHook';
15
+ require('./components/PropPaneCols.css');
16
+ export default class FieldPanel extends React.Component {
17
+ /**
18
+ * This updates the private _performance.ops object.
19
+ * @param key
20
+ * @param phase
21
+ * @param note
22
+ * @param count
23
+ * @returns
24
+ */
25
+ _updatePerformance(key, phase, note = '', count) {
26
+ const ops = this._performance.ops;
27
+ let thisPart = ops[key];
28
+ if (phase === 'start' || !thisPart) {
29
+ thisPart = startPerformOp(`${key} ${note ? ' - ' + note : ''}`, this.props.displayMode);
30
+ }
31
+ else if (phase === 'update') {
32
+ thisPart = updatePerformanceEnd(thisPart, true, count);
33
+ }
34
+ }
35
+ /***
36
+ * .o88b. .d88b. d8b db .d8888. d888888b d8888b. db db .o88b. d888888b .d88b. d8888b.
37
+ * d8P Y8 .8P Y8. 888o 88 88' YP `~~88~~' 88 `8D 88 88 d8P Y8 `~~88~~' .8P Y8. 88 `8D
38
+ * 8P 88 88 88V8o 88 `8bo. 88 88oobY' 88 88 8P 88 88 88 88oobY'
39
+ * 8b 88 88 88 V8o88 `Y8b. 88 88`8b 88 88 8b 88 88 88 88`8b
40
+ * Y8b d8 `8b d8' 88 V888 db 8D 88 88 `88. 88b d88 Y8b d8 88 `8b d8' 88 `88.
41
+ * `Y88P' `Y88P' VP V8P `8888Y' YP 88 YD ~Y8888P' `Y88P' YP `Y88P' 88 YD
42
+ *
43
+ *
44
+ */
45
+ constructor(props) {
46
+ super(props);
47
+ this._performance = null;
48
+ this._onCmdFieldClick = (ev) => {
49
+ const newSelected = updateSelectedCommands(ev, this.state.selected);
50
+ this.setState({ selected: newSelected });
51
+ };
52
+ this._selectFiltered = (ev) => {
53
+ const { listFields, selected, searchText } = this.state;
54
+ const selectedInfo = updateSelectedInfo(ev, listFields, selected, searchText);
55
+ this.setState(selectedInfo);
56
+ };
57
+ this._onFilterClick2 = (ev) => {
58
+ var _a, _b;
59
+ const target = ev.target;
60
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
61
+ const { altKey, ctrlKey, shiftKey, type } = ev; // type is like 'click'
62
+ const fieldtype = ((_a = this.state) === null || _a === void 0 ? void 0 : _a.searchText.toLocaleLowerCase()) === ((_b = target.dataset) === null || _b === void 0 ? void 0 : _b.fieldtype.toLocaleLowerCase()) ? '' : target.dataset.fieldtype;
63
+ this._onSearchChange(fieldtype, '');
64
+ };
65
+ this._onSelectItem = (ev) => {
66
+ const newSelected = getMainSelectedItems(ev, this.state.listFields, this.state.selected);
67
+ this.setState({ selected: newSelected });
68
+ };
69
+ // private _onKeeperClick = ( ev: React.MouseEvent<HTMLElement> ): void => {
70
+ // const newSelected: IMinField[] = getKeeperClicks( ev, this.state.selected );
71
+ // this.setState({ selected: newSelected });
72
+ // };
73
+ // private _onDirectionClick = ( ev: React.MouseEvent<HTMLElement> ): void => {
74
+ // const newSelected: IMinField[] = getDirectionClicks( ev, this.state.selected );
75
+ // this.setState({ selected: newSelected });
76
+ // };
77
+ // private _onClosePanel = () : void => {
78
+ // this.setState({ panelItem: null });
79
+ // }
80
+ //field: IMinField
81
+ // private _showFieldPanel = ( ev: React.MouseEvent<HTMLElement> ): void => {
82
+ this._showFieldPanel = (item) => {
83
+ // const currentTarget: any = ev.currentTarget;
84
+ // // eslint-disable-next-line @typescript-eslint/no-unused-vars
85
+ // // const { altKey, ctrlKey, shiftKey, type } = ev; // type is like 'click'
86
+ // const fieldName: string = currentTarget.dataset?.fieldname ? currentTarget.dataset.fieldname : '';
87
+ // const index: number = currentTarget.dataset?.fieldindex ? currentTarget.dataset.fieldindex : -1 ;
88
+ // const panelItem: IMinField = this.state.listFields[ index ];
89
+ // console.log('Selected field: ', fieldName, panelItem );
90
+ this.setState({ panelItem: item });
91
+ };
92
+ this._performance = createBasePerformanceInit(this.props.displayMode, false);
93
+ this._performance.ops.superOnInit = startPerformOp('superOnInit', this.props.displayMode);
94
+ this.state = {
95
+ status: 'Not started',
96
+ fetched: false,
97
+ searchText: '',
98
+ searchProp: '',
99
+ listFields: [],
100
+ filtered: [],
101
+ selected: [],
102
+ listIdx: this.props.lists.length > 0 ? 0 : null,
103
+ errMessage: '',
104
+ designMode: false,
105
+ fullDesign: false,
106
+ panelItem: null,
107
+ };
108
+ this._performance.ops.superOnInit = updatePerformanceEnd(this._performance.ops.superOnInit, true, 666);
109
+ }
110
+ componentDidUpdate(prevProps) {
111
+ let refresh = false;
112
+ if (JSON.stringify(this.props.lists) !== JSON.stringify(prevProps.lists)) {
113
+ refresh = true;
114
+ // Eventually add this and auto load?
115
+ // setTimeout(() => {
116
+ // if (this.LastSearch === NewSearch ) {
117
+ // this._onSearchChange( NewSearch );
118
+ // } else {
119
+ // }
120
+ // }, 1000);
121
+ this.setState({
122
+ status: 'Not started',
123
+ fetched: false,
124
+ searchText: '',
125
+ searchProp: '',
126
+ listFields: [],
127
+ filtered: [],
128
+ selected: [],
129
+ listIdx: this.props.lists.length > 0 ? 0 : null,
130
+ errMessage: '',
131
+ });
132
+ }
133
+ return refresh;
134
+ }
135
+ render() {
136
+ const { lists, } = this.props;
137
+ const { status, designMode, errMessage, listIdx, panelItem, searchText } = this.state;
138
+ const fetchPane = FetchPane({
139
+ onClickFetchFields: this._clickFetchFields.bind(this),
140
+ designMode: designMode,
141
+ performance: this._performance,
142
+ status: status,
143
+ });
144
+ if (this.state.errMessage) {
145
+ const result = fetchErrorPanel(fetchPane, errMessage, lists[listIdx].webURL, lists[listIdx].listTitle);
146
+ return (result);
147
+ }
148
+ else if (lists.length === 0) {
149
+ return (React.createElement("div", { className: 'prop-pane-cols' },
150
+ React.createElement("h3", null, "There are no lists to show columns for.")));
151
+ }
152
+ else {
153
+ const DesignCommands = React.createElement(CommandBuilderHook, { selected: this.state.selected, updateSelected: this._updateSelected.bind(this),
154
+ // onCmdFieldClick={ this._onCmdFieldClick }
155
+ expanded: this.state.fullDesign, onExpandRight: this._toggleFullDesign.bind(this), tryCallback: this.props.tryCommands, saveCallback: this.props.saveCommands });
156
+ // createCommandBuilder( this.state.selected, this._onCmdFieldClick, this.state.fullDesign,
157
+ // this._showFieldPanel.bind(this), this._toggleFullDesign.bind(this) ) ;
158
+ const DesignViews = React.createElement(ViewBuilderHook, { expanded: this.state.fullDesign, onExpandRight: this._toggleFullDesign.bind(this), selected: this.state.selected, tryCallback: this.props.tryViews, saveCallback: this.props.saveViews });
159
+ // const SelectedTable: JSX.Element = buildSelectedFieldTable( this.state.selected, this._onKeeperClick,
160
+ // this._onDirectionClick, this._showFieldPanel.bind(this) );
161
+ const SelectedHook = React.createElement(SelectedTableHook, { updateSelected: this._updateSelected.bind(this),
162
+ // onDirectionClick={ this._onDirectionClick }
163
+ // onKeeperClick={ this._onKeeperClick }
164
+ selected: this.state.selected });
165
+ const MainPanel = MainPane(this.props, this.state, {
166
+ selectFiltered: this._selectFiltered,
167
+ onFilterClick2: this._onFilterClick2,
168
+ onTextSearch: this._onTextSearch.bind(this),
169
+ toggleDesign: this._toggleDesign.bind(this),
170
+ onSelectItem: this._onSelectItem,
171
+ onTypeClick: this._onTypeClick.bind(this),
172
+ // showFieldPanel: this._showFieldPanel.bind(this),
173
+ });
174
+ let designPane = null;
175
+ if (designMode === true) {
176
+ designPane = React.createElement("div", { className: 'design-pane' },
177
+ DesignCommands,
178
+ DesignViews,
179
+ React.createElement("div", { style: { paddingBottom: '5px', fontSize: 'smaller' } },
180
+ "CTRL-click ",
181
+ React.createElement("b", null, "Arrows"),
182
+ " to move to Top or Bottom"),
183
+ SelectedHook);
184
+ }
185
+ return (React.createElement("div", { className: ['prop-pane-cols', 'cols-results', this.state.fullDesign === true ? 'full-design' : null].join(' ') },
186
+ fetchPane,
187
+ designPane,
188
+ MainPanel));
189
+ }
190
+ }
191
+ _toggleFullDesign(status) {
192
+ const fullDesign = this.state.fullDesign === true ? false : true;
193
+ this.setState({ fullDesign: fullDesign });
194
+ }
195
+ _updateSelected(selected) {
196
+ this.setState({ selected: selected });
197
+ }
198
+ async _clickFetchFields() {
199
+ const { lists, } = this.props;
200
+ const list = lists[this.state.listIdx];
201
+ const fetch = true;
202
+ if (fetch === true) {
203
+ this._updatePerformance('fetch4', 'start', 'fetchFields', null);
204
+ const fetchState = await fetchFields(list);
205
+ this._updatePerformance('fetch4', 'update', '', fetchState.filtered.length);
206
+ this.setState(fetchState);
207
+ console.log('fetchState: finished!', fetchState);
208
+ }
209
+ }
210
+ _toggleDesign() {
211
+ const designMode = this.state.designMode === true ? false : true;
212
+ this.setState({ designMode: designMode });
213
+ }
214
+ _onTypeClick(field) {
215
+ const filterType = this.state.searchProp ? '' : field.TypeDisplayName;
216
+ this._onSearchChange('', filterType);
217
+ }
218
+ _onTextSearch(input, text = '') {
219
+ const SearchValue = typeof input === 'string' ? input : input && input.target && input.target.value ? input.target.value : '';
220
+ this._onSearchChange(SearchValue, '');
221
+ }
222
+ _onSearchChange(SearchValue, property = '') {
223
+ const SearchValueLc = SearchValue.toLocaleLowerCase();
224
+ const filtered = [];
225
+ this.state.listFields.map((field) => {
226
+ const textFound = !SearchValueLc ? 0 : field.searchTextLC.indexOf(SearchValueLc);
227
+ const propertyFound = !property ? true : field.TypeDisplayName === property;
228
+ if (textFound > -1 && propertyFound === true)
229
+ filtered.push(field);
230
+ });
231
+ const searchText = `${SearchValue}${property ? property : ''}`;
232
+ if (!SearchValueLc) {
233
+ this.setState({ filtered: filtered, searchText: searchText, searchProp: property, designMode: true });
234
+ }
235
+ else {
236
+ this.setState({ filtered: filtered, searchText: searchText, searchProp: property, designMode: true });
237
+ }
238
+ }
239
+ }
240
+ //# sourceMappingURL=PropPaneColsClass.js.map