Import
import AutoComplete from 'primevue/autocomplete';
@@ -544,9 +544,7 @@ export default {
const filteredCountries = ref();
const selectedCountries = ref([]);
const groupedCities = ref ([{
- label: 'Germany', code: 'DE',
- label: 'Germany', code: 'DE',
- label: 'Germany', code: 'DE',
+ label: 'Germany', code: 'DE',
items: [
{label: 'Berlin', value: 'Berlin'},
{label: 'Frankfurt', value: 'Frankfurt'},
@@ -555,9 +553,7 @@ export default {
]
},
{
- label: 'USA', code: 'US',
- label: 'USA', code: 'US',
- label: 'USA', code: 'US',
+ label: 'USA', code: 'US',
items: [
{label: 'Chicago', value: 'Chicago'},
{label: 'Los Angeles', value: 'Los Angeles'},
@@ -566,9 +562,7 @@ export default {
]
},
{
- label: 'Japan', code: 'JP',
- label: 'Japan', code: 'JP',
- label: 'Japan', code: 'JP',
+ label: 'Japan', code: 'JP',
items: [
{label: 'Kyoto', value: 'Kyoto'},
{label: 'Osaka', value: 'Osaka'},
@@ -590,16 +584,16 @@ export default {
};
const searchCity = (event) => {
let query = event.query;
- let filteredCities = [];
+ let newFilteredCities = [];
for (let country of groupedCities.value) {
let filteredItems = FilterService.filter(country.items, ['label'], query, FilterMatchMode.CONTAINS);
if (filteredItems && filteredItems.length) {
- filteredCities.push({...country, ...{items: filteredItems}});
+ newFilteredCities.push({...country, ...{items: filteredItems}});
}
}
- filteredCities.value = filteredCities;
+ filteredCities.value = newFilteredCities;
}
return { countries, countryService, selectedCountry1, selectedCountry2, selectedCity, filteredCities, filteredCountries, selectedCountries, groupedCities, searchCountry, searchCity }
}
diff --git a/src/views/carousel/CarouselDoc.vue b/src/views/carousel/CarouselDoc.vue
index 1cf6ad72b..fd77ca6ee 100755
--- a/src/views/carousel/CarouselDoc.vue
+++ b/src/views/carousel/CarouselDoc.vue
@@ -1,5 +1,5 @@
-
+
Import
import Carousel from 'primevue/carousel';
diff --git a/src/views/datatable/DataTableBasicDoc.vue b/src/views/datatable/DataTableBasicDoc.vue
index 7703a5d62..8645e4bba 100644
--- a/src/views/datatable/DataTableBasicDoc.vue
+++ b/src/views/datatable/DataTableBasicDoc.vue
@@ -1,5 +1,5 @@
-
+
\ No newline at end of file
diff --git a/src/views/fullcalendar/FullCalendarDoc.vue b/src/views/fullcalendar/FullCalendarDoc.vue
index aa56b396a..f7aabe9cc 100755
--- a/src/views/fullcalendar/FullCalendarDoc.vue
+++ b/src/views/fullcalendar/FullCalendarDoc.vue
@@ -1,5 +1,5 @@
-
+
Import
import FullCalendar from 'primevue/fullcalendar';
diff --git a/src/views/inplace/InplaceDoc.vue b/src/views/inplace/InplaceDoc.vue
index 2cc859e1f..f66e06295 100755
--- a/src/views/inplace/InplaceDoc.vue
+++ b/src/views/inplace/InplaceDoc.vue
@@ -1,5 +1,5 @@
-
+
Import
import Inplace from 'primevue/inplace';
diff --git a/src/views/invalid/InvalidDemo.vue b/src/views/invalid/InvalidDemo.vue
index 9480ae363..fed5b64f2 100644
--- a/src/views/invalid/InvalidDemo.vue
+++ b/src/views/invalid/InvalidDemo.vue
@@ -49,7 +49,7 @@
-
+
diff --git a/src/views/liveeditor/LiveEditor.vue b/src/views/liveeditor/LiveEditor.vue
index dea709520..5a19fe376 100644
--- a/src/views/liveeditor/LiveEditor.vue
+++ b/src/views/liveeditor/LiveEditor.vue
@@ -27,7 +27,7 @@ export default {
default: null
},
service: {
- type: String,
+ type: Array,
default: null
},
data: {
@@ -142,8 +142,12 @@ export default {
}
if (this.service) {
- let dataArr = [];
+ let dataArr = [], serviceArr = [];
+ this.service.forEach(el => {
+ serviceArr.push(el.split(','))
+ })
+
this.data.forEach(el => {
dataArr.push(el.split(','))
})
@@ -153,18 +157,14 @@ export default {
_files[`public/data/${el}.json`] = {
content: data[el]
};
-
- _files[`src/service/${this.service}.js`] = {
- content: `${services[this.service]}`
- };
});
}
- else {
- _files[`src/service/${this.service}.js`] = {
- content: `${services[this.service]}`
+ serviceArr.forEach(serv => {
+ _files[`src/service/${serv}.js`] = {
+ content: `${services[serv]}`
};
- }
+ })
}
element += `import ${name} from "./${name}.vue"`;
diff --git a/src/views/orderlist/OrderListDoc.vue b/src/views/orderlist/OrderListDoc.vue
index 92c8f219a..da4c0dfbd 100755
--- a/src/views/orderlist/OrderListDoc.vue
+++ b/src/views/orderlist/OrderListDoc.vue
@@ -1,5 +1,5 @@
-
+
Import
import OrderList from 'primevue/orderlist';
diff --git a/src/views/overlaypanel/OverlayPanelDoc.vue b/src/views/overlaypanel/OverlayPanelDoc.vue
index 5405990ec..18649d18e 100755
--- a/src/views/overlaypanel/OverlayPanelDoc.vue
+++ b/src/views/overlaypanel/OverlayPanelDoc.vue
@@ -1,5 +1,5 @@
-
+
Import
import OverlayPanel from 'primevue/overlaypanel';
diff --git a/src/views/picklist/PickListDoc.vue b/src/views/picklist/PickListDoc.vue
index 74b418030..5087871bc 100755
--- a/src/views/picklist/PickListDoc.vue
+++ b/src/views/picklist/PickListDoc.vue
@@ -1,5 +1,5 @@
-
+
Import
import PickList from 'primevue/picklist';
diff --git a/src/views/responsive/ResponsiveDemo.vue b/src/views/responsive/ResponsiveDemo.vue
index 8be279093..0b9dc076a 100644
--- a/src/views/responsive/ResponsiveDemo.vue
+++ b/src/views/responsive/ResponsiveDemo.vue
@@ -516,524 +516,747 @@
-
-
-
-
-<div class="p-grid">
- <div class="p-col-12 p-md-6 p-fluid">
- <div class="card">
- <h5>InputText</h5>
- <div class="p-grid p-formgrid">
- <div class="p-col-12 p-mb-2 p-lg-4 p-mb-lg-0">
- <InputText type="text" placeholder="Default"></InputText>
- </div>
- <div class="p-col-12 p-mb-2 p-lg-4 p-mb-lg-0">
- <InputText type="text" placeholder="Disabled" :disabled="true"></InputText>
- </div>
- <div class="p-col-12 p-mb-2 p-lg-4 p-mb-lg-0">
- <InputText type="text" placeholder="Invalid" class="p-invalid" />
- </div>
- </div>
-
- <h5>Icons</h5>
- <div class="p-grid p-formgrid">
- <div class="p-col-12 p-mb-2 p-lg-4 p-mb-lg-0">
- <span class="p-input-icon-left">
- <i class="pi pi-user" />
- <InputText type="text" placeholder="Username" />
- </span>
- </div>
- <div class="p-col-12 p-mb-2 p-lg-4 p-mb-lg-0">
- <span class="p-input-icon-right">
- <InputText type="text" placeholder="Search" />
- <i class="pi pi-search" />
- </span>
- </div>
- <div class="p-col-12 p-mb-2 p-lg-4 p-mb-lg-0">
- <span class="p-input-icon-left p-input-icon-right">
- <i class="pi pi-user" />
- <InputText type="text" placeholder="Search" />
- <i class="pi pi-search" />
- </span>
- </div>
- </div>
-
- <h5>Float Label</h5>
- <span class="p-float-label">
- <InputText id="username" type="text" v-model="floatValue"/>
- <label for="username">Username</label>
- </span>
-
- <h5>Textarea</h5>
- <Textarea placeholder="Your Message" :autoResize="true" rows="3" cols="30" />
-
- <h5>AutoComplete</h5>
- <AutoComplete placeholder="Search" id="dd" :dropdown="true" :multiple="true" v-model="selectedAutoValue" :suggestions="autoFilteredValue" @complete="searchCountry($event)" field="name"/>
-
- <h5>Calendar</h5>
- <Calendar :showIcon="true" :showButtonBar="true" v-model="calendarValue"></Calendar>
-
- <h5>Spinner</h5>
- <InputNumber v-model="inputNumberValue" showButtons mode="decimal"></InputNumber>
-
- <h5>Chips</h5>
- <Chips v-model="chipsValue"/>
- </div>
-
- <div class="card">
- <h5>Slider</h5>
- <InputText v-model.number="sliderValue" />
- <Slider v-model="sliderValue" />
-
- <h5>Rating</h5>
- <Rating v-model="ratingValue"/>
-
- <h5>Input Switch</h5>
- <InputSwitch v-model="switchValue" />
- </div>
- </div>
-
- <div class="p-col-12 p-md-6">
- <div class="card">
- <h5>RadioButton</h5>
- <div class="p-grid">
- <div class="p-col-12 p-md-4">
- <div class="p-field-radiobutton">
- <RadioButton id="option1" name="option" value="Option 1" v-model="radioValue" />
- <label for="option1">Option 1</label>
- </div>
- </div>
- <div class="p-col-12 p-md-4">
- <div class="p-field-radiobutton">
- <RadioButton id="option2" name="option" value="Option 2" v-model="radioValue" />
- <label for="option2">Option 2</label>
- </div>
- </div>
- <div class="p-col-12 p-md-4">
- <div class="p-field-radiobutton">
- <RadioButton id="option3" name="option" value="Option 3" v-model="radioValue" />
- <label for="option3">Option 3</label>
- </div>
- </div>
- </div>
-
- <h5>Checkbox</h5>
- <div class="p-grid">
- <div class="p-col-12 p-md-4">
- <div class="p-field-checkbox">
- <Checkbox id="checkOption1" name="option" value="Option 1" v-model="checkboxValue" />
- <label for="checkOption1">Option 1</label>
- </div>
- </div>
- <div class="p-col-12 p-md-4">
- <div class="p-field-checkbox">
- <Checkbox id="checkOption2" name="option" value="Option 2" v-model="checkboxValue" />
- <label for="checkOption2">Option 2</label>
- </div>
- </div>
- <div class="p-col-12 p-md-4">
- <div class="p-field-checkbox">
- <Checkbox id="checkOption3" name="option" value="Option 3" v-model="checkboxValue" />
- <label for="checkOption3">Option 3</label>
- </div>
- </div>
- </div>
- </div>
-
- <div class="card p-fluid">
- <h5>Listbox</h5>
- <Listbox v-model="listboxValue" :options="listboxValues" optionLabel="name" :filter="true"/>
-
- <h5>Dropdown</h5>
- <Dropdown v-model="dropdownValue" :options="dropdownValues" optionLabel="name" placeholder="Select" />
-
- <h5>MultiSelect</h5>
- <MultiSelect v-model="multiselectValue" :options="multiselectValues" optionLabel="name" placeholder="Select Countries" :filter="true"></MultiSelect>
- </div>
-
- <div class="card p-fluid">
- <h5>ToggleButton</h5>
- <ToggleButton v-model="toggleValue" onLabel="Yes" offLabel="No"/>
-
- <h5>SelectButton</h5>
- <SelectButton v-model="selectButtonValue1" :options="selectButtonValues1" optionLabel="name" />
-
- <h5>SelectButton - Multiple</h5>
- <SelectButton v-model="selectButtonValue2" :options="selectButtonValues2" optionLabel="name" :multiple="true"/>
- </div>
- </div>
-
- <div class="p-col-12">
- <div class="card">
- <h5>Buttons</h5>
- <Button label="Submit" class="p-mr-2 p-mb-2" />
- <Button icon="pi pi-check" class="p-mr-2 p-mb-2" />
- <Button label="Submit" icon="pi pi-check" class="p-mr-2 p-mb-2" />
- <Button label="Submit" icon="pi pi-check" iconPos="right" class="p-mr-2 p-mb-2" />
- <Button label="Disabled" disabled="disabled" class="p-mr-2 p-mb-2" />
-
- <h5>Severities</h5>
- <Button label="Primary" class="p-mr-2 p-mb-2" />
- <Button label="Secondary" class="p-button-secondary p-mr-2 p-mb-2" />
- <Button label="Success" class="p-button-success p-mr-2 p-mb-2" />
- <Button label="Info" class="p-button-info p-mr-2 p-mb-2" />
- <Button label="Warning" class="p-button-warning p-mr-2 p-mb-2" />
- <Button label="Help" class="p-button-help p-mr-2 p-mb-2" />
- <Button label="Danger" class="p-button-danger p-mr-2 p-mb-2" />
-
- <h5>Raised Buttons</h5>
- <Button label="Primary" class="p-button-raised p-mr-2 p-mb-2" />
- <Button label="Secondary" class="p-button-raised p-button-secondary p-mr-2 p-mb-2" />
- <Button label="Success" class="p-button-raised p-button-success p-mr-2 p-mb-2" />
- <Button label="Info" class="p-button-raised p-button-info p-mr-2 p-mb-2" />
- <Button label="Warning" class="p-button-raised p-button-warning p-mr-2 p-mb-2" />
- <Button label="Help" class="p-button-raised p-button-help p-mr-2 p-mb-2" />
- <Button label="Danger" class="p-button-raised p-button-danger p-mb-2" />
-
- <h5>Rounded Buttons</h5>
- <Button label="Primary" class="p-button-rounded p-mr-2 p-mb-2" />
- <Button label="Secondary" class="p-button-rounded p-button-secondary p-mr-2 p-mb-2" />
- <Button label="Success" class="p-button-rounded p-button-success p-mr-2 p-mb-2" />
- <Button label="Info" class="p-button-rounded p-button-info p-mr-2 p-mb-2" />
- <Button label="Warning" class="p-button-rounded p-button-warning p-mr-2 p-mb-2" />
- <Button label="Help" class="p-button-rounded p-button-help p-mr-2 p-mb-2" />
- <Button label="Danger" class="p-button-rounded p-button-danger p-mb-2" />
-
- <h5>Text Buttons</h5>
- <Button label="Primary" class="p-button-text p-mr-2 p-mb-2" />
- <Button label="Secondary" class="p-button-secondary p-button-text p-mr-2 p-mb-2" />
- <Button label="Success" class="p-button-success p-button-text p-mr-2 p-mb-2" />
- <Button label="Info" class="p-button-info p-button-text p-mr-2 p-mb-2" />
- <Button label="Warning" class="p-button-warning p-button-text p-mr-2 p-mb-2" />
- <Button label="Help" class="p-button-help p-button-text p-mr-2 p-mb-2" />
- <Button label="Danger" class="p-button-danger p-button-text p-mr-2 p-mb-2" />
- <Button label="Plain" class="p-button-text p-button-plain p-mb-2" />
-
- <h5>Raised Text Buttons</h5>
- <Button label="Primary" class="p-button-raised p-button-text p-mr-2 p-mb-2" />
- <Button label="Secondary" class="p-button-raised p-button-secondary p-button-text p-mr-2 p-mb-2" />
- <Button label="Success" class="p-button-raised p-button-success p-button-text p-mr-2 p-mb-2" />
- <Button label="Info" class="p-button-raised p-button-info p-button-text p-mr-2 p-mb-2" />
- <Button label="Warning" class="p-button-raised p-button-warning p-button-text p-mr-2 p-mb-2" />
- <Button label="Help" class="p-button-raised p-button-help p-button-text p-mr-2 p-mb-2" />
- <Button label="Danger" class="p-button-raised p-button-danger p-button-text p-mr-2 p-mb-2" />
- <Button label="Plain" class="p-button-raised p-button-plain p-button-text p-mb-2" />
-
- <h5>Outlined Buttons</h5>
- <Button label="Primary" class="p-button-outlined p-mr-2 p-mb-2" />
- <Button label="Secondary" class="p-button-outlined p-button-secondary p-mr-2 p-mb-2" />
- <Button label="Success" class="p-button-outlined p-button-success p-mr-2 p-mb-2" />
- <Button label="Info" class="p-button-outlined p-button-info p-mr-2 p-mb-2" />
- <Button label="Warning" class="p-button-outlined p-button-warning p-mr-2 p-mb-2" />
- <Button label="Help" class="p-button-outlined p-button-help p-mr-2 p-mb-2" />
- <Button label="Danger" class="p-button-outlined p-button-danger p-mr-2 p-mb-2" />
- <Button label="Plain" class="p-button-outlined p-button-plain p-mb-2" />
-
- <h5>Rounded Icon Buttons</h5>
- <Button icon="pi pi-check" class="p-button-rounded p-mr-2 p-mb-2" />
- <Button icon="pi pi-bookmark" class="p-button-rounded p-button-secondary p-mr-2 p-mb-2" />
- <Button icon="pi pi-search" class="p-button-rounded p-button-success p-mr-2 p-mb-2" />
- <Button icon="pi pi-user" class="p-button-rounded p-button-info p-mr-2 p-mb-2" />
- <Button icon="pi pi-bell" class="p-button-rounded p-button-warning p-mr-2 p-mb-2" />
- <Button icon="pi pi-heart" class="p-button-rounded p-button-help p-mr-2 p-mb-2" />
- <Button icon="pi pi-times" class="p-button-rounded p-button-danger p-mb-2" />
-
- <h5>Rounded Text Icon Buttons</h5>
- <Button icon="pi pi-check" class="p-button-rounded p-button-text p-mr-2 p-mb-2" />
- <Button icon="pi pi-bookmark" class="p-button-rounded p-button-secondary p-button-text p-mr-2 p-mb-2" />
- <Button icon="pi pi-search" class="p-button-rounded p-button-success p-button-text p-mr-2 p-mb-2" />
- <Button icon="pi pi-user" class="p-button-rounded p-button-info p-button-text p-mr-2 p-mb-2" />
- <Button icon="pi pi-bell" class="p-button-rounded p-button-warning p-button-text p-mr-2 p-mb-2" />
- <Button icon="pi pi-heart" class="p-button-rounded p-button-help p-button-text p-mr-2 p-mb-2" />
- <Button icon="pi pi-times" class="p-button-rounded p-button-danger p-button-text p-mr-2 p-mb-2" />
-
- <h5>Rounded and Outlined Icon Buttons</h5>
- <Button icon="pi pi-check" class="p-button-rounded p-button-outlined p-mr-2 p-mb-2" />
- <Button icon="pi pi-bookmark" class="p-button-rounded p-button-secondary p-button-outlined p-mr-2 p-mb-2" />
- <Button icon="pi pi-search" class="p-button-rounded p-button-success p-button-outlined p-mr-2 p-mb-2" />
- <Button icon="pi pi-user" class="p-button-rounded p-button-info p-button-outlined p-mr-2 p-mb-2" />
- <Button icon="pi pi-bell" class="p-button-rounded p-button-warning p-button-outlined p-mr-2 p-mb-2" />
- <Button icon="pi pi-heart" class="p-button-rounded p-button-help p-button-outlined p-mr-2 p-mb-2" />
- <Button icon="pi pi-times" class="p-button-rounded p-button-danger p-button-outlined p-mb-2" />
-
- <h5>Badges</h5>
- <Button type="button" label="Emails" badge="8" class="p-mr-2 p-mb-2" />
- <Button type="button" label="Messages" icon="pi pi-users" class="p-button-warning p-mb-2" badge="8" badgeClass="p-badge-danger" />
-
- <h5>Button Set</h5>
- <span class="p-buttonset">
- <Button label="Save" icon="pi pi-check" />
- <Button label="Delete" icon="pi pi-trash" />
- <Button label="Cancel" icon="pi pi-times" />
- </span>
- </div>
- </div>
-
- <div class="p-col-12">
- <div class="card">
- <DataTable :value="customers" :paginator="true" :rows="10"
- dataKey="id" :rowHover="true" v-model:selection="selectedCustomers" :filters="filters"
- paginatorTemplate="FirstPageLink PrevPageLink PageLinks NextPageLink LastPageLink CurrentPageReport RowsPerPageDropdown" :rowsPerPageOptions="[10,25,50]"
- currentPageReportTemplate="Showing {first} to {last} of {totalRecords} entries">
- <template #header>
- <div class="p-d-flex p-ai-center p-jc-between">
- DataTable
- <span class="p-input-icon-left">
- <i class="pi pi-search" />
- <InputText v-model="filters['global']" placeholder="Global Search" />
- </span>
- </div>
- </template>
- <template #empty>
- No customers found.
- </template>
- <Column selectionMode="multiple" headerStyle="width: 3em"></Column>
- <Column field="name" header="Name" :sortable="true">
- <template #body="slotProps">
- {{slotProps.data.name}}
- </template>
- </Column>
- <Column header="Country" :sortable="true" sortField="country.name" filterField="country.name" filterMatchMode="contains">
- <template #body="slotProps">
- <img src="../../assets/images/flag_placeholder.png" :class="'flag flag-' + slotProps.data.country.code" width="30" class="p-mr-2" />
- <span class="image-text">{{slotProps.data.country.name}}</span>
- </template>
- </Column>
- <Column field="status" header="Status" :sortable="true" filterMatchMode="equals">
- <template #body="slotProps">
- <span :class="'customer-badge status-' + slotProps.data.status">{{slotProps.data.status}}</span>
- </template>
- </Column>
- <Column field="activity" header="Activity" :sortable="true" filterMatchMode="gte">
- <template #body="slotProps">
- <ProgressBar :value="slotProps.data.activity" :showValue="false" />
- </template>
- </Column>
- </DataTable>
- </div>
- </div>
- <div class="p-col-12 p-md-6">
- <div class="card">
- <h5>AccordionPanel</h5>
- <Accordion :multiple="true" :activeIndex="[0]">
- <AccordionTab header="Header I">
- <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
- Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
- Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
- Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
- </AccordionTab>
- <AccordionTab header="Header II">
- <p>Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque
- ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia
- voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.
- Consectetur, adipisci velit, sed quia non numquam eius modi.</p>
- </AccordionTab>
- <AccordionTab header="Header III">
- <p>At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores
- et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga.
- Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit
- quo minus.</p>
- </AccordionTab>
- </Accordion>
- </div>
- <div class="card">
- <h5>TabView</h5>
- <TabView>
- <TabPanel header="Header I">
- <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
- Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
- Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
- Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p></TabPanel>
- <TabPanel header="Header II">
- <p>Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque
- ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia
- voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.
- Consectetur, adipisci velit, sed quia non numquam eius modi.</p>
- </TabPanel>
- <TabPanel header="Header III">
- <p>At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores
- et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga.
- Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit
- quo minus.</p>
- </TabPanel>
- </TabView>
- </div>
- </div>
- <div class="p-col-12 p-md-6">
- <div class="card">
- <h5>Panel</h5>
- <Panel header="Header" :toggleable="true">
- <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
- Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
- Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
- Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
- </Panel>
- </div>
- <div class="card">
- <h5>Fieldset</h5>
- <Fieldset legend="Legend" :toggleable="true">
- <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
- Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
- Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
- Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
- </Fieldset>
- </div>
- </div>
- <div class="p-col-12 p-md-3">
- <div class="card p-fluid">
- <h5>Overlay Panel</h5>
- <Button type="button" label="Choose" @click="toggle" icon="pi pi-search" />
- <OverlayPanel ref="op" appendTo="body" :showCloseIcon="true" style="width: 450px" :breakpoints="{'960px':'75vw'}">
- <DataTable :value="products" v-model:selection="selectedProduct" selectionMode="single" :paginator="true" :rows="5" @row-select="onProductSelect">
- <Column field="name" header="Name" sortable></Column>
- <Column header="Image">
- <template #body="slotProps">
- <img :src="'demo/images/product/' + slotProps.data.image" :alt="slotProps.data.image" class="product-image" />
- </template>
- </Column>
- <Column field="price" header="Price" sortable>
- <template #body="slotProps">
- {{formatCurrency(slotProps.data.price)}}
- </template>
- </Column>
- </DataTable>
- </OverlayPanel>
- </div>
- </div>
- <div class="p-col-12 p-md-3">
- <div class="card p-fluid">
- <h5>Dialog</h5>
- <Dialog header="Dialog" v-model:visible="display" :style="{width: '50vw'}" :breakpoints="{'960px':'75vw'}" :modal="true">
- <p>
- Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
- quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit
- in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
- Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
- </p>
- <template #footer>
- <Button label="Dismiss" @click="close" icon="pi pi-check" class="p-button-text"/>
- </template>
- </Dialog>
- <Button label="Show" icon="pi pi-external-link" @click="open" class="p-button-secondary"/>
- </div>
- </div>
- <div class="p-col-12 p-md-3">
- <div class="card p-fluid">
- <h5>Confirm Popup</h5>
- <Button type="button" label="Confirm" @click="confirmWithPopup" class="p-button-success" icon="pi pi-check" />
- <ConfirmPopup group="popup"></ConfirmPopup>
- </div>
- </div>
- <div class="p-col-12 p-md-3">
- <div class="card p-fluid">
- <h5>Confirm Dialog</h5>
- <Button type="button" label="Confirm" @click="confirmWithDialog" class="p-button-help" icon="pi pi-check" />
- <ConfirmDialog group="dialog">></ConfirmDialog>
- </div>
- </div>
- <div class="p-col-12">
- <div class="card card-w-title">
- <h5>Menubar</h5>
- <Menubar :model="tieredMenuItems">
- <template #end>
- <span class="p-input-icon-left">
- <i class="pi pi-search" />
- <InputText type="text" placeholder="Search" />
- </span>
- </template>
- </Menubar>
- </div>
- </div>
-
- <div class="p-col-12 p-md-4">
- <div class="card">
- <h5>Plain Menu</h5>
- <Menu :model="menuitems" />
- </div>
- </div>
-
- <div class="p-col-12 p-md-4">
- <div class="card">
- <h5>Overlay Menu</h5>
-
- <Menu ref="menu" :model="menuitems" :popup="true" />
- <Button type="button" label="Options" icon="pi pi-angle-down" @click="toggleMenu" style="width: auto"/>
- </div>
-
- <div class="card" @contextmenu="onContextRightClick">
- <h5>ContextMenu</h5>
- Right click to display.
- <ContextMenu ref="contextMenu" :model="contextMenuItems" />
- </div>
- </div>
-
- <div class="p-col-12 p-lg-6">
- <div class="card">
- <h5>Messages</h5>
- <Message severity="info">Info Message</Message>
- <Message severity="success">Success Message</Message>
- <Message severity="warn">Warning Message</Message>
- <Message severity="error">Error Message</Message>
- </div>
- </div>
-
- <div class="p-col-12 p-lg-6">
- <div class="card">
- <h5>Toast</h5>
-
- <Toast />
- <Button @click="showToast('info')" label="Info" class="p-button-info p-mr-2 p-mb-2" />
- <Button @click="showToast('success')" label="Success" class="p-button-success p-mr-2 p-mb-2" />
- <Button @click="showToast('warn')" label="Warn" class="p-button-warning p-mr-2 p-mb-2" />
- <Button @click="showToast('error')" label="Error" class="p-button-danger p-mb-2" />
- </div>
-
- <div class="card">
- <h5>Timeline</h5>
- <Timeline :value="timelineEvents" align="alternate">
- <template #content="slotProps">
- {{slotProps.item.status}}
- </template>
- </Timeline>
- </div>
- </div>
-
- <div class="p-col-12 p-lg-8">
- <div class="card">
- <h5>Inline Message</h5>
- <div class="p-formgroup-inline" style="margin-bottom:.5rem">
- <label for="username1" class="p-sr-only">Username</label>
- <InputText id="username1" type="text" placeholder="Username" class="p-invalid p-mr-2" />
- <InlineMessage>Username is required</InlineMessage>
- </div>
- <div class="p-formgroup-inline">
- <label for="email" class="p-sr-only">email</label>
- <InputText id="email" placeholder="Email" class="p-invalid p-mr-2" />
- <InlineMessage />
- </div>
- </div>
- </div>
-
- <div class="p-col-12 p-lg-4">
- <div class="card">
- <h5>Helper Text</h5>
- <div class="p-field p-fluid">
- <label for="username2">Username</label>
- <InputText id="username2" type="text" class="p-invalid" aria-describedby="username-help" />
- <small id="username-help" class="p-error">Enter your username to reset your password.</small>
- </div>
- </div>
- </div>
-</div>
+
+
-
-
+