amis-core 6.6.0 → 6.7.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 +4 -3
- package/esm/RootRenderer.d.ts +1 -1
- package/esm/RootRenderer.js +1 -1
- package/esm/SchemaRenderer.js +5 -5
- package/esm/Scoped.js +1 -1
- package/esm/StatusScoped.js +1 -1
- package/esm/WithRootStore.js +1 -1
- package/esm/WithStore.js +1 -1
- package/esm/actions/Action.js +32 -31
- 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 +55 -48
- package/esm/actions/ContinueAction.js +1 -1
- package/esm/actions/CopyAction.js +1 -1
- package/esm/actions/CustomAction.js +11 -3
- 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/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.d.ts +2 -0
- package/esm/components/PopOver.js +4 -4
- package/esm/env.d.ts +4 -0
- package/esm/env.js +1 -1
- package/esm/envOverwrite.js +1 -1
- package/esm/factory.js +1 -1
- package/esm/index.js +3 -3
- package/esm/locale.js +1 -1
- package/esm/polyfills.js +1 -1
- package/esm/renderers/Form.js +82 -10
- package/esm/renderers/Item.js +23 -8
- 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.d.ts +1 -0
- package/esm/store/app.js +1 -1
- package/esm/store/combo.d.ts +3 -0
- package/esm/store/combo.js +1 -1
- package/esm/store/crud.d.ts +1 -0
- package/esm/store/crud.js +1 -1
- package/esm/store/form.d.ts +1 -0
- package/esm/store/form.js +1 -1
- package/esm/store/formItem.js +1 -1
- package/esm/store/iRenderer.d.ts +1 -0
- package/esm/store/iRenderer.js +7 -3
- package/esm/store/index.js +1 -1
- package/esm/store/list.d.ts +1 -0
- package/esm/store/list.js +1 -1
- package/esm/store/manager.js +1 -1
- package/esm/store/modal.d.ts +1 -0
- package/esm/store/modal.js +1 -1
- package/esm/store/node.js +1 -1
- package/esm/store/pagination.d.ts +1 -0
- package/esm/store/pagination.js +1 -1
- package/esm/store/root.d.ts +1 -0
- package/esm/store/root.js +1 -1
- package/esm/store/service.d.ts +1 -0
- package/esm/store/service.js +1 -1
- package/esm/store/status.js +1 -1
- package/esm/store/table.d.ts +3 -0
- package/esm/store/table.js +1 -1
- package/esm/store/table2.d.ts +1 -0
- package/esm/store/table2.js +1 -1
- package/esm/theme.js +1 -1
- package/esm/types.d.ts +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 +2 -2
- package/esm/utils/RootClose.js +1 -1
- package/esm/utils/SimpleMap.js +1 -1
- package/esm/utils/api.js +2 -2
- 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/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 +19 -6
- package/esm/utils/highlight.js +1 -1
- package/esm/utils/icon.js +1 -1
- package/esm/utils/image.js +1 -1
- package/esm/utils/isPureVariable.js +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/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 +5 -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.d.ts +4 -2
- package/esm/utils/style-helper.js +27 -13
- 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 +3 -3
- package/esm/utils/validations.js +1 -1
- package/lib/Root.js +4 -3
- package/lib/RootRenderer.js +1 -1
- package/lib/SchemaRenderer.js +5 -5
- package/lib/Scoped.js +1 -1
- package/lib/StatusScoped.js +1 -1
- package/lib/WithRootStore.js +1 -1
- package/lib/WithStore.js +1 -1
- package/lib/actions/Action.js +32 -31
- 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 +55 -48
- package/lib/actions/ContinueAction.js +1 -1
- package/lib/actions/CopyAction.js +1 -1
- package/lib/actions/CustomAction.js +11 -3
- 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/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.d.ts +2 -0
- package/lib/components/PopOver.js +4 -4
- package/lib/env.d.ts +4 -0
- package/lib/env.js +1 -1
- package/lib/envOverwrite.js +1 -1
- package/lib/factory.js +1 -1
- package/lib/index.js +3 -2
- package/lib/locale.js +1 -1
- package/lib/polyfills.js +1 -1
- package/lib/renderers/Form.js +82 -10
- package/lib/renderers/Item.d.ts +1 -1
- package/lib/renderers/Item.js +23 -8
- 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.d.ts +1 -0
- package/lib/store/app.js +1 -1
- package/lib/store/combo.d.ts +27 -24
- package/lib/store/combo.js +1 -1
- package/lib/store/crud.d.ts +1 -0
- package/lib/store/crud.js +1 -1
- package/lib/store/form.d.ts +11 -10
- package/lib/store/form.js +1 -1
- package/lib/store/formItem.js +1 -1
- package/lib/store/iRenderer.d.ts +1 -0
- package/lib/store/iRenderer.js +7 -3
- package/lib/store/index.js +1 -1
- package/lib/store/list.d.ts +1 -0
- package/lib/store/list.js +1 -1
- package/lib/store/manager.js +1 -1
- package/lib/store/modal.d.ts +1 -0
- package/lib/store/modal.js +1 -1
- package/lib/store/node.js +1 -1
- package/lib/store/pagination.d.ts +1 -0
- package/lib/store/pagination.js +1 -1
- package/lib/store/root.d.ts +1 -0
- package/lib/store/root.js +1 -1
- package/lib/store/service.d.ts +1 -0
- package/lib/store/service.js +1 -1
- package/lib/store/status.js +1 -1
- package/lib/store/table.d.ts +23 -20
- package/lib/store/table.js +1 -1
- package/lib/store/table2.d.ts +1 -0
- package/lib/store/table2.js +1 -1
- package/lib/theme.js +1 -1
- package/lib/types.d.ts +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 +2 -2
- package/lib/utils/RootClose.js +1 -1
- package/lib/utils/SimpleMap.js +1 -1
- package/lib/utils/api.js +2 -2
- 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/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 +19 -5
- package/lib/utils/highlight.js +1 -1
- package/lib/utils/icon.js +1 -1
- package/lib/utils/image.js +1 -1
- package/lib/utils/isPureVariable.js +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/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 +5 -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.d.ts +4 -2
- package/lib/utils/style-helper.js +27 -13
- 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 +3 -3
- package/lib/utils/validations.js +1 -1
- package/package.json +2 -2
package/lib/store/modal.js
CHANGED
package/lib/store/node.js
CHANGED
|
@@ -12,6 +12,7 @@ export declare const PaginationStore: import("mobx-state-tree").IModelType<{
|
|
|
12
12
|
initedAt: import("mobx-state-tree").IType<number | undefined, number, number>;
|
|
13
13
|
updatedAt: import("mobx-state-tree").IType<number | undefined, number, number>;
|
|
14
14
|
pristine: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
15
|
+
pristineRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
15
16
|
upStreamData: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
16
17
|
action: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
17
18
|
dialogOpen: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
package/lib/store/pagination.js
CHANGED
package/lib/store/root.d.ts
CHANGED
|
@@ -12,6 +12,7 @@ export declare const RootStore: import("mobx-state-tree").IModelType<{
|
|
|
12
12
|
initedAt: import("mobx-state-tree").IType<number | undefined, number, number>;
|
|
13
13
|
updatedAt: import("mobx-state-tree").IType<number | undefined, number, number>;
|
|
14
14
|
pristine: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
15
|
+
pristineRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
15
16
|
upStreamData: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
16
17
|
action: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
17
18
|
dialogOpen: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
package/lib/store/root.js
CHANGED
package/lib/store/service.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ export declare const ServiceStore: import("mobx-state-tree").IModelType<{
|
|
|
13
13
|
initedAt: import("mobx-state-tree").IType<number | undefined, number, number>;
|
|
14
14
|
updatedAt: import("mobx-state-tree").IType<number | undefined, number, number>;
|
|
15
15
|
pristine: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
16
|
+
pristineRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
16
17
|
upStreamData: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
17
18
|
action: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
18
19
|
dialogOpen: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
package/lib/store/service.js
CHANGED
package/lib/store/status.js
CHANGED
package/lib/store/table.d.ts
CHANGED
|
@@ -119,6 +119,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
119
119
|
initedAt: import("mobx-state-tree").IType<number | undefined, number, number>;
|
|
120
120
|
updatedAt: import("mobx-state-tree").IType<number | undefined, number, number>;
|
|
121
121
|
pristine: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
122
|
+
pristineRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
122
123
|
upStreamData: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
123
124
|
action: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
124
125
|
dialogOpen: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
@@ -424,6 +425,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
424
425
|
initedAt: number;
|
|
425
426
|
updatedAt: number;
|
|
426
427
|
pristine: any;
|
|
428
|
+
pristineRaw: any;
|
|
427
429
|
upStreamData: any;
|
|
428
430
|
action: any;
|
|
429
431
|
dialogOpen: boolean;
|
|
@@ -654,7 +656,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
654
656
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
655
657
|
openDialog: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
656
658
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
657
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
659
|
+
changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
|
|
658
660
|
changeEmitedValue: (value: any) => void;
|
|
659
661
|
addSubFormItem: (item: {
|
|
660
662
|
id: string;
|
|
@@ -1172,7 +1174,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
1172
1174
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
1173
1175
|
openDialog: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
1174
1176
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
1175
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
1177
|
+
changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
|
|
1176
1178
|
changeEmitedValue: (value: any) => void;
|
|
1177
1179
|
addSubFormItem: (item: {
|
|
1178
1180
|
id: string;
|
|
@@ -1694,7 +1696,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
1694
1696
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
1695
1697
|
openDialog: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
1696
1698
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
1697
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
1699
|
+
changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
|
|
1698
1700
|
changeEmitedValue: (value: any) => void;
|
|
1699
1701
|
addSubFormItem: (item: {
|
|
1700
1702
|
id: string;
|
|
@@ -2212,7 +2214,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
2212
2214
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
2213
2215
|
openDialog: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
2214
2216
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
2215
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
2217
|
+
changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
|
|
2216
2218
|
changeEmitedValue: (value: any) => void;
|
|
2217
2219
|
addSubFormItem: (item: {
|
|
2218
2220
|
id: string;
|
|
@@ -2739,7 +2741,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
2739
2741
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
2740
2742
|
openDialog: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
2741
2743
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
2742
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
2744
|
+
changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
|
|
2743
2745
|
changeEmitedValue: (value: any) => void;
|
|
2744
2746
|
addSubFormItem: (item: {
|
|
2745
2747
|
id: string;
|
|
@@ -3257,7 +3259,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
3257
3259
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
3258
3260
|
openDialog: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
3259
3261
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
3260
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
3262
|
+
changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
|
|
3261
3263
|
changeEmitedValue: (value: any) => void;
|
|
3262
3264
|
addSubFormItem: (item: {
|
|
3263
3265
|
id: string;
|
|
@@ -3779,7 +3781,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
3779
3781
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
3780
3782
|
openDialog: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
3781
3783
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
3782
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
3784
|
+
changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
|
|
3783
3785
|
changeEmitedValue: (value: any) => void;
|
|
3784
3786
|
addSubFormItem: (item: {
|
|
3785
3787
|
id: string;
|
|
@@ -4297,7 +4299,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
4297
4299
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
4298
4300
|
openDialog: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
4299
4301
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
4300
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
4302
|
+
changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
|
|
4301
4303
|
changeEmitedValue: (value: any) => void;
|
|
4302
4304
|
addSubFormItem: (item: {
|
|
4303
4305
|
id: string;
|
|
@@ -4819,7 +4821,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
4819
4821
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
4820
4822
|
openDialog: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
4821
4823
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
4822
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
4824
|
+
changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
|
|
4823
4825
|
changeEmitedValue: (value: any) => void;
|
|
4824
4826
|
addSubFormItem: (item: {
|
|
4825
4827
|
id: string;
|
|
@@ -5337,7 +5339,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
5337
5339
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
5338
5340
|
openDialog: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
5339
5341
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
5340
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
5342
|
+
changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
|
|
5341
5343
|
changeEmitedValue: (value: any) => void;
|
|
5342
5344
|
addSubFormItem: (item: {
|
|
5343
5345
|
id: string;
|
|
@@ -5748,6 +5750,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
5748
5750
|
initedAt: import("mobx-state-tree").IType<number | undefined, number, number>;
|
|
5749
5751
|
updatedAt: import("mobx-state-tree").IType<number | undefined, number, number>;
|
|
5750
5752
|
pristine: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
5753
|
+
pristineRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
5751
5754
|
upStreamData: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
5752
5755
|
action: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
5753
5756
|
dialogOpen: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
@@ -5980,7 +5983,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
5980
5983
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
5981
5984
|
openDialog: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
5982
5985
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
5983
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
5986
|
+
changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
|
|
5984
5987
|
changeEmitedValue: (value: any) => void;
|
|
5985
5988
|
addSubFormItem: (item: {
|
|
5986
5989
|
id: string;
|
|
@@ -6498,7 +6501,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
6498
6501
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
6499
6502
|
openDialog: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
6500
6503
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
6501
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
6504
|
+
changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
|
|
6502
6505
|
changeEmitedValue: (value: any) => void;
|
|
6503
6506
|
addSubFormItem: (item: {
|
|
6504
6507
|
id: string;
|
|
@@ -7020,7 +7023,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
7020
7023
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
7021
7024
|
openDialog: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
7022
7025
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
7023
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
7026
|
+
changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
|
|
7024
7027
|
changeEmitedValue: (value: any) => void;
|
|
7025
7028
|
addSubFormItem: (item: {
|
|
7026
7029
|
id: string;
|
|
@@ -7538,7 +7541,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
7538
7541
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
7539
7542
|
openDialog: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
7540
7543
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
7541
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
7544
|
+
changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
|
|
7542
7545
|
changeEmitedValue: (value: any) => void;
|
|
7543
7546
|
addSubFormItem: (item: {
|
|
7544
7547
|
id: string;
|
|
@@ -8065,7 +8068,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
8065
8068
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
8066
8069
|
openDialog: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
8067
8070
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
8068
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
8071
|
+
changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
|
|
8069
8072
|
changeEmitedValue: (value: any) => void;
|
|
8070
8073
|
addSubFormItem: (item: {
|
|
8071
8074
|
id: string;
|
|
@@ -8583,7 +8586,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
8583
8586
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
8584
8587
|
openDialog: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
8585
8588
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
8586
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
8589
|
+
changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
|
|
8587
8590
|
changeEmitedValue: (value: any) => void;
|
|
8588
8591
|
addSubFormItem: (item: {
|
|
8589
8592
|
id: string;
|
|
@@ -9105,7 +9108,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
9105
9108
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
9106
9109
|
openDialog: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
9107
9110
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
9108
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
9111
|
+
changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
|
|
9109
9112
|
changeEmitedValue: (value: any) => void;
|
|
9110
9113
|
addSubFormItem: (item: {
|
|
9111
9114
|
id: string;
|
|
@@ -9623,7 +9626,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
9623
9626
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
9624
9627
|
openDialog: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
9625
9628
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
9626
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
9629
|
+
changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
|
|
9627
9630
|
changeEmitedValue: (value: any) => void;
|
|
9628
9631
|
addSubFormItem: (item: {
|
|
9629
9632
|
id: string;
|
|
@@ -10145,7 +10148,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
10145
10148
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
10146
10149
|
openDialog: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
10147
10150
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
10148
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
10151
|
+
changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
|
|
10149
10152
|
changeEmitedValue: (value: any) => void;
|
|
10150
10153
|
addSubFormItem: (item: {
|
|
10151
10154
|
id: string;
|
|
@@ -10663,7 +10666,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
10663
10666
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
10664
10667
|
openDialog: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
|
|
10665
10668
|
closeDialog: (confirmed?: any, result?: any) => void;
|
|
10666
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
10669
|
+
changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
|
|
10667
10670
|
changeEmitedValue: (value: any) => void;
|
|
10668
10671
|
addSubFormItem: (item: {
|
|
10669
10672
|
id: string;
|
package/lib/store/table.js
CHANGED
package/lib/store/table2.d.ts
CHANGED
|
@@ -56,6 +56,7 @@ export declare const TableStore2: import("mobx-state-tree").IModelType<{
|
|
|
56
56
|
initedAt: import("mobx-state-tree").IType<number | undefined, number, number>;
|
|
57
57
|
updatedAt: import("mobx-state-tree").IType<number | undefined, number, number>;
|
|
58
58
|
pristine: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
59
|
+
pristineRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
59
60
|
upStreamData: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
60
61
|
action: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
61
62
|
dialogOpen: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
package/lib/store/table2.js
CHANGED
package/lib/theme.js
CHANGED
package/lib/types.d.ts
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
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* amis-core v6.
|
|
2
|
+
* amis-core v6.7.0
|
|
3
3
|
* Copyright 2018-2024 fex
|
|
4
4
|
*/
|
|
5
5
|
|
|
@@ -191,7 +191,7 @@ var DataScope = /** @class */ (function () {
|
|
|
191
191
|
value: schema.title === '成员' ? '' : path.value,
|
|
192
192
|
path: schema.title === '成员' ? '' : path.label,
|
|
193
193
|
type: schema.type,
|
|
194
|
-
|
|
194
|
+
rawType: schema.rawType,
|
|
195
195
|
tag: (_b = (_a = schema.typeLabel) !== null && _a !== void 0 ? _a : DATASCHEMA_TYPE_MAP[schema.type]) !== null && _b !== void 0 ? _b : schema.type,
|
|
196
196
|
description: schema.description,
|
|
197
197
|
isMember: isMember,
|
package/lib/utils/RootClose.js
CHANGED
package/lib/utils/SimpleMap.js
CHANGED
package/lib/utils/api.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* amis-core v6.
|
|
2
|
+
* amis-core v6.7.0
|
|
3
3
|
* Copyright 2018-2024 fex
|
|
4
4
|
*/
|
|
5
5
|
|
|
@@ -593,7 +593,7 @@ function isApiOutdated(prevApi, nextApi, prevData, nextData) {
|
|
|
593
593
|
return false;
|
|
594
594
|
}
|
|
595
595
|
// 通常是编辑器里加了属性,一开始没值,后来有了
|
|
596
|
-
if (prevApi === undefined
|
|
596
|
+
if (prevApi === undefined) {
|
|
597
597
|
return true;
|
|
598
598
|
}
|
|
599
599
|
nextApi = normalizeApi(nextApi);
|
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/getVariable.js
CHANGED
package/lib/utils/grammar.js
CHANGED
package/lib/utils/helper.d.ts
CHANGED