@headless-adminapp/app 0.0.17-alpha.10 → 0.0.17-alpha.12
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.
|
@@ -28,10 +28,10 @@ function getControls(form) {
|
|
|
28
28
|
return controls;
|
|
29
29
|
}
|
|
30
30
|
function getColumns(form) {
|
|
31
|
-
var _a;
|
|
31
|
+
var _a, _b;
|
|
32
32
|
const columns = Array.from(new Set([
|
|
33
33
|
...((_a = form.experience.includeAttributes) !== null && _a !== void 0 ? _a : []),
|
|
34
|
-
...form.experience.headerControls,
|
|
34
|
+
...((_b = form.experience.headerControls) !== null && _b !== void 0 ? _b : []),
|
|
35
35
|
...getControls(form)
|
|
36
36
|
.filter((control) => control.type === 'standard')
|
|
37
37
|
.map((control) => control.attributeName),
|
|
@@ -463,8 +463,42 @@ const booleanOperatorOptions = [
|
|
|
463
463
|
controls: [],
|
|
464
464
|
},
|
|
465
465
|
];
|
|
466
|
-
const idOperatorOptions = [
|
|
467
|
-
|
|
466
|
+
const idOperatorOptions = [
|
|
467
|
+
{
|
|
468
|
+
value: 'not-null',
|
|
469
|
+
labelKey: 'containsData',
|
|
470
|
+
controls: [],
|
|
471
|
+
},
|
|
472
|
+
{
|
|
473
|
+
value: 'null',
|
|
474
|
+
labelKey: 'doesNotContainData',
|
|
475
|
+
controls: [],
|
|
476
|
+
},
|
|
477
|
+
];
|
|
478
|
+
const attachmentOperatorOptions = [
|
|
479
|
+
{
|
|
480
|
+
value: 'not-null',
|
|
481
|
+
labelKey: 'containsData',
|
|
482
|
+
controls: [],
|
|
483
|
+
},
|
|
484
|
+
{
|
|
485
|
+
value: 'null',
|
|
486
|
+
labelKey: 'doesNotContainData',
|
|
487
|
+
controls: [],
|
|
488
|
+
},
|
|
489
|
+
];
|
|
490
|
+
const mixedOperatorOptions = [
|
|
491
|
+
{
|
|
492
|
+
value: 'not-null',
|
|
493
|
+
labelKey: 'containsData',
|
|
494
|
+
controls: [],
|
|
495
|
+
},
|
|
496
|
+
{
|
|
497
|
+
value: 'null',
|
|
498
|
+
labelKey: 'doesNotContainData',
|
|
499
|
+
controls: [],
|
|
500
|
+
},
|
|
501
|
+
];
|
|
468
502
|
exports.operatorOptions = {
|
|
469
503
|
id: idOperatorOptions,
|
|
470
504
|
boolean: booleanOperatorOptions,
|
|
@@ -476,7 +510,7 @@ exports.operatorOptions = {
|
|
|
476
510
|
number: numberOperatorOptions,
|
|
477
511
|
string: stringOperatorOptions,
|
|
478
512
|
attachment: attachmentOperatorOptions,
|
|
479
|
-
mixed:
|
|
513
|
+
mixed: mixedOperatorOptions,
|
|
480
514
|
daterange: [],
|
|
481
515
|
lookups: [],
|
|
482
516
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@headless-adminapp/app",
|
|
3
|
-
"version": "0.0.17-alpha.
|
|
3
|
+
"version": "0.0.17-alpha.12",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -39,5 +39,5 @@
|
|
|
39
39
|
"react-hook-form": "7.52.2",
|
|
40
40
|
"yup": "^1.4.0"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "c82bec74e75278fd7d247464e59b55c46c140be5"
|
|
43
43
|
}
|