@gpa-gemstone/common-pages 0.0.55 → 0.0.57

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.
@@ -13,6 +13,7 @@ interface IProps<T extends U> {
13
13
  GetAddlFields: (setAddlFields: (cols: Search.IField<T>[]) => void) => () => void;
14
14
  children: React.ReactNode;
15
15
  AddlFilters?: Search.IFilter<T>[];
16
+ StorageID?: string;
16
17
  }
17
18
  interface IOptions {
18
19
  Value: string;
package/lib/SearchBar.js CHANGED
@@ -59,7 +59,7 @@ var DefaultSearch;
59
59
  return props.GetAddlFields(setAddlFieldCols);
60
60
  }, []);
61
61
  var standardSearch = { label: 'Name', key: 'Name', type: 'string', isPivotField: false };
62
- return React.createElement(react_interactive_1.SearchBar, { CollumnList: __spreadArray(__spreadArray([], defaultSearchcols, true), addlFieldCols, true), SetFilter: function (flds) { return dispatch(props.Slice.DBSearch({ filter: (props.AddlFilters === undefined ? flds : __spreadArray(__spreadArray([], flds, true), props.AddlFilters, true)), sortField: sortField, ascending: ascending })); }, Direction: 'left', defaultCollumn: standardSearch, Width: '50%', Label: 'Search', ShowLoading: searchStatus === 'loading', ResultNote: searchStatus === 'error' ? 'Could not complete Search' : 'Found ' + data.length + ' Meter(s)', GetEnum: props.GetEnum }, props.children);
62
+ return React.createElement(react_interactive_1.SearchBar, { CollumnList: __spreadArray(__spreadArray([], defaultSearchcols, true), addlFieldCols, true), SetFilter: function (flds) { return dispatch(props.Slice.DBSearch({ filter: (props.AddlFilters === undefined ? flds : __spreadArray(__spreadArray([], flds, true), props.AddlFilters, true)), sortField: sortField, ascending: ascending })); }, Direction: 'left', defaultCollumn: standardSearch, Width: '50%', Label: 'Search', ShowLoading: searchStatus === 'loading', ResultNote: searchStatus === 'error' ? 'Could not complete Search' : 'Found ' + data.length + ' Meter(s)', GetEnum: props.GetEnum, StorageID: props.StorageID }, props.children);
63
63
  }
64
64
  DefaultSearch.Meter = Meter;
65
65
  /** This Implements a standard Substation Search */
@@ -83,7 +83,7 @@ var DefaultSearch;
83
83
  React.useEffect(function () {
84
84
  return props.GetAddlFields(setAddlFieldCols);
85
85
  }, []);
86
- return React.createElement(react_interactive_1.SearchBar, { CollumnList: __spreadArray(__spreadArray([], defaultSearchcols, true), addlFieldCols, true), SetFilter: function (flds) { return dispatch(props.Slice.DBSearch({ filter: (props.AddlFilters === undefined ? flds : __spreadArray(__spreadArray([], flds, true), props.AddlFilters, true)), sortField: sortField, ascending: ascending })); }, Direction: 'left', defaultCollumn: standardSearch, Width: '50%', Label: 'Search', ShowLoading: searchStatus === 'loading', ResultNote: searchStatus === 'error' ? 'Could not complete Search' : 'Found ' + data.length + ' Substation(s)', GetEnum: props.GetEnum }, props.children);
86
+ return React.createElement(react_interactive_1.SearchBar, { CollumnList: __spreadArray(__spreadArray([], defaultSearchcols, true), addlFieldCols, true), SetFilter: function (flds) { return dispatch(props.Slice.DBSearch({ filter: (props.AddlFilters === undefined ? flds : __spreadArray(__spreadArray([], flds, true), props.AddlFilters, true)), sortField: sortField, ascending: ascending })); }, Direction: 'left', defaultCollumn: standardSearch, Width: '50%', Label: 'Search', ShowLoading: searchStatus === 'loading', ResultNote: searchStatus === 'error' ? 'Could not complete Search' : 'Found ' + data.length + ' Substation(s)', GetEnum: props.GetEnum, StorageID: props.StorageID }, props.children);
87
87
  }
