@mikezimm/fps-library-v2 1.0.31 → 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 (131) hide show
  1. package/CHANGELOG.md +13 -1
  2. package/lib/banner/FPSWebPartClass/BuildBannerPropsX2.js +1 -1
  3. package/lib/banner/FPSWebPartClass/BuildBannerPropsX2.js.map +1 -1
  4. package/lib/banner/FPSWebPartClass/runOnPropChange.d.ts.map +1 -1
  5. package/lib/banner/FPSWebPartClass/runOnPropChange.js +25 -0
  6. package/lib/banner/FPSWebPartClass/runOnPropChange.js.map +1 -1
  7. package/lib/banner/components/EasyPages/functions.d.ts +1 -1
  8. package/lib/banner/components/EasyPages/functions.d.ts.map +1 -1
  9. package/lib/banner/components/SpecialBanner/component.d.ts +1 -1
  10. package/lib/banner/components/SpecialBanner/component.d.ts.map +1 -1
  11. package/lib/banner/features/Expando/functions.d.ts +1 -1
  12. package/lib/banner/features/Expando/functions.d.ts.map +1 -1
  13. package/lib/banner/features/FPSDOM/FPSEnviro.js +2 -2
  14. package/lib/banner/features/FPSDOM/FPSEnviro.js.map +1 -1
  15. package/lib/banner/features/PageStyle/minimzeToolbar.d.ts +2 -2
  16. package/lib/banner/features/PageStyle/minimzeToolbar.d.ts.map +1 -1
  17. package/lib/banner/features/PageStyle/setAllSectionStyles.d.ts +1 -1
  18. package/lib/banner/features/PageStyle/setAllSectionStyles.d.ts.map +1 -1
  19. package/lib/banner/features/PinMe/FPSPinMenu.d.ts +1 -1
  20. package/lib/banner/features/PinMe/FPSPinMenu.d.ts.map +1 -1
  21. package/lib/banner/mainReact/IWebpartBannerProps.d.ts +1 -1
  22. package/lib/banner/mainReact/IWebpartBannerProps.d.ts.map +1 -1
  23. package/lib/banner/propPane/controls.d.ts +1 -1
  24. package/lib/banner/propPane/controls.d.ts.map +1 -1
  25. package/lib/common/interfaces/openSource/spfxControlsReact/@3.7.2/IViewField.d.ts +139 -0
  26. package/lib/common/interfaces/openSource/spfxControlsReact/@3.7.2/IViewField.d.ts.map +1 -0
  27. package/lib/common/interfaces/openSource/spfxControlsReact/@3.7.2/IViewField.js +2 -0
  28. package/lib/common/interfaces/openSource/spfxControlsReact/@3.7.2/IViewField.js.map +1 -0
  29. package/lib/components/atoms/Elements/basic.d.ts +1 -1
  30. package/lib/components/atoms/Elements/basic.d.ts.map +1 -1
  31. package/lib/components/molecules/Accordion/Accordion.d.ts +24 -0
  32. package/lib/components/molecules/Accordion/Accordion.d.ts.map +1 -0
  33. package/lib/components/molecules/Accordion/Accordion.js +55 -0
  34. package/lib/components/molecules/Accordion/Accordion.js.map +1 -0
  35. package/lib/components/molecules/Arrows/PageArrows.d.ts +44 -0
  36. package/lib/components/molecules/Arrows/PageArrows.d.ts.map +1 -0
  37. package/lib/components/molecules/Arrows/PageArrows.js +134 -0
  38. package/lib/components/molecules/Arrows/PageArrows.js.map +1 -0
  39. package/lib/components/molecules/Performance/tables.d.ts +1 -1
  40. package/lib/components/molecules/Performance/tables.d.ts.map +1 -1
  41. package/lib/components/molecules/PropPaneCols/PropPaneCols.module.scss.d.ts +3 -0
  42. package/lib/components/molecules/PropPaneCols/PropPaneCols.module.scss.d.ts.map +1 -0
  43. package/lib/components/molecules/PropPaneCols/PropPaneCols.module.scss.js +6 -0
  44. package/lib/components/molecules/PropPaneCols/PropPaneCols.module.scss.js.map +1 -0
  45. package/lib/components/molecules/PropPaneCols/PropPaneColsClass.d.ts +42 -0
  46. package/lib/components/molecules/PropPaneCols/PropPaneColsClass.d.ts.map +1 -0
  47. package/lib/components/molecules/PropPaneCols/PropPaneColsClass.js +240 -0
  48. package/lib/components/molecules/PropPaneCols/PropPaneColsClass.js.map +1 -0
  49. package/lib/components/molecules/PropPaneCols/PropPaneColsHook.d.ts +1 -0
  50. package/lib/components/molecules/PropPaneCols/PropPaneColsHook.d.ts.map +1 -0
  51. package/lib/components/molecules/PropPaneCols/PropPaneColsHook.js +135 -0
  52. package/lib/components/molecules/PropPaneCols/PropPaneColsHook.js.map +1 -0
  53. package/lib/components/molecules/PropPaneCols/components/FieldPanel.d.ts +10 -0
  54. package/lib/components/molecules/PropPaneCols/components/FieldPanel.d.ts.map +1 -0
  55. package/lib/components/molecules/PropPaneCols/components/FieldPanel.js +43 -0
  56. package/lib/components/molecules/PropPaneCols/components/FieldPanel.js.map +1 -0
  57. package/lib/components/molecules/PropPaneCols/components/IPropPaneColsProps.d.ts +87 -0
  58. package/lib/components/molecules/PropPaneCols/components/IPropPaneColsProps.d.ts.map +1 -0
  59. package/lib/components/molecules/PropPaneCols/components/IPropPaneColsProps.js +2 -0
  60. package/lib/components/molecules/PropPaneCols/components/IPropPaneColsProps.js.map +1 -0
  61. package/lib/components/molecules/PropPaneCols/components/OnClickHelpers.d.ts +18 -0
  62. package/lib/components/molecules/PropPaneCols/components/OnClickHelpers.d.ts.map +1 -0
  63. package/lib/components/molecules/PropPaneCols/components/OnClickHelpers.js +120 -0
  64. package/lib/components/molecules/PropPaneCols/components/OnClickHelpers.js.map +1 -0
  65. package/lib/components/molecules/PropPaneCols/components/command/Accordion.d.ts +17 -0
  66. package/lib/components/molecules/PropPaneCols/components/command/Accordion.d.ts.map +1 -0
  67. package/lib/components/molecules/PropPaneCols/components/command/Accordion.js +229 -0
  68. package/lib/components/molecules/PropPaneCols/components/command/Accordion.js.map +1 -0
  69. package/lib/components/molecules/PropPaneCols/components/command/IAccordion.d.ts +69 -0
  70. package/lib/components/molecules/PropPaneCols/components/command/IAccordion.d.ts.map +1 -0
  71. package/lib/components/molecules/PropPaneCols/components/command/IAccordion.js +73 -0
  72. package/lib/components/molecules/PropPaneCols/components/command/IAccordion.js.map +1 -0
  73. package/lib/components/molecules/PropPaneCols/components/command/SampleDesign copy.d.ts +9 -0
  74. package/lib/components/molecules/PropPaneCols/components/command/SampleDesign copy.d.ts.map +1 -0
  75. package/lib/components/molecules/PropPaneCols/components/command/SampleDesign copy.js +61 -0
  76. package/lib/components/molecules/PropPaneCols/components/command/SampleDesign copy.js.map +1 -0
  77. package/lib/components/molecules/PropPaneCols/components/command/SampleDesign.d.ts +10 -0
  78. package/lib/components/molecules/PropPaneCols/components/command/SampleDesign.d.ts.map +1 -0
  79. package/lib/components/molecules/PropPaneCols/components/command/SampleDesign.js +66 -0
  80. package/lib/components/molecules/PropPaneCols/components/command/SampleDesign.js.map +1 -0
  81. package/lib/components/molecules/PropPaneCols/components/command/createLogic.d.ts +13 -0
  82. package/lib/components/molecules/PropPaneCols/components/command/createLogic.d.ts.map +1 -0
  83. package/lib/components/molecules/PropPaneCols/components/command/createLogic.js +397 -0
  84. package/lib/components/molecules/PropPaneCols/components/command/createLogic.js.map +1 -0
  85. package/lib/components/molecules/PropPaneCols/components/command/helpers.d.ts +2 -0
  86. package/lib/components/molecules/PropPaneCols/components/command/helpers.d.ts.map +1 -0
  87. package/lib/components/molecules/PropPaneCols/components/command/helpers.js +2 -0
  88. package/lib/components/molecules/PropPaneCols/components/command/helpers.js.map +1 -0
  89. package/lib/components/molecules/PropPaneCols/components/command/tableRows.d.ts +5 -0
  90. package/lib/components/molecules/PropPaneCols/components/command/tableRows.d.ts.map +1 -0
  91. package/lib/components/molecules/PropPaneCols/components/command/tableRows.js +25 -0
  92. package/lib/components/molecules/PropPaneCols/components/command/tableRows.js.map +1 -0
  93. package/lib/components/molecules/PropPaneCols/components/common.d.ts +4 -0
  94. package/lib/components/molecules/PropPaneCols/components/common.d.ts.map +1 -0
  95. package/lib/components/molecules/PropPaneCols/components/common.js +16 -0
  96. package/lib/components/molecules/PropPaneCols/components/common.js.map +1 -0
  97. package/lib/components/molecules/PropPaneCols/components/fetch/Pane.d.ts +11 -0
  98. package/lib/components/molecules/PropPaneCols/components/fetch/Pane.d.ts.map +1 -0
  99. package/lib/components/molecules/PropPaneCols/components/fetch/Pane.js +51 -0
  100. package/lib/components/molecules/PropPaneCols/components/fetch/Pane.js.map +1 -0
  101. package/lib/components/molecules/PropPaneCols/components/fetch/funcions.d.ts +3 -0
  102. package/lib/components/molecules/PropPaneCols/components/fetch/funcions.d.ts.map +1 -0
  103. package/lib/components/molecules/PropPaneCols/components/fetch/funcions.js +96 -0
  104. package/lib/components/molecules/PropPaneCols/components/fetch/funcions.js.map +1 -0
  105. package/lib/components/molecules/PropPaneCols/components/main/FieldTable.d.ts +14 -0
  106. package/lib/components/molecules/PropPaneCols/components/main/FieldTable.d.ts.map +1 -0
  107. package/lib/components/molecules/PropPaneCols/components/main/FieldTable.js +68 -0
  108. package/lib/components/molecules/PropPaneCols/components/main/FieldTable.js.map +1 -0
  109. package/lib/components/molecules/PropPaneCols/components/main/Pane.d.ts +13 -0
  110. package/lib/components/molecules/PropPaneCols/components/main/Pane.d.ts.map +1 -0
  111. package/lib/components/molecules/PropPaneCols/components/main/Pane.js +87 -0
  112. package/lib/components/molecules/PropPaneCols/components/main/Pane.js.map +1 -0
  113. package/lib/components/molecules/PropPaneCols/components/selected/TableHook.d.ts +9 -0
  114. package/lib/components/molecules/PropPaneCols/components/selected/TableHook.d.ts.map +1 -0
  115. package/lib/components/molecules/PropPaneCols/components/selected/TableHook.js +63 -0
  116. package/lib/components/molecules/PropPaneCols/components/selected/TableHook.js.map +1 -0
  117. package/lib/components/molecules/PropPaneCols/components/selected/functions.d.ts +5 -0
  118. package/lib/components/molecules/PropPaneCols/components/selected/functions.d.ts.map +1 -0
  119. package/lib/components/molecules/PropPaneCols/components/selected/functions.js +59 -0
  120. package/lib/components/molecules/PropPaneCols/components/selected/functions.js.map +1 -0
  121. package/lib/components/molecules/PropPaneCols/components/views/Accordion.d.ts +12 -0
  122. package/lib/components/molecules/PropPaneCols/components/views/Accordion.d.ts.map +1 -0
  123. package/lib/components/molecules/PropPaneCols/components/views/Accordion.js +29 -0
  124. package/lib/components/molecules/PropPaneCols/components/views/Accordion.js.map +1 -0
  125. package/lib/components/molecules/PropPaneCols/components/views/functions.d.ts +5 -0
  126. package/lib/components/molecules/PropPaneCols/components/views/functions.d.ts.map +1 -0
  127. package/lib/components/molecules/PropPaneCols/components/views/functions.js +133 -0
  128. package/lib/components/molecules/PropPaneCols/components/views/functions.js.map +1 -0
  129. package/lib/logic/Errors/friendly.d.ts +1 -1
  130. package/lib/logic/Errors/friendly.d.ts.map +1 -1
  131. package/package.json +1 -1
