@visitscotland/component-library 5.0.0 → 5.0.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/20df0073ab6b39d8b371.js",
1650
+ "scripts/e710f6f0902cdd4f7414.js",
1651
1651
  "scripts/def3cb4716f4d4e7a4a3.js",
1652
1652
  "scripts/bcd7a3d19bab8f8e267b.js"
1653
1653
  ],
@@ -1660,7 +1660,7 @@
1660
1660
  "styles/d7e1b77c4b3b1491114a.css",
1661
1661
  "styles/a5f5263b5c7c03c9c34e.css",
1662
1662
  "styles/e9f95d4524f2f1822040.css",
1663
- "styles/20df0073ab6b39d8b371.css",
1663
+ "styles/e710f6f0902cdd4f7414.css",
1664
1664
  "styles/def3cb4716f4d4e7a4a3.css",
1665
1665
  "styles/bcd7a3d19bab8f8e267b.css"
1666
1666
  ]
@@ -4220,7 +4220,7 @@
4220
4220
  "scripts/75e20b62c8b654176032.js",
4221
4221
  "scripts/544b6969eedda98a4909.js",
4222
4222
  "scripts/9ded7dc119b9d0512592.js",
4223
- "scripts/20df0073ab6b39d8b371.js",
4223
+ "scripts/e710f6f0902cdd4f7414.js",
4224
4224
  "scripts/a2a3df66e2bf3fdbe36e.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/20df0073ab6b39d8b371.css",
4234
+ "styles/e710f6f0902cdd4f7414.css",
4235
4235
  "styles/a2a3df66e2bf3fdbe36e.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/20df0073ab6b39d8b371.js",
4282
+ "scripts/e710f6f0902cdd4f7414.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/20df0073ab6b39d8b371.css",
4293
+ "styles/e710f6f0902cdd4f7414.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/20df0073ab6b39d8b371.js",
4586
+ "scripts/e710f6f0902cdd4f7414.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/20df0073ab6b39d8b371.css",
4598
+ "styles/e710f6f0902cdd4f7414.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/20df0073ab6b39d8b371.js",
4647
+ "scripts/e710f6f0902cdd4f7414.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/20df0073ab6b39d8b371.css",
4659
+ "styles/e710f6f0902cdd4f7414.css",
4660
4660
  "styles/def3cb4716f4d4e7a4a3.css",
4661
4661
  "styles/0fe7e3bae151447fbd7c.css"
4662
4662
  ]
@@ -6036,7 +6036,7 @@
6036
6036
  "scripts/75e20b62c8b654176032.js",
6037
6037
  "scripts/544b6969eedda98a4909.js",
6038
6038
  "scripts/9ded7dc119b9d0512592.js",
6039
- "scripts/20df0073ab6b39d8b371.js",
6039
+ "scripts/e710f6f0902cdd4f7414.js",
6040
6040
  "scripts/c6ddfee230946125f4ae.js"
6041
6041
  ],
6042
6042
  "styles": [
@@ -6047,7 +6047,7 @@
6047
6047
  "styles/d7e1b77c4b3b1491114a.css",
6048
6048
  "styles/a5f5263b5c7c03c9c34e.css",
6049
6049
  "styles/e9f95d4524f2f1822040.css",
6050
- "styles/20df0073ab6b39d8b371.css"
6050
+ "styles/e710f6f0902cdd4f7414.css"
6051
6051
  ]
6052
6052
  },
6053
6053
  "VsStyledListItem": {
@@ -0,0 +1 @@
1
+ (self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[9116],{10173:function(){},11736:function(e,t,s){"use strict";s.d(t,{A:function(){return i.A}});var i=s(90020)},23923:function(e,t,s){"use strict";s(59215)},59116:function(e,t,s){"use strict";s.r(t);var i=s(94861),n=s(11736);s(23923);const r=(0,s(66262).A)(n.A,[["render",i.X]]);t.default=r},59215: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(10173),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},89565: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)}},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,g=null;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}},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 g?g.videos[this.videoId]:null},videoLoaded:function(){return void 0!==this.videoDetails&&null!==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(){g=c()(),this.jsDisabled=(0,o.A)()},methods:{emitShowModal:function(){this.videoId&&this.requiredCookiesExist&&this.emitter&&this.emitter.emit("showModal",this.videoId,"#videoShow")}}}},94861:function(e,t,s){"use strict";s.d(t,{X:function(){return i.X}});var i=s(89565)}}]);
@@ -236,36 +236,14 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
236
236
  type: BooleanConstructor;
237
237
  default: boolean;
