@g1cloud/bluesea 5.0.0-beta.9 → 6.0.0-alpha.0
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/README.md +11 -0
- package/bin/install-claude-skill.mjs +74 -0
- package/css/bluesea.css +12 -30478
- package/dist/index.d.ts +10 -130
- package/dist/index.js +13 -0
- package/package.json +41 -59
- package/skills/bluesea-ui/SKILL.md +345 -0
- package/skills/bluesea-ui/references/components.md +196 -0
- package/skills/bluesea-ui/references/grid.md +159 -0
- package/skills/bluesea-ui/references/i18n.md +149 -0
- package/skills/bluesea-ui/references/validation.md +178 -0
- package/css/frame-default.css +0 -703
- package/dist/BSAlertModal-DypUvVcH.js +0 -52
- package/dist/BSGridColumnSettingModal-DhGr9UtK.js +0 -149
- package/dist/BSRichTextMaximizedModal-DmPabr58.js +0 -62
- package/dist/BSYesNoModal-CBrzf4F5.js +0 -57
- package/dist/BSYoutubeInputModal-BxabTSWx.js +0 -76
- package/dist/ImageInsertModal-K1Tx7ys2.js +0 -106
- package/dist/ImageProperties.vue_vue_type_script_setup_true_lang-D8KH2XwP.js +0 -180
- package/dist/ImagePropertiesModal-Duu4PBjb.js +0 -98
- package/dist/LinkPropertiesModal-Bx3WJhkN.js +0 -119
- package/dist/TableInsertModal-DBrcQa3b.js +0 -74
- package/dist/TablePropertiesModal-ClsK1yM4.js +0 -353
- package/dist/VideoInsertModal-C-b0-PU0.js +0 -106
- package/dist/VideoProperties.vue_vue_type_script_setup_true_lang-zYZJtiR2.js +0 -194
- package/dist/VideoPropertiesModal-zlEThjim.js +0 -98
- package/dist/YoutubeInsertModal-Gpob0la3.js +0 -84
- package/dist/YoutubeProperties.vue_vue_type_script_setup_true_lang-CDvDzheM.js +0 -181
- package/dist/YoutubePropertiesModal-C3I5eF0-.js +0 -102
- package/dist/bluesea.css +0 -11278
- package/dist/bluesea.js +0 -223
- package/dist/bluesea.umd.cjs +0 -72228
- package/dist/component/basic/BSButton.vue.d.ts +0 -50
- package/dist/component/basic/BSCalendar.vue.d.ts +0 -68
- package/dist/component/basic/BSCalendarRange.vue.d.ts +0 -57
- package/dist/component/basic/BSConsole.vue.d.ts +0 -36
- package/dist/component/basic/BSDate.vue.d.ts +0 -19
- package/dist/component/basic/BSFormLabel.vue.d.ts +0 -19
- package/dist/component/basic/BSImage.vue.d.ts +0 -44
- package/dist/component/basic/BSLink.vue.d.ts +0 -21
- package/dist/component/basic/BSLoadingIcon.vue.d.ts +0 -2
- package/dist/component/basic/BSPageNavigation.vue.d.ts +0 -52
- package/dist/component/basic/BSPopup.vue.d.ts +0 -70
- package/dist/component/basic/BSPopupButton.vue.d.ts +0 -41
- package/dist/component/basic/BSProgressBar.vue.d.ts +0 -33
- package/dist/component/basic/BSTooltip.vue.d.ts +0 -35
- package/dist/component/global/AddressSearchButton.vue.d.ts +0 -36
- package/dist/component/global/AddressSearchList.gen.d.ts +0 -4
- package/dist/component/global/BSAddressInput.vue.d.ts +0 -72
- package/dist/component/global/BSLocaleSelect.vue.d.ts +0 -35
- package/dist/component/global/BSNameInput.vue.d.ts +0 -80
- package/dist/component/global/BSTelInput.vue.d.ts +0 -88
- package/dist/component/grid/BSDateRangeFilter.vue.d.ts +0 -63
- package/dist/component/grid/BSDateRangeFilters.vue.d.ts +0 -56
- package/dist/component/grid/BSGrid.vue.d.ts +0 -177
- package/dist/component/grid/BSGridCell.vue.d.ts +0 -85
- package/dist/component/grid/BSGridCellCheckbox.vue.d.ts +0 -21
- package/dist/component/grid/BSGridCellDragHandle.vue.d.ts +0 -15
- package/dist/component/grid/BSGridCellEdit.vue.d.ts +0 -21
- package/dist/component/grid/BSGridCellSerialNo.vue.d.ts +0 -15
- package/dist/component/grid/BSGridColumnSettingModal.vue.d.ts +0 -25
- package/dist/component/grid/BSGridControl.vue.d.ts +0 -78
- package/dist/component/grid/BSGridHeaderCell.vue.d.ts +0 -45
- package/dist/component/grid/BSGridHeaderCellCheckbox.vue.d.ts +0 -19
- package/dist/component/grid/BSGridHeaderCellResizeHandle.vue.d.ts +0 -21
- package/dist/component/grid/BSGridHeaderCellSerialNo.vue.d.ts +0 -2
- package/dist/component/grid/BSGridLookup.vue.d.ts +0 -67
- package/dist/component/grid/BSGridRow.vue.d.ts +0 -140
- package/dist/component/grid/BSTextFilter.vue.d.ts +0 -42
- package/dist/component/grid/DateFilterModel.d.ts +0 -19
- package/dist/component/grid/GridExtension.d.ts +0 -17
- package/dist/component/grid/GridLib.d.ts +0 -21
- package/dist/component/grid/GridModel.d.ts +0 -399
- package/dist/component/grid/extension/gridExcelDownloadExtension.d.ts +0 -22
- package/dist/component/grid/vDndSupport.d.ts +0 -18
- package/dist/component/input/BSCheckbox.vue.d.ts +0 -63
- package/dist/component/input/BSCheckboxGroup.vue.d.ts +0 -79
- package/dist/component/input/BSCodeEditor.vue.d.ts +0 -73
- package/dist/component/input/BSColorInput.vue.d.ts +0 -68
- package/dist/component/input/BSDateInput.vue.d.ts +0 -90
- package/dist/component/input/BSDateInputPopup.vue.d.ts +0 -41
- package/dist/component/input/BSDateRange.vue.d.ts +0 -113
- package/dist/component/input/BSDateRangeInputPopup.vue.d.ts +0 -45
- package/dist/component/input/BSDateRangePresets.vue.d.ts +0 -40
- package/dist/component/input/BSHtmlEditor.vue.d.ts +0 -64
- package/dist/component/input/BSImageUpload.vue.d.ts +0 -118
- package/dist/component/input/BSMediaPreview.vue.d.ts +0 -55
- package/dist/component/input/BSMultiImageUpload.vue.d.ts +0 -108
- package/dist/component/input/BSMultiSelect.vue.d.ts +0 -91
- package/dist/component/input/BSNumberInput.vue.d.ts +0 -91
- package/dist/component/input/BSPopupSelect.vue.d.ts +0 -54
- package/dist/component/input/BSPositionedImageUpload.vue.d.ts +0 -97
- package/dist/component/input/BSPriceInput.vue.d.ts +0 -91
- package/dist/component/input/BSRadioButton.vue.d.ts +0 -72
- package/dist/component/input/BSRadioButtonGroup.vue.d.ts +0 -86
- package/dist/component/input/BSSelect.vue.d.ts +0 -95
- package/dist/component/input/BSSelectPopup.vue.d.ts +0 -87
- package/dist/component/input/BSTextArea.vue.d.ts +0 -88
- package/dist/component/input/BSTextInput.vue.d.ts +0 -100
- package/dist/component/input/BSTreeMultiSelect.vue.d.ts +0 -89
- package/dist/component/input/BSTreeSelect.vue.d.ts +0 -90
- package/dist/component/input/BSYesNoGroup.vue.d.ts +0 -55
- package/dist/component/input/BSYesNoSelect.vue.d.ts +0 -51
- package/dist/component/input/BSYoutubeInputModal.vue.d.ts +0 -6
- package/dist/component/input/DateInputLib.d.ts +0 -27
- package/dist/component/input/DateRangePresetModel.d.ts +0 -16
- package/dist/component/input/HtmlEditorModel.d.ts +0 -5
- package/dist/component/input/ImageUploadLib.d.ts +0 -22
- package/dist/component/input/ImageUploadModel.d.ts +0 -12
- package/dist/component/input/ValidationErrors.vue.d.ts +0 -19
- package/dist/component/input/vDragAndDropSupport.d.ts +0 -10
- package/dist/component/layout/BSCardLayout.vue.d.ts +0 -41
- package/dist/component/layout/BSHorizontalLayoutResizer.vue.d.ts +0 -6
- package/dist/component/layout/BSListControl.vue.d.ts +0 -52
- package/dist/component/layout/BSListLayout.vue.d.ts +0 -85
- package/dist/component/layout/BSListLayoutItem.vue.d.ts +0 -82
- package/dist/component/layout/BSTabSheet.vue.d.ts +0 -63
- package/dist/component/layout/BSVerticalLayoutResizer.vue.d.ts +0 -6
- package/dist/component/layout/SlideDownTransition.vue.d.ts +0 -9
- package/dist/component/layout/TabSheetModel.d.ts +0 -49
- package/dist/component/multilang/BSMultiLangExpandButton.vue.d.ts +0 -2
- package/dist/component/multilang/BSMultiLangHtmlEditor.vue.d.ts +0 -84
- package/dist/component/multilang/BSMultiLangImageUpload.vue.d.ts +0 -81
- package/dist/component/multilang/BSMultiLangRichText.vue.d.ts +0 -93
- package/dist/component/multilang/BSMultiLangTextArea.vue.d.ts +0 -96
- package/dist/component/multilang/BSMultiLangTextInput.vue.d.ts +0 -96
- package/dist/component/multilang/multiLangLib.d.ts +0 -6
- package/dist/component/richtext/BSRichText.vue.d.ts +0 -90
- package/dist/component/richtext/BSRichTextMaximizedModal.vue.d.ts +0 -74
- package/dist/component/richtext/RichTextLib.d.ts +0 -15
- package/dist/component/richtext/RichTextModel.d.ts +0 -9
- package/dist/component/richtext/RichTextToolbar.vue.d.ts +0 -36
- package/dist/component/richtext/image/ImageInsertModal.vue.d.ts +0 -22
- package/dist/component/richtext/image/ImageProperties.vue.d.ts +0 -19
- package/dist/component/richtext/image/ImagePropertiesModal.vue.d.ts +0 -17
- package/dist/component/richtext/image/RichTextImage.d.ts +0 -7
- package/dist/component/richtext/image/RichTextImageLib.d.ts +0 -13
- package/dist/component/richtext/image/ToolButtonImage.vue.d.ts +0 -19
- package/dist/component/richtext/link/LinkPropertiesModal.vue.d.ts +0 -17
- package/dist/component/richtext/link/ToolButtonLink.vue.d.ts +0 -19
- package/dist/component/richtext/richTextUtil.d.ts +0 -18
- package/dist/component/richtext/table/RichTextTable.d.ts +0 -8
- package/dist/component/richtext/table/RichTextTableCell.d.ts +0 -1
- package/dist/component/richtext/table/RichTextTableLib.d.ts +0 -23
- package/dist/component/richtext/table/RichTextTableView.d.ts +0 -19
- package/dist/component/richtext/table/TableInsertModal.vue.d.ts +0 -17
- package/dist/component/richtext/table/TablePropertiesModal.vue.d.ts +0 -17
- package/dist/component/richtext/table/ToolButtonTable.vue.d.ts +0 -19
- package/dist/component/richtext/tool/ToolButtonFontColor.vue.d.ts +0 -19
- package/dist/component/richtext/tool/ToolButtonFontSize.vue.d.ts +0 -19
- package/dist/component/richtext/tool/ToolButtonFontStyle.vue.d.ts +0 -19
- package/dist/component/richtext/tool/ToolButtonHeading.vue.d.ts +0 -19
- package/dist/component/richtext/tool/ToolButtonListItem.vue.d.ts +0 -19
- package/dist/component/richtext/tool/ToolButtonMaximize.vue.d.ts +0 -19
- package/dist/component/richtext/tool/ToolButtonTextAlign.vue.d.ts +0 -19
- package/dist/component/richtext/video/RichTextVideo.d.ts +0 -29
- package/dist/component/richtext/video/RichTextVideoLib.d.ts +0 -16
- package/dist/component/richtext/video/ToolButtonVideo.vue.d.ts +0 -19
- package/dist/component/richtext/video/VideoInsertModal.vue.d.ts +0 -22
- package/dist/component/richtext/video/VideoProperties.vue.d.ts +0 -19
- package/dist/component/richtext/video/VideoPropertiesModal.vue.d.ts +0 -17
- package/dist/component/richtext/youtube/RichTextYoutube.d.ts +0 -8
- package/dist/component/richtext/youtube/RichTextYoutubeLib.d.ts +0 -14
- package/dist/component/richtext/youtube/ToolButtonYoutube.vue.d.ts +0 -19
- package/dist/component/richtext/youtube/YoutubeInsertModal.vue.d.ts +0 -17
- package/dist/component/richtext/youtube/YoutubeProperties.vue.d.ts +0 -19
- package/dist/component/richtext/youtube/YoutubePropertiesModal.vue.d.ts +0 -17
- package/dist/component/tree/BSTree.vue.d.ts +0 -107
- package/dist/component/tree/BSTreeControl.vue.d.ts +0 -90
- package/dist/component/tree/BSTreeRow.vue.d.ts +0 -92
- package/dist/component/tree/TreeLib.d.ts +0 -11
- package/dist/component/tree/TreeModel.d.ts +0 -188
- package/dist/component/tree/vTreeDndSupport.d.ts +0 -10
- package/dist/config/config.d.ts +0 -155
- package/dist/contextmenu/BSContextMenu.vue.d.ts +0 -43
- package/dist/contextmenu/BSContextMenuContainer.vue.d.ts +0 -2
- package/dist/contextmenu/contextMenuPlugin.d.ts +0 -43
- package/dist/directive/vClickOutside.d.ts +0 -21
- package/dist/directive/vFocusJump.d.ts +0 -19
- package/dist/directive/vFocusLoop.d.ts +0 -25
- package/dist/directive/vFocusOnLoad.d.ts +0 -4
- package/dist/directive/vT.d.ts +0 -11
- package/dist/directive/vTooltip.d.ts +0 -9
- package/dist/frame/FrameModel.d.ts +0 -82
- package/dist/frame/ShortcutKeyHandler.d.ts +0 -37
- package/dist/frame/default/DefaultBody.vue.d.ts +0 -2
- package/dist/frame/default/DefaultFrameModel.d.ts +0 -107
- package/dist/frame/default/DefaultHeader.vue.d.ts +0 -23
- package/dist/frame/default/HeaderTab.vue.d.ts +0 -17
- package/dist/frame/default/HeaderTabListButton.vue.d.ts +0 -2
- package/dist/frame/default/HeaderTabs.vue.d.ts +0 -15
- package/dist/frame/default/SidebarMenu.vue.d.ts +0 -2
- package/dist/frame/default/SidebarMenuItem.vue.d.ts +0 -25
- package/dist/frame/default/SidebarMenuLink.vue.d.ts +0 -29
- package/dist/frame/default/SidebarMenuSearch.vue.d.ts +0 -28
- package/dist/index-DxMqs72-.js +0 -70181
- package/dist/modal/BSAlertModal.vue.d.ts +0 -23
- package/dist/modal/BSModalContainer.vue.d.ts +0 -2
- package/dist/modal/BSModalFrame.vue.d.ts +0 -37
- package/dist/modal/BSModalWrapper.vue.d.ts +0 -17
- package/dist/modal/BSYesNoModal.vue.d.ts +0 -25
- package/dist/modal/modalPlugin.d.ts +0 -73
- package/dist/model/CommonTypes.d.ts +0 -96
- package/dist/model/DefaultImpl.d.ts +0 -8
- package/dist/model/FieldContext.d.ts +0 -15
- package/dist/model/FilterModel.d.ts +0 -114
- package/dist/model/MoneySerializer.d.ts +0 -3
- package/dist/model/PaginatedList.d.ts +0 -29
- package/dist/model/SearchModel.d.ts +0 -22
- package/dist/notification/BSAlarmFrame.vue.d.ts +0 -26
- package/dist/notification/BSNotificationContainer.vue.d.ts +0 -2
- package/dist/notification/notificationPlugin.d.ts +0 -33
- package/dist/savepoint/SavePoint.d.ts +0 -47
- package/dist/text/i18n.d.ts +0 -28
- package/dist/util/alertUtil.d.ts +0 -1
- package/dist/util/componentUtil.d.ts +0 -40
- package/dist/util/debounceUtil.d.ts +0 -16
- package/dist/util/elementUtil.d.ts +0 -58
- package/dist/util/formatUtil.d.ts +0 -70
- package/dist/util/langUtil.d.ts +0 -3
- package/dist/util/multiLangUtil.d.ts +0 -27
- package/dist/util/routeUtil.d.ts +0 -3
- package/dist/util/typeUtil.d.ts +0 -18
- package/dist/util/waitUtil.d.ts +0 -19
- package/dist/validator/FieldValidator.d.ts +0 -45
- package/dist/validator/FormValidator.d.ts +0 -35
- package/scss/bluesea-base.scss +0 -6
- package/scss/bluesea.scss +0 -2
- package/scss/component.scss +0 -515
- package/scss/font.scss +0 -3
- package/scss/frame/default.scss +0 -293
- package/scss/layout.scss +0 -192
- package/scss/reset.scss +0 -68
- package/scss/rich-text-container.scss +0 -113
- package/scss/rich-text-content.scss +0 -137
- package/scss/transition.scss +0 -108
- package/scss/utility.scss +0 -816
- package/scss/variable.scss +0 -347
- package/text/bluesea_text_en.json +0 -956
- package/text/bluesea_text_fr.json +0 -956
- package/text/bluesea_text_ja.json +0 -956
- package/text/bluesea_text_ko.json +0 -956
- package/text/bluesea_text_zh.json +0 -956
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
import { defineComponent, computed, ref, createBlock, openBlock, withCtx, createElementVNode, createVNode, withDirectives, vShow } from "vue";
|
|
2
|
-
import { u as useModalHandle, _ as _sfc_main$1, B as BSButton, a as _sfc_main$2, b as _sfc_main$3, c as _sfc_main$4 } from "./index-DxMqs72-.js";
|
|
3
|
-
import { _ as _sfc_main$5 } from "./VideoProperties.vue_vue_type_script_setup_true_lang-zYZJtiR2.js";
|
|
4
|
-
const _hoisted_1 = { class: "bs-layout-form title-w-8" };
|
|
5
|
-
const _hoisted_2 = { class: "title" };
|
|
6
|
-
const _hoisted_3 = { class: "bs-layout-horizontal justify-content-end gap-8" };
|
|
7
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
8
|
-
__name: "VideoInsertModal",
|
|
9
|
-
props: {
|
|
10
|
-
editor: {}
|
|
11
|
-
},
|
|
12
|
-
emits: ["insertVideo"],
|
|
13
|
-
setup(__props, { emit: __emit }) {
|
|
14
|
-
const props = __props;
|
|
15
|
-
const disabled = computed(() => !props.editor.isEditable);
|
|
16
|
-
const emit = __emit;
|
|
17
|
-
const tabs = [
|
|
18
|
-
// {tabId: 'upload', caption: {key: 'Upload'}},
|
|
19
|
-
{ tabId: "input", caption: { key: "bs.url" } }
|
|
20
|
-
];
|
|
21
|
-
const currentTab = ref("upload");
|
|
22
|
-
const video = ref();
|
|
23
|
-
const data = ref({ src: "", controls: true });
|
|
24
|
-
const modalHandle = useModalHandle();
|
|
25
|
-
const insert = () => {
|
|
26
|
-
if (currentTab.value === "upload" && (video.value && video.value.fileUrl)) {
|
|
27
|
-
emit("insertVideo", {
|
|
28
|
-
src: video.value.fileUrl,
|
|
29
|
-
controls: true
|
|
30
|
-
});
|
|
31
|
-
modalHandle.close();
|
|
32
|
-
} else if (currentTab.value === "input" && data.value.src) {
|
|
33
|
-
emit("insertVideo", data.value);
|
|
34
|
-
modalHandle.close();
|
|
35
|
-
}
|
|
36
|
-
};
|
|
37
|
-
const close = () => modalHandle.close();
|
|
38
|
-
modalHandle.setDefaultStyle({
|
|
39
|
-
width: "540px",
|
|
40
|
-
height: "460px"
|
|
41
|
-
});
|
|
42
|
-
return (_ctx, _cache) => {
|
|
43
|
-
return openBlock(), createBlock(_sfc_main$1, { title: { key: "bs.richtext.insertVideo" } }, {
|
|
44
|
-
default: withCtx(() => [
|
|
45
|
-
createVNode(_sfc_main$2, {
|
|
46
|
-
"tab-id": currentTab.value,
|
|
47
|
-
"onUpdate:tabId": _cache[1] || (_cache[1] = ($event) => currentTab.value = $event),
|
|
48
|
-
tabs,
|
|
49
|
-
class: "compact",
|
|
50
|
-
"keep-tabs": ""
|
|
51
|
-
}, {
|
|
52
|
-
input: withCtx(({ active }) => [
|
|
53
|
-
withDirectives(createElementVNode("div", _hoisted_1, [
|
|
54
|
-
createElementVNode("div", null, [
|
|
55
|
-
createElementVNode("div", _hoisted_2, [
|
|
56
|
-
createVNode(_sfc_main$3, {
|
|
57
|
-
label: { key: "bs.url" },
|
|
58
|
-
required: ""
|
|
59
|
-
})
|
|
60
|
-
]),
|
|
61
|
-
createElementVNode("div", null, [
|
|
62
|
-
createVNode(_sfc_main$4, {
|
|
63
|
-
modelValue: data.value.src,
|
|
64
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => data.value.src = $event),
|
|
65
|
-
disabled: disabled.value,
|
|
66
|
-
class: "flex-grow-1",
|
|
67
|
-
name: "url",
|
|
68
|
-
required: "",
|
|
69
|
-
width: "100%"
|
|
70
|
-
}, null, 8, ["modelValue", "disabled"])
|
|
71
|
-
])
|
|
72
|
-
]),
|
|
73
|
-
createVNode(_sfc_main$5, {
|
|
74
|
-
disabled: disabled.value,
|
|
75
|
-
"video-info": data.value
|
|
76
|
-
}, null, 8, ["disabled", "video-info"])
|
|
77
|
-
], 512), [
|
|
78
|
-
[vShow, active]
|
|
79
|
-
])
|
|
80
|
-
]),
|
|
81
|
-
_: 1
|
|
82
|
-
}, 8, ["tab-id"])
|
|
83
|
-
]),
|
|
84
|
-
buttons: withCtx(() => [
|
|
85
|
-
createElementVNode("div", _hoisted_3, [
|
|
86
|
-
createVNode(BSButton, {
|
|
87
|
-
caption: { key: "bs.ok" },
|
|
88
|
-
"button-color": "blue",
|
|
89
|
-
"data-id": "okBtn",
|
|
90
|
-
onClick: insert
|
|
91
|
-
}),
|
|
92
|
-
createVNode(BSButton, {
|
|
93
|
-
caption: { key: "bs.cancel" },
|
|
94
|
-
"data-id": "cancelBtn",
|
|
95
|
-
onClick: close
|
|
96
|
-
})
|
|
97
|
-
])
|
|
98
|
-
]),
|
|
99
|
-
_: 1
|
|
100
|
-
});
|
|
101
|
-
};
|
|
102
|
-
}
|
|
103
|
-
});
|
|
104
|
-
export {
|
|
105
|
-
_sfc_main as default
|
|
106
|
-
};
|
|
@@ -1,194 +0,0 @@
|
|
|
1
|
-
import { defineComponent, createElementBlock, openBlock, Fragment, createElementVNode, createVNode, withDirectives, createTextVNode, unref } from "vue";
|
|
2
|
-
import { i as _sfc_main$1, b as _sfc_main$2, c as _sfc_main$3, v as vT } from "./index-DxMqs72-.js";
|
|
3
|
-
const _hoisted_1 = { class: "bs-layout-horizontal gap-8" };
|
|
4
|
-
const _hoisted_2 = { class: "title" };
|
|
5
|
-
const _hoisted_3 = { class: "title" };
|
|
6
|
-
const _hoisted_4 = { class: "title" };
|
|
7
|
-
const _hoisted_5 = { class: "bs-layout-horizontal gap-2" };
|
|
8
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
9
|
-
__name: "VideoProperties",
|
|
10
|
-
props: {
|
|
11
|
-
videoInfo: {},
|
|
12
|
-
disabled: { type: Boolean }
|
|
13
|
-
},
|
|
14
|
-
setup(__props) {
|
|
15
|
-
return (_ctx, _cache) => {
|
|
16
|
-
return openBlock(), createElementBlock(Fragment, null, [
|
|
17
|
-
createElementVNode("div", null, [
|
|
18
|
-
createElementVNode("div", _hoisted_1, [
|
|
19
|
-
createVNode(_sfc_main$1, {
|
|
20
|
-
modelValue: _ctx.videoInfo.controls,
|
|
21
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.videoInfo.controls = $event),
|
|
22
|
-
disabled: _ctx.disabled,
|
|
23
|
-
label: { key: "bs.richtext.showVideoControl" }
|
|
24
|
-
}, null, 8, ["modelValue", "disabled"]),
|
|
25
|
-
createVNode(_sfc_main$1, {
|
|
26
|
-
modelValue: _ctx.videoInfo.autoplay,
|
|
27
|
-
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => _ctx.videoInfo.autoplay = $event),
|
|
28
|
-
disabled: _ctx.disabled,
|
|
29
|
-
label: { key: "bs.richtext.videoAutoplay" }
|
|
30
|
-
}, null, 8, ["modelValue", "disabled"]),
|
|
31
|
-
createVNode(_sfc_main$1, {
|
|
32
|
-
modelValue: _ctx.videoInfo.loop,
|
|
33
|
-
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => _ctx.videoInfo.loop = $event),
|
|
34
|
-
disabled: _ctx.disabled,
|
|
35
|
-
label: { key: "bs.richtext.videoLoop" }
|
|
36
|
-
}, null, 8, ["modelValue", "disabled"]),
|
|
37
|
-
createVNode(_sfc_main$1, {
|
|
38
|
-
modelValue: _ctx.videoInfo.muted,
|
|
39
|
-
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => _ctx.videoInfo.muted = $event),
|
|
40
|
-
disabled: _ctx.disabled,
|
|
41
|
-
label: { key: "bs.richtext.videoMuted" }
|
|
42
|
-
}, null, 8, ["modelValue", "disabled"])
|
|
43
|
-
])
|
|
44
|
-
]),
|
|
45
|
-
createElementVNode("div", null, [
|
|
46
|
-
createElementVNode("div", _hoisted_2, [
|
|
47
|
-
createVNode(_sfc_main$2, { label: { key: "bs.size" } })
|
|
48
|
-
]),
|
|
49
|
-
createElementVNode("div", null, [
|
|
50
|
-
withDirectives(createVNode(_sfc_main$3, {
|
|
51
|
-
modelValue: _ctx.videoInfo.width,
|
|
52
|
-
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => _ctx.videoInfo.width = $event),
|
|
53
|
-
disabled: _ctx.disabled,
|
|
54
|
-
name: "width",
|
|
55
|
-
prefix: "W",
|
|
56
|
-
width: "100px"
|
|
57
|
-
}, null, 8, ["modelValue", "disabled"]), [
|
|
58
|
-
[
|
|
59
|
-
unref(vT),
|
|
60
|
-
{ key: "bs.width" },
|
|
61
|
-
void 0,
|
|
62
|
-
{ title: true }
|
|
63
|
-
]
|
|
64
|
-
]),
|
|
65
|
-
_cache[12] || (_cache[12] = createTextVNode(" x ")),
|
|
66
|
-
withDirectives(createVNode(_sfc_main$3, {
|
|
67
|
-
modelValue: _ctx.videoInfo.height,
|
|
68
|
-
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => _ctx.videoInfo.height = $event),
|
|
69
|
-
disabled: _ctx.disabled,
|
|
70
|
-
name: "height",
|
|
71
|
-
prefix: "H",
|
|
72
|
-
width: "100px"
|
|
73
|
-
}, null, 8, ["modelValue", "disabled"]), [
|
|
74
|
-
[
|
|
75
|
-
unref(vT),
|
|
76
|
-
{ key: "bs.height" },
|
|
77
|
-
void 0,
|
|
78
|
-
{ title: true }
|
|
79
|
-
]
|
|
80
|
-
])
|
|
81
|
-
])
|
|
82
|
-
]),
|
|
83
|
-
createElementVNode("div", null, [
|
|
84
|
-
createElementVNode("div", _hoisted_3, [
|
|
85
|
-
createVNode(_sfc_main$2, { label: { key: "bs.maxSize" } })
|
|
86
|
-
]),
|
|
87
|
-
createElementVNode("div", null, [
|
|
88
|
-
withDirectives(createVNode(_sfc_main$3, {
|
|
89
|
-
modelValue: _ctx.videoInfo.maxWidth,
|
|
90
|
-
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => _ctx.videoInfo.maxWidth = $event),
|
|
91
|
-
disabled: _ctx.disabled,
|
|
92
|
-
name: "maxWidth",
|
|
93
|
-
prefix: "W",
|
|
94
|
-
width: "100px"
|
|
95
|
-
}, null, 8, ["modelValue", "disabled"]), [
|
|
96
|
-
[
|
|
97
|
-
unref(vT),
|
|
98
|
-
{ key: "bs.maxWidth" },
|
|
99
|
-
void 0,
|
|
100
|
-
{ title: true }
|
|
101
|
-
]
|
|
102
|
-
]),
|
|
103
|
-
_cache[13] || (_cache[13] = createTextVNode(" x ")),
|
|
104
|
-
withDirectives(createVNode(_sfc_main$3, {
|
|
105
|
-
modelValue: _ctx.videoInfo.maxHeight,
|
|
106
|
-
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => _ctx.videoInfo.maxHeight = $event),
|
|
107
|
-
disabled: _ctx.disabled,
|
|
108
|
-
name: "maxHeight",
|
|
109
|
-
prefix: "H",
|
|
110
|
-
width: "100px"
|
|
111
|
-
}, null, 8, ["modelValue", "disabled"]), [
|
|
112
|
-
[
|
|
113
|
-
unref(vT),
|
|
114
|
-
{ key: "bs.maxHeight" },
|
|
115
|
-
void 0,
|
|
116
|
-
{ title: true }
|
|
117
|
-
]
|
|
118
|
-
])
|
|
119
|
-
])
|
|
120
|
-
]),
|
|
121
|
-
createElementVNode("div", null, [
|
|
122
|
-
createElementVNode("div", _hoisted_4, [
|
|
123
|
-
createVNode(_sfc_main$2, { label: { key: "bs.margin" } })
|
|
124
|
-
]),
|
|
125
|
-
createElementVNode("div", _hoisted_5, [
|
|
126
|
-
withDirectives(createVNode(_sfc_main$3, {
|
|
127
|
-
modelValue: _ctx.videoInfo.marginLeft,
|
|
128
|
-
"onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => _ctx.videoInfo.marginLeft = $event),
|
|
129
|
-
disabled: _ctx.disabled,
|
|
130
|
-
prefix: { type: "font-icon", value: "keyboard_arrow_left" },
|
|
131
|
-
name: "marginLeft",
|
|
132
|
-
width: "80px"
|
|
133
|
-
}, null, 8, ["modelValue", "disabled"]), [
|
|
134
|
-
[
|
|
135
|
-
unref(vT),
|
|
136
|
-
{ key: "bs.left" },
|
|
137
|
-
void 0,
|
|
138
|
-
{ title: true }
|
|
139
|
-
]
|
|
140
|
-
]),
|
|
141
|
-
withDirectives(createVNode(_sfc_main$3, {
|
|
142
|
-
modelValue: _ctx.videoInfo.marginTop,
|
|
143
|
-
"onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => _ctx.videoInfo.marginTop = $event),
|
|
144
|
-
disabled: _ctx.disabled,
|
|
145
|
-
prefix: { type: "font-icon", value: "keyboard_arrow_up" },
|
|
146
|
-
name: "marginTop",
|
|
147
|
-
width: "80px"
|
|
148
|
-
}, null, 8, ["modelValue", "disabled"]), [
|
|
149
|
-
[
|
|
150
|
-
unref(vT),
|
|
151
|
-
{ key: "bs.top" },
|
|
152
|
-
void 0,
|
|
153
|
-
{ title: true }
|
|
154
|
-
]
|
|
155
|
-
]),
|
|
156
|
-
withDirectives(createVNode(_sfc_main$3, {
|
|
157
|
-
modelValue: _ctx.videoInfo.marginBottom,
|
|
158
|
-
"onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => _ctx.videoInfo.marginBottom = $event),
|
|
159
|
-
disabled: _ctx.disabled,
|
|
160
|
-
prefix: { type: "font-icon", value: "keyboard_arrow_down" },
|
|
161
|
-
name: "marginBottom",
|
|
162
|
-
width: "80px"
|
|
163
|
-
}, null, 8, ["modelValue", "disabled"]), [
|
|
164
|
-
[
|
|
165
|
-
unref(vT),
|
|
166
|
-
{ key: "bs.bottom" },
|
|
167
|
-
void 0,
|
|
168
|
-
{ title: true }
|
|
169
|
-
]
|
|
170
|
-
]),
|
|
171
|
-
withDirectives(createVNode(_sfc_main$3, {
|
|
172
|
-
modelValue: _ctx.videoInfo.marginRight,
|
|
173
|
-
"onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => _ctx.videoInfo.marginRight = $event),
|
|
174
|
-
disabled: _ctx.disabled,
|
|
175
|
-
prefix: { type: "font-icon", value: "keyboard_arrow_right" },
|
|
176
|
-
name: "marginRight",
|
|
177
|
-
width: "80px"
|
|
178
|
-
}, null, 8, ["modelValue", "disabled"]), [
|
|
179
|
-
[
|
|
180
|
-
unref(vT),
|
|
181
|
-
{ key: "bs.right" },
|
|
182
|
-
void 0,
|
|
183
|
-
{ title: true }
|
|
184
|
-
]
|
|
185
|
-
])
|
|
186
|
-
])
|
|
187
|
-
])
|
|
188
|
-
], 64);
|
|
189
|
-
};
|
|
190
|
-
}
|
|
191
|
-
});
|
|
192
|
-
export {
|
|
193
|
-
_sfc_main as _
|
|
194
|
-
};
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
import { defineComponent, computed, ref, onMounted, useTemplateRef, createBlock, openBlock, withCtx, createElementVNode, createVNode, createElementBlock, createCommentVNode } from "vue";
|
|
2
|
-
import { s as findVideoNode, u as useModalHandle, _ as _sfc_main$1, B as BSButton, b as _sfc_main$2, c as _sfc_main$3, m as formValidator, t as videoInfoNumberToPixel } from "./index-DxMqs72-.js";
|
|
3
|
-
import { _ as _sfc_main$4 } from "./VideoProperties.vue_vue_type_script_setup_true_lang-zYZJtiR2.js";
|
|
4
|
-
const _hoisted_1 = { class: "title" };
|
|
5
|
-
const _hoisted_2 = { class: "bs-layout-horizontal justify-content-end gap-8" };
|
|
6
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
|
-
__name: "VideoPropertiesModal",
|
|
8
|
-
props: {
|
|
9
|
-
editor: {}
|
|
10
|
-
},
|
|
11
|
-
setup(__props) {
|
|
12
|
-
const props = __props;
|
|
13
|
-
const disabled = computed(() => !props.editor.isEditable);
|
|
14
|
-
const data = ref();
|
|
15
|
-
onMounted(() => {
|
|
16
|
-
const selection = props.editor.state.selection;
|
|
17
|
-
const { node } = findVideoNode(selection);
|
|
18
|
-
if (node) {
|
|
19
|
-
data.value = {
|
|
20
|
-
...node.attrs,
|
|
21
|
-
src: node.attrs.src
|
|
22
|
-
};
|
|
23
|
-
}
|
|
24
|
-
});
|
|
25
|
-
const modalHandle = useModalHandle();
|
|
26
|
-
const form = useTemplateRef("form");
|
|
27
|
-
const validator = formValidator({ element: form });
|
|
28
|
-
const save = async () => {
|
|
29
|
-
await validator.validate();
|
|
30
|
-
props.editor.chain().focus().command(({ tr }) => {
|
|
31
|
-
const { node, nodePos } = findVideoNode(tr.selection);
|
|
32
|
-
if (node && nodePos && data.value) {
|
|
33
|
-
tr.setNodeMarkup(nodePos - 1, null, {
|
|
34
|
-
...node.attrs,
|
|
35
|
-
...videoInfoNumberToPixel(data.value)
|
|
36
|
-
});
|
|
37
|
-
}
|
|
38
|
-
return true;
|
|
39
|
-
}).run();
|
|
40
|
-
modalHandle.close();
|
|
41
|
-
};
|
|
42
|
-
const close = () => modalHandle.close();
|
|
43
|
-
modalHandle.setDefaultStyle({
|
|
44
|
-
width: "540px"
|
|
45
|
-
});
|
|
46
|
-
return (_ctx, _cache) => {
|
|
47
|
-
return openBlock(), createBlock(_sfc_main$1, { title: { key: "bs.richtext.videoProperties" } }, {
|
|
48
|
-
default: withCtx(() => [
|
|
49
|
-
data.value ? (openBlock(), createElementBlock("div", {
|
|
50
|
-
key: 0,
|
|
51
|
-
ref_key: "form",
|
|
52
|
-
ref: form,
|
|
53
|
-
class: "bs-layout-form title-w-8"
|
|
54
|
-
}, [
|
|
55
|
-
createElementVNode("div", null, [
|
|
56
|
-
createElementVNode("div", _hoisted_1, [
|
|
57
|
-
createVNode(_sfc_main$2, { label: { key: "bs.url" } })
|
|
58
|
-
]),
|
|
59
|
-
createElementVNode("div", null, [
|
|
60
|
-
createVNode(_sfc_main$3, {
|
|
61
|
-
modelValue: data.value.src,
|
|
62
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => data.value.src = $event),
|
|
63
|
-
disabled: "",
|
|
64
|
-
name: "src",
|
|
65
|
-
required: "",
|
|
66
|
-
width: "100%"
|
|
67
|
-
}, null, 8, ["modelValue"])
|
|
68
|
-
])
|
|
69
|
-
]),
|
|
70
|
-
createVNode(_sfc_main$4, {
|
|
71
|
-
disabled: disabled.value,
|
|
72
|
-
"video-info": data.value
|
|
73
|
-
}, null, 8, ["disabled", "video-info"])
|
|
74
|
-
], 512)) : createCommentVNode("", true)
|
|
75
|
-
]),
|
|
76
|
-
buttons: withCtx(() => [
|
|
77
|
-
createElementVNode("div", _hoisted_2, [
|
|
78
|
-
createVNode(BSButton, {
|
|
79
|
-
caption: { key: "bs.ok" },
|
|
80
|
-
"button-color": "blue",
|
|
81
|
-
"data-id": "okBtn",
|
|
82
|
-
onClick: save
|
|
83
|
-
}),
|
|
84
|
-
createVNode(BSButton, {
|
|
85
|
-
caption: { key: "bs.cancel" },
|
|
86
|
-
"data-id": "cancelBtn",
|
|
87
|
-
onClick: close
|
|
88
|
-
})
|
|
89
|
-
])
|
|
90
|
-
]),
|
|
91
|
-
_: 1
|
|
92
|
-
});
|
|
93
|
-
};
|
|
94
|
-
}
|
|
95
|
-
});
|
|
96
|
-
export {
|
|
97
|
-
_sfc_main as default
|
|
98
|
-
};
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
import { defineComponent, computed, ref, createBlock, openBlock, withCtx, createElementVNode, createVNode } from "vue";
|
|
2
|
-
import { u as useModalHandle, _ as _sfc_main$1, B as BSButton, b as _sfc_main$2, c as _sfc_main$3, y as youtubeInfoNumberToPixel } from "./index-DxMqs72-.js";
|
|
3
|
-
import { _ as _sfc_main$4 } from "./YoutubeProperties.vue_vue_type_script_setup_true_lang-CDvDzheM.js";
|
|
4
|
-
const _hoisted_1 = { class: "bs-layout-form" };
|
|
5
|
-
const _hoisted_2 = { class: "title" };
|
|
6
|
-
const _hoisted_3 = { class: "bs-layout-horizontal justify-content-end gap-8" };
|
|
7
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
8
|
-
__name: "YoutubeInsertModal",
|
|
9
|
-
props: {
|
|
10
|
-
editor: {}
|
|
11
|
-
},
|
|
12
|
-
setup(__props) {
|
|
13
|
-
const props = __props;
|
|
14
|
-
const disabled = computed(() => !props.editor.isEditable);
|
|
15
|
-
const data = ref({ src: "", aspectRatio: "16/9", width: "480px" });
|
|
16
|
-
const modalHandle = useModalHandle();
|
|
17
|
-
const insert = () => {
|
|
18
|
-
if (data.value.src) {
|
|
19
|
-
props.editor.chain().focus().command(({ commands }) => {
|
|
20
|
-
commands.insertContent({
|
|
21
|
-
type: "youtube",
|
|
22
|
-
attrs: youtubeInfoNumberToPixel(data.value)
|
|
23
|
-
});
|
|
24
|
-
return true;
|
|
25
|
-
}).run();
|
|
26
|
-
modalHandle.close();
|
|
27
|
-
}
|
|
28
|
-
};
|
|
29
|
-
const close = () => modalHandle.close();
|
|
30
|
-
modalHandle.setDefaultStyle({
|
|
31
|
-
width: "540px",
|
|
32
|
-
height: "460px"
|
|
33
|
-
});
|
|
34
|
-
return (_ctx, _cache) => {
|
|
35
|
-
return openBlock(), createBlock(_sfc_main$1, { title: { key: "bs.richtext.youtube" } }, {
|
|
36
|
-
default: withCtx(() => [
|
|
37
|
-
createElementVNode("div", _hoisted_1, [
|
|
38
|
-
createElementVNode("div", null, [
|
|
39
|
-
createElementVNode("div", _hoisted_2, [
|
|
40
|
-
createVNode(_sfc_main$2, {
|
|
41
|
-
label: { key: "bs.richtext.youtubeUrl" },
|
|
42
|
-
required: ""
|
|
43
|
-
})
|
|
44
|
-
]),
|
|
45
|
-
createElementVNode("div", null, [
|
|
46
|
-
createVNode(_sfc_main$3, {
|
|
47
|
-
modelValue: data.value.src,
|
|
48
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => data.value.src = $event),
|
|
49
|
-
name: "youtubeUrl",
|
|
50
|
-
placeholder: "https://www.youtube.com/watch?v=...",
|
|
51
|
-
required: "",
|
|
52
|
-
width: "100%"
|
|
53
|
-
}, null, 8, ["modelValue"])
|
|
54
|
-
])
|
|
55
|
-
]),
|
|
56
|
-
createVNode(_sfc_main$4, {
|
|
57
|
-
disabled: disabled.value,
|
|
58
|
-
"youtube-info": data.value
|
|
59
|
-
}, null, 8, ["disabled", "youtube-info"])
|
|
60
|
-
])
|
|
61
|
-
]),
|
|
62
|
-
buttons: withCtx(() => [
|
|
63
|
-
createElementVNode("div", _hoisted_3, [
|
|
64
|
-
createVNode(BSButton, {
|
|
65
|
-
caption: { key: "bs.ok" },
|
|
66
|
-
"button-color": "blue",
|
|
67
|
-
"data-id": "okBtn",
|
|
68
|
-
onClick: insert
|
|
69
|
-
}),
|
|
70
|
-
createVNode(BSButton, {
|
|
71
|
-
caption: { key: "bs.cancel" },
|
|
72
|
-
"data-id": "cancelBtn",
|
|
73
|
-
onClick: close
|
|
74
|
-
})
|
|
75
|
-
])
|
|
76
|
-
]),
|
|
77
|
-
_: 1
|
|
78
|
-
});
|
|
79
|
-
};
|
|
80
|
-
}
|
|
81
|
-
});
|
|
82
|
-
export {
|
|
83
|
-
_sfc_main as default
|
|
84
|
-
};
|
|
@@ -1,181 +0,0 @@
|
|
|
1
|
-
import { defineComponent, createElementBlock, openBlock, Fragment, createElementVNode, createVNode, withDirectives, createTextVNode, unref } from "vue";
|
|
2
|
-
import { b as _sfc_main$1, c as _sfc_main$2, v as vT } from "./index-DxMqs72-.js";
|
|
3
|
-
const _hoisted_1 = { class: "title" };
|
|
4
|
-
const _hoisted_2 = { class: "title" };
|
|
5
|
-
const _hoisted_3 = { class: "title" };
|
|
6
|
-
const _hoisted_4 = { class: "title" };
|
|
7
|
-
const _hoisted_5 = { class: "bs-layout-horizontal gap-2" };
|
|
8
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
9
|
-
__name: "YoutubeProperties",
|
|
10
|
-
props: {
|
|
11
|
-
youtubeInfo: {},
|
|
12
|
-
disabled: { type: Boolean }
|
|
13
|
-
},
|
|
14
|
-
setup(__props) {
|
|
15
|
-
return (_ctx, _cache) => {
|
|
16
|
-
return openBlock(), createElementBlock(Fragment, null, [
|
|
17
|
-
createElementVNode("div", null, [
|
|
18
|
-
createElementVNode("div", _hoisted_1, [
|
|
19
|
-
createVNode(_sfc_main$1, { label: { key: "bs.widthHeightRatio" } })
|
|
20
|
-
]),
|
|
21
|
-
createElementVNode("div", null, [
|
|
22
|
-
createVNode(_sfc_main$2, {
|
|
23
|
-
modelValue: _ctx.youtubeInfo.aspectRatio,
|
|
24
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.youtubeInfo.aspectRatio = $event),
|
|
25
|
-
disabled: _ctx.disabled,
|
|
26
|
-
name: "aspectRatio",
|
|
27
|
-
placeholder: "16/9",
|
|
28
|
-
width: "100px"
|
|
29
|
-
}, null, 8, ["modelValue", "disabled"])
|
|
30
|
-
])
|
|
31
|
-
]),
|
|
32
|
-
createElementVNode("div", null, [
|
|
33
|
-
createElementVNode("div", _hoisted_2, [
|
|
34
|
-
createVNode(_sfc_main$1, { label: { key: "bs.size" } })
|
|
35
|
-
]),
|
|
36
|
-
createElementVNode("div", null, [
|
|
37
|
-
withDirectives(createVNode(_sfc_main$2, {
|
|
38
|
-
modelValue: _ctx.youtubeInfo.width,
|
|
39
|
-
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => _ctx.youtubeInfo.width = $event),
|
|
40
|
-
disabled: _ctx.disabled,
|
|
41
|
-
name: "width",
|
|
42
|
-
prefix: "W",
|
|
43
|
-
width: "100px"
|
|
44
|
-
}, null, 8, ["modelValue", "disabled"]), [
|
|
45
|
-
[
|
|
46
|
-
unref(vT),
|
|
47
|
-
{ key: "bs.width" },
|
|
48
|
-
void 0,
|
|
49
|
-
{ title: true }
|
|
50
|
-
]
|
|
51
|
-
]),
|
|
52
|
-
_cache[9] || (_cache[9] = createTextVNode(" x ")),
|
|
53
|
-
withDirectives(createVNode(_sfc_main$2, {
|
|
54
|
-
modelValue: _ctx.youtubeInfo.height,
|
|
55
|
-
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => _ctx.youtubeInfo.height = $event),
|
|
56
|
-
disabled: _ctx.disabled,
|
|
57
|
-
name: "height",
|
|
58
|
-
prefix: "H",
|
|
59
|
-
width: "100px"
|
|
60
|
-
}, null, 8, ["modelValue", "disabled"]), [
|
|
61
|
-
[
|
|
62
|
-
unref(vT),
|
|
63
|
-
{ key: "bs.height" },
|
|
64
|
-
void 0,
|
|
65
|
-
{ title: true }
|
|
66
|
-
]
|
|
67
|
-
])
|
|
68
|
-
])
|
|
69
|
-
]),
|
|
70
|
-
createElementVNode("div", null, [
|
|
71
|
-
createElementVNode("div", _hoisted_3, [
|
|
72
|
-
createVNode(_sfc_main$1, { label: { key: "bs.maxSize" } })
|
|
73
|
-
]),
|
|
74
|
-
createElementVNode("div", null, [
|
|
75
|
-
withDirectives(createVNode(_sfc_main$2, {
|
|
76
|
-
modelValue: _ctx.youtubeInfo.maxWidth,
|
|
77
|
-
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => _ctx.youtubeInfo.maxWidth = $event),
|
|
78
|
-
disabled: _ctx.disabled,
|
|
79
|
-
name: "maxWidth",
|
|
80
|
-
prefix: "W",
|
|
81
|
-
width: "100px"
|
|
82
|
-
}, null, 8, ["modelValue", "disabled"]), [
|
|
83
|
-
[
|
|
84
|
-
unref(vT),
|
|
85
|
-
{ key: "bs.maxWidth" },
|
|
86
|
-
void 0,
|
|
87
|
-
{ title: true }
|
|
88
|
-
]
|
|
89
|
-
]),
|
|
90
|
-
_cache[10] || (_cache[10] = createTextVNode(" x ")),
|
|
91
|
-
withDirectives(createVNode(_sfc_main$2, {
|
|
92
|
-
modelValue: _ctx.youtubeInfo.maxHeight,
|
|
93
|
-
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => _ctx.youtubeInfo.maxHeight = $event),
|
|
94
|
-
disabled: _ctx.disabled,
|
|
95
|
-
name: "maxHeight",
|
|
96
|
-
prefix: "H",
|
|
97
|
-
width: "100px"
|
|
98
|
-
}, null, 8, ["modelValue", "disabled"]), [
|
|
99
|
-
[
|
|
100
|
-
unref(vT),
|
|
101
|
-
{ key: "bs.maxHeight" },
|
|
102
|
-
void 0,
|
|
103
|
-
{ title: true }
|
|
104
|
-
]
|
|
105
|
-
])
|
|
106
|
-
])
|
|
107
|
-
]),
|
|
108
|
-
createElementVNode("div", null, [
|
|
109
|
-
createElementVNode("div", _hoisted_4, [
|
|
110
|
-
createVNode(_sfc_main$1, { label: { key: "bs.margin" } })
|
|
111
|
-
]),
|
|
112
|
-
createElementVNode("div", _hoisted_5, [
|
|
113
|
-
withDirectives(createVNode(_sfc_main$2, {
|
|
114
|
-
modelValue: _ctx.youtubeInfo.marginLeft,
|
|
115
|
-
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => _ctx.youtubeInfo.marginLeft = $event),
|
|
116
|
-
disabled: _ctx.disabled,
|
|
117
|
-
prefix: { type: "font-icon", value: "keyboard_arrow_left" },
|
|
118
|
-
name: "marginLeft",
|
|
119
|
-
width: "80px"
|
|
120
|
-
}, null, 8, ["modelValue", "disabled"]), [
|
|
121
|
-
[
|
|
122
|
-
unref(vT),
|
|
123
|
-
{ key: "bs.left" },
|
|
124
|
-
void 0,
|
|
125
|
-
{ title: true }
|
|
126
|
-
]
|
|
127
|
-
]),
|
|
128
|
-
withDirectives(createVNode(_sfc_main$2, {
|
|
129
|
-
modelValue: _ctx.youtubeInfo.marginTop,
|
|
130
|
-
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => _ctx.youtubeInfo.marginTop = $event),
|
|
131
|
-
disabled: _ctx.disabled,
|
|
132
|
-
prefix: { type: "font-icon", value: "keyboard_arrow_up" },
|
|
133
|
-
name: "marginTop",
|
|
134
|
-
width: "80px"
|
|
135
|
-
}, null, 8, ["modelValue", "disabled"]), [
|
|
136
|
-
[
|
|
137
|
-
unref(vT),
|
|
138
|
-
{ key: "bs.top" },
|
|
139
|
-
void 0,
|
|
140
|
-
{ title: true }
|
|
141
|
-
]
|
|
142
|
-
]),
|
|
143
|
-
withDirectives(createVNode(_sfc_main$2, {
|
|
144
|
-
modelValue: _ctx.youtubeInfo.marginBottom,
|
|
145
|
-
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => _ctx.youtubeInfo.marginBottom = $event),
|
|
146
|
-
disabled: _ctx.disabled,
|
|
147
|
-
prefix: { type: "font-icon", value: "keyboard_arrow_down" },
|
|
148
|
-
name: "marginBottom",
|
|
149
|
-
width: "80px"
|
|
150
|
-
}, null, 8, ["modelValue", "disabled"]), [
|
|
151
|
-
[
|
|
152
|
-
unref(vT),
|
|
153
|
-
{ key: "bs.bottom" },
|
|
154
|
-
void 0,
|
|
155
|
-
{ title: true }
|
|
156
|
-
]
|
|
157
|
-
]),
|
|
158
|
-
withDirectives(createVNode(_sfc_main$2, {
|
|
159
|
-
modelValue: _ctx.youtubeInfo.marginRight,
|
|
160
|
-
"onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => _ctx.youtubeInfo.marginRight = $event),
|
|
161
|
-
disabled: _ctx.disabled,
|
|
162
|
-
prefix: { type: "font-icon", value: "keyboard_arrow_right" },
|
|
163
|
-
name: "marginRight",
|
|
164
|
-
width: "80px"
|
|
165
|
-
}, null, 8, ["modelValue", "disabled"]), [
|
|
166
|
-
[
|
|
167
|
-
unref(vT),
|
|
168
|
-
{ key: "bs.right" },
|
|
169
|
-
void 0,
|
|
170
|
-
{ title: true }
|
|
171
|
-
]
|
|
172
|
-
])
|
|
173
|
-
])
|
|
174
|
-
])
|
|
175
|
-
], 64);
|
|
176
|
-
};
|
|
177
|
-
}
|
|
178
|
-
});
|
|
179
|
-
export {
|
|
180
|
-
_sfc_main as _
|
|
181
|
-
};
|