88
88
  DefaultSearch.Location = Location;
89
89
  /** This Implements a standard Transmission Asset Search */
@@ -100,20 +100,20 @@ var DefaultSearch;
100
100
  { label: 'Name', key: 'AssetName', type: 'string', isPivotField: false },
101
101
  { label: 'Voltage (kV)', key: 'VoltageKV', type: 'number', isPivotField: false },
102
102
  { label: 'Type', key: 'AssetType', type: 'enum', isPivotField: false },
103
- { label: 'Meter', key: 'Meter', type: 'string', isPivotField: false },
104
- { label: 'Substation', key: 'Location', type: 'string', isPivotField: false },
103
+ { label: 'Meter Key', key: 'Meter', type: 'string', isPivotField: false },
104
+ { label: 'Substation Key', key: 'Location', type: 'string', isPivotField: false },
105
105
  { label: 'Number of Meters', key: 'Meters', type: 'integer', isPivotField: false },
106
106
  { label: 'Number of Substations', key: 'Locations', type: 'integer', isPivotField: false },
107
107
  ];
108
108
  React.useEffect(function () {
109
109
  return props.GetAddlFields(setAddlFieldCols);
110
110
  }, []);
111
- return React.createElement(react_interactive_1.SearchBar, { CollumnList: __spreadArray(__spreadArray([], defaultSearchcols, true), addlFieldCols, true), SetFilter: function (flds) { return dispatch(props.Slice.DBSearch({ filter: (props.AddlFilters === undefined ? flds : __spreadArray(__spreadArray([], flds, true), props.AddlFilters, true)), sortField: sortField, ascending: ascending })); }, Direction: 'left', defaultCollumn: standardSearch, Width: '50%', Label: 'Search', ShowLoading: searchStatus === 'loading', ResultNote: searchStatus === 'error' ? 'Could not complete Search' : 'Found ' + data.length + ' Transmission Asset(s)', GetEnum: props.GetEnum }, props.children);
111
+ return React.createElement(react_interactive_1.SearchBar, { CollumnList: __spreadArray(__spreadArray([], defaultSearchcols, true), addlFieldCols, true), SetFilter: function (flds) { return dispatch(props.Slice.DBSearch({ filter: (props.AddlFilters === undefined ? flds : __spreadArray(__spreadArray([], flds, true), props.AddlFilters, true)), sortField: sortField, ascending: ascending })); }, Direction: 'left', defaultCollumn: standardSearch, Width: '50%', Label: 'Search', ShowLoading: searchStatus === 'loading', ResultNote: searchStatus === 'error' ? 'Could not complete Search' : 'Found ' + data.length + ' Transmission Asset(s)', GetEnum: props.GetEnum, StorageID: props.StorageID }, props.children);
112
112
  }
113
113
  DefaultSearch.Asset = Asset;
114
114
  /** This Implements a standard AssetGroup Search */
