parameters:
  module.recordview.actions:
    default:
      actions:
        edit:
          key: edit
          labelKey: LBL_EDIT
          params:
            expanded: true
          modes:
            - detail
          acl:
            - edit
        save:
          key: save
          labelKey: LBL_SAVE_BUTTON_LABEL
          params:
            expanded: true
            disableOnRun: true
          modes:
            - edit
          acl:
            - edit
        saveNew:
          key: saveNew
          labelKey: LBL_SAVE_BUTTON_LABEL
          params:
            expanded: true
            disableOnRun: true
          modes:
            - create
          acl:
            - edit
        cancel:
          key: cancel
          labelKey: LBL_CANCEL
          params:
            expanded: true
          modes:
            - edit
        cancelCreate:
          key: cancelCreate
          labelKey: LBL_CANCEL
          params:
            expanded: true
          modes:
            - create
        saveContinue:
          key: saveContinue
          labelKey: LBL_SAVE_CONTINUE_LABEL
          params:
            expanded: true
            collapsedMobile: true
          modes:
            - edit
          acl:
            - edit
        saveSchedule:
          key: saveSchedule
          labelKey: LBL_SCHEDULE_BUTTON_LABEL
          params:
            expanded: true
            modules:
              - email-marketing
          modes:
            - edit
            - create
          displayLogic:
            name:
              modes: ['edit', 'create']
              params:
                activeOnFields:
                  status:
                    -
                     operator: 'not-equal'
                     values:
                      - 'inactive'
          acl:
            - edit
        toggle-widgets:
          key: toggle-widgets
          labelKey: LBL_INSIGHTS
          params:
            expanded: true
          modes:
            - detail
            - edit
          acl: [ ]
        delete:
          key: delete
          labelKey: LBL_DELETE
          asyncProcess: true
          params:
            displayConfirmation: true
            confirmationLabel: NTC_DELETE_CONFIRMATION
          modes:
            - detail
          acl:
            - delete
        duplicate:
          key: duplicate
          labelKey: LBL_DUPLICATE_BUTTON
          asyncProcess: true
          params:
          modes:
            - detail
          acl:
            - export
            - edit
        audit:
          key: audit
          labelKey: LNK_VIEW_CHANGE_LOG
          asyncProcess: true
          params:
          modes:
            - detail
            - edit
          availability:
            - audited
            - acls
        duplicate-merge:
          key: duplicate-merge
          labelKey: LBL_DUP_MERGE
          asyncProcess: true
          params:
          modes:
            - detail
            - edit
          availability:
            - duplicate-merge
            - acls
          acl:
            - edit
            - delete
    modules:
      employees:
        exclude:
          - delete
