"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.SeparatorTest = void 0;
const React = __importStar(require("react"));
const e2e_testing_1 = require("@fluentui-react-native/e2e-testing");
const separator_1 = require("@fluentui-react-native/separator");
const stack_1 = require("@fluentui-react-native/stack");
const text_1 = require("@fluentui-react-native/text");
const styles_1 = require("../Common/styles");
const Test_1 = require("../Test");
const CustomisedText = text_1.TextV1.customize({
    textAlign: 'right',
    fontSize: 'caption',
});
const SeparatorBasicUsage = () => {
    return (React.createElement(stack_1.Stack, { style: styles_1.commonTestStyles.section, gap: 5 },
        React.createElement(separator_1.Separator, { insetSpacing: 0 }),
        React.createElement(CustomisedText, null, "Inset : 0"),
        React.createElement(separator_1.Separator, { insetSpacing: 16 }),
        React.createElement(CustomisedText, null, "Inset : 16"),
        React.createElement(separator_1.Separator, { insetSpacing: 56 }),
        React.createElement(CustomisedText, null, "Inset : 56"),
        React.createElement(separator_1.Separator, { insetSpacing: 68 }),
        React.createElement(CustomisedText, null, "Inset : 68"),
        React.createElement(separator_1.Separator, { insetSpacing: 72 }),
        React.createElement(CustomisedText, null, "Inset : 72"),
        React.createElement(separator_1.Separator, { insetSpacing: 108 }),
        React.createElement(CustomisedText, null, "Inset : 108")));
};
const RedSeparator = separator_1.Separator.customize({ color: 'red' });
const BlueSeparatorWithCustomWidth = separator_1.Separator.customize({ color: 'blue', separatorWidth: 10 });
const SeparatorCustomisedUsage = () => {
    return (React.createElement(stack_1.Stack, { style: styles_1.mobileStyles.testSection, gap: 5 },
        React.createElement(RedSeparator, null),
        React.createElement(CustomisedText, null, "Customised Color Seperator"),
        React.createElement(BlueSeparatorWithCustomWidth, { insetSpacing: 16 }),
        React.createElement(CustomisedText, null, "Customised Color and Width Seperator")));
};
const separatorSections = [
    {
        name: 'Basic Mobile Seperator',
        testID: e2e_testing_1.SEPARATOR_TESTPAGE,
        component: SeparatorBasicUsage,
    },
    {
        name: 'Customised Mobile Seperator',
        testID: e2e_testing_1.SEPARATOR_TESTPAGE,
        component: SeparatorCustomisedUsage,
    },
];
const SeparatorTest = () => {
    const status = {
        win32Status: 'Beta',
        uwpStatus: 'Experimental',
        iosStatus: 'Experimental',
        macosStatus: 'Beta',
        androidStatus: 'Experimental',
    };
    const description = "A separator visually separates content into groups.\n\nYou can render content in the separator by specifying the component's children. The component's children can be plain text or a component like Icon. The content is center-aligned by default.";
    return React.createElement(Test_1.Test, { name: "Separator Test", description: description, sections: separatorSections, status: status });
};
exports.SeparatorTest = SeparatorTest;
//# sourceMappingURL=SeparatorTest.mobile.js.map