amis-core 6.12.0 → 6.13.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm/Root.js +1 -1
- package/esm/RootRenderer.js +1 -1
- package/esm/SchemaRenderer.js +1 -1
- package/esm/Scoped.js +1 -1
- package/esm/StatusScoped.js +1 -1
- package/esm/StyleManager.js +1 -1
- package/esm/WithRootStore.js +1 -1
- package/esm/WithStore.js +1 -1
- package/esm/actions/Action.d.ts +1 -0
- package/esm/actions/Action.js +25 -17
- 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 +54 -56
- package/esm/actions/ContinueAction.js +1 -1
- package/esm/actions/CopyAction.js +1 -1
- package/esm/actions/CustomAction.js +1 -1
- package/esm/actions/DialogAction.js +1 -1
- package/esm/actions/DrawerAction.js +1 -1
- package/esm/actions/EmailAction.js +1 -1
- package/esm/actions/EventAction.js +1 -1
- package/esm/actions/LinkAction.js +1 -1
- package/esm/actions/LoopAction.js +1 -1
- package/esm/actions/PageAction.js +1 -1
- package/esm/actions/ParallelAction.js +1 -1
- package/esm/actions/PrintAction.js +1 -1
- package/esm/actions/StatusAction.js +1 -1
- package/esm/actions/SwitchAction.js +1 -1
- package/esm/actions/ToastAction.js +1 -1
- package/esm/actions/WaitAction.js +1 -1
- package/esm/components/Animations.js +1 -1
- package/esm/components/CustomStyle.js +1 -1
- package/esm/components/ErrorBoundary.js +1 -1
- package/esm/components/LazyComponent.js +1 -1
- package/esm/components/Overlay.js +1 -1
- package/esm/components/PopOver.js +1 -1
- package/esm/env.js +1 -1
- package/esm/envOverwrite.js +1 -1
- package/esm/factory.js +1 -1
- package/esm/globalVar.js +1 -1
- package/esm/globalVarClientHandler.js +1 -1
- package/esm/globalVarDefaultValueHandler.js +1 -1
- package/esm/index.js +6 -6
- package/esm/locale.js +1 -1
- package/esm/polyfills.js +1 -1
- package/esm/renderers/Form.js +1 -1
- package/esm/renderers/Item.js +1 -1
- package/esm/renderers/Options.js +1 -1
- package/esm/renderers/Placeholder.js +1 -1
- package/esm/renderers/builtin.js +1 -1
- package/esm/renderers/register.js +1 -1
- package/esm/renderers/wrapControl.js +1 -1
- package/esm/store/app.js +1 -1
- package/esm/store/combo.js +1 -1
- package/esm/store/crud.js +2 -2
- package/esm/store/form.js +1 -1
- package/esm/store/formItem.js +1 -1
- package/esm/store/iRenderer.js +1 -1
- package/esm/store/index.js +1 -1
- package/esm/store/list.js +1 -1
- package/esm/store/manager.js +1 -1
- package/esm/store/modal.js +1 -1
- package/esm/store/node.js +1 -1
- package/esm/store/pagination.js +1 -1
- package/esm/store/root.js +1 -1
- package/esm/store/service.js +1 -1
- package/esm/store/status.js +1 -1
- package/esm/store/table.js +1 -1
- package/esm/store/table2.js +1 -1
- package/esm/theme.js +1 -1
- package/esm/utils/Animation.js +1 -1
- package/esm/utils/ColorScale.js +1 -1
- package/esm/utils/DataSchema.js +1 -1
- package/esm/utils/DataScope.js +1 -1
- package/esm/utils/RootClose.js +1 -1
- package/esm/utils/SimpleMap.js +1 -1
- package/esm/utils/animations.js +1 -1
- package/esm/utils/api.js +1 -1
- package/esm/utils/arraySlice.js +1 -1
- package/esm/utils/attachmentAdpator.js +1 -1
- package/esm/utils/autobind.js +1 -1
- package/esm/utils/browser.js +1 -1
- package/esm/utils/columnsSplit.js +1 -1
- package/esm/utils/concatData.js +1 -1
- package/esm/utils/dataMapping.js +1 -1
- package/esm/utils/date.js +1 -1
- package/esm/utils/debug.js +1 -1
- package/esm/utils/decodeEntity.js +1 -1
- package/esm/utils/dom.js +6 -2
- package/esm/utils/errors.js +1 -1
- package/esm/utils/escapeHtml.js +1 -1
- package/esm/utils/filter-schema.js +1 -1
- package/esm/utils/filter.js +1 -1
- package/esm/utils/formatDuration.js +1 -1
- package/esm/utils/formula.js +1 -1
- package/esm/utils/getPageId.js +1 -1
- package/esm/utils/getVariable.js +1 -1
- package/esm/utils/grammar.js +1 -1
- package/esm/utils/handleAction.js +1 -1
- package/esm/utils/helper.js +1 -1
- package/esm/utils/highlight.js +1 -1
- package/esm/utils/icon.js +1 -1
- package/esm/utils/image.js +1 -1
- package/esm/utils/index.js +1 -1
- package/esm/utils/isPureVariable.js +1 -1
- package/esm/utils/json-schema-2-amis-schema.js +1 -1
- package/esm/utils/keyToPath.js +1 -1
- package/esm/utils/labelToString.js +1 -1
- package/esm/utils/loopTooMuch.js +1 -1
- package/esm/utils/makeSorter.js +1 -1
- package/esm/utils/math.d.ts +1 -0
- package/esm/utils/math.js +16 -2
- package/esm/utils/memoryParse.js +1 -1
- package/esm/utils/normalizeLink.js +1 -1
- package/esm/utils/normalizeOptions.js +1 -1
- package/esm/utils/object.js +1 -1
- package/esm/utils/offset.js +1 -1
- package/esm/utils/offsetParent.js +1 -1
- package/esm/utils/optionValueCompare.js +1 -1
- package/esm/utils/position.js +1 -1
- package/esm/utils/prettyBytes.js +1 -1
- package/esm/utils/printElement.js +1 -1
- package/esm/utils/renderer-event.js +1 -1
- package/esm/utils/replaceText.js +1 -1
- package/esm/utils/resize-sensor.js +14 -11
- package/esm/utils/resolveCondition.js +1 -1
- package/esm/utils/resolveVariable.js +1 -1
- package/esm/utils/resolveVariableAndFilter.js +1 -1
- package/esm/utils/resolveVariableAndFilterForAsync.js +1 -1
- package/esm/utils/scrollPosition.js +1 -1
- package/esm/utils/string2regExp.js +1 -1
- package/esm/utils/stripNumber.js +1 -1
- package/esm/utils/style-helper.js +1 -1
- package/esm/utils/style.js +1 -1
- package/esm/utils/toNumber.js +1 -1
- package/esm/utils/tokenize.js +1 -1
- package/esm/utils/tpl-builtin.js +1 -1
- package/esm/utils/tpl-lodash.js +1 -1
- package/esm/utils/tpl.js +1 -1
- package/esm/utils/uncontrollable.js +1 -1
- package/esm/utils/validateId.js +1 -1
- package/esm/utils/validations.js +1 -1
- package/esm/utils/visitedCache.js +1 -1
- package/lib/Root.js +1 -1
- package/lib/RootRenderer.js +1 -1
- package/lib/SchemaRenderer.js +1 -1
- package/lib/Scoped.js +1 -1
- package/lib/StatusScoped.js +1 -1
- package/lib/StyleManager.js +1 -1
- package/lib/WithRootStore.js +1 -1
- package/lib/WithStore.js +1 -1
- package/lib/actions/Action.d.ts +1 -0
- package/lib/actions/Action.js +25 -16
- 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 +53 -55
- package/lib/actions/ContinueAction.js +1 -1
- package/lib/actions/CopyAction.js +1 -1
- package/lib/actions/CustomAction.js +1 -1
- package/lib/actions/DialogAction.js +1 -1
- package/lib/actions/DrawerAction.js +1 -1
- package/lib/actions/EmailAction.js +1 -1
- package/lib/actions/EventAction.js +1 -1
- package/lib/actions/LinkAction.js +1 -1
- package/lib/actions/LoopAction.js +1 -1
- package/lib/actions/PageAction.js +1 -1
- package/lib/actions/ParallelAction.js +1 -1
- package/lib/actions/PrintAction.js +1 -1
- package/lib/actions/StatusAction.js +1 -1
- package/lib/actions/SwitchAction.js +1 -1
- package/lib/actions/ToastAction.js +1 -1
- package/lib/actions/WaitAction.js +1 -1
- package/lib/components/Animations.js +1 -1
- package/lib/components/CustomStyle.js +1 -1
- package/lib/components/ErrorBoundary.js +1 -1
- package/lib/components/LazyComponent.js +1 -1
- package/lib/components/Overlay.js +1 -1
- package/lib/components/PopOver.js +1 -1
- package/lib/env.js +1 -1
- package/lib/envOverwrite.js +1 -1
- package/lib/factory.js +1 -1
- package/lib/globalVar.js +1 -1
- package/lib/globalVarClientHandler.js +1 -1
- package/lib/globalVarDefaultValueHandler.js +1 -1
- package/lib/index.js +6 -4
- package/lib/locale.js +1 -1
- package/lib/polyfills.js +1 -1
- package/lib/renderers/Form.js +1 -1
- package/lib/renderers/Item.js +1 -1
- package/lib/renderers/Options.js +1 -1
- package/lib/renderers/Placeholder.js +1 -1
- package/lib/renderers/builtin.js +1 -1
- package/lib/renderers/register.js +1 -1
- package/lib/renderers/wrapControl.js +1 -1
- package/lib/store/app.js +1 -1
- package/lib/store/combo.d.ts +24 -24
- package/lib/store/combo.js +1 -1
- package/lib/store/crud.js +2 -2
- package/lib/store/form.d.ts +10 -10
- package/lib/store/form.js +1 -1
- package/lib/store/formItem.js +1 -1
- package/lib/store/iRenderer.js +1 -1
- package/lib/store/index.js +1 -1
- package/lib/store/list.js +1 -1
- package/lib/store/manager.js +1 -1
- package/lib/store/modal.js +1 -1
- package/lib/store/node.js +1 -1
- package/lib/store/pagination.js +1 -1
- package/lib/store/root.js +1 -1
- package/lib/store/service.js +1 -1
- package/lib/store/status.js +1 -1
- package/lib/store/table.d.ts +20 -20
- package/lib/store/table.js +1 -1
- package/lib/store/table2.js +1 -1
- package/lib/theme.js +1 -1
- package/lib/utils/Animation.js +1 -1
- package/lib/utils/ColorScale.js +1 -1
- package/lib/utils/DataSchema.js +1 -1
- package/lib/utils/DataScope.js +1 -1
- package/lib/utils/RootClose.js +1 -1
- package/lib/utils/SimpleMap.js +1 -1
- package/lib/utils/animations.js +1 -1
- package/lib/utils/api.js +1 -1
- package/lib/utils/arraySlice.js +1 -1
- package/lib/utils/attachmentAdpator.js +1 -1
- package/lib/utils/autobind.js +1 -1
- package/lib/utils/browser.js +1 -1
- package/lib/utils/columnsSplit.js +1 -1
- package/lib/utils/concatData.js +1 -1
- package/lib/utils/dataMapping.js +1 -1
- package/lib/utils/date.js +1 -1
- package/lib/utils/debug.js +1 -1
- package/lib/utils/decodeEntity.js +1 -1
- package/lib/utils/dom.js +6 -2
- package/lib/utils/errors.js +1 -1
- package/lib/utils/escapeHtml.js +1 -1
- package/lib/utils/filter-schema.js +1 -1
- package/lib/utils/filter.js +1 -1
- package/lib/utils/formatDuration.js +1 -1
- package/lib/utils/formula.js +1 -1
- package/lib/utils/getPageId.js +1 -1
- package/lib/utils/getVariable.js +1 -1
- package/lib/utils/grammar.js +1 -1
- package/lib/utils/handleAction.js +1 -1
- package/lib/utils/helper.js +1 -1
- package/lib/utils/highlight.js +1 -1
- package/lib/utils/icon.js +1 -1
- package/lib/utils/image.js +1 -1
- package/lib/utils/index.js +1 -1
- package/lib/utils/isPureVariable.js +1 -1
- package/lib/utils/json-schema-2-amis-schema.js +1 -1
- package/lib/utils/keyToPath.js +1 -1
- package/lib/utils/labelToString.js +1 -1
- package/lib/utils/loopTooMuch.js +1 -1
- package/lib/utils/makeSorter.js +1 -1
- package/lib/utils/math.d.ts +1 -0
- package/lib/utils/math.js +16 -1
- package/lib/utils/memoryParse.js +1 -1
- package/lib/utils/normalizeLink.js +1 -1
- package/lib/utils/normalizeOptions.js +1 -1
- package/lib/utils/object.js +1 -1
- package/lib/utils/offset.js +1 -1
- package/lib/utils/offsetParent.js +1 -1
- package/lib/utils/optionValueCompare.js +1 -1
- package/lib/utils/position.js +1 -1
- package/lib/utils/prettyBytes.js +1 -1
- package/lib/utils/printElement.js +1 -1
- package/lib/utils/renderer-event.js +1 -1
- package/lib/utils/replaceText.js +1 -1
- package/lib/utils/resize-sensor.js +14 -11
- package/lib/utils/resolveCondition.js +1 -1
- package/lib/utils/resolveVariable.js +1 -1
- package/lib/utils/resolveVariableAndFilter.js +1 -1
- package/lib/utils/resolveVariableAndFilterForAsync.js +1 -1
- package/lib/utils/scrollPosition.js +1 -1
- package/lib/utils/string2regExp.js +1 -1
- package/lib/utils/stripNumber.js +1 -1
- package/lib/utils/style-helper.js +1 -1
- package/lib/utils/style.js +1 -1
- package/lib/utils/toNumber.js +1 -1
- package/lib/utils/tokenize.js +1 -1
- package/lib/utils/tpl-builtin.js +1 -1
- package/lib/utils/tpl-lodash.js +1 -1
- package/lib/utils/tpl.js +1 -1
- package/lib/utils/uncontrollable.js +1 -1
- package/lib/utils/validateId.js +1 -1
- package/lib/utils/validations.js +1 -1
- package/lib/utils/visitedCache.js +1 -1
- package/package.json +2 -2
package/lib/store/combo.d.ts
CHANGED
|
@@ -172,7 +172,7 @@ export declare const UniqueGroup: import("mobx-state-tree").IModelType<{
|
|
|
172
172
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
173
173
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
174
174
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
175
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
175
|
+
changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
|
|
176
176
|
changeEmitedValue: (value: any) => void;
|
|
177
177
|
addSubFormItem: (item: {
|
|
178
178
|
id: string;
|
|
@@ -707,7 +707,7 @@ export declare const UniqueGroup: import("mobx-state-tree").IModelType<{
|
|
|
707
707
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
708
708
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
709
709
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
710
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
710
|
+
changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
|
|
711
711
|
changeEmitedValue: (value: any) => void;
|
|
712
712
|
addSubFormItem: (item: {
|
|
713
713
|
id: string;
|
|
@@ -1276,7 +1276,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
1276
1276
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
1277
1277
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
1278
1278
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
1279
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
1279
|
+
changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
|
|
1280
1280
|
changeEmitedValue: (value: any) => void;
|
|
1281
1281
|
addSubFormItem: (item: {
|
|
1282
1282
|
id: string;
|
|
@@ -1811,7 +1811,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
1811
1811
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
1812
1812
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
1813
1813
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
1814
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
1814
|
+
changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
|
|
1815
1815
|
changeEmitedValue: (value: any) => void;
|
|
1816
1816
|
addSubFormItem: (item: {
|
|
1817
1817
|
id: string;
|
|
@@ -2470,7 +2470,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
2470
2470
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
2471
2471
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
2472
2472
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
2473
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
2473
|
+
changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
|
|
2474
2474
|
changeEmitedValue: (value: any) => void;
|
|
2475
2475
|
addSubFormItem: (item: {
|
|
2476
2476
|
id: string;
|
|
@@ -3005,7 +3005,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
3005
3005
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
3006
3006
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
3007
3007
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
3008
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
3008
|
+
changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
|
|
3009
3009
|
changeEmitedValue: (value: any) => void;
|
|
3010
3010
|
addSubFormItem: (item: {
|
|
3011
3011
|
id: string;
|
|
@@ -3546,7 +3546,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
3546
3546
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
3547
3547
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
3548
3548
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
3549
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
3549
|
+
changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
|
|
3550
3550
|
changeEmitedValue: (value: any) => void;
|
|
3551
3551
|
addSubFormItem: (item: {
|
|
3552
3552
|
id: string;
|
|
@@ -4081,7 +4081,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
4081
4081
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
4082
4082
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
4083
4083
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
4084
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
4084
|
+
changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
|
|
4085
4085
|
changeEmitedValue: (value: any) => void;
|
|
4086
4086
|
addSubFormItem: (item: {
|
|
4087
4087
|
id: string;
|
|
@@ -4625,7 +4625,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
4625
4625
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
4626
4626
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
4627
4627
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
4628
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
4628
|
+
changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
|
|
4629
4629
|
changeEmitedValue: (value: any) => void;
|
|
4630
4630
|
addSubFormItem: (item: {
|
|
4631
4631
|
id: string;
|
|
@@ -5160,7 +5160,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
5160
5160
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
5161
5161
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
5162
5162
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
5163
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
5163
|
+
changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
|
|
5164
5164
|
changeEmitedValue: (value: any) => void;
|
|
5165
5165
|
addSubFormItem: (item: {
|
|
5166
5166
|
id: string;
|
|
@@ -5699,7 +5699,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
5699
5699
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
5700
5700
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
5701
5701
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
5702
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
5702
|
+
changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
|
|
5703
5703
|
changeEmitedValue: (value: any) => void;
|
|
5704
5704
|
addSubFormItem: (item: {
|
|
5705
5705
|
id: string;
|
|
@@ -6234,7 +6234,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
6234
6234
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
6235
6235
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
6236
6236
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
6237
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
6237
|
+
changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
|
|
6238
6238
|
changeEmitedValue: (value: any) => void;
|
|
6239
6239
|
addSubFormItem: (item: {
|
|
6240
6240
|
id: string;
|
|
@@ -6773,7 +6773,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
6773
6773
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
6774
6774
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
6775
6775
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
6776
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
6776
|
+
changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
|
|
6777
6777
|
changeEmitedValue: (value: any) => void;
|
|
6778
6778
|
addSubFormItem: (item: {
|
|
6779
6779
|
id: string;
|
|
@@ -7308,7 +7308,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
7308
7308
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
7309
7309
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
7310
7310
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
7311
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
7311
|
+
changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
|
|
7312
7312
|
changeEmitedValue: (value: any) => void;
|
|
7313
7313
|
addSubFormItem: (item: {
|
|
7314
7314
|
id: string;
|
|
@@ -7969,7 +7969,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
7969
7969
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
7970
7970
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
7971
7971
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
7972
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
7972
|
+
changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
|
|
7973
7973
|
changeEmitedValue: (value: any) => void;
|
|
7974
7974
|
addSubFormItem: (item: {
|
|
7975
7975
|
id: string;
|
|
@@ -8504,7 +8504,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
8504
8504
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
8505
8505
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
8506
8506
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
8507
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
8507
|
+
changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
|
|
8508
8508
|
changeEmitedValue: (value: any) => void;
|
|
8509
8509
|
addSubFormItem: (item: {
|
|
8510
8510
|
id: string;
|
|
@@ -9045,7 +9045,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
9045
9045
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
9046
9046
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
9047
9047
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
9048
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
9048
|
+
changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
|
|
9049
9049
|
changeEmitedValue: (value: any) => void;
|
|
9050
9050
|
addSubFormItem: (item: {
|
|
9051
9051
|
id: string;
|
|
@@ -9580,7 +9580,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
9580
9580
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
9581
9581
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
9582
9582
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
9583
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
9583
|
+
changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
|
|
9584
9584
|
changeEmitedValue: (value: any) => void;
|
|
9585
9585
|
addSubFormItem: (item: {
|
|
9586
9586
|
id: string;
|
|
@@ -10124,7 +10124,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
10124
10124
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
10125
10125
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
10126
10126
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
10127
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
10127
|
+
changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
|
|
10128
10128
|
changeEmitedValue: (value: any) => void;
|
|
10129
10129
|
addSubFormItem: (item: {
|
|
10130
10130
|
id: string;
|
|
@@ -10659,7 +10659,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
10659
10659
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
10660
10660
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
10661
10661
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
10662
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
10662
|
+
changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
|
|
10663
10663
|
changeEmitedValue: (value: any) => void;
|
|
10664
10664
|
addSubFormItem: (item: {
|
|
10665
10665
|
id: string;
|
|
@@ -11198,7 +11198,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
11198
11198
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
11199
11199
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
11200
11200
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
11201
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
11201
|
+
changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
|
|
11202
11202
|
changeEmitedValue: (value: any) => void;
|
|
11203
11203
|
addSubFormItem: (item: {
|
|
11204
11204
|
id: string;
|
|
@@ -11733,7 +11733,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
11733
11733
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
11734
11734
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
11735
11735
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
11736
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
11736
|
+
changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
|
|
11737
11737
|
changeEmitedValue: (value: any) => void;
|
|
11738
11738
|
addSubFormItem: (item: {
|
|
11739
11739
|
id: string;
|
|
@@ -12272,7 +12272,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
12272
12272
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
12273
12273
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
12274
12274
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
12275
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
12275
|
+
changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
|
|
12276
12276
|
changeEmitedValue: (value: any) => void;
|
|
12277
12277
|
addSubFormItem: (item: {
|
|
12278
12278
|
id: string;
|
|
@@ -12807,7 +12807,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
12807
12807
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
12808
12808
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
12809
12809
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
12810
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
12810
|
+
changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
|
|
12811
12811
|
changeEmitedValue: (value: any) => void;
|
|
12812
12812
|
addSubFormItem: (item: {
|
|
12813
12813
|
id: string;
|
package/lib/store/combo.js
CHANGED
package/lib/store/crud.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* amis-core v6.
|
|
2
|
+
* amis-core v6.13.0-beta.1
|
|
3
3
|
* Copyright 2018-2025 fex
|
|
4
4
|
*/
|
|
5
5
|
|
|
@@ -169,7 +169,7 @@ var CRUDStore = service.ServiceStore.named('CRUDStore')
|
|
|
169
169
|
dir = /desc/i.test(self.query.orderDir) ? -1 : 1;
|
|
170
170
|
items = helper.sortArray(items, self.query.orderBy, dir);
|
|
171
171
|
}
|
|
172
|
-
data_1 = tslib.__assign(tslib.__assign({}, self.data), (_c = {}, _c[options.totalField || 'total'] = items.length, _c.items = items.slice((self.page - 1) * self.perPage, self.page * self.perPage), _c));
|
|
172
|
+
data_1 = tslib.__assign(tslib.__assign({}, self.data), (_c = { count: items.length }, _c[options.totalField || 'total'] = items.length, _c.items = items.slice((self.page - 1) * self.perPage, self.page * self.perPage), _c));
|
|
173
173
|
self.total =
|
|
174
174
|
parseInt((_f = data_1[options.totalField || 'total']) !== null && _f !== void 0 ? _f : data_1.count, 10) ||
|
|
175
175
|
0;
|
package/lib/store/form.d.ts
CHANGED
|
@@ -253,7 +253,7 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
253
253
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
254
254
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
255
255
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
256
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
256
|
+
changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
|
|
257
257
|
changeEmitedValue: (value: any) => void;
|
|
258
258
|
addSubFormItem: (item: {
|
|
259
259
|
id: string;
|
|
@@ -788,7 +788,7 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
788
788
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
789
789
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
790
790
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
791
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
791
|
+
changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
|
|
792
792
|
changeEmitedValue: (value: any) => void;
|
|
793
793
|
addSubFormItem: (item: {
|
|
794
794
|
id: string;
|
|
@@ -1330,7 +1330,7 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
1330
1330
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
1331
1331
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
1332
1332
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
1333
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
1333
|
+
changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
|
|
1334
1334
|
changeEmitedValue: (value: any) => void;
|
|
1335
1335
|
addSubFormItem: (item: {
|
|
1336
1336
|
id: string;
|
|
@@ -1865,7 +1865,7 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
1865
1865
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
1866
1866
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
1867
1867
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
1868
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
1868
|
+
changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
|
|
1869
1869
|
changeEmitedValue: (value: any) => void;
|
|
1870
1870
|
addSubFormItem: (item: {
|
|
1871
1871
|
id: string;
|
|
@@ -2409,7 +2409,7 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
2409
2409
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
2410
2410
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
2411
2411
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
2412
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
2412
|
+
changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
|
|
2413
2413
|
changeEmitedValue: (value: any) => void;
|
|
2414
2414
|
addSubFormItem: (item: {
|
|
2415
2415
|
id: string;
|
|
@@ -2944,7 +2944,7 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
2944
2944
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
2945
2945
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
2946
2946
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
2947
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
2947
|
+
changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
|
|
2948
2948
|
changeEmitedValue: (value: any) => void;
|
|
2949
2949
|
addSubFormItem: (item: {
|
|
2950
2950
|
id: string;
|
|
@@ -3483,7 +3483,7 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
3483
3483
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
3484
3484
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
3485
3485
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
3486
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
3486
|
+
changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
|
|
3487
3487
|
changeEmitedValue: (value: any) => void;
|
|
3488
3488
|
addSubFormItem: (item: {
|
|
3489
3489
|
id: string;
|
|
@@ -4018,7 +4018,7 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
4018
4018
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
4019
4019
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
4020
4020
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
4021
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
4021
|
+
changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
|
|
4022
4022
|
changeEmitedValue: (value: any) => void;
|
|
4023
4023
|
addSubFormItem: (item: {
|
|
4024
4024
|
id: string;
|
|
@@ -4557,7 +4557,7 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
4557
4557
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
4558
4558
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
4559
4559
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
4560
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
4560
|
+
changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
|
|
4561
4561
|
changeEmitedValue: (value: any) => void;
|
|
4562
4562
|
addSubFormItem: (item: {
|
|
4563
4563
|
id: string;
|
|
@@ -5092,7 +5092,7 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
5092
5092
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
5093
5093
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
5094
5094
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
5095
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
5095
|
+
changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
|
|
5096
5096
|
changeEmitedValue: (value: any) => void;
|
|
5097
5097
|
addSubFormItem: (item: {
|
|
5098
5098
|
id: string;
|
package/lib/store/form.js
CHANGED
package/lib/store/formItem.js
CHANGED
package/lib/store/iRenderer.js
CHANGED
package/lib/store/index.js
CHANGED
package/lib/store/list.js
CHANGED
package/lib/store/manager.js
CHANGED
package/lib/store/modal.js
CHANGED
package/lib/store/node.js
CHANGED
package/lib/store/pagination.js
CHANGED
package/lib/store/root.js
CHANGED
package/lib/store/service.js
CHANGED
package/lib/store/status.js
CHANGED