From e21c43e2aa8d6cc7b093e137b3649e0304a19867 Mon Sep 17 00:00:00 2001 From: samunohito <46447427+samunohito@users.noreply.github.com> Date: Sun, 28 Jan 2024 22:10:24 +0900 Subject: [PATCH] fix --- .../src/components/grid/MkCellTooltip.vue | 35 ++++++ .../src/components/grid/MkDataCell.vue | 41 +++++-- .../src/components/grid/MkDataRow.vue | 3 +- .../frontend/src/components/grid/MkGrid.vue | 34 +++-- .../src/components/grid/MkHeaderCell.vue | 2 +- .../src/components/grid/MkHeaderRow.vue | 2 +- .../src/components/grid/MkNumberCell.vue | 2 +- .../src/components/grid/cell-validators.ts | 68 ++++++++++ packages/frontend/src/components/grid/cell.ts | 29 +++++ packages/frontend/src/components/grid/grid.ts | 45 +++++++ .../frontend/src/components/grid/types.ts | 116 ------------------ .../frontend/src/components/grid/utils.ts | 49 ++++++++ .../admin/custom-emojis-grid.register.vue | 17 ++- 13 files changed, 295 insertions(+), 148 deletions(-) create mode 100644 packages/frontend/src/components/grid/MkCellTooltip.vue create mode 100644 packages/frontend/src/components/grid/cell-validators.ts create mode 100644 packages/frontend/src/components/grid/cell.ts create mode 100644 packages/frontend/src/components/grid/grid.ts delete mode 100644 packages/frontend/src/components/grid/types.ts create mode 100644 packages/frontend/src/components/grid/utils.ts diff --git a/packages/frontend/src/components/grid/MkCellTooltip.vue b/packages/frontend/src/components/grid/MkCellTooltip.vue new file mode 100644 index 0000000000..fd289c6cd9 --- /dev/null +++ b/packages/frontend/src/components/grid/MkCellTooltip.vue @@ -0,0 +1,35 @@ + + + + + + + diff --git a/packages/frontend/src/components/grid/MkDataCell.vue b/packages/frontend/src/components/grid/MkDataCell.vue index 05a79dc725..0f6acc965a 100644 --- a/packages/frontend/src/components/grid/MkDataCell.vue +++ b/packages/frontend/src/components/grid/MkDataCell.vue @@ -10,9 +10,10 @@
@@ -47,15 +48,12 @@