Skip to content

Commit

Permalink
Merge pull request #614 from aziontech/dev
Browse files Browse the repository at this point in the history
DEPLOY 2024.01.24
  • Loading branch information
csfeijo authored Jan 24, 2024
2 parents 7cd685c + 8f1f808 commit 07f46a2
Show file tree
Hide file tree
Showing 41 changed files with 784 additions and 226 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "azion-platform-kit",
"version": "1.7.1",
"version": "1.8.0",
"private": true,
"type": "module",
"repository": {
Expand Down
Binary file removed src/assets/illustration-min.png
Binary file not shown.
178 changes: 178 additions & 0 deletions src/assets/svg/empty.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 2 additions & 3 deletions src/assets/svg/illustration-layers.vue
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<template>
<img
width="292"
height="164"
src="../illustration-min.png"
src="./empty.svg"
class="mb-5"
/>
</template>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Custom SelectButton
.p-selectbutton {
background: var(--surface-300) !important;
padding: 0.25rem !important;
padding: 0.3rem;
border-radius: $borderRadius !important;

.p-button {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Custom SelectButton
.p-selectbutton {
background: var(--surface-300) !important;
padding: 0.25rem !important;
padding-inline: 0.75rem !important;
border-radius: $borderRadius !important;

.p-button {
Expand All @@ -19,6 +19,7 @@
}

&.p-highlight {
padding-inline: 0.75rem !important;
background: var(--surface-0) !important;
border-color: none !important;
font-weight: 600 !important;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ const adapt = (httpResponse) => {
return {
value: edgeFunction.id,
label: edgeFunction.name,
args: edgeFunction.code
args: edgeFunction.json_args,
initiatorType: edgeFunction.initiator_type,
}
})

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ const adapt = (httpResponse) => {
return {
value: edgeFunction.id,
label: edgeFunction.name,
args: edgeFunction.code
args: edgeFunction.json_args,
initiatorType: edgeFunction.initiator_type,
}
})

Expand Down
37 changes: 18 additions & 19 deletions src/services/sidebar-menus-services/menus.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,33 +16,32 @@ export const menus = [
},
{
label: 'Build',
icon: 'pi pi-code',
items: [
{
label: 'Edge Application',
icon: 'pi pi-box',
icon: 'pi pi-th-large',
to: '/edge-applications'
},
{
label: 'Variables',
to: '/variables',
icon: 'pi pi-sliders-h'
icon: 'pi pi-box'
}
]
},
{
label: 'Secure',
icon: 'pi pi-lock',
items: [
{
label: 'Intelligent DNS',
to: '/intelligent-dns',
icon: 'pi pi-share-alt'
},
{
label: 'Edge Firewall',
to: '/edge-firewall',
icon: 'pi pi-lock'
icon: 'pi pi-shield'
},
{
label: 'Intelligent DNS',
to: '/intelligent-dns',
icon: 'pi pi-sitemap'
}
]
},
Expand All @@ -64,6 +63,11 @@ export const menus = [
to: '/data-streaming',
icon: 'pi pi-play'
},
{
label: 'Edge Pulse',
to: '/edge-pulse',
icon: 'pi pi-wifi'
},
{
label: 'Real-Time Metrics',
to: '/real-time-metrics',
Expand All @@ -72,13 +76,8 @@ export const menus = [
{
label: 'Real-Time Events',
to: '/real-time-events',
icon: 'pi pi-server',
icon: 'pi pi-chart-bar',
tag: 'Preview'
},
{
label: 'Edge Pulse',
to: '/edge-pulse',
icon: 'pi pi-chart-line'
}
]
},
Expand All @@ -88,7 +87,7 @@ export const menus = [
{
label: 'Real-Time Purge',
to: '/real-time-purge',
icon: 'pi pi-refresh'
icon: 'pi pi-sync'
}
]
},
Expand All @@ -103,17 +102,17 @@ export const menus = [
{
label: 'Edge Services',
to: '/edge-services',
icon: 'pi pi-bookmark'
icon: 'pi pi-server'
},
{
label: 'Digital Certificates',
to: '/digital-certificates',
icon: 'pi pi-verified'
icon: 'pi pi-check-circle'
},
{
label: 'Network Lists',
to: '/network-lists',
icon: 'pi pi-globe'
icon: 'pi pi-list'
},
{
label: 'WAF Rules',
Expand Down
8 changes: 5 additions & 3 deletions src/templates/create-modal-block/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -156,14 +156,16 @@
<template>
<div class="overflow-auto w-full h-full flex flex-col sm:flex-row p-0 sm:pl-5 sm:pr-8 gap-4 pb-4">
<div class="sm:min-w-[240px] mt-4">
<ul class="flex flex-col gap-1">
<ul class="flex flex-col gap-1 md:fixed md:w-60">
<li
v-for="(menuitem, index) in items"
:key="index"
>
<PrimeButton
:class="{ 'p-selectbutton': menuitem.value === selectedTab, 'p-disabled': isLoading }"
class="w-full p-button p-button-text p-button-primary p-button-sm whitespace-nowrap h-[38px] flex"
:class="{ 'surface-200': menuitem.value === selectedTab, 'p-disabled': isLoading }"
class="w-full whitespace-nowrap h-[38px] flex"
text
size="small"
:pt="{
label: { class: 'w-full text-left' }
}"
Expand Down
7 changes: 6 additions & 1 deletion src/templates/form-fields-inputs/fieldTextArea.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,16 @@
default: ''
},
rows: {
type: Number,
type: [Number, String],
default: 5
},
cols: {
type: Number,
default: 30
},
autoResize: {
type: Boolean,
default: false
}
})
Expand All @@ -57,6 +61,7 @@
v-model="inputValue"
:name="name"
type="text"
:autoResize="props.autoResize"
:rows="props.rows"
:cols="props.cols"
:placeholder="props.placeholder"
Expand Down
Loading

0 comments on commit 07f46a2

Please sign in to comment.