@xuda.io/xuda-ui-plugin-jewish-date
Version:
The Jewish Date Xuda Plugin integrates Hebrew calendar functionality into Xuda.io, enabling seamless conversion between Gregorian and Jewish dates. Display dates in English or Hebrew, with optional dual-calendar support, localization, and custom date inpu
32 lines (31 loc) • 851 B
JavaScript
export const properties = {
jewish_date_include_gregorian: {
label: "Include Gregorian Date",
type: "boolean",
render: "segment",
tooltip: "Show the Gregorian date alongside the Jewish date.",
defaultValue: () => false,
options: [
{ label: "Yes", value: true },
{ label: "No", value: false },
],
},
jewish_date_display_in_hebrew: {
label: "Display in Hebrew",
type: "boolean",
render: "segment",
tooltip: "Show the Jewish date in Hebrew language.",
defaultValue: () => false,
options: [
{ label: "Yes", value: true },
{ label: "No", value: false },
],
},
jewish_date_custom_date: {
label: "Custom Date",
type: "string",
render: "input",
tooltip: "Provide a custom Gregorian date (in ISO format) to convert.",
defaultValue: () => "",
},
};