Skip to content

UI Admin Components

This is a brief overview of the UI Admin components being used in the system today.

Common

The following components customises the modal and the modalForm components to display a modal for creating new data as an admin.

CreateBusinessArea

This component can be used as follows:

html
<create-business-area
  v-if="state.showCreate"
  @close="state.showCreate = false"
/>

The following is a visual screenshot of the modal: CreateBusinessArea

CreateCapability

This component can be used as follows:

html
<create-capability
  v-if="state.showCreate"
  @close="state.showCreate = false"
/>

The following is a visual screenshot of the modal: CreateCapability

CreateSubCapability

This component can be used as follows:

html
<create-sub-capability
  v-if="state.showCreate"
  @close="state.showCreate = false"
/>

The following is a visual screenshot of the modal: CreateSubCapability

CreateEmailGroup

This component can be used as follows:

html
<create-email-group
  v-if="state.showCreate"
  @close="state.showCreate = false"
/>

The following is a visual screenshot of the modal: CreateEmailGroup

CreateIndustryCategory

This component can be used as follows:

html
<create-industry-category
  v-if="state.showCreate"
  @close="state.showCreate = false"
/>

The following is a visual screenshot of the modal: CreateIndustryCategory

CreateIndustrySubCategory

This component can be used as follows:

html
<create-industry-sub-category
  v-if="state.showCreate"
  @close="state.showCreate = false"
/>

The following is a visual screenshot of the modal: CreateIndustrySubCategory

CreateLawArea

This component can be used as follows:

html
<create-law-area
  v-if="state.showCreate"
  @close="state.showCreate = false"
/>

The following is a visual screenshot of the modal: CreateLawArea

CreateLawSubArea

This component can be used as follows:

html
<create-law-sub-area
  v-if="state.showCreate"
  @close="state.showCreate = false"
/>

The following is a visual screenshot of the modal: CreateLawSubArea

CreateOccupation

This component can be used as follows:

html
<create-occupation
  v-if="state.showCreate"
  @close="state.showCreate = false"
/>

The following is a visual screenshot of the modal: CreateOccupation

CreateOffice

This component can be used as follows:

html
<create-office
  v-if="state.showCreate"
  @close="state.showCreate = false"
/>

The following is a visual screenshot of the modal: CreateOffice

CreateOrganisationType

This component can be used as follows:

html
<create-organisation-type
  v-if="state.showCreate"
  @close="state.showCreate = false"
/>

The following is a visual screenshot of the modal: CreateOrganisationType

CreateSafeStorageDocumentType

This component can be used as follows:

html
<create-safe-storage-document-type
  v-if="state.showCreate"
  @close="state.showCreate = false"
/>

The following is a visual screenshot of the modal: CreateSafeStorageDocumentType

CreateSafeStorageSection

This component can be used as follows:

html
<create-safe-storage-section
  v-if="state.showCreate"
  @close="state.showCreate = false"
/>

The following is a visual screenshot of the modal: CreateSafeStorageSection

CreateSegment

This component can be used as follows:

html
<create-segment
  v-if="state.showCreate"
  @close="state.showCreate = false"
/>

The following is a visual screenshot of the modal: CreateSegment

CreateSubSegment

This component can be used as follows:

html
<create-sub-segment
  v-if="state.showCreate"
  @close="state.showCreate = false"
/>

The following is a visual screenshot of the modal: CreateSubSegment

CreateStandardDisbursement

This component can be used as follows:

html
<create-standard-disbursement
  v-if="state.showCreate"
  @close="state.showCreate = false"
/>

The following is a visual screenshot of the modal: CreateStandardDisbursement

Dynamic-parameters

CreateDynamicParameter

This component customises the modal and the modalForm components to display a modal for creating new Dynamic Parameter.

This component can be used as follows:

html
<create-dynamic-parameter
  v-if="state.showCreateDynamicParameterModal"
  @close="state.showCreateDynamicParameterModal = false"
/>

