@g1cloud/bluesea 5.0.0-alpha.62 → 5.0.0-alpha.63
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-D6ph66ub.js → BSAlertModal-CLchDwLY.js} +1 -1
- package/dist/{BSYesNoModal-QKPNOPhY.js → BSYesNoModal-CwGNC2kU.js} +1 -1
- package/dist/bluesea.js +1 -1
- package/dist/bluesea.umd.cjs +6 -5
- package/dist/component/input/BSTextInput.vue.d.ts +2 -2
- package/dist/{index-58CwrE0s.js → index-DL2EAc-F.js} +8 -7
- package/package.json +1 -1
|
@@ -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, a as vT } from "./index-
|
|
2
|
+
import { u as useModalHandle, _ as _sfc_main$1, B as BSButton, v as vFocusOnLoad, a as vT } from "./index-DL2EAc-F.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, a as vT } from "./index-
|
|
2
|
+
import { u as useModalHandle, _ as _sfc_main$1, B as BSButton, a as vT } from "./index-DL2EAc-F.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 { ag, ah, aW, aX, b, a1, a6, B, l, m, O, s, t, a3, p, i, a7, bu, j, q, r, N, c, J, L, K, a2, H, g, R, Q, Z, be, a4, _, I, X, Y, W, V, U, A, $, a5, n, k, e, E, o, h, w, x, G, z, P, a0, F, M, f, S, T, D, C, y, d, b2, b1, al, a9, by, a8, as, ap, am, b0, au, at, bC, a_, ar, a$, av, ad, ae, ac, af, aZ, aY, ao, aV, aR, bb, aC, bM, bk, b3, ba, b9, aj, aU, bm, ak, bx, bz, aq, bh, an, az, ai, aA, b8, aO, aP, aQ, aL, aN, aM, aK, aH, aE, bF, bs, bp, bD, b6, ab, bN, bK, bO, bL, aD, b7, aG, bP, b5, bE, bi, b4, bJ, bA, bc, bg, aS, aw, bl, br, bq, bj, bo, aF, aB, bn, bI, bv, bw, bB, bd, bf, u, aT, ax, ay, aa, a, aI, aJ, bH, bG, bt } from "./index-
|
|
1
|
+
import { ag, ah, aW, aX, b, a1, a6, B, l, m, O, s, t, a3, p, i, a7, bu, j, q, r, N, c, J, L, K, a2, H, g, R, Q, Z, be, a4, _, I, X, Y, W, V, U, A, $, a5, n, k, e, E, o, h, w, x, G, z, P, a0, F, M, f, S, T, D, C, y, d, b2, b1, al, a9, by, a8, as, ap, am, b0, au, at, bC, a_, ar, a$, av, ad, ae, ac, af, aZ, aY, ao, aV, aR, bb, aC, bM, bk, b3, ba, b9, aj, aU, bm, ak, bx, bz, aq, bh, an, az, ai, aA, b8, aO, aP, aQ, aL, aN, aM, aK, aH, aE, bF, bs, bp, bD, b6, ab, bN, bK, bO, bL, aD, b7, aG, bP, b5, bE, bi, b4, bJ, bA, bc, bg, aS, aw, bl, br, bq, bj, bo, aF, aB, bn, bI, bv, bw, bB, bd, bf, u, aT, ax, ay, aa, a, aI, aJ, bH, bG, bt } from "./index-DL2EAc-F.js";
|
|
2
2
|
export {
|
|
3
3
|
ag as ADDRESS_COUNTRY_CONFIGS,
|
|
4
4
|
ah as ADDRESS_COUNTRY_CONFIG_DEFAULT,
|
package/dist/bluesea.umd.cjs
CHANGED
|
@@ -1541,7 +1541,7 @@ var __publicField = (obj, key, value) => {
|
|
|
1541
1541
|
validationMessageMinLength: {},
|
|
1542
1542
|
validationMessageMaxLength: {},
|
|
1543
1543
|
validationMessageBetweenLength: {},
|
|
1544
|
-
|
|
1544
|
+
validationMessageRegExp: {},
|
|
1545
1545
|
extraValidationRules: {},
|
|
1546
1546
|
ignoreSavePoint: { type: Boolean }
|
|
1547
1547
|
},
|
|
@@ -1577,7 +1577,7 @@ var __publicField = (obj, key, value) => {
|
|
|
1577
1577
|
const isValid = async (value, phase) => {
|
|
1578
1578
|
const errors2 = [];
|
|
1579
1579
|
const text = (value == null ? void 0 : value.trim()) ?? "";
|
|
1580
|
-
executeRequiredValidation(text, props.required, props.validationMessageRequired, errors2) || executeRegExpValidation(text, props.regExp, props.
|
|
1580
|
+
executeRequiredValidation(text, props.required, props.validationMessageRequired, errors2) || executeRegExpValidation(text, props.regExp, props.validationMessageRegExp, errors2) || executeBetweenLengthValidation(
|
|
1581
1581
|
text,
|
|
1582
1582
|
props.minLength,
|
|
1583
1583
|
props.validationMessageMinLength,
|
|
@@ -35119,7 +35119,7 @@ img.ProseMirror-separator {
|
|
|
35119
35119
|
setup(__props, { emit: __emit }) {
|
|
35120
35120
|
const props = __props;
|
|
35121
35121
|
const emit = __emit;
|
|
35122
|
-
const nameValue = vue.ref(props.modelValue);
|
|
35122
|
+
const nameValue = vue.ref({ ...props.modelValue });
|
|
35123
35123
|
vue.watch(
|
|
35124
35124
|
() => props.modelValue,
|
|
35125
35125
|
async () => {
|
|
@@ -35274,7 +35274,8 @@ img.ProseMirror-separator {
|
|
|
35274
35274
|
phoneNo2.value = split2[1] || "";
|
|
35275
35275
|
phoneNo3.value = split2[2] || "";
|
|
35276
35276
|
}
|
|
35277
|
-
}
|
|
35277
|
+
},
|
|
35278
|
+
{ immediate: true }
|
|
35278
35279
|
);
|
|
35279
35280
|
const mergedPhoneNo = vue.computed(() => {
|
|
35280
35281
|
const arr = [phoneNo1.value, phoneNo2.value, phoneNo3.value];
|
|
@@ -35488,7 +35489,7 @@ img.ProseMirror-separator {
|
|
|
35488
35489
|
setup(__props, { emit: __emit }) {
|
|
35489
35490
|
const props = __props;
|
|
35490
35491
|
const emit = __emit;
|
|
35491
|
-
const addrValue = vue.ref(props.modelValue);
|
|
35492
|
+
const addrValue = vue.ref({ ...props.modelValue });
|
|
35492
35493
|
const initAddress = () => {
|
|
35493
35494
|
["zipCode", "address1", "address2", "address3", "address4"].forEach((key) => addrValue.value[key] = "");
|
|
35494
35495
|
emitValue();
|
|
@@ -23,7 +23,7 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
23
23
|
validationMessageMinLength?: MultiLangText | undefined;
|
|
24
24
|
validationMessageMaxLength?: MultiLangText | undefined;
|
|
25
25
|
validationMessageBetweenLength?: MultiLangText | undefined;
|
|
26
|
-
|
|
26
|
+
validationMessageRegExp?: MultiLangText | undefined;
|
|
27
27
|
extraValidationRules?: FieldValidationRule<string>[] | undefined;
|
|
28
28
|
ignoreSavePoint?: boolean | undefined;
|
|
29
29
|
}>, {
|
|
@@ -55,7 +55,7 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
55
55
|
validationMessageMinLength?: MultiLangText | undefined;
|
|
56
56
|
validationMessageMaxLength?: MultiLangText | undefined;
|
|
57
57
|
validationMessageBetweenLength?: MultiLangText | undefined;
|
|
58
|
-
|
|
58
|
+
validationMessageRegExp?: MultiLangText | undefined;
|
|
59
59
|
extraValidationRules?: FieldValidationRule<string>[] | undefined;
|
|
60
60
|
ignoreSavePoint?: boolean | undefined;
|
|
61
61
|
}>, {
|
|
@@ -1540,7 +1540,7 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
|
|
|
1540
1540
|
validationMessageMinLength: {},
|
|
1541
1541
|
validationMessageMaxLength: {},
|
|
1542
1542
|
validationMessageBetweenLength: {},
|
|
1543
|
-
|
|
1543
|
+
validationMessageRegExp: {},
|
|
1544
1544
|
extraValidationRules: {},
|
|
1545
1545
|
ignoreSavePoint: { type: Boolean }
|
|
1546
1546
|
},
|
|
@@ -1576,7 +1576,7 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
|
|
|
1576
1576
|
const isValid = async (value, phase) => {
|
|
1577
1577
|
const errors2 = [];
|
|
1578
1578
|
const text = (value == null ? void 0 : value.trim()) ?? "";
|
|
1579
|
-
executeRequiredValidation(text, props.required, props.validationMessageRequired, errors2) || executeRegExpValidation(text, props.regExp, props.
|
|
1579
|
+
executeRequiredValidation(text, props.required, props.validationMessageRequired, errors2) || executeRegExpValidation(text, props.regExp, props.validationMessageRegExp, errors2) || executeBetweenLengthValidation(
|
|
1580
1580
|
text,
|
|
1581
1581
|
props.minLength,
|
|
1582
1582
|
props.validationMessageMinLength,
|
|
@@ -4884,7 +4884,7 @@ class BSModal {
|
|
|
4884
4884
|
}
|
|
4885
4885
|
openAlert(title, message, clickHandler2) {
|
|
4886
4886
|
const option = {
|
|
4887
|
-
component: defineAsyncComponent(() => import("./BSAlertModal-
|
|
4887
|
+
component: defineAsyncComponent(() => import("./BSAlertModal-CLchDwLY.js")),
|
|
4888
4888
|
bind: {
|
|
4889
4889
|
title,
|
|
4890
4890
|
message
|
|
@@ -4897,7 +4897,7 @@ class BSModal {
|
|
|
4897
4897
|
}
|
|
4898
4898
|
openYesNo(title, message, yesHandler, noHandler) {
|
|
4899
4899
|
const option = {
|
|
4900
|
-
component: defineAsyncComponent(() => import("./BSYesNoModal-
|
|
4900
|
+
component: defineAsyncComponent(() => import("./BSYesNoModal-CwGNC2kU.js")),
|
|
4901
4901
|
bind: {
|
|
4902
4902
|
title,
|
|
4903
4903
|
message
|
|
@@ -35118,7 +35118,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
35118
35118
|
setup(__props, { emit: __emit }) {
|
|
35119
35119
|
const props = __props;
|
|
35120
35120
|
const emit = __emit;
|
|
35121
|
-
const nameValue = ref(props.modelValue);
|
|
35121
|
+
const nameValue = ref({ ...props.modelValue });
|
|
35122
35122
|
watch(
|
|
35123
35123
|
() => props.modelValue,
|
|
35124
35124
|
async () => {
|
|
@@ -35273,7 +35273,8 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
35273
35273
|
phoneNo2.value = split2[1] || "";
|
|
35274
35274
|
phoneNo3.value = split2[2] || "";
|
|
35275
35275
|
}
|
|
35276
|
-
}
|
|
35276
|
+
},
|
|
35277
|
+
{ immediate: true }
|
|
35277
35278
|
);
|
|
35278
35279
|
const mergedPhoneNo = computed(() => {
|
|
35279
35280
|
const arr = [phoneNo1.value, phoneNo2.value, phoneNo3.value];
|
|
@@ -35487,7 +35488,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
35487
35488
|
setup(__props, { emit: __emit }) {
|
|
35488
35489
|
const props = __props;
|
|
35489
35490
|
const emit = __emit;
|
|
35490
|
-
const addrValue = ref(props.modelValue);
|
|
35491
|
+
const addrValue = ref({ ...props.modelValue });
|
|
35491
35492
|
const initAddress = () => {
|
|
35492
35493
|
["zipCode", "address1", "address2", "address3", "address4"].forEach((key) => addrValue.value[key] = "");
|
|
35493
35494
|
emitValue();
|