@@ -0,0 +1,133 @@
1
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
2
+ import { FieldTypes } from "@pnp/sp/presets/all";
3
+ /**
4
+ * Best guess column widths based on keywords
5
+ * Applied in the order shown here
6
+ */
7
+ const Keywords200W = ['Comments',];
8
+ const Keywords200Wlc = Keywords200W.map(s => s.toLocaleLowerCase());
9
+ const Keywords50W = ['Product', 'Program', 'Customer', 'Cell', 'Line', 'Carline', 'Region', 'Country', 'State', 'Plant', 'Facility'];
10
+ const Keywords50Wlc = Keywords50W.map(s => s.toLocaleLowerCase());
11
+ const Keywords150W = ['Account', 'User', 'UserName', 'Contact',];
12
+ const Keywords150Wlc = Keywords150W.map(s => s.toLocaleLowerCase());
13
+ export function createViewFromFields(fields) {
14
+ const ViewFields = [];
15
+ return ViewFields;
16
+ }
17
+ export function createThisViewField(field) {
18
+ const returnField = {
19
+ name: field.InternalName,
20
+ displayName: field.Title,
21
+ minWidth: 50,
22
+ maxWidth: 100,
23
+ };
24
+ /**
25
+ * Over-rides based on practical experience
26
+ */
27
+ if (field.InternalName === 'ID') {
28
+ returnField.minWidth = 10;
29
+ returnField.maxWidth = 30;
30
+ returnField.linkPropertyName = 'goToPropsLink';
31
+ }
32
+ else if (field.InternalName === '_UIVersionString') {
33
+ returnField.displayName = 'Vers';
34
+ returnField.minWidth = 6;
35
+ returnField.maxWidth = 35;
36
+ }
37
+ else {
38
+ /**
39
+ * This section over-rides specific min and max widths
40
+ * Next section over-rides other key properties
41
+ */
42
+ if (Keywords200Wlc.indexOf(field.Title.toLocaleLowerCase()) > -1) {
43
+ returnField.minWidth = 150;
44
+ returnField.maxWidth = 200;
45
+ }
46
+ else if (Keywords150Wlc.indexOf(field.Title.toLocaleLowerCase()) > -1) {
47
+ returnField.minWidth = 100;
48
+ returnField.maxWidth = 150;
49
+ }
50
+ else if (Keywords50Wlc.indexOf(field.Title.toLocaleLowerCase()) > -1) {
51
+ returnField.minWidth = 40;
52
+ returnField.maxWidth = 75;
53
+ }
54
+ else {
55
+ switch (field.FieldTypeKind) {
56
+ case FieldTypes.Text:
57
+ // If it's single line of text, max length is 10*characters with max of 175
58
+ returnField.maxWidth = field.MaxLength ? Math.min(field.MaxLength * 10, 175) : returnField.maxWidth;
59
+ break;
60
+ case FieldTypes.Note:
61
+ // If it's single line of text, max length is 10*characters with max of 175
62
+ returnField.minWidth = 125;
63
+ returnField.maxWidth = 175;
64
+ break;
65
+ case FieldTypes.MultiChoice:
66
+ returnField.minWidth = 50;
67
+ returnField.maxWidth = 150;
68
+ break;
69
+ case FieldTypes.User:
70
+ returnField.minWidth = field.TypeAsString.indexOf('Multi') > -1 ? 100 : 50;
71
+ returnField.maxWidth = field.TypeAsString.indexOf('Multi') > -1 ? 150 : 75;
72
+ break;
73
+ case FieldTypes.Number:
74
+ case FieldTypes.Counter:
75
+ returnField.minWidth = 30;
76
+ returnField.maxWidth = 100;
77
+ break;
78
+ case FieldTypes.File:
79
+ returnField.minWidth = 100;
80
+ returnField.maxWidth = 175;
81
+ break;
82
+ case FieldTypes.URL:
83
+ returnField.maxWidth = 100;
84
+ break;
85
+ case FieldTypes.DateTime:
86
+ returnField.maxWidth = field.DisplayFormat === 0 ? 100 : 130;
87
+ break;
88
+ // case FieldTypes.Choice:
89
+ // break;
90
+ // default:
91
+ }
92
+ }
93
+ /**
94
+ * Prior section over-rides specific min and max widths ^^^^
95
+ * This section over-rides other key properties VVVV
96
+ */
97
+ switch (field.FieldTypeKind) {
98
+ case FieldTypes.Text:
99
+ // If it's single line of text, max length is 10*characters with max of 175
100
+ break;
101
+ case FieldTypes.Note:
102
+ // If it's single line of text, max length is 10*characters with max of 175
103
+ break;
104
+ case FieldTypes.MultiChoice:
105
+ break;
106
+ case FieldTypes.User:
107
+ returnField.name = `${field.InternalName}/Title`;
108
+ break;
109
+ case FieldTypes.Number:
110
+ case FieldTypes.Counter:
111
+ break;
112
+ case FieldTypes.File:
113
+ returnField.displayName = 'File';
114
+ returnField.linkPropertyName = 'FileRef';
115
+ break;
116
+ case FieldTypes.URL:
117
+ // Other options for URL fields .name property ( determines what the link text is, not the url)
118
+ //"Location/ShowCollUrl" "Location/ShowSitesUrl" "Location/GetLinkUrl"
119
+ returnField.name = `${field.InternalName}/ShowPageName`;
120
+ returnField.linkPropertyName = 'goToItemLink';
121
+ break;
122
+ case FieldTypes.DateTime:
123
+ //DisplayFormat 0 === Date, 1 === Date and Time
124
+ returnField.name = `${field.InternalName}/YYYY-MM-DD`;
125
+ break;
126
+ // case FieldTypes.Choice:
127
+ // break;
128
+ // default:
129
+ }
130
+ }
131
+ return returnField;
132
+ }
133
+ //# sourceMappingURL=functions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"functions.js","sourceRoot":"","sources":["../../../../../../src/components/molecules/PropPaneCols/components/views/functions.ts"],"names":[],"mappings":"AAEA,6DAA6D;AAC7D,OAAO,EAAc,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAI7D;;;GAGG;AAEH,MAAM,YAAY,GAAa,CAAE,UAAU,EAAG,CAAC;AAC/C,MAAM,cAAc,GAAa,YAAY,CAAC,GAAG,CAAE,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,iBAAiB,EAAE,CAAC,CAAC;AAE/E,MAAM,WAAW,GAAa,CAAE,SAAS,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,QAAQ,EAAE,SAAS,EAAE,OAAO,EAAE,OAAO,EAAE,UAAU,CAAE,CAAC;AACjJ,MAAM,aAAa,GAAa,WAAW,CAAC,GAAG,CAAE,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,iBAAiB,EAAE,CAAC,CAAC;AAE7E,MAAM,YAAY,GAAa,CAAE,SAAS,EAAE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AAC,gBAAgB,GAAG,cAAc,CAAC;gBAC9C,MAAM;YAER,KAAK,UAAU,CAAC,QAAQ;gBACtB,+CAA+C;gBAC/C,WAAW,CAAC,IAAI,GAAG,GAAG,KAAK,CAAC,YAAY,aAAa,CAAC;gBAEtD,MAAM;YACR,0BAA0B;YAE1B,WAAW;YAEX,WAAW;SAEZ;KAEF;IAED,OAAO,WAAW,CAAC;AAErB,CAAC"}
@@ -18,7 +18,7 @@ import { getHelpfullErrorV2 } from '@mikezimm/npmfunctions/dist/Services/Logging
18
18
  * @param traceString : Format = webpart|analyticsWeb|analyticsList|result|text1|text2|number1|number2
