@mikezimm/fps-library-v2 1.0.147 → 1.0.149

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 (102) hide show
  1. package/CHANGELOG.md +18 -1
  2. package/lib/components/atoms/PersonaCard/Interfaces/IPersonaCardProps.d.ts +11 -0
  3. package/lib/components/atoms/PersonaCard/Interfaces/IPersonaCardProps.d.ts.map +1 -0
  4. package/lib/components/atoms/PersonaCard/Interfaces/IPersonaCardProps.js +2 -0
  5. package/lib/components/atoms/PersonaCard/Interfaces/IPersonaCardProps.js.map +1 -0
  6. package/lib/components/atoms/PersonaCard/Interfaces/IPersonaCardState.d.ts +5 -0
  7. package/lib/components/atoms/PersonaCard/Interfaces/IPersonaCardState.d.ts.map +1 -0
  8. package/lib/components/atoms/PersonaCard/Interfaces/IPersonaCardState.js +2 -0
  9. package/lib/components/atoms/PersonaCard/Interfaces/IPersonaCardState.js.map +1 -0
  10. package/lib/components/atoms/PersonaCard/Interfaces/IUserProperties.d.ts +13 -0
  11. package/lib/components/atoms/PersonaCard/Interfaces/IUserProperties.d.ts.map +1 -0
  12. package/lib/components/atoms/PersonaCard/Interfaces/IUserProperties.js +2 -0
  13. package/lib/components/atoms/PersonaCard/Interfaces/IUserProperties.js.map +1 -0
  14. package/lib/components/atoms/PersonaCard/Interfaces/StandardPersonIconNames.d.ts +5 -0
  15. package/lib/components/atoms/PersonaCard/Interfaces/StandardPersonIconNames.d.ts.map +1 -0
  16. package/lib/components/atoms/PersonaCard/Interfaces/StandardPersonIconNames.js +5 -0
  17. package/lib/components/atoms/PersonaCard/Interfaces/StandardPersonIconNames.js.map +1 -0
  18. package/lib/components/atoms/PersonaCard/PersonaCard.d.ts +57 -0
  19. package/lib/components/atoms/PersonaCard/PersonaCard.d.ts.map +1 -0
  20. package/lib/components/atoms/PersonaCard/PersonaCard.js +233 -0
  21. package/lib/components/atoms/PersonaCard/PersonaCard.js.map +1 -0
  22. package/lib/components/atoms/PersonaCard/PersonaIcons.d.ts +4 -0
  23. package/lib/components/atoms/PersonaCard/PersonaIcons.d.ts.map +1 -0
  24. package/lib/components/atoms/PersonaCard/PersonaIcons.js +16 -0
  25. package/lib/components/atoms/PersonaCard/PersonaIcons.js.map +1 -0
  26. package/lib/components/atoms/PersonaCard/PersonaRow.d.ts +54 -0
  27. package/lib/components/atoms/PersonaCard/PersonaRow.d.ts.map +1 -0
  28. package/lib/components/atoms/PersonaCard/PersonaRow.js +116 -0
  29. package/lib/components/atoms/PersonaCard/PersonaRow.js.map +1 -0
  30. package/lib/components/atoms/Suggestions/ISuggestion.d.ts +14 -0
  31. package/lib/components/atoms/Suggestions/ISuggestion.d.ts.map +1 -0
  32. package/lib/components/atoms/Suggestions/ISuggestion.js +5 -0
  33. package/lib/components/atoms/Suggestions/ISuggestion.js.map +1 -0
  34. package/lib/components/atoms/Suggestions/SuggestionsSample-Labels.d.ts +17 -0
  35. package/lib/components/atoms/Suggestions/SuggestionsSample-Labels.d.ts.map +1 -0
  36. package/lib/components/atoms/Suggestions/SuggestionsSample-Labels.js +89 -0
  37. package/lib/components/atoms/Suggestions/SuggestionsSample-Labels.js.map +1 -0
  38. package/lib/components/atoms/Suggestions/convertSugsLC.d.ts +10 -0
  39. package/lib/components/atoms/Suggestions/convertSugsLC.d.ts.map +1 -0
  40. package/lib/components/atoms/Suggestions/convertSugsLC.js +18 -0
  41. package/lib/components/atoms/Suggestions/convertSugsLC.js.map +1 -0
  42. package/lib/components/atoms/Suggestions/getSuggestionsByKeys.d.ts +7 -0
  43. package/lib/components/atoms/Suggestions/getSuggestionsByKeys.d.ts.map +1 -0
  44. package/lib/components/atoms/Suggestions/getSuggestionsByKeys.js +37 -0
  45. package/lib/components/atoms/Suggestions/getSuggestionsByKeys.js.map +1 -0
  46. package/lib/components/atoms/WordSummary/IWordSummary.d.ts +19 -0
  47. package/lib/components/atoms/WordSummary/IWordSummary.d.ts.map +1 -0
  48. package/lib/components/atoms/WordSummary/IWordSummary.js +2 -0
  49. package/lib/components/atoms/WordSummary/IWordSummary.js.map +1 -0
  50. package/lib/components/atoms/WordSummary/buildWordSummary.d.ts +5 -0
  51. package/lib/components/atoms/WordSummary/buildWordSummary.d.ts.map +1 -0
  52. package/lib/components/atoms/WordSummary/buildWordSummary.js +67 -0
  53. package/lib/components/atoms/WordSummary/buildWordSummary.js.map +1 -0
  54. package/lib/components/molecules/ModernPages/Interfaces/IModernPage.d.ts +25 -0
  55. package/lib/components/molecules/ModernPages/Interfaces/IModernPage.d.ts.map +1 -0
  56. package/lib/components/molecules/ModernPages/Interfaces/IModernPage.js +13 -0
  57. package/lib/components/molecules/ModernPages/Interfaces/IModernPage.js.map +1 -0
  58. package/lib/components/molecules/SearchPage/Interfaces/ISourceSearch.d.ts +1 -0
  59. package/lib/components/molecules/SearchPage/Interfaces/ISourceSearch.d.ts.map +1 -1
  60. package/lib/components/molecules/SearchPage/component/SearchBoxRow.d.ts +18 -0
  61. package/lib/components/molecules/SearchPage/component/SearchBoxRow.d.ts.map +1 -0
  62. package/lib/components/molecules/SearchPage/component/SearchBoxRow.js +25 -0
  63. package/lib/components/molecules/SearchPage/component/SearchBoxRow.js.map +1 -0
  64. package/lib/components/molecules/SearchPage/functions/getFilteredV1.d.ts +20 -0
  65. package/lib/components/molecules/SearchPage/functions/getFilteredV1.d.ts.map +1 -0
  66. package/lib/components/molecules/SearchPage/functions/getFilteredV1.js +127 -0
  67. package/lib/components/molecules/SearchPage/functions/getFilteredV1.js.map +1 -0
  68. package/lib/components/molecules/SourceList/ItemPane/IItemPaneProps.d.ts +30 -0
  69. package/lib/components/molecules/SourceList/ItemPane/IItemPaneProps.d.ts.map +1 -0
  70. package/lib/components/molecules/SourceList/ItemPane/IItemPaneProps.js +2 -0
  71. package/lib/components/molecules/SourceList/ItemPane/IItemPaneProps.js.map +1 -0
  72. package/lib/components/molecules/SourceList/ItemPane/component.d.ts +36 -0
  73. package/lib/components/molecules/SourceList/ItemPane/component.d.ts.map +1 -0
  74. package/lib/components/molecules/SourceList/ItemPane/component.js +263 -0
  75. package/lib/components/molecules/SourceList/ItemPane/component.js.map +1 -0
  76. package/lib/logic/Strings/getWordsFromString.d.ts +1 -0
  77. package/lib/logic/Strings/getWordsFromString.d.ts.map +1 -1
  78. package/lib/logic/Strings/getWordsFromString.js +12 -5
  79. package/lib/logic/Strings/getWordsFromString.js.map +1 -1
  80. package/lib/logic/Time/dayLabels.d.ts +1 -3
  81. package/lib/logic/Time/dayLabels.d.ts.map +1 -1
  82. package/lib/logic/Time/dayLabels.js +9 -0
  83. package/lib/logic/Time/dayLabels.js.map +1 -1
  84. package/lib/logic/Time/getFPSPrefNavLang.d.ts +3 -0
  85. package/lib/logic/Time/getFPSPrefNavLang.d.ts.map +1 -0
  86. package/lib/logic/Time/getFPSPrefNavLang.js +15 -0
  87. package/lib/logic/Time/getFPSPrefNavLang.js.map +1 -0
  88. package/lib/logic/Time/getMMMDD.d.ts +1 -0
  89. package/lib/logic/Time/getMMMDD.d.ts.map +1 -0
  90. package/lib/logic/Time/getMMMDD.js +1 -0
  91. package/lib/logic/Time/getMMMDD.js.map +1 -0
  92. package/lib/logic/Time/monthLabels.d.ts +3 -3
  93. package/lib/logic/Time/monthLabels.d.ts.map +1 -1
  94. package/lib/logic/Time/monthLabels.js +21 -0
  95. package/lib/logic/Time/monthLabels.js.map +1 -1
  96. package/lib/logic/Time/monthStrings.d.ts +3 -3
  97. package/lib/logic/Time/monthStrings.d.ts.map +1 -1
  98. package/lib/logic/Time/monthStrings.js +20 -0
  99. package/lib/logic/Time/monthStrings.js.map +1 -1
  100. package/lib/pnpjs/SourceItems/Interface.d.ts +3 -0
  101. package/lib/pnpjs/SourceItems/Interface.d.ts.map +1 -1
  102. package/package.json +2 -2
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PersonaRow.js","sourceRoot":"","sources":["../../../../src/components/atoms/PersonaCard/PersonaRow.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO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ACtD,KAAK,CAAC,oBAAoB,CAAC,WAAmB;QACpD,IAAI;YACF,8DAA8D;YAC9D,MAAM,SAAS,GAAQ,MAAM,iBAAiB,CAAC,iBAAiB,CAC9D,WAAW,CACZ,CAAC;YACF,OAAO,SAAS,CAAC;SAClB;QAAC,OAAO,KAAK,EAAE;YACd,mCAAmC;YACnC,KAAK,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;YAC3B,sEAAsE;YACtE,GAAG,CAAC,KAAK,CAAC,UAAU,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,YAAmB,CAAC,CAAC;SACtE;IACH,CAAC;IAED;;;;;OAKG;IACI,MAAM;QACX,MAAM,gBAAgB,GAAI,uBAAuB,CAAE;QAEnD,OAAO;QACL,4CAA4C;QAC5C,6BAAK,SAAS,EAAG,gBAAgB,EAAG,KAAK,EAAE,EAAG,IAE3C,IAAI,CAAC,KAAK,CAAC,eAAe;YACzB,CAAC,CAAC,IAAI,CAAC,gBAAgB,EAAE;YACzB,CAAC,CAAC,IAAI,CAAC,WAAW,EAAE,CAClB,CACP,CAAC;IACJ,CAAC;CACF"}
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Originally copied from Compliance web part 2023-03-28
3
+ */
4
+ export interface ISuggestion {
5
+ title: string;
6
+ description: string;
7
+ finds: string[];
8
+ findsLC?: string[];
9
+ exclusions?: string[];
10
+ exclusionsLC?: string[];
11
+ suggestions: string[];
12
+ suggestionsLC?: string[];
13
+ }
14
+ //# sourceMappingURL=ISuggestion.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ISuggestion.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/Suggestions/ISuggestion.ts"],"names":[],"mappings":"AACA;;GAEG;AAEH,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;CAC1B"}
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Originally copied from Compliance web part 2023-03-28
3
+ */
4
+ export {};
5
+ //# sourceMappingURL=ISuggestion.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ISuggestion.js","sourceRoot":"","sources":["../../../../src/components/atoms/Suggestions/ISuggestion.ts"],"names":[],"mappings":"AACA;;GAEG"}
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Originally copied from Compliance web part 2023-03-28
3
+ */
4
+ import { ISuggestion } from "./ISuggestion";
5
+ export declare const PurchasingLabels: ISuggestion;
6
+ export declare const EngineeringLabels: ISuggestion;
7
+ export declare const ProjManagementLabels: ISuggestion;
8
+ export declare const CustRelationsLabels: ISuggestion;
9
+ export declare const ITLabels: ISuggestion;
10
+ export declare const FinanceLabels: ISuggestion;
11
+ export declare const QualityLabels: ISuggestion;
12
+ export declare const HumanResLabels: ISuggestion;
13
+ export declare const FacilityLabels: ISuggestion;
14
+ export declare const SafetyLabels: ISuggestion;
15
+ export declare const ComplianceLabels: ISuggestion;
16
+ export declare const LabelSuggestions: ISuggestion[];
17
+ //# sourceMappingURL=SuggestionsSample-Labels.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SuggestionsSample-Labels.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/Suggestions/SuggestionsSample-Labels.ts"],"names":[],"mappings":"AACA;;GAEG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,eAAO,MAAM,gBAAgB,EAAE,WAK9B,CAAA;AAED,eAAO,MAAM,iBAAiB,EAAE,WAK/B,CAAA;AAED,eAAO,MAAM,oBAAoB,EAAE,WAKlC,CAAA;AAED,eAAO,MAAM,mBAAmB,EAAE,WAKjC,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,WAKtB,CAAA;AAED,eAAO,MAAM,aAAa,EAAE,WAK3B,CAAA;AAED,eAAO,MAAM,aAAa,EAAE,WAK3B,CAAA;AAED,eAAO,MAAM,cAAc,EAAE,WAK5B,CAAA;AAED,eAAO,MAAM,cAAc,EAAE,WAK5B,CAAA;AASD,eAAO,MAAM,YAAY,EAAE,WAK1B,CAAA;AAED,eAAO,MAAM,gBAAgB,EAAE,WAK9B,CAAA;AAED,eAAO,MAAM,gBAAgB,EAAE,WAAW,EAYzC,CAAC"}
@@ -0,0 +1,89 @@
1
+ /**
2
+ * Originally copied from Compliance web part 2023-03-28
3
+ */
4
+ export const PurchasingLabels = {
5
+ title: `Purchasing`,
6
+ description: ``,
7
+ finds: [`Purchasing`, `Buyer`, `Supplier`],
8
+ suggestions: [`SUP-`, `Contract`, `SOR`, `SOW`],
9
+ };
10
+ export const EngineeringLabels = {
11
+ title: `Engineering`,
12
+ description: ``,
13
+ finds: [`Engineer`, `Engineering`, `Design`, `Designer`, `VEVA`, `Patent`, `EWO`, `ECR`, `DWR`],
14
+ suggestions: [`PPQ-`, `Drawing`, `Specification`, `Engineering`, `Design`, `VEVA`, `Patent`,],
15
+ };
16
+ export const ProjManagementLabels = {
17
+ title: `Project Management`,
18
+ description: ``,
19
+ finds: [`Program Manager`, `Project Manager`],
20
+ suggestions: [`Timeline`, `Contract`, `SOR`, `SOW`],
21
+ };
22
+ export const CustRelationsLabels = {
23
+ title: `Customer Relations`,
24
+ description: ``,
25
+ finds: [`Sales`, `Account Manager`, `Customer`, `Sales`, `Marketing`, `Customer`],
26
+ suggestions: [`MKT-`, `Advertising`, `Orders`, `Customer`, `Market`, `Contract`, `Specification`, `PPAP`],
27
+ };
28
+ export const ITLabels = {
29
+ title: `IT`,
30
+ description: ``,
31
+ finds: [`SharePoint`, `Information Technology`,],
32
+ suggestions: [`ITS-`, `Software`, `Cyber Security`, `Applications`, `IT projects`, `Help Desk`],
33
+ };
34
+ export const FinanceLabels = {
35
+ title: `Finance`,
36
+ description: ``,
37
+ finds: [`Controller`, `Tax`, `Comptroller`, `Finance`, `Treasury`, `Financing`],
38
+ suggestions: [`FGA-`, `Financial`, `Finance`, `Treasury`, `Financing`, `Payroll`, `Banking`, `Ledger`],
39
+ };
40
+ export const QualityLabels = {
41
+ title: `Quality`,
42
+ description: ``,
43
+ finds: [`Quality`,],
44
+ suggestions: [`PPQ-`, `Validation`, `Launch`, `Manufacturing`, `Tooling`, `Inspection`, `Traceability`, `8Ds`, `Specification`, `PPAP`],
45
+ };
46
+ export const HumanResLabels = {
47
+ title: `Human Resources`,
48
+ description: ``,
49
+ finds: [`Human Resources`, `Payroll`],
50
+ suggestions: [`HUM-`, `Personnel`, `Benefit`, `Labor`, `Payroll`],
51
+ };
52
+ export const FacilityLabels = {
53
+ title: `Facility`,
54
+ description: ``,
55
+ finds: [`Facility`,],
56
+ suggestions: [`FAC-`, `Maintenance`, `Security`, `Equipment`, `Calibrations`, `Environmental`, `Permits`],
57
+ };
58
+ // export const SalesLabels: ISuggestion = {
59
+ // title: `Sales`,
60
+ // description: ``,
61
+ // finds: [ `Sales`, `Marketing`, `Customer`] ,
62
+ // suggestions: [ `MKT-`,`Advertising`, `Orders`, `Customer`, `Market`, `Contracts`, ] ,
63
+ // }
64
+ export const SafetyLabels = {
65
+ title: `Health and Safety`,
66
+ description: ``,
67
+ finds: [`Health`, `Safety`,],
68
+ suggestions: [`HSE-`, `Medical`, `Hazardous`, `Disability`, `Injuries`, `Safety`, `Emergency`, `Permits`],
69
+ };
70
+ export const ComplianceLabels = {
71
+ title: `Compliance`,
72
+ description: ``,
73
+ finds: [`Compliance`],
74
+ suggestions: [`LEG-`, `Compliance`, `Incidents`, `Audits`, `Privacy`, `Certifications`, `Investigation`, `Recalls`, `Litigation`],
75
+ };
76
+ export const LabelSuggestions = [
77
+ PurchasingLabels,
78
+ EngineeringLabels,
79
+ ProjManagementLabels,
80
+ CustRelationsLabels,
81
+ ITLabels,
82
+ FinanceLabels,
83
+ QualityLabels,
84
+ HumanResLabels,
85
+ FacilityLabels,
86
+ SafetyLabels,
87
+ ComplianceLabels,
88
+ ];
89
+ //# sourceMappingURL=SuggestionsSample-Labels.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SuggestionsSample-Labels.js","sourceRoot":"","sources":["../../../../src/components/atoms/Suggestions/SuggestionsSample-Labels.ts"],"names":[],"mappings":"AACA;;GAEG;AAIH,MAAM,CAAC,MAAM,gBAAgB,GAAgB;IAC3C,KAAK,EAAE,YAAY;IACnB,WAAW,EAAE,EAAE;IACf,KAAK,EAAE,CAAE,YAAY,EAAE,OAAO,EAAE,UAAU,CAAE;IAC5C,WAAW,EAAE,CAAE,MAAM,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,CAAE;CAClD,CAAA;AAED,MAAM,CAAC,MAAM,iBAAiB,GAAgB;IAC5C,KAAK,EAAE,aAAa;IACpB,WAAW,EAAE,EAAE;IACf,KAAK,EAAE,CAAE,UAAU,EAAE,aAAa,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,CAAE;IACjG,WAAW,EAAE,CAAE,MAAM,EAAE,SAAS,EAAE,eAAe,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAG;CAChG,CAAA;AAED,MAAM,CAAC,MAAM,oBAAoB,GAAgB;IAC/C,KAAK,EAAE,oBAAoB;IAC3B,WAAW,EAAE,EAAE;IACf,KAAK,EAAE,CAAE,iBAAiB,EAAE,iBAAiB,CAAE;IAC/C,WAAW,EAAE,CAAE,UAAU,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,CAAE;CACtD,CAAA;AAED,MAAM,CAAC,MAAM,mBAAmB,GAAgB;IAC9C,KAAK,EAAE,oBAAoB;IAC3B,WAAW,EAAE,EAAE;IACf,KAA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ions
6
+ * @param lowerCaseSuggestions - true will also convert the suggestions to suggestionsLC ( so buttons would show in lc )
7
+ * @returns
8
+ */
9
+ export declare function convertSugsLC(suggestions: ISuggestion[], lowerCaseSuggestions: boolean): ISuggestion[];
10
+ //# sourceMappingURL=convertSugsLC.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"convertSugsLC.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/Suggestions/convertSugsLC.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C;;;;;;GAMG;AACH,wBAAgB,aAAa,CAAC,WAAW,EAAE,WAAW,EAAE,EAAE,oBAAoB,EAAE,OAAO,GAAG,WAAW,EAAE,CAStG"}
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Originally copied from Compliance web part 2023-03-28
3
+ *
4
+ * @param suggestions
5
+ * @param lowerCaseSuggestions - true will also convert the suggestions to suggestionsLC ( so buttons would show in lc )
6
+ * @returns
7
+ */
8
+ export function convertSugsLC(suggestions, lowerCaseSuggestions) {
9
+ suggestions.map(suggestion => {
10
+ suggestion.findsLC = suggestion.finds.map(str => { return str.toLowerCase(); });
11
+ if (suggestion.exclusions)
12
+ suggestion.exclusionsLC = suggestion.exclusions.map(str => { return str.toLowerCase(); });
13
+ if (lowerCaseSuggestions === true)
14
+ suggestion.suggestionsLC = suggestion.suggestions.map(str => { return str.toLowerCase(); });
15
+ });
16
+ return suggestions;
17
+ }
18
+ //# sourceMappingURL=convertSugsLC.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"convertSugsLC.js","sourceRoot":"","sources":["../../../../src/components/atoms/Suggestions/convertSugsLC.ts"],"names":[],"mappings":"AAGA;;;;;;GAMG;AACH,MAAM,UAAU,aAAa,CAAC,WAA0B,EAAE,oBAA6B;IACrF,WAAW,CAAC,GAAG,CAAC,UAAU,CAAC,EAAE;QAC3B,UAAU,CAAC,OAAO,GAAG,UAAU,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,GAAG,OAAO,GAAG,CAAC,WAAW,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC;QAChF,IAAI,UAAU,CAAC,UAAU;YACvB,UAAU,CAAC,YAAY,GAAG,UAAU,CAAC,UAAU,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,GAAG,OAAO,GAAG,CAAC,WAAW,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC;QAC5F,IAAI,oBAAoB,KAAK,IAAI;YAC/B,UAAU,CAAC,aAAa,GAAG,UAAU,CAAC,WAAW,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,GAAG,OAAO,GAAG,CAAC,WAAW,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC;IAChG,CAAC,CAAC,CAAC;IACH,OAAO,WAAW,CAAC;AACrB,CAAC"}
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Originally copied from Compliance web part 2023-03-28
3
+ */
4
+ import { ISuggestion } from "./ISuggestion";
5
+ export declare function getSuggestionsFromStrings(strings: string[], suggestions: ISuggestion[], max?: number): ISuggestion[];
6
+ export declare function getSuggestionsByKeys(item: any, keys: string[], suggestions: ISuggestion[], max?: number): ISuggestion[];
7
+ //# sourceMappingURL=getSuggestionsByKeys.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getSuggestionsByKeys.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/Suggestions/getSuggestionsByKeys.ts"],"names":[],"mappings":"AACA;;GAEG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,wBAAgB,yBAAyB,CAAE,OAAO,EAAE,MAAM,EAAE,EAAE,WAAW,EAAE,WAAW,EAAE,EAAE,GAAG,GAAE,MAAa,GAAI,WAAW,EAAE,CAG5H;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,WAAW,EAAE,WAAW,EAAE,EAAE,GAAG,GAAE,MAAa,GAAI,WAAW,EAAE,CAmC9H"}
@@ -0,0 +1,37 @@
1
+ /**
2
+ * Originally copied from Compliance web part 2023-03-28
3
+ */
4
+ export function getSuggestionsFromStrings(strings, suggestions, max = 1000) {
5
+ const results = getSuggestionsByKeys({ key: strings.join(';') }, ['key'], suggestions);
6
+ return results;
7
+ }
8
+ export function getSuggestionsByKeys(item, keys, suggestions, max = 1000) {
9
+ if (!keys || keys.length === 0)
10
+ return [];
11
+ else if (!suggestions || suggestions.length === 0)
12
+ return [];
13
+ else if (max === 0)
14
+ return [];
15
+ const results = [];
16
+ keys.map(key => {
17
+ //Exclude empty keys, if results is more than max, if the item[key] is not a string or is empty
18
+ if (key && results.length < max && item[key] && typeof item[key] === 'string') {
19
+ // get array of strings only (aka words) from the item proprty
20
+ const keyVals = item[key].replace(/[0-9]/g, " ").split(/\b([a-z]+)\b/gi);
21
+ keyVals.map(keyval => {
22
+ let found = false;
23
+ suggestions.map((suggestion) => {
24
+ if (results.length < max && found === false)
25
+ suggestion.findsLC.map((find) => {
26
+ if (keyval.toLowerCase() === find) {
27
+ results.push(suggestion);
28
+ found = true;
29
+ }
30
+ });
31
+ });
32
+ });
33
+ }
34
+ });
35
+ return results;
36
+ }
37
+ //# sourceMappingURL=getSuggestionsByKeys.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getSuggestionsByKeys.js","sourceRoot":"","sources":["../../../../src/components/atoms/Suggestions/getSuggestionsByKeys.ts"],"names":[],"mappings":"AACA;;GAEG;AAIH,MAAM,UAAU,yBAAyB,CAAE,OAAiB,EAAE,WAA0B,EAAE,MAAc,IAAI;IAC1G,MAAM,OAAO,GAAkB,oBAAoB,CAAE,EAAE,GAAG,EAAE,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,EAAE,CAAC,KAAK,CAAC,EAAE,WAAW,CAAE,CAAC;IACxG,OAAO,OAAO,CAAC;AACjB,CAAC;AAED,MAAM,UAAU,oBAAoB,CAAC,IAAS,EAAE,IAAc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IPerformanceOp } from "../../molecules/Performance/IPerformance";
2
+ export interface IWordSummary {
3
+ words: string[];
4
+ searchTextLC: string[];
5
+ wordObjs: IWordObject[];
6
+ performance: IPerformanceOp;
7
+ skipped: string[];
8
+ }
9
+ export interface IWordObject {
10
+ word: string;
11
+ searchTextLC: string;
12
+ count: number;
13
+ sum: number;
14
+ sourceIndexes: number[];
15
+ sourceStrings: string[];
16
+ avg?: number;
17
+ originalIndex?: number;
18
+ }
19
+ //# sourceMappingURL=IWordSummary.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IWordSummary.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/WordSummary/IWordSummary.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,0CAA0C,CAAC;AAE1E,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,QAAQ,EAAE,WAAW,EAAE,CAAC;IACxB,WAAW,EAAE,cAAc,CAAC;IAC5B,OAAO,EAAE,MAAM,EAAE,CAAC;CACnB;AAED,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,MAAM,CAAC;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,aAAa,EAAE,MAAM,EAAE,CAAC;IACxB,aAAa,EAAE,MAAM,EAAE,CAAC;IACxB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IWordSummary.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IWordSummary.js","sourceRoot":"","sources":["../../../../src/components/atoms/WordSummary/IWordSummary.tsx"],"names":[],"mappings":""}
@@ -0,0 +1,5 @@
1
+ import { IAnySourceItem } from "../../molecules/SourceList/IAnyContent";
2
+ import { IWordSummary } from "./IWordSummary";
3
+ export declare function buildWordSummary(items: IAnySourceItem[], findWordsProp: string[], splitWords: boolean, sortKey: string, minLength: number, sumProp?: string): IWordSummary;
4
+ export declare function updateWordSort(wordSummary: IWordSummary, sortKey: string): IWordSummary;
5
+ //# sourceMappingURL=buildWordSummary.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"buildWordSummary.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/WordSummary/buildWordSummary.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,cAAc,EAAE,MAAM,wCAAwC,CAAC;AACxE,OAAO,EAAE,YAAY,EAAe,MAAM,gBAAgB,CAAC;AAG3D,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,cAAc,EAAE,EAAE,aAAa,EAAE,MAAM,EAAE,EAAE,UAAU,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,OAAO,GAAE,MAAW,GAAG,YAAY,CAmE9K;AAED,wBAAgB,cAAc,CAAC,WAAW,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,GAAG,YAAY,CAGvF"}
@@ -0,0 +1,67 @@
1
+ // import { IAnySourceItem, sortObjectArrayByNumberKey } from '../../../fpsReferences';
2
+ // import { getArrayOfWordsFromString } from './getWordsFromString';
3
+ // import { startPerformOpV2, updatePerformanceEndV2 } from '@mikezimm/fps-library-v2/lib/components/molecules/Performance/functions';
4
+ import { sortObjectArrayByNumberKey } from "../../../logic/indexes/ArraySortingNumbers";
5
+ import { sortObjectArrayByChildNumberKey } from "../../../logic/indexes/ArraySortingObjects";
6
+ import { getArrayOfWordsFromString } from "../../../logic/Strings/getWordsFromString";
7
+ import { startPerformOpV2, updatePerformanceEndV2 } from "../../molecules/Performance/functions";
8
+ export function buildWordSummary(items, findWordsProp, splitWords, sortKey, minLength, sumProp = '') {
9
+ const performanceOp = startPerformOpV2({ label: 'buildWordCount', includeMsStr: true });
10
+ let skippedWords = 0;
11
+ const wordSummary = {
12
+ words: [], wordObjs: [], searchTextLC: [], skipped: [], performance: performanceOp
13
+ };
14
+ items.map((item, itemIdx) => {
15
+ const itemSourceString = findWordsProp.map(prop => { return item[prop] ? item[prop] : ''; });
16
+ const testString = itemSourceString.filter(item => { return item && item.length > 0; }).join(` `);
17
+ if (testString.indexOf('(') > -1) {
18
+ console.log(`buildWordSummary`, testString);
19
+ }
20
+ const itemWords = splitWords === true ? getArrayOfWordsFromString(testString, true, true, true, 'asis') : [testString];
21
+ itemWords.map(word => {
22
+ if (word.length >= minLength) {
23
+ const searchTextLC = word.toLocaleLowerCase();
24
+ let wordIdx = wordSummary.searchTextLC.indexOf(searchTextLC);
25
+ // Add new words to summary
26
+ if (wordIdx === -1) {
27
+ wordSummary.words.push(word);
28
+ wordSummary.searchTextLC.push(searchTextLC);
29
+ const wordObj = {
30
+ word: word,
31
+ searchTextLC: searchTextLC,
32
+ count: 0,
33
+ sum: 0,
34
+ avg: 0,
35
+ sourceIndexes: [],
36
+ sourceStrings: [],
37
+ originalIndex: wordSummary.words.length,
38
+ };
39
+ wordSummary.wordObjs.push(wordObj);
40
+ wordIdx = wordSummary.words.length - 1;
41
+ }
42
+ // Now update count, sum and avg
43
+ wordSummary.wordObjs[wordIdx].count++;
44
+ wordSummary.wordObjs[wordIdx].sourceIndexes.push(itemIdx);
45
+ wordSummary.wordObjs[wordIdx].sourceStrings.push(itemSourceString.join('; '));
46
+ wordSummary.wordObjs[wordIdx].sum += sumProp && item[sumProp] ? item[sumProp] : 0;
47
+ wordSummary.wordObjs[wordIdx].avg = wordSummary.wordObjs[wordIdx].sum / wordSummary.wordObjs[wordIdx].count;
48
+ }
49
+ else {
50
+ skippedWords++;
51
+ if (wordSummary.skipped.indexOf(word) === -1)
52
+ wordSummary.skipped.push(word);
53
+ }
54
+ });
55
+ });
56
+ wordSummary.wordObjs = sortObjectArrayByChildNumberKey(wordSummary.wordObjs, 'dec', sortKey);
57
+ // Resort the words by the given sort
58
+ wordSummary.words = wordSummary.wordObjs.map(wordOb => { return wordOb.word; });
59
+ wordSummary.performance = updatePerformanceEndV2({ op: performanceOp, updateMiliseconds: true, count: items.length });
60
+ console.log('Skipped words:', skippedWords, wordSummary.performance);
61
+ return wordSummary;
62
+ }
63
+ export function updateWordSort(wordSummary, sortKey) {
64
+ wordSummary.wordObjs = sortObjectArrayByNumberKey(wordSummary.wordObjs, 'dec', sortKey);
65
+ return wordSummary;
66
+ }
67
+ //# sourceMappingURL=buildWordSummary.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"buildWordSummary.js","sourceRoot":"","sources":["../../../../src/components/atoms/WordSummary/buildWordSummary.tsx"],"names":[],"mappings":"AAAA,uFAAuF;AACvF,oEAAoE;AACpE,sIAAsI;AACtI,OAAO,EAAE,0BAA0B,EAAE,MAAM,4CAA4C,CAAC;AACxF,OAAO,EAAE,+BAA+B,EAAE,MAAM,4CAA4C,CAAC;AAC7F,OAAO,EAAE,yBAAyB,EAAE,MAAM,2CAA2C,CAAC;AACtF,OAAO,EAAE,gBAAgB,EAAE,sBAAsB,EAAE,MAAM,uCAAuC,CAAC;AAKjG,MAAM,UAAU,gBAAgB,CAAC,KAAuB,EAAE,aAAuB,EAAE,UAAmB,EAAE,OAAe,EAAE,SAAiB,EAAE,UAAkB,EAAE;IAE9J,MAAM,aAAa,GAAG,gBAAgB,CAAC,EAAE,KAAK,EAAE,gBAAgB,EAAE,YAAY,EAAE,IAAI,EAAE,CAAC,CAAC;IACxF,IAAI,YAAY,GAAW,CAAC,CAAC;IAE7B,MAAM,WAAW,GAAiB;QAChC,KAAK,EAAE,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE,YAAY,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,WAAW,EAAE,aAAa;KACnF,CAAC;IAEF,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,OAAO,EAAE,EAAE;QAC1B,MAAM,gBAAgB,GAAa,aAAa,CAAC,GAAG,CAAC,IAAI,C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rC,WAAW,CAAC,KAAK,GAAG,WAAW,CAAC,QAAQ,CAAC,GAAG,CAAE,MAAM,CAAC,EAAE,GAAG,OAAO,MAAM,CAAC,IAAI,CAAA,CAAC,CAAC,CAAC,CAAC;IAEhF,WAAW,CAAC,WAAW,GAAG,sBAAsB,CAAC,EAAE,EAAE,EAAE,aAAa,EAAE,iBAAiB,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,CAAC,MAAM,EAAE,CAAC,CAAC;IAEtH,OAAO,CAAC,GAAG,CAAC,gBAAgB,EAAE,YAAY,EAAE,WAAW,CAAC,WAAW,CAAC,CAAC;IAGrE,OAAO,WAAW,CAAC;AACrB,CAAC;AAED,MAAM,UAAU,cAAc,CAAC,WAAyB,EAAE,OAAe;IACvE,WAAW,CAAC,QAAQ,GAAG,0BAA0B,CAAC,WAAW,CAAC,QAAQ,EAAE,KAAK,EAAE,OAAO,CAAC,CAAC;IACxF,OAAO,WAAW,CAAC;AACrB,CAAC"}
@@ -0,0 +1,25 @@
1
+ export type IPageLoadPref = 'description' | 'canvasContent1' | 'tab';
2
+ export interface IPageLoadPrefChoices {
3
+ key: IPageLoadPref | IObjectFit;
4
+ text: string;
5
+ }
6
+ export declare const PageLoadPefs: IPageLoadPrefChoices[];
7
+ export type IObjectFit = 'center' | 'contain' | 'cover' | 'none' | 'center-cover' | 'center-contain';
8
+ export declare const ImageFitPrefs: IPageLoadPrefChoices[];
9
+ export interface IModernImageSettings {
10
+ height: number | string;
11
+ width: number | string;
12
+ objectFit: string;
13
+ style: string;
14
+ autoFix?: boolean;
15
+ lightBox?: boolean;
16
+ }
17
+ export interface ICanvasContentOptions {
18
+ pagePreference: IPageLoadPref;
19
+ addCkeEditToDiv?: boolean;
20
+ imageOptions?: IModernImageSettings;
21
+ h1Styles?: string;
22
+ h2Styles?: string;
23
+ h3Styles?: string;
24
+ }
25
+ //# sourceMappingURL=IModernPage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IModernPage.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/ModernPages/Interfaces/IModernPage.ts"],"names":[],"mappings":"AACA,MAAM,MAAM,aAAa,GAAG,aAAa,GAAG,gBAAgB,GAAG,KAAK,CAAC;AAErE,MAAM,WAAW,oBAAoB;IACnC,GAAG,EAAE,aAAa,GAAG,UAAU,CAAC;IAChC,IAAI,EAAE,MAAM,CAAC;CACd;AACD,eAAO,MAAM,YAAY,EAAE,oBAAoB,EAI9C,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG,QAAQ,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,GAAG,cAAc,GAAG,gBAAgB,CAAC;AAErG,eAAO,MAAM,aAAa,EAAE,oBAAoB,EAM/C,CAAC;AAEF,MAAM,WAAW,oBAAoB;IACnC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,qBAAqB;IAEpC,cAAc,EAAE,aAAa,CAAC;IAE9B,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,YAAY,CAAC,EAAE,oBAAoB,CAAC;IAEpC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;CAEnB"}
@@ -0,0 +1,13 @@
1
+ export const PageLoadPefs = [
2
+ { key: 'description', text: 'Just short description' },
3
+ { key: 'canvasContent1', text: 'Full page' },
4
+ { key: 'tab', text: 'Open full page in new tab' },
5
+ ];
6
+ export const ImageFitPrefs = [
7
+ { key: 'center', text: 'center' },
8
+ { key: 'contain', text: 'contain' },
9
+ { key: 'cover', text: 'cover' },
10
+ { key: 'center-cover', text: 'center-cover' },
11
+ { key: 'center-contain', text: 'center-contain' },
12
+ ];
13
+ //# sourceMappingURL=IModernPage.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IModernPage.js","sourceRoot":"","sources":["../../../../../src/components/molecules/ModernPages/Interfaces/IModernPage.ts"],"names":[],"mappings":"AAOA,MAAM,CAAC,MAAM,YAAY,GAA2B;IAClD,EAAE,GAAG,EAAE,aAAa,EAAE,IAAI,EAAE,wBAAwB,EAAE;IACtD,EAAE,GAAG,EAAE,gBAAgB,EAAE,IAAI,EAAE,WAAW,EAAE;IAC5C,EAAE,GAAG,EAAE,KAAK,EAAE,IAAI,EAAE,2BAA2B,EAAE;CAClD,CAAC;AAIF,MAAM,CAAC,MAAM,aAAa,GAA2B;IACnD,EAAE,GAAG,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE;IACjC,EAAE,GAAG,EAAE,SAAS,EAAE,IAAI,EAAE,SAAS,EAAE;IACnC,EAAE,GAAG,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE;IAC/B,EAAE,GAAG,EAAE,cAAc,EAAE,IAAI,EAAE,cAAc,EAAE;IAC7C,EAAE,GAAG,EAAE,gBAAgB,EAAE,IAAI,EAAE,gBAAgB,EAAE;CAClD,CAAC"}
@@ -27,6 +27,7 @@ export interface ISourceSearch {
27
27
  searchPlural: boolean;
28
28
  searchType: boolean;
29
29
  showDetails: boolean;
30
+ history: string[];
30
31
  itemsPerPage: number;
31
32
  showItemType: boolean;
32
33
  }
