@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.
- package/esm2020/lib/data-sources/scheda-search.ds.mjs +3 -3
- package/fesm2015/net7-boilerplate-arianna.mjs +2 -2
- package/fesm2015/net7-boilerplate-arianna.mjs.map +1 -1
- package/fesm2020/net7-boilerplate-arianna.mjs +2 -2
- package/fesm2020/net7-boilerplate-arianna.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1539,7 +1539,7 @@ class AwSchedaSearchDS extends DataSource {
|
|
|
1539
1539
|
constructor() {
|
|
1540
1540
|
super(...arguments);
|
|
1541
1541
|
this.transform = (nodes) => {
|
|
1542
|
-
const {
|
|
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'
|