@mikezimm/fps-library-v2 1.0.148 → 1.0.150

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 (92) hide show
  1. package/CHANGELOG.md +52 -27
  2. package/lib/components/atoms/PersonaCard/Interfaces/IPersonaCardProps.d.ts +12 -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 +54 -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/Regex/constants.d.ts +12 -0
  77. package/lib/logic/Regex/constants.d.ts.map +1 -1
  78. package/lib/logic/Regex/constants.js +13 -0
  79. package/lib/logic/Regex/constants.js.map +1 -1
  80. package/lib/logic/Strings/getStringArrayBasic.d.ts +26 -0
  81. package/lib/logic/Strings/getStringArrayBasic.d.ts.map +1 -0
  82. package/lib/logic/Strings/getStringArrayBasic.js +42 -0
  83. package/lib/logic/Strings/getStringArrayBasic.js.map +1 -0
  84. package/lib/logic/Strings/getWordsFromString.d.ts +15 -0
  85. package/lib/logic/Strings/getWordsFromString.d.ts.map +1 -1
  86. package/lib/logic/Strings/getWordsFromString.js +29 -7
  87. package/lib/logic/Strings/getWordsFromString.js.map +1 -1
  88. package/lib/logic/Time/getFPSPrefNavLang.js +1 -1
  89. package/lib/logic/Time/getFPSPrefNavLang.js.map +1 -1
  90. package/lib/pnpjs/SourceItems/Interface.d.ts +3 -0
  91. package/lib/pnpjs/SourceItems/Interface.d.ts.map +1 -1
  92. package/package.json +2 -2
