@saooti/octopus-sdk 37.0.27 → 37.0.28
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
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
:time-picker="isTimePicker"
|
|
5
5
|
:input-class-name="templateClass"
|
|
6
6
|
:clearable="false"
|
|
7
|
+
:text-input="true"
|
|
7
8
|
:readonly="readonly"
|
|
8
9
|
:teleport="useTeleport"
|
|
9
10
|
:locale="formatLocale"
|
|
@@ -17,6 +18,7 @@
|
|
|
17
18
|
:inline="columnNumber > 1"
|
|
18
19
|
:enable-time-picker="!isTimePicker ? displayTimePicker : undefined"
|
|
19
20
|
:aria-labels="ariaLabels"
|
|
21
|
+
:max-time="maxTime"
|
|
20
22
|
@update:model-value="$emit('updateDate', $event)"
|
|
21
23
|
>
|
|
22
24
|
</VueDatePicker>
|
|
@@ -47,6 +49,7 @@ export default defineComponent({
|
|
|
47
49
|
useTeleport: { default: false, type: Boolean },
|
|
48
50
|
templateClass: { default: undefined, type: String },
|
|
49
51
|
readonly: { default: false, type: Boolean },
|
|
52
|
+
maxTime:{default: null, type: Object as () => { hours?: number | string; minutes?: number | string; seconds?: number | string }}
|
|
50
53
|
},
|
|
51
54
|
|
|
52
55
|
emits: ["updateDate", "update:date"],
|
|
@@ -274,14 +274,16 @@ export default defineComponent({
|
|
|
274
274
|
${this.emissionName}${this.description}`,
|
|
275
275
|
];
|
|
276
276
|
html.push(
|
|
277
|
-
|
|
278
|
-
<
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
277
|
+
`</table>
|
|
278
|
+
<table width='100%' style="width:100%;background:#f3f3f3;font-family: Arial, sans-serif;font-size: 12px;line-height: 20px;">
|
|
279
|
+
<tr style="font-family: Arial, sans-serif;font-size: 12px;line-height: 20px;background: #f3f3f3;vertical-align: middle;padding: 15px 10px;display: flex; align-items:center; flex-wrap:wrap">
|
|
280
|
+
<td><a href="${this.shareUrl}">
|
|
281
|
+
<svg fill="#000000" height="30px" width="30px" version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 17.804 17.804" xml:space="preserve"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"> <g> <g id="c98_play"> <path d="M2.067,0.043C2.21-0.028,2.372-0.008,2.493,0.085l13.312,8.503c0.094,0.078,0.154,0.191,0.154,0.313 c0,0.12-0.061,0.237-0.154,0.314L2.492,17.717c-0.07,0.057-0.162,0.087-0.25,0.087l-0.176-0.04 c-0.136-0.065-0.222-0.207-0.222-0.361V0.402C1.844,0.25,1.93,0.107,2.067,0.043z"></path> </g> <g id="Capa_1_78_"> </g> </g> </g></svg>
|
|
282
|
+
</a></td>
|
|
283
|
+
<td style="margin-left:10px"><a style="color: #000;text-decoration: none; margin-right:8px" href="${this.shareUrl}">${this.shareText}</a></td>
|
|
283
284
|
${this.articleHtml}
|
|
284
|
-
</
|
|
285
|
+
</tr>
|
|
286
|
+
</table>${this.participantsName}`
|
|
285
287
|
);
|
|
286
288
|
return html.join("");
|
|
287
289
|
},
|
|
@@ -7,10 +7,11 @@ export default {
|
|
|
7
7
|
}
|
|
8
8
|
if (state.octopusApi.imageUrl && url.includes("http")) {
|
|
9
9
|
const size = height ? "height=" + height : "width=" + width;
|
|
10
|
+
const encode = btoa(url).replace(/\+/g, '-').replace(/\//g, '_').replace(/=+$/, '');
|
|
10
11
|
return (
|
|
11
12
|
state.octopusApi.imageUrl +
|
|
12
13
|
"image/" +
|
|
13
|
-
|
|
14
|
+
encode +
|
|
14
15
|
"?" +
|
|
15
16
|
size +
|
|
16
17
|
"&useWebp=true"
|