"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    var desc = Object.getOwnPropertyDescriptor(m, k);
    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
      desc = { enumerable: true, get: function() { return m[k]; } };
    }
    Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
    Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
    o["default"] = v;
});
var __importStar = (this && this.__importStar) || function (mod) {
    if (mod && mod.__esModule) return mod;
    var result = {};
    if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
    __setModuleDefault(result, mod);
    return result;
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.SpinnerTest = void 0;
const React = __importStar(require("react"));
const react_native_1 = require("react-native");
//import type { SpinnerStatus } from '@fluentui-react-native/spinner';
const e2e_testing_1 = require("@fluentui-react-native/e2e-testing");
const spinner_1 = require("@fluentui-react-native/spinner");
const stack_1 = require("@fluentui-react-native/stack");
const text_1 = require("@fluentui-react-native/text");
const SpinnerE2ETest_1 = require("./SpinnerE2ETest");
const styles_1 = require("../Common/styles");
const Test_1 = require("../Test");
const BasicSpinnerTest = () => {
    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))));
};
const SpinnerSizeTest = () => {
    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" })))));
};
const spinnerSections = [
    {
        name: 'Basic Spinner Test',
        testID: e2e_testing_1.SPINNER_TESTPAGE,
        component: BasicSpinnerTest,
    },
    {
        name: 'Spinner Size Test',
        component: SpinnerSizeTest,
    },
    {
        name: 'Spinner for E2E Testing',
        component: () => React.createElement(SpinnerE2ETest_1.E2ETestingSpinner, null),
    },
];
const SpinnerTest = () => {
    const status = {
        win32Status: 'Experimental',
        uwpStatus: 'Backlog',
        iosStatus: 'Beta',
        macosStatus: 'Backlog',
        androidStatus: 'Backlog',
    };
    const 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