@gpa-gemstone/common-pages 0.0.132 → 0.0.134
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.
package/lib/ErrorBoundary.d.ts
CHANGED
package/lib/ErrorBoundary.js
CHANGED
@@ -77,11 +77,12 @@ var ErrorBoundary = /** @class */ (function (_super) {
|
|
77
77
|
console.warn(error);
|
78
78
|
};
|
79
79
|
ErrorBoundary.prototype.render = function () {
|
80
|
+
var _a;
|
80
81
|
if (this.state.name.length > 0) {
|
81
82
|
return (React.createElement("div", { className: "card", style: { width: this.props.Width, height: this.props.Height } },
|
82
83
|
React.createElement("div", { className: "card-header" }, this.props.HeaderErrorMessage),
|
83
|
-
React.createElement("div", { className: "card-body" },
|
84
|
-
React.createElement(react_interactive_1.ServerErrorIcon, { Show: true, Label: this.props.BodyErrorMessage, Size: 150 }))));
|
84
|
+
React.createElement("div", { className: "card-body", style: { overflowY: 'auto' } },
|
85
|
+
React.createElement(react_interactive_1.ServerErrorIcon, { Show: true, Label: this.props.BodyErrorMessage, Size: (_a = this.props.ErrorIconSize) !== null && _a !== void 0 ? _a : 150 }))));
|
85
86
|
}
|
86
87
|
else
|
87
88
|
return React.createElement(React.Fragment, null, this.props.children);
|
package/lib/Note.js
CHANGED
@@ -185,7 +185,7 @@ function Note(props) {
|
|
185
185
|
return React.createElement(React.Fragment, null,
|
186
186
|
allowEdit ?
|
187
187
|
React.createElement("button", { className: "btn btn-sm", onClick: function () { return handleEdit(row.item); } },
|
188
|
-
React.createElement(gpa_symbols_1.ReactIcons.
|
188
|
+
React.createElement(gpa_symbols_1.ReactIcons.Pencil, null))
|
189
189
|
: null,
|
190
190
|
allowRemove ?
|
191
191
|
React.createElement("button", { className: "btn btn-sm", onClick: function () { return dispatch(props.NoteSlice.DBAction({ verb: 'DELETE', record: row.item })); } },
|
@@ -419,12 +419,12 @@ function CsvPipelineEditStep(props) {
|
|
419
419
|
React.createElement(React.Fragment, null,
|
420
420
|
isCSVMissingDataCellsCount > 0 && isCSVMissingHeadersCount > 0 ? (React.createElement("div", { className: 'row' },
|
421
421
|
React.createElement("div", { className: 'col-12' },
|
422
|
-
React.createElement(react_interactive_1.Alert, {
|
422
|
+
React.createElement(react_interactive_1.Alert, { Class: 'alert-info', ReTrigger: isCSVMissingDataCellsCount + isCSVMissingHeadersCount },
|
423
423
|
React.createElement("p", { style: { whiteSpace: 'nowrap' } }, "Missing data cells were added to meet the number of required fields."),
|
424
424
|
React.createElement("hr", null),
|
425
425
|
React.createElement("p", { style: { whiteSpace: 'nowrap' } }, "Missing headers were added to meet the number of required fields."))))) : isCSVMissingDataCellsCount > 0 || isCSVMissingHeadersCount > 0 ? (React.createElement("div", { className: 'row' },
|
426
426
|
React.createElement("div", { className: 'col-12' },
|
427
|
-
React.createElement(react_interactive_1.Alert, {
|
427
|
+
React.createElement(react_interactive_1.Alert, { Class: 'alert-info', ReTrigger: isCSVMissingDataCellsCount > 0 ? isCSVMissingDataCellsCount : isCSVMissingHeadersCount },
|
428
428
|
React.createElement("p", { style: { whiteSpace: 'nowrap' } }, isCSVMissingDataCellsCount > 0 ? 'Missing data cells were added to meet the number of required fields.' : 'Missing headers were added to meet the number of required fields.'))))) : null,
|
429
429
|
React.createElement("div", { className: 'row flex-grow-1', style: { overflowY: 'hidden' } },
|
430
430
|
React.createElement("div", { className: 'col-12 h-100' },
|
@@ -90,7 +90,7 @@ var TimeFilter = function (props) {
|
|
90
90
|
getTimeWindowFromFilter({ start: r.start, end: r.end }, format);
|
91
91
|
setFilter(flt);
|
92
92
|
setActiveQP(-1);
|
93
|
-
}, Label: 'Start
|
93
|
+
}, Label: 'Start', Type: (_b = props.format) !== null && _b !== void 0 ? _b : 'datetime-local', Valid: function () { return true; }, Format: format }),
|
94
94
|
props.showQuickSelect && props.dateTimeSetting === 'startWindow' ?
|
95
95
|
React.createElement(StartWindowForm, { IsHorizontal: props.isHorizontal, Filter: filter, SetFilter: setFilter, SetActiveQP: setActiveQP, Format: format, ShowQuickSelect: props.showQuickSelect })
|
96
96
|
: null))
|
@@ -104,7 +104,7 @@ var TimeFilter = function (props) {
|
|
104
104
|
getTimeWindowFromFilter({ start: r.start, end: r.end }, format);
|
105
105
|
setFilter(flt);
|
106
106
|
setActiveQP(-1);
|
107
|
-
}, Label: 'End
|
107
|
+
}, Label: 'End', Type: (_d = props.format) !== null && _d !== void 0 ? _d : 'datetime-local', Valid: function () { return true; }, Format: format }),
|
108
108
|
props.showQuickSelect && props.dateTimeSetting === 'endWindow' ?
|
109
109
|
React.createElement(EndWindowForm, { IsHorizontal: props.isHorizontal, Filter: filter, SetFilter: setFilter, SetActiveQP: setActiveQP, Format: format, ShowQuickSelect: props.showQuickSelect })
|
110
110
|
: null))
|
@@ -148,7 +148,7 @@ var StartWindowForm = function (props) {
|
|
148
148
|
return (React.createElement(Row, { addRow: !props.IsHorizontal, class: 'm-0' },
|
149
149
|
React.createElement("div", { className: props.IsHorizontal ? props.ShowQuickSelect ? 'col-12 p-0' : 'col-6' : 'col-12 p-0' },
|
150
150
|
React.createElement("div", { className: 'form-group' },
|
151
|
-
React.createElement("label", { style: { width: '100%', position: 'relative', float: "left" } }, "
|
151
|
+
React.createElement("label", { style: { width: '100%', position: 'relative', float: "left" } }, "Span(+)"),
|
152
152
|
React.createElement("div", { className: 'row' },
|
153
153
|
React.createElement("div", { className: 'col-6' },
|
154
154
|
React.createElement(react_forms_1.Input, { Record: props.Filter, Field: 'duration', Label: '', Valid: function () { return true; }, Type: 'number', Setter: function (r) {
|
@@ -165,7 +165,7 @@ var EndWindowForm = function (props) {
|
|
165
165
|
return (React.createElement(Row, { addRow: !props.IsHorizontal, class: 'm-0' },
|
166
166
|
React.createElement("div", { className: props.IsHorizontal ? props.ShowQuickSelect ? 'col-12 p-0' : 'col-6' : 'col-12 p-0' },
|
167
167
|
React.createElement("div", { className: 'form-group' },
|
168
|
-
React.createElement("label", { style: { width: '100%', position: 'relative', float: "left" } }, "
|
168
|
+
React.createElement("label", { style: { width: '100%', position: 'relative', float: "left" } }, "Span(-)"),
|
169
169
|
React.createElement("div", { className: 'row' },
|
170
170
|
React.createElement("div", { className: 'col-6' },
|
171
171
|
React.createElement(react_forms_1.Input, { Record: props.Filter, Field: 'duration', Label: '', Valid: function () { return true; }, Type: 'number', Setter: function (r) {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@gpa-gemstone/common-pages",
|
3
|
-
"version": "0.0.
|
3
|
+
"version": "0.0.134",
|
4
4
|
"description": "Common UI pages for GPA products",
|
5
5
|
"main": "lib/index.js",
|
6
6
|
"types": "lib/index.d.ts",
|
@@ -44,12 +44,12 @@
|
|
44
44
|
"typescript": "5.5.3"
|
45
45
|
},
|
46
46
|
"dependencies": {
|
47
|
-
"@gpa-gemstone/application-typings": "0.0.
|
48
|
-
"@gpa-gemstone/gpa-symbols": "0.0.
|
49
|
-
"@gpa-gemstone/helper-functions": "0.0.
|
50
|
-
"@gpa-gemstone/react-forms": "1.1.
|
51
|
-
"@gpa-gemstone/react-interactive": "1.0.
|
52
|
-
"@gpa-gemstone/react-table": "1.2.
|
47
|
+
"@gpa-gemstone/application-typings": "0.0.83",
|
48
|
+
"@gpa-gemstone/gpa-symbols": "0.0.49",
|
49
|
+
"@gpa-gemstone/helper-functions": "0.0.39",
|
50
|
+
"@gpa-gemstone/react-forms": "1.1.85",
|
51
|
+
"@gpa-gemstone/react-interactive": "1.0.146",
|
52
|
+
"@gpa-gemstone/react-table": "1.2.68",
|
53
53
|
"@reduxjs/toolkit": "1.8.3",
|
54
54
|
"crypto-js": "^4.2.0",
|
55
55
|
"moment": "^2.29.4",
|