vrfi-design-system 1.0.55 → 1.0.57

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/main.es.js CHANGED
@@ -3,7 +3,7 @@ import ce, { version as Vk, isValidElement as z8, useContext as yn, createContex
3
3
  import * as qk from "react-dom";
4
4
  import Tu, { createPortal as H8, unstable_batchedUpdates as j8, flushSync as Nu } from "react-dom";
5
5
  import { useFormContext as Zk, Controller as Uc, useController as gs, get as uy, set as B0, appendErrors as eF, useForm as tF, FormProvider as nF, useWatch as rF } from "react-hook-form";
6
- var $8 = /* @__PURE__ */ ((e) => (e.DASHED = "dashed", e.DEFAULT = "default", e.LINK = "link", e.PRIMARY = "primary", e.TEXT = "text", e))($8 || {}), oF = /* @__PURE__ */ ((e) => (e.BUTTON = "button", e.RESET = "reset", e.SUBMIT = "submit", e))(oF || {}), aF = /* @__PURE__ */ ((e) => (e.ACTIVE = "active", e.ARCHIVED = "archived", e))(aF || {}), L8 = /* @__PURE__ */ ((e) => (e.LARGE = "large", e.MIDDLE = "middle", e.SMALL = "small", e))(L8 || {}), Dc = /* @__PURE__ */ ((e) => (e.TEXT = "text", e.NUMBER = "number", e.TEXTAREA = "textarea", e.PASSWORD = "password", e.EMAIL = "email", e.DATE = "date", e))(Dc || {}), k8 = /* @__PURE__ */ ((e) => (e.SUCCESS = "success", e.ERROR = "error", e.WARNING = "warning", e.INFO = "info", e.OPEN = "open", e))(k8 || {}), vw = /* @__PURE__ */ ((e) => (e.DEFAULT = "default", e.NO_DESIGN = "noDesign", e))(vw || {}), iF = /* @__PURE__ */ ((e) => (e.MALE = "Male", e.FEMALE = "Female", e.PREFER_NOT_TO_SAY = "Prefer not to say", e.OTHER = "Other", e))(iF || {}), dy = /* @__PURE__ */ ((e) => (e.PENDING = "pending", e.UPLOADED = "uploaded", e))(dy || {}), lF = /* @__PURE__ */ ((e) => (e.PART_TIME = "Part time", e.FULL_TIME = "Full time", e))(lF || {}), sF = /* @__PURE__ */ ((e) => (e.NEW = "new", e.VERIFIED = "verified", e.REJECTED = "rejected", e.NOT_INITIATED = "not_initiated", e.APPROVED = "approved", e.REDECLARE_NOT_CLEARED = "redeclare_not_cleared", e.FAILED = "failed", e.IN_PROGRESS = "in_progress", e))(sF || {}), fy = /* @__PURE__ */ ((e) => (e.ACTIVE = "active", e.ARCHIVED = "archived", e))(fy || {}), Dn = /* @__PURE__ */ ((e) => (e.ICON_LOCATION = "icon-location", e.ICON_FAILURE_SOLID = "icon-failure-solid", e.SURVEY_QUESTIONS_ICON = "icon-Group-78214", e.SURVEY_SET_ICON = "icon-Group-78213", e.INTERNAL_USER_ICON = "icon-Group-78218", e.ROLE_MANAGEMENT_ICON = "icon-Group-78217", e.BACK_BUTTON_ICON = "icon-angle-left", e.EDIT_ICON = "icon-pencil", e.TRASH_ICON = "icon-trash", e.PREVIEW_ICON = "icon-eye-open", e.DOWNLOAD_ICON = "icon-download", e.SEARCH_INPUT_ICON = "icon-Compound-Path", e.USER_ACCOUNT_ICON = "icon-account", e.SIGN_OUT_ICON = "icon-sign-out-alt", e.DROP_DOWN_INDICATOR_ICON = "icon-Path-86337", e.CLOSE_ICON = "icon-Path-55379", e.TICK_ICON = "icon-Group-787301", e.WARNING_ICON = "icon-Group-78731", e.ERROR_ICON = "icon-Group-78732", e.QUESTIONS_ICON = "icon-Group-78214", e.FILTER_ICON = "icon-filter", e.MORE_ICON = "icon-Group-77978", e.SELECT_TICK_ICON = "icon-Path-148536", e.NO_SYMBOL_ICON = "icon-Union-26", e.UPLOAD_ICON = "icon-file", e.EXPAND_ICON = "icon-Polygon-95", e.EMAIL_ICON = "icon-mail", e.SUCCESS_SOLID_ICON = "icon-success-solid", e.INFO_ICON = "icon-help-solid", e.ARCHIVED_ICON = "icon-archived", e.ICON_PENDING = "icon-pending", e.ICON_DOCUMENT = "icon-document", e.ICON_PHONE = "icon-phone", e.ICON_MAIL = "icon-mail", e.ICON_FILTER = "icon-filter", e.DROP_DOWN_SUFFIX_ICON = "icon-Polygon-95", e.DRAG_ICON = "icon-Group-78727", e.ICON_DOWN_ARROW_ICON = "icon-down-arrow", e.ICON_FILE = "icon-file", e.SEARCH_ICON = "icon-search", e.DELETE_ICON = "icon-delete", e.DOWN_ARROW_ICON = "icon-down-arrow", e.NO_DATA = "icon-no-data", e.SORT = "icon-sort", e.AGENCY = "icon-agency", e.BUTTON_LOADER = "icon-loader", e.BACK_ARROW = "icon-back-arrow", e.CALENDER = "icon-calendar", e.ICON_CLOSE = "icon-close", e.ICON_COPY = "icon-copy", e.ICON_SHARE = "icon-share", e.PASSWORD_VISIBLE = "icon-eye-open", e.PASSWORD_INVISIBLE = "icon-eye-closed", e.ICON_SKILLS = "icon-skills", e.ICON_PREFERENCE_1 = "icon-preferences1", e.ICON_EXISTING_EMPLOYER = "icon-existing-employer", e.ICON_USERS = "icon-users", e.ICON_PROFILE_DETAILS = "icon-profile-details", e.ICON_LOCATION_DETAILS = "icon-location-details", e.ICON_LIST = "icon-list", e.ICON_ADD = "icon-add", e.ICON_DOCUMENTS = "icon-documents", e.ICON_MORE = "icon-more", e.ICON_ARCHIVED = "icon-archived", e.CHANGE_STATUS = "icon-change-status", e.NO_RECORDS = "icon-no-records", e.ALERT = "icon-alert", e.GRID = "icon-grid", e.PREFERENCE = "icon-preferences", e.ARROW = "icon-arrow", e.DASHBOARD = "icon-dashboard", e.DESELECT = "icon-deselect", e.EDIT = "icon-edit", e.FAILURE_OUTLINE = "icon-failure-outline", e.HELP_OUTLINE = "icon-help-outline", e.LOCK = "icon-lock", e.SUCCESS_OUTLINE = "icon-success-outline", e.UNLOCK = "icon-unlock", e.UP_ARROW = "icon-up-arrow", e.ACCEPT = "icon-accept", e))(Dn || {}), vc = /* @__PURE__ */ ((e) => (e.GENDER = "Gender", e.JOB_TYPE = "Job Type", e.JOB_TITLE = "Job Title", e.SKILLS = "Skills", e.YEARS_OF_EXPERIENCE = "Years of Experience", e))(vc || {}), vs = /* @__PURE__ */ ((e) => (e.START = "start", e.END = "end", e.CENTER = "center", e.SPACE_AROUND = "space-around", e.SPACE_BETWEEN = "space-between", e.SPACE_EVENLY = "space-evenly", e))(vs || {}), Ai = /* @__PURE__ */ ((e) => (e.TOP = "top", e.MIDDLE = "middle", e.BOTTOM = "bottom", e.STRETCH = "stretch", e))(Ai || {}), F8 = /* @__PURE__ */ ((e) => (e.CLICK = "click", e.CONTEXT_MENU = "contextMenu", e.FOCUS = "focus", e.HOVER = "hover", e))(F8 || {}), J8 = /* @__PURE__ */ ((e) => (e.BOTTOM = "bottom", e.BOTTOM_LEFT = "bottomLeft", e.BOTTOM_RIGHT = "bottomRight", e.LEFT = "left", e.LEFT_BOTTOM = "leftBottom", e.LEFT_TOP = "leftTop", e.RIGHT = "right", e.RIGHT_BOTTOM = "rightBottom", e.RIGHT_TOP = "rightTop", e.TOP = "top", e.TOP_LEFT = "topLeft", e.TOP_RIGHT = "topRight", e))(J8 || {}), Ca = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
6
+ var $8 = /* @__PURE__ */ ((e) => (e.DASHED = "dashed", e.DEFAULT = "default", e.LINK = "link", e.PRIMARY = "primary", e.TEXT = "text", e))($8 || {}), oF = /* @__PURE__ */ ((e) => (e.BUTTON = "button", e.RESET = "reset", e.SUBMIT = "submit", e))(oF || {}), aF = /* @__PURE__ */ ((e) => (e.ACTIVE = "active", e.ARCHIVED = "archived", e))(aF || {}), L8 = /* @__PURE__ */ ((e) => (e.LARGE = "large", e.MIDDLE = "middle", e.SMALL = "small", e))(L8 || {}), Dc = /* @__PURE__ */ ((e) => (e.TEXT = "text", e.NUMBER = "number", e.TEXTAREA = "textarea", e.PASSWORD = "password", e.EMAIL = "email", e.DATE = "date", e))(Dc || {}), k8 = /* @__PURE__ */ ((e) => (e.SUCCESS = "success", e.ERROR = "error", e.WARNING = "warning", e.INFO = "info", e.OPEN = "open", e))(k8 || {}), vw = /* @__PURE__ */ ((e) => (e.DEFAULT = "default", e.NO_DESIGN = "noDesign", e))(vw || {}), iF = /* @__PURE__ */ ((e) => (e.MALE = "Male", e.FEMALE = "Female", e.PREFER_NOT_TO_SAY = "Prefer not to say", e.OTHER = "Other", e))(iF || {}), dy = /* @__PURE__ */ ((e) => (e.PENDING = "pending", e.UPLOADED = "uploaded", e))(dy || {}), lF = /* @__PURE__ */ ((e) => (e.PART_TIME = "Part time", e.FULL_TIME = "Full time", e))(lF || {}), sF = /* @__PURE__ */ ((e) => (e.NEW = "new", e.VERIFIED = "verified", e.REJECTED = "rejected", e.NOT_INITIATED = "not_initiated", e.APPROVED = "approved", e.REDECLARE_NOT_CLEARED = "redeclare_not_cleared", e.FAILED = "failed", e.IN_PROGRESS = "in_progress", e))(sF || {}), fy = /* @__PURE__ */ ((e) => (e.ACTIVE = "active", e.ARCHIVED = "archived", e))(fy || {}), Dn = /* @__PURE__ */ ((e) => (e.ICON_LOCATION = "icon-location", e.ICON_FAILURE_SOLID = "icon-failure-solid", e.SURVEY_QUESTIONS_ICON = "icon-Group-78214", e.SURVEY_SET_ICON = "icon-Group-78213", e.INTERNAL_USER_ICON = "icon-Group-78218", e.ROLE_MANAGEMENT_ICON = "icon-Group-78217", e.BACK_BUTTON_ICON = "icon-angle-left", e.EDIT_ICON = "icon-pencil", e.TRASH_ICON = "icon-trash", e.PREVIEW_ICON = "icon-eye-open", e.DOWNLOAD_ICON = "icon-download", e.SEARCH_INPUT_ICON = "icon-Compound-Path", e.USER_ACCOUNT_ICON = "icon-account", e.SIGN_OUT_ICON = "icon-sign-out-alt", e.DROP_DOWN_INDICATOR_ICON = "icon-Path-86337", e.CLOSE_ICON = "icon-Path-55379", e.TICK_ICON = "icon-Group-787301", e.WARNING_ICON = "icon-Group-78731", e.ERROR_ICON = "icon-Group-78732", e.QUESTIONS_ICON = "icon-Group-78214", e.FILTER_ICON = "icon-filter", e.MORE_ICON = "icon-Group-77978", e.SELECT_TICK_ICON = "icon-Path-148536", e.NO_SYMBOL_ICON = "icon-Union-26", e.UPLOAD_ICON = "icon-file", e.EXPAND_ICON = "icon-Polygon-95", e.EMAIL_ICON = "icon-mail", e.SUCCESS_SOLID_ICON = "icon-success-solid", e.INFO_ICON = "icon-help-solid", e.ARCHIVED_ICON = "icon-archived", e.ICON_PENDING = "icon-pending", e.ICON_DOCUMENT = "icon-document", e.ICON_PHONE = "icon-phone", e.ICON_MAIL = "icon-mail", e.ICON_FILTER = "icon-filter", e.DROP_DOWN_SUFFIX_ICON = "icon-Polygon-95", e.DRAG_ICON = "icon-Group-78727", e.ICON_DOWN_ARROW_ICON = "icon-down-arrow", e.ICON_FILE = "icon-file", e.SEARCH_ICON = "icon-search", e.DELETE_ICON = "icon-delete", e.DOWN_ARROW_ICON = "icon-down-arrow", e.NO_DATA = "icon-no-data", e.SORT = "icon-sort", e.AGENCY = "icon-agency", e.BUTTON_LOADER = "icon-loader", e.BACK_ARROW = "icon-back-arrow", e.CALENDER = "icon-calendar", e.ICON_CLOSE = "icon-close", e.ICON_COPY = "icon-copy", e.ICON_SHARE = "icon-share", e.PASSWORD_VISIBLE = "icon-eye-open", e.PASSWORD_INVISIBLE = "icon-eye-closed", e.ICON_SKILLS = "icon-skills", e.ICON_PREFERENCE_1 = "icon-preferences1", e.ICON_EXISTING_EMPLOYER = "icon-existing-employer", e.ICON_USERS = "icon-users", e.ICON_PROFILE_DETAILS = "icon-profile-details", e.ICON_LOCATION_DETAILS = "icon-location-details", e.ICON_LIST = "icon-list", e.ICON_ADD = "icon-add", e.ICON_DOCUMENTS = "icon-documents", e.ICON_MORE = "icon-more", e.ICON_ARCHIVED = "icon-archived", e.CHANGE_STATUS = "icon-change-status", e.NO_RECORDS = "icon-no-records", e.ALERT = "icon-alert", e.GRID = "icon-grid", e.PREFERENCE = "icon-preferences", e.ARROW = "icon-arrow", e.DASHBOARD = "icon-dashboard", e.DESELECT = "icon-deselect", e.EDIT = "icon-edit", e.FAILURE_OUTLINE = "icon-failure-outline", e.HELP_OUTLINE = "icon-help-outline", e.LOCK = "icon-lock", e.SUCCESS_OUTLINE = "icon-success-outline", e.UNLOCK = "icon-unlock", e.UP_ARROW = "icon-up-arrow", e.REJECT = "icon-reject", e.ACCEPT = "icon-accept", e))(Dn || {}), vc = /* @__PURE__ */ ((e) => (e.GENDER = "Gender", e.JOB_TYPE = "Job Type", e.JOB_TITLE = "Job Title", e.SKILLS = "Skills", e.YEARS_OF_EXPERIENCE = "Years of Experience", e))(vc || {}), vs = /* @__PURE__ */ ((e) => (e.START = "start", e.END = "end", e.CENTER = "center", e.SPACE_AROUND = "space-around", e.SPACE_BETWEEN = "space-between", e.SPACE_EVENLY = "space-evenly", e))(vs || {}), Ai = /* @__PURE__ */ ((e) => (e.TOP = "top", e.MIDDLE = "middle", e.BOTTOM = "bottom", e.STRETCH = "stretch", e))(Ai || {}), F8 = /* @__PURE__ */ ((e) => (e.CLICK = "click", e.CONTEXT_MENU = "contextMenu", e.FOCUS = "focus", e.HOVER = "hover", e))(F8 || {}), J8 = /* @__PURE__ */ ((e) => (e.BOTTOM = "bottom", e.BOTTOM_LEFT = "bottomLeft", e.BOTTOM_RIGHT = "bottomRight", e.LEFT = "left", e.LEFT_BOTTOM = "leftBottom", e.LEFT_TOP = "leftTop", e.RIGHT = "right", e.RIGHT_BOTTOM = "rightBottom", e.RIGHT_TOP = "rightTop", e.TOP = "top", e.TOP_LEFT = "topLeft", e.TOP_RIGHT = "topRight", e))(J8 || {}), Ca = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
7
7
  function Va(e) {
8
8
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
9
9
  }
@@ -49538,7 +49538,7 @@ function wr() {
49538
49538
  for (var e, t, n = 0, r = "", o = arguments.length; n < o; n++) (e = arguments[n]) && (t = wR(e)) && (r && (r += " "), r += t);
49539
49539
  return r;
49540
49540
  }
49541
- const eue = "_floatLabel_1jdy3_24", tue = "_float_1jdy3_24", nue = "_withPrefix_1jdy3_47", rue = "_withFloat_1jdy3_50", oue = "_required_1jdy3_59", cc = {
49541
+ const eue = "_floatLabel_10l0n_24", tue = "_float_10l0n_24", nue = "_withPrefix_10l0n_47", rue = "_withFloat_10l0n_50", oue = "_required_10l0n_59", cc = {
49542
49542
  floatLabel: eue,
49543
49543
  float: tue,
49544
49544
  withPrefix: nue,
@@ -58935,8 +58935,8 @@ function w1e({ name: e, required: t, label: n, options: r, customOnChange: o, ..
58935
58935
  const I0e = "_offline_1vpqk_24", D0e = "_offline__text_1vpqk_34", e8 = {
58936
58936
  offline: I0e,
58937
58937
  offline__text: D0e
58938
- }, x1e = ({ isOffline: e }) => e ? /* @__PURE__ */ X.jsx("div", { className: e8.offline, children: /* @__PURE__ */ X.jsx("span", { className: e8.offline__text, children: ds.OFFLINE_TEXT }) }) : null, T0e = "_more_1r4pk_24", N0e = "_avatars_1r4pk_29", B0e = "_alphabets_1r4pk_35", qb = {
58939
- "ant-avatar": "_ant-avatar_1r4pk_24",
58938
+ }, x1e = ({ isOffline: e }) => e ? /* @__PURE__ */ X.jsx("div", { className: e8.offline, children: /* @__PURE__ */ X.jsx("span", { className: e8.offline__text, children: ds.OFFLINE_TEXT }) }) : null, T0e = "_more_1ohwr_24", N0e = "_avatars_1ohwr_29", B0e = "_alphabets_1ohwr_37", qb = {
58939
+ "ant-avatar": "_ant-avatar_1ohwr_24",
58940
58940
  more: T0e,
58941
58941
  avatars: N0e,
58942
58942
  alphabets: B0e
@@ -66419,10 +66419,10 @@ const j1e = /* @__PURE__ */ Va(ij), eSe = "_subHeading_uo349_24", tSe = "_descri
66419
66419
  ] }),
66420
66420
  l && /* @__PURE__ */ X.jsx(kt, { children: l })
66421
66421
  ] });
