amis-core 6.12.0-beta.8 → 6.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm/Root.js +1 -1
- package/esm/RootRenderer.d.ts +1 -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 +2 -2
- 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.d.ts +1 -1
- package/esm/envOverwrite.js +4 -3
- 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 +7 -7
- 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.d.ts +4 -0
- package/esm/renderers/Options.js +2 -2
- 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.d.ts +28 -26
- package/esm/store/combo.js +1 -1
- package/esm/store/crud.d.ts +4 -2
- package/esm/store/crud.js +27 -22
- package/esm/store/form.d.ts +13 -11
- package/esm/store/form.js +15 -11
- package/esm/store/formItem.d.ts +1 -1
- package/esm/store/formItem.js +8 -2
- package/esm/store/iRenderer.js +1 -1
- package/esm/store/index.js +4 -2
- package/esm/store/list.js +1 -1
- package/esm/store/manager.js +1 -1
- package/esm/store/modal.js +1 -1
- package/esm/store/node.js +1 -1
- package/esm/store/pagination.js +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.d.ts +25 -22
- package/esm/store/table.js +29 -20
- package/esm/store/table2.js +6 -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.d.ts +1 -0
- package/esm/utils/debug.js +11 -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 +1 -1
- package/esm/utils/getPageId.d.ts +1 -0
- package/esm/utils/getPageId.js +16 -0
- 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 +1 -0
- package/esm/utils/helper.js +9 -2
- 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 +3 -3
- 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 +2 -2
- 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.d.ts +1 -1
- package/lib/envOverwrite.js +4 -3
- 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 +7 -5
- 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.d.ts +4 -0
- package/lib/renderers/Options.js +2 -2
- 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 +52 -50
- package/lib/store/combo.js +1 -1
- package/lib/store/crud.d.ts +4 -2
- package/lib/store/crud.js +27 -22
- package/lib/store/form.d.ts +23 -21
- package/lib/store/form.js +15 -11
- package/lib/store/formItem.d.ts +1 -1
- package/lib/store/formItem.js +8 -2
- package/lib/store/iRenderer.js +1 -1
- package/lib/store/index.js +4 -2
- 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 +45 -42
- package/lib/store/table.js +28 -19
- package/lib/store/table2.js +6 -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.d.ts +1 -0
- package/lib/utils/debug.js +11 -2
- 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.d.ts +1 -0
- package/lib/utils/getPageId.js +20 -0
- 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 +1 -0
- package/lib/utils/helper.js +9 -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 +3 -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
|
@@ -346,6 +346,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
346
346
|
getDialogScoped(): import("..").IScopedContext | null;
|
|
347
347
|
getDrawerScoped(): import("..").IScopedContext | null;
|
|
348
348
|
} & {
|
|
349
|
+
readonly __: any;
|
|
349
350
|
getSelectionUpperLimit: () => number;
|
|
350
351
|
readonly columnsKey: string;
|
|
351
352
|
readonly columnsData: ({
|
|
@@ -500,7 +501,6 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
500
501
|
fetchSchema: (api: import("..").Api, data?: object | undefined, options?: import("..").fetchOptions | undefined) => Promise<any>;
|
|
501
502
|
checkRemote: (api: import("..").Api, data?: object | undefined, options?: import("..").fetchOptions | undefined) => Promise<any>;
|
|
502
503
|
} & {
|
|
503
|
-
readonly loading: boolean;
|
|
504
504
|
readonly items: ({
|
|
505
505
|
id: string;
|
|
506
506
|
path: string;
|
|
@@ -654,7 +654,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
654
654
|
loadOptions: (api: import("..").Api, data?: object | undefined, config?: (import("..").fetchOptions & {
|
|
655
655
|
extendsOptions?: boolean | undefined;
|
|
656
656
|
}) | undefined, clearValue?: boolean | undefined, onChange?: ((value: any) => void) | undefined, setErrorFlag?: boolean | undefined) => Promise<import("..").Payload | null>;
|
|
657
|
-
loadOptionsFromDataScope: (source: string, ctx: Record<string, any>, onChange?: ((value: any) => void) | undefined) => any[];
|
|
657
|
+
loadOptionsFromDataScope: (source: string, ctx: Record<string, any>, onChange?: ((value: any, submitOnChange?: boolean | undefined, changeImmediately?: boolean | undefined) => void) | undefined, clearValue?: boolean | undefined) => any[];
|
|
658
658
|
deferLoadOptions: (option: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
659
659
|
deferLoadLeftOptions: (option: any, leftOptions: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
660
660
|
expandTreeOptions: (nodePathArr: any[], api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<void | import("..").Payload | null>;
|
|
@@ -668,7 +668,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
668
668
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
669
669
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
670
670
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
671
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
671
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
672
672
|
changeEmitedValue: (value: any) => void;
|
|
673
673
|
addSubFormItem: (item: {
|
|
674
674
|
id: string;
|
|
@@ -1189,7 +1189,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
1189
1189
|
loadOptions: (api: import("..").Api, data?: object | undefined, config?: (import("..").fetchOptions & {
|
|
1190
1190
|
extendsOptions?: boolean | undefined;
|
|
1191
1191
|
}) | undefined, clearValue?: boolean | undefined, onChange?: ((value: any) => void) | undefined, setErrorFlag?: boolean | undefined) => Promise<import("..").Payload | null>;
|
|
1192
|
-
loadOptionsFromDataScope: (source: string, ctx: Record<string, any>, onChange?: ((value: any) => void) | undefined) => any[];
|
|
1192
|
+
loadOptionsFromDataScope: (source: string, ctx: Record<string, any>, onChange?: ((value: any, submitOnChange?: boolean | undefined, changeImmediately?: boolean | undefined) => void) | undefined, clearValue?: boolean | undefined) => any[];
|
|
1193
1193
|
deferLoadOptions: (option: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
1194
1194
|
deferLoadLeftOptions: (option: any, leftOptions: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
1195
1195
|
expandTreeOptions: (nodePathArr: any[], api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<void | import("..").Payload | null>;
|
|
@@ -1203,7 +1203,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
1203
1203
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
1204
1204
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
1205
1205
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
1206
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
1206
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
1207
1207
|
changeEmitedValue: (value: any) => void;
|
|
1208
1208
|
addSubFormItem: (item: {
|
|
1209
1209
|
id: string;
|
|
@@ -1575,6 +1575,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
1575
1575
|
addInitHook(fn: (store: any) => any, weight?: number): () => void;
|
|
1576
1576
|
beforeDestroy: () => void;
|
|
1577
1577
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>)[];
|
|
1578
|
+
} & {
|
|
1579
|
+
readonly loading: boolean;
|
|
1578
1580
|
readonly inputGroupItems: Record<string, ({
|
|
1579
1581
|
id: string;
|
|
1580
1582
|
path: string;
|
|
@@ -1728,7 +1730,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
1728
1730
|
loadOptions: (api: import("..").Api, data?: object | undefined, config?: (import("..").fetchOptions & {
|
|
1729
1731
|
extendsOptions?: boolean | undefined;
|
|
1730
1732
|
}) | undefined, clearValue?: boolean | undefined, onChange?: ((value: any) => void) | undefined, setErrorFlag?: boolean | undefined) => Promise<import("..").Payload | null>;
|
|
1731
|
-
loadOptionsFromDataScope: (source: string, ctx: Record<string, any>, onChange?: ((value: any) => void) | undefined) => any[];
|
|
1733
|
+
loadOptionsFromDataScope: (source: string, ctx: Record<string, any>, onChange?: ((value: any, submitOnChange?: boolean | undefined, changeImmediately?: boolean | undefined) => void) | undefined, clearValue?: boolean | undefined) => any[];
|
|
1732
1734
|
deferLoadOptions: (option: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
1733
1735
|
deferLoadLeftOptions: (option: any, leftOptions: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
1734
1736
|
expandTreeOptions: (nodePathArr: any[], api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<void | import("..").Payload | null>;
|
|
@@ -1742,7 +1744,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
1742
1744
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
1743
1745
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
1744
1746
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
1745
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
1747
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
1746
1748
|
changeEmitedValue: (value: any) => void;
|
|
1747
1749
|
addSubFormItem: (item: {
|
|
1748
1750
|
id: string;
|
|
@@ -2263,7 +2265,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
2263
2265
|
loadOptions: (api: import("..").Api, data?: object | undefined, config?: (import("..").fetchOptions & {
|
|
2264
2266
|
extendsOptions?: boolean | undefined;
|
|
2265
2267
|
}) | undefined, clearValue?: boolean | undefined, onChange?: ((value: any) => void) | undefined, setErrorFlag?: boolean | undefined) => Promise<import("..").Payload | null>;
|
|
2266
|
-
loadOptionsFromDataScope: (source: string, ctx: Record<string, any>, onChange?: ((value: any) => void) | undefined) => any[];
|
|
2268
|
+
loadOptionsFromDataScope: (source: string, ctx: Record<string, any>, onChange?: ((value: any, submitOnChange?: boolean | undefined, changeImmediately?: boolean | undefined) => void) | undefined, clearValue?: boolean | undefined) => any[];
|
|
2267
2269
|
deferLoadOptions: (option: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
2268
2270
|
deferLoadLeftOptions: (option: any, leftOptions: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
2269
2271
|
expandTreeOptions: (nodePathArr: any[], api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<void | import("..").Payload | null>;
|
|
@@ -2277,7 +2279,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
2277
2279
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
2278
2280
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
2279
2281
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
2280
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
2282
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
2281
2283
|
changeEmitedValue: (value: any) => void;
|
|
2282
2284
|
addSubFormItem: (item: {
|
|
2283
2285
|
id: string;
|
|
@@ -2807,7 +2809,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
2807
2809
|
loadOptions: (api: import("..").Api, data?: object | undefined, config?: (import("..").fetchOptions & {
|
|
2808
2810
|
extendsOptions?: boolean | undefined;
|
|
2809
2811
|
}) | undefined, clearValue?: boolean | undefined, onChange?: ((value: any) => void) | undefined, setErrorFlag?: boolean | undefined) => Promise<import("..").Payload | null>;
|
|
2810
|
-
loadOptionsFromDataScope: (source: string, ctx: Record<string, any>, onChange?: ((value: any) => void) | undefined) => any[];
|
|
2812
|
+
loadOptionsFromDataScope: (source: string, ctx: Record<string, any>, onChange?: ((value: any, submitOnChange?: boolean | undefined, changeImmediately?: boolean | undefined) => void) | undefined, clearValue?: boolean | undefined) => any[];
|
|
2811
2813
|
deferLoadOptions: (option: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
2812
2814
|
deferLoadLeftOptions: (option: any, leftOptions: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
2813
2815
|
expandTreeOptions: (nodePathArr: any[], api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<void | import("..").Payload | null>;
|
|
@@ -2821,7 +2823,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
2821
2823
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
2822
2824
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
2823
2825
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
2824
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
2826
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
2825
2827
|
changeEmitedValue: (value: any) => void;
|
|
2826
2828
|
addSubFormItem: (item: {
|
|
2827
2829
|
id: string;
|
|
@@ -3342,7 +3344,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
3342
3344
|
loadOptions: (api: import("..").Api, data?: object | undefined, config?: (import("..").fetchOptions & {
|
|
3343
3345
|
extendsOptions?: boolean | undefined;
|
|
3344
3346
|
}) | undefined, clearValue?: boolean | undefined, onChange?: ((value: any) => void) | undefined, setErrorFlag?: boolean | undefined) => Promise<import("..").Payload | null>;
|
|
3345
|
-
loadOptionsFromDataScope: (source: string, ctx: Record<string, any>, onChange?: ((value: any) => void) | undefined) => any[];
|
|
3347
|
+
loadOptionsFromDataScope: (source: string, ctx: Record<string, any>, onChange?: ((value: any, submitOnChange?: boolean | undefined, changeImmediately?: boolean | undefined) => void) | undefined, clearValue?: boolean | undefined) => any[];
|
|
3346
3348
|
deferLoadOptions: (option: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
3347
3349
|
deferLoadLeftOptions: (option: any, leftOptions: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
3348
3350
|
expandTreeOptions: (nodePathArr: any[], api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<void | import("..").Payload | null>;
|
|
@@ -3356,7 +3358,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
3356
3358
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
3357
3359
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
3358
3360
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
3359
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
3361
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
3360
3362
|
changeEmitedValue: (value: any) => void;
|
|
3361
3363
|
addSubFormItem: (item: {
|
|
3362
3364
|
id: string;
|
|
@@ -3881,7 +3883,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
3881
3883
|
loadOptions: (api: import("..").Api, data?: object | undefined, config?: (import("..").fetchOptions & {
|
|
3882
3884
|
extendsOptions?: boolean | undefined;
|
|
3883
3885
|
}) | undefined, clearValue?: boolean | undefined, onChange?: ((value: any) => void) | undefined, setErrorFlag?: boolean | undefined) => Promise<import("..").Payload | null>;
|
|
3884
|
-
loadOptionsFromDataScope: (source: string, ctx: Record<string, any>, onChange?: ((value: any) => void) | undefined) => any[];
|
|
3886
|
+
loadOptionsFromDataScope: (source: string, ctx: Record<string, any>, onChange?: ((value: any, submitOnChange?: boolean | undefined, changeImmediately?: boolean | undefined) => void) | undefined, clearValue?: boolean | undefined) => any[];
|
|
3885
3887
|
deferLoadOptions: (option: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
3886
3888
|
deferLoadLeftOptions: (option: any, leftOptions: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
3887
3889
|
expandTreeOptions: (nodePathArr: any[], api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<void | import("..").Payload | null>;
|
|
@@ -3895,7 +3897,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
3895
3897
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
3896
3898
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
3897
3899
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
3898
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
3900
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
3899
3901
|
changeEmitedValue: (value: any) => void;
|
|
3900
3902
|
addSubFormItem: (item: {
|
|
3901
3903
|
id: string;
|
|
@@ -4416,7 +4418,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
4416
4418
|
loadOptions: (api: import("..").Api, data?: object | undefined, config?: (import("..").fetchOptions & {
|
|
4417
4419
|
extendsOptions?: boolean | undefined;
|
|
4418
4420
|
}) | undefined, clearValue?: boolean | undefined, onChange?: ((value: any) => void) | undefined, setErrorFlag?: boolean | undefined) => Promise<import("..").Payload | null>;
|
|
4419
|
-
loadOptionsFromDataScope: (source: string, ctx: Record<string, any>, onChange?: ((value: any) => void) | undefined) => any[];
|
|
4421
|
+
loadOptionsFromDataScope: (source: string, ctx: Record<string, any>, onChange?: ((value: any, submitOnChange?: boolean | undefined, changeImmediately?: boolean | undefined) => void) | undefined, clearValue?: boolean | undefined) => any[];
|
|
4420
4422
|
deferLoadOptions: (option: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
4421
4423
|
deferLoadLeftOptions: (option: any, leftOptions: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
4422
4424
|
expandTreeOptions: (nodePathArr: any[], api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<void | import("..").Payload | null>;
|
|
@@ -4430,7 +4432,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
4430
4432
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
4431
4433
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
4432
4434
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
4433
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
4435
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
4434
4436
|
changeEmitedValue: (value: any) => void;
|
|
4435
4437
|
addSubFormItem: (item: {
|
|
4436
4438
|
id: string;
|
|
@@ -4955,7 +4957,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
4955
4957
|
loadOptions: (api: import("..").Api, data?: object | undefined, config?: (import("..").fetchOptions & {
|
|
4956
4958
|
extendsOptions?: boolean | undefined;
|
|
4957
4959
|
}) | undefined, clearValue?: boolean | undefined, onChange?: ((value: any) => void) | undefined, setErrorFlag?: boolean | undefined) => Promise<import("..").Payload | null>;
|
|
4958
|
-
loadOptionsFromDataScope: (source: string, ctx: Record<string, any>, onChange?: ((value: any) => void) | undefined) => any[];
|
|
4960
|
+
loadOptionsFromDataScope: (source: string, ctx: Record<string, any>, onChange?: ((value: any, submitOnChange?: boolean | undefined, changeImmediately?: boolean | undefined) => void) | undefined, clearValue?: boolean | undefined) => any[];
|
|
4959
4961
|
deferLoadOptions: (option: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
4960
4962
|
deferLoadLeftOptions: (option: any, leftOptions: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
4961
4963
|
expandTreeOptions: (nodePathArr: any[], api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<void | import("..").Payload | null>;
|
|
@@ -4969,7 +4971,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
4969
4971
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
4970
4972
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
4971
4973
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
4972
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
4974
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
4973
4975
|
changeEmitedValue: (value: any) => void;
|
|
4974
4976
|
addSubFormItem: (item: {
|
|
4975
4977
|
id: string;
|
|
@@ -5490,7 +5492,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
5490
5492
|
loadOptions: (api: import("..").Api, data?: object | undefined, config?: (import("..").fetchOptions & {
|
|
5491
5493
|
extendsOptions?: boolean | undefined;
|
|
5492
5494
|
}) | undefined, clearValue?: boolean | undefined, onChange?: ((value: any) => void) | undefined, setErrorFlag?: boolean | undefined) => Promise<import("..").Payload | null>;
|
|
5493
|
-
loadOptionsFromDataScope: (source: string, ctx: Record<string, any>, onChange?: ((value: any) => void) | undefined) => any[];
|
|
5495
|
+
loadOptionsFromDataScope: (source: string, ctx: Record<string, any>, onChange?: ((value: any, submitOnChange?: boolean | undefined, changeImmediately?: boolean | undefined) => void) | undefined, clearValue?: boolean | undefined) => any[];
|
|
5494
5496
|
deferLoadOptions: (option: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
5495
5497
|
deferLoadLeftOptions: (option: any, leftOptions: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
5496
5498
|
expandTreeOptions: (nodePathArr: any[], api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<void | import("..").Payload | null>;
|
|
@@ -5504,7 +5506,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
5504
5506
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
5505
5507
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
5506
5508
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
5507
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
5509
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
5508
5510
|
changeEmitedValue: (value: any) => void;
|
|
5509
5511
|
addSubFormItem: (item: {
|
|
5510
5512
|
id: string;
|
|
@@ -5998,7 +6000,6 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
5998
6000
|
fetchSchema: (api: import("..").Api, data?: object | undefined, options?: import("..").fetchOptions | undefined) => Promise<any>;
|
|
5999
6001
|
checkRemote: (api: import("..").Api, data?: object | undefined, options?: import("..").fetchOptions | undefined) => Promise<any>;
|
|
6000
6002
|
} & {
|
|
6001
|
-
readonly loading: boolean;
|
|
6002
6003
|
readonly items: ({
|
|
6003
6004
|
id: string;
|
|
6004
6005
|
path: string;
|
|
@@ -6152,7 +6153,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
6152
6153
|
loadOptions: (api: import("..").Api, data?: object | undefined, config?: (import("..").fetchOptions & {
|
|
6153
6154
|
extendsOptions?: boolean | undefined;
|
|
6154
6155
|
}) | undefined, clearValue?: boolean | undefined, onChange?: ((value: any) => void) | undefined, setErrorFlag?: boolean | undefined) => Promise<import("..").Payload | null>;
|
|
6155
|
-
loadOptionsFromDataScope: (source: string, ctx: Record<string, any>, onChange?: ((value: any) => void) | undefined) => any[];
|
|
6156
|
+
loadOptionsFromDataScope: (source: string, ctx: Record<string, any>, onChange?: ((value: any, submitOnChange?: boolean | undefined, changeImmediately?: boolean | undefined) => void) | undefined, clearValue?: boolean | undefined) => any[];
|
|
6156
6157
|
deferLoadOptions: (option: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
6157
6158
|
deferLoadLeftOptions: (option: any, leftOptions: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
6158
6159
|
expandTreeOptions: (nodePathArr: any[], api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<void | import("..").Payload | null>;
|
|
@@ -6166,7 +6167,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
6166
6167
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
6167
6168
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
6168
6169
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
6169
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
6170
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
6170
6171
|
changeEmitedValue: (value: any) => void;
|
|
6171
6172
|
addSubFormItem: (item: {
|
|
6172
6173
|
id: string;
|
|
@@ -6687,7 +6688,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
6687
6688
|
loadOptions: (api: import("..").Api, data?: object | undefined, config?: (import("..").fetchOptions & {
|
|
6688
6689
|
extendsOptions?: boolean | undefined;
|
|
6689
6690
|
}) | undefined, clearValue?: boolean | undefined, onChange?: ((value: any) => void) | undefined, setErrorFlag?: boolean | undefined) => Promise<import("..").Payload | null>;
|
|
6690
|
-
loadOptionsFromDataScope: (source: string, ctx: Record<string, any>, onChange?: ((value: any) => void) | undefined) => any[];
|
|
6691
|
+
loadOptionsFromDataScope: (source: string, ctx: Record<string, any>, onChange?: ((value: any, submitOnChange?: boolean | undefined, changeImmediately?: boolean | undefined) => void) | undefined, clearValue?: boolean | undefined) => any[];
|
|
6691
6692
|
deferLoadOptions: (option: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
6692
6693
|
deferLoadLeftOptions: (option: any, leftOptions: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
6693
6694
|
expandTreeOptions: (nodePathArr: any[], api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<void | import("..").Payload | null>;
|
|
@@ -6701,7 +6702,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
6701
6702
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
6702
6703
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
6703
6704
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
6704
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
6705
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
6705
6706
|
changeEmitedValue: (value: any) => void;
|
|
6706
6707
|
addSubFormItem: (item: {
|
|
6707
6708
|
id: string;
|
|
@@ -7073,6 +7074,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
7073
7074
|
addInitHook(fn: (store: any) => any, weight?: number): () => void;
|
|
7074
7075
|
beforeDestroy: () => void;
|
|
7075
7076
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>)[];
|
|
7077
|
+
} & {
|
|
7078
|
+
readonly loading: boolean;
|
|
7076
7079
|
readonly inputGroupItems: Record<string, ({
|
|
7077
7080
|
id: string;
|
|
7078
7081
|
path: string;
|
|
@@ -7226,7 +7229,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
7226
7229
|
loadOptions: (api: import("..").Api, data?: object | undefined, config?: (import("..").fetchOptions & {
|
|
7227
7230
|
extendsOptions?: boolean | undefined;
|
|
7228
7231
|
}) | undefined, clearValue?: boolean | undefined, onChange?: ((value: any) => void) | undefined, setErrorFlag?: boolean | undefined) => Promise<import("..").Payload | null>;
|
|
7229
|
-
loadOptionsFromDataScope: (source: string, ctx: Record<string, any>, onChange?: ((value: any) => void) | undefined) => any[];
|
|
7232
|
+
loadOptionsFromDataScope: (source: string, ctx: Record<string, any>, onChange?: ((value: any, submitOnChange?: boolean | undefined, changeImmediately?: boolean | undefined) => void) | undefined, clearValue?: boolean | undefined) => any[];
|
|
7230
7233
|
deferLoadOptions: (option: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
7231
7234
|
deferLoadLeftOptions: (option: any, leftOptions: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
7232
7235
|
expandTreeOptions: (nodePathArr: any[], api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<void | import("..").Payload | null>;
|
|
@@ -7240,7 +7243,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
7240
7243
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
7241
7244
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
7242
7245
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
7243
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
7246
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
7244
7247
|
changeEmitedValue: (value: any) => void;
|
|
7245
7248
|
addSubFormItem: (item: {
|
|
7246
7249
|
id: string;
|
|
@@ -7761,7 +7764,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
7761
7764
|
loadOptions: (api: import("..").Api, data?: object | undefined, config?: (import("..").fetchOptions & {
|
|
7762
7765
|
extendsOptions?: boolean | undefined;
|
|
7763
7766
|
}) | undefined, clearValue?: boolean | undefined, onChange?: ((value: any) => void) | undefined, setErrorFlag?: boolean | undefined) => Promise<import("..").Payload | null>;
|
|
7764
|
-
loadOptionsFromDataScope: (source: string, ctx: Record<string, any>, onChange?: ((value: any) => void) | undefined) => any[];
|
|
7767
|
+
loadOptionsFromDataScope: (source: string, ctx: Record<string, any>, onChange?: ((value: any, submitOnChange?: boolean | undefined, changeImmediately?: boolean | undefined) => void) | undefined, clearValue?: boolean | undefined) => any[];
|
|
7765
7768
|
deferLoadOptions: (option: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
7766
7769
|
deferLoadLeftOptions: (option: any, leftOptions: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
7767
7770
|
expandTreeOptions: (nodePathArr: any[], api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<void | import("..").Payload | null>;
|
|
@@ -7775,7 +7778,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
7775
7778
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
7776
7779
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
7777
7780
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
7778
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
7781
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
7779
7782
|
changeEmitedValue: (value: any) => void;
|
|
7780
7783
|
addSubFormItem: (item: {
|
|
7781
7784
|
id: string;
|
|
@@ -8305,7 +8308,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
8305
8308
|
loadOptions: (api: import("..").Api, data?: object | undefined, config?: (import("..").fetchOptions & {
|
|
8306
8309
|
extendsOptions?: boolean | undefined;
|
|
8307
8310
|
}) | undefined, clearValue?: boolean | undefined, onChange?: ((value: any) => void) | undefined, setErrorFlag?: boolean | undefined) => Promise<import("..").Payload | null>;
|
|
8308
|
-
loadOptionsFromDataScope: (source: string, ctx: Record<string, any>, onChange?: ((value: any) => void) | undefined) => any[];
|
|
8311
|
+
loadOptionsFromDataScope: (source: string, ctx: Record<string, any>, onChange?: ((value: any, submitOnChange?: boolean | undefined, changeImmediately?: boolean | undefined) => void) | undefined, clearValue?: boolean | undefined) => any[];
|
|
8309
8312
|
deferLoadOptions: (option: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
8310
8313
|
deferLoadLeftOptions: (option: any, leftOptions: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
8311
8314
|
expandTreeOptions: (nodePathArr: any[], api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<void | import("..").Payload | null>;
|
|
@@ -8319,7 +8322,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
8319
8322
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
8320
8323
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
8321
8324
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
8322
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
8325
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
8323
8326
|
changeEmitedValue: (value: any) => void;
|
|
8324
8327
|
addSubFormItem: (item: {
|
|
8325
8328
|
id: string;
|
|
@@ -8840,7 +8843,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
8840
8843
|
loadOptions: (api: import("..").Api, data?: object | undefined, config?: (import("..").fetchOptions & {
|
|
8841
8844
|
extendsOptions?: boolean | undefined;
|
|
8842
8845
|
}) | undefined, clearValue?: boolean | undefined, onChange?: ((value: any) => void) | undefined, setErrorFlag?: boolean | undefined) => Promise<import("..").Payload | null>;
|
|
8843
|
-
loadOptionsFromDataScope: (source: string, ctx: Record<string, any>, onChange?: ((value: any) => void) | undefined) => any[];
|
|
8846
|
+
loadOptionsFromDataScope: (source: string, ctx: Record<string, any>, onChange?: ((value: any, submitOnChange?: boolean | undefined, changeImmediately?: boolean | undefined) => void) | undefined, clearValue?: boolean | undefined) => any[];
|
|
8844
8847
|
deferLoadOptions: (option: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
8845
8848
|
deferLoadLeftOptions: (option: any, leftOptions: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
8846
8849
|
expandTreeOptions: (nodePathArr: any[], api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<void | import("..").Payload | null>;
|
|
@@ -8854,7 +8857,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
8854
8857
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
8855
8858
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
8856
8859
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
8857
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
8860
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
8858
8861
|
changeEmitedValue: (value: any) => void;
|
|
8859
8862
|
addSubFormItem: (item: {
|
|
8860
8863
|
id: string;
|
|
@@ -9379,7 +9382,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
9379
9382
|
loadOptions: (api: import("..").Api, data?: object | undefined, config?: (import("..").fetchOptions & {
|
|
9380
9383
|
extendsOptions?: boolean | undefined;
|
|
9381
9384
|
}) | undefined, clearValue?: boolean | undefined, onChange?: ((value: any) => void) | undefined, setErrorFlag?: boolean | undefined) => Promise<import("..").Payload | null>;
|
|
9382
|
-
loadOptionsFromDataScope: (source: string, ctx: Record<string, any>, onChange?: ((value: any) => void) | undefined) => any[];
|
|
9385
|
+
loadOptionsFromDataScope: (source: string, ctx: Record<string, any>, onChange?: ((value: any, submitOnChange?: boolean | undefined, changeImmediately?: boolean | undefined) => void) | undefined, clearValue?: boolean | undefined) => any[];
|
|
9383
9386
|
deferLoadOptions: (option: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
9384
9387
|
deferLoadLeftOptions: (option: any, leftOptions: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
9385
9388
|
expandTreeOptions: (nodePathArr: any[], api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<void | import("..").Payload | null>;
|
|
@@ -9393,7 +9396,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
9393
9396
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
9394
9397
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
9395
9398
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
9396
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
9399
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
9397
9400
|
changeEmitedValue: (value: any) => void;
|
|
9398
9401
|
addSubFormItem: (item: {
|
|
9399
9402
|
id: string;
|
|
@@ -9914,7 +9917,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
9914
9917
|
loadOptions: (api: import("..").Api, data?: object | undefined, config?: (import("..").fetchOptions & {
|
|
9915
9918
|
extendsOptions?: boolean | undefined;
|
|
9916
9919
|
}) | undefined, clearValue?: boolean | undefined, onChange?: ((value: any) => void) | undefined, setErrorFlag?: boolean | undefined) => Promise<import("..").Payload | null>;
|
|
9917
|
-
loadOptionsFromDataScope: (source: string, ctx: Record<string, any>, onChange?: ((value: any) => void) | undefined) => any[];
|
|
9920
|
+
loadOptionsFromDataScope: (source: string, ctx: Record<string, any>, onChange?: ((value: any, submitOnChange?: boolean | undefined, changeImmediately?: boolean | undefined) => void) | undefined, clearValue?: boolean | undefined) => any[];
|
|
9918
9921
|
deferLoadOptions: (option: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
9919
9922
|
deferLoadLeftOptions: (option: any, leftOptions: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
9920
9923
|
expandTreeOptions: (nodePathArr: any[], api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<void | import("..").Payload | null>;
|
|
@@ -9928,7 +9931,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
9928
9931
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
9929
9932
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
9930
9933
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
9931
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
9934
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
9932
9935
|
changeEmitedValue: (value: any) => void;
|
|
9933
9936
|
addSubFormItem: (item: {
|
|
9934
9937
|
id: string;
|
|
@@ -10453,7 +10456,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
10453
10456
|
loadOptions: (api: import("..").Api, data?: object | undefined, config?: (import("..").fetchOptions & {
|
|
10454
10457
|
extendsOptions?: boolean | undefined;
|
|
10455
10458
|
}) | undefined, clearValue?: boolean | undefined, onChange?: ((value: any) => void) | undefined, setErrorFlag?: boolean | undefined) => Promise<import("..").Payload | null>;
|
|
10456
|
-
loadOptionsFromDataScope: (source: string, ctx: Record<string, any>, onChange?: ((value: any) => void) | undefined) => any[];
|
|
10459
|
+
loadOptionsFromDataScope: (source: string, ctx: Record<string, any>, onChange?: ((value: any, submitOnChange?: boolean | undefined, changeImmediately?: boolean | undefined) => void) | undefined, clearValue?: boolean | undefined) => any[];
|
|
10457
10460
|
deferLoadOptions: (option: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
10458
10461
|
deferLoadLeftOptions: (option: any, leftOptions: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
10459
10462
|
expandTreeOptions: (nodePathArr: any[], api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<void | import("..").Payload | null>;
|
|
@@ -10467,7 +10470,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
10467
10470
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
10468
10471
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
10469
10472
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
10470
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
10473
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
10471
10474
|
changeEmitedValue: (value: any) => void;
|
|
10472
10475
|
addSubFormItem: (item: {
|
|
10473
10476
|
id: string;
|
|
@@ -10988,7 +10991,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
10988
10991
|
loadOptions: (api: import("..").Api, data?: object | undefined, config?: (import("..").fetchOptions & {
|
|
10989
10992
|
extendsOptions?: boolean | undefined;
|
|
10990
10993
|
}) | undefined, clearValue?: boolean | undefined, onChange?: ((value: any) => void) | undefined, setErrorFlag?: boolean | undefined) => Promise<import("..").Payload | null>;
|
|
10991
|
-
loadOptionsFromDataScope: (source: string, ctx: Record<string, any>, onChange?: ((value: any) => void) | undefined) => any[];
|
|
10994
|
+
loadOptionsFromDataScope: (source: string, ctx: Record<string, any>, onChange?: ((value: any, submitOnChange?: boolean | undefined, changeImmediately?: boolean | undefined) => void) | undefined, clearValue?: boolean | undefined) => any[];
|
|
10992
10995
|
deferLoadOptions: (option: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
10993
10996
|
deferLoadLeftOptions: (option: any, leftOptions: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
10994
10997
|
expandTreeOptions: (nodePathArr: any[], api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<void | import("..").Payload | null>;
|
|
@@ -11002,7 +11005,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
11002
11005
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
11003
11006
|
openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
11004
11007
|
closePopOver: (confirmed?: any, result?: any) => void;
|
|
11005
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
11008
|
+
changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
11006
11009
|
changeEmitedValue: (value: any) => void;
|
|
11007
11010
|
addSubFormItem: (item: {
|
|
11008
11011
|
id: string;
|
package/lib/store/table.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* amis-core v6.12.0
|
|
2
|
+
* amis-core v6.12.0
|
|
3
3
|
* Copyright 2018-2025 fex
|
|
4
4
|
*/
|
|
5
5
|
|
|
@@ -24,6 +24,7 @@ var sortBy = require('lodash/sortBy');
|
|
|
24
24
|
var helper = require('../utils/helper.js');
|
|
25
25
|
var tpl = require('../utils/tpl.js');
|
|
26
26
|
var manager = require('./manager.js');
|
|
27
|
+
var getPageId = require('../utils/getPageId.js');
|
|
27
28
|
|
|
28
29
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
29
30
|
|
|
@@ -615,9 +616,13 @@ var TableStore = iRenderer.iRendererStore
|
|
|
615
616
|
return selectionUpperLimit;
|
|
616
617
|
}
|
|
617
618
|
return {
|
|
619
|
+
get __() {
|
|
620
|
+
return mobxStateTree.getEnv(self).translate;
|
|
621
|
+
},
|
|
618
622
|
getSelectionUpperLimit: getSelectionUpperLimit,
|
|
619
623
|
get columnsKey() {
|
|
620
|
-
|
|
624
|
+
var fn = mobxStateTree.getEnv(self).getPageId || getPageId.getPageId;
|
|
625
|
+
return fn() + self.path;
|
|
621
626
|
},
|
|
622
627
|
get columnsData() {
|
|
623
628
|
return getColumnsExceptBuiltinTypes();
|
|
@@ -935,28 +940,32 @@ var TableStore = iRenderer.iRendererStore
|
|
|
935
940
|
label: '空'
|
|
936
941
|
});
|
|
937
942
|
}
|
|
938
|
-
if (self.showIndex) {
|
|
943
|
+
if (self.showIndex && !columns.some(function (item) { return item.type === '__index'; })) {
|
|
939
944
|
columns.unshift({
|
|
940
945
|
type: '__index',
|
|
946
|
+
label: self.__('Table.index'),
|
|
941
947
|
width: 50
|
|
942
948
|
});
|
|
943
949
|
}
|
|
944
|
-
columns.
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
950
|
+
columns.some(function (item) { return item.type === '__expandme'; }) ||
|
|
951
|
+
columns.unshift({
|
|
952
|
+
type: '__expandme',
|
|
953
|
+
toggable: false,
|
|
954
|
+
className: 'Table-expandCell'
|
|
955
|
+
});
|
|
956
|
+
columns.some(function (item) { return item.type === '__checkme'; }) ||
|
|
957
|
+
columns.unshift({
|
|
958
|
+
type: '__checkme',
|
|
959
|
+
fixed: 'left',
|
|
960
|
+
toggable: false,
|
|
961
|
+
className: 'Table-checkCell'
|
|
962
|
+
});
|
|
963
|
+
columns.some(function (item) { return item.type === '__dragme'; }) ||
|
|
964
|
+
columns.unshift({
|
|
965
|
+
type: '__dragme',
|
|
966
|
+
toggable: false,
|
|
967
|
+
className: 'Table-dragCell'
|
|
968
|
+
});
|
|
960
969
|
var originColumns_1 = self.columns.concat();
|
|
961
970
|
var ids_1 = [];
|
|
962
971
|
columns = columns.map(function (item, index) {
|
package/lib/store/table2.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* amis-core v6.12.0
|
|
2
|
+
* amis-core v6.12.0
|
|
3
3
|
* Copyright 2018-2025 fex
|
|
4
4
|
*/
|
|
5
5
|
|
|
@@ -14,6 +14,7 @@ var isEqual = require('lodash/isEqual');
|
|
|
14
14
|
var helper = require('../utils/helper.js');
|
|
15
15
|
var api = require('../utils/api.js');
|
|
16
16
|
var service = require('./service.js');
|
|
17
|
+
var getPageId = require('../utils/getPageId.js');
|
|
17
18
|
var object = require('../utils/object.js');
|
|
18
19
|
|
|
19
20
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
@@ -366,7 +367,8 @@ var TableStore2 = service.ServiceStore.named('TableStore2')
|
|
|
366
367
|
persistSaveToggledColumns();
|
|
367
368
|
}
|
|
368
369
|
function persistSaveToggledColumns() {
|
|
369
|
-
var
|
|
370
|
+
var fn = mobxStateTree.getEnv(self).getPageId || getPageId.getPageId;
|
|
371
|
+
var key = fn() +
|
|
370
372
|
self.path +
|
|
371
373
|
self.toggableColumns.map(function (item) { return item.name || item.index; }).join('-');
|
|
372
374
|
localStorage.setItem(key, JSON.stringify(self.activeToggaleColumns.map(function (item) { return item.index; })));
|
|
@@ -600,7 +602,8 @@ var TableStore2 = service.ServiceStore.named('TableStore2')
|
|
|
600
602
|
if (!mobxStateTree.isAlive(self)) {
|
|
601
603
|
return;
|
|
602
604
|
}
|
|
603
|
-
var
|
|
605
|
+
var fn = mobxStateTree.getEnv(self).getPageId || getPageId.getPageId;
|
|
606
|
+
var key = fn() +
|
|
604
607
|
self.path +
|
|
605
608
|
self.toggableColumns.map(function (item) { return item.name || item.index; }).join('-');
|
|
606
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