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/table.d.ts
CHANGED
|
@@ -12,7 +12,6 @@ export declare const Column: import("mobx-state-tree").IModelType<{
|
|
|
12
12
|
toggable: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
13
13
|
expandable: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
14
14
|
checkdisable: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
15
|
-
isPrimary: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
16
15
|
searchable: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IType<any, any, any>>;
|
|
17
16
|
enableSearch: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
18
17
|
sortable: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
@@ -28,6 +27,8 @@ export declare const Column: import("mobx-state-tree").IModelType<{
|
|
|
28
27
|
remark: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
29
28
|
className: import("mobx-state-tree").ITypeUnion<any, any, any>;
|
|
30
29
|
}, {
|
|
30
|
+
readonly isPrimary: boolean;
|
|
31
|
+
} & {
|
|
31
32
|
toggleToggle(min?: number): void;
|
|
32
33
|
setToggled(value: boolean): void;
|
|
33
34
|
setEnableSearch(value: boolean): void;
|
|
@@ -116,7 +117,6 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
116
117
|
toggable: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
117
118
|
expandable: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
118
119
|
checkdisable: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
119
|
-
isPrimary: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
120
120
|
searchable: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IType<any, any, any>>;
|
|
121
121
|
enableSearch: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
122
122
|
sortable: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
@@ -132,6 +132,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
132
132
|
remark: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
133
133
|
className: import("mobx-state-tree").ITypeUnion<any, any, any>;
|
|
134
134
|
}, {
|
|
135
|
+
readonly isPrimary: boolean;
|
|
136
|
+
} & {
|
|
135
137
|
toggleToggle(min?: number): void;
|
|
136
138
|
setToggled(value: boolean): void;
|
|
137
139
|
setEnableSearch(value: boolean): void;
|
|
@@ -298,7 +300,6 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
298
300
|
toggable: boolean;
|
|
299
301
|
expandable: boolean;
|
|
300
302
|
checkdisable: boolean;
|
|
301
|
-
isPrimary: boolean;
|
|
302
303
|
searchable: any;
|
|
303
304
|
enableSearch: boolean;
|
|
304
305
|
sortable: boolean;
|
|
@@ -314,6 +315,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
314
315
|
remark: any;
|
|
315
316
|
className: any;
|
|
316
317
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
318
|
+
readonly isPrimary: boolean;
|
|
319
|
+
} & {
|
|
317
320
|
toggleToggle(min?: number): void;
|
|
318
321
|
setToggled(value: boolean): void;
|
|
319
322
|
setEnableSearch(value: boolean): void;
|
|
@@ -331,7 +334,6 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
331
334
|
toggable: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
332
335
|
expandable: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
333
336
|
checkdisable: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
334
|
-
isPrimary: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
335
337
|
searchable: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IType<any, any, any>>;
|
|
336
338
|
enableSearch: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
337
339
|
sortable: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
@@ -347,6 +349,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
347
349
|
remark: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
348
350
|
className: import("mobx-state-tree").ITypeUnion<any, any, any>;
|
|
349
351
|
}, {
|
|
352
|
+
readonly isPrimary: boolean;
|
|
353
|
+
} & {
|
|
350
354
|
toggleToggle(min?: number): void;
|
|
351
355
|
setToggled(value: boolean): void;
|
|
352
356
|
setEnableSearch(value: boolean): void;
|
|
@@ -574,7 +578,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
574
578
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
575
579
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
576
580
|
closeDialog: (result?: any) => void;
|
|
577
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
581
|
+
changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
|
|
578
582
|
changeEmitedValue: (value: any) => void;
|
|
579
583
|
addSubFormItem: (item: {
|
|
580
584
|
id: string;
|
|
@@ -1032,7 +1036,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
1032
1036
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
1033
1037
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
1034
1038
|
closeDialog: (result?: any) => void;
|
|
1035
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
1039
|
+
changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
|
|
1036
1040
|
changeEmitedValue: (value: any) => void;
|
|
1037
1041
|
addSubFormItem: (item: {
|
|
1038
1042
|
id: string;
|
|
@@ -1494,7 +1498,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
1494
1498
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
1495
1499
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
1496
1500
|
closeDialog: (result?: any) => void;
|
|
1497
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
1501
|
+
changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
|
|
1498
1502
|
changeEmitedValue: (value: any) => void;
|
|
1499
1503
|
addSubFormItem: (item: {
|
|
1500
1504
|
id: string;
|
|
@@ -1952,7 +1956,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
1952
1956
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
1953
1957
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
1954
1958
|
closeDialog: (result?: any) => void;
|
|
1955
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
1959
|
+
changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
|
|
1956
1960
|
changeEmitedValue: (value: any) => void;
|
|
1957
1961
|
addSubFormItem: (item: {
|
|
1958
1962
|
id: string;
|
|
@@ -2419,7 +2423,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
2419
2423
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
2420
2424
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
2421
2425
|
closeDialog: (result?: any) => void;
|
|
2422
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
2426
|
+
changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
|
|
2423
2427
|
changeEmitedValue: (value: any) => void;
|
|
2424
2428
|
addSubFormItem: (item: {
|
|
2425
2429
|
id: string;
|
|
@@ -2877,7 +2881,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
2877
2881
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
2878
2882
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
2879
2883
|
closeDialog: (result?: any) => void;
|
|
2880
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
2884
|
+
changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
|
|
2881
2885
|
changeEmitedValue: (value: any) => void;
|
|
2882
2886
|
addSubFormItem: (item: {
|
|
2883
2887
|
id: string;
|
|
@@ -3339,7 +3343,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
3339
3343
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
3340
3344
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
3341
3345
|
closeDialog: (result?: any) => void;
|
|
3342
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
3346
|
+
changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
|
|
3343
3347
|
changeEmitedValue: (value: any) => void;
|
|
3344
3348
|
addSubFormItem: (item: {
|
|
3345
3349
|
id: string;
|
|
@@ -3797,7 +3801,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
3797
3801
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
3798
3802
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
3799
3803
|
closeDialog: (result?: any) => void;
|
|
3800
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
3804
|
+
changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
|
|
3801
3805
|
changeEmitedValue: (value: any) => void;
|
|
3802
3806
|
addSubFormItem: (item: {
|
|
3803
3807
|
id: string;
|
|
@@ -4259,7 +4263,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
4259
4263
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
4260
4264
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
4261
4265
|
closeDialog: (result?: any) => void;
|
|
4262
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
4266
|
+
changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
|
|
4263
4267
|
changeEmitedValue: (value: any) => void;
|
|
4264
4268
|
addSubFormItem: (item: {
|
|
4265
4269
|
id: string;
|
|
@@ -4717,7 +4721,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
4717
4721
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
4718
4722
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
4719
4723
|
closeDialog: (result?: any) => void;
|
|
4720
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
4724
|
+
changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
|
|
4721
4725
|
changeEmitedValue: (value: any) => void;
|
|
4722
4726
|
addSubFormItem: (item: {
|
|
4723
4727
|
id: string;
|
|
@@ -5298,7 +5302,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
5298
5302
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
5299
5303
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
5300
5304
|
closeDialog: (result?: any) => void;
|
|
5301
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
5305
|
+
changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
|
|
5302
5306
|
changeEmitedValue: (value: any) => void;
|
|
5303
5307
|
addSubFormItem: (item: {
|
|
5304
5308
|
id: string;
|
|
@@ -5756,7 +5760,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
5756
5760
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
5757
5761
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
5758
5762
|
closeDialog: (result?: any) => void;
|
|
5759
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
5763
|
+
changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
|
|
5760
5764
|
changeEmitedValue: (value: any) => void;
|
|
5761
5765
|
addSubFormItem: (item: {
|
|
5762
5766
|
id: string;
|
|
@@ -6218,7 +6222,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
6218
6222
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
6219
6223
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
6220
6224
|
closeDialog: (result?: any) => void;
|
|
6221
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
6225
|
+
changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
|
|
6222
6226
|
changeEmitedValue: (value: any) => void;
|
|
6223
6227
|
addSubFormItem: (item: {
|
|
6224
6228
|
id: string;
|
|
@@ -6676,7 +6680,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
6676
6680
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
6677
6681
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
6678
6682
|
closeDialog: (result?: any) => void;
|
|
6679
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
6683
|
+
changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
|
|
6680
6684
|
changeEmitedValue: (value: any) => void;
|
|
6681
6685
|
addSubFormItem: (item: {
|
|
6682
6686
|
id: string;
|
|
@@ -7143,7 +7147,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
7143
7147
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
7144
7148
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
7145
7149
|
closeDialog: (result?: any) => void;
|
|
7146
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
7150
|
+
changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
|
|
7147
7151
|
changeEmitedValue: (value: any) => void;
|
|
7148
7152
|
addSubFormItem: (item: {
|
|
7149
7153
|
id: string;
|
|
@@ -7601,7 +7605,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
7601
7605
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
7602
7606
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
7603
7607
|
closeDialog: (result?: any) => void;
|
|
7604
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
7608
|
+
changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
|
|
7605
7609
|
changeEmitedValue: (value: any) => void;
|
|
7606
7610
|
addSubFormItem: (item: {
|
|
7607
7611
|
id: string;
|
|
@@ -8063,7 +8067,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
8063
8067
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
8064
8068
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
8065
8069
|
closeDialog: (result?: any) => void;
|
|
8066
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
8070
|
+
changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
|
|
8067
8071
|
changeEmitedValue: (value: any) => void;
|
|
8068
8072
|
addSubFormItem: (item: {
|
|
8069
8073
|
id: string;
|
|
@@ -8521,7 +8525,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
8521
8525
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
8522
8526
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
8523
8527
|
closeDialog: (result?: any) => void;
|
|
8524
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
8528
|
+
changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
|
|
8525
8529
|
changeEmitedValue: (value: any) => void;
|
|
8526
8530
|
addSubFormItem: (item: {
|
|
8527
8531
|
id: string;
|
|
@@ -8983,7 +8987,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
8983
8987
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
8984
8988
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
8985
8989
|
closeDialog: (result?: any) => void;
|
|
8986
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
8990
|
+
changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
|
|
8987
8991
|
changeEmitedValue: (value: any) => void;
|
|
8988
8992
|
addSubFormItem: (item: {
|
|
8989
8993
|
id: string;
|
|
@@ -9441,7 +9445,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
9441
9445
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
9442
9446
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
9443
9447
|
closeDialog: (result?: any) => void;
|
|
9444
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
9448
|
+
changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
|
|
9445
9449
|
changeEmitedValue: (value: any) => void;
|
|
9446
9450
|
addSubFormItem: (item: {
|
|
9447
9451
|
id: string;
|
|
@@ -9814,7 +9818,6 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
9814
9818
|
toggable: boolean;
|
|
9815
9819
|
expandable: boolean;
|
|
9816
9820
|
checkdisable: boolean;
|
|
9817
|
-
isPrimary: boolean;
|
|
9818
9821
|
searchable: any;
|
|
9819
9822
|
enableSearch: boolean;
|
|
9820
9823
|
sortable: boolean;
|
|
@@ -9830,6 +9833,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
9830
9833
|
remark: any;
|
|
9831
9834
|
className: any;
|
|
9832
9835
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
9836
|
+
readonly isPrimary: boolean;
|
|
9837
|
+
} & {
|
|
9833
9838
|
toggleToggle(min?: number): void;
|
|
9834
9839
|
setToggled(value: boolean): void;
|
|
9835
9840
|
setEnableSearch(value: boolean): void;
|
|
@@ -9847,7 +9852,6 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
9847
9852
|
toggable: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
9848
9853
|
expandable: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
9849
9854
|
checkdisable: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
9850
|
-
isPrimary: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
9851
9855
|
searchable: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IType<any, any, any>>;
|
|
9852
9856
|
enableSearch: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
9853
9857
|
sortable: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
@@ -9863,6 +9867,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
9863
9867
|
remark: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
9864
9868
|
className: import("mobx-state-tree").ITypeUnion<any, any, any>;
|
|
9865
9869
|
}, {
|
|
9870
|
+
readonly isPrimary: boolean;
|
|
9871
|
+
} & {
|
|
9866
9872
|
toggleToggle(min?: number): void;
|
|
9867
9873
|
setToggled(value: boolean): void;
|
|
9868
9874
|
setEnableSearch(value: boolean): void;
|
|
@@ -9881,7 +9887,6 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
9881
9887
|
toggable: boolean;
|
|
9882
9888
|
expandable: boolean;
|
|
9883
9889
|
checkdisable: boolean;
|
|
9884
|
-
isPrimary: boolean;
|
|
9885
9890
|
searchable: any;
|
|
9886
9891
|
enableSearch: boolean;
|
|
9887
9892
|
sortable: boolean;
|
|
@@ -9897,6 +9902,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
9897
9902
|
remark: any;
|
|
9898
9903
|
className: any;
|
|
9899
9904
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
9905
|
+
readonly isPrimary: boolean;
|
|
9906
|
+
} & {
|
|
9900
9907
|
toggleToggle(min?: number): void;
|
|
9901
9908
|
setToggled(value: boolean): void;
|
|
9902
9909
|
setEnableSearch(value: boolean): void;
|
|
@@ -9914,7 +9921,6 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
9914
9921
|
toggable: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
9915
9922
|
expandable: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
9916
9923
|
checkdisable: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
9917
|
-
isPrimary: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
9918
9924
|
searchable: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IType<any, any, any>>;
|
|
9919
9925
|
enableSearch: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
9920
9926
|
sortable: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
@@ -9930,6 +9936,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
9930
9936
|
remark: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
9931
9937
|
className: import("mobx-state-tree").ITypeUnion<any, any, any>;
|
|
9932
9938
|
}, {
|
|
9939
|
+
readonly isPrimary: boolean;
|
|
9940
|
+
} & {
|
|
9933
9941
|
toggleToggle(min?: number): void;
|
|
9934
9942
|
setToggled(value: boolean): void;
|
|
9935
9943
|
setEnableSearch(value: boolean): void;
|
|
@@ -9949,7 +9957,6 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
9949
9957
|
toggable: boolean;
|
|
9950
9958
|
expandable: boolean;
|
|
9951
9959
|
checkdisable: boolean;
|
|
9952
|
-
isPrimary: boolean;
|
|
9953
9960
|
searchable: any;
|
|
9954
9961
|
enableSearch: boolean;
|
|
9955
9962
|
sortable: boolean;
|
|
@@ -9965,6 +9972,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
9965
9972
|
remark: any;
|
|
9966
9973
|
className: any;
|
|
9967
9974
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
9975
|
+
readonly isPrimary: boolean;
|
|
9976
|
+
} & {
|
|
9968
9977
|
toggleToggle(min?: number): void;
|
|
9969
9978
|
setToggled(value: boolean): void;
|
|
9970
9979
|
setEnableSearch(value: boolean): void;
|
|
@@ -9982,7 +9991,6 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
9982
9991
|
toggable: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
9983
9992
|
expandable: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
9984
9993
|
checkdisable: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
9985
|
-
isPrimary: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
9986
9994
|
searchable: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IType<any, any, any>>;
|
|
9987
9995
|
enableSearch: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
9988
9996
|
sortable: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
@@ -9998,6 +10006,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
9998
10006
|
remark: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
9999
10007
|
className: import("mobx-state-tree").ITypeUnion<any, any, any>;
|
|
10000
10008
|
}, {
|
|
10009
|
+
readonly isPrimary: boolean;
|
|
10010
|
+
} & {
|
|
10001
10011
|
toggleToggle(min?: number): void;
|
|
10002
10012
|
setToggled(value: boolean): void;
|
|
10003
10013
|
setEnableSearch(value: boolean): void;
|
|
@@ -10016,7 +10026,6 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
10016
10026
|
toggable: boolean;
|
|
10017
10027
|
expandable: boolean;
|
|
10018
10028
|
checkdisable: boolean;
|
|
10019
|
-
isPrimary: boolean;
|
|
10020
10029
|
searchable: any;
|
|
10021
10030
|
enableSearch: boolean;
|
|
10022
10031
|
sortable: boolean;
|
|
@@ -10032,6 +10041,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
10032
10041
|
remark: any;
|
|
10033
10042
|
className: any;
|
|
10034
10043
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
10044
|
+
readonly isPrimary: boolean;
|
|
10045
|
+
} & {
|
|
10035
10046
|
toggleToggle(min?: number): void;
|
|
10036
10047
|
setToggled(value: boolean): void;
|
|
10037
10048
|
setEnableSearch(value: boolean): void;
|
|
@@ -10049,7 +10060,6 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
10049
10060
|
toggable: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
10050
10061
|
expandable: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
10051
10062
|
checkdisable: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
10052
|
-
isPrimary: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
10053
10063
|
searchable: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IType<any, any, any>>;
|
|
10054
10064
|
enableSearch: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
10055
10065
|
sortable: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
@@ -10065,6 +10075,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
10065
10075
|
remark: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
10066
10076
|
className: import("mobx-state-tree").ITypeUnion<any, any, any>;
|
|
10067
10077
|
}, {
|
|
10078
|
+
readonly isPrimary: boolean;
|
|
10079
|
+
} & {
|
|
10068
10080
|
toggleToggle(min?: number): void;
|
|
10069
10081
|
setToggled(value: boolean): void;
|
|
10070
10082
|
setEnableSearch(value: boolean): void;
|
|
@@ -10083,7 +10095,6 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
10083
10095
|
toggable: boolean;
|
|
10084
10096
|
expandable: boolean;
|
|
10085
10097
|
checkdisable: boolean;
|
|
10086
|
-
isPrimary: boolean;
|
|
10087
10098
|
searchable: any;
|
|
10088
10099
|
enableSearch: boolean;
|
|
10089
10100
|
sortable: boolean;
|
|
@@ -10099,6 +10110,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
10099
10110
|
remark: any;
|
|
10100
10111
|
className: any;
|
|
10101
10112
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
10113
|
+
readonly isPrimary: boolean;
|
|
10114
|
+
} & {
|
|
10102
10115
|
toggleToggle(min?: number): void;
|
|
10103
10116
|
setToggled(value: boolean): void;
|
|
10104
10117
|
setEnableSearch(value: boolean): void;
|
|
@@ -10116,7 +10129,6 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
10116
10129
|
toggable: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
10117
10130
|
expandable: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
10118
10131
|
checkdisable: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
10119
|
-
isPrimary: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
10120
10132
|
searchable: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IType<any, any, any>>;
|
|
10121
10133
|
enableSearch: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
10122
10134
|
sortable: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
@@ -10132,6 +10144,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
10132
10144
|
remark: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
10133
10145
|
className: import("mobx-state-tree").ITypeUnion<any, any, any>;
|
|
10134
10146
|
}, {
|
|
10147
|
+
readonly isPrimary: boolean;
|
|
10148
|
+
} & {
|
|
10135
10149
|
toggleToggle(min?: number): void;
|
|
10136
10150
|
setToggled(value: boolean): void;
|
|
10137
10151
|
setEnableSearch(value: boolean): void;
|
|
@@ -10150,7 +10164,6 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
10150
10164
|
toggable: boolean;
|
|
10151
10165
|
expandable: boolean;
|
|
10152
10166
|
checkdisable: boolean;
|
|
10153
|
-
isPrimary: boolean;
|
|
10154
10167
|
searchable: any;
|
|
10155
10168
|
enableSearch: boolean;
|
|
10156
10169
|
sortable: boolean;
|
|
@@ -10166,6 +10179,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
10166
10179
|
remark: any;
|
|
10167
10180
|
className: any;
|
|
10168
10181
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
10182
|
+
readonly isPrimary: boolean;
|
|
10183
|
+
} & {
|
|
10169
10184
|
toggleToggle(min?: number): void;
|
|
10170
10185
|
setToggled(value: boolean): void;
|
|
10171
10186
|
setEnableSearch(value: boolean): void;
|
|
@@ -10183,7 +10198,6 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
10183
10198
|
toggable: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
10184
10199
|
expandable: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
10185
10200
|
checkdisable: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
10186
|
-
isPrimary: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
10187
10201
|
searchable: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IType<any, any, any>>;
|
|
10188
10202
|
enableSearch: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
10189
10203
|
sortable: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
@@ -10199,6 +10213,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
10199
10213
|
remark: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
10200
10214
|
className: import("mobx-state-tree").ITypeUnion<any, any, any>;
|
|
10201
10215
|
}, {
|
|
10216
|
+
readonly isPrimary: boolean;
|
|
10217
|
+
} & {
|
|
10202
10218
|
toggleToggle(min?: number): void;
|
|
10203
10219
|
setToggled(value: boolean): void;
|
|
10204
10220
|
setEnableSearch(value: boolean): void;
|
|
@@ -10217,7 +10233,6 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
10217
10233
|
toggable: boolean;
|
|
10218
10234
|
expandable: boolean;
|
|
10219
10235
|
checkdisable: boolean;
|
|
10220
|
-
isPrimary: boolean;
|
|
10221
10236
|
searchable: any;
|
|
10222
10237
|
enableSearch: boolean;
|
|
10223
10238
|
sortable: boolean;
|
|
@@ -10233,6 +10248,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
10233
10248
|
remark: any;
|
|
10234
10249
|
className: any;
|
|
10235
10250
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
10251
|
+
readonly isPrimary: boolean;
|
|
10252
|
+
} & {
|
|
10236
10253
|
toggleToggle(min?: number): void;
|
|
10237
10254
|
setToggled(value: boolean): void;
|
|
10238
10255
|
setEnableSearch(value: boolean): void;
|
|
@@ -10250,7 +10267,6 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
10250
10267
|
toggable: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
10251
10268
|
expandable: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
10252
10269
|
checkdisable: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
10253
|
-
isPrimary: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
10254
10270
|
searchable: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IType<any, any, any>>;
|
|
10255
10271
|
enableSearch: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
10256
10272
|
sortable: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
@@ -10266,6 +10282,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
10266
10282
|
remark: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
10267
10283
|
className: import("mobx-state-tree").ITypeUnion<any, any, any>;
|
|
10268
10284
|
}, {
|
|
10285
|
+
readonly isPrimary: boolean;
|
|
10286
|
+
} & {
|
|
10269
10287
|
toggleToggle(min?: number): void;
|
|
10270
10288
|
setToggled(value: boolean): void;
|
|
10271
10289
|
setEnableSearch(value: boolean): void;
|
package/lib/store/table.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
|
|
|
@@ -47,7 +47,6 @@ var Column = mobxStateTree.types
|
|
|
47
47
|
toggable: true,
|
|
48
48
|
expandable: false,
|
|
49
49
|
checkdisable: false,
|
|
50
|
-
isPrimary: false,
|
|
51
50
|
searchable: mobxStateTree.types.maybe(mobxStateTree.types.frozen()),
|
|
52
51
|
enableSearch: true,
|
|
53
52
|
sortable: false,
|
|
@@ -63,6 +62,13 @@ var Column = mobxStateTree.types
|
|
|
63
62
|
remark: mobxStateTree.types.optional(mobxStateTree.types.frozen(), undefined),
|
|
64
63
|
className: mobxStateTree.types.union(mobxStateTree.types.string, mobxStateTree.types.frozen())
|
|
65
64
|
})
|
|
65
|
+
.views(function (self) { return ({
|
|
66
|
+
get isPrimary() {
|
|
67
|
+
var _a;
|
|
68
|
+
var table = mobxStateTree.getParent(self, 2);
|
|
69
|
+
return ((_a = table.filteredColumns[0]) === null || _a === void 0 ? void 0 : _a.id) === self.id;
|
|
70
|
+
}
|
|
71
|
+
}); })
|
|
66
72
|
.actions(function (self) { return ({
|
|
67
73
|
toggleToggle: function (min) {
|
|
68
74
|
if (min === void 0) { min = 1; }
|
|
@@ -764,9 +770,9 @@ var TableStore = iRenderer.iRendererStore
|
|
|
764
770
|
var originColumns_1 = self.columns.concat();
|
|
765
771
|
columns = columns.map(function (item, index) {
|
|
766
772
|
var origin = item.id
|
|
767
|
-
? originColumns_1.find(function (column) { return column.id === item.id; })
|
|
773
|
+
? originColumns_1.find(function (column) { return column.pristine.id === item.id; })
|
|
768
774
|
: originColumns_1[index];
|
|
769
|
-
return tslib.__assign(tslib.__assign({}, item), { id: helper.guid(), index: index, width: (origin === null || origin === void 0 ? void 0 : origin.width) || 0, minWidth: (origin === null || origin === void 0 ? void 0 : origin.minWidth) || 0, rawIndex: index - PARTITION_INDEX, type: item.type || 'plain', pristine: item.pristine || item, toggled: item.toggled !== false, breakpoint: item.breakpoint,
|
|
775
|
+
return tslib.__assign(tslib.__assign({}, item), { id: (origin === null || origin === void 0 ? void 0 : origin.id) || helper.guid(), index: index, width: (origin === null || origin === void 0 ? void 0 : origin.width) || 0, minWidth: (origin === null || origin === void 0 ? void 0 : origin.minWidth) || 0, realWidth: (origin === null || origin === void 0 ? void 0 : origin.realWidth) || 0, rawIndex: index - PARTITION_INDEX, type: item.type || 'plain', pristine: item.pristine || item, toggled: item.toggled !== false, breakpoint: item.breakpoint,
|
|
770
776
|
/** 提前映射变量,方便后续view中使用 */
|
|
771
777
|
label: isPureVariable.isPureVariable(item.label)
|
|
772
778
|
? resolveVariableAndFilter.resolveVariableAndFilter(item.label, self.data)
|
|
@@ -846,11 +852,11 @@ var TableStore = iRenderer.iRendererStore
|
|
|
846
852
|
if (!table) {
|
|
847
853
|
return;
|
|
848
854
|
}
|
|
849
|
-
var cols = [].slice.call(table.querySelectorAll(':scope>
|
|
855
|
+
var cols = [].slice.call(table.querySelectorAll(':scope>thead>tr>th[data-index]'));
|
|
850
856
|
cols.forEach(function (col) {
|
|
851
857
|
var index = parseInt(col.getAttribute('data-index'), 10);
|
|
852
858
|
var column = self.columns[index];
|
|
853
|
-
column.setRealWidth(col.
|
|
859
|
+
column.setRealWidth(col.offsetWidth);
|
|
854
860
|
});
|
|
855
861
|
}
|
|
856
862
|
function combineCell(arr, keys) {
|
package/lib/store/table2.d.ts
CHANGED
|
@@ -388,7 +388,7 @@ export declare const TableStore2: import("mobx-state-tree").IModelType<{
|
|
|
388
388
|
reset(): void;
|
|
389
389
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>) | null;
|
|
390
390
|
isSelected: (row: IRow2) => boolean;
|
|
391
|
-
getRowByIndex: (rowIndex: number, levels?: Array<
|
|
391
|
+
getRowByIndex: (rowIndex: number, levels?: Array<number>, rows?: Array<IRow2>) => IRow2;
|
|
392
392
|
readonly moved: number;
|
|
393
393
|
readonly movedRows: (import("mobx-state-tree").ModelCreationType<import("mobx-state-tree/dist/internal").ExtractCFromProps<{
|
|
394
394
|
storeType: import("mobx-state-tree").IType<string | undefined, string, string>;
|
package/lib/store/table2.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
|
|
|
@@ -204,12 +204,13 @@ var TableStore2 = service.ServiceStore.named('TableStore2')
|
|
|
204
204
|
unSelectedItems: getUnSelectedRows().map(function (item) { return item.data; })
|
|
205
205
|
});
|
|
206
206
|
}
|
|
207
|
-
function getRowByIndex(rowIndex, levels) {
|
|
207
|
+
function getRowByIndex(rowIndex, levels, rows) {
|
|
208
|
+
rows = rows || self.rows;
|
|
208
209
|
if (levels && levels.length > 0) {
|
|
209
210
|
var index = +(levels.shift() || 0);
|
|
210
|
-
return getRowByIndex(
|
|
211
|
+
return getRowByIndex(rowIndex, levels, rows[index].children);
|
|
211
212
|
}
|
|
212
|
-
return
|
|
213
|
+
return rows[rowIndex];
|
|
213
214
|
}
|
|
214
215
|
function isSelected(row) {
|
|
215
216
|
return !!~self.selectedRows.indexOf(row);
|
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