1.2.5 • Published 1 year ago
@appose-gmbh/competencymodel-management v1.2.5
@appose/competencymodel-management - 1.2.3
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
Property | Attribute | Description | Type | Default |
---|---|---|---|---|
careerApiToken | career-api-token | Bearer token for the career api | string | undefined |
careerApiUrl | career-api-url | CAREER API URL | string | 'http://localhost:8080' |
cmId | cm-id | Comppetencymodel ID is used to edit a competencymodel. | number | null |
companyId (required) | company-id | is used to map a competencymodel to a company | number | undefined |
exitUrl | exit-url | This url will be used to redirect the user after the user canceles the creation of a competencymodel. | string | '/' |
language | language | language of the webcomponents | string | 'en' |
templatesApiToken | templates-api-token | Bearer token for the template api | string | undefined |
templatesApiUrl | templates-api-url | TEMPLATE API URL | string | undefined |
translationBasePath | translation-base-path | can 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