diff --git a/src/main.js b/src/main.js
index 714b14d..41151a5 100644
--- a/src/main.js
+++ b/src/main.js
@@ -12,6 +12,7 @@ import Badge from 'primevue/badge';
import BadgeDirective from 'primevue/badgedirective';
import BlockUI from 'primevue/blockui';
import Button from 'primevue/button';
+import ButtonGroup from 'primevue/buttongroup';
import Breadcrumb from 'primevue/breadcrumb';
import Calendar from 'primevue/calendar';
import Card from 'primevue/card';
@@ -40,10 +41,15 @@ import Dropdown from 'primevue/dropdown';
import DynamicDialog from 'primevue/dynamicdialog';
import Fieldset from 'primevue/fieldset';
import FileUpload from 'primevue/fileupload';
+import FloatLabel from 'primevue/floatlabel';
import Galleria from 'primevue/galleria';
+import IconField from 'primevue/iconfield';
import Image from 'primevue/image';
import InlineMessage from 'primevue/inlinemessage';
import Inplace from 'primevue/inplace';
+import InputGroup from 'primevue/inputgroup';
+import InputGroupAddon from 'primevue/inputgroupaddon';
+import InputIcon from 'primevue/inputicon';
import InputSwitch from 'primevue/inputswitch';
import InputText from 'primevue/inputtext';
import InputMask from 'primevue/inputmask';
@@ -128,6 +134,7 @@ app.component('Badge', Badge);
app.component('BlockUI', BlockUI);
app.component('Breadcrumb', Breadcrumb);
app.component('Button', Button);
+app.component('ButtonGroup', ButtonGroup);
app.component('Calendar', Calendar);
app.component('Card', Card);
app.component('Chart', Chart);
@@ -153,10 +160,15 @@ app.component('Dropdown', Dropdown);
app.component('DynamicDialog', DynamicDialog);
app.component('Fieldset', Fieldset);
app.component('FileUpload', FileUpload);
+app.component('FloatLabel', FloatLabel);
app.component('Galleria', Galleria);
+app.component('IconField', IconField);
app.component('Image', Image);
app.component('InlineMessage', InlineMessage);
app.component('Inplace', Inplace);
+app.component('InputGroup', InputGroup);
+app.component('InputGroupAddon', InputGroupAddon);
+app.component('InputIcon', InputIcon);
app.component('InputMask', InputMask);
app.component('InputNumber', InputNumber);
app.component('InputSwitch', InputSwitch);
diff --git a/src/views/pages/Crud.vue b/src/views/pages/Crud.vue
index 886a4a2..8e332b9 100644
--- a/src/views/pages/Crud.vue
+++ b/src/views/pages/Crud.vue
@@ -158,10 +158,12 @@ const initFilters = () => {
Manage Products
-
-
+
+
+
+
-
+
@@ -210,8 +212,8 @@ const initFilters = () => {
-
-
+
+
diff --git a/src/views/uikit/Button.vue b/src/views/uikit/Button.vue
index e92572b..88b08ef 100644
--- a/src/views/uikit/Button.vue
+++ b/src/views/uikit/Button.vue
@@ -39,53 +39,59 @@ const load = (index) => {
Severities
-
-
-
-
-
-
+
+
+
+
+
+
+
+
Text
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
Outlined
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
Button Group
-
+
-
+
SplitButton
-
-
-
-
-
+
+
+
+
+
+
+
+
@@ -93,21 +99,21 @@ const load = (index) => {
@@ -123,55 +129,59 @@ const load = (index) => {
Raised
-
-
-
-
-
-
+
+
+
+
+
+
+
+
Rounded
-
-
-
-
-
-
+
+
+
+
+
+
+
+
Rounded Icons
-
-
-
-
-
-
+
+
+
+
+
+
+
Rounded Text
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
Rounded Outlined
-
-
-
-
-
-
-
+
+
+
+
+
+
+
diff --git a/src/views/uikit/FloatLabel.vue b/src/views/uikit/FloatLabel.vue
index c0a6655..a4cfef5 100644
--- a/src/views/uikit/FloatLabel.vue
+++ b/src/views/uikit/FloatLabel.vue
@@ -82,15 +82,15 @@ const searchCountry = (event) => {
-
-
+
+
-
-
+
+
-
-
+
+
diff --git a/src/views/uikit/Input.vue b/src/views/uikit/Input.vue
index 94004ec..56eae3c 100644
--- a/src/views/uikit/Input.vue
+++ b/src/views/uikit/Input.vue
@@ -94,24 +94,17 @@ const searchCountry = (event) => {
Icons
diff --git a/src/views/uikit/List.vue b/src/views/uikit/List.vue
index 9efacda..42fd7bc 100644
--- a/src/views/uikit/List.vue
+++ b/src/views/uikit/List.vue
@@ -55,6 +55,22 @@ const onSortChange = (event) => {
sortKey.value = sortValue;
}
};
+
+const getSeverity = (product) => {
+ switch (product.inventoryStatus) {
+ case 'INSTOCK':
+ return 'success';
+
+ case 'LOWSTOCK':
+ return 'warning';
+
+ case 'OUTOFSTOCK':
+ return 'danger';
+
+ default:
+ return null;
+ }
+};
@@ -73,47 +89,72 @@ const onSortChange = (event) => {
+
-
-
-
![]()
-
-
{{ slotProps.data.name }}
-
{{ slotProps.data.description }}
-
-
-
-
{{ slotProps.data.category }}
+
+
+
+
+
![]()
+
+
+
+
+
+
{{ item.category }}
+
{{ item.name }}
+
+
+
+ {{ item.rating }}
+
+
+
+
+
+
${{ item.price }}
+
+
+
+
+
-
-
- ${{ slotProps.data.price }}
-
- {{ slotProps.data.inventoryStatus }}
-
-
-
-
-
-
{{ slotProps.data.category }}
+
+
+
+
+
+
![]()
+
+
+
+
+
+
+
{{ item.category }}
+
{{ item.name }}
+
+
+
+ {{ item.rating }}
+
+
+
+
+
+
${{ item.price }}
+
+
+
+
+
-
{{ slotProps.data.inventoryStatus }}
-
-
-
![]()
-
{{ slotProps.data.name }}
-
{{ slotProps.data.description }}
-
-
-
- ${{ slotProps.data.price }}
-
diff --git a/src/views/uikit/Panels.vue b/src/views/uikit/Panels.vue
index 087dbf5..06b4156 100644
--- a/src/views/uikit/Panels.vue
+++ b/src/views/uikit/Panels.vue
@@ -197,10 +197,10 @@ const toggle = () => {
Splitter
-
+
Panel 1
-
+
Panel 2
diff --git a/src/views/uikit/Table.vue b/src/views/uikit/Table.vue
index 7d1b9aa..197bb6a 100644
--- a/src/views/uikit/Table.vue
+++ b/src/views/uikit/Table.vue
@@ -113,11 +113,13 @@ const calculateCustomerTotal = (name) => {
>
-
-
-
-
-
+
+
+
+
+
+
+
No customers found.