@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,52 +0,0 @@
|
|
|
1
|
-
import { defineComponent, createBlock, openBlock, withCtx, withDirectives, createElementVNode, unref, createVNode } from "vue";
|
|
2
|
-
import { u as useModalHandle, _ as _sfc_main$1, v as vT, B as BSButton, j as vFocusOnLoad } from "./index-DxMqs72-.js";
|
|
3
|
-
const _hoisted_1 = { class: "text-right" };
|
|
4
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
|
-
__name: "BSAlertModal",
|
|
6
|
-
props: {
|
|
7
|
-
title: {},
|
|
8
|
-
message: {}
|
|
9
|
-
},
|
|
10
|
-
emits: ["click"],
|
|
11
|
-
setup(__props, { emit: __emit }) {
|
|
12
|
-
const emit = __emit;
|
|
13
|
-
const modalHandle = useModalHandle();
|
|
14
|
-
modalHandle.setDefaultStyle({
|
|
15
|
-
minWidth: "300px",
|
|
16
|
-
escToClose: true
|
|
17
|
-
});
|
|
18
|
-
const clickOk = () => {
|
|
19
|
-
emit("click");
|
|
20
|
-
modalHandle.close();
|
|
21
|
-
};
|
|
22
|
-
return (_ctx, _cache) => {
|
|
23
|
-
return openBlock(), createBlock(_sfc_main$1, {
|
|
24
|
-
title: _ctx.title,
|
|
25
|
-
"auto-focus": ""
|
|
26
|
-
}, {
|
|
27
|
-
buttons: withCtx(() => [
|
|
28
|
-
createElementVNode("div", _hoisted_1, [
|
|
29
|
-
withDirectives(createVNode(BSButton, {
|
|
30
|
-
caption: { key: "bs.ok" },
|
|
31
|
-
"button-color": "blue",
|
|
32
|
-
class: "min-w-80",
|
|
33
|
-
"data-id": "okBtn",
|
|
34
|
-
onClick: clickOk
|
|
35
|
-
}, null, 512), [
|
|
36
|
-
[unref(vFocusOnLoad)]
|
|
37
|
-
])
|
|
38
|
-
])
|
|
39
|
-
]),
|
|
40
|
-
default: withCtx(() => [
|
|
41
|
-
withDirectives(createElementVNode("div", null, null, 512), [
|
|
42
|
-
[unref(vT), _ctx.message]
|
|
43
|
-
])
|
|
44
|
-
]),
|
|
45
|
-
_: 1
|
|
46
|
-
}, 8, ["title"]);
|
|
47
|
-
};
|
|
48
|
-
}
|
|
49
|
-
});
|
|
50
|
-
export {
|
|
51
|
-
_sfc_main as default
|
|
52
|
-
};
|
|
@@ -1,149 +0,0 @@
|
|
|
1
|
-
import { defineComponent, ref, onMounted, createBlock, openBlock, withCtx, createElementVNode, createVNode, mergeProps, unref, toHandlers, nextTick } from "vue";
|
|
2
|
-
import { f as createInputGridHandler, u as useModalHandle, _ as _sfc_main$1, B as BSButton, g as _sfc_main$2, h as _sfc_main$3, i as _sfc_main$4, n as notNull } from "./index-DxMqs72-.js";
|
|
3
|
-
const _hoisted_1 = { class: "text-center" };
|
|
4
|
-
const _hoisted_2 = { class: "text-center" };
|
|
5
|
-
const _hoisted_3 = { class: "bs-layout-horizontal" };
|
|
6
|
-
const _hoisted_4 = { class: "bs-layout-horizontal flex-grow-1 justify-content-end gap-8" };
|
|
7
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
8
|
-
__name: "BSGridColumnSettingModal",
|
|
9
|
-
props: {
|
|
10
|
-
columns: {},
|
|
11
|
-
columnSettings: {},
|
|
12
|
-
fixedColumnCount: {}
|
|
13
|
-
},
|
|
14
|
-
emits: ["settingChanged"],
|
|
15
|
-
setup(__props, { emit: __emit }) {
|
|
16
|
-
const props = __props;
|
|
17
|
-
const emit = __emit;
|
|
18
|
-
const settingColumns = [
|
|
19
|
-
{ propertyId: "caption", caption: { key: "bs.grid.caption" }, width: 200, cellType: "MULTI_LANG_STRING" },
|
|
20
|
-
{ propertyId: "visible", caption: { key: "bs.grid.visible" }, width: 60 },
|
|
21
|
-
{ propertyId: "fixed", caption: { key: "bs.grid.fixed" }, width: 60 },
|
|
22
|
-
{ propertyId: "width", caption: { key: "bs.width" }, width: 100 }
|
|
23
|
-
];
|
|
24
|
-
const gridHandler = createInputGridHandler({
|
|
25
|
-
getRowKey: (row) => row.propertyId
|
|
26
|
-
});
|
|
27
|
-
const editingColumns = ref([]);
|
|
28
|
-
const margeColumnSettingsAndOrigColumns = (columnSettings, columns) => {
|
|
29
|
-
const origColumns = [...columns || []];
|
|
30
|
-
const result = columnSettings.map((col) => {
|
|
31
|
-
const origIndex = origColumns.findIndex((orig) => orig.propertyId === col.propertyId);
|
|
32
|
-
if (origIndex >= 0) {
|
|
33
|
-
const orig = origColumns.splice(origIndex, 1)[0];
|
|
34
|
-
return { ...orig, hidden: col.hidden, width: col.width || orig.width };
|
|
35
|
-
} else {
|
|
36
|
-
return void 0;
|
|
37
|
-
}
|
|
38
|
-
}).filter(notNull);
|
|
39
|
-
origColumns.forEach((orig) => {
|
|
40
|
-
result.push({ ...orig, width: orig.width });
|
|
41
|
-
});
|
|
42
|
-
return result;
|
|
43
|
-
};
|
|
44
|
-
onMounted(() => {
|
|
45
|
-
var _a;
|
|
46
|
-
const columns = props.columnSettings ? margeColumnSettingsAndOrigColumns(props.columnSettings, props.columns) : ((_a = props.columns) == null ? void 0 : _a.map((orig) => ({ ...orig }))) || [];
|
|
47
|
-
editingColumns.value = columns.map((col, idx) => ({ ...col, fixed: idx < (props.fixedColumnCount || 0) }));
|
|
48
|
-
gridHandler.setGridData(editingColumns.value);
|
|
49
|
-
});
|
|
50
|
-
const updateFixedColumn = async (value, row) => {
|
|
51
|
-
const rowIndex = editingColumns.value.indexOf(row);
|
|
52
|
-
const oldFixedIndex = editingColumns.value.findLastIndex((col) => col.fixed) + 1;
|
|
53
|
-
await nextTick();
|
|
54
|
-
const fixedIndex = !value && oldFixedIndex === 0 && rowIndex === 0 ? -1 : rowIndex;
|
|
55
|
-
editingColumns.value.forEach((col, idx) => col.fixed = idx <= fixedIndex);
|
|
56
|
-
};
|
|
57
|
-
const modalHandle = useModalHandle();
|
|
58
|
-
const save = () => {
|
|
59
|
-
const columnSettings = editingColumns.value.map((col) => {
|
|
60
|
-
var _a;
|
|
61
|
-
const orig = (_a = props.columns) == null ? void 0 : _a.find((c) => c.propertyId === col.propertyId);
|
|
62
|
-
return {
|
|
63
|
-
propertyId: col.propertyId,
|
|
64
|
-
hidden: col.hidden ? true : void 0,
|
|
65
|
-
width: col.width !== (orig == null ? void 0 : orig.width) ? col.width : void 0
|
|
66
|
-
};
|
|
67
|
-
});
|
|
68
|
-
const fixedColumnCount = editingColumns.value.findLastIndex((col) => col.fixed) + 1;
|
|
69
|
-
emit("settingChanged", columnSettings, fixedColumnCount);
|
|
70
|
-
modalHandle.close();
|
|
71
|
-
};
|
|
72
|
-
const close = () => {
|
|
73
|
-
modalHandle.close();
|
|
74
|
-
};
|
|
75
|
-
const restore = () => {
|
|
76
|
-
emit("settingChanged", void 0, void 0);
|
|
77
|
-
modalHandle.close();
|
|
78
|
-
};
|
|
79
|
-
modalHandle.setDefaultStyle({
|
|
80
|
-
maxWidth: "600px",
|
|
81
|
-
maxHeight: "80%"
|
|
82
|
-
});
|
|
83
|
-
return (_ctx, _cache) => {
|
|
84
|
-
return openBlock(), createBlock(_sfc_main$1, { title: { key: "bs.gridcontrol.columnSetting" } }, {
|
|
85
|
-
default: withCtx(() => [
|
|
86
|
-
createVNode(_sfc_main$2, mergeProps({
|
|
87
|
-
columns: settingColumns,
|
|
88
|
-
height: "100%",
|
|
89
|
-
"show-drag-handle": "",
|
|
90
|
-
"show-serial": ""
|
|
91
|
-
}, unref(gridHandler).grid, toHandlers(unref(gridHandler).gridEventListener)), {
|
|
92
|
-
visible: withCtx(({ row }) => [
|
|
93
|
-
createElementVNode("div", _hoisted_1, [
|
|
94
|
-
createVNode(_sfc_main$4, {
|
|
95
|
-
"model-value": !row.hidden,
|
|
96
|
-
class: "reverted",
|
|
97
|
-
"onUpdate:modelValue": (value) => row.hidden = !value
|
|
98
|
-
}, null, 8, ["model-value", "onUpdate:modelValue"])
|
|
99
|
-
])
|
|
100
|
-
]),
|
|
101
|
-
fixed: withCtx(({ row }) => [
|
|
102
|
-
createElementVNode("div", _hoisted_2, [
|
|
103
|
-
createVNode(_sfc_main$4, {
|
|
104
|
-
modelValue: row.fixed,
|
|
105
|
-
"onUpdate:modelValue": [($event) => row.fixed = $event, ($event) => updateFixedColumn($event, row)],
|
|
106
|
-
class: "reverted"
|
|
107
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
108
|
-
])
|
|
109
|
-
]),
|
|
110
|
-
width: withCtx(({ row }) => [
|
|
111
|
-
createVNode(_sfc_main$3, {
|
|
112
|
-
modelValue: row.width,
|
|
113
|
-
"onUpdate:modelValue": ($event) => row.width = $event,
|
|
114
|
-
width: "100%"
|
|
115
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
116
|
-
]),
|
|
117
|
-
_: 1
|
|
118
|
-
}, 16)
|
|
119
|
-
]),
|
|
120
|
-
buttons: withCtx(() => [
|
|
121
|
-
createElementVNode("div", _hoisted_3, [
|
|
122
|
-
createElementVNode("div", null, [
|
|
123
|
-
createVNode(BSButton, {
|
|
124
|
-
caption: { key: "bs.grid.restoreSetting" },
|
|
125
|
-
"button-color": "gray",
|
|
126
|
-
onClick: restore
|
|
127
|
-
})
|
|
128
|
-
]),
|
|
129
|
-
createElementVNode("div", _hoisted_4, [
|
|
130
|
-
createVNode(BSButton, {
|
|
131
|
-
caption: { key: "bs.cancel" },
|
|
132
|
-
onClick: close
|
|
133
|
-
}),
|
|
134
|
-
createVNode(BSButton, {
|
|
135
|
-
caption: { key: "bs.ok" },
|
|
136
|
-
"button-color": "blue",
|
|
137
|
-
onClick: save
|
|
138
|
-
})
|
|
139
|
-
])
|
|
140
|
-
])
|
|
141
|
-
]),
|
|
142
|
-
_: 1
|
|
143
|
-
});
|
|
144
|
-
};
|
|
145
|
-
}
|
|
146
|
-
});
|
|
147
|
-
export {
|
|
148
|
-
_sfc_main as default
|
|
149
|
-
};
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import { defineComponent, mergeModels, useModel, useTemplateRef, createBlock, openBlock } from "vue";
|
|
2
|
-
import { u as useModalHandle, d as _sfc_main$1 } from "./index-DxMqs72-.js";
|
|
3
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
|
-
__name: "BSRichTextMaximizedModal",
|
|
5
|
-
props: /* @__PURE__ */ mergeModels({
|
|
6
|
-
contentMaxWidth: {},
|
|
7
|
-
disabled: { type: Boolean },
|
|
8
|
-
viewMode: { type: Boolean },
|
|
9
|
-
required: { type: Boolean },
|
|
10
|
-
validationMessageRequired: {},
|
|
11
|
-
extraValidationRules: {},
|
|
12
|
-
ignoreSavePoint: { type: Boolean },
|
|
13
|
-
hideErrorMessage: { type: Boolean },
|
|
14
|
-
toolButtons: {},
|
|
15
|
-
contentClass: {}
|
|
16
|
-
}, {
|
|
17
|
-
"modelValue": {},
|
|
18
|
-
"modelModifiers": {}
|
|
19
|
-
}),
|
|
20
|
-
emits: /* @__PURE__ */ mergeModels(["editorIframeReady"], ["update:modelValue"]),
|
|
21
|
-
setup(__props, { emit: __emit }) {
|
|
22
|
-
const emit = __emit;
|
|
23
|
-
const modelValue = useModel(__props, "modelValue");
|
|
24
|
-
const richTextRef = useTemplateRef("richText");
|
|
25
|
-
const modalHandle = useModalHandle();
|
|
26
|
-
const closeModal = () => {
|
|
27
|
-
var _a;
|
|
28
|
-
(_a = richTextRef.value) == null ? void 0 : _a.forceUpdateModelValue();
|
|
29
|
-
modalHandle.close();
|
|
30
|
-
};
|
|
31
|
-
modalHandle.setDefaultStyle({
|
|
32
|
-
width: "90vw",
|
|
33
|
-
height: "90vh",
|
|
34
|
-
maxWidth: "1280px"
|
|
35
|
-
});
|
|
36
|
-
return (_ctx, _cache) => {
|
|
37
|
-
return openBlock(), createBlock(_sfc_main$1, {
|
|
38
|
-
ref: "richText",
|
|
39
|
-
modelValue: modelValue.value,
|
|
40
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => modelValue.value = $event),
|
|
41
|
-
"content-class": _ctx.contentClass,
|
|
42
|
-
"content-max-width": _ctx.contentMaxWidth,
|
|
43
|
-
disabled: _ctx.disabled,
|
|
44
|
-
"extra-validation-rules": _ctx.extraValidationRules,
|
|
45
|
-
"hide-error-message": _ctx.hideErrorMessage,
|
|
46
|
-
"ignore-save-point": _ctx.ignoreSavePoint,
|
|
47
|
-
required: _ctx.required,
|
|
48
|
-
"tool-buttons": _ctx.toolButtons,
|
|
49
|
-
"validation-message-required": _ctx.validationMessageRequired,
|
|
50
|
-
"view-mode": _ctx.viewMode,
|
|
51
|
-
class: "h-full",
|
|
52
|
-
"internal-maximized": "",
|
|
53
|
-
maximized: "",
|
|
54
|
-
onMaximized: closeModal,
|
|
55
|
-
onEditorIframeReady: _cache[1] || (_cache[1] = ($event) => emit("editorIframeReady", $event))
|
|
56
|
-
}, null, 8, ["modelValue", "content-class", "content-max-width", "disabled", "extra-validation-rules", "hide-error-message", "ignore-save-point", "required", "tool-buttons", "validation-message-required", "view-mode"]);
|
|
57
|
-
};
|
|
58
|
-
}
|
|
59
|
-
});
|
|
60
|
-
export {
|
|
61
|
-
_sfc_main as default
|
|
62
|
-
};
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import { defineComponent, createBlock, openBlock, withCtx, withDirectives, createElementVNode, unref, createVNode } from "vue";
|
|
2
|
-
import { u as useModalHandle, _ as _sfc_main$1, v as vT, B as BSButton } from "./index-DxMqs72-.js";
|
|
3
|
-
const _hoisted_1 = { class: "text-right" };
|
|
4
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
|
-
__name: "BSYesNoModal",
|
|
6
|
-
props: {
|
|
7
|
-
title: {},
|
|
8
|
-
message: {}
|
|
9
|
-
},
|
|
10
|
-
emits: ["clickNo", "clickYes"],
|
|
11
|
-
setup(__props, { emit: __emit }) {
|
|
12
|
-
const emit = __emit;
|
|
13
|
-
const modalHandle = useModalHandle();
|
|
14
|
-
modalHandle.setDefaultStyle({
|
|
15
|
-
minWidth: "300px",
|
|
16
|
-
escToClose: true
|
|
17
|
-
});
|
|
18
|
-
const clickNo = () => {
|
|
19
|
-
emit("clickNo");
|
|
20
|
-
modalHandle.close();
|
|
21
|
-
};
|
|
22
|
-
const clickYes = () => {
|
|
23
|
-
emit("clickYes");
|
|
24
|
-
modalHandle.close();
|
|
25
|
-
};
|
|
26
|
-
return (_ctx, _cache) => {
|
|
27
|
-
return openBlock(), createBlock(_sfc_main$1, { title: _ctx.title }, {
|
|
28
|
-
buttons: withCtx(() => [
|
|
29
|
-
createElementVNode("div", _hoisted_1, [
|
|
30
|
-
createVNode(BSButton, {
|
|
31
|
-
caption: { key: "bs.no" },
|
|
32
|
-
class: "min-w-80",
|
|
33
|
-
"data-id": "noBtn",
|
|
34
|
-
onClick: clickNo
|
|
35
|
-
}),
|
|
36
|
-
createVNode(BSButton, {
|
|
37
|
-
caption: { key: "bs.yes" },
|
|
38
|
-
"button-color": "blue",
|
|
39
|
-
class: "ml-8 min-w-80",
|
|
40
|
-
"data-id": "yesBtn",
|
|
41
|
-
onClick: clickYes
|
|
42
|
-
})
|
|
43
|
-
])
|
|
44
|
-
]),
|
|
45
|
-
default: withCtx(() => [
|
|
46
|
-
withDirectives(createElementVNode("div", null, null, 512), [
|
|
47
|
-
[unref(vT), _ctx.message]
|
|
48
|
-
])
|
|
49
|
-
]),
|
|
50
|
-
_: 1
|
|
51
|
-
}, 8, ["title"]);
|
|
52
|
-
};
|
|
53
|
-
}
|
|
54
|
-
});
|
|
55
|
-
export {
|
|
56
|
-
_sfc_main as default
|
|
57
|
-
};
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
import { defineComponent, useModel, ref, createBlock, openBlock, withCtx, createElementVNode, createVNode, createCommentVNode, unref } from "vue";
|
|
2
|
-
import { u as useModalHandle, _ as _sfc_main$1, B as BSButton, b as _sfc_main$2, c as _sfc_main$3, e as extractYoutubeVideoId } from "./index-DxMqs72-.js";
|
|
3
|
-
import YouTube from "vue3-youtube";
|
|
4
|
-
const _hoisted_1 = { class: "bs-layout-vertical gap-16" };
|
|
5
|
-
const _hoisted_2 = { class: "bs-layout-horizontal align-items-center" };
|
|
6
|
-
const _hoisted_3 = { class: "align-self-center" };
|
|
7
|
-
const _hoisted_4 = { class: "bs-layout-horizontal justify-content-end gap-4" };
|
|
8
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
9
|
-
__name: "BSYoutubeInputModal",
|
|
10
|
-
props: {
|
|
11
|
-
"modelValue": {},
|
|
12
|
-
"modelModifiers": {}
|
|
13
|
-
},
|
|
14
|
-
emits: ["update:modelValue"],
|
|
15
|
-
setup(__props) {
|
|
16
|
-
const modelValue = useModel(__props, "modelValue");
|
|
17
|
-
const url = ref(modelValue.value || "");
|
|
18
|
-
const modalHandle = useModalHandle();
|
|
19
|
-
const select = () => {
|
|
20
|
-
const videoId = extractYoutubeVideoId(url.value);
|
|
21
|
-
modelValue.value = videoId ? `https://youtu.be/${videoId}` : void 0;
|
|
22
|
-
modalHandle.close();
|
|
23
|
-
};
|
|
24
|
-
const close = () => {
|
|
25
|
-
modalHandle.close();
|
|
26
|
-
};
|
|
27
|
-
modalHandle.setDefaultStyle({
|
|
28
|
-
width: "600px",
|
|
29
|
-
height: "560px"
|
|
30
|
-
});
|
|
31
|
-
return (_ctx, _cache) => {
|
|
32
|
-
return openBlock(), createBlock(_sfc_main$1, { title: { key: "bs.youtubeUrl" } }, {
|
|
33
|
-
default: withCtx(() => [
|
|
34
|
-
createElementVNode("div", _hoisted_1, [
|
|
35
|
-
createElementVNode("div", _hoisted_2, [
|
|
36
|
-
createVNode(_sfc_main$2, { label: { key: "bs.youtubeUrl" } }),
|
|
37
|
-
createVNode(_sfc_main$3, {
|
|
38
|
-
modelValue: url.value,
|
|
39
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => url.value = $event),
|
|
40
|
-
class: "flex-grow-1 ml-8",
|
|
41
|
-
name: "youtubeUrl"
|
|
42
|
-
}, null, 8, ["modelValue"])
|
|
43
|
-
]),
|
|
44
|
-
createElementVNode("div", _hoisted_3, [
|
|
45
|
-
url.value ? (openBlock(), createBlock(unref(YouTube), {
|
|
46
|
-
key: 0,
|
|
47
|
-
ref: "youtube",
|
|
48
|
-
src: url.value,
|
|
49
|
-
class: "youtube",
|
|
50
|
-
width: "550px"
|
|
51
|
-
}, null, 8, ["src"])) : createCommentVNode("", true)
|
|
52
|
-
])
|
|
53
|
-
])
|
|
54
|
-
]),
|
|
55
|
-
buttons: withCtx(() => [
|
|
56
|
-
createElementVNode("div", _hoisted_4, [
|
|
57
|
-
createVNode(BSButton, {
|
|
58
|
-
caption: { key: "bs.cancel" },
|
|
59
|
-
class: "ml-8",
|
|
60
|
-
onClick: close
|
|
61
|
-
}),
|
|
62
|
-
createVNode(BSButton, {
|
|
63
|
-
caption: { key: "bs.ok" },
|
|
64
|
-
"button-color": "blue",
|
|
65
|
-
onClick: select
|
|
66
|
-
})
|
|
67
|
-
])
|
|
68
|
-
]),
|
|
69
|
-
_: 1
|
|
70
|
-
});
|
|
71
|
-
};
|
|
72
|
-
}
|
|
73
|
-
});
|
|
74
|
-
export {
|
|
75
|
-
_sfc_main as default
|
|
76
|
-
};
|
|
@@ -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 "./ImageProperties.vue_vue_type_script_setup_true_lang-D8KH2XwP.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: "ImageInsertModal",
|
|
9
|
-
props: {
|
|
10
|
-
editor: {}
|
|
11
|
-
},
|
|
12
|
-
emits: ["insertImage"],
|
|
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 image = ref();
|
|
23
|
-
const data = ref({ src: "" });
|
|
24
|
-
const modalHandle = useModalHandle();
|
|
25
|
-
const insert = () => {
|
|
26
|
-
if (currentTab.value === "upload" && (image.value && image.value.fileUrl)) {
|
|
27
|
-
emit("insertImage", {
|
|
28
|
-
src: image.value.fileUrl,
|
|
29
|
-
alt: image.value.altText
|
|
30
|
-
});
|
|
31
|
-
modalHandle.close();
|
|
32
|
-
} else if (currentTab.value === "input" && data.value.src) {
|
|
33
|
-
emit("insertImage", 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.insertImage" } }, {
|
|
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
|
-
"image-info": data.value
|
|
76
|
-
}, null, 8, ["disabled", "image-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,180 +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: "ImageProperties",
|
|
10
|
-
props: {
|
|
11
|
-
imageInfo: {},
|
|
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.fileupload.alt" } })
|
|
20
|
-
]),
|
|
21
|
-
createElementVNode("div", null, [
|
|
22
|
-
createVNode(_sfc_main$2, {
|
|
23
|
-
modelValue: _ctx.imageInfo.alt,
|
|
24
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.imageInfo.alt = $event),
|
|
25
|
-
disabled: _ctx.disabled,
|
|
26
|
-
name: "alt",
|
|
27
|
-
width: "100%"
|
|
28
|
-
}, null, 8, ["modelValue", "disabled"])
|
|
29
|
-
])
|
|
30
|
-
]),
|
|
31
|
-
createElementVNode("div", null, [
|
|
32
|
-
createElementVNode("div", _hoisted_2, [
|
|
33
|
-
createVNode(_sfc_main$1, { label: { key: "bs.size" } })
|
|
34
|
-
]),
|
|
35
|
-
createElementVNode("div", null, [
|
|
36
|
-
withDirectives(createVNode(_sfc_main$2, {
|
|
37
|
-
modelValue: _ctx.imageInfo.width,
|
|
38
|
-
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => _ctx.imageInfo.width = $event),
|
|
39
|
-
disabled: _ctx.disabled,
|
|
40
|
-
name: "width",
|
|
41
|
-
prefix: "W",
|
|
42
|
-
width: "100px"
|
|
43
|
-
}, null, 8, ["modelValue", "disabled"]), [
|
|
44
|
-
[
|
|
45
|
-
unref(vT),
|
|
46
|
-
{ key: "bs.width" },
|
|
47
|
-
void 0,
|
|
48
|
-
{ title: true }
|
|
49
|
-
]
|
|
50
|
-
]),
|
|
51
|
-
_cache[9] || (_cache[9] = createTextVNode(" x ")),
|
|
52
|
-
withDirectives(createVNode(_sfc_main$2, {
|
|
53
|
-
modelValue: _ctx.imageInfo.height,
|
|
54
|
-
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => _ctx.imageInfo.height = $event),
|
|
55
|
-
disabled: _ctx.disabled,
|
|
56
|
-
name: "height",
|
|
57
|
-
prefix: "H",
|
|
58
|
-
width: "100px"
|
|
59
|
-
}, null, 8, ["modelValue", "disabled"]), [
|
|
60
|
-
[
|
|
61
|
-
unref(vT),
|
|
62
|
-
{ key: "bs.height" },
|
|
63
|
-
void 0,
|
|
64
|
-
{ title: true }
|
|
65
|
-
]
|
|
66
|
-
])
|
|
67
|
-
])
|
|
68
|
-
]),
|
|
69
|
-
createElementVNode("div", null, [
|
|
70
|
-
createElementVNode("div", _hoisted_3, [
|
|
71
|
-
createVNode(_sfc_main$1, { label: { key: "bs.maxSize" } })
|
|
72
|
-
]),
|
|
73
|
-
createElementVNode("div", null, [
|
|
74
|
-
withDirectives(createVNode(_sfc_main$2, {
|
|
75
|
-
modelValue: _ctx.imageInfo.maxWidth,
|
|
76
|
-
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => _ctx.imageInfo.maxWidth = $event),
|
|
77
|
-
disabled: _ctx.disabled,
|
|
78
|
-
name: "maxWidth",
|
|
79
|
-
prefix: "W",
|
|
80
|
-
width: "100px"
|
|
81
|
-
}, null, 8, ["modelValue", "disabled"]), [
|
|
82
|
-
[
|
|
83
|
-
unref(vT),
|
|
84
|
-
{ key: "bs.maxWidth" },
|
|
85
|
-
void 0,
|
|
86
|
-
{ title: true }
|
|
87
|
-
]
|
|
88
|
-
]),
|
|
89
|
-
_cache[10] || (_cache[10] = createTextVNode(" x ")),
|
|
90
|
-
withDirectives(createVNode(_sfc_main$2, {
|
|
91
|
-
modelValue: _ctx.imageInfo.maxHeight,
|
|
92
|
-
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => _ctx.imageInfo.maxHeight = $event),
|
|
93
|
-
disabled: _ctx.disabled,
|
|
94
|
-
name: "maxHeight",
|
|
95
|
-
prefix: "H",
|
|
96
|
-
width: "100px"
|
|
97
|
-
}, null, 8, ["modelValue", "disabled"]), [
|
|
98
|
-
[
|
|
99
|
-
unref(vT),
|
|
100
|
-
{ key: "bs.maxHeight" },
|
|
101
|
-
void 0,
|
|
102
|
-
{ title: true }
|
|
103
|
-
]
|
|
104
|
-
])
|
|
105
|
-
])
|
|
106
|
-
]),
|
|
107
|
-
createElementVNode("div", null, [
|
|
108
|
-
createElementVNode("div", _hoisted_4, [
|
|
109
|
-
createVNode(_sfc_main$1, { label: { key: "bs.margin" } })
|
|
110
|
-
]),
|
|
111
|
-
createElementVNode("div", _hoisted_5, [
|
|
112
|
-
withDirectives(createVNode(_sfc_main$2, {
|
|
113
|
-
modelValue: _ctx.imageInfo.marginLeft,
|
|
114
|
-
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => _ctx.imageInfo.marginLeft = $event),
|
|
115
|
-
disabled: _ctx.disabled,
|
|
116
|
-
prefix: { type: "font-icon", value: "keyboard_arrow_left" },
|
|
117
|
-
name: "marginLeft",
|
|
118
|
-
width: "80px"
|
|
119
|
-
}, null, 8, ["modelValue", "disabled"]), [
|
|
120
|
-
[
|
|
121
|
-
unref(vT),
|
|
122
|
-
{ key: "bs.left" },
|
|
123
|
-
void 0,
|
|
124
|
-
{ title: true }
|
|
125
|
-
]
|
|
126
|
-
]),
|
|
127
|
-
withDirectives(createVNode(_sfc_main$2, {
|
|
128
|
-
modelValue: _ctx.imageInfo.marginTop,
|
|
129
|
-
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => _ctx.imageInfo.marginTop = $event),
|
|
130
|
-
disabled: _ctx.disabled,
|
|
131
|
-
prefix: { type: "font-icon", value: "keyboard_arrow_up" },
|
|
132
|
-
name: "marginTop",
|
|
133
|
-
width: "80px"
|
|
134
|
-
}, null, 8, ["modelValue", "disabled"]), [
|
|
135
|
-
[
|
|
136
|
-
unref(vT),
|
|
137
|
-
{ key: "bs.top" },
|
|
138
|
-
void 0,
|
|
139
|
-
{ title: true }
|
|
140
|
-
]
|
|
141
|
-
]),
|
|
142
|
-
withDirectives(createVNode(_sfc_main$2, {
|
|
143
|
-
modelValue: _ctx.imageInfo.marginBottom,
|
|
144
|
-
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => _ctx.imageInfo.marginBottom = $event),
|
|
145
|
-
disabled: _ctx.disabled,
|
|
146
|
-
prefix: { type: "font-icon", value: "keyboard_arrow_down" },
|
|
147
|
-
name: "marginBottom",
|
|
148
|
-
width: "80px"
|
|
149
|
-
}, null, 8, ["modelValue", "disabled"]), [
|
|
150
|
-
[
|
|
151
|
-
unref(vT),
|
|
152
|
-
{ key: "bs.bottom" },
|
|
153
|
-
void 0,
|
|
154
|
-
{ title: true }
|
|
155
|
-
]
|
|
156
|
-
]),
|
|
157
|
-
withDirectives(createVNode(_sfc_main$2, {
|
|
158
|
-
modelValue: _ctx.imageInfo.marginRight,
|
|
159
|
-
"onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => _ctx.imageInfo.marginRight = $event),
|
|
160
|
-
disabled: _ctx.disabled,
|
|
161
|
-
prefix: { type: "font-icon", value: "keyboard_arrow_right" },
|
|
162
|
-
name: "marginRight",
|
|
163
|
-
width: "80px"
|
|
164
|
-
}, null, 8, ["modelValue", "disabled"]), [
|
|
165
|
-
[
|
|
166
|
-
unref(vT),
|
|
167
|
-
{ key: "bs.right" },
|
|
168
|
-
void 0,
|
|
169
|
-
{ title: true }
|
|
170
|
-
]
|
|
171
|
-
])
|
|
172
|
-
])
|
|
173
|
-
])
|
|
174
|
-
], 64);
|
|
175
|
-
};
|
|
176
|
-
}
|
|
177
|
-
});
|
|
178
|
-
export {
|
|
179
|
-
_sfc_main as _
|
|
180
|
-
};
|