New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@tourstream/ibe-backpack

Package Overview
Dependencies
Maintainers
9
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tourstream/ibe-backpack - npm Package Compare versions

Comparing version 1.1.0-wlmb-177.1 to 1.1.0

.eslintrc.js

9

package.json
{
"name": "@tourstream/ibe-backpack",
"version": "1.1.0-wlmb-177.1",
"version": "1.1.0",
"description": "core frontend library",
"license": "UNLICENSED",
"license": "MIT",
"publishConfig": {

@@ -34,3 +34,3 @@ "access": "public"

"@vue/eslint-config-standard": "5.1.0",
"@vue/test-utils": "1.0.0-beta.30",
"@vue/test-utils": "1.0.0-beta.29",
"axios": "0.19.1",

@@ -70,4 +70,3 @@ "babel-core": "7.0.0-bridge.0",

],
"main": "./dist/backpack.common.js",
"homepage": "http://storage.googleapis.com/whitelabel-backpack/wlmb-177/index.html"
"main": "./dist/backpack.common.js"
}

@@ -8,3 +8,3 @@ Example Usage of a Card

The Card Body
<template slot="cardFooter">The Header</template>
<template slot="cardFooter">The Footer</template>
</card>

@@ -32,6 +32,7 @@ </template>

Usage complete Card
Usage of complete Card
```vue
<card>
<div slot="cardHeader">The Header</div>
<template slot="cardOverlay">This is an overlay over cardBody and cardFooter with some content explaining, why there is no interaction with this card.</template>
My Card Content

@@ -38,0 +39,0 @@ <div slot="cardFooter">The Footer</div>

@@ -1,3 +0,1 @@

<b>NOTE: still work in progress</b>
```vue

@@ -11,26 +9,38 @@ <wishlist-item :item="$store.state.wishlist.default.items[0]" style="max-width: 345px;" />

Availability of offer has expired:
```vue
<wishlist-item :item="$store.state.wishlist.default.items[2]" style="max-width: 345px;" />
```
### Data Structure
```json
{
"item": {
"createDate": "2019-11-28T15:09:24.775Z",
"giataId": 1787,
"recommendationSource": "tt",
"category": "3",
"name": "The Bugibba",
"region": "Malta - St.Paul´s (Bugibba, Qawra)",
"recommendation": 43,
"countReviews": 143,
"images": [
"http://cdn-prd.sonnenklar.tv/img/tt/320/240/05000/THB_999_H5728.jpg"
],
"linkToStep4Terminliste": "//www.sonnenklar.tv/suchen/Malta/id(tt-1787)/reiseart(pauschal)/zeitraum(25.11.2019-25.02.2020,beliebig)/personen(2,7,1)",
"travellers": {
"adults": 1,
"children": []
},
"travelType": "hotel"
}
"_id": "5e469a743cf0eb63cdbf9bb0",
"details": [
"sonnenklar.TV Ultra All Inclusive Paket (Wert: ca. € 340,- pro Zimmer/Aufenthalt)",
"Upgrade auf Doppelzimmer Meerblick (Wert: ca. € 85,- pro Zimmer/Woche)",
"1x Eintritt in den Oasis Park pro Person/Aufenthalt (Wert: € 70,- pro Zimmer/Aufenthalt)(gilt nicht für Aufenthalte im Juli und August)",
"sonnenklar.TV Ultra All Inclusive Paket (Wert: ca. € 340,- pro Zimmer/Aufenthalt)",
"Romantikpaket im Badehotel (Wert: ca. € 120,- pro DZ)"
],
"category": 0,
"expirationDate": "4020-01-23T22:59:59.000Z",
"id": 213924,
"idType": "order",
"images": [
"http://cdn-prd.sonnenklar.tv/img/g/400/300/16734/i18_51600149.jpg"
],
"name": "Villa Sonata",
"rating": 50,
"ratingProvider": "tt",
"region": "Türkei - Türkische Riviera - Alanya",
"type": "hotel",
"travelers": {
"children": [],
"adults": 1
},
"link": "http://localhost:3063/#",
"comment": null
}
```
<small>Show only used data</small>

@@ -12,3 +12,4 @@ export default {

empty: 'Merkzettel View Default',
filled: 'Merkzettel View'
filled: 'Merkzettel View',
expired: 'Merkzettel Expired'
},

