beca-ui 2.0.19-beta.64 → 2.0.19-beta.66

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
@@ -86186,7 +86186,6 @@ class NetworkService {
86186
86186
  "X-XSRF-TOKEN": sessionStorage.getItem("X-XSRF-TOKEN")
86187
86187
  };
86188
86188
  }
86189
- location.host.includes("localhost") && (s.url = s.url.replace("/v2/", "/"), s.url = s.url.replace("/v1/", "/"));
86190
86189
  const m = s.url.split("/api/");
86191
86190
  s.url = d + m[1];
86192
86191
  try {
@@ -94978,7 +94977,7 @@ const _DataServices2 = class _DataServices2 {
94978
94977
  let _ = "", w = "", R = "";
94979
94978
  h.executeJS.split(";").forEach((A, I) => {
94980
94979
  const P = A.trim();
94981
- (P == null ? void 0 : P.length) > 0 && (P.charAt(0) === "_" ? u || (f ? (_ += P.substring(1) + ";", P.includes("calc") && (R += P.substring(1) + ";")) : P.charAt(1) === "_" && (_ += P.substring(2) + ";", P.includes("calc") && (R += P.substring(2) + ";"))) : u && (dataScriptNames.some((j) => P.includes(j)) ? d === h.name && (w += P + ";") : (P.includes("calc") && (R += P + ";"), w += P + ";")));
94980
+ (P == null ? void 0 : P.length) > 0 && (P.charAt(0) === "_" ? u ? P.charAt(1) === "_" && (_ += P.substring(2) + ";", P.includes("calc") && (R += P.substring(2) + ";")) : f && (_ += P.substring(1) + ";", P.includes("calc") && (R += P.substring(1) + ";")) : u && (dataScriptNames.some((j) => P.includes(j)) ? d === h.name && (w += P + ";") : (P.includes("calc") && (R += P + ";"), w += P + ";")));
94982
94981
  }), x = w;
94983
94982
  let k = u;
94984
94983
  if (_.length > 0 && (k = !0), k) {
@@ -96954,8 +96953,8 @@ const ApplicationsCard = (a) => {
96954
96953
  if (c === "Office" && (u == null ? void 0 : u.length) > 0) {
96955
96954
  const _ = g == null ? void 0 : g.toLowerCase(), w = u.filter(
96956
96955
  (R) => {
96957
- var O, k, A;
96958
- return ((O = R.id) == null ? void 0 : O.toString().toLowerCase().includes(_)) || ((k = R.name) == null ? void 0 : k.toLowerCase().includes(_)) || ((A = R.nameEng) == null ? void 0 : A.toLowerCase().includes(_));
96956
+ var O;
96957
+ return R.id.toLowerCase().includes(_) || R.name.toLowerCase().includes(_) || ((O = R.nameEng) == null ? void 0 : O.toLowerCase().includes(_));
96959
96958
  }
96960
96959
  );
96961
96960
  C(w);
@@ -99410,18 +99409,6 @@ const pageSize = 10, NotificationComponent = (a, s) => {
99410
99409
  headerBg: "var(--table-bg)"
99411
99410
  }
99412
99411
  }
99413
- }, officeThemeConfig = {
99414
- ...themeConfig,
99415
- components: {
99416
- ...themeConfig.components,
99417
- // Only Office
99418
- Table: {
99419
- cellPaddingInline: 8,
99420
- cellPaddingBlock: 8,
99421
- borderColor: "var(--table-td-border-color)",
99422
- headerBg: "var(--table-bg)"
99423
- }
99424
- }
99425
99412
  }, 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) => {
99426
99413
  var Lt, Yt, zr, Yr, nn, Br;
99427
99414
  const {
@@ -183070,7 +183057,6 @@ export {
183070
183057
  staticMethods$1 as message,
183071
183058
  mobileWidth,
183072
183059
  staticMethods as notification,
183073
- officeThemeConfig,
183074
183060
  paginationItemRender,
183075
183061
  themeConfig,
183076
183062
  useAPI,