@boltic/cli 1.0.14 → 1.0.15
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
|
@@ -111,6 +111,7 @@ const select = {
|
|
|
111
111
|
labelKey: "label",
|
|
112
112
|
valueKey: "value",
|
|
113
113
|
condition: "{{sample-condition}}",
|
|
114
|
+
loadDynamicParameters: false,
|
|
114
115
|
body: {
|
|
115
116
|
secret: "secret",
|
|
116
117
|
loadOptionsMethod: "get",
|
|
@@ -205,6 +206,7 @@ const autocomplete = {
|
|
|
205
206
|
body: {},
|
|
206
207
|
multiple: false,
|
|
207
208
|
limitTags: 3,
|
|
209
|
+
loadDynamicParameters: false,
|
|
208
210
|
},
|
|
209
211
|
htmlProps: {
|
|
210
212
|
allowDynamic: false,
|
|
@@ -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
|
|
|
@@ -685,6 +763,7 @@ const multiselect = {
|
|
|
685
763
|
valueKey: "value",
|
|
686
764
|
condition: "{{sample-condition}}",
|
|
687
765
|
body: {},
|
|
766
|
+
loadDynamicParameters: false,
|
|
688
767
|
},
|
|
689
768
|
validation: {
|
|
690
769
|
required: false,
|
|
@@ -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
|
|