@lancom/shared 0.0.252 → 0.0.255

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.
@@ -2,11 +2,11 @@
2
2
  <div class="CartEntity__wrapper">
3
3
  <div class="CartEntity__info">
4
4
  <div class="lc_title">
5
- <nuxt-link
5
+ <a
6
6
  class="CartEntity__link"
7
- :to="productLink">
7
+ :href="productLink">
8
8
  {{ product.name }}
9
- </nuxt-link>
9
+ </a>
10
10
  </div>
11
11
  <div
12
12
  v-if="product.sameDayDispatch"
@@ -15,11 +15,11 @@
15
15
  <span class="CartEntity__same-day-dispatch"></span>
16
16
  <span>
17
17
  This product qualifies for same day dispatch.
18
- <nuxt-link
18
+ <a
19
19
  class="lc_black"
20
- to="/faq?group=delivery&id=636f6b3fc305bd0304700d1f">
20
+ href="/faq?group=delivery&id=636f6b3fc305bd0304700d1f">
21
21
  read more
22
- </nuxt-link>
22
+ </a>
23
23
  </span>
24
24
  </div>
25
25
  </div>
@@ -3,11 +3,11 @@
3
3
  v-if="hasBreadcrumbs"
4
4
  class="Breadcrumbs__wrapper">
5
5
  <div class="Breadcrumbs__item-wrapper">
6
- <nuxt-link
6
+ <a
7
7
  class="Breadcrumbs__item"
8
- to="/">
8
+ href="/">
9
9
  Home
10
- </nuxt-link>
10
+ </a>
11
11
  <span class="Breadcrumbs__divider">
12
12
  {{ divider }}
13
13
  </span>
@@ -16,12 +16,12 @@
16
16
  v-for="(item, index) in items"
17
17
  :key="index"
18
18
  class="Breadcrumbs__item-wrapper">
19
- <nuxt-link
19
+ <a
20
20
  v-if="item.to"
21
21
  class="Breadcrumbs__item"
22
- :to="item.to">
22
+ :href="item.to">
23
23
  {{ item.text }}
24
- </nuxt-link>
24
+ </a>
25
25
  <span
26
26
  v-else
27
27
  class="Breadcrumbs__item">
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <component
3
- :is="to ? 'nuxt-link' : (btnType || btnTag || 'div')"
3
+ :is="to ? 'a' : (btnType || btnTag || 'div')"
4
4
  :type="btnType"
5
5
  class="Btn__wrapper"
6
6
  :class="{
@@ -12,7 +12,7 @@
12
12
  'icon-after': $slots['icon-after'],
13
13
  icon: $slots.icon
14
14
  }"
15
- :to="to"
15
+ :href="to"
16
16
  @click.stop="$emit('onclick');">
17
17
  <transition name="scale" mode="out-in" appear>
18
18
  <div
@@ -68,11 +68,11 @@
68
68
  </validation-provider>
69
69
  </div>
70
70
  </div>
71
- <nuxt-link
72
- to="/customer/recovery"
71
+ <a
72
+ href="/customer/recovery"
73
73
  class="SignInFrom__recovery">
74
74
  Forgot Password?
75
- </nuxt-link>
75
+ </a>
76
76
  </div>
77
77
  <div class="form__footer">
78
78
  <div
@@ -13,11 +13,11 @@
13
13
  The link you clicked on may be broken or no longer exist.
14
14
  </p>
15
15
  <div class="mt-10">
16
- <nuxt-link
17
- to="/"
16
+ <a
17
+ href="/"
18
18
  class="form-button btn-green">
19
19
  Home page
20
- </nuxt-link>
20
+ </a>
21
21
  </div>
22
22
  </div>
23
23
  </template>
@@ -13,11 +13,11 @@
13
13
  Internal Server Error
14
14
  </p>
15
15
  <div class="mt-10">
16
- <nuxt-link
17
- to="/"
16
+ <a
17
+ href="/"
18
18
  class="form-button btn-green">
19
19
  Home page
20
- </nuxt-link>
20
+ </a>
21
21
  </div>
22
22
  </div>
23
23
  </template>
@@ -2,20 +2,20 @@
2
2
  <article
3
3
  class="NewsListItem__wrapper"
4
4
  :style="{ backgroundImage }">
5
- <nuxt-link
5
+ <a
6
6
  class="NewsListItem__overlay"
7
- :to="{ path: linkToNews }"
8
- :title="item.title"></nuxt-link>
7
+ :href="linkToNews"
8
+ :title="item.title"></a>
9
9
  <div class="NewsListItem__info">
