@hybridcore/ui 1.5.13 → 1.5.15

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.
Files changed (41) hide show
  1. package/dist/{DialogContent-CtA2aNum.js → DialogContent-B8pD_s9h.js} +1 -1
  2. package/dist/{Modal-DzZo-vlm.js → Modal-DpmJpbob.js} +206 -195
  3. package/dist/{Select-ush_fSWy.js → Select-DuyWoyoF.js} +1 -1
  4. package/dist/{TextField-BjFXx91l.js → TextField-CdKnj6de.js} +1 -1
  5. package/dist/assets/index3.css +1 -0
  6. package/dist/components/confirm/dialog.js +2 -2
  7. package/dist/components/confirm/index.js +1 -1
  8. package/dist/components/document-viewer/components/action-buttons/index.js +16 -0
  9. package/dist/components/document-viewer/components/navigation/index.js +26 -0
  10. package/dist/components/document-viewer/components/viewer/custom-renders/txt.js +5 -0
  11. package/dist/components/document-viewer/components/viewer/index.js +35 -0
  12. package/dist/components/document-viewer/data.js +4 -0
  13. package/dist/components/document-viewer/index.js +19 -0
  14. package/dist/components/document-viewer/styled.js +22 -0
  15. package/dist/components/document-viewer/utils.js +4 -0
  16. package/dist/components/instance-form/components/composite-list/index.js +1 -1
  17. package/dist/components/instance-form/components/variable/index.js +7 -7
  18. package/dist/components/instance-form/components/variables/index.js +1 -1
  19. package/dist/components/property-mapping/index.js +1 -1
  20. package/dist/components/range-selector/components/composite-list-range/index.js +1 -1
  21. package/dist/components/range-selector/components/date-range/index.js +1 -1
  22. package/dist/components/range-selector/index.js +1 -1
  23. package/dist/components/template-form/components/property-list/index.js +3 -3
  24. package/dist/components/template-form/components/property-list/property-list-form.js +3 -3
  25. package/dist/components/template-form/components/recognition-property-list/index.js +2 -2
  26. package/dist/components/template-form/components/recognition-property-list/recognition-property-list-form.js +2 -2
  27. package/dist/components/template-form/index.js +2 -2
  28. package/dist/components/template-property-filters/property.js +1 -1
  29. package/dist/components/tree-select/index.js +2 -2
  30. package/dist/{dialog-BDt1r9fh.js → dialog-C7_6_FBz.js} +1 -1
  31. package/dist/empty-GlqisfcO-GlqisfcO.js +4 -0
  32. package/dist/index-4HENfCPg-CwPLzyfw.js +3350 -0
  33. package/dist/index-BepDdkdq-BilQlvph.js +42 -0
  34. package/dist/{index-CAaDu0NI.js → index-CNMnXD0q.js} +1349 -1338
  35. package/dist/{index-D-mTkx9Q.js → index-CdecY907.js} +63 -61
  36. package/dist/main.d.ts +1 -0
  37. package/dist/main.js +1 -1
  38. package/dist/{property-list-form-CLSTkOmv.js → property-list-form-DALcsCp5.js} +92 -104
  39. package/dist/txt-U0b7DL6j.js +19250 -0
  40. package/dist/url-DQYFKQ_E-BH63-AZh.js +558 -0
  41. package/package.json +2 -1
@@ -7,7 +7,7 @@ import { s as V, r as Oe, a as yn } from "./styled-DkqItiLo.js";
7
7
  import { u as Qe } from "./useTheme-B6oa3v5u.js";
8
8
  import { g as ue } from "./createTheme-DVoJnXAT.js";
9
9
  import { jsx as k, jsxs as Ze } from "react/jsx-runtime";
10
- import { g as En, M as Pn, H as Me } from "./Modal-DzZo-vlm.js";
10
+ import { g as En, M as Pn, H as Me } from "./Modal-DpmJpbob.js";
11
11
  import { P as en, i as On } from "./Paper-DRRYGupP.js";
12
12
  import { u as Rn, a as pe, r as Re, e as Cn } from "./ButtonBase-CgQC8DUB.js";
