shevchenko 2.1.1 → 2.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/shevchenko.js +97 -7
- package/dist/cjs/shevchenko.js.map +1 -1
- package/dist/es/shevchenko.js +97 -7
- package/dist/es/shevchenko.js.map +1 -1
- package/dist/umd/shevchenko.min.js +3 -3
- package/dist/umd/shevchenko.min.js.map +1 -1
- package/nuxt/.eslintrc.json +27 -0
- package/nuxt/.prettierrc.json +6 -0
- package/nuxt/README.md +27 -0
- package/nuxt/app.config.ts +3 -0
- package/nuxt/app.vue +5 -0
- package/nuxt/assets/img/shevchenko_pixelized_304x304.jpg +0 -0
- package/nuxt/assets/img/shevchenko_pixelized_304x304.png +0 -0
- package/nuxt/assets/img/shevchenko_pixelized_608x608.jpg +0 -0
- package/nuxt/assets/style/main.scss +3 -0
- package/nuxt/components/about-modal.vue +58 -0
- package/nuxt/components/api-spec.vue +25 -0
- package/nuxt/components/contact-me-button.vue +11 -0
- package/nuxt/components/contact-me-modal.vue +63 -0
- package/nuxt/components/copy-button.vue +38 -0
- package/nuxt/components/declension-demo.vue +38 -0
- package/nuxt/components/declension-form.vue +158 -0
- package/nuxt/components/declension-preview.vue +170 -0
- package/nuxt/components/declension-results.vue +135 -0
- package/nuxt/components/error-404.vue +15 -0
- package/nuxt/components/github-issue-count.vue +18 -0
- package/nuxt/components/how-it-works.vue +51 -0
- package/nuxt/components/installation-instructions.vue +33 -0
- package/nuxt/components/library-docs.vue +27 -0
- package/nuxt/components/page-copyright.vue +15 -0
- package/nuxt/components/page-footer.vue +32 -0
- package/nuxt/components/page-header.vue +4 -0
- package/nuxt/components/preview-banner.vue +32 -0
- package/nuxt/components/share-links.vue +108 -0
- package/nuxt/components/top-nav-bar.vue +165 -0
- package/nuxt/components/ukrainian-flag.vue +37 -0
- package/nuxt/components/usage-example.vue +32 -0
- package/nuxt/composables/declension.ts +124 -0
- package/nuxt/composables/page-i18n.ts +11 -0
- package/nuxt/composables/page-meta.ts +5 -0
- package/nuxt/composables/route-utils.ts +17 -0
- package/nuxt/config.ts +20 -0
- package/nuxt/data/female-first-names.json +556 -0
- package/nuxt/data/male-first-names.json +603 -0
- package/nuxt/error.vue +25 -0
- package/nuxt/layouts/default.vue +5 -0
- package/nuxt/locales/en-US.json +63 -0
- package/nuxt/locales/uk-UA.json +65 -0
- package/nuxt/nuxt.config.ts +99 -0
- package/nuxt/package-lock.json +19524 -0
- package/nuxt/package.json +37 -0
- package/nuxt/pages/en-US/index.vue +41 -0
- package/nuxt/pages/index.vue +68 -0
- package/nuxt/plugins/i18n.ts +26 -0
- package/nuxt/public/.nojekyll +0 -0
- package/nuxt/public/CNAME +1 -0
- package/nuxt/public/android-icon-144x144.png +0 -0
- package/nuxt/public/android-icon-192x192.png +0 -0
- package/nuxt/public/android-icon-36x36.png +0 -0
- package/nuxt/public/android-icon-48x48.png +0 -0
- package/nuxt/public/android-icon-72x72.png +0 -0
- package/nuxt/public/android-icon-96x96.png +0 -0
- package/nuxt/public/apple-icon-114x114.png +0 -0
- package/nuxt/public/apple-icon-120x120.png +0 -0
- package/nuxt/public/apple-icon-144x144.png +0 -0
- package/nuxt/public/apple-icon-152x152.png +0 -0
- package/nuxt/public/apple-icon-180x180.png +0 -0
- package/nuxt/public/apple-icon-57x57.png +0 -0
- package/nuxt/public/apple-icon-60x60.png +0 -0
- package/nuxt/public/apple-icon-72x72.png +0 -0
- package/nuxt/public/apple-icon-76x76.png +0 -0
- package/nuxt/public/apple-icon-precomposed.png +0 -0
- package/nuxt/public/apple-icon.png +0 -0
- package/nuxt/public/browserconfig.xml +2 -0
- package/nuxt/public/favicon-16x16.png +0 -0
- package/nuxt/public/favicon-32x32.png +0 -0
- package/nuxt/public/favicon-96x96.png +0 -0
- package/nuxt/public/favicon.ico +0 -0
- package/nuxt/public/manifest.json +41 -0
- package/nuxt/public/ms-icon-144x144.png +0 -0
- package/nuxt/public/ms-icon-150x150.png +0 -0
- package/nuxt/public/ms-icon-310x310.png +0 -0
- package/nuxt/public/ms-icon-70x70.png +0 -0
- package/nuxt/public/preview-608x608.jpg +0 -0
- package/nuxt/scripts/postgenerate.js +7 -0
- package/nuxt/scripts/publish.js +7 -0
- package/nuxt/server/plugins/google-tag-manager.js +37 -0
- package/nuxt/tsconfig.json +11 -0
- package/package.json +3 -2
- package/src/resources/inflector/rules.json +94 -5
package/dist/es/shevchenko.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @file JavaScript library for declension of Ukrainian anthroponyms
|
|
3
3
|
* @module shevchenko
|
|
4
|
-
* @version 2.1.
|
|
4
|
+
* @version 2.1.2
|
|
5
5
|
* @author Oleksandr Tolochko <tooleks@gmail.com>
|
|
6
6
|
* @license MIT
|
|
7
|
-
* @copyright
|
|
7
|
+
* @copyright 2023 Oleksandr Tolochko <tooleks@gmail.com>
|
|
8
8
|
* @see {@link git+https://github.com/tooleks/shevchenko-js.git}
|
|
9
9
|
*/
|
|
10
10
|
import synaptic from 'synaptic';
|
|
@@ -946,7 +946,8 @@ var inflectorRules = [
|
|
|
946
946
|
{
|
|
947
947
|
description: "друга відміна / чоловічий рід / м'яка група / на -(голосна)лець",
|
|
948
948
|
examples: [
|
|
949
|
-
"стрілець"
|
|
949
|
+
"стрілець",
|
|
950
|
+
"білець"
|
|
950
951
|
],
|
|
951
952
|
partOfSpeech: "noun",
|
|
952
953
|
gender: [
|
|
@@ -2619,7 +2620,7 @@ var inflectorRules = [
|
|
|
2619
2620
|
}
|
|
2620
2621
|
},
|
|
2621
2622
|
{
|
|
2622
|
-
description: "друга відміна / чоловічий рід / м'яка група / на
|
|
2623
|
+
description: "друга відміна / чоловічий рід / м'яка група / на -бідь",
|
|
2623
2624
|
examples: [
|
|
2624
2625
|
"лебідь"
|
|
2625
2626
|
],
|
|
@@ -2732,7 +2733,7 @@ var inflectorRules = [
|
|
|
2732
2733
|
}
|
|
2733
2734
|
},
|
|
2734
2735
|
{
|
|
2735
|
-
description: "друга відміна / чоловічий рід / м'яка група / на
|
|
2736
|
+
description: "друга відміна / чоловічий рід / м'яка група / на -мінь",
|
|
2736
2737
|
examples: [
|
|
2737
2738
|
"кремінь"
|
|
2738
2739
|
],
|
|
@@ -3527,7 +3528,7 @@ var inflectorRules = [
|
|
|
3527
3528
|
}
|
|
3528
3529
|
},
|
|
3529
3530
|
{
|
|
3530
|
-
description: "друга відміна / чоловічий рід / тверда група / на
|
|
3531
|
+
description: "друга відміна / чоловічий рід / тверда група / на -ків",
|
|
3531
3532
|
examples: [
|
|
3532
3533
|
"яків"
|
|
3533
3534
|
],
|
|
@@ -3640,7 +3641,7 @@ var inflectorRules = [
|
|
|
3640
3641
|
}
|
|
3641
3642
|
},
|
|
3642
3643
|
{
|
|
3643
|
-
description: "друга відміна / чоловічий рід / тверда група / на
|
|
3644
|
+
description: "друга відміна / чоловічий рід / тверда група / на -(к|р)іп",
|
|
3644
3645
|
examples: [
|
|
3645
3646
|
"прокіп"
|
|
3646
3647
|
],
|
|
@@ -5959,6 +5960,95 @@ var inflectorRules = [
|
|
|
5959
5960
|
]
|
|
5960
5961
|
}
|
|
5961
5962
|
},
|
|
5963
|
+
{
|
|
5964
|
+
description: "чоловічі по батькові та прізвища / на -іч",
|
|
5965
|
+
examples: [
|
|
5966
|
+
"ілліч"
|
|
5967
|
+
],
|
|
5968
|
+
partOfSpeech: "noun",
|
|
5969
|
+
gender: [
|
|
5970
|
+
"male"
|
|
5971
|
+
],
|
|
5972
|
+
priority: 2,
|
|
5973
|
+
usage: [
|
|
5974
|
+
"middleName",
|
|
5975
|
+
"lastName"
|
|
5976
|
+
],
|
|
5977
|
+
pattern: {
|
|
5978
|
+
find: "іч$",
|
|
5979
|
+
modify: "(.{1})$"
|
|
5980
|
+
},
|
|
5981
|
+
grammaticalCases: {
|
|
5982
|
+
nominative: [
|
|
5983
|
+
],
|
|
5984
|
+
genitive: [
|
|
5985
|
+
{
|
|
5986
|
+
"0": {
|
|
5987
|
+
type: "append",
|
|
5988
|
+
value: "а"
|
|
5989
|
+
}
|
|
5990
|
+
}
|
|
5991
|
+
],
|
|
5992
|
+
dative: [
|
|
5993
|
+
{
|
|
5994
|
+
"0": {
|
|
5995
|
+
type: "append",
|
|
5996
|
+
value: "у"
|
|
5997
|
+
}
|
|
5998
|
+
},
|
|
5999
|
+
{
|
|
6000
|
+
"0": {
|
|
6001
|
+
type: "append",
|
|
6002
|
+
value: "еві"
|
|
6003
|
+
}
|
|
6004
|
+
}
|
|
6005
|
+
],
|
|
6006
|
+
accusative: [
|
|
6007
|
+
{
|
|
6008
|
+
"0": {
|
|
6009
|
+
type: "append",
|
|
6010
|
+
value: "а"
|
|
6011
|
+
}
|
|
6012
|
+
}
|
|
6013
|
+
],
|
|
6014
|
+
ablative: [
|
|
6015
|
+
{
|
|
6016
|
+
"0": {
|
|
6017
|
+
type: "append",
|
|
6018
|
+
value: "ем"
|
|
6019
|
+
}
|
|
6020
|
+
}
|
|
6021
|
+
],
|
|
6022
|
+
locative: [
|
|
6023
|
+
{
|
|
6024
|
+
"0": {
|
|
6025
|
+
type: "append",
|
|
6026
|
+
value: "і"
|
|
6027
|
+
}
|
|
6028
|
+
},
|
|
6029
|
+
{
|
|
6030
|
+
"0": {
|
|
6031
|
+
type: "append",
|
|
6032
|
+
value: "у"
|
|
6033
|
+
}
|
|
6034
|
+
},
|
|
6035
|
+
{
|
|
6036
|
+
"0": {
|
|
6037
|
+
type: "append",
|
|
6038
|
+
value: "еві"
|
|
6039
|
+
}
|
|
6040
|
+
}
|
|
6041
|
+
],
|
|
6042
|
+
vocative: [
|
|
6043
|
+
{
|
|
6044
|
+
"0": {
|
|
6045
|
+
type: "append",
|
|
6046
|
+
value: "у"
|
|
6047
|
+
}
|
|
6048
|
+
}
|
|
6049
|
+
]
|
|
6050
|
+
}
|
|
6051
|
+
},
|
|
5962
6052
|
{
|
|
5963
6053
|
description: "жіночі по батькові / на -на",
|
|
5964
6054
|
examples: [
|