10
10
  <template v-if="!item.isHiddenThumbLink">
11
11
  <h3>
12
- <nuxt-link
13
- :to="{ path: linkToNews }"
12
+ <a
13
+ :href="linkToNews"
14
14
  class="NewsListItem__link"
15
15
  :style="{ color: item.color }"
16
16
  :title="item.title">
17
17
  {{ item.title }}
18
- </nuxt-link>
18
+ </a>
19
19
  </h3>
20
20
  <div
21
21
  class="NewsListItem__text"
@@ -29,12 +29,12 @@
29
29
  {{ item.createdAt | date }}
30
30
  </div>
31
31
  </div>
32
- <nuxt-link
33
- :to="{ path: linkToNews }"
32
+ <a
33
+ :href="linkToNews"
34
34
  class="NewsListItem__more"
35
35
  :title="item.title">
36
36
  <span>Read More</span>
37
- </nuxt-link>
37
+ </a>
38
38
  </article>
39
39
  </template>
40
40
 
@@ -29,11 +29,11 @@
29
29
  </div>
30
30
  <div class="PricingExample__faq-link-container">
31
31
  Check our
32
- <nuxt-link
33
- to="/faq?group=pricing&id=1"
32
+ <a
33
+ href="/faq?group=pricing&id=1"
34
34
  class="PricingExample__faq-link">
35
35
  Pricing FAQ
36
- </nuxt-link>
36
+ </a>
37
37
  </div>
38
38
  </div>
39
39
  <div
@@ -1,18 +1,18 @@
1
1
  <template>
2
2
  <div
3
3
  class="PrintedProductImage__wrapper">
4
- <nuxt-link
5
- :to="imageLink"
4
+ <a
5
+ :href="imageLink"
6
6
  class="PrintedProductImage__link">
7
7
  <div
8
8
  v-if="productСover"
9
9
  class="PrintedProductImage__link-cover"
10
10
  :style="productСoverBg"></div>
11
- </nuxt-link>
11
+ </a>
12
12
  <div class="PrintedProductImage__content">
13
- <nuxt-link :to="imageLink">
13
+ <a :href="imageLink">
14
14
  {{ image.description }}
15
- </nuxt-link>
15
+ </a>
16
16
  </div>
17
17
  </div>
18
18
  </template>
@@ -4,8 +4,8 @@
4
4
  :class="{
5
5
  'ProductListProduct__wrapper--full': full,
6
6
  }">
7
- <nuxt-link
8
- :to="productLink"
7
+ <a
8
+ :href="productLink"
9
9
  class="ProductListProduct__link">
10
10
  <img
11
11
  v-if="productBrand"
@@ -38,10 +38,10 @@
38
38
  <div class="ProductListProduct__gender">
39
39
  <span>{{ product.gender }}</span>
40
40
  </div>
41
- </nuxt-link>
41
+ </a>
42
42
  <div class="ProductListProduct__info">
43
43
  <div class="ProductListProduct__info-item">
44
- <nuxt-link :to="productLink" class="lc_h4 row">
44
+ <a :href="productLink" class="lc_h4 row">
45
45
  <div>
46
46
  <v-popover trigger="hover">
47
47
  <span class="ProductListProduct__info-name">
@@ -55,7 +55,7 @@
55
55
  <div>
56
56
  | {{ product.SKU }}
57
57
  </div>
58
- </nuxt-link>
58
+ </a>
59
59
  </div>
60
60
  <div
61
61
  v-if="product.minPrice === product.maxPrice"
@@ -1,14 +1,14 @@
1
1
  <template>
2
2
  <div class="ProductListProductPlaceholder__wrapper">
3
- <nuxt-link
4
- :to="productLink"
3
+ <a
4
+ :href="productLink"
5
5
  class="ProductListProductPlaceholder__link">
6
6
  <span class="ProductListProductPlaceholder__image"></span>
7
7
  <span class="ProductListProductPlaceholder__info ProductListProductPlaceholder__info--large"></span>
8
8
  <span class="ProductListProductPlaceholder__info ProductListProductPlaceholder__info--medium"></span>
9
9
  <span class="ProductListProductPlaceholder__info ProductListProductPlaceholder__info--small"></span>
10
10
  {{ product.name }}
11
- </nuxt-link>
11
+ </a>
12
12
  </div>
13
13
  </template>
14
14
 
@@ -28,11 +28,11 @@
28
28
  </div>
29
29
  <div v-if="hasProducts">
30
30
  <div class="ProductsAutocomplete__result-item">
31
- <nuxt-link
31
+ <a
32
32
  class="ProductsAutocomplete__result-item-all"
