@pisell/materials 6.12.105 → 6.12.107

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.
Files changed (71) hide show
  1. package/build/lowcode/assets-daily.json +11 -11
  2. package/build/lowcode/assets-dev.json +2 -2
  3. package/build/lowcode/assets-prod.json +11 -11
  4. package/build/lowcode/meta.js +1 -1
  5. package/build/lowcode/render/default/view.css +1 -1
  6. package/build/lowcode/render/default/view.js +1 -1
  7. package/build/lowcode/view.css +1 -1
  8. package/build/lowcode/view.js +1 -1
  9. package/es/components/PisellCards/index.d.ts +1 -0
  10. package/es/components/PisellFields/index.d.ts +1 -0
  11. package/es/components/PisellLayouts/index.d.ts +1 -0
  12. package/es/components/PisellMetrics/index.d.ts +1 -0
  13. package/es/components/appVersionControl/types.d.ts +1 -0
  14. package/es/components/calendar/index.d.ts +1 -0
  15. package/es/components/checkbox/index.d.ts +1 -0
  16. package/es/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +1 -0
  17. package/es/components/dataSourceComponents/dataSourceTable/type.d.ts +1 -0
  18. package/es/components/dataSourceComponents/fields/Checkbox/WithMode.d.ts +1 -0
  19. package/es/components/dataSourceComponents/fields/Radio/WithMode.d.ts +1 -0
  20. package/es/components/dataSourceComponents/fields/Tabs/index.d.ts +1 -0
  21. package/es/components/dataSourceComponents/fields/Translation/type.d.ts +1 -0
  22. package/es/components/dataSourceComponents/provider/dataSource/DataSourceContext.d.ts +1 -0
  23. package/es/components/date-picker/index.d.ts +1 -0
  24. package/es/components/drag-sort-tree/types.d.ts +1 -0
  25. package/es/components/filter/components/FilterButton/types.d.ts +1 -0
  26. package/es/components/input/index.d.ts +1 -0
  27. package/es/components/pisell-config-provider/context.d.ts +1 -0
  28. package/es/components/pisellDatePicker/index.d.ts +1 -0
  29. package/es/components/pisellGridPro/ToolBar/type.d.ts +1 -0
  30. package/es/components/pisellMenu/types.d.ts +1 -0
  31. package/es/components/pisellQuickFilter/type.d.ts +1 -0
  32. package/es/components/productCard/cartSkuCard/variants/A12/index.js +3 -1
  33. package/es/components/productCard/cartSkuCard/variants/A12/index.less +11 -0
  34. package/es/components/radio/index.d.ts +1 -0
  35. package/es/components/section-footers/index.d.ts +1 -0
  36. package/es/components/skeleton/index.d.ts +1 -0
  37. package/es/components/time-picker/index.d.ts +1 -0
  38. package/es/components/upload/index.d.ts +1 -0
  39. package/es/components/virtual-keyboard/Amount/types.d.ts +1 -0
  40. package/lib/components/PisellCards/index.d.ts +1 -0
  41. package/lib/components/PisellFields/index.d.ts +1 -0
  42. package/lib/components/PisellLayouts/index.d.ts +1 -0
  43. package/lib/components/PisellMetrics/index.d.ts +1 -0
  44. package/lib/components/appVersionControl/types.d.ts +1 -0
  45. package/lib/components/calendar/index.d.ts +1 -0
  46. package/lib/components/checkbox/index.d.ts +1 -0
  47. package/lib/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +1 -0
  48. package/lib/components/dataSourceComponents/dataSourceTable/type.d.ts +1 -0
  49. package/lib/components/dataSourceComponents/fields/Checkbox/WithMode.d.ts +1 -0
  50. package/lib/components/dataSourceComponents/fields/Radio/WithMode.d.ts +1 -0
  51. package/lib/components/dataSourceComponents/fields/Tabs/index.d.ts +1 -0
  52. package/lib/components/dataSourceComponents/fields/Translation/type.d.ts +1 -0
  53. package/lib/components/dataSourceComponents/provider/dataSource/DataSourceContext.d.ts +1 -0
  54. package/lib/components/date-picker/index.d.ts +1 -0
  55. package/lib/components/drag-sort-tree/types.d.ts +1 -0
  56. package/lib/components/filter/components/FilterButton/types.d.ts +1 -0
  57. package/lib/components/input/index.d.ts +1 -0
  58. package/lib/components/pisell-config-provider/context.d.ts +1 -0
  59. package/lib/components/pisellDatePicker/index.d.ts +1 -0
  60. package/lib/components/pisellGridPro/ToolBar/type.d.ts +1 -0
  61. package/lib/components/pisellMenu/types.d.ts +1 -0
  62. package/lib/components/pisellQuickFilter/type.d.ts +1 -0
  63. package/lib/components/productCard/cartSkuCard/variants/A12/index.js +3 -1
  64. package/lib/components/productCard/cartSkuCard/variants/A12/index.less +11 -0
  65. package/lib/components/radio/index.d.ts +1 -0
  66. package/lib/components/section-footers/index.d.ts +1 -0
  67. package/lib/components/skeleton/index.d.ts +1 -0
  68. package/lib/components/time-picker/index.d.ts +1 -0
  69. package/lib/components/upload/index.d.ts +1 -0
  70. package/lib/components/virtual-keyboard/Amount/types.d.ts +1 -0
  71. package/package.json +1 -1
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { PisellBasicCardProps } from "./types.js";
2
3
  import { ImageDataSource, ImageFillMode, PisellImageCardProps } from "./components/PisellImageCard/types.js";
