Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
dateFormat: 'DD.MM.YYYY',
valueFormat: 'YYYY-MM-DD HH:mm:ss',
},
func: {
...BasicConfig.widgets.func,
customProps: {
showSearch: true
}
},
};
const types = {
...BasicConfig.types,
// examples of overriding
boolean: merge(BasicConfig.types.boolean, {
widgets: {
boolean: {
widgetProps: {
hideOperator: true,
operatorInlineLabel: "is",
}
},
},
}),
};
const localeSettings = {
locale: {
short: 'ru',
full: 'ru-RU',
...BasicConfig.widgets.datetime,
timeFormat: 'HH:mm',
dateFormat: 'DD.MM.YYYY',
valueFormat: 'YYYY-MM-DD HH:mm:ss',
},
func: {
...BasicConfig.widgets.func,
customProps: {
showSearch: true
}
},
};
const types: Types = {
...BasicConfig.types,
// examples of overriding
boolean: merge(BasicConfig.types.boolean, {
widgets: {
boolean: {
widgetProps: {
hideOperator: true,
operatorInlineLabel: "is"
}
},
},
}),
};
const localeSettings: LocaleSettings = {
locale: {
dateFormat: 'DD.MM.YYYY',
valueFormat: 'YYYY-MM-DD HH:mm:ss',
},
func: {
...BasicConfig.widgets.func,
customProps: {
showSearch: true
}
},
};
const types: Types = {
...BasicConfig.types,
// examples of overriding
boolean: merge(BasicConfig.types.boolean, {
widgets: {
boolean: {
widgetProps: {
hideOperator: true,
operatorInlineLabel: "is"
}
},
},
}),
};
const localeSettings: LocaleSettings = {
locale: {
short: 'ru',
full: 'ru-RU',
...BasicConfig.widgets.datetime,
timeFormat: 'HH:mm',
dateFormat: 'DD.MM.YYYY',
valueFormat: 'YYYY-MM-DD HH:mm:ss',
},
func: {
...BasicConfig.widgets.func,
customProps: {
showSearch: true
}
},
};
const types = {
...BasicConfig.types,
// examples of overriding
boolean: merge(BasicConfig.types.boolean, {
widgets: {
boolean: {
widgetProps: {
hideOperator: true,
operatorInlineLabel: "is",
}
},
},
}),
};
const localeSettings = {
locale: {