Opens when Item is triggered in Grid-Component. Options to decrease Item-Quantity -> Take something out of shelf. Triggers the Lights on the shelf to the corresponding Item.
v-dialog
: to blend out Background.v-Card
: to achieve a compact overlay.v-slider
: in/decreases the amount of Itemsv-card-text
: displays description, quantity and name of the itemv-textfield
: Input of the quantity of the selected itemv-btn
: updates the selected Item with its properties
openItem(item: Item)
: opens an Item from Interface Item defined in types/index.tsincrement()
: increases the quantity of the items, is used inv-slider
Compomemtdecrement()
: decreases the quantity of the items, is used inv-slider
CompomemtupdateItem(take: boolean)
: updates the quantity of an Item if the item has been taken out the item is updated by finding its ID. The selected item is stored in the vuexstore
getLang()
: gets the selected Language with its i18n tagsgetItem()
: gets the selected item, stored in vuex store
dialog()
: turns the corresponding LEDs off, when thev-dialog
window has been closedgetItem(newItem: Item)
: Checks if getItem was triggered (Select Option was triggered in Grid)destroyed()
: turns off LED, by getting Id from item