@visitscotland/component-library 5.1.1 → 5.1.2

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.
@@ -1647,7 +1647,7 @@
1647
1647
  "scripts/75e20b62c8b654176032.js",
1648
1648
  "scripts/544b6969eedda98a4909.js",
1649
1649
  "scripts/9ded7dc119b9d0512592.js",
1650
- "scripts/e710f6f0902cdd4f7414.js",
1650
+ "scripts/6bbbae19a77da61513d0.js",
1651
1651
  "scripts/def3cb4716f4d4e7a4a3.js",
1652
1652
  "scripts/bca51aaee2fd4f66e737.js"
1653
1653
  ],
@@ -1660,7 +1660,7 @@
1660
1660
  "styles/d7e1b77c4b3b1491114a.css",
1661
1661
  "styles/a5f5263b5c7c03c9c34e.css",
1662
1662
  "styles/e9f95d4524f2f1822040.css",
1663
- "styles/e710f6f0902cdd4f7414.css",
1663
+ "styles/6bbbae19a77da61513d0.css",
1664
1664
  "styles/def3cb4716f4d4e7a4a3.css",
1665
1665
  "styles/bca51aaee2fd4f66e737.css"
1666
1666
  ]
@@ -4220,7 +4220,7 @@
4220
4220
  "scripts/75e20b62c8b654176032.js",
4221
4221
  "scripts/544b6969eedda98a4909.js",
4222
4222
  "scripts/9ded7dc119b9d0512592.js",
4223
- "scripts/e710f6f0902cdd4f7414.js",
4223
+ "scripts/6bbbae19a77da61513d0.js",
4224
4224
  "scripts/8772bbad384566160d70.js"
4225
4225
  ],
4226
4226
  "styles": [
@@ -4231,7 +4231,7 @@
4231
4231
  "styles/d7e1b77c4b3b1491114a.css",
4232
4232
  "styles/a5f5263b5c7c03c9c34e.css",
4233
4233
  "styles/e9f95d4524f2f1822040.css",
4234
- "styles/e710f6f0902cdd4f7414.css",
4234
+ "styles/6bbbae19a77da61513d0.css",
4235
4235
  "styles/8772bbad384566160d70.css"
4236
4236
  ]
4237
4237
  },
@@ -4279,7 +4279,7 @@
4279
4279
  "scripts/75e20b62c8b654176032.js",
4280
4280
  "scripts/544b6969eedda98a4909.js",
4281
4281
  "scripts/9ded7dc119b9d0512592.js",
4282
- "scripts/e710f6f0902cdd4f7414.js",
4282
+ "scripts/6bbbae19a77da61513d0.js",
4283
4283
  "scripts/7ae5b8b72529088a930e.js"
4284
4284
  ],
4285
4285
  "styles": [
@@ -4290,7 +4290,7 @@
4290
4290
  "styles/d7e1b77c4b3b1491114a.css",
4291
4291
  "styles/a5f5263b5c7c03c9c34e.css",
4292
4292
  "styles/e9f95d4524f2f1822040.css",
4293
- "styles/e710f6f0902cdd4f7414.css",
4293
+ "styles/6bbbae19a77da61513d0.css",
4294
4294
  "styles/7ae5b8b72529088a930e.css"
4295
4295
  ]
4296
4296
  },
@@ -4583,7 +4583,7 @@
4583
4583
  "scripts/75e20b62c8b654176032.js",
4584
4584
  "scripts/544b6969eedda98a4909.js",
4585
4585
  "scripts/9ded7dc119b9d0512592.js",
4586
- "scripts/e710f6f0902cdd4f7414.js",
4586
+ "scripts/6bbbae19a77da61513d0.js",
4587
4587
  "scripts/def3cb4716f4d4e7a4a3.js",
4588
4588
  "scripts/d9fa8e2b6d75da1efd07.js"
4589
4589
  ],
@@ -4595,7 +4595,7 @@
4595
4595
  "styles/d7e1b77c4b3b1491114a.css",
