@openmrs/esm-implementer-tools-app 6.0.5-pre.2673 → 6.0.5-pre.2676

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openmrs/esm-implementer-tools-app",
3
- "version": "6.0.5-pre.2673",
3
+ "version": "6.0.5-pre.2676",
4
4
  "license": "MPL-2.0",
5
5
  "description": "The admin interface for OpenMRS Frontend",
6
6
  "browser": "dist/openmrs-esm-implementer-tools-app.js",
@@ -51,8 +51,8 @@
51
51
  "swr": "2.x"
52
52
  },
53
53
  "devDependencies": {
54
- "@openmrs/esm-framework": "6.0.5-pre.2673",
55
- "@openmrs/webpack-config": "6.0.5-pre.2673",
54
+ "@openmrs/esm-framework": "6.0.5-pre.2676",
55
+ "@openmrs/webpack-config": "6.0.5-pre.2676",
56
56
  "ace-builds": "^1.4.14",
57
57
  "react": "^18.1.0",
58
58
  "react-ace": "^9.5.0",
@@ -1,8 +1,7 @@
1
1
  import React, { useMemo, useState } from 'react';
2
2
  import { Button, Column, FlexGrid, Row, TextInput, Toggle } from '@carbon/react';
3
3
  import { useTranslation } from 'react-i18next';
4
- import cloneDeep from 'lodash-es/cloneDeep';
5
- import isEmpty from 'lodash-es/isEmpty';
4
+ import { cloneDeep, isEmpty } from 'lodash-es';
6
5
  import type { Config } from '@openmrs/esm-framework/src/internal';
7
6
  import {
8
7
  ChevronDownIcon,
@@ -18,8 +17,7 @@ import {
18
17
  } from '@openmrs/esm-framework/src/internal';
19
18
  import { ConfigTree } from './interactive-editor/config-tree.component';
20
19
  import { Description } from './interactive-editor/description.component';
21
- import type { ImplementerToolsStore } from '../store';
22
- import { implementerToolsStore } from '../store';
20
+ import { implementerToolsStore, type ImplementerToolsStore } from '../store';
23
21
  import styles from './configuration.styles.scss';
24
22
 
25
23
  const JsonEditor = React.lazy(() => import('./json-editor/json-editor.component'));
@@ -1,8 +1,8 @@
1
1
  import React from 'react';
2
- import EditableValue from './editable-value.component';
2
+ import { isEqual } from 'lodash-es';
3
3
  import { implementerToolsStore } from '../../store';
4
- import isEqual from 'lodash-es/isEqual';
5
4
  import { Subtree } from './layout/subtree.component';
5
+ import EditableValue from './editable-value.component';
6
6
 
7
7
  export interface ConfigSubtreeProps {
8
8
  config: Record<string, any>;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
+ import { pickBy } from 'lodash-es';
2
3
  import { ExtensionSlotsConfigTree } from './extension-slots-config-tree';
3
4
  import { ConfigSubtree } from './config-subtree.component';
4
- import pickBy from 'lodash-es/pickBy';
5
5
  import { TreeContainer } from './layout/tree-container.component';
6
6
 
7
7
  export interface ConfigTreeForModuleProps {
@@ -1,18 +1,20 @@
1
1
  import React, { useState, useEffect, useRef } from 'react';
2
- import isEqual from 'lodash-es/isEqual';
3
- import unset from 'lodash-es/unset';
4
- import cloneDeep from 'lodash-es/cloneDeep';
5
- import styles from './editable-value.styles.scss';
2
+ import { useTranslation } from 'react-i18next';
3
+ import { isEqual, cloneDeep, unset } from 'lodash-es';
6
4
  import { Button } from '@carbon/react';
7
- import type { ConfigValue, Validator, Type, Config } from '@openmrs/esm-framework/src/internal';
8
5
  import { EditIcon, ResetIcon } from '@openmrs/esm-framework';
9
- import { clearConfigErrors, temporaryConfigStore } from '@openmrs/esm-framework/src/internal';
10
- import type { CustomValueType } from './value-editor';
11
- import { ValueEditor } from './value-editor';
12
- import type { ImplementerToolsStore } from '../../store';
13
- import { implementerToolsStore } from '../../store';
6
+ import {
7
+ clearConfigErrors,
8
+ temporaryConfigStore,
9
+ type ConfigValue,
10
+ type Config,
11
+ type Validator,
12
+ type Type,
13
+ } from '@openmrs/esm-framework/src/internal';
14
+ import { implementerToolsStore, type ImplementerToolsStore } from '../../store';
14
15
  import { DisplayValue } from './display-value';
15
- import { useTranslation } from 'react-i18next';
16
+ import { ValueEditor, type CustomValueType } from './value-editor';
17
+ import styles from './editable-value.styles.scss';
16
18
 
17
19
  export interface EditableValueProps {
18
20
  path: Array<string>;