@vizzly/dashboard 0.14.4-dev-78fb4397022e1606f7c0da5d46b2127876d1554d → 0.14.4-dev-d473758fee30bb90a645bebc2b12058901ef984c

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.
@@ -66706,6 +66706,9 @@ var MathModal = function MathModal(props) {
66706
66706
  removeConditional: true,
66707
66707
  removeCustomBuildMetric: true
66708
66708
  };
66709
+ var aggregateMathsFieldOptions = _extends({}, numberFieldsOptions, {
66710
+ onlyFieldTypes: ['number', 'string']
66711
+ });
66709
66712
  var numberFields = filterFields(props.dataSet.fields, numberFieldsOptions);
66710
66713
  var options = getMathRadioButtonOptions(props.componentType);
66711
66714
  var getValue = function getValue(fieldValue) {
@@ -66846,7 +66849,7 @@ var MathModal = function MathModal(props) {
66846
66849
  measure: left && isFlatField(left) ? [left] : left != null && left.left ? [left == null ? void 0 : left.left] : []
66847
66850
  },
66848
66851
  dataSet: props.dataSet,
66849
- fieldFilterOptions: numberFieldsOptions
66852
+ fieldFilterOptions: aggregateMathsFieldOptions
66850
66853
  }, "" + left)
66851
66854
  }), left && !!isNestedField(left) && jsxRuntime.jsxs(React.Fragment, {
66852
66855
  children: [jsxRuntime.jsx(View, {
@@ -66884,7 +66887,7 @@ var MathModal = function MathModal(props) {
66884
66887
  measure: left != null && left.right ? [left == null ? void 0 : left.right] : []
66885
66888
  },
66886
66889
  dataSet: props.dataSet,
66887
- fieldFilterOptions: numberFieldsOptions
66890
+ fieldFilterOptions: aggregateMathsFieldOptions
66888
66891
  })
66889
66892
  })]
66890
66893
  }), jsxRuntime.jsx(View, {
@@ -66938,7 +66941,7 @@ var MathModal = function MathModal(props) {
66938
66941
  measure: right && isFlatField(right) ? [right] : right != null && right.left ? [right == null ? void 0 : right.left] : []
66939
66942
  },
66940
66943
  dataSet: props.dataSet,
66941
- fieldFilterOptions: numberFieldsOptions
66944
+ fieldFilterOptions: aggregateMathsFieldOptions
66942
66945
  }, "" + right)
66943
66946
  }), right && isNestedField(right) && jsxRuntime.jsxs(React.Fragment, {
66944
66947
  children: [jsxRuntime.jsx(View, {
@@ -66977,7 +66980,7 @@ var MathModal = function MathModal(props) {
66977
66980
  measure: right.right ? [right.right] : []
66978
66981
  },
66979
66982
  dataSet: props.dataSet,
66980
- fieldFilterOptions: numberFieldsOptions
66983
+ fieldFilterOptions: aggregateMathsFieldOptions
66981
66984
  })
66982
66985
  })]
66983
66986
  }), jsxRuntime.jsx(View, {