amis-core 6.11.0-beta.5 → 6.11.0-beta.7
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/esm/Root.js +1 -1
- package/esm/RootRenderer.js +1 -1
- package/esm/SchemaRenderer.js +1 -1
- package/esm/Scoped.js +1 -1
- package/esm/StatusScoped.js +1 -1
- package/esm/StyleManager.js +1 -1
- package/esm/WithRootStore.js +1 -1
- package/esm/WithStore.js +1 -1
- package/esm/actions/Action.js +1 -1
- package/esm/actions/AjaxAction.js +1 -1
- package/esm/actions/BreakAction.js +1 -1
- package/esm/actions/BroadcastAction.js +1 -1
- package/esm/actions/CmptAction.js +1 -1
- package/esm/actions/ContinueAction.js +1 -1
- package/esm/actions/CopyAction.js +1 -1
- package/esm/actions/CustomAction.js +1 -1
- package/esm/actions/DialogAction.js +1 -1
- package/esm/actions/DrawerAction.js +1 -1
- package/esm/actions/EmailAction.js +1 -1
- package/esm/actions/EventAction.js +1 -1
- package/esm/actions/LinkAction.js +1 -1
- package/esm/actions/LoopAction.js +1 -1
- package/esm/actions/PageAction.js +1 -1
- package/esm/actions/ParallelAction.js +1 -1
- package/esm/actions/PrintAction.js +1 -1
- package/esm/actions/StatusAction.js +1 -1
- package/esm/actions/SwitchAction.js +1 -1
- package/esm/actions/ToastAction.js +1 -1
- package/esm/actions/WaitAction.js +1 -1
- package/esm/components/Animations.js +1 -1
- package/esm/components/CustomStyle.js +1 -1
- package/esm/components/ErrorBoundary.js +1 -1
- package/esm/components/LazyComponent.js +1 -1
- package/esm/components/Overlay.js +1 -1
- package/esm/components/PopOver.js +1 -1
- package/esm/env.js +1 -1
- package/esm/envOverwrite.js +1 -1
- package/esm/factory.js +1 -1
- package/esm/globalVar.js +1 -1
- package/esm/globalVarClientHandler.js +1 -1
- package/esm/globalVarDefaultValueHandler.js +1 -1
- package/esm/index.js +4 -4
- package/esm/locale.js +1 -1
- package/esm/polyfills.js +1 -1
- package/esm/renderers/Form.js +17 -43
- package/esm/renderers/Item.js +24 -51
- package/esm/renderers/Options.js +8 -38
- package/esm/renderers/Placeholder.js +1 -1
- package/esm/renderers/builtin.js +1 -1
- package/esm/renderers/register.js +1 -1
- package/esm/renderers/wrapControl.js +10 -41
- package/esm/store/app.js +1 -1
- package/esm/store/combo.js +1 -1
- package/esm/store/crud.js +1 -1
- package/esm/store/form.js +1 -1
- package/esm/store/formItem.js +1 -1
- package/esm/store/iRenderer.js +1 -1
- package/esm/store/index.js +1 -1
- package/esm/store/list.js +1 -1
- package/esm/store/manager.js +1 -1
- package/esm/store/modal.js +1 -1
- package/esm/store/node.js +1 -1
- package/esm/store/pagination.js +1 -1
- package/esm/store/root.js +1 -1
- package/esm/store/service.js +1 -1
- package/esm/store/status.js +1 -1
- package/esm/store/table.js +1 -1
- package/esm/store/table2.js +1 -1
- package/esm/theme.js +1 -1
- package/esm/utils/Animation.js +1 -1
- package/esm/utils/ColorScale.js +1 -1
- package/esm/utils/DataSchema.js +1 -1
- package/esm/utils/DataScope.js +1 -1
- package/esm/utils/RootClose.js +1 -1
- package/esm/utils/SimpleMap.js +1 -1
- package/esm/utils/animations.js +1 -1
- package/esm/utils/api.js +1 -1
- package/esm/utils/arraySlice.js +1 -1
- package/esm/utils/attachmentAdpator.js +1 -1
- package/esm/utils/autobind.js +1 -1
- package/esm/utils/browser.js +1 -1
- package/esm/utils/columnsSplit.js +1 -1
- package/esm/utils/concatData.js +1 -1
- package/esm/utils/dataMapping.js +1 -1
- package/esm/utils/date.js +1 -1
- package/esm/utils/debug.js +1 -1
- package/esm/utils/decodeEntity.js +1 -1
- package/esm/utils/dom.js +1 -1
- package/esm/utils/errors.js +1 -1
- package/esm/utils/escapeHtml.js +1 -1
- package/esm/utils/filter-schema.js +1 -1
- package/esm/utils/filter.js +1 -1
- package/esm/utils/formatDuration.js +1 -1
- package/esm/utils/formula.js +1 -1
- package/esm/utils/getVariable.js +1 -1
- package/esm/utils/grammar.js +1 -1
- package/esm/utils/handleAction.js +1 -1
- package/esm/utils/helper.js +1 -1
- package/esm/utils/highlight.js +1 -1
- package/esm/utils/icon.js +1 -1
- package/esm/utils/image.js +1 -1
- package/esm/utils/index.js +46 -0
- package/esm/utils/isPureVariable.js +1 -1
- package/esm/utils/json-schema-2-amis-schema.js +1 -1
- package/esm/utils/keyToPath.js +1 -1
- package/esm/utils/labelToString.js +1 -1
- package/esm/utils/loopTooMuch.js +1 -1
- package/esm/utils/makeSorter.js +1 -1
- package/esm/utils/math.js +1 -1
- package/esm/utils/memoryParse.js +1 -1
- package/esm/utils/normalizeLink.js +1 -1
- package/esm/utils/normalizeOptions.js +1 -1
- package/esm/utils/object.js +1 -1
- package/esm/utils/offset.js +1 -1
- package/esm/utils/offsetParent.js +1 -1
- package/esm/utils/optionValueCompare.js +1 -1
- package/esm/utils/position.js +1 -1
- package/esm/utils/prettyBytes.js +1 -1
- package/esm/utils/printElement.js +1 -1
- package/esm/utils/renderer-event.js +1 -1
- package/esm/utils/replaceText.js +1 -1
- package/esm/utils/resize-sensor.js +1 -1
- package/esm/utils/resolveCondition.js +1 -1
- package/esm/utils/resolveVariable.js +1 -1
- package/esm/utils/resolveVariableAndFilter.js +1 -1
- package/esm/utils/resolveVariableAndFilterForAsync.js +1 -1
- package/esm/utils/scrollPosition.js +1 -1
- package/esm/utils/string2regExp.js +1 -1
- package/esm/utils/stripNumber.js +1 -1
- package/esm/utils/style-helper.js +1 -1
- package/esm/utils/style.js +1 -1
- package/esm/utils/toNumber.js +1 -1
- package/esm/utils/tokenize.js +1 -1
- package/esm/utils/tpl-builtin.js +1 -1
- package/esm/utils/tpl-lodash.js +1 -1
- package/esm/utils/tpl.js +1 -1
- package/esm/utils/uncontrollable.js +1 -1
- package/esm/utils/validateId.js +1 -1
- package/esm/utils/validations.js +1 -1
- package/esm/utils/visitedCache.js +1 -1
- package/lib/Root.js +1 -1
- package/lib/RootRenderer.js +1 -1
- package/lib/SchemaRenderer.js +1 -1
- package/lib/Scoped.js +1 -1
- package/lib/StatusScoped.js +1 -1
- package/lib/StyleManager.js +1 -1
- package/lib/WithRootStore.js +1 -1
- package/lib/WithStore.js +1 -1
- package/lib/actions/Action.js +1 -1
- package/lib/actions/AjaxAction.js +1 -1
- package/lib/actions/BreakAction.js +1 -1
- package/lib/actions/BroadcastAction.js +1 -1
- package/lib/actions/CmptAction.js +1 -1
- package/lib/actions/ContinueAction.js +1 -1
- package/lib/actions/CopyAction.js +1 -1
- package/lib/actions/CustomAction.js +1 -1
- package/lib/actions/DialogAction.js +1 -1
- package/lib/actions/DrawerAction.js +1 -1
- package/lib/actions/EmailAction.js +1 -1
- package/lib/actions/EventAction.js +1 -1
- package/lib/actions/LinkAction.js +1 -1
- package/lib/actions/LoopAction.js +1 -1
- package/lib/actions/PageAction.js +1 -1
- package/lib/actions/ParallelAction.js +1 -1
- package/lib/actions/PrintAction.js +1 -1
- package/lib/actions/StatusAction.js +1 -1
- package/lib/actions/SwitchAction.js +1 -1
- package/lib/actions/ToastAction.js +1 -1
- package/lib/actions/WaitAction.js +1 -1
- package/lib/components/Animations.js +1 -1
- package/lib/components/CustomStyle.js +1 -1
- package/lib/components/ErrorBoundary.js +1 -1
- package/lib/components/LazyComponent.js +1 -1
- package/lib/components/Overlay.js +1 -1
- package/lib/components/PopOver.js +1 -1
- package/lib/env.js +1 -1
- package/lib/envOverwrite.js +1 -1
- package/lib/factory.js +1 -1
- package/lib/globalVar.js +1 -1
- package/lib/globalVarClientHandler.js +1 -1
- package/lib/globalVarDefaultValueHandler.js +1 -1
- package/lib/index.js +4 -4
- package/lib/locale.js +1 -1
- package/lib/polyfills.js +1 -1
- package/lib/renderers/Form.js +21 -48
- package/lib/renderers/Item.js +28 -56
- package/lib/renderers/Options.js +12 -43
- package/lib/renderers/Placeholder.js +1 -1
- package/lib/renderers/builtin.js +1 -1
- package/lib/renderers/register.js +1 -1
- package/lib/renderers/wrapControl.js +14 -46
- package/lib/store/app.js +1 -1
- package/lib/store/combo.js +1 -1
- package/lib/store/crud.js +1 -1
- package/lib/store/form.js +1 -1
- package/lib/store/formItem.js +1 -1
- package/lib/store/iRenderer.js +1 -1
- package/lib/store/index.js +1 -1
- package/lib/store/list.js +1 -1
- package/lib/store/manager.js +1 -1
- package/lib/store/modal.js +1 -1
- package/lib/store/node.js +1 -1
- package/lib/store/pagination.js +1 -1
- package/lib/store/root.js +1 -1
- package/lib/store/service.js +1 -1
- package/lib/store/status.js +1 -1
- package/lib/store/table.js +1 -1
- package/lib/store/table2.js +1 -1
- package/lib/theme.js +1 -1
- package/lib/utils/Animation.js +1 -1
- package/lib/utils/ColorScale.js +1 -1
- package/lib/utils/DataSchema.js +1 -1
- package/lib/utils/DataScope.js +1 -1
- package/lib/utils/RootClose.js +1 -1
- package/lib/utils/SimpleMap.js +1 -1
- package/lib/utils/animations.js +1 -1
- package/lib/utils/api.js +1 -1
- package/lib/utils/arraySlice.js +1 -1
- package/lib/utils/attachmentAdpator.js +1 -1
- package/lib/utils/autobind.js +1 -1
- package/lib/utils/browser.js +1 -1
- package/lib/utils/columnsSplit.js +1 -1
- package/lib/utils/concatData.js +1 -1
- package/lib/utils/dataMapping.js +1 -1
- package/lib/utils/date.js +1 -1
- package/lib/utils/debug.js +1 -1
- package/lib/utils/decodeEntity.js +1 -1
- package/lib/utils/dom.js +1 -1
- package/lib/utils/errors.js +1 -1
- package/lib/utils/escapeHtml.js +1 -1
- package/lib/utils/filter-schema.js +1 -1
- package/lib/utils/filter.js +1 -1
- package/lib/utils/formatDuration.js +1 -1
- package/lib/utils/formula.js +1 -1
- package/lib/utils/getVariable.js +1 -1
- package/lib/utils/grammar.js +1 -1
- package/lib/utils/handleAction.js +1 -1
- package/lib/utils/helper.js +1 -1
- package/lib/utils/highlight.js +1 -1
- package/lib/utils/icon.js +1 -1
- package/lib/utils/image.js +1 -1
- package/lib/utils/index.js +241 -0
- package/lib/utils/isPureVariable.js +1 -1
- package/lib/utils/json-schema-2-amis-schema.js +1 -1
- package/lib/utils/keyToPath.js +1 -1
- package/lib/utils/labelToString.js +1 -1
- package/lib/utils/loopTooMuch.js +1 -1
- package/lib/utils/makeSorter.js +1 -1
- package/lib/utils/math.js +1 -1
- package/lib/utils/memoryParse.js +1 -1
- package/lib/utils/normalizeLink.js +1 -1
- package/lib/utils/normalizeOptions.js +1 -1
- package/lib/utils/object.js +1 -1
- package/lib/utils/offset.js +1 -1
- package/lib/utils/offsetParent.js +1 -1
- package/lib/utils/optionValueCompare.js +1 -1
- package/lib/utils/position.js +1 -1
- package/lib/utils/prettyBytes.js +1 -1
- package/lib/utils/printElement.js +1 -1
- package/lib/utils/renderer-event.js +1 -1
- package/lib/utils/replaceText.js +1 -1
- package/lib/utils/resize-sensor.js +1 -1
- package/lib/utils/resolveCondition.js +1 -1
- package/lib/utils/resolveVariable.js +1 -1
- package/lib/utils/resolveVariableAndFilter.js +1 -1
- package/lib/utils/resolveVariableAndFilterForAsync.js +1 -1
- package/lib/utils/scrollPosition.js +1 -1
- package/lib/utils/string2regExp.js +1 -1
- package/lib/utils/stripNumber.js +1 -1
- package/lib/utils/style-helper.js +1 -1
- package/lib/utils/style.js +1 -1
- package/lib/utils/toNumber.js +1 -1
- package/lib/utils/tokenize.js +1 -1
- package/lib/utils/tpl-builtin.js +1 -1
- package/lib/utils/tpl-lodash.js +1 -1
- package/lib/utils/tpl.js +1 -1
- package/lib/utils/uncontrollable.js +1 -1
- package/lib/utils/validateId.js +1 -1
- package/lib/utils/validations.js +1 -1
- package/lib/utils/visitedCache.js +1 -1
- package/package.json +12 -2
package/lib/utils/image.js
CHANGED
|
@@ -0,0 +1,241 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* amis-core v6.11.0-beta.7
|
|
3
|
+
* Copyright 2018-2025 fex
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
'use strict';
|
|
7
|
+
|
|
8
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
9
|
+
|
|
10
|
+
var api = require('./api.js');
|
|
11
|
+
require('tslib');
|
|
12
|
+
var browser = require('./browser.js');
|
|
13
|
+
var ColorScale = require('./ColorScale.js');
|
|
14
|
+
var columnsSplit = require('./columnsSplit.js');
|
|
15
|
+
require('lodash/isPlainObject');
|
|
16
|
+
var amisFormula = require('amis-formula');
|
|
17
|
+
require('./memoryParse.js');
|
|
18
|
+
var DataSchema = require('./DataSchema.js');
|
|
19
|
+
var DataScope = require('./DataScope.js');
|
|
20
|
+
require('moment');
|
|
21
|
+
var debug = require('./debug.js');
|
|
22
|
+
var dom = require('./dom.js');
|
|
23
|
+
var errors = require('./errors.js');
|
|
24
|
+
var tpl = require('./tpl.js');
|
|
25
|
+
var helper = require('./helper.js');
|
|
26
|
+
require('./filter.js');
|
|
27
|
+
require('lodash/isObject');
|
|
28
|
+
require('lodash/isString');
|
|
29
|
+
require('lodash/isBoolean');
|
|
30
|
+
require('@rc-component/mini-decimal');
|
|
31
|
+
var highlight = require('./highlight.js');
|
|
32
|
+
var icon = require('./icon.js');
|
|
33
|
+
var image = require('./image.js');
|
|
34
|
+
require('lodash/isEqual');
|
|
35
|
+
require('../actions/Action.js');
|
|
36
|
+
require('lodash/debounce');
|
|
37
|
+
var resizeSensor = require('./resize-sensor.js');
|
|
38
|
+
require('react');
|
|
39
|
+
require('react-overlays/useRootClose');
|
|
40
|
+
require('react-dom');
|
|
41
|
+
var SimpleMap = require('./SimpleMap.js');
|
|
42
|
+
require('lodash/mapValues');
|
|
43
|
+
require('lodash/camelCase');
|
|
44
|
+
require('lodash/cloneDeep');
|
|
45
|
+
require('lodash/map');
|
|
46
|
+
require('lodash/isEmpty');
|
|
47
|
+
require('lodash/kebabCase');
|
|
48
|
+
require('uncontrollable');
|
|
49
|
+
require('hoist-non-react-statics');
|
|
50
|
+
var validations = require('./validations.js');
|
|
51
|
+
var resolveCondition = require('./resolveCondition.js');
|
|
52
|
+
require('mobx');
|
|
53
|
+
var Animation = require('./Animation.js');
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
exports.addApiRequestAdaptor = api.addApiRequestAdaptor;
|
|
58
|
+
exports.addApiResponseAdaptor = api.addApiResponseAdaptor;
|
|
59
|
+
exports.addApiResponseAdator = api.addApiResponseAdator;
|
|
60
|
+
exports.buildApi = api.buildApi;
|
|
61
|
+
exports.callStrFunction = api.callStrFunction;
|
|
62
|
+
exports.clearApiCache = api.clearApiCache;
|
|
63
|
+
exports.getApiCache = api.getApiCache;
|
|
64
|
+
exports.isApiOutdated = api.isApiOutdated;
|
|
65
|
+
exports.isApiOutdatedWithData = api.isApiOutdatedWithData;
|
|
66
|
+
exports.isEffectiveApi = api.isEffectiveApi;
|
|
67
|
+
exports.isSameApi = api.isSameApi;
|
|
68
|
+
exports.isValidApi = api.isValidApi;
|
|
69
|
+
exports.jsFetcher = api.jsFetcher;
|
|
70
|
+
exports.jsonpFetcher = api.jsonpFetcher;
|
|
71
|
+
exports.normalizeApi = api.normalizeApi;
|
|
72
|
+
exports.normalizeApiResponseData = api.normalizeApiResponseData;
|
|
73
|
+
exports.removeApiRequestAdaptor = api.removeApiRequestAdaptor;
|
|
74
|
+
exports.removeApiResponseAdaptor = api.removeApiResponseAdaptor;
|
|
75
|
+
exports.responseAdaptor = api.responseAdaptor;
|
|
76
|
+
exports.setApiCache = api.setApiCache;
|
|
77
|
+
exports.shouldBlockedBySendOnApi = api.shouldBlockedBySendOnApi;
|
|
78
|
+
exports.str2AsyncFunction = api.str2AsyncFunction;
|
|
79
|
+
exports.str2function = api.str2function;
|
|
80
|
+
exports.wrapAdaptor = api.wrapAdaptor;
|
|
81
|
+
exports.wrapFetcher = api.wrapFetcher;
|
|
82
|
+
exports.chromeVersion = browser.chromeVersion;
|
|
83
|
+
exports.isSafari = browser.isSafari;
|
|
84
|
+
exports.ColorScale = ColorScale.ColorScale;
|
|
85
|
+
exports.columnsSplit = columnsSplit.columnsSplit;
|
|
86
|
+
Object.defineProperty(exports, 'getFilters', {
|
|
87
|
+
enumerable: true,
|
|
88
|
+
get: function () { return amisFormula.getFilters; }
|
|
89
|
+
});
|
|
90
|
+
Object.defineProperty(exports, 'registerFilter', {
|
|
91
|
+
enumerable: true,
|
|
92
|
+
get: function () { return amisFormula.registerFilter; }
|
|
93
|
+
});
|
|
94
|
+
Object.defineProperty(exports, 'registerFunction', {
|
|
95
|
+
enumerable: true,
|
|
96
|
+
get: function () { return amisFormula.registerFunction; }
|
|
97
|
+
});
|
|
98
|
+
exports.DataSchema = DataSchema.DataSchema;
|
|
99
|
+
exports.DATASCHEMA_TYPE_MAP = DataScope.DATASCHEMA_TYPE_MAP;
|
|
100
|
+
exports.DataScope = DataScope.DataScope;
|
|
101
|
+
exports.DebugWrapper = debug.DebugWrapper;
|
|
102
|
+
exports.JsonView = debug.JsonView;
|
|
103
|
+
exports.debug = debug.debug;
|
|
104
|
+
exports.disableDebug = debug.disableDebug;
|
|
105
|
+
exports.enableDebug = debug.enableDebug;
|
|
106
|
+
exports.traceProps = debug.traceProps;
|
|
107
|
+
exports.warning = debug.warning;
|
|
108
|
+
exports.calculatePosition = dom.calculatePosition;
|
|
109
|
+
exports.getContainer = dom.getContainer;
|
|
110
|
+
exports.getStyleNumber = dom.getStyleNumber;
|
|
111
|
+
exports.ownerDocument = dom.ownerDocument;
|
|
112
|
+
exports.renderTextByKeyword = dom.renderTextByKeyword;
|
|
113
|
+
exports.ServerError = errors.ServerError;
|
|
114
|
+
exports.asyncFilter = tpl.asyncFilter;
|
|
115
|
+
exports.evalExpression = tpl.evalExpression;
|
|
116
|
+
exports.evalExpressionWithConditionBuilder = tpl.evalExpressionWithConditionBuilder;
|
|
117
|
+
exports.evalExpressionWithConditionBuilderAsync = tpl.evalExpressionWithConditionBuilderAsync;
|
|
118
|
+
exports.evalJS = tpl.evalJS;
|
|
119
|
+
exports.filter = tpl.filter;
|
|
120
|
+
exports.registerTplEnginer = tpl.registerTplEnginer;
|
|
121
|
+
exports.setCustomEvalExpression = tpl.setCustomEvalExpression;
|
|
122
|
+
exports.setCustomEvalJs = tpl.setCustomEvalJs;
|
|
123
|
+
exports.JSONTraverse = helper.JSONTraverse;
|
|
124
|
+
exports.JSONValueMap = helper.JSONValueMap;
|
|
125
|
+
exports.SkipOperation = helper.SkipOperation;
|
|
126
|
+
exports.TEST_ID_KEY = helper.TEST_ID_KEY;
|
|
127
|
+
exports.TestIdBuilder = helper.TestIdBuilder;
|
|
128
|
+
exports.ValidateError = helper.ValidateError;
|
|
129
|
+
exports.__uri = helper.__uri;
|
|
130
|
+
exports.anyChanged = helper.anyChanged;
|
|
131
|
+
exports.applyFilters = helper.applyFilters;
|
|
132
|
+
exports.autobind = helper.autobind;
|
|
133
|
+
exports.buildTrackExpression = helper.buildTrackExpression;
|
|
134
|
+
exports.bulkBindFunctions = helper.bulkBindFunctions;
|
|
135
|
+
exports.camel = helper.camel;
|
|
136
|
+
exports.chainEvents = helper.chainEvents;
|
|
137
|
+
exports.chainFunctions = helper.chainFunctions;
|
|
138
|
+
exports.changedEffect = helper.changedEffect;
|
|
139
|
+
exports.convertArrayValueToMoment = helper.convertArrayValueToMoment;
|
|
140
|
+
exports.countTree = helper.countTree;
|
|
141
|
+
exports.detectPropValueChanged = helper.detectPropValueChanged;
|
|
142
|
+
exports.difference = helper.difference;
|
|
143
|
+
exports.differenceFromAll = helper.differenceFromAll;
|
|
144
|
+
exports.eachTree = helper.eachTree;
|
|
145
|
+
exports.evalTrackExpression = helper.evalTrackExpression;
|
|
146
|
+
exports.everyTree = helper.everyTree;
|
|
147
|
+
exports.filterTree = helper.filterTree;
|
|
148
|
+
exports.findIndex = helper.findIndex;
|
|
149
|
+
exports.findObjectsWithKey = helper.findObjectsWithKey;
|
|
150
|
+
exports.findTree = helper.findTree;
|
|
151
|
+
exports.findTreeAll = helper.findTreeAll;
|
|
152
|
+
exports.findTreeIndex = helper.findTreeIndex;
|
|
153
|
+
exports.flattenTree = helper.flattenTree;
|
|
154
|
+
exports.flattenTreeWithLeafNodes = helper.flattenTreeWithLeafNodes;
|
|
155
|
+
exports.formateCheckThemeCss = helper.formateCheckThemeCss;
|
|
156
|
+
exports.formateId = helper.formateId;
|
|
157
|
+
exports.getLevelFromClassName = helper.getLevelFromClassName;
|
|
158
|
+
exports.getPropValue = helper.getPropValue;
|
|
159
|
+
exports.getRange = helper.getRange;
|
|
160
|
+
exports.getScrollParent = helper.getScrollParent;
|
|
161
|
+
exports.getScrollbarWidth = helper.getScrollbarWidth;
|
|
162
|
+
exports.getTree = helper.getTree;
|
|
163
|
+
exports.getTreeAncestors = helper.getTreeAncestors;
|
|
164
|
+
exports.getTreeDepth = helper.getTreeDepth;
|
|
165
|
+
exports.getTreeParent = helper.getTreeParent;
|
|
166
|
+
exports.getWidthRate = helper.getWidthRate;
|
|
167
|
+
exports.guid = helper.guid;
|
|
168
|
+
exports.hasAbility = helper.hasAbility;
|
|
169
|
+
exports.hasFile = helper.hasFile;
|
|
170
|
+
exports.hasOwnPropertyInPath = helper.hasOwnPropertyInPath;
|
|
171
|
+
exports.hasVisibleExpression = helper.hasVisibleExpression;
|
|
172
|
+
exports.hashCode = helper.hashCode;
|
|
173
|
+
exports.immutableExtends = helper.immutableExtends;
|
|
174
|
+
exports.importLazyComponent = helper.importLazyComponent;
|
|
175
|
+
exports.injectPropsToObject = helper.injectPropsToObject;
|
|
176
|
+
exports.isArrayChildrenModified = helper.isArrayChildrenModified;
|
|
177
|
+
exports.isBreakpoint = helper.isBreakpoint;
|
|
178
|
+
exports.isClickOnInput = helper.isClickOnInput;
|
|
179
|
+
exports.isDisabled = helper.isDisabled;
|
|
180
|
+
exports.isEmpty = helper.isEmpty;
|
|
181
|
+
exports.isMobile = helper.isMobile;
|
|
182
|
+
exports.isNumeric = helper.isNumeric;
|
|
183
|
+
exports.isObjectShallowModified = helper.isObjectShallowModified;
|
|
184
|
+
exports.isSuperDataModified = helper.isSuperDataModified;
|
|
185
|
+
exports.isUnfolded = helper.isUnfolded;
|
|
186
|
+
exports.isVisible = helper.isVisible;
|
|
187
|
+
exports.lcFirst = helper.lcFirst;
|
|
188
|
+
exports.loadScript = helper.loadScript;
|
|
189
|
+
exports.loadStyle = helper.loadStyle;
|
|
190
|
+
exports.makeColumnClassBuild = helper.makeColumnClassBuild;
|
|
191
|
+
exports.makeHorizontalDeeper = helper.makeHorizontalDeeper;
|
|
192
|
+
exports.mapObject = helper.mapObject;
|
|
193
|
+
exports.mapTree = helper.mapTree;
|
|
194
|
+
exports.noop = helper.noop;
|
|
195
|
+
exports.normalizeNodePath = helper.normalizeNodePath;
|
|
196
|
+
exports.object2formData = helper.object2formData;
|
|
197
|
+
exports.omitControls = helper.omitControls;
|
|
198
|
+
exports.padArr = helper.padArr;
|
|
199
|
+
exports.parsePrimitiveQueryString = helper.parsePrimitiveQueryString;
|
|
200
|
+
exports.parseQuery = helper.parseQuery;
|
|
201
|
+
exports.pickEventsProps = helper.pickEventsProps;
|
|
202
|
+
exports.preventDefault = helper.preventDefault;
|
|
203
|
+
exports.promisify = helper.promisify;
|
|
204
|
+
exports.qsparse = helper.qsparse;
|
|
205
|
+
exports.qsstringify = helper.qsstringify;
|
|
206
|
+
exports.range = helper.range;
|
|
207
|
+
exports.removeHTMLTag = helper.removeHTMLTag;
|
|
208
|
+
exports.repeatCount = helper.repeatCount;
|
|
209
|
+
exports.replaceUrlParams = helper.replaceUrlParams;
|
|
210
|
+
exports.rmUndefined = helper.rmUndefined;
|
|
211
|
+
exports.someTree = helper.someTree;
|
|
212
|
+
exports.sortArray = helper.sortArray;
|
|
213
|
+
exports.spliceTree = helper.spliceTree;
|
|
214
|
+
exports.supportsMjs = helper.supportsMjs;
|
|
215
|
+
exports.syncDataFromSuper = helper.syncDataFromSuper;
|
|
216
|
+
exports.ucFirst = helper.ucFirst;
|
|
217
|
+
exports.until = helper.until;
|
|
218
|
+
exports.uuid = helper.uuid;
|
|
219
|
+
exports.uuidv4 = helper.uuidv4;
|
|
220
|
+
exports.visibilityFilter = helper.visibilityFilter;
|
|
221
|
+
exports.highlight = highlight.highlight;
|
|
222
|
+
exports.generateIcon = icon.generateIcon;
|
|
223
|
+
exports.getCustomVendor = icon.getCustomVendor;
|
|
224
|
+
exports.registerCustomVendor = icon.registerCustomVendor;
|
|
225
|
+
exports.getImageDimensions = image.getImageDimensions;
|
|
226
|
+
exports.toDataURL = image.toDataURL;
|
|
227
|
+
exports.getComputedStyle = resizeSensor.getComputedStyle;
|
|
228
|
+
exports.resizeSensor = resizeSensor.resizeSensor;
|
|
229
|
+
exports.SimpleMap = SimpleMap.SimpleMap;
|
|
230
|
+
exports.addRule = validations.addRule;
|
|
231
|
+
exports.str2rules = validations.str2rules;
|
|
232
|
+
exports.validate = validations.validate;
|
|
233
|
+
exports.validateMessages = validations.validateMessages;
|
|
234
|
+
exports.validateObject = validations.validateObject;
|
|
235
|
+
exports.validations = validations.validations;
|
|
236
|
+
exports.getConditionComputers = resolveCondition.getConditionComputers;
|
|
237
|
+
exports.registerConditionComputer = resolveCondition.registerConditionComputer;
|
|
238
|
+
exports.resolveCondition = resolveCondition.resolveCondition;
|
|
239
|
+
exports.resolveConditionAsync = resolveCondition.resolveConditionAsync;
|
|
240
|
+
exports.setConditionComputeErrorHandler = resolveCondition.setConditionComputeErrorHandler;
|
|
241
|
+
exports.animation = Animation["default"];
|
package/lib/utils/keyToPath.js
CHANGED
package/lib/utils/loopTooMuch.js
CHANGED
package/lib/utils/makeSorter.js
CHANGED
package/lib/utils/math.js
CHANGED
package/lib/utils/memoryParse.js
CHANGED
package/lib/utils/object.js
CHANGED
package/lib/utils/offset.js
CHANGED
package/lib/utils/position.js
CHANGED
package/lib/utils/prettyBytes.js
CHANGED
package/lib/utils/replaceText.js
CHANGED
package/lib/utils/stripNumber.js
CHANGED
package/lib/utils/style.js
CHANGED
package/lib/utils/toNumber.js
CHANGED
package/lib/utils/tokenize.js
CHANGED
package/lib/utils/tpl-builtin.js
CHANGED
package/lib/utils/tpl-lodash.js
CHANGED
package/lib/utils/tpl.js
CHANGED
package/lib/utils/validateId.js
CHANGED
package/lib/utils/validations.js
CHANGED
package/package.json
CHANGED
|
@@ -1,12 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "amis-core",
|
|
3
|
-
"version": "6.11.0-beta.
|
|
3
|
+
"version": "6.11.0-beta.7",
|
|
4
4
|
"description": "amis-core",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "esm/index.js",
|
|
7
7
|
"types": "lib/index.d.ts",
|
|
8
8
|
"author": "fex",
|
|
9
9
|
"license": "Apache-2.0",
|
|
10
|
+
"exports": {
|
|
11
|
+
".": {
|
|
12
|
+
"require": "./lib/index.js",
|
|
13
|
+
"import": "./esm/index.js"
|
|
14
|
+
},
|
|
15
|
+
"./lib/*": {
|
|
16
|
+
"require": "./lib/*.js",
|
|
17
|
+
"import": "./esm/*.js"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
10
20
|
"devDependencies": {
|
|
11
21
|
"@rollup/plugin-commonjs": "^22.0.2",
|
|
12
22
|
"@rollup/plugin-json": "^4.1.0",
|
|
@@ -49,7 +59,7 @@
|
|
|
49
59
|
],
|
|
50
60
|
"dependencies": {
|
|
51
61
|
"@rc-component/mini-decimal": "^1.0.1",
|
|
52
|
-
"amis-formula": "^6.11.0-beta.
|
|
62
|
+
"amis-formula": "^6.11.0-beta.7",
|
|
53
63
|
"classnames": "2.3.2",
|
|
54
64
|
"cross-env": "^7.0.3",
|
|
55
65
|
"file-saver": "^2.0.2",
|