@oliasoft-open-source/react-ui-library 9.0.0 → 9.0.2

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.
@@ -1 +1 @@
1
- {"version":3,"file":"help-modal.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-import-export/components/help-modal/help-modal.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,oBAAoB,EAAE,eAAe,EAAE,MAAM,qCAAqC,CAAC;AAE5F,MAAM,WAAW,eAAe;IAC9B,OAAO,EAAE,OAAO,CAAC;IACjB,kBAAkB,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IAClE,eAAe,CAAC,EAAE,eAAe,EAAE,CAAC;IACpC,CAAC,EAAE,oBAAoB,CAAC;CACzB;AAED,eAAO,MAAM,SAAS,GAAI,qDAA0D,eAAe,4CAkBlG,CAAC"}
1
+ {"version":3,"file":"help-modal.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-import-export/components/help-modal/help-modal.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,oBAAoB,EAAE,eAAe,EAAE,MAAM,qCAAqC,CAAC;AAE5F,MAAM,WAAW,eAAe;IAC9B,OAAO,EAAE,OAAO,CAAC;IACjB,kBAAkB,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IAClE,eAAe,CAAC,EAAE,eAAe,EAAE,CAAC;IACpC,CAAC,EAAE,oBAAoB,CAAC;CACzB;AAED,eAAO,MAAM,SAAS,GAAI,qDAA0D,eAAe,4CAoBlG,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"data-import-export.d.ts","sourceRoot":"","sources":["../../../src/components/data-import-export/data-import-export.tsx"],"names":[],"mappings":"AASA,OAAO,EACL,wBAAwB,EACxB,kBAAkB,EAEnB,MAAM,qCAAqC,CAAC;AAwB7C,MAAM,WAAW,uBAAuB;IACtC,MAAM,EAAE,wBAAwB,CAAC;IACjC,iBAAiB,CAAC,EAAE,kBAAkB,CAAC;IACvC,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,iBAAiB,GAAI,uCAAuC,uBAAuB,4CAwR/F,CAAC"}
1
+ {"version":3,"file":"data-import-export.d.ts","sourceRoot":"","sources":["../../../src/components/data-import-export/data-import-export.tsx"],"names":[],"mappings":"AASA,OAAO,EACL,wBAAwB,EACxB,kBAAkB,EAEnB,MAAM,qCAAqC,CAAC;AAuB7C,MAAM,WAAW,uBAAuB;IACtC,MAAM,EAAE,wBAAwB,CAAC;IACjC,iBAAiB,CAAC,EAAE,kBAAkB,CAAC;IACvC,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,iBAAiB,GAAI,uCAAuC,uBAAuB,4CAsR/F,CAAC"}
package/dist/index.js CHANGED
@@ -2425,23 +2425,27 @@ var Eo = (e) => e.replace(/^lch\(\s*(\d+(?:\.\d+)?)(?!%)\s+/, "lch($1% "), Do =
2425
2425
  }) })
2426
2426
  ]
2427
2427
  });
2428
- }, Ns = ({ visible: e, setModalVisibility: t, validationRules: n = [], t: r }) => /* @__PURE__ */ x(Ss, {
2429
- visible: e,
2430
- centered: !0,
2431
- children: /* @__PURE__ */ x(es, { dialog: {
2432
- heading: r("importingData"),
2433
- content: /* @__PURE__ */ x(Ms, {
2434
- validationRules: n,
2435
- t: r
2436
- }),
2437
- footer: /* @__PURE__ */ x(b, { children: /* @__PURE__ */ x(q, {
2438
- label: r("cancel"),
2439
- onClick: () => t("helpModal", !1)
2440
- }) }),
2441
- onClose: () => t("helpModal", !1),
2442
- width: "95%"
2443
- } })
2444
- }), Ps = {
2428
+ }, Ns = ({ visible: e, setModalVisibility: t, validationRules: n = [], t: r }) => {
2429
+ let i = () => t("helpModal", !1);
2430
+ return /* @__PURE__ */ x(Ss, {
2431
+ visible: e,
2432
+ centered: !0,
2433
+ onEscape: i,
2434
+ children: /* @__PURE__ */ x(es, { dialog: {
2435
+ heading: r("importingData"),
2436
+ content: /* @__PURE__ */ x(Ms, {
2437
+ validationRules: n,
2438
+ t: r
2439
+ }),
2440
+ footer: /* @__PURE__ */ x(b, { children: /* @__PURE__ */ x(q, {
2441
+ label: r("cancel"),
2442
+ onClick: i
2443
+ }) }),
2444
+ onClose: i,
2445
+ width: "95%"
2446
+ } })
2447
+ });
2448
+ }, Ps = {
2445
2449
  headerContainer: "_headerContainer_esg1i_1",
2446
2450
  modalContent: "_modalContent_esg1i_10",
2447
2451
  resultContainer: "_resultContainer_esg1i_17",
@@ -5235,6 +5239,7 @@ var Eo = (e) => e.replace(/^lch\(\s*(\d+(?:\.\d+)?)(?!%)\s+/, "lch($1% "), Do =
5235
5239
  return /* @__PURE__ */ x(Ss, {
5236
5240
  visible: m,
5237
5241
  centered: !0,
5242
+ onEscape: i,
5238
5243
  children: /* @__PURE__ */ x(es, { dialog: {
5239
5244
  width: "60vw",
5240
5245
  height: "650px",
@@ -5631,9 +5636,7 @@ var Eo = (e) => e.replace(/^lch\(\s*(\d+(?:\.\d+)?)(?!%)\s+/, "lch($1% "), Do =
5631
5636
  setState: D,
5632
5637
  smartUploadConfig: t,
5633
5638
  startTransition: z
5634
- }), { readAndParseInput: ee, updateState: te, closeModals: ne, setModalVisibility: V, onFileChange: re, onClickQuickPasteFromClipBoard: ie, onClickCopyClipboard: ae, onSmartUploadResult: oe, deleteAllRows: se } = B == null ? {} : B;
5635
- ys("Escape", () => ne());
5636
- let ce = m ? [
5639
+ }), { readAndParseInput: ee, updateState: te, closeModals: ne, setModalVisibility: V, onFileChange: re, onClickQuickPasteFromClipBoard: ie, onClickCopyClipboard: ae, onSmartUploadResult: oe, deleteAllRows: se } = B == null ? {} : B, ce = m ? [
5637
5640
  ...b ? [{
5638
5641
  type: "Option",
5639
5642
  label: I("uploadFile"),
@@ -9621,6 +9624,7 @@ var gm = (e = {}) => hm({
9621
9624
  return /* @__PURE__ */ x(Ss, {
9622
9625
  visible: r,
9623
9626
  centered: !0,
9627
+ onEscape: s,
9624
9628
  children: /* @__PURE__ */ x(es, { dialog: {
9625
9629
  scroll: !0,
9626
9630
  heading: "Comparison view",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oliasoft-open-source/react-ui-library",
3
- "version": "9.0.0",
3
+ "version": "9.0.2",
4
4
  "description": "Reusable UI components for React projects",
5
5
  "homepage": "https://oliasoft-open-source.gitlab.io/react-ui-library",
6
6
  "bugs": {