4596
4596
  "styles/a5f5263b5c7c03c9c34e.css",
4597
4597
  "styles/e9f95d4524f2f1822040.css",
4598
- "styles/e710f6f0902cdd4f7414.css",
4598
+ "styles/6bbbae19a77da61513d0.css",
4599
4599
  "styles/def3cb4716f4d4e7a4a3.css",
4600
4600
  "styles/d9fa8e2b6d75da1efd07.css"
4601
4601
  ]
@@ -4644,7 +4644,7 @@
4644
4644
  "scripts/75e20b62c8b654176032.js",
4645
4645
  "scripts/544b6969eedda98a4909.js",
4646
4646
  "scripts/9ded7dc119b9d0512592.js",
4647
- "scripts/e710f6f0902cdd4f7414.js",
4647
+ "scripts/6bbbae19a77da61513d0.js",
4648
4648
  "scripts/def3cb4716f4d4e7a4a3.js",
4649
4649
  "scripts/0fe7e3bae151447fbd7c.js"
4650
4650
  ],
@@ -4656,7 +4656,7 @@
4656
4656
  "styles/d7e1b77c4b3b1491114a.css",
4657
4657
  "styles/a5f5263b5c7c03c9c34e.css",
4658
4658
  "styles/e9f95d4524f2f1822040.css",
4659
- "styles/e710f6f0902cdd4f7414.css",
4659
+ "styles/6bbbae19a77da61513d0.css",
4660
4660
  "styles/def3cb4716f4d4e7a4a3.css",
4661
4661
  "styles/0fe7e3bae151447fbd7c.css"
4662
4662
  ]
@@ -6083,7 +6083,7 @@
6083
6083
  "scripts/75e20b62c8b654176032.js",
6084
6084
  "scripts/544b6969eedda98a4909.js",
6085
6085
  "scripts/9ded7dc119b9d0512592.js",
6086
- "scripts/e710f6f0902cdd4f7414.js",
6086
+ "scripts/6bbbae19a77da61513d0.js",
6087
6087
  "scripts/c6ddfee230946125f4ae.js"
6088
6088
  ],
6089
6089
  "styles": [
@@ -6094,7 +6094,7 @@
6094
6094
  "styles/d7e1b77c4b3b1491114a.css",
6095
6095
  "styles/a5f5263b5c7c03c9c34e.css",
6096
6096
  "styles/e9f95d4524f2f1822040.css",
6097
- "styles/e710f6f0902cdd4f7414.css"
6097
+ "styles/6bbbae19a77da61513d0.css"
6098
6098
  ]
6099
6099
  },
