efaas-flow-design 1.0.0 → 1.0.3
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/efaas-flow-design.common.js +70 -564
- package/efaas-flow-design.umd.js +70 -564
- package/efaas-flow-design.umd.min.js +6 -6
- package/package.json +1 -1
package/efaas-flow-design.umd.js
CHANGED
|
@@ -15230,7 +15230,7 @@ function warnOnce(msg) {
|
|
|
15230
15230
|
* Original Utilities
|
|
15231
15231
|
* written by kazuya kawaguchi
|
|
15232
15232
|
*/
|
|
15233
|
-
const
|
|
15233
|
+
const shared_inBrowser = typeof window !== 'undefined';
|
|
15234
15234
|
let mark;
|
|
15235
15235
|
let measure;
|
|
15236
15236
|
if ((false)) // removed by dead control flow
|
|
@@ -15254,9 +15254,9 @@ const friendlyJSONstringify = (json) => JSON.stringify(json)
|
|
|
15254
15254
|
.replace(/\u2028/g, '\\u2028')
|
|
15255
15255
|
.replace(/\u2029/g, '\\u2029')
|
|
15256
15256
|
.replace(/\u0027/g, '\\u0027');
|
|
15257
|
-
const
|
|
15257
|
+
const shared_isNumber = (val) => typeof val === 'number' && isFinite(val);
|
|
15258
15258
|
const isDate = (val) => toTypeString(val) === '[object Date]';
|
|
15259
|
-
const
|
|
15259
|
+
const shared_isRegExp = (val) => toTypeString(val) === '[object RegExp]';
|
|
15260
15260
|
const isEmptyObject = (val) => shared_isPlainObject(val) && Object.keys(val).length === 0;
|
|
15261
15261
|
const shared_assign = Object.assign;
|
|
15262
15262
|
const _create = Object.create;
|
|
@@ -17144,10 +17144,10 @@ function formatMessagePart(ctx, node) {
|
|
|
17144
17144
|
}
|
|
17145
17145
|
case 5 /* NodeTypes.List */: {
|
|
17146
17146
|
const list = node;
|
|
17147
|
-
if (hasOwn(list, 'i') &&
|
|
17147
|
+
if (hasOwn(list, 'i') && shared_isNumber(list.i)) {
|
|
17148
17148
|
return ctx.interpolate(ctx.list(list.i));
|
|
17149
17149
|
}
|
|
17150
|
-
if (hasOwn(list, 'index') &&
|
|
17150
|
+
if (hasOwn(list, 'index') && shared_isNumber(list.index)) {
|
|
17151
17151
|
return ctx.interpolate(ctx.list(list.index));
|
|
17152
17152
|
}
|
|
17153
17153
|
throw createUnhandleNodeError(type);
|
|
@@ -17367,7 +17367,7 @@ function fallbackWithSimple(ctx, fallback, start) {
|
|
|
17367
17367
|
* @VueI18nGeneral
|
|
17368
17368
|
*/
|
|
17369
17369
|
function fallbackWithLocaleChain(ctx, fallback, start) {
|
|
17370
|
-
const startLocale = shared_isString(start) ? start :
|
|
17370
|
+
const startLocale = shared_isString(start) ? start : core_base_DEFAULT_LOCALE;
|
|
17371
17371
|
const context = ctx;
|
|
17372
17372
|
if (!context.__localeChainCache) {
|
|
17373
17373
|
context.__localeChainCache = new Map();
|
|
@@ -17744,7 +17744,7 @@ function getWarnMessage(code, ...args) {
|
|
|
17744
17744
|
*/
|
|
17745
17745
|
const VERSION = '11.2.7';
|
|
17746
17746
|
const NOT_REOSLVED = -1;
|
|
17747
|
-
const
|
|
17747
|
+
const core_base_DEFAULT_LOCALE = 'en-US';
|
|
17748
17748
|
const MISSING_RESOLVE_VALUE = '';
|
|
17749
17749
|
const capitalize = (str) => `${str.charAt(0).toLocaleUpperCase()}${str.substr(1)}`;
|
|
17750
17750
|
function getDefaultLinkedModifiers() {
|
|
@@ -17822,8 +17822,8 @@ function createCoreContext(options = {}) {
|
|
|
17822
17822
|
const version = shared_isString(options.version) ? options.version : VERSION;
|
|
17823
17823
|
const locale = shared_isString(options.locale) || shared_isFunction(options.locale)
|
|
17824
17824
|
? options.locale
|
|
17825
|
-
:
|
|
17826
|
-
const _locale = shared_isFunction(locale) ?
|
|
17825
|
+
: core_base_DEFAULT_LOCALE;
|
|
17826
|
+
const _locale = shared_isFunction(locale) ? core_base_DEFAULT_LOCALE : locale;
|
|
17827
17827
|
const fallbackLocale = shared_isArray(options.fallbackLocale) ||
|
|
17828
17828
|
shared_isPlainObject(options.fallbackLocale) ||
|
|
17829
17829
|
shared_isString(options.fallbackLocale) ||
|
|
@@ -17844,10 +17844,10 @@ function createCoreContext(options = {}) {
|
|
|
17844
17844
|
const modifiers = shared_assign(shared_create(), options.modifiers, getDefaultLinkedModifiers());
|
|
17845
17845
|
const pluralRules = options.pluralRules || shared_create();
|
|
17846
17846
|
const missing = shared_isFunction(options.missing) ? options.missing : null;
|
|
17847
|
-
const missingWarn = shared_isBoolean(options.missingWarn) ||
|
|
17847
|
+
const missingWarn = shared_isBoolean(options.missingWarn) || shared_isRegExp(options.missingWarn)
|
|
17848
17848
|
? options.missingWarn
|
|
17849
17849
|
: true;
|
|
17850
|
-
const fallbackWarn = shared_isBoolean(options.fallbackWarn) ||
|
|
17850
|
+
const fallbackWarn = shared_isBoolean(options.fallbackWarn) || shared_isRegExp(options.fallbackWarn)
|
|
17851
17851
|
? options.fallbackWarn
|
|
17852
17852
|
: true;
|
|
17853
17853
|
const fallbackFormat = !!options.fallbackFormat;
|
|
@@ -18098,7 +18098,7 @@ function parseDateTimeArgs(...args) {
|
|
|
18098
18098
|
}
|
|
18099
18099
|
value = arg1;
|
|
18100
18100
|
}
|
|
18101
|
-
else if (
|
|
18101
|
+
else if (shared_isNumber(arg1)) {
|
|
18102
18102
|
value = arg1;
|
|
18103
18103
|
}
|
|
18104
18104
|
else {
|
|
@@ -18225,7 +18225,7 @@ function parseNumberArgs(...args) {
|
|
|
18225
18225
|
const [arg1, arg2, arg3, arg4] = args;
|
|
18226
18226
|
const options = shared_create();
|
|
18227
18227
|
let overrides = shared_create();
|
|
18228
|
-
if (!
|
|
18228
|
+
if (!shared_isNumber(arg1)) {
|
|
18229
18229
|
throw createCoreError(CoreErrorCodes.INVALID_ARGUMENT);
|
|
18230
18230
|
}
|
|
18231
18231
|
const value = arg1;
|
|
@@ -18284,14 +18284,14 @@ function pluralDefault(choice, choicesLength) {
|
|
|
18284
18284
|
}
|
|
18285
18285
|
function getPluralIndex(options) {
|
|
18286
18286
|
// prettier-ignore
|
|
18287
|
-
const index =
|
|
18287
|
+
const index = shared_isNumber(options.pluralIndex)
|
|
18288
18288
|
? options.pluralIndex
|
|
18289
18289
|
: -1;
|
|
18290
18290
|
// prettier-ignore
|
|
18291
|
-
return options.named && (
|
|
18292
|
-
?
|
|
18291
|
+
return options.named && (shared_isNumber(options.named.count) || shared_isNumber(options.named.n))
|
|
18292
|
+
? shared_isNumber(options.named.count)
|
|
18293
18293
|
? options.named.count
|
|
18294
|
-
:
|
|
18294
|
+
: shared_isNumber(options.named.n)
|
|
18295
18295
|
? options.named.n
|
|
18296
18296
|
: index
|
|
18297
18297
|
: index;
|
|
@@ -18324,7 +18324,7 @@ function createMessageContext(options = {}) {
|
|
|
18324
18324
|
const list = (index) => _list[index];
|
|
18325
18325
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
18326
18326
|
const _named = options.named || shared_create();
|
|
18327
|
-
|
|
18327
|
+
shared_isNumber(options.pluralIndex) && normalizeNamed(pluralIndex, _named);
|
|
18328
18328
|
const named = (key) => _named[key];
|
|
18329
18329
|
function message(key, useLinked) {
|
|
18330
18330
|
// prettier-ignore
|
|
@@ -18616,18 +18616,18 @@ function parseTranslateArgs(...args) {
|
|
|
18616
18616
|
const [arg1, arg2, arg3] = args;
|
|
18617
18617
|
const options = shared_create();
|
|
18618
18618
|
if (!shared_isString(arg1) &&
|
|
18619
|
-
!
|
|
18619
|
+
!shared_isNumber(arg1) &&
|
|
18620
18620
|
!isMessageFunction(arg1) &&
|
|
18621
18621
|
!core_base_isMessageAST(arg1)) {
|
|
18622
18622
|
throw createCoreError(CoreErrorCodes.INVALID_ARGUMENT);
|
|
18623
18623
|
}
|
|
18624
18624
|
// prettier-ignore
|
|
18625
|
-
const key =
|
|
18625
|
+
const key = shared_isNumber(arg1)
|
|
18626
18626
|
? String(arg1)
|
|
18627
18627
|
: isMessageFunction(arg1)
|
|
18628
18628
|
? arg1
|
|
18629
18629
|
: arg1;
|
|
18630
|
-
if (
|
|
18630
|
+
if (shared_isNumber(arg2)) {
|
|
18631
18631
|
options.plural = arg2;
|
|
18632
18632
|
}
|
|
18633
18633
|
else if (shared_isString(arg2)) {
|
|
@@ -18639,7 +18639,7 @@ function parseTranslateArgs(...args) {
|
|
|
18639
18639
|
else if (shared_isArray(arg2)) {
|
|
18640
18640
|
options.list = arg2;
|
|
18641
18641
|
}
|
|
18642
|
-
if (
|
|
18642
|
+
if (shared_isNumber(arg3)) {
|
|
18643
18643
|
options.plural = arg3;
|
|
18644
18644
|
}
|
|
18645
18645
|
else if (shared_isString(arg3)) {
|
|
@@ -18719,7 +18719,7 @@ function getMessageContextOptions(context, locale, message, options) {
|
|
|
18719
18719
|
if (options.named) {
|
|
18720
18720
|
ctxOptions.named = options.named;
|
|
18721
18721
|
}
|
|
18722
|
-
if (
|
|
18722
|
+
if (shared_isNumber(options.plural)) {
|
|
18723
18723
|
ctxOptions.pluralIndex = options.plural;
|
|
18724
18724
|
}
|
|
18725
18725
|
return ctxOptions;
|
|
@@ -19049,7 +19049,7 @@ function createComposer(options = {}) {
|
|
|
19049
19049
|
const { __root, __injectWithOption } = options;
|
|
19050
19050
|
const _isGlobal = __root === undefined;
|
|
19051
19051
|
const flatJson = options.flatJson;
|
|
19052
|
-
const _ref =
|
|
19052
|
+
const _ref = shared_inBrowser ? external_commonjs_vue_commonjs2_vue_root_Vue_.ref : external_commonjs_vue_commonjs2_vue_root_Vue_.shallowRef;
|
|
19053
19053
|
let _inheritLocale = shared_isBoolean(options.inheritLocale)
|
|
19054
19054
|
? options.inheritLocale
|
|
19055
19055
|
: true;
|
|
@@ -19059,7 +19059,7 @@ function createComposer(options = {}) {
|
|
|
19059
19059
|
? __root.locale.value
|
|
19060
19060
|
: shared_isString(options.locale)
|
|
19061
19061
|
? options.locale
|
|
19062
|
-
:
|
|
19062
|
+
: core_base_DEFAULT_LOCALE);
|
|
19063
19063
|
const _fallbackLocale = _ref(
|
|
19064
19064
|
// prettier-ignore
|
|
19065
19065
|
__root && _inheritLocale
|
|
@@ -19085,13 +19085,13 @@ function createComposer(options = {}) {
|
|
|
19085
19085
|
// prettier-ignore
|
|
19086
19086
|
let _missingWarn = __root
|
|
19087
19087
|
? __root.missingWarn
|
|
19088
|
-
: shared_isBoolean(options.missingWarn) ||
|
|
19088
|
+
: shared_isBoolean(options.missingWarn) || shared_isRegExp(options.missingWarn)
|
|
19089
19089
|
? options.missingWarn
|
|
19090
19090
|
: true;
|
|
19091
19091
|
// prettier-ignore
|
|
19092
19092
|
let _fallbackWarn = __root
|
|
19093
19093
|
? __root.fallbackWarn
|
|
19094
|
-
: shared_isBoolean(options.fallbackWarn) ||
|
|
19094
|
+
: shared_isBoolean(options.fallbackWarn) || shared_isRegExp(options.fallbackWarn)
|
|
19095
19095
|
? options.fallbackWarn
|
|
19096
19096
|
: true;
|
|
19097
19097
|
// prettier-ignore
|
|
@@ -19251,7 +19251,7 @@ function createComposer(options = {}) {
|
|
|
19251
19251
|
}
|
|
19252
19252
|
}
|
|
19253
19253
|
if ((warnType !== 'translate exists' && // for not `te` (e.g `t`)
|
|
19254
|
-
|
|
19254
|
+
shared_isNumber(ret) &&
|
|
19255
19255
|
ret === NOT_REOSLVED) ||
|
|
19256
19256
|
(warnType === 'translate exists' && !ret) // for `te`
|
|
19257
19257
|
) {
|
|
@@ -19292,7 +19292,7 @@ function createComposer(options = {}) {
|
|
|
19292
19292
|
}
|
|
19293
19293
|
// for custom processor
|
|
19294
19294
|
function normalize(values) {
|
|
19295
|
-
return values.map(val => shared_isString(val) ||
|
|
19295
|
+
return values.map(val => shared_isString(val) || shared_isNumber(val) || shared_isBoolean(val)
|
|
19296
19296
|
? createTextNode(String(val))
|
|
19297
19297
|
: val);
|
|
19298
19298
|
}
|
|
@@ -19436,7 +19436,7 @@ function createComposer(options = {}) {
|
|
|
19436
19436
|
// for debug
|
|
19437
19437
|
composerID++;
|
|
19438
19438
|
// watch root locale & fallbackLocale
|
|
19439
|
-
if (__root &&
|
|
19439
|
+
if (__root && shared_inBrowser) {
|
|
19440
19440
|
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(__root.locale, (val) => {
|
|
19441
19441
|
if (_inheritLocale) {
|
|
19442
19442
|
_locale.value = val;
|
|
@@ -19945,43 +19945,43 @@ function editScope(payload, i18n) {
|
|
|
19945
19945
|
* @internal
|
|
19946
19946
|
*/
|
|
19947
19947
|
function convertComposerOptions(options) {
|
|
19948
|
-
const locale =
|
|
19949
|
-
const fallbackLocale =
|
|
19950
|
-
|
|
19951
|
-
|
|
19948
|
+
const locale = isString(options.locale) ? options.locale : DEFAULT_LOCALE;
|
|
19949
|
+
const fallbackLocale = isString(options.fallbackLocale) ||
|
|
19950
|
+
isArray(options.fallbackLocale) ||
|
|
19951
|
+
isPlainObject(options.fallbackLocale) ||
|
|
19952
19952
|
options.fallbackLocale === false
|
|
19953
19953
|
? options.fallbackLocale
|
|
19954
19954
|
: locale;
|
|
19955
|
-
const missing =
|
|
19956
|
-
const missingWarn =
|
|
19955
|
+
const missing = isFunction(options.missing) ? options.missing : undefined;
|
|
19956
|
+
const missingWarn = isBoolean(options.silentTranslationWarn) ||
|
|
19957
19957
|
isRegExp(options.silentTranslationWarn)
|
|
19958
19958
|
? !options.silentTranslationWarn
|
|
19959
19959
|
: true;
|
|
19960
|
-
const fallbackWarn =
|
|
19960
|
+
const fallbackWarn = isBoolean(options.silentFallbackWarn) ||
|
|
19961
19961
|
isRegExp(options.silentFallbackWarn)
|
|
19962
19962
|
? !options.silentFallbackWarn
|
|
19963
19963
|
: true;
|
|
19964
|
-
const fallbackRoot =
|
|
19964
|
+
const fallbackRoot = isBoolean(options.fallbackRoot)
|
|
19965
19965
|
? options.fallbackRoot
|
|
19966
19966
|
: true;
|
|
19967
19967
|
const fallbackFormat = !!options.formatFallbackMessages;
|
|
19968
|
-
const modifiers =
|
|
19968
|
+
const modifiers = isPlainObject(options.modifiers) ? options.modifiers : {};
|
|
19969
19969
|
const pluralizationRules = options.pluralizationRules;
|
|
19970
|
-
const postTranslation =
|
|
19970
|
+
const postTranslation = isFunction(options.postTranslation)
|
|
19971
19971
|
? options.postTranslation
|
|
19972
19972
|
: undefined;
|
|
19973
|
-
const warnHtmlMessage =
|
|
19973
|
+
const warnHtmlMessage = isString(options.warnHtmlInMessage)
|
|
19974
19974
|
? options.warnHtmlInMessage !== 'off'
|
|
19975
19975
|
: true;
|
|
19976
19976
|
const escapeParameter = !!options.escapeParameterHtml;
|
|
19977
|
-
const inheritLocale =
|
|
19977
|
+
const inheritLocale = isBoolean(options.sync) ? options.sync : true;
|
|
19978
19978
|
let messages = options.messages;
|
|
19979
|
-
if (
|
|
19979
|
+
if (isPlainObject(options.sharedMessages)) {
|
|
19980
19980
|
const sharedMessages = options.sharedMessages;
|
|
19981
19981
|
const locales = Object.keys(sharedMessages);
|
|
19982
19982
|
messages = locales.reduce((messages, locale) => {
|
|
19983
19983
|
const message = messages[locale] || (messages[locale] = {});
|
|
19984
|
-
|
|
19984
|
+
assign(message, sharedMessages[locale]);
|
|
19985
19985
|
return messages;
|
|
19986
19986
|
}, (messages || {}));
|
|
19987
19987
|
}
|
|
@@ -20066,21 +20066,21 @@ function createVueI18n(options = {}) {
|
|
|
20066
20066
|
},
|
|
20067
20067
|
// silentTranslationWarn
|
|
20068
20068
|
get silentTranslationWarn() {
|
|
20069
|
-
return
|
|
20069
|
+
return isBoolean(composer.missingWarn)
|
|
20070
20070
|
? !composer.missingWarn
|
|
20071
20071
|
: composer.missingWarn;
|
|
20072
20072
|
},
|
|
20073
20073
|
set silentTranslationWarn(val) {
|
|
20074
|
-
composer.missingWarn =
|
|
20074
|
+
composer.missingWarn = isBoolean(val) ? !val : val;
|
|
20075
20075
|
},
|
|
20076
20076
|
// silentFallbackWarn
|
|
20077
20077
|
get silentFallbackWarn() {
|
|
20078
|
-
return
|
|
20078
|
+
return isBoolean(composer.fallbackWarn)
|
|
20079
20079
|
? !composer.fallbackWarn
|
|
20080
20080
|
: composer.fallbackWarn;
|
|
20081
20081
|
},
|
|
20082
20082
|
set silentFallbackWarn(val) {
|
|
20083
|
-
composer.fallbackWarn =
|
|
20083
|
+
composer.fallbackWarn = isBoolean(val) ? !val : val;
|
|
20084
20084
|
},
|
|
20085
20085
|
// modifiers
|
|
20086
20086
|
get modifiers() {
|
|
@@ -20386,7 +20386,7 @@ const TranslationImpl = /*#__PURE__*/ (0,external_commonjs_vue_commonjs2_vue_roo
|
|
|
20386
20386
|
},
|
|
20387
20387
|
plural: {
|
|
20388
20388
|
type: [Number, String],
|
|
20389
|
-
validator: (val) =>
|
|
20389
|
+
validator: (val) => shared_isNumber(val) || !isNaN(val)
|
|
20390
20390
|
}
|
|
20391
20391
|
}, baseFormatProps),
|
|
20392
20392
|
/* eslint-enable */
|
|
@@ -20472,7 +20472,7 @@ const TranslationImpl = /*#__PURE__*/ (0,external_commonjs_vue_commonjs2_vue_roo
|
|
|
20472
20472
|
*
|
|
20473
20473
|
* @VueI18nComponent
|
|
20474
20474
|
*/
|
|
20475
|
-
const Translation = TranslationImpl;
|
|
20475
|
+
const Translation = (/* unused pure expression or super */ null && (TranslationImpl));
|
|
20476
20476
|
const I18nT = (/* unused pure expression or super */ null && (Translation));
|
|
20477
20477
|
|
|
20478
20478
|
function vue_i18n_isVNode(target) {
|
|
@@ -20573,7 +20573,7 @@ const NumberFormatImpl = /*#__PURE__*/ (0,external_commonjs_vue_commonjs2_vue_ro
|
|
|
20573
20573
|
*
|
|
20574
20574
|
* @VueI18nComponent
|
|
20575
20575
|
*/
|
|
20576
|
-
const NumberFormat = NumberFormatImpl;
|
|
20576
|
+
const NumberFormat = (/* unused pure expression or super */ null && (NumberFormatImpl));
|
|
20577
20577
|
const I18nN = (/* unused pure expression or super */ null && (NumberFormat));
|
|
20578
20578
|
|
|
20579
20579
|
function getComposer$1(i18n, instance) {
|
|
@@ -20611,7 +20611,7 @@ function vTDirective(i18n) {
|
|
|
20611
20611
|
const [textContent, composer] = _process(binding);
|
|
20612
20612
|
if (inBrowser && i18n.global === composer) {
|
|
20613
20613
|
// global scope only
|
|
20614
|
-
el.__i18nWatcher =
|
|
20614
|
+
el.__i18nWatcher = watch(composer.locale, () => {
|
|
20615
20615
|
binding.instance && binding.instance.$forceUpdate();
|
|
20616
20616
|
});
|
|
20617
20617
|
}
|
|
@@ -20650,10 +20650,10 @@ function vTDirective(i18n) {
|
|
|
20650
20650
|
};
|
|
20651
20651
|
}
|
|
20652
20652
|
function parseValue(value) {
|
|
20653
|
-
if (
|
|
20653
|
+
if (isString(value)) {
|
|
20654
20654
|
return { path: value };
|
|
20655
20655
|
}
|
|
20656
|
-
else if (
|
|
20656
|
+
else if (isPlainObject(value)) {
|
|
20657
20657
|
if (!('path' in value)) {
|
|
20658
20658
|
throw createI18nError(I18nErrorCodes.REQUIRED_VALUE, 'path');
|
|
20659
20659
|
}
|
|
@@ -20667,7 +20667,7 @@ function makeParams(value) {
|
|
|
20667
20667
|
const { path, locale, args, choice, plural } = value;
|
|
20668
20668
|
const options = {};
|
|
20669
20669
|
const named = args || {};
|
|
20670
|
-
if (
|
|
20670
|
+
if (isString(locale)) {
|
|
20671
20671
|
options.locale = locale;
|
|
20672
20672
|
}
|
|
20673
20673
|
if (isNumber(choice)) {
|
|
@@ -20680,10 +20680,10 @@ function makeParams(value) {
|
|
|
20680
20680
|
}
|
|
20681
20681
|
|
|
20682
20682
|
function apply(app, i18n, ...options) {
|
|
20683
|
-
const pluginOptions =
|
|
20683
|
+
const pluginOptions = isPlainObject(options[0])
|
|
20684
20684
|
? options[0]
|
|
20685
20685
|
: {};
|
|
20686
|
-
const globalInstall =
|
|
20686
|
+
const globalInstall = isBoolean(pluginOptions.globalInstall)
|
|
20687
20687
|
? pluginOptions.globalInstall
|
|
20688
20688
|
: true;
|
|
20689
20689
|
if (globalInstall) {
|
|
@@ -20711,18 +20711,18 @@ const I18nInjectionKey =
|
|
|
20711
20711
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
20712
20712
|
function createI18n(options = {}) {
|
|
20713
20713
|
// prettier-ignore
|
|
20714
|
-
const __legacyMode = __VUE_I18N_LEGACY_API__ &&
|
|
20714
|
+
const __legacyMode = __VUE_I18N_LEGACY_API__ && isBoolean(options.legacy)
|
|
20715
20715
|
? options.legacy
|
|
20716
20716
|
: __VUE_I18N_LEGACY_API__;
|
|
20717
20717
|
if (false) // removed by dead control flow
|
|
20718
20718
|
{}
|
|
20719
20719
|
// prettier-ignore
|
|
20720
|
-
const __globalInjection =
|
|
20720
|
+
const __globalInjection = isBoolean(options.globalInjection)
|
|
20721
20721
|
? options.globalInjection
|
|
20722
20722
|
: true;
|
|
20723
20723
|
const __instances = new Map();
|
|
20724
20724
|
const [globalScope, __global] = createGlobal(options, __legacyMode);
|
|
20725
|
-
const symbol = /* #__PURE__*/
|
|
20725
|
+
const symbol = /* #__PURE__*/ makeSymbol(( false) ? 0 : '');
|
|
20726
20726
|
function __getInstance(component) {
|
|
20727
20727
|
return __instances.get(component) || null;
|
|
20728
20728
|
}
|
|
@@ -20747,7 +20747,7 @@ function createI18n(options = {}) {
|
|
|
20747
20747
|
app.__VUE_I18N_SYMBOL__ = symbol;
|
|
20748
20748
|
app.provide(app.__VUE_I18N_SYMBOL__, i18n);
|
|
20749
20749
|
// set composer & vuei18n extend hook options from plugin options
|
|
20750
|
-
if (
|
|
20750
|
+
if (isPlainObject(options[0])) {
|
|
20751
20751
|
const opts = options[0];
|
|
20752
20752
|
i18n.__composerExtend =
|
|
20753
20753
|
opts.__composerExtend;
|
|
@@ -20849,7 +20849,7 @@ function useI18n(options = {}) {
|
|
|
20849
20849
|
return composer;
|
|
20850
20850
|
}
|
|
20851
20851
|
function createGlobal(options, legacyMode) {
|
|
20852
|
-
const scope =
|
|
20852
|
+
const scope = effectScope();
|
|
20853
20853
|
const obj = __VUE_I18N_LEGACY_API__ && legacyMode
|
|
20854
20854
|
? scope.run(() => createVueI18n(options))
|
|
20855
20855
|
: scope.run(() => createComposer(options));
|
|
@@ -20952,12 +20952,12 @@ function setupLifeCycle(i18n, target, composer) {
|
|
|
20952
20952
|
}
|
|
20953
20953
|
}, target);
|
|
20954
20954
|
}
|
|
20955
|
-
const globalExportProps = [
|
|
20955
|
+
const globalExportProps = (/* unused pure expression or super */ null && ([
|
|
20956
20956
|
'locale',
|
|
20957
20957
|
'fallbackLocale',
|
|
20958
20958
|
'availableLocales'
|
|
20959
|
-
];
|
|
20960
|
-
const globalExportMethods = ['t', 'rt', 'd', 'n', 'tm', 'te']
|
|
20959
|
+
]));
|
|
20960
|
+
const globalExportMethods = (/* unused pure expression or super */ null && (['t', 'rt', 'd', 'n', 'tm', 'te']))
|
|
20961
20961
|
;
|
|
20962
20962
|
function injectGlobalFields(app, composer) {
|
|
20963
20963
|
const i18n = Object.create(null);
|
|
@@ -20966,7 +20966,7 @@ function injectGlobalFields(app, composer) {
|
|
|
20966
20966
|
if (!desc) {
|
|
20967
20967
|
throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);
|
|
20968
20968
|
}
|
|
20969
|
-
const wrap =
|
|
20969
|
+
const wrap = isRef(desc.value) // check computed props
|
|
20970
20970
|
? {
|
|
20971
20971
|
get() {
|
|
20972
20972
|
return desc.value.value;
|
|
@@ -21044,7 +21044,7 @@ const DatetimeFormatImpl = /* #__PURE__*/ (0,external_commonjs_vue_commonjs2_vue
|
|
|
21044
21044
|
*
|
|
21045
21045
|
* @VueI18nComponent
|
|
21046
21046
|
*/
|
|
21047
|
-
const DatetimeFormat = DatetimeFormatImpl;
|
|
21047
|
+
const DatetimeFormat = (/* unused pure expression or super */ null && (DatetimeFormatImpl));
|
|
21048
21048
|
const I18nD = (/* unused pure expression or super */ null && (DatetimeFormat));
|
|
21049
21049
|
|
|
21050
21050
|
{
|
|
@@ -46054,499 +46054,6 @@ const FlowNode_Event_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(Flo
|
|
|
46054
46054
|
const FlowNode_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(FlowNodevue_type_script_lang_js, [['render',FlowNodevue_type_template_id_a9d2a7a0_render]])
|
|
46055
46055
|
|
|
46056
46056
|
/* harmony default export */ var FlowNode = (FlowNode_exports_);
|
|
46057
|
-
;// ./node_modules/ant-design-vue/es/vc-pagination/locale/zh_CN.js
|
|
46058
|
-
/* harmony default export */ var zh_CN = ({
|
|
46059
|
-
// Options.jsx
|
|
46060
|
-
items_per_page: '条/页',
|
|
46061
|
-
jump_to: '跳至',
|
|
46062
|
-
jump_to_confirm: '确定',
|
|
46063
|
-
page: '页',
|
|
46064
|
-
// Pagination.jsx
|
|
46065
|
-
prev_page: '上一页',
|
|
46066
|
-
next_page: '下一页',
|
|
46067
|
-
prev_5: '向前 5 页',
|
|
46068
|
-
next_5: '向后 5 页',
|
|
46069
|
-
prev_3: '向前 3 页',
|
|
46070
|
-
next_3: '向后 3 页'
|
|
46071
|
-
});
|
|
46072
|
-
;// ./node_modules/ant-design-vue/es/vc-picker/locale/zh_CN.js
|
|
46073
|
-
var zh_CN_locale = {
|
|
46074
|
-
locale: 'zh_CN',
|
|
46075
|
-
today: '今天',
|
|
46076
|
-
now: '此刻',
|
|
46077
|
-
backToToday: '返回今天',
|
|
46078
|
-
ok: '确定',
|
|
46079
|
-
timeSelect: '选择时间',
|
|
46080
|
-
dateSelect: '选择日期',
|
|
46081
|
-
weekSelect: '选择周',
|
|
46082
|
-
clear: '清除',
|
|
46083
|
-
month: '月',
|
|
46084
|
-
year: '年',
|
|
46085
|
-
previousMonth: '上个月 (翻页上键)',
|
|
46086
|
-
nextMonth: '下个月 (翻页下键)',
|
|
46087
|
-
monthSelect: '选择月份',
|
|
46088
|
-
yearSelect: '选择年份',
|
|
46089
|
-
decadeSelect: '选择年代',
|
|
46090
|
-
yearFormat: 'YYYY年',
|
|
46091
|
-
dayFormat: 'D日',
|
|
46092
|
-
dateFormat: 'YYYY年M月D日',
|
|
46093
|
-
dateTimeFormat: 'YYYY年M月D日 HH时mm分ss秒',
|
|
46094
|
-
previousYear: '上一年 (Control键加左方向键)',
|
|
46095
|
-
nextYear: '下一年 (Control键加右方向键)',
|
|
46096
|
-
previousDecade: '上一年代',
|
|
46097
|
-
nextDecade: '下一年代',
|
|
46098
|
-
previousCentury: '上一世纪',
|
|
46099
|
-
nextCentury: '下一世纪'
|
|
46100
|
-
};
|
|
46101
|
-
/* harmony default export */ var locale_zh_CN = (zh_CN_locale);
|
|
46102
|
-
;// ./node_modules/ant-design-vue/es/time-picker/locale/zh_CN.js
|
|
46103
|
-
var locale_zh_CN_locale = {
|
|
46104
|
-
placeholder: '请选择时间',
|
|
46105
|
-
rangePlaceholder: ['开始时间', '结束时间']
|
|
46106
|
-
};
|
|
46107
|
-
/* harmony default export */ var time_picker_locale_zh_CN = (locale_zh_CN_locale);
|
|
46108
|
-
;// ./node_modules/ant-design-vue/es/date-picker/locale/zh_CN.js
|
|
46109
|
-
|
|
46110
|
-
|
|
46111
|
-
|
|
46112
|
-
// 统一合并为完整的 Locale
|
|
46113
|
-
var date_picker_locale_zh_CN_locale = {
|
|
46114
|
-
lang: _objectSpread2({
|
|
46115
|
-
placeholder: '请选择日期',
|
|
46116
|
-
yearPlaceholder: '请选择年份',
|
|
46117
|
-
quarterPlaceholder: '请选择季度',
|
|
46118
|
-
monthPlaceholder: '请选择月份',
|
|
46119
|
-
weekPlaceholder: '请选择周',
|
|
46120
|
-
rangePlaceholder: ['开始日期', '结束日期'],
|
|
46121
|
-
rangeYearPlaceholder: ['开始年份', '结束年份'],
|
|
46122
|
-
rangeMonthPlaceholder: ['开始月份', '结束月份'],
|
|
46123
|
-
rangeQuarterPlaceholder: ['开始季度', '结束季度'],
|
|
46124
|
-
rangeWeekPlaceholder: ['开始周', '结束周']
|
|
46125
|
-
}, locale_zh_CN),
|
|
46126
|
-
timePickerLocale: _objectSpread2({}, time_picker_locale_zh_CN)
|
|
46127
|
-
};
|
|
46128
|
-
// should add whitespace between char in Button
|
|
46129
|
-
date_picker_locale_zh_CN_locale.lang.ok = '确定';
|
|
46130
|
-
// All settings at:
|
|
46131
|
-
// https://github.com/ant-design/ant-design/blob/master/components/date-picker/locale/example.json
|
|
46132
|
-
/* harmony default export */ var date_picker_locale_zh_CN = (date_picker_locale_zh_CN_locale);
|
|
46133
|
-
;// ./node_modules/ant-design-vue/es/calendar/locale/zh_CN.js
|
|
46134
|
-
|
|
46135
|
-
/* harmony default export */ var calendar_locale_zh_CN = (date_picker_locale_zh_CN);
|
|
46136
|
-
;// ./node_modules/ant-design-vue/es/locale/zh_CN.js
|
|
46137
|
-
/* eslint-disable no-template-curly-in-string */
|
|
46138
|
-
|
|
46139
|
-
|
|
46140
|
-
|
|
46141
|
-
|
|
46142
|
-
var zh_CN_typeTemplate = '${label}不是一个有效的${type}';
|
|
46143
|
-
var zh_CN_localeValues = {
|
|
46144
|
-
locale: 'zh-cn',
|
|
46145
|
-
Pagination: zh_CN,
|
|
46146
|
-
DatePicker: date_picker_locale_zh_CN,
|
|
46147
|
-
TimePicker: time_picker_locale_zh_CN,
|
|
46148
|
-
Calendar: calendar_locale_zh_CN,
|
|
46149
|
-
// locales for all components
|
|
46150
|
-
global: {
|
|
46151
|
-
placeholder: '请选择'
|
|
46152
|
-
},
|
|
46153
|
-
Table: {
|
|
46154
|
-
filterTitle: '筛选',
|
|
46155
|
-
filterConfirm: '确定',
|
|
46156
|
-
filterReset: '重置',
|
|
46157
|
-
filterEmptyText: '无筛选项',
|
|
46158
|
-
filterCheckall: '全选',
|
|
46159
|
-
filterSearchPlaceholder: '在筛选项中搜索',
|
|
46160
|
-
selectAll: '全选当页',
|
|
46161
|
-
selectInvert: '反选当页',
|
|
46162
|
-
selectNone: '清空所有',
|
|
46163
|
-
selectionAll: '全选所有',
|
|
46164
|
-
sortTitle: '排序',
|
|
46165
|
-
expand: '展开行',
|
|
46166
|
-
collapse: '关闭行',
|
|
46167
|
-
triggerDesc: '点击降序',
|
|
46168
|
-
triggerAsc: '点击升序',
|
|
46169
|
-
cancelSort: '取消排序'
|
|
46170
|
-
},
|
|
46171
|
-
Modal: {
|
|
46172
|
-
okText: '确定',
|
|
46173
|
-
cancelText: '取消',
|
|
46174
|
-
justOkText: '知道了'
|
|
46175
|
-
},
|
|
46176
|
-
Popconfirm: {
|
|
46177
|
-
cancelText: '取消',
|
|
46178
|
-
okText: '确定'
|
|
46179
|
-
},
|
|
46180
|
-
Transfer: {
|
|
46181
|
-
searchPlaceholder: '请输入搜索内容',
|
|
46182
|
-
itemUnit: '项',
|
|
46183
|
-
itemsUnit: '项',
|
|
46184
|
-
remove: '删除',
|
|
46185
|
-
selectCurrent: '全选当页',
|
|
46186
|
-
removeCurrent: '删除当页',
|
|
46187
|
-
selectAll: '全选所有',
|
|
46188
|
-
removeAll: '删除全部',
|
|
46189
|
-
selectInvert: '反选当页'
|
|
46190
|
-
},
|
|
46191
|
-
Upload: {
|
|
46192
|
-
uploading: '文件上传中',
|
|
46193
|
-
removeFile: '删除文件',
|
|
46194
|
-
uploadError: '上传错误',
|
|
46195
|
-
previewFile: '预览文件',
|
|
46196
|
-
downloadFile: '下载文件'
|
|
46197
|
-
},
|
|
46198
|
-
Empty: {
|
|
46199
|
-
description: '暂无数据'
|
|
46200
|
-
},
|
|
46201
|
-
Icon: {
|
|
46202
|
-
icon: '图标'
|
|
46203
|
-
},
|
|
46204
|
-
Text: {
|
|
46205
|
-
edit: '编辑',
|
|
46206
|
-
copy: '复制',
|
|
46207
|
-
copied: '复制成功',
|
|
46208
|
-
expand: '展开'
|
|
46209
|
-
},
|
|
46210
|
-
PageHeader: {
|
|
46211
|
-
back: '返回'
|
|
46212
|
-
},
|
|
46213
|
-
Form: {
|
|
46214
|
-
optional: '(可选)',
|
|
46215
|
-
defaultValidateMessages: {
|
|
46216
|
-
default: '字段验证错误${label}',
|
|
46217
|
-
required: '请输入${label}',
|
|
46218
|
-
enum: '${label}必须是其中一个[${enum}]',
|
|
46219
|
-
whitespace: '${label}不能为空字符',
|
|
46220
|
-
date: {
|
|
46221
|
-
format: '${label}日期格式无效',
|
|
46222
|
-
parse: '${label}不能转换为日期',
|
|
46223
|
-
invalid: '${label}是一个无效日期'
|
|
46224
|
-
},
|
|
46225
|
-
types: {
|
|
46226
|
-
string: zh_CN_typeTemplate,
|
|
46227
|
-
method: zh_CN_typeTemplate,
|
|
46228
|
-
array: zh_CN_typeTemplate,
|
|
46229
|
-
object: zh_CN_typeTemplate,
|
|
46230
|
-
number: zh_CN_typeTemplate,
|
|
46231
|
-
date: zh_CN_typeTemplate,
|
|
46232
|
-
boolean: zh_CN_typeTemplate,
|
|
46233
|
-
integer: zh_CN_typeTemplate,
|
|
46234
|
-
float: zh_CN_typeTemplate,
|
|
46235
|
-
regexp: zh_CN_typeTemplate,
|
|
46236
|
-
email: zh_CN_typeTemplate,
|
|
46237
|
-
url: zh_CN_typeTemplate,
|
|
46238
|
-
hex: zh_CN_typeTemplate
|
|
46239
|
-
},
|
|
46240
|
-
string: {
|
|
46241
|
-
len: '${label}须为${len}个字符',
|
|
46242
|
-
min: '${label}最少${min}个字符',
|
|
46243
|
-
max: '${label}最多${max}个字符',
|
|
46244
|
-
range: '${label}须在${min}-${max}字符之间'
|
|
46245
|
-
},
|
|
46246
|
-
number: {
|
|
46247
|
-
len: '${label}必须等于${len}',
|
|
46248
|
-
min: '${label}最小值为${min}',
|
|
46249
|
-
max: '${label}最大值为${max}',
|
|
46250
|
-
range: '${label}须在${min}-${max}之间'
|
|
46251
|
-
},
|
|
46252
|
-
array: {
|
|
46253
|
-
len: '须为${len}个${label}',
|
|
46254
|
-
min: '最少${min}个${label}',
|
|
46255
|
-
max: '最多${max}个${label}',
|
|
46256
|
-
range: '${label}数量须在${min}-${max}之间'
|
|
46257
|
-
},
|
|
46258
|
-
pattern: {
|
|
46259
|
-
mismatch: '${label}与模式不匹配${pattern}'
|
|
46260
|
-
}
|
|
46261
|
-
}
|
|
46262
|
-
},
|
|
46263
|
-
Image: {
|
|
46264
|
-
preview: '预览'
|
|
46265
|
-
}
|
|
46266
|
-
};
|
|
46267
|
-
/* harmony default export */ var es_locale_zh_CN = (zh_CN_localeValues);
|
|
46268
|
-
;// ./node_modules/ant-design-vue/es/vc-pagination/locale/en_GB.js
|
|
46269
|
-
/* harmony default export */ var en_GB = ({
|
|
46270
|
-
// Options.jsx
|
|
46271
|
-
items_per_page: '/ page',
|
|
46272
|
-
jump_to: 'Go to',
|
|
46273
|
-
jump_to_confirm: 'confirm',
|
|
46274
|
-
page: '',
|
|
46275
|
-
// Pagination.jsx
|
|
46276
|
-
prev_page: 'Previous Page',
|
|
46277
|
-
next_page: 'Next Page',
|
|
46278
|
-
prev_5: 'Previous 5 Pages',
|
|
46279
|
-
next_5: 'Next 5 Pages',
|
|
46280
|
-
prev_3: 'Previous 3 Pages',
|
|
46281
|
-
next_3: 'Next 3 Pages'
|
|
46282
|
-
});
|
|
46283
|
-
;// ./node_modules/ant-design-vue/es/vc-picker/locale/en_GB.js
|
|
46284
|
-
var en_GB_locale = {
|
|
46285
|
-
locale: 'en_GB',
|
|
46286
|
-
today: 'Today',
|
|
46287
|
-
now: 'Now',
|
|
46288
|
-
backToToday: 'Back to today',
|
|
46289
|
-
ok: 'Ok',
|
|
46290
|
-
clear: 'Clear',
|
|
46291
|
-
month: 'Month',
|
|
46292
|
-
year: 'Year',
|
|
46293
|
-
timeSelect: 'Select time',
|
|
46294
|
-
dateSelect: 'Select date',
|
|
46295
|
-
monthSelect: 'Choose a month',
|
|
46296
|
-
yearSelect: 'Choose a year',
|
|
46297
|
-
decadeSelect: 'Choose a decade',
|
|
46298
|
-
yearFormat: 'YYYY',
|
|
46299
|
-
dateFormat: 'D/M/YYYY',
|
|
46300
|
-
dayFormat: 'D',
|
|
46301
|
-
dateTimeFormat: 'D/M/YYYY HH:mm:ss',
|
|
46302
|
-
monthBeforeYear: true,
|
|
46303
|
-
previousMonth: 'Previous month (PageUp)',
|
|
46304
|
-
nextMonth: 'Next month (PageDown)',
|
|
46305
|
-
previousYear: 'Last year (Control + left)',
|
|
46306
|
-
nextYear: 'Next year (Control + right)',
|
|
46307
|
-
previousDecade: 'Last decade',
|
|
46308
|
-
nextDecade: 'Next decade',
|
|
46309
|
-
previousCentury: 'Last century',
|
|
46310
|
-
nextCentury: 'Next century'
|
|
46311
|
-
};
|
|
46312
|
-
/* harmony default export */ var locale_en_GB = (en_GB_locale);
|
|
46313
|
-
;// ./node_modules/ant-design-vue/es/time-picker/locale/en_GB.js
|
|
46314
|
-
var locale_en_GB_locale = {
|
|
46315
|
-
placeholder: 'Select time'
|
|
46316
|
-
};
|
|
46317
|
-
/* harmony default export */ var time_picker_locale_en_GB = (locale_en_GB_locale);
|
|
46318
|
-
;// ./node_modules/ant-design-vue/es/date-picker/locale/en_GB.js
|
|
46319
|
-
|
|
46320
|
-
|
|
46321
|
-
|
|
46322
|
-
// Merge into a locale object
|
|
46323
|
-
var date_picker_locale_en_GB_locale = {
|
|
46324
|
-
lang: _objectSpread2({
|
|
46325
|
-
placeholder: 'Select date',
|
|
46326
|
-
yearPlaceholder: 'Select year',
|
|
46327
|
-
quarterPlaceholder: 'Select quarter',
|
|
46328
|
-
monthPlaceholder: 'Select month',
|
|
46329
|
-
weekPlaceholder: 'Select week',
|
|
46330
|
-
rangePlaceholder: ['Start date', 'End date'],
|
|
46331
|
-
rangeYearPlaceholder: ['Start year', 'End year'],
|
|
46332
|
-
rangeQuarterPlaceholder: ['Start quarter', 'End quarter'],
|
|
46333
|
-
rangeMonthPlaceholder: ['Start month', 'End month'],
|
|
46334
|
-
rangeWeekPlaceholder: ['Start week', 'End week']
|
|
46335
|
-
}, locale_en_GB),
|
|
46336
|
-
timePickerLocale: _objectSpread2({}, time_picker_locale_en_GB)
|
|
46337
|
-
};
|
|
46338
|
-
// All settings at:
|
|
46339
|
-
// https://github.com/ant-design/ant-design/blob/master/components/date-picker/locale/example.json
|
|
46340
|
-
/* harmony default export */ var date_picker_locale_en_GB = (date_picker_locale_en_GB_locale);
|
|
46341
|
-
;// ./node_modules/ant-design-vue/es/calendar/locale/en_GB.js
|
|
46342
|
-
|
|
46343
|
-
/* harmony default export */ var calendar_locale_en_GB = (date_picker_locale_en_GB);
|
|
46344
|
-
;// ./node_modules/ant-design-vue/es/locale/en_GB.js
|
|
46345
|
-
/* eslint-disable no-template-curly-in-string */
|
|
46346
|
-
|
|
46347
|
-
|
|
46348
|
-
|
|
46349
|
-
|
|
46350
|
-
var en_GB_typeTemplate = '${label} is not a valid ${type}';
|
|
46351
|
-
var en_GB_localeValues = {
|
|
46352
|
-
locale: 'en-gb',
|
|
46353
|
-
Pagination: en_GB,
|
|
46354
|
-
DatePicker: date_picker_locale_en_GB,
|
|
46355
|
-
TimePicker: time_picker_locale_en_GB,
|
|
46356
|
-
Calendar: calendar_locale_en_GB,
|
|
46357
|
-
Table: {
|
|
46358
|
-
filterTitle: 'Filter menu',
|
|
46359
|
-
filterConfirm: 'OK',
|
|
46360
|
-
filterReset: 'Reset',
|
|
46361
|
-
filterEmptyText: 'No filters',
|
|
46362
|
-
emptyText: 'No data',
|
|
46363
|
-
selectAll: 'Select current page',
|
|
46364
|
-
selectInvert: 'Invert current page',
|
|
46365
|
-
selectNone: 'Clear all data',
|
|
46366
|
-
selectionAll: 'Select all data',
|
|
46367
|
-
sortTitle: 'Sort',
|
|
46368
|
-
expand: 'Expand row',
|
|
46369
|
-
collapse: 'Collapse row',
|
|
46370
|
-
triggerDesc: 'Click to sort descending',
|
|
46371
|
-
triggerAsc: 'Click to sort ascending',
|
|
46372
|
-
cancelSort: 'Click to cancel sorting'
|
|
46373
|
-
},
|
|
46374
|
-
Modal: {
|
|
46375
|
-
okText: 'OK',
|
|
46376
|
-
cancelText: 'Cancel',
|
|
46377
|
-
justOkText: 'OK'
|
|
46378
|
-
},
|
|
46379
|
-
Popconfirm: {
|
|
46380
|
-
okText: 'OK',
|
|
46381
|
-
cancelText: 'Cancel'
|
|
46382
|
-
},
|
|
46383
|
-
Transfer: {
|
|
46384
|
-
searchPlaceholder: 'Search here',
|
|
46385
|
-
itemUnit: 'item',
|
|
46386
|
-
itemsUnit: 'items'
|
|
46387
|
-
},
|
|
46388
|
-
Upload: {
|
|
46389
|
-
uploading: 'Uploading...',
|
|
46390
|
-
removeFile: 'Remove file',
|
|
46391
|
-
uploadError: 'Upload error',
|
|
46392
|
-
previewFile: 'Preview file',
|
|
46393
|
-
downloadFile: 'Download file'
|
|
46394
|
-
},
|
|
46395
|
-
Empty: {
|
|
46396
|
-
description: 'No data'
|
|
46397
|
-
},
|
|
46398
|
-
Form: {
|
|
46399
|
-
defaultValidateMessages: {
|
|
46400
|
-
default: 'Field validation error for ${label}',
|
|
46401
|
-
required: 'Please enter ${label}',
|
|
46402
|
-
enum: '${label} must be one of [${enum}]',
|
|
46403
|
-
whitespace: '${label} cannot be a blank character',
|
|
46404
|
-
date: {
|
|
46405
|
-
format: '${label} date format is invalid',
|
|
46406
|
-
parse: '${label} cannot be converted to a date',
|
|
46407
|
-
invalid: '${label} is an invalid date'
|
|
46408
|
-
},
|
|
46409
|
-
types: {
|
|
46410
|
-
string: en_GB_typeTemplate,
|
|
46411
|
-
method: en_GB_typeTemplate,
|
|
46412
|
-
array: en_GB_typeTemplate,
|
|
46413
|
-
object: en_GB_typeTemplate,
|
|
46414
|
-
number: en_GB_typeTemplate,
|
|
46415
|
-
date: en_GB_typeTemplate,
|
|
46416
|
-
boolean: en_GB_typeTemplate,
|
|
46417
|
-
integer: en_GB_typeTemplate,
|
|
46418
|
-
float: en_GB_typeTemplate,
|
|
46419
|
-
regexp: en_GB_typeTemplate,
|
|
46420
|
-
email: en_GB_typeTemplate,
|
|
46421
|
-
url: en_GB_typeTemplate,
|
|
46422
|
-
hex: en_GB_typeTemplate
|
|
46423
|
-
},
|
|
46424
|
-
string: {
|
|
46425
|
-
len: '${label} must be ${len} characters',
|
|
46426
|
-
min: '${label} must be at least ${min} characters',
|
|
46427
|
-
max: '${label} must be up to ${max} characters',
|
|
46428
|
-
range: '${label} must be between ${min}-${max} characters'
|
|
46429
|
-
},
|
|
46430
|
-
number: {
|
|
46431
|
-
len: '${label} must be equal to ${len}',
|
|
46432
|
-
min: '${label} must be minimum ${min}',
|
|
46433
|
-
max: '${label} must be maximum ${max}',
|
|
46434
|
-
range: '${label} must be between ${min}-${max}'
|
|
46435
|
-
},
|
|
46436
|
-
array: {
|
|
46437
|
-
len: 'Must be ${len} ${label}',
|
|
46438
|
-
min: 'At least ${min} ${label}',
|
|
46439
|
-
max: 'At most ${max} ${label}',
|
|
46440
|
-
range: 'The amount of ${label} must be between ${min}-${max}'
|
|
46441
|
-
},
|
|
46442
|
-
pattern: {
|
|
46443
|
-
mismatch: '${label} does not match the pattern ${pattern}'
|
|
46444
|
-
}
|
|
46445
|
-
}
|
|
46446
|
-
}
|
|
46447
|
-
};
|
|
46448
|
-
/* harmony default export */ var es_locale_en_GB = (en_GB_localeValues);
|
|
46449
|
-
;// ./packages/locales/lang/zh-cn.js
|
|
46450
|
-
/* harmony default export */ var zh_cn = ({
|
|
46451
|
-
common: {
|
|
46452
|
-
start: '开始',
|
|
46453
|
-
form: '表单',
|
|
46454
|
-
edit: '编辑',
|
|
46455
|
-
readonly: '只读',
|
|
46456
|
-
hide: '隐藏',
|
|
46457
|
-
approvalNode: '审批节点',
|
|
46458
|
-
branchNode: '分支节点',
|
|
46459
|
-
parallelNode: '并行节点',
|
|
46460
|
-
delete: '删除',
|
|
46461
|
-
cancel: '取消',
|
|
46462
|
-
branch: '分支',
|
|
46463
|
-
parallel: '并行',
|
|
46464
|
-
otherCondition: '任意(其他)'
|
|
46465
|
-
},
|
|
46466
|
-
node: {
|
|
46467
|
-
write: {
|
|
46468
|
-
startPerson: '发起人',
|
|
46469
|
-
startNode: '发起人节点'
|
|
46470
|
-
},
|
|
46471
|
-
approver: {
|
|
46472
|
-
approver: '审批人',
|
|
46473
|
-
settingNode: '设置此节点',
|
|
46474
|
-
handler: '办理人',
|
|
46475
|
-
superior: '直属上级',
|
|
46476
|
-
member: '指定成员',
|
|
46477
|
-
prompt: '提示:',
|
|
46478
|
-
approvalDesc: '若审批人离职,会自动转交给审批人的上级代为处理',
|
|
46479
|
-
approvalSet: '审批设置',
|
|
46480
|
-
approvalMode: '审批方式',
|
|
46481
|
-
inTurn: '依次审批(一人通过再到下一个人处理)',
|
|
46482
|
-
counterSign1: '多人会签(所有人都通过才到下一个环节)',
|
|
46483
|
-
counterSign2: '多人会签(通过只需一人,否决需全员)',
|
|
46484
|
-
orSign: '多人或签(一人通过或否决)'
|
|
46485
|
-
}
|
|
46486
|
-
}
|
|
46487
|
-
});
|
|
46488
|
-
;// ./packages/locales/lang/en.js
|
|
46489
|
-
/* harmony default export */ var en = ({
|
|
46490
|
-
common: {
|
|
46491
|
-
start: 'Start',
|
|
46492
|
-
form: 'Form',
|
|
46493
|
-
edit: 'Edit',
|
|
46494
|
-
readonly: 'Readonly',
|
|
46495
|
-
hidden: 'Hidden',
|
|
46496
|
-
approvalNode: 'Approval',
|
|
46497
|
-
branchNode: 'Branch',
|
|
46498
|
-
parallelNode: 'Parallel',
|
|
46499
|
-
delete: 'Delete',
|
|
46500
|
-
cancel: 'Cancel',
|
|
46501
|
-
branch: 'Branch',
|
|
46502
|
-
parallel: 'Parallel',
|
|
46503
|
-
otherCondition: 'Any (other)'
|
|
46504
|
-
},
|
|
46505
|
-
node: {
|
|
46506
|
-
write: {
|
|
46507
|
-
startPerson: 'initiator',
|
|
46508
|
-
startNode: 'initiatorNode'
|
|
46509
|
-
},
|
|
46510
|
-
approver: {
|
|
46511
|
-
approver: 'Approver',
|
|
46512
|
-
settingNode: 'Setting',
|
|
46513
|
-
handler: 'Handler',
|
|
46514
|
-
superior: 'Superior',
|
|
46515
|
-
member: 'Member',
|
|
46516
|
-
prompt: 'Prompt:',
|
|
46517
|
-
approvalDesc: 'If the approver resigns, it will be automatically handed over to the approver superior for handling on their behalf',
|
|
46518
|
-
approvalSet: 'Approval Set',
|
|
46519
|
-
approvalMode: 'Approval Mode',
|
|
46520
|
-
inTurn: 'Approval in sequence',
|
|
46521
|
-
counterSign1: 'Counter Sign All',
|
|
46522
|
-
counterSign2: 'Counter Sign One',
|
|
46523
|
-
orSign: 'Or Sign'
|
|
46524
|
-
}
|
|
46525
|
-
}
|
|
46526
|
-
});
|
|
46527
|
-
;// ./packages/locales/index.js
|
|
46528
|
-
|
|
46529
|
-
|
|
46530
|
-
|
|
46531
|
-
|
|
46532
|
-
|
|
46533
|
-
const messages = {
|
|
46534
|
-
'zh-cn': {
|
|
46535
|
-
lang: es_locale_zh_CN,
|
|
46536
|
-
...zh_cn
|
|
46537
|
-
},
|
|
46538
|
-
en: {
|
|
46539
|
-
lang: es_locale_en_GB,
|
|
46540
|
-
...en
|
|
46541
|
-
}
|
|
46542
|
-
};
|
|
46543
|
-
const i18n = createI18n({
|
|
46544
|
-
legacy: false,
|
|
46545
|
-
fallbackLocale: 'zh-cn',
|
|
46546
|
-
globalInjection: true,
|
|
46547
|
-
messages
|
|
46548
|
-
});
|
|
46549
|
-
/* harmony default export */ var locales = (i18n);
|
|
46550
46057
|
;// ./packages/mini.js
|
|
46551
46058
|
// 导入样式
|
|
46552
46059
|
|
|
@@ -46555,7 +46062,7 @@ const i18n = createI18n({
|
|
|
46555
46062
|
|
|
46556
46063
|
|
|
46557
46064
|
|
|
46558
|
-
|
|
46065
|
+
// import i18n from './locales'
|
|
46559
46066
|
const components = [BasicInfo, FlowDesign, FlowNode];
|
|
46560
46067
|
const install = function (app) {
|
|
46561
46068
|
// use ant组件
|
|
@@ -46564,7 +46071,7 @@ const install = function (app) {
|
|
|
46564
46071
|
components.map(component => {
|
|
46565
46072
|
app.component(component.name, component);
|
|
46566
46073
|
});
|
|
46567
|
-
app.use(
|
|
46074
|
+
// app.use(i18n);
|
|
46568
46075
|
};
|
|
46569
46076
|
if (typeof window !== 'undefined' && window.Vue) {
|
|
46570
46077
|
install(window.Vue);
|
|
@@ -46578,8 +46085,7 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
46578
46085
|
BasicInfo: BasicInfo,
|
|
46579
46086
|
FlowDesign: FlowDesign,
|
|
46580
46087
|
flowStore: store,
|
|
46581
|
-
FlowNode: FlowNode
|
|
46582
|
-
i18n: locales
|
|
46088
|
+
FlowNode: FlowNode
|
|
46583
46089
|
});
|
|
46584
46090
|
;// ./packages/index.js
|
|
46585
46091
|
// 导入ant组件
|