amis-core 6.0.0 → 6.2.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 +2 -2
- package/esm/RootRenderer.js +4 -3
- package/esm/SchemaRenderer.js +5 -2
- package/esm/Scoped.d.ts +6 -0
- package/esm/Scoped.js +47 -8
- package/esm/StatusScoped.js +2 -2
- package/esm/WithRootStore.js +2 -2
- package/esm/WithStore.js +4 -6
- package/esm/actions/Action.js +2 -2
- package/esm/actions/AjaxAction.js +2 -2
- package/esm/actions/BreakAction.js +2 -2
- package/esm/actions/BroadcastAction.js +2 -2
- package/esm/actions/CmptAction.js +2 -2
- package/esm/actions/ContinueAction.js +2 -2
- package/esm/actions/CopyAction.js +2 -2
- package/esm/actions/CustomAction.js +3 -3
- package/esm/actions/DialogAction.js +2 -2
- package/esm/actions/DrawerAction.js +2 -2
- package/esm/actions/EmailAction.js +2 -2
- package/esm/actions/LinkAction.js +10 -5
- package/esm/actions/LoopAction.js +2 -2
- package/esm/actions/PageAction.js +2 -2
- package/esm/actions/ParallelAction.js +2 -2
- package/esm/actions/PrintAction.d.ts +19 -0
- package/esm/actions/PrintAction.js +49 -0
- package/esm/actions/StatusAction.js +2 -2
- package/esm/actions/SwitchAction.js +2 -2
- package/esm/actions/ToastAction.js +2 -2
- package/esm/actions/index.d.ts +1 -0
- package/esm/components/CustomStyle.d.ts +1 -2
- package/esm/components/CustomStyle.js +20 -7
- package/esm/components/ErrorBoundary.js +2 -2
- package/esm/components/LazyComponent.js +2 -2
- package/esm/components/Overlay.js +11 -9
- package/esm/components/PopOver.js +7 -5
- package/esm/env.d.ts +4 -0
- package/esm/env.js +2 -2
- package/esm/envOverwrite.js +2 -2
- package/esm/factory.js +15 -2
- package/esm/index.d.ts +3 -2
- package/esm/index.js +16 -9
- package/esm/locale.js +2 -2
- package/esm/polyfills.js +2 -2
- package/esm/renderers/Form.d.ts +4 -3
- package/esm/renderers/Form.js +97 -45
- package/esm/renderers/Item.d.ts +1 -0
- package/esm/renderers/Item.js +15 -16
- package/esm/renderers/Options.d.ts +5 -0
- package/esm/renderers/Options.js +27 -10
- package/esm/renderers/Placeholder.js +2 -2
- package/esm/renderers/builtin.js +2 -2
- package/esm/renderers/register.js +2 -2
- package/esm/renderers/wrapControl.js +37 -29
- package/esm/store/app.js +3 -3
- package/esm/store/combo.d.ts +48 -24
- package/esm/store/combo.js +2 -2
- package/esm/store/crud.js +2 -2
- package/esm/store/form.d.ts +20 -10
- package/esm/store/form.js +2 -2
- package/esm/store/formItem.d.ts +2 -1
- package/esm/store/formItem.js +4 -3
- package/esm/store/iRenderer.js +5 -3
- package/esm/store/index.js +2 -2
- package/esm/store/list.d.ts +11 -0
- package/esm/store/list.js +9 -2
- package/esm/store/manager.js +2 -2
- package/esm/store/modal.js +2 -2
- package/esm/store/node.js +2 -2
- package/esm/store/pagination.js +2 -2
- package/esm/store/root.js +3 -3
- package/esm/store/service.js +6 -3
- package/esm/store/status.js +2 -2
- package/esm/store/table.d.ts +70 -47
- package/esm/store/table.js +40 -24
- package/esm/store/table2.js +2 -2
- package/esm/theme.js +2 -2
- package/esm/utils/Animation.js +2 -2
- package/esm/utils/ColorScale.js +2 -2
- package/esm/utils/DataSchema.js +2 -2
- package/esm/utils/DataScope.js +2 -2
- package/esm/utils/RootClose.js +2 -2
- package/esm/utils/SimpleMap.js +2 -2
- package/esm/utils/api.js +4 -3
- package/esm/utils/arraySlice.js +2 -2
- package/esm/utils/attachmentAdpator.js +4 -3
- package/esm/utils/autobind.js +2 -2
- package/esm/utils/browser.d.ts +1 -0
- package/esm/utils/browser.js +8 -3
- package/esm/utils/columnsSplit.js +2 -2
- package/esm/utils/concatData.js +2 -2
- package/esm/utils/dataMapping.js +2 -2
- package/esm/utils/date.js +2 -2
- package/esm/utils/debug.js +2 -2
- package/esm/utils/decodeEntity.js +2 -2
- package/esm/utils/dom.js +8 -3
- package/esm/utils/errors.js +2 -2
- package/esm/utils/escapeHtml.js +2 -2
- package/esm/utils/filter-schema.js +2 -2
- package/esm/utils/filter.js +2 -2
- package/esm/utils/formatDuration.js +2 -2
- package/esm/utils/formula.js +2 -2
- package/esm/utils/getVariable.js +2 -2
- package/esm/utils/grammar.js +2 -2
- package/esm/utils/handleAction.js +2 -2
- package/esm/utils/helper.d.ts +8 -1
- package/esm/utils/helper.js +28 -10
- package/esm/utils/highlight.js +4 -3
- package/esm/utils/icon.js +2 -2
- package/esm/utils/image.js +2 -2
- package/esm/utils/index.d.ts +1 -0
- package/esm/utils/isPureVariable.js +2 -2
- package/esm/utils/json-schema-2-amis-schema.js +2 -2
- package/esm/utils/keyToPath.js +2 -2
- package/esm/utils/labelToString.d.ts +1 -0
- package/esm/utils/labelToString.js +38 -0
- package/esm/utils/makeSorter.js +2 -2
- package/esm/utils/math.js +2 -2
- package/esm/utils/memoryParse.js +2 -2
- package/esm/utils/normalizeLink.js +2 -2
- package/esm/utils/normalizeOptions.js +2 -2
- package/esm/utils/object.js +2 -2
- package/esm/utils/offset.js +2 -2
- package/esm/utils/offsetParent.js +2 -2
- package/esm/utils/optionValueCompare.js +2 -2
- package/esm/utils/position.js +2 -2
- package/esm/utils/prettyBytes.js +2 -2
- package/esm/utils/printElement.d.ts +6 -0
- package/esm/utils/printElement.js +71 -0
- package/esm/utils/renderer-event.js +2 -2
- package/esm/utils/replaceText.js +10 -12
- package/esm/utils/resize-sensor.js +2 -2
- package/esm/utils/resolveCondition.js +2 -2
- package/esm/utils/resolveVariable.js +2 -2
- package/esm/utils/resolveVariableAndFilter.js +2 -2
- package/esm/utils/resolveVariableAndFilterForAsync.js +2 -2
- package/esm/utils/scrollPosition.js +2 -2
- package/esm/utils/string2regExp.d.ts +1 -1
- package/esm/utils/string2regExp.js +5 -4
- package/esm/utils/stripNumber.js +2 -2
- package/esm/utils/style-helper.d.ts +24 -5
- package/esm/utils/style-helper.js +47 -17
- package/esm/utils/style.js +2 -2
- package/esm/utils/toNumber.js +2 -2
- package/esm/utils/tokenize.d.ts +1 -0
- package/esm/utils/tokenize.js +11 -4
- package/esm/utils/tpl-builtin.js +2 -2
- package/esm/utils/tpl-lodash.js +2 -2
- package/esm/utils/tpl.js +7 -9
- package/esm/utils/uncontrollable.js +2 -2
- package/esm/utils/validateId.d.ts +16 -0
- package/esm/utils/validateId.js +154 -0
- package/esm/utils/validations.js +17 -9
- package/lib/Root.js +2 -2
- package/lib/RootRenderer.d.ts +1 -1
- package/lib/RootRenderer.js +4 -3
- package/lib/SchemaRenderer.js +5 -2
- package/lib/Scoped.d.ts +6 -0
- package/lib/Scoped.js +47 -7
- package/lib/StatusScoped.js +2 -2
- package/lib/WithRootStore.js +2 -2
- package/lib/WithStore.js +4 -6
- package/lib/actions/Action.js +2 -2
- package/lib/actions/AjaxAction.js +2 -2
- package/lib/actions/BreakAction.js +2 -2
- package/lib/actions/BroadcastAction.js +2 -2
- package/lib/actions/CmptAction.js +2 -2
- package/lib/actions/ContinueAction.js +2 -2
- package/lib/actions/CopyAction.js +2 -2
- package/lib/actions/CustomAction.js +3 -3
- package/lib/actions/DialogAction.js +2 -2
- package/lib/actions/DrawerAction.js +2 -2
- package/lib/actions/EmailAction.js +2 -2
- package/lib/actions/LinkAction.js +10 -5
- package/lib/actions/LoopAction.js +2 -2
- package/lib/actions/PageAction.js +2 -2
- package/lib/actions/ParallelAction.js +2 -2
- package/lib/actions/PrintAction.d.ts +19 -0
- package/lib/actions/PrintAction.js +53 -0
- package/lib/actions/StatusAction.js +2 -2
- package/lib/actions/SwitchAction.js +2 -2
- package/lib/actions/ToastAction.js +2 -2
- package/lib/actions/index.d.ts +1 -0
- package/lib/components/CustomStyle.d.ts +1 -2
- package/lib/components/CustomStyle.js +20 -7
- package/lib/components/ErrorBoundary.js +2 -2
- package/lib/components/LazyComponent.js +2 -2
- package/lib/components/Overlay.js +10 -8
- package/lib/components/PopOver.js +7 -5
- package/lib/env.d.ts +4 -0
- package/lib/env.js +2 -2
- package/lib/envOverwrite.js +2 -2
- package/lib/factory.js +15 -2
- package/lib/index.d.ts +3 -2
- package/lib/index.js +19 -5
- package/lib/locale.js +2 -2
- package/lib/polyfills.js +2 -2
- package/lib/renderers/Form.d.ts +4 -3
- package/lib/renderers/Form.js +96 -44
- package/lib/renderers/Item.d.ts +1 -0
- package/lib/renderers/Item.js +15 -16
- package/lib/renderers/Options.d.ts +5 -0
- package/lib/renderers/Options.js +27 -10
- package/lib/renderers/Placeholder.js +2 -2
- package/lib/renderers/builtin.js +2 -2
- package/lib/renderers/register.js +2 -2
- package/lib/renderers/wrapControl.js +36 -28
- package/lib/store/app.js +3 -3
- package/lib/store/combo.d.ts +72 -48
- package/lib/store/combo.js +2 -2
- package/lib/store/crud.js +2 -2
- package/lib/store/form.d.ts +30 -20
- package/lib/store/form.js +2 -2
- package/lib/store/formItem.d.ts +2 -1
- package/lib/store/formItem.js +4 -3
- package/lib/store/iRenderer.js +5 -3
- package/lib/store/index.js +2 -2
- package/lib/store/list.d.ts +11 -0
- package/lib/store/list.js +9 -2
- package/lib/store/manager.js +2 -2
- package/lib/store/modal.js +2 -2
- package/lib/store/node.js +2 -2
- package/lib/store/pagination.js +2 -2
- package/lib/store/root.js +3 -3
- package/lib/store/service.js +6 -3
- package/lib/store/status.js +2 -2
- package/lib/store/table.d.ts +90 -68
- package/lib/store/table.js +40 -24
- package/lib/store/table2.js +2 -2
- package/lib/theme.js +2 -2
- package/lib/utils/Animation.js +2 -2
- package/lib/utils/ColorScale.js +2 -2
- package/lib/utils/DataSchema.js +2 -2
- package/lib/utils/DataScope.js +2 -2
- package/lib/utils/RootClose.js +2 -2
- package/lib/utils/SimpleMap.js +2 -2
- package/lib/utils/api.js +4 -3
- package/lib/utils/arraySlice.js +2 -2
- package/lib/utils/attachmentAdpator.js +4 -3
- package/lib/utils/autobind.js +2 -2
- package/lib/utils/browser.d.ts +1 -0
- package/lib/utils/browser.js +8 -2
- package/lib/utils/columnsSplit.js +2 -2
- package/lib/utils/concatData.js +2 -2
- package/lib/utils/dataMapping.js +2 -2
- package/lib/utils/date.js +2 -2
- package/lib/utils/debug.js +2 -2
- package/lib/utils/decodeEntity.js +2 -2
- package/lib/utils/dom.js +8 -3
- package/lib/utils/errors.js +2 -2
- package/lib/utils/escapeHtml.js +2 -2
- package/lib/utils/filter-schema.js +2 -2
- package/lib/utils/filter.js +2 -2
- package/lib/utils/formatDuration.js +2 -2
- package/lib/utils/formula.js +2 -2
- package/lib/utils/getVariable.js +2 -2
- package/lib/utils/grammar.js +2 -2
- package/lib/utils/handleAction.js +2 -2
- package/lib/utils/helper.d.ts +8 -1
- package/lib/utils/helper.js +29 -8
- package/lib/utils/highlight.js +4 -3
- package/lib/utils/icon.js +2 -2
- package/lib/utils/image.js +2 -2
- package/lib/utils/index.d.ts +1 -0
- package/lib/utils/isPureVariable.js +2 -2
- package/lib/utils/json-schema-2-amis-schema.js +2 -2
- package/lib/utils/keyToPath.js +2 -2
- package/lib/utils/labelToString.d.ts +1 -0
- package/lib/utils/labelToString.js +46 -0
- package/lib/utils/makeSorter.js +2 -2
- package/lib/utils/math.js +2 -2
- package/lib/utils/memoryParse.js +2 -2
- package/lib/utils/normalizeLink.js +2 -2
- package/lib/utils/normalizeOptions.js +2 -2
- package/lib/utils/object.js +2 -2
- package/lib/utils/offset.js +2 -2
- package/lib/utils/offsetParent.js +2 -2
- package/lib/utils/optionValueCompare.js +2 -2
- package/lib/utils/position.js +2 -2
- package/lib/utils/prettyBytes.js +2 -2
- package/lib/utils/printElement.d.ts +6 -0
- package/lib/utils/printElement.js +75 -0
- package/lib/utils/renderer-event.js +2 -2
- package/lib/utils/replaceText.js +9 -15
- package/lib/utils/resize-sensor.js +2 -2
- package/lib/utils/resolveCondition.js +2 -2
- package/lib/utils/resolveVariable.js +2 -2
- package/lib/utils/resolveVariableAndFilter.js +2 -2
- package/lib/utils/resolveVariableAndFilterForAsync.js +2 -2
- package/lib/utils/scrollPosition.js +2 -2
- package/lib/utils/string2regExp.d.ts +1 -1
- package/lib/utils/string2regExp.js +5 -4
- package/lib/utils/stripNumber.js +2 -2
- package/lib/utils/style-helper.d.ts +24 -5
- package/lib/utils/style-helper.js +47 -17
- package/lib/utils/style.js +2 -2
- package/lib/utils/toNumber.js +2 -2
- package/lib/utils/tokenize.d.ts +1 -0
- package/lib/utils/tokenize.js +11 -3
- package/lib/utils/tpl-builtin.js +2 -2
- package/lib/utils/tpl-lodash.js +2 -2
- package/lib/utils/tpl.js +6 -8
- package/lib/utils/uncontrollable.js +2 -2
- package/lib/utils/validateId.d.ts +16 -0
- package/lib/utils/validateId.js +160 -0
- package/lib/utils/validations.js +17 -9
- package/package.json +4 -9
- package/LICENSE +0 -201
package/esm/store/combo.d.ts
CHANGED
|
@@ -96,7 +96,8 @@ export declare const UniqueGroup: import("mobx-state-tree").IModelType<{
|
|
|
96
96
|
} & {
|
|
97
97
|
focus: () => void;
|
|
98
98
|
blur: () => void;
|
|
99
|
-
config: ({ extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
99
|
+
config: ({ name, extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
100
|
+
name?: string | undefined;
|
|
100
101
|
extraName?: string | undefined;
|
|
101
102
|
required?: boolean | undefined;
|
|
102
103
|
unique?: boolean | undefined;
|
|
@@ -605,7 +606,8 @@ export declare const UniqueGroup: import("mobx-state-tree").IModelType<{
|
|
|
605
606
|
} & {
|
|
606
607
|
focus: () => void;
|
|
607
608
|
blur: () => void;
|
|
608
|
-
config: ({ extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
609
|
+
config: ({ name, extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
610
|
+
name?: string | undefined;
|
|
609
611
|
extraName?: string | undefined;
|
|
610
612
|
required?: boolean | undefined;
|
|
611
613
|
unique?: boolean | undefined;
|
|
@@ -1146,7 +1148,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
1146
1148
|
} & {
|
|
1147
1149
|
focus: () => void;
|
|
1148
1150
|
blur: () => void;
|
|
1149
|
-
config: ({ extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
1151
|
+
config: ({ name, extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
1152
|
+
name?: string | undefined;
|
|
1150
1153
|
extraName?: string | undefined;
|
|
1151
1154
|
required?: boolean | undefined;
|
|
1152
1155
|
unique?: boolean | undefined;
|
|
@@ -1655,7 +1658,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
1655
1658
|
} & {
|
|
1656
1659
|
focus: () => void;
|
|
1657
1660
|
blur: () => void;
|
|
1658
|
-
config: ({ extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
1661
|
+
config: ({ name, extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
1662
|
+
name?: string | undefined;
|
|
1659
1663
|
extraName?: string | undefined;
|
|
1660
1664
|
required?: boolean | undefined;
|
|
1661
1665
|
unique?: boolean | undefined;
|
|
@@ -2285,7 +2289,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
2285
2289
|
} & {
|
|
2286
2290
|
focus: () => void;
|
|
2287
2291
|
blur: () => void;
|
|
2288
|
-
config: ({ extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
2292
|
+
config: ({ name, extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
2293
|
+
name?: string | undefined;
|
|
2289
2294
|
extraName?: string | undefined;
|
|
2290
2295
|
required?: boolean | undefined;
|
|
2291
2296
|
unique?: boolean | undefined;
|
|
@@ -2794,7 +2799,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
2794
2799
|
} & {
|
|
2795
2800
|
focus: () => void;
|
|
2796
2801
|
blur: () => void;
|
|
2797
|
-
config: ({ extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
2802
|
+
config: ({ name, extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
2803
|
+
name?: string | undefined;
|
|
2798
2804
|
extraName?: string | undefined;
|
|
2799
2805
|
required?: boolean | undefined;
|
|
2800
2806
|
unique?: boolean | undefined;
|
|
@@ -3307,7 +3313,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
3307
3313
|
} & {
|
|
3308
3314
|
focus: () => void;
|
|
3309
3315
|
blur: () => void;
|
|
3310
|
-
config: ({ extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
3316
|
+
config: ({ name, extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
3317
|
+
name?: string | undefined;
|
|
3311
3318
|
extraName?: string | undefined;
|
|
3312
3319
|
required?: boolean | undefined;
|
|
3313
3320
|
unique?: boolean | undefined;
|
|
@@ -3816,7 +3823,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
3816
3823
|
} & {
|
|
3817
3824
|
focus: () => void;
|
|
3818
3825
|
blur: () => void;
|
|
3819
|
-
config: ({ extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
3826
|
+
config: ({ name, extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
3827
|
+
name?: string | undefined;
|
|
3820
3828
|
extraName?: string | undefined;
|
|
3821
3829
|
required?: boolean | undefined;
|
|
3822
3830
|
unique?: boolean | undefined;
|
|
@@ -4334,7 +4342,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
4334
4342
|
} & {
|
|
4335
4343
|
focus: () => void;
|
|
4336
4344
|
blur: () => void;
|
|
4337
|
-
config: ({ extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
4345
|
+
config: ({ name, extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
4346
|
+
name?: string | undefined;
|
|
4338
4347
|
extraName?: string | undefined;
|
|
4339
4348
|
required?: boolean | undefined;
|
|
4340
4349
|
unique?: boolean | undefined;
|
|
@@ -4843,7 +4852,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
4843
4852
|
} & {
|
|
4844
4853
|
focus: () => void;
|
|
4845
4854
|
blur: () => void;
|
|
4846
|
-
config: ({ extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
4855
|
+
config: ({ name, extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
4856
|
+
name?: string | undefined;
|
|
4847
4857
|
extraName?: string | undefined;
|
|
4848
4858
|
required?: boolean | undefined;
|
|
4849
4859
|
unique?: boolean | undefined;
|
|
@@ -5356,7 +5366,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
5356
5366
|
} & {
|
|
5357
5367
|
focus: () => void;
|
|
5358
5368
|
blur: () => void;
|
|
5359
|
-
config: ({ extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
5369
|
+
config: ({ name, extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
5370
|
+
name?: string | undefined;
|
|
5360
5371
|
extraName?: string | undefined;
|
|
5361
5372
|
required?: boolean | undefined;
|
|
5362
5373
|
unique?: boolean | undefined;
|
|
@@ -5865,7 +5876,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
5865
5876
|
} & {
|
|
5866
5877
|
focus: () => void;
|
|
5867
5878
|
blur: () => void;
|
|
5868
|
-
config: ({ extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
5879
|
+
config: ({ name, extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
5880
|
+
name?: string | undefined;
|
|
5869
5881
|
extraName?: string | undefined;
|
|
5870
5882
|
required?: boolean | undefined;
|
|
5871
5883
|
unique?: boolean | undefined;
|
|
@@ -6378,7 +6390,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
6378
6390
|
} & {
|
|
6379
6391
|
focus: () => void;
|
|
6380
6392
|
blur: () => void;
|
|
6381
|
-
config: ({ extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
6393
|
+
config: ({ name, extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
6394
|
+
name?: string | undefined;
|
|
6382
6395
|
extraName?: string | undefined;
|
|
6383
6396
|
required?: boolean | undefined;
|
|
6384
6397
|
unique?: boolean | undefined;
|
|
@@ -6887,7 +6900,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
6887
6900
|
} & {
|
|
6888
6901
|
focus: () => void;
|
|
6889
6902
|
blur: () => void;
|
|
6890
|
-
config: ({ extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
6903
|
+
config: ({ name, extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
6904
|
+
name?: string | undefined;
|
|
6891
6905
|
extraName?: string | undefined;
|
|
6892
6906
|
required?: boolean | undefined;
|
|
6893
6907
|
unique?: boolean | undefined;
|
|
@@ -7519,7 +7533,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
7519
7533
|
} & {
|
|
7520
7534
|
focus: () => void;
|
|
7521
7535
|
blur: () => void;
|
|
7522
|
-
config: ({ extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
7536
|
+
config: ({ name, extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
7537
|
+
name?: string | undefined;
|
|
7523
7538
|
extraName?: string | undefined;
|
|
7524
7539
|
required?: boolean | undefined;
|
|
7525
7540
|
unique?: boolean | undefined;
|
|
@@ -8028,7 +8043,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
8028
8043
|
} & {
|
|
8029
8044
|
focus: () => void;
|
|
8030
8045
|
blur: () => void;
|
|
8031
|
-
config: ({ extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
8046
|
+
config: ({ name, extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
8047
|
+
name?: string | undefined;
|
|
8032
8048
|
extraName?: string | undefined;
|
|
8033
8049
|
required?: boolean | undefined;
|
|
8034
8050
|
unique?: boolean | undefined;
|
|
@@ -8541,7 +8557,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
8541
8557
|
} & {
|
|
8542
8558
|
focus: () => void;
|
|
8543
8559
|
blur: () => void;
|
|
8544
|
-
config: ({ extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
8560
|
+
config: ({ name, extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
8561
|
+
name?: string | undefined;
|
|
8545
8562
|
extraName?: string | undefined;
|
|
8546
8563
|
required?: boolean | undefined;
|
|
8547
8564
|
unique?: boolean | undefined;
|
|
@@ -9050,7 +9067,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
9050
9067
|
} & {
|
|
9051
9068
|
focus: () => void;
|
|
9052
9069
|
blur: () => void;
|
|
9053
|
-
config: ({ extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
9070
|
+
config: ({ name, extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
9071
|
+
name?: string | undefined;
|
|
9054
9072
|
extraName?: string | undefined;
|
|
9055
9073
|
required?: boolean | undefined;
|
|
9056
9074
|
unique?: boolean | undefined;
|
|
@@ -9568,7 +9586,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
9568
9586
|
} & {
|
|
9569
9587
|
focus: () => void;
|
|
9570
9588
|
blur: () => void;
|
|
9571
|
-
config: ({ extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
9589
|
+
config: ({ name, extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
9590
|
+
name?: string | undefined;
|
|
9572
9591
|
extraName?: string | undefined;
|
|
9573
9592
|
required?: boolean | undefined;
|
|
9574
9593
|
unique?: boolean | undefined;
|
|
@@ -10077,7 +10096,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
10077
10096
|
} & {
|
|
10078
10097
|
focus: () => void;
|
|
10079
10098
|
blur: () => void;
|
|
10080
|
-
config: ({ extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
10099
|
+
config: ({ name, extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
10100
|
+
name?: string | undefined;
|
|
10081
10101
|
extraName?: string | undefined;
|
|
10082
10102
|
required?: boolean | undefined;
|
|
10083
10103
|
unique?: boolean | undefined;
|
|
@@ -10590,7 +10610,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
10590
10610
|
} & {
|
|
10591
10611
|
focus: () => void;
|
|
10592
10612
|
blur: () => void;
|
|
10593
|
-
config: ({ extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
10613
|
+
config: ({ name, extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
10614
|
+
name?: string | undefined;
|
|
10594
10615
|
extraName?: string | undefined;
|
|
10595
10616
|
required?: boolean | undefined;
|
|
10596
10617
|
unique?: boolean | undefined;
|
|
@@ -11099,7 +11120,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
11099
11120
|
} & {
|
|
11100
11121
|
focus: () => void;
|
|
11101
11122
|
blur: () => void;
|
|
11102
|
-
config: ({ extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
11123
|
+
config: ({ name, extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
11124
|
+
name?: string | undefined;
|
|
11103
11125
|
extraName?: string | undefined;
|
|
11104
11126
|
required?: boolean | undefined;
|
|
11105
11127
|
unique?: boolean | undefined;
|
|
@@ -11612,7 +11634,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
11612
11634
|
} & {
|
|
11613
11635
|
focus: () => void;
|
|
11614
11636
|
blur: () => void;
|
|
11615
|
-
config: ({ extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
11637
|
+
config: ({ name, extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
11638
|
+
name?: string | undefined;
|
|
11616
11639
|
extraName?: string | undefined;
|
|
11617
11640
|
required?: boolean | undefined;
|
|
11618
11641
|
unique?: boolean | undefined;
|
|
@@ -12121,7 +12144,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
12121
12144
|
} & {
|
|
12122
12145
|
focus: () => void;
|
|
12123
12146
|
blur: () => void;
|
|
12124
|
-
config: ({ extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
12147
|
+
config: ({ name, extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
12148
|
+
name?: string | undefined;
|
|
12125
12149
|
extraName?: string | undefined;
|
|
12126
12150
|
required?: boolean | undefined;
|
|
12127
12151
|
unique?: boolean | undefined;
|
package/esm/store/combo.js
CHANGED
package/esm/store/crud.js
CHANGED
package/esm/store/form.d.ts
CHANGED
|
@@ -174,7 +174,8 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
174
174
|
} & {
|
|
175
175
|
focus: () => void;
|
|
176
176
|
blur: () => void;
|
|
177
|
-
config: ({ extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
177
|
+
config: ({ name, extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
178
|
+
name?: string | undefined;
|
|
178
179
|
extraName?: string | undefined;
|
|
179
180
|
required?: boolean | undefined;
|
|
180
181
|
unique?: boolean | undefined;
|
|
@@ -683,7 +684,8 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
683
684
|
} & {
|
|
684
685
|
focus: () => void;
|
|
685
686
|
blur: () => void;
|
|
686
|
-
config: ({ extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
687
|
+
config: ({ name, extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
688
|
+
name?: string | undefined;
|
|
687
689
|
extraName?: string | undefined;
|
|
688
690
|
required?: boolean | undefined;
|
|
689
691
|
unique?: boolean | undefined;
|
|
@@ -1197,7 +1199,8 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
1197
1199
|
} & {
|
|
1198
1200
|
focus: () => void;
|
|
1199
1201
|
blur: () => void;
|
|
1200
|
-
config: ({ extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
1202
|
+
config: ({ name, extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
1203
|
+
name?: string | undefined;
|
|
1201
1204
|
extraName?: string | undefined;
|
|
1202
1205
|
required?: boolean | undefined;
|
|
1203
1206
|
unique?: boolean | undefined;
|
|
@@ -1706,7 +1709,8 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
1706
1709
|
} & {
|
|
1707
1710
|
focus: () => void;
|
|
1708
1711
|
blur: () => void;
|
|
1709
|
-
config: ({ extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
1712
|
+
config: ({ name, extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
1713
|
+
name?: string | undefined;
|
|
1710
1714
|
extraName?: string | undefined;
|
|
1711
1715
|
required?: boolean | undefined;
|
|
1712
1716
|
unique?: boolean | undefined;
|
|
@@ -2224,7 +2228,8 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
2224
2228
|
} & {
|
|
2225
2229
|
focus: () => void;
|
|
2226
2230
|
blur: () => void;
|
|
2227
|
-
config: ({ extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
2231
|
+
config: ({ name, extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
2232
|
+
name?: string | undefined;
|
|
2228
2233
|
extraName?: string | undefined;
|
|
2229
2234
|
required?: boolean | undefined;
|
|
2230
2235
|
unique?: boolean | undefined;
|
|
@@ -2733,7 +2738,8 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
2733
2738
|
} & {
|
|
2734
2739
|
focus: () => void;
|
|
2735
2740
|
blur: () => void;
|
|
2736
|
-
config: ({ extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
2741
|
+
config: ({ name, extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
2742
|
+
name?: string | undefined;
|
|
2737
2743
|
extraName?: string | undefined;
|
|
2738
2744
|
required?: boolean | undefined;
|
|
2739
2745
|
unique?: boolean | undefined;
|
|
@@ -3246,7 +3252,8 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
3246
3252
|
} & {
|
|
3247
3253
|
focus: () => void;
|
|
3248
3254
|
blur: () => void;
|
|
3249
|
-
config: ({ extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
3255
|
+
config: ({ name, extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
3256
|
+
name?: string | undefined;
|
|
3250
3257
|
extraName?: string | undefined;
|
|
3251
3258
|
required?: boolean | undefined;
|
|
3252
3259
|
unique?: boolean | undefined;
|
|
@@ -3755,7 +3762,8 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
3755
3762
|
} & {
|
|
3756
3763
|
focus: () => void;
|
|
3757
3764
|
blur: () => void;
|
|
3758
|
-
config: ({ extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
3765
|
+
config: ({ name, extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
3766
|
+
name?: string | undefined;
|
|
3759
3767
|
extraName?: string | undefined;
|
|
3760
3768
|
required?: boolean | undefined;
|
|
3761
3769
|
unique?: boolean | undefined;
|
|
@@ -4268,7 +4276,8 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
4268
4276
|
} & {
|
|
4269
4277
|
focus: () => void;
|
|
4270
4278
|
blur: () => void;
|
|
4271
|
-
config: ({ extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
4279
|
+
config: ({ name, extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
4280
|
+
name?: string | undefined;
|
|
4272
4281
|
extraName?: string | undefined;
|
|
4273
4282
|
required?: boolean | undefined;
|
|
4274
4283
|
unique?: boolean | undefined;
|
|
@@ -4777,7 +4786,8 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
|
|
|
4777
4786
|
} & {
|
|
4778
4787
|
focus: () => void;
|
|
4779
4788
|
blur: () => void;
|
|
4780
|
-
config: ({ extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
4789
|
+
config: ({ name, extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
4790
|
+
name?: string | undefined;
|
|
4781
4791
|
extraName?: string | undefined;
|
|
4782
4792
|
required?: boolean | undefined;
|
|
4783
4793
|
unique?: boolean | undefined;
|
package/esm/store/form.js
CHANGED
package/esm/store/formItem.d.ts
CHANGED
|
@@ -92,7 +92,8 @@ export declare const FormItemStore: import("mobx-state-tree").IModelType<{
|
|
|
92
92
|
} & {
|
|
93
93
|
focus: () => void;
|
|
94
94
|
blur: () => void;
|
|
95
|
-
config: ({ extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
95
|
+
config: ({ name, extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
96
|
+
name?: string | undefined;
|
|
96
97
|
extraName?: string | undefined;
|
|
97
98
|
required?: boolean | undefined;
|
|
98
99
|
unique?: boolean | undefined;
|
package/esm/store/formItem.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* amis-core v6.
|
|
3
|
-
* Copyright 2018-
|
|
2
|
+
* amis-core v6.2.0
|
|
3
|
+
* Copyright 2018-2024 fex
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import { __generator, __assign, __values, __spreadArray, __read } from 'tslib';
|
|
@@ -257,10 +257,11 @@ var FormItemStore = StoreNode.named('FormItemStore')
|
|
|
257
257
|
var dialogCallbacks = new SimpleMap();
|
|
258
258
|
var loadAutoUpdateCancel = null;
|
|
259
259
|
function config(_a) {
|
|
260
|
-
var extraName = _a.extraName, required = _a.required, unique = _a.unique; _a.value; var isValueSchemaExp = _a.isValueSchemaExp, rules = _a.rules, messages = _a.messages, delimiter = _a.delimiter, multiple = _a.multiple, valueField = _a.valueField, labelField = _a.labelField, joinValues = _a.joinValues, extractValue = _a.extractValue, type = _a.type, id = _a.id, selectFirst = _a.selectFirst, autoFill = _a.autoFill, clearValueOnHidden = _a.clearValueOnHidden, validateApi = _a.validateApi, maxLength = _a.maxLength, minLength = _a.minLength, validateOnChange = _a.validateOnChange, label = _a.label, inputGroupControl = _a.inputGroupControl, pagination = _a.pagination;
|
|
260
|
+
var name = _a.name, extraName = _a.extraName, required = _a.required, unique = _a.unique; _a.value; var isValueSchemaExp = _a.isValueSchemaExp, rules = _a.rules, messages = _a.messages, delimiter = _a.delimiter, multiple = _a.multiple, valueField = _a.valueField, labelField = _a.labelField, joinValues = _a.joinValues, extractValue = _a.extractValue, type = _a.type, id = _a.id, selectFirst = _a.selectFirst, autoFill = _a.autoFill, clearValueOnHidden = _a.clearValueOnHidden, validateApi = _a.validateApi, maxLength = _a.maxLength, minLength = _a.minLength, validateOnChange = _a.validateOnChange, label = _a.label, inputGroupControl = _a.inputGroupControl, pagination = _a.pagination;
|
|
261
261
|
if (typeof rules === 'string') {
|
|
262
262
|
rules = str2rules(rules);
|
|
263
263
|
}
|
|
264
|
+
typeof name !== 'undefined' && (self.name = name);
|
|
264
265
|
typeof extraName !== 'undefined' && (self.extraName = extraName);
|
|
265
266
|
typeof type !== 'undefined' && (self.type = type);
|
|
266
267
|
typeof id !== 'undefined' && (self.itemId = id);
|
package/esm/store/iRenderer.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* amis-core v6.
|
|
3
|
-
* Copyright 2018-
|
|
2
|
+
* amis-core v6.2.0
|
|
3
|
+
* Copyright 2018-2024 fex
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import { __assign } from 'tslib';
|
|
@@ -34,11 +34,11 @@ import '../utils/image.js';
|
|
|
34
34
|
import 'lodash/isEqual';
|
|
35
35
|
import '../actions/Action.js';
|
|
36
36
|
import 'lodash/debounce';
|
|
37
|
-
import 'lodash/cloneDeep';
|
|
38
37
|
import '../utils/resize-sensor.js';
|
|
39
38
|
import 'react-overlays/useRootClose';
|
|
40
39
|
import 'lodash/mapValues';
|
|
41
40
|
import 'lodash/camelCase';
|
|
41
|
+
import 'lodash/cloneDeep';
|
|
42
42
|
import 'lodash/map';
|
|
43
43
|
import 'lodash/isEmpty';
|
|
44
44
|
import 'lodash/kebabCase';
|
|
@@ -166,6 +166,8 @@ var iRendererStore = StoreNode.named('iRendererStore')
|
|
|
166
166
|
},
|
|
167
167
|
setCurrentAction: function (action) {
|
|
168
168
|
self.action = action;
|
|
169
|
+
self.dialogData = false;
|
|
170
|
+
self.drawerOpen = false;
|
|
169
171
|
},
|
|
170
172
|
openDialog: function (ctx, additonal, callback, scoped) {
|
|
171
173
|
var chain = extractObjectChain(ctx);
|
package/esm/store/index.js
CHANGED
package/esm/store/list.d.ts
CHANGED
|
@@ -16,6 +16,7 @@ export declare const Item: import("mobx-state-tree").IModelType<{
|
|
|
16
16
|
toggle(): void;
|
|
17
17
|
change(values: object, savePristine?: boolean): void;
|
|
18
18
|
reset(): void;
|
|
19
|
+
updateData({ children, ...rest }: any): void;
|
|
19
20
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
|
|
20
21
|
export type IItem = Instance<typeof Item>;
|
|
21
22
|
export type SItem = SnapshotIn<typeof Item>;
|
|
@@ -55,6 +56,7 @@ export declare const ListStore: import("mobx-state-tree").IModelType<{
|
|
|
55
56
|
toggle(): void;
|
|
56
57
|
change(values: object, savePristine?: boolean): void;
|
|
57
58
|
reset(): void;
|
|
59
|
+
updateData({ children, ...rest }: any): void;
|
|
58
60
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
59
61
|
selectedItems: import("mobx-state-tree").IArrayType<import("mobx-state-tree").IReferenceType<import("mobx-state-tree").IModelType<{
|
|
60
62
|
id: import("mobx-state-tree").ISimpleType<string>;
|
|
@@ -73,6 +75,7 @@ export declare const ListStore: import("mobx-state-tree").IModelType<{
|
|
|
73
75
|
toggle(): void;
|
|
74
76
|
change(values: object, savePristine?: boolean): void;
|
|
75
77
|
reset(): void;
|
|
78
|
+
updateData({ children, ...rest }: any): void;
|
|
76
79
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>>;
|
|
77
80
|
primaryField: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
78
81
|
orderBy: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
@@ -131,6 +134,7 @@ export declare const ListStore: import("mobx-state-tree").IModelType<{
|
|
|
131
134
|
toggle(): void;
|
|
132
135
|
change(values: object, savePristine?: boolean): void;
|
|
133
136
|
reset(): void;
|
|
137
|
+
updateData({ children, ...rest }: any): void;
|
|
134
138
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
135
139
|
id: import("mobx-state-tree").ISimpleType<string>;
|
|
136
140
|
pristine: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -148,6 +152,7 @@ export declare const ListStore: import("mobx-state-tree").IModelType<{
|
|
|
148
152
|
toggle(): void;
|
|
149
153
|
change(values: object, savePristine?: boolean): void;
|
|
150
154
|
reset(): void;
|
|
155
|
+
updateData({ children, ...rest }: any): void;
|
|
151
156
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>)[];
|
|
152
157
|
readonly unSelectedItems: ({
|
|
153
158
|
id: string;
|
|
@@ -166,6 +171,7 @@ export declare const ListStore: import("mobx-state-tree").IModelType<{
|
|
|
166
171
|
toggle(): void;
|
|
167
172
|
change(values: object, savePristine?: boolean): void;
|
|
168
173
|
reset(): void;
|
|
174
|
+
updateData({ children, ...rest }: any): void;
|
|
169
175
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
170
176
|
id: import("mobx-state-tree").ISimpleType<string>;
|
|
171
177
|
pristine: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -183,6 +189,7 @@ export declare const ListStore: import("mobx-state-tree").IModelType<{
|
|
|
183
189
|
toggle(): void;
|
|
184
190
|
change(values: object, savePristine?: boolean): void;
|
|
185
191
|
reset(): void;
|
|
192
|
+
updateData({ children, ...rest }: any): void;
|
|
186
193
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>)[];
|
|
187
194
|
isSelected: (item: IItem) => boolean;
|
|
188
195
|
readonly modified: number;
|
|
@@ -203,6 +210,7 @@ export declare const ListStore: import("mobx-state-tree").IModelType<{
|
|
|
203
210
|
toggle(): void;
|
|
204
211
|
change(values: object, savePristine?: boolean): void;
|
|
205
212
|
reset(): void;
|
|
213
|
+
updateData({ children, ...rest }: any): void;
|
|
206
214
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
207
215
|
id: import("mobx-state-tree").ISimpleType<string>;
|
|
208
216
|
pristine: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -220,6 +228,7 @@ export declare const ListStore: import("mobx-state-tree").IModelType<{
|
|
|
220
228
|
toggle(): void;
|
|
221
229
|
change(values: object, savePristine?: boolean): void;
|
|
222
230
|
reset(): void;
|
|
231
|
+
updateData({ children, ...rest }: any): void;
|
|
223
232
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>)[];
|
|
224
233
|
readonly moved: number;
|
|
225
234
|
readonly movedItems: ({
|
|
@@ -239,6 +248,7 @@ export declare const ListStore: import("mobx-state-tree").IModelType<{
|
|
|
239
248
|
toggle(): void;
|
|
240
249
|
change(values: object, savePristine?: boolean): void;
|
|
241
250
|
reset(): void;
|
|
251
|
+
updateData({ children, ...rest }: any): void;
|
|
242
252
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
243
253
|
id: import("mobx-state-tree").ISimpleType<string>;
|
|
244
254
|
pristine: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -256,6 +266,7 @@ export declare const ListStore: import("mobx-state-tree").IModelType<{
|
|
|
256
266
|
toggle(): void;
|
|
257
267
|
change(values: object, savePristine?: boolean): void;
|
|
258
268
|
reset(): void;
|
|
269
|
+
updateData({ children, ...rest }: any): void;
|
|
259
270
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>)[];
|
|
260
271
|
} & {
|
|
261
272
|
update: (config: Partial<SListStore>) => void;
|
package/esm/store/list.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* amis-core v6.
|
|
3
|
-
* Copyright 2018-
|
|
2
|
+
* amis-core v6.2.0
|
|
3
|
+
* Copyright 2018-2024 fex
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
+
import { __rest, __assign } from 'tslib';
|
|
6
7
|
import { types, getParent } from 'mobx-state-tree';
|
|
7
8
|
import { iRendererStore } from './iRenderer.js';
|
|
8
9
|
import isEqual from 'lodash/isEqual';
|
|
@@ -64,6 +65,12 @@ var Item = types
|
|
|
64
65
|
reset: function () {
|
|
65
66
|
self.newIndex = self.index;
|
|
66
67
|
self.data = self.pristine;
|
|
68
|
+
},
|
|
69
|
+
updateData: function (_a) {
|
|
70
|
+
_a.children; var rest = __rest(_a, ["children"]);
|
|
71
|
+
self.data = __assign(__assign({}, self.data), rest);
|
|
72
|
+
// if (Array.isArray(children)) {
|
|
73
|
+
// }
|
|
67
74
|
}
|
|
68
75
|
}); });
|
|
69
76
|
var ListStore = iRendererStore
|
package/esm/store/manager.js
CHANGED
package/esm/store/modal.js
CHANGED
package/esm/store/node.js
CHANGED
package/esm/store/pagination.js
CHANGED
package/esm/store/root.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* amis-core v6.
|
|
3
|
-
* Copyright 2018-
|
|
2
|
+
* amis-core v6.2.0
|
|
3
|
+
* Copyright 2018-2024 fex
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import { __assign } from 'tslib';
|
|
@@ -30,12 +30,12 @@ import '../utils/image.js';
|
|
|
30
30
|
import 'lodash/isEqual';
|
|
31
31
|
import '../actions/Action.js';
|
|
32
32
|
import 'lodash/debounce';
|
|
33
|
-
import 'lodash/cloneDeep';
|
|
34
33
|
import '../utils/resize-sensor.js';
|
|
35
34
|
import 'react-overlays/useRootClose';
|
|
36
35
|
import '../utils/SimpleMap.js';
|
|
37
36
|
import 'lodash/mapValues';
|
|
38
37
|
import 'lodash/camelCase';
|
|
38
|
+
import 'lodash/cloneDeep';
|
|
39
39
|
import 'lodash/map';
|
|
40
40
|
import 'lodash/isEmpty';
|
|
41
41
|
import 'lodash/kebabCase';
|