Browse Source

fix: explicitly name all our components to avoid some of the warnings for build:web:serve ...

appears the last warning may be inside Vue itself.  Leaving this alone for now.
pull/142/head
Matthew Raymer 1 week ago
parent
commit
3a1fe31d39
  1. 2
      android/build.gradle
  2. 2
      src/components/AmountInput.vue
  3. 2
      src/components/ChoiceButtonDialog.vue
  4. 2
      src/components/ContactNameDialog.vue
  5. 2
      src/components/EntityIcon.vue
  6. 2
      src/components/HiddenDidDialog.vue
  7. 2
      src/components/InfiniteScroll.vue
  8. 2
      src/components/InviteDialog.vue
  9. 2
      src/components/ProjectIcon.vue
  10. 2
      src/components/QuickNav.vue
  11. 2
      src/components/ShowAllCard.vue
  12. 1
      src/views/ContactsView.vue
  13. 1
      src/views/DIDView.vue
  14. 1
      src/views/DiscoverView.vue
  15. 1
      src/views/HomeView.vue
  16. 1
      src/views/ProjectsView.vue

2
android/build.gradle

@ -7,7 +7,7 @@ buildscript {
mavenCentral() mavenCentral()
} }
dependencies { dependencies {
classpath 'com.android.tools.build:gradle:8.11.0' classpath 'com.android.tools.build:gradle:8.11.1'
classpath 'com.google.gms:google-services:4.4.0' classpath 'com.google.gms:google-services:4.4.0'
// NOTE: Do not place your application dependencies here; they belong // NOTE: Do not place your application dependencies here; they belong

2
src/components/AmountInput.vue

@ -50,7 +50,7 @@ import { logger } from "@/utils/logger";
* - Function props for parent control over validation and updates * - Function props for parent control over validation and updates
* - Maintains v-model compatibility through onUpdateValue function prop * - Maintains v-model compatibility through onUpdateValue function prop
*/ */
@Component @Component({ name: "AmountInput" })
export default class AmountInput extends Vue { export default class AmountInput extends Vue {
/** Current numeric value */ /** Current numeric value */
@Prop({ required: true }) @Prop({ required: true })

2
src/components/ChoiceButtonDialog.vue

@ -78,7 +78,7 @@ import { createNotifyHelpers, TIMEOUTS } from "@/utils/notify";
* - Responsive design with proper z-indexing * - Responsive design with proper z-indexing
* - Smooth enter/leave animations * - Smooth enter/leave animations
*/ */
@Component @Component({ name: "ChoiceButtonDialog" })
export default class PromptDialog extends Vue { export default class PromptDialog extends Vue {
$notify!: (notification: unknown, timeout?: number) => void; $notify!: (notification: unknown, timeout?: number) => void;
notify!: ReturnType<typeof createNotifyHelpers>; notify!: ReturnType<typeof createNotifyHelpers>;

2
src/components/ContactNameDialog.vue

@ -52,7 +52,7 @@ import { Vue, Component } from "vue-facing-decorator";
* - Customizable title and message * - Customizable title and message
* - Default value support * - Default value support
*/ */
@Component @Component({ name: "ContactNameDialog" })
export default class ContactNameDialog extends Vue { export default class ContactNameDialog extends Vue {
cancelCallback: () => void = () => {}; cancelCallback: () => void = () => {};
saveCallback: (name?: string) => void = () => {}; saveCallback: (name?: string) => void = () => {};

2
src/components/EntityIcon.vue

@ -23,7 +23,7 @@ import blankSquareSvg from "../assets/blank-square.svg";
* Generates icons using profile images or DiceBear avatars with * Generates icons using profile images or DiceBear avatars with
* proper CORS handling and fallback mechanisms. * proper CORS handling and fallback mechanisms.
*/ */
@Component @Component({ name: "EntityIcon" })
export default class EntityIcon extends Vue { export default class EntityIcon extends Vue {
/** Contact object containing profile information */ /** Contact object containing profile information */
@Prop() @Prop()

2
src/components/HiddenDidDialog.vue

@ -122,7 +122,7 @@ import { createNotifyHelpers } from "@/utils/notify";
import { TIMEOUTS } from "@/utils/notify"; import { TIMEOUTS } from "@/utils/notify";
import { NOTIFY_COPIED_TO_CLIPBOARD } from "@/constants/notifications"; import { NOTIFY_COPIED_TO_CLIPBOARD } from "@/constants/notifications";
@Component @Component({ name: "HiddenDidDialog" })
export default class HiddenDidDialog extends Vue { export default class HiddenDidDialog extends Vue {
$notify!: (notification: NotificationIface, timeout?: number) => void; $notify!: (notification: NotificationIface, timeout?: number) => void;
notify!: ReturnType<typeof createNotifyHelpers>; notify!: ReturnType<typeof createNotifyHelpers>;

2
src/components/InfiniteScroll.vue

@ -34,7 +34,7 @@ import { Component, Emit, Prop, Vue } from "vue-facing-decorator";
* Events: * Events:
* - reached-bottom: Emitted when the user scrolls near the bottom of the content * - reached-bottom: Emitted when the user scrolls near the bottom of the content
*/ */
@Component @Component({ name: "InfiniteScroll" })
export default class InfiniteScroll extends Vue { export default class InfiniteScroll extends Vue {
/** Distance in pixels from the bottom at which to trigger the reached-bottom event */ /** Distance in pixels from the bottom at which to trigger the reached-bottom event */
@Prop({ default: 200 }) @Prop({ default: 200 })

2
src/components/InviteDialog.vue

@ -50,7 +50,7 @@ import { Vue, Component } from "vue-facing-decorator";
import { NotificationIface } from "../constants/app"; import { NotificationIface } from "../constants/app";
@Component @Component({ name: "InviteDialog" })
export default class InviteDialog extends Vue { export default class InviteDialog extends Vue {
$notify!: (notification: NotificationIface, timeout?: number) => void; $notify!: (notification: NotificationIface, timeout?: number) => void;

2
src/components/ProjectIcon.vue

@ -26,7 +26,7 @@ const BLANK_CONFIG = {
backColor: "#0000", backColor: "#0000",
}; };
@Component @Component({ name: "ProjectIcon" })
export default class ProjectIcon extends Vue { export default class ProjectIcon extends Vue {
@Prop entityId = ""; @Prop entityId = "";
@Prop iconSize = 0; @Prop iconSize = 0;

2
src/components/QuickNav.vue

@ -111,7 +111,7 @@
<script lang="ts"> <script lang="ts">
import { Component, Vue, Prop } from "vue-facing-decorator"; import { Component, Vue, Prop } from "vue-facing-decorator";
@Component @Component({ name: "QuickNav" })
export default class QuickNav extends Vue { export default class QuickNav extends Vue {
@Prop selected = ""; @Prop selected = "";
} }

2
src/components/ShowAllCard.vue

@ -27,7 +27,7 @@ import { RouteLocationRaw } from "vue-router";
* - Maintains context through query parameters * - Maintains context through query parameters
* - Consistent visual styling with other cards * - Consistent visual styling with other cards
*/ */
@Component @Component({ name: "ShowAllCard" })
export default class ShowAllCard extends Vue { export default class ShowAllCard extends Vue {
/** Type of entities being shown */ /** Type of entities being shown */
@Prop({ required: true }) @Prop({ required: true })

1
src/views/ContactsView.vue

@ -218,6 +218,7 @@ import {
* @author Matthew Raymer * @author Matthew Raymer
*/ */
@Component({ @Component({
name: "ContactsView",
components: { components: {
GiftedDialog, GiftedDialog,
EntityIcon, EntityIcon,

1
src/views/DIDView.vue

@ -301,6 +301,7 @@ import {
* It provides infinite scrolling for claims and interactive controls for contact management. * It provides infinite scrolling for claims and interactive controls for contact management.
*/ */
@Component({ @Component({
name: "DIDView",
components: { components: {
EntityIcon, EntityIcon,
InfiniteScroll, InfiniteScroll,

1
src/views/DiscoverView.vue

@ -351,6 +351,7 @@ interface Tile {
} }
@Component({ @Component({
name: "DiscoverView",
components: { components: {
InfiniteScroll, InfiniteScroll,
LMap, LMap,

1
src/views/HomeView.vue

@ -378,6 +378,7 @@ interface FeedError {
* - ActivityListItem: Individual activity display * - ActivityListItem: Individual activity display
*/ */
@Component({ @Component({
name: "HomeView",
components: { components: {
EntityIcon, EntityIcon,
FeedFilters, FeedFilters,

1
src/views/ProjectsView.vue

@ -309,6 +309,7 @@ import {
* Privacy: Only user's own projects and offers are displayed * Privacy: Only user's own projects and offers are displayed
*/ */
@Component({ @Component({
name: "ProjectsView",
components: { components: {
EntityIcon, EntityIcon,
InfiniteScroll, InfiniteScroll,

Loading…
Cancel
Save