amis-core 6.7.0 → 6.9.0-rc.0
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 -1
- package/esm/RootRenderer.js +24 -2
- package/esm/SchemaRenderer.d.ts +0 -1
- package/esm/SchemaRenderer.js +43 -20
- package/esm/Scoped.js +2 -1
- package/esm/StatusScoped.js +1 -1
- package/esm/WithRootStore.js +1 -1
- package/esm/WithStore.js +8 -8
- package/esm/actions/Action.js +2 -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 +2 -1
- package/esm/actions/DialogAction.js +3 -1
- package/esm/actions/DrawerAction.js +2 -1
- package/esm/actions/EmailAction.js +1 -1
- package/esm/actions/EventAction.js +2 -1
- package/esm/actions/LinkAction.js +1 -1
- package/esm/actions/LoopAction.js +2 -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/CustomStyle.js +1 -1
- package/esm/components/ErrorBoundary.js +1 -1
- package/esm/components/LazyComponent.d.ts +40 -2
- package/esm/components/LazyComponent.js +13 -7
- package/esm/components/Overlay.js +2 -1
- package/esm/components/PopOver.d.ts +1 -1
- package/esm/components/PopOver.js +2 -1
- package/esm/env.js +1 -1
- package/esm/envOverwrite.js +1 -1
- package/esm/factory.d.ts +13 -2
- package/esm/factory.js +157 -45
- package/esm/index.d.ts +4 -4
- package/esm/index.js +5 -5
- package/esm/locale.js +2 -1
- package/esm/polyfills.js +1 -1
- package/esm/renderers/Form.js +44 -18
- package/esm/renderers/Item.d.ts +97 -12
- package/esm/renderers/Item.js +164 -125
- package/esm/renderers/Options.d.ts +3 -3
- package/esm/renderers/Options.js +43 -19
- 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 +2 -1
- package/esm/store/app.js +2 -1
- package/esm/store/combo.d.ts +408 -0
- package/esm/store/combo.js +1 -1
- package/esm/store/crud.js +2 -1
- package/esm/store/form.d.ts +170 -0
- package/esm/store/form.js +2 -1
- package/esm/store/formItem.d.ts +5 -0
- package/esm/store/formItem.js +30 -8
- package/esm/store/iRenderer.js +2 -1
- package/esm/store/index.d.ts +1 -0
- package/esm/store/index.js +3 -2
- 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 +2 -1
- package/esm/store/root.d.ts +2 -0
- package/esm/store/root.js +46 -21
- package/esm/store/service.js +2 -1
- package/esm/store/status.js +1 -1
- package/esm/store/table.d.ts +379 -21
- package/esm/store/table.js +84 -54
- package/esm/store/table2.js +1 -1
- package/esm/theme.js +1 -1
- package/esm/types.d.ts +4 -2
- 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/api.d.ts +21 -1
- package/esm/utils/api.js +133 -41
- 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 +17 -3
- 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 +2 -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.d.ts +4 -1
- package/esm/utils/helper.js +20 -4
- package/esm/utils/highlight.js +1 -1
- package/esm/utils/icon.js +1 -1
- package/esm/utils/image.js +1 -1
- package/esm/utils/isPureVariable.js +2 -2
- 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/makeSorter.js +1 -1
- package/esm/utils/math.js +1 -1
- package/esm/utils/memoryParse.d.ts +2 -1
- package/esm/utils/memoryParse.js +10 -6
- package/esm/utils/normalizeLink.js +1 -1
- package/esm/utils/normalizeOptions.js +1 -1
- package/esm/utils/object.d.ts +2 -4
- 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 +30 -1
- package/esm/utils/resolveCondition.js +2 -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 +2 -1
- package/esm/utils/toNumber.js +1 -1
- package/esm/utils/tokenize.js +1 -1
- package/esm/utils/tpl-builtin.js +2 -1
- package/esm/utils/tpl-lodash.js +2 -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 +2 -1
- package/esm/utils/visitedCache.d.ts +46 -0
- package/esm/utils/visitedCache.js +124 -0
- package/lib/Root.js +1 -1
- package/lib/RootRenderer.js +23 -1
- package/lib/SchemaRenderer.d.ts +0 -1
- package/lib/SchemaRenderer.js +41 -18
- package/lib/Scoped.js +2 -1
- package/lib/StatusScoped.js +1 -1
- package/lib/WithRootStore.js +1 -1
- package/lib/WithStore.js +8 -8
- package/lib/actions/Action.js +2 -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 +2 -1
- package/lib/actions/DialogAction.js +3 -1
- package/lib/actions/DrawerAction.js +2 -1
- package/lib/actions/EmailAction.js +1 -1
- package/lib/actions/EventAction.js +2 -1
- package/lib/actions/LinkAction.js +1 -1
- package/lib/actions/LoopAction.js +2 -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/CustomStyle.js +1 -1
- package/lib/components/ErrorBoundary.js +1 -1
- package/lib/components/LazyComponent.d.ts +40 -2
- package/lib/components/LazyComponent.js +14 -7
- package/lib/components/Overlay.js +2 -1
- package/lib/components/PopOver.d.ts +1 -1
- package/lib/components/PopOver.js +2 -1
- package/lib/env.js +1 -1
- package/lib/envOverwrite.js +1 -1
- package/lib/factory.d.ts +13 -2
- package/lib/factory.js +161 -44
- package/lib/index.d.ts +4 -4
- package/lib/index.js +10 -2
- package/lib/locale.js +2 -1
- package/lib/polyfills.js +1 -1
- package/lib/renderers/Form.js +41 -15
- package/lib/renderers/Item.d.ts +98 -13
- package/lib/renderers/Item.js +163 -124
- package/lib/renderers/Options.d.ts +3 -3
- package/lib/renderers/Options.js +43 -19
- 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 +2 -1
- package/lib/store/app.js +2 -1
- package/lib/store/combo.d.ts +432 -25
- package/lib/store/combo.js +1 -1
- package/lib/store/crud.js +3 -2
- package/lib/store/form.d.ts +180 -11
- package/lib/store/form.js +2 -1
- package/lib/store/formItem.d.ts +5 -0
- package/lib/store/formItem.js +30 -8
- package/lib/store/iRenderer.js +2 -1
- package/lib/store/index.d.ts +1 -0
- package/lib/store/index.js +3 -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 +2 -1
- package/lib/store/root.d.ts +2 -0
- package/lib/store/root.js +44 -19
- package/lib/store/service.js +2 -1
- package/lib/store/status.js +1 -1
- package/lib/store/table.d.ts +399 -42
- package/lib/store/table.js +84 -54
- package/lib/store/table2.js +1 -1
- package/lib/theme.js +1 -1
- package/lib/types.d.ts +4 -2
- 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/api.d.ts +21 -1
- package/lib/utils/api.js +136 -40
- 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 +18 -4
- 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 +2 -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.d.ts +4 -1
- package/lib/utils/helper.js +19 -3
- package/lib/utils/highlight.js +1 -1
- package/lib/utils/icon.js +1 -1
- package/lib/utils/image.js +1 -1
- package/lib/utils/isPureVariable.js +2 -2
- 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/makeSorter.js +1 -1
- package/lib/utils/math.js +1 -1
- package/lib/utils/memoryParse.d.ts +2 -1
- package/lib/utils/memoryParse.js +10 -6
- package/lib/utils/normalizeLink.js +1 -1
- package/lib/utils/normalizeOptions.js +1 -1
- package/lib/utils/object.d.ts +2 -4
- 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 +30 -1
- package/lib/utils/resolveCondition.js +2 -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 +2 -1
- package/lib/utils/toNumber.js +1 -1
- package/lib/utils/tokenize.js +1 -1
- package/lib/utils/tpl-builtin.js +2 -1
- package/lib/utils/tpl-lodash.js +2 -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 +2 -1
- package/lib/utils/visitedCache.d.ts +46 -0
- package/lib/utils/visitedCache.js +128 -0
- package/package.json +2 -2
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';
|
|
@@ -148,6 +147,9 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
148
147
|
rowIndex: any;
|
|
149
148
|
pagination: any;
|
|
150
149
|
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
150
|
+
popOverOpen: boolean;
|
|
151
|
+
popOverData: any;
|
|
152
|
+
popOverSchema: any;
|
|
151
153
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
152
154
|
readonly parentStore: any;
|
|
153
155
|
readonly __: any;
|
|
@@ -248,7 +250,9 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
248
250
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
249
251
|
openDialog: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
250
252
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
251
|
-
|
|
253
|
+
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
254
|
+
closePopOver: (confirmed?: any, result?: any) => void;
|
|
255
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
252
256
|
changeEmitedValue: (value: any) => void;
|
|
253
257
|
addSubFormItem: (item: {
|
|
254
258
|
id: string;
|
|
@@ -312,6 +316,9 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
312
316
|
rowIndex: any;
|
|
313
317
|
pagination: any;
|
|
314
318
|
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
319
|
+
popOverOpen: boolean;
|
|
320
|
+
popOverData: any;
|
|
321
|
+
popOverSchema: any;
|
|
315
322
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
316
323
|
readonly parentStore: any;
|
|
317
324
|
readonly __: any;
|
|
@@ -398,6 +405,9 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
398
405
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
399
406
|
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
400
407
|
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
408
|
+
popOverOpen: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
409
|
+
popOverData: import("mobx-state-tree").IType<any, any, any>;
|
|
410
|
+
popOverSchema: import("mobx-state-tree").IType<any, any, any>;
|
|
401
411
|
}, {
|
|
402
412
|
readonly parentStore: any;
|
|
403
413
|
readonly __: any;
|
|
@@ -488,6 +498,9 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
488
498
|
rowIndex: any;
|
|
489
499
|
pagination: any;
|
|
490
500
|
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
501
|
+
popOverOpen: boolean;
|
|
502
|
+
popOverData: any;
|
|
503
|
+
popOverSchema: any;
|
|
491
504
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
492
505
|
readonly parentStore: any;
|
|
493
506
|
readonly __: any;
|
|
@@ -574,6 +587,9 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
574
587
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
575
588
|
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
576
589
|
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
590
|
+
popOverOpen: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
591
|
+
popOverData: import("mobx-state-tree").IType<any, any, any>;
|
|
592
|
+
popOverSchema: import("mobx-state-tree").IType<any, any, any>;
|
|
577
593
|
}, {
|
|
578
594
|
readonly parentStore: any;
|
|
579
595
|
readonly __: any;
|
|
@@ -666,6 +682,9 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
666
682
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
667
683
|
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
668
684
|
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
685
|
+
popOverOpen: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
686
|
+
popOverData: import("mobx-state-tree").IType<any, any, any>;
|
|
687
|
+
popOverSchema: import("mobx-state-tree").IType<any, any, any>;
|
|
669
688
|
}, {
|
|
670
689
|
readonly parentStore: any;
|
|
671
690
|
readonly __: any;
|
|
@@ -766,7 +785,9 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
766
785
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
767
786
|
openDialog: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
768
787
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
769
|
-
|
|
788
|
+
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
789
|
+
closePopOver: (confirmed?: any, result?: any) => void;
|
|
790
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
770
791
|
changeEmitedValue: (value: any) => void;
|
|
771
792
|
addSubFormItem: (item: {
|
|
772
793
|
id: string;
|
|
@@ -830,6 +851,9 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
830
851
|
rowIndex: any;
|
|
831
852
|
pagination: any;
|
|
832
853
|
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
854
|
+
popOverOpen: boolean;
|
|
855
|
+
popOverData: any;
|
|
856
|
+
popOverSchema: any;
|
|
833
857
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
834
858
|
readonly parentStore: any;
|
|
835
859
|
readonly __: any;
|
|
@@ -916,6 +940,9 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
916
940
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
917
941
|
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
918
942
|
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
943
|
+
popOverOpen: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
944
|
+
popOverData: import("mobx-state-tree").IType<any, any, any>;
|
|
945
|
+
popOverSchema: import("mobx-state-tree").IType<any, any, any>;
|
|
919
946
|
}, {
|
|
920
947
|
readonly parentStore: any;
|
|
921
948
|
readonly __: any;
|
|
@@ -1006,6 +1033,9 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
1006
1033
|
rowIndex: any;
|
|
1007
1034
|
pagination: any;
|
|
1008
1035
|
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
1036
|
+
popOverOpen: boolean;
|
|
1037
|
+
popOverData: any;
|
|
1038
|
+
popOverSchema: any;
|
|
1009
1039
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
1010
1040
|
readonly parentStore: any;
|
|
1011
1041
|
readonly __: any;
|
|
@@ -1092,6 +1122,9 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
1092
1122
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
1093
1123
|
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
1094
1124
|
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
1125
|
+
popOverOpen: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
1126
|
+
popOverData: import("mobx-state-tree").IType<any, any, any>;
|
|
1127
|
+
popOverSchema: import("mobx-state-tree").IType<any, any, any>;
|
|
1095
1128
|
}, {
|
|
1096
1129
|
readonly parentStore: any;
|
|
1097
1130
|
readonly __: any;
|
|
@@ -1189,6 +1222,9 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
1189
1222
|
rowIndex: any;
|
|
1190
1223
|
pagination: any;
|
|
1191
1224
|
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
1225
|
+
popOverOpen: boolean;
|
|
1226
|
+
popOverData: any;
|
|
1227
|
+
popOverSchema: any;
|
|
1192
1228
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
1193
1229
|
readonly parentStore: any;
|
|
1194
1230
|
readonly __: any;
|
|
@@ -1289,7 +1325,9 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
1289
1325
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
1290
1326
|
openDialog: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
1291
1327
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
1292
|
-
|
|
1328
|
+
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
1329
|
+
closePopOver: (confirmed?: any, result?: any) => void;
|
|
1330
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
1293
1331
|
changeEmitedValue: (value: any) => void;
|
|
1294
1332
|
addSubFormItem: (item: {
|
|
1295
1333
|
id: string;
|
|
@@ -1353,6 +1391,9 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
1353
1391
|
rowIndex: any;
|
|
1354
1392
|
pagination: any;
|
|
1355
1393
|
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
1394
|
+
popOverOpen: boolean;
|
|
1395
|
+
popOverData: any;
|
|
1396
|
+
popOverSchema: any;
|
|
1356
1397
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
1357
1398
|
readonly parentStore: any;
|
|
1358
1399
|
readonly __: any;
|
|
@@ -1439,6 +1480,9 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
1439
1480
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
1440
1481
|
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
1441
1482
|
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
1483
|
+
popOverOpen: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
1484
|
+
popOverData: import("mobx-state-tree").IType<any, any, any>;
|
|
1485
|
+
popOverSchema: import("mobx-state-tree").IType<any, any, any>;
|
|
1442
1486
|
}, {
|
|
1443
1487
|
readonly parentStore: any;
|
|
1444
1488
|
readonly __: any;
|
|
@@ -1529,6 +1573,9 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
1529
1573
|
rowIndex: any;
|
|
1530
1574
|
pagination: any;
|
|
1531
1575
|
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
1576
|
+
popOverOpen: boolean;
|
|
1577
|
+
popOverData: any;
|
|
1578
|
+
popOverSchema: any;
|
|
1532
1579
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
1533
1580
|
readonly parentStore: any;
|
|
1534
1581
|
readonly __: any;
|
|
@@ -1615,6 +1662,9 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
1615
1662
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
1616
1663
|
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
1617
1664
|
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
1665
|
+
popOverOpen: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
1666
|
+
popOverData: import("mobx-state-tree").IType<any, any, any>;
|
|
1667
|
+
popOverSchema: import("mobx-state-tree").IType<any, any, any>;
|
|
1618
1668
|
}, {
|
|
1619
1669
|
readonly parentStore: any;
|
|
1620
1670
|
readonly __: any;
|
|
@@ -1707,6 +1757,9 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
1707
1757
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
1708
1758
|
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
1709
1759
|
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
1760
|
+
popOverOpen: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
1761
|
+
popOverData: import("mobx-state-tree").IType<any, any, any>;
|
|
1762
|
+
popOverSchema: import("mobx-state-tree").IType<any, any, any>;
|
|
1710
1763
|
}, {
|
|
1711
1764
|
readonly parentStore: any;
|
|
1712
1765
|
readonly __: any;
|
|
@@ -1807,7 +1860,9 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
1807
1860
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
1808
1861
|
openDialog: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
1809
1862
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
1810
|
-
|
|
1863
|
+
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
1864
|
+
closePopOver: (confirmed?: any, result?: any) => void;
|
|
1865
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
1811
1866
|
changeEmitedValue: (value: any) => void;
|
|
1812
1867
|
addSubFormItem: (item: {
|
|
1813
1868
|
id: string;
|
|
@@ -1871,6 +1926,9 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
1871
1926
|
rowIndex: any;
|
|
1872
1927
|
pagination: any;
|
|
1873
1928
|
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
1929
|
+
popOverOpen: boolean;
|
|
1930
|
+
popOverData: any;
|
|
1931
|
+
popOverSchema: any;
|
|
1874
1932
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
1875
1933
|
readonly parentStore: any;
|
|
1876
1934
|
readonly __: any;
|
|
@@ -1957,6 +2015,9 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
1957
2015
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
1958
2016
|
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
1959
2017
|
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
2018
|
+
popOverOpen: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
2019
|
+
popOverData: import("mobx-state-tree").IType<any, any, any>;
|
|
2020
|
+
popOverSchema: import("mobx-state-tree").IType<any, any, any>;
|
|
1960
2021
|
}, {
|
|
1961
2022
|
readonly parentStore: any;
|
|
1962
2023
|
readonly __: any;
|
|
@@ -2047,6 +2108,9 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
2047
2108
|
rowIndex: any;
|
|
2048
2109
|
pagination: any;
|
|
2049
2110
|
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
2111
|
+
popOverOpen: boolean;
|
|
2112
|
+
popOverData: any;
|
|
2113
|
+
popOverSchema: any;
|
|
2050
2114
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
2051
2115
|
readonly parentStore: any;
|
|
2052
2116
|
readonly __: any;
|
|
@@ -2133,6 +2197,9 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
2133
2197
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
2134
2198
|
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
2135
2199
|
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
2200
|
+
popOverOpen: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
2201
|
+
popOverData: import("mobx-state-tree").IType<any, any, any>;
|
|
2202
|
+
popOverSchema: import("mobx-state-tree").IType<any, any, any>;
|
|
2136
2203
|
}, {
|
|
2137
2204
|
readonly parentStore: any;
|
|
2138
2205
|
readonly __: any;
|
|
@@ -2234,6 +2301,9 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
2234
2301
|
rowIndex: any;
|
|
2235
2302
|
pagination: any;
|
|
2236
2303
|
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
2304
|
+
popOverOpen: boolean;
|
|
2305
|
+
popOverData: any;
|
|
2306
|
+
popOverSchema: any;
|
|
2237
2307
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
2238
2308
|
readonly parentStore: any;
|
|
2239
2309
|
readonly __: any;
|
|
@@ -2334,7 +2404,9 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
2334
2404
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
2335
2405
|
openDialog: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
2336
2406
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
2337
|
-
|
|
2407
|
+
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
2408
|
+
closePopOver: (confirmed?: any, result?: any) => void;
|
|
2409
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
2338
2410
|
changeEmitedValue: (value: any) => void;
|
|
2339
2411
|
addSubFormItem: (item: {
|
|
2340
2412
|
id: string;
|
|
@@ -2398,6 +2470,9 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
2398
2470
|
rowIndex: any;
|
|
2399
2471
|
pagination: any;
|
|
2400
2472
|
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
2473
|
+
popOverOpen: boolean;
|
|
2474
|
+
popOverData: any;
|
|
2475
|
+
popOverSchema: any;
|
|
2401
2476
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
2402
2477
|
readonly parentStore: any;
|
|
2403
2478
|
readonly __: any;
|
|
@@ -2484,6 +2559,9 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
2484
2559
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
2485
2560
|
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
2486
2561
|
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
2562
|
+
popOverOpen: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
2563
|
+
popOverData: import("mobx-state-tree").IType<any, any, any>;
|
|
2564
|
+
popOverSchema: import("mobx-state-tree").IType<any, any, any>;
|
|
2487
2565
|
}, {
|
|
2488
2566
|
readonly parentStore: any;
|
|
2489
2567
|
readonly __: any;
|
|
@@ -2574,6 +2652,9 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
2574
2652
|
rowIndex: any;
|
|
2575
2653
|
pagination: any;
|
|
2576
2654
|
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
2655
|
+
popOverOpen: boolean;
|
|
2656
|
+
popOverData: any;
|
|
2657
|
+
popOverSchema: any;
|
|
2577
2658
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
2578
2659
|
readonly parentStore: any;
|
|
2579
2660
|
readonly __: any;
|
|
@@ -2660,6 +2741,9 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
2660
2741
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
2661
2742
|
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
2662
2743
|
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
2744
|
+
popOverOpen: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
2745
|
+
popOverData: import("mobx-state-tree").IType<any, any, any>;
|
|
2746
|
+
popOverSchema: import("mobx-state-tree").IType<any, any, any>;
|
|
2663
2747
|
}, {
|
|
2664
2748
|
readonly parentStore: any;
|
|
2665
2749
|
readonly __: any;
|
|
@@ -2752,6 +2836,9 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
2752
2836
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
2753
2837
|
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
2754
2838
|
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
2839
|
+
popOverOpen: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
2840
|
+
popOverData: import("mobx-state-tree").IType<any, any, any>;
|
|
2841
|
+
popOverSchema: import("mobx-state-tree").IType<any, any, any>;
|
|
2755
2842
|
}, {
|
|
2756
2843
|
readonly parentStore: any;
|
|
2757
2844
|
readonly __: any;
|
|
@@ -2852,7 +2939,9 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
2852
2939
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
2853
2940
|
openDialog: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
2854
2941
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
2855
|
-
|
|
2942
|
+
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
2943
|
+
closePopOver: (confirmed?: any, result?: any) => void;
|
|
2944
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
2856
2945
|
changeEmitedValue: (value: any) => void;
|
|
2857
2946
|
addSubFormItem: (item: {
|
|
2858
2947
|
id: string;
|
|
@@ -2916,6 +3005,9 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
2916
3005
|
rowIndex: any;
|
|
2917
3006
|
pagination: any;
|
|
2918
3007
|
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
3008
|
+
popOverOpen: boolean;
|
|
3009
|
+
popOverData: any;
|
|
3010
|
+
popOverSchema: any;
|
|
2919
3011
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
2920
3012
|
readonly parentStore: any;
|
|
2921
3013
|
readonly __: any;
|
|
@@ -3002,6 +3094,9 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
3002
3094
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
3003
3095
|
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
3004
3096
|
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
3097
|
+
popOverOpen: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
3098
|
+
popOverData: import("mobx-state-tree").IType<any, any, any>;
|
|
3099
|
+
popOverSchema: import("mobx-state-tree").IType<any, any, any>;
|
|
3005
3100
|
}, {
|
|
3006
3101
|
readonly parentStore: any;
|
|
3007
3102
|
readonly __: any;
|
|
@@ -3092,6 +3187,9 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
3092
3187
|
rowIndex: any;
|
|
3093
3188
|
pagination: any;
|
|
3094
3189
|
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
3190
|
+
popOverOpen: boolean;
|
|
3191
|
+
popOverData: any;
|
|
3192
|
+
popOverSchema: any;
|
|
3095
3193
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
3096
3194
|
readonly parentStore: any;
|
|
3097
3195
|
readonly __: any;
|
|
@@ -3178,6 +3276,9 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
3178
3276
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
3179
3277
|
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
3180
3278
|
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
3279
|
+
popOverOpen: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
3280
|
+
popOverData: import("mobx-state-tree").IType<any, any, any>;
|
|
3281
|
+
popOverSchema: import("mobx-state-tree").IType<any, any, any>;
|
|
3181
3282
|
}, {
|
|
3182
3283
|
readonly parentStore: any;
|
|
3183
3284
|
readonly __: any;
|
|
@@ -3274,6 +3375,9 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
3274
3375
|
rowIndex: any;
|
|
3275
3376
|
pagination: any;
|
|
3276
3377
|
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
3378
|
+
popOverOpen: boolean;
|
|
3379
|
+
popOverData: any;
|
|
3380
|
+
popOverSchema: any;
|
|
3277
3381
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
3278
3382
|
readonly parentStore: any;
|
|
3279
3383
|
readonly __: any;
|
|
@@ -3374,7 +3478,9 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
3374
3478
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
3375
3479
|
openDialog: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
3376
3480
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
3377
|
-
|
|
3481
|
+
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
3482
|
+
closePopOver: (confirmed?: any, result?: any) => void;
|
|
3483
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
3378
3484
|
changeEmitedValue: (value: any) => void;
|
|
3379
3485
|
addSubFormItem: (item: {
|
|
3380
3486
|
id: string;
|
|
@@ -3438,6 +3544,9 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
3438
3544
|
rowIndex: any;
|
|
3439
3545
|
pagination: any;
|
|
3440
3546
|
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
3547
|
+
popOverOpen: boolean;
|
|
3548
|
+
popOverData: any;
|
|
3549
|
+
popOverSchema: any;
|
|
3441
3550
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
3442
3551
|
readonly parentStore: any;
|
|
3443
3552
|
readonly __: any;
|
|
@@ -3524,6 +3633,9 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
3524
3633
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
3525
3634
|
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
3526
3635
|
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
3636
|
+
popOverOpen: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
3637
|
+
popOverData: import("mobx-state-tree").IType<any, any, any>;
|
|
3638
|
+
popOverSchema: import("mobx-state-tree").IType<any, any, any>;
|
|
3527
3639
|
}, {
|
|
3528
3640
|
readonly parentStore: any;
|
|
3529
3641
|
readonly __: any;
|
|
@@ -3614,6 +3726,9 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
3614
3726
|
rowIndex: any;
|
|
3615
3727
|
pagination: any;
|
|
3616
3728
|
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
3729
|
+
popOverOpen: boolean;
|
|
3730
|
+
popOverData: any;
|
|
3731
|
+
popOverSchema: any;
|
|
3617
3732
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
3618
3733
|
readonly parentStore: any;
|
|
3619
3734
|
readonly __: any;
|
|
@@ -3700,6 +3815,9 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
3700
3815
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
3701
3816
|
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
3702
3817
|
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
3818
|
+
popOverOpen: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
3819
|
+
popOverData: import("mobx-state-tree").IType<any, any, any>;
|
|
3820
|
+
popOverSchema: import("mobx-state-tree").IType<any, any, any>;
|
|
3703
3821
|
}, {
|
|
3704
3822
|
readonly parentStore: any;
|
|
3705
3823
|
readonly __: any;
|
|
@@ -3792,6 +3910,9 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
3792
3910
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
3793
3911
|
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
3794
3912
|
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
3913
|
+
popOverOpen: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
3914
|
+
popOverData: import("mobx-state-tree").IType<any, any, any>;
|
|
3915
|
+
popOverSchema: import("mobx-state-tree").IType<any, any, any>;
|
|
3795
3916
|
}, {
|
|
3796
3917
|
readonly parentStore: any;
|
|
3797
3918
|
readonly __: any;
|
|
@@ -3892,7 +4013,9 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
3892
4013
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
3893
4014
|
openDialog: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
3894
4015
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
3895
|
-
|
|
4016
|
+
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
4017
|
+
closePopOver: (confirmed?: any, result?: any) => void;
|
|
4018
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
3896
4019
|
changeEmitedValue: (value: any) => void;
|
|
3897
4020
|
addSubFormItem: (item: {
|
|
3898
4021
|
id: string;
|
|
@@ -3956,6 +4079,9 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
3956
4079
|
rowIndex: any;
|
|
3957
4080
|
pagination: any;
|
|
3958
4081
|
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
4082
|
+
popOverOpen: boolean;
|
|
4083
|
+
popOverData: any;
|
|
4084
|
+
popOverSchema: any;
|
|
3959
4085
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
3960
4086
|
readonly parentStore: any;
|
|
3961
4087
|
readonly __: any;
|
|
@@ -4042,6 +4168,9 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
4042
4168
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
4043
4169
|
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
4044
4170
|
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
4171
|
+
popOverOpen: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
4172
|
+
popOverData: import("mobx-state-tree").IType<any, any, any>;
|
|
4173
|
+
popOverSchema: import("mobx-state-tree").IType<any, any, any>;
|
|
4045
4174
|
}, {
|
|
4046
4175
|
readonly parentStore: any;
|
|
4047
4176
|
readonly __: any;
|
|
@@ -4132,6 +4261,9 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
4132
4261
|
rowIndex: any;
|
|
4133
4262
|
pagination: any;
|
|
4134
4263
|
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
4264
|
+
popOverOpen: boolean;
|
|
4265
|
+
popOverData: any;
|
|
4266
|
+
popOverSchema: any;
|
|
4135
4267
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
4136
4268
|
readonly parentStore: any;
|
|
4137
4269
|
readonly __: any;
|
|
@@ -4218,6 +4350,9 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
4218
4350
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
4219
4351
|
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
4220
4352
|
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
4353
|
+
popOverOpen: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
4354
|
+
popOverData: import("mobx-state-tree").IType<any, any, any>;
|
|
4355
|
+
popOverSchema: import("mobx-state-tree").IType<any, any, any>;
|
|
4221
4356
|
}, {
|
|
4222
4357
|
readonly parentStore: any;
|
|
4223
4358
|
readonly __: any;
|
|
@@ -4314,6 +4449,9 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
4314
4449
|
rowIndex: any;
|
|
4315
4450
|
pagination: any;
|
|
4316
4451
|
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
4452
|
+
popOverOpen: boolean;
|
|
4453
|
+
popOverData: any;
|
|
4454
|
+
popOverSchema: any;
|
|
4317
4455
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
4318
4456
|
readonly parentStore: any;
|
|
4319
4457
|
readonly __: any;
|
|
@@ -4414,7 +4552,9 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
4414
4552
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
4415
4553
|
openDialog: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
4416
4554
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
4417
|
-
|
|
4555
|
+
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
4556
|
+
closePopOver: (confirmed?: any, result?: any) => void;
|
|
4557
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
4418
4558
|
changeEmitedValue: (value: any) => void;
|
|
4419
4559
|
addSubFormItem: (item: {
|
|
4420
4560
|
id: string;
|
|
@@ -4478,6 +4618,9 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
4478
4618
|
rowIndex: any;
|
|
4479
4619
|
pagination: any;
|
|
4480
4620
|
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
4621
|
+
popOverOpen: boolean;
|
|
4622
|
+
popOverData: any;
|
|
4623
|
+
popOverSchema: any;
|
|
4481
4624
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
4482
4625
|
readonly parentStore: any;
|
|
4483
4626
|
readonly __: any;
|
|
@@ -4564,6 +4707,9 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
4564
4707
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
4565
4708
|
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
4566
4709
|
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
4710
|
+
popOverOpen: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
4711
|
+
popOverData: import("mobx-state-tree").IType<any, any, any>;
|
|
4712
|
+
popOverSchema: import("mobx-state-tree").IType<any, any, any>;
|
|
4567
4713
|
}, {
|
|
4568
4714
|
readonly parentStore: any;
|
|
4569
4715
|
readonly __: any;
|
|
@@ -4654,6 +4800,9 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
4654
4800
|
rowIndex: any;
|
|
4655
4801
|
pagination: any;
|
|
4656
4802
|
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
4803
|
+
popOverOpen: boolean;
|
|
4804
|
+
popOverData: any;
|
|
4805
|
+
popOverSchema: any;
|
|
4657
4806
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
4658
4807
|
readonly parentStore: any;
|
|
4659
4808
|
readonly __: any;
|
|
@@ -4740,6 +4889,9 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
4740
4889
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
4741
4890
|
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
4742
4891
|
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
4892
|
+
popOverOpen: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
4893
|
+
popOverData: import("mobx-state-tree").IType<any, any, any>;
|
|
4894
|
+
popOverSchema: import("mobx-state-tree").IType<any, any, any>;
|
|
4743
4895
|
}, {
|
|
4744
4896
|
readonly parentStore: any;
|
|
4745
4897
|
readonly __: any;
|
|
@@ -4832,6 +4984,9 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
4832
4984
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
4833
4985
|
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
4834
4986
|
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
4987
|
+
popOverOpen: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
4988
|
+
popOverData: import("mobx-state-tree").IType<any, any, any>;
|
|
4989
|
+
popOverSchema: import("mobx-state-tree").IType<any, any, any>;
|
|
4835
4990
|
}, {
|
|
4836
4991
|
readonly parentStore: any;
|
|
4837
4992
|
readonly __: any;
|
|
@@ -4932,7 +5087,9 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
4932
5087
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
4933
5088
|
openDialog: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
4934
5089
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
4935
|
-
|
|
5090
|
+
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
5091
|
+
closePopOver: (confirmed?: any, result?: any) => void;
|
|
5092
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
4936
5093
|
changeEmitedValue: (value: any) => void;
|
|
4937
5094
|
addSubFormItem: (item: {
|
|
4938
5095
|
id: string;
|
|
@@ -4996,6 +5153,9 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
4996
5153
|
rowIndex: any;
|
|
4997
5154
|
pagination: any;
|
|
4998
5155
|
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
5156
|
+
popOverOpen: boolean;
|
|
5157
|
+
popOverData: any;
|
|
5158
|
+
popOverSchema: any;
|
|
4999
5159
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
5000
5160
|
readonly parentStore: any;
|
|
5001
5161
|
readonly __: any;
|
|
@@ -5082,6 +5242,9 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
5082
5242
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
5083
5243
|
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
5084
5244
|
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
5245
|
+
popOverOpen: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
5246
|
+
popOverData: import("mobx-state-tree").IType<any, any, any>;
|
|
5247
|
+
popOverSchema: import("mobx-state-tree").IType<any, any, any>;
|
|
5085
5248
|
}, {
|
|
5086
5249
|
readonly parentStore: any;
|
|
5087
5250
|
readonly __: any;
|
|
@@ -5172,6 +5335,9 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
5172
5335
|
rowIndex: any;
|
|
5173
5336
|
pagination: any;
|
|
5174
5337
|
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
5338
|
+
popOverOpen: boolean;
|
|
5339
|
+
popOverData: any;
|
|
5340
|
+
popOverSchema: any;
|
|
5175
5341
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
5176
5342
|
readonly parentStore: any;
|
|
5177
5343
|
readonly __: any;
|
|
@@ -5258,6 +5424,9 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
5258
5424
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
5259
5425
|
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
5260
5426
|
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
5427
|
+
popOverOpen: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
5428
|
+
popOverData: import("mobx-state-tree").IType<any, any, any>;
|
|
5429
|
+
popOverSchema: import("mobx-state-tree").IType<any, any, any>;
|
|
5261
5430
|
}, {
|
|
5262
5431
|
readonly parentStore: any;
|
|
5263
5432
|
readonly __: any;
|
package/lib/store/form.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* amis-core v6.
|
|
2
|
+
* amis-core v6.9.0-rc.0
|
|
3
3
|
* Copyright 2018-2024 fex
|
|
4
4
|
*/
|
|
5
5
|
|
|
@@ -26,6 +26,7 @@ var object = require('../utils/object.js');
|
|
|
26
26
|
var isPureVariable = require('../utils/isPureVariable.js');
|
|
27
27
|
require('@rc-component/mini-decimal');
|
|
28
28
|
var getVariable = require('../utils/getVariable.js');
|
|
29
|
+
require('../utils/memoryParse.js');
|
|
29
30
|
require('lodash/isPlainObject');
|
|
30
31
|
require('../utils/filter.js');
|
|
31
32
|
var api = require('../utils/api.js');
|