Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import { ActionEvents, ReadOnlyFields, Localization, DynamicView } from 'sharp/mixins';
import FieldsLayout from './ui/FieldsLayout';
import LocaleSelect from './ui/LocaleSelect';
import localize from '../mixins/localize/form';
import { getDependantFieldsResetData, transformFields } from "../util";
const noop = ()=>{};
export default {
name:'SharpForm',
extends: DynamicView,
mixins: [ActionEvents, ReadOnlyFields('fields'), Localization, localize('fields')],
components: {
TabbedLayout,
FieldsLayout,
Grid,
Dropdown,
DropdownItem,
LocaleSelect,
},
props:{
entityKey: String,
instanceId: String,
/// Extras props for customization
import { ActionEvents, ReadOnlyFields, Localization, DynamicView } from 'sharp/mixins';
import FieldsLayout from './ui/FieldsLayout';
import LocaleSelect from './ui/LocaleSelect';
import localize from '../mixins/localize/form';
import { getDependantFieldsResetData, transformFields } from "../util";
const noop = ()=>{};
export default {
name:'SharpForm',
extends: DynamicView,
mixins: [ReadOnlyFields('fields'), Localization, localize('fields')],
components: {
TabbedLayout,
FieldsLayout,
Grid,
Dropdown,
DropdownItem,
LocaleSelect,
},
props:{
entityKey: String,
instanceId: String,
/// Extras props for customization
independant: {