fluency-v8-components 1.4.3 → 1.4.5
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/dist/fluency-v8-components.es.js +144 -141
- package/dist/fluency-v8-components.umd.js +88 -88
- package/dist/{index-4Y4E9JbN.mjs → index-DVmLdvgq.mjs} +8404 -8347
- package/dist/index.css +1 -1
- package/dist/{index.es-CGlekcuf.mjs → index.es-BL37nGHt.mjs} +1 -1
- package/package.json +1 -1
- package/src/assets/main.css +359 -194
- package/src/components/buttons/ActionButtons.vue +10 -10
- package/src/components/buttons/DropdownButton.vue +14 -14
- package/src/components/buttons/IconButton.vue +3 -3
- package/src/components/buttons/ImageButton.vue +1 -1
- package/src/components/buttons/MenuButton.vue +12 -15
- package/src/components/buttons/TextButton.vue +5 -3
- package/src/components/charts/WorkflowChart.vue +1 -1
- package/src/components/common/AutoCompleteSearchBar.vue +5 -5
- package/src/components/common/Breadcrumb.vue +3 -3
- package/src/components/common/ButtonToggle.vue +2 -2
- package/src/components/common/Card.vue +14 -14
- package/src/components/common/Carousel.vue +5 -5
- package/src/components/common/EditorHeading.vue +1 -1
- package/src/components/common/Error.vue +19 -0
- package/src/components/common/EventList.vue +2 -2
- package/src/components/common/Facet.vue +4 -4
- package/src/components/common/Feed.vue +8 -8
- package/src/components/common/Loading.vue +2 -2
- package/src/components/common/LoadingDots.vue +3 -3
- package/src/components/common/Pagination.vue +6 -7
- package/src/components/common/PowerToggle.vue +11 -33
- package/src/components/common/ProgressBar.vue +2 -2
- package/src/components/common/RadioButtons.vue +3 -3
- package/src/components/common/Slideout.vue +7 -8
- package/src/components/common/Sort.vue +2 -5
- package/src/components/common/Table.vue +2 -8
- package/src/components/common/Tabs.vue +12 -11
- package/src/components/common/VerticalTabs.vue +7 -4
- package/src/components/common/facet/Leaf.vue +4 -4
- package/src/components/dialogs/CopyDialog.vue +2 -2
- package/src/components/dialogs/InfoDialog.vue +39 -0
- package/src/components/dialogs/PopupEditor.vue +9 -4
- package/src/components/dialogs/wizard/Stepper.vue +2 -2
- package/src/components/form/CheckBox.vue +2 -2
- package/src/components/form/Editor.vue +1 -1
- package/src/components/form/FormCol.vue +2 -2
- package/src/components/form/FormRow.vue +2 -2
- package/src/components/form/GreyForm.vue +1 -1
- package/src/components/form/GreyInput.vue +3 -3
- package/src/components/form/GreyInputAutocomplete.vue +16 -16
- package/src/components/form/GreyInputCopy.vue +6 -6
- package/src/components/form/GreyInputGrow.vue +2 -2
- package/src/components/form/GreyInputToken.vue +5 -5
- package/src/components/form/GreyPassword.vue +3 -3
- package/src/components/form/GreySelect.vue +18 -15
- package/src/components/form/GreySelectInput.vue +12 -14
- package/src/components/form/GreySelectInputMultiple.vue +11 -14
- package/src/components/form/GreyTel.vue +3 -3
- package/src/components/form/HamburgerItem.vue +1 -1
- package/src/components/form/KeyValueEntry.vue +1 -1
- package/src/components/form/RadioInput.vue +2 -2
- package/src/components/form/UploadFile.vue +1 -1
- package/src/components/icons/PlugOffIcon.vue +13 -0
- package/src/components/icons/PlugOnIcon.vue +13 -0
- package/src/components/index.js +11 -7
- package/src/components/menu/DialogMenu.vue +4 -4
- package/src/components/menu/GrandChild.vue +3 -5
- package/src/components/menu/GridMenu.vue +5 -5
- package/src/components/menu/MenuAvatar.vue +4 -4
- package/src/components/menu/MenuDesktop.vue +4 -6
- package/src/components/notifications/Notify.vue +19 -15
- package/src/components/notifications/NotifyList.vue +18 -14
- package/src/components/status/ScoreLevel.vue +1 -2
- package/src/components/status/TicketStatus.vue +11 -20
- package/src/components/tables/ArgumentTable.vue +1 -1
- package/src/constants/colors.js +1 -1
- package/src/fpl/Configs/Counter.vue +1 -0
- package/src/fpl/Configs/Image.vue +1 -1
- package/src/fpl/Configs/Table.vue +1 -1
- package/src/fpl/Panel.vue +8 -8
- package/src/fpl/Panels/Counter.vue +1 -0
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
v-if="props.add"
|
|
5
5
|
type="button"
|
|
6
6
|
:class="[
|
|
7
|
-
'action-btn std-blue rounded-l-md',
|
|
7
|
+
'action-btn std-btn-blue rounded-l-md',
|
|
8
8
|
{
|
|
9
9
|
'rounded-r-md':
|
|
10
10
|
!props.config &&
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
v-if="props.view"
|
|
30
30
|
type="button"
|
|
31
31
|
:class="[
|
|
32
|
-
'action-btn std-blue',
|
|
32
|
+
'action-btn std-btn-blue',
|
|
33
33
|
{
|
|
34
34
|
'rounded-l-md': !props.add,
|
|
35
35
|
},
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
v-if="props.edit"
|
|
56
56
|
type="button"
|
|
57
57
|
:class="[
|
|
58
|
-
'action-btn std-blue',
|
|
58
|
+
'action-btn std-btn-blue',
|
|
59
59
|
{
|
|
60
60
|
'rounded-l-md': !props.add && !props.view,
|
|
61
61
|
},
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
v-if="props.config"
|
|
81
81
|
type="button"
|
|
82
82
|
:class="[
|
|
83
|
-
'action-btn std-blue',
|
|
83
|
+
'action-btn std-btn-blue',
|
|
84
84
|
{
|
|
85
85
|
'rounded-l-md': !props.add && !props.view && !props.edit,
|
|
86
86
|
},
|
|
@@ -104,7 +104,7 @@
|
|
|
104
104
|
v-if="props.schedule"
|
|
105
105
|
type="button"
|
|
106
106
|
:class="[
|
|
107
|
-
'action-btn std-blue',
|
|
107
|
+
'action-btn std-btn-blue',
|
|
108
108
|
{
|
|
109
109
|
'rounded-l-md':
|
|
110
110
|
!props.add && !props.view && !props.edit && !props.config,
|
|
@@ -128,7 +128,7 @@
|
|
|
128
128
|
v-if="props.play"
|
|
129
129
|
type="button"
|
|
130
130
|
:class="[
|
|
131
|
-
'action-btn std-green',
|
|
131
|
+
'action-btn std-btn-green',
|
|
132
132
|
{
|
|
133
133
|
'rounded-l-md':
|
|
134
134
|
!props.add &&
|
|
@@ -152,7 +152,7 @@
|
|
|
152
152
|
v-if="props.stop"
|
|
153
153
|
type="button"
|
|
154
154
|
:class="[
|
|
155
|
-
'action-btn std-red',
|
|
155
|
+
'action-btn std-btn-red',
|
|
156
156
|
{
|
|
157
157
|
'rounded-l-md':
|
|
158
158
|
!props.add &&
|
|
@@ -176,7 +176,7 @@
|
|
|
176
176
|
v-if="props.refresh"
|
|
177
177
|
type="button"
|
|
178
178
|
:class="[
|
|
179
|
-
'action-btn std-blue',
|
|
179
|
+
'action-btn std-btn-blue',
|
|
180
180
|
{
|
|
181
181
|
'rounded-l-md':
|
|
182
182
|
!props.add &&
|
|
@@ -201,7 +201,7 @@
|
|
|
201
201
|
v-if="props.download"
|
|
202
202
|
type="button"
|
|
203
203
|
:class="[
|
|
204
|
-
'action-btn std-blue',
|
|
204
|
+
'action-btn std-btn-blue',
|
|
205
205
|
{
|
|
206
206
|
'rounded-l-md':
|
|
207
207
|
!props.add &&
|
|
@@ -227,7 +227,7 @@
|
|
|
227
227
|
v-if="props.delete"
|
|
228
228
|
type="button"
|
|
229
229
|
:class="[
|
|
230
|
-
'action-btn std-red rounded-r-md',
|
|
230
|
+
'action-btn std-btn-red rounded-r-md',
|
|
231
231
|
{
|
|
232
232
|
'rounded-l-md':
|
|
233
233
|
!props.add &&
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
<div class="std-btn py-0">
|
|
4
4
|
<div
|
|
5
5
|
:class="[
|
|
6
|
-
'
|
|
7
|
-
{ 'std-red': color === 'red' },
|
|
8
|
-
{ 'std-green': color === 'green' },
|
|
9
|
-
{ 'std-blue': color === 'blue' },
|
|
6
|
+
'rounded-l-lg px-5 py-3 cursor-pointer',
|
|
7
|
+
{ 'std-btn-red': color === 'red' },
|
|
8
|
+
{ 'std-btn-green': color === 'green' },
|
|
9
|
+
{ 'std-btn-blue': color === 'blue' },
|
|
10
10
|
]"
|
|
11
11
|
@click="loading ? null : emits('mainClick')"
|
|
12
12
|
>
|
|
@@ -18,10 +18,10 @@
|
|
|
18
18
|
</div>
|
|
19
19
|
<MenuButton
|
|
20
20
|
:class="[
|
|
21
|
-
'
|
|
22
|
-
{ 'std-red': color === 'red' },
|
|
23
|
-
{ 'std-green': color === 'green' },
|
|
24
|
-
{ 'std-blue': color === 'blue' },
|
|
21
|
+
'rounded-r-lg px-1 py-3 border-l-2 cursor-pointer disabled:cursor-not-allowed disabled:opacity-50',
|
|
22
|
+
{ 'std-btn-red': color === 'red' },
|
|
23
|
+
{ 'std-btn-green': color === 'green' },
|
|
24
|
+
{ 'std-btn-blue': color === 'blue' },
|
|
25
25
|
]"
|
|
26
26
|
:disabled="secondaryButtons.length === 0 || loading"
|
|
27
27
|
@click="dropdown = !dropdown"
|
|
@@ -41,9 +41,9 @@
|
|
|
41
41
|
<MenuItems
|
|
42
42
|
:class="[
|
|
43
43
|
'absolute right-0 z-50 mt-0.5 w-32 origin-top-right rounded-md py-2 shadow-lg text-white max-h-96 overflow-y-auto break-all',
|
|
44
|
-
{ '
|
|
45
|
-
{ '
|
|
46
|
-
{ '
|
|
44
|
+
{ 'std-red': color === 'red' },
|
|
45
|
+
{ 'std-green': color === 'green' },
|
|
46
|
+
{ 'std-blue': color === 'blue' },
|
|
47
47
|
]"
|
|
48
48
|
>
|
|
49
49
|
<MenuItem v-for="button in sortedButtons" v-slot="{ active }">
|
|
@@ -51,9 +51,9 @@
|
|
|
51
51
|
:class="[
|
|
52
52
|
active ? 'cursor-pointer' : '',
|
|
53
53
|
'block px-3 py-1 text-sm leading-6',
|
|
54
|
-
{ 'std-red': color === 'red' },
|
|
55
|
-
{ 'std-green': color === 'green' },
|
|
56
|
-
{ 'std-blue': color === 'blue' },
|
|
54
|
+
{ 'std-btn-red': color === 'red' },
|
|
55
|
+
{ 'std-btn-green': color === 'green' },
|
|
56
|
+
{ 'std-btn-blue': color === 'blue' },
|
|
57
57
|
]"
|
|
58
58
|
@click="loading ? null : emits('secondaryClick', button)"
|
|
59
59
|
>
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<button
|
|
3
3
|
:class="[
|
|
4
|
-
'circle-btn std-blue relative',
|
|
4
|
+
'circle-btn std-btn-blue relative',
|
|
5
5
|
{ 'p-1.5': dense },
|
|
6
|
-
{ 'std-red': color === 'red' },
|
|
7
|
-
{ 'std-green': color === 'green' },
|
|
6
|
+
{ 'std-btn-red': color === 'red' },
|
|
7
|
+
{ 'std-btn-green': color === 'green' },
|
|
8
8
|
]"
|
|
9
9
|
:disabled="disabled || loading"
|
|
10
10
|
@mouseover="showTooltip"
|
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
:class="[
|
|
5
5
|
'relative',
|
|
6
6
|
{ 'px-3 py-1': dense },
|
|
7
|
-
{ 'std-red': color === 'red' },
|
|
8
|
-
{ 'std-green': color === 'green' },
|
|
9
|
-
{ 'std-blue': color === 'blue' },
|
|
7
|
+
{ 'std-btn-red': color === 'red' },
|
|
8
|
+
{ 'std-btn-green': color === 'green' },
|
|
9
|
+
{ 'std-btn-blue': color === 'blue' },
|
|
10
10
|
{ 'std-btn': type === 'button' },
|
|
11
|
-
{ '
|
|
11
|
+
{ 'std-white-text': color === 'none' },
|
|
12
12
|
{ 'cursor-not-allowed': disabled },
|
|
13
13
|
]"
|
|
14
14
|
>
|
|
@@ -28,13 +28,10 @@
|
|
|
28
28
|
<MenuItems
|
|
29
29
|
:class="[
|
|
30
30
|
'absolute right-0 top-full z-50 mt-0.5 rounded-lg py-2 shadow-lg max-h-96 overflow-y-auto break-all',
|
|
31
|
-
{ '
|
|
32
|
-
{ '
|
|
33
|
-
{ '
|
|
34
|
-
{
|
|
35
|
-
'bg-white dark:bg-black text-black dark:text-white':
|
|
36
|
-
color === 'none',
|
|
37
|
-
},
|
|
31
|
+
{ 'std-red': color === 'red' },
|
|
32
|
+
{ 'std-green': color === 'green' },
|
|
33
|
+
{ 'std-blue': color === 'blue' },
|
|
34
|
+
{ 'std-white': color === 'none' },
|
|
38
35
|
{ 'right-0': anchor === 'right' },
|
|
39
36
|
{ 'left-0': anchor === 'left' },
|
|
40
37
|
]"
|
|
@@ -45,11 +42,11 @@
|
|
|
45
42
|
:class="[
|
|
46
43
|
active ? 'cursor-pointer' : '',
|
|
47
44
|
'block px-3 py-1 text-sm leading-6 min-w-44',
|
|
48
|
-
{ 'std-red': color === 'red' },
|
|
49
|
-
{ 'std-green': color === 'green' },
|
|
50
|
-
{ 'std-blue': color === 'blue' },
|
|
45
|
+
{ 'std-btn-red': color === 'red' },
|
|
46
|
+
{ 'std-btn-green': color === 'green' },
|
|
47
|
+
{ 'std-btn-blue': color === 'blue' },
|
|
51
48
|
{
|
|
52
|
-
'std-white
|
|
49
|
+
'std-btn-white': active && color === 'none',
|
|
53
50
|
},
|
|
54
51
|
]"
|
|
55
52
|
@click="secondaryClick(button)"
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<button
|
|
3
3
|
:class="[
|
|
4
|
-
'std-btn
|
|
4
|
+
'std-btn',
|
|
5
5
|
{ 'px-3 py-1': dense },
|
|
6
|
-
{ 'std-red': color === 'red' },
|
|
7
|
-
{ 'std-green': color === 'green' },
|
|
6
|
+
{ 'std-btn-red': color === 'red' },
|
|
7
|
+
{ 'std-btn-green': color === 'green' },
|
|
8
|
+
{ 'std-btn-blue': color === 'blue' },
|
|
9
|
+
{ 'cursor-not-allowed': disabled || loading },
|
|
8
10
|
]"
|
|
9
11
|
:disabled="disabled || loading"
|
|
10
12
|
>
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
<div class="row">
|
|
40
40
|
<GreyInput readonly :value="slideoutData.span_data.response_id" />
|
|
41
41
|
<LinkIcon
|
|
42
|
-
class="icon-lg cursor-pointer icon-
|
|
42
|
+
class="icon-lg cursor-pointer icon-blue hover:opacity-75 m-1"
|
|
43
43
|
@click="routeToResponse(slideoutData.span_data.response_id)"
|
|
44
44
|
/>
|
|
45
45
|
</div>
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
placeholder="Search"
|
|
9
9
|
@input="onChange"
|
|
10
10
|
@keyup.enter="emits('search', newVal)"
|
|
11
|
-
class="w-full
|
|
11
|
+
class="input-block w-full outline-1 py-2 px-2"
|
|
12
12
|
/>
|
|
13
13
|
<transition
|
|
14
14
|
enter-active-class="transition duration-100 ease-out"
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
>
|
|
21
21
|
<ComboboxOptions
|
|
22
22
|
v-if="dict.length"
|
|
23
|
-
class="
|
|
23
|
+
class="input-dropdown text-base shadow-lg sm:text-md"
|
|
24
24
|
>
|
|
25
25
|
<ComboboxOption
|
|
26
26
|
v-for="dict in localDict"
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
:value="`${curr} ${dict}`"
|
|
29
29
|
v-slot="{ active }"
|
|
30
30
|
>
|
|
31
|
-
<li :class="{ '
|
|
31
|
+
<li :class="{ 'std-blue text-white': active }">
|
|
32
32
|
{{ dict }}
|
|
33
33
|
</li>
|
|
34
34
|
</ComboboxOption>
|
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
</Combobox>
|
|
38
38
|
</div>
|
|
39
39
|
|
|
40
|
-
<TextButton class="ml-
|
|
41
|
-
<MagnifyingGlassIcon class="
|
|
40
|
+
<TextButton class="ml-2" text="Search" @click="emits('search', newVal)">
|
|
41
|
+
<MagnifyingGlassIcon class="icon-md mr-1" />
|
|
42
42
|
</TextButton>
|
|
43
43
|
|
|
44
44
|
<slot name="right" />
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<li>
|
|
5
5
|
<div>
|
|
6
6
|
<span
|
|
7
|
-
class="hover:
|
|
7
|
+
class="hover:opacity-50 cursor-pointer"
|
|
8
8
|
@click="emits('home')"
|
|
9
9
|
>
|
|
10
10
|
<HomeIcon class="icon-md flex-shrink-0" aria-hidden="true" />
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
<li v-for="(page, i) in pages" :key="page.name">
|
|
15
15
|
<div class="flex items-center">
|
|
16
16
|
<svg
|
|
17
|
-
class="icon-md flex-shrink-0
|
|
17
|
+
class="icon-md flex-shrink-0"
|
|
18
18
|
fill="currentColor"
|
|
19
19
|
viewBox="0 0 20 20"
|
|
20
20
|
aria-hidden="true"
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
</svg>
|
|
24
24
|
<span
|
|
25
25
|
:href="page.path"
|
|
26
|
-
class="ml-4 text-sm font-medium hover:
|
|
26
|
+
class="ml-4 text-sm font-medium hover:opacity-50 cursor-pointer"
|
|
27
27
|
@click="emits('navigate', page, i)"
|
|
28
28
|
>
|
|
29
29
|
{{ page.name }}
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
v-for="(option, i) in options"
|
|
5
5
|
type="button"
|
|
6
6
|
:class="[
|
|
7
|
-
'button-toggle
|
|
8
|
-
{ '
|
|
7
|
+
'button-toggle std-white dark:std-dark',
|
|
8
|
+
{ 'std-disabled-text opacity-60': option.value !== inputValue },
|
|
9
9
|
{ 'rounded-l-lg': i === 0 },
|
|
10
10
|
{ 'rounded-r-lg': i === options.length - 1 },
|
|
11
11
|
]"
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<li
|
|
3
3
|
:class="[
|
|
4
|
-
'overflow-hidden rounded-xl border
|
|
4
|
+
'overflow-hidden rounded-xl border std-white-border',
|
|
5
5
|
{
|
|
6
|
-
'
|
|
6
|
+
'std-green-hover-light': color === 'green',
|
|
7
7
|
},
|
|
8
8
|
{
|
|
9
|
-
'
|
|
9
|
+
'std-red-hover-light': color === 'red',
|
|
10
10
|
},
|
|
11
11
|
{
|
|
12
|
-
'
|
|
12
|
+
'std-blue-hover-light': color === 'blue',
|
|
13
13
|
},
|
|
14
14
|
{
|
|
15
|
-
'bg
|
|
15
|
+
'white-bg dark:dark-bg': color === 'default',
|
|
16
16
|
},
|
|
17
17
|
{
|
|
18
18
|
'cursor-pointer': clickable,
|
|
19
19
|
},
|
|
20
20
|
{
|
|
21
|
-
'hover:
|
|
21
|
+
'hover:std-green-hover-light':
|
|
22
22
|
clickable && color === 'green',
|
|
23
23
|
},
|
|
24
24
|
{
|
|
25
|
-
'hover:
|
|
25
|
+
'hover:std-red-hover-light': clickable && color === 'red',
|
|
26
26
|
},
|
|
27
27
|
{
|
|
28
|
-
'hover:
|
|
28
|
+
'hover:std-blue-hover-light': clickable && color === 'blue',
|
|
29
29
|
},
|
|
30
30
|
{
|
|
31
31
|
'hover:white-bg-hover hover:dark:dark-bg-hover':
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
>
|
|
37
37
|
<div
|
|
38
38
|
v-if="title || description"
|
|
39
|
-
class="flex items-center gap-x-4 border-b
|
|
39
|
+
class="flex items-center gap-x-4 border-b std-white-border px-6 py-5"
|
|
40
40
|
>
|
|
41
41
|
<div class="font-medium leading-6 max-w-full">
|
|
42
42
|
<div class="row gap-x-3 items-center truncate">
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
class="relative ml-auto"
|
|
54
54
|
>
|
|
55
55
|
<MenuButton
|
|
56
|
-
class="-m-2.5 block p-2.5
|
|
56
|
+
class="-m-2.5 block p-2.5 hover:opacity-50"
|
|
57
57
|
@click="($event) => $event.stopPropagation()"
|
|
58
58
|
>
|
|
59
59
|
<span class="sr-only">Open options</span>
|
|
@@ -68,13 +68,13 @@
|
|
|
68
68
|
leave-to-class="transform opacity-0 scale-95"
|
|
69
69
|
>
|
|
70
70
|
<MenuItems
|
|
71
|
-
class="
|
|
71
|
+
class="input-dropdown std-white w-32! right-0 origin-top-right py-2 shadow-lg"
|
|
72
72
|
>
|
|
73
73
|
<MenuItem v-for="menuItem in menuItems" v-slot="{ active }">
|
|
74
74
|
<div
|
|
75
75
|
:class="[
|
|
76
|
-
|
|
77
|
-
'block px-3 py-1 text-sm leading-6',
|
|
76
|
+
{ 'std-white-hover': active },
|
|
77
|
+
'block px-3 py-1 text-sm leading-6 cursor-pointer',
|
|
78
78
|
]"
|
|
79
79
|
@click.stop="emits('menuClick', menuItem)"
|
|
80
80
|
>
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
</Menu>
|
|
87
87
|
</div>
|
|
88
88
|
<dl
|
|
89
|
-
class="-my-3 divide-y divide-gray-
|
|
89
|
+
class="-my-3 divide-y divide-gray-300 dark:divide-neutral-600 px-6 py-4 text-sm leading-6"
|
|
90
90
|
>
|
|
91
91
|
<slot name="content" />
|
|
92
92
|
</dl>
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<button
|
|
6
6
|
v-if="size > 1"
|
|
7
7
|
type="button"
|
|
8
|
-
class="
|
|
8
|
+
class="slider-button top-0 start-0"
|
|
9
9
|
@click="slideLeft"
|
|
10
10
|
>
|
|
11
11
|
<ChevronLeftIcon class="icon-lg" />
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
<button
|
|
14
14
|
v-if="size > 1"
|
|
15
15
|
type="button"
|
|
16
|
-
class="
|
|
16
|
+
class="slider-button top-0 end-0"
|
|
17
17
|
@click="slideRight"
|
|
18
18
|
>
|
|
19
19
|
<ChevronRightIcon class="icon-lg" />
|
|
@@ -26,10 +26,10 @@
|
|
|
26
26
|
v-for="(a, i) in sizeArray"
|
|
27
27
|
type="button"
|
|
28
28
|
:class="[
|
|
29
|
-
'
|
|
29
|
+
'icon-xs rounded-full',
|
|
30
30
|
current === i
|
|
31
|
-
? '
|
|
32
|
-
: '
|
|
31
|
+
? 'slider-active'
|
|
32
|
+
: 'slider-inactive',
|
|
33
33
|
]"
|
|
34
34
|
@click="emits('update', i)"
|
|
35
35
|
/>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div
|
|
3
|
-
class="
|
|
3
|
+
class="min-h-11 pl-3 py-1 sm:flex sm:items-center sm:justify-between content-center std-light dark:std-dark"
|
|
4
4
|
>
|
|
5
5
|
<slot name="title" />
|
|
6
6
|
<div class="mt-3 flex sm:mt-0">
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div
|
|
3
|
+
:class="['std-red-text', { 'row justify-center': center }]"
|
|
4
|
+
>
|
|
5
|
+
<span>{{ error }}</span>
|
|
6
|
+
</div>
|
|
7
|
+
</template>
|
|
8
|
+
<script setup>
|
|
9
|
+
const props = defineProps({
|
|
10
|
+
error: {
|
|
11
|
+
type: String,
|
|
12
|
+
required: true
|
|
13
|
+
},
|
|
14
|
+
center: {
|
|
15
|
+
type: Boolean,
|
|
16
|
+
default: false
|
|
17
|
+
},
|
|
18
|
+
});
|
|
19
|
+
</script>
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
>
|
|
6
6
|
<li
|
|
7
7
|
v-for="event in events"
|
|
8
|
-
class="relative flex justify-between hover:bg-
|
|
8
|
+
class="relative flex justify-between hover:white-bg-hover hover:dark:dark-bg-hover py-1"
|
|
9
9
|
@click="emits('copy', event)"
|
|
10
10
|
>
|
|
11
11
|
<p class="font-light leading-5 truncate">
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
</p>
|
|
14
14
|
<div class="flex items-center">
|
|
15
15
|
<ClipboardIcon
|
|
16
|
-
class="icon-md flex-none
|
|
16
|
+
class="icon-md flex-none"
|
|
17
17
|
aria-hidden="true"
|
|
18
18
|
/>
|
|
19
19
|
</div>
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
<span class="relative isolate inline-flex rounded-md shadow-xs">
|
|
30
30
|
<button
|
|
31
31
|
type="button"
|
|
32
|
-
class="action-btn std-red rounded-l-md"
|
|
32
|
+
class="action-btn std-btn-red rounded-l-md"
|
|
33
33
|
@click="emits('reset')"
|
|
34
34
|
@mouseover="mouseoverTooltip(true, 'Reset Facet')"
|
|
35
35
|
@mouseout="mouseoverTooltip(false)"
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
</button>
|
|
39
39
|
<button
|
|
40
40
|
type="button"
|
|
41
|
-
class="action-btn std-blue"
|
|
41
|
+
class="action-btn std-btn-blue"
|
|
42
42
|
@click="emits('edit')"
|
|
43
43
|
@mouseover="mouseoverTooltip(true, 'Edit Facet')"
|
|
44
44
|
@mouseout="mouseoverTooltip(false)"
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
</button>
|
|
48
48
|
<button
|
|
49
49
|
type="button"
|
|
50
|
-
class="action-btn std-blue"
|
|
50
|
+
class="action-btn std-btn-blue"
|
|
51
51
|
@click="emits('save')"
|
|
52
52
|
@mouseover="mouseoverTooltip(true, 'Save Facet')"
|
|
53
53
|
@mouseout="mouseoverTooltip(false)"
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
</button-->
|
|
66
66
|
<button
|
|
67
67
|
type="button"
|
|
68
|
-
class="action-btn std-blue rounded-r-md"
|
|
68
|
+
class="action-btn std-btn-blue rounded-r-md"
|
|
69
69
|
@click="emits('search')"
|
|
70
70
|
@mouseover="mouseoverTooltip(true, 'Search')"
|
|
71
71
|
@mouseout="mouseoverTooltip(false)"
|
|
@@ -7,10 +7,10 @@
|
|
|
7
7
|
'absolute left-0 top-0 flex w-6 justify-center',
|
|
8
8
|
]"
|
|
9
9
|
>
|
|
10
|
-
<div class="w-px
|
|
10
|
+
<div class="w-px slider-active" />
|
|
11
11
|
</div>
|
|
12
12
|
<div
|
|
13
|
-
class="relative flex icon-lg flex-none items-center justify-center
|
|
13
|
+
class="relative flex icon-lg flex-none items-center justify-center std-white"
|
|
14
14
|
>
|
|
15
15
|
<CheckCircleIcon
|
|
16
16
|
v-if="activity.action === 'resolve'"
|
|
@@ -24,20 +24,20 @@
|
|
|
24
24
|
/>
|
|
25
25
|
<div
|
|
26
26
|
v-else
|
|
27
|
-
class="h-
|
|
27
|
+
class="h-2 w-2 rounded-full std-white-reverse ring-1 ring-gray-300"
|
|
28
28
|
/>
|
|
29
29
|
</div>
|
|
30
30
|
<p
|
|
31
|
-
class="flex-auto py-0.5 text-xs leading-5
|
|
31
|
+
class="flex-auto py-0.5 text-xs leading-5"
|
|
32
32
|
>
|
|
33
|
-
<span class="font-
|
|
34
|
-
activity.source
|
|
35
|
-
|
|
33
|
+
<span class="font-bold">
|
|
34
|
+
{{ activity.source }}
|
|
35
|
+
</span>
|
|
36
36
|
{{ activity.action }} the alert.
|
|
37
37
|
</p>
|
|
38
38
|
<time
|
|
39
39
|
:datetime="activity.timestamp"
|
|
40
|
-
class="flex-none py-0.5 text-xs leading-5
|
|
40
|
+
class="flex-none py-0.5 text-xs leading-5 font-light"
|
|
41
41
|
>
|
|
42
42
|
{{ timeFromNow(activity.timestamp) }}
|
|
43
43
|
</time>
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="flex">
|
|
3
3
|
<div
|
|
4
|
-
class="animate
|
|
4
|
+
class="loading-animate"
|
|
5
5
|
></div>
|
|
6
6
|
<div
|
|
7
|
-
class="
|
|
7
|
+
class="loading-circle"
|
|
8
8
|
></div>
|
|
9
9
|
<div class="loading">{{ text }}</div>
|
|
10
10
|
</div>
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
<div class="row gap-x-1">
|
|
3
3
|
<span class="sr-only">Loading...</span>
|
|
4
4
|
<div
|
|
5
|
-
class="
|
|
5
|
+
class="loading-bounce [animation-delay:-0.3s]"
|
|
6
6
|
></div>
|
|
7
7
|
<div
|
|
8
|
-
class="
|
|
8
|
+
class="loading-bounce [animation-delay:-0.15s]"
|
|
9
9
|
></div>
|
|
10
|
-
<div class="
|
|
10
|
+
<div class="loading-bounce"></div>
|
|
11
11
|
</div>
|
|
12
12
|
</template>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<nav
|
|
3
|
-
class="
|
|
3
|
+
class="std-table-footer"
|
|
4
4
|
aria-label="Pagination"
|
|
5
5
|
>
|
|
6
6
|
<div class="hidden sm:block">
|
|
@@ -28,27 +28,26 @@
|
|
|
28
28
|
aria-label="Pagination"
|
|
29
29
|
>
|
|
30
30
|
<a
|
|
31
|
-
class="
|
|
31
|
+
class="std-table-footer-btn rounded-l-md std-btn-white cursor-pointer"
|
|
32
32
|
@click="emit('previous')"
|
|
33
33
|
>
|
|
34
34
|
<span class="sr-only">Previous</span>
|
|
35
35
|
<ChevronLeftIcon class="icon-md" aria-hidden="true" />
|
|
36
36
|
</a>
|
|
37
|
-
<!-- Current: "z-10 bg-indigo-600 text-white focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600", Default: "text-gray-900 ring-1 ring-inset ring-gray-300 hover:bg-gray-50 focus:outline-offset-0" -->
|
|
38
37
|
<a
|
|
39
38
|
v-for="(page, index) in pages"
|
|
40
39
|
:class="[
|
|
41
|
-
'
|
|
40
|
+
'std-table-footer-btn px-4 py-1 cursor-pointer',
|
|
42
41
|
startPos / pageSize + 1 === page
|
|
43
|
-
? 'std-blue text-white'
|
|
44
|
-
: 'std-white
|
|
42
|
+
? 'std-btn-blue text-white'
|
|
43
|
+
: 'std-btn-white',
|
|
45
44
|
]"
|
|
46
45
|
@click="page !== '...' ? emit('navtopage', page) : null"
|
|
47
46
|
>
|
|
48
47
|
{{ page }}
|
|
49
48
|
</a>
|
|
50
49
|
<a
|
|
51
|
-
class="
|
|
50
|
+
class="std-table-footer-btn rounded-r-md std-btn-white cursor-pointer"
|
|
52
51
|
@click="emit('next')"
|
|
53
52
|
>
|
|
54
53
|
<span class="sr-only">Previous</span>
|