6100
6100
  "VsStyledListItem": {
@@ -0,0 +1 @@
1
+ (self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[9116],{11736:function(e,t,s){"use strict";s.d(t,{A:function(){return i.A}});var i=s(90020)},23466:function(e,t,s){"use strict";var i=s(85072),n=s.n(i),r=s(97825),a=s.n(r),d=s(77659),o=s.n(d),l=s(55056),c=s.n(l),u=s(10540),h=s.n(u),g=s(41113),k=s.n(g),v=s(76184),f=s.n(v),y={};y.styleTagTransform=k(),y.setAttributes=c(),y.insert=o().bind(null,"head"),y.domAPI=a(),y.insertStyleElement=h(),n()(f(),y),f()&&f().locals&&f().locals},36022:function(e,t,s){"use strict";s(23466)},55124:function(e,t,s){"use strict";s.d(t,{X:function(){return c}});var i=s(20641),n=s(90033),r={key:0,class:"vs-stretched-link-card__video-btn-text"},a={key:4,class:"card-body"},d={key:0,class:"vs-stretched-link-card__category","data-test":"vs-stretched-link-card__category"},o={class:"vs-stretched-link-card__content","data-test":"vs-stretched-link-card__content"},l={key:2,class:"vs-stretched-link-card__badges","data-test":"vs-stretched-link-card__badges"};function c(e,t,s,c,u,h){var g=(0,i.g2)("VsWarning"),k=(0,i.g2)("VsImg"),v=(0,i.g2)("VsButton"),f=(0,i.g2)("VsLink"),y=(0,i.g2)("VsHeading");return(0,i.uX)(),(0,i.CE)("div",{class:(0,n.normalizeClass)(["card vs-stretched-link-card",h.stretchedLinkCardClasses]),"data-test":"vs-stretched-link-card",onClick:t[0]||(t[0]=function(){return h.emitShowModal&&h.emitShowModal.apply(h,arguments)}),onKeypress:t[1]||(t[1]=function(){return h.emitShowModal&&h.emitShowModal.apply(h,arguments)})},["full"===h.showWarning?((0,i.uX)(),(0,i.Wv)(g,{key:0,size:s.warningSize,type:h.showCookieWarning?"cookie":"normal","data-test":"vs-stretched-link-card__full-warning",class:"vs-stretched-link-card__full-warning"},(0,i.eX)({default:(0,i.k6)((function(){return[(0,i.eW)((0,n.toDisplayString)(h.warningMessage)+" ",1)]})),_:2},[""!==h.cookieLinkText&&h.showCookieWarning?{name:"button-text",fn:(0,i.k6)((function(){return[(0,i.eW)((0,n.toDisplayString)(h.cookieLinkText),1)]})),key:"0"}:void 0]),1032,["size","type"])):(0,i.Q3)("",!0),"full"===s.errorType&&""!==s.videoId?((0,i.uX)(),(0,i.Wv)(g,{key:1,size:s.warningSize,"data-test":"vs-stretched-link-card__full-warning",class:"vs-stretched-link-card__full-warning vs-stretched-link-card__full-warning--no-js"},{default:(0,i.k6)((function(){return[(0,i.eW)((0,n.toDisplayString)(h.noJsMessage),1)]})),_:1},8,["size"])):(0,i.Q3)("",!0),s.imgSrc?((0,i.uX)(),(0,i.CE)("div",{key:2,class:(0,n.normalizeClass)(["vs-stretched-link-card__img-container",h.warningClass])},[s.imgSrc?((0,i.uX)(),(0,i.CE)(i.FK,{key:0},[(0,i.bF)(k,{src:s.imgSrc,alt:s.imgAlt,class:(0,n.normalizeClass)(["vs-stretched-link-card__img",h.isSvg?"vs-stretched-link-card__img--svg":""]),"data-test":"vs-stretched-link-card__img","data-chromatic":"ignore"},null,8,["src","alt","class"]),s.videoId&&h.videoLoaded&&e.requiredCookiesExist?((0,i.uX)(),(0,i.Wv)(v,{key:0,class:"vs-stretched-link-card__video-button","data-test":"vs-stretched-link-card__video-button",icon:"fa-regular fa-play","icon-position":"left",size:"md",ref:"videoShow",rounded:!1,onClick:h.emitShowModal},{default:(0,i.k6)((function(){return[s.videoBtnText?((0,i.uX)(),(0,i.CE)("span",r,(0,n.toDisplayString)(h.formattedVideoBtnText),1)):(0,i.Q3)("",!0),(0,i.eW)(" "+(0,n.toDisplayString)(h.formattedVideoDuration),1)]})),_:1},8,["onClick"])):(0,i.Q3)("",!0)],64)):(0,i.Q3)("",!0),"image"===h.showWarning?((0,i.uX)(),(0,i.Wv)(g,{key:1,size:s.warningSize,type:h.showCookieWarning?"cookie":"normal","data-test":"vs-stretched-link-card__image-warning",class:"vs-stretched-link-card__image-warning"},(0,i.eX)({default:(0,i.k6)((function(){return[(0,i.eW)((0,n.toDisplayString)(h.warningMessage)+" ",1)]})),_:2},[""!==h.cookieLinkText&&h.showCookieWarning?{name:"button-text",fn:(0,i.k6)((function(){return[(0,i.eW)((0,n.toDisplayString)(h.cookieLinkText),1)]})),key:"0"}:void 0]),1032,["size","type"])):(0,i.Q3)("",!0),""!==s.videoId&&"image"===s.errorType?((0,i.uX)(),(0,i.Wv)(g,{key:2,size:s.warningSize,"data-test":"vs-stretched-link-card__warning",class:"vs-stretched-link-card__image-warning vs-stretched-link-card__image-warning--no-js"},{default:(0,i.k6)((function(){return[(0,i.eW)((0,n.toDisplayString)(h.noJsMessage),1)]})),_:1},8,["size"])):(0,i.Q3)("",!0)],2)):(0,i.Q3)("",!0),e.$slots["stretched-card-panels"]&&e.$slots["stretched-card-panels"]()?(0,i.RG)(e.$slots,"stretched-card-panels",{key:3}):(0,i.Q3)("",!0),"full"!==h.showWarning?((0,i.uX)(),(0,i.CE)("div",a,[e.$slots["stretched-card-category"]&&e.$slots["stretched-card-category"]()?((0,i.uX)(),(0,i.CE)("span",d,[(0,i.RG)(e.$slots,"stretched-card-category")])):(0,i.Q3)("",!0),e.$slots["stretched-card-header"]&&e.$slots["stretched-card-header"]()?((0,i.uX)(),(0,i.Wv)(y,{key:1,level:s.headingLevel,"heading-style":s.headingStyle,class:"card-title vs-stretched-link-card__title","data-test":"vs-stretched-link-card__title"},{default:(0,i.k6)((function(){return[e.$slots["stretched-card-link"]&&e.$slots["stretched-card-link"]()?(0,i.RG)(e.$slots,"stretched-card-header",{key:0}):s.businessSupport||"video"!==s.type?((0,i.uX)(),(0,i.Wv)(f,{key:2,href:s.link,type:s.type,class:(0,n.normalizeClass)(["stretched-link",s.disabled?"stretched-link--disabled":""]),variant:"dark"===h.theme?"on-dark":"primary","data-test":"vs-stretched-link",disabled:s.disabled,tabindex:!s.videoId&&!s.disabled||s.businessSupport?"0":"-1"},{default:(0,i.k6)((function(){return[(0,i.RG)(e.$slots,"stretched-card-header")]})),_:3},8,["href","type","class","variant","disabled","tabindex"])):(0,i.RG)(e.$slots,"stretched-card-header",{key:1})]})),_:3},8,["level","heading-style"])):(0,i.Q3)("",!0),(0,i.Lk)("div",o,[(0,i.RG)(e.$slots,"stretched-card-content")]),e.$slots["stretched-card-badges"]&&e.$slots["stretched-card-badges"]()?((0,i.uX)(),(0,i.CE)("div",l,[(0,i.RG)(e.$slots,"stretched-card-badges")])):(0,i.Q3)("",!0),e.$slots["stretched-card-link"]&&e.$slots["stretched-card-link"]()?((0,i.uX)(),(0,i.Wv)(f,{key:3,href:s.link,class:"vs-stretched-link-card__link stretched-link","data-test":"vs-stretched-link-card__link"},{default:(0,i.k6)((function(){return[(0,i.RG)(e.$slots,"stretched-card-link")]})),_:3},8,["href"])):(0,i.Q3)("",!0)])):(0,i.Q3)("",!0)],34)}},59116:function(e,t,s){"use strict";s.r(t);var i=s(62436),n=s(11736);s(36022);const r=(0,s(66262).A)(n.A,[["render",i.X]]);t.default=r},62436:function(e,t,s){"use strict";s.d(t,{X:function(){return i.X}});var i=s(55124)},76184:function(){},90020:function(e,t,s){"use strict";var i=s(13838),n=s(45676),r=s(31574),a=s(48836),d=s(79122),o=s(57957),l=s(45921),c=s.n(l),u=s(83178),h=s(12308).A.youtube;t.A={name:"VsStretchedLinkCard",status:"prototype",release:"0.0.1",components:{VsHeading:i.default,VsLink:n.default,VsImg:r.default,VsButton:a.default,VsWarning:d.default},mixins:[u.A],inject:{noJsMessage:{default:null},theme:{default:null},noCookiesMessage:{default:null},cookieLinkText:{default:null}},props:{link:{type:String,required:!0,default:"#"},headingLevel:{type:[String,Number],default:"3",validator:function(e){return e.match(/(1|2|3|4|5|6)/)}},headingStyle:{type:[String,Number],default:"heading-xs",validator:function(e){return e.match(/(display-m|display-s|heading-xl|heading-l|heading-m|heading-s|heading-xs|heading-xxs)/)}},type:{type:String,required:!0,validator:function(e){return e.match(/(default|external|internal|download|video)/)}},imgSrc:{type:String,default:void 0},imgAlt:{type:String,default:""},disabled:{type:Boolean,default:!1},videoId:{type:String,default:""},videoBtnText:{type:String,default:""},errorMessage:{type:String,default:""},errorType:{type:String,default:"image",validator:function(e){return e.match(/(image|full)/)}},warningSize:{type:String,default:"small",validator:function(e){return e.match(/(normal|small)/)}},businessSupport:{type:Boolean,default:!1},isHomePage:{type:Boolean,default:!1}},setup:function(){return{videoStore:c()()}},data:function(){return{jsDisabled:!0,requiredCookies:h}},computed:{formattedVideoBtnText:function(){return"".concat(this.videoBtnText," | ")},formattedVideoDuration:function(){var e="".concat(this.videoDetails.videoFullDuration.seconds);return 1===e.length&&(e="0".concat(e)),"".concat(this.videoDetails.videoFullDuration.minutes,":").concat(e)},stretchedLinkCardClasses:function(){var e="";return this.disabled&&(e+="vs-stretched-link-card--disabled"),"video"===this.type&&(e+=" vs-stretched-link-card--video"),this.showWarning&&"video"===this.type&&(e+=" vs-stretched-link-card--warning"),e},videoDetails:function(){return this.videoStore?this.videoStore.videos[this.videoId]:null},videoLoaded:function(){return void 0!==this.videoDetails&&this.videoDetails.videoDuration>0},warningClass:function(){var e="";return!this.videoId||!this.jsDisabled&&this.requiredCookiesExist||(e="vs-stretched-link-card__img-container--warning ","full"!==this.errorType||null===this.cookiesInitStatus&&!this.jsDisabled||(e+="vs-stretched-link-card__img-container--warning-full")),e},showCookieWarning:function(){return!(!this.videoId||this.jsDisabled||this.requiredCookiesExist||!0!==this.cookiesInitStatus)},showError:function(){return!(!this.videoId||""===this.errorMessage||"error"!==this.cookiesInitStatus)},showWarning:function(){return this.showError||this.showCookieWarning?this.errorType:!!this.jsDisabled},warningMessage:function(){return this.showCookieWarning?this.noCookiesMessage:this.errorMessage},warningAttrs:function(){var e={};return"cookie"===this.type&&(e.class="ot-sdk-show-settings vs-warning__cookie-trigger"),"small"===this.size&&(e.size="sm"),e},isSvg:function(){return!(!this.imgSrc||!this.imgSrc.includes(".svg"))}},mounted:function(){this.jsDisabled=(0,o.A)()},methods:{emitShowModal:function(){this.videoId&&this.requiredCookiesExist&&this.emitter&&this.emitter.emit("showModal",this.videoId,"#videoShow")}}}}}]);
@@ -236,14 +236,36 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
236
236
  type: BooleanConstructor;