3
4
  import { GraphicConfig, GraphicTextCardProps, GraphicTextCardSize, GraphicTextCardVariant } from "./components/GraphicTextCard/types.js";
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { PisellSingleLineTextProps } from "../pisellSingleLineText/types.js";
2
3
  import { PisellLongTextProps } from "../pisellLongText/types.js";
3
4
  import { PisellNumberProps } from "../pisellNumber/types.js";
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { PisellBasicGridProps } from "../PisellBasicGrid/types.js";
2
3
  import { PisellScrollViewProps, PisellScrollViewRef } from "../PisellScrollView/types.js";
3
4
  import { FloorMapFullscreenMode, FloorMapItemBase, FloorMapLayoutContextValue, PisellFloorMapLayoutProps, PisellFloorMapLayoutRef } from "../pisellFloorMapLayout/types.js";
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { PisellMetricCardProps } from "../pisellMetricCard/types.js";
2
3
  import { PisellStatisticListProps } from "../pisellStatisticList/index.js";
3
4
  import { PisellStatisticProps } from "../cardMetricItem/index.js";
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  //#region src/components/appVersionControl/types.d.ts
2
3
  interface Version {
3
4
  id: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import * as _$react from "react";
2
3
 
3
4
  //#region src/components/calendar/index.d.ts
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import * as _$react from "react";
2
3
 
3
4
  //#region src/components/checkbox/index.d.ts
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import * as _$react from "react";
2
3
 
3
4
  //#region src/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { LocalSettingsType } from "../../table/types.js";
2
3
  import { DataSourceType } from "../provider/dataSource/DataSourceContext.js";
3
4
  import { ColumnType } from "antd/es/table";
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { CheckboxGroupProps } from "./type.js";
2
3
  import { WithModeProps } from "../../dataSourceForm/utils.js";
3
4
  import * as _$react from "react";
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { WithModeProps } from "../../dataSourceForm/utils.js";
2
3
  import { RadioGroupProps } from "./type.js";
3
4
  import * as _$react from "react";
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { WithFormItemProps, WithModeProps } from "../../dataSourceForm/utils.js";
2
3
  import { TabsProps } from "./type.js";
3
4
  import * as _$react from "react";
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ModeType } from "../../dataSourceForm/type.js";
2
3
 
3
4
  //#region src/components/dataSourceComponents/fields/Translation/type.d.ts
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ActionsItem } from "../../dataSourceForm/serve.js";
2
3
  import { Result } from "ahooks/es/useRequest/src/types";
3
4
 
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import * as _$react from "react";
2
3
 
3
4
  //#region src/components/date-picker/index.d.ts
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  //#region src/components/drag-sort-tree/types.d.ts
2
3
  type IdType = string | number;
3
4
  type ValueProps = {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { FilterItemProps } from "../../types.js";
2
3
 
3
4
  //#region src/components/filter/components/FilterButton/types.d.ts
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import * as _$react from "react";
2
3
  import { InputProps, InputRef } from "antd";
3
4
  import * as _$antd_es_input0 from "antd/es/input";
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import * as _$react from "react";
2
3
 
3
4
  //#region src/components/pisell-config-provider/context.d.ts
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import * as _$react from "react";
2
3
 
3
4
  //#region src/components/pisellDatePicker/index.d.ts
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  //#region src/components/pisellGridPro/ToolBar/type.d.ts
2
3
  interface ToolBarProps {
3
4
  className?: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { MenuProps } from "antd";
2
3
 
3
4
  //#region src/components/pisellMenu/types.d.ts
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { FilterItemProps } from "../filter/types.js";
2
3
  import { FormInstance } from "antd";
3
4
 
@@ -71,6 +71,7 @@ const A12 = ({ dataSource, isShowImage = true, isShowDelete = false, isShowOrigi
71
71
  const lineTotal = Number((_dataSource$total = dataSource === null || dataSource === void 0 ? void 0 : dataSource.total) !== null && _dataSource$total !== void 0 ? _dataSource$total : 0) * quantity - Number((dataSource === null || dataSource === void 0 ? void 0 : dataSource.totalDifference) || 0);
72
72
  const originalTotal = Number((_dataSource$origin_to = dataSource === null || dataSource === void 0 ? void 0 : dataSource.origin_total) !== null && _dataSource$origin_to !== void 0 ? _dataSource$origin_to : 0) * quantity;
73
73
  const symbol = dataSource === null || dataSource === void 0 ? void 0 : dataSource.symbol;
74
+ const amountFormatter = typeof (dataSource === null || dataSource === void 0 ? void 0 : dataSource.amountFormatter) === "function" ? dataSource.amountFormatter : void 0;
74
75
  const slotContext = useMemo(() => ({
75
76
  item: dataSource,
76
77
  disabled
@@ -83,7 +84,8 @@ const A12 = ({ dataSource, isShowImage = true, isShowDelete = false, isShowOrigi
83
84
  const specifications = (slots === null || slots === void 0 ? void 0 : slots.specifications) ? slots.specifications(_objectSpread2(_objectSpread2({}, slotContext), {}, { defaultSpecifications })) : defaultSpecifications;
84
85
  const contentFooter = slots === null || slots === void 0 || (_slots$contentFooter = slots.contentFooter) === null || _slots$contentFooter === void 0 ? void 0 : _slots$contentFooter.call(slots, slotContext);
85
86
  const status = slots === null || slots === void 0 || (_slots$status = slots.status) === null || _slots$status === void 0 ? void 0 : _slots$status.call(slots, slotContext);
86
- const defaultPrice = /* @__PURE__ */ React.createElement("div", { className: `${PREFIX}-a12__price` }, /* @__PURE__ */ React.createElement("strong", null, formatAmount(lineTotal, 2, symbol)), isShowOriginalPrice && originalTotal > 0 && originalTotal !== lineTotal ? /* @__PURE__ */ React.createElement("del", null, formatAmount(originalTotal, 2, symbol)) : null);
87
+ const renderAmount = (value) => amountFormatter ? amountFormatter(value, 2) : formatAmount(value, 2, symbol);
88
+ const defaultPrice = /* @__PURE__ */ React.createElement("div", { className: classNames(`${PREFIX}-a12__price`, { [`${PREFIX}-a12__price--formatted`]: Boolean(amountFormatter) }) }, /* @__PURE__ */ React.createElement("strong", null, renderAmount(lineTotal)), isShowOriginalPrice && originalTotal > 0 && originalTotal !== lineTotal ? /* @__PURE__ */ React.createElement("del", null, renderAmount(originalTotal)) : null);
87
89
  const defaultEdit = Boolean(isShowEditProduct && onEditProduct) ? /* @__PURE__ */ React.createElement("button", {
88
90
  type: "button",
89
91
  className: `${PREFIX}-a12__edit`,
@@ -248,6 +248,17 @@
248
248
  color: #667085;
249
249
  font-size: 13px;
250
250
  }
251
+
252
+ &--formatted {
253
+ text-align: center;
254
+
255
+ strong,
256
+ del {
257
+ max-width: 100%;
258
+ overflow-wrap: anywhere;
259
+ white-space: normal;
260
+ }
261
+ }
251
262
  }
252
263
 
253
264
  &__edit {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import * as _$react from "react";
2
3
 
3
4
  //#region src/components/radio/index.d.ts
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import * as _$react from "react";
2
3
 
3
4
  //#region src/components/section-footers/index.d.ts
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import * as _$react from "react";
2
3
 
3
4
  //#region src/components/skeleton/index.d.ts
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import * as _$react from "react";
2
3
 
3
4
  //#region src/components/time-picker/index.d.ts
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import * as _$react from "react";
2
3
 
3
4
  //#region src/components/upload/index.d.ts
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { BaseNumberKeyboardProps } from "../BaseNumberKeyboard/index.js";
2
3
 
3
4
  //#region src/components/virtual-keyboard/Amount/types.d.ts
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { PisellBasicCardProps } from "./types.js";
2
3
  import { ImageDataSource, ImageFillMode, PisellImageCardProps } from "./components/PisellImageCard/types.js";
3
4
  import { GraphicConfig, GraphicTextCardProps, GraphicTextCardSize, GraphicTextCardVariant } from "./components/GraphicTextCard/types.js";
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { PisellSingleLineTextProps } from "../pisellSingleLineText/types.js";
2
3
  import { PisellLongTextProps } from "../pisellLongText/types.js";
3
4
  import { PisellNumberProps } from "../pisellNumber/types.js";
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { PisellBasicGridProps } from "../PisellBasicGrid/types.js";
2
3
  import { PisellScrollViewProps, PisellScrollViewRef } from "../PisellScrollView/types.js";
3
4
  import { FloorMapFullscreenMode, FloorMapItemBase, FloorMapLayoutContextValue, PisellFloorMapLayoutProps, PisellFloorMapLayoutRef } from "../pisellFloorMapLayout/types.js";
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { PisellMetricCardProps } from "../pisellMetricCard/types.js";
2
3
  import { PisellStatisticListProps } from "../pisellStatisticList/index.js";
3
4
  import { PisellStatisticProps } from "../cardMetricItem/index.js";
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  //#region src/components/appVersionControl/types.d.ts
2
3
  interface Version {
3
4
  id: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import * as _$react from "react";
2
3
 
3
4
  //#region src/components/calendar/index.d.ts
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import * as _$react from "react";
2
3
 
3
4
  //#region src/components/checkbox/index.d.ts
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import * as _$react from "react";
2
3
 
3
4
  //#region src/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { LocalSettingsType } from "../../table/types.js";
2
3
  import { DataSourceType } from "../provider/dataSource/DataSourceContext.js";
3
4
  import { ColumnType } from "antd/es/table";
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { CheckboxGroupProps } from "./type.js";
2
3
  import { WithModeProps } from "../../dataSourceForm/utils.js";
3
4
  import * as _$react from "react";
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { WithModeProps } from "../../dataSourceForm/utils.js";
2
3
  import { RadioGroupProps } from "./type.js";
3
4
  import * as _$react from "react";
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { WithFormItemProps, WithModeProps } from "../../dataSourceForm/utils.js";
2
3
  import { TabsProps } from "./type.js";
3
4
  import * as _$react from "react";
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ModeType } from "../../dataSourceForm/type.js";
2
3
 
3
4
  //#region src/components/dataSourceComponents/fields/Translation/type.d.ts
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ActionsItem } from "../../dataSourceForm/serve.js";
2
3
  import { Result } from "ahooks/es/useRequest/src/types";
3
4
 
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import * as _$react from "react";
2
3
 
3
4
  //#region src/components/date-picker/index.d.ts
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  //#region src/components/drag-sort-tree/types.d.ts
2
3
  type IdType = string | number;
3
4
  type ValueProps = {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { FilterItemProps } from "../../types.js";
2
3
 
3
4
  //#region src/components/filter/components/FilterButton/types.d.ts
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import * as _$react from "react";
2
3
  import { InputProps, InputRef } from "antd";
3
4
  import * as _$antd_es_input0 from "antd/es/input";
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import * as _$react from "react";
2
3
 
3
4
  //#region src/components/pisell-config-provider/context.d.ts
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import * as _$react from "react";
2
3
 
3
4
  //#region src/components/pisellDatePicker/index.d.ts
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  //#region src/components/pisellGridPro/ToolBar/type.d.ts
2
3
  interface ToolBarProps {
3
4
  className?: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { MenuProps } from "antd";
2
3
 
3
4
  //#region src/components/pisellMenu/types.d.ts
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { FilterItemProps } from "../filter/types.js";
2
3
  import { FormInstance } from "antd";
3
4
 
@@ -74,6 +74,7 @@ const A12 = ({ dataSource, isShowImage = true, isShowDelete = false, isShowOrigi
74
74
  const lineTotal = Number((_dataSource$total = dataSource === null || dataSource === void 0 ? void 0 : dataSource.total) !== null && _dataSource$total !== void 0 ? _dataSource$total : 0) * quantity - Number((dataSource === null || dataSource === void 0 ? void 0 : dataSource.totalDifference) || 0);
75
75
  const originalTotal = Number((_dataSource$origin_to = dataSource === null || dataSource === void 0 ? void 0 : dataSource.origin_total) !== null && _dataSource$origin_to !== void 0 ? _dataSource$origin_to : 0) * quantity;
76
76
  const symbol = dataSource === null || dataSource === void 0 ? void 0 : dataSource.symbol;
77
+ const amountFormatter = typeof (dataSource === null || dataSource === void 0 ? void 0 : dataSource.amountFormatter) === "function" ? dataSource.amountFormatter : void 0;
77
78
  const slotContext = (0, react.useMemo)(() => ({
78
79
  item: dataSource,
79
80
  disabled
@@ -86,7 +87,8 @@ const A12 = ({ dataSource, isShowImage = true, isShowDelete = false, isShowOrigi
86
87
  const specifications = (slots === null || slots === void 0 ? void 0 : slots.specifications) ? slots.specifications(require_objectSpread2._objectSpread2(require_objectSpread2._objectSpread2({}, slotContext), {}, { defaultSpecifications })) : defaultSpecifications;
87
88
  const contentFooter = slots === null || slots === void 0 || (_slots$contentFooter = slots.contentFooter) === null || _slots$contentFooter === void 0 ? void 0 : _slots$contentFooter.call(slots, slotContext);
88
89
  const status = slots === null || slots === void 0 || (_slots$status = slots.status) === null || _slots$status === void 0 ? void 0 : _slots$status.call(slots, slotContext);
89
- const defaultPrice = /* @__PURE__ */ react.default.createElement("div", { className: `${require_index$2.PREFIX}-a12__price` }, /* @__PURE__ */ react.default.createElement("strong", null, (0, _pisell_utils.formatAmount)(lineTotal, 2, symbol)), isShowOriginalPrice && originalTotal > 0 && originalTotal !== lineTotal ? /* @__PURE__ */ react.default.createElement("del", null, (0, _pisell_utils.formatAmount)(originalTotal, 2, symbol)) : null);
90
+ const renderAmount = (value) => amountFormatter ? amountFormatter(value, 2) : (0, _pisell_utils.formatAmount)(value, 2, symbol);
91
+ const defaultPrice = /* @__PURE__ */ react.default.createElement("div", { className: (0, classnames.default)(`${require_index$2.PREFIX}-a12__price`, { [`${require_index$2.PREFIX}-a12__price--formatted`]: Boolean(amountFormatter) }) }, /* @__PURE__ */ react.default.createElement("strong", null, renderAmount(lineTotal)), isShowOriginalPrice && originalTotal > 0 && originalTotal !== lineTotal ? /* @__PURE__ */ react.default.createElement("del", null, renderAmount(originalTotal)) : null);
90
92
  const defaultEdit = Boolean(isShowEditProduct && onEditProduct) ? /* @__PURE__ */ react.default.createElement("button", {
91
93
  type: "button",
92
94
  className: `${require_index$2.PREFIX}-a12__edit`,
@@ -248,6 +248,17 @@
248
248
  color: #667085;
249
249
  font-size: 13px;
250
250
  }
251
+
252
+ &--formatted {
253
+ text-align: center;
254
+
255
+ strong,
256
+ del {
257
+ max-width: 100%;
258
+ overflow-wrap: anywhere;
259
+ white-space: normal;
260
+ }
261
+ }
251
262
  }
252
263
 
253
264
  &__edit {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import * as _$react from "react";
2
3
 
3
4
  //#region src/components/radio/index.d.ts
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import * as _$react from "react";
2
3
 
3
4
  //#region src/components/section-footers/index.d.ts
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import * as _$react from "react";
2
3
 
3
4
  //#region src/components/skeleton/index.d.ts
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import * as _$react from "react";
2
3
 
3
4
  //#region src/components/time-picker/index.d.ts
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import * as _$react from "react";
2
3
 
3
4
  //#region src/components/upload/index.d.ts
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { BaseNumberKeyboardProps } from "../BaseNumberKeyboard/index.js";
2
3
 
3
4
  //#region src/components/virtual-keyboard/Amount/types.d.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pisell/materials",
3
- "version": "6.12.105",
3
+ "version": "6.12.107",
4
4
  "main": "./lib/index.js",
5
5
  "module": "./es/index.js",
6
6
  "types": "./lib/index.d.ts",