@vc-shell/framework 1.1.59 → 1.1.60
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/CHANGELOG.md +4 -0
- package/dist/framework.js +12 -12
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/{vendor-intlify-core-base-DZ8xhqFL.js → vendor-intlify-core-base-FyGSkd6r.js} +167 -166
- package/dist/{vendor-intlify-message-compiler-8PCyu80g.js → vendor-intlify-message-compiler-D_vL9-DK.js} +2 -2
- package/dist/vendor-intlify-shared-BMbzEQSk.js +144 -0
- package/dist/{vendor-prosemirror-commands-BqYcdumy.js → vendor-prosemirror-commands-C6teL3Xo.js} +3 -3
- package/dist/{vendor-prosemirror-dropcursor-zknUsW5x.js → vendor-prosemirror-dropcursor-CwZhBUcZ.js} +2 -2
- package/dist/{vendor-prosemirror-gapcursor-DjOZhP78.js → vendor-prosemirror-gapcursor-COcwb4TJ.js} +4 -4
- package/dist/{vendor-prosemirror-history-l8l3CFac.js → vendor-prosemirror-history-DmPvdOpr.js} +2 -2
- package/dist/{vendor-prosemirror-keymap-C17r08p-.js → vendor-prosemirror-keymap-CS1uIBpE.js} +1 -1
- package/dist/{vendor-prosemirror-markdown-WJEDhc-w.js → vendor-prosemirror-markdown-sO1Pn6SW.js} +1 -1
- package/dist/{vendor-prosemirror-model-BN5TnJD_.js → vendor-prosemirror-model-DwojkhDQ.js} +68 -82
- package/dist/{vendor-prosemirror-schema-list-CR0gi7aY.js → vendor-prosemirror-schema-list-rrOzMlj0.js} +2 -2
- package/dist/{vendor-prosemirror-state-B0bFP8WI.js → vendor-prosemirror-state-BN86J-Ko.js} +2 -2
- package/dist/{vendor-prosemirror-tables-B1txTKlC.js → vendor-prosemirror-tables-C7XMqyon.js} +5 -5
- package/dist/{vendor-prosemirror-transform-Bo7kNPme.js → vendor-prosemirror-transform-B0c_LAV_.js} +1 -1
- package/dist/{vendor-prosemirror-view--C7TZvmQ.js → vendor-prosemirror-view-DyWzmy4t.js} +3 -3
- package/dist/{vendor-tiptap-core-CczYXVC4.js → vendor-tiptap-core-BgwY40dr.js} +7 -7
- package/dist/{vendor-tiptap-extension-blockquote-Dm7YbSqy.js → vendor-tiptap-extension-blockquote-BVW0VVC0.js} +1 -1
- package/dist/{vendor-tiptap-extension-bold-YKANgJQB.js → vendor-tiptap-extension-bold-xhi5xxPT.js} +1 -1
- package/dist/{vendor-tiptap-extension-bubble-menu-gh-OpViI.js → vendor-tiptap-extension-bubble-menu-DhWtcCL3.js} +2 -2
- package/dist/{vendor-tiptap-extension-bullet-list-CZWmGEbV.js → vendor-tiptap-extension-bullet-list-Ba21suMY.js} +1 -1
- package/dist/{vendor-tiptap-extension-code-Bg0UZ8tC.js → vendor-tiptap-extension-code-DFTxp7wE.js} +1 -1
- package/dist/{vendor-tiptap-extension-code-block-DQJ_tCBi.js → vendor-tiptap-extension-code-block-B2KK5g8S.js} +2 -2
- package/dist/{vendor-tiptap-extension-document-CpCZXWQI.js → vendor-tiptap-extension-document-CW8jybcc.js} +1 -1
- package/dist/{vendor-tiptap-extension-dropcursor-BVniwBbO.js → vendor-tiptap-extension-dropcursor-DdRuETKJ.js} +2 -2
- package/dist/{vendor-tiptap-extension-floating-menu-FkBnPfW6.js → vendor-tiptap-extension-floating-menu-Da7fpnr7.js} +2 -2
- package/dist/{vendor-tiptap-extension-gapcursor-XdrpVWvW.js → vendor-tiptap-extension-gapcursor-CafmhWSf.js} +2 -2
- package/dist/{vendor-tiptap-extension-hard-break-N0r28gea.js → vendor-tiptap-extension-hard-break-n9aI6ybJ.js} +1 -1
- package/dist/{vendor-tiptap-extension-heading-CY1DvT1I.js → vendor-tiptap-extension-heading-xj24usOy.js} +1 -1
- package/dist/{vendor-tiptap-extension-history-BUL3NsZ9.js → vendor-tiptap-extension-history-C2uOLua2.js} +2 -2
- package/dist/{vendor-tiptap-extension-horizontal-rule-D27m_G1b.js → vendor-tiptap-extension-horizontal-rule--uXIYeaK.js} +2 -2
- package/dist/{vendor-tiptap-extension-image-CbjGZU8i.js → vendor-tiptap-extension-image-BJx5lyoG.js} +1 -1
- package/dist/{vendor-tiptap-extension-italic-zyDDu_SW.js → vendor-tiptap-extension-italic-DPAViC4y.js} +1 -1
- package/dist/{vendor-tiptap-extension-link-Bcv4UeMa.js → vendor-tiptap-extension-link-aDGmrWTi.js} +2 -2
- package/dist/{vendor-tiptap-extension-list-item-DZU6bwbc.js → vendor-tiptap-extension-list-item-DE9dJ64Q.js} +1 -1
- package/dist/{vendor-tiptap-extension-ordered-list-BXSeGf29.js → vendor-tiptap-extension-ordered-list-CcNtDDJm.js} +1 -1
- package/dist/{vendor-tiptap-extension-paragraph-PDX7FACk.js → vendor-tiptap-extension-paragraph-DvlrAzIW.js} +1 -1
- package/dist/{vendor-tiptap-extension-placeholder-Ue_ElAEg.js → vendor-tiptap-extension-placeholder-DyW7px66.js} +3 -3
- package/dist/{vendor-tiptap-extension-strike-rl2UQZzW.js → vendor-tiptap-extension-strike-DMMLEFkd.js} +1 -1
- package/dist/{vendor-tiptap-extension-table-B59LhE4D.js → vendor-tiptap-extension-table-BpegTABL.js} +3 -3
- package/dist/{vendor-tiptap-extension-table-cell-9N0NKfpg.js → vendor-tiptap-extension-table-cell-8rHRq4BW.js} +1 -1
- package/dist/{vendor-tiptap-extension-table-header-DJTZtK2Z.js → vendor-tiptap-extension-table-header-DZ1y7iS2.js} +1 -1
- package/dist/{vendor-tiptap-extension-table-row-D7Upcsrg.js → vendor-tiptap-extension-table-row-DmkNUw4L.js} +1 -1
- package/dist/{vendor-tiptap-extension-text-Buc1GYNc.js → vendor-tiptap-extension-text-Cwas3TQT.js} +1 -1
- package/dist/{vendor-tiptap-extension-underline-COmEda96.js → vendor-tiptap-extension-underline-Hz5uJRfR.js} +1 -1
- package/dist/{vendor-tiptap-markdown-QcGJtrvN.js → vendor-tiptap-markdown-Dj1XZWg4.js} +4 -4
- package/dist/{vendor-tiptap-starter-kit-rn_ARLXy.js → vendor-tiptap-starter-kit-Cxj07T7v.js} +19 -19
- package/dist/{vendor-tiptap-vue-3-KDP_yBZF.js → vendor-tiptap-vue-3-DF4kzEFI.js} +3 -3
- package/dist/{vendor-vue-i18n-CXIkMpzB.js → vendor-vue-i18n-DC6m6S7G.js} +34 -34
- package/package.json +4 -4
- package/dist/vendor-intlify-shared-BBJw7VuB.js +0 -130
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { N as f, n as m, h, c as A, m as T } from "./vendor-tiptap-core-
|
|
2
|
-
import { T as i, N as y } from "./vendor-prosemirror-state-
|
|
1
|
+
import { N as f, n as m, h, c as A, m as T } from "./vendor-tiptap-core-BgwY40dr.js";
|
|
2
|
+
import { T as i, N as y } from "./vendor-prosemirror-state-BN86J-Ko.js";
|
|
3
3
|
const M = f.create({
|
|
4
4
|
name: "horizontalRule",
|
|
5
5
|
addOptions() {
|
package/dist/{vendor-tiptap-extension-image-CbjGZU8i.js → vendor-tiptap-extension-image-BJx5lyoG.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { N as s, n as i, m as a } from "./vendor-tiptap-core-
|
|
1
|
+
import { N as s, n as i, m as a } from "./vendor-tiptap-core-BgwY40dr.js";
|
|
2
2
|
const l = /(?:^|\s)(!\[(.+|:?)]\((\S+)(?:(?:\s+)["'](\S+)["'])?\))$/, o = s.create({
|
|
3
3
|
name: "image",
|
|
4
4
|
addOptions() {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { M as r, a as e, b as s, m as a } from "./vendor-tiptap-core-
|
|
1
|
+
import { M as r, a as e, b as s, m as a } from "./vendor-tiptap-core-BgwY40dr.js";
|
|
2
2
|
const n = /(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))$/, i = /(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))/g, o = /(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))$/, l = /(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))/g, d = r.create({
|
|
3
3
|
name: "italic",
|
|
4
4
|
addOptions() {
|
package/dist/{vendor-tiptap-extension-link-Bcv4UeMa.js → vendor-tiptap-extension-link-aDGmrWTi.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { M as x, a as T, m as v, j as b, k as w, l as H, o as O, q as _ } from "./vendor-tiptap-core-
|
|
1
|
+
import { M as x, a as T, m as v, j as b, k as w, l as H, o as O, q as _ } from "./vendor-tiptap-core-BgwY40dr.js";
|
|
2
2
|
import { r as y, t as R, f as M, a as B } from "./vendor-linkifyjs-DTu7SY_Y.js";
|
|
3
|
-
import { P as m, a as A } from "./vendor-prosemirror-state-
|
|
3
|
+
import { P as m, a as A } from "./vendor-prosemirror-state-BN86J-Ko.js";
|
|
4
4
|
const P = "[\0- -\u2029 ]", I = new RegExp(P), U = new RegExp(`${P}$`), N = new RegExp(P, "g");
|
|
5
5
|
function V(t) {
|
|
6
6
|
return t.length === 1 ? t[0].isLink : t.length === 3 && t[1].isLink ? ["()", "[]"].includes(t[0].value + t[2].value) : !1;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { E as p, r as m } from "./vendor-tiptap-core-
|
|
2
|
-
import { a as u, D as y } from "./vendor-prosemirror-view
|
|
3
|
-
import { P as E, a as f } from "./vendor-prosemirror-state-
|
|
1
|
+
import { E as p, r as m } from "./vendor-tiptap-core-BgwY40dr.js";
|
|
2
|
+
import { a as u, D as y } from "./vendor-prosemirror-view-DyWzmy4t.js";
|
|
3
|
+
import { P as E, a as f } from "./vendor-prosemirror-state-BN86J-Ko.js";
|
|
4
4
|
const O = p.create({
|
|
5
5
|
name: "placeholder",
|
|
6
6
|
addOptions() {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { M as e, a as r, b as s, m as a } from "./vendor-tiptap-core-
|
|
1
|
+
import { M as e, a as r, b as s, m as a } from "./vendor-tiptap-core-BgwY40dr.js";
|
|
2
2
|
const n = /(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))$/, i = /(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))/g, o = e.create({
|
|
3
3
|
name: "strike",
|
|
4
4
|
addOptions() {
|
package/dist/{vendor-tiptap-extension-table-B59LhE4D.js → vendor-tiptap-extension-table-BpegTABL.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { N as v, e as E, f as H, m as z, s as P } from "./vendor-tiptap-core-
|
|
2
|
-
import { c as k, t as V, C as A, f as B, g as x, s as O, m as W, a as R, b as D, d as S, e as j, h as L, i as K, j as F, k as _, l as G, n as I } from "./vendor-prosemirror-tables-
|
|
3
|
-
import { T as q } from "./vendor-prosemirror-state-
|
|
1
|
+
import { N as v, e as E, f as H, m as z, s as P } from "./vendor-tiptap-core-BgwY40dr.js";
|
|
2
|
+
import { c as k, t as V, C as A, f as B, g as x, s as O, m as W, a as R, b as D, d as S, e as j, h as L, i as K, j as F, k as _, l as G, n as I } from "./vendor-prosemirror-tables-C7XMqyon.js";
|
|
3
|
+
import { T as q } from "./vendor-prosemirror-state-BN86J-Ko.js";
|
|
4
4
|
function w(t, e) {
|
|
5
5
|
return e ? ["width", `${Math.max(e, t)}px`] : ["min-width", `${t}px`];
|
|
6
6
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { E as b, u as B, N as a, M as m, v as z } from "./vendor-tiptap-core-
|
|
2
|
-
import { M as O, d } from "./vendor-prosemirror-markdown-
|
|
1
|
+
import { E as b, u as B, N as a, M as m, v as z } from "./vendor-tiptap-core-BgwY40dr.js";
|
|
2
|
+
import { M as O, d } from "./vendor-prosemirror-markdown-sO1Pn6SW.js";
|
|
3
3
|
import { t as P } from "./vendor-markdown-it-task-lists-Byg1-ms9.js";
|
|
4
4
|
import { M as C } from "./vendor-markdown-it-4AJoRTAg.js";
|
|
5
|
-
import { P as N, a as _ } from "./vendor-prosemirror-state-
|
|
6
|
-
import { d as I, F as w } from "./vendor-prosemirror-model-
|
|
5
|
+
import { P as N, a as _ } from "./vendor-prosemirror-state-BN86J-Ko.js";
|
|
6
|
+
import { d as I, F as w } from "./vendor-prosemirror-model-DwojkhDQ.js";
|
|
7
7
|
var A = Object.defineProperty, D = (r, e, t) => e in r ? A(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t, h = (r, e, t) => (D(r, typeof e != "symbol" ? e + "" : e, t), t);
|
|
8
8
|
const j = b.create({
|
|
9
9
|
name: "markdownTightLists",
|
package/dist/{vendor-tiptap-starter-kit-rn_ARLXy.js → vendor-tiptap-starter-kit-Cxj07T7v.js}
RENAMED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { E as i } from "./vendor-tiptap-core-
|
|
2
|
-
import { B as s } from "./vendor-tiptap-extension-blockquote-
|
|
3
|
-
import { B as t } from "./vendor-tiptap-extension-bold-
|
|
4
|
-
import { B as r } from "./vendor-tiptap-extension-bullet-list-
|
|
5
|
-
import { C as e } from "./vendor-tiptap-extension-code-
|
|
6
|
-
import { C as p } from "./vendor-tiptap-extension-code-block-
|
|
7
|
-
import { D as f } from "./vendor-tiptap-extension-document-
|
|
8
|
-
import { D as n } from "./vendor-tiptap-extension-dropcursor-
|
|
9
|
-
import { G as a } from "./vendor-tiptap-extension-gapcursor-
|
|
10
|
-
import { H as h } from "./vendor-tiptap-extension-hard-break-
|
|
11
|
-
import { H as u } from "./vendor-tiptap-extension-heading-
|
|
12
|
-
import { H as m } from "./vendor-tiptap-extension-history-
|
|
13
|
-
import { H as l } from "./vendor-tiptap-extension-horizontal-rule
|
|
14
|
-
import { I as c } from "./vendor-tiptap-extension-italic-
|
|
15
|
-
import { L as d } from "./vendor-tiptap-extension-list-item-
|
|
16
|
-
import { O as g } from "./vendor-tiptap-extension-ordered-list-
|
|
17
|
-
import { P as k } from "./vendor-tiptap-extension-paragraph-
|
|
18
|
-
import { S as B } from "./vendor-tiptap-extension-strike-
|
|
19
|
-
import { T as H } from "./vendor-tiptap-extension-text-
|
|
1
|
+
import { E as i } from "./vendor-tiptap-core-BgwY40dr.js";
|
|
2
|
+
import { B as s } from "./vendor-tiptap-extension-blockquote-BVW0VVC0.js";
|
|
3
|
+
import { B as t } from "./vendor-tiptap-extension-bold-xhi5xxPT.js";
|
|
4
|
+
import { B as r } from "./vendor-tiptap-extension-bullet-list-Ba21suMY.js";
|
|
5
|
+
import { C as e } from "./vendor-tiptap-extension-code-DFTxp7wE.js";
|
|
6
|
+
import { C as p } from "./vendor-tiptap-extension-code-block-B2KK5g8S.js";
|
|
7
|
+
import { D as f } from "./vendor-tiptap-extension-document-CW8jybcc.js";
|
|
8
|
+
import { D as n } from "./vendor-tiptap-extension-dropcursor-DdRuETKJ.js";
|
|
9
|
+
import { G as a } from "./vendor-tiptap-extension-gapcursor-CafmhWSf.js";
|
|
10
|
+
import { H as h } from "./vendor-tiptap-extension-hard-break-n9aI6ybJ.js";
|
|
11
|
+
import { H as u } from "./vendor-tiptap-extension-heading-xj24usOy.js";
|
|
12
|
+
import { H as m } from "./vendor-tiptap-extension-history-C2uOLua2.js";
|
|
13
|
+
import { H as l } from "./vendor-tiptap-extension-horizontal-rule--uXIYeaK.js";
|
|
14
|
+
import { I as c } from "./vendor-tiptap-extension-italic-DPAViC4y.js";
|
|
15
|
+
import { L as d } from "./vendor-tiptap-extension-list-item-DE9dJ64Q.js";
|
|
16
|
+
import { O as g } from "./vendor-tiptap-extension-ordered-list-CcNtDDJm.js";
|
|
17
|
+
import { P as k } from "./vendor-tiptap-extension-paragraph-DvlrAzIW.js";
|
|
18
|
+
import { S as B } from "./vendor-tiptap-extension-strike-DMMLEFkd.js";
|
|
19
|
+
import { T as H } from "./vendor-tiptap-extension-text-Cwas3TQT.js";
|
|
20
20
|
const w = i.create({
|
|
21
21
|
name: "starterKit",
|
|
22
22
|
addExtensions() {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { B as g } from "./vendor-tiptap-extension-bubble-menu-
|
|
1
|
+
import { B as g } from "./vendor-tiptap-extension-bubble-menu-DhWtcCL3.js";
|
|
2
2
|
import { defineComponent as u, shallowRef as h, onMounted as d, onBeforeUnmount as l, h as s, ref as p, getCurrentInstance as f, watchEffect as m, nextTick as y, unref as S, markRaw as w, customRef as b } from "vue";
|
|
3
|
-
import { x } from "./vendor-tiptap-core-
|
|
4
|
-
import { F as C } from "./vendor-tiptap-extension-floating-menu-
|
|
3
|
+
import { x } from "./vendor-tiptap-core-BgwY40dr.js";
|
|
4
|
+
import { F as C } from "./vendor-tiptap-extension-floating-menu-Da7fpnr7.js";
|
|
5
5
|
u({
|
|
6
6
|
name: "BubbleMenu",
|
|
7
7
|
props: {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { C as Yt, D as qe, u as B, c as jt, a as
|
|
2
|
-
import { w as Ze, e as N, l as ia,
|
|
1
|
+
import { C as Yt, D as qe, u as B, c as jt, a as Ae, b as De, i as K, A as Bt, s as Xt, g as Jt, N as Kt, d as zt, e as qt, f as Qe, h as Qt, j as Se, p as ye, t as Ve, M as Me, k as Ue, l as We, m as $e, n as we, o as Zt, q as ea, r as ta, v as aa, w as na, x as sa, y as la, z as ra, B as oa } from "./vendor-intlify-core-base-FyGSkd6r.js";
|
|
2
|
+
import { w as Ze, e as N, l as ia, B as S, a as F, C as Ne, b, i as P, f as le, r as re, d as A, c as C, D as se, k as oe, j as R, g as $, n as z, h as Te, o as ca, m as J } from "./vendor-intlify-shared-BMbzEQSk.js";
|
|
3
3
|
import { effectScope as _a, ref as ua, shallowRef as ma, computed as X, watch as ge, isRef as fa, defineComponent as Le, getCurrentInstance as q, h as et, Fragment as tt, inject as ga, onMounted as Ea, onUnmounted as da, createVNode as ba, Text as va } from "vue";
|
|
4
4
|
import { s as Ia } from "./vendor-vue-devtools-api-aVYGocXp.js";
|
|
5
|
-
import { c as pa } from "./vendor-intlify-message-compiler-
|
|
5
|
+
import { c as pa } from "./vendor-intlify-message-compiler-D_vL9-DK.js";
|
|
6
6
|
/*!
|
|
7
|
-
* vue-i18n v11.1.
|
|
7
|
+
* vue-i18n v11.1.10
|
|
8
8
|
* (c) 2025 kazuya kawaguchi
|
|
9
9
|
* Released under the MIT License.
|
|
10
10
|
*/
|
|
11
|
-
const at = "11.1.
|
|
11
|
+
const at = "11.1.10";
|
|
12
12
|
function Na() {
|
|
13
13
|
typeof __VUE_I18N_FULL_INSTALL__ != "boolean" && (J().__VUE_I18N_FULL_INSTALL__ = !0), typeof __VUE_I18N_LEGACY_API__ != "boolean" && (J().__VUE_I18N_LEGACY_API__ = !0), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (J().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1), typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (J().__INTLIFY_PROD_DEVTOOLS__ = !1);
|
|
14
14
|
}
|
|
@@ -95,7 +95,7 @@ function Z(e) {
|
|
|
95
95
|
for (let r = 0; r < n; r++) {
|
|
96
96
|
if (s[r] === "__proto__")
|
|
97
97
|
throw new Error(`unsafe key: ${s[r]}`);
|
|
98
|
-
if (s[r] in a || (a[s[r]] =
|
|
98
|
+
if (s[r] in a || (a[s[r]] = C()), !R(a[s[r]])) {
|
|
99
99
|
process.env.NODE_ENV !== "production" && Te(te(D.IGNORE_OBJ_FLATTEN, {
|
|
100
100
|
key: s[r]
|
|
101
101
|
})), o = !0;
|
|
@@ -111,11 +111,11 @@ function Z(e) {
|
|
|
111
111
|
return e;
|
|
112
112
|
}
|
|
113
113
|
function Oe(e, t) {
|
|
114
|
-
const { messages: s, __i18n: n, messageResolver: a, flatJson: o } = t, r = F(s) ? s : P(n) ?
|
|
114
|
+
const { messages: s, __i18n: n, messageResolver: a, flatJson: o } = t, r = F(s) ? s : P(n) ? C() : { [e]: C() };
|
|
115
115
|
if (P(n) && n.forEach((c) => {
|
|
116
116
|
if ("locale" in c && "resource" in c) {
|
|
117
117
|
const { locale: u, resource: m } = c;
|
|
118
|
-
u ? (r[u] = r[u] ||
|
|
118
|
+
u ? (r[u] = r[u] || C(), se(m, r[u])) : se(m, r);
|
|
119
119
|
} else
|
|
120
120
|
b(c) && se(JSON.parse(c), r);
|
|
121
121
|
}), a == null && o)
|
|
@@ -127,7 +127,7 @@ function lt(e) {
|
|
|
127
127
|
return e.type;
|
|
128
128
|
}
|
|
129
129
|
function rt(e, t, s) {
|
|
130
|
-
let n = R(t.messages) ? t.messages :
|
|
130
|
+
let n = R(t.messages) ? t.messages : C();
|
|
131
131
|
"__i18nGlobal" in s && (n = Oe(e.locale.value, {
|
|
132
132
|
messages: n,
|
|
133
133
|
__i18n: s.__i18nGlobal
|
|
@@ -242,8 +242,8 @@ function he(e = {}) {
|
|
|
242
242
|
key: W,
|
|
243
243
|
type: g
|
|
244
244
|
})), process.env.NODE_ENV !== "production")) {
|
|
245
|
-
const { __v_emitter:
|
|
246
|
-
|
|
245
|
+
const { __v_emitter: Ce } = _;
|
|
246
|
+
Ce && O && Ce.emit("fallback", {
|
|
247
247
|
type: g,
|
|
248
248
|
key: W,
|
|
249
249
|
to: "global",
|
|
@@ -264,7 +264,7 @@ function he(e = {}) {
|
|
|
264
264
|
const [i, g, I] = l;
|
|
265
265
|
if (I && !R(I))
|
|
266
266
|
throw L(E.INVALID_ARGUMENT);
|
|
267
|
-
return ke(i, g,
|
|
267
|
+
return ke(i, g, A({ resolvedMessage: !0 }, I || {}));
|
|
268
268
|
}
|
|
269
269
|
function Ot(...l) {
|
|
270
270
|
return M((i) => Reflect.apply(We, null, [i, ...l]), () => Ue(...l), "datetime format", (i) => Reflect.apply(i.d, i, [...l]), () => Me, (i) => b(i) || P(i));
|
|
@@ -295,10 +295,10 @@ function he(e = {}) {
|
|
|
295
295
|
function Pt(...l) {
|
|
296
296
|
return M((i) => Reflect.apply(we, null, [i, ...l]), () => $e(...l), "number format", (i) => i[be](...l), He, (i) => b(i) || P(i));
|
|
297
297
|
}
|
|
298
|
-
function
|
|
298
|
+
function Ct(...l) {
|
|
299
299
|
return M((i) => Reflect.apply(We, null, [i, ...l]), () => Ue(...l), "datetime format", (i) => i[de](...l), He, (i) => b(i) || P(i));
|
|
300
300
|
}
|
|
301
|
-
function
|
|
301
|
+
function At(l) {
|
|
302
302
|
j = l, _.pluralRules = j;
|
|
303
303
|
}
|
|
304
304
|
function Dt(l, i) {
|
|
@@ -349,10 +349,10 @@ function he(e = {}) {
|
|
|
349
349
|
return d.value[l] || {};
|
|
350
350
|
}
|
|
351
351
|
function Wt(l, i) {
|
|
352
|
-
d.value[l] = i, _.datetimeFormats = d.value,
|
|
352
|
+
d.value[l] = i, _.datetimeFormats = d.value, Ae(_, l, i);
|
|
353
353
|
}
|
|
354
354
|
function $t(l, i) {
|
|
355
|
-
d.value[l] =
|
|
355
|
+
d.value[l] = A(d.value[l] || {}, i), _.datetimeFormats = d.value, Ae(_, l, i);
|
|
356
356
|
}
|
|
357
357
|
function wt(l) {
|
|
358
358
|
return f.value[l] || {};
|
|
@@ -361,7 +361,7 @@ function he(e = {}) {
|
|
|
361
361
|
f.value[l] = i, _.numberFormats = f.value, De(_, l, i);
|
|
362
362
|
}
|
|
363
363
|
function Gt(l, i) {
|
|
364
|
-
f.value[l] =
|
|
364
|
+
f.value[l] = A(f.value[l] || {}, i), _.numberFormats = f.value, De(_, l, i);
|
|
365
365
|
}
|
|
366
366
|
Ye++, t && re && (ge(t.locale, (l) => {
|
|
367
367
|
r && (c.value = l, _.locale = l, B(_, c.value, u.value));
|
|
@@ -435,9 +435,9 @@ function he(e = {}) {
|
|
|
435
435
|
setPostTranslationHandler: It,
|
|
436
436
|
getMissingHandler: pt,
|
|
437
437
|
setMissingHandler: Nt,
|
|
438
|
-
[nt]:
|
|
438
|
+
[nt]: At
|
|
439
439
|
};
|
|
440
|
-
return p.datetimeFormats = dt, p.numberFormats = bt, p.rt = Lt, p.te = Dt, p.tm = yt, p.d = Ot, p.n = ht, p.getDateTimeFormat = Ut, p.setDateTimeFormat = Wt, p.mergeDateTimeFormat = $t, p.getNumberFormat = wt, p.setNumberFormat = xt, p.mergeNumberFormat = Gt, p[st] = s, p[Ee] = kt, p[de] =
|
|
440
|
+
return p.datetimeFormats = dt, p.numberFormats = bt, p.rt = Lt, p.te = Dt, p.tm = yt, p.d = Ot, p.n = ht, p.getDateTimeFormat = Ut, p.setDateTimeFormat = Wt, p.mergeDateTimeFormat = $t, p.getNumberFormat = wt, p.setNumberFormat = xt, p.mergeNumberFormat = Gt, p[st] = s, p[Ee] = kt, p[de] = Ct, p[be] = Pt, process.env.NODE_ENV !== "production" && (p[w] = (l) => {
|
|
441
441
|
_.__v_emitter = l;
|
|
442
442
|
}, p[Q] = () => {
|
|
443
443
|
_.__v_emitter = void 0;
|
|
@@ -564,23 +564,23 @@ function Fe(e) {
|
|
|
564
564
|
$(n) && "source" in n ? t[s] = Sa(n) : K(n) && n.loc && n.loc.source ? t[s] = n.loc.source : R(n) ? t[s] = Fe(n) : t[s] = n;
|
|
565
565
|
}), t;
|
|
566
566
|
}
|
|
567
|
-
const
|
|
567
|
+
const Ca = {
|
|
568
568
|
"<": "<",
|
|
569
569
|
">": ">",
|
|
570
570
|
'"': """,
|
|
571
571
|
"&": "&"
|
|
572
572
|
};
|
|
573
|
-
function
|
|
573
|
+
function Aa(e) {
|
|
574
574
|
return e.replace(/[<>"&]/g, Da);
|
|
575
575
|
}
|
|
576
576
|
function Da(e) {
|
|
577
|
-
return
|
|
577
|
+
return Ca[e] || e;
|
|
578
578
|
}
|
|
579
579
|
function Sa(e) {
|
|
580
580
|
return {
|
|
581
581
|
_custom: {
|
|
582
582
|
type: "function",
|
|
583
|
-
display: `<span>ƒ</span> ${e.source ? `("${
|
|
583
|
+
display: `<span>ƒ</span> ${e.source ? `("${Aa(e.source)}")` : "(?)"}`
|
|
584
584
|
}
|
|
585
585
|
};
|
|
586
586
|
}
|
|
@@ -710,7 +710,7 @@ function $a(e) {
|
|
|
710
710
|
const Y = e.sharedMessages;
|
|
711
711
|
O = Object.keys(Y).reduce((_, ae) => {
|
|
712
712
|
const me = _[ae] || (_[ae] = {});
|
|
713
|
-
return
|
|
713
|
+
return A(me, Y[ae]), _;
|
|
714
714
|
}, O || {});
|
|
715
715
|
}
|
|
716
716
|
const { __i18n: h, __root: y, __injectWithOption: k } = e, V = e.datetimeFormats, G = e.numberFormats, H = e.flatJson;
|
|
@@ -991,7 +991,7 @@ function xa({ slots: e }, t) {
|
|
|
991
991
|
], []) : t.reduce((s, n) => {
|
|
992
992
|
const a = e[n];
|
|
993
993
|
return a && (s[n] = a()), s;
|
|
994
|
-
},
|
|
994
|
+
}, C());
|
|
995
995
|
}
|
|
996
996
|
function _t() {
|
|
997
997
|
return tt;
|
|
@@ -999,7 +999,7 @@ function _t() {
|
|
|
999
999
|
const Ga = /* @__PURE__ */ Le({
|
|
1000
1000
|
/* eslint-disable */
|
|
1001
1001
|
name: "i18n-t",
|
|
1002
|
-
props:
|
|
1002
|
+
props: A({
|
|
1003
1003
|
keypath: {
|
|
1004
1004
|
type: String,
|
|
1005
1005
|
required: !0
|
|
@@ -1017,9 +1017,9 @@ const Ga = /* @__PURE__ */ Le({
|
|
|
1017
1017
|
__useComponent: !0
|
|
1018
1018
|
});
|
|
1019
1019
|
return () => {
|
|
1020
|
-
const o = Object.keys(s).filter((f) => f[0] !== "_"), r =
|
|
1020
|
+
const o = Object.keys(s).filter((f) => f[0] !== "_"), r = C();
|
|
1021
1021
|
e.locale && (r.locale = e.locale), e.plural !== void 0 && (r.plural = b(e.plural) ? +e.plural : e.plural);
|
|
1022
|
-
const c = xa(t, o), u = a[Ee](e.keypath, c, r), m = C(
|
|
1022
|
+
const c = xa(t, o), u = a[Ee](e.keypath, c, r), m = A(C(), n), d = b(e.tag) || R(e.tag) ? e.tag : _t();
|
|
1023
1023
|
return et(d, m, u);
|
|
1024
1024
|
};
|
|
1025
1025
|
}
|
|
@@ -1031,22 +1031,22 @@ function ut(e, t, s, n) {
|
|
|
1031
1031
|
const { slots: a, attrs: o } = t;
|
|
1032
1032
|
return () => {
|
|
1033
1033
|
const r = { part: !0 };
|
|
1034
|
-
let c =
|
|
1035
|
-
e.locale && (r.locale = e.locale), b(e.format) ? r.key = e.format : R(e.format) && (b(e.format.key) && (r.key = e.format.key), c = Object.keys(e.format).reduce((v, T) => s.includes(T) ? C(
|
|
1034
|
+
let c = C();
|
|
1035
|
+
e.locale && (r.locale = e.locale), b(e.format) ? r.key = e.format : R(e.format) && (b(e.format.key) && (r.key = e.format.key), c = Object.keys(e.format).reduce((v, T) => s.includes(T) ? A(C(), v, { [T]: e.format[T] }) : v, C()));
|
|
1036
1036
|
const u = n(e.value, r, c);
|
|
1037
1037
|
let m = [r.key];
|
|
1038
1038
|
P(u) ? m = u.map((v, T) => {
|
|
1039
1039
|
const O = a[v.type], h = O ? O({ [v.type]: v.value, index: T, parts: u }) : [v.value];
|
|
1040
1040
|
return Ya(h) && (h[0].key = `${v.type}-${T}`), h;
|
|
1041
1041
|
}) : b(u) && (m = [u]);
|
|
1042
|
-
const d = C(
|
|
1042
|
+
const d = A(C(), o), f = b(e.tag) || R(e.tag) ? e.tag : _t();
|
|
1043
1043
|
return et(f, d, m);
|
|
1044
1044
|
};
|
|
1045
1045
|
}
|
|
1046
1046
|
const ja = /* @__PURE__ */ Le({
|
|
1047
1047
|
/* eslint-disable */
|
|
1048
1048
|
name: "i18n-n",
|
|
1049
|
-
props:
|
|
1049
|
+
props: A({
|
|
1050
1050
|
value: {
|
|
1051
1051
|
type: Number,
|
|
1052
1052
|
required: !0
|
|
@@ -1209,7 +1209,7 @@ function ue(e = {}) {
|
|
|
1209
1209
|
const r = s;
|
|
1210
1210
|
let c = r.__getInstance(t);
|
|
1211
1211
|
if (c == null) {
|
|
1212
|
-
const u =
|
|
1212
|
+
const u = A({}, e);
|
|
1213
1213
|
"__i18n" in a && (u.__i18n = a.__i18n), n && (u.__root = n), c = he(u), r.__composerExtend && (c[ve] = r.__composerExtend(c)), an(r, t, c), r.__setInstance(t, c);
|
|
1214
1214
|
} else if (process.env.NODE_ENV !== "production" && o === "local")
|
|
1215
1215
|
throw L(E.DUPLICATE_USE_I18N_CALLING);
|
|
@@ -1308,7 +1308,7 @@ function sn(e, t) {
|
|
|
1308
1308
|
const ln = /* @__PURE__ */ Le({
|
|
1309
1309
|
/* eslint-disable */
|
|
1310
1310
|
name: "i18n-d",
|
|
1311
|
-
props:
|
|
1311
|
+
props: A({
|
|
1312
1312
|
value: {
|
|
1313
1313
|
type: [Number, Date],
|
|
1314
1314
|
required: !0
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vc-shell/framework",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.60",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/framework.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -85,9 +85,9 @@
|
|
|
85
85
|
"@fullhuman/postcss-purgecss": "^7.0.2",
|
|
86
86
|
"@laynezh/vite-plugin-lib-assets": "v1.1.0",
|
|
87
87
|
"@types/dompurify": "^3.0.5",
|
|
88
|
-
"@vc-shell/api-client-generator": "^1.1.
|
|
89
|
-
"@vc-shell/config-generator": "^1.1.
|
|
90
|
-
"@vc-shell/ts-config": "^1.1.
|
|
88
|
+
"@vc-shell/api-client-generator": "^1.1.60",
|
|
89
|
+
"@vc-shell/config-generator": "^1.1.60",
|
|
90
|
+
"@vc-shell/ts-config": "^1.1.60",
|
|
91
91
|
"@vitejs/plugin-vue": "^5.2.3",
|
|
92
92
|
"@vue/test-utils": "^2.4.5",
|
|
93
93
|
"cypress-signalr-mock": "^1.5.0",
|
|
@@ -1,130 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* shared v11.1.9
|
|
3
|
-
* (c) 2025 kazuya kawaguchi
|
|
4
|
-
* Released under the MIT License.
|
|
5
|
-
*/
|
|
6
|
-
const A = typeof window < "u";
|
|
7
|
-
let E, M;
|
|
8
|
-
if (process.env.NODE_ENV !== "production") {
|
|
9
|
-
const e = A && window.performance;
|
|
10
|
-
e && e.mark && e.measure && e.clearMarks && // @ts-ignore browser compat
|
|
11
|
-
e.clearMeasures && (E = (t) => {
|
|
12
|
-
e.mark(t);
|
|
13
|
-
}, M = (t, o, n) => {
|
|
14
|
-
e.measure(t, o, n), e.clearMarks(o), e.clearMarks(n);
|
|
15
|
-
});
|
|
16
|
-
}
|
|
17
|
-
const N = /\{([0-9a-zA-Z]+)\}/g;
|
|
18
|
-
function k(e, ...t) {
|
|
19
|
-
return t.length === 1 && a(t[0]) && (t = t[0]), (!t || !t.hasOwnProperty) && (t = {}), e.replace(N, (o, n) => t.hasOwnProperty(n) ? t[n] : "");
|
|
20
|
-
}
|
|
21
|
-
const C = (e, t = !1) => t ? Symbol.for(e) : Symbol(e), D = (e, t, o) => _({ l: e, k: t, s: o }), _ = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), F = (e) => typeof e == "number" && isFinite(e), T = (e) => u(e) === "[object Date]", B = (e) => u(e) === "[object RegExp]", G = (e) => j(e) && Object.keys(e).length === 0, J = Object.assign, x = Object.create, m = (e = null) => x(e);
|
|
22
|
-
let g;
|
|
23
|
-
const $ = () => g || (g = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : m());
|
|
24
|
-
function q(e) {
|
|
25
|
-
return e.replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'");
|
|
26
|
-
}
|
|
27
|
-
const P = Object.prototype.hasOwnProperty;
|
|
28
|
-
function z(e, t) {
|
|
29
|
-
return P.call(e, t);
|
|
30
|
-
}
|
|
31
|
-
const w = Array.isArray, b = (e) => typeof e == "function", I = (e) => typeof e == "string", H = (e) => typeof e == "boolean", a = (e) => e !== null && typeof e == "object", K = (e) => a(e) && b(e.then) && b(e.catch), O = Object.prototype.toString, u = (e) => O.call(e), j = (e) => u(e) === "[object Object]", L = (e) => e == null ? "" : w(e) || j(e) && e.toString === O ? JSON.stringify(e, null, 2) : String(e);
|
|
32
|
-
function V(e, t = "") {
|
|
33
|
-
return e.reduce((o, n, s) => s === 0 ? o + n : o + t + n, "");
|
|
34
|
-
}
|
|
35
|
-
const y = 2;
|
|
36
|
-
function W(e, t = 0, o = e.length) {
|
|
37
|
-
const n = e.split(/\r?\n/);
|
|
38
|
-
let s = 0;
|
|
39
|
-
const r = [];
|
|
40
|
-
for (let i = 0; i < n.length; i++)
|
|
41
|
-
if (s += n[i].length + 1, s >= t) {
|
|
42
|
-
for (let c = i - y; c <= i + y || o > s; c++) {
|
|
43
|
-
if (c < 0 || c >= n.length)
|
|
44
|
-
continue;
|
|
45
|
-
const h = c + 1;
|
|
46
|
-
r.push(`${h}${" ".repeat(3 - String(h).length)}| ${n[c]}`);
|
|
47
|
-
const l = n[c].length;
|
|
48
|
-
if (c === i) {
|
|
49
|
-
const f = t - (s - l) + 1, S = Math.max(1, o > s ? l - f : o - t);
|
|
50
|
-
r.push(" | " + " ".repeat(f) + "^".repeat(S));
|
|
51
|
-
} else if (c > i) {
|
|
52
|
-
if (o > s) {
|
|
53
|
-
const f = Math.max(Math.min(o - s, l), 1);
|
|
54
|
-
r.push(" | " + "^".repeat(f));
|
|
55
|
-
}
|
|
56
|
-
s += l + 1;
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
break;
|
|
60
|
-
}
|
|
61
|
-
return r.join(`
|
|
62
|
-
`);
|
|
63
|
-
}
|
|
64
|
-
function R(e, t) {
|
|
65
|
-
typeof console < "u" && (console.warn("[intlify] " + e), t && console.warn(t.stack));
|
|
66
|
-
}
|
|
67
|
-
const d = {};
|
|
68
|
-
function Z(e) {
|
|
69
|
-
d[e] || (d[e] = !0, R(e));
|
|
70
|
-
}
|
|
71
|
-
function Q() {
|
|
72
|
-
const e = /* @__PURE__ */ new Map();
|
|
73
|
-
return {
|
|
74
|
-
events: e,
|
|
75
|
-
on(o, n) {
|
|
76
|
-
const s = e.get(o);
|
|
77
|
-
s && s.push(n) || e.set(o, [n]);
|
|
78
|
-
},
|
|
79
|
-
off(o, n) {
|
|
80
|
-
const s = e.get(o);
|
|
81
|
-
s && s.splice(s.indexOf(n) >>> 0, 1);
|
|
82
|
-
},
|
|
83
|
-
emit(o, n) {
|
|
84
|
-
(e.get(o) || []).slice().map((s) => s(n)), (e.get("*") || []).slice().map((s) => s(o, n));
|
|
85
|
-
}
|
|
86
|
-
};
|
|
87
|
-
}
|
|
88
|
-
const p = (e) => !a(e) || w(e);
|
|
89
|
-
function U(e, t) {
|
|
90
|
-
if (p(e) || p(t))
|
|
91
|
-
throw new Error("Invalid value");
|
|
92
|
-
const o = [{ src: e, des: t }];
|
|
93
|
-
for (; o.length; ) {
|
|
94
|
-
const { src: n, des: s } = o.pop();
|
|
95
|
-
Object.keys(n).forEach((r) => {
|
|
96
|
-
r !== "__proto__" && (a(n[r]) && !a(s[r]) && (s[r] = Array.isArray(n[r]) ? [] : m()), p(s[r]) || p(n[r]) ? s[r] = n[r] : o.push({ src: n[r], des: s[r] }));
|
|
97
|
-
});
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
export {
|
|
101
|
-
C as A,
|
|
102
|
-
Q as B,
|
|
103
|
-
U as C,
|
|
104
|
-
j as a,
|
|
105
|
-
I as b,
|
|
106
|
-
m as c,
|
|
107
|
-
J as d,
|
|
108
|
-
H as e,
|
|
109
|
-
B as f,
|
|
110
|
-
b as g,
|
|
111
|
-
R as h,
|
|
112
|
-
w as i,
|
|
113
|
-
a as j,
|
|
114
|
-
z as k,
|
|
115
|
-
k as l,
|
|
116
|
-
$ as m,
|
|
117
|
-
F as n,
|
|
118
|
-
G as o,
|
|
119
|
-
T as p,
|
|
120
|
-
q,
|
|
121
|
-
A as r,
|
|
122
|
-
E as s,
|
|
123
|
-
M as t,
|
|
124
|
-
V as u,
|
|
125
|
-
L as v,
|
|
126
|
-
Z as w,
|
|
127
|
-
K as x,
|
|
128
|
-
D as y,
|
|
129
|
-
W as z
|
|
130
|
-
};
|