237
237
  default: boolean;
238
238
  };
239
- }>, {}, {
239
+ }>, {
240
+ videoStore: import('pinia').Store<"video", import('../../../stores/video.store').IVideosState, {}, {
241
+ addVideo(newVideo: {
242
+ videoId: string;
243
+ videoDurationMsg: string;
244
+ videoDuration: number;
245
+ videoFullDuration: {
246
+ minutes: number;
247
+ seconds: number;
248
+ roundedMinutes: string;
249
+ };
250
+ }): void;
251
+ }>;
252
+ }, {
240
253
  jsDisabled: boolean;
241
254
  requiredCookies: string[];
242
255
  }, {
243
256
  formattedVideoBtnText(): string;
244
257
  formattedVideoDuration(): string;
245
258
  stretchedLinkCardClasses(): string;
246
- videoDetails(): any;
259
+ videoDetails(): {
260
+ videoId: string;
261
+ videoDurationMsg: string;
262
+ videoDuration: number;
263
+ videoFullDuration: {
264
+ minutes: number;
265
+ seconds: number;
266
+ roundedMinutes: string;
267
+ };
268
+ };
247
269
  videoLoaded(): boolean;
248
270
  warningClass(): string;
249
271
  showCookieWarning(): boolean;
@@ -89,14 +89,36 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
89
89
  type: BooleanConstructor;
90
90
  default: boolean;
91
91
  };