@@ -1 +1 @@
1
- {"version":3,"file":"ISourceSearch.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/SearchPage/Interfaces/ISourceSearch.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAI9D;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;CACrB;AAGD,MAAM,WAAW,aAAa;IAC5B,WAAW,EAAE,OAAO,CAAC;IACrB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,WAAW,EAAE,MAAM,EAAE,CAAC;IAEtB,OAAO,EAAE,aAAa,EAAE,CAAC;IAEzB,KAAK,EAAE,cAAc,EAAE,CAAC;CAczB;AAED,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,aAAa,CAAC;IACpB,GAAG,EAAE,aAAa,CAAC;IACnB,IAAI,EAAE,aAAa,CAAC;IAEpB,YAAY,EAAE,OAAO,CAAC;IACtB,UAAU,EAAE,OAAO,CAAC;IACpB,WAAW,EAAE,OAAO,CAAC;IAerB,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,OAAO,CAAC;CACvB"}
1
+ {"version":3,"file":"ISourceSearch.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/SearchPage/Interfaces/ISourceSearch.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAI9D;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;CACrB;AAGD,MAAM,WAAW,aAAa;IAC5B,WAAW,EAAE,OAAO,CAAC;IACrB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,WAAW,EAAE,MAAM,EAAE,CAAC;IAEtB,OAAO,EAAE,aAAa,EAAE,CAAC;IAEzB,KAAK,EAAE,cAAc,EAAE,CAAC;CAczB;AAED,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,aAAa,CAAC;IACpB,GAAG,EAAE,aAAa,CAAC;IACnB,IAAI,EAAE,aAAa,CAAC;IAEpB,YAAY,EAAE,OAAO,CAAC;IACtB,UAAU,EAAE,OAAO,CAAC;IACpB,WAAW,EAAE,OAAO,CAAC;IAUrB,OAAO,EAAE,MAAM,EAAE,CAAC;IAMlB,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,OAAO,CAAC;CACvB"}
@@ -0,0 +1,18 @@
1
+ import * as React from 'react';
2
+ export type ISourceSearchLayout = 'flex' | 'block';
3
+ export interface ISourceSearchHookProps {
4
+ searchText: string;
5
+ searchTime: number;
6
+ layout?: ISourceSearchLayout;
7
+ _onSearchChange(event?: React.ChangeEvent<HTMLInputElement>, NewSearch?: string): void;
8
+ _updateFirstLastVisible(firstVisible: number, lastVisible: number): void;
9
+ preArrowsEle?: JSX.Element;
10
+ postArrowsEle?: JSX.Element;
11
+ resetArrows: any;
12
+ itemsPerPage: number;
13
+ debugMode: boolean;
14
+ itemCount: number;
15
+ }
16
+ declare const SourceSearchHook: React.FC<ISourceSearchHookProps>;
17
+ export default SourceSearchHook;
18
+ //# sourceMappingURL=SearchBoxRow.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SearchBoxRow.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/SearchPage/component/SearchBoxRow.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AA6B/B,MAAM,MAAM,mBAAmB,GAAG,MAAM,GAAG,OAAO,CAAC;AAEnD,MAAM,WAAW,sBAAsB;IACrC,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,mBAAmB,CAAC;IAE7B,eAAe,CAAE,KAAK,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC,gBAAgB,CAAC,EAAE,SAAS,CAAC,EAAE,MAAM,GAAK,IAAI,CAAC;IAC1F,uBAAuB,CAAE,YAAY,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,GAAK,IAAI,CAAC;IAE5E,YAAY,CAAC,EAAE,GAAG,CAAC,OAAO,CAAC;IAC3B,aAAa,CAAC,EAAE,GAAG,CAAC,OAAO,CAAC;IAE5B,WAAW,EAAE,GAAG,CAAC;IAEjB,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,OAAO,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;CAEnB;AAED,QAAA,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CA4CtD,CAAA;AAED,eAAe,gBAAgB,CAAC"}
@@ -0,0 +1,25 @@
1
+ import * as React from 'react';
2
+ // import styles from './SourceSearch.module.scss';
3
+ import { SearchBox } from 'office-ui-fabric-react/lib/SearchBox';
4
+ import PageArrows from '../../Arrows/PageArrows';
5
+ require('./searchBoxRow.css');
6
+ const SourceSearchHook = (props) => {
7
+ const { searchText, searchTime, _onSearchChange, _updateFirstLastVisible, debugMode, resetArrows, itemsPerPage, itemCount, } = props;
8
+ // I don't think checking counts will work here as
9
+ // NOTE this itemCount <= itemsPerPage should be verified with -1, -= +1 actual items.
10
+ // const pageArrows = itemCount <= itemsPerPage ? undefined : <PageArrows
11
+ const pageArrows = React.createElement(PageArrows, { itemCount: itemCount, itemsPerPage: itemsPerPage, setParentStateFirstLast: _updateFirstLastVisible.bind(this), debugMode: debugMode, fontSize: 20, resetArrows: resetArrows, pageArrowStyles: props.layout === 'block' ? { paddingLeft: '0px' } : {} });
12
+ const containerClass = props.layout === 'block' ? 'searchContainerBlock' : 'searchContainerFlex';
13
+ /*https://developer.microsoft.com/en-us/fabric#/controls/web/searchbox*/
14
+ const searchBox = React.createElement("div", { className: [containerClass].join(' ') },
15
+ React.createElement(SearchBox, { className: 'searchBox', styles: { root: { maxWidth: 250 } }, placeholder: "Search", value: searchText, onSearch: _onSearchChange, onFocus: () => console.log('onFocus called'), onBlur: () => console.log('onBlur called'), onChange: _onSearchChange, onClear: _onSearchChange }),
16
+ React.createElement("div", { className: 'searchStatus' },
17
+ 'Searching ' + itemCount + ' items',
18
+ searchTime === null ? '' : ' ~ Time ' + searchTime + ' ms'),
19
+ props.preArrowsEle ? props.preArrowsEle : undefined,
20
+ pageArrows,
21
+ props.postArrowsEle ? props.postArrowsEle : undefined);
22
+ return (searchBox);
23
+ };
24
+ export default SourceSearchHook;
25
+ //# sourceMappingURL=SearchBoxRow.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SearchBoxRow.js","sourceRoot":"","sources":["../../../../../src/components/molecules/SearchPage/component/SearchBoxRow.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,mDAAmD;AAEnD,OAAO,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAC;AAEjE,OAAO,UAAU,MAAM,yBAAyB,CAAC;AAEjD,OAAO,CAAG,oBAAoB,CAAC,CAAC;AA2ChC,MAAM,gBAAgB,GAAqC,CAAE,KAAK,EAAG,EAAE;IAErE,MAAM,EAAE,UAAU,EAAE,UAAU,EAAE,eAAe,EAAE,uBAAuB,EAAE,SAAS,EAAE,WAAW,EAAE,YAAY,EAAE,SAAS,GAAG,GAAG,KAAK,CAAC;IAErI,kDAAkD;IAClD,sFAAsF;IACtF,yEAAyE;IACzE,MAAM,UAAU,GAAG,oBAAC,UAAU,IAC5B,SAAS,EAAK,SAAS,EACvB,YAAY,EAAK,YAAY,EAC7B,uBAAuB,EAAK,uBAAuB,CAAC,IAAI,CAAC,IAAI,CAAC,EAC9D,SAAS,EAAK,SAAS,EACvB,QAAQ,EAAK,EAAE,EACf,WAAW,EAAK,WAAW,EAC3B,eAAe,EAAK,KAAK,CAAC,MAAM,KAAK,OAAO,CAAC,CAAC,CAAC,EAAE,WAAW,EAAE,KAAK,EAAE,CAAC,CAAC,CAAC,EAAE,GAC1E,CAAC;IAEH,MAAM,cAAc,GAAG,KAAK,CAAC,MAAM,KAAK,OAAO,CAAC,CAAC,CAAC,sBAAsB,CAAC,CAAC,CAAC,qBAAqB,CAAC;IACjG,wEAAwE;IACxE,MAAM,SAAS,GACb,6BAAK,SAAS,EAAG,CAAE,cAAc,CAAE,CAAC,IAAI,CAAC,GAAG,CAAC;QAC3C,oBAAC,SAAS,IACR,SAAS,EAAG,WAAW,EACvB,MAAM,EAAG,EAAE,IAAI,EAAE,EAAE,QAAQ,EAAC,GAAG,EAAE,EAAE,EACnC,WAAW,EAAC,QAAQ,EACpB,KAAK,EAAG,UAAU,EAClB,QAAQ,EAAG,eAAe,EAC1B,OAAO,EAAG,GAAG,EAAE,CAAC,OAAO,CAAC,GAAG,CAAC,gBAAgB,CAAG,EAC/C,MAAM,EAAG,GAAG,EAAE,CAAC,OAAO,CAAC,GAAG,CAAC,eAAe,CAAC,EAC3C,QAAQ,EAAG,eAAe,EAC1B,OAAO,EAAG,eAAe,GACzB;QACF,6BAAK,SAAS,EAAG,cAAc;YAC3B,YAAY,GAAG,SAAS,GAAG,QAAQ;YACnC,UAAU,KAAK,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,UAAU,GAAG,UAAU,GAAG,KAAK,CAExD;QACJ,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS;QACnD,UAAU;QACV,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CACnD,CAAC;IAET,OAAO,CAAE,SAAS,CAAE,CAAC;AAEvB,CAAC,CAAA;AAED,eAAe,gBAAgB,CAAC"}
@@ -0,0 +1,20 @@
1
+ /**
2
+ * 2023-03-28: Originally copied from Compliance web part but is identical to
3
+ * src\webparts\alvFinMan\components\Search\functions.ts
4
+ */
5
+ import { IAnySourceItem } from "../../SourceList/IAnyContent";
6
+ import { ISearchTypes } from "../Interfaces/ISearchTypes";
7
+ /**
8
+ *
9
+ * @param startingItems
10
+ * @param text - this is the search text
11
+ * @param top - these are the selected top buttons if multi-selected
12
+ * @param left - these are the selected left buttons if multi-selected
13
+ * @param type - these are the selected type buttons if multi-selected
14
+ * @param searchStrings - these are the selected buttons if multi-selected... I think :)
15
+ * @param UseSearchTypes
16
+ * @returns
17
+ */
18
+ export declare function getFilteredItems(startingItems: IAnySourceItem[], text: string, top: string[], left: string[], type: string[], searchStrings: string[], UseSearchTypes?: ISearchTypes): IAnySourceItem[];
19
+ export declare function doesPassButtonSearch(item: IAnySourceItem, searchStrings: string[]): boolean;
20
+ //# sourceMappingURL=getFilteredV1.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getFilteredV1.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/SearchPage/functions/getFilteredV1.ts"],"names":[],"mappings":"AACA;;;GAGG;AAEH,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAG1D;;;;;;;;;;GAUG;AACH,wBAAgB,gBAAgB,CAAE,aAAa,EAAE,cAAc,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,aAAa,EAAE,MAAM,EAAE,EAAE,cAAc,GAAE,YAA0B,GAAI,cAAc,EAAE,CAmDtN;AAGD,wBAAgB,oBAAoB,CAAE,IAAI,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,EAAE,GAAK,OAAO,CAwD9F"}