@boltic/cli 1.0.14 → 1.0.16
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/package.json +1 -1
- package/templates/component-schemas.js +121 -2
package/package.json
CHANGED
|
@@ -118,6 +118,7 @@ const select = {
|
|
|
118
118
|
operation: "operation",
|
|
119
119
|
},
|
|
120
120
|
},
|
|
121
|
+
loadDynamicParameters: false,
|
|
121
122
|
displayProps: { loading: false },
|
|
122
123
|
validation: {
|
|
123
124
|
required: false,
|
|
@@ -210,6 +211,7 @@ const autocomplete = {
|
|
|
210
211
|
allowDynamic: false,
|
|
211
212
|
showAddNew: false,
|
|
212
213
|
},
|
|
214
|
+
loadDynamicParameters: false,
|
|
213
215
|
validation: {
|
|
214
216
|
required: false,
|
|
215
217
|
requiredDetail: {
|
|
@@ -310,8 +312,14 @@ const accordion = {
|
|
|
310
312
|
subHeaderVariant: "h5",
|
|
311
313
|
},
|
|
312
314
|
dependencies: {
|
|
313
|
-
logic: "
|
|
314
|
-
conditions: [
|
|
315
|
+
logic: "AND",
|
|
316
|
+
conditions: [
|
|
317
|
+
{
|
|
318
|
+
field: "fieldName",
|
|
319
|
+
operator: "EQUALS",
|
|
320
|
+
value: "expectedValue",
|
|
321
|
+
},
|
|
322
|
+
],
|
|
315
323
|
},
|
|
316
324
|
},
|
|
317
325
|
};
|
|
@@ -371,6 +379,16 @@ const textarea = {
|
|
|
371
379
|
errorMsg: "Text too long",
|
|
372
380
|
},
|
|
373
381
|
},
|
|
382
|
+
dependencies: {
|
|
383
|
+
logic: "AND",
|
|
384
|
+
conditions: [
|
|
385
|
+
{
|
|
386
|
+
field: "fieldName",
|
|
387
|
+
operator: "EQUALS",
|
|
388
|
+
value: "expectedValue",
|
|
389
|
+
},
|
|
390
|
+
],
|
|
391
|
+
},
|
|
374
392
|
},
|
|
375
393
|
};
|
|
376
394
|
|
|
@@ -478,6 +496,16 @@ const array = {
|
|
|
478
496
|
errorMsg: "Too many items",
|
|
479
497
|
},
|
|
480
498
|
},
|
|
499
|
+
dependencies: {
|
|
500
|
+
logic: "AND",
|
|
501
|
+
conditions: [
|
|
502
|
+
{
|
|
503
|
+
field: "fieldName",
|
|
504
|
+
operator: "EQUALS",
|
|
505
|
+
value: "expectedValue",
|
|
506
|
+
},
|
|
507
|
+
],
|
|
508
|
+
},
|
|
481
509
|
},
|
|
482
510
|
};
|
|
483
511
|
|
|
@@ -511,6 +539,16 @@ const object = {
|
|
|
511
539
|
errorMsg: "Object is required",
|
|
512
540
|
},
|
|
513
541
|
},
|
|
542
|
+
dependencies: {
|
|
543
|
+
logic: "AND",
|
|
544
|
+
conditions: [
|
|
545
|
+
{
|
|
546
|
+
field: "fieldName",
|
|
547
|
+
operator: "EQUALS",
|
|
548
|
+
value: "expectedValue",
|
|
549
|
+
},
|
|
550
|
+
],
|
|
551
|
+
},
|
|
514
552
|
},
|
|
515
553
|
};
|
|
516
554
|
|
|
@@ -538,6 +576,16 @@ const code = {
|
|
|
538
576
|
errorMsg: "Code is required",
|
|
539
577
|
},
|
|
540
578
|
},
|
|
579
|
+
dependencies: {
|
|
580
|
+
logic: "AND",
|
|
581
|
+
conditions: [
|
|
582
|
+
{
|
|
583
|
+
field: "fieldName",
|
|
584
|
+
operator: "EQUALS",
|
|
585
|
+
value: "expectedValue",
|
|
586
|
+
},
|
|
587
|
+
],
|
|
588
|
+
},
|
|
541
589
|
},
|
|
542
590
|
};
|
|
543
591
|
|
|
@@ -566,6 +614,16 @@ const slider = {
|
|
|
566
614
|
infoMsg: "Choose a value between 10 and 90",
|
|
567
615
|
},
|
|
568
616
|
},
|
|
617
|
+
dependencies: {
|
|
618
|
+
logic: "AND",
|
|
619
|
+
conditions: [
|
|
620
|
+
{
|
|
621
|
+
field: "fieldName",
|
|
622
|
+
operator: "EQUALS",
|
|
623
|
+
value: "expectedValue",
|
|
624
|
+
},
|
|
625
|
+
],
|
|
626
|
+
},
|
|
569
627
|
},
|
|
570
628
|
};
|
|
571
629
|
|
|
@@ -609,6 +667,16 @@ const hidden = {
|
|
|
609
667
|
displayType: "hidden",
|
|
610
668
|
value: "",
|
|
611
669
|
options: [],
|
|
670
|
+
dependencies: {
|
|
671
|
+
logic: "AND",
|
|
672
|
+
conditions: [
|
|
673
|
+
{
|
|
674
|
+
field: "fieldName",
|
|
675
|
+
operator: "EQUALS",
|
|
676
|
+
value: "expectedValue",
|
|
677
|
+
},
|
|
678
|
+
],
|
|
679
|
+
},
|
|
612
680
|
},
|
|
613
681
|
};
|
|
614
682
|
|
|
@@ -658,6 +726,16 @@ const divider = {
|
|
|
658
726
|
variant: "middle",
|
|
659
727
|
orientation: "horizontal",
|
|
660
728
|
},
|
|
729
|
+
dependencies: {
|
|
730
|
+
logic: "AND",
|
|
731
|
+
conditions: [
|
|
732
|
+
{
|
|
733
|
+
field: "fieldName",
|
|
734
|
+
operator: "EQUALS",
|
|
735
|
+
value: "expectedValue",
|
|
736
|
+
},
|
|
737
|
+
],
|
|
738
|
+
},
|
|
661
739
|
},
|
|
662
740
|
};
|
|
663
741
|
|
|
@@ -686,6 +764,7 @@ const multiselect = {
|
|
|
686
764
|
condition: "{{sample-condition}}",
|
|
687
765
|
body: {},
|
|
688
766
|
},
|
|
767
|
+
loadDynamicParameters: false,
|
|
689
768
|
validation: {
|
|
690
769
|
required: false,
|
|
691
770
|
requiredDetail: {
|
|
@@ -862,6 +941,16 @@ const phone = {
|
|
|
862
941
|
errorMsg: "Must be a valid phone number",
|
|
863
942
|
},
|
|
864
943
|
},
|
|
944
|
+
dependencies: {
|
|
945
|
+
logic: "AND",
|
|
946
|
+
conditions: [
|
|
947
|
+
{
|
|
948
|
+
field: "fieldName",
|
|
949
|
+
operator: "EQUALS",
|
|
950
|
+
value: "expectedValue",
|
|
951
|
+
},
|
|
952
|
+
],
|
|
953
|
+
},
|
|
865
954
|
},
|
|
866
955
|
};
|
|
867
956
|
|
|
@@ -911,6 +1000,16 @@ const keyvalue = {
|
|
|
911
1000
|
errorMsg: "Too many key-value pairs",
|
|
912
1001
|
},
|
|
913
1002
|
},
|
|
1003
|
+
dependencies: {
|
|
1004
|
+
logic: "AND",
|
|
1005
|
+
conditions: [
|
|
1006
|
+
{
|
|
1007
|
+
field: "fieldName",
|
|
1008
|
+
operator: "EQUALS",
|
|
1009
|
+
value: "expectedValue",
|
|
1010
|
+
},
|
|
1011
|
+
],
|
|
1012
|
+
},
|
|
914
1013
|
},
|
|
915
1014
|
};
|
|
916
1015
|
|
|
@@ -929,6 +1028,16 @@ const button = {
|
|
|
929
1028
|
size: "medium",
|
|
930
1029
|
// ...any other prop will be added to button component
|
|
931
1030
|
},
|
|
1031
|
+
dependencies: {
|
|
1032
|
+
logic: "AND",
|
|
1033
|
+
conditions: [
|
|
1034
|
+
{
|
|
1035
|
+
field: "fieldName",
|
|
1036
|
+
operator: "EQUALS",
|
|
1037
|
+
value: "expectedValue",
|
|
1038
|
+
},
|
|
1039
|
+
],
|
|
1040
|
+
},
|
|
932
1041
|
},
|
|
933
1042
|
};
|
|
934
1043
|
|
|
@@ -953,6 +1062,16 @@ const datetime = {
|
|
|
953
1062
|
seconds: 5,
|
|
954
1063
|
},
|
|
955
1064
|
},
|
|
1065
|
+
dependencies: {
|
|
1066
|
+
logic: "AND",
|
|
1067
|
+
conditions: [
|
|
1068
|
+
{
|
|
1069
|
+
field: "fieldName",
|
|
1070
|
+
operator: "EQUALS",
|
|
1071
|
+
value: "expectedValue",
|
|
1072
|
+
},
|
|
1073
|
+
],
|
|
1074
|
+
},
|
|
956
1075
|
},
|
|
957
1076
|
};
|
|
958
1077
|
|