@fmdevui/fm-dev 1.0.31 → 1.0.33
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/es/packages/core/locales/index.mjs +4 -3
- package/index.js +5 -4
- package/index.min.js +2 -2
- package/index.min.mjs +2 -2
- package/index.mjs +5 -4
- package/lib/packages/core/locales/index.js +4 -3
- package/lib/version.css +5 -5
- package/package.json +1 -1
- package/es/{component.css → make-installer.css} +4 -4
|
@@ -152,12 +152,13 @@ async function mergMessage(lang, msg) {
|
|
|
152
152
|
"\u6765\u5566": "\u5566\u5566\u5566"
|
|
153
153
|
});
|
|
154
154
|
}
|
|
155
|
-
const lbmodules = import.meta.glob("
|
|
155
|
+
const lbmodules = import.meta.glob("@fm-dev/core/locales/lang/*.ts", { eager: true });
|
|
156
156
|
async function loadLocaleMessages(tempmodel) {
|
|
157
157
|
for (const path in lbmodules) {
|
|
158
158
|
const key = path.match(/(\S+)\/(\S+).ts/);
|
|
159
|
-
if (itemize[key[2]])
|
|
160
|
-
|
|
159
|
+
if (itemize[key[2]]) {
|
|
160
|
+
itemize[key[2]].push(lbmodules[path].default);
|
|
161
|
+
} else itemize[key[2]] = lbmodules[path];
|
|
161
162
|
}
|
|
162
163
|
for (const path in tempmodel) {
|
|
163
164
|
const key = path.match(/(\S+)\/(\S+).ts/);
|
package/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! fm-dev v1.0.
|
|
1
|
+
/*! fm-dev v1.0.33 */
|
|
2
2
|
(function (global, factory) {
|
|
3
3
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('vue'), require('element-plus'), require('crypto'), require('url'), require('http'), require('https'), require('util'), require('stream'), require('assert'), require('zlib')) :
|
|
4
4
|
typeof define === 'function' && define.amd ? define(['exports', 'vue', 'element-plus', 'crypto', 'url', 'http', 'https', 'util', 'stream', 'assert', 'zlib'], factory) :
|
|
@@ -49816,12 +49816,13 @@
|
|
|
49816
49816
|
"\u6765\u5566": "\u5566\u5566\u5566"
|
|
49817
49817
|
});
|
|
49818
49818
|
}
|
|
49819
|
-
const lbmodules = undefined("
|
|
49819
|
+
const lbmodules = undefined("@fm-dev/core/locales/lang/*.ts", { eager: true });
|
|
49820
49820
|
async function loadLocaleMessages(tempmodel) {
|
|
49821
49821
|
for (const path in lbmodules) {
|
|
49822
49822
|
const key = path.match(/(\S+)\/(\S+).ts/);
|
|
49823
|
-
if (itemize[key[2]])
|
|
49824
|
-
|
|
49823
|
+
if (itemize[key[2]]) {
|
|
49824
|
+
itemize[key[2]].push(lbmodules[path].default);
|
|
49825
|
+
} else itemize[key[2]] = lbmodules[path];
|
|
49825
49826
|
}
|
|
49826
49827
|
for (const path in tempmodel) {
|
|
49827
49828
|
const key = path.match(/(\S+)\/(\S+).ts/);
|