itube-specs 0.0.778 → 0.0.779
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/components/category/letter-groups.vue +1 -1
- package/components/filter/main.vue +4 -4
- package/components/filter/model-field.vue +1 -1
- package/components/filter/model.vue +1 -1
- package/components/filter/page.vue +2 -2
- package/components/filter/slider.vue +2 -2
- package/components/filter/videos-chips.vue +1 -1
- package/components/info/main.vue +1 -1
- package/components/layout/header.vue +1 -1
- package/components/layout/language.vue +1 -1
- package/components/player/channel.vue +1 -1
- package/components/player/like.vue +2 -2
- package/components/search/result.vue +1 -1
- package/components/section/seo-text.vue +1 -1
- package/components/ui/full-descr.vue +1 -1
- package/components/ui/pagination.vue +2 -2
- package/package.json +1 -1
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
</template>
|
|
12
12
|
|
|
13
13
|
<script setup lang="ts" generic="T extends Record<string, any>">
|
|
14
|
-
import { groupByFirstLetter } from '
|
|
14
|
+
import { groupByFirstLetter } from '../../utils/category-letter-groups/group-by-first-letter';
|
|
15
15
|
|
|
16
16
|
const props = defineProps<{
|
|
17
17
|
items: T[];
|
|
@@ -44,10 +44,10 @@
|
|
|
44
44
|
<script setup lang="ts">
|
|
45
45
|
import type { ButtonSizes, ButtonThemes, IChipsItem, IFilterScheme, ISelectItem } from '../../types';
|
|
46
46
|
import type { LocationQuery } from '#vue-router';
|
|
47
|
-
import { parseFilterCategories } from '
|
|
48
|
-
import { parseCategoryFilterValues } from '
|
|
49
|
-
import { getActiveFilterValues } from '
|
|
50
|
-
import { buildFilterQuery } from '
|
|
47
|
+
import { parseFilterCategories } from '../../utils/parse-filter-categories';
|
|
48
|
+
import { parseCategoryFilterValues } from '../../utils/filter-main/parse-category-filter-values';
|
|
49
|
+
import { getActiveFilterValues } from '../../utils/filter-main/get-active-filter-values';
|
|
50
|
+
import { buildFilterQuery } from '../../utils/filter-main/build-filter-query';
|
|
51
51
|
|
|
52
52
|
const props = defineProps<{
|
|
53
53
|
scheme: IFilterScheme[]
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
<script setup lang="ts">
|
|
51
51
|
import type { IModelFilter } from '../../types';
|
|
52
52
|
import type { LocationQuery } from '#vue-router';
|
|
53
|
-
import { sortFilterRadioOptions } from '
|
|
53
|
+
import { sortFilterRadioOptions } from '../../utils/sort-filter-radio-options';
|
|
54
54
|
|
|
55
55
|
const HEIGHT_FILTER_NAMES = ['height_cm', 'height_in'];
|
|
56
56
|
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
<script setup lang="ts">
|
|
53
53
|
import type { IChipsItem, IModelCard, IModelFilter, PaginatedResponse } from '../../types';
|
|
54
54
|
import type { LocationQuery } from '#vue-router';
|
|
55
|
-
import { getSortedFilterGroups } from '
|
|
55
|
+
import { getSortedFilterGroups } from '../../utils/get-sorted-filter-groups';
|
|
56
56
|
|
|
57
57
|
const props = defineProps<{
|
|
58
58
|
data: PaginatedResponse<IModelCard>,
|
|
@@ -73,8 +73,8 @@
|
|
|
73
73
|
import type { IModelFilter } from '../../types';
|
|
74
74
|
|
|
75
75
|
import { useRoute, useRouter } from 'vue-router';
|
|
76
|
-
import { sortFilterRadioOptions } from '
|
|
77
|
-
import { getSortedFilterGroups } from '
|
|
76
|
+
import { sortFilterRadioOptions } from '../../utils/sort-filter-radio-options';
|
|
77
|
+
import { getSortedFilterGroups } from '../../utils/get-sorted-filter-groups';
|
|
78
78
|
|
|
79
79
|
const props = defineProps<{
|
|
80
80
|
filters: IModelFilter[]
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
import type { IModelFilter, IModelFilterOptions } from '../../types';
|
|
34
34
|
import type { LocationQuery } from '#vue-router';
|
|
35
35
|
import { useRoute, useRouter } from '#vue-router';
|
|
36
|
-
import { getSliderRangeInfo } from '
|
|
37
|
-
import { buildRangeFilterQuery } from '
|
|
36
|
+
import { getSliderRangeInfo } from '../../utils/filter-slider/get-slider-range-info';
|
|
37
|
+
import { buildRangeFilterQuery } from '../../utils/filter-slider/build-range-filter-query';
|
|
38
38
|
|
|
39
39
|
const props = defineProps<{
|
|
40
40
|
item: IModelFilter
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
|
|
10
10
|
<script setup lang="ts">
|
|
11
11
|
import type { IChipsItem, ISelectItem, IFilterScheme } from '../../types';
|
|
12
|
-
import { parseFilterCategories } from '
|
|
12
|
+
import { parseFilterCategories } from '../../utils/parse-filter-categories';
|
|
13
13
|
|
|
14
14
|
const route = useRoute();
|
|
15
15
|
const router = useRouter();
|
package/components/info/main.vue
CHANGED
|
@@ -136,7 +136,7 @@ import type {
|
|
|
136
136
|
ICategoryCard
|
|
137
137
|
} from '../../types';
|
|
138
138
|
import { AuthorizationApiService } from '../../services/api/authorization.service';
|
|
139
|
-
import { groupParametersByGroup } from '
|
|
139
|
+
import { groupParametersByGroup } from '../../utils/info-main/group-parameters-by-group';
|
|
140
140
|
|
|
141
141
|
const { t } = useI18n();
|
|
142
142
|
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
import { AuthSteps } from '../../runtime';
|
|
79
79
|
import { onClickOutside } from '@vueuse/core';
|
|
80
80
|
import { AuthorizationApiService } from '../../services/api/authorization.service';
|
|
81
|
-
import { isoCodeMap } from '
|
|
81
|
+
import { isoCodeMap } from '../../utils/iso-code-map';
|
|
82
82
|
|
|
83
83
|
const clientCountryCode = useState<string>('clientCountryCode', () => '');
|
|
84
84
|
const clientCountryIcon = computed(() => {
|
|
@@ -96,7 +96,7 @@
|
|
|
96
96
|
|
|
97
97
|
<script setup lang="ts">
|
|
98
98
|
import type { ISelectItem } from '../../types';
|
|
99
|
-
import { isoCodeMap } from '
|
|
99
|
+
import { isoCodeMap } from '../../utils/iso-code-map';
|
|
100
100
|
import { DictionariesApiService } from '../../services/api/dictionaries.service';
|
|
101
101
|
|
|
102
102
|
const { locale, locales } = useI18n();
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
<script setup lang="ts">
|
|
36
36
|
import { convertString, AuthSteps } from '../../runtime';
|
|
37
37
|
import { AuthorizationApiService } from '../../services/api/authorization.service';
|
|
38
|
-
import { getNameInitials } from '
|
|
38
|
+
import { getNameInitials } from '../../utils/player-channel/get-name-initials';
|
|
39
39
|
|
|
40
40
|
const props = defineProps<{
|
|
41
41
|
name: string
|
|
@@ -47,8 +47,8 @@
|
|
|
47
47
|
<script setup lang="ts">
|
|
48
48
|
import { VideosApiService } from '../../services/api/videos.service';
|
|
49
49
|
import { PlaylistsApiService } from '../../services/api/playlists.service';
|
|
50
|
-
import { applyReaction } from '
|
|
51
|
-
import { getReactionPercents } from '
|
|
50
|
+
import { applyReaction } from '../../utils/player-like/apply-reaction';
|
|
51
|
+
import { getReactionPercents } from '../../utils/player-like/get-reaction-percents';
|
|
52
52
|
|
|
53
53
|
const { t } = useI18n();
|
|
54
54
|
|
|
@@ -105,7 +105,7 @@
|
|
|
105
105
|
<script setup lang="ts">
|
|
106
106
|
import type { IModelCard } from '../../types';
|
|
107
107
|
import { AsyncData } from '../../runtime';
|
|
108
|
-
import { buildSearchTabs } from '
|
|
108
|
+
import { buildSearchTabs } from '../../utils/search-result/build-search-tabs';
|
|
109
109
|
import { SearchApiService } from '../../services/api/search.service';
|
|
110
110
|
import { ModelsApiService } from '../../services/api/models.service';
|
|
111
111
|
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
</template>
|
|
23
23
|
|
|
24
24
|
<script setup lang="ts">
|
|
25
|
-
import { splitTextByKeywordLinks } from '
|
|
25
|
+
import { splitTextByKeywordLinks } from '../../utils/section-seo-text/split-text-by-keyword-links';
|
|
26
26
|
|
|
27
27
|
const props = defineProps<{
|
|
28
28
|
text?: string
|
|
@@ -115,8 +115,8 @@
|
|
|
115
115
|
<script setup lang="ts">
|
|
116
116
|
// не забыват проставлять key на компоненте для переинициализации и отслеживания props.total чтобы пересчитывалось правильное сео
|
|
117
117
|
import type { ButtonThemes } from '../../types';
|
|
118
|
-
import { getPaginationNumbers } from '
|
|
119
|
-
import { getPaginationLink } from '
|
|
118
|
+
import { getPaginationNumbers } from '../../utils/ui-pagination/get-pagination-numbers';
|
|
119
|
+
import { getPaginationLink } from '../../utils/ui-pagination/get-pagination-link';
|
|
120
120
|
|
|
121
121
|
const props = withDefaults(defineProps<{
|
|
122
122
|
prefix?: string
|