feeds-fun 1.16.5 → 1.17.0
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/package.json +1 -1
- package/src/components/DiscoveryForm.vue +3 -5
- package/src/components/EntriesList.vue +1 -11
- package/src/components/EntryForList.vue +54 -67
- package/src/components/FeedForList.vue +29 -64
- package/src/components/FeedInfo.vue +12 -14
- package/src/components/FeedsList.vue +2 -1
- package/src/components/OPMLUpload.vue +3 -3
- package/src/components/RuleConstructor.vue +12 -6
- package/src/components/RuleForList.vue +25 -24
- package/src/components/RulesList.vue +2 -1
- package/src/components/SimplePagination.vue +2 -2
- package/src/components/SupertokensLogin.vue +5 -6
- package/src/components/UserSetting.vue +7 -12
- package/src/components/UserSettingForNotification.vue +4 -3
- package/src/components/body_list/EntryBody.vue +43 -0
- package/src/components/body_list/FaviconColumn.vue +24 -0
- package/src/components/body_list/ReverseTimeColumn.vue +28 -0
- package/src/components/collections/Block.vue +1 -1
- package/src/components/collections/BlockItem.vue +4 -3
- package/src/components/collections/DetailedItem.vue +4 -10
- package/src/components/collections/FeedItem.vue +31 -24
- package/src/components/collections/Notification.vue +6 -8
- package/src/components/collections/SubscribingProgress.vue +14 -17
- package/src/components/collections/Warning.vue +36 -38
- package/src/components/main/Block.vue +5 -0
- package/src/components/main/Description.vue +51 -0
- package/src/components/main/HeaderLine.vue +7 -0
- package/src/components/main/Item.vue +27 -0
- package/src/components/main/NewsTitle.vue +26 -0
- package/src/components/notifications/ApiKey.vue +14 -5
- package/src/components/notifications/CreateRuleHelp.vue +10 -11
- package/src/components/page_header/ExternalLinks.vue +58 -0
- package/src/components/tags/Base.vue +28 -0
- package/src/components/tags/EntryTag.vue +73 -0
- package/src/components/{TagsList.vue → tags/EntryTagsList.vue} +8 -9
- package/src/components/tags/FakeTag.vue +35 -0
- package/src/components/tags/FilterTag.vue +114 -0
- package/src/components/tags/RuleTag.vue +67 -0
- package/src/components/{TagsFilter.vue → tags/TagsFilter.vue} +13 -7
- package/src/css/base.css +38 -0
- package/src/css/inputs.css +49 -0
- package/src/css/page_header.css +34 -0
- package/src/css/panels.css +49 -0
- package/src/css/side_panel_layout.css +34 -0
- package/src/css/tags.css +44 -0
- package/src/layouts/SidePanelLayout.vue +35 -91
- package/src/layouts/WideLayout.vue +5 -17
- package/src/logic/events.ts +23 -0
- package/src/logic/tagsFilterState.ts +14 -6
- package/src/logic/types.ts +16 -7
- package/src/logic/utils.ts +29 -0
- package/src/main.ts +42 -10
- package/src/style.css +10 -100
- package/src/values/DateTime.vue +1 -1
- package/src/values/{URL.vue → ExternalUrl.vue} +7 -6
- package/src/views/CollectionsView.vue +3 -6
- package/src/views/DiscoveryView.vue +9 -11
- package/src/views/FeedsView.vue +3 -2
- package/src/views/MainView.vue +189 -44
- package/src/views/NewsView.vue +2 -1
- package/src/views/RulesView.vue +6 -3
- package/src/views/SettingsView.vue +92 -33
- package/src/components/FfunTag.vue +0 -122
- package/src/inputs/Marker.vue +0 -54
package/src/inputs/Marker.vue
DELETED
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div>
|
|
3
|
-
<template v-if="hasMarker">
|
|
4
|
-
<a
|
|
5
|
-
href="#"
|
|
6
|
-
@click.prevent="unmark()">
|
|
7
|
-
<slot name="marked" />
|
|
8
|
-
</a>
|
|
9
|
-
</template>
|
|
10
|
-
|
|
11
|
-
<template v-else>
|
|
12
|
-
<a
|
|
13
|
-
href="#"
|
|
14
|
-
@click.prevent="mark()">
|
|
15
|
-
<slot name="unmarked" />
|
|
16
|
-
</a>
|
|
17
|
-
</template>
|
|
18
|
-
</div>
|
|
19
|
-
</template>
|
|
20
|
-
|
|
21
|
-
<script lang="ts" setup>
|
|
22
|
-
import {computed, ref} from "vue";
|
|
23
|
-
import * as api from "@/logic/api";
|
|
24
|
-
import * as e from "@/logic/enums";
|
|
25
|
-
import type * as t from "@/logic/types";
|
|
26
|
-
import {useEntriesStore} from "@/stores/entries";
|
|
27
|
-
|
|
28
|
-
const entriesStore = useEntriesStore();
|
|
29
|
-
|
|
30
|
-
const properties = defineProps<{
|
|
31
|
-
marker: e.Marker;
|
|
32
|
-
entryId: t.EntryId;
|
|
33
|
-
}>();
|
|
34
|
-
|
|
35
|
-
const hasMarker = computed(() => {
|
|
36
|
-
return entriesStore.entries[properties.entryId].hasMarker(properties.marker);
|
|
37
|
-
});
|
|
38
|
-
|
|
39
|
-
async function mark() {
|
|
40
|
-
await entriesStore.setMarker({
|
|
41
|
-
entryId: properties.entryId,
|
|
42
|
-
marker: properties.marker
|
|
43
|
-
});
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
async function unmark() {
|
|
47
|
-
await entriesStore.removeMarker({
|
|
48
|
-
entryId: properties.entryId,
|
|
49
|
-
marker: properties.marker
|
|
50
|
-
});
|
|
51
|
-
}
|
|
52
|
-
</script>
|
|
53
|
-
|
|
54
|
-
<style scoped></style>
|