115
115
  function AssetGroup(props) {
116
- var standardSearch = { label: 'Name', key: 'AssetName', type: 'string', isPivotField: false };
116
+ var standardSearch = { label: 'Name', key: 'Name', type: 'string', isPivotField: false };
117
117
  var _a = React.useState([]), addlFieldCols = _a[0], setAddlFieldCols = _a[1];
118
118
  var dispatch = (0, react_redux_1.useDispatch)();
119
119
  var searchStatus = (0, react_redux_1.useSelector)(props.Slice.SearchStatus);
@@ -130,7 +130,7 @@ var DefaultSearch;
130
130
  React.useEffect(function () {
131
131
  return props.GetAddlFields(setAddlFieldCols);
132
132
  }, []);
133
- return React.createElement(react_interactive_1.SearchBar, { CollumnList: __spreadArray(__spreadArray([], defaultSearchcols, true), addlFieldCols, true), SetFilter: function (flds) { return dispatch(props.Slice.DBSearch({ filter: (props.AddlFilters === undefined ? flds : __spreadArray(__spreadArray([], flds, true), props.AddlFilters, true)), sortField: sortField, ascending: ascending })); }, Direction: 'left', defaultCollumn: standardSearch, Width: '50%', Label: 'Search', ShowLoading: searchStatus === 'loading', ResultNote: searchStatus === 'error' ? 'Could not complete Search' : 'Found ' + data.length + ' Asset Group(s)', GetEnum: props.GetEnum }, props.children);
133
+ return React.createElement(react_interactive_1.SearchBar, { CollumnList: __spreadArray(__spreadArray([], defaultSearchcols, true), addlFieldCols, true), SetFilter: function (flds) { return dispatch(props.Slice.DBSearch({ filter: (props.AddlFilters === undefined ? flds : __spreadArray(__spreadArray([], flds, true), props.AddlFilters, true)), sortField: sortField, ascending: ascending })); }, Direction: 'left', defaultCollumn: standardSearch, Width: '50%', Label: 'Search', ShowLoading: searchStatus === 'loading', ResultNote: searchStatus === 'error' ? 'Could not complete Search' : 'Found ' + data.length + ' Asset Group(s)', GetEnum: props.GetEnum, StorageID: props.StorageID }, props.children);
134
134
  }
135
135
  DefaultSearch.AssetGroup = AssetGroup;
136
136
  /** This Implements a standard User Search */
@@ -150,7 +150,7 @@ var DefaultSearch;
150
150
  React.useEffect(function () {
151
151
  return props.GetAddlFields(setAddlFieldCols);
152
152
  }, []);
153
- return React.createElement(react_interactive_1.SearchBar, { CollumnList: __spreadArray(__spreadArray([], defaultSearchcols, true), addlFieldCols, true), SetFilter: function (flds) { return dispatch(props.Slice.DBSearch({ filter: (props.AddlFilters === undefined ? flds : __spreadArray(__spreadArray([], flds, true), props.AddlFilters, true)), sortField: sortField, ascending: ascending })); }, Direction: 'left', defaultCollumn: standardSearch, Width: '50%', Label: 'Search', ShowLoading: searchStatus === 'loading', ResultNote: searchStatus === 'error' ? 'Could not complete Search' : 'Found ' + data.length + ' Asset Group(s)', GetEnum: props.GetEnum }, props.children);
153
+ return React.createElement(react_interactive_1.SearchBar, { CollumnList: __spreadArray(__spreadArray([], defaultSearchcols, true), addlFieldCols, true), SetFilter: function (flds) { return dispatch(props.Slice.DBSearch({ filter: (props.AddlFilters === undefined ? flds : __spreadArray(__spreadArray([], flds, true), props.AddlFilters, true)), sortField: sortField, ascending: ascending })); }, Direction: 'left', defaultCollumn: standardSearch, Width: '50%', Label: 'Search', ShowLoading: searchStatus === 'loading', ResultNote: searchStatus === 'error' ? 'Could not complete Search' : 'Found ' + data.length + ' Asset Group(s)', GetEnum: props.GetEnum, StorageID: props.StorageID }, props.children);
154
154
  }
155
155
  DefaultSearch.User = User;
156
156
  /** This Implements a standard Customer Search */
@@ -171,7 +171,7 @@ var DefaultSearch;
171
171
  React.useEffect(function () {
172
172
  return props.GetAddlFields(setAddlFieldCols);
173
173
  }, []);
