1.2.5 • Published 1 year ago

@appose-gmbh/competencymodel-management v1.2.5

Weekly downloads
-
License
MIT
Repository
gitlab
Last release
1 year ago

@appose/competencymodel-management - 1.2.3

image

usage

<appose-competencymodel-management company-id="1" />

using this component via CDN

html:

<!DOCTYPE html>
<html dir="ltr" lang="en">
  <head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=5.0" />
    <title>this is only a test project to update ci pipeline // DELETE LATER</title>
    <meta http-equiv="Content-Security-Policy" content="script-src 'self' https://cdn.appose.com/ 'unsafe-inline';object-src 'self'; script-src-elem https://cdn.appose.com/" />

    <script type="module" src="https://cdn.appose.com/competencymodel-management/0.0.5/appose-competencymodel-management/appose-competencymodel-management.esm.js"></script>
    <script nomodule src="https://cdn.appose.com/competencymodel-management/0.0.5/appose-competencymodel-management/p-ec86528e.js"></script>
  </head>
  <body>
    <appose-competencymodel-management company-id="1" language="en" translation-base-path="" />
  </body>
</html>

nginx conf:

server {
  ...

  add_header Content-Security-Policy "script-src 'self' https://cdn.appose.com/ 'unsafe-inline';object-src 'self'; script-src-elem https://cdn.appose.com/";
}

used api routes

/api/competency-models/${cmId}

Type: GET

/api/roles/{event.detail.id}/skills

TYPE: GET

/api/roles

TYPE: POST

{
  "id": 1,
  "name": "string",
  "slots": 1,
  "roleSkillList": [
    {
      "id": 1,
      "proficiency": 3,
      "skillObjectId": "string",
      "skillName": "string",
      "status": "ACTIVE"
    }
  ],
  "roleStatus": "ACTIVE",
  "competencyModel": {
    "id": 1
  }
}

/api/manage-staff/{cmId}/roles

TYPE: GET

/api/roles/autocomplete/{searchText}?searchText={string}

TYPE: GET

/api/skills/autocomplete/{string}

TYPE: GET

/api/user/manager/${string}

TYPE: GET

/api/roles/${roleID}/users/{userId}?userId=${user.id}

TYPE: DELETE

/api/roles/${this.roleID}/users?userIdSet=${user.id}

TYPE: PUT

/api/user/${userId}

TYPE: GET

/api/skills/${skill.id}

TYPE: GET

/api/manage-staff/${this.cmID}/roles

TYPE: GET

/api/roles/${roleID}/best-matches

TYPE: GET

Properties

PropertyAttributeDescriptionTypeDefault
careerApiTokencareer-api-tokenBearer token for the career apistringundefined
careerApiUrlcareer-api-urlCAREER API URLstring'http://localhost:8080'
cmIdcm-idComppetencymodel ID is used to edit a competencymodel.numbernull
companyId (required)company-idis used to map a competencymodel to a companynumberundefined
exitUrlexit-urlThis url will be used to redirect the user after the user canceles the creation of a competencymodel.string'/'
languagelanguagelanguage of the webcomponentsstring'en'
templatesApiTokentemplates-api-tokenBearer token for the template apistringundefined
templatesApiUrltemplates-api-urlTEMPLATE API URLstringundefined
translationBasePathtranslation-base-pathcan be used to change the path of the translation files. Default is /i18n/ May be a relative path or a absolute, using https.string''

Dependencies

Depends on

  • appose-tool-navigation
  • appose-integration-templates
  • appose-tool-popup
  • appose-tool-state-numbers
  • appose-integration-competencymodel-form
  • appose-tool-search
  • appose-integration-jobprofiledetail
  • appose-integration-jobprofilelist
  • appose-tool-loading
  • appose-util-button
  • appose-util-input
  • appose-integration-staffassign

Graph

graph TD;
  appose-competencymodel-management --> appose-tool-navigation
  appose-competencymodel-management --> appose-integration-templates
  appose-competencymodel-management --> appose-tool-popup
  appose-competencymodel-management --> appose-tool-state-numbers
  appose-competencymodel-management --> appose-integration-competencymodel-form
  appose-competencymodel-management --> appose-tool-search
  appose-competencymodel-management --> appose-integration-jobprofiledetail
  appose-competencymodel-management --> appose-integration-jobprofilelist
  appose-competencymodel-management --> appose-tool-loading
  appose-competencymodel-management --> appose-util-button
  appose-competencymodel-management --> appose-util-input
  appose-competencymodel-management --> appose-integration-staffassign
  appose-integration-templates --> appose-tool-folderview
  appose-integration-templates --> appose-util-button
  appose-tool-folderview --> appose-util-textwithimage
  appose-tool-popup --> appose-util-button
  appose-integration-competencymodel-form --> appose-util-input
  appose-integration-jobprofiledetail --> appose-util-button
  appose-integration-jobprofiledetail --> appose-tool-search
  appose-integration-staffassign --> appose-tool-popup
  appose-integration-staffassign --> appose-integration-best-matches-modal
  appose-integration-staffassign --> appose-tool-circle-progress-bar
  appose-integration-staffassign --> appose-integration-staffprofile
  appose-integration-staffassign --> appose-tool-search
  appose-integration-best-matches-modal --> appose-tool-circle-progress-bar
  appose-integration-best-matches-modal --> appose-integration-staffprofile
  appose-integration-best-matches-modal --> appose-tool-search
  appose-integration-staffprofile --> appose-tool-circle-progress-bar
  style appose-competencymodel-management fill:#f9f,stroke:#333,stroke-width:4px