From 9bc12eaee3cb73ceb72a81d3e6190f328ba022ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D5=A1=C9=A8=D5=BC=C9=A2=D3=84=D5=A1=D6=85=D5=BC=C9=A2?= Date: Sun, 5 Nov 2023 14:55:50 +0800 Subject: [PATCH] refactor(nc-gui): move common datetime utils functions to sdk --- .../nc-gui/components/cell/DatePicker.vue | 2 +- .../nc-gui/components/cell/DateTimePicker.vue | 4 +- .../dashboard/settings/AuditTab.vue | 3 +- .../dashboard/settings/BaseAudit.vue | 3 +- .../components/notification/Item/Wrapper.vue | 2 +- .../components/project/AccessSettings.vue | 11 ++- .../smartsheet/column/DateOptions.vue | 3 +- .../smartsheet/column/DateTimeOptions.vue | 3 +- .../smartsheet/column/FormulaOptions.vue | 3 +- .../smartsheet/expanded-form/Comments.vue | 3 +- .../nc-gui/components/template/Editor.vue | 5 +- .../components/virtual-cell/Formula.vue | 3 +- .../nc-gui/components/webhook/CallLog.vue | 3 +- .../workspace/CollaboratorsList.vue | 4 +- .../components/workspace/ProjectList.vue | 3 +- .../composables/useMultiSelect/index.ts | 5 +- .../helpers/parsers/CSVTemplateAdapter.ts | 3 +- .../helpers/parsers/ExcelTemplateAdapter.ts | 3 +- packages/nc-gui/utils/dateTimeUtils.ts | 94 ------------------- packages/nc-gui/utils/index.ts | 1 - 20 files changed, 34 insertions(+), 127 deletions(-) delete mode 100644 packages/nc-gui/utils/dateTimeUtils.ts diff --git a/packages/nc-gui/components/cell/DatePicker.vue b/packages/nc-gui/components/cell/DatePicker.vue index 9c81d6842a..6bc13e7a06 100644 --- a/packages/nc-gui/components/cell/DatePicker.vue +++ b/packages/nc-gui/components/cell/DatePicker.vue @@ -1,5 +1,6 @@