33
- :to="fullSearchLink">
33
+ :href="fullSearchLink">
34
34
  click to see all results
35
- </nuxt-link>
35
+ </a>
36
36
  </div>
37
37
  <products-autocomplete-item
38
38
  v-for="product of products"
@@ -1,10 +1,10 @@
1
1
  <template>
2
2
  <div @click="$emit('select', product)">
3
- <nuxt-link
4
- :to="productLink"
3
+ <a
4
+ :href="productLink"
5
5
  class="ProductListProduct__link">
6
6
  {{ product.SKU }} - {{ product.name }}
7
- </nuxt-link>
7
+ </a>
8
8
  </div>
9
9
  </template>
10
10
 
@@ -1,10 +1,10 @@
1
1
  <template>
2
- <nuxt-link
3
- :to="link"
2
+ <a
3
+ :href="link"
4
4
  class="ProductsLink"
5
5
  rel=”nofollow”>
6
6
  <slot></slot>
7
- </nuxt-link>
7
+ </a>
8
8
  </template>
9
9
 
10
10
  <script>
@@ -8,8 +8,8 @@
8
8
  :class="{
9
9
  'ProductsTypes__item--active': type.alias === currentType
10
10
  }">
11
- <nuxt-link
12
- :to="`/products${type.alias === currentType ? '' : `/${type.alias}`}`"
11
+ <a
12
+ :href="`/products${type.alias === currentType ? '' : `/${type.alias}`}`"
13
13
  class="ProductsTypes__more">
14
14
  <checked-icon
15
15
  v-if="hasSelectedIcon"
@@ -25,7 +25,7 @@
25
25
  v-else-if="hasThumbs"
26
26
  :class="`icon-${type.alias}`"></i>
27
27
  {{ type.name }}
28
- </nuxt-link>
28
+ </a>
29
29
  </div>
30
30
  </toggle-content>
31
31
  </div>
@@ -6,12 +6,12 @@
6
6
  class="lc_title">
7
7
  {{ product.SKU }}
8
8
  </div>
9
- <nuxt-link
9
+ <a
10
10
  v-else
11
11
  class="QuoteViewProduct__link lc_title"
12
- :to="productLink">
12
+ :href="productLink">
13
13
  {{ product.product.name }}
14
- </nuxt-link>
14
+ </a>
15
15
  <div
16
16
  v-if="!product.isCustom"
17
17
  class="QuoteViewProduct__features">
@@ -12,11 +12,11 @@
12
12
  :key="i"
13
13
  class="TheBreadcrumbs__step lc_regular14"
14
14
  :class="item.classes">
15
- <nuxt-link
15
+ <a
16
16
  v-if="item.path"
17
- :to="item.path">
17
+ :href="item.path">
18
18
  {{ item.name }}
19
- </nuxt-link>
19
+ </a>
20
20
  <span v-else>
21
21
  {{ item.name }}
22
22
  </span>
@@ -4,11 +4,11 @@
4
4
  <div class="row">
5
5
  <div class="col-sm-4 col-12">
6
6
  <div class="TheFooter__col--left">
7
- <nuxt-link to="/">
7
+ <a href="/">
8
8
  <img
9
9
  class="TheFooter__logo"
10
10
  src="~static/images/logo.svg" />
11
- </nuxt-link>
11
+ </a>
12
12
  <div class="TheFooter__payment-methods">
13
13
  <span class="TheFooter__payment-methods-label">
14
14
  Payment methods we accept:
@@ -29,22 +29,22 @@
29
29
  <div class="TheFooter__nav-wrapper">
30
30
  <ul class="TheFooter__nav">
31
31
  <li>
32
- <nuxt-link
33
- to="/pricing"
32
+ <a
33
+ href="/pricing"
34
34
  active-class="active"
35
35
  class="TheFooter__nav-item">
36
36
  Pricing
37
- </nuxt-link>
37
+ </a>
38
38
  </li>
39
39
  </ul>
40
40
  <ul class="TheFooter__nav">
41
41
  <li>
42
- <nuxt-link
43
- to="/faq"
42
+ <a
43
+ href="/faq"
44
44
  active-class="active"
45
45
  class="TheFooter__nav-item">
46
46
  FAQ
47
- </nuxt-link>
47
+ </a>
48
48
  </li>
49
49
  </ul>
50
50
  </div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lancom/shared",
3
- "version": "0.0.252",
3
+ "version": "0.0.255",
4
4
  "description": "lancom common scripts",
5
5
  "author": "e.tokovenko <e.tokovenko@gmail.com>",
6
6
  "repository": {