@izara_project/izara-shared-search-and-sort 1.0.2 → 1.0.3
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/index.js +3 -3
- package/package.json +1 -1
- package/src/DataFieldsSharedLib.js +3 -2
- package/src/FiltersSharedLib.js +2 -1
- package/src/SearchSortSharedLib.js +4 -3
package/index.js
CHANGED
|
@@ -16,9 +16,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
18
|
'use strict';
|
|
19
|
-
import SearchSortSharedLib from './src/SearchSortSharedLib';
|
|
20
|
-
import FiltersSharedLib from './src/FiltersSharedLib'
|
|
21
|
-
import DataFieldsSharedLib from './src/DataFieldsSharedLib'
|
|
19
|
+
import SearchSortSharedLib from './src/SearchSortSharedLib.js';
|
|
20
|
+
import FiltersSharedLib from './src/FiltersSharedLib.js'
|
|
21
|
+
import DataFieldsSharedLib from './src/DataFieldsSharedLib.js'
|
|
22
22
|
|
|
23
23
|
export {
|
|
24
24
|
SearchSortSharedLib,
|
package/package.json
CHANGED
|
@@ -23,8 +23,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
23
23
|
// export default [...]
|
|
24
24
|
|
|
25
25
|
import { objectHash as hash } from '@izara_project/izara-shared-core'; //const hash = require('@izara_project/izara-shared-core').objectHash;
|
|
26
|
-
import
|
|
27
|
-
|
|
26
|
+
import lodash from 'lodash';
|
|
27
|
+
const { isEmpty } = lodash;
|
|
28
|
+
import filtersSharedLib from './FiltersSharedLib.js'; //const filtersSharedLib = require('./FiltersSharedLib');
|
|
28
29
|
|
|
29
30
|
async function createRequiredData(
|
|
30
31
|
_izContext,
|
package/src/FiltersSharedLib.js
CHANGED
|
@@ -18,7 +18,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
18
18
|
"use strict";
|
|
19
19
|
|
|
20
20
|
import { objectHash as hash } from '@izara_project/izara-shared-core'; //const hash = require('@izara_project/izara-shared-core').objectHash;
|
|
21
|
-
import
|
|
21
|
+
import lodash from 'lodash';
|
|
22
|
+
const { isEmpty } = lodash;
|
|
22
23
|
import complexFilterShared from '@izara_project/izara-core-library-complex-filter';
|
|
23
24
|
|
|
24
25
|
function validateFilterElement(
|
|
@@ -19,9 +19,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
19
19
|
|
|
20
20
|
//* searchResultMain record
|
|
21
21
|
import { objectHash as hash } from '@izara_project/izara-shared-core'; //const hash = require('@izara_project/izara-shared-core').objectHash;
|
|
22
|
-
import
|
|
23
|
-
|
|
24
|
-
import
|
|
22
|
+
import lodash from 'lodash';
|
|
23
|
+
const { isEmpty } = lodash;
|
|
24
|
+
import filtersSharedLib from './FiltersSharedLib.js'; //const filtersSharedLib = require('./FiltersSharedLib');
|
|
25
|
+
import dataFieldsSharedLib from './DataFieldsSharedLib.js';
|
|
25
26
|
import searchResultShared from '@izara_project/izara-core-library-search-result';
|
|
26
27
|
|
|
27
28
|
|