The following is a visual screenshot of the modal: CreateDynamicParameter

DeleteDynamicParameter

This component customises the modal component to display a confirmation modal for deleting Dynamic Parameter.

This component can be used as follows:

html
<delete-dynamic-parameter
  v-if="state.showWarningModal"
  :id="state.selectedParameter"
  @close="state.showWarningModal = false"
/>

The following is a visual screenshot of the modal: DeleteDynamicParameter

DynamicParameter

Deprecated

Using code in ALP\App\src\views\admin\DynamicParameters.vue

Email-template

CreateEmailTemplate

This component customises the modal and the modalForm components to display a modal for creating new email templates.

This component can be used as follows:

html
<create-email-template
  v-if="state.showCreate"
  @close="state.showCreate = false"
/>

The following is a visual screenshot of the modal: CreateEmailTemplate

Entity-parameters

CreateEntityParameter

This component customises the modal and the modalForm components to display a modal for creating new entity parameter.

This component can be used as follows:

html
<create-entity-parameter
  v-if="state.showCreateEntityParameterModal"
  :entityType="entityType"
  @close="state.showCreateEntityParameterModal = false"
/>

The following is a visual screenshot of the modal: CreateEntityParameter

EntityParametersList

This component sets up the page to display list of entity parameters, including the CreateEntityParameter component as an event of a button.

This component can be used directly as a router view:

ts
component: () =>
    import(
        "@/components/ui/admin/entity-parameters/EntityParametersList.vue"
    ),

The following is a visual screenshot of the modal: EntityParametersList

Metabase

CreateMetabaseReport

This component customises the modal and the modalForm components to display a modal for creating new Metabase Report.

This component can be used as follows:

html
<create-metabase-report
  v-if="state.showCreate"
  @close="state.showCreate = false"
/>

The following is a visual screenshot of the modal: CreateMetabaseReport

Metabase-groups

CreateMetabaseReportGroup

This component customises the modal and the modalForm components to display a modal for creating new Metabase Report Group.

This component can be used as follows:

html
<create-metabase-report-group
  v-if="state.showCreate"
  @close="state.showCreate = false"
/>

The following is a visual screenshot of the modal: CreateMetabaseReportGroup

Offerings

ComponentSelector

This component customises the slideOver window for selecting a component. Including ways to add new component or edit current components.

This component can be used as follows:

html
<component-selector
    v-if="outcomeState.showComponentSelectorFor"
    :key="$route.params.outcomeId"
    :offering-id="id"
    :outcome-id="outcomeState.showComponentSelectorFor"
    @close="outcomeState.showComponentSelectorFor = null"
/>

The following is a visual screenshot of the side bar: ComponentSelector

CreateOffering

This component customises the modal and the modalForm components to display a modal for creating new offering.

This component can be used as follows:

html
<create-offering
    v-if="state.showCreateOffering"
    @close="state.showCreateOffering = false"
/>

The following is a visual screenshot of the modal: CreateOffering

CreateOfferingCategory

This component customises the modal and the modalForm components to display a modal for creating new offering category.

This component can be used as follows:

html
<create-offering-category
    v-if="state.showCreateOfferingCategory"
    @close="state.showCreateOfferingCategory = false" 
/>

The following is a visual screenshot of the modal: CreateOfferingCategory

CreateOfferingComponent

This component customises the modal and the modalForm components to display a modal for creating new offering component.

This component can be used as follows:

html
<create-offering-component
    v-if="state.showCreateComponent"
    @close="state.showCreateComponent = false"
/>

The following is a visual screenshot of the modal: CreateOfferingComponent

CreateOfferingOutcome

This component customises the modal and the modalForm components to display a modal for creating new offering outcome.

This component can be used as follows:

html
<create-offering-outcome
  v-if="state.showCreate"
  @close="state.showCreate = false"
/>

The following is a visual screenshot of the modal: CreateOfferingOutcome

InlineOfferingComponent

