sccoreui 6.3.96 → 6.3.97

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.
@@ -28,7 +28,7 @@ const FormulaComponent = (props) => {
28
28
  ? props === null || props === void 0 ? void 0 : props.headerLabel
29
29
  : "Configure Value" })), (0, jsx_runtime_1.jsx)("span", { children: (props === null || props === void 0 ? void 0 : props.headerDescription)
30
30
  ? props === null || props === void 0 ? void 0 : props.headerDescription
31
- : "Select price attribute and perform calculater." })] })), (0, jsx_runtime_1.jsx)("div", Object.assign({ className: "" }, { children: (0, jsx_runtime_1.jsx)(svg_component_1.default, { icon: "help-circle", size: 16 }) }))] }))), (0, jsx_runtime_1.jsx)(Tagify_1.default, { formulaOperators: props.formulaOperators, fieldOptions: fieldOptions, formulaValue: props === null || props === void 0 ? void 0 : props.formulaValue, priceConditioRef: priceConditioRef, onChange: (e) => (props === null || props === void 0 ? void 0 : props.onChange) && (props === null || props === void 0 ? void 0 : props.onChange(e)) })] }), "formula__dev"));
31
+ : "Select price attribute and perform calculater." })] })), (0, jsx_runtime_1.jsx)("div", Object.assign({ className: "" }, { children: (0, jsx_runtime_1.jsx)(svg_component_1.default, { icon: "help-circle", size: 16 }) }))] }))), (0, jsx_runtime_1.jsx)(Tagify_1.default, { formulaOperators: props.formulaOperators, fieldOptions: fieldOptions, formulaValue: props === null || props === void 0 ? void 0 : props.formulaValue, priceConditioRef: priceConditioRef, onChange: (e) => (props === null || props === void 0 ? void 0 : props.onSaveFormula) && (props === null || props === void 0 ? void 0 : props.onSaveFormula(e)) })] }), "formula__dev"));
32
32
  },
33
33
  },
34
34
  ];
@@ -5,7 +5,8 @@ const jsx_runtime_1 = require("react/jsx-runtime");
5
5
  const react_1 = require("react");
6
6
  const FormulaCoponent_1 = tslib_1.__importDefault(require("../../components/formula-template/FormulaCoponent"));
7
7
  const FormulaTemplatePage = () => {
8
- const inputValue = `[[{"id": "660ab8748140c009b0af99a2","value": "Test1","code": "34sdf","price": 46}]] + 8 + [[{"id": "660abaee8140c009b0afa3ef","value": "Test2","code": "t34sdf","price": 4}]] + 86 + 7647`;
8
+ // const inputValue = `[[{"id": "660ab8748140c009b0af99a2","value": "Test1","code": "34sdf","price": 46}]] + 8 + [[{"id": "660abaee8140c009b0afa3ef","value": "Test2","code": "t34sdf","price": 4}]] + 86 + 7647`;
9
+ const inputValue = "";
9
10
  const [formulaValue, setFormulaValue] = (0, react_1.useState)(inputValue);
10
11
  const [conditionValue, setConditionValue] = (0, react_1.useState)(1);
11
12
  const options = [
@@ -41,6 +42,9 @@ const FormulaTemplatePage = () => {
41
42
  },
42
43
  ];
43
44
  const attributes = [
45
+ { id: "0", value: "MSRP", code: "msrp", price: 0 },
46
+ { id: "1", value: "MAP", code: "map", price: 0 },
47
+ { id: "2", value: "Cost price", code: "costprice", price: 0 },
44
48
  {
45
49
  id: "660ab8748140c009b0af99a2",
46
50
  value: "Test1",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sccoreui",
3
- "version": "6.3.96",
3
+ "version": "6.3.97",
4
4
  "description": "ui-sccore",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",