Skip to content

Commit

Permalink
Sort imports and run grunt modulify, see phetsims/chipper#1462
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid committed Nov 27, 2024
1 parent 2c89dc3 commit 408a27d
Show file tree
Hide file tree
Showing 51 changed files with 324 additions and 324 deletions.
12 changes: 6 additions & 6 deletions js/chart-intro/ChartIntroScreen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@
*/

import Screen, { ScreenOptions } from '../../../joist/js/Screen.js';
import ScreenIcon from '../../../joist/js/ScreenIcon.js';
import optionize, { EmptySelfOptions } from '../../../phet-core/js/optionize.js';
import BasicActionsKeyboardHelpSection from '../../../scenery-phet/js/keyboard/help/BasicActionsKeyboardHelpSection.js';
import { FlowBox } from '../../../scenery/js/imports.js';
import buildANucleus from '../buildANucleus.js';
import BANColors from '../common/BANColors.js';
import BuildANucleusStrings from '../BuildANucleusStrings.js';
import ChartIntroModel from '../chart-intro/model/ChartIntroModel.js';
import ChartIntroScreenView from '../chart-intro/view/ChartIntroScreenView.js';
import optionize, { EmptySelfOptions } from '../../../phet-core/js/optionize.js';
import BuildANucleusStrings from '../BuildANucleusStrings.js';
import ScreenIcon from '../../../joist/js/ScreenIcon.js';
import BANColors from '../common/BANColors.js';
import CompleteNuclideChartIconNode from './view/CompleteNuclideChartIconNode.js';
import { FlowBox } from '../../../scenery/js/imports.js';
import BasicActionsKeyboardHelpSection from '../../../scenery-phet/js/keyboard/help/BasicActionsKeyboardHelpSection.js';

// types
export type NuclideChartIntroScreenOptions = ScreenOptions;
Expand Down
16 changes: 8 additions & 8 deletions js/chart-intro/model/ChartIntroModel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,18 @@
* @author Luisa Vargas
*/

import buildANucleus from '../../buildANucleus.js';
import BANModel from '../../common/model/BANModel.js';
import ShellModelNucleus from './ShellModelNucleus.js';
import Property from '../../../../axon/js/Property.js';
import Vector2 from '../../../../dot/js/Vector2.js';
import ParticleType from '../../common/model/ParticleType.js';
import Particle from '../../../../shred/js/model/Particle.js';
import BANConstants from '../../common/BANConstants.js';
import ParticleAtom from '../../../../shred/js/model/ParticleAtom.js';
import Property from '../../../../axon/js/Property.js';
import NuclideChartCellModel from './NuclideChartCellModel.js';
import DecayEquationModel from './DecayEquationModel.js';
import buildANucleus from '../../buildANucleus.js';
import BANConstants from '../../common/BANConstants.js';
import BANModel from '../../common/model/BANModel.js';
import BANParticle from '../../common/model/BANParticle.js';
import ParticleType from '../../common/model/ParticleType.js';
import DecayEquationModel from './DecayEquationModel.js';
import NuclideChartCellModel from './NuclideChartCellModel.js';
import ShellModelNucleus from './ShellModelNucleus.js';

// types
export type SelectedChartType = 'partial' | 'zoom';
Expand Down
8 changes: 4 additions & 4 deletions js/chart-intro/model/DecayEquationModel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@
* @author Marla Schulz (PhET Interactive Simulations)
*/

import buildANucleus from '../../buildANucleus.js';
import NuclideChartCellModel from './NuclideChartCellModel.js';
import TReadOnlyProperty from '../../../../axon/js/TReadOnlyProperty.js';
import NumberProperty from '../../../../axon/js/NumberProperty.js';
import Property from '../../../../axon/js/Property.js';
import BANConstants from '../../common/BANConstants.js';
import TReadOnlyProperty from '../../../../axon/js/TReadOnlyProperty.js';
import Utils from '../../../../dot/js/Utils.js';
import buildANucleus from '../../buildANucleus.js';
import BANConstants from '../../common/BANConstants.js';
import NuclideChartCellModel from './NuclideChartCellModel.js';

