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/cjs/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
|
'use strict';
|
|
@@ -1025,7 +1025,8 @@ var inflectorRules = [
|
|
|
1025
1025
|
{
|
|
1026
1026
|
description: "друга відміна / чоловічий рід / м'яка група / на -(голосна)лець",
|
|
1027
1027
|
examples: [
|
|
1028
|
-
"стрілець"
|
|
1028
|
+
"стрілець",
|
|
1029
|
+
"білець"
|
|
1029
1030
|
],
|
|
1030
1031
|
partOfSpeech: "noun",
|
|
1031
1032
|
gender: [
|
|
@@ -2698,7 +2699,7 @@ var inflectorRules = [
|
|
|
2698
2699
|
}
|
|
2699
2700
|
},
|
|
2700
2701
|
{
|
|
2701
|
-
description: "друга відміна / чоловічий рід / м'яка група / на
|
|
2702
|
+
description: "друга відміна / чоловічий рід / м'яка група / на -бідь",
|
|
2702
2703
|
examples: [
|
|
2703
2704
|
"лебідь"
|
|
2704
2705
|
],
|
|
@@ -2811,7 +2812,7 @@ var inflectorRules = [
|
|
|
2811
2812
|
}
|
|
2812
2813
|
},
|
|
2813
2814
|
{
|
|
2814
|
-
description: "друга відміна / чоловічий рід / м'яка група / на
|
|
2815
|
+
description: "друга відміна / чоловічий рід / м'яка група / на -мінь",
|
|
2815
2816
|
examples: [
|
|
2816
2817
|
"кремінь"
|
|
2817
2818
|
],
|
|
@@ -3606,7 +3607,7 @@ var inflectorRules = [
|
|
|
3606
3607
|
}
|
|
3607
3608
|
},
|
|
3608
3609
|
{
|
|
3609
|
-
description: "друга відміна / чоловічий рід / тверда група / на
|
|
3610
|
+
description: "друга відміна / чоловічий рід / тверда група / на -ків",
|
|
3610
3611
|
examples: [
|
|
3611
3612
|
"яків"
|
|
3612
3613
|
],
|
|
@@ -3719,7 +3720,7 @@ var inflectorRules = [
|
|
|
3719
3720
|
}
|
|
3720
3721
|
},
|
|
3721
3722
|
{
|
|
3722
|
-
description: "друга відміна / чоловічий рід / тверда група / на
|
|
3723
|
+
description: "друга відміна / чоловічий рід / тверда група / на -(к|р)іп",
|
|
3723
3724
|
examples: [
|
|
3724
3725
|
"прокіп"
|
|
3725
3726
|
],
|
|
@@ -6038,6 +6039,95 @@ var inflectorRules = [
|
|
|
6038
6039
|
]
|
|
6039
6040
|
}
|
|
6040
6041
|
},
|
|
6042
|
+
{
|
|
6043
|
+
description: "чоловічі по батькові та прізвища / на -іч",
|
|
6044
|
+
examples: [
|
|
6045
|
+
"ілліч"
|
|
6046
|
+
],
|
|
6047
|
+
partOfSpeech: "noun",
|
|
6048
|
+
gender: [
|
|
6049
|
+
"male"
|
|
6050
|
+
],
|
|
6051
|
+
priority: 2,
|
|
6052
|
+
usage: [
|
|
6053
|
+
"middleName",
|
|
6054
|
+
"lastName"
|
|
6055
|
+
],
|
|
6056
|
+
pattern: {
|
|
6057
|
+
find: "іч$",
|
|
6058
|
+
modify: "(.{1})$"
|
|
6059
|
+
},
|
|
6060
|
+
grammaticalCases: {
|
|
6061
|
+
nominative: [
|
|
6062
|
+
],
|
|
6063
|
+
genitive: [
|
|
6064
|
+
{
|
|
6065
|
+
"0": {
|
|
6066
|
+
type: "append",
|
|
6067
|
+
value: "а"
|
|
6068
|
+
}
|
|
6069
|
+
}
|
|
6070
|
+
],
|
|
6071
|
+
dative: [
|
|
6072
|
+
{
|
|
6073
|
+
"0": {
|
|
6074
|
+
type: "append",
|
|
6075
|
+
value: "у"
|
|
6076
|
+
}
|
|
6077
|
+
},
|
|
6078
|
+
{
|
|
6079
|
+
"0": {
|
|
6080
|
+
type: "append",
|
|
6081
|
+
value: "еві"
|
|
6082
|
+
}
|
|
6083
|
+
}
|
|
6084
|
+
],
|
|
6085
|
+
accusative: [
|
|
6086
|
+
{
|
|
6087
|
+
"0": {
|
|
6088
|
+
type: "append",
|
|
6089
|
+
value: "а"
|
|
6090
|
+
}
|
|
6091
|
+
}
|
|
6092
|
+
],
|
|
6093
|
+
ablative: [
|
|
6094
|
+
{
|
|
6095
|
+
"0": {
|
|
6096
|
+
type: "append",
|
|
6097
|
+
value: "ем"
|
|
6098
|
+
}
|
|
6099
|
+
}
|
|
6100
|
+
],
|
|
6101
|
+
locative: [
|
|
6102
|
+
{
|
|
6103
|
+
"0": {
|
|
6104
|
+
type: "append",
|
|
6105
|
+
value: "і"
|
|
6106
|
+
}
|
|
6107
|
+
},
|
|
6108
|
+
{
|
|
6109
|
+
"0": {
|
|
6110
|
+
type: "append",
|
|
6111
|
+
value: "у"
|
|
6112
|
+
}
|
|
6113
|
+
},
|
|
6114
|
+
{
|
|
6115
|
+
"0": {
|
|
6116
|
+
type: "append",
|
|
6117
|
+
value: "еві"
|
|
6118
|
+
}
|
|
6119
|
+
}
|
|
6120
|
+
],
|
|
6121
|
+
vocative: [
|
|
6122
|
+
{
|
|
6123
|
+
"0": {
|
|
6124
|
+
type: "append",
|
|
6125
|
+
value: "у"
|
|
6126
|
+
}
|
|
6127
|
+
}
|
|
6128
|
+
]
|
|
6129
|
+
}
|
|
6130
|
+
},
|
|
6041
6131
|
{
|
|
6042
6132
|
description: "жіночі по батькові / на -на",
|
|
6043
6133
|
examples: [
|