174
- return React.createElement(react_interactive_1.SearchBar, { CollumnList: __spreadArray(__spreadArray([], defaultSearchcols, true), addlFieldCols, true), SetFilter: function (flds) { return dispatch(props.Slice.DBSearch({ filter: (props.AddlFilters === undefined ? flds : __spreadArray(__spreadArray([], flds, true), props.AddlFilters, true)), sortField: sortField, ascending: ascending })); }, Direction: 'left', defaultCollumn: standardSearch, Width: '50%', Label: 'Search', ShowLoading: searchStatus === 'loading', ResultNote: searchStatus === 'error' ? 'Could not complete Search' : 'Found ' + data.length + ' Customer(s)', GetEnum: props.GetEnum }, props.children);
174
+ return React.createElement(react_interactive_1.SearchBar, { CollumnList: __spreadArray(__spreadArray([], defaultSearchcols, true), addlFieldCols, true), SetFilter: function (flds) { return dispatch(props.Slice.DBSearch({ filter: (props.AddlFilters === undefined ? flds : __spreadArray(__spreadArray([], flds, true), props.AddlFilters, true)), sortField: sortField, ascending: ascending })); }, Direction: 'left', defaultCollumn: standardSearch, Width: '50%', Label: 'Search', ShowLoading: searchStatus === 'loading', ResultNote: searchStatus === 'error' ? 'Could not complete Search' : 'Found ' + data.length + ' Customer(s)', GetEnum: props.GetEnum, StorageID: props.StorageID }, props.children);
175
175
  }
176
176
  DefaultSearch.Customer = Customer;
177
177
  })(DefaultSearch = exports.DefaultSearch || (exports.DefaultSearch = {}));
@@ -1,5 +1,5 @@
1
- /// <reference types="react" />
2
1
  import { Column } from "@gpa-gemstone/react-table";
2
+ import React = require("react");
3
3
  import { GenericSlice, Search } from "@gpa-gemstone/react-interactive";
4
4
  import { Application, OpenXDA, SystemCenter } from "@gpa-gemstone/application-typings";
