Reduce circular dependencies caused by importing from indexes, the location of the validation models, and the location of areaKeys (close #6237)

This commit is contained in:
Quincy Morgan
2019-04-24 13:45:59 -07:00
parent 862eca9ddd
commit d01bb78707
158 changed files with 503 additions and 472 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
import { event as d3_event } from 'd3-selection';
import { t } from '../util/locale';
import { svgIcon } from '../svg';
import { svgIcon } from '../svg/icon';
export function uiAccount(context) {
+1 -1
View File
@@ -11,7 +11,7 @@ import {
} from 'd3-selection';
import { t, textDirection } from '../util/locale';
import { svgIcon } from '../svg';
import { svgIcon } from '../svg/icon';
import { uiBackgroundDisplayOptions } from './background_display_options';
import { uiBackgroundOffset } from './background_offset';
import { uiCmd } from './cmd';
+1 -1
View File
@@ -4,7 +4,7 @@ import {
} from 'd3-selection';
import { t, textDirection } from '../util/locale';
import { svgIcon } from '../svg';
import { svgIcon } from '../svg/icon';
import { uiDisclosure } from './disclosure';
import { utilDetect } from '../util/detect';
+1 -1
View File
@@ -6,7 +6,7 @@ import {
import { t, textDirection } from '../util/locale';
import { geoMetersToOffset, geoOffsetToMeters } from '../geo';
import { svgIcon } from '../svg';
import { svgIcon } from '../svg/icon';
import { uiDisclosure } from './disclosure';
+4 -2
View File
@@ -1,8 +1,10 @@
import { dispatch as d3_dispatch } from 'd3-dispatch';
import { t } from '../util/locale';
import { svgIcon } from '../svg';
import { uiCombobox, uiField, uiFormFields } from './index';
import { svgIcon } from '../svg/icon';
import { uiCombobox} from './combobox';
import { uiField } from './field';
import { uiFormFields } from './form_fields';
import { utilArrayUniqBy, utilRebind, utilTriggerEvent } from '../util';
+2 -2
View File
@@ -3,9 +3,9 @@ import { select as d3_select } from 'd3-selection';
import deepEqual from 'fast-deep-equal';
import { t } from '../util/locale';
import { modeBrowse } from '../modes';
import { modeBrowse } from '../modes/browse';
import { osmChangeset } from '../osm';
import { svgIcon } from '../svg';
import { svgIcon } from '../svg/icon';
import { services } from '../services';
import { tooltip } from '../util/tooltip';
import { uiChangesetEditor } from './changeset_editor';
+2 -2
View File
@@ -2,9 +2,9 @@ import { select as d3_select } from 'd3-selection';
import { t } from '../util/locale';
import { JXON } from '../util/jxon';
import { actionDiscardTags } from '../actions';
import { actionDiscardTags } from '../actions/discard_tags';
import { osmChangeset } from '../osm';
import { svgIcon } from '../svg';
import { svgIcon } from '../svg/icon';
import { utilDetect } from '../util/detect';
import {
+2 -2
View File
@@ -1,6 +1,6 @@
import { t } from '../util/locale';
import { modeSelect } from '../modes';
import { svgIcon } from '../svg';
import { modeSelect } from '../modes/select';
import { svgIcon } from '../svg/icon';
import { tooltip } from '../util/tooltip';
import { utilEntityOrMemberSelector } from '../util';
+1 -1
View File
@@ -9,7 +9,7 @@ import { t } from '../util/locale';
import { JXON } from '../util/jxon';
import { geoExtent } from '../geo';
import { osmChangeset } from '../osm';
import { svgIcon } from '../svg';
import { svgIcon } from '../svg/icon';
import { utilDetect } from '../util/detect';
import {
+6 -8
View File
@@ -1,13 +1,11 @@
import { t } from '../util/locale';
import { modeBrowse } from '../modes';
import { svgIcon } from '../svg';
import { modeBrowse } from '../modes/browse';
import { svgIcon } from '../svg/icon';
import {
uiDataHeader,
uiQuickLinks,
uiRawTagEditor,
uiTooltipHtml
} from './index';
import { uiDataHeader } from './data_header';
import { uiQuickLinks } from './quick_links';
import { uiRawTagEditor } from './raw_tag_editor';
import { uiTooltipHtml } from './tooltipHtml';
export function uiDataEditor(context) {
+1 -1
View File
@@ -1,5 +1,5 @@
import { t } from '../util/locale';
import { svgIcon } from '../svg';
import { svgIcon } from '../svg/icon';
export function uiDataHeader() {
+1 -1
View File
@@ -1,7 +1,7 @@
import { dispatch as d3_dispatch } from 'd3-dispatch';
import { event as d3_event } from 'd3-selection';
import { svgIcon } from '../svg';
import { svgIcon } from '../svg/icon';
import { utilRebind } from '../util/rebind';
import { uiToggle } from './toggle';
import { textDirection } from '../util/locale';
+3 -3
View File
@@ -4,9 +4,9 @@ import deepEqual from 'fast-deep-equal';
import { t, textDirection } from '../util/locale';
import { tooltip } from '../util/tooltip';
import { actionChangeTags } from '../actions';
import { modeBrowse } from '../modes';
import { svgIcon } from '../svg';
import { actionChangeTags } from '../actions/change_tags';
import { modeBrowse } from '../modes/browse';
import { svgIcon } from '../svg/icon';
import { uiPresetFavoriteButton } from './preset_favorite_button';
import { uiPresetIcon } from './preset_icon';
import { uiQuickLinks } from './quick_links';
+1 -1
View File
@@ -1,6 +1,6 @@
import { event as d3_event, select as d3_select } from 'd3-selection';
import { svgIcon } from '../svg';
import { svgIcon } from '../svg/icon';
import { t } from '../util/locale';
import { uiDisclosure } from './disclosure';
import { utilHighlightEntities } from '../util';
+4 -4
View File
@@ -6,12 +6,12 @@ import {
import * as sexagesimal from '@mapbox/sexagesimal';
import { t } from '../util/locale';
import { dmsCoordinatePair } from '../util/units';
import { coreGraph } from '../core';
import { coreGraph } from '../core/graph';
import { geoExtent, geoChooseEdge } from '../geo';
import { modeSelect } from '../modes';
import { osmEntity } from '../osm';
import { modeSelect } from '../modes/select';
import { osmEntity } from '../osm/entity';
import { services } from '../services';
import { svgIcon } from '../svg';
import { svgIcon } from '../svg/icon';
import { uiCmd } from './cmd';
import {
+1 -1
View File
@@ -7,7 +7,7 @@ import {
import { t } from '../util/locale';
import { textDirection } from '../util/locale';
import { svgIcon } from '../svg';
import { svgIcon } from '../svg/icon';
import { uiFieldHelp } from './field_help';
import { uiFields } from './fields';
import { uiTagReference } from './tag_reference';
+1 -1
View File
@@ -5,7 +5,7 @@ import {
import marked from 'marked';
import { t, textDirection } from '../util/locale';
import { svgIcon } from '../svg';
import { svgIcon } from '../svg/icon';
import { icon } from './intro/helper';
+1 -1
View File
@@ -1,7 +1,7 @@
import { dispatch as d3_dispatch } from 'd3-dispatch';
import { select as d3_select } from 'd3-selection';
import { uiCombobox } from '../index';
import { uiCombobox } from '../combobox';
import { utilGetSetValue, utilNoAuto, utilRebind } from '../../util';
+1 -1
View File
@@ -4,7 +4,7 @@ import { select as d3_select } from 'd3-selection';
import { dataAddressFormats } from '../../../data';
import { geoExtent, geoChooseEdge, geoSphericalDistance } from '../../geo';
import { services } from '../../services';
import { uiCombobox } from '../index';
import { uiCombobox } from '../combobox';
import { utilArrayUniqBy, utilGetSetValue, utilNoAuto, utilRebind } from '../../util';
+2 -2
View File
@@ -7,9 +7,9 @@ import {
import { utilRebind } from '../../util/rebind';
import { t } from '../../util/locale';
import { actionReverse } from '../../actions';
import { actionReverse } from '../../actions/reverse';
import { osmOneWayTags } from '../../osm';
import { svgIcon } from '../../svg';
import { svgIcon } from '../../svg/icon';
export { uiFieldCheck as uiFieldDefaultCheck };
export { uiFieldCheck as uiFieldOnewayCheck };
+1 -1
View File
@@ -4,7 +4,7 @@ import { event as d3_event, select as d3_select } from 'd3-selection';
import { osmEntity } from '../../osm/entity';
import { t } from '../../util/locale';
import { services } from '../../services';
import { uiCombobox } from '../index';
import { uiCombobox } from '../combobox';
import { utilArrayUniq, utilGetSetValue, utilNoAuto, utilRebind } from '../../util';
export {
+1 -1
View File
@@ -1,7 +1,7 @@
import { dispatch as d3_dispatch } from 'd3-dispatch';
import { select as d3_select } from 'd3-selection';
import { uiCombobox } from '../index';
import { uiCombobox } from '../combobox';
import { utilGetSetValue, utilNoAuto, utilRebind } from '../../util';
+1 -1
View File
@@ -11,7 +11,7 @@ import { dataWikipedia } from '../../../data';
import { services } from '../../services';
import { svgIcon } from '../../svg';
import { tooltip } from '../../util/tooltip';
import { uiCombobox } from '../index';
import { uiCombobox } from '../combobox';
import { utilDetect } from '../../util/detect';
import { utilEditDistance, utilGetSetValue, utilNoAuto, utilRebind } from '../../util';
+1 -1
View File
@@ -3,7 +3,7 @@ import { select as d3_select } from 'd3-selection';
import { dataImperial } from '../../../data';
import { geoPointInPolygon } from '../../geo';
import { uiCombobox } from '../index';
import { uiCombobox } from '../combobox';
import { utilGetSetValue, utilNoAuto, utilRebind } from '../../util';
+3 -2
View File
@@ -2,8 +2,9 @@ import { dispatch as d3_dispatch } from 'd3-dispatch';
import { select as d3_select, event as d3_event } from 'd3-selection';
import { t } from '../../util/locale';
import { actionRestrictTurn, actionUnrestrictTurn } from '../../actions';
import { behaviorBreathe } from '../../behavior';
import { actionRestrictTurn } from '../../actions/restrict_turn';
import { actionUnrestrictTurn } from '../../actions/unrestrict_turn';
import { behaviorBreathe } from '../../behavior/breathe';
import { geoExtent, geoRawMercator, geoVecScale, geoVecSubtract, geoZoomToScale } from '../../geo';
import { osmIntersection, osmInferRestriction, osmTurn, osmWay } from '../../osm';
import { svgLayers, svgLines, svgTurns, svgVertices } from '../../svg';
+3 -3
View File
@@ -5,12 +5,12 @@ import {
event as d3_event
} from 'd3-selection';
import { uiCombobox } from '../index';
import { uiCombobox } from '../combobox';
import { actionChangeTags } from '../../actions/index';
import { actionChangeTags } from '../../actions/change_tags';
import { services } from '../../services/index';
import { svgIcon } from '../../svg/index';
import { svgIcon } from '../../svg/icon';
import {
utilGetSetValue,
utilNoAuto,
+3 -3
View File
@@ -6,11 +6,11 @@ import {
} from 'd3-selection';
import { t } from '../../util/locale';
import { actionChangeTags } from '../../actions/index';
import { actionChangeTags } from '../../actions/change_tags';
import { dataWikipedia } from '../../../data/index';
import { services } from '../../services/index';
import { svgIcon } from '../../svg/index';
import { uiCombobox } from '../index';
import { svgIcon } from '../../svg/icon';
import { uiCombobox } from '../combobox';
import { utilDetect } from '../../util/detect';
import { utilGetSetValue, utilNoAuto, utilRebind } from '../../util';
+1 -1
View File
@@ -1,7 +1,7 @@
import { select as d3_select } from 'd3-selection';
import { t } from '../util/locale';
import { uiCombobox } from './index';
import { uiCombobox } from './combobox';
import { utilGetSetValue, utilNoAuto } from '../util';
+2 -2
View File
@@ -1,8 +1,8 @@
import { t, textDirection } from '../util/locale';
import { tooltip } from '../util/tooltip';
import { geoExtent } from '../geo';
import { modeBrowse } from '../modes';
import { svgIcon } from '../svg';
import { modeBrowse } from '../modes/browse';
import { svgIcon } from '../svg/icon';
import { uiLoading } from './loading';
+2 -2
View File
@@ -4,9 +4,9 @@ import {
} from 'd3-selection';
import marked from 'marked';
import { svgIcon } from '../svg';
import { svgIcon } from '../svg/icon';
import { uiCmd } from './cmd';
import { uiIntro } from './intro';
import { uiIntro } from './intro/intro';
import { uiShortcuts } from './shortcuts';
import { uiTooltipHtml } from './tooltipHtml';
+2 -2
View File
@@ -1,7 +1,7 @@
import { select as d3_select } from 'd3-selection';
import { t } from '../util/locale';
import { svgIcon } from '../svg';
import { svgIcon } from '../svg/icon';
import { services } from '../services';
import { utilDetect } from '../util/detect';
@@ -91,4 +91,4 @@ export function uiImproveOsmComments() {
};
return errorComments;
}
}
+1 -1
View File
@@ -4,7 +4,7 @@ import {
} from 'd3-selection';
import { dataEn } from '../../data';
import { modeSelect } from '../modes';
import { modeSelect } from '../modes/select';
import { t } from '../util/locale';
import { utilDisplayName, utilEntityOrMemberSelector, utilEntityRoot } from '../util';
+7 -9
View File
@@ -3,16 +3,14 @@ import { select as d3_select } from 'd3-selection';
import { t } from '../util/locale';
import { services } from '../services';
import { modeBrowse } from '../modes';
import { svgIcon } from '../svg';
import { modeBrowse } from '../modes/browse';
import { svgIcon } from '../svg/icon';
import {
uiImproveOsmComments,
uiImproveOsmDetails,
uiImproveOsmHeader,
uiQuickLinks,
uiTooltipHtml
} from './index';
import { uiImproveOsmComments } from './improveOSM_comments';
import { uiImproveOsmDetails } from './improveOSM_details';
import { uiImproveOsmHeader } from './improveOSM_header';
import { uiQuickLinks } from './quick_links';
import { uiTooltipHtml } from './tooltipHtml';
import { utilNoAuto, utilRebind } from '../util';
+1 -1
View File
@@ -4,7 +4,7 @@ import {
} from 'd3-selection';
import { t } from '../util/locale';
import { svgIcon } from '../svg';
import { svgIcon } from '../svg/icon';
import { uiCmd } from './cmd';
import { uiInfoPanels } from './panels';
+1 -1
View File
@@ -8,7 +8,7 @@ import { t, textDirection } from '../util/locale';
import { tooltip } from '../util/tooltip';
import { behaviorHash } from '../behavior';
import { modeBrowse } from '../modes';
import { modeBrowse } from '../modes/browse';
import { svgDefs, svgIcon } from '../svg';
import { utilGetDimensions } from '../util/dimensions';
+2 -1
View File
@@ -10,7 +10,8 @@ import {
} from 'd3-interpolate';
import { t } from '../../util/locale';
import { modeBrowse, modeSelect } from '../../modes';
import { modeBrowse } from '../../modes/browse';
import { modeSelect } from '../../modes/select';
import { utilRebind } from '../../util/rebind';
import { uiCmd } from '../cmd';
import { icon, pad, transitionTime } from './helper';
+2 -1
View File
@@ -6,7 +6,8 @@ import {
} from 'd3-selection';
import { t, textDirection } from '../../util/locale';
import { modeBrowse, modeSelect } from '../../modes';
import { modeBrowse } from '../../modes/browse';
import { modeSelect } from '../../modes/select';
import { utilArrayUniq, utilRebind } from '../../util';
import { icon, pad, isMostlySquare, selectMenuItem, transitionTime } from './helper';
+2 -1
View File
@@ -7,7 +7,8 @@ import {
import { t, textDirection } from '../../util/locale';
import { geoSphericalDistance } from '../../geo';
import { modeBrowse, modeSelect } from '../../modes';
import { modeBrowse } from '../../modes/browse';
import { modeSelect } from '../../modes/select';
import { utilRebind } from '../../util/rebind';
import { icon, pad, selectMenuItem, transitionTime } from './helper';
+2 -1
View File
@@ -6,7 +6,8 @@ import {
} from 'd3-selection';
import { t } from '../../util/locale';
import { modeBrowse, modeSelect } from '../../modes';
import { modeBrowse } from '../../modes/browse';
import { modeSelect } from '../../modes/select';
import { utilRebind } from '../../util/rebind';
import { icon, pointBox, transitionTime } from './helper';
+3 -2
View File
@@ -5,8 +5,9 @@ import {
} from 'd3-selection';
import { t, textDirection } from '../../util/locale';
import { actionChangePreset } from '../../actions';
import { modeBrowse, modeSelect } from '../../modes';
import { actionChangePreset } from '../../actions/change_preset';
import { modeBrowse } from '../../modes/browse';
import { modeSelect } from '../../modes/select';
import { utilRebind } from '../../util/rebind';
import { icon, pointBox, pad, selectMenuItem, transitionTime } from './helper';
+3 -3
View File
@@ -5,10 +5,10 @@ import { event as d3_event, select as d3_select } from 'd3-selection';
import { t, textDirection } from '../util/locale';
import { tooltip } from '../util/tooltip';
import { actionNoop } from '../actions';
import { actionNoop } from '../actions/noop';
import { geoSphericalDistance } from '../geo';
import { modeSelect } from '../modes';
import { svgIcon } from '../svg';
import { modeSelect } from '../modes/select';
import { svgIcon } from '../svg/icon';
import { uiDisclosure } from './disclosure';
import { uiTooltipHtml } from './tooltipHtml';
import { utilCallWhenIdle, utilHighlightEntities } from '../util';
+1 -1
View File
@@ -4,7 +4,7 @@ import {
} from 'd3-selection';
import { dataEn } from '../../data';
import { modeSelect } from '../modes';
import { modeSelect } from '../modes/select';
import { t } from '../util/locale';
import { utilDisplayName, utilEntityOrMemberSelector, utilEntityRoot } from '../util';
+7 -9
View File
@@ -3,16 +3,14 @@ import { select as d3_select } from 'd3-selection';
import { t } from '../util/locale';
import { services } from '../services';
import { modeBrowse } from '../modes';
import { svgIcon } from '../svg';
import { modeBrowse } from '../modes/browse';
import { svgIcon } from '../svg/icon';
import {
uiKeepRightDetails,
uiKeepRightHeader,
uiQuickLinks,
uiTooltipHtml,
uiViewOnKeepRight
} from './index';
import { uiKeepRightDetails } from './keepRight_details';
import { uiKeepRightHeader } from './keepRight_header';
import { uiQuickLinks } from './quick_links';
import { uiTooltipHtml } from './tooltipHtml';
import { uiViewOnKeepRight } from './view_on_keepRight';
import { utilNoAuto, utilRebind } from '../util';
+1 -1
View File
@@ -1,5 +1,5 @@
import { dataEn } from '../../data';
import { svgIcon } from '../svg';
import { svgIcon } from '../svg/icon';
import { t } from '../util/locale';
+2 -2
View File
@@ -3,11 +3,11 @@ import {
select as d3_select
} from 'd3-selection';
import { svgIcon } from '../svg';
import { svgIcon } from '../svg/icon';
import { t, textDirection } from '../util/locale';
import { tooltip } from '../util/tooltip';
import { geoExtent } from '../geo';
import { modeBrowse } from '../modes';
import { modeBrowse } from '../modes/browse';
import { uiDisclosure } from './disclosure';
import { uiSettingsCustomData } from './settings/custom_data';
import { uiTooltipHtml } from './tooltipHtml';
+1 -1
View File
@@ -3,7 +3,7 @@ import {
select as d3_select
} from 'd3-selection';
import { svgIcon } from '../svg';
import { svgIcon } from '../svg/icon';
import { utilKeybinding } from '../util';
+1 -1
View File
@@ -1,7 +1,7 @@
import { select as d3_select } from 'd3-selection';
import { t } from '../util/locale';
import { svgIcon } from '../svg';
import { svgIcon } from '../svg/icon';
import { services } from '../services';
import { utilDetect } from '../util/detect';
+8 -10
View File
@@ -6,20 +6,18 @@ import {
import { t } from '../util/locale';
import { services } from '../services';
import { modeBrowse } from '../modes';
import { svgIcon } from '../svg';
import { modeBrowse } from '../modes/browse';
import { svgIcon } from '../svg/icon';
// import { uiField } from './field';
// import { uiFormFields } from './form_fields';
import {
uiNoteComments,
uiNoteHeader,
uiNoteReport,
uiQuickLinks,
uiTooltipHtml,
uiViewOnOSM,
} from './index';
import { uiNoteComments } from './note_comments';
import { uiNoteHeader } from './note_header';
import { uiNoteReport } from './note_report';
import { uiQuickLinks } from './quick_links';
import { uiTooltipHtml } from './tooltipHtml';
import { uiViewOnOSM } from './view_on_osm';
import {
utilNoAuto,
+1 -1
View File
@@ -1,5 +1,5 @@
import { t } from '../util/locale';
import { svgIcon } from '../svg';
import { svgIcon } from '../svg/icon';
export function uiNoteHeader() {
+1 -1
View File
@@ -1,7 +1,7 @@
import { t } from '../util/locale';
import { osmNote } from '../osm';
import { services } from '../services';
import { svgIcon } from '../svg';
import { svgIcon } from '../svg/icon';
export function uiNoteReport() {
+1 -1
View File
@@ -4,7 +4,7 @@ import {
} from 'd3-selection';
import { dispatch as d3_dispatch } from 'd3-dispatch';
import { svgIcon } from '../svg';
import { svgIcon } from '../svg/icon';
import { utilGetDimensions } from '../util/dimensions';
import { utilRebind } from '../util';
import { services } from '../services';
+1 -1
View File
@@ -6,7 +6,7 @@ import {
} from 'd3-selection';
import { t } from '../util/locale';
import { modeBrowse } from '../modes';
import { modeBrowse } from '../modes/browse';
import { uiDisclosure } from './disclosure';
import { uiField } from './field';
import { uiFormFields } from './form_fields';
+1 -1
View File
@@ -4,7 +4,7 @@ import {
} from 'd3-selection';
import { t } from '../util/locale';
import { svgIcon } from '../svg';
import { svgIcon } from '../svg/icon';
export function uiPresetFavoriteButton(preset, geom, context, klass) {
+2 -2
View File
@@ -7,8 +7,8 @@ import {
} from 'd3-selection';
import { t, textDirection } from '../util/locale';
import { actionChangePreset } from '../actions/index';
import { operationDelete } from '../operations/index';
import { actionChangePreset } from '../actions/change_preset';
import { operationDelete } from '../operations/delete';
import { services } from '../services';
import { svgIcon } from '../svg/index';
import { tooltip } from '../util/tooltip';
+8 -4
View File
@@ -5,12 +5,16 @@ import {
} from 'd3-selection';
import { t } from '../util/locale';
import { actionChangeMember, actionDeleteMember, actionMoveMember } from '../actions';
import { modeBrowse, modeSelect } from '../modes';
import { actionChangeMember } from '../actions/change_member';
import { actionDeleteMember } from '../actions/delete_member';
import { actionMoveMember } from '../actions/move_member';
import { modeBrowse } from '../modes/browse';
import { modeSelect } from '../modes/select';
import { osmEntity } from '../osm';
import { svgIcon } from '../svg';
import { svgIcon } from '../svg/icon';
import { services } from '../services';
import { uiCombobox, uiDisclosure } from './index';
import { uiCombobox } from './combobox';
import { uiDisclosure } from './disclosure';
import { utilDisplayName, utilDisplayType, utilHighlightEntities, utilNoAuto } from '../util';
+8 -9
View File
@@ -5,18 +5,17 @@ import {
import { t, textDirection } from '../util/locale';
import {
actionAddEntity,
actionAddMember,
actionChangeMember,
actionDeleteMember
} from '../actions';
import { actionAddEntity } from '../actions/add_entity';
import { actionAddMember } from '../actions/add_member';
import { actionChangeMember } from '../actions/change_member';
import { actionDeleteMember } from '../actions/delete_member';
import { modeSelect } from '../modes';
import { modeSelect } from '../modes/select';
import { osmEntity, osmRelation } from '../osm';
import { services } from '../services';
import { svgIcon } from '../svg';
import { uiCombobox, uiDisclosure } from './index';
import { svgIcon } from '../svg/icon';
import { uiCombobox } from './combobox';
import { uiDisclosure } from './disclosure';
import { tooltip } from '../util/tooltip';
import { utilArrayGroupBy, utilDisplayName, utilNoAuto, utilHighlightEntities } from '../util';
+4 -2
View File
@@ -7,8 +7,10 @@ import {
import { t } from '../util/locale';
import { services } from '../services';
import { svgIcon } from '../svg';
import { uiCombobox, uiDisclosure, uiTagReference } from './index';
import { svgIcon } from '../svg/icon';
import { uiCombobox } from './combobox';
import { uiDisclosure } from './disclosure';
import { uiTagReference } from './tag_reference';
import { utilGetSetValue, utilNoAuto, utilRebind } from '../util';
+2 -2
View File
@@ -1,9 +1,9 @@
import { event as d3_event, select as d3_select } from 'd3-selection';
import { t } from '../util/locale';
import { modeSelect } from '../modes';
import { modeSelect } from '../modes/select';
import { osmEntity } from '../osm';
import { svgIcon } from '../svg';
import { svgIcon } from '../svg/icon';
import { utilDisplayName, utilHighlightEntities } from '../util';
+1 -1
View File
@@ -5,7 +5,7 @@ import {
import { t } from '../util/locale';
import { dataShortcuts } from '../../data';
import { svgIcon } from '../svg';
import { svgIcon } from '../svg/icon';
import { uiCmd } from './cmd';
import { uiModal } from './modal';
import { utilArrayUniq } from '../util';
+6 -8
View File
@@ -11,14 +11,12 @@ import {
import { osmEntity, osmNote, qaError } from '../osm';
import { services } from '../services';
import {
uiDataEditor,
uiFeatureList,
uiInspector,
uiNoteEditor,
uiImproveOsmEditor,
uiKeepRightEditor
} from './index';
import { uiDataEditor } from './data_editor';
import { uiFeatureList } from './feature_list';
import { uiInspector } from './inspector';
import { uiImproveOsmEditor } from './improveOSM_editor';
import { uiKeepRightEditor } from './keepRight_editor';
import { uiNoteEditor } from './note_editor';
import { textDirection } from '../util/locale';
+1 -1
View File
@@ -4,7 +4,7 @@ import {
} from 'd3-selection';
import { t } from '../util/locale';
import { modeBrowse } from '../modes';
import { modeBrowse } from '../modes/browse';
export function uiSourceSwitch(context) {
+1 -1
View File
@@ -1,7 +1,7 @@
import { event as d3_event } from 'd3-selection';
import { t } from '../util/locale';
import { svgIcon } from '../svg';
import { svgIcon } from '../svg/icon';
export function uiStatus(context) {
+2 -2
View File
@@ -3,8 +3,8 @@ import { select as d3_select } from 'd3-selection';
import { t } from '../util/locale';
import { data } from '../../data';
import { svgIcon } from '../svg';
import { uiDisclosure } from '../ui';
import { svgIcon } from '../svg/icon';
import { uiDisclosure } from '../ui/disclosure';
import { utilDetect } from '../util/detect';
import { utilRebind } from '../util/rebind';
+1 -1
View File
@@ -5,7 +5,7 @@ import {
import { t } from '../util/locale';
import { services } from '../services';
import { svgIcon } from '../svg';
import { svgIcon } from '../svg/icon';
// Pass `which` object of the form:
+1 -1
View File
@@ -1,5 +1,5 @@
import { t } from '../util/locale';
import { svgIcon } from '../svg';
import { svgIcon } from '../svg/icon';
import { tooltip } from '../util/tooltip';
+1 -1
View File
@@ -1,6 +1,6 @@
import { t } from '../util/locale';
import { services } from '../services';
import { svgIcon } from '../svg';
import { svgIcon } from '../svg/icon';
import { qaError } from '../osm';
+1 -1
View File
@@ -1,6 +1,6 @@
import { t } from '../util/locale';
import { osmEntity, osmNote } from '../osm';
import { svgIcon } from '../svg';
import { svgIcon } from '../svg/icon';
export function uiViewOnOSM(context) {
+1 -1
View File
@@ -4,7 +4,7 @@ import {
} from 'd3-selection';
import { t, textDirection } from '../util/locale';
import { svgIcon } from '../svg';
import { svgIcon } from '../svg/icon';
import { uiCmd } from './cmd';
import { uiTooltipHtml } from './tooltipHtml';
import { tooltip } from '../util/tooltip';