@g1cloud/bluesea 5.0.0-beta.5 → 5.0.0-beta.6
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/dist/{BSAlertModal-BixctNO_.js → BSAlertModal-B6XlvWm2.js} +1 -1
- package/dist/{BSGridColumnSettingModal-CEZYNkY7.js → BSGridColumnSettingModal-DgqYUHUF.js} +1 -1
- package/dist/{BSRichTextMaximizedModal-BJHJKSmv.js → BSRichTextMaximizedModal-DhmCYN9S.js} +1 -1
- package/dist/{BSYesNoModal-RP6IOQrf.js → BSYesNoModal-CcElFZw-.js} +1 -1
- package/dist/{BSYoutubeInputModal-DcGUES0z.js → BSYoutubeInputModal-DLXCEq2-.js} +1 -1
- package/dist/{ImageInsertModal-Ca9ODxyY.js → ImageInsertModal-B5WoMehM.js} +2 -2
- package/dist/{ImageProperties.vue_vue_type_script_setup_true_lang-DaQiIqJ3.js → ImageProperties.vue_vue_type_script_setup_true_lang-BIoCOwlw.js} +1 -1
- package/dist/{ImagePropertiesModal-Dd_PTCe7.js → ImagePropertiesModal-AuLfc63Y.js} +2 -2
- package/dist/{LinkPropertiesModal-CHfXSxhI.js → LinkPropertiesModal-CzM1G8qN.js} +1 -1
- package/dist/{TableInsertModal-BuW96v61.js → TableInsertModal-ChcQJBQV.js} +1 -1
- package/dist/{TablePropertiesModal-Cyi6buUh.js → TablePropertiesModal-C1FzxMmL.js} +1 -1
- package/dist/{VideoInsertModal-mgYS8iD6.js → VideoInsertModal-Blyjl-az.js} +2 -2
- package/dist/{VideoProperties.vue_vue_type_script_setup_true_lang-Bds3l55w.js → VideoProperties.vue_vue_type_script_setup_true_lang-C7l371rG.js} +1 -1
- package/dist/{VideoPropertiesModal-CYvyUvt9.js → VideoPropertiesModal-CcgFfcXd.js} +2 -2
- package/dist/{YoutubeInsertModal-Bd9i0AaR.js → YoutubeInsertModal-B81eZZ3b.js} +2 -2
- package/dist/{YoutubeProperties.vue_vue_type_script_setup_true_lang-B-zxE_y5.js → YoutubeProperties.vue_vue_type_script_setup_true_lang-DKGiIhRX.js} +1 -1
- package/dist/{YoutubePropertiesModal-DQI3DULJ.js → YoutubePropertiesModal-BI7rBusJ.js} +2 -2
- package/dist/bluesea.js +1 -1
- package/dist/bluesea.umd.cjs +18 -19
- package/dist/component/grid/BSGridLookup.vue.d.ts +3 -1
- package/dist/component/grid/GridModel.d.ts +1 -0
- package/dist/{index-BKKS6q-4.js → index-DzQ05auj.js} +34 -35
- package/package.json +1 -1
|
@@ -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, j as vFocusOnLoad } from "./index-
|
|
2
|
+
import { u as useModalHandle, _ as _sfc_main$1, v as vT, B as BSButton, j as vFocusOnLoad } from "./index-DzQ05auj.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 { 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-
|
|
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-DzQ05auj.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-DzQ05auj.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-DzQ05auj.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 } 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 } from "./index-DzQ05auj.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-DzQ05auj.js";
|
|
3
|
+
import { _ as _sfc_main$5 } from "./ImageProperties.vue_vue_type_script_setup_true_lang-BIoCOwlw.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-DzQ05auj.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 { o as findImageNode, u as useModalHandle, _ as _sfc_main$1, B as BSButton, b as _sfc_main$2, c as _sfc_main$3, m as formValidator, p as imageInfoNumberToPixel } from "./index-
|
|
3
|
-
import { _ as _sfc_main$4 } from "./ImageProperties.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { o as findImageNode, u as useModalHandle, _ as _sfc_main$1, B as BSButton, b as _sfc_main$2, c as _sfc_main$3, m as formValidator, p as imageInfoNumberToPixel } from "./index-DzQ05auj.js";
|
|
3
|
+
import { _ as _sfc_main$4 } from "./ImageProperties.vue_vue_type_script_setup_true_lang-BIoCOwlw.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-DzQ05auj.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, h as _sfc_main$3 } from "./index-
|
|
2
|
+
import { u as useModalHandle, _ as _sfc_main$1, B as BSButton, b as _sfc_main$2, h as _sfc_main$3 } from "./index-DzQ05auj.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 { k 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, l as _sfc_main$4, m as formValidator } from "./index-
|
|
2
|
+
import { k 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, l as _sfc_main$4, m as formValidator } from "./index-DzQ05auj.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-DzQ05auj.js";
|
|
3
|
+
import { _ as _sfc_main$5 } from "./VideoProperties.vue_vue_type_script_setup_true_lang-C7l371rG.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 { i as _sfc_main$1, b as _sfc_main$2, c as _sfc_main$3, v as vT } from "./index-
|
|
2
|
+
import { i as _sfc_main$1, b as _sfc_main$2, c as _sfc_main$3, v as vT } from "./index-DzQ05auj.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 { s as findVideoNode, u as useModalHandle, _ as _sfc_main$1, B as BSButton, b as _sfc_main$2, c as _sfc_main$3, m as formValidator, t as videoInfoNumberToPixel } from "./index-
|
|
3
|
-
import { _ as _sfc_main$4 } from "./VideoProperties.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { s as findVideoNode, u as useModalHandle, _ as _sfc_main$1, B as BSButton, b as _sfc_main$2, c as _sfc_main$3, m as formValidator, t as videoInfoNumberToPixel } from "./index-DzQ05auj.js";
|
|
3
|
+
import { _ as _sfc_main$4 } from "./VideoProperties.vue_vue_type_script_setup_true_lang-C7l371rG.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-DzQ05auj.js";
|
|
3
|
+
import { _ as _sfc_main$4 } from "./YoutubeProperties.vue_vue_type_script_setup_true_lang-DKGiIhRX.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-DzQ05auj.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 { q as findYoutubeNode, r 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 { q as findYoutubeNode, r 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-DzQ05auj.js";
|
|
3
|
+
import { _ as _sfc_main$4 } from "./YoutubeProperties.vue_vue_type_script_setup_true_lang-DKGiIhRX.js";
|
|
4
4
|
const _hoisted_1 = {
|
|
5
5
|
key: 0,
|
|
6
6
|
class: "bs-layout-form"
|
package/dist/bluesea.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aI, aJ, bD, bE, w, al, av, B, H, I, a5, i, O, an, K, D, aw, ck, F, L, ar, M, a3, a4, as, N, b, g, a1, a0, a8, ao, am, Y, A, a7, a6, E, ai, c2, at, _, Z, af, ah, ag, ae, ad, ac, S, aj, au, h, G, ap, z, V, $, J, C, P, l, d, R, aq, a, ak, W, a2, c, aa, ab, U, T, a9, Q, x, bL, bK, aS, ay, cp, ax, aZ, aX, aU, X, bJ, a$, a_, cu, bB, bH, aY, bN, bM, bI, co, b0, aR, aF, aG, aE, aH, bG, bF, aW, bC, bs, bZ, ct, b7, be, bY, cD, c8, bO, bV, bU, aO, bv, ca, aP, cj, cn, cq, f, c5, aV, ba, cH, aK, bb, aL, aN, aM, b3, bT, bp, bq, br, bm, bo, bn, e, bl, bi, m, cw, aQ, b2, ch, cd, cv, bR, aA, cE, cB, cF, bw, cC, bx, bX, bW, ce, bf, bS, bh, bd, cG, b1, c1, c0, aT, bQ, n, c6, bP, cA, cr, b_, c4, bt, b4, b8, bA, by, bz, c9, cg, cf, c7, cc, bg, bc, cb, cz, cl, cm, cs, b$, c3, u, bu, b5, b6, b9, az, aC, aD, j, v, aB, bj, bk, cy, cx, ci } from "./index-
|
|
1
|
+
import { aI, aJ, bD, bE, w, al, av, B, H, I, a5, i, O, an, K, D, aw, ck, F, L, ar, M, a3, a4, as, N, b, g, a1, a0, a8, ao, am, Y, A, a7, a6, E, ai, c2, at, _, Z, af, ah, ag, ae, ad, ac, S, aj, au, h, G, ap, z, V, $, J, C, P, l, d, R, aq, a, ak, W, a2, c, aa, ab, U, T, a9, Q, x, bL, bK, aS, ay, cp, ax, aZ, aX, aU, X, bJ, a$, a_, cu, bB, bH, aY, bN, bM, bI, co, b0, aR, aF, aG, aE, aH, bG, bF, aW, bC, bs, bZ, ct, b7, be, bY, cD, c8, bO, bV, bU, aO, bv, ca, aP, cj, cn, cq, f, c5, aV, ba, cH, aK, bb, aL, aN, aM, b3, bT, bp, bq, br, bm, bo, bn, e, bl, bi, m, cw, aQ, b2, ch, cd, cv, bR, aA, cE, cB, cF, bw, cC, bx, bX, bW, ce, bf, bS, bh, bd, cG, b1, c1, c0, aT, bQ, n, c6, bP, cA, cr, b_, c4, bt, b4, b8, bA, by, bz, c9, cg, cf, c7, cc, bg, bc, cb, cz, cl, cm, cs, b$, c3, u, bu, b5, b6, b9, az, aC, aD, j, v, aB, bj, bk, cy, cx, ci } from "./index-DzQ05auj.js";
|
|
2
2
|
export {
|
|
3
3
|
aI as ADDRESS_COUNTRY_CONFIGS,
|
|
4
4
|
aJ as ADDRESS_COUNTRY_CONFIG_DEFAULT,
|
package/dist/bluesea.umd.cjs
CHANGED
|
@@ -36006,6 +36006,8 @@ img.ProseMirror-separator {
|
|
|
36006
36006
|
* @param offset
|
|
36007
36007
|
*/
|
|
36008
36008
|
async loadGridData(offset2) {
|
|
36009
|
+
var _a2;
|
|
36010
|
+
await ((_a2 = this.preferenceLoader) == null ? void 0 : _a2.waitForLoaded());
|
|
36009
36011
|
this.grid.loading = true;
|
|
36010
36012
|
if (offset2 !== void 0) this.searchParam.offset = offset2;
|
|
36011
36013
|
const result = await this.option.getGridData(this.searchParam);
|
|
@@ -36372,6 +36374,9 @@ img.ProseMirror-separator {
|
|
|
36372
36374
|
this.handler.control.columnSettings = pref.columnSettings;
|
|
36373
36375
|
this.handler.control.fixedColumnCount = pref.fixedColumnCount;
|
|
36374
36376
|
}
|
|
36377
|
+
if ("lookup" in this.handler && this.handler.lookup) {
|
|
36378
|
+
this.handler.lookup.gridPreferenceDateFilterValues = pref.dateFilterValues;
|
|
36379
|
+
}
|
|
36375
36380
|
}
|
|
36376
36381
|
} finally {
|
|
36377
36382
|
this.preferenceLoaded.value = true;
|
|
@@ -37980,7 +37985,8 @@ img.ProseMirror-separator {
|
|
|
37980
37985
|
dateFilterWidth: {},
|
|
37981
37986
|
dateFilterPopupStartYear: {},
|
|
37982
37987
|
dateFilterPopupEndYear: {},
|
|
37983
|
-
keyword: {}
|
|
37988
|
+
keyword: {},
|
|
37989
|
+
gridPreferenceDateFilterValues: {}
|
|
37984
37990
|
},
|
|
37985
37991
|
emits: ["update:modelValue", "search"],
|
|
37986
37992
|
setup(__props, { emit: __emit }) {
|
|
@@ -38006,26 +38012,19 @@ img.ProseMirror-separator {
|
|
|
38006
38012
|
emitUpdateModelValue();
|
|
38007
38013
|
emitSearch();
|
|
38008
38014
|
};
|
|
38009
|
-
|
|
38010
|
-
if (props.
|
|
38011
|
-
const
|
|
38012
|
-
|
|
38013
|
-
|
|
38014
|
-
|
|
38015
|
-
|
|
38016
|
-
|
|
38017
|
-
|
|
38018
|
-
|
|
38019
|
-
|
|
38020
|
-
if (filters.length > 0) return andFilter(filters);
|
|
38015
|
+
vue.watch(() => props.gridPreferenceDateFilterValues, () => {
|
|
38016
|
+
if (props.gridPreferenceDateFilterValues && props.gridPreferenceDateFilterValues.filters && props.gridPreferenceDateFilterValues.filters.length > 0) {
|
|
38017
|
+
const filters = props.gridPreferenceDateFilterValues.filters.map((filter) => {
|
|
38018
|
+
const dateFilter = filter;
|
|
38019
|
+
if (dateFilter.name && (dateFilter.fromValue || dateFilter.toValue)) {
|
|
38020
|
+
return betweenDateFilter(dateFilter.name, dateFilter.fromValue, dateFilter.toValue);
|
|
38021
|
+
}
|
|
38022
|
+
}).filter(notNull);
|
|
38023
|
+
if (filters.length > 0) {
|
|
38024
|
+
dateFilterValue.value = andFilter(filters);
|
|
38025
|
+
emitUpdateModelValue();
|
|
38021
38026
|
}
|
|
38022
38027
|
}
|
|
38023
|
-
};
|
|
38024
|
-
vue.onMounted(async () => {
|
|
38025
|
-
dateFilterValue.value = await loadStoredDateFilter();
|
|
38026
|
-
if (dateFilterValue.value) {
|
|
38027
|
-
emitUpdateModelValueAndSearch();
|
|
38028
|
-
}
|
|
38029
38028
|
});
|
|
38030
38029
|
const saveSearchCondition = async () => {
|
|
38031
38030
|
var _a2;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { GridLookupConfig } from './GridModel';
|
|
2
|
-
import { Filter } from '../../model/FilterModel';
|
|
2
|
+
import { AndFilter, Filter } from '../../model/FilterModel';
|
|
3
3
|
import { DateRangePreset } from '../input/DateRangePresetModel.ts';
|
|
4
4
|
import { DateResolution } from '../../model/CommonTypes.ts';
|
|
5
5
|
|
|
@@ -16,6 +16,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
16
16
|
dateFilterPopupStartYear?: string | undefined;
|
|
17
17
|
dateFilterPopupEndYear?: string | undefined;
|
|
18
18
|
keyword?: string | undefined;
|
|
19
|
+
gridPreferenceDateFilterValues?: Partial<import('../../util/typeUtil.ts').NonFunctionProperties<AndFilter>> | undefined;
|
|
19
20
|
}>, {
|
|
20
21
|
dateFilterDateFormat: () => string;
|
|
21
22
|
dateFilterResolution: () => DateResolution;
|
|
@@ -35,6 +36,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
35
36
|
dateFilterPopupStartYear?: string | undefined;
|
|
36
37
|
dateFilterPopupEndYear?: string | undefined;
|
|
37
38
|
keyword?: string | undefined;
|
|
39
|
+
gridPreferenceDateFilterValues?: Partial<import('../../util/typeUtil.ts').NonFunctionProperties<AndFilter>> | undefined;
|
|
38
40
|
}>, {
|
|
39
41
|
dateFilterDateFormat: () => string;
|
|
40
42
|
dateFilterResolution: () => DateResolution;
|
|
@@ -160,6 +160,7 @@ export type GridControlEventListener = {
|
|
|
160
160
|
export type GridLookupBinding = {
|
|
161
161
|
gridId?: string;
|
|
162
162
|
modelValue: Filter[];
|
|
163
|
+
gridPreferenceDateFilterValues?: RawData<AndFilter>;
|
|
163
164
|
};
|
|
164
165
|
export type GridLookupEventListener = {
|
|
165
166
|
'update:modelValue': (value: Filter[]) => void;
|
|
@@ -87,8 +87,8 @@ const defaultAddressInputComponentConfig = {
|
|
|
87
87
|
countryConfigs: ADDRESS_COUNTRY_CONFIGS
|
|
88
88
|
};
|
|
89
89
|
const defaultRichTextComponentConfig = {
|
|
90
|
-
imageInsertModal: defineAsyncComponent(() => import("./ImageInsertModal-
|
|
91
|
-
videoInsertModal: defineAsyncComponent(() => import("./VideoInsertModal-
|
|
90
|
+
imageInsertModal: defineAsyncComponent(() => import("./ImageInsertModal-B5WoMehM.js")),
|
|
91
|
+
videoInsertModal: defineAsyncComponent(() => import("./VideoInsertModal-Blyjl-az.js")),
|
|
92
92
|
toolButtons: [
|
|
93
93
|
"Heading",
|
|
94
94
|
"FontSize",
|
|
@@ -6002,7 +6002,7 @@ class BSModal {
|
|
|
6002
6002
|
}
|
|
6003
6003
|
openAlert(title, message, clickHandler2) {
|
|
6004
6004
|
const option = {
|
|
6005
|
-
component: defineAsyncComponent(() => import("./BSAlertModal-
|
|
6005
|
+
component: defineAsyncComponent(() => import("./BSAlertModal-B6XlvWm2.js")),
|
|
6006
6006
|
bind: {
|
|
6007
6007
|
title,
|
|
6008
6008
|
message
|
|
@@ -6015,7 +6015,7 @@ class BSModal {
|
|
|
6015
6015
|
}
|
|
6016
6016
|
openYesNo(title, message, yesHandler, noHandler) {
|
|
6017
6017
|
const option = {
|
|
6018
|
-
component: defineAsyncComponent(() => import("./BSYesNoModal-
|
|
6018
|
+
component: defineAsyncComponent(() => import("./BSYesNoModal-CcElFZw-.js")),
|
|
6019
6019
|
bind: {
|
|
6020
6020
|
title,
|
|
6021
6021
|
message
|
|
@@ -31128,13 +31128,13 @@ const tableContextMenus = (modal, editor) => {
|
|
|
31128
31128
|
};
|
|
31129
31129
|
const showTableProperties = (modal, editor) => {
|
|
31130
31130
|
modal.openModal({
|
|
31131
|
-
component: defineAsyncComponent(() => import("./TablePropertiesModal-
|
|
31131
|
+
component: defineAsyncComponent(() => import("./TablePropertiesModal-C1FzxMmL.js")),
|
|
31132
31132
|
bind: { editor }
|
|
31133
31133
|
});
|
|
31134
31134
|
};
|
|
31135
31135
|
const insertTable = (modal, editor) => {
|
|
31136
31136
|
modal.openModal({
|
|
31137
|
-
component: defineAsyncComponent(() => import("./TableInsertModal-
|
|
31137
|
+
component: defineAsyncComponent(() => import("./TableInsertModal-ChcQJBQV.js")),
|
|
31138
31138
|
bind: { editor }
|
|
31139
31139
|
});
|
|
31140
31140
|
};
|
|
@@ -31299,7 +31299,7 @@ const insertImage = (modal, editor) => {
|
|
|
31299
31299
|
const component = (_a2 = blueseaConfig.componentConfig.richText) == null ? void 0 : _a2.imageInsertModal;
|
|
31300
31300
|
if (component) {
|
|
31301
31301
|
modal.openModal({
|
|
31302
|
-
component: defineAsyncComponent(() => import("./ImageInsertModal-
|
|
31302
|
+
component: defineAsyncComponent(() => import("./ImageInsertModal-B5WoMehM.js")),
|
|
31303
31303
|
bind: { editor },
|
|
31304
31304
|
on: {
|
|
31305
31305
|
insertImage: (image) => {
|
|
@@ -31317,7 +31317,7 @@ const insertImage = (modal, editor) => {
|
|
|
31317
31317
|
};
|
|
31318
31318
|
const showImageProperties = (modal, editor) => {
|
|
31319
31319
|
modal.openModal({
|
|
31320
|
-
component: defineAsyncComponent(() => import("./ImagePropertiesModal-
|
|
31320
|
+
component: defineAsyncComponent(() => import("./ImagePropertiesModal-AuLfc63Y.js")),
|
|
31321
31321
|
bind: { editor }
|
|
31322
31322
|
});
|
|
31323
31323
|
};
|
|
@@ -31678,13 +31678,13 @@ const youtubeContextMenu = (modal, editor) => {
|
|
|
31678
31678
|
};
|
|
31679
31679
|
const insertYoutube = (modal, editor) => {
|
|
31680
31680
|
modal.openModal({
|
|
31681
|
-
component: defineAsyncComponent(() => import("./YoutubeInsertModal-
|
|
31681
|
+
component: defineAsyncComponent(() => import("./YoutubeInsertModal-B81eZZ3b.js")),
|
|
31682
31682
|
bind: { editor }
|
|
31683
31683
|
});
|
|
31684
31684
|
};
|
|
31685
31685
|
const showYoutubeProperties = (modal, editor) => {
|
|
31686
31686
|
modal.openModal({
|
|
31687
|
-
component: defineAsyncComponent(() => import("./YoutubePropertiesModal-
|
|
31687
|
+
component: defineAsyncComponent(() => import("./YoutubePropertiesModal-BI7rBusJ.js")),
|
|
31688
31688
|
bind: { editor }
|
|
31689
31689
|
});
|
|
31690
31690
|
};
|
|
@@ -31728,7 +31728,7 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
|
31728
31728
|
const showLinkProperties = () => {
|
|
31729
31729
|
if (!props.disabled) {
|
|
31730
31730
|
modal.openModal({
|
|
31731
|
-
component: defineAsyncComponent(() => import("./LinkPropertiesModal-
|
|
31731
|
+
component: defineAsyncComponent(() => import("./LinkPropertiesModal-CzM1G8qN.js")),
|
|
31732
31732
|
bind: {
|
|
31733
31733
|
editor: props.editor
|
|
31734
31734
|
}
|
|
@@ -32093,7 +32093,7 @@ const insertVideo = (modal, editor) => {
|
|
|
32093
32093
|
const component = (_a2 = blueseaConfig.componentConfig.richText) == null ? void 0 : _a2.videoInsertModal;
|
|
32094
32094
|
if (component) {
|
|
32095
32095
|
modal.openModal({
|
|
32096
|
-
component: defineAsyncComponent(() => import("./VideoInsertModal-
|
|
32096
|
+
component: defineAsyncComponent(() => import("./VideoInsertModal-Blyjl-az.js")),
|
|
32097
32097
|
bind: { editor },
|
|
32098
32098
|
on: {
|
|
32099
32099
|
insertVideo: (video) => {
|
|
@@ -32111,7 +32111,7 @@ const insertVideo = (modal, editor) => {
|
|
|
32111
32111
|
};
|
|
32112
32112
|
const showVideoProperties = (modal, editor) => {
|
|
32113
32113
|
modal.openModal({
|
|
32114
|
-
component: defineAsyncComponent(() => import("./VideoPropertiesModal-
|
|
32114
|
+
component: defineAsyncComponent(() => import("./VideoPropertiesModal-CcgFfcXd.js")),
|
|
32115
32115
|
bind: { editor }
|
|
32116
32116
|
});
|
|
32117
32117
|
};
|
|
@@ -34289,7 +34289,7 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
|
34289
34289
|
emit("maximized");
|
|
34290
34290
|
if (!props.internalMaximized) {
|
|
34291
34291
|
modal.openModal({
|
|
34292
|
-
component: defineAsyncComponent(() => import("./BSRichTextMaximizedModal-
|
|
34292
|
+
component: defineAsyncComponent(() => import("./BSRichTextMaximizedModal-DhmCYN9S.js")),
|
|
34293
34293
|
bind: {
|
|
34294
34294
|
modelValue: getEditorValue(),
|
|
34295
34295
|
contentMaxWidth: props.contentMaxWidth,
|
|
@@ -34826,7 +34826,7 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
34826
34826
|
const modal = useModal();
|
|
34827
34827
|
const enterYoutubeUrl = () => {
|
|
34828
34828
|
modal.openModal({
|
|
34829
|
-
component: defineAsyncComponent(() => import("./BSYoutubeInputModal-
|
|
34829
|
+
component: defineAsyncComponent(() => import("./BSYoutubeInputModal-DLXCEq2-.js")),
|
|
34830
34830
|
on: {
|
|
34831
34831
|
"update:modelValue": (url) => {
|
|
34832
34832
|
emit("update:modelValue", {
|
|
@@ -36006,6 +36006,8 @@ class PageGridHandlerImpl {
|
|
|
36006
36006
|
* @param offset
|
|
36007
36007
|
*/
|
|
36008
36008
|
async loadGridData(offset2) {
|
|
36009
|
+
var _a2;
|
|
36010
|
+
await ((_a2 = this.preferenceLoader) == null ? void 0 : _a2.waitForLoaded());
|
|
36009
36011
|
this.grid.loading = true;
|
|
36010
36012
|
if (offset2 !== void 0) this.searchParam.offset = offset2;
|
|
36011
36013
|
const result = await this.option.getGridData(this.searchParam);
|
|
@@ -36372,6 +36374,9 @@ class GridPreferenceLoader {
|
|
|
36372
36374
|
this.handler.control.columnSettings = pref.columnSettings;
|
|
36373
36375
|
this.handler.control.fixedColumnCount = pref.fixedColumnCount;
|
|
36374
36376
|
}
|
|
36377
|
+
if ("lookup" in this.handler && this.handler.lookup) {
|
|
36378
|
+
this.handler.lookup.gridPreferenceDateFilterValues = pref.dateFilterValues;
|
|
36379
|
+
}
|
|
36375
36380
|
}
|
|
36376
36381
|
} finally {
|
|
36377
36382
|
this.preferenceLoaded.value = true;
|
|
@@ -37980,7 +37985,8 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
37980
37985
|
dateFilterWidth: {},
|
|
37981
37986
|
dateFilterPopupStartYear: {},
|
|
37982
37987
|
dateFilterPopupEndYear: {},
|
|
37983
|
-
keyword: {}
|
|
37988
|
+
keyword: {},
|
|
37989
|
+
gridPreferenceDateFilterValues: {}
|
|
37984
37990
|
},
|
|
37985
37991
|
emits: ["update:modelValue", "search"],
|
|
37986
37992
|
setup(__props, { emit: __emit }) {
|
|
@@ -38006,26 +38012,19 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
38006
38012
|
emitUpdateModelValue();
|
|
38007
38013
|
emitSearch();
|
|
38008
38014
|
};
|
|
38009
|
-
|
|
38010
|
-
if (props.
|
|
38011
|
-
const
|
|
38012
|
-
|
|
38013
|
-
|
|
38014
|
-
|
|
38015
|
-
|
|
38016
|
-
|
|
38017
|
-
|
|
38018
|
-
|
|
38019
|
-
|
|
38020
|
-
if (filters.length > 0) return andFilter(filters);
|
|
38015
|
+
watch(() => props.gridPreferenceDateFilterValues, () => {
|
|
38016
|
+
if (props.gridPreferenceDateFilterValues && props.gridPreferenceDateFilterValues.filters && props.gridPreferenceDateFilterValues.filters.length > 0) {
|
|
38017
|
+
const filters = props.gridPreferenceDateFilterValues.filters.map((filter) => {
|
|
38018
|
+
const dateFilter = filter;
|
|
38019
|
+
if (dateFilter.name && (dateFilter.fromValue || dateFilter.toValue)) {
|
|
38020
|
+
return betweenDateFilter(dateFilter.name, dateFilter.fromValue, dateFilter.toValue);
|
|
38021
|
+
}
|
|
38022
|
+
}).filter(notNull);
|
|
38023
|
+
if (filters.length > 0) {
|
|
38024
|
+
dateFilterValue.value = andFilter(filters);
|
|
38025
|
+
emitUpdateModelValue();
|
|
38021
38026
|
}
|
|
38022
38027
|
}
|
|
38023
|
-
};
|
|
38024
|
-
onMounted(async () => {
|
|
38025
|
-
dateFilterValue.value = await loadStoredDateFilter();
|
|
38026
|
-
if (dateFilterValue.value) {
|
|
38027
|
-
emitUpdateModelValueAndSearch();
|
|
38028
|
-
}
|
|
38029
38028
|
});
|
|
38030
38029
|
const saveSearchCondition = async () => {
|
|
38031
38030
|
var _a2;
|
|
@@ -38148,7 +38147,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
38148
38147
|
const modal = useModal();
|
|
38149
38148
|
const openSettingModal = () => {
|
|
38150
38149
|
modal.openModal({
|
|
38151
|
-
component: defineAsyncComponent(() => import("./BSGridColumnSettingModal-
|
|
38150
|
+
component: defineAsyncComponent(() => import("./BSGridColumnSettingModal-DgqYUHUF.js")),
|
|
38152
38151
|
bind: {
|
|
38153
38152
|
columns: props.columns,
|
|
38154
38153
|
columnSettings: props.columnSettings,
|