@g1cloud/bluesea 5.0.0-alpha.51 → 5.0.0-alpha.52
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/{AddressSearchModal-Dhrg9zFz.js → AddressSearchModal-ch1NNoRc.js} +1 -1
- package/dist/{BSAlertModal-CeAHPZr3.js → BSAlertModal-BEenpVsI.js} +1 -1
- package/dist/{BSYesNoModal-DmAqwhlo.js → BSYesNoModal-Bnms1T7h.js} +1 -1
- package/dist/bluesea.js +1 -1
- package/dist/bluesea.umd.cjs +11 -2
- package/dist/component/grid/GridModel.d.ts +3 -0
- package/dist/{index-C81TfBCL.js → index-DDf56W0P.js} +14 -5
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, onMounted, openBlock, createBlock, withCtx, createElementVNode, createVNode, unref } from "vue";
|
|
2
|
-
import { S as SearchParam, P as PaginatedList, u as useModalHandle, _ as _sfc_main$1, a as _sfc_main$2, b as _sfc_main$3, B as BSButton, w as waitDuring } from "./index-
|
|
2
|
+
import { S as SearchParam, P as PaginatedList, u as useModalHandle, _ as _sfc_main$1, a as _sfc_main$2, b as _sfc_main$3, B as BSButton, w as waitDuring } from "./index-DDf56W0P.js";
|
|
3
3
|
const gridColumns = [
|
|
4
4
|
{ propertyId: "zipCode", caption: "Zipcode", width: 80 },
|
|
5
5
|
{ propertyId: "address1", caption: "state/province/region", width: 150 },
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, openBlock, createBlock, withCtx, createElementVNode, withDirectives, createVNode, unref } from "vue";
|
|
2
|
-
import { u as useModalHandle, _ as _sfc_main$1, B as BSButton, v as vFocusOnLoad, c as vT } from "./index-
|
|
2
|
+
import { u as useModalHandle, _ as _sfc_main$1, B as BSButton, v as vFocusOnLoad, c as vT } from "./index-DDf56W0P.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, openBlock, createBlock, withCtx, createElementVNode, createVNode, withDirectives, unref } from "vue";
|
|
2
|
-
import { u as useModalHandle, _ as _sfc_main$1, B as BSButton, v as vFocusOnLoad, c as vT } from "./index-
|
|
2
|
+
import { u as useModalHandle, _ as _sfc_main$1, B as BSButton, v as vFocusOnLoad, c as vT } from "./index-DDf56W0P.js";
|
|
3
3
|
const _hoisted_1 = { class: "text-right" };
|
|
4
4
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
5
|
__name: "BSYesNoModal",
|
package/dist/bluesea.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aL, aM, d, a0, a4, B, L, q, r, k, a5, bi, o, p, K, e, b, I, a, a1, G, i, O, N, Y, b2, a2, _, H, W, X, V, U, T, z, Z, a3, m, l, g, D, n, j, s, t, F, y, M, $, E, J, h, Q, R, C, A, x, f, aT, aS, ac, a7, bm, a6, aj, ag, ad, aR, al, ak, bq, aP, ai, aQ, am, aO, aN, af, P, aH, S, at, by, b8, aU, a$, a_, aa, aK, ba, ab, bl, bn, ah, b5, ae, aq, ar, aZ, aE, aF, aG, aC, aD, aB, ay, av, bt, bg, bd, br, aX, a9, bz, bx, au, aY, ax, bA, aW, bs, b6, aV, bw, bo, b0, b4, aI, an, b9, bf, be, b7, bc, aw, as, bb, bv, bj, bk, bp, b1, b3, u, aJ, ao, ap, a8, c, az, aA, w, bu, bh } from "./index-
|
|
1
|
+
import { aL, aM, d, a0, a4, B, L, q, r, k, a5, bi, o, p, K, e, b, I, a, a1, G, i, O, N, Y, b2, a2, _, H, W, X, V, U, T, z, Z, a3, m, l, g, D, n, j, s, t, F, y, M, $, E, J, h, Q, R, C, A, x, f, aT, aS, ac, a7, bm, a6, aj, ag, ad, aR, al, ak, bq, aP, ai, aQ, am, aO, aN, af, P, aH, S, at, by, b8, aU, a$, a_, aa, aK, ba, ab, bl, bn, ah, b5, ae, aq, ar, aZ, aE, aF, aG, aC, aD, aB, ay, av, bt, bg, bd, br, aX, a9, bz, bx, au, aY, ax, bA, aW, bs, b6, aV, bw, bo, b0, b4, aI, an, b9, bf, be, b7, bc, aw, as, bb, bv, bj, bk, bp, b1, b3, u, aJ, ao, ap, a8, c, az, aA, w, bu, bh } from "./index-DDf56W0P.js";
|
|
2
2
|
export {
|
|
3
3
|
aL as AbstractFilter,
|
|
4
4
|
aM as AndFilter,
|
package/dist/bluesea.umd.cjs
CHANGED
|
@@ -30714,6 +30714,9 @@ img.ProseMirror-separator {
|
|
|
30714
30714
|
getDeletedRows() {
|
|
30715
30715
|
return this.selectDeleteSupport.deletedRows;
|
|
30716
30716
|
}
|
|
30717
|
+
isAddedRow(_row) {
|
|
30718
|
+
return false;
|
|
30719
|
+
}
|
|
30717
30720
|
addNewRow(_newRow) {
|
|
30718
30721
|
return -1;
|
|
30719
30722
|
}
|
|
@@ -30767,6 +30770,9 @@ img.ProseMirror-separator {
|
|
|
30767
30770
|
getAddedRows() {
|
|
30768
30771
|
return this.editableSupport.getAddedRows();
|
|
30769
30772
|
}
|
|
30773
|
+
isAddedRow(row) {
|
|
30774
|
+
return this.editableSupport.isAddedRow(row);
|
|
30775
|
+
}
|
|
30770
30776
|
addNewRow(newRow) {
|
|
30771
30777
|
return this.editableSupport.addNewRow(newRow);
|
|
30772
30778
|
}
|
|
@@ -34503,6 +34509,9 @@ img.ProseMirror-separator {
|
|
|
34503
34509
|
const checkEnglish = (str) => {
|
|
34504
34510
|
return /[a-z]/i.test(str);
|
|
34505
34511
|
};
|
|
34512
|
+
const getRoutePagePath = (framePrefix, route) => {
|
|
34513
|
+
return decodeURIComponent(route.path.substring(framePrefix.length));
|
|
34514
|
+
};
|
|
34506
34515
|
class DefaultFrameContext {
|
|
34507
34516
|
constructor(config) {
|
|
34508
34517
|
__publicField(this, "pageManager");
|
|
@@ -34520,7 +34529,7 @@ img.ProseMirror-separator {
|
|
|
34520
34529
|
}
|
|
34521
34530
|
// 현재 route 에 해당하는 Page 를 오픈한다.
|
|
34522
34531
|
async syncCurrentPath(route) {
|
|
34523
|
-
const pagePath =
|
|
34532
|
+
const pagePath = getRoutePagePath(this.config.framePrefix, route);
|
|
34524
34533
|
await this.pageManager.openPage(pagePath);
|
|
34525
34534
|
}
|
|
34526
34535
|
// 현재 활성화된 Page 를 닫는다.
|
|
@@ -34530,7 +34539,7 @@ img.ProseMirror-separator {
|
|
|
34530
34539
|
await this.pageManager.closePage(active);
|
|
34531
34540
|
}
|
|
34532
34541
|
getPageByRoute(route) {
|
|
34533
|
-
const pagePath =
|
|
34542
|
+
const pagePath = getRoutePagePath(this.config.framePrefix, route);
|
|
34534
34543
|
return this.pageManager.getPageByPath(pagePath);
|
|
34535
34544
|
}
|
|
34536
34545
|
setPageSubtitle(route, subtitle) {
|
|
@@ -75,6 +75,7 @@ export interface PageGridHandler<T extends GridRowData> {
|
|
|
75
75
|
getAddedRows: () => T[];
|
|
76
76
|
getModifiedRows: () => T[];
|
|
77
77
|
getDeletedRows: () => T[];
|
|
78
|
+
isAddedRow: (row: T) => boolean;
|
|
78
79
|
addNewRow: (newRow: T) => number;
|
|
79
80
|
/**
|
|
80
81
|
* Grid 에 add, modified, delete 된 row 가 있으면 true 를 리턴한다.
|
|
@@ -171,6 +172,7 @@ export declare class PageGridHandlerImpl<T extends GridRowData> implements PageG
|
|
|
171
172
|
getAddedRows(): T[];
|
|
172
173
|
getModifiedRows(): T[];
|
|
173
174
|
getDeletedRows(): T[];
|
|
175
|
+
isAddedRow(_row: T): boolean;
|
|
174
176
|
addNewRow(_newRow: T): number;
|
|
175
177
|
isGridModified(): boolean;
|
|
176
178
|
/**
|
|
@@ -186,6 +188,7 @@ export declare class EditablePageGridHandlerImpl<T extends GridRowData> extends
|
|
|
186
188
|
constructor(option: PageGridHandlerOption<T>);
|
|
187
189
|
getModifiedRows(): T[];
|
|
188
190
|
getAddedRows(): T[];
|
|
191
|
+
isAddedRow(row: T): boolean;
|
|
189
192
|
addNewRow(newRow: T): number;
|
|
190
193
|
protected doSetSearchResult(result: PaginatedList<T>): void;
|
|
191
194
|
}
|
|
@@ -3634,7 +3634,7 @@ class BSModal {
|
|
|
3634
3634
|
}
|
|
3635
3635
|
openAlert(title, message, clickHandler2) {
|
|
3636
3636
|
const option = {
|
|
3637
|
-
component: defineAsyncComponent(() => import("./BSAlertModal-
|
|
3637
|
+
component: defineAsyncComponent(() => import("./BSAlertModal-BEenpVsI.js")),
|
|
3638
3638
|
bind: {
|
|
3639
3639
|
title,
|
|
3640
3640
|
message
|
|
@@ -3647,7 +3647,7 @@ class BSModal {
|
|
|
3647
3647
|
}
|
|
3648
3648
|
openYesNo(title, message, yesHandler, noHandler) {
|
|
3649
3649
|
const option = {
|
|
3650
|
-
component: defineAsyncComponent(() => import("./BSYesNoModal-
|
|
3650
|
+
component: defineAsyncComponent(() => import("./BSYesNoModal-Bnms1T7h.js")),
|
|
3651
3651
|
bind: {
|
|
3652
3652
|
title,
|
|
3653
3653
|
message
|
|
@@ -30713,6 +30713,9 @@ class PageGridHandlerImpl {
|
|
|
30713
30713
|
getDeletedRows() {
|
|
30714
30714
|
return this.selectDeleteSupport.deletedRows;
|
|
30715
30715
|
}
|
|
30716
|
+
isAddedRow(_row) {
|
|
30717
|
+
return false;
|
|
30718
|
+
}
|
|
30716
30719
|
addNewRow(_newRow) {
|
|
30717
30720
|
return -1;
|
|
30718
30721
|
}
|
|
@@ -30766,6 +30769,9 @@ class EditablePageGridHandlerImpl extends PageGridHandlerImpl {
|
|
|
30766
30769
|
getAddedRows() {
|
|
30767
30770
|
return this.editableSupport.getAddedRows();
|
|
30768
30771
|
}
|
|
30772
|
+
isAddedRow(row) {
|
|
30773
|
+
return this.editableSupport.isAddedRow(row);
|
|
30774
|
+
}
|
|
30769
30775
|
addNewRow(newRow) {
|
|
30770
30776
|
return this.editableSupport.addNewRow(newRow);
|
|
30771
30777
|
}
|
|
@@ -33955,7 +33961,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
33955
33961
|
const modal = useModal();
|
|
33956
33962
|
const openModal = () => {
|
|
33957
33963
|
modal.openModal({
|
|
33958
|
-
component: defineAsyncComponent(() => import("./AddressSearchModal-
|
|
33964
|
+
component: defineAsyncComponent(() => import("./AddressSearchModal-ch1NNoRc.js")),
|
|
33959
33965
|
bind: {},
|
|
33960
33966
|
on: {
|
|
33961
33967
|
select: (addr) => {
|
|
@@ -34502,6 +34508,9 @@ const vFocusOnLoad = {
|
|
|
34502
34508
|
const checkEnglish = (str) => {
|
|
34503
34509
|
return /[a-z]/i.test(str);
|
|
34504
34510
|
};
|
|
34511
|
+
const getRoutePagePath = (framePrefix, route) => {
|
|
34512
|
+
return decodeURIComponent(route.path.substring(framePrefix.length));
|
|
34513
|
+
};
|
|
34505
34514
|
class DefaultFrameContext {
|
|
34506
34515
|
constructor(config) {
|
|
34507
34516
|
__publicField(this, "pageManager");
|
|
@@ -34519,7 +34528,7 @@ class DefaultFrameContext {
|
|
|
34519
34528
|
}
|
|
34520
34529
|
// 현재 route 에 해당하는 Page 를 오픈한다.
|
|
34521
34530
|
async syncCurrentPath(route) {
|
|
34522
|
-
const pagePath =
|
|
34531
|
+
const pagePath = getRoutePagePath(this.config.framePrefix, route);
|
|
34523
34532
|
await this.pageManager.openPage(pagePath);
|
|
34524
34533
|
}
|
|
34525
34534
|
// 현재 활성화된 Page 를 닫는다.
|
|
@@ -34529,7 +34538,7 @@ class DefaultFrameContext {
|
|
|
34529
34538
|
await this.pageManager.closePage(active);
|
|
34530
34539
|
}
|
|
34531
34540
|
getPageByRoute(route) {
|
|
34532
|
-
const pagePath =
|
|
34541
|
+
const pagePath = getRoutePagePath(this.config.framePrefix, route);
|
|
34533
34542
|
return this.pageManager.getPageByPath(pagePath);
|
|
34534
34543
|
}
|
|
34535
34544
|
setPageSubtitle(route, subtitle) {
|