13
13
  import { o as ae } from "./ownerDocument-CUrv0DIK.js";
@@ -7,7 +7,7 @@ import { g as V } from "./createTheme-DVoJnXAT.js";
7
7
  import { jsx as p, jsxs as le } from "react/jsx-runtime";
8
8
  import { f as ie, F as ae, I as de } from "./InputLabel-ClDXuWBr.js";
9
9
  import { u as ce } from "./useId-BHG98T5I.js";
10
- import { S as ue, F as pe } from "./Select-ush_fSWy.js";
10
+ import { S as ue, F as pe } from "./Select-DuyWoyoF.js";
11
11
  import { u as fe } from "./useFormControl-CatNKXAi.js";
12
12
  import { r as me } from "./ButtonBase-CgQC8DUB.js";
13
13
  import { I as be } from "./Input-BAbDr3Tk.js";
@@ -0,0 +1 @@
1
+ #react-doc-viewer{background-color:#ededed}#react-doc-viewer #pdf-controls{position:fixed;z-index:9999;left:50%;top:7px;transform:translate(-50%);box-shadow:none}#react-doc-viewer #pdf-controls button,#react-doc-viewer #pdf-controls a{box-shadow:none;color:#9e9e9e}#react-doc-viewer #pdf-controls #pdf-download{display:none}#react-doc-viewer #image-img{max-width:100%;max-height:100%}#react-doc-viewer #pdf-page-wrapper{margin-top:20px;margin-bottom:20px}:root{--react-pdf-text-layer: 1;--highlight-bg-color: rgba(180, 0, 170, 1);--highlight-selected-bg-color: rgba(0, 100, 0, 1)}@media screen and (forced-colors: active){:root{--highlight-bg-color: Highlight;--highlight-selected-bg-color: ButtonText}}[data-main-rotation="90"]{transform:rotate(90deg) translateY(-100%)}[data-main-rotation="180"]{transform:rotate(180deg) translate(-100%,-100%)}[data-main-rotation="270"]{transform:rotate(270deg) translate(-100%)}.textLayer{position:absolute;text-align:initial;top:0;right:0;bottom:0;left:0;overflow:hidden;line-height:1;text-size-adjust:none;forced-color-adjust:none;transform-origin:0 0;z-index:2}.textLayer :is(span,br){color:transparent;position:absolute;white-space:pre;cursor:text;margin:0;transform-origin:0 0}.textLayer span.markedContent{top:0;height:0}.textLayer .highlight{margin:-1px;padding:1px;background-color:var(--highlight-bg-color);border-radius:4px}.textLayer .highlight.appended{position:initial}.textLayer .highlight.begin{border-radius:4px 0 0 4px}.textLayer .highlight.end{border-radius:0 4px 4px 0}.textLayer .highlight.middle{border-radius:0}.textLayer .highlight.selected{background-color:var(--highlight-selected-bg-color)}.textLayer br::selection{background:transparent}.textLayer .endOfContent{display:block;position:absolute;top:100%;right:0;bottom:0;left:0;z-index:-1;cursor:default;-webkit-user-select:none;user-select:none}.textLayer.selecting .endOfContent{top:0}.hiddenCanvasElement{position:absolute;top:0;left:0;width:0;height:0;display:none}:root{--react-pdf-annotation-layer: 1;--annotation-unfocused-field-background: url("data:image/svg+xml;charset=UTF-8,<svg width='1px' height='1px' xmlns='http://www.w3.org/2000/svg'><rect width='100%' height='100%' style='fill:rgba(0, 54, 255, 0.13);'/></svg>");--input-focus-border-color: Highlight;--input-focus-outline: 1px solid Canvas;--input-unfocused-border-color: transparent;--input-disabled-border-color: transparent;--input-hover-border-color: black;--link-outline: none}@media screen and (forced-colors: active){:root{--input-focus-border-color: CanvasText;--input-unfocused-border-color: ActiveText;--input-disabled-border-color: GrayText;--input-hover-border-color: Highlight;--link-outline: 1.5px solid LinkText}.annotationLayer .textWidgetAnnotation :is(input,textarea):required,.annotationLayer .choiceWidgetAnnotation select:required,.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input:required{outline:1.5px solid selectedItem}.annotationLayer .linkAnnotation:hover{-webkit-backdrop-filter:invert(100%);backdrop-filter:invert(100%)}}.annotationLayer{position:absolute;top:0;left:0;pointer-events:none;transform-origin:0 0;z-index:3}.annotationLayer[data-main-rotation="90"] .norotate{transform:rotate(270deg) translate(-100%)}.annotationLayer[data-main-rotation="180"] .norotate{transform:rotate(180deg) translate(-100%,-100%)}.annotationLayer[data-main-rotation="270"] .norotate{transform:rotate(90deg) translateY(-100%)}.annotationLayer canvas{position:absolute;width:100%;height:100%}.annotationLayer section{position:absolute;text-align:initial;pointer-events:auto;box-sizing:border-box;margin:0;transform-origin:0 0}.annotationLayer .linkAnnotation{outline:var(--link-outline)}.textLayer.selecting~.annotationLayer section{pointer-events:none}.annotationLayer :is(.linkAnnotation,.buttonWidgetAnnotation.pushButton)>a{position:absolute;font-size:1em;top:0;left:0;width:100%;height:100%}.annotationLayer :is(.linkAnnotation,.buttonWidgetAnnotation.pushButton)>a:hover{opacity:.2;background:#ff0;box-shadow:0 2px 10px #ff0}.annotationLayer .textAnnotation img{position:absolute;cursor:pointer;width:100%;height:100%;top:0;left:0}.annotationLayer .textWidgetAnnotation :is(input,textarea),.annotationLayer .choiceWidgetAnnotation select,.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input{background-image:var(--annotation-unfocused-field-background);border:2px solid var(--input-unfocused-border-color);box-sizing:border-box;font:calc(9px * var(--scale-factor)) sans-serif;height:100%;margin:0;vertical-align:top;width:100%}.annotationLayer .textWidgetAnnotation :is(input,textarea):required,.annotationLayer .choiceWidgetAnnotation select:required,.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input:required{outline:1.5px solid red}.annotationLayer .choiceWidgetAnnotation select option{padding:0}.annotationLayer .buttonWidgetAnnotation.radioButton input{border-radius:50%}.annotationLayer .textWidgetAnnotation textarea{resize:none}.annotationLayer .textWidgetAnnotation :is(input,textarea)[disabled],.annotationLayer .choiceWidgetAnnotation select[disabled],.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input[disabled]{background:none;border:2px solid var(--input-disabled-border-color);cursor:not-allowed}.annotationLayer .textWidgetAnnotation :is(input,textarea):hover,.annotationLayer .choiceWidgetAnnotation select:hover,.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input:hover{border:2px solid var(--input-hover-border-color)}.annotationLayer .textWidgetAnnotation :is(input,textarea):hover,.annotationLayer .choiceWidgetAnnotation select:hover,.annotationLayer .buttonWidgetAnnotation.checkBox input:hover{border-radius:2px}.annotationLayer .textWidgetAnnotation :is(input,textarea):focus,.annotationLayer .choiceWidgetAnnotation select:focus{background:none;border:2px solid var(--input-focus-border-color);border-radius:2px;outline:var(--input-focus-outline)}.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) :focus{background-image:none;background-color:transparent}.annotationLayer .buttonWidgetAnnotation.checkBox :focus{border:2px solid var(--input-focus-border-color);border-radius:2px;outline:var(--input-focus-outline)}.annotationLayer .buttonWidgetAnnotation.radioButton :focus{border:2px solid var(--input-focus-border-color);outline:var(--input-focus-outline)}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before,.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after,.annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before{background-color:CanvasText;content:"";display:block;position:absolute}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before,.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after{height:80%;left:45%;width:1px}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before{transform:rotate(45deg)}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after{transform:rotate(-45deg)}.annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before{border-radius:50%;height:50%;left:30%;top:20%;width:50%}.annotationLayer .textWidgetAnnotation input.comb{font-family:monospace;padding-left:2px;padding-right:0}.annotationLayer .textWidgetAnnotation input.comb:focus{width:103%}.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input{-webkit-appearance:none;-moz-appearance:none;appearance:none}.annotationLayer .popupTriggerArea{height:100%;width:100%}.annotationLayer .fileAttachmentAnnotation .popupTriggerArea{position:absolute}.annotationLayer .popupWrapper{position:absolute;font-size:calc(9px * var(--scale-factor));width:100%;min-width:calc(180px * var(--scale-factor));pointer-events:none}.annotationLayer .popup{position:absolute;max-width:calc(180px * var(--scale-factor));background-color:#ff9;box-shadow:0 calc(2px * var(--scale-factor)) calc(5px * var(--scale-factor)) #888;border-radius:calc(2px * var(--scale-factor));padding:calc(6px * var(--scale-factor));margin-left:calc(5px * var(--scale-factor));cursor:pointer;font:message-box;white-space:normal;word-wrap:break-word;pointer-events:auto}.annotationLayer .popup>*{font-size:calc(9px * var(--scale-factor))}.annotationLayer .popup h1{display:inline-block}.annotationLayer .popupDate{display:inline-block;margin-left:calc(5px * var(--scale-factor))}.annotationLayer .popupContent{border-top:1px solid rgba(51,51,51,1);margin-top:calc(2px * var(--scale-factor));padding-top:calc(2px * var(--scale-factor))}.annotationLayer .richText>*{white-space:pre-wrap;font-size:calc(9px * var(--scale-factor))}.annotationLayer .highlightAnnotation,.annotationLayer .underlineAnnotation,.annotationLayer .squigglyAnnotation,.annotationLayer .strikeoutAnnotation,.annotationLayer .freeTextAnnotation,.annotationLayer .lineAnnotation svg line,.annotationLayer .squareAnnotation svg rect,.annotationLayer .circleAnnotation svg ellipse,.annotationLayer .polylineAnnotation svg polyline,.annotationLayer .polygonAnnotation svg polygon,.annotationLayer .caretAnnotation,.annotationLayer .inkAnnotation svg polyline,.annotationLayer .stampAnnotation,.annotationLayer .fileAttachmentAnnotation{cursor:pointer}.annotationLayer section svg{position:absolute;width:100%;height:100%;top:0;left:0}.annotationLayer .annotationTextContent{position:absolute;width:100%;height:100%;opacity:0;color:transparent;-webkit-user-select:none;user-select:none;pointer-events:none}.annotationLayer .annotationTextContent span{width:100%;display:inline-block}
@@ -2,8 +2,8 @@ import "react/jsx-runtime";
2
2
  import "react-confirm";
