@synbee-webcomponents/sw-inspection
v2.0.18
Published
sw-inspection is a web-component from Synbee Webcomponents Library, built with StencilJS, TypeScript, Storybook. It's based on the web-component standard and it's designed to be agnostic from the JavaScirpt framework you are using.
Downloads
84
Keywords
Readme
sw-inspection
Properties
| Property | Attribute | Description | Type | Default |
| ------------------ | ------------------ | ----------- | --------------------------------------------- | --------------------------------------------------------------------------------------------------------- |
| actionCreator
| -- | | AuthorCreatorDTO
| undefined
|
| baseUrl
| base-url
| | string
| ""
|
| creationDate
| creation-date
| | Date \| string
| undefined
|
| creationId
| creation-id
| | number
| Math.floor(Math.random() * 100)
|
| editDate
| edit-date
| | Date \| string
| undefined
|
| idPlugin
| id-plugin
| | number
| undefined
|
| idPluginAction
| id-plugin-action
| | number
| undefined
|
| idTask
| id-task
| | number
| undefined
|
| inspectionGetDTO
| -- | | InspectionGetDTO
| { id: 1, name: "", description: "", startDate: new Date(), inspectionTodos: [], }
|
| isActionClose
| is-action-close
| | boolean
| false
|
| state
| state
| | States.create \| States.edit \| States.view
| States.create
|
Events
| Event | Description | Type |
| ----------------- | ----------- | ------------------------------------- |
| emitCancel
| | CustomEvent<{ html: HTMLElement; }>
|
| emitCloseAction
| | CustomEvent<{ html: HTMLElement; }>
|
Dependencies
Depends on
Graph
graph TD;
sw-inspection --> sw-modal-alert
sw-inspection --> sw-action-header
sw-inspection --> sw-inspection-form
sw-inspection --> sw-action-footer
sw-inspection --> sw-badge-error
sw-modal-alert --> sw-input-button
sw-action-header --> sw-input-text
sw-action-header --> mds-text
sw-action-header --> sw-options-menu
sw-input-text --> mds-text
sw-inspection-form --> mds-text
sw-inspection-form --> sw-input-text-area
sw-inspection-form --> sw-checklist-item
sw-checklist-item --> sw-input-text
sw-checklist-item --> sw-options-menu
sw-action-footer --> mds-text
sw-action-footer --> mds-avatar
sw-action-footer --> mds-button
mds-avatar --> mds-text
mds-avatar --> mds-img
mds-button --> mds-icon
mds-button --> mds-text
style sw-inspection fill:#f9f,stroke:#333,stroke-width:4px
Built with love!