@eclipse-slm/ui 0.0.0-stage → 1.5.0-snapshot.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +270 -2
- package/index.html +19 -0
- package/package.json +103 -4
- package/public/favicon.ico +0 -0
- package/public/favicon.png +0 -0
- package/public/favicon_white.png +0 -0
- package/public/sidebar-image.jpg +0 -0
- package/src/App.vue +40 -0
- package/src/api/apiState.js +7 -0
- package/src/api/catalog/catalogRestApi.js +17 -0
- package/src/api/notification-service/notification-service-client.ts +7 -0
- package/src/api/notification-service/notificationServiceActuatorRestApi.js +26 -0
- package/src/api/notification-service/notificationServiceWebsocketClient.js +60 -0
- package/src/api/platform-management/platform-management-client.ts +46 -0
- package/src/api/platform-management/platformManagementActuatorRestApi.js +26 -0
- package/src/api/resource-management/resource-management-client.ts +39 -0
- package/src/api/resource-management/resourceManagementActuatorRestApi.js +26 -0
- package/src/api/restApiHelper.js +11 -0
- package/src/api/service-management/service-management-client.ts +31 -0
- package/src/api/service-management/serviceManagementActuatorRestApi.ts +26 -0
- package/src/app/navigation.ts +203 -0
- package/src/app/routes.ts +192 -0
- package/src/assets/clint-mckoy.jpg +0 -0
- package/src/assets/img/avatarImg.jpg +0 -0
- package/src/assets/img/fabos_logo.png +0 -0
- package/src/assets/img/fabos_logo_fabweiss.png +0 -0
- package/src/assets/img/fraunhofer-logo.png +0 -0
- package/src/assets/img/sidebar-1.jpg +0 -0
- package/src/assets/img/sidebar-2.jpg +0 -0
- package/src/assets/img/sidebar-3.jpg +0 -0
- package/src/assets/img/sidebar-4.jpg +0 -0
- package/src/assets/img/sidebar-5.jpg +0 -0
- package/src/assets/img/sidebar-image.jpg +0 -0
- package/src/assets/img/vue-logo.png +0 -0
- package/src/assets/lock.jpg +0 -0
- package/src/assets/login.jpg +0 -0
- package/src/assets/logo.png +0 -0
- package/src/assets/pricing.jpg +0 -0
- package/src/assets/register.jpg +0 -0
- package/src/assets/vuetify.svg +1 -0
- package/src/components/admin/VersionsOverview.vue +149 -0
- package/src/components/base/ActionButton.vue +63 -0
- package/src/components/base/ActionButtonType.ts +5 -0
- package/src/components/base/Card.vue +17 -0
- package/src/components/base/ConfirmDialog.vue +87 -0
- package/src/components/base/CustomDialog.vue +88 -0
- package/src/components/base/Item.vue +79 -0
- package/src/components/base/ItemGroup.vue +131 -0
- package/src/components/base/ItemSubGroup.vue +25 -0
- package/src/components/base/MaterialAlert.vue +56 -0
- package/src/components/base/MaterialCard.vue +166 -0
- package/src/components/base/MaterialChartCard.vue +95 -0
- package/src/components/base/MaterialSnackbar.vue +71 -0
- package/src/components/base/MaterialStatsCard.vue +115 -0
- package/src/components/base/MaterialTabs.vue +43 -0
- package/src/components/base/MaterialTestimony.vue +79 -0
- package/src/components/base/NoItemAvailableNote.vue +22 -0
- package/src/components/base/OverviewHeading.vue +25 -0
- package/src/components/base/ProgressCircular.vue +68 -0
- package/src/components/base/RowWithLabel.vue +228 -0
- package/src/components/base/Subheading.vue +35 -0
- package/src/components/base/TextWithLabel.vue +41 -0
- package/src/components/base/VComponent.vue +40 -0
- package/src/components/charts/AasCircularChart.vue +170 -0
- package/src/components/charts/AasCircularChartFilterBar.vue +72 -0
- package/src/components/charts/LineChart.js +14 -0
- package/src/components/clusters/ClustersOverview.vue +76 -0
- package/src/components/clusters/dialogs/ClusterDeleteDialog.vue +125 -0
- package/src/components/clusters/dialogs/ClusterScaleDialog.vue +272 -0
- package/src/components/clusters/dialogs/ClustersCreateDialog.vue +112 -0
- package/src/components/clusters/dialogs/ClustersCreateDialogPage.ts +7 -0
- package/src/components/clusters/dialogs/ClustersCreateDialogPageAddExistingCluster.vue +261 -0
- package/src/components/clusters/dialogs/ClustersCreateDialogPageCreateNewCluster.vue +244 -0
- package/src/components/clusters/dialogs/ClustersCreateDialogPageStart.vue +75 -0
- package/src/components/core/AppBar.vue +301 -0
- package/src/components/core/Drawer.vue +207 -0
- package/src/components/core/Footer.vue +43 -0
- package/src/components/core/View.vue +32 -0
- package/src/components/credentials/CredentialCreateDialog.vue +121 -0
- package/src/components/credentials/CredentialDisplay.vue +105 -0
- package/src/components/credentials/CredentialForm.vue +394 -0
- package/src/components/credentials/CredentialTypes.ts +26 -0
- package/src/components/dashboard/Buttons.vue +431 -0
- package/src/components/dashboard/DashboardResourceStatistics.vue +53 -0
- package/src/components/dashboard/Grid.vue +300 -0
- package/src/components/dashboard/Icons.vue +300 -0
- package/src/components/dashboard/Notifications.vue +402 -0
- package/src/components/dashboard/Tabs.vue +418 -0
- package/src/components/dashboard/Typography.vue +120 -0
- package/src/components/discovery/DiscoverDialog.vue +186 -0
- package/src/components/discovery/DiscoveredResourcesTable.vue +176 -0
- package/src/components/discovery/DiscoveryJobDetailsDialog.vue +65 -0
- package/src/components/discovery/DiscoveryJobsDeleteDialog.vue +88 -0
- package/src/components/discovery/DiscoveryJobsTable.vue +131 -0
- package/src/components/discovery/DiscoveryOverview.vue +99 -0
- package/src/components/discovery/DriversTable.vue +70 -0
- package/src/components/discovery/OnboardingDialog.vue +82 -0
- package/src/components/jobs/JobsOverview.vue +173 -0
- package/src/components/notifications/NotificationsOverview.vue +154 -0
- package/src/components/provider/ProviderOverview.vue +64 -0
- package/src/components/provider/ServiceHosterTable.vue +47 -0
- package/src/components/provider/VirtualResourceProviderTable.vue +73 -0
- package/src/components/provider/dialogs/VmCreateDialog.vue +99 -0
- package/src/components/provider/dialogs/VmCreateDialogForm.vue +59 -0
- package/src/components/resources/ResourceConnectionIcon.vue +40 -0
- package/src/components/resources/ResourcesDeleteDialog.vue +102 -0
- package/src/components/resources/ResourcesTableClusters.vue +192 -0
- package/src/components/resources/ResourcesTableDevices.vue +338 -0
- package/src/components/resources/ResourcesTableTypes.vue +106 -0
- package/src/components/resources/capabilities/CapabilitiesButton.vue +164 -0
- package/src/components/resources/capabilities/CapabilityIcon.vue +44 -0
- package/src/components/resources/capabilities/CapabilityParamsDialog.vue +119 -0
- package/src/components/resources/capabilities/CapabilityParamsDialogInputField.vue +51 -0
- package/src/components/resources/deviceinfo/DeviceInfoCapabilitiesView.vue +239 -0
- package/src/components/resources/deviceinfo/DeviceInfoCredentialsView.vue +205 -0
- package/src/components/resources/deviceinfo/DeviceInfoHardwareView.vue +162 -0
- package/src/components/resources/deviceinfo/DeviceInfoNameplateView.vue +201 -0
- package/src/components/resources/deviceinfo/DeviceInfoSubmodelsView.vue +173 -0
- package/src/components/resources/deviceinfo/DeviceInfoView.vue +199 -0
- package/src/components/resources/deviceinfo/common/DeviceInfoCommonBasicsSection.vue +101 -0
- package/src/components/resources/deviceinfo/common/DeviceInfoCommonRemoteAccessSection.vue +224 -0
- package/src/components/resources/deviceinfo/common/DeviceInfoCommonView.vue +43 -0
- package/src/components/resources/deviceinfo/firmware/DeviceInfoFirmwareView.vue +113 -0
- package/src/components/resources/deviceinfo/firmware/FirmwareAvailableVersionsSection.vue +193 -0
- package/src/components/resources/deviceinfo/firmware/FirmwareCredentialsSection.vue +250 -0
- package/src/components/resources/deviceinfo/firmware/FirmwareUpdateJobsSection.vue +149 -0
- package/src/components/resources/deviceinfo/firmware/FirmwareUpdateStatusSection.vue +117 -0
- package/src/components/resources/deviceinfo/firmware/sectionState.ts +12 -0
- package/src/components/resources/devicetypeinfo/DeviceTypeInfoCommonView.vue +58 -0
- package/src/components/resources/devicetypeinfo/DeviceTypeInfoFirmwareView.vue +270 -0
- package/src/components/resources/devicetypeinfo/DeviceTypeInfoView.vue +110 -0
- package/src/components/resources/dialogs/DeviceCreateDeviceDetailsForm.vue +109 -0
- package/src/components/resources/dialogs/DeviceCreateDialog.vue +224 -0
- package/src/components/resources/dialogs/DeviceDialogCreateTypes.ts +11 -0
- package/src/components/resources/remoteaccess/RemoteAccessDialog.vue +82 -0
- package/src/components/resources/remoteaccess/RemoteAccessForm.vue +149 -0
- package/src/components/resources/remoteaccess/RemoteAccessHandler.ts +73 -0
- package/src/components/resources/remoteaccess/RemoteAccessTypes.ts +11 -0
- package/src/components/service_offerings/ServiceCategoriesTable.vue +154 -0
- package/src/components/service_offerings/ServiceCategoryCreateOrEditDialog.vue +117 -0
- package/src/components/service_offerings/ServiceOfferingCardGrid.vue +173 -0
- package/src/components/service_offerings/ServiceOfferingCardList.vue +117 -0
- package/src/components/service_offerings/ServiceOfferingDetailsOverview.vue +89 -0
- package/src/components/service_offerings/ServiceOfferingDetailsRequirements.vue +89 -0
- package/src/components/service_offerings/ServiceOfferingTable.vue +291 -0
- package/src/components/service_offerings/ServiceOfferingToolbar.vue +133 -0
- package/src/components/service_offerings/ServiceOptionValue.vue +213 -0
- package/src/components/service_offerings/dialogs/ServiceOfferingCreateDialog.vue +70 -0
- package/src/components/service_offerings/wizard_service_offering/ServiceOfferingWizardGitStep1Common.vue +214 -0
- package/src/components/service_offerings/wizard_service_offering/ServiceOfferingWizardManualStep1Common.vue +196 -0
- package/src/components/service_offerings/wizard_service_offering_version/Docker/DockerContainerImageName.vue +112 -0
- package/src/components/service_offerings/wizard_service_offering_version/Docker/DockerContainerLabels.vue +158 -0
- package/src/components/service_offerings/wizard_service_offering_version/Docker/DockerContainerPortMappings.vue +177 -0
- package/src/components/service_offerings/wizard_service_offering_version/Docker/DockerContainerRestartPolicy.vue +63 -0
- package/src/components/service_offerings/wizard_service_offering_version/Docker/DockerContainerVolumes.vue +157 -0
- package/src/components/service_offerings/wizard_service_offering_version/Docker/DockerEnvironmentVariables.vue +163 -0
- package/src/components/service_offerings/wizard_service_offering_version/ServiceOfferingVersionWizardStep1Common.vue +154 -0
- package/src/components/service_offerings/wizard_service_offering_version/ServiceOfferingVersionWizardStep2DeploymentDefinitionCodesys.vue +139 -0
- package/src/components/service_offerings/wizard_service_offering_version/ServiceOfferingVersionWizardStep2DeploymentDefinitionDockerCompose.vue +424 -0
- package/src/components/service_offerings/wizard_service_offering_version/ServiceOfferingVersionWizardStep2DeploymentDefinitionDockerContainer.vue +293 -0
- package/src/components/service_offerings/wizard_service_offering_version/ServiceOfferingVersionWizardStep2DeploymentDefinitionKubernetes.vue +383 -0
- package/src/components/service_offerings/wizard_service_offering_version/ServiceOfferingVersionWizardStep3ServiceOptions.vue +193 -0
- package/src/components/service_offerings/wizard_service_offering_version/ServiceOfferingVersionWizardStep4Requirements.vue +238 -0
- package/src/components/service_offerings/wizard_service_offering_version/ServiceRepositorySelect.vue +90 -0
- package/src/components/service_offerings/wizard_service_offering_version/serviceOptions/serviceOptionsDefinitionTable.vue +210 -0
- package/src/components/service_vendors/ServiceRepositoryCreateDialog.vue +165 -0
- package/src/components/service_vendors/ServiceVendorCreateOrEditDialog.vue +171 -0
- package/src/components/service_vendors/ServiceVendorDevelopersTable.vue +201 -0
- package/src/components/service_vendors/ServiceVendorTable.vue +158 -0
- package/src/components/services/ServiceInstanceDeleteDialog.vue +29 -0
- package/src/components/services/ServiceInstancesOverview.vue +63 -0
- package/src/components/services/ServiceInstancesTable.vue +379 -0
- package/src/components/services/dialog/ServiceInstanceDetailsDialog.vue +369 -0
- package/src/components/services/serviceInstanceMixin.js +29 -0
- package/src/components/tables/RegularTables.vue +186 -0
- package/src/components/updates/FirmwareUpdateStatusIcon.vue +54 -0
- package/src/components/updates/FirmwareUpdateVersion.vue +65 -0
- package/src/components/user/UserCredentials.vue +278 -0
- package/src/components/user/UserProfileDetails.vue +89 -0
- package/src/customization/customizeApp.ts +6 -0
- package/src/customization/customizeMessages.ts +6 -0
- package/src/customization/customizeNavigation.ts +6 -0
- package/src/customization/customizeRoutes.ts +6 -0
- package/src/customization/deepMerge.ts +28 -0
- package/src/customization/theme.ts +15 -0
- package/src/design/overrides.sass +62 -0
- package/src/design/serviceOfferingCard.scss +38 -0
- package/src/design/variables.scss +34 -0
- package/src/design/vuetify-material/_appbar.sass +54 -0
- package/src/design/vuetify-material/_buttons.sass +67 -0
- package/src/design/vuetify-material/_card.sass +107 -0
- package/src/design/vuetify-material/_chip.sass +9 -0
- package/src/design/vuetify-material/_footer.sass +29 -0
- package/src/design/vuetify-material/_map.sass +3 -0
- package/src/design/vuetify-material/_modal.sass +25 -0
- package/src/design/vuetify-material/_notification.sass +12 -0
- package/src/design/vuetify-material/_pagination.sass +5 -0
- package/src/design/vuetify-material/_settings.sass +36 -0
- package/src/design/vuetify-material/_sidebar.sass +69 -0
- package/src/design/vuetify-material/_tab.sass +12 -0
- package/src/design/vuetify-material/_table.sass +22 -0
- package/src/design/vuetify-material/_view.sass +23 -0
- package/src/docker/entrypoint.sh +85 -0
- package/src/docker/nginx.conf +35 -0
- package/src/docker/slm.conf +15 -0
- package/src/localisation/de.json +91 -0
- package/src/localisation/en.json +294 -0
- package/src/main.ts +170 -0
- package/src/pages/AccessDeniedPage.vue +10 -0
- package/src/pages/AdminComponentsPage.vue +34 -0
- package/src/pages/AdminPage.vue +68 -0
- package/src/pages/AdminServiceCategoriesPage.vue +34 -0
- package/src/pages/AdminServiceVendorsPage.vue +53 -0
- package/src/pages/AdminUsersPage.vue +367 -0
- package/src/pages/ClustersPage.vue +64 -0
- package/src/pages/DashboardPage.vue +379 -0
- package/src/pages/DiscoveryDriversPage.vue +35 -0
- package/src/pages/DiscoveryInboxPage.vue +31 -0
- package/src/pages/DiscoveryJobsPage.vue +34 -0
- package/src/pages/IndexPage.vue +29 -0
- package/src/pages/JobsPage.vue +18 -0
- package/src/pages/NotificationsPage.vue +13 -0
- package/src/pages/ProviderPage.vue +18 -0
- package/src/pages/ResourceInstancesPage.vue +106 -0
- package/src/pages/ResourceTypesPage.vue +102 -0
- package/src/pages/ServiceInstancesPage.vue +33 -0
- package/src/pages/ServiceOfferingCreateOrEditPage.vue +197 -0
- package/src/pages/ServiceOfferingDetailsPage.vue +180 -0
- package/src/pages/ServiceOfferingOrderPage.vue +300 -0
- package/src/pages/ServiceOfferingVersionCreateOrEditPage.vue +431 -0
- package/src/pages/ServiceOfferingsPage.vue +149 -0
- package/src/pages/ServiceVendorPage.vue +431 -0
- package/src/pages/UserProfilePage.vue +64 -0
- package/src/pages/router.js +34 -0
- package/src/shims-vue.d.ts +5 -0
- package/src/stores/capabilitiesStore.ts +116 -0
- package/src/stores/catalogStore.ts +50 -0
- package/src/stores/discoveryStore.ts +88 -0
- package/src/stores/environmentStore.ts +61 -0
- package/src/stores/jobsStore.ts +73 -0
- package/src/stores/notificationStore.ts +155 -0
- package/src/stores/providerStore.ts +52 -0
- package/src/stores/resourceClustersStore.ts +98 -0
- package/src/stores/resourceDevicesStore.ts +294 -0
- package/src/stores/serviceInstancesStore.ts +93 -0
- package/src/stores/serviceOfferingsStore.ts +208 -0
- package/src/stores/store.ts +66 -0
- package/src/stores/userStore.ts +126 -0
- package/src/utils/capabilityUtils.js +114 -0
- package/src/utils/dateUtils.js +21 -0
- package/src/utils/deviceUtils.js +74 -0
- package/src/utils/firmwareUtils.ts +35 -0
- package/src/utils/i18n.ts +26 -0
- package/src/utils/imageUtil.js +37 -0
- package/src/utils/notificationTextGenerator.ts +82 -0
- package/src/utils/serviceOptionUtil.js +106 -0
- package/src/utils/tokenInterceptor.js +59 -0
- package/src/utils/updateToken.js +18 -0
- package/src/utils/yup.custom.js +11 -0
- package/vite/dist/apiClients.d.ts +5 -0
- package/vite/dist/apiClients.js +58 -0
- package/vite/dist/drift.d.ts +9 -0
- package/vite/dist/drift.js +57 -0
- package/vite/dist/index.d.ts +4 -0
- package/vite/dist/index.js +73 -0
- package/vite/dist/overrides.d.ts +3 -0
- package/vite/dist/overrides.js +71 -0
- package/vite/dist/paths.d.ts +18 -0
- package/vite/dist/paths.js +22 -0
- package/vite/package.json +1 -0
|
@@ -0,0 +1,402 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<v-container
|
|
3
|
+
id="alerts"
|
|
4
|
+
fluid
|
|
5
|
+
tag="section"
|
|
6
|
+
>
|
|
7
|
+
<base-v-component
|
|
8
|
+
heading="Alerts"
|
|
9
|
+
link="components/alerts"
|
|
10
|
+
/>
|
|
11
|
+
|
|
12
|
+
<v-row>
|
|
13
|
+
<v-col
|
|
14
|
+
cols="12"
|
|
15
|
+
md="6"
|
|
16
|
+
>
|
|
17
|
+
<v-card>
|
|
18
|
+
<v-card-text>
|
|
19
|
+
<base-subheading subheading="Notification Style" />
|
|
20
|
+
|
|
21
|
+
<base-material-alert
|
|
22
|
+
color="info"
|
|
23
|
+
theme="dark"
|
|
24
|
+
>
|
|
25
|
+
This is a plain notification.
|
|
26
|
+
</base-material-alert>
|
|
27
|
+
|
|
28
|
+
<base-material-alert
|
|
29
|
+
color="info"
|
|
30
|
+
theme="dark"
|
|
31
|
+
dismissible
|
|
32
|
+
>
|
|
33
|
+
This is a notification with close button.
|
|
34
|
+
</base-material-alert>
|
|
35
|
+
|
|
36
|
+
<base-material-alert
|
|
37
|
+
color="info"
|
|
38
|
+
theme="dark"
|
|
39
|
+
dismissible
|
|
40
|
+
icon="mdi-bell"
|
|
41
|
+
>
|
|
42
|
+
This is a notification with close button and icon and have many lines. You can see that the icon and the close button are always vertically aligned. This is a beautiful notification. So you don't have to worry about the style.
|
|
43
|
+
</base-material-alert>
|
|
44
|
+
|
|
45
|
+
<base-material-alert
|
|
46
|
+
color="primary"
|
|
47
|
+
theme="dark"
|
|
48
|
+
dismissible
|
|
49
|
+
icon="mdi-bell"
|
|
50
|
+
>
|
|
51
|
+
You can see that the icon and the close button are always vertically aligned. This is a beautiful notification. So you don't have to worry about the style.
|
|
52
|
+
</base-material-alert>
|
|
53
|
+
</v-card-text>
|
|
54
|
+
</v-card>
|
|
55
|
+
</v-col>
|
|
56
|
+
|
|
57
|
+
<v-col
|
|
58
|
+
cols="12"
|
|
59
|
+
md="6"
|
|
60
|
+
>
|
|
61
|
+
<v-card>
|
|
62
|
+
<v-card-text>
|
|
63
|
+
<base-subheading subheading="Notification states" />
|
|
64
|
+
|
|
65
|
+
<base-material-alert
|
|
66
|
+
v-for="color in colors"
|
|
67
|
+
:key="color"
|
|
68
|
+
:color="color"
|
|
69
|
+
theme="dark"
|
|
70
|
+
dismissible
|
|
71
|
+
>
|
|
72
|
+
<span
|
|
73
|
+
class="text-uppercase"
|
|
74
|
+
v-text="color"
|
|
75
|
+
/> — This is a regular alert made with the color of "{{ color }}"
|
|
76
|
+
</base-material-alert>
|
|
77
|
+
|
|
78
|
+
<base-material-alert
|
|
79
|
+
color="secondary"
|
|
80
|
+
theme="dark"
|
|
81
|
+
dismissible
|
|
82
|
+
>
|
|
83
|
+
<span>PRIMARY</span> — This is a regular alert made with the color "secondary"
|
|
84
|
+
</base-material-alert>
|
|
85
|
+
|
|
86
|
+
<base-material-alert
|
|
87
|
+
color="pink-darken-1"
|
|
88
|
+
theme="dark"
|
|
89
|
+
dismissible
|
|
90
|
+
>
|
|
91
|
+
<span>PINK DARKEN-1</span> — This is a regular alert made with the color "pink darken-1"
|
|
92
|
+
</base-material-alert>
|
|
93
|
+
</v-card-text>
|
|
94
|
+
</v-card>
|
|
95
|
+
</v-col>
|
|
96
|
+
|
|
97
|
+
<v-col cols="12">
|
|
98
|
+
<v-card>
|
|
99
|
+
<v-card-text class="text-center">
|
|
100
|
+
<base-subheading
|
|
101
|
+
class="text-center"
|
|
102
|
+
subheading="Snackbar Locations"
|
|
103
|
+
/>
|
|
104
|
+
|
|
105
|
+
<v-row
|
|
106
|
+
class="mt-n12"
|
|
107
|
+
justify="center"
|
|
108
|
+
>
|
|
109
|
+
<v-col
|
|
110
|
+
cols="10"
|
|
111
|
+
lg="8"
|
|
112
|
+
>
|
|
113
|
+
<v-row>
|
|
114
|
+
<v-col
|
|
115
|
+
v-for="dir in directions"
|
|
116
|
+
:key="dir"
|
|
117
|
+
cols="4"
|
|
118
|
+
>
|
|
119
|
+
<v-btn
|
|
120
|
+
color="secondary"
|
|
121
|
+
default
|
|
122
|
+
class="v-btn--block"
|
|
123
|
+
@click="randomColor(), direction = dir, snackbar = true"
|
|
124
|
+
>
|
|
125
|
+
{{ dir }}
|
|
126
|
+
</v-btn>
|
|
127
|
+
</v-col>
|
|
128
|
+
</v-row>
|
|
129
|
+
</v-col>
|
|
130
|
+
</v-row>
|
|
131
|
+
|
|
132
|
+
<base-subheading
|
|
133
|
+
class="text-center"
|
|
134
|
+
subheading="Dialogs"
|
|
135
|
+
/>
|
|
136
|
+
|
|
137
|
+
<v-row
|
|
138
|
+
class="mt-n12"
|
|
139
|
+
justify="center"
|
|
140
|
+
>
|
|
141
|
+
<v-col
|
|
142
|
+
cols="10"
|
|
143
|
+
lg="8"
|
|
144
|
+
>
|
|
145
|
+
<v-row>
|
|
146
|
+
<v-col cols="4">
|
|
147
|
+
<v-btn
|
|
148
|
+
color="secondary"
|
|
149
|
+
default
|
|
150
|
+
rounded
|
|
151
|
+
@click="dialog = true"
|
|
152
|
+
>
|
|
153
|
+
Classic Dialog
|
|
154
|
+
</v-btn>
|
|
155
|
+
</v-col>
|
|
156
|
+
<v-col cols="4">
|
|
157
|
+
<v-btn
|
|
158
|
+
color="info"
|
|
159
|
+
default
|
|
160
|
+
rounded
|
|
161
|
+
@click="dialog2 = true"
|
|
162
|
+
>
|
|
163
|
+
Notice Modal
|
|
164
|
+
</v-btn>
|
|
165
|
+
</v-col>
|
|
166
|
+
<v-col cols="4">
|
|
167
|
+
<v-btn
|
|
168
|
+
color="pink-darken-1"
|
|
169
|
+
theme="dark"
|
|
170
|
+
default
|
|
171
|
+
rounded
|
|
172
|
+
@click="dialog3 = true"
|
|
173
|
+
>
|
|
174
|
+
Small Alert Modal
|
|
175
|
+
</v-btn>
|
|
176
|
+
</v-col>
|
|
177
|
+
</v-row>
|
|
178
|
+
</v-col>
|
|
179
|
+
</v-row>
|
|
180
|
+
</v-card-text>
|
|
181
|
+
</v-card>
|
|
182
|
+
</v-col>
|
|
183
|
+
</v-row>
|
|
184
|
+
|
|
185
|
+
<base-material-snackbar
|
|
186
|
+
v-model="snackbar"
|
|
187
|
+
:type="color"
|
|
188
|
+
v-bind="{
|
|
189
|
+
[parsedDirection[0]]: true,
|
|
190
|
+
[parsedDirection[1]]: true
|
|
191
|
+
}"
|
|
192
|
+
>
|
|
193
|
+
Welcome to <span class="font-weight-bold"> MATERIAL DASHBOARD </span> — a beautiful admin panel for every web developer.
|
|
194
|
+
</base-material-snackbar>
|
|
195
|
+
|
|
196
|
+
<v-dialog
|
|
197
|
+
v-model="dialog"
|
|
198
|
+
max-width="500"
|
|
199
|
+
>
|
|
200
|
+
<v-card class="text-center">
|
|
201
|
+
<v-card-title>
|
|
202
|
+
Dialog Title
|
|
203
|
+
|
|
204
|
+
<v-spacer />
|
|
205
|
+
|
|
206
|
+
<v-icon
|
|
207
|
+
aria-label="Close"
|
|
208
|
+
@click="dialog = false"
|
|
209
|
+
>
|
|
210
|
+
mdi-close
|
|
211
|
+
</v-icon>
|
|
212
|
+
</v-card-title>
|
|
213
|
+
|
|
214
|
+
<v-card-text>
|
|
215
|
+
Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts. Separated they live in Bookmarksgrove right at the coast of the Semantics, a large language ocean. A small river named Duden flows by their place and supplies it with the necessary regelialia. It is a paradisematic country, in which roasted parts of sentences fly into your mouth. Even the all-powerful Pointing has no control about the blind texts it is an almost unorthographic life One day however a small line of blind text by the name of Lorem Ipsum decided to leave for the far World of Grammar.
|
|
216
|
+
</v-card-text>
|
|
217
|
+
|
|
218
|
+
<v-card-actions>
|
|
219
|
+
<v-spacer />
|
|
220
|
+
|
|
221
|
+
<v-btn
|
|
222
|
+
color="error"
|
|
223
|
+
variant="text"
|
|
224
|
+
@click="dialog = false"
|
|
225
|
+
>
|
|
226
|
+
Close
|
|
227
|
+
</v-btn>
|
|
228
|
+
</v-card-actions>
|
|
229
|
+
</v-card>
|
|
230
|
+
</v-dialog>
|
|
231
|
+
|
|
232
|
+
<v-dialog
|
|
233
|
+
v-model="dialog2"
|
|
234
|
+
max-width="500"
|
|
235
|
+
>
|
|
236
|
+
<v-card>
|
|
237
|
+
<v-card-title>
|
|
238
|
+
How do you become an affiliate?
|
|
239
|
+
|
|
240
|
+
<v-spacer />
|
|
241
|
+
|
|
242
|
+
<v-icon
|
|
243
|
+
aria-label="Close"
|
|
244
|
+
@click="dialog2 = false"
|
|
245
|
+
>
|
|
246
|
+
mdi-close
|
|
247
|
+
</v-icon>
|
|
248
|
+
</v-card-title>
|
|
249
|
+
|
|
250
|
+
<v-card-text class="text-body-1 text-center">
|
|
251
|
+
<v-row>
|
|
252
|
+
<v-col
|
|
253
|
+
cols="12"
|
|
254
|
+
md="8"
|
|
255
|
+
>
|
|
256
|
+
<div>
|
|
257
|
+
<div>
|
|
258
|
+
<strong>1. Register</strong>
|
|
259
|
+
</div>
|
|
260
|
+
|
|
261
|
+
<div class="text-grey">
|
|
262
|
+
Your notfication
|
|
263
|
+
</div>
|
|
264
|
+
</div>
|
|
265
|
+
</v-col>
|
|
266
|
+
|
|
267
|
+
<v-col
|
|
268
|
+
class="hidden-sm-and-down"
|
|
269
|
+
md="4"
|
|
270
|
+
>
|
|
271
|
+
<v-sheet>
|
|
272
|
+
<v-img
|
|
273
|
+
src=""
|
|
274
|
+
height="100"
|
|
275
|
+
width="200"
|
|
276
|
+
/>
|
|
277
|
+
</v-sheet>
|
|
278
|
+
</v-col>
|
|
279
|
+
|
|
280
|
+
<v-col
|
|
281
|
+
cols="12"
|
|
282
|
+
md="8"
|
|
283
|
+
>
|
|
284
|
+
<div>
|
|
285
|
+
<div>
|
|
286
|
+
<strong>2. Apply</strong>
|
|
287
|
+
</div>
|
|
288
|
+
|
|
289
|
+
<div class="text-grey">
|
|
290
|
+
Text
|
|
291
|
+
</div>
|
|
292
|
+
</div>
|
|
293
|
+
</v-col>
|
|
294
|
+
|
|
295
|
+
<v-col
|
|
296
|
+
class="hidden-sm-and-down"
|
|
297
|
+
md="4"
|
|
298
|
+
>
|
|
299
|
+
<v-sheet>
|
|
300
|
+
<v-img
|
|
301
|
+
src=""
|
|
302
|
+
height="100"
|
|
303
|
+
width="200"
|
|
304
|
+
/>
|
|
305
|
+
</v-sheet>
|
|
306
|
+
</v-col>
|
|
307
|
+
</v-row>
|
|
308
|
+
|
|
309
|
+
<v-btn
|
|
310
|
+
class="mt-6"
|
|
311
|
+
color="info"
|
|
312
|
+
variant="flat"
|
|
313
|
+
default
|
|
314
|
+
rounded
|
|
315
|
+
@click="dialog2 = false"
|
|
316
|
+
>
|
|
317
|
+
Sounds good
|
|
318
|
+
</v-btn>
|
|
319
|
+
</v-card-text>
|
|
320
|
+
</v-card>
|
|
321
|
+
</v-dialog>
|
|
322
|
+
|
|
323
|
+
<v-dialog
|
|
324
|
+
v-model="dialog3"
|
|
325
|
+
max-width="300"
|
|
326
|
+
>
|
|
327
|
+
<v-card>
|
|
328
|
+
<v-card-title>
|
|
329
|
+
Are you sure?
|
|
330
|
+
|
|
331
|
+
<v-spacer />
|
|
332
|
+
|
|
333
|
+
<v-icon
|
|
334
|
+
aria-label="Close"
|
|
335
|
+
@click="dialog3 = false"
|
|
336
|
+
>
|
|
337
|
+
mdi-close
|
|
338
|
+
</v-icon>
|
|
339
|
+
</v-card-title>
|
|
340
|
+
|
|
341
|
+
<v-card-text class="pb-6 pt-12 text-center">
|
|
342
|
+
<v-btn
|
|
343
|
+
class="mr-3"
|
|
344
|
+
variant="text"
|
|
345
|
+
@click="dialog3 = false"
|
|
346
|
+
>
|
|
347
|
+
Nevermind
|
|
348
|
+
</v-btn>
|
|
349
|
+
|
|
350
|
+
<v-btn
|
|
351
|
+
color="success"
|
|
352
|
+
variant="text"
|
|
353
|
+
@click="dialog3 = false"
|
|
354
|
+
>
|
|
355
|
+
Yes
|
|
356
|
+
</v-btn>
|
|
357
|
+
</v-card-text>
|
|
358
|
+
</v-card>
|
|
359
|
+
</v-dialog>
|
|
360
|
+
</v-container>
|
|
361
|
+
</template>
|
|
362
|
+
|
|
363
|
+
<script>
|
|
364
|
+
export default {
|
|
365
|
+
name: 'DashboardNotifications',
|
|
366
|
+
|
|
367
|
+
data: () => ({
|
|
368
|
+
color: 'info',
|
|
369
|
+
colors: [
|
|
370
|
+
'info',
|
|
371
|
+
'success',
|
|
372
|
+
'warning',
|
|
373
|
+
'error',
|
|
374
|
+
],
|
|
375
|
+
dialog: false,
|
|
376
|
+
dialog2: false,
|
|
377
|
+
dialog3: false,
|
|
378
|
+
direction: 'top center',
|
|
379
|
+
directions: [
|
|
380
|
+
'top left',
|
|
381
|
+
'top center',
|
|
382
|
+
'top right',
|
|
383
|
+
'bottom left',
|
|
384
|
+
'bottom center',
|
|
385
|
+
'bottom right',
|
|
386
|
+
],
|
|
387
|
+
snackbar: false,
|
|
388
|
+
}),
|
|
389
|
+
|
|
390
|
+
computed: {
|
|
391
|
+
parsedDirection () {
|
|
392
|
+
return this.direction.split(' ')
|
|
393
|
+
},
|
|
394
|
+
},
|
|
395
|
+
|
|
396
|
+
methods: {
|
|
397
|
+
randomColor () {
|
|
398
|
+
this.color = this.colors[Math.floor(Math.random() * this.colors.length)]
|
|
399
|
+
},
|
|
400
|
+
},
|
|
401
|
+
}
|
|
402
|
+
</script>
|