lforms 29.3.0 → 33.2.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/CHANGELOG.md +261 -0
- package/README.md +97 -14
- package/changed-features.md +99 -0
- package/dist/lforms/LICENSE.md +70 -0
- package/dist/lforms/README.md +100 -0
- package/dist/lforms/fhir/R4/lformsFHIR.min.js +2 -0
- package/dist/lforms/fhir/R4/lformsFHIR.min.js.map +1 -0
- package/dist/lforms/fhir/STU3/lformsFHIR.min.js +2 -0
- package/dist/lforms/fhir/STU3/lformsFHIR.min.js.map +1 -0
- package/dist/lforms/fhir/lformsFHIRAll.min.js +2 -0
- package/dist/lforms/fhir/lformsFHIRAll.min.js.map +1 -0
- package/dist/lforms/webcomponent/assets/lib/zone.min.js +134 -0
- package/dist/lforms/webcomponent/down_arrow_gray_10_10.png +0 -0
- package/dist/lforms/webcomponent/favicon.ico +0 -0
- package/dist/lforms/webcomponent/index.html +9 -0
- package/dist/lforms/webcomponent/lhc-forms.js +2471 -0
- package/dist/lforms/webcomponent/magnifying_glass.png +0 -0
- package/dist/lforms/webcomponent/main.js +2464 -0
- package/dist/lforms/webcomponent/main.js.map +1 -0
- package/dist/lforms/webcomponent/polyfills.js +2 -0
- package/dist/lforms/webcomponent/polyfills.js.map +1 -0
- package/dist/lforms/webcomponent/runtime.js +2 -0
- package/dist/lforms/webcomponent/runtime.js.map +1 -0
- package/dist/lforms/webcomponent/scripts.js +3 -0
- package/dist/lforms/webcomponent/scripts.js.map +1 -0
- package/dist/lforms/webcomponent/styles.css +3 -0
- package/dist/lforms/webcomponent/styles.css.map +1 -0
- package/form_definition.md +382 -0
- package/lforms-33.2.0.tgz +0 -0
- package/package.json +94 -88
- package/r4-support.md +147 -0
- package/sdc-support.md +127 -0
- package/app/.npmignore +0 -3
- package/app/images/blank.gif +0 -0
- package/app/images/signal-stop.png +0 -0
- package/app/index.html +0 -10
- package/app/lforms.js +0 -56
- package/app/lforms.tpl.js +0 -964
- package/app/scripts/angular-packages.js +0 -11
- package/app/scripts/bootstrap-decorators.js +0 -31
- package/app/scripts/bower-index.js +0 -14
- package/app/scripts/fhir/R4/export.js +0 -33
- package/app/scripts/fhir/R4/fhirRequire.js +0 -36
- package/app/scripts/fhir/R4/lformsFHIR.js +0 -27260
- package/app/scripts/fhir/R4/sdc-export.js +0 -455
- package/app/scripts/fhir/R4/sdc-import.js +0 -483
- package/app/scripts/fhir/STU3/export.js +0 -27
- package/app/scripts/fhir/STU3/fhirRequire.js +0 -36
- package/app/scripts/fhir/STU3/lformsFHIR.js +0 -27291
- package/app/scripts/fhir/STU3/sdc-export.js +0 -493
- package/app/scripts/fhir/STU3/sdc-import.js +0 -494
- package/app/scripts/fhir/diagnostic-report.js +0 -707
- package/app/scripts/fhir/export-common.js +0 -209
- package/app/scripts/fhir/expression-processor.js +0 -670
- package/app/scripts/fhir/extensions/rendering-style.js +0 -23
- package/app/scripts/fhir/fhir-common.js +0 -3
- package/app/scripts/fhir/obs-prepop.mjs +0 -97
- package/app/scripts/fhir/runtime-common.js +0 -33
- package/app/scripts/fhir/sdc-common.js +0 -334
- package/app/scripts/fhir/sdc-export-common.js +0 -1046
- package/app/scripts/fhir/sdc-import-common.js +0 -1343
- package/app/scripts/fhir/versions.js +0 -8
- package/app/scripts/index.js +0 -20
- package/app/scripts/lforms-config.js +0 -12
- package/app/scripts/lforms-constants.js +0 -10
- package/app/scripts/lforms-controllers.js +0 -1196
- package/app/scripts/lforms-directives.js +0 -424
- package/app/scripts/lforms-index.js +0 -20
- package/app/scripts/lib/cross_browser.js +0 -21
- package/app/scripts/lib/lforms-data.js +0 -3591
- package/app/scripts/lib/lforms-hl7.js +0 -525
- package/app/scripts/lib/lforms-util.js +0 -1122
- package/app/scripts/lib/lforms-validate.js +0 -277
- package/app/scripts/lib/polyfill.js +0 -81
- package/app/scripts/themeList.js +0 -17
- package/app/styles/lforms.css +0 -1219
- package/app/styles/redmond-theme/README.txt +0 -2
- package/app/styles/redmond-theme/images/ui-bg_glass_75_d0e5f5_1x400.png +0 -0
- package/app/styles/redmond-theme/images/ui-bg_glass_85_dfeffc_1x400.png +0 -0
- package/app/styles/redmond-theme/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- package/app/styles/redmond-theme/images/ui-bg_gloss-wave_55_5c9ccc_500x100.png +0 -0
- package/app/styles/redmond-theme/images/ui-bg_inset-hard_100_f5f8f9_1x100.png +0 -0
- package/app/styles/redmond-theme/images/ui-bg_inset-hard_100_fcfdfd_1x100.png +0 -0
- package/app/styles/redmond-theme/images/ui-icons_217bc0_256x240.png +0 -0
- package/app/styles/redmond-theme/images/ui-icons_2e83ff_256x240.png +0 -0
- package/app/styles/redmond-theme/images/ui-icons_469bdd_256x240.png +0 -0
- package/app/styles/redmond-theme/images/ui-icons_6da8d5_256x240.png +0 -0
- package/app/styles/redmond-theme/images/ui-icons_cd0a0a_256x240.png +0 -0
- package/app/styles/redmond-theme/images/ui-icons_d8e7f3_256x240.png +0 -0
- package/app/styles/redmond-theme/images/ui-icons_f9bd01_256x240.png +0 -0
- package/app/styles/redmond-theme/jquery-ui.css +0 -1311
- package/app/styles/redmond-theme/jquery-ui.min.css +0 -7
- package/app/styles/redmond-theme/theme.css +0 -443
- package/app/styles/themes.css +0 -1541
- package/app/styles/themes.css.map +0 -9
- package/app/styles/themes.scss +0 -411
- package/app/version.json +0 -1
- package/app/views/partials/attachment.html +0 -38
- package/app/views/partials/field-answers.html +0 -67
- package/app/views/partials/field-units.html +0 -24
- package/app/views/partials/form-controls.html +0 -19
- package/app/views/partials/form-header.html +0 -35
- package/app/views/partials/form-options.html +0 -50
- package/app/views/partials/form-title.html +0 -20
- package/app/views/partials/form-view.html +0 -13
- package/app/views/partials/item-options.html +0 -48
- package/app/views/partials/item.html +0 -126
- package/app/views/partials/itemPrefixAndText.html +0 -4
- package/app/views/partials/layout-horizontal.html +0 -156
- package/app/views/partials/layout-matrix.html +0 -145
- package/app/views/partials/popover-content.html +0 -1
- package/app/views/partials/repeating-button.html +0 -16
- package/app/views/partials/table-item.html +0 -30
- package/app/views/partials/template-table.html +0 -69
- package/app/views/partials/uib-popover-templates/uib-popover-template.html +0 -13
- package/app/views/partials/uib-popover-templates/uib-popover.html +0 -11
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
<!--a button at the end of each repeating section-->
|
|
2
|
-
<div ng-if="item._lastRepeatingItem && targetShown(item) "
|
|
3
|
-
class="lf-form-table-row button-row {{getSkipLogicClass(item)}}">
|
|
4
|
-
<div class="has-popover-warning">
|
|
5
|
-
<button type="button"
|
|
6
|
-
class="lf-float-button" id="add-{{item._elementId}}"
|
|
7
|
-
ng-click="addOneRepeatingItem(item)"
|
|
8
|
-
ng-blur="hideUnusedItemWarning(item)"
|
|
9
|
-
uib-popover='{{item._unusedItemWarning}}'
|
|
10
|
-
popover-placement="top-left"
|
|
11
|
-
popover-trigger="none"
|
|
12
|
-
popover-is-open="item._showUnusedItemWarning">
|
|
13
|
-
+ Add another "{{item._text}}"
|
|
14
|
-
</button>
|
|
15
|
-
</div>
|
|
16
|
-
</div>
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
<div class="lf-table-item {{getSiblingStatus(item)}}">
|
|
2
|
-
<!-- question -->
|
|
3
|
-
<lf-item ng-if="!item._isHiddenFromView" ng-style="getItemStyle(item)"></lf-item>
|
|
4
|
-
|
|
5
|
-
<!--sub sections, check each item's layout -->
|
|
6
|
-
<div ng-if="item.items" class="section">
|
|
7
|
-
<div ng-repeat="item in item.items" ng-if="targetShown(item) && !item._isHiddenFromView"
|
|
8
|
-
class="data-row has-ng-animate {{getRowClass(item)}} {{getSkipLogicClass(item)}}
|
|
9
|
-
{{getActiveRowClass(item)}} {{getItemViewModeClass(item)}}">
|
|
10
|
-
<div ng-if="item.header" ng-switch on="item.displayControl.questionLayout">
|
|
11
|
-
<div ng-switch-when="horizontal">
|
|
12
|
-
<lf-section-horizontal></lf-section-horizontal>
|
|
13
|
-
</div>
|
|
14
|
-
<div ng-switch-when="matrix">
|
|
15
|
-
<lf-section-matrix></lf-section-matrix>
|
|
16
|
-
</div>
|
|
17
|
-
<div ng-switch-when="vertical">
|
|
18
|
-
<lf-table-item></lf-table-item>
|
|
19
|
-
</div>
|
|
20
|
-
<div ng-switch-default>
|
|
21
|
-
<lf-table-item></lf-table-item>
|
|
22
|
-
</div>
|
|
23
|
-
</div>
|
|
24
|
-
<div ng-if="!item.header">
|
|
25
|
-
<lf-table-item></lf-table-item>
|
|
26
|
-
</div>
|
|
27
|
-
</div>
|
|
28
|
-
</div>
|
|
29
|
-
<lf-repeating-button></lf-repeating-button>
|
|
30
|
-
</div>
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
<form ng-if="lfData" class="lf-form lf-template-table {{getIndentationStyle()}}" novalidate autocomplete="false"
|
|
2
|
-
ng-keydown="handleNavigationKeyEventByTab($event)">
|
|
3
|
-
<!--form controls-->
|
|
4
|
-
<lf-form-controls></lf-form-controls>
|
|
5
|
-
<!--form title-->
|
|
6
|
-
<lf-form-title></lf-form-title>
|
|
7
|
-
<!-- form options -->
|
|
8
|
-
<lf-form-options></lf-form-options>
|
|
9
|
-
<!--form header-->
|
|
10
|
-
<lf-form-header></lf-form-header>
|
|
11
|
-
<!--form body-->
|
|
12
|
-
<div class="lf-form-body">
|
|
13
|
-
<!--check form level questionLayout for matrix and horizontal layouts-->
|
|
14
|
-
<div ng-switch on="lfData.templateOptions.displayControl.questionLayout">
|
|
15
|
-
<!--horizontal-->
|
|
16
|
-
<div ng-switch-when="horizontal" class="lf-top-section">
|
|
17
|
-
<lf-section-horizontal></lf-section-horizontal>
|
|
18
|
-
</div>
|
|
19
|
-
<!--matrix-->
|
|
20
|
-
<div ng-switch-when="matrix" class="lf-top-section">
|
|
21
|
-
<lf-section-matrix></lf-section-matrix>
|
|
22
|
-
</div>
|
|
23
|
-
<!--vertical-->
|
|
24
|
-
<div ng-switch-default>
|
|
25
|
-
<!-- data row, column header -->
|
|
26
|
-
<div class="lf-column-header" ng-if="lfData.templateOptions.showColumnHeaders">
|
|
27
|
-
<div class="lf-column-label-button" id="th_Name">
|
|
28
|
-
{{lfData.templateOptions.columnHeaders[0].name}}
|
|
29
|
-
</div>
|
|
30
|
-
<div class="lf-column-input-unit" ng-style="getFieldWidth(item)">
|
|
31
|
-
<div class="lf-column-input" id="th_Value">
|
|
32
|
-
{{lfData.templateOptions.columnHeaders[1].name}}
|
|
33
|
-
</div>
|
|
34
|
-
<div ng-if="!lfData.templateOptions.hideUnits" class="lf-column-unit" id="th_Units">
|
|
35
|
-
{{lfData.templateOptions.columnHeaders[2].name}}
|
|
36
|
-
</div>
|
|
37
|
-
</div>
|
|
38
|
-
</div>
|
|
39
|
-
<!-- data row, for each item -->
|
|
40
|
-
<!-- check each top level item's questionLayout -->
|
|
41
|
-
<div ng-if="lfData.items" class="lf-form-table">
|
|
42
|
-
<div ng-repeat="item in lfData.items" ng-if="targetShown(item) && !item._isHiddenFromView"
|
|
43
|
-
class="data-row has-ng-animate {{getRowClass(item)}} {{getSkipLogicClass(item)}}
|
|
44
|
-
{{getActiveRowClass(item)}} {{getItemViewModeClass(item)}}">
|
|
45
|
-
<!--header item-->
|
|
46
|
-
<div ng-if="item.header" ng-switch on="item.displayControl.questionLayout">
|
|
47
|
-
<div ng-switch-when="horizontal">
|
|
48
|
-
<lf-section-horizontal></lf-section-horizontal>
|
|
49
|
-
</div>
|
|
50
|
-
<div ng-switch-when="matrix">
|
|
51
|
-
<lf-section-matrix></lf-section-matrix>
|
|
52
|
-
</div>
|
|
53
|
-
<div ng-switch-when="vertical">
|
|
54
|
-
<lf-table-item></lf-table-item>
|
|
55
|
-
</div>
|
|
56
|
-
<div ng-switch-default>
|
|
57
|
-
<lf-table-item></lf-table-item>
|
|
58
|
-
</div>
|
|
59
|
-
</div>
|
|
60
|
-
<!--non-header data item-->
|
|
61
|
-
<div ng-if="!item.header">
|
|
62
|
-
<lf-table-item></lf-table-item>
|
|
63
|
-
</div>
|
|
64
|
-
</div>
|
|
65
|
-
</div>
|
|
66
|
-
</div>
|
|
67
|
-
</div>
|
|
68
|
-
</div>
|
|
69
|
-
</form>
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
<div class="popover"
|
|
2
|
-
tooltip-animation-class="fade"
|
|
3
|
-
uib-tooltip-classes
|
|
4
|
-
ng-class="{ in: isOpen() }">
|
|
5
|
-
<div class="arrow"></div>
|
|
6
|
-
|
|
7
|
-
<div aria-live=polite class="popover-inner">
|
|
8
|
-
<h3 class="popover-title" ng-bind="uibTitle" ng-if="uibTitle"></h3>
|
|
9
|
-
<div class="popover-content"
|
|
10
|
-
uib-tooltip-template-transclude="contentExp()"
|
|
11
|
-
tooltip-template-transclude-scope="originScope()"></div>
|
|
12
|
-
</div>
|
|
13
|
-
</div>
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
<div class="popover"
|
|
2
|
-
tooltip-animation-class="fade"
|
|
3
|
-
uib-tooltip-classes
|
|
4
|
-
ng-class="{ in: isOpen() }">
|
|
5
|
-
<div class="arrow"></div>
|
|
6
|
-
|
|
7
|
-
<div aria-live=polite class="popover-inner">
|
|
8
|
-
<h3 class="popover-title" ng-bind="uibTitle" ng-if="uibTitle"></h3>
|
|
9
|
-
<div class="popover-content" ng-bind="content" ng-if="content"></div>
|
|
10
|
-
</div>
|
|
11
|
-
</div>
|