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