beca-ui 2.0.19-beta.39 → 2.0.19-beta.40

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
@@ -163676,9 +163676,6 @@ function useDevice() {
163676
163676
  const ErrorTexts = {
163677
163677
  NoPermissionAdmin: "Lỗi: bạn không có quyền xem phiếu này. Vui lòng liên hệ quản trị viên để nhận sự giúp đỡ"
163678
163678
  };
163679
- function stripHtml(a) {
163680
- return DataServices.htmlToText(a);
163681
- }
163682
163679
  function ErrorMessage() {
163683
163680
  return "Đã xảy ra lỗi, vui lòng thử lại";
163684
163681
  }
@@ -163905,8 +163902,10 @@ const win = window, WorkflowForm = (a) => {
163905
163902
  id: Mt.linkUserWorkflow.id,
163906
163903
  workflowId: Mt.linkUserWorkflow.workflowId,
163907
163904
  workflowCode: Mt.linkUserWorkflow.workflowCode,
163908
- shortContent: stripHtml(Mt.linkUserWorkflow.shortContent),
163909
- content: stripHtml(Mt.linkUserWorkflow.content),
163905
+ shortContent: DataServices.htmlToText(
163906
+ Mt.linkUserWorkflow.shortContent
163907
+ ),
163908
+ content: DataServices.htmlToText(Mt.linkUserWorkflow.content),
163910
163909
  userId: Mt.linkUserWorkflow.userId,
163911
163910
  user: Mt.linkUserWorkflow.user,
163912
163911
  workflowTitle: (Ht = Mt.linkUserWorkflow.workflow) == null ? void 0 : Ht.title,
@@ -1,7 +1,3 @@
1
- /**
2
- * Is server prerendering by NodeJs.
3
- * There can't be any DOM elements such as: window, document, etc.
4
- */
5
1
  export declare function open(url: string, target?: string): void;
6
2
  /**
7
3
  * Show error texts on page.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "beca-ui",
3
- "version": "2.0.19-beta.39",
3
+ "version": "2.0.19-beta.40",
4
4
  "description": "Becawork UI",
5
5
  "license": "MIT",
6
6
  "author": {