From af1013da36c5c58bdbc65e5997040002fb293f36 Mon Sep 17 00:00:00 2001 From: ShareVB Date: Sun, 28 Apr 2024 14:07:46 +0200 Subject: [PATCH] feat(Text Statistics): add more stats Sentences, Words with punctuations, Chars by type (upper, lower, digits, puncts...) --- components.d.ts | 2 ++ src/tools/text-statistics/text-statistics.vue | 28 ++++++++++++++----- 2 files changed, 23 insertions(+), 7 deletions(-) diff --git a/components.d.ts b/components.d.ts index f2c3146f..7a51c8c6 100644 --- a/components.d.ts +++ b/components.d.ts @@ -144,7 +144,9 @@ declare module '@vue/runtime-core' { NLayoutSider: typeof import('naive-ui')['NLayoutSider'] NMenu: typeof import('naive-ui')['NMenu'] NScrollbar: typeof import('naive-ui')['NScrollbar'] + NSpace: typeof import('naive-ui')['NSpace'] NSpin: typeof import('naive-ui')['NSpin'] + NStatistic: typeof import('naive-ui')['NStatistic'] NumeronymGenerator: typeof import('./src/tools/numeronym-generator/numeronym-generator.vue')['default'] OtpCodeGeneratorAndValidator: typeof import('./src/tools/otp-code-generator-and-validator/otp-code-generator-and-validator.vue')['default'] PasswordStrengthAnalyser: typeof import('./src/tools/password-strength-analyser/password-strength-analyser.vue')['default'] diff --git a/src/tools/text-statistics/text-statistics.vue b/src/tools/text-statistics/text-statistics.vue index 6aa29d4d..354292d8 100644 --- a/src/tools/text-statistics/text-statistics.vue +++ b/src/tools/text-statistics/text-statistics.vue @@ -1,19 +1,33 @@