This component creates and displays each offering outcome component integrating the UpDownSwitch component and the InlineInput component to allow inline editing functionality.

This component can be used as follows:

html
<inline-offering-component
  v-for="component in components"
  :key="component.id"
  :offering-id="id"
  :outcome-id="outcome.id"
  :component="component"
/>

The following is a visual screenshot of the component: InlineOfferingComponent

InlineOfferingOutcome

This component creates and displays each offering outcome integrating the UpDownSwitch component and the InlineInput component to allow inline editing functionality.

This component can be used as follows:

html
<inline-offering-outcome
  :id="id"
  :outcome="item"
  @add-component="outcomeState.showComponentSelectorFor = $event"
/>

The following is a visual screenshot of the component: InlineOfferingOutcome

InlineOfferingOutcomeObjectionGuarantee

Deprecated

InlineOfferingProblemOutcome

This component creates and displays each of the offering problem outcome integrating the InlineInput component to allow inline editing functionality.

This component can be used as follows:

html
<inline-offering-problem-outcome
  v-for="problemOutcome in problemOutcomes.filter(
    (o) => o.type == type.value
  )"
  :key="problemOutcome.id"
  :id="id"
  :problem-outcome="problemOutcome"
/>

The following is a visual screenshot of the component: InlineOfferingProblemOutcome

MergeOffering

This component customises the modal, the modalForm and the offeringSelector components to display a modal for merging offerings.

This component can be used as follows:

html
<merge-offering
  v-if = "state.showMergeOffering"
  @close= "state.showMergeOffering = false"
/>

The following is a visual screenshot of the modal: MergeOffering

Project-templates

CreateProjectTemplate

This component customises the modal and the modalForm components to display a modal for creating new Project Template.

This component can be used as follows:

html
<create-project-template
    v-if="state.showCreate"
    @close="state.showCreate = false"
/>

The following is a visual screenshot of the modal: CreateProjectTemplate

CreateProjectTemplateScheduler

This component customises the modal and the modalForm components to display a modal for creating new Project Template scheduler, which also includes a toggle option for repeats.

This component can be used as follows:

html
<create-project-template-scheduler
    v-if="state.showCreate"
    :id="id"
    @close="state.showCreate = false"
/>

The following is a visual screenshot of the modal: CreateProjectTemplateScheduler

InlineProjectTemplateTask

This component creates and displays each Inline Project Template Tasks, integrating the InlineInput component to allow inline editing functionality, an option to choose from inline input for normal task and search and choosing from standard tasks.

This component can be used as follows:

html
<inline-project-template-task
  class="mt-1 transition duration-200"
  :key="value.id"
  :project-template-id="id"
  :project-template-task="value"
  @selected="
  taskState.isDisableTasksDragAndDrop = true;
  $router.push({
  name: 'Project Template Task',
  params: { id, taskId: value.id }
  });
  "
/>

The following is a visual screenshot of the component: InlineProjectTemplateTask

InlineProjectTemplateTaskStep

This component is created using the InlineInput component to allow inline editing functionality for task steps.

This component can be used as follows:

html
<inline-project-template-task-step
  :project-template-id="projectTemplateId"
  :project-template-task-id="id"
  :project-template-task-step="value"
  class="flex items-center py-2 mb-1 border border-gray-300 hover:border-indigo-300 hover:bg-blue-100 rounded-lg"
  :key="value.id"
  :is-steps-check-list="state.isStepsCheckList"
/>

The following is a visual screenshot of the component: InlineProjectTemplateTaskStep

ProjectTemplateTask

This component sets up the page to display the slideOver window for editing the project template task, including the InlineInput and InlineProjectTemplateTaskStep components.

This component can be used directly as a router view:

ts
component: () =>
    import(
        "@/components/ui/admin/project-templates/ProjectTemplateTask.vue"
    ),

The following is a visual screenshot of the component: ProjectTemplateTask

ProjectTemplateTaskMetadata

This component is created using the dynamicInput component to allow inline editing functionality for task steps.

