beca-ui 2.0.19-beta.53 → 2.0.19-beta.54

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/beca-ui.js CHANGED
@@ -96731,7 +96731,7 @@ function useWorkflow(a) {
96731
96731
  const ze = await SendWorkflowService.getInitialStatus(
96732
96732
  je
96733
96733
  );
96734
- console.log("initialStatus", ze), await SendWorkflowService.accept(
96734
+ await SendWorkflowService.accept(
96735
96735
  je,
96736
96736
  {
96737
96737
  sendWorkflowModels: ze.value,
@@ -99276,7 +99276,7 @@ const pageSize = 10, NotificationComponent = (a, s) => {
99276
99276
  let f = [];
99277
99277
  u && (f = JSON.parse(u)), f.push(d), localStorage.setItem("logNoti", JSON.stringify(f));
99278
99278
  }
99279
- }, Notification = forwardRef(NotificationComponent), APPLE_FONT = '-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"', INTER_FONT = '"Inter", sans-serif;', BVP_FONT = '"BeVietnamPro", sans-serif;', mobileWidth = 992, SYSTEM_COLORS = {
99279
+ }, Notification = forwardRef(NotificationComponent), APPLE_FONT = '-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"', INTER_FONT = '"Inter", sans-serif;', CALIBRI_FONT = '"Calibri", sans-serif;', mobileWidth = 992, SYSTEM_COLORS = {
99280
99280
  colorPrimary: "#2174cd",
99281
99281
  colorSuccess: "var(--success-color-5)",
99282
99282
  colorWarning: "var(--warning-color-5)",
@@ -99403,13 +99403,6 @@ const pageSize = 10, NotificationComponent = (a, s) => {
99403
99403
  controlItemBgActive: "var(--primary-color-1)",
99404
99404
  colorTextLabel: "var(--primary-text-color)",
99405
99405
  colorFillContent: "var(--color-fill-tertiary)"
99406
- },
99407
- // Only Office
99408
- Table: {
99409
- cellPaddingInline: 8,
99410
- cellPaddingBlock: 8,
99411
- borderColor: "var(--table-td-border-color)",
99412
- headerBg: "var(--table-bg)"
99413
99406
  }
99414
99407
  }
99415
99408
  }, EnglishIcon = "https://library.becawork.vn/api/PublicLibrary/ViewFile/gfregdblvwd7l9bqxedwh1sjg29xbmzer0olhsbydl782byvn1", VietnameseIcon = "https://library.becawork.vn/api/PublicLibrary/ViewFile/awi0eoxh8neoki78qvv0iecos64urednjjld61v9x9uxuzbya3", { Header: Header$2 } = Layout, TopMenu = (a, s) => {
@@ -99570,7 +99563,7 @@ const pageSize = 10, NotificationComponent = (a, s) => {
99570
99563
  ] });
99571
99564
  }, pt = () => {
99572
99565
  const an = {
99573
- fontFamily: te === "Office" ? "BeVietnamPro" : APPLE_FONT
99566
+ fontFamily: APPLE_FONT
99574
99567
  };
99575
99568
  try {
99576
99569
  let tn = an;
@@ -127422,7 +127415,7 @@ const FontSize = Extension.create({
127422
127415
  let g = !0;
127423
127416
  return p.nodesBetween(d, f, (y) => {
127424
127417
  !y.isText && !y.isTextblock && (g = !1);
127425
- }), g;
127418
+ }), console.log(g), g;
127426
127419
  },
127427
127420
  children: /* @__PURE__ */ jsxs(
127428
127421
  Space,
@@ -128452,7 +128445,7 @@ const FontSize = Extension.create({
128452
128445
  Mt.fontFamily,
128453
128446
  Mt.fontSize
128454
128447
  );
128455
- }));
128448
+ })), console.log("--------------------------");
128456
128449
  }
128457
128450
  (gt == null ? void 0 : gt.length) > 0 && we(gt, dt.fontFamily, dt.fontSize);
128458
128451
  }), Le;
@@ -182967,12 +182960,12 @@ export {
182967
182960
  AudioPlayer,
182968
182961
  RefAutoComplete as AutoComplete,
182969
182962
  Avatar,
182970
- BVP_FONT,
182971
182963
  Badge,
182972
182964
  Block$1 as BlockPicker,
182973
182965
  BodyCard,
182974
182966
  Breadcrumb,
182975
182967
  Button,
182968
+ CALIBRI_FONT,
182976
182969
  Calendar,
182977
182970
  Card,
182978
182971
  Checkbox,
@@ -183005,6 +182998,7 @@ export {
183005
182998
  ImgCrop,
183006
182999
  Input,
183007
183000
  InputNumber,
183001
+ Layout,
183008
183002
  LayoutService,
183009
183003
  List$1 as List,
183010
183004
  MainLayout,
@@ -1,11 +1,2 @@
1
- import React from "react";
2
- import { SiderProps } from "antd";
3
- import { BasicProps } from "antd/lib/layout/layout";
4
- import { LayoutProps } from ".";
5
- declare const Layout: React.FunctionComponent<LayoutProps> & {
6
- Header: React.ForwardRefExoticComponent<BasicProps & React.RefAttributes<HTMLElement>>;
7
- Footer: React.ForwardRefExoticComponent<BasicProps & React.RefAttributes<HTMLElement>>;
8
- Sider: React.ForwardRefExoticComponent<SiderProps & React.RefAttributes<HTMLDivElement>>;
9
- Content: React.ForwardRefExoticComponent<BasicProps & React.RefAttributes<HTMLElement>>;
10
- };
1
+ import { Layout } from "antd";
11
2
  export default Layout;
@@ -1,2 +1,3 @@
1
1
  import { LayoutProps } from "./Layout.types";
2
2
  export type { LayoutProps };
3
+ export { default as Layout } from "./Layout";