@openmrs/esm-implementer-tools-app 6.2.1-pre.2830 → 6.2.1-pre.2836
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/.turbo/turbo-build.log +23 -18
- package/dist/154.js +1 -0
- package/dist/154.js.map +1 -0
- package/dist/3046.js +2 -0
- package/dist/{667.js.LICENSE.txt → 3046.js.LICENSE.txt} +6 -0
- package/dist/3046.js.map +1 -0
- package/dist/4426.js +1 -1
- package/dist/4426.js.map +1 -1
- package/dist/4889.js +1 -1
- package/dist/4889.js.map +1 -1
- package/dist/5277.js +1 -1
- package/dist/5277.js.map +1 -1
- package/dist/7010.js +2 -0
- package/dist/{3336.js.LICENSE.txt → 7010.js.LICENSE.txt} +11 -0
- package/dist/7010.js.map +1 -0
- package/dist/744.js +1 -1
- package/dist/7581.js +2 -0
- package/dist/{1873.js.LICENSE.txt → 7581.js.LICENSE.txt} +10 -0
- package/dist/7581.js.map +1 -0
- package/dist/8289.js +1 -1
- package/dist/8289.js.map +1 -1
- package/dist/8319.js +1 -1
- package/dist/8657.js +1 -1
- package/dist/8657.js.map +1 -1
- package/dist/9788.js +1 -0
- package/dist/9788.js.map +1 -0
- package/dist/9818.js +1 -0
- package/dist/9818.js.map +1 -0
- package/dist/main.js +1 -1
- package/dist/main.js.map +1 -1
- package/dist/openmrs-esm-implementer-tools-app.js +1 -1
- package/dist/openmrs-esm-implementer-tools-app.js.buildmanifest.json +131 -209
- package/dist/openmrs-esm-implementer-tools-app.js.map +1 -1
- package/dist/routes.json +1 -1
- package/package.json +4 -4
- package/src/backend-dependencies/backend-dependencies.styles.scss +1 -1
- package/src/configuration/configuration.styles.scss +11 -12
- package/src/configuration/interactive-editor/description.styles.scss +12 -9
- package/src/configuration/interactive-editor/display-value.scss +3 -3
- package/src/configuration/interactive-editor/editable-value.styles.scss +5 -4
- package/src/configuration/interactive-editor/layout/layout.styles.scss +5 -4
- package/src/configuration/interactive-editor/layout/tree-container.component.tsx +1 -2
- package/src/configuration/interactive-editor/value-editor.scss +3 -3
- package/src/configuration/interactive-editor/value-editors/array-editor.styles.scss +3 -2
- package/src/configuration/interactive-editor/value-editors/concept-search.styles.scss +8 -9
- package/src/configuration/interactive-editor/value-editors/object-editor.styles.scss +13 -0
- package/src/configuration/interactive-editor/value-editors/object-editor.tsx +1 -1
- package/src/configuration/interactive-editor/value-editors/patient-identifier-type-search.tsx +2 -2
- package/src/configuration/interactive-editor/value-editors/uuid-search.scss +14 -10
- package/src/configuration/json-editor/json-editor.scss +2 -1
- package/src/feature-flags/feature-flags.scss +1 -1
- package/src/frontend-modules/frontend-modules.component.tsx +1 -1
- package/src/frontend-modules/frontend-modules.scss +1 -1
- package/src/implementer-tools.component.tsx +2 -3
- package/src/implementer-tools.styles.scss +5 -19
- package/src/popup/popup.styles.scss +3 -1
- package/src/ui-editor/styles.scss +0 -7
- package/src/ui-editor/ui-editor.tsx +0 -1
- package/dist/1491.js +0 -1
- package/dist/1491.js.map +0 -1
- package/dist/1873.js +0 -2
- package/dist/1873.js.map +0 -1
- package/dist/3336.js +0 -2
- package/dist/3336.js.map +0 -1
- package/dist/3448.js +0 -1
- package/dist/3448.js.map +0 -1
- package/dist/5642.js +0 -1
- package/dist/5642.js.map +0 -1
- package/dist/667.js +0 -2
- package/dist/667.js.map +0 -1
- package/dist/7036.js +0 -1
- package/dist/7036.js.map +0 -1
- package/dist/845.js +0 -1
- package/dist/845.js.map +0 -1
- package/dist/9441.js +0 -2
- package/dist/9441.js.LICENSE.txt +0 -5
- package/dist/9441.js.map +0 -1
- package/src/configuration/interactive-editor/value-editors/object-editor.styles.css +0 -15
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
@use '@carbon/
|
|
2
|
-
@use '@carbon/styles/scss/
|
|
3
|
-
@use '@carbon/
|
|
4
|
-
@
|
|
5
|
-
@import '../implementer-tools.styles.scss';
|
|
1
|
+
@use '@carbon/layout';
|
|
2
|
+
@use '@carbon/styles/scss/theme';
|
|
3
|
+
@use '@carbon/styles/scss/themes';
|
|
4
|
+
@use '@openmrs/esm-styleguide/src/vars' as *;
|
|
6
5
|
|
|
7
6
|
.tools {
|
|
8
7
|
width: 100%;
|
|
@@ -15,7 +14,7 @@
|
|
|
15
14
|
}
|
|
16
15
|
|
|
17
16
|
.toolbar {
|
|
18
|
-
padding:
|
|
17
|
+
padding: layout.$spacing-05 layout.$spacing-05 0;
|
|
19
18
|
display: flex;
|
|
20
19
|
justify-content: space-around;
|
|
21
20
|
align-items: center;
|
|
@@ -24,14 +23,14 @@
|
|
|
24
23
|
.row {
|
|
25
24
|
display: flex;
|
|
26
25
|
flex-flow: row wrap;
|
|
27
|
-
margin: 0 -
|
|
26
|
+
margin: 0 (-(layout.$spacing-05));
|
|
28
27
|
|
|
29
28
|
:global(.cds--col) {
|
|
30
29
|
max-width: 100%;
|
|
31
30
|
flex-basis: 0;
|
|
32
31
|
flex-grow: 1;
|
|
33
32
|
width: 100%;
|
|
34
|
-
padding: 0
|
|
33
|
+
padding: 0 layout.$spacing-05;
|
|
35
34
|
}
|
|
36
35
|
}
|
|
37
36
|
|
|
@@ -77,21 +76,21 @@
|
|
|
77
76
|
width: 35%;
|
|
78
77
|
background-color: theme.$background;
|
|
79
78
|
color: theme.$text-secondary;
|
|
80
|
-
padding:
|
|
79
|
+
padding: layout.$spacing-05 layout.$spacing-07;
|
|
81
80
|
font-size: 12pt;
|
|
82
81
|
overflow-wrap: break-word;
|
|
83
82
|
overflow-y: auto;
|
|
84
83
|
}
|
|
85
84
|
|
|
86
85
|
.configTreePane :global(.cds--text-input-wrapper) {
|
|
87
|
-
min-width:
|
|
86
|
+
min-width: 8rem;
|
|
88
87
|
}
|
|
89
88
|
|
|
90
89
|
.toggleToolbarButton {
|
|
91
90
|
width: 100%;
|
|
92
91
|
display: flex;
|
|
93
92
|
justify-content: flex-end;
|
|
94
|
-
padding:
|
|
93
|
+
padding: layout.$spacing-02;
|
|
95
94
|
}
|
|
96
95
|
|
|
97
96
|
.toggleButtons {
|
|
@@ -106,6 +105,6 @@
|
|
|
106
105
|
justify-content: flex-end;
|
|
107
106
|
|
|
108
107
|
> button {
|
|
109
|
-
margin: 0
|
|
108
|
+
margin: 0 layout.$spacing-05;
|
|
110
109
|
}
|
|
111
110
|
}
|
|
@@ -1,26 +1,29 @@
|
|
|
1
|
-
@use '@carbon/
|
|
2
|
-
@use '@carbon/
|
|
3
|
-
@
|
|
4
|
-
|
|
1
|
+
@use '@carbon/layout';
|
|
2
|
+
@use '@carbon/type';
|
|
3
|
+
@use '@openmrs/esm-styleguide/src/vars' as *;
|
|
4
|
+
|
|
5
|
+
.productiveHeading01 {
|
|
6
|
+
@include type.type-style('heading-compact-01');
|
|
7
|
+
}
|
|
5
8
|
|
|
6
9
|
.path {
|
|
7
10
|
@include type.type-style('heading-02');
|
|
8
|
-
margin-bottom:
|
|
11
|
+
margin-bottom: layout.$spacing-03;
|
|
9
12
|
}
|
|
10
13
|
|
|
11
14
|
.description {
|
|
12
15
|
@include type.type-style('body-compact-01');
|
|
13
|
-
margin-bottom:
|
|
16
|
+
margin-bottom: layout.$spacing-05;
|
|
14
17
|
}
|
|
15
18
|
|
|
16
19
|
.source {
|
|
17
20
|
@include type.type-style('body-compact-01');
|
|
18
21
|
font-style: italic;
|
|
19
|
-
margin-bottom:
|
|
22
|
+
margin-bottom: layout.$spacing-03;
|
|
20
23
|
}
|
|
21
24
|
|
|
22
25
|
.value {
|
|
23
26
|
font-family: monospace;
|
|
24
|
-
margin-top:
|
|
25
|
-
margin-left:
|
|
27
|
+
margin-top: layout.$spacing-03;
|
|
28
|
+
margin-left: layout.$spacing-03;
|
|
26
29
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
@use '@carbon/
|
|
2
|
-
@
|
|
1
|
+
@use '@carbon/layout';
|
|
2
|
+
@use '@carbon/type';
|
|
3
|
+
@use '@openmrs/esm-styleguide/src/vars' as *;
|
|
3
4
|
|
|
4
5
|
.secretButton {
|
|
5
6
|
background: none;
|
|
@@ -10,7 +11,7 @@
|
|
|
10
11
|
}
|
|
11
12
|
|
|
12
13
|
.error {
|
|
13
|
-
margin-left:
|
|
14
|
+
margin-left: layout.$spacing-05;
|
|
14
15
|
color: orange;
|
|
15
16
|
font-size: 11pt;
|
|
16
17
|
}
|
|
@@ -25,5 +26,5 @@
|
|
|
25
26
|
}
|
|
26
27
|
|
|
27
28
|
.editValueButton {
|
|
28
|
-
margin-left:
|
|
29
|
+
margin-left: layout.$spacing-05;
|
|
29
30
|
}
|
|
@@ -1,15 +1,16 @@
|
|
|
1
|
+
@use '@carbon/layout';
|
|
1
2
|
@use '@carbon/react/scss/theme';
|
|
2
3
|
|
|
3
4
|
.labelCell {
|
|
4
|
-
width:
|
|
5
|
+
width: 12rem;
|
|
5
6
|
}
|
|
6
7
|
|
|
7
8
|
.label {
|
|
8
|
-
scroll-margin-top:
|
|
9
|
+
scroll-margin-top: layout.$spacing-12;
|
|
9
10
|
}
|
|
10
11
|
|
|
11
12
|
.structuredList {
|
|
12
|
-
margin-bottom:
|
|
13
|
+
margin-bottom: layout.$spacing-05;
|
|
13
14
|
}
|
|
14
15
|
|
|
15
16
|
.structuredListRow {
|
|
@@ -20,5 +21,5 @@
|
|
|
20
21
|
}
|
|
21
22
|
|
|
22
23
|
.subtreeCell {
|
|
23
|
-
left: -
|
|
24
|
+
left: -(layout.$spacing-12);
|
|
24
25
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
@use '@carbon/
|
|
1
|
+
@use '@carbon/layout';
|
|
2
2
|
@use '@carbon/styles/scss/components/button';
|
|
3
|
-
@import '../../implementer-tools.styles.scss';
|
|
4
3
|
|
|
5
4
|
.valueEditorButtons {
|
|
6
|
-
margin-top:
|
|
5
|
+
margin-top: layout.$spacing-03;
|
|
6
|
+
|
|
7
7
|
:global(.cds--btn--primary) {
|
|
8
8
|
background-color: button.$button-primary;
|
|
9
9
|
&:hover {
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
+
@use '@carbon/layout';
|
|
1
2
|
@use '@carbon/styles/scss/components/button';
|
|
2
3
|
|
|
3
4
|
.arrayEditor {
|
|
4
5
|
:global(.cds--structured-list) {
|
|
5
|
-
margin-bottom:
|
|
6
|
+
margin-bottom: layout.$spacing-02;
|
|
6
7
|
}
|
|
7
8
|
:global(.cds--structured-list-td) {
|
|
8
|
-
padding:
|
|
9
|
+
padding: layout.$spacing-02 layout.$spacing-09 layout.$spacing-02 layout.$spacing-05;
|
|
9
10
|
}
|
|
10
11
|
:global(.cds--btn--primary) {
|
|
11
12
|
background-color: button.$button-primary;
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
@use '@carbon/
|
|
2
|
-
@use '@carbon/
|
|
3
|
-
@import '../../implementer-tools.styles.scss';
|
|
1
|
+
@use '@carbon/layout';
|
|
2
|
+
@use '@carbon/type';
|
|
4
3
|
|
|
5
4
|
.activeConceptUuid {
|
|
6
5
|
@include type.type-style('body-compact-01');
|
|
7
6
|
color: $ui-05;
|
|
8
|
-
margin-bottom:
|
|
9
|
-
padding-bottom:
|
|
7
|
+
margin-bottom: layout.$spacing-03;
|
|
8
|
+
padding-bottom: layout.$spacing-03;
|
|
10
9
|
border-bottom: 1px solid $ui-03;
|
|
11
10
|
}
|
|
12
11
|
|
|
@@ -14,7 +13,7 @@
|
|
|
14
13
|
.autocomplete > [role='combobox'] {
|
|
15
14
|
display: flex;
|
|
16
15
|
position: relative;
|
|
17
|
-
width:
|
|
16
|
+
width: 20rem;
|
|
18
17
|
}
|
|
19
18
|
|
|
20
19
|
.autocomplete [role='listbox'] {
|
|
@@ -27,10 +26,10 @@
|
|
|
27
26
|
}
|
|
28
27
|
|
|
29
28
|
.autocomplete li {
|
|
30
|
-
line-height:
|
|
31
|
-
padding:
|
|
29
|
+
line-height: layout.$spacing-04;
|
|
30
|
+
padding: layout.$spacing-03;
|
|
32
31
|
display: block;
|
|
33
|
-
border-bottom:
|
|
32
|
+
border-bottom: layout.$spacing-01 solid #718096;
|
|
34
33
|
outline: 0;
|
|
35
34
|
margin: 0;
|
|
36
35
|
color: #000;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
@use '@carbon/layout';
|
|
2
|
+
|
|
3
|
+
.objectEditor :global(.cds--structured-list-td) {
|
|
4
|
+
padding: layout.$spacing-02 layout.$spacing-07 layout.$spacing-02 layout.$spacing-05;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.objectEditor :global(.cds--structured-list) {
|
|
8
|
+
margin-bottom: layout.$spacing-02;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.buttonCell {
|
|
12
|
+
text-align: right;
|
|
13
|
+
}
|
|
@@ -4,7 +4,7 @@ import { ValueEditorField } from './value-editor-field';
|
|
|
4
4
|
import type { ConfigValueDescriptor } from '../editable-value.component';
|
|
5
5
|
import { Type } from '@openmrs/esm-framework';
|
|
6
6
|
import cloneDeep from 'lodash-es/cloneDeep';
|
|
7
|
-
import styles from './object-editor.styles.
|
|
7
|
+
import styles from './object-editor.styles.scss';
|
|
8
8
|
|
|
9
9
|
interface ObjectEditorProps {
|
|
10
10
|
element: ConfigValueDescriptor;
|
package/src/configuration/interactive-editor/value-editors/patient-identifier-type-search.tsx
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React, { useState, useMemo } from 'react';
|
|
2
|
+
import { useTranslation } from 'react-i18next';
|
|
3
|
+
import { Search, StructuredListCell, StructuredListRow, StructuredListWrapper } from '@carbon/react';
|
|
2
4
|
import uniqueId from 'lodash-es/uniqueId';
|
|
3
5
|
import type { PatientIdentifierType } from './patient-identifier-type.resource';
|
|
4
6
|
import { usePatientIdentifierTypes } from './patient-identifier-type.resource';
|
|
5
7
|
import styles from './uuid-search.scss';
|
|
6
|
-
import { useTranslation } from 'react-i18next';
|
|
7
|
-
import { Search, StructuredListCell, StructuredListRow, StructuredListWrapper } from '@carbon/react';
|
|
8
8
|
|
|
9
9
|
interface PatientIdentifierTypeSearchBoxProps {
|
|
10
10
|
value: string;
|
|
@@ -1,36 +1,40 @@
|
|
|
1
|
-
@use '@carbon/
|
|
2
|
-
@use '@carbon/
|
|
3
|
-
@
|
|
1
|
+
@use '@carbon/layout';
|
|
2
|
+
@use '@carbon/type';
|
|
3
|
+
@use '@openmrs/esm-styleguide/src/vars' as *;
|
|
4
|
+
|
|
5
|
+
.bodyShort01 {
|
|
6
|
+
@include type.type-style('body-compact-01');
|
|
7
|
+
}
|
|
4
8
|
|
|
5
9
|
.activeUuid {
|
|
6
10
|
@include type.type-style('body-compact-01');
|
|
7
11
|
color: $ui-05;
|
|
8
|
-
margin-bottom:
|
|
9
|
-
padding-bottom:
|
|
12
|
+
margin-bottom: layout.$spacing-03;
|
|
13
|
+
padding-bottom: layout.$spacing-03;
|
|
10
14
|
border-bottom: 1px solid $ui-03;
|
|
11
15
|
}
|
|
12
16
|
|
|
13
17
|
.autocomplete,
|
|
14
18
|
.autocomplete > [role='combobox'] {
|
|
15
19
|
position: relative;
|
|
16
|
-
width:
|
|
20
|
+
width: 20rem;
|
|
17
21
|
}
|
|
18
22
|
|
|
19
23
|
.listbox {
|
|
20
|
-
box-shadow: 0 0
|
|
24
|
+
box-shadow: 0 0 layout.$spacing-03;
|
|
21
25
|
}
|
|
22
26
|
|
|
23
27
|
.smallListCell {
|
|
24
|
-
padding:
|
|
28
|
+
padding: layout.$spacing-03;
|
|
25
29
|
}
|
|
26
30
|
|
|
27
31
|
.loader {
|
|
28
|
-
margin:
|
|
32
|
+
margin: layout.$spacing-05;
|
|
29
33
|
}
|
|
30
34
|
|
|
31
35
|
.emptyResults {
|
|
32
36
|
@include type.type-style('body-compact-01');
|
|
33
37
|
background-color: $ui-02;
|
|
34
38
|
color: $text-02;
|
|
35
|
-
min-height:
|
|
39
|
+
min-height: layout.$spacing-05;
|
|
36
40
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
@use '@carbon/colors';
|
|
2
|
+
@use '@carbon/layout';
|
|
2
3
|
@use '@carbon/react/scss/theme';
|
|
3
4
|
@use '@carbon/styles/scss/components/button';
|
|
4
5
|
|
|
@@ -18,7 +19,7 @@
|
|
|
18
19
|
display: flex;
|
|
19
20
|
align-items: center;
|
|
20
21
|
width: 100%;
|
|
21
|
-
padding-left:
|
|
22
|
+
padding-left: layout.$spacing-07;
|
|
22
23
|
}
|
|
23
24
|
|
|
24
25
|
.errorBackground {
|
|
@@ -10,8 +10,8 @@ import {
|
|
|
10
10
|
TableHeader,
|
|
11
11
|
TableRow,
|
|
12
12
|
} from '@carbon/react';
|
|
13
|
-
import styles from './frontend-modules.scss';
|
|
14
13
|
import type { FrontendModule } from '../types';
|
|
14
|
+
import styles from './frontend-modules.scss';
|
|
15
15
|
|
|
16
16
|
export interface FrontendModulesProps {
|
|
17
17
|
frontendModules: Array<FrontendModule>;
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import React, { useState, useEffect } from 'react';
|
|
2
|
+
import { useTranslation } from 'react-i18next';
|
|
2
3
|
import { showToast, UserHasAccess, useStore } from '@openmrs/esm-framework';
|
|
3
4
|
import { implementerToolsStore, showModuleDiagnostics, togglePopup } from './store';
|
|
4
|
-
|
|
5
|
-
import { useBackendDependencies } from './backend-dependencies/useBackendDependencies';
|
|
6
5
|
import { hasInvalidDependencies } from './backend-dependencies/openmrs-backend-dependencies';
|
|
7
|
-
import {
|
|
6
|
+
import { useBackendDependencies } from './backend-dependencies/useBackendDependencies';
|
|
8
7
|
import { useFrontendModules } from './hooks';
|
|
9
8
|
import styles from './implementer-tools.styles.scss';
|
|
10
9
|
|
|
@@ -1,35 +1,21 @@
|
|
|
1
|
-
@use '@carbon/
|
|
2
|
-
@use '@carbon/styles/scss/type';
|
|
1
|
+
@use '@carbon/layout';
|
|
3
2
|
@use '@carbon/react/scss/themes';
|
|
4
3
|
@use '@carbon/react/scss/theme';
|
|
5
|
-
@
|
|
6
|
-
|
|
7
|
-
.productiveHeading01 {
|
|
8
|
-
@include type.type-style('heading-compact-01');
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.productiveHeading02 {
|
|
12
|
-
@include type.type-style('heading-compact-02');
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.bodyShort01 {
|
|
16
|
-
@include type.type-style('body-compact-01');
|
|
17
|
-
}
|
|
4
|
+
@use '@openmrs/esm-styleguide/src/vars' as *;
|
|
18
5
|
|
|
19
6
|
.toolStyles {
|
|
20
7
|
background-color: transparent;
|
|
21
8
|
}
|
|
22
9
|
|
|
23
|
-
// Chevron button - implementer-tools component
|
|
24
10
|
.chevronImplementerToolsButton {
|
|
25
11
|
position: fixed;
|
|
26
12
|
bottom: 0;
|
|
27
|
-
left: calc(50vw -
|
|
13
|
+
left: calc(50vw - layout.$spacing-05);
|
|
28
14
|
z-index: 9999;
|
|
29
15
|
|
|
30
16
|
div {
|
|
31
17
|
background-color: $ui-02;
|
|
32
|
-
width:
|
|
18
|
+
width: layout.$spacing-07;
|
|
33
19
|
display: flex;
|
|
34
20
|
justify-content: center;
|
|
35
21
|
cursor: pointer;
|
|
@@ -37,7 +23,7 @@
|
|
|
37
23
|
}
|
|
38
24
|
|
|
39
25
|
div:hover {
|
|
40
|
-
padding:
|
|
26
|
+
padding: layout.$spacing-03 0;
|
|
41
27
|
}
|
|
42
28
|
}
|
|
43
29
|
|