Skip to content

Commit 2dbc8fa

Browse files
feat(tool): nanoid generator
1 parent b430bae commit 2dbc8fa

File tree

8 files changed

+6794
-5130
lines changed

8 files changed

+6794
-5130
lines changed

components.d.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,25 +126,33 @@ declare module '@vue/runtime-core' {
126126
MenuLayout: typeof import('./src/components/MenuLayout.vue')['default']
127127
MetaTagGenerator: typeof import('./src/tools/meta-tag-generator/meta-tag-generator.vue')['default']
128128
MimeTypes: typeof import('./src/tools/mime-types/mime-types.vue')['default']
129+
NAlert: typeof import('naive-ui')['NAlert']
130+
NanoidGenerator: typeof import('./src/tools/nanoid-generator/nanoid-generator.vue')['default']
129131
NavbarButtons: typeof import('./src/components/NavbarButtons.vue')['default']
130132
NCode: typeof import('naive-ui')['NCode']
131133
NCollapseTransition: typeof import('naive-ui')['NCollapseTransition']
132134
NConfigProvider: typeof import('naive-ui')['NConfigProvider']
133135
NDivider: typeof import('naive-ui')['NDivider']
134136
NEllipsis: typeof import('naive-ui')['NEllipsis']
137+
NForm: typeof import('naive-ui')['NForm']
135138
NFormItem: typeof import('naive-ui')['NFormItem']
136139
NGi: typeof import('naive-ui')['NGi']
137140
NGrid: typeof import('naive-ui')['NGrid']
138141
NH1: typeof import('naive-ui')['NH1']
139142
NH3: typeof import('naive-ui')['NH3']
140143
NIcon: typeof import('naive-ui')['NIcon']
144+
NInputGroup: typeof import('naive-ui')['NInputGroup']
145+
NInputGroupLabel: typeof import('naive-ui')['NInputGroupLabel']
141146
NInputNumber: typeof import('naive-ui')['NInputNumber']
142147
NLabel: typeof import('naive-ui')['NLabel']
143148
NLayout: typeof import('naive-ui')['NLayout']
144149
NLayoutSider: typeof import('naive-ui')['NLayoutSider']
145150
NMenu: typeof import('naive-ui')['NMenu']
146151
NScrollbar: typeof import('naive-ui')['NScrollbar']
152+
NSlider: typeof import('naive-ui')['NSlider']
147153
NSpin: typeof import('naive-ui')['NSpin']
154+
NSwitch: typeof import('naive-ui')['NSwitch']
155+
NText: typeof import('naive-ui')['NText']
148156
NumeronymGenerator: typeof import('./src/tools/numeronym-generator/numeronym-generator.vue')['default']
149157
OtpCodeGeneratorAndValidator: typeof import('./src/tools/otp-code-generator-and-validator/otp-code-generator-and-validator.vue')['default']
150158
PasswordStrengthAnalyser: typeof import('./src/tools/password-strength-analyser/password-strength-analyser.vue')['default']

locales/en.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,22 @@ tools:
352352
title: UUIDs generator
353353
description: A Universally Unique Identifier (UUID) is a 128-bit number used to identify information in computer systems. The number of possible UUIDs is 16^32, which is 2^128 or about 3.4x10^38 (which is a lot!).
354354

355+
nanoid-generator:
356+
title: NanoIDs generator
357+
description: Generate random, unique, and URL-friendly IDs for your applications.
358+
uppercase: Uppercase
359+
lowercase: Lowercase
360+
numbers: Numbers
361+
symbols: Symbols
362+
excludeLookalikes: Exclude lookalikes
363+
length: Length
364+
quantity: Quantity
365+
copied: NanoID copied to the clipboard
366+
button:
367+
copy: Copy
368+
refresh: Refresh
369+
370+
355371
ipv4-address-converter:
356372
title: IPv4 address converter
357373
description: Convert an IP address into decimal, binary, hexadecimal, or even an IPv6 representation of it.

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@
7474
"mime-types": "^2.1.35",
7575
"monaco-editor": "^0.43.0",
7676
"naive-ui": "^2.35.0",
77+
"nanoid": "^5.0.7",
78+
"nanoid-dictionary": "^4.3.0",
7779
"netmask": "^2.0.2",
7880
"node-forge": "^1.3.1",
7981
"oui-data": "^1.0.10",

0 commit comments

Comments
 (0)