amis-core 6.12.0-beta.12 → 6.12.0-beta.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm/Root.js +1 -1
- package/esm/RootRenderer.d.ts +1 -0
- package/esm/RootRenderer.js +9 -4
- package/esm/SchemaRenderer.d.ts +2 -1
- package/esm/SchemaRenderer.js +6 -13
- package/esm/Scoped.js +1 -1
- package/esm/StatusScoped.js +1 -1
- package/esm/StyleManager.js +1 -1
- package/esm/WithRootStore.js +1 -1
- package/esm/WithStore.js +1 -1
- package/esm/actions/Action.js +1 -1
- package/esm/actions/AjaxAction.js +1 -1
- package/esm/actions/BreakAction.js +1 -1
- package/esm/actions/BroadcastAction.js +1 -1
- package/esm/actions/CmptAction.js +1 -1
- package/esm/actions/ContinueAction.js +1 -1
- package/esm/actions/CopyAction.js +1 -1
- package/esm/actions/CustomAction.js +1 -1
- package/esm/actions/DialogAction.js +1 -1
- package/esm/actions/DrawerAction.js +1 -1
- package/esm/actions/EmailAction.js +1 -1
- package/esm/actions/EventAction.js +1 -1
- package/esm/actions/LinkAction.js +1 -1
- package/esm/actions/LoopAction.js +1 -1
- package/esm/actions/PageAction.js +1 -1
- package/esm/actions/ParallelAction.js +1 -1
- package/esm/actions/PrintAction.js +1 -1
- package/esm/actions/StatusAction.js +1 -1
- package/esm/actions/SwitchAction.js +1 -1
- package/esm/actions/ToastAction.js +1 -1
- package/esm/actions/WaitAction.js +1 -1
- package/esm/components/Animations.js +1 -1
- package/esm/components/CustomStyle.js +1 -1
- package/esm/components/ErrorBoundary.js +1 -1
- package/esm/components/LazyComponent.js +1 -1
- package/esm/components/Overlay.js +1 -1
- package/esm/components/PopOver.js +1 -1
- package/esm/env.d.ts +4 -0
- package/esm/env.js +1 -1
- package/esm/envOverwrite.js +1 -1
- package/esm/factory.d.ts +2 -1
- package/esm/factory.js +4 -2
- package/esm/globalVar.js +1 -1
- package/esm/globalVarClientHandler.js +1 -1
- package/esm/globalVarDefaultValueHandler.js +1 -1
- package/esm/index.js +4 -4
- package/esm/locale.js +1 -1
- package/esm/polyfills.js +1 -1
- package/esm/renderers/Form.js +1 -1
- package/esm/renderers/Item.js +1 -1
- package/esm/renderers/Options.js +1 -1
- package/esm/renderers/Placeholder.js +1 -1
- package/esm/renderers/builtin.js +1 -1
- package/esm/renderers/register.js +1 -1
- package/esm/renderers/wrapControl.js +1 -1
- package/esm/store/app.js +1 -1
- package/esm/store/combo.js +1 -1
- package/esm/store/crud.js +1 -1
- package/esm/store/form.js +1 -1
- package/esm/store/formItem.js +1 -1
- package/esm/store/iRenderer.js +1 -1
- package/esm/store/index.js +1 -1
- package/esm/store/list.js +1 -1
- package/esm/store/manager.js +1 -1
- package/esm/store/modal.js +1 -1
- package/esm/store/node.js +1 -1
- package/esm/store/pagination.js +1 -1
- package/esm/store/root.js +1 -1
- package/esm/store/service.js +1 -1
- package/esm/store/status.js +1 -1
- package/esm/store/table.js +3 -2
- package/esm/store/table2.js +5 -3
- package/esm/theme.js +1 -1
- package/esm/utils/Animation.js +1 -1
- package/esm/utils/ColorScale.js +1 -1
- package/esm/utils/DataSchema.js +1 -1
- package/esm/utils/DataScope.js +1 -1
- package/esm/utils/RootClose.js +1 -1
- package/esm/utils/SimpleMap.js +1 -1
- package/esm/utils/animations.js +1 -1
- package/esm/utils/api.js +1 -1
- package/esm/utils/arraySlice.js +1 -1
- package/esm/utils/attachmentAdpator.js +1 -1
- package/esm/utils/autobind.js +1 -1
- package/esm/utils/browser.js +1 -1
- package/esm/utils/columnsSplit.js +1 -1
- package/esm/utils/concatData.js +1 -1
- package/esm/utils/dataMapping.js +1 -1
- package/esm/utils/date.js +1 -1
- package/esm/utils/debug.js +1 -1
- package/esm/utils/decodeEntity.js +1 -1
- package/esm/utils/dom.js +1 -1
- package/esm/utils/errors.js +1 -1
- package/esm/utils/escapeHtml.js +1 -1
- package/esm/utils/filter-schema.js +1 -1
- package/esm/utils/filter.js +1 -1
- package/esm/utils/formatDuration.js +1 -1
- package/esm/utils/formula.js +1 -1
- package/esm/utils/getPageId.js +1 -1
- package/esm/utils/getVariable.js +1 -1
- package/esm/utils/grammar.js +1 -1
- package/esm/utils/handleAction.js +1 -1
- package/esm/utils/helper.js +1 -1
- package/esm/utils/highlight.js +1 -1
- package/esm/utils/icon.js +1 -1
- package/esm/utils/image.js +1 -1
- package/esm/utils/index.js +1 -1
- package/esm/utils/isPureVariable.js +1 -1
- package/esm/utils/json-schema-2-amis-schema.js +1 -1
- package/esm/utils/keyToPath.js +1 -1
- package/esm/utils/labelToString.js +1 -1
- package/esm/utils/loopTooMuch.js +1 -1
- package/esm/utils/makeSorter.js +1 -1
- package/esm/utils/math.js +1 -1
- package/esm/utils/memoryParse.js +1 -1
- package/esm/utils/normalizeLink.js +1 -1
- package/esm/utils/normalizeOptions.js +1 -1
- package/esm/utils/object.js +1 -1
- package/esm/utils/offset.js +1 -1
- package/esm/utils/offsetParent.js +1 -1
- package/esm/utils/optionValueCompare.js +1 -1
- package/esm/utils/position.js +1 -1
- package/esm/utils/prettyBytes.js +1 -1
- package/esm/utils/printElement.js +1 -1
- package/esm/utils/renderer-event.js +9 -3
- package/esm/utils/replaceText.js +1 -1
- package/esm/utils/resize-sensor.js +1 -1
- package/esm/utils/resolveCondition.js +1 -1
- package/esm/utils/resolveVariable.js +1 -1
- package/esm/utils/resolveVariableAndFilter.js +1 -1
- package/esm/utils/resolveVariableAndFilterForAsync.js +1 -1
- package/esm/utils/scrollPosition.js +1 -1
- package/esm/utils/string2regExp.js +1 -1
- package/esm/utils/stripNumber.js +1 -1
- package/esm/utils/style-helper.js +1 -1
- package/esm/utils/style.js +1 -1
- package/esm/utils/toNumber.js +1 -1
- package/esm/utils/tokenize.js +1 -1
- package/esm/utils/tpl-builtin.js +1 -1
- package/esm/utils/tpl-lodash.js +1 -1
- package/esm/utils/tpl.js +1 -1
- package/esm/utils/uncontrollable.js +1 -1
- package/esm/utils/validateId.js +1 -1
- package/esm/utils/validations.js +1 -1
- package/esm/utils/visitedCache.js +1 -1
- package/lib/Root.js +1 -1
- package/lib/RootRenderer.d.ts +1 -0
- package/lib/RootRenderer.js +9 -4
- package/lib/SchemaRenderer.d.ts +2 -1
- package/lib/SchemaRenderer.js +4 -11
- package/lib/Scoped.js +1 -1
- package/lib/StatusScoped.js +1 -1
- package/lib/StyleManager.js +1 -1
- package/lib/WithRootStore.js +1 -1
- package/lib/WithStore.js +1 -1
- package/lib/actions/Action.js +1 -1
- package/lib/actions/AjaxAction.js +1 -1
- package/lib/actions/BreakAction.js +1 -1
- package/lib/actions/BroadcastAction.js +1 -1
- package/lib/actions/CmptAction.js +1 -1
- package/lib/actions/ContinueAction.js +1 -1
- package/lib/actions/CopyAction.js +1 -1
- package/lib/actions/CustomAction.js +1 -1
- package/lib/actions/DialogAction.js +1 -1
- package/lib/actions/DrawerAction.js +1 -1
- package/lib/actions/EmailAction.js +1 -1
- package/lib/actions/EventAction.js +1 -1
- package/lib/actions/LinkAction.js +1 -1
- package/lib/actions/LoopAction.js +1 -1
- package/lib/actions/PageAction.js +1 -1
- package/lib/actions/ParallelAction.js +1 -1
- package/lib/actions/PrintAction.js +1 -1
- package/lib/actions/StatusAction.js +1 -1
- package/lib/actions/SwitchAction.js +1 -1
- package/lib/actions/ToastAction.js +1 -1
- package/lib/actions/WaitAction.js +1 -1
- package/lib/components/Animations.js +1 -1
- package/lib/components/CustomStyle.js +1 -1
- package/lib/components/ErrorBoundary.js +1 -1
- package/lib/components/LazyComponent.js +1 -1
- package/lib/components/Overlay.js +1 -1
- package/lib/components/PopOver.js +1 -1
- package/lib/env.d.ts +4 -0
- package/lib/env.js +1 -1
- package/lib/envOverwrite.js +1 -1
- package/lib/factory.d.ts +2 -1
- package/lib/factory.js +4 -2
- package/lib/globalVar.js +1 -1
- package/lib/globalVarClientHandler.js +1 -1
- package/lib/globalVarDefaultValueHandler.js +1 -1
- package/lib/index.js +4 -4
- package/lib/locale.js +1 -1
- package/lib/polyfills.js +1 -1
- package/lib/renderers/Form.js +1 -1
- package/lib/renderers/Item.js +1 -1
- package/lib/renderers/Options.js +1 -1
- package/lib/renderers/Placeholder.js +1 -1
- package/lib/renderers/builtin.js +1 -1
- package/lib/renderers/register.js +1 -1
- package/lib/renderers/wrapControl.js +1 -1
- package/lib/store/app.js +1 -1
- package/lib/store/combo.d.ts +24 -25
- package/lib/store/combo.js +1 -1
- package/lib/store/crud.js +1 -1
- package/lib/store/form.d.ts +10 -11
- package/lib/store/form.js +1 -1
- package/lib/store/formItem.js +1 -1
- package/lib/store/iRenderer.js +1 -1
- package/lib/store/index.js +1 -1
- package/lib/store/list.d.ts +1 -1
- package/lib/store/list.js +1 -1
- package/lib/store/manager.js +1 -1
- package/lib/store/modal.js +1 -1
- package/lib/store/node.js +1 -1
- package/lib/store/pagination.js +1 -1
- package/lib/store/root.d.ts +0 -1
- package/lib/store/root.js +1 -1
- package/lib/store/service.js +1 -1
- package/lib/store/status.js +1 -1
- package/lib/store/table.d.ts +21 -21
- package/lib/store/table.js +3 -2
- package/lib/store/table2.d.ts +1 -1
- package/lib/store/table2.js +5 -3
- package/lib/theme.js +1 -1
- package/lib/utils/Animation.js +1 -1
- package/lib/utils/ColorScale.js +1 -1
- package/lib/utils/DataSchema.js +1 -1
- package/lib/utils/DataScope.js +1 -1
- package/lib/utils/RootClose.js +1 -1
- package/lib/utils/SimpleMap.js +1 -1
- package/lib/utils/animations.js +1 -1
- package/lib/utils/api.js +1 -1
- package/lib/utils/arraySlice.js +1 -1
- package/lib/utils/attachmentAdpator.js +1 -1
- package/lib/utils/autobind.js +1 -1
- package/lib/utils/browser.js +1 -1
- package/lib/utils/columnsSplit.js +1 -1
- package/lib/utils/concatData.js +1 -1
- package/lib/utils/dataMapping.js +1 -1
- package/lib/utils/date.js +1 -1
- package/lib/utils/debug.js +1 -1
- package/lib/utils/decodeEntity.js +1 -1
- package/lib/utils/dom.js +1 -1
- package/lib/utils/errors.js +1 -1
- package/lib/utils/escapeHtml.js +1 -1
- package/lib/utils/filter-schema.js +1 -1
- package/lib/utils/filter.js +1 -1
- package/lib/utils/formatDuration.js +1 -1
- package/lib/utils/formula.js +1 -1
- package/lib/utils/getPageId.js +1 -1
- package/lib/utils/getVariable.js +1 -1
- package/lib/utils/grammar.js +1 -1
- package/lib/utils/handleAction.js +1 -1
- package/lib/utils/helper.js +1 -1
- package/lib/utils/highlight.js +1 -1
- package/lib/utils/icon.js +1 -1
- package/lib/utils/image.js +1 -1
- package/lib/utils/index.js +1 -1
- package/lib/utils/isPureVariable.js +1 -1
- package/lib/utils/json-schema-2-amis-schema.js +1 -1
- package/lib/utils/keyToPath.js +1 -1
- package/lib/utils/labelToString.js +1 -1
- package/lib/utils/loopTooMuch.js +1 -1
- package/lib/utils/makeSorter.js +1 -1
- package/lib/utils/math.js +1 -1
- package/lib/utils/memoryParse.js +1 -1
- package/lib/utils/normalizeLink.js +1 -1
- package/lib/utils/normalizeOptions.js +1 -1
- package/lib/utils/object.js +1 -1
- package/lib/utils/offset.js +1 -1
- package/lib/utils/offsetParent.js +1 -1
- package/lib/utils/optionValueCompare.js +1 -1
- package/lib/utils/position.js +1 -1
- package/lib/utils/prettyBytes.js +1 -1
- package/lib/utils/printElement.js +1 -1
- package/lib/utils/renderer-event.js +9 -3
- package/lib/utils/replaceText.js +1 -1
- package/lib/utils/resize-sensor.js +1 -1
- package/lib/utils/resolveCondition.js +1 -1
- package/lib/utils/resolveVariable.js +1 -1
- package/lib/utils/resolveVariableAndFilter.js +1 -1
- package/lib/utils/resolveVariableAndFilterForAsync.js +1 -1
- package/lib/utils/scrollPosition.js +1 -1
- package/lib/utils/string2regExp.js +1 -1
- package/lib/utils/stripNumber.js +1 -1
- package/lib/utils/style-helper.js +1 -1
- package/lib/utils/style.js +1 -1
- package/lib/utils/toNumber.js +1 -1
- package/lib/utils/tokenize.js +1 -1
- package/lib/utils/tpl-builtin.js +1 -1
- package/lib/utils/tpl-lodash.js +1 -1
- package/lib/utils/tpl.js +1 -1
- package/lib/utils/uncontrollable.js +1 -1
- package/lib/utils/validateId.js +1 -1
- package/lib/utils/validations.js +1 -1
- package/lib/utils/visitedCache.js +1 -1
- package/package.json +1 -1
package/lib/store/table.d.ts
CHANGED
|
@@ -290,7 +290,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
290
290
|
expandedRows: import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>;
|
|
291
291
|
primaryField: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
292
292
|
orderBy: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
293
|
-
orderDir: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ITypeUnion<"" | "
|
|
293
|
+
orderDir: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ITypeUnion<"" | "desc" | "asc", "" | "desc" | "asc", "" | "desc" | "asc">, [undefined]>;
|
|
294
294
|
loading: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
295
295
|
canAccessSuperData: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
296
296
|
draggable: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
@@ -667,7 +667,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
667
667
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
668
668
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
669
669
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
670
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
670
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
671
671
|
changeEmitedValue: (value: any) => void;
|
|
672
672
|
addSubFormItem: (item: {
|
|
673
673
|
id: string;
|
|
@@ -1202,7 +1202,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
1202
1202
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
1203
1203
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
1204
1204
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
1205
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
1205
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
1206
1206
|
changeEmitedValue: (value: any) => void;
|
|
1207
1207
|
addSubFormItem: (item: {
|
|
1208
1208
|
id: string;
|
|
@@ -1743,7 +1743,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
1743
1743
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
1744
1744
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
1745
1745
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
1746
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
1746
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
1747
1747
|
changeEmitedValue: (value: any) => void;
|
|
1748
1748
|
addSubFormItem: (item: {
|
|
1749
1749
|
id: string;
|
|
@@ -2278,7 +2278,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
2278
2278
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
2279
2279
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
2280
2280
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
2281
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
2281
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
2282
2282
|
changeEmitedValue: (value: any) => void;
|
|
2283
2283
|
addSubFormItem: (item: {
|
|
2284
2284
|
id: string;
|
|
@@ -2822,7 +2822,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
2822
2822
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
2823
2823
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
2824
2824
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
2825
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
2825
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
2826
2826
|
changeEmitedValue: (value: any) => void;
|
|
2827
2827
|
addSubFormItem: (item: {
|
|
2828
2828
|
id: string;
|
|
@@ -3357,7 +3357,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
3357
3357
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
3358
3358
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
3359
3359
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
3360
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
3360
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
3361
3361
|
changeEmitedValue: (value: any) => void;
|
|
3362
3362
|
addSubFormItem: (item: {
|
|
3363
3363
|
id: string;
|
|
@@ -3896,7 +3896,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
3896
3896
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
3897
3897
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
3898
3898
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
3899
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
3899
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
3900
3900
|
changeEmitedValue: (value: any) => void;
|
|
3901
3901
|
addSubFormItem: (item: {
|
|
3902
3902
|
id: string;
|
|
@@ -4431,7 +4431,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
4431
4431
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
4432
4432
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
4433
4433
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
4434
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
4434
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
4435
4435
|
changeEmitedValue: (value: any) => void;
|
|
4436
4436
|
addSubFormItem: (item: {
|
|
4437
4437
|
id: string;
|
|
@@ -4970,7 +4970,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
4970
4970
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
4971
4971
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
4972
4972
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
4973
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
4973
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
4974
4974
|
changeEmitedValue: (value: any) => void;
|
|
4975
4975
|
addSubFormItem: (item: {
|
|
4976
4976
|
id: string;
|
|
@@ -5505,7 +5505,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
5505
5505
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
5506
5506
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
5507
5507
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
5508
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
5508
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
5509
5509
|
changeEmitedValue: (value: any) => void;
|
|
5510
5510
|
addSubFormItem: (item: {
|
|
5511
5511
|
id: string;
|
|
@@ -6166,7 +6166,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
6166
6166
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
6167
6167
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
6168
6168
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
6169
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
6169
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
6170
6170
|
changeEmitedValue: (value: any) => void;
|
|
6171
6171
|
addSubFormItem: (item: {
|
|
6172
6172
|
id: string;
|
|
@@ -6701,7 +6701,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
6701
6701
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
6702
6702
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
6703
6703
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
6704
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
6704
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
6705
6705
|
changeEmitedValue: (value: any) => void;
|
|
6706
6706
|
addSubFormItem: (item: {
|
|
6707
6707
|
id: string;
|
|
@@ -7242,7 +7242,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
7242
7242
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
7243
7243
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
7244
7244
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
7245
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
7245
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
7246
7246
|
changeEmitedValue: (value: any) => void;
|
|
7247
7247
|
addSubFormItem: (item: {
|
|
7248
7248
|
id: string;
|
|
@@ -7777,7 +7777,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
7777
7777
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
7778
7778
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
7779
7779
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
7780
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
7780
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
7781
7781
|
changeEmitedValue: (value: any) => void;
|
|
7782
7782
|
addSubFormItem: (item: {
|
|
7783
7783
|
id: string;
|
|
@@ -8321,7 +8321,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
8321
8321
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
8322
8322
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
8323
8323
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
8324
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
8324
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
8325
8325
|
changeEmitedValue: (value: any) => void;
|
|
8326
8326
|
addSubFormItem: (item: {
|
|
8327
8327
|
id: string;
|
|
@@ -8856,7 +8856,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
8856
8856
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
8857
8857
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
8858
8858
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
8859
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
8859
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
8860
8860
|
changeEmitedValue: (value: any) => void;
|
|
8861
8861
|
addSubFormItem: (item: {
|
|
8862
8862
|
id: string;
|
|
@@ -9395,7 +9395,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
9395
9395
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
9396
9396
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
9397
9397
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
9398
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
9398
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
9399
9399
|
changeEmitedValue: (value: any) => void;
|
|
9400
9400
|
addSubFormItem: (item: {
|
|
9401
9401
|
id: string;
|
|
@@ -9930,7 +9930,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
9930
9930
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
9931
9931
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
9932
9932
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
9933
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
9933
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
9934
9934
|
changeEmitedValue: (value: any) => void;
|
|
9935
9935
|
addSubFormItem: (item: {
|
|
9936
9936
|
id: string;
|
|
@@ -10469,7 +10469,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
10469
10469
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
10470
10470
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
10471
10471
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
10472
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
10472
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
10473
10473
|
changeEmitedValue: (value: any) => void;
|
|
10474
10474
|
addSubFormItem: (item: {
|
|
10475
10475
|
id: string;
|
|
@@ -11004,7 +11004,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
11004
11004
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
11005
11005
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
11006
11006
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
11007
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
11007
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
11008
11008
|
changeEmitedValue: (value: any) => void;
|
|
11009
11009
|
addSubFormItem: (item: {
|
|
11010
11010
|
id: string;
|
package/lib/store/table.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* amis-core v6.12.0-beta.
|
|
2
|
+
* amis-core v6.12.0-beta.13
|
|
3
3
|
* Copyright 2018-2025 fex
|
|
4
4
|
*/
|
|
5
5
|
|
|
@@ -621,7 +621,8 @@ var TableStore = iRenderer.iRendererStore
|
|
|
621
621
|
},
|
|
622
622
|
getSelectionUpperLimit: getSelectionUpperLimit,
|
|
623
623
|
get columnsKey() {
|
|
624
|
-
|
|
624
|
+
var fn = mobxStateTree.getEnv(self).getPageId || getPageId.getPageId;
|
|
625
|
+
return fn() + self.path;
|
|
625
626
|
},
|
|
626
627
|
get columnsData() {
|
|
627
628
|
return getColumnsExceptBuiltinTypes();
|
package/lib/store/table2.d.ts
CHANGED
|
@@ -139,7 +139,7 @@ export declare const TableStore2: import("mobx-state-tree").IModelType<{
|
|
|
139
139
|
expandedRowKeys: import("mobx-state-tree").IArrayType<import("mobx-state-tree").IType<any, any, any>>;
|
|
140
140
|
columnsTogglable: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ITypeUnion<boolean | "auto", boolean | "auto", boolean | "auto">, [undefined]>;
|
|
141
141
|
orderBy: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
142
|
-
order: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ITypeUnion<"
|
|
142
|
+
order: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ITypeUnion<"desc" | "asc", "desc" | "asc", "desc" | "asc">, [undefined]>;
|
|
143
143
|
query: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
144
144
|
pageNo: import("mobx-state-tree").IType<number | undefined, number, number>;
|
|
145
145
|
pageSize: import("mobx-state-tree").IType<number | undefined, number, number>;
|
package/lib/store/table2.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* amis-core v6.12.0-beta.
|
|
2
|
+
* amis-core v6.12.0-beta.13
|
|
3
3
|
* Copyright 2018-2025 fex
|
|
4
4
|
*/
|
|
5
5
|
|
|
@@ -367,7 +367,8 @@ var TableStore2 = service.ServiceStore.named('TableStore2')
|
|
|
367
367
|
persistSaveToggledColumns();
|
|
368
368
|
}
|
|
369
369
|
function persistSaveToggledColumns() {
|
|
370
|
-
var
|
|
370
|
+
var fn = mobxStateTree.getEnv(self).getPageId || getPageId.getPageId;
|
|
371
|
+
var key = fn() +
|
|
371
372
|
self.path +
|
|
372
373
|
self.toggableColumns.map(function (item) { return item.name || item.index; }).join('-');
|
|
373
374
|
localStorage.setItem(key, JSON.stringify(self.activeToggaleColumns.map(function (item) { return item.index; })));
|
|
@@ -601,7 +602,8 @@ var TableStore2 = service.ServiceStore.named('TableStore2')
|
|
|
601
602
|
if (!mobxStateTree.isAlive(self)) {
|
|
602
603
|
return;
|
|
603
604
|
}
|
|
604
|
-
var
|
|
605
|
+
var fn = mobxStateTree.getEnv(self).getPageId || getPageId.getPageId;
|
|
606
|
+
var key = fn() +
|
|
605
607
|
self.path +
|
|
606
608
|
self.toggableColumns.map(function (item) { return item.name || item.index; }).join('-');
|
|
607
609
|
var data = localStorage.getItem(key);
|
package/lib/theme.js
CHANGED
package/lib/utils/Animation.js
CHANGED
package/lib/utils/ColorScale.js
CHANGED
package/lib/utils/DataSchema.js
CHANGED
package/lib/utils/DataScope.js
CHANGED
package/lib/utils/RootClose.js
CHANGED
package/lib/utils/SimpleMap.js
CHANGED
package/lib/utils/animations.js
CHANGED
package/lib/utils/api.js
CHANGED
package/lib/utils/arraySlice.js
CHANGED
package/lib/utils/autobind.js
CHANGED
package/lib/utils/browser.js
CHANGED
package/lib/utils/concatData.js
CHANGED
package/lib/utils/dataMapping.js
CHANGED
package/lib/utils/date.js
CHANGED
package/lib/utils/debug.js
CHANGED
package/lib/utils/dom.js
CHANGED
package/lib/utils/errors.js
CHANGED
package/lib/utils/escapeHtml.js
CHANGED
package/lib/utils/filter.js
CHANGED
package/lib/utils/formula.js
CHANGED
package/lib/utils/getPageId.js
CHANGED
package/lib/utils/getVariable.js
CHANGED
package/lib/utils/grammar.js
CHANGED
package/lib/utils/helper.js
CHANGED
package/lib/utils/highlight.js
CHANGED
package/lib/utils/icon.js
CHANGED
package/lib/utils/image.js
CHANGED
package/lib/utils/index.js
CHANGED
package/lib/utils/keyToPath.js
CHANGED
package/lib/utils/loopTooMuch.js
CHANGED
package/lib/utils/makeSorter.js
CHANGED
package/lib/utils/math.js
CHANGED
package/lib/utils/memoryParse.js
CHANGED
package/lib/utils/object.js
CHANGED