@saooti/octopus-sdk 37.0.45 → 37.0.47
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.
package/package.json
CHANGED
|
@@ -268,9 +268,9 @@ export default defineComponent({
|
|
|
268
268
|
},
|
|
269
269
|
iFrame(): string {
|
|
270
270
|
const specialDigiteka = this.podcast?.video?.videoId
|
|
271
|
-
? 'allowfullscreen="true"
|
|
271
|
+
? 'allowfullscreen="true" referrerpolicy="no-referrer-when-downgrade"'
|
|
272
272
|
: "";
|
|
273
|
-
return `<iframe src="${this.iFrameSrc}" width="100%" height="${this.iFrameHeight}" scrolling="no" frameborder="0" ${specialDigiteka}></iframe>`;
|
|
273
|
+
return `<iframe src="${this.iFrameSrc}" width="100%" height="${this.iFrameHeight}" scrolling="no" frameborder="0" ${specialDigiteka} allow="clipboard-read; clipboard-write; autoplay"></iframe>`;
|
|
274
274
|
},
|
|
275
275
|
isPodcastNotVisible(): boolean {
|
|
276
276
|
return (
|
|
@@ -77,7 +77,7 @@ export default defineComponent({
|
|
|
77
77
|
},
|
|
78
78
|
|
|
79
79
|
iFrame(): string {
|
|
80
|
-
return `<iframe src="${this.iFrameSrc}" width="100%" height="140px" scrolling="no" frameborder="0"></iframe>`;
|
|
80
|
+
return `<iframe src="${this.iFrameSrc}" width="100%" height="140px" scrolling="no" allow="clipboard-read; clipboard-write; autoplay" frameborder="0"></iframe>`;
|
|
81
81
|
},
|
|
82
82
|
},
|
|
83
83
|
async created() {
|
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
:enable-time-picker="!isTimePicker ? displayTimePicker : undefined"
|
|
20
20
|
:aria-labels="ariaLabels"
|
|
21
21
|
:max-time="maxTime"
|
|
22
|
+
:month-picker="monthPicker"
|
|
22
23
|
@update:model-value="$emit('updateDate', $event)"
|
|
23
24
|
>
|
|
24
25
|
</VueDatePicker>
|
|
@@ -57,6 +58,7 @@ export default defineComponent({
|
|
|
57
58
|
seconds?: number | string;
|
|
58
59
|
},
|
|
59
60
|
},
|
|
61
|
+
monthPicker:{ default: false, type: Boolean },
|
|
60
62
|
},
|
|
61
63
|
|
|
62
64
|
emits: ["updateDate", "update:date"],
|
|
@@ -73,13 +75,28 @@ export default defineComponent({
|
|
|
73
75
|
};
|
|
74
76
|
},
|
|
75
77
|
modelVal() {
|
|
76
|
-
|
|
78
|
+
if(this.time){
|
|
79
|
+
return this.time;
|
|
80
|
+
}
|
|
81
|
+
if(this.range){
|
|
82
|
+
return this.range;
|
|
83
|
+
}
|
|
84
|
+
if(this.date && this.monthPicker){
|
|
85
|
+
return {
|
|
86
|
+
month: this.date.getMonth(),
|
|
87
|
+
year: this.date.getFullYear()
|
|
88
|
+
};
|
|
89
|
+
}
|
|
90
|
+
return this.date;
|
|
77
91
|
},
|
|
78
92
|
formatLocale() {
|
|
79
93
|
return this.$i18n.locale;
|
|
80
94
|
},
|
|
81
95
|
format() {
|
|
82
96
|
let timeString = "";
|
|
97
|
+
if(this.monthPicker){
|
|
98
|
+
return "MM/yyyy";
|
|
99
|
+
}
|
|
83
100
|
if (this.displayTimePicker || this.isTimePicker) {
|
|
84
101
|
timeString = "HH:mm";
|
|
85
102
|
if (this.displaySeconds) {
|