import * as __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__ from "react/jsx-runtime";
import "react";
import * as __WEBPACK_EXTERNAL_MODULE__tachybase_client__ from "@tachybase/client";
import * as __WEBPACK_EXTERNAL_MODULE__tachybase_components__ from "@tachybase/components";
import * as __WEBPACK_EXTERNAL_MODULE_react_i18next__ from "react-i18next";
const schema = {
    type: 'object',
    properties: {
        cronSet: {
            type: 'string',
            title: 'CronSet',
            'x-decorator': 'FormItem',
            'x-component': 'CronSet',
            'x-component-props': 'allowClear',
            enum: [
                {
                    label: '{{t("Daily")}}',
                    value: '0 0 0 * * ?'
                },
                {
                    label: '{{t("Weekly")}}',
                    value: 'every_week'
                },
                {
                    label: '{{t("Monthly")}}',
                    value: 'every_month'
                },
                {
                    label: '{{t("Yearly")}}',
                    value: 'every_year'
                }
            ]
        }
    }
};
const demo2_rslib_entry_ = ()=>{
    const { t } = (0, __WEBPACK_EXTERNAL_MODULE_react_i18next__.useTranslation)();
    return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsx)(__WEBPACK_EXTERNAL_MODULE__tachybase_client__.FormProvider, {
        children: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsx)(__WEBPACK_EXTERNAL_MODULE__tachybase_client__.SchemaComponent, {
            components: {
                CronSet: __WEBPACK_EXTERNAL_MODULE__tachybase_client__.CronSet,
                FormItem: __WEBPACK_EXTERNAL_MODULE__tachybase_components__.FormItem
            },
            scope: {
                t
            },
            schema: schema
        })
    });
};
export { demo2_rslib_entry_ as default };