92
- }>, {}, {
92
+ }>, {
93
+ videoStore: import('pinia').Store<"video", import('../../../stores/video.store').IVideosState, {}, {
94
+ addVideo(newVideo: {
95
+ videoId: string;
96
+ videoDurationMsg: string;
97
+ videoDuration: number;
98
+ videoFullDuration: {
99
+ minutes: number;
100
+ seconds: number;
101
+ roundedMinutes: string;
102
+ };
103
+ }): void;
104
+ }>;
105
+ }, {
93
106
  jsDisabled: boolean;
94
107
  requiredCookies: string[];
95
108
  }, {
96
109
  formattedVideoBtnText(): string;
97
110
  formattedVideoDuration(): string;
98
111
  stretchedLinkCardClasses(): string;
99
- videoDetails(): any;
112
+ videoDetails(): {
113
+ videoId: string;
114
+ videoDurationMsg: string;
115
+ videoDuration: number;
116
+ videoFullDuration: {
117
+ minutes: number;
118
+ seconds: number;
119
+ roundedMinutes: string;
120
+ };
121
+ };
100
122
  videoLoaded(): boolean;
101
123
  warningClass(): string;
102
124
  showCookieWarning(): boolean;
@@ -108,14 +108,36 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
108
108
  type: BooleanConstructor;
109
109
  default: boolean;
110
110
  };