@@ -15,0 +16,0 @@ share: {

@@ -0,17 +1,23 @@

// mock
export default {
uuid: 'uuid',
items: [
// old data before offer property added
{
createDate: '2019-11-28T15:09:24.775Z',
giataId: 1787,
recommendationSource: 'tr',
id: '1787',
idType: 'giata',
ratingProvider: 'tr',
category: '3',
name: 'The Bugibba',
region: 'Malta - St.Paul´s (Bugibba, Qawra)',
recommendation: 43,
country: 'Spanien',
region: 'Mallorca',
place: 'Can Picafort',
rating: 63,
countReviews: 143,
details: [],
images: [
'http://cdn-prd.sonnenklar.tv/img/tt/320/240/05000/THB_999_H5728.jpg'
],
linkToStep4Terminliste: '//www.sonnenklar.tv/suchen/Malta/id(tt-1787)/reiseart(pauschal)/zeitraum(25.11.2019-25.02.2020,beliebig)/personen(2,7,1)',
link: '//www.sonnenklar.tv/suchen/Malta/id(tt-1787)/reiseart(pauschal)/zeitraum(25.11.2019-25.02.2020,beliebig)/personen(2,7,1)',
travelers: {

@@ -21,26 +27,65 @@ adults: 2,

},
travelType: 'pauschal',
type: 'pauschal',
_id: 'item-one'
},
// new data before offer property added
{
createDate: '2019-11-28T15:09:27.089Z',
giataId: 373686,
recommendationSource: 'tt',
category: '3.5',
name: 'Villa Sonata',
region: 'Türkei - Türkische Riviera - Alanya',
recommendation: 69,
countReviews: 13,
_id: '123-456-789',
details: [
'sonnenklar.TV Ultra All Inclusive Paket (Wert: ca. € 340,- pro Zimmer/Aufenthalt)',
'Upgrade auf Doppelzimmer Meerblick (Wert: ca. € 85,- pro Zimmer/Woche)',
'1x Eintritt in den Oasis Park pro Person/Aufenthalt (Wert: € 70,- pro Zimmer/Aufenthalt)(gilt nicht für Aufenthalte im Juli und August)',
'sonnenklar.TV Ultra All Inclusive Paket (Wert: ca. € 340,- pro Zimmer/Aufenthalt)',
'Exklusives Gewinnspiel für Sie! Bei Buchung dieses Produktes nehmen Sie automatisch teil.&nbsp;Alle Infos rund um das Gewinnspiel finden Sie unter: <a title="bitte klicken" href="https://www.sonnenklar.tv/schaltjahr" target="_blank">www.sonnenklar.TV/schaltjahr</a>'
],
category: 0,
expirationDate: '4020-01-23T22:59:59.000Z',
id: '213924',
idType: 'order',
images: [
'http://cdn-prd.sonnenklar.tv/img/g/400/300/16734/i18_51600149.jpg'
],
linkToStep4Terminliste: 'http://localhost:3063/#',
name: 'Villa Sonata',
rating: 50,
ratingProvider: 'tt',
region: '',
country: 'Tansania, Vereinigte Republik',
place: 'Kitui',
type: 'hotel',
travelers: {
adults: 1,
children: []
children: [],
adults: 1
},
travelType: 'hotel',
_id: 'item-two'
link: 'http://localhost:3063/#',
comment: null
},
{
_id: '987-654-321',
details: [
'Inklusive Inlandsflug Hurghada- Luxor - Hurghada',
'Upgrade auf sonnenklar.TV Ultra All Inclusive auf dem Schiff (Wert: € 500,- pro Doppelkabine)',
'Exklusives Gewinnspiel für Sie! Bei Buchung dieses Produktes nehmen Sie automatisch teil.&nbsp;Alle Infos rund um das Gewinnspiel finden Sie unter: <a title="bitte klicken" href="https://www.sonnenklar.tv/schaltjahr" target="_blank">www.sonnenklar.TV/schaltjahr</a>'
],
category: 0,
expirationDate: '2020-02-12T22:59:59.000Z',
id: '215684',
idType: 'order',
images: [
'https://cdn-prd.sonnenklar.tv/img/tr/400/300/19351/44338625.jpg'
],
name: 'sonnenklar.TV Deluxe-Schiff & LABRANDA Royal Makadi inkl. Inlandsflug',
rating: 0,
ratingProvider: 'tr',
region: 'Hurghada',
country: '',
place: 'Luxor & Makadi Bay',
type: 'pauschal',
travelers: {
children: [],
adults: 1
},
link: 'http://localhost:3063/#',
comment: 'This is a comment'
}
]
}

@@ -194,2 +194,3 @@ {

"Wishlist": {
"EmptyWishlistRedirectUrl": "https://www.fti.de",
"HotelCount": "{count} Hotel marked | {count} Hotels marked",

@@ -200,2 +201,8 @@ "Traveler": {

},
"OfferDetails": {
"Title": "Your advantages with our portal",
"ExpirationDate": "Book until {date}",
"ShowMore": "show more",
"ShowLess": "show less"
},
"TravelType": {

@@ -207,2 +214,8 @@ "hotel": "Hotel only",

"Title": "Your notice to that hotel"
},
"SharedLinks": {
"email": {
"body": "My Wishlist at {url}",
"subject": "My Wishlist"
}
}

@@ -209,0 +222,0 @@ },

export default {
data: () => ({
loading: true
loading: true,
hasErrors: false
}),

@@ -33,2 +34,6 @@ computed: {

console.error(e)
return {
loading: false,
hasErrors: true
}
}

@@ -35,0 +40,0 @@ }

@@ -56,3 +56,3 @@ import Vue from 'vue'

state[type].items.forEach((wishlistItem, key) => {
if (wishlistItem.giataId === item.giataId) {
if (wishlistItem.id === item.id) {
Vue.set(state[type].items, key, item)

@@ -59,0 +59,0 @@ }

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc