@fctc/sme-widget-ui 1.1.6 → 1.1.7

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/dist/index.js CHANGED
@@ -32728,7 +32728,7 @@ var FloatField = (props) => {
32728
32728
  isEditTable,
32729
32729
  onChange: handleOnchange
32730
32730
  } = props;
32731
- const { t: t3 } = useI18n();
32731
+ const { t: t3 } = useTranslation();
32732
32732
  if (!isForm && !isEditTable) {
32733
32733
  return /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("span", { children: formatFloatNumber(propValue ?? defaultValue) });
32734
32734
  }
@@ -32860,9 +32860,6 @@ var FloatField = (props) => {
32860
32860
  }
32861
32861
  );
32862
32862
  };
32863
- function useI18n() {
32864
- throw new Error("Function not implemented.");
32865
- }
32866
32863
 
32867
32864
  // src/widgets/basic/float-time-field/float-time.tsx
32868
32865
  var import_react56 = require("react");
package/dist/index.mjs CHANGED
@@ -32609,7 +32609,7 @@ var FloatField = (props) => {
32609
32609
  isEditTable,
32610
32610
  onChange: handleOnchange
32611
32611
  } = props;
32612
- const { t: t3 } = useI18n();
32612
+ const { t: t3 } = useTranslation();
32613
32613
  if (!isForm && !isEditTable) {
32614
32614
  return /* @__PURE__ */ jsx85("span", { children: formatFloatNumber(propValue ?? defaultValue) });
32615
32615
  }
@@ -32741,9 +32741,6 @@ var FloatField = (props) => {
32741
32741
  }
32742
32742
  );
32743
32743
  };
32744
- function useI18n() {
32745
- throw new Error("Function not implemented.");
32746
- }
32747
32744
 
32748
32745
  // src/widgets/basic/float-time-field/float-time.tsx
32749
32746
  import { useState as useState18 } from "react";
package/dist/widgets.js CHANGED
@@ -32373,7 +32373,7 @@ var FloatField = (props) => {
32373
32373
  isEditTable,
32374
32374
  onChange: handleOnchange
32375
32375
  } = props;
32376
- const { t: t3 } = useI18n();
32376
+ const { t: t3 } = useTranslation();
32377
32377
  if (!isForm && !isEditTable) {
32378
32378
  return /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("span", { children: formatFloatNumber(propValue ?? defaultValue) });
32379
32379
  }
@@ -32505,9 +32505,6 @@ var FloatField = (props) => {
32505
32505
  }
32506
32506
  );
32507
32507
  };
32508
- function useI18n() {
32509
- throw new Error("Function not implemented.");
32510
- }
32511
32508
 
32512
32509
  // src/widgets/basic/float-time-field/float-time.tsx
32513
32510
  var import_react56 = require("react");
package/dist/widgets.mjs CHANGED
@@ -32311,7 +32311,7 @@ var FloatField = (props) => {
32311
32311
  isEditTable,
32312
32312
  onChange: handleOnchange
32313
32313
  } = props;
32314
- const { t: t3 } = useI18n();
32314
+ const { t: t3 } = useTranslation();
32315
32315
  if (!isForm && !isEditTable) {
32316
32316
  return /* @__PURE__ */ jsx85("span", { children: formatFloatNumber(propValue ?? defaultValue) });
32317
32317
  }
@@ -32443,9 +32443,6 @@ var FloatField = (props) => {
32443
32443
  }
32444
32444
  );
32445
32445
  };
32446
- function useI18n() {
32447
- throw new Error("Function not implemented.");
32448
- }
32449
32446
 
32450
32447
  // src/widgets/basic/float-time-field/float-time.tsx
32451
32448
  import { useState as useState18 } from "react";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fctc/sme-widget-ui",
3
- "version": "1.1.6",
3
+ "version": "1.1.7",
4
4
  "main": "dist/index.cjs",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",