238
238
  };
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
- }, {
239
+ }>, {}, {
253
240
  jsDisabled: boolean;
254
241
  requiredCookies: string[];
255
242
  }, {
256
243
  formattedVideoBtnText(): string;
257
244
  formattedVideoDuration(): string;
258
245
  stretchedLinkCardClasses(): string;
259
- videoDetails(): {
260
- videoId: string;
261
- videoDurationMsg: string;
262
- videoDuration: number;
263
- videoFullDuration: {
264
- minutes: number;
265
- seconds: number;
266
- roundedMinutes: string;
267
- };
268
- };
246
+ videoDetails(): any;
269
247
  videoLoaded(): boolean;
270
248
  warningClass(): string;
271
249
  showCookieWarning(): boolean;
@@ -89,36 +89,14 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
89
89
  type: BooleanConstructor;
90
90
  default: boolean;
91
91
  };
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
- }, {
92
+ }>, {}, {
106
93
  jsDisabled: boolean;
107
94
  requiredCookies: string[];
108
95
  }, {
109
96
  formattedVideoBtnText(): string;
110
97
  formattedVideoDuration(): string;
111
98
  stretchedLinkCardClasses(): string;
112
- videoDetails(): {
113
- videoId: string;
114
- videoDurationMsg: string;
115
- videoDuration: number;
116
- videoFullDuration: {
117
- minutes: number;
118
- seconds: number;
119
- roundedMinutes: string;
120
- };
121
- };
99
+ videoDetails(): any;
122
100
  videoLoaded(): boolean;
123
101
  warningClass(): string;
124
102
  showCookieWarning(): boolean;
@@ -108,36 +108,14 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
108
108
  type: BooleanConstructor;
109
109
  default: boolean;
110
110
  };
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
- }, {
111
+ }>, {}, {
125
112
  jsDisabled: boolean;
126
113
  requiredCookies: string[];
127
114
  }, {
128
115
  formattedVideoBtnText(): string;
129
116
  formattedVideoDuration(): string;
130
117
  stretchedLinkCardClasses(): string;
131
- videoDetails(): {
132
- videoId: string;
133
- videoDurationMsg: string;
134
- videoDuration: number;
135
- videoFullDuration: {
136
- minutes: number;
137
- seconds: number;
138
- roundedMinutes: string;
139
- };
140
- };
118
+ videoDetails(): any;
141
119
  videoLoaded(): boolean;
142
120
  warningClass(): string;
143
121
  showCookieWarning(): boolean;
@@ -288,36 +288,14 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
288
288
  type: BooleanConstructor;
289
289
  default: boolean;
290
290
  };
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
- }, {
291
+ }>, {}, {
305
292
  jsDisabled: boolean;
306
293
  requiredCookies: string[];
307
294
  }, {
308
295
  formattedVideoBtnText(): string;
309
296
  formattedVideoDuration(): string;
310
297
  stretchedLinkCardClasses(): string;
311
- videoDetails(): {
312
- videoId: string;
313
- videoDurationMsg: string;
314
- videoDuration: number;
315
- videoFullDuration: {
316
- minutes: number;
317
- seconds: number;
318
- roundedMinutes: string;
319
- };
320
- };
298
+ videoDetails(): any;
321
299
  videoLoaded(): boolean;
322
300
  warningClass(): string;
323
301
  showCookieWarning(): boolean;
@@ -293,36 +293,14 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
293
293
  type: BooleanConstructor;
294
294
  default: boolean;
295
295
  };
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
- }, {
296
+ }>, {}, {
310
297
  jsDisabled: boolean;
311
298
  requiredCookies: string[];
312
299
  }, {
313
300
  formattedVideoBtnText(): string;
314
301
  formattedVideoDuration(): string;
315
302
  stretchedLinkCardClasses(): string;
316
- videoDetails(): {
317
- videoId: string;
318
- videoDurationMsg: string;
319
- videoDuration: number;
320
- videoFullDuration: {
321
- minutes: number;
322
- seconds: number;
323
- roundedMinutes: string;
324
- };
325
- };
303
+ videoDetails(): any;
326
304
  videoLoaded(): boolean;
327
305
  warningClass(): string;
328
306
  showCookieWarning(): boolean;
@@ -110,36 +110,14 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
110
110
  type: BooleanConstructor;
111
111
  default: boolean;
112
112
  };
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
- }, {
113
+ }>, {}, {
127
114
  jsDisabled: boolean;
128
115
  requiredCookies: string[];
129
116
  }, {
130
117
  formattedVideoBtnText(): string;
131
118
  formattedVideoDuration(): string;
132
119
  stretchedLinkCardClasses(): string;
133
- videoDetails(): {
134
- videoId: string;
135
- videoDurationMsg: string;
136
- videoDuration: number;
137
- videoFullDuration: {
138
- minutes: number;
139
- seconds: number;
140
- roundedMinutes: string;
141
- };
142
- };
120
+ videoDetails(): any;
143
121
  videoLoaded(): boolean;
144
122
  warningClass(): string;
145
123
  showCookieWarning(): boolean;