"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.SpinnerTest = void 0;
var tslib_1 = require("tslib");
var React = tslib_1.__importStar(require("react"));
var react_native_1 = require("react-native");
//import type { SpinnerStatus } from '@fluentui-react-native/spinner';
var spinner_1 = require("@fluentui-react-native/spinner");
var stack_1 = require("@fluentui-react-native/stack");
var text_1 = require("@fluentui-react-native/text");
var SpinnerE2ETest_1 = require("./SpinnerE2ETest");
var consts_1 = require("../../../../E2E/src/Spinner/consts");
var styles_1 = require("../Common/styles");
var Test_1 = require("../Test");
var BasicSpinnerTest = function () {
    return (React.createElement(stack_1.Stack, { style: styles_1.stackStyle },
        React.createElement(react_native_1.View, { style: styles_1.commonTestStyles.root },
            React.createElement(react_native_1.View, { style: styles_1.commonTestStyles.settings }),
            React.createElement(spinner_1.Spinner, null))));
};
var SpinnerSizeTest = function () {
    return (React.createElement(stack_1.Stack, { style: styles_1.stackStyle },
        React.createElement(react_native_1.View, null,
            React.createElement(react_native_1.View, null,
                React.createElement(text_1.TextV1, null, "tiny"),
                React.createElement(spinner_1.Spinner, { size: "tiny" })),
            React.createElement(react_native_1.View, null,
                React.createElement(text_1.TextV1, null, "x-small"),
                React.createElement(spinner_1.Spinner, { size: "x-small" })),
            React.createElement(react_native_1.View, null,
                React.createElement(text_1.TextV1, null, "small"),
                React.createElement(spinner_1.Spinner, { size: "small" })),
            React.createElement(react_native_1.View, null,
                React.createElement(text_1.TextV1, null, "medium"),
                React.createElement(spinner_1.Spinner, { size: "medium" })),
            React.createElement(react_native_1.View, null,
                React.createElement(text_1.TextV1, null, "large"),
                React.createElement(spinner_1.Spinner, { size: "large" })),
            React.createElement(react_native_1.View, null,
                React.createElement(text_1.TextV1, null, "x-large"),
                React.createElement(spinner_1.Spinner, { size: "x-large" })),
            React.createElement(react_native_1.View, null,
                React.createElement(text_1.TextV1, null, "huge"),
                React.createElement(spinner_1.Spinner, { size: "huge" })))));
};
var spinnerSections = [
    {
        name: 'Basic Spinner Test',
        testID: consts_1.SPINNER_TESTPAGE,
        component: BasicSpinnerTest,
    },
    {
        name: 'Spinner Size Test',
        component: SpinnerSizeTest,
    },
    {
        name: 'Spinner for E2E Testing',
        component: function () { return React.createElement(SpinnerE2ETest_1.E2ETestingSpinner, null); },
    },
];
var SpinnerTest = function () {
    var status = {
        win32Status: 'Experimental',
        uwpStatus: 'Backlog',
        iosStatus: 'Beta',
        macosStatus: 'Backlog',
        androidStatus: 'Backlog',
    };
    var description = 'Spinner is a visual representation that data is being loaded. It is implemented with a View wrapping an Animated SVG. The View is to ensure that AccessibilityRole works. AccessibilityRole currently does not work on SVGs.';
    return React.createElement(Test_1.Test, { name: "Spinner Test", description: description, sections: spinnerSections, status: status });
};
exports.SpinnerTest = SpinnerTest;
//# sourceMappingURL=SpinnerTest.win32.js.map