@g1cloud/bluesea 5.0.0-beta.22 → 5.0.0-beta.24
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/css/bluesea.css +13 -8
- package/dist/{BSAlertModal-wZOms7hW.js → BSAlertModal-BMfuyOUG.js} +1 -1
- package/dist/{BSGridColumnSettingModal-QPbpMQD6.js → BSGridColumnSettingModal-BINKuyM2.js} +1 -1
- package/dist/{BSRichTextMaximizedModal-zAuDLWZd.js → BSRichTextMaximizedModal-G5U2NGik.js} +1 -1
- package/dist/{BSYesNoModal-sAn7m746.js → BSYesNoModal-CFjCkyfv.js} +1 -1
- package/dist/{BSYoutubeInputModal-D2QX8vj7.js → BSYoutubeInputModal-CsPL5_5t.js} +1 -1
- package/dist/{ImageInsertModal-BI_tnz7L.js → ImageInsertModal-CyMCkK2H.js} +2 -2
- package/dist/{ImageProperties.vue_vue_type_script_setup_true_lang-DV4Vgrxv.js → ImageProperties.vue_vue_type_script_setup_true_lang-BN13lABW.js} +1 -1
- package/dist/{ImagePropertiesModal-3uMlK2_q.js → ImagePropertiesModal-BMDe0QC2.js} +2 -2
- package/dist/{LinkPropertiesModal-qGuRtYdw.js → LinkPropertiesModal-bKceh08c.js} +1 -1
- package/dist/{TableInsertModal-DC5_KXTz.js → TableInsertModal-zqihDr7h.js} +1 -1
- package/dist/{TablePropertiesModal-CdyjtqBn.js → TablePropertiesModal-CiY15j-y.js} +1 -1
- package/dist/{VideoInsertModal-Cy7RPYNi.js → VideoInsertModal-DjKstAn6.js} +2 -2
- package/dist/{VideoProperties.vue_vue_type_script_setup_true_lang-VdRfL7XC.js → VideoProperties.vue_vue_type_script_setup_true_lang-DAukMkOu.js} +1 -1
- package/dist/{VideoPropertiesModal-hhs0LT1m.js → VideoPropertiesModal-Ct0iUWXO.js} +2 -2
- package/dist/{YoutubeInsertModal-e5QVFl-I.js → YoutubeInsertModal-D1JrUwdX.js} +2 -2
- package/dist/{YoutubeProperties.vue_vue_type_script_setup_true_lang-TOzUqs-D.js → YoutubeProperties.vue_vue_type_script_setup_true_lang-lsVhQjg0.js} +1 -1
- package/dist/{YoutubePropertiesModal-CtMeo1sr.js → YoutubePropertiesModal-unkfbTOY.js} +2 -2
- package/dist/bluesea.css +12 -8
- package/dist/bluesea.js +1 -1
- package/dist/bluesea.umd.cjs +82 -27
- package/dist/component/input/BSMultiImageUpload.vue.d.ts +2 -0
- package/dist/component/input/BSMultiSelect.vue.d.ts +4 -1
- package/dist/component/input/BSSelect.vue.d.ts +4 -1
- package/dist/component/input/BSSelectPopup.vue.d.ts +4 -1
- package/dist/component/layout/BSTabSheet.vue.d.ts +2 -0
- package/dist/component/multilang/BSMultiLangHtmlEditor.vue.d.ts +2 -0
- package/dist/{index-C0RkF03d.js → index-BN7WLYoX.js} +98 -43
- package/package.json +1 -1
package/css/bluesea.css
CHANGED
|
@@ -27829,22 +27829,22 @@ div[data-v-c1655c12] {
|
|
|
27829
27829
|
border-color: var(--border) !important;
|
|
27830
27830
|
}
|
|
27831
27831
|
|
|
27832
|
-
.image-upload-move[data-v-
|
|
27833
|
-
.image-upload-enter-active[data-v-
|
|
27834
|
-
.image-upload-leave-active[data-v-
|
|
27832
|
+
.image-upload-move[data-v-b7698f30],
|
|
27833
|
+
.image-upload-enter-active[data-v-b7698f30],
|
|
27834
|
+
.image-upload-leave-active[data-v-b7698f30] {
|
|
27835
27835
|
transition: all 0.3s ease;
|
|
27836
27836
|
}
|
|
27837
27837
|
|
|
27838
|
-
.image-upload-leave-from[data-v-
|
|
27839
|
-
.image-upload-leave-to[data-v-
|
|
27838
|
+
.image-upload-leave-from[data-v-b7698f30],
|
|
27839
|
+
.image-upload-leave-to[data-v-b7698f30] {
|
|
27840
27840
|
display: none;
|
|
27841
27841
|
}
|
|
27842
27842
|
|
|
27843
|
-
.image-upload-enter-from[data-v-
|
|
27843
|
+
.image-upload-enter-from[data-v-b7698f30] {
|
|
27844
27844
|
opacity: 0;
|
|
27845
27845
|
}
|
|
27846
27846
|
|
|
27847
|
-
.image-upload-leave-active[data-v-
|
|
27847
|
+
.image-upload-leave-active[data-v-b7698f30] {
|
|
27848
27848
|
position: absolute;
|
|
27849
27849
|
}
|
|
27850
27850
|
|
|
@@ -29945,6 +29945,11 @@ div[data-v-c1655c12] {
|
|
|
29945
29945
|
width: 100%;
|
|
29946
29946
|
overflow-x: auto;
|
|
29947
29947
|
overflow-y: hidden;
|
|
29948
|
+
scrollbar-width: none;
|
|
29949
|
+
}
|
|
29950
|
+
|
|
29951
|
+
.bs-tab-sheet .tab-bar::-webkit-scrollbar {
|
|
29952
|
+
display: none;
|
|
29948
29953
|
}
|
|
29949
29954
|
|
|
29950
29955
|
.bs-tab-sheet .tab-bar .tabs {
|
|
@@ -29961,7 +29966,7 @@ div[data-v-c1655c12] {
|
|
|
29961
29966
|
margin-bottom: -1px;
|
|
29962
29967
|
white-space: nowrap;
|
|
29963
29968
|
cursor: pointer;
|
|
29964
|
-
overflow-x:
|
|
29969
|
+
overflow-x: hidden;
|
|
29965
29970
|
}
|
|
29966
29971
|
|
|
29967
29972
|
.bs-tab-sheet .tab-bar .tabs .tab + .tab:before {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
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, l as vFocusOnLoad } from "./index-
|
|
2
|
+
import { u as useModalHandle, _ as _sfc_main$1, v as vT, B as BSButton, l as vFocusOnLoad } from "./index-BN7WLYoX.js";
|
|
3
3
|
const _hoisted_1 = { class: "text-right" };
|
|
4
4
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
5
|
__name: "BSAlertModal",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, onMounted, createBlock, openBlock, withCtx, createElementVNode, createVNode, mergeProps, unref, toHandlers, nextTick } from "vue";
|
|
2
|
-
import { g as createInputGridHandler, u as useModalHandle, _ as _sfc_main$1, B as BSButton, h as _sfc_main$2, j as _sfc_main$3, k as _sfc_main$4, n as notNull } from "./index-
|
|
2
|
+
import { g as createInputGridHandler, u as useModalHandle, _ as _sfc_main$1, B as BSButton, h as _sfc_main$2, j as _sfc_main$3, k as _sfc_main$4, n as notNull } from "./index-BN7WLYoX.js";
|
|
3
3
|
const _hoisted_1 = { class: "text-center" };
|
|
4
4
|
const _hoisted_2 = { class: "text-center" };
|
|
5
5
|
const _hoisted_3 = { class: "bs-layout-horizontal" };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, mergeModels, useModel, useTemplateRef, createBlock, openBlock } from "vue";
|
|
2
|
-
import { u as useModalHandle, d as _sfc_main$1 } from "./index-
|
|
2
|
+
import { u as useModalHandle, d as _sfc_main$1 } from "./index-BN7WLYoX.js";
|
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "BSRichTextMaximizedModal",
|
|
5
5
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
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-
|
|
2
|
+
import { u as useModalHandle, _ as _sfc_main$1, v as vT, B as BSButton } from "./index-BN7WLYoX.js";
|
|
3
3
|
const _hoisted_1 = { class: "text-right" };
|
|
4
4
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
5
|
__name: "BSYesNoModal",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
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, i as isYoutubeNocookieUrl, f as buildYoutubeUrl } from "./index-
|
|
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, i as isYoutubeNocookieUrl, f as buildYoutubeUrl } from "./index-BN7WLYoX.js";
|
|
3
3
|
import YouTube from "vue3-youtube";
|
|
4
4
|
const _hoisted_1 = { class: "bs-layout-vertical gap-16" };
|
|
5
5
|
const _hoisted_2 = { class: "bs-layout-horizontal align-items-center" };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
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-
|
|
3
|
-
import { _ as _sfc_main$5 } from "./ImageProperties.vue_vue_type_script_setup_true_lang-
|
|
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-BN7WLYoX.js";
|
|
3
|
+
import { _ as _sfc_main$5 } from "./ImageProperties.vue_vue_type_script_setup_true_lang-BN13lABW.js";
|
|
4
4
|
const _hoisted_1 = { class: "bs-layout-form title-w-8" };
|
|
5
5
|
const _hoisted_2 = { class: "title" };
|
|
6
6
|
const _hoisted_3 = { class: "bs-layout-horizontal justify-content-end gap-8" };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
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-
|
|
2
|
+
import { b as _sfc_main$1, c as _sfc_main$2, v as vT } from "./index-BN7WLYoX.js";
|
|
3
3
|
const _hoisted_1 = { class: "title" };
|
|
4
4
|
const _hoisted_2 = { class: "title" };
|
|
5
5
|
const _hoisted_3 = { class: "title" };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, computed, ref, onMounted, useTemplateRef, createBlock, openBlock, withCtx, createElementVNode, createVNode, createElementBlock, createCommentVNode } from "vue";
|
|
2
|
-
import { q as findImageNode, u as useModalHandle, _ as _sfc_main$1, B as BSButton, b as _sfc_main$2, c as _sfc_main$3, p as formValidator, r as imageInfoNumberToPixel } from "./index-
|
|
3
|
-
import { _ as _sfc_main$4 } from "./ImageProperties.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { q as findImageNode, u as useModalHandle, _ as _sfc_main$1, B as BSButton, b as _sfc_main$2, c as _sfc_main$3, p as formValidator, r as imageInfoNumberToPixel } from "./index-BN7WLYoX.js";
|
|
3
|
+
import { _ as _sfc_main$4 } from "./ImageProperties.vue_vue_type_script_setup_true_lang-BN13lABW.js";
|
|
4
4
|
const _hoisted_1 = { class: "title" };
|
|
5
5
|
const _hoisted_2 = { class: "bs-layout-horizontal justify-content-end gap-8" };
|
|
6
6
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, onMounted, createBlock, openBlock, withCtx, createElementVNode, createVNode, createTextVNode, withModifiers } from "vue";
|
|
2
|
-
import { u as useModalHandle, _ as _sfc_main$1, B as BSButton, b as _sfc_main$2, c as _sfc_main$3 } from "./index-
|
|
2
|
+
import { u as useModalHandle, _ as _sfc_main$1, B as BSButton, b as _sfc_main$2, c as _sfc_main$3 } from "./index-BN7WLYoX.js";
|
|
3
3
|
const _hoisted_1 = { class: "bs-layout-form title-w-8" };
|
|
4
4
|
const _hoisted_2 = { class: "title" };
|
|
5
5
|
const _hoisted_3 = { class: "title" };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, 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, j as _sfc_main$3 } from "./index-
|
|
2
|
+
import { u as useModalHandle, _ as _sfc_main$1, B as BSButton, b as _sfc_main$2, j as _sfc_main$3 } from "./index-BN7WLYoX.js";
|
|
3
3
|
const _hoisted_1 = { class: "bs-layout-form" };
|
|
4
4
|
const _hoisted_2 = { class: "bs-form-label" };
|
|
5
5
|
const _hoisted_3 = { class: "bs-form-label" };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, computed, ref, onMounted, useTemplateRef, createBlock, openBlock, withCtx, createElementVNode, createVNode, createElementBlock, createCommentVNode, withDirectives, createTextVNode, unref, Fragment, renderList, toDisplayString } from "vue";
|
|
2
|
-
import { m as componentUtil, u as useModalHandle, _ as _sfc_main$1, B as BSButton, b as _sfc_main$2, c as _sfc_main$3, v as vT, o as _sfc_main$4, p as formValidator } from "./index-
|
|
2
|
+
import { m as componentUtil, u as useModalHandle, _ as _sfc_main$1, B as BSButton, b as _sfc_main$2, c as _sfc_main$3, v as vT, o as _sfc_main$4, p as formValidator } from "./index-BN7WLYoX.js";
|
|
3
3
|
const findTableNode = (selection, type) => {
|
|
4
4
|
const head = selection.$head;
|
|
5
5
|
let depth = head.depth;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
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-
|
|
3
|
-
import { _ as _sfc_main$5 } from "./VideoProperties.vue_vue_type_script_setup_true_lang-
|
|
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-BN7WLYoX.js";
|
|
3
|
+
import { _ as _sfc_main$5 } from "./VideoProperties.vue_vue_type_script_setup_true_lang-DAukMkOu.js";
|
|
4
4
|
const _hoisted_1 = { class: "bs-layout-form title-w-8" };
|
|
5
5
|
const _hoisted_2 = { class: "title" };
|
|
6
6
|
const _hoisted_3 = { class: "bs-layout-horizontal justify-content-end gap-8" };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, createElementBlock, openBlock, Fragment, createElementVNode, createVNode, withDirectives, createTextVNode, unref } from "vue";
|
|
2
|
-
import { k as _sfc_main$1, b as _sfc_main$2, c as _sfc_main$3, v as vT } from "./index-
|
|
2
|
+
import { k as _sfc_main$1, b as _sfc_main$2, c as _sfc_main$3, v as vT } from "./index-BN7WLYoX.js";
|
|
3
3
|
const _hoisted_1 = { class: "bs-layout-horizontal gap-8" };
|
|
4
4
|
const _hoisted_2 = { class: "title" };
|
|
5
5
|
const _hoisted_3 = { class: "title" };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, computed, ref, onMounted, useTemplateRef, createBlock, openBlock, withCtx, createElementVNode, createVNode, createElementBlock, createCommentVNode } from "vue";
|
|
2
|
-
import { w as findVideoNode, u as useModalHandle, _ as _sfc_main$1, B as BSButton, b as _sfc_main$2, c as _sfc_main$3, p as formValidator, x as videoInfoNumberToPixel } from "./index-
|
|
3
|
-
import { _ as _sfc_main$4 } from "./VideoProperties.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { w as findVideoNode, u as useModalHandle, _ as _sfc_main$1, B as BSButton, b as _sfc_main$2, c as _sfc_main$3, p as formValidator, x as videoInfoNumberToPixel } from "./index-BN7WLYoX.js";
|
|
3
|
+
import { _ as _sfc_main$4 } from "./VideoProperties.vue_vue_type_script_setup_true_lang-DAukMkOu.js";
|
|
4
4
|
const _hoisted_1 = { class: "title" };
|
|
5
5
|
const _hoisted_2 = { class: "bs-layout-horizontal justify-content-end gap-8" };
|
|
6
6
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
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-
|
|
3
|
-
import { _ as _sfc_main$4 } from "./YoutubeProperties.vue_vue_type_script_setup_true_lang-
|
|
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-BN7WLYoX.js";
|
|
3
|
+
import { _ as _sfc_main$4 } from "./YoutubeProperties.vue_vue_type_script_setup_true_lang-lsVhQjg0.js";
|
|
4
4
|
const _hoisted_1 = { class: "bs-layout-form" };
|
|
5
5
|
const _hoisted_2 = { class: "title" };
|
|
6
6
|
const _hoisted_3 = { class: "bs-layout-horizontal justify-content-end gap-8" };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
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-
|
|
2
|
+
import { b as _sfc_main$1, c as _sfc_main$2, v as vT } from "./index-BN7WLYoX.js";
|
|
3
3
|
const _hoisted_1 = { class: "title" };
|
|
4
4
|
const _hoisted_2 = { class: "title" };
|
|
5
5
|
const _hoisted_3 = { class: "title" };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, computed, ref, onMounted, createBlock, openBlock, withCtx, createElementVNode, createVNode, createElementBlock, createCommentVNode } from "vue";
|
|
2
|
-
import { s as findYoutubeNode, t as normalizeYoutubeInfoData, 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-
|
|
3
|
-
import { _ as _sfc_main$4 } from "./YoutubeProperties.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { s as findYoutubeNode, t as normalizeYoutubeInfoData, 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-BN7WLYoX.js";
|
|
3
|
+
import { _ as _sfc_main$4 } from "./YoutubeProperties.vue_vue_type_script_setup_true_lang-lsVhQjg0.js";
|
|
4
4
|
const _hoisted_1 = {
|
|
5
5
|
key: 0,
|
|
6
6
|
class: "bs-layout-form"
|
package/dist/bluesea.css
CHANGED
|
@@ -9137,19 +9137,19 @@ span.table-property[data-v-537f70be]:after {
|
|
|
9137
9137
|
}
|
|
9138
9138
|
.bs-image-upload .disabled .image-box {
|
|
9139
9139
|
border-color: var(--border) !important;
|
|
9140
|
-
}.image-upload-move[data-v-
|
|
9141
|
-
.image-upload-enter-active[data-v-
|
|
9142
|
-
.image-upload-leave-active[data-v-
|
|
9140
|
+
}.image-upload-move[data-v-b7698f30],
|
|
9141
|
+
.image-upload-enter-active[data-v-b7698f30],
|
|
9142
|
+
.image-upload-leave-active[data-v-b7698f30] {
|
|
9143
9143
|
transition: all 0.3s ease;
|
|
9144
9144
|
}
|
|
9145
|
-
.image-upload-leave-from[data-v-
|
|
9146
|
-
.image-upload-leave-to[data-v-
|
|
9145
|
+
.image-upload-leave-from[data-v-b7698f30],
|
|
9146
|
+
.image-upload-leave-to[data-v-b7698f30] {
|
|
9147
9147
|
display: none;
|
|
9148
9148
|
}
|
|
9149
|
-
.image-upload-enter-from[data-v-
|
|
9149
|
+
.image-upload-enter-from[data-v-b7698f30] {
|
|
9150
9150
|
opacity: 0;
|
|
9151
9151
|
}
|
|
9152
|
-
.image-upload-leave-active[data-v-
|
|
9152
|
+
.image-upload-leave-active[data-v-b7698f30] {
|
|
9153
9153
|
position: absolute;
|
|
9154
9154
|
}.bs-positioned-image-upload .image-box {
|
|
9155
9155
|
border: 1px solid var(--border);
|
|
@@ -10854,6 +10854,10 @@ span.table-property[data-v-537f70be]:after {
|
|
|
10854
10854
|
width: 100%;
|
|
10855
10855
|
overflow-x: auto;
|
|
10856
10856
|
overflow-y: hidden;
|
|
10857
|
+
scrollbar-width: none;
|
|
10858
|
+
}
|
|
10859
|
+
.bs-tab-sheet .tab-bar::-webkit-scrollbar {
|
|
10860
|
+
display: none;
|
|
10857
10861
|
}
|
|
10858
10862
|
.bs-tab-sheet .tab-bar .tabs {
|
|
10859
10863
|
padding-top: 8px;
|
|
@@ -10868,7 +10872,7 @@ span.table-property[data-v-537f70be]:after {
|
|
|
10868
10872
|
margin-bottom: -1px;
|
|
10869
10873
|
white-space: nowrap;
|
|
10870
10874
|
cursor: pointer;
|
|
10871
|
-
overflow-x:
|
|
10875
|
+
overflow-x: hidden;
|
|
10872
10876
|
}
|
|
10873
10877
|
.bs-tab-sheet .tab-bar .tabs .tab + .tab:before {
|
|
10874
10878
|
content: "|";
|
package/dist/bluesea.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aN, aO, bL, bM, z, ap, az, B, J, K, a9, k, R, ar, N, F, aA, ct, H, O, av, P, a7, a8, aw, Q, a3, b, h, a5, a4, ac, as, aq, a0, D, ab, aa, G, am, cb, ax, _, a1, aj, al, ak, ai, ah, ag, V, an, ay, j, I, M, at, C, Y, a2, L, E, S, o, d, U, au, a, ao, Z, a6, c, ae, af, X, W, ad, T, A, bT, bb, bS, aX, aC, cy, aB, b2, b0, aZ, $, bR, b4, b3, cD, bJ, bP, b1, bV, bU, bQ, cx, b5, aW, aK, aL, aJ, aM, bO, bN, a$, bK, bA, c5, cC, bf, bm, c4, cM, ch, bW, c1, c0, aT, f, bD, cj, aU, cs, ba, cw, cz, g, ce, a_, bi, cQ, aP, b7, bj, aQ, aS, aR, b9, b$, bx, by, bz, bu, bw, bv, e, bt, bq, p, cF, aV, b8, cq, cm, cE, bZ, aF, cN, cK, cO, bE, cL, bF, c3, c2, cn, bn, i, b_, bp, bl, cP, b6, ca, c9, aY, bY, n, cf, bX, cJ, cA, c6, cd, bB, bc, bg, bI, c8, bG, bH, ci, cp, co, cg, cl, bo, aE, bk, ck, cI, cu, cv, cB, c7, cc, u, bC, bd, be, bh, aD, aH, aI, l, v, aG, br, bs, cH, cG, cr } from "./index-
|
|
1
|
+
import { aN, aO, bL, bM, z, ap, az, B, J, K, a9, k, R, ar, N, F, aA, ct, H, O, av, P, a7, a8, aw, Q, a3, b, h, a5, a4, ac, as, aq, a0, D, ab, aa, G, am, cb, ax, _, a1, aj, al, ak, ai, ah, ag, V, an, ay, j, I, M, at, C, Y, a2, L, E, S, o, d, U, au, a, ao, Z, a6, c, ae, af, X, W, ad, T, A, bT, bb, bS, aX, aC, cy, aB, b2, b0, aZ, $, bR, b4, b3, cD, bJ, bP, b1, bV, bU, bQ, cx, b5, aW, aK, aL, aJ, aM, bO, bN, a$, bK, bA, c5, cC, bf, bm, c4, cM, ch, bW, c1, c0, aT, f, bD, cj, aU, cs, ba, cw, cz, g, ce, a_, bi, cQ, aP, b7, bj, aQ, aS, aR, b9, b$, bx, by, bz, bu, bw, bv, e, bt, bq, p, cF, aV, b8, cq, cm, cE, bZ, aF, cN, cK, cO, bE, cL, bF, c3, c2, cn, bn, i, b_, bp, bl, cP, b6, ca, c9, aY, bY, n, cf, bX, cJ, cA, c6, cd, bB, bc, bg, bI, c8, bG, bH, ci, cp, co, cg, cl, bo, aE, bk, ck, cI, cu, cv, cB, c7, cc, u, bC, bd, be, bh, aD, aH, aI, l, v, aG, br, bs, cH, cG, cr } from "./index-BN7WLYoX.js";
|
|
2
2
|
export {
|
|
3
3
|
aN as ADDRESS_COUNTRY_CONFIGS,
|
|
4
4
|
aO as ADDRESS_COUNTRY_CONFIG_DEFAULT,
|
package/dist/bluesea.umd.cjs
CHANGED
|
@@ -1137,6 +1137,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
1137
1137
|
showSearch: { type: [Boolean, String], default: "auto" },
|
|
1138
1138
|
baseElement: {},
|
|
1139
1139
|
popupAlign: {},
|
|
1140
|
+
enabledItemProvider: {},
|
|
1140
1141
|
popupDirection: {}
|
|
1141
1142
|
},
|
|
1142
1143
|
emits: ["itemSelected", "requestClose"],
|
|
@@ -1167,12 +1168,17 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
1167
1168
|
const searchKeyword = vue.ref("");
|
|
1168
1169
|
const filteredItems = vue.computed(() => {
|
|
1169
1170
|
if (allItems.value === void 0) return void 0;
|
|
1171
|
+
let result = allItems.value;
|
|
1172
|
+
if (props.enabledItemProvider) {
|
|
1173
|
+
result = result.filter((item) => item === void 0 || props.enabledItemProvider(item.original));
|
|
1174
|
+
}
|
|
1170
1175
|
if (searchKeyword.value) {
|
|
1171
|
-
|
|
1176
|
+
result = result.filter((item) => {
|
|
1172
1177
|
var _a2;
|
|
1173
1178
|
return (_a2 = item == null ? void 0 : item.keyword) == null ? void 0 : _a2.includes(searchKeyword.value);
|
|
1174
1179
|
});
|
|
1175
|
-
}
|
|
1180
|
+
}
|
|
1181
|
+
return result;
|
|
1176
1182
|
});
|
|
1177
1183
|
const doSetSearchKeyword = debounce$2((keyword2) => {
|
|
1178
1184
|
searchKeyword.value = keyword2;
|
|
@@ -1764,6 +1770,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
1764
1770
|
popupAlign: {},
|
|
1765
1771
|
popupDirection: {},
|
|
1766
1772
|
popupMaxHeight: {},
|
|
1773
|
+
enabledItemProvider: {},
|
|
1767
1774
|
showPopupSearch: { type: [Boolean, String], default: "auto" },
|
|
1768
1775
|
hideErrorMessage: { type: Boolean },
|
|
1769
1776
|
showErrorMessageOnDisabled: { type: Boolean },
|
|
@@ -1916,13 +1923,14 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
1916
1923
|
"popup-direction": _ctx.popupDirection,
|
|
1917
1924
|
"selected-items": selectedItems.value,
|
|
1918
1925
|
"show-search": _ctx.showPopupSearch,
|
|
1926
|
+
"enabled-item-provider": _ctx.enabledItemProvider,
|
|
1919
1927
|
"value-provider": _ctx.valueProvider,
|
|
1920
1928
|
onItemSelected: itemSelected,
|
|
1921
1929
|
onRequestClose: _cache[0] || (_cache[0] = ($event) => {
|
|
1922
1930
|
togglePopup(false);
|
|
1923
1931
|
focusToRoot();
|
|
1924
1932
|
})
|
|
1925
|
-
}, null, 8, ["allow-null", "base-element", "initial-item", "items", "label-provider", "max-height", "null-label", "popup-align", "popup-direction", "selected-items", "show-search", "value-provider"])) : vue.createCommentVNode("", true),
|
|
1933
|
+
}, null, 8, ["allow-null", "base-element", "initial-item", "items", "label-provider", "max-height", "null-label", "popup-align", "popup-direction", "selected-items", "show-search", "enabled-item-provider", "value-provider"])) : vue.createCommentVNode("", true),
|
|
1926
1934
|
!_ctx.viewMode ? (vue.openBlock(), vue.createBlock(_sfc_main$1Z, {
|
|
1927
1935
|
key: 1,
|
|
1928
1936
|
errors: vue.unref(errors),
|
|
@@ -2498,7 +2506,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
2498
2506
|
key: 1,
|
|
2499
2507
|
class: "suffix"
|
|
2500
2508
|
};
|
|
2501
|
-
const _hoisted_8$
|
|
2509
|
+
const _hoisted_8$5 = { class: "font-icon" };
|
|
2502
2510
|
const _hoisted_9$3 = {
|
|
2503
2511
|
key: 2,
|
|
2504
2512
|
class: "suffix"
|
|
@@ -2674,7 +2682,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
2674
2682
|
})), [
|
|
2675
2683
|
[vue.unref(vT), item.value]
|
|
2676
2684
|
]) : item.type === "font-icon" ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_7$7, [
|
|
2677
|
-
vue.createElementVNode("span", _hoisted_8$
|
|
2685
|
+
vue.createElementVNode("span", _hoisted_8$5, vue.toDisplayString(item.value), 1)
|
|
2678
2686
|
])) : item.type === "image-url" ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_9$3, [
|
|
2679
2687
|
vue.createElementVNode("img", {
|
|
2680
2688
|
src: item.value,
|
|
@@ -2965,7 +2973,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
2965
2973
|
key: 0,
|
|
2966
2974
|
class: "bs-layout-horizontal justify-content-center mt-8"
|
|
2967
2975
|
};
|
|
2968
|
-
const _hoisted_8$
|
|
2976
|
+
const _hoisted_8$4 = { class: "select-wrap w-full pa-8 d-flex justify-content-center align-items-center" };
|
|
2969
2977
|
const _hoisted_9$2 = {
|
|
2970
2978
|
key: 1,
|
|
2971
2979
|
class: "extra-dates bs-layout-vertical gap-2 mt-8"
|
|
@@ -3206,7 +3214,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
3206
3214
|
])
|
|
3207
3215
|
], 2),
|
|
3208
3216
|
["HOUR", "MINUTE_10", "MINUTE_30", "MINUTE", "SECOND"].includes(_ctx.resolution) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_7$6, [
|
|
3209
|
-
vue.createElementVNode("div", _hoisted_8$
|
|
3217
|
+
vue.createElementVNode("div", _hoisted_8$4, [
|
|
3210
3218
|
vue.createVNode(_sfc_main$1Y, {
|
|
3211
3219
|
disabled: _ctx.disabled,
|
|
3212
3220
|
items: hours,
|
|
@@ -3763,8 +3771,8 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
3763
3771
|
modelValue.value = Number(str);
|
|
3764
3772
|
}
|
|
3765
3773
|
};
|
|
3766
|
-
const percentMaxValue = vue.computed(() => props.maxValue ? Number((props.maxValue * 100).toFixed(props.maxDecimalPlaces)) : void 0);
|
|
3767
|
-
const percentMinValue = vue.computed(() => props.minValue ? Number((props.minValue * 100).toFixed(props.maxDecimalPlaces)) : void 0);
|
|
3774
|
+
const percentMaxValue = vue.computed(() => props.maxValue !== void 0 ? Number((props.maxValue * 100).toFixed(props.maxDecimalPlaces)) : void 0);
|
|
3775
|
+
const percentMinValue = vue.computed(() => props.minValue !== void 0 ? Number((props.minValue * 100).toFixed(props.maxDecimalPlaces)) : void 0);
|
|
3768
3776
|
return (_ctx, _cache) => {
|
|
3769
3777
|
return vue.openBlock(), vue.createBlock(_sfc_main$1L, {
|
|
3770
3778
|
id: _ctx.id,
|
|
@@ -5556,7 +5564,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
5556
5564
|
key: 0,
|
|
5557
5565
|
class: "label"
|
|
5558
5566
|
};
|
|
5559
|
-
const _hoisted_8$
|
|
5567
|
+
const _hoisted_8$3 = {
|
|
5560
5568
|
key: 2,
|
|
5561
5569
|
class: "small-progress"
|
|
5562
5570
|
};
|
|
@@ -5581,6 +5589,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
5581
5589
|
popupAlign: {},
|
|
5582
5590
|
popupDirection: {},
|
|
5583
5591
|
popupMaxHeight: {},
|
|
5592
|
+
enabledItemProvider: {},
|
|
5584
5593
|
showPopupSearch: { type: [Boolean, String], default: "auto" },
|
|
5585
5594
|
hideErrorMessage: { type: Boolean },
|
|
5586
5595
|
showErrorMessageOnDisabled: { type: Boolean }
|
|
@@ -5718,7 +5727,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
5718
5727
|
}), 128))
|
|
5719
5728
|
])),
|
|
5720
5729
|
_cache[5] || (_cache[5] = vue.createElementVNode("span", { class: "dropdown-btn" }, "expand_more", -1)),
|
|
5721
|
-
loadingItems.value ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_8$
|
|
5730
|
+
loadingItems.value ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_8$3, "progress_activity")) : vue.createCommentVNode("", true)
|
|
5722
5731
|
], 8, _hoisted_4$p),
|
|
5723
5732
|
!_ctx.disabled && showPopup.value ? (vue.openBlock(), vue.createBlock(_sfc_main$1_, {
|
|
5724
5733
|
key: 0,
|
|
@@ -5733,10 +5742,11 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
5733
5742
|
"popup-direction": _ctx.popupDirection,
|
|
5734
5743
|
"selected-items": selectedItems.value,
|
|
5735
5744
|
"show-search": _ctx.showPopupSearch,
|
|
5745
|
+
"enabled-item-provider": _ctx.enabledItemProvider,
|
|
5736
5746
|
"value-provider": _ctx.valueProvider,
|
|
5737
5747
|
onItemSelected: itemSelected,
|
|
5738
5748
|
onRequestClose: _cache[0] || (_cache[0] = ($event) => togglePopup(false))
|
|
5739
|
-
}, null, 8, ["base-element", "initial-item", "items", "label-provider", "max-height", "popup-align", "popup-direction", "selected-items", "show-search", "value-provider"])) : vue.createCommentVNode("", true)
|
|
5749
|
+
}, null, 8, ["base-element", "initial-item", "items", "label-provider", "max-height", "popup-align", "popup-direction", "selected-items", "show-search", "enabled-item-provider", "value-provider"])) : vue.createCommentVNode("", true)
|
|
5740
5750
|
], 64)),
|
|
5741
5751
|
!_ctx.viewMode ? (vue.openBlock(), vue.createBlock(_sfc_main$1Z, {
|
|
5742
5752
|
key: 2,
|
|
@@ -35483,6 +35493,7 @@ img.ProseMirror-separator {
|
|
|
35483
35493
|
extraValidationRules: {},
|
|
35484
35494
|
ignoreSavePoint: { type: Boolean },
|
|
35485
35495
|
hideErrorMessage: { type: Boolean },
|
|
35496
|
+
disableUpload: { type: Boolean },
|
|
35486
35497
|
enableDraggableOrder: { type: Boolean },
|
|
35487
35498
|
mediaObjectUrlStore: {}
|
|
35488
35499
|
},
|
|
@@ -35539,7 +35550,7 @@ img.ProseMirror-separator {
|
|
|
35539
35550
|
);
|
|
35540
35551
|
const validationDisabled = vue.computed(() => props.disabled || props.viewMode);
|
|
35541
35552
|
const maxFileSizeValue = vue.computed(() => props.maxFileSize || blueseaConfig.maxFileSize);
|
|
35542
|
-
const canUpload = vue.computed(() => !props.disabled && !props.viewMode && props.modelValue.length < props.maxCount);
|
|
35553
|
+
const canUpload = vue.computed(() => !props.disabled && !props.viewMode && !props.disableUpload && props.modelValue.length < props.maxCount);
|
|
35543
35554
|
const fieldContext = useFieldContext();
|
|
35544
35555
|
const errorRecord = vue.ref([]);
|
|
35545
35556
|
const isValid = async (value, phase) => {
|
|
@@ -35673,7 +35684,7 @@ img.ProseMirror-separator {
|
|
|
35673
35684
|
};
|
|
35674
35685
|
}
|
|
35675
35686
|
});
|
|
35676
|
-
const BSMultiImageUpload = /* @__PURE__ */ _export_sfc(_sfc_main$1a, [["__scopeId", "data-v-
|
|
35687
|
+
const BSMultiImageUpload = /* @__PURE__ */ _export_sfc(_sfc_main$1a, [["__scopeId", "data-v-b7698f30"]]);
|
|
35677
35688
|
const _hoisted_1$_ = ["data-field-name"];
|
|
35678
35689
|
const _hoisted_2$L = { class: "bs-layout-horizontal-wrap gap-8" };
|
|
35679
35690
|
const _hoisted_3$w = { class: "mr-4" };
|
|
@@ -35886,7 +35897,7 @@ img.ProseMirror-separator {
|
|
|
35886
35897
|
key: 1,
|
|
35887
35898
|
class: "no-file"
|
|
35888
35899
|
};
|
|
35889
|
-
const _hoisted_8$
|
|
35900
|
+
const _hoisted_8$2 = ["accept", "disabled", "name"];
|
|
35890
35901
|
const _sfc_main$18 = /* @__PURE__ */ vue.defineComponent({
|
|
35891
35902
|
__name: "BSFileUpload",
|
|
35892
35903
|
props: {
|
|
@@ -36106,7 +36117,7 @@ img.ProseMirror-separator {
|
|
|
36106
36117
|
style: { "display": "none" },
|
|
36107
36118
|
type: "file",
|
|
36108
36119
|
onChange: fileSelected
|
|
36109
|
-
}, null, 40, _hoisted_8$
|
|
36120
|
+
}, null, 40, _hoisted_8$2)
|
|
36110
36121
|
], 2),
|
|
36111
36122
|
!_ctx.viewMode ? (vue.openBlock(), vue.createBlock(_sfc_main$1Z, {
|
|
36112
36123
|
key: 0,
|
|
@@ -38790,7 +38801,7 @@ img.ProseMirror-separator {
|
|
|
38790
38801
|
const _hoisted_5$8 = { key: 3 };
|
|
38791
38802
|
const _hoisted_6$2 = { key: 4 };
|
|
38792
38803
|
const _hoisted_7$2 = ["textContent"];
|
|
38793
|
-
const _hoisted_8$
|
|
38804
|
+
const _hoisted_8$1 = { key: 5 };
|
|
38794
38805
|
const _hoisted_9$1 = ["textContent"];
|
|
38795
38806
|
const _hoisted_10 = { key: 6 };
|
|
38796
38807
|
const _sfc_main$U = /* @__PURE__ */ vue.defineComponent({
|
|
@@ -38900,7 +38911,7 @@ img.ProseMirror-separator {
|
|
|
38900
38911
|
textContent: vue.toDisplayString(formattedTotalCount.value)
|
|
38901
38912
|
}, null, 8, _hoisted_7$2)
|
|
38902
38913
|
]),
|
|
38903
|
-
selectedCount.value > 0 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_8$
|
|
38914
|
+
selectedCount.value > 0 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_8$1, [
|
|
38904
38915
|
vue.withDirectives(vue.createElementVNode("span", null, null, 512), [
|
|
38905
38916
|
[vue.unref(vT), { key: "bs.gridcontrol.selectedCount" }]
|
|
38906
38917
|
]),
|
|
@@ -39150,7 +39161,6 @@ img.ProseMirror-separator {
|
|
|
39150
39161
|
};
|
|
39151
39162
|
const _hoisted_6$1 = { class: "ml-4" };
|
|
39152
39163
|
const _hoisted_7$1 = { class: "buttons text-nowrap" };
|
|
39153
|
-
const _hoisted_8$1 = { class: "flex-grow-1 h-4 bs-layout-vertical" };
|
|
39154
39164
|
const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
|
|
39155
39165
|
__name: "BSTabSheet",
|
|
39156
39166
|
props: {
|
|
@@ -39164,12 +39174,48 @@ img.ProseMirror-separator {
|
|
|
39164
39174
|
var _a2, _b;
|
|
39165
39175
|
return ((_b = (_a2 = blueseaConfig.componentConfig) == null ? void 0 : _a2.tabSheet) == null ? void 0 : _b.confirmLeavingModifiedTab) ?? false;
|
|
39166
39176
|
} },
|
|
39167
|
-
keepTabs: { type: Boolean }
|
|
39177
|
+
keepTabs: { type: Boolean },
|
|
39178
|
+
tabBodyHeight: {}
|
|
39168
39179
|
},
|
|
39169
39180
|
emits: ["update:tabId"],
|
|
39170
39181
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
39171
39182
|
const props = __props;
|
|
39172
39183
|
const emit = __emit;
|
|
39184
|
+
const tabBarRef = vue.ref();
|
|
39185
|
+
const isDragging = vue.ref(false);
|
|
39186
|
+
const onTabBarPointerDown = (e) => {
|
|
39187
|
+
const tabBar = tabBarRef.value;
|
|
39188
|
+
if (!tabBar || e.button !== 0) return;
|
|
39189
|
+
const startX = e.clientX;
|
|
39190
|
+
const startScrollLeft = tabBar.scrollLeft;
|
|
39191
|
+
const pointerId = e.pointerId;
|
|
39192
|
+
const onPointerMove = (ev) => {
|
|
39193
|
+
const deltaX = ev.clientX - startX;
|
|
39194
|
+
if (!isDragging.value && Math.abs(deltaX) > 8) {
|
|
39195
|
+
isDragging.value = true;
|
|
39196
|
+
tabBar.setPointerCapture(pointerId);
|
|
39197
|
+
tabBar.style.userSelect = "none";
|
|
39198
|
+
tabBar.style.cursor = "grabbing";
|
|
39199
|
+
}
|
|
39200
|
+
if (isDragging.value) {
|
|
39201
|
+
tabBar.scrollLeft = startScrollLeft - deltaX;
|
|
39202
|
+
}
|
|
39203
|
+
};
|
|
39204
|
+
const onPointerUp = () => {
|
|
39205
|
+
if (isDragging.value) {
|
|
39206
|
+
tabBar.releasePointerCapture(pointerId);
|
|
39207
|
+
tabBar.style.userSelect = "";
|
|
39208
|
+
tabBar.style.cursor = "";
|
|
39209
|
+
vue.nextTick(() => {
|
|
39210
|
+
isDragging.value = false;
|
|
39211
|
+
});
|
|
39212
|
+
}
|
|
39213
|
+
tabBar.removeEventListener("pointermove", onPointerMove);
|
|
39214
|
+
tabBar.removeEventListener("pointerup", onPointerUp);
|
|
39215
|
+
};
|
|
39216
|
+
tabBar.addEventListener("pointermove", onPointerMove);
|
|
39217
|
+
tabBar.addEventListener("pointerup", onPointerUp);
|
|
39218
|
+
};
|
|
39173
39219
|
const visibleTabs = vue.computed(() => props.tabs.filter((tab) => !tab.hidden));
|
|
39174
39220
|
const createdTabs = vue.ref([]);
|
|
39175
39221
|
const ensureAddCreatedTab = (tab) => {
|
|
@@ -39192,6 +39238,7 @@ img.ProseMirror-separator {
|
|
|
39192
39238
|
const modal = useModal();
|
|
39193
39239
|
const selectTab = (tab) => {
|
|
39194
39240
|
var _a2;
|
|
39241
|
+
if (isDragging.value) return;
|
|
39195
39242
|
if (((_a2 = currentTab.value) == null ? void 0 : _a2.tabId) === (tab == null ? void 0 : tab.tabId)) return;
|
|
39196
39243
|
if (tab == null ? void 0 : tab.disabled) return;
|
|
39197
39244
|
if (props.blockLeavingModifiedTab || props.confirmLeavingModifiedTab) {
|
|
@@ -39246,7 +39293,10 @@ img.ProseMirror-separator {
|
|
|
39246
39293
|
class: "bs-tab-sheet bs-layout-vertical"
|
|
39247
39294
|
}, [
|
|
39248
39295
|
vue.createElementVNode("div", {
|
|
39249
|
-
|
|
39296
|
+
ref_key: "tabBarRef",
|
|
39297
|
+
ref: tabBarRef,
|
|
39298
|
+
class: vue.normalizeClass([{ "first-tab": firstTabSelected.value }, "tab-bar bs-layout-horizontal"]),
|
|
39299
|
+
onPointerdown: onTabBarPointerDown
|
|
39250
39300
|
}, [
|
|
39251
39301
|
vue.createElementVNode("div", _hoisted_2$A, [
|
|
39252
39302
|
vue.renderSlot(_ctx.$slots, "prefix")
|
|
@@ -39270,8 +39320,11 @@ img.ProseMirror-separator {
|
|
|
39270
39320
|
vue.createElementVNode("div", _hoisted_7$1, [
|
|
39271
39321
|
vue.renderSlot(_ctx.$slots, "buttons")
|
|
39272
39322
|
])
|
|
39273
|
-
],
|
|
39274
|
-
vue.createElementVNode("div",
|
|
39323
|
+
], 34),
|
|
39324
|
+
vue.createElementVNode("div", {
|
|
39325
|
+
class: vue.normalizeClass([!_ctx.tabBodyHeight ? "h-4" : "", "flex-grow-1 bs-layout-vertical"]),
|
|
39326
|
+
style: vue.normalizeStyle({ height: _ctx.tabBodyHeight })
|
|
39327
|
+
}, [
|
|
39275
39328
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(createdTabs.value, (createdTab) => {
|
|
39276
39329
|
var _a3;
|
|
39277
39330
|
return vue.renderSlot(_ctx.$slots, createdTab.tabId, {
|
|
@@ -39280,7 +39333,7 @@ img.ProseMirror-separator {
|
|
|
39280
39333
|
tabId: createdTab.tabId
|
|
39281
39334
|
});
|
|
39282
39335
|
}), 128))
|
|
39283
|
-
])
|
|
39336
|
+
], 6)
|
|
39284
39337
|
], 8, _hoisted_1$K);
|
|
39285
39338
|
};
|
|
39286
39339
|
}
|
|
@@ -67934,7 +67987,7 @@ img.ProseMirror-separator {
|
|
|
67934
67987
|
};
|
|
67935
67988
|
const _hoisted_1$A = ["data-field-name"];
|
|
67936
67989
|
const _hoisted_2$r = { class: "bs-layout-horizontal flex-grow-1 h-full" };
|
|
67937
|
-
const _hoisted_3$l = { class: "bs-layout-vertical flex-grow-1 h-full" };
|
|
67990
|
+
const _hoisted_3$l = { class: "bs-layout-vertical flex-grow-1 h-full w-full" };
|
|
67938
67991
|
const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
|
|
67939
67992
|
__name: "BSHtmlEditor",
|
|
67940
67993
|
props: {
|
|
@@ -68094,7 +68147,8 @@ img.ProseMirror-separator {
|
|
|
68094
68147
|
extraValidationRules: {},
|
|
68095
68148
|
extraItemValidationRules: {},
|
|
68096
68149
|
ignoreSavePoint: { type: Boolean },
|
|
68097
|
-
hideErrorMessage: { type: Boolean }
|
|
68150
|
+
hideErrorMessage: { type: Boolean },
|
|
68151
|
+
useCss: { type: Boolean }
|
|
68098
68152
|
},
|
|
68099
68153
|
emits: ["update:modelValue"],
|
|
68100
68154
|
setup(__props, { emit: __emit }) {
|
|
@@ -68188,6 +68242,7 @@ img.ProseMirror-separator {
|
|
|
68188
68242
|
required: isRequiredLocale(locale),
|
|
68189
68243
|
style: vue.normalizeStyle({ height: _ctx.height }),
|
|
68190
68244
|
tabindex: _ctx.tabindex,
|
|
68245
|
+
"use-css": _ctx.useCss,
|
|
68191
68246
|
"validation-message-required": _ctx.validationMessageRequired,
|
|
68192
68247
|
"view-mode": _ctx.viewMode,
|
|
68193
68248
|
"ignore-save-point": "",
|
|
@@ -68202,7 +68257,7 @@ img.ProseMirror-separator {
|
|
|
68202
68257
|
])
|
|
68203
68258
|
]),
|
|
68204
68259
|
_: 2
|
|
68205
|
-
}, 1032, ["class", "data-multi-lang-locale", "disabled", "extra-validation-rules", "model-value", "name", "required", "style", "tabindex", "validation-message-required", "view-mode", "onUpdate:modelValue"])
|
|
68260
|
+
}, 1032, ["class", "data-multi-lang-locale", "disabled", "extra-validation-rules", "model-value", "name", "required", "style", "tabindex", "use-css", "validation-message-required", "view-mode", "onUpdate:modelValue"])
|
|
68206
68261
|
])) : vue.createCommentVNode("", true)
|
|
68207
68262
|
], 64);
|
|
68208
68263
|
}), 128)),
|
|
@@ -24,6 +24,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
24
24
|
extraValidationRules?: FieldValidationRule<MultiImageFile>[] | undefined;
|
|
25
25
|
ignoreSavePoint?: boolean | undefined;
|
|
26
26
|
hideErrorMessage?: boolean | undefined;
|
|
27
|
+
disableUpload?: boolean | undefined;
|
|
27
28
|
enableDraggableOrder?: boolean | undefined;
|
|
28
29
|
mediaObjectUrlStore?: MediaObjectUrlStore | undefined;
|
|
29
30
|
}>, {
|
|
@@ -61,6 +62,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
61
62
|
extraValidationRules?: FieldValidationRule<MultiImageFile>[] | undefined;
|
|
62
63
|
ignoreSavePoint?: boolean | undefined;
|
|
63
64
|
hideErrorMessage?: boolean | undefined;
|
|
65
|
+
disableUpload?: boolean | undefined;
|
|
64
66
|
enableDraggableOrder?: boolean | undefined;
|
|
65
67
|
mediaObjectUrlStore?: MediaObjectUrlStore | undefined;
|
|
66
68
|
}>, {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FieldValidationRule } from '../../validator/FieldValidator';
|
|
2
|
-
import { KeyProvider, LabelProvider, MultiLangText } from '../../model/CommonTypes';
|
|
2
|
+
import { EnabledItemProvider, KeyProvider, LabelProvider, MultiLangText } from '../../model/CommonTypes';
|
|
3
3
|
|
|
4
4
|
declare const _default: <T, V>(__VLS_props: {
|
|
5
5
|
keyProvider?: KeyProvider<T> | undefined;
|
|
@@ -19,6 +19,7 @@ declare const _default: <T, V>(__VLS_props: {
|
|
|
19
19
|
readonly "onUpdate:modelValue"?: ((value?: V[] | undefined) => any) | undefined;
|
|
20
20
|
items?: T[] | Promise<T[]> | undefined;
|
|
21
21
|
valueProvider?: ((item: T) => V) | undefined;
|
|
22
|
+
enabledItemProvider?: EnabledItemProvider<T> | undefined;
|
|
22
23
|
popupDirection?: "right" | "down" | "up" | "auto-down" | "auto-right" | undefined;
|
|
23
24
|
popupAlign?: "center" | "left" | "right" | "auto" | undefined;
|
|
24
25
|
selectedLabelProvider?: LabelProvider<T[]> | undefined;
|
|
@@ -47,6 +48,7 @@ declare const _default: <T, V>(__VLS_props: {
|
|
|
47
48
|
readonly "onUpdate:modelValue"?: ((value?: V[] | undefined) => any) | undefined;
|
|
48
49
|
items?: T[] | Promise<T[]> | undefined;
|
|
49
50
|
valueProvider?: ((item: T) => V) | undefined;
|
|
51
|
+
enabledItemProvider?: EnabledItemProvider<T> | undefined;
|
|
50
52
|
popupDirection?: "right" | "down" | "up" | "auto-down" | "auto-right" | undefined;
|
|
51
53
|
popupAlign?: "center" | "left" | "right" | "auto" | undefined;
|
|
52
54
|
selectedLabelProvider?: LabelProvider<T[]> | undefined;
|
|
@@ -79,6 +81,7 @@ declare const _default: <T, V>(__VLS_props: {
|
|
|
79
81
|
readonly "onUpdate:modelValue"?: ((value?: V[] | undefined) => any) | undefined;
|
|
80
82
|
items?: T[] | Promise<T[]> | undefined;
|
|
81
83
|
valueProvider?: ((item: T) => V) | undefined;
|
|
84
|
+
enabledItemProvider?: EnabledItemProvider<T> | undefined;
|
|
82
85
|
popupDirection?: "right" | "down" | "up" | "auto-down" | "auto-right" | undefined;
|
|
83
86
|
popupAlign?: "center" | "left" | "right" | "auto" | undefined;
|
|
84
87
|
selectedLabelProvider?: LabelProvider<T[]> | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { UnwrapRef } from 'vue';
|
|
2
|
-
import { LabelProvider, MultiLangText } from '../../model/CommonTypes';
|
|
2
|
+
import { EnabledItemProvider, LabelProvider, MultiLangText } from '../../model/CommonTypes';
|
|
3
3
|
import { FieldValidationRule } from '../../validator/FieldValidator';
|
|
4
4
|
|
|
5
5
|
declare const _default: <T, V>(__VLS_props: {
|
|
@@ -19,6 +19,7 @@ declare const _default: <T, V>(__VLS_props: {
|
|
|
19
19
|
readonly "onUpdate:modelValue"?: ((value?: V | undefined) => any) | undefined;
|
|
20
20
|
items?: T[] | Promise<T[]> | undefined;
|
|
21
21
|
valueProvider?: ((item: T) => V) | undefined;
|
|
22
|
+
enabledItemProvider?: EnabledItemProvider<T> | undefined;
|
|
22
23
|
popupDirection?: "right" | "down" | "up" | "auto-down" | "auto-right" | undefined;
|
|
23
24
|
popupAlign?: "center" | "left" | "right" | "auto" | undefined;
|
|
24
25
|
allowNull?: boolean | undefined;
|
|
@@ -49,6 +50,7 @@ declare const _default: <T, V>(__VLS_props: {
|
|
|
49
50
|
readonly "onUpdate:modelValue"?: ((value?: V | undefined) => any) | undefined;
|
|
50
51
|
items?: T[] | Promise<T[]> | undefined;
|
|
51
52
|
valueProvider?: ((item: T) => V) | undefined;
|
|
53
|
+
enabledItemProvider?: EnabledItemProvider<T> | undefined;
|
|
52
54
|
popupDirection?: "right" | "down" | "up" | "auto-down" | "auto-right" | undefined;
|
|
53
55
|
popupAlign?: "center" | "left" | "right" | "auto" | undefined;
|
|
54
56
|
allowNull?: boolean | undefined;
|
|
@@ -83,6 +85,7 @@ declare const _default: <T, V>(__VLS_props: {
|
|
|
83
85
|
readonly "onUpdate:modelValue"?: ((value?: V | undefined) => any) | undefined;
|
|
84
86
|
items?: T[] | Promise<T[]> | undefined;
|
|
85
87
|
valueProvider?: ((item: T) => V) | undefined;
|
|
88
|
+
enabledItemProvider?: EnabledItemProvider<T> | undefined;
|
|
86
89
|
popupDirection?: "right" | "down" | "up" | "auto-down" | "auto-right" | undefined;
|
|
87
90
|
popupAlign?: "center" | "left" | "right" | "auto" | undefined;
|
|
88
91
|
allowNull?: boolean | undefined;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { LabelProvider, MultiLangText } from '../../model/CommonTypes';
|
|
1
|
+
import { EnabledItemProvider, LabelProvider, MultiLangText } from '../../model/CommonTypes';
|
|
2
2
|
|
|
3
3
|
declare const _default: <T = any, V = any>(__VLS_props: {
|
|
4
4
|
maxHeight?: string | undefined;
|
|
5
5
|
labelProvider: LabelProvider<T>;
|
|
6
6
|
items: T[] | Promise<T[]>;
|
|
7
7
|
valueProvider: (item: T) => V;
|
|
8
|
+
enabledItemProvider?: EnabledItemProvider<T> | undefined;
|
|
8
9
|
baseElement: HTMLElement | null;
|
|
9
10
|
popupDirection?: "right" | "down" | "up" | "auto-down" | "auto-right" | undefined;
|
|
10
11
|
popupAlign?: "center" | "left" | "right" | "auto" | undefined;
|
|
@@ -30,6 +31,7 @@ declare const _default: <T = any, V = any>(__VLS_props: {
|
|
|
30
31
|
labelProvider: LabelProvider<T>;
|
|
31
32
|
items: T[] | Promise<T[]>;
|
|
32
33
|
valueProvider: (item: T) => V;
|
|
34
|
+
enabledItemProvider?: EnabledItemProvider<T> | undefined;
|
|
33
35
|
baseElement: HTMLElement | null;
|
|
34
36
|
popupDirection?: "right" | "down" | "up" | "auto-down" | "auto-right" | undefined;
|
|
35
37
|
popupAlign?: "center" | "left" | "right" | "auto" | undefined;
|
|
@@ -59,6 +61,7 @@ declare const _default: <T = any, V = any>(__VLS_props: {
|
|
|
59
61
|
labelProvider: LabelProvider<T>;
|
|
60
62
|
items: T[] | Promise<T[]>;
|
|
61
63
|
valueProvider: (item: T) => V;
|
|
64
|
+
enabledItemProvider?: EnabledItemProvider<T> | undefined;
|
|
62
65
|
baseElement: HTMLElement | null;
|
|
63
66
|
popupDirection?: "right" | "down" | "up" | "auto-down" | "auto-right" | undefined;
|
|
64
67
|
popupAlign?: "center" | "left" | "right" | "auto" | undefined;
|
|
@@ -6,6 +6,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
|
|
|
6
6
|
blockLeavingModifiedTab?: boolean | undefined;
|
|
7
7
|
confirmLeavingModifiedTab?: boolean | undefined;
|
|
8
8
|
keepTabs?: boolean | undefined;
|
|
9
|
+
tabBodyHeight?: string | undefined;
|
|
9
10
|
}>, {
|
|
10
11
|
tabs: () => never[];
|
|
11
12
|
blockLeavingModifiedTab: () => boolean;
|
|
@@ -21,6 +22,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
|
|
|
21
22
|
blockLeavingModifiedTab?: boolean | undefined;
|
|
22
23
|
confirmLeavingModifiedTab?: boolean | undefined;
|
|
23
24
|
keepTabs?: boolean | undefined;
|
|
25
|
+
tabBodyHeight?: string | undefined;
|
|
24
26
|
}>, {
|
|
25
27
|
tabs: () => never[];
|
|
26
28
|
blockLeavingModifiedTab: () => boolean;
|
|
@@ -21,6 +21,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
21
21
|
extraItemValidationRules?: FieldValidationRule<string>[] | undefined;
|
|
22
22
|
ignoreSavePoint?: boolean | undefined;
|
|
23
23
|
hideErrorMessage?: boolean | undefined;
|
|
24
|
+
useCss?: boolean | undefined;
|
|
24
25
|
}>, {
|
|
25
26
|
name: () => string;
|
|
26
27
|
modelValue: () => {};
|
|
@@ -49,6 +50,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
49
50
|
extraItemValidationRules?: FieldValidationRule<string>[] | undefined;
|
|
50
51
|
ignoreSavePoint?: boolean | undefined;
|
|
51
52
|
hideErrorMessage?: boolean | undefined;
|
|
53
|
+
useCss?: boolean | undefined;
|
|
52
54
|
}>, {
|
|
53
55
|
name: () => string;
|
|
54
56
|
modelValue: () => {};
|
|
@@ -368,8 +368,8 @@ const defaultAddressInputComponentConfig = {
|
|
|
368
368
|
countryConfigs: ADDRESS_COUNTRY_CONFIGS
|
|
369
369
|
};
|
|
370
370
|
const defaultRichTextComponentConfig = {
|
|
371
|
-
imageInsertModal: defineAsyncComponent(() => import("./ImageInsertModal-
|
|
372
|
-
videoInsertModal: defineAsyncComponent(() => import("./VideoInsertModal-
|
|
371
|
+
imageInsertModal: defineAsyncComponent(() => import("./ImageInsertModal-CyMCkK2H.js")),
|
|
372
|
+
videoInsertModal: defineAsyncComponent(() => import("./VideoInsertModal-DjKstAn6.js")),
|
|
373
373
|
toolButtons: [
|
|
374
374
|
"Heading",
|
|
375
375
|
"FontSize",
|
|
@@ -1137,6 +1137,7 @@ const _sfc_main$1J = /* @__PURE__ */ defineComponent({
|
|
|
1137
1137
|
showSearch: { type: [Boolean, String], default: "auto" },
|
|
1138
1138
|
baseElement: {},
|
|
1139
1139
|
popupAlign: {},
|
|
1140
|
+
enabledItemProvider: {},
|
|
1140
1141
|
popupDirection: {}
|
|
1141
1142
|
},
|
|
1142
1143
|
emits: ["itemSelected", "requestClose"],
|
|
@@ -1167,12 +1168,17 @@ const _sfc_main$1J = /* @__PURE__ */ defineComponent({
|
|
|
1167
1168
|
const searchKeyword = ref("");
|
|
1168
1169
|
const filteredItems = computed(() => {
|
|
1169
1170
|
if (allItems.value === void 0) return void 0;
|
|
1171
|
+
let result = allItems.value;
|
|
1172
|
+
if (props.enabledItemProvider) {
|
|
1173
|
+
result = result.filter((item) => item === void 0 || props.enabledItemProvider(item.original));
|
|
1174
|
+
}
|
|
1170
1175
|
if (searchKeyword.value) {
|
|
1171
|
-
|
|
1176
|
+
result = result.filter((item) => {
|
|
1172
1177
|
var _a2;
|
|
1173
1178
|
return (_a2 = item == null ? void 0 : item.keyword) == null ? void 0 : _a2.includes(searchKeyword.value);
|
|
1174
1179
|
});
|
|
1175
|
-
}
|
|
1180
|
+
}
|
|
1181
|
+
return result;
|
|
1176
1182
|
});
|
|
1177
1183
|
const doSetSearchKeyword = debounce$2((keyword2) => {
|
|
1178
1184
|
searchKeyword.value = keyword2;
|
|
@@ -1764,6 +1770,7 @@ const _sfc_main$1H = /* @__PURE__ */ defineComponent({
|
|
|
1764
1770
|
popupAlign: {},
|
|
1765
1771
|
popupDirection: {},
|
|
1766
1772
|
popupMaxHeight: {},
|
|
1773
|
+
enabledItemProvider: {},
|
|
1767
1774
|
showPopupSearch: { type: [Boolean, String], default: "auto" },
|
|
1768
1775
|
hideErrorMessage: { type: Boolean },
|
|
1769
1776
|
showErrorMessageOnDisabled: { type: Boolean },
|
|
@@ -1916,13 +1923,14 @@ const _sfc_main$1H = /* @__PURE__ */ defineComponent({
|
|
|
1916
1923
|
"popup-direction": _ctx.popupDirection,
|
|
1917
1924
|
"selected-items": selectedItems.value,
|
|
1918
1925
|
"show-search": _ctx.showPopupSearch,
|
|
1926
|
+
"enabled-item-provider": _ctx.enabledItemProvider,
|
|
1919
1927
|
"value-provider": _ctx.valueProvider,
|
|
1920
1928
|
onItemSelected: itemSelected,
|
|
1921
1929
|
onRequestClose: _cache[0] || (_cache[0] = ($event) => {
|
|
1922
1930
|
togglePopup(false);
|
|
1923
1931
|
focusToRoot();
|
|
1924
1932
|
})
|
|
1925
|
-
}, null, 8, ["allow-null", "base-element", "initial-item", "items", "label-provider", "max-height", "null-label", "popup-align", "popup-direction", "selected-items", "show-search", "value-provider"])) : createCommentVNode("", true),
|
|
1933
|
+
}, null, 8, ["allow-null", "base-element", "initial-item", "items", "label-provider", "max-height", "null-label", "popup-align", "popup-direction", "selected-items", "show-search", "enabled-item-provider", "value-provider"])) : createCommentVNode("", true),
|
|
1926
1934
|
!_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1I, {
|
|
1927
1935
|
key: 1,
|
|
1928
1936
|
errors: unref(errors),
|
|
@@ -2498,7 +2506,7 @@ const _hoisted_7$6 = {
|
|
|
2498
2506
|
key: 1,
|
|
2499
2507
|
class: "suffix"
|
|
2500
2508
|
};
|
|
2501
|
-
const _hoisted_8$
|
|
2509
|
+
const _hoisted_8$4 = { class: "font-icon" };
|
|
2502
2510
|
const _hoisted_9$2 = {
|
|
2503
2511
|
key: 2,
|
|
2504
2512
|
class: "suffix"
|
|
@@ -2674,7 +2682,7 @@ const _sfc_main$1D = /* @__PURE__ */ defineComponent({
|
|
|
2674
2682
|
})), [
|
|
2675
2683
|
[unref(vT), item.value]
|
|
2676
2684
|
]) : item.type === "font-icon" ? (openBlock(), createElementBlock("span", _hoisted_7$6, [
|
|
2677
|
-
createElementVNode("span", _hoisted_8$
|
|
2685
|
+
createElementVNode("span", _hoisted_8$4, toDisplayString(item.value), 1)
|
|
2678
2686
|
])) : item.type === "image-url" ? (openBlock(), createElementBlock("span", _hoisted_9$2, [
|
|
2679
2687
|
createElementVNode("img", {
|
|
2680
2688
|
src: item.value,
|
|
@@ -2965,7 +2973,7 @@ const _hoisted_7$5 = {
|
|
|
2965
2973
|
key: 0,
|
|
2966
2974
|
class: "bs-layout-horizontal justify-content-center mt-8"
|
|
2967
2975
|
};
|
|
2968
|
-
const _hoisted_8$
|
|
2976
|
+
const _hoisted_8$3 = { class: "select-wrap w-full pa-8 d-flex justify-content-center align-items-center" };
|
|
2969
2977
|
const _hoisted_9$1 = {
|
|
2970
2978
|
key: 1,
|
|
2971
2979
|
class: "extra-dates bs-layout-vertical gap-2 mt-8"
|
|
@@ -3206,7 +3214,7 @@ const _sfc_main$1w = /* @__PURE__ */ defineComponent({
|
|
|
3206
3214
|
])
|
|
3207
3215
|
], 2),
|
|
3208
3216
|
["HOUR", "MINUTE_10", "MINUTE_30", "MINUTE", "SECOND"].includes(_ctx.resolution) ? (openBlock(), createElementBlock("div", _hoisted_7$5, [
|
|
3209
|
-
createElementVNode("div", _hoisted_8$
|
|
3217
|
+
createElementVNode("div", _hoisted_8$3, [
|
|
3210
3218
|
createVNode(_sfc_main$1H, {
|
|
3211
3219
|
disabled: _ctx.disabled,
|
|
3212
3220
|
items: hours,
|
|
@@ -3763,8 +3771,8 @@ const _sfc_main$1s = /* @__PURE__ */ defineComponent({
|
|
|
3763
3771
|
modelValue.value = Number(str);
|
|
3764
3772
|
}
|
|
3765
3773
|
};
|
|
3766
|
-
const percentMaxValue = computed(() => props.maxValue ? Number((props.maxValue * 100).toFixed(props.maxDecimalPlaces)) : void 0);
|
|
3767
|
-
const percentMinValue = computed(() => props.minValue ? Number((props.minValue * 100).toFixed(props.maxDecimalPlaces)) : void 0);
|
|
3774
|
+
const percentMaxValue = computed(() => props.maxValue !== void 0 ? Number((props.maxValue * 100).toFixed(props.maxDecimalPlaces)) : void 0);
|
|
3775
|
+
const percentMinValue = computed(() => props.minValue !== void 0 ? Number((props.minValue * 100).toFixed(props.maxDecimalPlaces)) : void 0);
|
|
3768
3776
|
return (_ctx, _cache) => {
|
|
3769
3777
|
return openBlock(), createBlock(_sfc_main$1u, {
|
|
3770
3778
|
id: _ctx.id,
|
|
@@ -5556,7 +5564,7 @@ const _hoisted_7$4 = {
|
|
|
5556
5564
|
key: 0,
|
|
5557
5565
|
class: "label"
|
|
5558
5566
|
};
|
|
5559
|
-
const _hoisted_8$
|
|
5567
|
+
const _hoisted_8$2 = {
|
|
5560
5568
|
key: 2,
|
|
5561
5569
|
class: "small-progress"
|
|
5562
5570
|
};
|
|
@@ -5581,6 +5589,7 @@ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
|
|
|
5581
5589
|
popupAlign: {},
|
|
5582
5590
|
popupDirection: {},
|
|
5583
5591
|
popupMaxHeight: {},
|
|
5592
|
+
enabledItemProvider: {},
|
|
5584
5593
|
showPopupSearch: { type: [Boolean, String], default: "auto" },
|
|
5585
5594
|
hideErrorMessage: { type: Boolean },
|
|
5586
5595
|
showErrorMessageOnDisabled: { type: Boolean }
|
|
@@ -5718,7 +5727,7 @@ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
|
|
|
5718
5727
|
}), 128))
|
|
5719
5728
|
])),
|
|
5720
5729
|
_cache[5] || (_cache[5] = createElementVNode("span", { class: "dropdown-btn" }, "expand_more", -1)),
|
|
5721
|
-
loadingItems.value ? (openBlock(), createElementBlock("span", _hoisted_8$
|
|
5730
|
+
loadingItems.value ? (openBlock(), createElementBlock("span", _hoisted_8$2, "progress_activity")) : createCommentVNode("", true)
|
|
5722
5731
|
], 8, _hoisted_4$h),
|
|
5723
5732
|
!_ctx.disabled && showPopup.value ? (openBlock(), createBlock(_sfc_main$1J, {
|
|
5724
5733
|
key: 0,
|
|
@@ -5733,10 +5742,11 @@ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
|
|
|
5733
5742
|
"popup-direction": _ctx.popupDirection,
|
|
5734
5743
|
"selected-items": selectedItems.value,
|
|
5735
5744
|
"show-search": _ctx.showPopupSearch,
|
|
5745
|
+
"enabled-item-provider": _ctx.enabledItemProvider,
|
|
5736
5746
|
"value-provider": _ctx.valueProvider,
|
|
5737
5747
|
onItemSelected: itemSelected,
|
|
5738
5748
|
onRequestClose: _cache[0] || (_cache[0] = ($event) => togglePopup(false))
|
|
5739
|
-
}, null, 8, ["base-element", "initial-item", "items", "label-provider", "max-height", "popup-align", "popup-direction", "selected-items", "show-search", "value-provider"])) : createCommentVNode("", true)
|
|
5749
|
+
}, null, 8, ["base-element", "initial-item", "items", "label-provider", "max-height", "popup-align", "popup-direction", "selected-items", "show-search", "enabled-item-provider", "value-provider"])) : createCommentVNode("", true)
|
|
5740
5750
|
], 64)),
|
|
5741
5751
|
!_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1I, {
|
|
5742
5752
|
key: 2,
|
|
@@ -6326,7 +6336,7 @@ class BSModal {
|
|
|
6326
6336
|
}
|
|
6327
6337
|
openAlert(title, message, clickHandler2) {
|
|
6328
6338
|
const option = {
|
|
6329
|
-
component: defineAsyncComponent(() => import("./BSAlertModal-
|
|
6339
|
+
component: defineAsyncComponent(() => import("./BSAlertModal-BMfuyOUG.js")),
|
|
6330
6340
|
bind: {
|
|
6331
6341
|
title,
|
|
6332
6342
|
message
|
|
@@ -6339,7 +6349,7 @@ class BSModal {
|
|
|
6339
6349
|
}
|
|
6340
6350
|
openYesNo(title, message, yesHandler, noHandler) {
|
|
6341
6351
|
const option = {
|
|
6342
|
-
component: defineAsyncComponent(() => import("./BSYesNoModal-
|
|
6352
|
+
component: defineAsyncComponent(() => import("./BSYesNoModal-CFjCkyfv.js")),
|
|
6343
6353
|
bind: {
|
|
6344
6354
|
title,
|
|
6345
6355
|
message
|
|
@@ -31473,13 +31483,13 @@ const tableContextMenus = (modal, editor) => {
|
|
|
31473
31483
|
};
|
|
31474
31484
|
const showTableProperties = (modal, editor) => {
|
|
31475
31485
|
modal.openModal({
|
|
31476
|
-
component: defineAsyncComponent(() => import("./TablePropertiesModal-
|
|
31486
|
+
component: defineAsyncComponent(() => import("./TablePropertiesModal-CiY15j-y.js")),
|
|
31477
31487
|
bind: { editor }
|
|
31478
31488
|
});
|
|
31479
31489
|
};
|
|
31480
31490
|
const insertTable = (modal, editor) => {
|
|
31481
31491
|
modal.openModal({
|
|
31482
|
-
component: defineAsyncComponent(() => import("./TableInsertModal-
|
|
31492
|
+
component: defineAsyncComponent(() => import("./TableInsertModal-zqihDr7h.js")),
|
|
31483
31493
|
bind: { editor }
|
|
31484
31494
|
});
|
|
31485
31495
|
};
|
|
@@ -31644,7 +31654,7 @@ const insertImage = (modal, editor) => {
|
|
|
31644
31654
|
const component = (_a2 = blueseaConfig.componentConfig.richText) == null ? void 0 : _a2.imageInsertModal;
|
|
31645
31655
|
if (component) {
|
|
31646
31656
|
modal.openModal({
|
|
31647
|
-
component: defineAsyncComponent(() => import("./ImageInsertModal-
|
|
31657
|
+
component: defineAsyncComponent(() => import("./ImageInsertModal-CyMCkK2H.js")),
|
|
31648
31658
|
bind: { editor },
|
|
31649
31659
|
on: {
|
|
31650
31660
|
insertImage: (image) => {
|
|
@@ -31662,7 +31672,7 @@ const insertImage = (modal, editor) => {
|
|
|
31662
31672
|
};
|
|
31663
31673
|
const showImageProperties = (modal, editor) => {
|
|
31664
31674
|
modal.openModal({
|
|
31665
|
-
component: defineAsyncComponent(() => import("./ImagePropertiesModal-
|
|
31675
|
+
component: defineAsyncComponent(() => import("./ImagePropertiesModal-BMDe0QC2.js")),
|
|
31666
31676
|
bind: { editor }
|
|
31667
31677
|
});
|
|
31668
31678
|
};
|
|
@@ -32023,13 +32033,13 @@ const youtubeContextMenu = (modal, editor) => {
|
|
|
32023
32033
|
};
|
|
32024
32034
|
const insertYoutube = (modal, editor) => {
|
|
32025
32035
|
modal.openModal({
|
|
32026
|
-
component: defineAsyncComponent(() => import("./YoutubeInsertModal-
|
|
32036
|
+
component: defineAsyncComponent(() => import("./YoutubeInsertModal-D1JrUwdX.js")),
|
|
32027
32037
|
bind: { editor }
|
|
32028
32038
|
});
|
|
32029
32039
|
};
|
|
32030
32040
|
const showYoutubeProperties = (modal, editor) => {
|
|
32031
32041
|
modal.openModal({
|
|
32032
|
-
component: defineAsyncComponent(() => import("./YoutubePropertiesModal-
|
|
32042
|
+
component: defineAsyncComponent(() => import("./YoutubePropertiesModal-unkfbTOY.js")),
|
|
32033
32043
|
bind: { editor }
|
|
32034
32044
|
});
|
|
32035
32045
|
};
|
|
@@ -32073,7 +32083,7 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
|
32073
32083
|
const showLinkProperties = () => {
|
|
32074
32084
|
if (!props.disabled) {
|
|
32075
32085
|
modal.openModal({
|
|
32076
|
-
component: defineAsyncComponent(() => import("./LinkPropertiesModal-
|
|
32086
|
+
component: defineAsyncComponent(() => import("./LinkPropertiesModal-bKceh08c.js")),
|
|
32077
32087
|
bind: {
|
|
32078
32088
|
editor: props.editor
|
|
32079
32089
|
}
|
|
@@ -32438,7 +32448,7 @@ const insertVideo = (modal, editor) => {
|
|
|
32438
32448
|
const component = (_a2 = blueseaConfig.componentConfig.richText) == null ? void 0 : _a2.videoInsertModal;
|
|
32439
32449
|
if (component) {
|
|
32440
32450
|
modal.openModal({
|
|
32441
|
-
component: defineAsyncComponent(() => import("./VideoInsertModal-
|
|
32451
|
+
component: defineAsyncComponent(() => import("./VideoInsertModal-DjKstAn6.js")),
|
|
32442
32452
|
bind: { editor },
|
|
32443
32453
|
on: {
|
|
32444
32454
|
insertVideo: (video) => {
|
|
@@ -32456,7 +32466,7 @@ const insertVideo = (modal, editor) => {
|
|
|
32456
32466
|
};
|
|
32457
32467
|
const showVideoProperties = (modal, editor) => {
|
|
32458
32468
|
modal.openModal({
|
|
32459
|
-
component: defineAsyncComponent(() => import("./VideoPropertiesModal-
|
|
32469
|
+
component: defineAsyncComponent(() => import("./VideoPropertiesModal-Ct0iUWXO.js")),
|
|
32460
32470
|
bind: { editor }
|
|
32461
32471
|
});
|
|
32462
32472
|
};
|
|
@@ -34634,7 +34644,7 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
|
34634
34644
|
emit("maximized");
|
|
34635
34645
|
if (!props.internalMaximized) {
|
|
34636
34646
|
modal.openModal({
|
|
34637
|
-
component: defineAsyncComponent(() => import("./BSRichTextMaximizedModal-
|
|
34647
|
+
component: defineAsyncComponent(() => import("./BSRichTextMaximizedModal-G5U2NGik.js")),
|
|
34638
34648
|
bind: {
|
|
34639
34649
|
modelValue: getEditorValue(),
|
|
34640
34650
|
contentMaxWidth: props.contentMaxWidth,
|
|
@@ -35181,7 +35191,7 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
|
35181
35191
|
const modal = useModal();
|
|
35182
35192
|
const enterYoutubeUrl = () => {
|
|
35183
35193
|
modal.openModal({
|
|
35184
|
-
component: defineAsyncComponent(() => import("./BSYoutubeInputModal-
|
|
35194
|
+
component: defineAsyncComponent(() => import("./BSYoutubeInputModal-CsPL5_5t.js")),
|
|
35185
35195
|
on: {
|
|
35186
35196
|
"update:modelValue": (url) => {
|
|
35187
35197
|
emit("update:modelValue", {
|
|
@@ -35483,6 +35493,7 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
35483
35493
|
extraValidationRules: {},
|
|
35484
35494
|
ignoreSavePoint: { type: Boolean },
|
|
35485
35495
|
hideErrorMessage: { type: Boolean },
|
|
35496
|
+
disableUpload: { type: Boolean },
|
|
35486
35497
|
enableDraggableOrder: { type: Boolean },
|
|
35487
35498
|
mediaObjectUrlStore: {}
|
|
35488
35499
|
},
|
|
@@ -35539,7 +35550,7 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
35539
35550
|
);
|
|
35540
35551
|
const validationDisabled = computed(() => props.disabled || props.viewMode);
|
|
35541
35552
|
const maxFileSizeValue = computed(() => props.maxFileSize || blueseaConfig.maxFileSize);
|
|
35542
|
-
const canUpload = computed(() => !props.disabled && !props.viewMode && props.modelValue.length < props.maxCount);
|
|
35553
|
+
const canUpload = computed(() => !props.disabled && !props.viewMode && !props.disableUpload && props.modelValue.length < props.maxCount);
|
|
35543
35554
|
const fieldContext = useFieldContext();
|
|
35544
35555
|
const errorRecord = ref([]);
|
|
35545
35556
|
const isValid = async (value, phase) => {
|
|
@@ -35673,7 +35684,7 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
35673
35684
|
};
|
|
35674
35685
|
}
|
|
35675
35686
|
});
|
|
35676
|
-
const BSMultiImageUpload = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["__scopeId", "data-v-
|
|
35687
|
+
const BSMultiImageUpload = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["__scopeId", "data-v-b7698f30"]]);
|
|
35677
35688
|
const _hoisted_1$K = ["data-field-name"];
|
|
35678
35689
|
const _hoisted_2$x = { class: "bs-layout-horizontal-wrap gap-8" };
|
|
35679
35690
|
const _hoisted_3$k = { class: "mr-4" };
|
|
@@ -35886,7 +35897,7 @@ const _hoisted_7$3 = {
|
|
|
35886
35897
|
key: 1,
|
|
35887
35898
|
class: "no-file"
|
|
35888
35899
|
};
|
|
35889
|
-
const _hoisted_8$
|
|
35900
|
+
const _hoisted_8$1 = ["accept", "disabled", "name"];
|
|
35890
35901
|
const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
35891
35902
|
__name: "BSFileUpload",
|
|
35892
35903
|
props: {
|
|
@@ -36106,7 +36117,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
36106
36117
|
style: { "display": "none" },
|
|
36107
36118
|
type: "file",
|
|
36108
36119
|
onChange: fileSelected
|
|
36109
|
-
}, null, 40, _hoisted_8$
|
|
36120
|
+
}, null, 40, _hoisted_8$1)
|
|
36110
36121
|
], 2),
|
|
36111
36122
|
!_ctx.viewMode ? (openBlock(), createBlock(_sfc_main$1I, {
|
|
36112
36123
|
key: 0,
|
|
@@ -38790,7 +38801,7 @@ const _hoisted_4$7 = { key: 2 };
|
|
|
38790
38801
|
const _hoisted_5$3 = { key: 3 };
|
|
38791
38802
|
const _hoisted_6$1 = { key: 4 };
|
|
38792
38803
|
const _hoisted_7$1 = ["textContent"];
|
|
38793
|
-
const _hoisted_8
|
|
38804
|
+
const _hoisted_8 = { key: 5 };
|
|
38794
38805
|
const _hoisted_9 = ["textContent"];
|
|
38795
38806
|
const _hoisted_10 = { key: 6 };
|
|
38796
38807
|
const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
@@ -38837,7 +38848,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
38837
38848
|
const modal = useModal();
|
|
38838
38849
|
const openSettingModal = () => {
|
|
38839
38850
|
modal.openModal({
|
|
38840
|
-
component: defineAsyncComponent(() => import("./BSGridColumnSettingModal-
|
|
38851
|
+
component: defineAsyncComponent(() => import("./BSGridColumnSettingModal-BINKuyM2.js")),
|
|
38841
38852
|
bind: {
|
|
38842
38853
|
columns: props.columns,
|
|
38843
38854
|
columnSettings: props.columnSettings,
|
|
@@ -38900,7 +38911,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
38900
38911
|
textContent: toDisplayString(formattedTotalCount.value)
|
|
38901
38912
|
}, null, 8, _hoisted_7$1)
|
|
38902
38913
|
]),
|
|
38903
|
-
selectedCount.value > 0 ? (openBlock(), createElementBlock("div", _hoisted_8
|
|
38914
|
+
selectedCount.value > 0 ? (openBlock(), createElementBlock("div", _hoisted_8, [
|
|
38904
38915
|
withDirectives(createElementVNode("span", null, null, 512), [
|
|
38905
38916
|
[unref(vT), { key: "bs.gridcontrol.selectedCount" }]
|
|
38906
38917
|
]),
|
|
@@ -39150,7 +39161,6 @@ const _hoisted_5$2 = {
|
|
|
39150
39161
|
};
|
|
39151
39162
|
const _hoisted_6 = { class: "ml-4" };
|
|
39152
39163
|
const _hoisted_7 = { class: "buttons text-nowrap" };
|
|
39153
|
-
const _hoisted_8 = { class: "flex-grow-1 h-4 bs-layout-vertical" };
|
|
39154
39164
|
const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
39155
39165
|
__name: "BSTabSheet",
|
|
39156
39166
|
props: {
|
|
@@ -39164,12 +39174,48 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
39164
39174
|
var _a2, _b;
|
|
39165
39175
|
return ((_b = (_a2 = blueseaConfig.componentConfig) == null ? void 0 : _a2.tabSheet) == null ? void 0 : _b.confirmLeavingModifiedTab) ?? false;
|
|
39166
39176
|
} },
|
|
39167
|
-
keepTabs: { type: Boolean }
|
|
39177
|
+
keepTabs: { type: Boolean },
|
|
39178
|
+
tabBodyHeight: {}
|
|
39168
39179
|
},
|
|
39169
39180
|
emits: ["update:tabId"],
|
|
39170
39181
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
39171
39182
|
const props = __props;
|
|
39172
39183
|
const emit = __emit;
|
|
39184
|
+
const tabBarRef = ref();
|
|
39185
|
+
const isDragging = ref(false);
|
|
39186
|
+
const onTabBarPointerDown = (e) => {
|
|
39187
|
+
const tabBar = tabBarRef.value;
|
|
39188
|
+
if (!tabBar || e.button !== 0) return;
|
|
39189
|
+
const startX = e.clientX;
|
|
39190
|
+
const startScrollLeft = tabBar.scrollLeft;
|
|
39191
|
+
const pointerId = e.pointerId;
|
|
39192
|
+
const onPointerMove = (ev) => {
|
|
39193
|
+
const deltaX = ev.clientX - startX;
|
|
39194
|
+
if (!isDragging.value && Math.abs(deltaX) > 8) {
|
|
39195
|
+
isDragging.value = true;
|
|
39196
|
+
tabBar.setPointerCapture(pointerId);
|
|
39197
|
+
tabBar.style.userSelect = "none";
|
|
39198
|
+
tabBar.style.cursor = "grabbing";
|
|
39199
|
+
}
|
|
39200
|
+
if (isDragging.value) {
|
|
39201
|
+
tabBar.scrollLeft = startScrollLeft - deltaX;
|
|
39202
|
+
}
|
|
39203
|
+
};
|
|
39204
|
+
const onPointerUp = () => {
|
|
39205
|
+
if (isDragging.value) {
|
|
39206
|
+
tabBar.releasePointerCapture(pointerId);
|
|
39207
|
+
tabBar.style.userSelect = "";
|
|
39208
|
+
tabBar.style.cursor = "";
|
|
39209
|
+
nextTick(() => {
|
|
39210
|
+
isDragging.value = false;
|
|
39211
|
+
});
|
|
39212
|
+
}
|
|
39213
|
+
tabBar.removeEventListener("pointermove", onPointerMove);
|
|
39214
|
+
tabBar.removeEventListener("pointerup", onPointerUp);
|
|
39215
|
+
};
|
|
39216
|
+
tabBar.addEventListener("pointermove", onPointerMove);
|
|
39217
|
+
tabBar.addEventListener("pointerup", onPointerUp);
|
|
39218
|
+
};
|
|
39173
39219
|
const visibleTabs = computed(() => props.tabs.filter((tab) => !tab.hidden));
|
|
39174
39220
|
const createdTabs = ref([]);
|
|
39175
39221
|
const ensureAddCreatedTab = (tab) => {
|
|
@@ -39192,6 +39238,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
39192
39238
|
const modal = useModal();
|
|
39193
39239
|
const selectTab = (tab) => {
|
|
39194
39240
|
var _a2;
|
|
39241
|
+
if (isDragging.value) return;
|
|
39195
39242
|
if (((_a2 = currentTab.value) == null ? void 0 : _a2.tabId) === (tab == null ? void 0 : tab.tabId)) return;
|
|
39196
39243
|
if (tab == null ? void 0 : tab.disabled) return;
|
|
39197
39244
|
if (props.blockLeavingModifiedTab || props.confirmLeavingModifiedTab) {
|
|
@@ -39246,7 +39293,10 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
39246
39293
|
class: "bs-tab-sheet bs-layout-vertical"
|
|
39247
39294
|
}, [
|
|
39248
39295
|
createElementVNode("div", {
|
|
39249
|
-
|
|
39296
|
+
ref_key: "tabBarRef",
|
|
39297
|
+
ref: tabBarRef,
|
|
39298
|
+
class: normalizeClass([{ "first-tab": firstTabSelected.value }, "tab-bar bs-layout-horizontal"]),
|
|
39299
|
+
onPointerdown: onTabBarPointerDown
|
|
39250
39300
|
}, [
|
|
39251
39301
|
createElementVNode("div", _hoisted_2$m, [
|
|
39252
39302
|
renderSlot(_ctx.$slots, "prefix")
|
|
@@ -39270,8 +39320,11 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
39270
39320
|
createElementVNode("div", _hoisted_7, [
|
|
39271
39321
|
renderSlot(_ctx.$slots, "buttons")
|
|
39272
39322
|
])
|
|
39273
|
-
],
|
|
39274
|
-
createElementVNode("div",
|
|
39323
|
+
], 34),
|
|
39324
|
+
createElementVNode("div", {
|
|
39325
|
+
class: normalizeClass([!_ctx.tabBodyHeight ? "h-4" : "", "flex-grow-1 bs-layout-vertical"]),
|
|
39326
|
+
style: normalizeStyle({ height: _ctx.tabBodyHeight })
|
|
39327
|
+
}, [
|
|
39275
39328
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(createdTabs.value, (createdTab) => {
|
|
39276
39329
|
var _a3;
|
|
39277
39330
|
return renderSlot(_ctx.$slots, createdTab.tabId, {
|
|
@@ -39280,7 +39333,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
39280
39333
|
tabId: createdTab.tabId
|
|
39281
39334
|
});
|
|
39282
39335
|
}), 128))
|
|
39283
|
-
])
|
|
39336
|
+
], 6)
|
|
39284
39337
|
], 8, _hoisted_1$u);
|
|
39285
39338
|
};
|
|
39286
39339
|
}
|
|
@@ -67934,7 +67987,7 @@ const isHtmlCodeEmpty = (value) => {
|
|
|
67934
67987
|
};
|
|
67935
67988
|
const _hoisted_1$k = ["data-field-name"];
|
|
67936
67989
|
const _hoisted_2$d = { class: "bs-layout-horizontal flex-grow-1 h-full" };
|
|
67937
|
-
const _hoisted_3$9 = { class: "bs-layout-vertical flex-grow-1 h-full" };
|
|
67990
|
+
const _hoisted_3$9 = { class: "bs-layout-vertical flex-grow-1 h-full w-full" };
|
|
67938
67991
|
const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
67939
67992
|
__name: "BSHtmlEditor",
|
|
67940
67993
|
props: {
|
|
@@ -68094,7 +68147,8 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
68094
68147
|
extraValidationRules: {},
|
|
68095
68148
|
extraItemValidationRules: {},
|
|
68096
68149
|
ignoreSavePoint: { type: Boolean },
|
|
68097
|
-
hideErrorMessage: { type: Boolean }
|
|
68150
|
+
hideErrorMessage: { type: Boolean },
|
|
68151
|
+
useCss: { type: Boolean }
|
|
68098
68152
|
},
|
|
68099
68153
|
emits: ["update:modelValue"],
|
|
68100
68154
|
setup(__props, { emit: __emit }) {
|
|
@@ -68188,6 +68242,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
68188
68242
|
required: isRequiredLocale(locale),
|
|
68189
68243
|
style: normalizeStyle({ height: _ctx.height }),
|
|
68190
68244
|
tabindex: _ctx.tabindex,
|
|
68245
|
+
"use-css": _ctx.useCss,
|
|
68191
68246
|
"validation-message-required": _ctx.validationMessageRequired,
|
|
68192
68247
|
"view-mode": _ctx.viewMode,
|
|
68193
68248
|
"ignore-save-point": "",
|
|
@@ -68202,7 +68257,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
68202
68257
|
])
|
|
68203
68258
|
]),
|
|
68204
68259
|
_: 2
|
|
68205
|
-
}, 1032, ["class", "data-multi-lang-locale", "disabled", "extra-validation-rules", "model-value", "name", "required", "style", "tabindex", "validation-message-required", "view-mode", "onUpdate:modelValue"])
|
|
68260
|
+
}, 1032, ["class", "data-multi-lang-locale", "disabled", "extra-validation-rules", "model-value", "name", "required", "style", "tabindex", "use-css", "validation-message-required", "view-mode", "onUpdate:modelValue"])
|
|
68206
68261
|
])) : createCommentVNode("", true)
|
|
68207
68262
|
], 64);
|
|
68208
68263
|
}), 128)),
|