class DecayEquationModel {

Expand Down
2 changes: 1 addition & 1 deletion js/chart-intro/model/EnergyLevelType.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
* @author Luisa Vargas
*/

import Enumeration from '../../../../phet-core/js/Enumeration.js';
import EnumerationValue from '../../../../phet-core/js/EnumerationValue.js';
import buildANucleus from '../../buildANucleus.js';
import Enumeration from '../../../../phet-core/js/Enumeration.js';

class EnergyLevelType extends EnumerationValue {

Expand Down
6 changes: 3 additions & 3 deletions js/chart-intro/model/NuclideChartCellModel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
* @author Marla Schulz (PhET Interactive Simulations)
*/

import buildANucleus from '../../buildANucleus.js';
import DecayType from '../../common/model/DecayType.js';
import { ColorProperty } from '../../../../scenery/js/imports.js';
import AtomIdentifier, { DecayAmount } from '../../../../shred/js/AtomIdentifier.js';
import buildANucleus from '../../buildANucleus.js';
import BANColors from '../../common/BANColors.js';
import { ColorProperty } from '../../../../scenery/js/imports.js';
import DecayType from '../../common/model/DecayType.js';

class NuclideChartCellModel {

Expand Down
8 changes: 4 additions & 4 deletions js/chart-intro/model/ShellModelNucleus.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,17 @@

import { ObservableArray } from '../../../../axon/js/createObservableArray.js';
import EnumerationProperty from '../../../../axon/js/EnumerationProperty.js';
import TReadOnlyProperty from '../../../../axon/js/TReadOnlyProperty.js';
import Bounds2 from '../../../../dot/js/Bounds2.js';
import Vector2 from '../../../../dot/js/Vector2.js';
import ModelViewTransform2 from '../../../../phetcommon/js/view/ModelViewTransform2.js';
import Particle, { ParticleTypeString } from '../../../../shred/js/model/Particle.js';
import ParticleAtom from '../../../../shred/js/model/ParticleAtom.js';
import buildANucleus from '../../buildANucleus.js';
import BANConstants from '../../common/BANConstants.js';
import BANParticle from '../../common/model/BANParticle.js';
import ParticleType from '../../common/model/ParticleType.js';
import EnergyLevelType from './EnergyLevelType.js';
import BANParticle from '../../common/model/BANParticle.js';
import TReadOnlyProperty from '../../../../axon/js/TReadOnlyProperty.js';
import ModelViewTransform2 from '../../../../phetcommon/js/view/ModelViewTransform2.js';
import Bounds2 from '../../../../dot/js/Bounds2.js';

// types
export type ParticleShellPosition = {
Expand Down
46 changes: 23 additions & 23 deletions js/chart-intro/view/ChartIntroScreenView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,38 +6,38 @@
* @author Luisa Vargas
*/

import buildANucleus from '../../buildANucleus.js';
import ChartIntroModel, { SelectedChartType } from '../model/ChartIntroModel.js';
import BooleanProperty from '../../../../axon/js/BooleanProperty.js';
import Property from '../../../../axon/js/Property.js';
import TinyProperty from '../../../../axon/js/TinyProperty.js';
import Vector2 from '../../../../dot/js/Vector2.js';
import optionize, { EmptySelfOptions } from '../../../../phet-core/js/optionize.js';
import BANScreenView, { BANScreenViewOptions } from '../../common/view/BANScreenView.js';
import ModelViewTransform2 from '../../../../phetcommon/js/view/ModelViewTransform2.js';
import ArrowNode from '../../../../scenery-phet/js/ArrowNode.js';
import { Line, Node, RichText, Text } from '../../../../scenery/js/imports.js';
import Particle from '../../../../shred/js/model/Particle.js';
import ParticleAtom from '../../../../shred/js/model/ParticleAtom.js';
import PeriodicTableAndIsotopeSymbol from './PeriodicTableAndIsotopeSymbol.js';
import BuildANucleusStrings from '../../BuildANucleusStrings.js';
import { Line, Node, RichText, Text } from '../../../../scenery/js/imports.js';
import BANConstants from '../../common/BANConstants.js';
import ArrowNode from '../../../../scenery-phet/js/ArrowNode.js';
import BANColors from '../../common/BANColors.js';
import Vector2 from '../../../../dot/js/Vector2.js';
import NucleonShellView from './NucleonShellView.js';
import ParticleType from '../../common/model/ParticleType.js';
import ModelViewTransform2 from '../../../../phetcommon/js/view/ModelViewTransform2.js';
import NuclideChartAccordionBox from './NuclideChartAccordionBox.js';
import RectangularRadioButtonGroup from '../../../../sun/js/buttons/RectangularRadioButtonGroup.js';
import CompleteNuclideChartIconNode from './CompleteNuclideChartIconNode.js';
import ZoomInNuclideChartIconNode from './ZoomInNuclideChartIconNode.js';
import Checkbox from '../../../../sun/js/Checkbox.js';
import Animation from '../../../../twixt/js/Animation.js';
import Easing from '../../../../twixt/js/Easing.js';
import buildANucleus from '../../buildANucleus.js';
import BuildANucleusStrings from '../../BuildANucleusStrings.js';
import BANColors from '../../common/BANColors.js';
import BANConstants from '../../common/BANConstants.js';
import BANQueryParameters from '../../common/BANQueryParameters.js';
import AlphaParticle from '../../common/model/AlphaParticle.js';
import DecayType from '../../common/model/DecayType.js';
import Checkbox from '../../../../sun/js/Checkbox.js';
import BooleanProperty from '../../../../axon/js/BooleanProperty.js';
import ParticleType from '../../common/model/ParticleType.js';
import BANParticleView from '../../common/view/BANParticleView.js';
import BANScreenView, { BANScreenViewOptions } from '../../common/view/BANScreenView.js';
import ChartIntroModel, { SelectedChartType } from '../model/ChartIntroModel.js';
import CompleteNuclideChartIconNode from './CompleteNuclideChartIconNode.js';
import FullChartTextButton from './FullChartTextButton.js';
import AlphaParticle from '../../common/model/AlphaParticle.js';
import BANQueryParameters from '../../common/BANQueryParameters.js';
import TinyProperty from '../../../../axon/js/TinyProperty.js';
import NuclearShellModelText from './NuclearShellModelText.js';
import Property from '../../../../axon/js/Property.js';
import BANParticleView from '../../common/view/BANParticleView.js';
import NucleonShellView from './NucleonShellView.js';
import NuclideChartAccordionBox from './NuclideChartAccordionBox.js';
import PeriodicTableAndIsotopeSymbol from './PeriodicTableAndIsotopeSymbol.js';
import ZoomInNuclideChartIconNode from './ZoomInNuclideChartIconNode.js';

// types
export type NuclideChartIntroScreenViewOptions = BANScreenViewOptions;
Expand Down
4 changes: 2 additions & 2 deletions js/chart-intro/view/CompleteNuclideChartIconNode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
* @author Marla Schulz (PhET Interactive Simulations)
*/

import { Node } from '../../../../scenery/js/imports.js';
import buildANucleus from '../../buildANucleus.js';
import NuclideChartNode from './NuclideChartNode.js';
import NuclideChartAccordionBox from './NuclideChartAccordionBox.js';
import { Node } from '../../../../scenery/js/imports.js';
import NuclideChartNode from './NuclideChartNode.js';

class CompleteNuclideChartIconNode extends Node {

Expand Down
14 changes: 7 additions & 7 deletions js/chart-intro/view/DecayEquationNode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@
* @author Marla Schulz (PhET Interactive Simulations)
*/

import DerivedStringProperty from '../../../../axon/js/DerivedStringProperty.js';
import PatternStringProperty from '../../../../axon/js/PatternStringProperty.js';
import ArrowNode from '../../../../scenery-phet/js/ArrowNode.js';
import { HBox, Text, VBox } from '../../../../scenery/js/imports.js';
import buildANucleus from '../../buildANucleus.js';
import DecayEquationModel from '../model/DecayEquationModel.js';
import BuildANucleusStrings from '../../BuildANucleusStrings.js';
import { HBox, Text, VBox } from '../../../../scenery/js/imports.js';
import ArrowNode from '../../../../scenery-phet/js/ArrowNode.js';
import DecaySymbolNode from './DecaySymbolNode.js';
import IconFactory from '../../common/view/IconFactory.js';
import PatternStringProperty from '../../../../axon/js/PatternStringProperty.js';
import BANColors from '../../common/BANColors.js';
import BANConstants from '../../common/BANConstants.js';
import DerivedStringProperty from '../../../../axon/js/DerivedStringProperty.js';
import IconFactory from '../../common/view/IconFactory.js';
import DecayEquationModel from '../model/DecayEquationModel.js';
import DecaySymbolNode from './DecaySymbolNode.js';

// Fill in the space eagerly, as a constant.
const unknownSpacePatternStringProperty = new PatternStringProperty(
Expand Down
6 changes: 3 additions & 3 deletions js/chart-intro/view/DecaySymbolNode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
* @author Luisa Vargas
* */

import shred from '../../../../shred/js/shred.js';
import { HBox, Node, NodeOptions, Text, VBox } from '../../../../scenery/js/imports.js';
import PhetFont from '../../../../scenery-phet/js/PhetFont.js';
import optionize from '../../../../phet-core/js/optionize.js';
import PhetColorScheme from '../../../../scenery-phet/js/PhetColorScheme.js';
import PhetFont from '../../../../scenery-phet/js/PhetFont.js';
import { HBox, Node, NodeOptions, Text, VBox } from '../../../../scenery/js/imports.js';
import AtomIdentifier from '../../../../shred/js/AtomIdentifier.js';
import shred from '../../../../shred/js/shred.js';

// types
type SelfOptions = {
Expand Down
10 changes: 5 additions & 5 deletions js/chart-intro/view/FocusedNuclideChartNode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@
* @author Marla Schulz (PhET Interactive Simulations)
*/

import NuclideChartNode from './NuclideChartNode.js';
import buildANucleus from '../../buildANucleus.js';
import DerivedProperty from '../../../../axon/js/DerivedProperty.js';
import TReadOnlyProperty from '../../../../axon/js/TReadOnlyProperty.js';
import ChartTransform from '../../../../bamboo/js/ChartTransform.js';
import BANConstants from '../../common/BANConstants.js';
import Vector2 from '../../../../dot/js/Vector2.js';
import { Color, Rectangle } from '../../../../scenery/js/imports.js';
import AtomIdentifier from '../../../../shred/js/AtomIdentifier.js';
import Vector2 from '../../../../dot/js/Vector2.js';
import DerivedProperty from '../../../../axon/js/DerivedProperty.js';
import buildANucleus from '../../buildANucleus.js';
import BANConstants from '../../common/BANConstants.js';
import NuclideChartNode from './NuclideChartNode.js';

const HIGHLIGHT_RECTANGLE_LINE_WIDTH = 1.5;

Expand Down
14 changes: 7 additions & 7 deletions js/chart-intro/view/FullChartTextButton.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@
* @author Luisa Vargas
*/

import Dialog, { DialogOptions } from '../../../../sun/js/Dialog.js';
import buildANucleus from '../../buildANucleus.js';
import { allowLinksProperty, Color, Image, Node, Rectangle, RichText, RichTextOptions, Text, VBox } from '../../../../scenery/js/imports.js';
import fullNuclideChart_png from '../../../images/fullNuclideChart_png.js';
import optionize, { combineOptions, EmptySelfOptions } from '../../../../phet-core/js/optionize.js';
import BANConstants from '../../common/BANConstants.js';
import DerivedStringProperty from '../../../../axon/js/DerivedStringProperty.js';
import BuildANucleusStrings from '../../BuildANucleusStrings.js';
import optionize, { combineOptions, EmptySelfOptions } from '../../../../phet-core/js/optionize.js';
import StringUtils from '../../../../phetcommon/js/util/StringUtils.js';
import { allowLinksProperty, Color, Image, Node, Rectangle, RichText, RichTextOptions, Text, VBox } from '../../../../scenery/js/imports.js';
import TextPushButton, { TextPushButtonOptions } from '../../../../sun/js/buttons/TextPushButton.js';
import Dialog, { DialogOptions } from '../../../../sun/js/Dialog.js';
import fullNuclideChart_png from '../../../images/fullNuclideChart_png.js';
import buildANucleus from '../../buildANucleus.js';
import BuildANucleusStrings from '../../BuildANucleusStrings.js';
import BANColors from '../../common/BANColors.js';
import BANConstants from '../../common/BANConstants.js';

assert && assert( typeof BANConstants.INFO_DIALOG_TEXT_OPTIONS.maxWidth === 'number', 'maxWidth needed for text' );

Expand Down
2 changes: 1 addition & 1 deletion js/chart-intro/view/NuclearShellModelText.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
* @author Michael Kauzmann (PhET Interactive Simulations)
*/

import BackgroundNode from '../../../../scenery-phet/js/BackgroundNode.js';
import { Node, RichText } from '../../../../scenery/js/imports.js';
import buildANucleus from '../../buildANucleus.js';
import BuildANucleusStrings from '../../BuildANucleusStrings.js';
import BackgroundNode from '../../../../scenery-phet/js/BackgroundNode.js';
import BANColors from '../../common/BANColors.js';
import BANConstants from '../../common/BANConstants.js';

Expand Down
18 changes: 9 additions & 9 deletions js/chart-intro/view/NucleonNumberLine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,19 @@
* @author Luisa Vargas
*/

import { ColorProperty, Node, NodeOptions, Text } from '../../../../scenery/js/imports.js';
import buildANucleus from '../../buildANucleus.js';
import DerivedProperty from '../../../../axon/js/DerivedProperty.js';
import TReadOnlyProperty from '../../../../axon/js/TReadOnlyProperty.js';
import AxisArrowNode from '../../../../bamboo/js/AxisArrowNode.js';
import ChartTransform from '../../../../bamboo/js/ChartTransform.js';
import TickMarkSet from '../../../../bamboo/js/TickMarkSet.js';
import Orientation from '../../../../phet-core/js/Orientation.js';
import TickLabelSet from '../../../../bamboo/js/TickLabelSet.js';
import TickMarkSet from '../../../../bamboo/js/TickMarkSet.js';
import Bounds2 from '../../../../dot/js/Bounds2.js';
import TReadOnlyProperty from '../../../../axon/js/TReadOnlyProperty.js';
import AxisArrowNode from '../../../../bamboo/js/AxisArrowNode.js';
import BackgroundNode from '../../../../scenery-phet/js/BackgroundNode.js';
import DerivedProperty from '../../../../axon/js/DerivedProperty.js';
import StrictOmit from '../../../../phet-core/js/types/StrictOmit.js';
import optionize from '../../../../phet-core/js/optionize.js';
import Orientation from '../../../../phet-core/js/Orientation.js';
import StrictOmit from '../../../../phet-core/js/types/StrictOmit.js';
import BackgroundNode from '../../../../scenery-phet/js/BackgroundNode.js';
import { ColorProperty, Node, NodeOptions, Text } from '../../../../scenery/js/imports.js';
import buildANucleus from '../../buildANucleus.js';
import BANColors from '../../common/BANColors.js';

type SelfOptions = {
Expand Down
14 changes: 7 additions & 7 deletions js/chart-intro/view/NucleonShellView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,18 @@
* @author Luisa Vargas
*/

import TReadOnlyProperty from '../../../../axon/js/TReadOnlyProperty.js';
import Bounds2 from '../../../../dot/js/Bounds2.js';
import Vector2 from '../../../../dot/js/Vector2.js';
import optionize, { EmptySelfOptions } from '../../../../phet-core/js/optionize.js';
import ModelViewTransform2 from '../../../../phetcommon/js/view/ModelViewTransform2.js';
import { Color, Line, Node, NodeOptions } from '../../../../scenery/js/imports.js';
import buildANucleus from '../../buildANucleus.js';
import BANConstants from '../../common/BANConstants.js';
import BANColors from '../../common/BANColors.js';
import TReadOnlyProperty from '../../../../axon/js/TReadOnlyProperty.js';
import BANConstants from '../../common/BANConstants.js';
import ParticleType from '../../common/model/ParticleType.js';
import Vector2 from '../../../../dot/js/Vector2.js';
import optionize, { EmptySelfOptions } from '../../../../phet-core/js/optionize.js';
import { N_ZERO_CAPACITY, ParticleShellPosition, N_ONE_CAPACITY } from '../model/ShellModelNucleus.js';
import EnergyLevelType from '../model/EnergyLevelType.js';
import ModelViewTransform2 from '../../../../phetcommon/js/view/ModelViewTransform2.js';
import Bounds2 from '../../../../dot/js/Bounds2.js';
import { N_ONE_CAPACITY, N_ZERO_CAPACITY, ParticleShellPosition } from '../model/ShellModelNucleus.js';

type EnergyLevelNodeOptions = EmptySelfOptions & NodeOptions;

Expand Down
Loading

0 comments on commit 408a27d

Please sign in to comment.