amis-core 6.12.0-beta.12 → 6.12.0-beta.13
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.d.ts +1 -0
- package/esm/RootRenderer.js +9 -4
- package/esm/SchemaRenderer.d.ts +2 -1
- package/esm/SchemaRenderer.js +6 -13
- 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.d.ts +4 -0
- package/esm/env.js +1 -1
- package/esm/envOverwrite.js +1 -1
- package/esm/factory.d.ts +2 -1
- package/esm/factory.js +4 -2
- 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 +1 -1
- package/esm/renderers/Item.js +1 -1
- package/esm/renderers/Options.js +1 -1
- 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 +1 -1
- 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 +3 -2
- package/esm/store/table2.js +5 -3
- 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/getPageId.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 +1 -1
- 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 +9 -3
- 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.d.ts +1 -0
- package/lib/RootRenderer.js +9 -4
- package/lib/SchemaRenderer.d.ts +2 -1
- package/lib/SchemaRenderer.js +4 -11
- 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.d.ts +4 -0
- package/lib/env.js +1 -1
- package/lib/envOverwrite.js +1 -1
- package/lib/factory.d.ts +2 -1
- package/lib/factory.js +4 -2
- 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 +1 -1
- package/lib/renderers/Item.js +1 -1
- package/lib/renderers/Options.js +1 -1
- 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 +1 -1
- package/lib/store/app.js +1 -1
- package/lib/store/combo.d.ts +24 -25
- package/lib/store/combo.js +1 -1
- package/lib/store/crud.js +1 -1
- package/lib/store/form.d.ts +10 -11
- 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.d.ts +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.d.ts +0 -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.d.ts +21 -21
- package/lib/store/table.js +3 -2
- package/lib/store/table2.d.ts +1 -1
- package/lib/store/table2.js +5 -3
- 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/getPageId.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 +1 -1
- 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 +9 -3
- 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 +1 -1
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<{
|
|
@@ -172,7 +171,7 @@ export declare const UniqueGroup: import("mobx-state-tree").IModelType<{
|
|
|
172
171
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
173
172
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
174
173
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
175
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
174
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
176
175
|
changeEmitedValue: (value: any) => void;
|
|
177
176
|
addSubFormItem: (item: {
|
|
178
177
|
id: string;
|
|
@@ -707,7 +706,7 @@ export declare const UniqueGroup: import("mobx-state-tree").IModelType<{
|
|
|
707
706
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
708
707
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
709
708
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
710
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
709
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
711
710
|
changeEmitedValue: (value: any) => void;
|
|
712
711
|
addSubFormItem: (item: {
|
|
713
712
|
id: string;
|
|
@@ -1276,7 +1275,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
1276
1275
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
1277
1276
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
1278
1277
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
1279
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
1278
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
1280
1279
|
changeEmitedValue: (value: any) => void;
|
|
1281
1280
|
addSubFormItem: (item: {
|
|
1282
1281
|
id: string;
|
|
@@ -1811,7 +1810,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
1811
1810
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
1812
1811
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
1813
1812
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
1814
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
1813
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
1815
1814
|
changeEmitedValue: (value: any) => void;
|
|
1816
1815
|
addSubFormItem: (item: {
|
|
1817
1816
|
id: string;
|
|
@@ -2470,7 +2469,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
2470
2469
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
2471
2470
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
2472
2471
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
2473
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
2472
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
2474
2473
|
changeEmitedValue: (value: any) => void;
|
|
2475
2474
|
addSubFormItem: (item: {
|
|
2476
2475
|
id: string;
|
|
@@ -3005,7 +3004,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
3005
3004
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
3006
3005
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
3007
3006
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
3008
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
3007
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
3009
3008
|
changeEmitedValue: (value: any) => void;
|
|
3010
3009
|
addSubFormItem: (item: {
|
|
3011
3010
|
id: string;
|
|
@@ -3546,7 +3545,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
3546
3545
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
3547
3546
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
3548
3547
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
3549
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
3548
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
3550
3549
|
changeEmitedValue: (value: any) => void;
|
|
3551
3550
|
addSubFormItem: (item: {
|
|
3552
3551
|
id: string;
|
|
@@ -4081,7 +4080,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
4081
4080
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
4082
4081
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
4083
4082
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
4084
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
4083
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
4085
4084
|
changeEmitedValue: (value: any) => void;
|
|
4086
4085
|
addSubFormItem: (item: {
|
|
4087
4086
|
id: string;
|
|
@@ -4625,7 +4624,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
4625
4624
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
4626
4625
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
4627
4626
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
4628
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
4627
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
4629
4628
|
changeEmitedValue: (value: any) => void;
|
|
4630
4629
|
addSubFormItem: (item: {
|
|
4631
4630
|
id: string;
|
|
@@ -5160,7 +5159,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
5160
5159
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
5161
5160
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
5162
5161
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
5163
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
5162
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
5164
5163
|
changeEmitedValue: (value: any) => void;
|
|
5165
5164
|
addSubFormItem: (item: {
|
|
5166
5165
|
id: string;
|
|
@@ -5699,7 +5698,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
5699
5698
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
5700
5699
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
5701
5700
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
5702
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
5701
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
5703
5702
|
changeEmitedValue: (value: any) => void;
|
|
5704
5703
|
addSubFormItem: (item: {
|
|
5705
5704
|
id: string;
|
|
@@ -6234,7 +6233,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
6234
6233
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
6235
6234
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
6236
6235
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
6237
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
6236
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
6238
6237
|
changeEmitedValue: (value: any) => void;
|
|
6239
6238
|
addSubFormItem: (item: {
|
|
6240
6239
|
id: string;
|
|
@@ -6773,7 +6772,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
6773
6772
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
6774
6773
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
6775
6774
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
6776
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
6775
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
6777
6776
|
changeEmitedValue: (value: any) => void;
|
|
6778
6777
|
addSubFormItem: (item: {
|
|
6779
6778
|
id: string;
|
|
@@ -7308,7 +7307,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
7308
7307
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
7309
7308
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
7310
7309
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
7311
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
7310
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
7312
7311
|
changeEmitedValue: (value: any) => void;
|
|
7313
7312
|
addSubFormItem: (item: {
|
|
7314
7313
|
id: string;
|
|
@@ -7969,7 +7968,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
7969
7968
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
7970
7969
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
7971
7970
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
7972
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
7971
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
7973
7972
|
changeEmitedValue: (value: any) => void;
|
|
7974
7973
|
addSubFormItem: (item: {
|
|
7975
7974
|
id: string;
|
|
@@ -8504,7 +8503,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
8504
8503
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
8505
8504
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
8506
8505
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
8507
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
8506
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
8508
8507
|
changeEmitedValue: (value: any) => void;
|
|
8509
8508
|
addSubFormItem: (item: {
|
|
8510
8509
|
id: string;
|
|
@@ -9045,7 +9044,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
9045
9044
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
9046
9045
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
9047
9046
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
9048
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
9047
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
9049
9048
|
changeEmitedValue: (value: any) => void;
|
|
9050
9049
|
addSubFormItem: (item: {
|
|
9051
9050
|
id: string;
|
|
@@ -9580,7 +9579,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
9580
9579
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
9581
9580
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
9582
9581
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
9583
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
9582
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
9584
9583
|
changeEmitedValue: (value: any) => void;
|
|
9585
9584
|
addSubFormItem: (item: {
|
|
9586
9585
|
id: string;
|
|
@@ -10124,7 +10123,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
10124
10123
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
10125
10124
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
10126
10125
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
10127
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
10126
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
10128
10127
|
changeEmitedValue: (value: any) => void;
|
|
10129
10128
|
addSubFormItem: (item: {
|
|
10130
10129
|
id: string;
|
|
@@ -10659,7 +10658,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
10659
10658
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
10660
10659
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
10661
10660
|
closePopOver: (confirmed?: any, 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;
|
|
@@ -11198,7 +11197,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
11198
11197
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
11199
11198
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
11200
11199
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
11201
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
11200
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
11202
11201
|
changeEmitedValue: (value: any) => void;
|
|
11203
11202
|
addSubFormItem: (item: {
|
|
11204
11203
|
id: string;
|
|
@@ -11733,7 +11732,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
11733
11732
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
11734
11733
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
11735
11734
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
11736
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
11735
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
11737
11736
|
changeEmitedValue: (value: any) => void;
|
|
11738
11737
|
addSubFormItem: (item: {
|
|
11739
11738
|
id: string;
|
|
@@ -12272,7 +12271,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
12272
12271
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
12273
12272
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
12274
12273
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
12275
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
12274
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
12276
12275
|
changeEmitedValue: (value: any) => void;
|
|
12277
12276
|
addSubFormItem: (item: {
|
|
12278
12277
|
id: string;
|
|
@@ -12807,7 +12806,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
12807
12806
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
12808
12807
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
12809
12808
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
12810
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
12809
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
12811
12810
|
changeEmitedValue: (value: any) => void;
|
|
12812
12811
|
addSubFormItem: (item: {
|
|
12813
12812
|
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, DataChangeReason, fetchOptions, Payload } from '../types';
|
|
@@ -253,7 +252,7 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
253
252
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
254
253
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
255
254
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
256
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
255
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
257
256
|
changeEmitedValue: (value: any) => void;
|
|
258
257
|
addSubFormItem: (item: {
|
|
259
258
|
id: string;
|
|
@@ -788,7 +787,7 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
788
787
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
789
788
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
790
789
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
791
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
790
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
792
791
|
changeEmitedValue: (value: any) => void;
|
|
793
792
|
addSubFormItem: (item: {
|
|
794
793
|
id: string;
|
|
@@ -1330,7 +1329,7 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
1330
1329
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
1331
1330
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
1332
1331
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
1333
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
1332
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
1334
1333
|
changeEmitedValue: (value: any) => void;
|
|
1335
1334
|
addSubFormItem: (item: {
|
|
1336
1335
|
id: string;
|
|
@@ -1865,7 +1864,7 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
1865
1864
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
1866
1865
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
1867
1866
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
1868
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
1867
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
1869
1868
|
changeEmitedValue: (value: any) => void;
|
|
1870
1869
|
addSubFormItem: (item: {
|
|
1871
1870
|
id: string;
|
|
@@ -2409,7 +2408,7 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
2409
2408
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
2410
2409
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
2411
2410
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
2412
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
2411
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
2413
2412
|
changeEmitedValue: (value: any) => void;
|
|
2414
2413
|
addSubFormItem: (item: {
|
|
2415
2414
|
id: string;
|
|
@@ -2944,7 +2943,7 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
2944
2943
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
2945
2944
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
2946
2945
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
2947
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
2946
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
2948
2947
|
changeEmitedValue: (value: any) => void;
|
|
2949
2948
|
addSubFormItem: (item: {
|
|
2950
2949
|
id: string;
|
|
@@ -3483,7 +3482,7 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
3483
3482
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
3484
3483
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
3485
3484
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
3486
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
3485
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
3487
3486
|
changeEmitedValue: (value: any) => void;
|
|
3488
3487
|
addSubFormItem: (item: {
|
|
3489
3488
|
id: string;
|
|
@@ -4018,7 +4017,7 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
4018
4017
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
4019
4018
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
4020
4019
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
4021
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
4020
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
4022
4021
|
changeEmitedValue: (value: any) => void;
|
|
4023
4022
|
addSubFormItem: (item: {
|
|
4024
4023
|
id: string;
|
|
@@ -4557,7 +4556,7 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
4557
4556
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
4558
4557
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
4559
4558
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
4560
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
4559
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
4561
4560
|
changeEmitedValue: (value: any) => void;
|
|
4562
4561
|
addSubFormItem: (item: {
|
|
4563
4562
|
id: string;
|
|
@@ -5092,7 +5091,7 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
5092
5091
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
5093
5092
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
5094
5093
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
5095
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
5094
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
5096
5095
|
changeEmitedValue: (value: any) => void;
|
|
5097
5096
|
addSubFormItem: (item: {
|
|
5098
5097
|
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.d.ts
CHANGED
|
@@ -86,7 +86,7 @@ export declare const ListStore: import("mobx-state-tree").IModelType<{
|
|
|
86
86
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>>;
|
|
87
87
|
primaryField: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
88
88
|
orderBy: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
89
|
-
orderDir: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ITypeUnion<"
|
|
89
|
+
orderDir: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ITypeUnion<"desc" | "asc", "desc" | "asc", "desc" | "asc">, [undefined]>;
|
|
90
90
|
draggable: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
91
91
|
dragging: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
92
92
|
multiple: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
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.d.ts
CHANGED
package/lib/store/root.js
CHANGED
package/lib/store/service.js
CHANGED
package/lib/store/status.js
CHANGED