amis-core 3.6.2 → 3.6.4
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 +2 -2
- package/esm/RootRenderer.js +2 -2
- package/esm/SchemaRenderer.js +2 -2
- package/esm/Scoped.js +2 -2
- package/esm/StatusScoped.js +2 -2
- package/esm/WithRootStore.js +2 -2
- package/esm/WithStore.js +2 -2
- package/esm/actions/Action.js +2 -2
- package/esm/actions/AjaxAction.js +2 -2
- package/esm/actions/BreakAction.js +2 -2
- package/esm/actions/BroadcastAction.js +2 -2
- package/esm/actions/CmptAction.js +2 -2
- package/esm/actions/ContinueAction.js +2 -2
- package/esm/actions/CopyAction.js +2 -2
- package/esm/actions/CustomAction.js +2 -2
- package/esm/actions/DialogAction.js +2 -2
- package/esm/actions/DrawerAction.js +2 -2
- package/esm/actions/EmailAction.js +2 -2
- package/esm/actions/LinkAction.js +2 -2
- package/esm/actions/LoopAction.js +2 -2
- package/esm/actions/PageAction.js +2 -2
- package/esm/actions/ParallelAction.js +2 -2
- package/esm/actions/StatusAction.js +2 -2
- package/esm/actions/SwitchAction.js +2 -2
- package/esm/actions/ToastAction.js +2 -2
- package/esm/components/CustomStyle.js +2 -2
- package/esm/components/ErrorBoundary.js +2 -2
- package/esm/components/LazyComponent.js +2 -2
- package/esm/components/Overlay.d.ts +2 -1
- package/esm/components/Overlay.js +20 -6
- package/esm/components/PopOver.js +5 -3
- package/esm/env.js +2 -2
- package/esm/envOverwrite.js +2 -2
- package/esm/factory.js +2 -2
- package/esm/index.js +3 -3
- package/esm/locale.js +2 -2
- package/esm/polyfills.js +2 -2
- package/esm/renderers/Form.js +2 -2
- package/esm/renderers/Item.js +2 -2
- package/esm/renderers/Options.js +2 -2
- package/esm/renderers/Placeholder.js +2 -2
- package/esm/renderers/builtin.js +2 -2
- package/esm/renderers/register.js +2 -2
- package/esm/renderers/wrapControl.js +2 -2
- package/esm/store/app.js +2 -2
- package/esm/store/combo.d.ts +24 -24
- package/esm/store/combo.js +2 -2
- package/esm/store/crud.js +2 -2
- package/esm/store/form.d.ts +10 -10
- package/esm/store/form.js +2 -2
- package/esm/store/formItem.js +2 -2
- package/esm/store/iRenderer.js +2 -2
- package/esm/store/index.js +2 -2
- package/esm/store/list.js +2 -2
- package/esm/store/manager.js +2 -2
- package/esm/store/modal.js +2 -2
- package/esm/store/node.js +2 -2
- package/esm/store/pagination.js +2 -2
- package/esm/store/root.js +2 -2
- package/esm/store/service.js +2 -2
- package/esm/store/status.js +2 -2
- package/esm/store/table.d.ts +20 -20
- package/esm/store/table.js +2 -2
- package/esm/store/table2.js +2 -2
- package/esm/theme.js +2 -2
- package/esm/utils/Animation.js +2 -2
- package/esm/utils/ColorScale.js +2 -2
- package/esm/utils/DataSchema.js +2 -2
- package/esm/utils/DataScope.js +2 -2
- package/esm/utils/RootClose.js +2 -2
- package/esm/utils/SimpleMap.js +2 -2
- package/esm/utils/api.js +2 -2
- package/esm/utils/arraySlice.js +2 -2
- package/esm/utils/attachmentAdpator.js +2 -2
- package/esm/utils/autobind.js +2 -2
- package/esm/utils/columnsSplit.js +2 -2
- package/esm/utils/dataMapping.js +2 -2
- package/esm/utils/date.js +2 -2
- package/esm/utils/debug.js +2 -2
- package/esm/utils/decodeEntity.js +2 -2
- package/esm/utils/dom.js +2 -2
- package/esm/utils/errors.js +2 -2
- package/esm/utils/escapeHtml.js +2 -2
- package/esm/utils/filter-schema.js +2 -2
- package/esm/utils/filter.js +2 -2
- package/esm/utils/formatDuration.js +2 -2
- package/esm/utils/formula.js +2 -2
- package/esm/utils/getVariable.js +2 -2
- package/esm/utils/grammar.js +2 -2
- package/esm/utils/handleAction.js +2 -2
- package/esm/utils/helper.js +2 -2
- package/esm/utils/highlight.js +2 -2
- package/esm/utils/icon.js +2 -2
- package/esm/utils/image.js +2 -2
- package/esm/utils/isPureVariable.js +2 -2
- package/esm/utils/json-schema-2-amis-schema.js +2 -2
- package/esm/utils/keyToPath.js +2 -2
- package/esm/utils/makeSorter.js +2 -2
- package/esm/utils/math.js +2 -2
- package/esm/utils/memoryParse.js +2 -2
- package/esm/utils/normalizeLink.js +2 -2
- package/esm/utils/normalizeOptions.js +2 -2
- package/esm/utils/object.js +2 -2
- package/esm/utils/offset.js +2 -2
- package/esm/utils/offsetParent.js +2 -2
- package/esm/utils/optionValueCompare.js +2 -2
- package/esm/utils/position.js +2 -2
- package/esm/utils/prettyBytes.js +2 -2
- package/esm/utils/renderer-event.js +2 -2
- package/esm/utils/replaceText.js +2 -2
- package/esm/utils/resize-sensor.js +2 -2
- package/esm/utils/resolveCondition.js +2 -2
- package/esm/utils/resolveVariable.js +2 -2
- package/esm/utils/resolveVariableAndFilter.js +2 -2
- package/esm/utils/resolveVariableAndFilterForAsync.js +2 -2
- package/esm/utils/scrollPosition.js +2 -2
- package/esm/utils/string2regExp.js +2 -2
- package/esm/utils/stripNumber.js +2 -2
- package/esm/utils/style-helper.js +2 -2
- package/esm/utils/style.js +2 -2
- package/esm/utils/toNumber.js +2 -2
- package/esm/utils/tokenize.js +2 -2
- package/esm/utils/tpl-builtin.js +2 -2
- package/esm/utils/tpl-lodash.js +2 -2
- package/esm/utils/tpl.js +2 -2
- package/esm/utils/uncontrollable.js +2 -2
- package/esm/utils/validations.js +2 -2
- package/lib/Root.js +2 -2
- package/lib/RootRenderer.d.ts +1 -1
- package/lib/RootRenderer.js +2 -2
- package/lib/SchemaRenderer.js +2 -2
- package/lib/Scoped.js +2 -2
- package/lib/StatusScoped.js +2 -2
- package/lib/WithRootStore.js +2 -2
- package/lib/WithStore.js +2 -2
- package/lib/actions/Action.js +2 -2
- package/lib/actions/AjaxAction.js +2 -2
- package/lib/actions/BreakAction.js +2 -2
- package/lib/actions/BroadcastAction.js +2 -2
- package/lib/actions/CmptAction.js +2 -2
- package/lib/actions/ContinueAction.js +2 -2
- package/lib/actions/CopyAction.js +2 -2
- package/lib/actions/CustomAction.js +2 -2
- package/lib/actions/DialogAction.js +2 -2
- package/lib/actions/DrawerAction.js +2 -2
- package/lib/actions/EmailAction.js +2 -2
- package/lib/actions/LinkAction.js +2 -2
- package/lib/actions/LoopAction.js +2 -2
- package/lib/actions/PageAction.js +2 -2
- package/lib/actions/ParallelAction.js +2 -2
- package/lib/actions/StatusAction.js +2 -2
- package/lib/actions/SwitchAction.js +2 -2
- package/lib/actions/ToastAction.js +2 -2
- package/lib/components/CustomStyle.js +2 -2
- package/lib/components/ErrorBoundary.js +2 -2
- package/lib/components/LazyComponent.js +2 -2
- package/lib/components/Overlay.d.ts +2 -1
- package/lib/components/Overlay.js +20 -5
- package/lib/components/PopOver.js +5 -3
- package/lib/env.js +2 -2
- package/lib/envOverwrite.js +2 -2
- package/lib/factory.js +2 -2
- package/lib/index.js +3 -3
- package/lib/locale.js +2 -2
- package/lib/polyfills.js +2 -2
- package/lib/renderers/Form.js +2 -2
- package/lib/renderers/Item.js +2 -2
- package/lib/renderers/Options.js +2 -2
- package/lib/renderers/Placeholder.js +2 -2
- package/lib/renderers/builtin.js +2 -2
- package/lib/renderers/register.js +2 -2
- package/lib/renderers/wrapControl.js +2 -2
- package/lib/store/app.js +2 -2
- package/lib/store/combo.d.ts +24 -25
- package/lib/store/combo.js +2 -2
- package/lib/store/crud.js +2 -2
- package/lib/store/form.d.ts +10 -11
- package/lib/store/form.js +2 -2
- package/lib/store/formItem.js +2 -2
- package/lib/store/iRenderer.js +2 -2
- package/lib/store/index.js +2 -2
- package/lib/store/list.js +2 -2
- package/lib/store/manager.js +2 -2
- package/lib/store/modal.js +2 -2
- package/lib/store/node.js +2 -2
- package/lib/store/pagination.js +2 -2
- package/lib/store/root.js +2 -2
- package/lib/store/service.js +2 -2
- package/lib/store/status.js +2 -2
- package/lib/store/table.d.ts +20 -21
- package/lib/store/table.js +2 -2
- package/lib/store/table2.js +2 -2
- package/lib/theme.js +2 -2
- package/lib/utils/Animation.js +2 -2
- package/lib/utils/ColorScale.js +2 -2
- package/lib/utils/DataSchema.js +2 -2
- package/lib/utils/DataScope.js +2 -2
- package/lib/utils/RootClose.js +2 -2
- package/lib/utils/SimpleMap.js +2 -2
- package/lib/utils/api.js +2 -2
- package/lib/utils/arraySlice.js +2 -2
- package/lib/utils/attachmentAdpator.js +2 -2
- package/lib/utils/autobind.js +2 -2
- package/lib/utils/columnsSplit.js +2 -2
- package/lib/utils/dataMapping.js +2 -2
- package/lib/utils/date.js +2 -2
- package/lib/utils/debug.js +2 -2
- package/lib/utils/decodeEntity.js +2 -2
- package/lib/utils/dom.js +2 -2
- package/lib/utils/errors.js +2 -2
- package/lib/utils/escapeHtml.js +2 -2
- package/lib/utils/filter-schema.js +2 -2
- package/lib/utils/filter.js +2 -2
- package/lib/utils/formatDuration.js +2 -2
- package/lib/utils/formula.js +2 -2
- package/lib/utils/getVariable.js +2 -2
- package/lib/utils/grammar.js +2 -2
- package/lib/utils/handleAction.js +2 -2
- package/lib/utils/helper.js +2 -2
- package/lib/utils/highlight.js +2 -2
- package/lib/utils/icon.js +2 -2
- package/lib/utils/image.js +2 -2
- package/lib/utils/isPureVariable.js +2 -2
- package/lib/utils/json-schema-2-amis-schema.js +2 -2
- package/lib/utils/keyToPath.js +2 -2
- package/lib/utils/makeSorter.js +2 -2
- package/lib/utils/math.js +2 -2
- package/lib/utils/memoryParse.js +2 -2
- package/lib/utils/normalizeLink.js +2 -2
- package/lib/utils/normalizeOptions.js +2 -2
- package/lib/utils/object.js +2 -2
- package/lib/utils/offset.js +2 -2
- package/lib/utils/offsetParent.js +2 -2
- package/lib/utils/optionValueCompare.js +2 -2
- package/lib/utils/position.js +2 -2
- package/lib/utils/prettyBytes.js +2 -2
- package/lib/utils/renderer-event.js +2 -2
- package/lib/utils/replaceText.js +2 -2
- package/lib/utils/resize-sensor.js +2 -2
- package/lib/utils/resolveCondition.js +2 -2
- package/lib/utils/resolveVariable.js +2 -2
- package/lib/utils/resolveVariableAndFilter.js +2 -2
- package/lib/utils/resolveVariableAndFilterForAsync.js +2 -2
- package/lib/utils/scrollPosition.js +2 -2
- package/lib/utils/string2regExp.js +2 -2
- package/lib/utils/stripNumber.js +2 -2
- package/lib/utils/style-helper.js +2 -2
- package/lib/utils/style.js +2 -2
- package/lib/utils/toNumber.js +2 -2
- package/lib/utils/tokenize.js +2 -2
- package/lib/utils/tpl-builtin.js +2 -2
- package/lib/utils/tpl-lodash.js +2 -2
- package/lib/utils/tpl.js +2 -2
- package/lib/utils/uncontrollable.js +2 -2
- package/lib/utils/validations.js +2 -2
- package/package.json +3 -3
package/lib/factory.js
CHANGED
package/lib/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* amis-core v3.6.
|
|
3
|
-
* Copyright 2018-
|
|
2
|
+
* amis-core v3.6.4
|
|
3
|
+
* Copyright 2018-2024 fex
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
'use strict';
|
|
@@ -133,7 +133,7 @@ var _J$X_ = (__react_jsx__["default"] || __react_jsx__).createElement;
|
|
|
133
133
|
(__react_jsx__["default"] || __react_jsx__).Fragment;
|
|
134
134
|
var classPrefix = theme.getClassPrefix();
|
|
135
135
|
// @ts-ignore
|
|
136
|
-
var version = '3.6.
|
|
136
|
+
var version = '3.6.4';
|
|
137
137
|
function render(schema, props, options, pathPrefix) {
|
|
138
138
|
if (props === void 0) { props = {}; }
|
|
139
139
|
if (options === void 0) { options = {}; }
|
package/lib/locale.js
CHANGED
package/lib/polyfills.js
CHANGED
package/lib/renderers/Form.js
CHANGED
package/lib/renderers/Item.js
CHANGED
package/lib/renderers/Options.js
CHANGED
package/lib/renderers/builtin.js
CHANGED
package/lib/store/app.js
CHANGED
package/lib/store/combo.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="lodash" />
|
|
2
1
|
import { SnapshotIn, Instance } from 'mobx-state-tree';
|
|
3
2
|
import type { IFormStore, IFormItemStore } from './form';
|
|
4
3
|
export declare const UniqueGroup: import("mobx-state-tree").IModelType<{
|
|
@@ -165,7 +164,7 @@ export declare const UniqueGroup: import("mobx-state-tree").IModelType<{
|
|
|
165
164
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
166
165
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
167
166
|
closeDialog: (result?: any) => void;
|
|
168
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
167
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
169
168
|
changeEmitedValue: (value: any) => void;
|
|
170
169
|
addSubFormItem: (item: {
|
|
171
170
|
id: string;
|
|
@@ -674,7 +673,7 @@ export declare const UniqueGroup: import("mobx-state-tree").IModelType<{
|
|
|
674
673
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
675
674
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
676
675
|
closeDialog: (result?: any) => void;
|
|
677
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
676
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
678
677
|
changeEmitedValue: (value: any) => void;
|
|
679
678
|
addSubFormItem: (item: {
|
|
680
679
|
id: string;
|
|
@@ -1215,7 +1214,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
1215
1214
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
1216
1215
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
1217
1216
|
closeDialog: (result?: any) => void;
|
|
1218
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
1217
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
1219
1218
|
changeEmitedValue: (value: any) => void;
|
|
1220
1219
|
addSubFormItem: (item: {
|
|
1221
1220
|
id: string;
|
|
@@ -1724,7 +1723,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
1724
1723
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
1725
1724
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
1726
1725
|
closeDialog: (result?: any) => void;
|
|
1727
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
1726
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
1728
1727
|
changeEmitedValue: (value: any) => void;
|
|
1729
1728
|
addSubFormItem: (item: {
|
|
1730
1729
|
id: string;
|
|
@@ -2354,7 +2353,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
2354
2353
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
2355
2354
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
2356
2355
|
closeDialog: (result?: any) => void;
|
|
2357
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
2356
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
2358
2357
|
changeEmitedValue: (value: any) => void;
|
|
2359
2358
|
addSubFormItem: (item: {
|
|
2360
2359
|
id: string;
|
|
@@ -2863,7 +2862,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
2863
2862
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
2864
2863
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
2865
2864
|
closeDialog: (result?: any) => void;
|
|
2866
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
2865
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
2867
2866
|
changeEmitedValue: (value: any) => void;
|
|
2868
2867
|
addSubFormItem: (item: {
|
|
2869
2868
|
id: string;
|
|
@@ -3376,7 +3375,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
3376
3375
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
3377
3376
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
3378
3377
|
closeDialog: (result?: any) => void;
|
|
3379
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
3378
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
3380
3379
|
changeEmitedValue: (value: any) => void;
|
|
3381
3380
|
addSubFormItem: (item: {
|
|
3382
3381
|
id: string;
|
|
@@ -3885,7 +3884,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
3885
3884
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
3886
3885
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
3887
3886
|
closeDialog: (result?: any) => void;
|
|
3888
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
3887
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
3889
3888
|
changeEmitedValue: (value: any) => void;
|
|
3890
3889
|
addSubFormItem: (item: {
|
|
3891
3890
|
id: string;
|
|
@@ -4403,7 +4402,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
4403
4402
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
4404
4403
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
4405
4404
|
closeDialog: (result?: any) => void;
|
|
4406
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
4405
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
4407
4406
|
changeEmitedValue: (value: any) => void;
|
|
4408
4407
|
addSubFormItem: (item: {
|
|
4409
4408
|
id: string;
|
|
@@ -4912,7 +4911,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
4912
4911
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
4913
4912
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
4914
4913
|
closeDialog: (result?: any) => void;
|
|
4915
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
4914
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
4916
4915
|
changeEmitedValue: (value: any) => void;
|
|
4917
4916
|
addSubFormItem: (item: {
|
|
4918
4917
|
id: string;
|
|
@@ -5425,7 +5424,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
5425
5424
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
5426
5425
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
5427
5426
|
closeDialog: (result?: any) => void;
|
|
5428
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
5427
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
5429
5428
|
changeEmitedValue: (value: any) => void;
|
|
5430
5429
|
addSubFormItem: (item: {
|
|
5431
5430
|
id: string;
|
|
@@ -5934,7 +5933,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
5934
5933
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
5935
5934
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
5936
5935
|
closeDialog: (result?: any) => void;
|
|
5937
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
5936
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
5938
5937
|
changeEmitedValue: (value: any) => void;
|
|
5939
5938
|
addSubFormItem: (item: {
|
|
5940
5939
|
id: string;
|
|
@@ -6447,7 +6446,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
6447
6446
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
6448
6447
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
6449
6448
|
closeDialog: (result?: any) => void;
|
|
6450
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
6449
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
6451
6450
|
changeEmitedValue: (value: any) => void;
|
|
6452
6451
|
addSubFormItem: (item: {
|
|
6453
6452
|
id: string;
|
|
@@ -6956,7 +6955,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
6956
6955
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
6957
6956
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
6958
6957
|
closeDialog: (result?: any) => void;
|
|
6959
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
6958
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
6960
6959
|
changeEmitedValue: (value: any) => void;
|
|
6961
6960
|
addSubFormItem: (item: {
|
|
6962
6961
|
id: string;
|
|
@@ -7588,7 +7587,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
7588
7587
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
7589
7588
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
7590
7589
|
closeDialog: (result?: any) => void;
|
|
7591
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
7590
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
7592
7591
|
changeEmitedValue: (value: any) => void;
|
|
7593
7592
|
addSubFormItem: (item: {
|
|
7594
7593
|
id: string;
|
|
@@ -8097,7 +8096,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
8097
8096
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
8098
8097
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
8099
8098
|
closeDialog: (result?: any) => void;
|
|
8100
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
8099
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
8101
8100
|
changeEmitedValue: (value: any) => void;
|
|
8102
8101
|
addSubFormItem: (item: {
|
|
8103
8102
|
id: string;
|
|
@@ -8610,7 +8609,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
8610
8609
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
8611
8610
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
8612
8611
|
closeDialog: (result?: any) => void;
|
|
8613
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
8612
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
8614
8613
|
changeEmitedValue: (value: any) => void;
|
|
8615
8614
|
addSubFormItem: (item: {
|
|
8616
8615
|
id: string;
|
|
@@ -9119,7 +9118,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
9119
9118
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
9120
9119
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
9121
9120
|
closeDialog: (result?: any) => void;
|
|
9122
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
9121
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
9123
9122
|
changeEmitedValue: (value: any) => void;
|
|
9124
9123
|
addSubFormItem: (item: {
|
|
9125
9124
|
id: string;
|
|
@@ -9637,7 +9636,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
9637
9636
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
9638
9637
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
9639
9638
|
closeDialog: (result?: any) => void;
|
|
9640
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
9639
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
9641
9640
|
changeEmitedValue: (value: any) => void;
|
|
9642
9641
|
addSubFormItem: (item: {
|
|
9643
9642
|
id: string;
|
|
@@ -10146,7 +10145,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
10146
10145
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
10147
10146
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
10148
10147
|
closeDialog: (result?: any) => void;
|
|
10149
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
10148
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
10150
10149
|
changeEmitedValue: (value: any) => void;
|
|
10151
10150
|
addSubFormItem: (item: {
|
|
10152
10151
|
id: string;
|
|
@@ -10659,7 +10658,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
10659
10658
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
10660
10659
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
10661
10660
|
closeDialog: (result?: any) => void;
|
|
10662
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
10661
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
10663
10662
|
changeEmitedValue: (value: any) => void;
|
|
10664
10663
|
addSubFormItem: (item: {
|
|
10665
10664
|
id: string;
|
|
@@ -11168,7 +11167,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
11168
11167
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
11169
11168
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
11170
11169
|
closeDialog: (result?: any) => void;
|
|
11171
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
11170
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
11172
11171
|
changeEmitedValue: (value: any) => void;
|
|
11173
11172
|
addSubFormItem: (item: {
|
|
11174
11173
|
id: string;
|
|
@@ -11681,7 +11680,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
11681
11680
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
11682
11681
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
11683
11682
|
closeDialog: (result?: any) => void;
|
|
11684
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
11683
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
11685
11684
|
changeEmitedValue: (value: any) => void;
|
|
11686
11685
|
addSubFormItem: (item: {
|
|
11687
11686
|
id: string;
|
|
@@ -12190,7 +12189,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
12190
12189
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
12191
12190
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
12192
12191
|
closeDialog: (result?: any) => void;
|
|
12193
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
12192
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
12194
12193
|
changeEmitedValue: (value: any) => void;
|
|
12195
12194
|
addSubFormItem: (item: {
|
|
12196
12195
|
id: string;
|
package/lib/store/combo.js
CHANGED
package/lib/store/crud.js
CHANGED
package/lib/store/form.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="lodash" />
|
|
2
1
|
import { Instance } from 'mobx-state-tree';
|
|
3
2
|
import type { IFormItemStore } from './formItem';
|
|
4
3
|
import { Api, fetchOptions, Payload } from '../types';
|
|
@@ -243,7 +242,7 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
243
242
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
244
243
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
245
244
|
closeDialog: (result?: any) => void;
|
|
246
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
245
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
247
246
|
changeEmitedValue: (value: any) => void;
|
|
248
247
|
addSubFormItem: (item: {
|
|
249
248
|
id: string;
|
|
@@ -752,7 +751,7 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
752
751
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
753
752
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
754
753
|
closeDialog: (result?: any) => void;
|
|
755
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
754
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
756
755
|
changeEmitedValue: (value: any) => void;
|
|
757
756
|
addSubFormItem: (item: {
|
|
758
757
|
id: string;
|
|
@@ -1266,7 +1265,7 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
1266
1265
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
1267
1266
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
1268
1267
|
closeDialog: (result?: any) => void;
|
|
1269
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
1268
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
1270
1269
|
changeEmitedValue: (value: any) => void;
|
|
1271
1270
|
addSubFormItem: (item: {
|
|
1272
1271
|
id: string;
|
|
@@ -1775,7 +1774,7 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
1775
1774
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
1776
1775
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
1777
1776
|
closeDialog: (result?: any) => void;
|
|
1778
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
1777
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
1779
1778
|
changeEmitedValue: (value: any) => void;
|
|
1780
1779
|
addSubFormItem: (item: {
|
|
1781
1780
|
id: string;
|
|
@@ -2293,7 +2292,7 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
2293
2292
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
2294
2293
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
2295
2294
|
closeDialog: (result?: any) => void;
|
|
2296
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
2295
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
2297
2296
|
changeEmitedValue: (value: any) => void;
|
|
2298
2297
|
addSubFormItem: (item: {
|
|
2299
2298
|
id: string;
|
|
@@ -2802,7 +2801,7 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
2802
2801
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
2803
2802
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
2804
2803
|
closeDialog: (result?: any) => void;
|
|
2805
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
2804
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
2806
2805
|
changeEmitedValue: (value: any) => void;
|
|
2807
2806
|
addSubFormItem: (item: {
|
|
2808
2807
|
id: string;
|
|
@@ -3315,7 +3314,7 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
3315
3314
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
3316
3315
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
3317
3316
|
closeDialog: (result?: any) => void;
|
|
3318
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
3317
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
3319
3318
|
changeEmitedValue: (value: any) => void;
|
|
3320
3319
|
addSubFormItem: (item: {
|
|
3321
3320
|
id: string;
|
|
@@ -3824,7 +3823,7 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
3824
3823
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
3825
3824
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
3826
3825
|
closeDialog: (result?: any) => void;
|
|
3827
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
3826
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
3828
3827
|
changeEmitedValue: (value: any) => void;
|
|
3829
3828
|
addSubFormItem: (item: {
|
|
3830
3829
|
id: string;
|
|
@@ -4337,7 +4336,7 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
4337
4336
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
4338
4337
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
4339
4338
|
closeDialog: (result?: any) => void;
|
|
4340
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
4339
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
4341
4340
|
changeEmitedValue: (value: any) => void;
|
|
4342
4341
|
addSubFormItem: (item: {
|
|
4343
4342
|
id: string;
|
|
@@ -4846,7 +4845,7 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
4846
4845
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
4847
4846
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
4848
4847
|
closeDialog: (result?: any) => void;
|
|
4849
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
4848
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
4850
4849
|
changeEmitedValue: (value: any) => void;
|
|
4851
4850
|
addSubFormItem: (item: {
|
|
4852
4851
|
id: string;
|
package/lib/store/form.js
CHANGED
package/lib/store/formItem.js
CHANGED
package/lib/store/iRenderer.js
CHANGED
package/lib/store/index.js
CHANGED
package/lib/store/list.js
CHANGED
package/lib/store/manager.js
CHANGED
package/lib/store/modal.js
CHANGED
package/lib/store/node.js
CHANGED
package/lib/store/pagination.js
CHANGED
package/lib/store/root.js
CHANGED
package/lib/store/service.js
CHANGED
package/lib/store/status.js
CHANGED