adminforth 4.9.0 → 4.10.0
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/spa/src/adminforth.ts +1 -0
- package/dist/spa/src/components/AcceptModal.vue +69 -76
- package/dist/spa/src/components/ResourceListTable.vue +1 -0
- package/dist/spa/src/stores/modal.ts +6 -2
- package/dist/spa/src/types/FrontendAPI.ts +5 -0
- package/dist/spa/src/utils/utils.ts +8 -12
- package/dist/spa/src/views/ShowView.vue +1 -0
- package/dist/types/FrontendAPI.d.ts +5 -0
- package/dist/types/FrontendAPI.d.ts.map +1 -1
- package/dist/types/FrontendAPI.js.map +1 -1
- package/package.json +1 -1
|
@@ -128,6 +128,7 @@ class FrontendAPI implements FrontendAPIInterface {
|
|
|
128
128
|
acceptText: params.yes || 'Yes',
|
|
129
129
|
cancelText: params.no || 'Cancel',
|
|
130
130
|
dangerous: params.dangerous ?? false,
|
|
131
|
+
icon: params.icon,
|
|
131
132
|
})
|
|
132
133
|
this.modalStore.onAcceptFunction = resolve
|
|
133
134
|
this.modalStore.onCancelFunction = reject
|
|
@@ -1,93 +1,86 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
<
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
<hr class="border-t border-lightDialogBreakLine dark:border-darkDialogBreakLine my-5">
|
|
2
|
+
<Modal
|
|
3
|
+
ref="modalRef"
|
|
4
|
+
class="w-full sm:w-[400px]"
|
|
5
|
+
:role="dangerous ? 'alertdialog' : 'dialog'"
|
|
6
|
+
:aria-labelledby="titleId"
|
|
7
|
+
:beforeCloseFunction="() => { modalStore.onAcceptFunction(false); modalStore.isOpened = false; }"
|
|
8
|
+
backgroundCustomClasses="z-[998]"
|
|
9
|
+
>
|
|
10
|
+
<div class="flex flex-col gap-3 px-5 py-[18px]">
|
|
11
|
+
<div class="flex items-start gap-3">
|
|
12
|
+
<span
|
|
13
|
+
v-if="dangerous"
|
|
14
|
+
class="flex w-9 h-9 shrink-0 items-center justify-center rounded-lg bg-lightDangerSoft text-lightDanger dark:bg-darkDangerSoft dark:text-darkDanger"
|
|
15
|
+
>
|
|
16
|
+
<component :is="icon" class="w-5 h-5" aria-hidden="true" />
|
|
17
|
+
</span>
|
|
18
|
+
<div class="flex-1 min-w-0 flex flex-col gap-1" :class="dangerous ? 'pt-1.5' : ''">
|
|
19
|
+
<h3 :id="titleId" class="text-base font-semibold tracking-[-0.01em] text-lightDialogHeaderText dark:text-darkDialogHeaderText">
|
|
20
|
+
{{ title }}
|
|
21
|
+
</h3>
|
|
22
|
+
<p v-if="subtitle" class="text-sm leading-5 text-lightDialogBodyText dark:text-darkDialogBodyText">{{ subtitle }}</p>
|
|
23
|
+
</div>
|
|
24
|
+
<Button
|
|
25
|
+
v-if="!dangerous"
|
|
26
|
+
type="button"
|
|
27
|
+
variant="ghost"
|
|
28
|
+
size="sm"
|
|
29
|
+
iconOnly
|
|
30
|
+
class="-mt-0.5 -me-1.5 text-lightDialogCloseButton hover:text-lightDialogCloseButtonHover hover:bg-lightDialogCloseButtonHoverBackground dark:text-darkDialogCloseButton dark:hover:text-darkDialogCloseButtonHover dark:hover:bg-darkDialogCloseButtonHoverBackground"
|
|
31
|
+
:aria-label="t('Close Modal')"
|
|
32
|
+
@click="answer(false)"
|
|
33
|
+
>
|
|
34
|
+
<IconX aria-hidden="true" />
|
|
35
|
+
</Button>
|
|
36
|
+
</div>
|
|
38
37
|
|
|
39
|
-
|
|
40
|
-
<Button @click="()=>{modalStore.onAcceptFunction(false);modalStore.togleModal()}" type="button" variant="secondary" class="flex-1">
|
|
41
|
-
{{ modalStore?.modalContent?.cancelText }}
|
|
42
|
-
</Button>
|
|
43
|
-
|
|
44
|
-
<Button
|
|
45
|
-
@click="()=>{ modalStore.onAcceptFunction(true);modalStore.togleModal()}"
|
|
46
|
-
type="button"
|
|
47
|
-
class="flex-1"
|
|
48
|
-
:variant="modalStore.modalContent.dangerous ? 'danger' : 'primary'">
|
|
49
|
-
{{ modalStore?.modalContent?.acceptText }}
|
|
50
|
-
</Button>
|
|
51
|
-
</div>
|
|
38
|
+
<div v-if="modalContent.contentHTML" class="text-sm text-lightDialogBodyText dark:text-darkDialogBodyText" v-html="modalContent.contentHTML"></div>
|
|
52
39
|
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
40
|
+
<p v-if="modalContent.guardMessage" class="flex items-center gap-1.5 text-xs font-medium text-lightInputIconColor dark:text-darkInputIconColor">
|
|
41
|
+
<IconShieldCheck class="w-3.5 h-3.5 shrink-0" aria-hidden="true" />
|
|
42
|
+
{{ modalContent.guardMessage }}
|
|
43
|
+
</p>
|
|
44
|
+
</div>
|
|
57
45
|
|
|
58
|
-
|
|
59
|
-
</
|
|
60
|
-
|
|
61
|
-
|
|
46
|
+
<div :class="dialogFooterClasses">
|
|
47
|
+
<Button type="button" variant="secondary" @click="answer(false)">{{ modalContent.cancelText }}</Button>
|
|
48
|
+
<Button type="button" :variant="dangerous ? 'danger' : 'primary'" @click="answer(true)">{{ modalContent.acceptText }}</Button>
|
|
49
|
+
</div>
|
|
50
|
+
</Modal>
|
|
62
51
|
</template>
|
|
63
52
|
|
|
64
53
|
<script setup lang="ts">
|
|
65
|
-
import { watch, ref } from 'vue';
|
|
54
|
+
import { watch, ref, computed, useId, type Component } from 'vue';
|
|
55
|
+
import { storeToRefs } from 'pinia';
|
|
56
|
+
import { useI18n } from 'vue-i18n';
|
|
66
57
|
import { useModalStore } from '@/stores/modal';
|
|
67
58
|
import { Button, Modal } from '@/afcl';
|
|
68
|
-
import {
|
|
69
|
-
|
|
59
|
+
import { dialogFooterClasses } from '@/afcl/dialogStyles';
|
|
60
|
+
import { IconShieldCheck, IconTriangleAlert, IconX } from '@iconify-prerendered/vue-lucide';
|
|
70
61
|
|
|
62
|
+
const { t } = useI18n();
|
|
71
63
|
const modalRef = ref();
|
|
64
|
+
const titleId = useId();
|
|
72
65
|
const modalStore = useModalStore();
|
|
66
|
+
const { modalContent } = storeToRefs(modalStore);
|
|
73
67
|
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
);
|
|
82
|
-
|
|
83
|
-
|
|
68
|
+
const dangerous = computed(() => modalContent.value.dangerous);
|
|
69
|
+
const icon = computed(() => (modalContent.value.icon ?? IconTriangleAlert) as Component);
|
|
70
|
+
// a call with only a message shows it as the title, a call with a title shows the message under it
|
|
71
|
+
const title = computed(() => modalContent.value.title || modalContent.value.content);
|
|
72
|
+
const subtitle = computed(() => modalContent.value.title ? modalContent.value.content : '');
|
|
84
73
|
|
|
85
|
-
function
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
function close() {
|
|
90
|
-
modalRef.value.close();
|
|
74
|
+
function answer(accepted: boolean) {
|
|
75
|
+
modalStore.onAcceptFunction(accepted);
|
|
76
|
+
modalStore.togleModal();
|
|
91
77
|
}
|
|
92
78
|
|
|
79
|
+
watch(() => modalStore.isOpened, (opened) => {
|
|
80
|
+
if (opened) {
|
|
81
|
+
modalRef.value.open();
|
|
82
|
+
} else {
|
|
83
|
+
modalRef.value.close();
|
|
84
|
+
}
|
|
85
|
+
});
|
|
93
86
|
</script>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ref } from 'vue'
|
|
1
|
+
import { ref, markRaw } from 'vue'
|
|
2
2
|
import { defineStore } from 'pinia'
|
|
3
3
|
|
|
4
4
|
type ModalContentType = {
|
|
@@ -9,11 +9,12 @@ import { defineStore } from 'pinia'
|
|
|
9
9
|
acceptText?: string;
|
|
10
10
|
cancelText?: string;
|
|
11
11
|
dangerous?: boolean;
|
|
12
|
+
icon?: object;
|
|
12
13
|
}
|
|
13
14
|
|
|
14
15
|
|
|
15
16
|
export const useModalStore = defineStore('modal', () => {
|
|
16
|
-
const modalContent = ref({
|
|
17
|
+
const modalContent = ref<ModalContentType>({
|
|
17
18
|
title: 'title',
|
|
18
19
|
guardMessage: 'guardMessage',
|
|
19
20
|
content: '',
|
|
@@ -21,6 +22,7 @@ export const useModalStore = defineStore('modal', () => {
|
|
|
21
22
|
acceptText: 'acceptText',
|
|
22
23
|
cancelText: 'cancelText',
|
|
23
24
|
dangerous: false,
|
|
25
|
+
icon: undefined,
|
|
24
26
|
});
|
|
25
27
|
const isOpened = ref(false);
|
|
26
28
|
const onAcceptFunction: any = ref(()=>{});
|
|
@@ -43,6 +45,7 @@ export const useModalStore = defineStore('modal', () => {
|
|
|
43
45
|
acceptText: content.acceptText || 'acceptText',
|
|
44
46
|
cancelText: content.cancelText || 'cancelText',
|
|
45
47
|
dangerous: content.dangerous ?? false,
|
|
48
|
+
icon: content.icon && markRaw(content.icon),
|
|
46
49
|
};
|
|
47
50
|
}
|
|
48
51
|
function resetmodalState() {
|
|
@@ -55,6 +58,7 @@ export const useModalStore = defineStore('modal', () => {
|
|
|
55
58
|
acceptText: 'acceptText',
|
|
56
59
|
cancelText: 'cancelText',
|
|
57
60
|
dangerous: false,
|
|
61
|
+
icon: undefined,
|
|
58
62
|
};
|
|
59
63
|
setOnAcceptFunction(()=>{});
|
|
60
64
|
|
|
@@ -178,6 +178,11 @@ export type ConfirmParams = {
|
|
|
178
178
|
*/
|
|
179
179
|
dangerous?: boolean;
|
|
180
180
|
|
|
181
|
+
/**
|
|
182
|
+
* Vue component of the icon shown beside the title of a dangerous dialog, e.g. IconTrash2 from `@iconify-prerendered/vue-lucide`.
|
|
183
|
+
* Without it a dangerous dialog shows an alert triangle. Not used when dangerous is false.
|
|
184
|
+
*/
|
|
185
|
+
icon?: object;
|
|
181
186
|
}
|
|
182
187
|
|
|
183
188
|
export type AlertParams = {
|
|
@@ -707,29 +707,25 @@ export function generateMessageHtmlForRecordChange(changedFields: Record<string,
|
|
|
707
707
|
return s.replace(/&/g, '&').replace(/</g, '<').replace(/>/g, '>').replace(/"/g, '"').replace(/'/g, ''');
|
|
708
708
|
};
|
|
709
709
|
|
|
710
|
+
const labelClass = 'font-medium text-lightDialogHeaderText dark:text-darkDialogHeaderText';
|
|
710
711
|
const items = Object.keys(changedFields || {}).map(key => {
|
|
711
712
|
const column = coreStore.resource?.columns?.find((c: any) => c.name === key);
|
|
712
713
|
const label = column?.label || key;
|
|
713
714
|
if (column?.masked) {
|
|
714
|
-
return `<li class="truncate"><strong>${escapeHtml(label)}</strong>: <em>${escapeHtml(t('changed'))}</em></li>`;
|
|
715
|
+
return `<li class="truncate"><strong class="${labelClass}">${escapeHtml(label)}</strong>: <em>${escapeHtml(t('changed'))}</em></li>`;
|
|
715
716
|
}
|
|
716
717
|
const oldV = escapeHtml(changedFields[key].oldValue);
|
|
717
718
|
const newV = escapeHtml(changedFields[key].newValue);
|
|
718
|
-
return `<li class="truncate"><strong>${escapeHtml(label)}</strong>: <span class="af-old-value text-
|
|
719
|
+
return `<li class="truncate"><strong class="${labelClass}">${escapeHtml(label)}</strong>: <span class="af-old-value text-lightInputIconColor dark:text-darkInputIconColor">${oldV}</span> → <span class="af-new-value">${newV}</span></li>`;
|
|
719
720
|
}).join('');
|
|
720
721
|
|
|
721
|
-
const listHtml = items ? `<ul class="
|
|
722
|
-
|
|
723
|
-
<div class="flex flex-col gap-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
</div>
|
|
727
|
-
<p class="font-medium text-gray-900 dark:text-white mt-4">
|
|
728
|
-
${escapeHtml(t('Are you sure you want to leave this page?'))}
|
|
729
|
-
</p>
|
|
722
|
+
const listHtml = items ? `<ul class="flex flex-col gap-1">${items}</ul>` : '';
|
|
723
|
+
return `
|
|
724
|
+
<div class="flex flex-col gap-3">
|
|
725
|
+
${listHtml}
|
|
726
|
+
<p class="${labelClass}">${escapeHtml(t('Are you sure you want to leave this page?'))}</p>
|
|
730
727
|
</div>
|
|
731
728
|
`;
|
|
732
|
-
return messageHtml;
|
|
733
729
|
}
|
|
734
730
|
|
|
735
731
|
export function getTimeAgoString(date: Date): string {
|
|
@@ -178,6 +178,11 @@ export type ConfirmParams = {
|
|
|
178
178
|
* When false or omitted, the dialog renders in primary color (neutral confirmations).
|
|
179
179
|
*/
|
|
180
180
|
dangerous?: boolean;
|
|
181
|
+
/**
|
|
182
|
+
* Vue component of the icon shown beside the title of a dangerous dialog, e.g. IconTrash2 from `@iconify-prerendered/vue-lucide`.
|
|
183
|
+
* Without it a dangerous dialog shows an alert triangle. Not used when dangerous is false.
|
|
184
|
+
*/
|
|
185
|
+
icon?: object;
|
|
181
186
|
};
|
|
182
187
|
export type AlertParams = {
|
|
183
188
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FrontendAPI.d.ts","sourceRoot":"","sources":["../../types/FrontendAPI.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAA6B,YAAY,EAAE,MAAM,aAAa,CAAC;AAE3E,MAAM,WAAW,oBAAoB;IAEjC;;;;;;;;;;;;;;;;;;;OAmBG;IACH,OAAO,CAAC,MAAM,EAAE,aAAa,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;IAEjD;;;;;;;;;;;;;;;OAeG;IACH,KAAK,CAAC,MAAM,EAAC,WAAW,GAAG,IAAI,GAAG,OAAO,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC;IAG3D,IAAI,EAAE;QAEF;;WAEG;QACH,OAAO,IAAI,OAAO,CAAC;YAAE,KAAK,CAAC,EAAG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CAAC;QAAC,KAAK,CAAC,EAAE,GAAG,CAAC;KAAE,CAAC,GAAG,IAAI,CAAC;CAC5K;AAED,MAAM,MAAM,aAAa,GAAG;IACxB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IAEZ;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB,CAAA;AAED,MAAM,MAAM,WAAW,GAAG;IACtB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,OAAO,CAAC,EAAE,YAAY,GAAG,MAAM,OAAO,YAAY,CAAC;IAEnD;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,WAAW,CAAC;IAE/B;;OAEG;IACH,OAAO,CAAC,EAAE;QAAC,KAAK,EAAE,GAAG,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAC,EAAE,CAAC;CAE3C,CAAA;AAID,oBAAY,YAAY;IACpB,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,OAAO,YAAY;IACnB,IAAI,SAAS;CACd"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FrontendAPI.js","sourceRoot":"","sources":["../../types/FrontendAPI.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"FrontendAPI.js","sourceRoot":"","sources":["../../types/FrontendAPI.ts"],"names":[],"mappings":"AA0NA,MAAM,CAAN,IAAY,YAKT;AALH,WAAY,YAAY;IACpB,iCAAiB,CAAA;IACjB,mCAAmB,CAAA;IACnB,mCAAmB,CAAA;IACnB,6BAAa,CAAA;AACf,CAAC,EALS,YAAY,KAAZ,YAAY,QAKrB"}
|