5
5
  interface U {
@@ -17,6 +17,8 @@ interface IProps<T extends U> {
17
17
  GetAddlFields: (setAddlFields: (cols: Search.IField<T>[]) => void) => () => void;
18
18
  AddlFilters?: Search.IFilter<T>[];
19
19
  MinSelection?: number;
20
+ children?: React.ReactNode;
21
+ StorageID?: string;
20
22
  }
21
23
  interface IOptions {
22
24
  Value: string;
@@ -41,32 +41,50 @@ var DefaultSelects;
41
41
  (function (DefaultSelects) {
42
42
  /** This Implements a standard Meter Selection Modal */
43
43
  function Meter(props) {
44
- return React.createElement(StandardSelectPopup_1.default, __assign({}, props, { Searchbar: function (children) { return React.createElement(SearchBar_1.DefaultSearch.Meter, { Slice: props.Slice, GetAddlFields: props.GetAddlFields, GetEnum: props.GetEnum, AddlFilters: props.AddlFilters }, children); } }));
44
+ return React.createElement(StandardSelectPopup_1.default, __assign({}, props, { Searchbar: function (children) { return React.createElement(SearchBar_1.DefaultSearch.Meter, { Slice: props.Slice, GetAddlFields: props.GetAddlFields, GetEnum: props.GetEnum, StorageID: props.StorageID, AddlFilters: props.AddlFilters }, children); } }),
45
+ " ",
46
+ props.children,
47
+ " ");
45
48
  }
46
49
  DefaultSelects.Meter = Meter;
47
50
  /** This Implements a standard Substation Selection Modal */
48
51
  function Location(props) {
49
- return React.createElement(StandardSelectPopup_1.default, __assign({}, props, { Searchbar: function (children) { return React.createElement(SearchBar_1.DefaultSearch.Location, { Slice: props.Slice, GetAddlFields: props.GetAddlFields, GetEnum: props.GetEnum, AddlFilters: props.AddlFilters }, children); } }));
52
+ return React.createElement(StandardSelectPopup_1.default, __assign({}, props, { Searchbar: function (children) { return React.createElement(SearchBar_1.DefaultSearch.Location, { Slice: props.Slice, GetAddlFields: props.GetAddlFields, GetEnum: props.GetEnum, StorageID: props.StorageID, AddlFilters: props.AddlFilters }, children); } }),
53
+ " ",
54
+ props.children,
55
+ " ");
50
56
  }
51
57
  DefaultSelects.Location = Location;
52
58
  /** This Implements a standard Transmission Asset Selection Modal */
53
59
  function Asset(props) {
54
- return React.createElement(StandardSelectPopup_1.default, __assign({}, props, { Searchbar: function (children) { return React.createElement(SearchBar_1.DefaultSearch.Asset, { Slice: props.Slice, GetAddlFields: props.GetAddlFields, GetEnum: props.GetEnum, AddlFilters: props.AddlFilters }, children); } }));
60
+ return React.createElement(StandardSelectPopup_1.default, __assign({}, props, { Searchbar: function (children) { return React.createElement(SearchBar_1.DefaultSearch.Asset, { Slice: props.Slice, GetAddlFields: props.GetAddlFields, GetEnum: props.GetEnum, StorageID: props.StorageID, AddlFilters: props.AddlFilters }, children); } }),
61
+ " ",
62
+ props.children,
63
+ " ");
55
64
  }
56
65
  DefaultSelects.Asset = Asset;
57
66
  /** This Implements a standard Asset Group Selection Modal */
58
67
  function AssetGroup(props) {
59
- return React.createElement(StandardSelectPopup_1.default, __assign({}, props, { Searchbar: function (children) { return React.createElement(SearchBar_1.DefaultSearch.AssetGroup, { Slice: props.Slice, GetAddlFields: props.GetAddlFields, GetEnum: props.GetEnum, AddlFilters: props.AddlFilters }, children); } }));
68
+ return React.createElement(StandardSelectPopup_1.default, __assign({}, props, { Searchbar: function (children) { return React.createElement(SearchBar_1.DefaultSearch.AssetGroup, { Slice: props.Slice, GetAddlFields: props.GetAddlFields, GetEnum: props.GetEnum, StorageID: props.StorageID, AddlFilters: props.AddlFilters }, children); } }),
69
+ " ",
70
+ props.children,
71
+ " ");
60
72
  }
61
73
  DefaultSelects.AssetGroup = AssetGroup;
62
74
  /** This Implements a standard User Selection Modal */
63
75
  function User(props) {
64
- return React.createElement(StandardSelectPopup_1.default, __assign({}, props, { Searchbar: function (children) { return React.createElement(SearchBar_1.DefaultSearch.User, { Slice: props.Slice, GetAddlFields: props.GetAddlFields, GetEnum: props.GetEnum, AddlFilters: props.AddlFilters }, children); } }));
76
+ return React.createElement(StandardSelectPopup_1.default, __assign({}, props, { Searchbar: function (children) { return React.createElement(SearchBar_1.DefaultSearch.User, { Slice: props.Slice, GetAddlFields: props.GetAddlFields, GetEnum: props.GetEnum, StorageID: props.StorageID, AddlFilters: props.AddlFilters }, children); } }),
77
+ " ",
78
+ props.children,
79
+ " ");
65
80
  }
66
81
  DefaultSelects.User = User;
67
82
  /** This Implements a standard Customer Selection Modal */
68
83
  function Customer(props) {
69
- return React.createElement(StandardSelectPopup_1.default, __assign({}, props, { Searchbar: function (children) { return React.createElement(SearchBar_1.DefaultSearch.Customer, { Slice: props.Slice, GetAddlFields: props.GetAddlFields, GetEnum: props.GetEnum, AddlFilters: props.AddlFilters }, children); } }));
84
+ return React.createElement(StandardSelectPopup_1.default, __assign({}, props, { Searchbar: function (children) { return React.createElement(SearchBar_1.DefaultSearch.Customer, { Slice: props.Slice, GetAddlFields: props.GetAddlFields, GetEnum: props.GetEnum, StorageID: props.StorageID, AddlFilters: props.AddlFilters }, children); } }),
85
+ " ",
86
+ props.children,
87
+ " ");
70
88
  }
71
89
  DefaultSelects.Customer = Customer;
72
90
  })(DefaultSelects = exports.DefaultSelects || (exports.DefaultSelects = {}));
@@ -4,20 +4,20 @@ import { ActionCreatorWithPayload, AsyncThunk, ActionCreatorWithoutPayload } fro
4
4
  declare type DBAction = 'POST' | 'DELETE' | 'PATCH';
5
5
  export declare type UserValidation = 'Resolving' | 'Valid' | 'Invalid' | 'Unknown';
6
6
  export interface IGenericSlice<T> {
7
- Fetch: (AsyncThunk<any, void | number, {}>);
7
+ Fetch: (AsyncThunk<any, void | number | string, {}>);
8
8
  DBAction: (AsyncThunk<any, {
9
9
  verb: DBAction;
10
10
  record: T;
11
11
  }, {}>);
12
- Sort: ActionCreatorWithPayload<{
12
+ Sort: AsyncThunk<any, {
13
13
  SortField: keyof T;
14
14
  Ascending: boolean;
15
- }, string>;
15
+ }, {}>;
16
16
  Data: (state: any) => T[];
17
17
  Status: (state: any) => Application.Types.Status;
18
18
  SortField: (state: any) => keyof T;
19
19
  Ascending: (state: any) => boolean;
20
- ParentID?: (state: any) => number | null;
20
+ ParentID?: (state: any) => number | string;
21
21
  }
22
22
  export interface ISearchableSlice<T> extends IGenericSlice<T> {
23
23
  DBSearch: (AsyncThunk<any, {
@@ -14,6 +14,7 @@ interface IProps<T extends U> {
14
14
  Columns: Column<T>[];
15
15
  Title: string;
16
16
  MinSelection?: number;
17
+ children?: React.ReactNode;
17
18
  }
18
19
  export default function SelectPopup<T extends U>(props: IProps<T>): JSX.Element;
19
20
  export {};
@@ -59,14 +59,20 @@ function SelectPopup(props) {
59
59
  props.MinSelection,
60
60
  " items must be selected. ") },
61
61
  React.createElement("div", { className: "row" },
62
- React.createElement("div", { className: "col" }, props.Searchbar(props.Type === 'multiple' ? React.createElement("li", { className: "nav-item", style: { width: '20%', paddingRight: 10 } },
63
- React.createElement("fieldset", { className: "border", style: { padding: '10px', height: '100%' } },
64
- React.createElement("legend", { className: "w-auto", style: { fontSize: 'large' } }, "Quick Selects:"),
65
- React.createElement("form", null,
66
- React.createElement("div", { className: "form-group" },
67
- React.createElement("div", { className: "btn btn-primary", onClick: function (event) { event.preventDefault(); AddCurrentList(); } }, "Add Current List to Selection")),
68
- React.createElement("div", { className: "form-group" },
69
- React.createElement("div", { className: "btn btn-danger", onClick: function (event) { event.preventDefault(); setSelectedData([]); } }, "Remove All"))))) : null))),
62
+ React.createElement("div", { className: "col" }, props.Searchbar(React.createElement(React.Fragment, null,
63
+ props.Type === 'multiple' ? React.createElement("li", { className: "nav-item", style: { width: '20%', paddingRight: 10 } },
64
+ React.createElement("fieldset", { className: "border", style: { padding: '10px', height: '100%' } },
65
+ React.createElement("legend", { className: "w-auto", style: { fontSize: 'large' } }, "Quick Selects:"),
66
+ React.createElement("form", null,
67
+ React.createElement("div", { className: "form-group" },
68
+ React.createElement("div", { className: "btn btn-primary", onClick: function (event) { event.preventDefault(); AddCurrentList(); } }, "Add Current List to Selection")),
69
+ React.createElement("div", { className: "form-group" },
70
+ React.createElement("div", { className: "btn btn-danger", onClick: function (event) { event.preventDefault(); setSelectedData([]); } }, "Remove All"))))) : null,
71
+ React.Children.map(props.children, function (e) {
72
+ if (React.isValidElement(e))
73
+ return e;
74
+ return null;
75
+ }))))),
70
76
  React.createElement("div", { className: "row" },
71
77
  React.createElement("div", { className: "col", style: { width: (props.Type === undefined || props.Type === 'single' ? '100%' : '60%') } },
72
78
  React.createElement(react_table_1.default, { cols: props.Columns, tableClass: "table table-hover", data: data, sortKey: sortField, ascending: ascending, onSort: function (d) {
@@ -77,7 +83,12 @@ function SelectPopup(props) {
77
83
  else {
78
84
  dispatch(props.Slice.Sort({ SortField: d.colField, Ascending: true }));
79
85
  }
80
- }, onClick: function (d) { return setSelectedData(__spreadArray(__spreadArray([], selectedData.filter(function (item) { return item.ID !== d.row.ID; }), true), [d.row], false)); }, theadStyle: { fontSize: 'smaller', display: 'table', tableLayout: 'fixed', width: '100%' }, tbodyStyle: { display: 'block', overflowY: 'scroll', maxHeight: '400px', width: '100%' }, rowStyle: { fontSize: 'smaller', display: 'table', tableLayout: 'fixed', width: '100%' }, selected: props.Type === undefined || props.Type === 'single' ? function (item) { return selectedData.findIndex(function (d) { return d.ID === item.ID; }) > -1; } : function (item) { return false; } })),
86
+ }, onClick: function (d) {
87
+ if (props.Type === undefined || props.Type === 'single')
88
+ setSelectedData([d.row]);
89
+ else
90
+ setSelectedData(function (s) { return __spreadArray(__spreadArray([], s.filter(function (item) { return item.ID !== d.row.ID; }), true), [d.row], false); });
91
+ }, theadStyle: { fontSize: 'smaller', display: 'table', tableLayout: 'fixed', width: '100%' }, tbodyStyle: { display: 'block', overflowY: 'scroll', maxHeight: '400px', width: '100%' }, rowStyle: { fontSize: 'smaller', display: 'table', tableLayout: 'fixed', width: '100%' }, selected: function (item) { return selectedData.findIndex(function (d) { return d.ID === item.ID; }) > -1; } })),
81
92
  props.Type === 'multiple' ? React.createElement("div", { className: "col", style: { width: '40%' } },
82
93
  React.createElement("div", { style: { width: '100%' } },
83
94
  React.createElement("h3", null, " Current Selection ")),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gpa-gemstone/common-pages",
3
- "version": "0.0.55",
3
+ "version": "0.0.57",
4
4
  "description": "Common UI pages for GPA products",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -47,11 +47,11 @@
47
47
  "typescript": "4.4.4"
48
48
  },
49
49
  "dependencies": {
50
- "@gpa-gemstone/application-typings": "0.0.49",
50
+ "@gpa-gemstone/application-typings": "0.0.51",
51
51
  "@gpa-gemstone/gpa-symbols": "0.0.23",
52
52
  "@gpa-gemstone/helper-functions": "0.0.17",
53
- "@gpa-gemstone/react-forms": "1.1.32",
54
- "@gpa-gemstone/react-interactive": "1.0.69",
53
+ "@gpa-gemstone/react-forms": "1.1.33",
54
+ "@gpa-gemstone/react-interactive": "1.0.71",
55
55
  "@gpa-gemstone/react-table": "1.2.19",
56
56
  "@reduxjs/toolkit": "1.8.3",
57
57
  "crypto-js": "4.0.0",