@net7/boilerplate-arianna 4.2.2 → 4.2.4

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.
@@ -1539,7 +1539,7 @@ class AwSchedaSearchDS extends DataSource {
1539
1539
  constructor() {
1540
1540
  super(...arguments);
1541
1541
  this.transform = (nodes) => {
1542
- const { placeholder, title, params, basePath, lite, configKeys, fallback, } = this.options || {};
1542
+ const { search, title, params, basePath, lite, configKeys, fallback, } = this.options || {};
1543
1543
  const { totalCount } = nodes || {};
1544
1544
  const page = params.page ? +params.page : 1;
1545
1545
  const limit = params.limit ? +params.limit : 10;
@@ -1554,7 +1554,7 @@ class AwSchedaSearchDS extends DataSource {
1554
1554
  // input
1555
1555
  const input = {
1556
1556
  id: 'scheda-search-input',
1557
- placeholder: placeholder || 'Cerca...',
1557
+ placeholder: search?.placeholder || 'Cerca...',
1558
1558
  icon: 'n7-icon-search',
1559
1559
  enterPayload: 'input-enter',
1560
1560
  inputPayload: 'input-change'