From 2ab526e0211ca9dd11fed666c5f7c078f2930a82 Mon Sep 17 00:00:00 2001 From: dataeaseShu Date: Mon, 12 Aug 2024 18:01:15 +0800 Subject: [PATCH] =?UTF-8?q?feat(xpack):=20=E9=98=88=E5=80=BC=E5=91=8A?= =?UTF-8?q?=E8=AD=A6=E6=A8=A1=E5=9D=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../assets/svg/icon_notification_filled.svg | 3 + .../src/components/icon-custom/src/Icon.vue | 6 +- .../rich-text/TinymacEditorAlarm.vue | 234 ++++++++++++++++++ 3 files changed, 239 insertions(+), 4 deletions(-) create mode 100644 core/core-frontend/src/assets/svg/icon_notification_filled.svg create mode 100644 core/core-frontend/src/components/rich-text/TinymacEditorAlarm.vue diff --git a/core/core-frontend/src/assets/svg/icon_notification_filled.svg b/core/core-frontend/src/assets/svg/icon_notification_filled.svg new file mode 100644 index 0000000000..8e17a11704 --- /dev/null +++ b/core/core-frontend/src/assets/svg/icon_notification_filled.svg @@ -0,0 +1,3 @@ + + + diff --git a/core/core-frontend/src/components/icon-custom/src/Icon.vue b/core/core-frontend/src/components/icon-custom/src/Icon.vue index 15da87560a..c7deac92e6 100644 --- a/core/core-frontend/src/components/icon-custom/src/Icon.vue +++ b/core/core-frontend/src/components/icon-custom/src/Icon.vue @@ -3,6 +3,7 @@ import { computed } from 'vue' import { propTypes } from '@/utils/propTypes' import _401 from '@/assets/svg/401.svg' +import icon_notification_filled from '@/assets/svg/icon_notification_filled.svg' import calculate from '@/assets/svg/calculate.svg' import _403 from '@/assets/svg/403.svg' import APIDs from '@/assets/svg/API-ds.svg' @@ -221,8 +222,6 @@ import emailTask from '@/assets/svg/email-task.svg' import embedded from '@/assets/svg/embedded.svg' import association from '@/assets/svg/association.svg' import threshold from '@/assets/svg/threshold.svg' -import threshold_full from '@/assets/svg/threshold_full.svg' -import clock from '@/assets/svg/clock.svg' import example from '@/assets/svg/example.svg' import exclamationmark from '@/assets/svg/exclamationmark.svg' import exclamationmark2 from '@/assets/svg/exclamationmark2.svg' @@ -674,6 +673,7 @@ import icon_file_doc_colorful from '@/assets/svg/icon_file-doc_colorful.svg' import icon_font from '@/assets/svg/icon_font.svg' const iconMap = { '401': _401, + icon_notification_filled, '403': _403, 'API-ds': APIDs, 'Apache Hive': Apache_Hive, @@ -891,8 +891,6 @@ const iconMap = { embedded: embedded, association: association, threshold: threshold, - threshold_full: threshold_full, - clock, example: example, exclamationmark: exclamationmark, exclamationmark2: exclamationmark2, diff --git a/core/core-frontend/src/components/rich-text/TinymacEditorAlarm.vue b/core/core-frontend/src/components/rich-text/TinymacEditorAlarm.vue new file mode 100644 index 0000000000..4d6784e3d4 --- /dev/null +++ b/core/core-frontend/src/components/rich-text/TinymacEditorAlarm.vue @@ -0,0 +1,234 @@ + + + +