@regulaforensics/ui-components 9.7.1091-nightly → 9.7.1093-nightly

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.
@@ -81073,7 +81073,7 @@ var mU = () => Qk("cba5b1563e4d8bfbec09cb310eaef733"), hU = {
81073
81073
  items: "_items_l6jk0_35",
81074
81074
  item: "_item_l6jk0_35",
81075
81075
  text: "_text_l6jk0_47"
81076
- }, gU = ({ nameSurname: e, issuingStateName: t, dateOfExpiry: n, dateOfBirth: r, documentNumber: i, portrait: a, documentOwnerAge: o, documentOwnerNationalityCode: s, documentOwnerSex: c, imageViewer: l = !0, showPortrait: u, className: d, downloadImage: f }) => {
81076
+ }, gU = ({ nameSurname: e, issuingStateName: t, dateOfExpiry: n, dateOfBirth: r, documentNumber: i, portrait: a, documentOwnerAge: o, documentOwnerNationalityCode: s, documentOwnerSex: c, imageViewer: l = !0, showPortrait: u, className: d, downloadImage: f = !0 }) => {
81077
81077
  let { t: p } = mU(), m = c.value ? $.getSex(c.value) : "", _ = o.value ? `${p("age")}: ${o.value}` : "";
81078
81078
  return /* @__PURE__ */ g("div", {
81079
81079
  className: (0, yD.default)(hU.container, d),
@@ -81489,7 +81489,7 @@ var BU = () => Qk("c629d0f0d0896c2f20a19a5ed9ede37b"), VU = {
81489
81489
  preview: "_preview_d5kxz_6",
81490
81490
  "view-container": "_view-container_d5kxz_12",
81491
81491
  current: "_current_d5kxz_20"
81492
- }, HU = ({ showLightDock: e, lightImages: t, pageImages: n, currentLight: r, setCurrentLight: i, currentImage: a, magnifierImg: o, currentSelections: s, setMagnifierImg: c, currentPage: l, setCurrentPage: u, imageViewer: d = !0, downloadImage: f }) => {
81492
+ }, HU = ({ showLightDock: e, lightImages: t, pageImages: n, currentLight: r, setCurrentLight: i, currentImage: a, magnifierImg: o, currentSelections: s, setMagnifierImg: c, currentPage: l, setCurrentPage: u, imageViewer: d = !0, downloadImage: f = !0 }) => {
81493
81493
  let { t: p } = BU();
81494
81494
  return /* @__PURE__ */ g("div", {
81495
81495
  className: VU.viewer,
@@ -82374,7 +82374,7 @@ var aW = () => Qk("c5291d1c5e6d9464c1e104be56e67cda"), oW = {
82374
82374
  status: n
82375
82375
  }),
82376
82376
  children: a
82377
- }), uW = ({ src: e, alt: t, imageViewer: n = !0, heightLimit: r = 100, className: i, downloadImage: a }) => {
82377
+ }), uW = ({ src: e, alt: t, imageViewer: n = !0, heightLimit: r = 100, className: i, downloadImage: a = !0 }) => {
82378
82378
  let o = f(null);
82379
82379
  return c(() => {
82380
82380
  let e = o.current;
@@ -85671,7 +85671,7 @@ var kK = () => Qk("3bc9054a63aa53765bd9ce110e67521e"), AK = { container: "_conta
85671
85671
  }, MK = {
85672
85672
  text: "_text_c8ml4_1",
85673
85673
  image: "_image_c8ml4_5"
85674
- }, NK = ({ name: e, url: t, imageViewer: n = !0, downloadImage: r }) => /* @__PURE__ */ g(m, { children: [/* @__PURE__ */ h(G, {
85674
+ }, NK = ({ name: e, url: t, imageViewer: n = !0, downloadImage: r = !0 }) => /* @__PURE__ */ g(m, { children: [/* @__PURE__ */ h(G, {
85675
85675
  className: MK.text,
85676
85676
  size: "12x160",
85677
85677
  uppercase: !0,
@@ -86399,7 +86399,7 @@ var cq = () => Qk("90a425db4934211fafe21693ab2e9a39"), lq = {
86399
86399
  text: "_text_1wz9f_1",
86400
86400
  "source-content": "_source-content_1wz9f_5",
86401
86401
  rate: "_rate_1wz9f_28"
86402
- }, uq = ({ source: e, image: t, checkResult: n, similarity: r, imageViewer: i = !0, downloadImage: a }) => {
86402
+ }, uq = ({ source: e, image: t, checkResult: n, similarity: r, imageViewer: i = !0, downloadImage: a = !0 }) => {
86403
86403
  let { t: o } = cq(), s = $.getPortraitComparisonSource(e);
86404
86404
  return /* @__PURE__ */ g(m, { children: [/* @__PURE__ */ h(G, {
86405
86405
  className: lq.text,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@regulaforensics/ui-components",
3
- "version": "9.7.1091-nightly",
3
+ "version": "9.7.1093-nightly",
4
4
  "description": "Regula UI components",
5
5
  "author": "Regula Forensics, Inc.",
6
6
  "license": "MIT",
@@ -34,12 +34,9 @@
34
34
  "storybook": "storybook dev -p 6006",
35
35
  "build-storybook": "storybook build",
36
36
  "build": "npm run check-types && npm run build:main && npm run build:core && npm run build:typings",
37
- "build:main": "vite build --config vite-build.config.ts && npm run extract:main",
38
- "build:core": "vite build --config vite-build-core.config.ts && npm run extract:core",
39
- "build:typings": "vite build --config vite-build-typings.config.ts && npm run extract:typings",
40
- "extract:main": "api-extractor run --local --verbose --config api-extractor.main.json && rimraf dist/main/types",
41
- "extract:core": "api-extractor run --local --verbose --config api-extractor.core.json && rimraf dist/core/types",
42
- "extract:typings": "api-extractor run --local --verbose --config api-extractor.typings.json && rimraf dist/typings/types",
37
+ "build:main": "vite build --config vite-build.config.ts",
38
+ "build:core": "vite build --config vite-build-core.config.ts",
39
+ "build:typings": "vite build --config vite-build-typings.config.ts",
43
40
  "test": "vitest run",
44
41
  "docs": "typedoc --out docs src/document-reader/typings",
45
42
  "prepare": "husky",
@@ -72,7 +69,7 @@
72
69
  },
73
70
  "devDependencies": {
74
71
  "@eslint/js": "^10.0.1",
75
- "@microsoft/api-extractor": "^7.58.9",
72
+ "@microsoft/api-extractor": "^7.58.12",
76
73
  "@storybook/addon-docs": "^10.4.6",
77
74
  "@storybook/react": "^10.4.6",
78
75
  "@storybook/react-vite": "^10.4.6",
@@ -107,9 +104,9 @@
107
104
  "typedoc-plugin-coverage": "^4.0.3",
108
105
  "typescript": "^6.0.3",
109
106
  "typescript-eslint": "^8.61.1",
107
+ "unplugin-dts": "^1.0.3",
110
108
  "vite": "^8.0.16",
111
109
  "vite-bundle-analyzer": "^1.3.8",
112
- "vite-plugin-dts": "^5.0.1",
113
110
  "vitest": "^4.1.9",
114
111
  "xml2js": "^0.6.2",
115
112
  "yargs": "^18.0.0"