66422
- }, lSe = "_statsBanner_1l4mj_24", sSe = "_statsContent_1l4mj_34", cSe = "_statsCol_1l4mj_44", ASe = "_statsValue_1l4mj_50", ou = {
66422
+ }, lSe = "_statsBanner_1a8yk_24", sSe = "_statsContent_1a8yk_34", cSe = "_statsCol_1a8yk_46", ASe = "_statsValue_1a8yk_52", ou = {
66423
66423
  statsBanner: lSe,
66424
66424
  statsContent: sSe,
66425
- "ant-row": "_ant-row_1l4mj_40",
66425
+ "ant-row": "_ant-row_1a8yk_42",
66426
66426
  statsCol: cSe,
66427
66427
  statsValue: ASe
66428
66428
  }, L1e = ({ stats: e }) => /* @__PURE__ */ X.jsx("div", { className: ou.statsBanner, children: /* @__PURE__ */ X.jsx("div", { className: ou.statsContent, children: e == null ? void 0 : e.map((t) => /* @__PURE__ */ X.jsxs("div", { className: ou.statsCol, children: [
@@ -66502,7 +66502,7 @@ const jSe = [".jpg", ".jpeg", ".png"], $Se = ".pdf", LSe = "Image Preview", kSe
66502
66502
  ] }),
66503
66503
  /* @__PURE__ */ X.jsxs("div", { className: ma.rightSide, children: [
66504
66504
  n && /* @__PURE__ */ X.jsx("div", { className: ma.previewIconWrapper, children: /* @__PURE__ */ X.jsx("span", { className: ma.previewIcon, onClick: i, children: /* @__PURE__ */ X.jsx("i", { className: Dn.PREVIEW_ICON }) }) }),
66505
- /* @__PURE__ */ X.jsx("div", { className: ma.deleteIconWrapper, children: /* @__PURE__ */ X.jsx("span", { className: ma.deleteIcon, children: /* @__PURE__ */ X.jsx("a", { href: t, download: !0, children: /* @__PURE__ */ X.jsx("i", { className: Dn.DOWNLOAD_ICON }) }) }) })
66505
+ t && /* @__PURE__ */ X.jsx("div", { className: ma.deleteIconWrapper, children: /* @__PURE__ */ X.jsx("span", { className: ma.deleteIcon, children: /* @__PURE__ */ X.jsx("a", { href: t, download: !0, children: /* @__PURE__ */ X.jsx("i", { className: Dn.DOWNLOAD_ICON }) }) }) })
66506
66506
  ] })
66507
66507
  ] }),
66508
66508
  /* @__PURE__ */ X.jsx(