@@ -0,0 +1,54 @@
1
+ import * as React from 'react';
2
+ import { IPersonaCardProps } from './Interfaces/IPersonaCardProps';
3
+ import { IPersonaCardState } from './Interfaces/IPersonaCardState';
4
+ /**
5
+ * 2023-03-28
6
+ * VERIFY STYLES BEFORE USING IN PRODUCTION
7
+ * Migrated scss back to css from Complaince/PivotTiles
8
+ */
9
+ export declare class PersonaRow extends React.Component<IPersonaCardProps, IPersonaCardState> {
10
+ constructor(props: IPersonaCardProps);
11
+ /**
12
+ *
13
+ *
14
+ * @memberof PersonaRow
15
+ */
16
+ componentDidMount(): Promise<void>;
17
+ /**
18
+ *
19
+ *
20
+ * @param {IPersonaCardProps} prevProps
21
+ * @param {IPersonaCardState} prevState
22
+ * @memberof PersonaRow
23
+ */
24
+ componentDidUpdate(prevProps: IPersonaCardProps, prevState: IPersonaCardState): void;
25
+ /**
26
+ *
27
+ *
28
+ * @private
29
+ * @returns
30
+ * @memberof PersonaRow
31
+ */
32
+ private _LivePersonaCard;
33
+ /**
34
+ *
35
+ *
36
+ * @private
37
+ * @returns {JSX.Element}
38
+ * @memberof PersonaCard
39
+ */
40
+ private _PersonaRow;
41
+ /**
42
+ * Load SPFx component by id, SPComponentLoader is used to load the SPFx components
43
+ * @param componentId - componentId, guid of the component library
44
+ */
45
+ private _loadSPComponentById;
46
+ /**
47
+ *
48
+ *
49
+ * @returns {React.ReactElement<IPersonaCardProps>}
50
+ * @memberof PersonaCard
51
+ */
52
+ render(): React.ReactElement<IPersonaCardProps>;
53
+ }
54
+ //# sourceMappingURL=PersonaRow.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PersonaRow.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/PersonaCard/PersonaRow.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AACnE,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAmBnE;;;;GAIG;AAEH,qBAAa,UAAW,SAAQ,KAAK,CAAC,SAAS,CAC7C,iBAAiB,EACjB,iBAAiB,CAChB;gBACW,KAAK,EAAE,iBAAiB;IAKpC;;;;OAIG;IACU,iBAAiB,IAAI,OAAO,CAAC,IAAI,CAAC;IAW/C;;;;;;OAMG;IACI,kBAAkB,CACvB,SAAS,EAAE,iBAAiB,EAC5B,SAAS,EAAE,iBAAiB,GAC3B,IAAI;IAIP;;;;;;OAMG;IAEH,OAAO,CAAC,gBAAgB;IAiBxB;;;;;;OAMG;IACH,OAAO,CAAC,WAAW;IAwBnB;;;OAGG;YAEW,oBAAoB;IAelC;;;;;OAKG;IACI,MAAM,IAAI,KAAK,CAAC,YAAY,CAAC,iBAAiB,CAAC;CAavD"}
@@ -0,0 +1,116 @@
1
+ import * as React from 'react';
2
+ import { Log, Environment, EnvironmentType, } from '@microsoft/sp-core-library';
3
+ import { SPComponentLoader } from '@microsoft/sp-loader';
4
+ import { DocumentCard, DocumentCardType, } from 'office-ui-fabric-react/lib/DocumentCard';
5
+ import { getAdminIcon, getGuestIcon } from './PersonaIcons';
6
+ require('@mikezimm/fps-styles/dist/PersonaRow.css');
7
+ const EXP_SOURCE = 'SPFxDirectory';
8
+ const LIVE_PERSONA_COMPONENT_ID = '914330ee-2df2-4f6e-a858-30c23a812408';
9
+ /**
10
+ * 2023-03-28
11
+ * VERIFY STYLES BEFORE USING IN PRODUCTION
12
+ * Migrated scss back to css from Complaince/PivotTiles
13
+ */
14
+ export class PersonaRow extends React.Component {
15
+ constructor(props) {
16
+ super(props);
17
+ this.state = { livePersonaCard: undefined, pictureUrl: undefined };
18
+ }
19
+ /**
20
+ *
21
+ *
22
+ * @memberof PersonaRow
23
+ */
24
+ async componentDidMount() {
25
+ if (Environment.type !== EnvironmentType.Local) {
26
+ const sharedLibrary = await this._loadSPComponentById(LIVE_PERSONA_COMPONENT_ID);
27
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
28
+ const livePersonaCard = sharedLibrary.LivePersonaCard;
29
+ this.setState({ livePersonaCard: livePersonaCard });
30
+ }
31
+ }
32
+ /**
33
+ *
34
+ *
35
+ * @param {IPersonaCardProps} prevProps
36
+ * @param {IPersonaCardState} prevState
37
+ * @memberof PersonaRow
38
+ */
39
+ componentDidUpdate(prevProps, prevState) {
40
+ //
41
+ }
42
+ /**
43
+ *
44
+ *
45
+ * @private
46
+ * @returns
47
+ * @memberof PersonaRow
48
+ */
49
+ // eslint-disable-next-line @typescript-eslint/explicit-function-return-type
50
+ _LivePersonaCard() {
51
+ return React.createElement(this.state.livePersonaCard, {
52
+ serviceScope: this.props.context.serviceScope,
53
+ upn: this.props.profileProperties.Email,
54
+ onCardOpen: () => {
55
+ console.log('LivePersonaCard Open');
56
+ },
57
+ onCardClose: () => {
58
+ console.log('LivePersonaCard Close');
59
+ },
60
+ }, this._PersonaRow());
61
+ }
62
+ /**
63
+ *
64
+ *
65
+ * @private
66
+ * @returns {JSX.Element}
67
+ * @memberof PersonaCard
68
+ */
69
+ _PersonaRow() {
70
+ const AdminIcon = this.props.profileProperties.isSiteAdmin !== true ? false : getAdminIcon(this.props.iconSize, '20px', this.props.iconTextSize);
71
+ const GuestIcon = this.props.profileProperties.isGuest !== true ? false : getGuestIcon(this.props.iconSize, '20px', this.props.iconTextSize);
72
+ const personaContent = React.createElement("div", { className: 'inlineFlexSpaceBetween' },
73
+ this.props.profileProperties.DisplayName,
74
+ " ",
75
+ AdminIcon,
76
+ " ",
77
+ GuestIcon,
78
+ " ");
79
+ const personaClass = ['persona'].join(' ');
80
+ return (React.createElement(DocumentCard, { className: 'docCardRow', type: DocumentCardType.normal, style: {} },
81
+ React.createElement("div", { className: personaClass, style: {} }, personaContent)));
82
+ }
83
+ /**
84
+ * Load SPFx component by id, SPComponentLoader is used to load the SPFx components
85
+ * @param componentId - componentId, guid of the component library
86
+ */
87
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
88
+ async _loadSPComponentById(componentId) {
89
+ try {
90
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
91
+ const component = await SPComponentLoader.loadComponentById(componentId);
92
+ return component;
93
+ }
94
+ catch (error) {
95
+ // eslint-disable-next-line no-void
96
+ void Promise.reject(error);
97
+ // 2023-03-28: To migrate casting serviceScope as any to pass linting
98
+ Log.error(EXP_SOURCE, error, this.props.context.serviceScope);
99
+ }
100
+ }
101
+ /**
102
+ *
103
+ *
104
+ * @returns {React.ReactElement<IPersonaCardProps>}
105
+ * @memberof PersonaCard
106
+ */
107
+ render() {
108
+ const personaContainer = 'personaContainerSmall';
109
+ return (
110
+ //2020-11-24: Added for adjusting card size
111
+ React.createElement("div", { className: personaContainer, style: {} }, this.state.livePersonaCard
112
+ ? this._LivePersonaCard()
113
+ : this._PersonaRow()));
114
+ }
115
+ }
116
+ //# sourceMappingURL=PersonaRow.js.map
@@ -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,CAAC;AAI/B,OAAO,EACL,GAAG,EAAE,WAAW,EAAE,eAAe,GAClC,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAEzD,OAAO,EACL,YAAY,EACZ,gBAAgB,GACjB,MAAM,yCAAyC,CAAC;AAEjD,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE5D,OAAO,CAAC,0CAA0C,CAAC,CAAC;AAEpD,MAAM,UAAU,GAAW,eAAe,CAAC;AAC3C,MAAM,yBAAyB,GAC7B,sCAAsC,CAAC;AAEzC;;;;GAIG;AAEH,MAAM,OAAO,UAAW,SAAQ,KAAK,CAAC,SAGnC;IACD,YAAY,KAAwB;QAClC,KAAK,CAAC,KAAK,CAAC,CAAC;QAEb,IAAI,CAAC,KAAK,GAAG,EAAE,eAAe,EAAE,SAAS,EAAE,UAAU,EAAE,SAAS,EAAE,CAAC;IACrE,CAAC;IACD;;;;OAIG;IACI,KAAK,CAAC,iBAAiB;QAC5B,IAAI,WAAW,CAAC,IAAI,KAAK,eAAe,CAAC,KAAK,EAAE;YAC9C,MAAM,aAAa,GAAG,MAAM,IAAI,CAAC,oBAAoB,CACnD,yBAAyB,CAC1B,CAAC;YACF,8DAA8D;YAC9D,MAAM,eAAe,GAAQ,aAAa,CAAC,eAAe,CAAC;YAC3D,IAAI,CAAC,QAAQ,CAAC,EAAE,eAAe,EAAE,eAAe,EAAE,CAAC,CAAC;SACrD;IACH,CAAC;IAED;;;;;;OAMG;IACI,kBAAkB,CACvB,SAA4B,EAC5B,SAA4B;QAE5B,EAAE;IACJ,CAAC;IAED;;;;;;OAMG;IACH,4EAA4E;IACpE,g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,CAAC,MAAM,EAC7B,KAAK,EAAE,EAAG;YAEV,6BAAK,SAAS,EAAG,YAAY,EAC3B,KAAK,EAAE,EAAG,IAER,cAAc,CACZ,CACO,CAChB,CAAC;IACJ,CAAC;IACD;;;OAGG;IACH,8DAA8D;IACtD,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,EAA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;IACb,cAAc;IACd,cAAc;IACd,YAAY;IACZ,gBAAgB;CACjB,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { ISuggestion } from "./ISuggestion";
2
+ /**
3
+ * Originally copied from Compliance web part 2023-03-28
4
+ *
5
+ * @param suggestions
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;AAGH,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,CAqD9H"}
@@ -0,0 +1,54 @@
1
+ /**
2
+ * Originally copied from Compliance web part 2023-03-28
3
+ */
4
+ import { getStringArrayBasic } from "../../../logic/Strings/getStringArrayBasic";
5
+ export function getSuggestionsFromStrings(strings, suggestions, max = 1000) {
6
+ const results = getSuggestionsByKeys({ key: strings.join(';') }, ['key'], suggestions);
7
+ return results;
8
+ }
9
+ export function getSuggestionsByKeys(item, keys, suggestions, max = 1000) {
10
+ if (!keys || keys.length === 0)
11
+ return [];
12
+ else if (!suggestions || suggestions.length === 0)
13
+ return [];
14
+ else if (max === 0)
15
+ return [];
16
+ const results = [];
17
+ keys.map(key => {
18
+ //Exclude empty keys, if results is more than max, if the item[key] is not a string or is empty
19
+ if (key && results.length < max && item[key] && typeof item[key] === 'string') {
20
+ /**
21
+ * get array of strings only (aka words) from the item proprty
22
+ * Original code:
23
+ * const keyVals: string[] = item[key].replace(/[0-9]/g, " ").split(/\b([a-z]+)\b/gi);
24
+ *
25
+ * https://github.com/mikezimm/Compliance/issues/138
26
+ *
27
+ * Test code: resulting in ["test","i","ng","as","dfasd","asdf"]
28
+ const item = 'test1234~321i~ng as?!_$dfasd. -++[asdf];?~!&^$%...,;'
29
+ const keyVals = item.replace(/[0-9.,;:?~!&^$%+_[\]-]/g, " ").replace(/\s\s+/g, ' ').split(/\b([a-z]+)\b/gi).filter( v => v.trim() !== '' );
30
+ console.log( keyVals )
31
+ */
32
+ // const keyVals: string[] = item[key].replace(/[0-9.,;:?~!&^$%+_[\]-]/g, " ") // Should now remove any of these characters 0-9.,;?~!&^$%+_-
33
+ // .replace(/\s\s+/g, ' ') // then replace multiple spaces with single space.
34
+ // .split(/\b([a-z]+)\b/gi) // Then split into words,
35
+ // .filter( ( v: string ) => v.trim() !== '' ); // then remove spaces and empties
36
+ // Opted to use getStringArrayBasic instead of getArrayOfWordsFromString since it only needs to compare to suggestions.
37
+ const originalWords = getStringArrayBasic(item[key], true);
38
+ originalWords.map(keyval => {
39
+ let found = false;
40
+ suggestions.map((suggestion) => {
41
+ if (results.length < max && found === false)
42
+ suggestion.findsLC.map((find) => {
43
+ if (keyval.toLowerCase() === find) {
44
+ results.push(suggestion);
45
+ found = true;
46
+ }
47
+ });
48
+ });
49
+ });
50
+ }
51
+ });
52
+ return results;
53
+ }
54
+ //# 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;AAEH,OAAO,EAAE,mBAAmB,EAAE,MAAM,4CAA4C,CAAC;AAGjF,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,EAAE,WAA0B,EAAE,MAAc,IAAI;IAE5G,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,MAAM,KAAK,CAAC;QAC5B,OAAO,EAAE,CAAC;SACP,IAAI,CAAC,WAAW,IAAI,WAAW,CAAC,MAAM,KAAK,CAAC;QAC/C,OAAO,EAAE,CAAC;SACP,IAAI,GAAG,KAAK,CAAC;QAChB,OAAO,EAAE,CAAC;IAEZ,MAAM,OAAO,GAAkB,EAAE,CAAC;IAElC,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE;QACb,+FAA+F;QAC/F,IAAK,GAAG,IAAI,OAAO,CAAC,MAAM,GAAG,GAAG,IAAI,IAAI,CAAC,GAAG,CAAC,IAAI,OAAO,IAAI,CAAC,GAAG,CAAC,KAAK,QAAQ,EAAE;YAEhF;;;;;;;;;;;gBAWI;YAEF,6IAA6I;YAC7I,+GAA+G;YAC/G,sFAAsF;YACtF,+GAA+G;YAE/G,uHAAuH;YACvH,MAAM,aAAa,GAAa,mBAAmB,CAAE,IAAI,CAAC,GAAG,CAAC,EAAE,IAAI,CAAE,CAAC;YAEvE,aAAa,CAAC,GAAG,CAAC,MAAM,CAAC,EAAE;gBACzB,IAAI,KAAK,GAAY,KAAK,CAAC;gBAC3B,WAAW,CAAC,GAAG,CAAC,CAAC,UAAuB,EAAE,EAAE;oBAC1C,IAAI,OAAO,CAAC,MAAM,GAAG,GAAG,IAAI,KAAK,KAAK,KAAK;wBACzC,UAAU,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,IAAY,EAAE,EAAE;4BACtC,IAAI,MAAM,CAAC,WAAW,EAAE,KAAK,IAAI,EAAE;gCACjC,OAAO,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;gCACzB,KAAK,GAAG,IAAI,CAAC;6BACd;wBACH,CAAC,CAAC,CAAC;gBACP,CAAC,CAAC,CAAC;YACL,CAAC,CAAC,CAAC;SACJ;IACH,CAAC,CAAC,CAAC;IAEH,OAAO,OAAO,CAAC;AAEjB,CAAC"}
@@ -0,0 +1,19 @@
1
+ import { 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,CAAC,EAAE,GAAG,OAAO,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC;QACvG,MAAM,UAAU,GAAG,gBAAgB,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,GAAG,OAAO,IAAI,IAAI,IAAI,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAA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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"}