// Copyright 2023-2024, University of Colorado Boulder
import '../../globals.js';
import Property from '../../axon/js/Property.js';
import Tandem from './Tandem.js';
import tandemNamespace from './tandemNamespace.js';
import StringIO from './types/StringIO.js';
/**
 * Property that controls the view of PhET-iO Elements, predominantly in Studio.
 *
 * @author Michael Kauzmann (PhET Interactive Simulations)
 * @author Sam Reid (PhET Interactive Simulations)
 */
export const PhetioElementsDisplayValues = [
    'featured',
    'all'
];
const initialValue = Tandem.PHET_IO_ENABLED ?
    self.phet.preloads.phetio.queryParameters.phetioElementsDisplay :
    'featured';
const phetioElementsDisplayProperty = new Property(initialValue, {
    tandem: Tandem.GENERAL_VIEW.createTandem('phetioElementsDisplayProperty'),
    phetioValueType: StringIO,
    validValues: PhetioElementsDisplayValues,
    phetioState: false,
    phetioDocumentation: 'Specifies the current display selection for PhET-iO Elements.'
});
tandemNamespace.register('phetioElementsDisplayProperty', phetioElementsDisplayProperty);
export default phetioElementsDisplayProperty;