111
- }>, {}, {
111
+ }>, {
112
+ videoStore: import('pinia').Store<"video", import('../../../stores/video.store').IVideosState, {}, {
113
+ addVideo(newVideo: {
114
+ videoId: string;
115
+ videoDurationMsg: string;
116
+ videoDuration: number;
117
+ videoFullDuration: {
118
+ minutes: number;
119
+ seconds: number;
120
+ roundedMinutes: string;
121
+ };
122
+ }): void;
123
+ }>;
124
+ }, {
112
125
  jsDisabled: boolean;
113
126
  requiredCookies: string[];
114
127
  }, {
115
128
  formattedVideoBtnText(): string;
116
129
  formattedVideoDuration(): string;
117
130
  stretchedLinkCardClasses(): string;
118
- videoDetails(): any;
131
+ videoDetails(): {
132
+ videoId: string;
133
+ videoDurationMsg: string;
134
+ videoDuration: number;
135
+ videoFullDuration: {
136
+ minutes: number;
137
+ seconds: number;
138
+ roundedMinutes: string;
139
+ };
140
+ };
119
141
  videoLoaded(): boolean;
120
142
  warningClass(): string;
121
143
  showCookieWarning(): boolean;
@@ -288,14 +288,36 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
288
288
  type: BooleanConstructor;
289
289
  default: boolean;
290
290
  };