3
3
  import "@mui/material";
4
4
  import "@mui/icons-material";
5
- import "../../DialogContent-CtA2aNum.js";
6
- import { a as f } from "../../dialog-BDt1r9fh.js";
5
+ import "../../DialogContent-B8pD_s9h.js";
6
+ import { a as f } from "../../dialog-C7_6_FBz.js";
7
7
  import "../../Button-jy67CcTH.js";
8
8
  export {
9
9
  f as default
@@ -1,5 +1,5 @@
1
1
  import { createConfirmation as r } from "react-confirm";
2
- import { a as i } from "../../dialog-BDt1r9fh.js";
2
+ import { a as i } from "../../dialog-C7_6_FBz.js";
3
3
  const o = r(i);
4
4
  function f(t, n, e = {
5
5
  cancelButtonText: "Cancel",
@@ -0,0 +1,16 @@
1
+ import { jsxs as l, jsx as e } from "react/jsx-runtime";
2
+ import { Box as r, Divider as i } from "@mui/material";
3
+ import { Button as t } from "../../styled.js";
4
+ import { Subject as n, BookmarkBorder as o, PrintOutlined as m, OpenInFull as a, FileDownloadOutlined as c } from "@mui/icons-material";
5
+ const p = ({}) => /* @__PURE__ */ l(r, { display: "flex", gap: 1, alignItems: "center", children: [
6
+ /* @__PURE__ */ e(t, { children: /* @__PURE__ */ e(n, { fontSize: "small" }) }),
7
+ /* @__PURE__ */ e(i, { orientation: "vertical", flexItem: !0 }),
8
+ /* @__PURE__ */ e(t, { children: /* @__PURE__ */ e(o, { fontSize: "small" }) }),
9
+ /* @__PURE__ */ e(t, { children: /* @__PURE__ */ e(m, { fontSize: "small" }) }),
10
+ /* @__PURE__ */ e(t, { children: /* @__PURE__ */ e(a, { fontSize: "small" }) }),
11
+ /* @__PURE__ */ e(i, { orientation: "vertical", flexItem: !0 }),
12
+ /* @__PURE__ */ e(t, { children: /* @__PURE__ */ e(c, { fontSize: "small" }) })
13
+ ] });
14
+ export {
15
+ p as ActionButtons
16
+ };
@@ -0,0 +1,26 @@
1
+ import { jsxs as n, jsx as e } from "react/jsx-runtime";
2
+ import { Box as l, Divider as t, Typography as a } from "@mui/material";
3
+ import { Remove as m, Add as d, ChevronLeft as f, ChevronRight as c, ZoomOutMap as h } from "@mui/icons-material";
4
+ import { Button as i, Input as p } from "../../styled.js";
5
+ const I = ({
6
+ currentPage: r,
7
+ totalPage: o
8
+ }) => /* @__PURE__ */ n(l, { display: "flex", gap: 1, alignItems: "center", children: [
9
+ /* @__PURE__ */ e(i, { children: /* @__PURE__ */ e(m, { fontSize: "small" }) }),
10
+ /* @__PURE__ */ e(i, { children: /* @__PURE__ */ e(d, { fontSize: "small" }) }),
11
+ /* @__PURE__ */ e(t, { orientation: "vertical", flexItem: !0 }),
12
+ /* @__PURE__ */ e(i, { disabled: r === 1, children: /* @__PURE__ */ e(f, {}) }),
13
+ /* @__PURE__ */ e(t, { orientation: "vertical", flexItem: !0 }),
14
+ /* @__PURE__ */ e(p, { value: r }),
15
+ /* @__PURE__ */ n(a, { variant: "body2", children: [
16
+ "/",
17
+ o
18
+ ] }),
19
+ /* @__PURE__ */ e(t, { orientation: "vertical", flexItem: !0 }),
20
+ /* @__PURE__ */ e(i, { disabled: r === o, children: /* @__PURE__ */ e(c, {}) }),
21
+ /* @__PURE__ */ e(t, { orientation: "vertical", flexItem: !0 }),
22
+ /* @__PURE__ */ e(i, { children: /* @__PURE__ */ e(h, {}) })
23
+ ] });
24
+ export {
25
+ I as Navigation
26
+ };
@@ -0,0 +1,5 @@
1
+ import "react/jsx-runtime";
2
+ import { T as a } from "../../../../../txt-U0b7DL6j.js";
3
+ export {
4
+ a as default
5
+ };
@@ -0,0 +1,35 @@
1
+ import { jsx as r, Fragment as a } from "react/jsx-runtime";
2
+ import * as o from "react";
3
+ import { K as s, T as t, o as m, a as i, l as p, s as d, b as n, E as u, d as f, S as l, _ as c, e as R } from "../../../../txt-U0b7DL6j.js";
4
+ import '../../../../assets/index3.css';const w = ({ data: e }) => e ? /* @__PURE__ */ r(
5
+ s,
6
+ {
7
+ documents: [{ uri: window.URL.createObjectURL(e) }],
8
+ pluginRenderers: [
9
+ t,
10
+ m,
11
+ i,
12
+ p,
13
+ d,
14
+ n,
15
+ u,
16
+ f,
17
+ l,
18
+ c,
19
+ R
20
+ ],
21
+ config: {
22
+ header: {
23
+ disableHeader: !0
24
+ },
25
+ pdfZoom: {
26
+ defaultZoom: 0.5,
27
+ zoomJump: 0.1
28
+ },
29
+ pdfVerticalScrollByDefault: !0
30
+ }
31
+ }
32
+ ) : /* @__PURE__ */ r(a, {}), g = o.memo(w);
33
+ export {
34
+ g as default
35
+ };