beca-ui 2.1.1-beta.16 → 2.1.1-beta.17

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
@@ -93908,7 +93908,7 @@ const fte = "https://library.becawork.vn/api/PublicLibrary/ViewFile/gfregdblvwd7
93908
93908
  return !1;
93909
93909
  }, [_, V, c, n]), Ne = () => {
93910
93910
  const Le = l.find((Ke) => Ke.appId === "Chat");
93911
- Le && window.location.replace(Le.href);
93911
+ Le && Le.href && window.location.replace(Le.href);
93912
93912
  };
93913
93913
  return /* @__PURE__ */ xt(qit, { className: ve("header", O && "scrolled"), children: [
93914
93914
  /* @__PURE__ */ xt("div", { className: "header-wrap", children: [
@@ -100080,10 +100080,12 @@ const nct = 52, rct = 68, oct = (e) => {
100080
100080
  (D) => D.id !== void 0 ? D.id === k.id : D.Id === k.Id
100081
100081
  );
100082
100082
  P && T.push(P);
100083
- });
100083
+ }), console.log(T);
100084
100084
  const _ = [...T];
100085
100085
  n.forEach((k) => {
100086
- _.some((P) => P.id === k.id) || _.push(k);
100086
+ _.some(
100087
+ (P) => P.id !== void 0 ? P.id === k.id : P.Id === k.Id
100088
+ ) || _.push(k);
100087
100089
  }), h(_);
100088
100090
  } else
100089
100091
  h(O);
@@ -6,22 +6,31 @@ export interface ApplicationsCardProps {
6
6
  lang: LANGUAGE;
7
7
  }
8
8
  export interface ApplicationsCardItem {
9
- href: string;
9
+ href?: string;
10
10
  appId?: string | null;
11
- image: string;
12
- name: string;
13
- workflowCode: string;
14
- createdTime: string;
11
+ image?: string;
12
+ name?: string;
13
+ workflowCode?: string;
14
+ createdTime?: string;
15
15
  nameEng?: string | null;
16
16
  order?: number;
17
- iconBackgroundColor?: string;
18
- image2: string;
19
- Status: string;
20
- WorkflowCode: string;
21
- WorkflowTitle: string;
22
- Approver: string;
23
- UserStatus: number;
24
- ApprovedTime: string;
25
- id: number;
17
+ iconBackgroundColor?: string | null;
18
+ image2?: string;
19
+ Status?: string;
20
+ WorkflowCode?: string;
21
+ WorkflowTitle?: string;
22
+ Approver?: string;
23
+ UserStatus?: number;
24
+ ApprovedTime?: string;
25
+ id?: number;
26
26
  Id?: number;
27
+ Allow?: any;
28
+ NotAllow?: any;
29
+ UserWorkflowId?: any;
30
+ Title?: string;
31
+ CreatedTime?: string;
32
+ LastModified?: string;
33
+ TitleEn?: any;
34
+ StatusEN?: any;
35
+ IsDeleted?: any;
27
36
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "beca-ui",
3
- "version": "2.1.1-beta.16",
3
+ "version": "2.1.1-beta.17",
4
4
  "description": "Becawork UI",
5
5
  "license": "MIT",
6
6
  "author": {