formbuilder-lhcforms 12.5.0 → 12.7.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/3rdpartylicenses.txt +27 -0
- package/dist/formbuilder-lhcforms/assets/ngx-item.schema.json5 +179 -17
- package/dist/formbuilder-lhcforms/assets/version.json +1 -1
- package/dist/formbuilder-lhcforms/index.html +1 -1
- package/dist/formbuilder-lhcforms/main.bcea3dfc001c6ac3.js +1 -0
- package/dist/formbuilder-lhcforms/polyfills.741ec81967e9c9c3.js +1 -0
- package/package.json +3 -1
- package/dist/formbuilder-lhcforms/main.d7d33054f6ac48c2.js +0 -1
- package/dist/formbuilder-lhcforms/polyfills.ff3bd2c828bc396b.js +0 -1
|
@@ -2825,6 +2825,33 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
|
2825
2825
|
SOFTWARE.
|
|
2826
2826
|
|
|
2827
2827
|
|
|
2828
|
+
mime-db
|
|
2829
|
+
MIT
|
|
2830
|
+
(The MIT License)
|
|
2831
|
+
|
|
2832
|
+
Copyright (c) 2014 Jonathan Ong <me@jongleberry.com>
|
|
2833
|
+
Copyright (c) 2015-2022 Douglas Christopher Wilson <doug@somethingdoug.com>
|
|
2834
|
+
|
|
2835
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
2836
|
+
a copy of this software and associated documentation files (the
|
|
2837
|
+
'Software'), to deal in the Software without restriction, including
|
|
2838
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
|
2839
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
|
2840
|
+
permit persons to whom the Software is furnished to do so, subject to
|
|
2841
|
+
the following conditions:
|
|
2842
|
+
|
|
2843
|
+
The above copyright notice and this permission notice shall be
|
|
2844
|
+
included in all copies or substantial portions of the Software.
|
|
2845
|
+
|
|
2846
|
+
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
|
|
2847
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
2848
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
2849
|
+
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
2850
|
+
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
2851
|
+
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
2852
|
+
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
2853
|
+
|
|
2854
|
+
|
|
2828
2855
|
mobx
|
|
2829
2856
|
MIT
|
|
2830
2857
|
The MIT License (MIT)
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"labelClasses": "col-2 ps-0 pe-1",
|
|
55
55
|
"controlClasses": "col-10 p-0",
|
|
56
56
|
"selectOptionsMap": {
|
|
57
|
-
"remove": ["reference"
|
|
57
|
+
"remove": ["reference"],
|
|
58
58
|
"validateType": true
|
|
59
59
|
}
|
|
60
60
|
},
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"title": "Entry format",
|
|
66
66
|
"type": "string",
|
|
67
67
|
"visibleIf": {
|
|
68
|
-
"type": ["$EXP$ target.value != 'group' && target.value != 'display' && target.value != 'boolean' && target.value != 'reference'"]
|
|
68
|
+
"type": ["$EXP$ target.value != 'group' && target.value != 'display' && target.value != 'boolean' && target.value != 'reference' && target.value != 'attachment'"]
|
|
69
69
|
},
|
|
70
70
|
"widget": {
|
|
71
71
|
"id": "entry-format",
|
|
@@ -152,7 +152,7 @@
|
|
|
152
152
|
"regex",
|
|
153
153
|
"minValue",
|
|
154
154
|
"maxValue",
|
|
155
|
-
"
|
|
155
|
+
"maxSize",
|
|
156
156
|
"mimeType"
|
|
157
157
|
],
|
|
158
158
|
"title": "Restriction",
|
|
@@ -161,7 +161,8 @@
|
|
|
161
161
|
"value": {
|
|
162
162
|
"description": "Value to restrict the input",
|
|
163
163
|
"type": "string",
|
|
164
|
-
"title": "Value"
|
|
164
|
+
"title": "Value",
|
|
165
|
+
"widget": {"id": "restrictions-value"}
|
|
165
166
|
}
|
|
166
167
|
},
|
|
167
168
|
"additionalProperties": false,
|
|
@@ -193,9 +194,14 @@
|
|
|
193
194
|
"answerConstraint": ["$EXP$ target.value == 'optionsOrType' || target.value == 'optionsOrString'"]
|
|
194
195
|
}
|
|
195
196
|
],
|
|
197
|
+
},
|
|
198
|
+
// Attachment cannot be an answer list; its maxSize/mimeType restrictions always apply.
|
|
199
|
+
// This branch depends only on 'type' (always visible), because '__$isAnswerList' is
|
|
200
|
+
// hidden for attachment and hidden dependencies evaluate to false in visibleIf.
|
|
201
|
+
{
|
|
202
|
+
"type": ["attachment"]
|
|
196
203
|
}
|
|
197
|
-
]
|
|
198
|
-
"type": ["$EXP$ target.value == 'decimal' || target.value == 'integer' || target.value == 'string' || target.value == 'text' || target.value == 'url'"]
|
|
204
|
+
]
|
|
199
205
|
},
|
|
200
206
|
"widget": {
|
|
201
207
|
"id": "restrictions",
|
|
@@ -411,6 +417,7 @@
|
|
|
411
417
|
"type": "string",
|
|
412
418
|
"widget": {
|
|
413
419
|
"id": "string-with-css",
|
|
420
|
+
"rows": 1,
|
|
414
421
|
"labelPosition": "left",
|
|
415
422
|
"labelClasses": "col-2 ps-0 pe-1",
|
|
416
423
|
"controlClasses": "col p-0"
|
|
@@ -1703,6 +1710,28 @@
|
|
|
1703
1710
|
"id": "hidden"
|
|
1704
1711
|
}
|
|
1705
1712
|
},
|
|
1713
|
+
"__$stringify": {
|
|
1714
|
+
"description": "JSON representation used to display an Attachment initial value.",
|
|
1715
|
+
"title": "Value",
|
|
1716
|
+
"type": "string",
|
|
1717
|
+
"visibleIf": {
|
|
1718
|
+
"/type": ["attachment"]
|
|
1719
|
+
},
|
|
1720
|
+
"widget": {
|
|
1721
|
+
"id": "string",
|
|
1722
|
+
"readOnly": true,
|
|
1723
|
+
"tooltipFormat": "json"
|
|
1724
|
+
}
|
|
1725
|
+
},
|
|
1726
|
+
"__$attachmentInputMethod": {
|
|
1727
|
+
"description": "Attachment input method used by the initial-value editor.",
|
|
1728
|
+
"type": "string",
|
|
1729
|
+
"enum": ["file", "url"],
|
|
1730
|
+
"visibleIf": {
|
|
1731
|
+
"/type": ["attachment"]
|
|
1732
|
+
},
|
|
1733
|
+
"widget": {"id": "hidden"}
|
|
1734
|
+
},
|
|
1706
1735
|
"valueBoolean": {
|
|
1707
1736
|
"description": "The actual value to for an initial answer.",
|
|
1708
1737
|
"pattern": "^true|false$",
|
|
@@ -1810,7 +1839,10 @@
|
|
|
1810
1839
|
"id": {
|
|
1811
1840
|
"description": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
|
|
1812
1841
|
"pattern": "^[ \\r\\n\\t\\S]+$",
|
|
1813
|
-
"type": "string"
|
|
1842
|
+
"type": "string",
|
|
1843
|
+
"widget": {
|
|
1844
|
+
"id": "hidden"
|
|
1845
|
+
}
|
|
1814
1846
|
},
|
|
1815
1847
|
"extension": {
|
|
1816
1848
|
"description": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
|
|
@@ -1824,43 +1856,168 @@
|
|
|
1824
1856
|
},
|
|
1825
1857
|
"contentType": {
|
|
1826
1858
|
"description": "Identifies the type of the data in the attachment and allows a method to be chosen to interpret or render the data. Includes mime type parameters such as charset where appropriate.",
|
|
1859
|
+
"title": "Mime Type",
|
|
1827
1860
|
"pattern": "^[^\\s]+(\\s[^\\s]+)*$",
|
|
1828
|
-
"type": "string"
|
|
1861
|
+
"type": "string",
|
|
1862
|
+
"widget": {
|
|
1863
|
+
"id": "string",
|
|
1864
|
+
"readOnly": true,
|
|
1865
|
+
"labelPosition": "left",
|
|
1866
|
+
"labelClasses": "col-sm-2 p-0",
|
|
1867
|
+
"controlClasses": "col-sm-10 px-0",
|
|
1868
|
+
"placeholder": "e.g. application/pdf"
|
|
1869
|
+
}
|
|
1829
1870
|
},
|
|
1830
1871
|
"language": {
|
|
1831
1872
|
"description": "The human language of the content. The value can be any valid value according to BCP 47.",
|
|
1873
|
+
"title": "Language",
|
|
1832
1874
|
"pattern": "^[^\\s]+(\\s[^\\s]+)*$",
|
|
1833
|
-
"type": "string"
|
|
1875
|
+
"type": "string",
|
|
1876
|
+
"widget": {
|
|
1877
|
+
"id": "string",
|
|
1878
|
+
"labelPosition": "left",
|
|
1879
|
+
"labelClasses": "col-sm-2 p-0",
|
|
1880
|
+
"controlClasses": "col-sm-10 px-0",
|
|
1881
|
+
"placeholder": "Search or enter a BCP-47 language tag"
|
|
1882
|
+
}
|
|
1834
1883
|
},
|
|
1835
1884
|
"data": {
|
|
1836
1885
|
"description": "The actual data of the attachment - a sequence of bytes, base64 encoded.",
|
|
1837
1886
|
"pattern": "^[ \\r\\n\\t\\S]+$",
|
|
1838
|
-
"type": "string"
|
|
1887
|
+
"type": "string",
|
|
1888
|
+
"widget": {
|
|
1889
|
+
"id": "hidden"
|
|
1890
|
+
}
|
|
1839
1891
|
},
|
|
1840
1892
|
"url": {
|
|
1841
1893
|
"description": "A location where the data can be accessed.",
|
|
1894
|
+
"title": "URL",
|
|
1842
1895
|
"pattern": "^\\S*$",
|
|
1843
|
-
"type": "string"
|
|
1896
|
+
"type": "string",
|
|
1897
|
+
"widget": {
|
|
1898
|
+
"id": "url",
|
|
1899
|
+
"labelPosition": "left",
|
|
1900
|
+
"labelClasses": "col-sm-2 p-0",
|
|
1901
|
+
"controlClasses": "col-sm-10 px-0",
|
|
1902
|
+
"placeholder": "https://example.org/file.pdf"
|
|
1903
|
+
}
|
|
1844
1904
|
},
|
|
1845
1905
|
"size": {
|
|
1846
1906
|
"description": "The number of bytes of data that make up this attachment (before base64 encoding, if that is done).",
|
|
1847
|
-
"
|
|
1848
|
-
"
|
|
1907
|
+
"title": "Size",
|
|
1908
|
+
"pattern": "^(0|[1-9][0-9]*)$",
|
|
1909
|
+
"type": "string",
|
|
1910
|
+
"widget": {
|
|
1911
|
+
"id": "string",
|
|
1912
|
+
"readOnly": true,
|
|
1913
|
+
"labelPosition": "left",
|
|
1914
|
+
"labelClasses": "col-sm-2 p-0",
|
|
1915
|
+
"controlClasses": "col-sm-10 px-0",
|
|
1916
|
+
"placeholder": "Number of bytes"
|
|
1917
|
+
}
|
|
1849
1918
|
},
|
|
1850
1919
|
"hash": {
|
|
1851
1920
|
"description": "The calculated hash of the data using SHA-1. Represented using base64.",
|
|
1852
1921
|
"pattern": "^[ \\r\\n\\t\\S]+$",
|
|
1853
|
-
"type": "string"
|
|
1922
|
+
"type": "string",
|
|
1923
|
+
"widget": {
|
|
1924
|
+
"id": "hidden"
|
|
1925
|
+
}
|
|
1854
1926
|
},
|
|
1855
1927
|
"title": {
|
|
1856
1928
|
"description": "A label or set of text to display in place of the data.",
|
|
1929
|
+
"title": "Title",
|
|
1857
1930
|
"pattern": "^[ \\r\\n\\t\\S]+$",
|
|
1858
|
-
"type": "string"
|
|
1931
|
+
"type": "string",
|
|
1932
|
+
"widget": {
|
|
1933
|
+
"id": "string",
|
|
1934
|
+
"readOnly": true,
|
|
1935
|
+
"labelPosition": "left",
|
|
1936
|
+
"labelClasses": "col-sm-2 p-0",
|
|
1937
|
+
"controlClasses": "col-sm-10 px-0",
|
|
1938
|
+
"placeholder": "Label to display for the file"
|
|
1939
|
+
}
|
|
1859
1940
|
},
|
|
1860
1941
|
"creation": {
|
|
1861
1942
|
"description": "The date that the attachment was first created.",
|
|
1943
|
+
"title": "Creation",
|
|
1862
1944
|
"pattern": "^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?$",
|
|
1863
|
-
"type": "string"
|
|
1945
|
+
"type": "string",
|
|
1946
|
+
"widget": {
|
|
1947
|
+
"id": "datetime",
|
|
1948
|
+
"labelPosition": "left",
|
|
1949
|
+
"labelClasses": "col-sm-2 p-0",
|
|
1950
|
+
"controlClasses": "col-sm-10 px-0"
|
|
1951
|
+
}
|
|
1952
|
+
},
|
|
1953
|
+
"height": {
|
|
1954
|
+
"description": "Height of the image in pixels (photo/video).",
|
|
1955
|
+
"title": "Height",
|
|
1956
|
+
"type": "integer",
|
|
1957
|
+
"minimum": 1,
|
|
1958
|
+
"maximum": 2147483647,
|
|
1959
|
+
"widget": {
|
|
1960
|
+
"id": "positive-integer",
|
|
1961
|
+
"labelPosition": "left",
|
|
1962
|
+
"labelClasses": "col-sm-2 p-0",
|
|
1963
|
+
"controlClasses": "col-sm-10 px-0",
|
|
1964
|
+
"placeholder": "Pixels"
|
|
1965
|
+
}
|
|
1966
|
+
},
|
|
1967
|
+
"width": {
|
|
1968
|
+
"description": "Width of the image in pixels (photo/video).",
|
|
1969
|
+
"title": "Width",
|
|
1970
|
+
"type": "integer",
|
|
1971
|
+
"minimum": 1,
|
|
1972
|
+
"maximum": 2147483647,
|
|
1973
|
+
"widget": {
|
|
1974
|
+
"id": "positive-integer",
|
|
1975
|
+
"labelPosition": "left",
|
|
1976
|
+
"labelClasses": "col-sm-2 p-0",
|
|
1977
|
+
"controlClasses": "col-sm-10 px-0",
|
|
1978
|
+
"placeholder": "Pixels"
|
|
1979
|
+
}
|
|
1980
|
+
},
|
|
1981
|
+
"frames": {
|
|
1982
|
+
"description": "Number of frames if greater than one (photo).",
|
|
1983
|
+
"title": "Frames",
|
|
1984
|
+
"type": "integer",
|
|
1985
|
+
"minimum": 1,
|
|
1986
|
+
"maximum": 2147483647,
|
|
1987
|
+
"widget": {
|
|
1988
|
+
"id": "positive-integer",
|
|
1989
|
+
"labelPosition": "left",
|
|
1990
|
+
"labelClasses": "col-sm-2 p-0",
|
|
1991
|
+
"controlClasses": "col-sm-10 px-0",
|
|
1992
|
+
"placeholder": "Number of frames"
|
|
1993
|
+
}
|
|
1994
|
+
},
|
|
1995
|
+
"duration": {
|
|
1996
|
+
"description": "Length in seconds (audio/video).",
|
|
1997
|
+
"title": "Duration",
|
|
1998
|
+
"type": "number",
|
|
1999
|
+
"minimum": 0,
|
|
2000
|
+
"widget": {
|
|
2001
|
+
"id": "number",
|
|
2002
|
+
"labelPosition": "left",
|
|
2003
|
+
"labelClasses": "col-sm-2 p-0",
|
|
2004
|
+
"controlClasses": "col-sm-10 px-0",
|
|
2005
|
+
"placeholder": "Seconds"
|
|
2006
|
+
}
|
|
2007
|
+
},
|
|
2008
|
+
"pages": {
|
|
2009
|
+
"description": "Number of printed pages.",
|
|
2010
|
+
"title": "Pages",
|
|
2011
|
+
"type": "integer",
|
|
2012
|
+
"minimum": 1,
|
|
2013
|
+
"maximum": 2147483647,
|
|
2014
|
+
"widget": {
|
|
2015
|
+
"id": "positive-integer",
|
|
2016
|
+
"labelPosition": "left",
|
|
2017
|
+
"labelClasses": "col-sm-2 p-0",
|
|
2018
|
+
"controlClasses": "col-sm-10 px-0",
|
|
2019
|
+
"placeholder": "Number of printed pages"
|
|
2020
|
+
}
|
|
1864
2021
|
}
|
|
1865
2022
|
},
|
|
1866
2023
|
"additionalProperties": false,
|
|
@@ -2087,7 +2244,7 @@
|
|
|
2087
2244
|
]
|
|
2088
2245
|
},
|
|
2089
2246
|
"widget": {
|
|
2090
|
-
"id": "
|
|
2247
|
+
"id": "initial",
|
|
2091
2248
|
"labelPosition": "left",
|
|
2092
2249
|
"labelClasses": "col-2 ps-0 pe-1",
|
|
2093
2250
|
"controlClasses": "col p-0",
|
|
@@ -2109,6 +2266,10 @@
|
|
|
2109
2266
|
{"field": "valueQuantity.unit", "title": "Unit", "col": 4, "nolabel": true},
|
|
2110
2267
|
{"field": "valueQuantity.code", "title": "Code", "col": 3, "nolabel": true},
|
|
2111
2268
|
{"field": "valueQuantity.system", "title": "System", "col": 3, "nolabel": true},
|
|
2269
|
+
{"field": "valueAttachment.title", "title": "Title", "col": 2, "nolabel": true},
|
|
2270
|
+
{"field": "valueAttachment.contentType", "title": "Mime Type", "col": 2, "nolabel": true},
|
|
2271
|
+
{"field": "valueAttachment.size", "title": "Size", "col": 2, "nolabel": true},
|
|
2272
|
+
{"field": "__$stringify", "title": "Value", "col": 5, "nolabel": true},
|
|
2112
2273
|
{"field": "valueReference", "noHeader": true, "nolabel": true}
|
|
2113
2274
|
],
|
|
2114
2275
|
"showErrorTypeList": [
|
|
@@ -2636,6 +2797,7 @@
|
|
|
2636
2797
|
"type": "string",
|
|
2637
2798
|
"widget": {
|
|
2638
2799
|
"id": "string-with-css",
|
|
2800
|
+
"rows": 1,
|
|
2639
2801
|
"labelPosition": "left",
|
|
2640
2802
|
"labelClasses": "col-sm-2 p-0 pe-1",
|
|
2641
2803
|
"controlClasses": "col p-0",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version": "12.
|
|
1
|
+
{"version": "12.7.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.
|
|
22
|
+
<script src="runtime.821ff28674267dd4.js" type="module"></script><script src="polyfills.741ec81967e9c9c3.js" type="module"></script><script src="scripts.5c83cbb4dbb11a83.js" defer></script><script src="main.bcea3dfc001c6ac3.js" type="module"></script></body>
|
|
23
23
|
</html>
|
|
24
24
|
|