amis-core 3.4.1 → 3.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm/Root.js +1 -1
- package/esm/RootRenderer.js +1 -1
- package/esm/SchemaRenderer.js +1 -1
- package/esm/Scoped.js +2 -2
- package/esm/StatusScoped.js +1 -1
- package/esm/WithRootStore.js +1 -1
- package/esm/WithStore.js +8 -4
- package/esm/actions/Action.js +1 -1
- package/esm/actions/AjaxAction.js +1 -1
- package/esm/actions/BreakAction.js +1 -1
- package/esm/actions/BroadcastAction.js +1 -1
- package/esm/actions/CmptAction.d.ts +1 -0
- package/esm/actions/CmptAction.js +23 -23
- package/esm/actions/ContinueAction.js +1 -1
- package/esm/actions/CopyAction.js +1 -1
- package/esm/actions/CustomAction.js +2 -2
- package/esm/actions/DialogAction.js +1 -1
- package/esm/actions/DrawerAction.js +5 -1
- package/esm/actions/EmailAction.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/StatusAction.js +1 -1
- package/esm/actions/SwitchAction.js +1 -1
- package/esm/actions/ToastAction.js +1 -1
- package/esm/components/CustomStyle.d.ts +1 -0
- package/esm/components/CustomStyle.js +21 -4
- package/esm/components/LazyComponent.js +1 -1
- package/esm/components/Overlay.js +2 -1
- package/esm/components/PopOver.js +2 -2
- 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 +8 -2
- package/esm/renderers/Item.js +2 -2
- 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 +2 -2
- package/esm/store/app.js +2 -2
- package/esm/store/combo.js +1 -1
- package/esm/store/crud.d.ts +0 -1
- package/esm/store/crud.js +32 -25
- package/esm/store/form.js +5 -2
- package/esm/store/formItem.js +2 -2
- package/esm/store/iRenderer.js +2 -2
- package/esm/store/index.js +1 -1
- package/esm/store/list.js +1 -1
- package/esm/store/manager.js +1 -1
- package/esm/store/modal.js +1 -1
- package/esm/store/node.js +1 -1
- package/esm/store/pagination.js +1 -1
- package/esm/store/root.js +2 -2
- package/esm/store/service.js +1 -1
- package/esm/store/status.js +1 -1
- package/esm/store/table.d.ts +36 -18
- package/esm/store/table.js +12 -6
- package/esm/store/table2.d.ts +1 -1
- package/esm/store/table2.js +5 -4
- package/esm/theme.js +1 -1
- package/esm/utils/Animation.js +1 -1
- package/esm/utils/ColorScale.js +1 -1
- package/esm/utils/DataSchema.js +1 -1
- package/esm/utils/DataScope.js +1 -1
- package/esm/utils/RootClose.js +1 -1
- package/esm/utils/SimpleMap.js +1 -1
- package/esm/utils/api.js +4 -3
- package/esm/utils/arraySlice.js +1 -1
- package/esm/utils/attachmentAdpator.js +1 -1
- package/esm/utils/autobind.js +1 -1
- package/esm/utils/columnsSplit.js +1 -1
- package/esm/utils/dataMapping.js +1 -1
- package/esm/utils/date.js +1 -1
- package/esm/utils/debug.d.ts +1 -1
- package/esm/utils/debug.js +5 -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 +16 -12
- 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 +2 -1
- package/esm/utils/helper.js +15 -10
- 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/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/renderer-event.js +1 -1
- 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 +3 -2
- 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/validations.js +1 -1
- package/lib/Root.js +1 -1
- package/lib/RootRenderer.js +1 -1
- package/lib/SchemaRenderer.js +1 -1
- package/lib/Scoped.js +2 -2
- package/lib/StatusScoped.js +1 -1
- package/lib/WithRootStore.js +1 -1
- package/lib/WithStore.js +8 -4
- package/lib/actions/Action.js +1 -1
- package/lib/actions/AjaxAction.js +1 -1
- package/lib/actions/BreakAction.js +1 -1
- package/lib/actions/BroadcastAction.js +1 -1
- package/lib/actions/CmptAction.d.ts +1 -0
- package/lib/actions/CmptAction.js +23 -23
- package/lib/actions/ContinueAction.js +1 -1
- package/lib/actions/CopyAction.js +1 -1
- package/lib/actions/CustomAction.js +2 -2
- package/lib/actions/DialogAction.js +1 -1
- package/lib/actions/DrawerAction.js +5 -1
- package/lib/actions/EmailAction.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/StatusAction.js +1 -1
- package/lib/actions/SwitchAction.js +1 -1
- package/lib/actions/ToastAction.js +1 -1
- package/lib/components/CustomStyle.d.ts +1 -0
- package/lib/components/CustomStyle.js +21 -3
- package/lib/components/LazyComponent.js +1 -1
- package/lib/components/Overlay.js +2 -1
- package/lib/components/PopOver.js +2 -2
- 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 +8 -2
- package/lib/renderers/Item.d.ts +1 -1
- package/lib/renderers/Item.js +2 -2
- 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 +2 -2
- package/lib/store/app.js +2 -2
- package/lib/store/combo.d.ts +24 -24
- package/lib/store/combo.js +1 -1
- package/lib/store/crud.d.ts +0 -1
- package/lib/store/crud.js +32 -25
- package/lib/store/form.d.ts +10 -11
- package/lib/store/form.js +5 -2
- package/lib/store/formItem.js +2 -2
- package/lib/store/iRenderer.js +2 -2
- package/lib/store/index.js +1 -1
- package/lib/store/list.js +1 -1
- package/lib/store/manager.js +1 -1
- package/lib/store/modal.js +1 -1
- package/lib/store/node.js +1 -1
- package/lib/store/pagination.js +1 -1
- package/lib/store/root.js +2 -2
- package/lib/store/service.js +1 -1
- package/lib/store/status.js +1 -1
- package/lib/store/table.d.ts +56 -38
- package/lib/store/table.js +12 -6
- package/lib/store/table2.d.ts +1 -1
- package/lib/store/table2.js +5 -4
- package/lib/theme.js +1 -1
- package/lib/utils/Animation.js +1 -1
- package/lib/utils/ColorScale.js +1 -1
- package/lib/utils/DataSchema.js +1 -1
- package/lib/utils/DataScope.js +1 -1
- package/lib/utils/RootClose.js +1 -1
- package/lib/utils/SimpleMap.js +1 -1
- package/lib/utils/api.js +4 -3
- package/lib/utils/arraySlice.js +1 -1
- package/lib/utils/attachmentAdpator.js +1 -1
- package/lib/utils/autobind.js +1 -1
- package/lib/utils/columnsSplit.js +1 -1
- package/lib/utils/dataMapping.js +1 -1
- package/lib/utils/date.js +1 -1
- package/lib/utils/debug.d.ts +1 -1
- package/lib/utils/debug.js +4 -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 +16 -13
- 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 +2 -1
- package/lib/utils/helper.js +15 -9
- 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/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/renderer-event.js +1 -1
- 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 +4 -2
- 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/validations.js +1 -1
- package/package.json +3 -3
package/lib/store/form.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="lodash" />
|
|
2
1
|
import { Instance } from 'mobx-state-tree';
|
|
3
2
|
import type { IFormItemStore } from './formItem';
|
|
4
3
|
import { Api, fetchOptions, Payload } from '../types';
|
|
@@ -224,7 +223,7 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
224
223
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
225
224
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
226
225
|
closeDialog: (result?: any) => void;
|
|
227
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
226
|
+
changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
|
|
228
227
|
changeEmitedValue: (value: any) => void;
|
|
229
228
|
addSubFormItem: (item: {
|
|
230
229
|
id: string;
|
|
@@ -682,7 +681,7 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
682
681
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
683
682
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
684
683
|
closeDialog: (result?: any) => void;
|
|
685
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
684
|
+
changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
|
|
686
685
|
changeEmitedValue: (value: any) => void;
|
|
687
686
|
addSubFormItem: (item: {
|
|
688
687
|
id: string;
|
|
@@ -1145,7 +1144,7 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
1145
1144
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
1146
1145
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
1147
1146
|
closeDialog: (result?: any) => void;
|
|
1148
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
1147
|
+
changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
|
|
1149
1148
|
changeEmitedValue: (value: any) => void;
|
|
1150
1149
|
addSubFormItem: (item: {
|
|
1151
1150
|
id: string;
|
|
@@ -1603,7 +1602,7 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
1603
1602
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
1604
1603
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
1605
1604
|
closeDialog: (result?: any) => void;
|
|
1606
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
1605
|
+
changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
|
|
1607
1606
|
changeEmitedValue: (value: any) => void;
|
|
1608
1607
|
addSubFormItem: (item: {
|
|
1609
1608
|
id: string;
|
|
@@ -2070,7 +2069,7 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
2070
2069
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
2071
2070
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
2072
2071
|
closeDialog: (result?: any) => void;
|
|
2073
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
2072
|
+
changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
|
|
2074
2073
|
changeEmitedValue: (value: any) => void;
|
|
2075
2074
|
addSubFormItem: (item: {
|
|
2076
2075
|
id: string;
|
|
@@ -2528,7 +2527,7 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
2528
2527
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
2529
2528
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
2530
2529
|
closeDialog: (result?: any) => void;
|
|
2531
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
2530
|
+
changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
|
|
2532
2531
|
changeEmitedValue: (value: any) => void;
|
|
2533
2532
|
addSubFormItem: (item: {
|
|
2534
2533
|
id: string;
|
|
@@ -2990,7 +2989,7 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
2990
2989
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
2991
2990
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
2992
2991
|
closeDialog: (result?: any) => void;
|
|
2993
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
2992
|
+
changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
|
|
2994
2993
|
changeEmitedValue: (value: any) => void;
|
|
2995
2994
|
addSubFormItem: (item: {
|
|
2996
2995
|
id: string;
|
|
@@ -3448,7 +3447,7 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
3448
3447
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
3449
3448
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
3450
3449
|
closeDialog: (result?: any) => void;
|
|
3451
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
3450
|
+
changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
|
|
3452
3451
|
changeEmitedValue: (value: any) => void;
|
|
3453
3452
|
addSubFormItem: (item: {
|
|
3454
3453
|
id: string;
|
|
@@ -3910,7 +3909,7 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
3910
3909
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
3911
3910
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
3912
3911
|
closeDialog: (result?: any) => void;
|
|
3913
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
3912
|
+
changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
|
|
3914
3913
|
changeEmitedValue: (value: any) => void;
|
|
3915
3914
|
addSubFormItem: (item: {
|
|
3916
3915
|
id: string;
|
|
@@ -4368,7 +4367,7 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
4368
4367
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
4369
4368
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
4370
4369
|
closeDialog: (result?: any) => void;
|
|
4371
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
4370
|
+
changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
|
|
4372
4371
|
changeEmitedValue: (value: any) => void;
|
|
4373
4372
|
addSubFormItem: (item: {
|
|
4374
4373
|
id: string;
|
package/lib/store/form.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* amis-core v3.4.
|
|
2
|
+
* amis-core v3.4.3
|
|
3
3
|
* Copyright 2018-2023 fex
|
|
4
4
|
*/
|
|
5
5
|
|
|
@@ -169,7 +169,7 @@ var FormStore = service.ServiceStore.named('FormStore')
|
|
|
169
169
|
}
|
|
170
170
|
}
|
|
171
171
|
item.reset();
|
|
172
|
-
item.validateOnChange && item.validate(self.data);
|
|
172
|
+
self.inited && item.validateOnChange && item.validate(self.data);
|
|
173
173
|
});
|
|
174
174
|
// 同步 options
|
|
175
175
|
syncOptions();
|
|
@@ -618,6 +618,9 @@ var FormStore = service.ServiceStore.named('FormStore')
|
|
|
618
618
|
if (item.name && item.type !== 'hidden') {
|
|
619
619
|
object.setVariable(toClear, item.name, item.resetValue);
|
|
620
620
|
}
|
|
621
|
+
if (item.extraName && typeof item.extraName === 'string') {
|
|
622
|
+
object.setVariable(toClear, item.extraName, item.resetValue);
|
|
623
|
+
}
|
|
621
624
|
});
|
|
622
625
|
setValues(toClear);
|
|
623
626
|
self.validated = false;
|
package/lib/store/formItem.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* amis-core v3.4.
|
|
2
|
+
* amis-core v3.4.3
|
|
3
3
|
* Copyright 2018-2023 fex
|
|
4
4
|
*/
|
|
5
5
|
|
|
@@ -891,7 +891,7 @@ var FormItemStore = node.StoreNode.named('FormItemStore')
|
|
|
891
891
|
self.validated = false;
|
|
892
892
|
if (subStore && subStore.storeType === 'ComboStore') {
|
|
893
893
|
var combo = subStore;
|
|
894
|
-
combo.forms.forEach(function (form) { return form.reset(); });
|
|
894
|
+
combo.forms.forEach(function (form) { return form.reset(undefined, false); }); // 仅重置校验状态,不要重置数据
|
|
895
895
|
}
|
|
896
896
|
!keepErrors && clearError();
|
|
897
897
|
}
|
package/lib/store/iRenderer.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* amis-core v3.4.
|
|
2
|
+
* amis-core v3.4.3
|
|
3
3
|
* Copyright 2018-2023 fex
|
|
4
4
|
*/
|
|
5
5
|
|
|
@@ -28,7 +28,6 @@ require('../utils/dom.js');
|
|
|
28
28
|
require('../utils/errors.js');
|
|
29
29
|
require('../utils/tpl.js');
|
|
30
30
|
require('lodash/isPlainObject');
|
|
31
|
-
require('classnames');
|
|
32
31
|
require('lodash/isObject');
|
|
33
32
|
require('lodash/isString');
|
|
34
33
|
require('lodash/isBoolean');
|
|
@@ -47,6 +46,7 @@ require('lodash/mapValues');
|
|
|
47
46
|
require('lodash/camelCase');
|
|
48
47
|
require('lodash/map');
|
|
49
48
|
require('lodash/isEmpty');
|
|
49
|
+
require('lodash/kebabCase');
|
|
50
50
|
require('uncontrollable');
|
|
51
51
|
require('hoist-non-react-statics');
|
|
52
52
|
require('../utils/validations.js');
|
package/lib/store/index.js
CHANGED
package/lib/store/list.js
CHANGED
package/lib/store/manager.js
CHANGED
package/lib/store/modal.js
CHANGED
package/lib/store/node.js
CHANGED
package/lib/store/pagination.js
CHANGED
package/lib/store/root.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* amis-core v3.4.
|
|
2
|
+
* amis-core v3.4.3
|
|
3
3
|
* Copyright 2018-2023 fex
|
|
4
4
|
*/
|
|
5
5
|
|
|
@@ -24,7 +24,6 @@ require('../utils/debug.js');
|
|
|
24
24
|
require('../utils/dom.js');
|
|
25
25
|
require('../utils/errors.js');
|
|
26
26
|
require('../utils/tpl.js');
|
|
27
|
-
require('classnames');
|
|
28
27
|
require('../utils/filter.js');
|
|
29
28
|
require('lodash/isObject');
|
|
30
29
|
require('lodash/isString');
|
|
@@ -45,6 +44,7 @@ require('lodash/mapValues');
|
|
|
45
44
|
require('lodash/camelCase');
|
|
46
45
|
require('lodash/map');
|
|
47
46
|
require('lodash/isEmpty');
|
|
47
|
+
require('lodash/kebabCase');
|
|
48
48
|
require('uncontrollable');
|
|
49
49
|
require('hoist-non-react-statics');
|
|
50
50
|
require('../utils/validations.js');
|
package/lib/store/service.js
CHANGED
package/lib/store/status.js
CHANGED