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
|
@@ -15212,7 +15212,7 @@ function warnOnce(msg) {
|
|
|
15212
15212
|
* Original Utilities
|
|
15213
15213
|
* written by kazuya kawaguchi
|
|
15214
15214
|
*/
|
|
15215
|
-
const
|
|
15215
|
+
const shared_inBrowser = typeof window !== 'undefined';
|
|
15216
15216
|
let mark;
|
|
15217
15217
|
let measure;
|
|
15218
15218
|
if ((false)) // removed by dead control flow
|
|
@@ -15236,9 +15236,9 @@ const friendlyJSONstringify = (json) => JSON.stringify(json)
|
|
|
15236
15236
|
.replace(/\u2028/g, '\\u2028')
|
|
15237
15237
|
.replace(/\u2029/g, '\\u2029')
|
|
15238
15238
|
.replace(/\u0027/g, '\\u0027');
|
|
15239
|
-
const
|
|
15239
|
+
const shared_isNumber = (val) => typeof val === 'number' && isFinite(val);
|
|
15240
15240
|
const isDate = (val) => toTypeString(val) === '[object Date]';
|
|
15241
|
-
const
|
|
15241
|
+
const shared_isRegExp = (val) => toTypeString(val) === '[object RegExp]';
|
|
15242
15242
|
const isEmptyObject = (val) => shared_isPlainObject(val) && Object.keys(val).length === 0;
|
|
15243
15243
|
const shared_assign = Object.assign;
|
|
15244
15244
|
const _create = Object.create;
|
|
@@ -17126,10 +17126,10 @@ function formatMessagePart(ctx, node) {
|
|
|
17126
17126
|
}
|
|
17127
17127
|
case 5 /* NodeTypes.List */: {
|
|
17128
17128
|
const list = node;
|
|
17129
|
-
if (hasOwn(list, 'i') &&
|
|
17129
|
+
if (hasOwn(list, 'i') && shared_isNumber(list.i)) {
|
|
17130
17130
|
return ctx.interpolate(ctx.list(list.i));
|
|
17131
17131
|
}
|
|
17132
|
-
if (hasOwn(list, 'index') &&
|
|
17132
|
+
if (hasOwn(list, 'index') && shared_isNumber(list.index)) {
|
|
17133
17133
|
return ctx.interpolate(ctx.list(list.index));
|
|
17134
17134
|
}
|
|
17135
17135
|
throw createUnhandleNodeError(type);
|
|
@@ -17349,7 +17349,7 @@ function fallbackWithSimple(ctx, fallback, start) {
|
|
|
17349
17349
|
* @VueI18nGeneral
|
|
17350
17350
|
*/
|
|
17351
17351
|
function fallbackWithLocaleChain(ctx, fallback, start) {
|
|
17352
|
-
const startLocale = shared_isString(start) ? start :
|
|
17352
|
+
const startLocale = shared_isString(start) ? start : core_base_DEFAULT_LOCALE;
|
|
17353
17353
|
const context = ctx;
|
|
17354
17354
|
if (!context.__localeChainCache) {
|
|
17355
17355
|
context.__localeChainCache = new Map();
|
|
@@ -17726,7 +17726,7 @@ function getWarnMessage(code, ...args) {
|
|
|
17726
17726
|
*/
|
|
17727
17727
|
const VERSION = '11.2.7';
|
|
17728
17728
|
const NOT_REOSLVED = -1;
|
|
17729
|
-
const
|
|
17729
|
+
const core_base_DEFAULT_LOCALE = 'en-US';
|
|
17730
17730
|
const MISSING_RESOLVE_VALUE = '';
|
|
17731
17731
|
const capitalize = (str) => `${str.charAt(0).toLocaleUpperCase()}${str.substr(1)}`;
|
|
17732
17732
|
function getDefaultLinkedModifiers() {
|
|
@@ -17804,8 +17804,8 @@ function createCoreContext(options = {}) {
|
|
|
17804
17804
|
const version = shared_isString(options.version) ? options.version : VERSION;
|
|
17805
17805
|
const locale = shared_isString(options.locale) || shared_isFunction(options.locale)
|
|
17806
17806
|
? options.locale
|
|
17807
|
-
:
|
|
17808
|
-
const _locale = shared_isFunction(locale) ?
|
|
17807
|
+
: core_base_DEFAULT_LOCALE;
|
|
17808
|
+
const _locale = shared_isFunction(locale) ? core_base_DEFAULT_LOCALE : locale;
|
|
17809
17809
|
const fallbackLocale = shared_isArray(options.fallbackLocale) ||
|
|
17810
17810
|
shared_isPlainObject(options.fallbackLocale) ||
|
|
17811
17811
|
shared_isString(options.fallbackLocale) ||
|
|
@@ -17826,10 +17826,10 @@ function createCoreContext(options = {}) {
|
|
|
17826
17826
|
const modifiers = shared_assign(shared_create(), options.modifiers, getDefaultLinkedModifiers());
|
|
17827
17827
|
const pluralRules = options.pluralRules || shared_create();
|
|
17828
17828
|
const missing = shared_isFunction(options.missing) ? options.missing : null;
|
|
17829
|
-
const missingWarn = shared_isBoolean(options.missingWarn) ||
|
|
17829
|
+
const missingWarn = shared_isBoolean(options.missingWarn) || shared_isRegExp(options.missingWarn)
|
|
17830
17830
|
? options.missingWarn
|
|
17831
17831
|
: true;
|
|
17832
|
-
const fallbackWarn = shared_isBoolean(options.fallbackWarn) ||
|
|
17832
|
+
const fallbackWarn = shared_isBoolean(options.fallbackWarn) || shared_isRegExp(options.fallbackWarn)
|
|
17833
17833
|
? options.fallbackWarn
|
|
17834
17834
|
: true;
|
|
17835
17835
|
const fallbackFormat = !!options.fallbackFormat;
|
|
@@ -18080,7 +18080,7 @@ function parseDateTimeArgs(...args) {
|
|
|
18080
18080
|
}
|
|
18081
18081
|
value = arg1;
|
|
18082
18082
|
}
|
|
18083
|
-
else if (
|
|
18083
|
+
else if (shared_isNumber(arg1)) {
|
|
18084
18084
|
value = arg1;
|
|
18085
18085
|
}
|
|
18086
18086
|
else {
|
|
@@ -18207,7 +18207,7 @@ function parseNumberArgs(...args) {
|
|
|
18207
18207
|
const [arg1, arg2, arg3, arg4] = args;
|
|
18208
18208
|
const options = shared_create();
|
|
18209
18209
|
let overrides = shared_create();
|
|
18210
|
-
if (!
|
|
18210
|
+
if (!shared_isNumber(arg1)) {
|
|
18211
18211
|
throw createCoreError(CoreErrorCodes.INVALID_ARGUMENT);
|
|
18212
18212
|
}
|
|
18213
18213
|
const value = arg1;
|
|
@@ -18266,14 +18266,14 @@ function pluralDefault(choice, choicesLength) {
|
|
|
18266
18266
|
}
|
|
18267
18267
|
function getPluralIndex(options) {
|
|
18268
18268
|
// prettier-ignore
|
|
18269
|
-
const index =
|
|
18269
|
+
const index = shared_isNumber(options.pluralIndex)
|
|
18270
18270
|
? options.pluralIndex
|
|
18271
18271
|
: -1;
|
|
18272
18272
|
// prettier-ignore
|
|
18273
|
-
return options.named && (
|
|
18274
|
-
?
|
|
18273
|
+
return options.named && (shared_isNumber(options.named.count) || shared_isNumber(options.named.n))
|
|
18274
|
+
? shared_isNumber(options.named.count)
|
|
18275
18275
|
? options.named.count
|
|
18276
|
-
:
|
|
18276
|
+
: shared_isNumber(options.named.n)
|
|
18277
18277
|
? options.named.n
|
|
18278
18278
|
: index
|
|
18279
18279
|
: index;
|
|
@@ -18306,7 +18306,7 @@ function createMessageContext(options = {}) {
|
|
|
18306
18306
|
const list = (index) => _list[index];
|
|
18307
18307
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
18308
18308
|
const _named = options.named || shared_create();
|
|
18309
|
-
|
|
18309
|
+
shared_isNumber(options.pluralIndex) && normalizeNamed(pluralIndex, _named);
|
|
18310
18310
|
const named = (key) => _named[key];
|
|
18311
18311
|
function message(key, useLinked) {
|
|
18312
18312
|
// prettier-ignore
|
|
@@ -18598,18 +18598,18 @@ function parseTranslateArgs(...args) {
|
|
|
18598
18598
|
const [arg1, arg2, arg3] = args;
|
|
18599
18599
|
const options = shared_create();
|
|
18600
18600
|
if (!shared_isString(arg1) &&
|
|
18601
|
-
!
|
|
18601
|
+
!shared_isNumber(arg1) &&
|
|
18602
18602
|
!isMessageFunction(arg1) &&
|
|
18603
18603
|
!core_base_isMessageAST(arg1)) {
|
|
18604
18604
|
throw createCoreError(CoreErrorCodes.INVALID_ARGUMENT);
|
|
18605
18605
|
}
|
|
18606
18606
|
// prettier-ignore
|
|
18607
|
-
const key =
|
|
18607
|
+
const key = shared_isNumber(arg1)
|
|
18608
18608
|
? String(arg1)
|
|
18609
18609
|
: isMessageFunction(arg1)
|
|
18610
18610
|
? arg1
|
|
18611
18611
|
: arg1;
|
|
18612
|
-
if (
|
|
18612
|
+
if (shared_isNumber(arg2)) {
|
|
18613
18613
|
options.plural = arg2;
|
|
18614
18614
|
}
|
|
18615
18615
|
else if (shared_isString(arg2)) {
|
|
@@ -18621,7 +18621,7 @@ function parseTranslateArgs(...args) {
|
|
|
18621
18621
|
else if (shared_isArray(arg2)) {
|
|
18622
18622
|
options.list = arg2;
|
|
18623
18623
|
}
|
|
18624
|
-
if (
|
|
18624
|
+
if (shared_isNumber(arg3)) {
|
|
18625
18625
|
options.plural = arg3;
|
|
18626
18626
|
}
|
|
18627
18627
|
else if (shared_isString(arg3)) {
|
|
@@ -18701,7 +18701,7 @@ function getMessageContextOptions(context, locale, message, options) {
|
|
|
18701
18701
|
if (options.named) {
|
|
18702
18702
|
ctxOptions.named = options.named;
|
|
18703
18703
|
}
|
|
18704
|
-
if (
|
|
18704
|
+
if (shared_isNumber(options.plural)) {
|
|
18705
18705
|
ctxOptions.pluralIndex = options.plural;
|
|
18706
18706
|
}
|
|
18707
18707
|
return ctxOptions;
|
|
@@ -19031,7 +19031,7 @@ function createComposer(options = {}) {
|
|
|
19031
19031
|
const { __root, __injectWithOption } = options;
|
|
19032
19032
|
const _isGlobal = __root === undefined;
|
|
19033
19033
|
const flatJson = options.flatJson;
|
|
19034
|
-
const _ref =
|
|
19034
|
+
const _ref = shared_inBrowser ? external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.ref : external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.shallowRef;
|
|
19035
19035
|
let _inheritLocale = shared_isBoolean(options.inheritLocale)
|
|
19036
19036
|
? options.inheritLocale
|
|
19037
19037
|
: true;
|
|
@@ -19041,7 +19041,7 @@ function createComposer(options = {}) {
|
|
|
19041
19041
|
? __root.locale.value
|
|
19042
19042
|
: shared_isString(options.locale)
|
|
19043
19043
|
? options.locale
|
|
19044
|
-
:
|
|
19044
|
+
: core_base_DEFAULT_LOCALE);
|
|
19045
19045
|
const _fallbackLocale = _ref(
|
|
19046
19046
|
// prettier-ignore
|
|
19047
19047
|
__root && _inheritLocale
|
|
@@ -19067,13 +19067,13 @@ function createComposer(options = {}) {
|
|
|
19067
19067
|
// prettier-ignore
|
|
19068
19068
|
let _missingWarn = __root
|
|
19069
19069
|
? __root.missingWarn
|
|
19070
|
-
: shared_isBoolean(options.missingWarn) ||
|
|
19070
|
+
: shared_isBoolean(options.missingWarn) || shared_isRegExp(options.missingWarn)
|
|
19071
19071
|
? options.missingWarn
|
|
19072
19072
|
: true;
|
|
19073
19073
|
// prettier-ignore
|
|
19074
19074
|
let _fallbackWarn = __root
|
|
19075
19075
|
? __root.fallbackWarn
|
|
19076
|
-
: shared_isBoolean(options.fallbackWarn) ||
|
|
19076
|
+
: shared_isBoolean(options.fallbackWarn) || shared_isRegExp(options.fallbackWarn)
|
|
19077
19077
|
? options.fallbackWarn
|
|
19078
19078
|
: true;
|
|
19079
19079
|
// prettier-ignore
|
|
@@ -19233,7 +19233,7 @@ function createComposer(options = {}) {
|
|
|
19233
19233
|
}
|
|
19234
19234
|
}
|
|
19235
19235
|
if ((warnType !== 'translate exists' && // for not `te` (e.g `t`)
|
|
19236
|
-
|
|
19236
|
+
shared_isNumber(ret) &&
|
|
19237
19237
|
ret === NOT_REOSLVED) ||
|
|
19238
19238
|
(warnType === 'translate exists' && !ret) // for `te`
|
|
19239
19239
|
) {
|
|
@@ -19274,7 +19274,7 @@ function createComposer(options = {}) {
|
|
|
19274
19274
|
}
|
|
19275
19275
|
// for custom processor
|
|
19276
19276
|
function normalize(values) {
|
|
19277
|
-
return values.map(val => shared_isString(val) ||
|
|
19277
|
+
return values.map(val => shared_isString(val) || shared_isNumber(val) || shared_isBoolean(val)
|
|
19278
19278
|
? createTextNode(String(val))
|
|
19279
19279
|
: val);
|
|
19280
19280
|
}
|
|
@@ -19418,7 +19418,7 @@ function createComposer(options = {}) {
|
|
|
19418
19418
|
// for debug
|
|
19419
19419
|
composerID++;
|
|
19420
19420
|
// watch root locale & fallbackLocale
|
|
19421
|
-
if (__root &&
|
|
19421
|
+
if (__root && shared_inBrowser) {
|
|
19422
19422
|
(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.watch)(__root.locale, (val) => {
|
|
19423
19423
|
if (_inheritLocale) {
|
|
19424
19424
|
_locale.value = val;
|
|
@@ -19927,43 +19927,43 @@ function editScope(payload, i18n) {
|
|
|
19927
19927
|
* @internal
|
|
19928
19928
|
*/
|
|
19929
19929
|
function convertComposerOptions(options) {
|
|
19930
|
-
const locale =
|
|
19931
|
-
const fallbackLocale =
|
|
19932
|
-
|
|
19933
|
-
|
|
19930
|
+
const locale = isString(options.locale) ? options.locale : DEFAULT_LOCALE;
|
|
19931
|
+
const fallbackLocale = isString(options.fallbackLocale) ||
|
|
19932
|
+
isArray(options.fallbackLocale) ||
|
|
19933
|
+
isPlainObject(options.fallbackLocale) ||
|
|
19934
19934
|
options.fallbackLocale === false
|
|
19935
19935
|
? options.fallbackLocale
|
|
19936
19936
|
: locale;
|
|
19937
|
-
const missing =
|
|
19938
|
-
const missingWarn =
|
|
19937
|
+
const missing = isFunction(options.missing) ? options.missing : undefined;
|
|
19938
|
+
const missingWarn = isBoolean(options.silentTranslationWarn) ||
|
|
19939
19939
|
isRegExp(options.silentTranslationWarn)
|
|
19940
19940
|
? !options.silentTranslationWarn
|
|
19941
19941
|
: true;
|
|
19942
|
-
const fallbackWarn =
|
|
19942
|
+
const fallbackWarn = isBoolean(options.silentFallbackWarn) ||
|
|
19943
19943
|
isRegExp(options.silentFallbackWarn)
|
|
19944
19944
|
? !options.silentFallbackWarn
|
|
19945
19945
|
: true;
|
|
19946
|
-
const fallbackRoot =
|
|
19946
|
+
const fallbackRoot = isBoolean(options.fallbackRoot)
|
|
19947
19947
|
? options.fallbackRoot
|
|
19948
19948
|
: true;
|
|
19949
19949
|
const fallbackFormat = !!options.formatFallbackMessages;
|
|
19950
|
-
const modifiers =
|
|
19950
|
+
const modifiers = isPlainObject(options.modifiers) ? options.modifiers : {};
|
|
19951
19951
|
const pluralizationRules = options.pluralizationRules;
|
|
19952
|
-
const postTranslation =
|
|
19952
|
+
const postTranslation = isFunction(options.postTranslation)
|
|
19953
19953
|
? options.postTranslation
|
|
19954
19954
|
: undefined;
|
|
19955
|
-
const warnHtmlMessage =
|
|
19955
|
+
const warnHtmlMessage = isString(options.warnHtmlInMessage)
|
|
19956
19956
|
? options.warnHtmlInMessage !== 'off'
|
|
19957
19957
|
: true;
|
|
19958
19958
|
const escapeParameter = !!options.escapeParameterHtml;
|
|
19959
|
-
const inheritLocale =
|
|
19959
|
+
const inheritLocale = isBoolean(options.sync) ? options.sync : true;
|
|
19960
19960
|
let messages = options.messages;
|
|
19961
|
-
if (
|
|
19961
|
+
if (isPlainObject(options.sharedMessages)) {
|
|
19962
19962
|
const sharedMessages = options.sharedMessages;
|
|
19963
19963
|
const locales = Object.keys(sharedMessages);
|
|
19964
19964
|
messages = locales.reduce((messages, locale) => {
|
|
19965
19965
|
const message = messages[locale] || (messages[locale] = {});
|
|
19966
|
-
|
|
19966
|
+
assign(message, sharedMessages[locale]);
|
|
19967
19967
|
return messages;
|
|
19968
19968
|
}, (messages || {}));
|
|
19969
19969
|
}
|
|
@@ -20048,21 +20048,21 @@ function createVueI18n(options = {}) {
|
|
|
20048
20048
|
},
|
|
20049
20049
|
// silentTranslationWarn
|
|
20050
20050
|
get silentTranslationWarn() {
|
|
20051
|
-
return
|
|
20051
|
+
return isBoolean(composer.missingWarn)
|
|
20052
20052
|
? !composer.missingWarn
|
|
20053
20053
|
: composer.missingWarn;
|
|
20054
20054
|
},
|
|
20055
20055
|
set silentTranslationWarn(val) {
|
|
20056
|
-
composer.missingWarn =
|
|
20056
|
+
composer.missingWarn = isBoolean(val) ? !val : val;
|
|
20057
20057
|
},
|
|
20058
20058
|
// silentFallbackWarn
|
|
20059
20059
|
get silentFallbackWarn() {
|
|
20060
|
-
return
|
|
20060
|
+
return isBoolean(composer.fallbackWarn)
|
|
20061
20061
|
? !composer.fallbackWarn
|
|
20062
20062
|
: composer.fallbackWarn;
|
|
20063
20063
|
},
|
|
20064
20064
|
set silentFallbackWarn(val) {
|
|
20065
|
-
composer.fallbackWarn =
|
|
20065
|
+
composer.fallbackWarn = isBoolean(val) ? !val : val;
|
|
20066
20066
|
},
|
|
20067
20067
|
// modifiers
|
|
20068
20068
|
get modifiers() {
|
|
@@ -20368,7 +20368,7 @@ const TranslationImpl = /*#__PURE__*/ (0,external_commonjs_vue_commonjs2_vue_roo
|
|
|
20368
20368
|
},
|
|
20369
20369
|
plural: {
|
|
20370
20370
|
type: [Number, String],
|
|
20371
|
-
validator: (val) =>
|
|
20371
|
+
validator: (val) => shared_isNumber(val) || !isNaN(val)
|
|
20372
20372
|
}
|
|
20373
20373
|
}, baseFormatProps),
|
|
20374
20374
|
/* eslint-enable */
|
|
@@ -20454,7 +20454,7 @@ const TranslationImpl = /*#__PURE__*/ (0,external_commonjs_vue_commonjs2_vue_roo
|
|
|
20454
20454
|
*
|
|
20455
20455
|
* @VueI18nComponent
|
|
20456
20456
|
*/
|
|
20457
|
-
const Translation = TranslationImpl;
|
|
20457
|
+
const Translation = (/* unused pure expression or super */ null && (TranslationImpl));
|
|
20458
20458
|
const I18nT = (/* unused pure expression or super */ null && (Translation));
|
|
20459
20459
|
|
|
20460
20460
|
function vue_i18n_isVNode(target) {
|
|
@@ -20555,7 +20555,7 @@ const NumberFormatImpl = /*#__PURE__*/ (0,external_commonjs_vue_commonjs2_vue_ro
|
|
|
20555
20555
|
*
|
|
20556
20556
|
* @VueI18nComponent
|
|
20557
20557
|
*/
|
|
20558
|
-
const NumberFormat = NumberFormatImpl;
|
|
20558
|
+
const NumberFormat = (/* unused pure expression or super */ null && (NumberFormatImpl));
|
|
20559
20559
|
const I18nN = (/* unused pure expression or super */ null && (NumberFormat));
|
|
20560
20560
|
|
|
20561
20561
|
function getComposer$1(i18n, instance) {
|
|
@@ -20593,7 +20593,7 @@ function vTDirective(i18n) {
|
|
|
20593
20593
|
const [textContent, composer] = _process(binding);
|
|
20594
20594
|
if (inBrowser && i18n.global === composer) {
|
|
20595
20595
|
// global scope only
|
|
20596
|
-
el.__i18nWatcher =
|
|
20596
|
+
el.__i18nWatcher = watch(composer.locale, () => {
|
|
20597
20597
|
binding.instance && binding.instance.$forceUpdate();
|
|
20598
20598
|
});
|
|
20599
20599
|
}
|
|
@@ -20632,10 +20632,10 @@ function vTDirective(i18n) {
|
|
|
20632
20632
|
};
|
|
20633
20633
|
}
|
|
20634
20634
|
function parseValue(value) {
|
|
20635
|
-
if (
|
|
20635
|
+
if (isString(value)) {
|
|
20636
20636
|
return { path: value };
|
|
20637
20637
|
}
|
|
20638
|
-
else if (
|
|
20638
|
+
else if (isPlainObject(value)) {
|
|
20639
20639
|
if (!('path' in value)) {
|
|
20640
20640
|
throw createI18nError(I18nErrorCodes.REQUIRED_VALUE, 'path');
|
|
20641
20641
|
}
|
|
@@ -20649,7 +20649,7 @@ function makeParams(value) {
|
|
|
20649
20649
|
const { path, locale, args, choice, plural } = value;
|
|
20650
20650
|
const options = {};
|
|
20651
20651
|
const named = args || {};
|
|
20652
|
-
if (
|
|
20652
|
+
if (isString(locale)) {
|
|
20653
20653
|
options.locale = locale;
|
|
20654
20654
|
}
|
|
20655
20655
|
if (isNumber(choice)) {
|
|
@@ -20662,10 +20662,10 @@ function makeParams(value) {
|
|
|
20662
20662
|
}
|
|
20663
20663
|
|
|
20664
20664
|
function apply(app, i18n, ...options) {
|
|
20665
|
-
const pluginOptions =
|
|
20665
|
+
const pluginOptions = isPlainObject(options[0])
|
|
20666
20666
|
? options[0]
|
|
20667
20667
|
: {};
|
|
20668
|
-
const globalInstall =
|
|
20668
|
+
const globalInstall = isBoolean(pluginOptions.globalInstall)
|
|
20669
20669
|
? pluginOptions.globalInstall
|
|
20670
20670
|
: true;
|
|
20671
20671
|
if (globalInstall) {
|
|
@@ -20693,18 +20693,18 @@ const I18nInjectionKey =
|
|
|
20693
20693
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
20694
20694
|
function createI18n(options = {}) {
|
|
20695
20695
|
// prettier-ignore
|
|
20696
|
-
const __legacyMode = __VUE_I18N_LEGACY_API__ &&
|
|
20696
|
+
const __legacyMode = __VUE_I18N_LEGACY_API__ && isBoolean(options.legacy)
|
|
20697
20697
|
? options.legacy
|
|
20698
20698
|
: __VUE_I18N_LEGACY_API__;
|
|
20699
20699
|
if (false) // removed by dead control flow
|
|
20700
20700
|
{}
|
|
20701
20701
|
// prettier-ignore
|
|
20702
|
-
const __globalInjection =
|
|
20702
|
+
const __globalInjection = isBoolean(options.globalInjection)
|
|
20703
20703
|
? options.globalInjection
|
|
20704
20704
|
: true;
|
|
20705
20705
|
const __instances = new Map();
|
|
20706
20706
|
const [globalScope, __global] = createGlobal(options, __legacyMode);
|
|
20707
|
-
const symbol = /* #__PURE__*/
|
|
20707
|
+
const symbol = /* #__PURE__*/ makeSymbol(( false) ? 0 : '');
|
|
20708
20708
|
function __getInstance(component) {
|
|
20709
20709
|
return __instances.get(component) || null;
|
|
20710
20710
|
}
|
|
@@ -20729,7 +20729,7 @@ function createI18n(options = {}) {
|
|
|
20729
20729
|
app.__VUE_I18N_SYMBOL__ = symbol;
|
|
20730
20730
|
app.provide(app.__VUE_I18N_SYMBOL__, i18n);
|
|
20731
20731
|
// set composer & vuei18n extend hook options from plugin options
|
|
20732
|
-
if (
|
|
20732
|
+
if (isPlainObject(options[0])) {
|
|
20733
20733
|
const opts = options[0];
|
|
20734
20734
|
i18n.__composerExtend =
|
|
20735
20735
|
opts.__composerExtend;
|
|
@@ -20831,7 +20831,7 @@ function useI18n(options = {}) {
|
|
|
20831
20831
|
return composer;
|
|
20832
20832
|
}
|
|
20833
20833
|
function createGlobal(options, legacyMode) {
|
|
20834
|
-
const scope =
|
|
20834
|
+
const scope = effectScope();
|
|
20835
20835
|
const obj = __VUE_I18N_LEGACY_API__ && legacyMode
|
|
20836
20836
|
? scope.run(() => createVueI18n(options))
|
|
20837
20837
|
: scope.run(() => createComposer(options));
|
|
@@ -20934,12 +20934,12 @@ function setupLifeCycle(i18n, target, composer) {
|
|
|
20934
20934
|
}
|
|
20935
20935
|
}, target);
|
|
20936
20936
|
}
|
|
20937
|
-
const globalExportProps = [
|
|
20937
|
+
const globalExportProps = (/* unused pure expression or super */ null && ([
|
|
20938
20938
|
'locale',
|
|
20939
20939
|
'fallbackLocale',
|
|
20940
20940
|
'availableLocales'
|
|
20941
|
-
];
|
|
20942
|
-
const globalExportMethods = ['t', 'rt', 'd', 'n', 'tm', 'te']
|
|
20941
|
+
]));
|
|
20942
|
+
const globalExportMethods = (/* unused pure expression or super */ null && (['t', 'rt', 'd', 'n', 'tm', 'te']))
|
|
20943
20943
|
;
|
|
20944
20944
|
function injectGlobalFields(app, composer) {
|
|
20945
20945
|
const i18n = Object.create(null);
|
|
@@ -20948,7 +20948,7 @@ function injectGlobalFields(app, composer) {
|
|
|
20948
20948
|
if (!desc) {
|
|
20949
20949
|
throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);
|
|
20950
20950
|
}
|
|
20951
|
-
const wrap =
|
|
20951
|
+
const wrap = isRef(desc.value) // check computed props
|
|
20952
20952
|
? {
|
|
20953
20953
|
get() {
|
|
20954
20954
|
return desc.value.value;
|
|
@@ -21026,7 +21026,7 @@ const DatetimeFormatImpl = /* #__PURE__*/ (0,external_commonjs_vue_commonjs2_vue
|
|
|
21026
21026
|
*
|
|
21027
21027
|
* @VueI18nComponent
|
|
21028
21028
|
*/
|
|
21029
|
-
const DatetimeFormat = DatetimeFormatImpl;
|
|
21029
|
+
const DatetimeFormat = (/* unused pure expression or super */ null && (DatetimeFormatImpl));
|
|
21030
21030
|
const I18nD = (/* unused pure expression or super */ null && (DatetimeFormat));
|
|
21031
21031
|
|
|
21032
21032
|
{
|
|
@@ -46036,499 +46036,6 @@ const FlowNode_Event_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(Flo
|
|
|
46036
46036
|
const FlowNode_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(FlowNodevue_type_script_lang_js, [['render',FlowNodevue_type_template_id_a9d2a7a0_render]])
|
|
46037
46037
|
|
|
46038
46038
|
/* harmony default export */ var FlowNode = (FlowNode_exports_);
|
|
46039
|
-
;// ./node_modules/ant-design-vue/es/vc-pagination/locale/zh_CN.js
|
|
46040
|
-
/* harmony default export */ var zh_CN = ({
|
|
46041
|
-
// Options.jsx
|
|
46042
|
-
items_per_page: '条/页',
|
|
46043
|
-
jump_to: '跳至',
|
|
46044
|
-
jump_to_confirm: '确定',
|
|
46045
|
-
page: '页',
|
|
46046
|
-
// Pagination.jsx
|
|
46047
|
-
prev_page: '上一页',
|
|
46048
|
-
next_page: '下一页',
|
|
46049
|
-
prev_5: '向前 5 页',
|
|
46050
|
-
next_5: '向后 5 页',
|
|
46051
|
-
prev_3: '向前 3 页',
|
|
46052
|
-
next_3: '向后 3 页'
|
|
46053
|
-
});
|
|
46054
|
-
;// ./node_modules/ant-design-vue/es/vc-picker/locale/zh_CN.js
|
|
46055
|
-
var zh_CN_locale = {
|
|
46056
|
-
locale: 'zh_CN',
|
|
46057
|
-
today: '今天',
|
|
46058
|
-
now: '此刻',
|
|
46059
|
-
backToToday: '返回今天',
|
|
46060
|
-
ok: '确定',
|
|
46061
|
-
timeSelect: '选择时间',
|
|
46062
|
-
dateSelect: '选择日期',
|
|
46063
|
-
weekSelect: '选择周',
|
|
46064
|
-
clear: '清除',
|
|
46065
|
-
month: '月',
|
|
46066
|
-
year: '年',
|
|
46067
|
-
previousMonth: '上个月 (翻页上键)',
|
|
46068
|
-
nextMonth: '下个月 (翻页下键)',
|
|
46069
|
-
monthSelect: '选择月份',
|
|
46070
|
-
yearSelect: '选择年份',
|
|
46071
|
-
decadeSelect: '选择年代',
|
|
46072
|
-
yearFormat: 'YYYY年',
|
|
46073
|
-
dayFormat: 'D日',
|
|
46074
|
-
dateFormat: 'YYYY年M月D日',
|
|
46075
|
-
dateTimeFormat: 'YYYY年M月D日 HH时mm分ss秒',
|
|
46076
|
-
previousYear: '上一年 (Control键加左方向键)',
|
|
46077
|
-
nextYear: '下一年 (Control键加右方向键)',
|
|
46078
|
-
previousDecade: '上一年代',
|
|
46079
|
-
nextDecade: '下一年代',
|
|
46080
|
-
previousCentury: '上一世纪',
|
|
46081
|
-
nextCentury: '下一世纪'
|
|
46082
|
-
};
|
|
46083
|
-
/* harmony default export */ var locale_zh_CN = (zh_CN_locale);
|
|
46084
|
-
;// ./node_modules/ant-design-vue/es/time-picker/locale/zh_CN.js
|
|
46085
|
-
var locale_zh_CN_locale = {
|
|
46086
|
-
placeholder: '请选择时间',
|
|
46087
|
-
rangePlaceholder: ['开始时间', '结束时间']
|
|
46088
|
-
};
|
|
46089
|
-
/* harmony default export */ var time_picker_locale_zh_CN = (locale_zh_CN_locale);
|
|
46090
|
-
;// ./node_modules/ant-design-vue/es/date-picker/locale/zh_CN.js
|
|
46091
|
-
|
|
46092
|
-
|
|
46093
|
-
|
|
46094
|
-
// 统一合并为完整的 Locale
|
|
46095
|
-
var date_picker_locale_zh_CN_locale = {
|
|
46096
|
-
lang: _objectSpread2({
|
|
46097
|
-
placeholder: '请选择日期',
|
|
46098
|
-
yearPlaceholder: '请选择年份',
|
|
46099
|
-
quarterPlaceholder: '请选择季度',
|
|
46100
|
-
monthPlaceholder: '请选择月份',
|
|
46101
|
-
weekPlaceholder: '请选择周',
|
|
46102
|
-
rangePlaceholder: ['开始日期', '结束日期'],
|
|
46103
|
-
rangeYearPlaceholder: ['开始年份', '结束年份'],
|
|
46104
|
-
rangeMonthPlaceholder: ['开始月份', '结束月份'],
|
|
46105
|
-
rangeQuarterPlaceholder: ['开始季度', '结束季度'],
|
|
46106
|
-
rangeWeekPlaceholder: ['开始周', '结束周']
|
|
46107
|
-
}, locale_zh_CN),
|
|
46108
|
-
timePickerLocale: _objectSpread2({}, time_picker_locale_zh_CN)
|
|
46109
|
-
};
|
|
46110
|
-
// should add whitespace between char in Button
|
|
46111
|
-
date_picker_locale_zh_CN_locale.lang.ok = '确定';
|
|
46112
|
-
// All settings at:
|
|
46113
|
-
// https://github.com/ant-design/ant-design/blob/master/components/date-picker/locale/example.json
|
|
46114
|
-
/* harmony default export */ var date_picker_locale_zh_CN = (date_picker_locale_zh_CN_locale);
|
|
46115
|
-
;// ./node_modules/ant-design-vue/es/calendar/locale/zh_CN.js
|
|
46116
|
-
|
|
46117
|
-
/* harmony default export */ var calendar_locale_zh_CN = (date_picker_locale_zh_CN);
|
|
46118
|
-
;// ./node_modules/ant-design-vue/es/locale/zh_CN.js
|
|
46119
|
-
/* eslint-disable no-template-curly-in-string */
|
|
46120
|
-
|
|
46121
|
-
|
|
46122
|
-
|
|
46123
|
-
|
|
46124
|
-
var zh_CN_typeTemplate = '${label}不是一个有效的${type}';
|
|
46125
|
-
var zh_CN_localeValues = {
|
|
46126
|
-
locale: 'zh-cn',
|
|
46127
|
-
Pagination: zh_CN,
|
|
46128
|
-
DatePicker: date_picker_locale_zh_CN,
|
|
46129
|
-
TimePicker: time_picker_locale_zh_CN,
|
|
46130
|
-
Calendar: calendar_locale_zh_CN,
|
|
46131
|
-
// locales for all components
|
|
46132
|
-
global: {
|
|
46133
|
-
placeholder: '请选择'
|
|
46134
|
-
},
|
|
46135
|
-
Table: {
|
|
46136
|
-
filterTitle: '筛选',
|
|
46137
|
-
filterConfirm: '确定',
|
|
46138
|
-
filterReset: '重置',
|
|
46139
|
-
filterEmptyText: '无筛选项',
|
|
46140
|
-
filterCheckall: '全选',
|
|
46141
|
-
filterSearchPlaceholder: '在筛选项中搜索',
|
|
46142
|
-
selectAll: '全选当页',
|
|
46143
|
-
selectInvert: '反选当页',
|
|
46144
|
-
selectNone: '清空所有',
|
|
46145
|
-
selectionAll: '全选所有',
|
|
46146
|
-
sortTitle: '排序',
|
|
46147
|
-
expand: '展开行',
|
|
46148
|
-
collapse: '关闭行',
|
|
46149
|
-
triggerDesc: '点击降序',
|
|
46150
|
-
triggerAsc: '点击升序',
|
|
46151
|
-
cancelSort: '取消排序'
|
|
46152
|
-
},
|
|
46153
|
-
Modal: {
|
|
46154
|
-
okText: '确定',
|
|
46155
|
-
cancelText: '取消',
|
|
46156
|
-
justOkText: '知道了'
|
|
46157
|
-
},
|
|
46158
|
-
Popconfirm: {
|
|
46159
|
-
cancelText: '取消',
|
|
46160
|
-
okText: '确定'
|
|
46161
|
-
},
|
|
46162
|
-
Transfer: {
|
|
46163
|
-
searchPlaceholder: '请输入搜索内容',
|
|
46164
|
-
itemUnit: '项',
|
|
46165
|
-
itemsUnit: '项',
|
|
46166
|
-
remove: '删除',
|
|
46167
|
-
selectCurrent: '全选当页',
|
|
46168
|
-
removeCurrent: '删除当页',
|
|
46169
|
-
selectAll: '全选所有',
|
|
46170
|
-
removeAll: '删除全部',
|
|
46171
|
-
selectInvert: '反选当页'
|
|
46172
|
-
},
|
|
46173
|
-
Upload: {
|
|
46174
|
-
uploading: '文件上传中',
|
|
46175
|
-
removeFile: '删除文件',
|
|
46176
|
-
uploadError: '上传错误',
|
|
46177
|
-
previewFile: '预览文件',
|
|
46178
|
-
downloadFile: '下载文件'
|
|
46179
|
-
},
|
|
46180
|
-
Empty: {
|
|
46181
|
-
description: '暂无数据'
|
|
46182
|
-
},
|
|
46183
|
-
Icon: {
|
|
46184
|
-
icon: '图标'
|
|
46185
|
-
},
|
|
46186
|
-
Text: {
|
|
46187
|
-
edit: '编辑',
|
|
46188
|
-
copy: '复制',
|
|
46189
|
-
copied: '复制成功',
|
|
46190
|
-
expand: '展开'
|
|
46191
|
-
},
|
|
46192
|
-
PageHeader: {
|
|
46193
|
-
back: '返回'
|
|
46194
|
-
},
|
|
46195
|
-
Form: {
|
|
46196
|
-
optional: '(可选)',
|
|
46197
|
-
defaultValidateMessages: {
|
|
46198
|
-
default: '字段验证错误${label}',
|
|
46199
|
-
required: '请输入${label}',
|
|
46200
|
-
enum: '${label}必须是其中一个[${enum}]',
|
|
46201
|
-
whitespace: '${label}不能为空字符',
|
|
46202
|
-
date: {
|
|
46203
|
-
format: '${label}日期格式无效',
|
|
46204
|
-
parse: '${label}不能转换为日期',
|
|
46205
|
-
invalid: '${label}是一个无效日期'
|
|
46206
|
-
},
|
|
46207
|
-
types: {
|
|
46208
|
-
string: zh_CN_typeTemplate,
|
|
46209
|
-
method: zh_CN_typeTemplate,
|
|
46210
|
-
array: zh_CN_typeTemplate,
|
|
46211
|
-
object: zh_CN_typeTemplate,
|
|
46212
|
-
number: zh_CN_typeTemplate,
|
|
46213
|
-
date: zh_CN_typeTemplate,
|
|
46214
|
-
boolean: zh_CN_typeTemplate,
|
|
46215
|
-
integer: zh_CN_typeTemplate,
|
|
46216
|
-
float: zh_CN_typeTemplate,
|
|
46217
|
-
regexp: zh_CN_typeTemplate,
|
|
46218
|
-
email: zh_CN_typeTemplate,
|
|
46219
|
-
url: zh_CN_typeTemplate,
|
|
46220
|
-
hex: zh_CN_typeTemplate
|
|
46221
|
-
},
|
|
46222
|
-
string: {
|
|
46223
|
-
len: '${label}须为${len}个字符',
|
|
46224
|
-
min: '${label}最少${min}个字符',
|
|
46225
|
-
max: '${label}最多${max}个字符',
|
|
46226
|
-
range: '${label}须在${min}-${max}字符之间'
|
|
46227
|
-
},
|
|
46228
|
-
number: {
|
|
46229
|
-
len: '${label}必须等于${len}',
|
|
46230
|
-
min: '${label}最小值为${min}',
|
|
46231
|
-
max: '${label}最大值为${max}',
|
|
46232
|
-
range: '${label}须在${min}-${max}之间'
|
|
46233
|
-
},
|
|
46234
|
-
array: {
|
|
46235
|
-
len: '须为${len}个${label}',
|
|
46236
|
-
min: '最少${min}个${label}',
|
|
46237
|
-
max: '最多${max}个${label}',
|
|
46238
|
-
range: '${label}数量须在${min}-${max}之间'
|
|
46239
|
-
},
|
|
46240
|
-
pattern: {
|
|
46241
|
-
mismatch: '${label}与模式不匹配${pattern}'
|
|
46242
|
-
}
|
|
46243
|
-
}
|
|
46244
|
-
},
|
|
46245
|
-
Image: {
|
|
46246
|
-
preview: '预览'
|
|
46247
|
-
}
|
|
46248
|
-
};
|
|
46249
|
-
/* harmony default export */ var es_locale_zh_CN = (zh_CN_localeValues);
|
|
46250
|
-
;// ./node_modules/ant-design-vue/es/vc-pagination/locale/en_GB.js
|
|
46251
|
-
/* harmony default export */ var en_GB = ({
|
|
46252
|
-
// Options.jsx
|
|
46253
|
-
items_per_page: '/ page',
|
|
46254
|
-
jump_to: 'Go to',
|
|
46255
|
-
jump_to_confirm: 'confirm',
|
|
46256
|
-
page: '',
|
|
46257
|
-
// Pagination.jsx
|
|
46258
|
-
prev_page: 'Previous Page',
|
|
46259
|
-
next_page: 'Next Page',
|
|
46260
|
-
prev_5: 'Previous 5 Pages',
|
|
46261
|
-
next_5: 'Next 5 Pages',
|
|
46262
|
-
prev_3: 'Previous 3 Pages',
|
|
46263
|
-
next_3: 'Next 3 Pages'
|
|
46264
|
-
});
|
|
46265
|
-
;// ./node_modules/ant-design-vue/es/vc-picker/locale/en_GB.js
|
|
46266
|
-
var en_GB_locale = {
|
|
46267
|
-
locale: 'en_GB',
|
|
46268
|
-
today: 'Today',
|
|
46269
|
-
now: 'Now',
|
|
46270
|
-
backToToday: 'Back to today',
|
|
46271
|
-
ok: 'Ok',
|
|
46272
|
-
clear: 'Clear',
|
|
46273
|
-
month: 'Month',
|
|
46274
|
-
year: 'Year',
|
|
46275
|
-
timeSelect: 'Select time',
|
|
46276
|
-
dateSelect: 'Select date',
|
|
46277
|
-
monthSelect: 'Choose a month',
|
|
46278
|
-
yearSelect: 'Choose a year',
|
|
46279
|
-
decadeSelect: 'Choose a decade',
|
|
46280
|
-
yearFormat: 'YYYY',
|
|
46281
|
-
dateFormat: 'D/M/YYYY',
|
|
46282
|
-
dayFormat: 'D',
|
|
46283
|
-
dateTimeFormat: 'D/M/YYYY HH:mm:ss',
|
|
46284
|
-
monthBeforeYear: true,
|
|
46285
|
-
previousMonth: 'Previous month (PageUp)',
|
|
46286
|
-
nextMonth: 'Next month (PageDown)',
|
|
46287
|
-
previousYear: 'Last year (Control + left)',
|
|
46288
|
-
nextYear: 'Next year (Control + right)',
|
|
46289
|
-
previousDecade: 'Last decade',
|
|
46290
|
-
nextDecade: 'Next decade',
|
|
46291
|
-
previousCentury: 'Last century',
|
|
46292
|
-
nextCentury: 'Next century'
|
|
46293
|
-
};
|
|
46294
|
-
/* harmony default export */ var locale_en_GB = (en_GB_locale);
|
|
46295
|
-
;// ./node_modules/ant-design-vue/es/time-picker/locale/en_GB.js
|
|
46296
|
-
var locale_en_GB_locale = {
|
|
46297
|
-
placeholder: 'Select time'
|
|
46298
|
-
};
|
|
46299
|
-
/* harmony default export */ var time_picker_locale_en_GB = (locale_en_GB_locale);
|
|
46300
|
-
;// ./node_modules/ant-design-vue/es/date-picker/locale/en_GB.js
|
|
46301
|
-
|
|
46302
|
-
|
|
46303
|
-
|
|
46304
|
-
// Merge into a locale object
|
|
46305
|
-
var date_picker_locale_en_GB_locale = {
|
|
46306
|
-
lang: _objectSpread2({
|
|
46307
|
-
placeholder: 'Select date',
|
|
46308
|
-
yearPlaceholder: 'Select year',
|
|
46309
|
-
quarterPlaceholder: 'Select quarter',
|
|
46310
|
-
monthPlaceholder: 'Select month',
|
|
46311
|
-
weekPlaceholder: 'Select week',
|
|
46312
|
-
rangePlaceholder: ['Start date', 'End date'],
|
|
46313
|
-
rangeYearPlaceholder: ['Start year', 'End year'],
|
|
46314
|
-
rangeQuarterPlaceholder: ['Start quarter', 'End quarter'],
|
|
46315
|
-
rangeMonthPlaceholder: ['Start month', 'End month'],
|
|
46316
|
-
rangeWeekPlaceholder: ['Start week', 'End week']
|
|
46317
|
-
}, locale_en_GB),
|
|
46318
|
-
timePickerLocale: _objectSpread2({}, time_picker_locale_en_GB)
|
|
46319
|
-
};
|
|
46320
|
-
// All settings at:
|
|
46321
|
-
// https://github.com/ant-design/ant-design/blob/master/components/date-picker/locale/example.json
|
|
46322
|
-
/* harmony default export */ var date_picker_locale_en_GB = (date_picker_locale_en_GB_locale);
|
|
46323
|
-
;// ./node_modules/ant-design-vue/es/calendar/locale/en_GB.js
|
|
46324
|
-
|
|
46325
|
-
/* harmony default export */ var calendar_locale_en_GB = (date_picker_locale_en_GB);
|
|
46326
|
-
;// ./node_modules/ant-design-vue/es/locale/en_GB.js
|
|
46327
|
-
/* eslint-disable no-template-curly-in-string */
|
|
46328
|
-
|
|
46329
|
-
|
|
46330
|
-
|
|
46331
|
-
|
|
46332
|
-
var en_GB_typeTemplate = '${label} is not a valid ${type}';
|
|
46333
|
-
var en_GB_localeValues = {
|
|
46334
|
-
locale: 'en-gb',
|
|
46335
|
-
Pagination: en_GB,
|
|
46336
|
-
DatePicker: date_picker_locale_en_GB,
|
|
46337
|
-
TimePicker: time_picker_locale_en_GB,
|
|
46338
|
-
Calendar: calendar_locale_en_GB,
|
|
46339
|
-
Table: {
|
|
46340
|
-
filterTitle: 'Filter menu',
|
|
46341
|
-
filterConfirm: 'OK',
|
|
46342
|
-
filterReset: 'Reset',
|
|
46343
|
-
filterEmptyText: 'No filters',
|
|
46344
|
-
emptyText: 'No data',
|
|
46345
|
-
selectAll: 'Select current page',
|
|
46346
|
-
selectInvert: 'Invert current page',
|
|
46347
|
-
selectNone: 'Clear all data',
|
|
46348
|
-
selectionAll: 'Select all data',
|
|
46349
|
-
sortTitle: 'Sort',
|
|
46350
|
-
expand: 'Expand row',
|
|
46351
|
-
collapse: 'Collapse row',
|
|
46352
|
-
triggerDesc: 'Click to sort descending',
|
|
46353
|
-
triggerAsc: 'Click to sort ascending',
|
|
46354
|
-
cancelSort: 'Click to cancel sorting'
|
|
46355
|
-
},
|
|
46356
|
-
Modal: {
|
|
46357
|
-
okText: 'OK',
|
|
46358
|
-
cancelText: 'Cancel',
|
|
46359
|
-
justOkText: 'OK'
|
|
46360
|
-
},
|
|
46361
|
-
Popconfirm: {
|
|
46362
|
-
okText: 'OK',
|
|
46363
|
-
cancelText: 'Cancel'
|
|
46364
|
-
},
|
|
46365
|
-
Transfer: {
|
|
46366
|
-
searchPlaceholder: 'Search here',
|
|
46367
|
-
itemUnit: 'item',
|
|
46368
|
-
itemsUnit: 'items'
|
|
46369
|
-
},
|
|
46370
|
-
Upload: {
|
|
46371
|
-
uploading: 'Uploading...',
|
|
46372
|
-
removeFile: 'Remove file',
|
|
46373
|
-
uploadError: 'Upload error',
|
|
46374
|
-
previewFile: 'Preview file',
|
|
46375
|
-
downloadFile: 'Download file'
|
|
46376
|
-
},
|
|
46377
|
-
Empty: {
|
|
46378
|
-
description: 'No data'
|
|
46379
|
-
},
|
|
46380
|
-
Form: {
|
|
46381
|
-
defaultValidateMessages: {
|
|
46382
|
-
default: 'Field validation error for ${label}',
|
|
46383
|
-
required: 'Please enter ${label}',
|
|
46384
|
-
enum: '${label} must be one of [${enum}]',
|
|
46385
|
-
whitespace: '${label} cannot be a blank character',
|
|
46386
|
-
date: {
|
|
46387
|
-
format: '${label} date format is invalid',
|
|
46388
|
-
parse: '${label} cannot be converted to a date',
|
|
46389
|
-
invalid: '${label} is an invalid date'
|
|
46390
|
-
},
|
|
46391
|
-
types: {
|
|
46392
|
-
string: en_GB_typeTemplate,
|
|
46393
|
-
method: en_GB_typeTemplate,
|
|
46394
|
-
array: en_GB_typeTemplate,
|
|
46395
|
-
object: en_GB_typeTemplate,
|
|
46396
|
-
number: en_GB_typeTemplate,
|
|
46397
|
-
date: en_GB_typeTemplate,
|
|
46398
|
-
boolean: en_GB_typeTemplate,
|
|
46399
|
-
integer: en_GB_typeTemplate,
|
|
46400
|
-
float: en_GB_typeTemplate,
|
|
46401
|
-
regexp: en_GB_typeTemplate,
|
|
46402
|
-
email: en_GB_typeTemplate,
|
|
46403
|
-
url: en_GB_typeTemplate,
|
|
46404
|
-
hex: en_GB_typeTemplate
|
|
46405
|
-
},
|
|
46406
|
-
string: {
|
|
46407
|
-
len: '${label} must be ${len} characters',
|
|
46408
|
-
min: '${label} must be at least ${min} characters',
|
|
46409
|
-
max: '${label} must be up to ${max} characters',
|
|
46410
|
-
range: '${label} must be between ${min}-${max} characters'
|
|
46411
|
-
},
|
|
46412
|
-
number: {
|
|
46413
|
-
len: '${label} must be equal to ${len}',
|
|
46414
|
-
min: '${label} must be minimum ${min}',
|
|
46415
|
-
max: '${label} must be maximum ${max}',
|
|
46416
|
-
range: '${label} must be between ${min}-${max}'
|
|
46417
|
-
},
|
|
46418
|
-
array: {
|
|
46419
|
-
len: 'Must be ${len} ${label}',
|
|
46420
|
-
min: 'At least ${min} ${label}',
|
|
46421
|
-
max: 'At most ${max} ${label}',
|
|
46422
|
-
range: 'The amount of ${label} must be between ${min}-${max}'
|
|
46423
|
-
},
|
|
46424
|
-
pattern: {
|
|
46425
|
-
mismatch: '${label} does not match the pattern ${pattern}'
|
|
46426
|
-
}
|
|
46427
|
-
}
|
|
46428
|
-
}
|
|
46429
|
-
};
|
|
46430
|
-
/* harmony default export */ var es_locale_en_GB = (en_GB_localeValues);
|
|
46431
|
-
;// ./packages/locales/lang/zh-cn.js
|
|
46432
|
-
/* harmony default export */ var zh_cn = ({
|
|
46433
|
-
common: {
|
|
46434
|
-
start: '开始',
|
|
46435
|
-
form: '表单',
|
|
46436
|
-
edit: '编辑',
|
|
46437
|
-
readonly: '只读',
|
|
46438
|
-
hide: '隐藏',
|
|
46439
|
-
approvalNode: '审批节点',
|
|
46440
|
-
branchNode: '分支节点',
|
|
46441
|
-
parallelNode: '并行节点',
|
|
46442
|
-
delete: '删除',
|
|
46443
|
-
cancel: '取消',
|
|
46444
|
-
branch: '分支',
|
|
46445
|
-
parallel: '并行',
|
|
46446
|
-
otherCondition: '任意(其他)'
|
|
46447
|
-
},
|
|
46448
|
-
node: {
|
|
46449
|
-
write: {
|
|
46450
|
-
startPerson: '发起人',
|
|
46451
|
-
startNode: '发起人节点'
|
|
46452
|
-
},
|
|
46453
|
-
approver: {
|
|
46454
|
-
approver: '审批人',
|
|
46455
|
-
settingNode: '设置此节点',
|
|
46456
|
-
handler: '办理人',
|
|
46457
|
-
superior: '直属上级',
|
|
46458
|
-
member: '指定成员',
|
|
46459
|
-
prompt: '提示:',
|
|
46460
|
-
approvalDesc: '若审批人离职,会自动转交给审批人的上级代为处理',
|
|
46461
|
-
approvalSet: '审批设置',
|
|
46462
|
-
approvalMode: '审批方式',
|
|
46463
|
-
inTurn: '依次审批(一人通过再到下一个人处理)',
|
|
46464
|
-
counterSign1: '多人会签(所有人都通过才到下一个环节)',
|
|
46465
|
-
counterSign2: '多人会签(通过只需一人,否决需全员)',
|
|
46466
|
-
orSign: '多人或签(一人通过或否决)'
|
|
46467
|
-
}
|
|
46468
|
-
}
|
|
46469
|
-
});
|
|
46470
|
-
;// ./packages/locales/lang/en.js
|
|
46471
|
-
/* harmony default export */ var en = ({
|
|
46472
|
-
common: {
|
|
46473
|
-
start: 'Start',
|
|
46474
|
-
form: 'Form',
|
|
46475
|
-
edit: 'Edit',
|
|
46476
|
-
readonly: 'Readonly',
|
|
46477
|
-
hidden: 'Hidden',
|
|
46478
|
-
approvalNode: 'Approval',
|
|
46479
|
-
branchNode: 'Branch',
|
|
46480
|
-
parallelNode: 'Parallel',
|
|
46481
|
-
delete: 'Delete',
|
|
46482
|
-
cancel: 'Cancel',
|
|
46483
|
-
branch: 'Branch',
|
|
46484
|
-
parallel: 'Parallel',
|
|
46485
|
-
otherCondition: 'Any (other)'
|
|
46486
|
-
},
|
|
46487
|
-
node: {
|
|
46488
|
-
write: {
|
|
46489
|
-
startPerson: 'initiator',
|
|
46490
|
-
startNode: 'initiatorNode'
|
|
46491
|
-
},
|
|
46492
|
-
approver: {
|
|
46493
|
-
approver: 'Approver',
|
|
46494
|
-
settingNode: 'Setting',
|
|
46495
|
-
handler: 'Handler',
|
|
46496
|
-
superior: 'Superior',
|
|
46497
|
-
member: 'Member',
|
|
46498
|
-
prompt: 'Prompt:',
|
|
46499
|
-
approvalDesc: 'If the approver resigns, it will be automatically handed over to the approver superior for handling on their behalf',
|
|
46500
|
-
approvalSet: 'Approval Set',
|
|
46501
|
-
approvalMode: 'Approval Mode',
|
|
46502
|
-
inTurn: 'Approval in sequence',
|
|
46503
|
-
counterSign1: 'Counter Sign All',
|
|
46504
|
-
counterSign2: 'Counter Sign One',
|
|
46505
|
-
orSign: 'Or Sign'
|
|
46506
|
-
}
|
|
46507
|
-
}
|
|
46508
|
-
});
|
|
46509
|
-
;// ./packages/locales/index.js
|
|
46510
|
-
|
|
46511
|
-
|
|
46512
|
-
|
|
46513
|
-
|
|
46514
|
-
|
|
46515
|
-
const messages = {
|
|
46516
|
-
'zh-cn': {
|
|
46517
|
-
lang: es_locale_zh_CN,
|
|
46518
|
-
...zh_cn
|
|
46519
|
-
},
|
|
46520
|
-
en: {
|
|
46521
|
-
lang: es_locale_en_GB,
|
|
46522
|
-
...en
|
|
46523
|
-
}
|
|
46524
|
-
};
|
|
46525
|
-
const i18n = createI18n({
|
|
46526
|
-
legacy: false,
|
|
46527
|
-
fallbackLocale: 'zh-cn',
|
|
46528
|
-
globalInjection: true,
|
|
46529
|
-
messages
|
|
46530
|
-
});
|
|
46531
|
-
/* harmony default export */ var locales = (i18n);
|
|
46532
46039
|
;// ./packages/mini.js
|
|
46533
46040
|
// 导入样式
|
|
46534
46041
|
|
|
@@ -46537,7 +46044,7 @@ const i18n = createI18n({
|
|
|
46537
46044
|
|
|
46538
46045
|
|
|
46539
46046
|
|
|
46540
|
-
|
|
46047
|
+
// import i18n from './locales'
|
|
46541
46048
|
const components = [BasicInfo, FlowDesign, FlowNode];
|
|
46542
46049
|
const install = function (app) {
|
|
46543
46050
|
// use ant组件
|
|
@@ -46546,7 +46053,7 @@ const install = function (app) {
|
|
|
46546
46053
|
components.map(component => {
|
|
46547
46054
|
app.component(component.name, component);
|
|
46548
46055
|
});
|
|
46549
|
-
app.use(
|
|
46056
|
+
// app.use(i18n);
|
|
46550
46057
|
};
|
|
46551
46058
|
if (typeof window !== 'undefined' && window.Vue) {
|
|
46552
46059
|
install(window.Vue);
|
|
@@ -46560,8 +46067,7 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
46560
46067
|
BasicInfo: BasicInfo,
|
|
46561
46068
|
FlowDesign: FlowDesign,
|
|
46562
46069
|
flowStore: store,
|
|
46563
|
-
FlowNode: FlowNode
|
|
46564
|
-
i18n: locales
|
|
46070
|
+
FlowNode: FlowNode
|
|
46565
46071
|
});
|
|
46566
46072
|
;// ./packages/index.js
|
|
46567
46073
|
// 导入ant组件
|