291
- }>, {}, {
291
+ }>, {
292
+ videoStore: import('pinia').Store<"video", import('../../../../stores/video.store').IVideosState, {}, {
293
+ addVideo(newVideo: {
294
+ videoId: string;
295
+ videoDurationMsg: string;
296
+ videoDuration: number;
297
+ videoFullDuration: {
298
+ minutes: number;
299
+ seconds: number;
300
+ roundedMinutes: string;
301
+ };
302
+ }): void;
303
+ }>;
304
+ }, {
292
305
  jsDisabled: boolean;
293
306
  requiredCookies: string[];
294
307
  }, {
295
308
  formattedVideoBtnText(): string;
296
309
  formattedVideoDuration(): string;
297
310
  stretchedLinkCardClasses(): string;
298
- videoDetails(): any;
311
+ videoDetails(): {
312
+ videoId: string;
313
+ videoDurationMsg: string;
314
+ videoDuration: number;
315
+ videoFullDuration: {
316
+ minutes: number;
317
+ seconds: number;
318
+ roundedMinutes: string;
319
+ };
320
+ };
299
321
  videoLoaded(): boolean;
300
322
  warningClass(): string;
301
323
  showCookieWarning(): boolean;
@@ -293,14 +293,36 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
293
293
  type: BooleanConstructor;
294
294
  default: boolean;
295
295
  };
296
- }>, {}, {
296
+ }>, {
297
+ videoStore: import('pinia').Store<"video", import('../../../../stores/video.store').IVideosState, {}, {
298
+ addVideo(newVideo: {
299
+ videoId: string;
300
+ videoDurationMsg: string;
301
+ videoDuration: number;
302
+ videoFullDuration: {
303
+ minutes: number;
304
+ seconds: number;
305
+ roundedMinutes: string;
306
+ };
307
+ }): void;
308
+ }>;
309
+ }, {
297
310
  jsDisabled: boolean;
298
311
  requiredCookies: string[];
299
312
  }, {
300
313
  formattedVideoBtnText(): string;
301
314
  formattedVideoDuration(): string;
302
315
  stretchedLinkCardClasses(): string;
303
- videoDetails(): any;
316
+ videoDetails(): {
317
+ videoId: string;
318
+ videoDurationMsg: string;
319
+ videoDuration: number;
320
+ videoFullDuration: {
321
+ minutes: number;
322
+ seconds: number;
323
+ roundedMinutes: string;
324
+ };
325
+ };
304
326
  videoLoaded(): boolean;
305
327
  warningClass(): string;
306
328
  showCookieWarning(): boolean;
@@ -110,14 +110,36 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
110
110
  type: BooleanConstructor;
111
111
  default: boolean;
112
112
  };
113
- }>, {}, {
113
+ }>, {
114
+ videoStore: import('pinia').Store<"video", import('../../stores/video.store').IVideosState, {}, {
115
+ addVideo(newVideo: {
116
+ videoId: string;
117
+ videoDurationMsg: string;
118
+ videoDuration: number;
119
+ videoFullDuration: {
120
+ minutes: number;
121
+ seconds: number;
122
+ roundedMinutes: string;
123
+ };
124
+ }): void;
125
+ }>;
126
+ }, {
114
127
  jsDisabled: boolean;
115
128
  requiredCookies: string[];
116
129
  }, {
117
130
  formattedVideoBtnText(): string;
118
131
  formattedVideoDuration(): string;
119
132
  stretchedLinkCardClasses(): string;
120
- videoDetails(): any;
133
+ videoDetails(): {
134
+ videoId: string;
135
+ videoDurationMsg: string;
136
+ videoDuration: number;
137
+ videoFullDuration: {
138
+ minutes: number;
139
+ seconds: number;
140
+ roundedMinutes: string;
141
+ };
142
+ };
121
143
  videoLoaded(): boolean;
122
144
  warningClass(): string;
123
145
  showCookieWarning(): boolean;