Skip to content

Commit

Permalink
fix: remove skeleton-loading
Browse files Browse the repository at this point in the history
  • Loading branch information
acnormun committed May 7, 2024
1 parent 08d19ba commit 0887686
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 28 deletions.
4 changes: 1 addition & 3 deletions src/components/config/bi_tools/power_bi/Config.vue
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
</unnnic-toolTip>
</template>
</unnnic-data-area>
<skeleton-loading v-else tag="div" width="100%" height="6rem" />
<unnnic-skeleton-loading v-else tag="div" width="100%" height="6rem" />

<div class="app-config-power-bi__content__download">
<unnnic-label
Expand Down Expand Up @@ -96,11 +96,9 @@
import PowerBiIcon from '@/assets/logos/power_bi.png';
import { mapState, mapActions } from 'pinia';
import { auth_store } from '@/stores/modules/auth.store';
import skeletonLoading from '@/components/Skeleton/SkeletonLoading.vue';
export default {
name: 'PowerBiConfig',
components: { skeletonLoading },
props: {
app: {
type: Object,
Expand Down
4 changes: 1 addition & 3 deletions src/components/config/channels/generic/Config.vue
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
:inputs="appFormInputs"
@input="updateInputs"
/>
<skeleton-loading
<unnnic-skeleton-loading
v-else
class="app-config-generic__settings__content__form-loading"
tag="div"
Expand Down Expand Up @@ -82,13 +82,11 @@
import DynamicForm from '@/components/config/DynamicForm.vue';
import { app_type } from '@/stores/modules/appType/appType.store';
import { generic_store } from '@/stores/modules/appType/channels/generic.store';
import skeletonLoading from '@/components/Skeleton/SkeletonLoading.vue';
export default {
name: 'generic-config',
components: {
DynamicForm,
skeletonLoading,
},
props: {
app: {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,32 +1,39 @@
<template>
<div class="profile-loading">
<skeleton-loading class="profile-loading__title" tag="div" width="20%" height="22px" />
<skeleton-loading class="profile-loading__upload" tag="div" width="100%" height="160px" />
<skeleton-loading class="profile-loading__title" tag="div" width="20%" height="22px" />
<skeleton-loading class="profile-loading__desc" tag="div" width="100%" height="48px" />
<skeleton-loading class="profile-loading__title" tag="div" width="20%" height="22px" />
<skeleton-loading class="profile-loading__company" tag="div" width="100%" height="48px" />
<skeleton-loading class="profile-loading__title" tag="div" width="20%" height="22px" />
<unnnic-skeleton-loading class="profile-loading__title" tag="div" width="20%" height="22px" />
<unnnic-skeleton-loading
class="profile-loading__upload"
tag="div"
width="100%"
height="160px"
/>
<unnnic-skeleton-loading class="profile-loading__title" tag="div" width="20%" height="22px" />
<unnnic-skeleton-loading class="profile-loading__desc" tag="div" width="100%" height="48px" />
<unnnic-skeleton-loading class="profile-loading__title" tag="div" width="20%" height="22px" />
<unnnic-skeleton-loading
class="profile-loading__company"
tag="div"
width="100%"
height="48px"
/>
<unnnic-skeleton-loading class="profile-loading__title" tag="div" width="20%" height="22px" />
<div class="profile-loading__websites">
<skeleton-loading tag="div" width="100%" height="48px" />
<skeleton-loading tag="div" width="100%" height="48px" />
<unnnic-skeleton-loading tag="div" width="100%" height="48px" />
<unnnic-skeleton-loading tag="div" width="100%" height="48px" />
</div>
<skeleton-loading class="profile-loading__title" tag="div" width="20%" height="22px" />
<unnnic-skeleton-loading class="profile-loading__title" tag="div" width="20%" height="22px" />
<div class="profile-loading__email">
<skeleton-loading tag="div" width="100%" height="48px" />
<unnnic-skeleton-loading tag="div" width="100%" height="48px" />
</div>
<skeleton-loading class="profile-loading__title" tag="div" width="20%" height="22px" />
<unnnic-skeleton-loading class="profile-loading__title" tag="div" width="20%" height="22px" />
<div class="profile-loading__address">
<skeleton-loading tag="div" width="100%" height="48px" />
<unnnic-skeleton-loading tag="div" width="100%" height="48px" />
</div>
</div>
</template>

<script>
import skeletonLoading from '@/components/Skeleton/SkeletonLoading.vue';
export default {
components: { skeletonLoading },
};
export default {};
</script>

<style lang="scss" scoped>
Expand Down
5 changes: 0 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4192,11 +4192,6 @@ picomatch@^2.0.4, picomatch@^2.2.1, picomatch@^2.2.3, picomatch@^2.3.1:
resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.3.1.tgz#3ba3833733646d9d3e4995946c1365a67fb07a42"
integrity sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==

pinia-plugin-persistedstate@^3.2.1:
version "3.2.1"
resolved "https://registry.yarnpkg.com/pinia-plugin-persistedstate/-/pinia-plugin-persistedstate-3.2.1.tgz#66780602aecd6c7b152dd7e3ddc249a1f7a13fe5"
integrity sha512-MK++8LRUsGF7r45PjBFES82ISnPzyO6IZx3CH5vyPseFLZCk1g2kgx6l/nW8pEBKxxd4do0P6bJw+mUSZIEZUQ==

pinia@^2.1.7:
version "2.1.7"
resolved "https://registry.yarnpkg.com/pinia/-/pinia-2.1.7.tgz#4cf5420d9324ca00b7b4984d3fbf693222115bbc"
Expand Down

0 comments on commit 0887686

Please sign in to comment.