How to use the sharp/mixins.ReadOnlyFields function in sharp

To help you get started, we’ve selected a few sharp examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github code16 / sharp / packages / form / src / components / Form.vue View on Github external
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
github code16 / sharp / packages / form / src / components / Form.vue View on Github external
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: {

sharp

High performance Node.js image processing, the fastest module to resize JPEG, PNG, WebP, GIF, AVIF and TIFF images

Apache-2.0
Latest version published 4 months ago

Package Health Score

92 / 100
Full package analysis