Skip to content

Commit

Permalink
Merge branch 'main' into NG1659-monthview-activedate
Browse files Browse the repository at this point in the history
  • Loading branch information
tjamesallen15 committed May 20, 2024
2 parents 2f4c7ab + a0a0394 commit 9a3abd5
Show file tree
Hide file tree
Showing 16 changed files with 1,172 additions and 1,052 deletions.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18.13.0
20.13.1
18 changes: 9 additions & 9 deletions app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,9 @@
],
"dependencies": {
"@axe-core/puppeteer": "^4.7.3",
"@babel/core": "^7.22.5",
"@babel/core": "^7.24.5",
"@babel/plugin-external-helpers": "^7.22.5",
"@babel/preset-env": "^7.22.5",
"@babel/preset-env": "^7.24.5",
"@rollup/plugin-babel": "^6.0.3",
"@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-node-resolve": "^15.1.0",
Expand All @@ -111,18 +111,18 @@
"form-data": "^4.0.0",
"handlebars": "^4.7.7",
"handlebars-wax": "^6.1.0",
"ids-identity": "4.16.2",
"ids-identity": "4.17.0",
"jquery": "^3.7.0",
"mmm": "^0.2.2",
"sass": "1.69.7",
"sass": "1.77.1",
"nodemon": "^2.0.22",
"rimraf": "^5.0.1",
"rollup": "^3.26.0",
"rimraf": "^5.0.7",
"rollup": "^4.17.2",
"rollup-plugin-analyzer": "^4.0.0",
"rollup-plugin-license": "^3.0.1",
"rollup-plugin-license": "^3.4.0",
"slash": "^5.1.0",
"stylelint-scss": "^5.0.1",
"terser": "^5.18.2",
"stylelint-scss": "^6.3.0",
"terser": "^5.31.0",
"yargs": "^17.7.2",
"zip-build": "^1.8.0"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@

<div class="row">
<div class="six columns">

<button type="button" class="btn-secondary contextual-action-panel-trigger" data-options='{ fullsize: "responsive", modalSettings: {propagateStyle: "true", compactPanel: "true"} }'>
Contextual Action Panel
</button>
<div class="contextual-action-panel">
<div class="toolbar">
<div class="title">Company Information</div>
<div class="buttonset">
<button class="btn" type="button">
<svg class="icon" focusable="false" aria-hidden="true" role="presentation">
<use href="#icon-save"></use>
</svg>
<span>Save</span>
</button>
<div class="separator"></div>
<button name="close" class="btn" type="button">
<svg class="icon icon-close" focusable="false" aria-hidden="true" role="presentation">
<use href="#icon-close"></use>
</svg>
<span>Close</span>
</button>
</div>
</div>
<div class="row" style="width:660px; height:350px">
</div>
</div>

</div>
</div>
34 changes: 34 additions & 0 deletions app/views/components/datagrid/test-frozen-cell-shift.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<div class="full-height full-width">
<div id="datagrid" class="datagrid">
</div>
</div>

<script>
$('body').one('initialized', function () {
var grid,
columns = [],
data = [];

var url = '{{basepath}}api/compressors?pageNum=1&pageSize=100';
$.getJSON(url, function (res) {
data = res.data;

// Define Columns for the Grid.
columns.push({ id: 'productName', name: 'Product Name', field: 'productName', formatter: Soho.Formatters.Hyperlink, href: 'http://www.google.com', target: '_blank' });
columns.push({ id: 'quantity', name: 'Quantity', field: 'quantity', editor: Soho.Editors.Input });

// Init and get the api for the grid
$('#datagrid').datagrid({
columns: columns,
dataset: data,
paging: true,
pagesize: 50,
editable: true,
frozenColumns: {
left: ['productName']
},
toolbar: { title: 'Compressors', actions: true, rowHeight: true, results: true, personalize: true, exportToExcel: true }
});
});
});
</script>
10 changes: 9 additions & 1 deletion app/views/components/lookup/test-beforeshow.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<div class="field">
<label for="product-lookup" class="label">Products</label>
<input id="product-lookup" data-init="false" class="lookup" name="product-lookup" type="text"/>
<input id="product-lookup" data-init="false" class="lookup" name="product-lookup" type="text" />
</div>

</div>
Expand All @@ -19,6 +19,8 @@
beforeShow: function (api, response) {
var url = '{{basepath}}api/lookupInfo';

console.log({api, response});

$.getJSON(url, function(data) {
api.settings.options.columns = data[0].columns;
api.settings.options.dataset = data[0].dataset;
Expand All @@ -34,4 +36,10 @@
}
});

var lookupElem = $('#product-lookup');
lookupElem.tooltip({
content: 'testing tooltip',
trigger: 'hover',
});

</script>
8 changes: 8 additions & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,23 @@

## v4.96.0 Features

- `[ContextualActionPanel/Modal]` Added new settings `propagateStyle` and `compactPanel`. ([NG#1594](https://github.com/infor-design/enterprise-ng/issues/1594))

## v4.96.0 Fixes

- `[About]` Removed `isMobile` in about spec. ([#8502](https://github.com/infor-design/enterprise/issues/8502))
- `[Autocomplete]` Fixed autocomplete not properly highlighted on key down. ([#8618](https://github.com/infor-design/enterprise/issues/8618))
- `[AppMenu]` Fixed hover state on menu button in app menu. ([#8723](https://github.com/infor-design/enterprise/issues/8723))
- `[Bar-Stacked/Column-Stacked]` Fixed an error encountered when having many records inside the graph. ([NG#1675](https://github.com/infor-design/enterprise-ng/issues/1675))
- `[Datagrid]` Fixed styling issue with one cell and frozen columns. ([#8728](https://github.com/infor-design/enterprise/issues/8728))
- `[Datagrid]` Fixed add row not triggering after cell commit. ([#8624](https://github.com/infor-design/enterprise/issues/8624))
- `[Datagrid]` Fixed an error that occurred in some situations. ([#8709](https://github.com/infor-design/enterprise/issues/8709))
- `[Datepicker]` Fixed focus date not properly assigned when calendar is used as datepicker. ([#8585](https://github.com/infor-design/enterprise/issues/8585))
- `[Dropdown]` Fixed dropdown height when `showTags` is set to true. ([#8566](https://github.com/infor-design/enterprise/issues/8566))
- `[Icons]` Added new icons `trend-left` and `trend-right`. ([#8403](https://github.com/infor-design/enterprise/issues/8403))
- `[Icons]` Added new icons `user-remove`, `trending-down`, `snooze` and `trending-up`. ([#8403](https://github.com/infor-design/enterprise/issues/8403))
- `[Lookup]` Fixed bug on lookup not using minWidth settings. ([#8626](https://github.com/infor-design/enterprise/issues/8626))
- `[Lookup]` Fixed a bug where tooltip was not showing after selecting an item in lookup. ([#1646](https://github.com/infor-design/enterprise-ng/issues/1646))
- `[Monthview]` Fixed monthview not updating after changing activeDate. ([NG#1659](https://github.com/infor-design/enterprise-ng/issues/1659))
- `[Popup Menu]` Fixed bug on popupmenu showing behind app menu on mobile. ([#8582](https://github.com/infor-design/enterprise/issues/8582))

Expand Down
Loading

0 comments on commit 9a3abd5

Please sign in to comment.