This component can be used as follows:

html
<project-template-task-metadata
  :project-template-id="projectTemplateId"
  :id="id"
/>

The following is a visual screenshot of the component: ProjectTemplateTaskMetadata

Resource-urls

CreateResourceUrl

This component customises the modal and the modalForm components to display a modal for creating new Resource Url.

This component can be used as follows:

html
<create-resource-url
  v-if="state.showCreate"
  @close="state.showCreate = false"
/>

The following is a visual screenshot of the modal: CreateResourceUrl

Roles

CreateRole

This component customises the modal and the modalForm components to display a modal for creating new roles.

This component can be used as follows:

html
<create-role
  v-if="state.showCreate"
  @close="state.showCreate = false"
/>

The following is a visual screenshot of the modal: CreateRole

Role

This component customises the slideOver window for managing permissions in the system of a role.

This component can be used as follows:

html

<role
  v-if="state.selectedRoleId"
  :id="state.selectedRoleId"
  :key="state.selectedRoleId"
  @close="state.selectedRoleId = null"
/>

The following is a visual screenshot of the modal: Role

Sprints

CreateSprint

This component customises the modal and the modalForm components to display a modal for creating new sprint.

This component can be used as follows:

html
<create-sprint
  v-if="state.showCreate"
  @close="state.showCreate = false"
/>

The following is a visual screenshot of the modal: CreateSprint

Standard-tasks

CreateStandardTask

This component customises the modal and the modalForm components to display a modal for creating new standard task.

This component can be used as follows:

html
<create-standard-task
  v-if="state.showCreate"
  @close="state.showCreate = false"
/>

The following is a visual screenshot of the modal: CreateStandardTask

InlineStandardTaskStep

This component creates and displays each Inline Standard Task Steps, integrating the EditInlineInput component to allow inline editing functionality, an option to select and choose resources to be included in the task step using the ResourceSelector, ResourceUrlSelector and SyntaqResourceSelector.

This component can be used as follows:

html
<inline-standard-task-step
  :standard-task-id="id"
  :standard-task-step="value"
  class="class"
  :key="value.id"
  :is-steps-check-list="state.isStepsCheckList"
/>

The following is a visual screenshot of the component: InlineStandardTaskStep

StandardTask

This component sets up the page to display the slideOver window for editing the project template task, including the InlineInput and InlineStandardTaskStep components.

This component can be used directly as a router view:

ts
component: () =>
  import(
    "@/components/ui/admin/standard-tasks/StandardTask.vue"
  ),

The following is a visual screenshot of the component: StandardTask

StandardTaskMetadata

This component is created using the dynamicInput component to allow inline editing functionality for task metadata.

This component can be used as follows:

html
<standard-task-metadata 
  :id="id" 
/>

The following is a visual screenshot of the component: StandardTaskMetadata

Trusts

CreateTrustAccount

This component customises the modal and the modalForm components to display a modal for creating new trust account.

This component can be used as follows:

html
<create-trust-account
  v-if="state.showCreate"
  @close="state.showCreate = false"
/>

The following is a visual screenshot of the modal: CreateTrustAccount

Users

ChangePassword

This component customises the modal and the modalForm components to display a modal for changing password.

This component can be used as follows:

html
<change-password
  v-if="stateUser.showCreate"
  @close="stateUser.showCreate = false"
  :id="id"
/>

The following is a visual screenshot of the modal: ChangePassword

CreateRemuneration

This component customises the modal and the modalForm components to display a modal for creating new Remuneration.

This component can be used as follows:

html
<create-remuneration
  v-if="state.showCreate"
  @close="state.showCreate = false"
/>

The following is a visual screenshot of the modal: CreateRemuneration

CreateUser

This component customises the modal and the modalForm components to display a modal for creating new user.

This component can be used as follows:

html
<create-user
  v-if="state.showCreate"
  @close="state.showCreate = false"
/>

The following is a visual screenshot of the modal: CreateUser

Released by DevOps Team