formbuilder-lhcforms 12.4.1 → 12.5.0
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/dist/formbuilder-lhcforms/assets/items-layout.json5 +3 -0
- package/dist/formbuilder-lhcforms/assets/ngx-item.schema.json5 +107 -0
- package/dist/formbuilder-lhcforms/assets/version.json +1 -1
- package/dist/formbuilder-lhcforms/index.html +1 -1
- package/dist/formbuilder-lhcforms/main.d7d33054f6ac48c2.js +1 -0
- package/dist/formbuilder-lhcforms/tests/window-open-test.html +120 -0
- package/package.json +1 -1
- package/dist/formbuilder-lhcforms/main.0318f5708dbff174.js +0 -1
|
@@ -26,6 +26,8 @@
|
|
|
26
26
|
{ "field": "__$pickInitial", "col": 12 },
|
|
27
27
|
{ "field": "__$initialCalculatedExpression", "col": 12 },
|
|
28
28
|
{ "field": "__$itemControl", "col": 12 },
|
|
29
|
+
{ "field": "__$choiceOrientation", "col": 12 },
|
|
30
|
+
{ "field": "__$columnCount", "col": 12 },
|
|
29
31
|
{ "field": "__$itemControlQuestion", "col": 12 },
|
|
30
32
|
{ "field": "__$itemControlGroup", "col": 12 },
|
|
31
33
|
{ "field": "__$itemControlDisplay", "col": 12 },
|
|
@@ -52,6 +54,7 @@
|
|
|
52
54
|
{
|
|
53
55
|
"showFields": [
|
|
54
56
|
{ "field": "linkId", "col": 12 },
|
|
57
|
+
{ "field": "__$hidden", "col": 12 },
|
|
55
58
|
{ "field": "__$enableWhenMethod", "col": 12 },
|
|
56
59
|
{ "field": "enableWhen", "col": 12 },
|
|
57
60
|
{ "field": "enableBehavior", "col": 12 },
|
|
@@ -74,6 +74,68 @@
|
|
|
74
74
|
"controlClasses": "col-10 p-0"
|
|
75
75
|
}
|
|
76
76
|
},
|
|
77
|
+
"__$choiceOrientation": {
|
|
78
|
+
"description": "Identifies the desired orientation when rendering a list of choices.",
|
|
79
|
+
"title": "Choice orientation",
|
|
80
|
+
"type": "string",
|
|
81
|
+
"enum": [
|
|
82
|
+
"horizontal",
|
|
83
|
+
"vertical"
|
|
84
|
+
],
|
|
85
|
+
"default": "",
|
|
86
|
+
"visibleIf": {
|
|
87
|
+
"allOf": [
|
|
88
|
+
{
|
|
89
|
+
"__$isAnswerList": [true]
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"__$itemControl": ["$EXP$ target.value == 'radio-button' || target.value == 'check-box'"]
|
|
93
|
+
}
|
|
94
|
+
]
|
|
95
|
+
},
|
|
96
|
+
"widget": {
|
|
97
|
+
"id": "extension-primitive",
|
|
98
|
+
"extensionUrl": "http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation",
|
|
99
|
+
"valueX": "valueCode",
|
|
100
|
+
"buttonRadio": true,
|
|
101
|
+
"addEmptyOption": true,
|
|
102
|
+
"emptyOptionValue": "",
|
|
103
|
+
"emptyOptionLabel": "Unspecified",
|
|
104
|
+
"optionLabels": {
|
|
105
|
+
"horizontal": "Horizontal",
|
|
106
|
+
"vertical": "Vertical"
|
|
107
|
+
},
|
|
108
|
+
"labelPosition": "left",
|
|
109
|
+
"labelClasses": "col-2 ps-0 pe-1",
|
|
110
|
+
"controlClasses": "col-10 p-0"
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
"__$columnCount": {
|
|
114
|
+
"description": "The number of columns to use when rendering a list of choices.",
|
|
115
|
+
"title": "Column count",
|
|
116
|
+
"type": "integer",
|
|
117
|
+
"minimum": 1,
|
|
118
|
+
"maximum": 2147483647,
|
|
119
|
+
"visibleIf": {
|
|
120
|
+
"allOf": [
|
|
121
|
+
{
|
|
122
|
+
"__$isAnswerList": [true]
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"__$itemControl": ["$EXP$ target.value == 'radio-button' || target.value == 'check-box'"]
|
|
126
|
+
}
|
|
127
|
+
]
|
|
128
|
+
},
|
|
129
|
+
"widget": {
|
|
130
|
+
"id": "extension-primitive",
|
|
131
|
+
"extensionUrl": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-columnCount",
|
|
132
|
+
"legacyExtensionUrls": ["http://hl7.org/fhir/StructureDefinition/questionnaire-columnCount"],
|
|
133
|
+
"valueX": "valuePositiveInt",
|
|
134
|
+
"labelPosition": "left",
|
|
135
|
+
"labelClasses": "col-2 ps-0 pe-1",
|
|
136
|
+
"controlClasses": "col-10 p-0"
|
|
137
|
+
}
|
|
138
|
+
},
|
|
77
139
|
"__$restrictions": {
|
|
78
140
|
"description": "Choose to add value restrictions to the input.",
|
|
79
141
|
"title": "Restrictions",
|
|
@@ -943,6 +1005,18 @@
|
|
|
943
1005
|
"controlClasses": "col-auto btn-group btn-group-sm ps-0"
|
|
944
1006
|
}
|
|
945
1007
|
},
|
|
1008
|
+
"__$hidden": {
|
|
1009
|
+
"description": "If enabled, this item is not displayed to the user. All descendant items are hidden as well. Descendants remain visible in Form Builder so they can still be edited.",
|
|
1010
|
+
"title": "Hide this item from users?",
|
|
1011
|
+
"type": "boolean",
|
|
1012
|
+
"default": false,
|
|
1013
|
+
"widget": {
|
|
1014
|
+
"id": "questionnaire-hidden",
|
|
1015
|
+
"optionLabels": [[false, "No"], [true, "Yes"]],
|
|
1016
|
+
"labelClasses": "col-2 ps-0 pe-1",
|
|
1017
|
+
"controlClasses": "col-auto btn-group btn-group-sm ps-0"
|
|
1018
|
+
}
|
|
1019
|
+
},
|
|
946
1020
|
"__$isAnswerList": {
|
|
947
1021
|
"description": "An indication, when true, that the value cannot be changed by a human respondent to the Questionnaire.",
|
|
948
1022
|
"title": "Create answer list",
|
|
@@ -2691,6 +2765,17 @@
|
|
|
2691
2765
|
}
|
|
2692
2766
|
]
|
|
2693
2767
|
},
|
|
2768
|
+
{
|
|
2769
|
+
"fields": [
|
|
2770
|
+
"__$hidden"
|
|
2771
|
+
],
|
|
2772
|
+
"showFields": [
|
|
2773
|
+
{
|
|
2774
|
+
"field": "__$hidden",
|
|
2775
|
+
"col": 12
|
|
2776
|
+
}
|
|
2777
|
+
]
|
|
2778
|
+
},
|
|
2694
2779
|
{
|
|
2695
2780
|
"fields": [
|
|
2696
2781
|
"__$minMaxOccurs"
|
|
@@ -2883,6 +2968,28 @@
|
|
|
2883
2968
|
}
|
|
2884
2969
|
]
|
|
2885
2970
|
},
|
|
2971
|
+
{
|
|
2972
|
+
"fields": [
|
|
2973
|
+
"__$choiceOrientation"
|
|
2974
|
+
],
|
|
2975
|
+
"showFields": [
|
|
2976
|
+
{
|
|
2977
|
+
"field": "__$choiceOrientation",
|
|
2978
|
+
"col": 12
|
|
2979
|
+
}
|
|
2980
|
+
]
|
|
2981
|
+
},
|
|
2982
|
+
{
|
|
2983
|
+
"fields": [
|
|
2984
|
+
"__$columnCount"
|
|
2985
|
+
],
|
|
2986
|
+
"showFields": [
|
|
2987
|
+
{
|
|
2988
|
+
"field": "__$columnCount",
|
|
2989
|
+
"col": 12
|
|
2990
|
+
}
|
|
2991
|
+
]
|
|
2992
|
+
},
|
|
2886
2993
|
{
|
|
2887
2994
|
"fields": [
|
|
2888
2995
|
"__$pickInitial"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version": "12.
|
|
1
|
+
{"version": "12.5.0"}
|
|
@@ -19,6 +19,6 @@
|
|
|
19
19
|
<body class="bg-secondary">
|
|
20
20
|
<lfb-root></lfb-root>
|
|
21
21
|
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
|
|
22
|
-
<script src="runtime.821ff28674267dd4.js" type="module"></script><script src="polyfills.ff3bd2c828bc396b.js" type="module"></script><script src="scripts.5c83cbb4dbb11a83.js" defer></script><script src="main.
|
|
22
|
+
<script src="runtime.821ff28674267dd4.js" type="module"></script><script src="polyfills.ff3bd2c828bc396b.js" type="module"></script><script src="scripts.5c83cbb4dbb11a83.js" defer></script><script src="main.d7d33054f6ac48c2.js" type="module"></script></body>
|
|
23
23
|
</html>
|
|
24
24
|
|