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.
@@ -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
- <Teleport to="body">
3
- <Modal
4
- ref="modalRef"
5
- :beforeCloseFunction="()=>{modalStore.onAcceptFunction(false);modalStore.isOpened=false}"
6
- backgroundCustomClasses="z-[998]"
7
- modalCustomClasses="z-[999] flex items-center justify-center"
8
- >
9
- <div class="relative p-6 sm:w-[420px] rounded-[inherit] bg-lightAcceptModalBackground dark:bg-darkAcceptModalBackground" >
10
-
11
- <button type="button" @click="modalStore.togleModal()" class="absolute top-3 right-3 p-1.5 rounded-default text-lightAcceptModalCloseIcon hover:text-lightAcceptModalCloseIconHover hover:bg-lightAcceptModalCloseIconHoverBackground dark:text-darkAcceptModalCloseIcon dark:hover:text-darkAcceptModalCloseIconHover dark:hover:bg-darkAcceptModalCloseIconHoverBackground transition-colors" >
12
- <IconX class="w-4 h-4" />
13
- </button>
14
-
15
- <div class="text-center flex flex-col">
16
- <div class="mx-auto flex items-center justify-center h-12 w-12 rounded-xl mb-4 relative"
17
- :class="modalStore.modalContent.dangerous ? 'bg-lightDangerSoft dark:bg-darkDangerSoft' : 'bg-lightSecondaryDarken dark:bg-darkSecondaryLighten'">
18
- <IconClipboardList class="w-6 h-6"
19
- :class="modalStore.modalContent.dangerous ? 'text-lightAcceptModalWarningIcon dark:text-darkAcceptModalWarningIcon' : 'text-lightButtonsBackground dark:text-darkButtonsBackground'" />
20
- <div class="absolute -bottom-1 -right-1 rounded-full w-[18px] h-[18px] flex items-center justify-center border-2 border-lightAcceptModalBackground dark:border-darkAcceptModalBackground"
21
- :class="modalStore.modalContent.dangerous ? 'bg-lightAcceptModalConfirmButtonBackground dark:bg-darkAcceptModalConfirmButtonBackground' : 'bg-lightButtonsBackground dark:bg-darkButtonsBackground'">
22
- <span class="text-lightButtonsText dark:text-darkButtonsText text-[10px] font-medium">!</span>
23
- </div>
24
- </div>
25
-
26
- <div class="flex flex-col gap-3">
27
- <h3 v-if="modalStore?.modalContent?.title" class="text-lg font-semibold tracking-tight text-lightDialogHeaderText dark:text-darkDialogHeaderText">
28
- {{ modalStore.modalContent.title }}
29
- </h3>
30
-
31
- <div class="text-sm text-lightAcceptModalText dark:text-darkAcceptModalText">
32
- <div v-if="modalStore?.modalContent?.contentHTML" v-html="modalStore.modalContent.contentHTML"></div>
33
- <p v-else-if="modalStore?.modalContent?.content">{{ modalStore.modalContent.content }}</p>
34
- </div>
35
- </div>
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
- <div class="flex justify-center gap-2 w-full">
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
- <div v-if="modalStore?.modalContent?.guardMessage" class="flex items-center justify-center mt-5 text-xs text-lightAcceptModalText dark:text-darkAcceptModalText gap-1.5 font-medium">
54
- <IconShieldCheck class="w-4 h-4" />
55
- <span> {{ modalStore?.modalContent?.guardMessage }}</span>
56
- </div>
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
- </div>
59
- </div>
60
- </Modal>
61
- </Teleport>
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 { IconClipboardList, IconShieldCheck, IconX } from '@iconify-prerendered/vue-lucide';
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
- watch( () => modalStore.isOpened, (newVal) => {
75
- if (newVal) {
76
- open();
77
- } else {
78
- close();
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 open() {
86
- modalRef.value.open();
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>
@@ -682,6 +682,7 @@ async function deleteRecord(row: any) {
682
682
  yes: t('Delete'),
683
683
  no: t('Cancel'),
684
684
  dangerous: true,
685
+ icon: IconTrash2,
685
686
  });
686
687
  if (data) {
687
688
  try {
@@ -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, '&amp;').replace(/</g, '&lt;').replace(/>/g, '&gt;').replace(/"/g, '&quot;').replace(/'/g, '&#039;');
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-muted">${oldV}</span> &#8594; <span class="af-new-value">${newV}</span></li>`;
719
+ return `<li class="truncate"><strong class="${labelClass}">${escapeHtml(label)}</strong>: <span class="af-old-value text-lightInputIconColor dark:text-darkInputIconColor">${oldV}</span> &#8594; <span class="af-new-value">${newV}</span></li>`;
719
720
  }).join('');
720
721
 
721
- const listHtml = items ? `<ul class="mt-2 list-disc list-inside">${items}</ul>` : '';
722
- const messageHtml = `
723
- <div class="flex flex-col gap-y-2 text-center">
724
- <div class="text-gray-500 dark:text-gray-400">
725
- ${listHtml}
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 {
@@ -398,6 +398,7 @@ async function deleteRecord() {
398
398
  yes: t('Delete'),
399
399
  no: t('Cancel'),
400
400
  dangerous: true,
401
+ icon: IconTrash2,
401
402
  });
402
403
  if (data) {
403
404
  try {
@@ -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,MAAM,CAAA;SAAE,CAAC,CAAC;QAExC;;;;WAIG;QACH,aAAa,IAAI,OAAO,CAAC;YAAE,KAAK,CAAC,EAAG,MAAM,CAAA;SAAE,CAAC,CAAC;QAE9C;;WAEG;QACH,gBAAgB,CAAE,EAAE,EAAE,GAAG,GAAG,OAAO,CAAC;YAAE,KAAK,CAAC,EAAG,MAAM,CAAA;SAAE,CAAC,CAAC;QAE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@@ -1 +1 @@
1
- {"version":3,"file":"FrontendAPI.js","sourceRoot":"","sources":["../../types/FrontendAPI.ts"],"names":[],"mappings":"AAqNA,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"}
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"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adminforth",
3
- "version": "4.9.0",
3
+ "version": "4.10.0",
4
4
  "description": "OpenSource Agent-Native forth-generation admin panel",
5
5
  "keywords": [
6
6
  "adminforth",