19
19
  * @param logErrors : This will log any unknown errors to generic error log
20
20
  */
21
- export declare function getHelpfullErrorV2(e: any, alertMe: boolean | undefined, consoleLog: boolean | undefined, traceString: string, logErrors?: boolean): IHelpfullOutput;
21
+ export declare function getHelpfullErrorV2(e: any, alertMe: boolean, consoleLog: boolean, traceString: string, logErrors?: boolean): IHelpfullOutput;
22
22
  export declare function getHelpfullError(e: any, alertMe?: boolean, consoleLog?: boolean, logErrors?: boolean): IHelpfullOutput;
23
23
  export interface IHelpfullInput {
24
24
  e: any;
@@ -1 +1 @@
1
- {"version":3,"file":"friendly.d.ts","sourceRoot":"","sources":["../../../src/logic/Errors/friendly.ts"],"names":[],"mappings":"AACA;;;;;;;;;;;GAWG;AAEH;;;;;;;GAOG;AACH,wBAAgB,kBAAkB,CAAC,CAAC,EAAG,GAAG,EAAE,OAAO,qBAAO,EAAE,UAAU,qBAAO,EAAE,WAAW,EAAE,MAAM,EAAE,SAAS,GAAE,OAAc,GAAK,eAAe,CAKhJ;AAED,wBAAgB,gBAAgB,CAAE,CAAC,EAAG,GAAG,EAAE,OAAO,UAAO,EAAE,UAAU,UAAO,EAAE,SAAS,GAAE,OAAc,GAAI,eAAe,CAKzH;AAQD,MAAM,WAAW,cAAc;IAC7B,CAAC,EAAG,GAAG,CAAC;IACR,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,MAAM,WAAW,eAAe;IAC9B,MAAM,EAAE,GAAG,CAAC;IACZ,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;CAEpB;AAED,wBAAgB,oBAAoB,CAAE,MAAM,EAAE,cAAc,GAAK,eAAe,CAgK/E"}
1
+ {"version":3,"file":"friendly.d.ts","sourceRoot":"","sources":["../../../src/logic/Errors/friendly.ts"],"names":[],"mappings":"AACA;;;;;;;;;;;GAWG;AAEH;;;;;;;GAOG;AACH,wBAAgB,kBAAkB,CAAC,CAAC,EAAG,GAAG,EAAE,OAAO,SAAO,EAAE,UAAU,SAAO,EAAE,WAAW,EAAE,MAAM,EAAE,SAAS,GAAE,OAAc,GAAK,eAAe,CAKhJ;AAED,wBAAgB,gBAAgB,CAAE,CAAC,EAAG,GAAG,EAAE,OAAO,UAAO,EAAE,UAAU,UAAO,EAAE,SAAS,GAAE,OAAc,GAAI,eAAe,CAKzH;AAQD,MAAM,WAAW,cAAc;IAC7B,CAAC,EAAG,GAAG,CAAC;IACR,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,MAAM,WAAW,eAAe;IAC9B,MAAM,EAAE,GAAG,CAAC;IACZ,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;CAEpB;AAED,wBAAgB,oBAAoB,CAAE,MAAM,EAAE,cAAc,GAAK,eAAe,CAgK/E"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mikezimm/fps-library-v2",
3
- "version": "1.0.31",
3
+ "version": "1.0.33",
4
4
  "description": "Library of reusable typescript/javascript functions, interfaces and constants",
5
5
  "license": "MIT",
6
6
  "main": "./lib/index.js",