bm-admin-ui 1.1.21-alpha → 1.2.23-alpha
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.
|
@@ -672,6 +672,7 @@ const label$e = '数字输入框';
|
|
|
672
672
|
const fieldsMap$e = {
|
|
673
673
|
'title.title': 'title.title',
|
|
674
674
|
'props.placeholder': 'props.placeholder',
|
|
675
|
+
'props.precision': 'props.precision',
|
|
675
676
|
value: 'value',
|
|
676
677
|
'config.fieldRatio': 'config.fieldRatio',
|
|
677
678
|
'config.count': 'config.count',
|
|
@@ -780,6 +781,7 @@ var numInput = {
|
|
|
780
781
|
},
|
|
781
782
|
props: {
|
|
782
783
|
placeholder: rule.props.placeholder,
|
|
784
|
+
precision: rule.props.precision,
|
|
783
785
|
},
|
|
784
786
|
value: rule.value,
|
|
785
787
|
config: {
|
|
@@ -4153,8 +4155,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
4153
4155
|
delete cacheProps[targetRule.field];
|
|
4154
4156
|
if (targetRule.field === activeRule.value.field) {
|
|
4155
4157
|
const newIndex = Math.min(parentList.length - 1, index);
|
|
4156
|
-
|
|
4157
|
-
|
|
4158
|
+
const next = parentList[newIndex];
|
|
4159
|
+
if (newIndex >= 0 && !next?.config?.immutable) {
|
|
4160
|
+
setActiveRule(next);
|
|
4158
4161
|
} else if (parentRule) {
|
|
4159
4162
|
setActiveRule(parentRule);
|
|
4160
4163
|
} else {
|
|
@@ -682,6 +682,7 @@ const label$e = '数字输入框';
|
|
|
682
682
|
const fieldsMap$e = {
|
|
683
683
|
'title.title': 'title.title',
|
|
684
684
|
'props.placeholder': 'props.placeholder',
|
|
685
|
+
'props.precision': 'props.precision',
|
|
685
686
|
value: 'value',
|
|
686
687
|
'config.fieldRatio': 'config.fieldRatio',
|
|
687
688
|
'config.count': 'config.count',
|
|
@@ -790,6 +791,7 @@ var numInput = {
|
|
|
790
791
|
},
|
|
791
792
|
props: {
|
|
792
793
|
placeholder: rule.props.placeholder,
|
|
794
|
+
precision: rule.props.precision,
|
|
793
795
|
},
|
|
794
796
|
value: rule.value,
|
|
795
797
|
config: {
|
|
@@ -4163,8 +4165,9 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
4163
4165
|
delete cacheProps[targetRule.field];
|
|
4164
4166
|
if (targetRule.field === activeRule.value.field) {
|
|
4165
4167
|
const newIndex = Math.min(parentList.length - 1, index);
|
|
4166
|
-
|
|
4167
|
-
|
|
4168
|
+
const next = parentList[newIndex];
|
|
4169
|
+
if (newIndex >= 0 && !next?.config?.immutable) {
|
|
4170
|
+
setActiveRule(next);
|
|
4168
4171
|
} else if (parentRule) {
|
|
4169
4172
|
setActiveRule(parentRule);
|
|
4170
4173
|
} else {
|