@epam/ai-dial-share 1.1.0-dev.426 → 1.1.0-dev.431
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":"AccessControl.d.ts","sourceRoot":"","sources":["../../../src/components/AccessControl/AccessControl.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AccessControl.d.ts","sourceRoot":"","sources":["../../../src/components/AccessControl/AccessControl.tsx"],"names":[],"mappings":"AASA,OAAO,EAAE,EAAE,EAAE,KAAK,aAAa,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAC/D,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAGpD,uCAAuC;AACvC,UAAU,kBAAkB;IAC1B,qDAAqD;IACrD,mBAAmB,EAAE,MAAM,CAAC;IAC5B,uDAAuD;IACvD,sBAAsB,EAAE,MAAM,CAAC;IAC/B,kDAAkD;IAClD,MAAM,EAAE,eAAe,EAAE,CAAC;IAC1B,mFAAmF;IACnF,aAAa,EAAE,OAAO,CAAC;IACvB,oDAAoD;IACpD,eAAe,EAAE,MAAM,CAAC;IACxB,oDAAoD;IACpD,eAAe,EAAE,MAAM,CAAC;IACxB,iDAAiD;IACjD,eAAe,EAAE,MAAM,CAAC;IACxB,gDAAgD;IAChD,MAAM,EAAE,OAAO,CAAC;IAChB,yDAAyD;IACzD,YAAY,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACtC,6DAA6D;IAC7D,cAAc,EAAE,CAAC,MAAM,EAAE,eAAe,EAAE,KAAK,IAAI,CAAC;IACpD,sDAAsD;IACtD,aAAa,EAAE,CAAC,CAAC,EAAE,aAAa,CAAC,cAAc,CAAC,KAAK,IAAI,CAAC;IAC1D,uFAAuF;IACvF,UAAU,EAAE,SAAS,CAAC,iBAAiB,GAAG,IAAI,CAAC,CAAC;IAChD,wFAAwF;IACxF,OAAO,EAAE,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,CAAC;IAC1C,uFAAuF;IACvF,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,oFAAoF;IACpF,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,2FAA2F;IAC3F,2BAA2B,CAAC,EAAE,MAAM,CAAC;IACrC,yFAAyF;IACzF,4BAA4B,CAAC,EAAE,MAAM,CAAC;CACvC;AAED,gHAAgH;AAChH,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,kBAAkB,CA+JhD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SharePopover.d.ts","sourceRoot":"","sources":["../../../src/components/SharePopover/SharePopover.tsx"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;;
|
|
1
|
+
{"version":3,"file":"SharePopover.d.ts","sourceRoot":"","sources":["../../../src/components/SharePopover/SharePopover.tsx"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;;AAsT1E,wBAAkC"}
|
package/index.css
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
.
|
|
1
|
+
._accessTriggerBtn_1ryi2_1{background-color:var(--shp-access-trigger-bg,var(--bg-layer-raised,#fcfcfc));border-color:var(--shp-access-trigger-border,transparent)}@media (hover:hover){button._accessTriggerBtn_1ryi2_1:hover{border-color:var(--shp-access-trigger-border-hover,var(--stroke-accent,#1d4ed8))}}button._accessTriggerBtn_1ryi2_1:focus-visible{outline:1px solid var(--shp-access-trigger-border-focus,var(--stroke-accent,#1d4ed8));outline-offset:-1px;border-color:#0000}._accessTriggerBtnOpen_1ryi2_17{border-color:var(--shp-access-trigger-border-focus,var(--stroke-accent,#1d4ed8))}._accessTriggerLabel_1ryi2_21{color:var(--shp-access-trigger-text,var(--text-primary,#161b2d))}._title_1ryi2_25{color:var(--shp-title-text,var(--text-primary,#161b2d))}._linkIconBadge_1ryi2_29{background:var(--shp-link-icon-bg,var(--bg-control-accent-alpha-active,#2764d933));color:var(--shp-link-icon-text,var(--text-accent,#1d4ed8))}._anyoneWithLinkTitle_1ryi2_34{color:var(--shp-anyone-title,var(--text-primary,#161b2d))}._anyoneWithLinkSubtitle_1ryi2_38{color:var(--shp-anyone-subtitle,var(--text-secondary,#57647a))}._accessTriggerChevron_1ryi2_42{color:var(--shp-access-chevron,var(--text-tertiary,#848e9c));transition:transform .15s}@media (prefers-reduced-motion:reduce){._accessTriggerChevron_1ryi2_42{transition:none}}._accessMenuItemLabel_1ryi2_55{color:var(--shp-menu-item-label,var(--text-primary,#161b2d))}._linkRow_1ryi2_59{background:var(--shp-link-row-bg,var(--bg-layer-base,#f5f7fa))}._linkRow_1ryi2_59 input{color:var(--shp-link-text,var(--text-primary,#161b2d))!important}._errorText_1ryi2_66{color:var(--shp-error-text,var(--text-error,#ae2f2f))}._note_1ryi2_70{color:var(--shp-note-text,var(--text-secondary,#57647a))}._divider_1ryi2_74{background:var(--shp-divider,var(--stroke-tertiary,#e0e6f0))}._container_hzzl6_1{border-color:var(--qr-border,var(--stroke-tertiary,#e0e6f0));background:var(--qr-bg,var(--bg-layer-sunken,#eef1f7))}._qrColor_hzzl6_6{color:var(--qr-color,var(--text-primary,#161b2d))}
|
|
2
2
|
/*$vite$:1*/
|
package/index.js
CHANGED
|
@@ -1,142 +1,132 @@
|
|
|
1
1
|
import { buildCssVars as e, mergeClasses as t, useCodeCopy as n } from "@epam/ai-dial-chat-shared";
|
|
2
2
|
import r, { forwardRef as i, memo as a, useEffect as o, useRef as s, useState as c } from "react";
|
|
3
|
-
import { DIAL_ICON_SIZE as l, DIAL_KIT_ICON_STROKE as u, Dropdown as d, GhostButton as f, GhostIconButton as p, Input as m,
|
|
4
|
-
import { IconCheck as
|
|
5
|
-
import { Fragment as
|
|
3
|
+
import { DIAL_ICON_SIZE as l, DIAL_KIT_ICON_STROKE as u, Dropdown as d, GhostButton as f, GhostIconButton as p, Input as m, MenuItem as h, MenuItemMark as g, Skeleton as _, SkeletonVariant as v } from "@epam/ai-dial-ui-kit";
|
|
4
|
+
import { IconCheck as y, IconChevronDown as b, IconCopy as x, IconLink as S, IconQrcode as C, IconWorld as w } from "@tabler/icons-react";
|
|
5
|
+
import { Fragment as T, jsx as E, jsxs as D } from "react/jsx-runtime";
|
|
6
6
|
//#region \0rolldown/runtime.js
|
|
7
|
-
var
|
|
8
|
-
if (t && typeof t == "object" || typeof t == "function") for (var i =
|
|
7
|
+
var O = Object.create, k = Object.defineProperty, A = Object.getOwnPropertyDescriptor, j = Object.getOwnPropertyNames, M = Object.getPrototypeOf, N = Object.prototype.hasOwnProperty, P = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports), F = (e, t, n, r) => {
|
|
8
|
+
if (t && typeof t == "object" || typeof t == "function") for (var i = j(t), a = 0, o = i.length, s; a < o; a++) s = i[a], !N.call(e, s) && s !== n && k(e, s, {
|
|
9
9
|
get: ((e) => t[e]).bind(null, s),
|
|
10
|
-
enumerable: !(r =
|
|
10
|
+
enumerable: !(r = A(t, s)) || r.enumerable
|
|
11
11
|
});
|
|
12
12
|
return e;
|
|
13
|
-
},
|
|
13
|
+
}, ee = (e, t, n) => (n = e == null ? {} : O(M(e)), F(t || !e || !e.__esModule ? k(n, "default", {
|
|
14
14
|
value: e,
|
|
15
15
|
enumerable: !0
|
|
16
|
-
}) : n, e)),
|
|
16
|
+
}) : n, e)), I = /* @__PURE__ */ function(e) {
|
|
17
17
|
return e.View = "view", e.Edit = "edit", e;
|
|
18
|
-
}({}),
|
|
18
|
+
}({}), L = /* @__PURE__ */ function(e) {
|
|
19
19
|
return e.Link = "link", e.Qr = "qr", e;
|
|
20
|
-
}({}),
|
|
21
|
-
let [t] =
|
|
20
|
+
}({}), te = "button:not(:disabled), input:not(:disabled), [tabindex]:not([tabindex=\"-1\"])", ne = (e) => Array.from(e?.querySelectorAll(te) ?? []), re = (e) => {
|
|
21
|
+
let [t] = ne(e);
|
|
22
22
|
(t ?? e)?.focus();
|
|
23
23
|
}, R = {
|
|
24
24
|
skeletonColor: "var(--shp-skeleton-color, var(--bg-layer-sunken, #eef1f7))",
|
|
25
|
-
accessTriggerBtn: "
|
|
26
|
-
accessTriggerBtnOpen: "
|
|
27
|
-
accessTriggerLabel: "
|
|
28
|
-
title: "
|
|
29
|
-
linkIconBadge: "
|
|
30
|
-
anyoneWithLinkTitle: "
|
|
31
|
-
anyoneWithLinkSubtitle: "
|
|
32
|
-
accessTriggerChevron: "
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
}, ne = ({ anyoneWithLinkTitle: e, anyoneWithLinkSubtitle: n, access: r, canEditAccess: i, accessViewLabel: a, accessEditLabel: o, accessAriaLabel: s, isOpen: c, onOpenChange: f, onAccessChange: p, onMenuKeyDown: m, triggerRef: h, menuRef: g, titleClassName: y = "dial-small-semi-text", subtitleClassName: b = "dial-small-text", accessTriggerLabelClassName: x = "dial-small-semi-text", accessMenuItemLabelClassName: C = "dial-small-text" }) => {
|
|
42
|
-
let E = [{
|
|
43
|
-
value: F.View,
|
|
25
|
+
accessTriggerBtn: "_accessTriggerBtn_1ryi2_1",
|
|
26
|
+
accessTriggerBtnOpen: "_accessTriggerBtnOpen_1ryi2_17",
|
|
27
|
+
accessTriggerLabel: "_accessTriggerLabel_1ryi2_21",
|
|
28
|
+
title: "_title_1ryi2_25",
|
|
29
|
+
linkIconBadge: "_linkIconBadge_1ryi2_29",
|
|
30
|
+
anyoneWithLinkTitle: "_anyoneWithLinkTitle_1ryi2_34",
|
|
31
|
+
anyoneWithLinkSubtitle: "_anyoneWithLinkSubtitle_1ryi2_38",
|
|
32
|
+
accessTriggerChevron: "_accessTriggerChevron_1ryi2_42",
|
|
33
|
+
accessMenuItemLabel: "_accessMenuItemLabel_1ryi2_55",
|
|
34
|
+
linkRow: "_linkRow_1ryi2_59",
|
|
35
|
+
errorText: "_errorText_1ryi2_66",
|
|
36
|
+
note: "_note_1ryi2_70",
|
|
37
|
+
divider: "_divider_1ryi2_74"
|
|
38
|
+
}, ie = ({ anyoneWithLinkTitle: e, anyoneWithLinkSubtitle: n, access: r, canEditAccess: i, accessViewLabel: a, accessEditLabel: o, accessAriaLabel: s, isOpen: c, onOpenChange: f, onAccessChange: p, onMenuKeyDown: m, triggerRef: _, menuRef: v, titleClassName: y = "dial-small-semi-text", subtitleClassName: x = "dial-small-text", accessTriggerLabelClassName: S = "dial-small-semi-text", accessMenuItemLabelClassName: C = "dial-small-text" }) => {
|
|
39
|
+
let T = [{
|
|
40
|
+
value: I.View,
|
|
44
41
|
label: a
|
|
45
42
|
}, {
|
|
46
|
-
value:
|
|
43
|
+
value: I.Edit,
|
|
47
44
|
label: o
|
|
48
|
-
}],
|
|
49
|
-
return /* @__PURE__ */
|
|
45
|
+
}], O = r.includes(I.Edit) ? I.Edit : I.View;
|
|
46
|
+
return /* @__PURE__ */ D("div", {
|
|
50
47
|
className: "flex items-center gap-2.5",
|
|
51
48
|
children: [
|
|
52
|
-
/* @__PURE__ */
|
|
49
|
+
/* @__PURE__ */ E("span", {
|
|
53
50
|
className: t("flex size-8 shrink-0 items-center justify-center rounded-full", R.linkIconBadge),
|
|
54
|
-
children: /* @__PURE__ */ w
|
|
51
|
+
children: /* @__PURE__ */ E(w, {
|
|
55
52
|
size: l.MD,
|
|
56
53
|
"aria-hidden": !0,
|
|
57
54
|
stroke: u
|
|
58
55
|
})
|
|
59
56
|
}),
|
|
60
|
-
/* @__PURE__ */
|
|
57
|
+
/* @__PURE__ */ D("div", {
|
|
61
58
|
className: "min-w-0 flex-1",
|
|
62
|
-
children: [/* @__PURE__ */
|
|
59
|
+
children: [/* @__PURE__ */ E("p", {
|
|
63
60
|
className: t(y, "truncate", R.anyoneWithLinkTitle),
|
|
64
61
|
children: e
|
|
65
|
-
}), /* @__PURE__ */
|
|
66
|
-
className: t(
|
|
62
|
+
}), /* @__PURE__ */ E("p", {
|
|
63
|
+
className: t(x, R.anyoneWithLinkSubtitle),
|
|
67
64
|
children: n
|
|
68
65
|
})]
|
|
69
66
|
}),
|
|
70
|
-
i ? /* @__PURE__ */
|
|
67
|
+
i ? /* @__PURE__ */ E(d, {
|
|
71
68
|
matchReferenceWidth: !1,
|
|
72
69
|
placement: "bottom-end",
|
|
73
70
|
open: c,
|
|
74
71
|
onOpenChange: f,
|
|
75
|
-
renderOverlay: () => /* @__PURE__ */
|
|
76
|
-
ref:
|
|
72
|
+
renderOverlay: () => /* @__PURE__ */ E("div", {
|
|
73
|
+
ref: v,
|
|
77
74
|
role: "menu",
|
|
78
75
|
"aria-label": s,
|
|
79
76
|
tabIndex: -1,
|
|
80
77
|
className: "min-w-[160px]",
|
|
81
78
|
onKeyDown: m,
|
|
82
|
-
children:
|
|
83
|
-
let n =
|
|
84
|
-
return /* @__PURE__ */
|
|
85
|
-
type: "button",
|
|
79
|
+
children: T.map((e) => {
|
|
80
|
+
let n = O === e.value;
|
|
81
|
+
return /* @__PURE__ */ E(h, {
|
|
86
82
|
role: "menuitemradio",
|
|
87
83
|
"aria-checked": n,
|
|
88
|
-
|
|
84
|
+
mark: g.Check,
|
|
85
|
+
selected: n,
|
|
86
|
+
label: e.label,
|
|
87
|
+
labelClassName: t(C, R.accessMenuItemLabel),
|
|
89
88
|
onClick: () => {
|
|
90
|
-
p(e.value ===
|
|
91
|
-
}
|
|
92
|
-
children: [/* @__PURE__ */ w("span", {
|
|
93
|
-
className: t(C, R.accessMenuItemLabel),
|
|
94
|
-
children: e.label
|
|
95
|
-
}), n && /* @__PURE__ */ w(_, {
|
|
96
|
-
size: l.SM,
|
|
97
|
-
stroke: u,
|
|
98
|
-
className: R.accessMenuItemCheck,
|
|
99
|
-
"aria-hidden": !0
|
|
100
|
-
})]
|
|
89
|
+
p(e.value === I.Edit ? [I.View, I.Edit] : [I.View]), f(!1);
|
|
90
|
+
}
|
|
101
91
|
}, e.value);
|
|
102
92
|
})
|
|
103
93
|
}),
|
|
104
|
-
children: /* @__PURE__ */
|
|
105
|
-
ref:
|
|
94
|
+
children: /* @__PURE__ */ D("button", {
|
|
95
|
+
ref: _,
|
|
106
96
|
type: "button",
|
|
107
97
|
"aria-haspopup": "menu",
|
|
108
98
|
"aria-expanded": c,
|
|
109
99
|
className: t("flex h-10 shrink-0 cursor-pointer items-center gap-1.5 whitespace-nowrap rounded-full border px-3 outline-none", R.accessTriggerBtn, c && R.accessTriggerBtnOpen),
|
|
110
|
-
children: [/* @__PURE__ */
|
|
111
|
-
className: t(R.accessTriggerLabel,
|
|
112
|
-
children:
|
|
113
|
-
}), /* @__PURE__ */
|
|
100
|
+
children: [/* @__PURE__ */ E("span", {
|
|
101
|
+
className: t(R.accessTriggerLabel, S),
|
|
102
|
+
children: T.find((e) => e.value === O)?.label
|
|
103
|
+
}), /* @__PURE__ */ E(b, {
|
|
114
104
|
size: l.MD,
|
|
115
105
|
stroke: u,
|
|
116
106
|
className: t("shrink-0 transition-transform duration-150 rtl:scale-x-[-1]", R.accessTriggerChevron, c && "rotate-180"),
|
|
117
107
|
"aria-hidden": !0
|
|
118
108
|
})]
|
|
119
109
|
})
|
|
120
|
-
}) : /* @__PURE__ */
|
|
110
|
+
}) : /* @__PURE__ */ E("span", {
|
|
121
111
|
"aria-label": s,
|
|
122
112
|
className: t("flex h-10 shrink-0 items-center whitespace-nowrap rounded-full px-3", R.accessTriggerBtn),
|
|
123
|
-
children: /* @__PURE__ */
|
|
124
|
-
className: t(R.accessTriggerLabel,
|
|
113
|
+
children: /* @__PURE__ */ E("span", {
|
|
114
|
+
className: t(R.accessTriggerLabel, S),
|
|
125
115
|
children: a
|
|
126
116
|
})
|
|
127
117
|
})
|
|
128
118
|
]
|
|
129
119
|
});
|
|
130
|
-
},
|
|
120
|
+
}, ae = ({ url: e, linkAriaLabel: n, isCopied: r, copyButtonLabel: i, copiedButtonLabel: a, onCopy: o }) => /* @__PURE__ */ D(T, { children: [/* @__PURE__ */ D("div", {
|
|
131
121
|
className: t("flex items-center gap-3 rounded-full px-4 py-2", R.linkRow),
|
|
132
|
-
children: [/* @__PURE__ */
|
|
122
|
+
children: [/* @__PURE__ */ E(m, {
|
|
133
123
|
readOnly: !0,
|
|
134
124
|
value: e,
|
|
135
125
|
"aria-label": n,
|
|
136
126
|
containerClassName: "min-w-0 flex-1",
|
|
137
127
|
wrapperClassName: "border-0 bg-transparent px-0 outline-none"
|
|
138
|
-
}), /* @__PURE__ */
|
|
139
|
-
icon:
|
|
128
|
+
}), /* @__PURE__ */ E(p, {
|
|
129
|
+
icon: E(r ? y : x, {
|
|
140
130
|
size: l.LG,
|
|
141
131
|
"aria-hidden": !0,
|
|
142
132
|
stroke: u
|
|
@@ -145,12 +135,12 @@ var E = Object.create, D = Object.defineProperty, O = Object.getOwnPropertyDescr
|
|
|
145
135
|
tooltipProps: { tooltip: r ? a : i },
|
|
146
136
|
onClick: o
|
|
147
137
|
})]
|
|
148
|
-
}), /* @__PURE__ */
|
|
138
|
+
}), /* @__PURE__ */ E("span", {
|
|
149
139
|
role: "status",
|
|
150
140
|
"aria-live": "polite",
|
|
151
141
|
className: "sr-only",
|
|
152
142
|
children: r ? a : ""
|
|
153
|
-
})] }),
|
|
143
|
+
})] }), oe = /* @__PURE__ */ P(((e) => {
|
|
154
144
|
var t = typeof Symbol == "function" && Symbol.for, n = t ? Symbol.for("react.element") : 60103, r = t ? Symbol.for("react.portal") : 60106, i = t ? Symbol.for("react.fragment") : 60107, a = t ? Symbol.for("react.strict_mode") : 60108, o = t ? Symbol.for("react.profiler") : 60114, s = t ? Symbol.for("react.provider") : 60109, c = t ? Symbol.for("react.context") : 60110, l = t ? Symbol.for("react.async_mode") : 60111, u = t ? Symbol.for("react.concurrent_mode") : 60111, d = t ? Symbol.for("react.forward_ref") : 60112, f = t ? Symbol.for("react.suspense") : 60113, p = t ? Symbol.for("react.suspense_list") : 60120, m = t ? Symbol.for("react.memo") : 60115, h = t ? Symbol.for("react.lazy") : 60116, g = t ? Symbol.for("react.block") : 60121, _ = t ? Symbol.for("react.fundamental") : 60117, v = t ? Symbol.for("react.responder") : 60118, y = t ? Symbol.for("react.scope") : 60119;
|
|
155
145
|
function b(e) {
|
|
156
146
|
if (typeof e == "object" && e) {
|
|
@@ -206,7 +196,7 @@ var E = Object.create, D = Object.defineProperty, O = Object.getOwnPropertyDescr
|
|
|
206
196
|
}, e.isValidElementType = function(e) {
|
|
207
197
|
return typeof e == "string" || typeof e == "function" || e === i || e === u || e === o || e === a || e === f || e === p || typeof e == "object" && !!e && (e.$$typeof === h || e.$$typeof === m || e.$$typeof === s || e.$$typeof === c || e.$$typeof === d || e.$$typeof === _ || e.$$typeof === v || e.$$typeof === y || e.$$typeof === g);
|
|
208
198
|
}, e.typeOf = b;
|
|
209
|
-
})),
|
|
199
|
+
})), z = /* @__PURE__ */ P(((e) => {
|
|
210
200
|
process.env.NODE_ENV !== "production" && (function() {
|
|
211
201
|
var t = typeof Symbol == "function" && Symbol.for, n = t ? Symbol.for("react.element") : 60103, r = t ? Symbol.for("react.portal") : 60106, i = t ? Symbol.for("react.fragment") : 60107, a = t ? Symbol.for("react.strict_mode") : 60108, o = t ? Symbol.for("react.profiler") : 60114, s = t ? Symbol.for("react.provider") : 60109, c = t ? Symbol.for("react.context") : 60110, l = t ? Symbol.for("react.async_mode") : 60111, u = t ? Symbol.for("react.concurrent_mode") : 60111, d = t ? Symbol.for("react.forward_ref") : 60112, f = t ? Symbol.for("react.suspense") : 60113, p = t ? Symbol.for("react.suspense_list") : 60120, m = t ? Symbol.for("react.memo") : 60115, h = t ? Symbol.for("react.lazy") : 60116, g = t ? Symbol.for("react.block") : 60121, _ = t ? Symbol.for("react.fundamental") : 60117, v = t ? Symbol.for("react.responder") : 60118, y = t ? Symbol.for("react.scope") : 60119;
|
|
212
202
|
function b(e) {
|
|
@@ -241,50 +231,50 @@ var E = Object.create, D = Object.defineProperty, O = Object.getOwnPropertyDescr
|
|
|
241
231
|
}
|
|
242
232
|
}
|
|
243
233
|
var S = l, C = u, w = c, T = s, E = n, D = d, O = i, k = h, A = m, j = r, M = o, N = a, P = f, F = !1;
|
|
244
|
-
function
|
|
245
|
-
return F || (F = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),
|
|
234
|
+
function ee(e) {
|
|
235
|
+
return F || (F = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), I(e) || x(e) === l;
|
|
246
236
|
}
|
|
247
|
-
function
|
|
237
|
+
function I(e) {
|
|
248
238
|
return x(e) === u;
|
|
249
239
|
}
|
|
250
|
-
function
|
|
240
|
+
function L(e) {
|
|
251
241
|
return x(e) === c;
|
|
252
242
|
}
|
|
253
243
|
function te(e) {
|
|
254
244
|
return x(e) === s;
|
|
255
245
|
}
|
|
256
|
-
function
|
|
246
|
+
function ne(e) {
|
|
257
247
|
return typeof e == "object" && !!e && e.$$typeof === n;
|
|
258
248
|
}
|
|
259
|
-
function
|
|
249
|
+
function re(e) {
|
|
260
250
|
return x(e) === d;
|
|
261
251
|
}
|
|
262
|
-
function
|
|
252
|
+
function R(e) {
|
|
263
253
|
return x(e) === i;
|
|
264
254
|
}
|
|
265
|
-
function
|
|
255
|
+
function ie(e) {
|
|
266
256
|
return x(e) === h;
|
|
267
257
|
}
|
|
268
|
-
function
|
|
258
|
+
function ae(e) {
|
|
269
259
|
return x(e) === m;
|
|
270
260
|
}
|
|
271
|
-
function
|
|
261
|
+
function oe(e) {
|
|
272
262
|
return x(e) === r;
|
|
273
263
|
}
|
|
274
|
-
function
|
|
264
|
+
function z(e) {
|
|
275
265
|
return x(e) === o;
|
|
276
266
|
}
|
|
277
|
-
function
|
|
267
|
+
function B(e) {
|
|
278
268
|
return x(e) === a;
|
|
279
269
|
}
|
|
280
|
-
function
|
|
270
|
+
function V(e) {
|
|
281
271
|
return x(e) === f;
|
|
282
272
|
}
|
|
283
|
-
e.AsyncMode = S, e.ConcurrentMode = C, e.ContextConsumer = w, e.ContextProvider = T, e.Element = E, e.ForwardRef = D, e.Fragment = O, e.Lazy = k, e.Memo = A, e.Portal = j, e.Profiler = M, e.StrictMode = N, e.Suspense = P, e.isAsyncMode =
|
|
273
|
+
e.AsyncMode = S, e.ConcurrentMode = C, e.ContextConsumer = w, e.ContextProvider = T, e.Element = E, e.ForwardRef = D, e.Fragment = O, e.Lazy = k, e.Memo = A, e.Portal = j, e.Profiler = M, e.StrictMode = N, e.Suspense = P, e.isAsyncMode = ee, e.isConcurrentMode = I, e.isContextConsumer = L, e.isContextProvider = te, e.isElement = ne, e.isForwardRef = re, e.isFragment = R, e.isLazy = ie, e.isMemo = ae, e.isPortal = oe, e.isProfiler = z, e.isStrictMode = B, e.isSuspense = V, e.isValidElementType = b, e.typeOf = x;
|
|
284
274
|
})();
|
|
285
|
-
})), B = /* @__PURE__ */
|
|
286
|
-
process.env.NODE_ENV === "production" ? t.exports =
|
|
287
|
-
})), V = /* @__PURE__ */
|
|
275
|
+
})), B = /* @__PURE__ */ P(((e, t) => {
|
|
276
|
+
process.env.NODE_ENV === "production" ? t.exports = oe() : t.exports = z();
|
|
277
|
+
})), V = /* @__PURE__ */ P(((e, t) => {
|
|
288
278
|
var n = Object.getOwnPropertySymbols, r = Object.prototype.hasOwnProperty, i = Object.prototype.propertyIsEnumerable;
|
|
289
279
|
function a(e) {
|
|
290
280
|
if (e == null) throw TypeError("Object.assign cannot be called with null or undefined");
|
|
@@ -317,11 +307,11 @@ var E = Object.create, D = Object.defineProperty, O = Object.getOwnPropertyDescr
|
|
|
317
307
|
}
|
|
318
308
|
return s;
|
|
319
309
|
};
|
|
320
|
-
})), H = /* @__PURE__ */
|
|
310
|
+
})), H = /* @__PURE__ */ P(((e, t) => {
|
|
321
311
|
t.exports = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
|
322
|
-
})), U = /* @__PURE__ */
|
|
312
|
+
})), U = /* @__PURE__ */ P(((e, t) => {
|
|
323
313
|
t.exports = Function.call.bind(Object.prototype.hasOwnProperty);
|
|
324
|
-
})),
|
|
314
|
+
})), W = /* @__PURE__ */ P(((e, t) => {
|
|
325
315
|
var n = function() {};
|
|
326
316
|
if (process.env.NODE_ENV !== "production") {
|
|
327
317
|
var r = H(), i = {}, a = U();
|
|
@@ -357,8 +347,8 @@ var E = Object.create, D = Object.defineProperty, O = Object.getOwnPropertyDescr
|
|
|
357
347
|
o.resetWarningCache = function() {
|
|
358
348
|
process.env.NODE_ENV !== "production" && (i = {});
|
|
359
349
|
}, t.exports = o;
|
|
360
|
-
})),
|
|
361
|
-
var n = B(), r = V(), i = H(), a = U(), o =
|
|
350
|
+
})), se = /* @__PURE__ */ P(((e, t) => {
|
|
351
|
+
var n = B(), r = V(), i = H(), a = U(), o = W(), s = function() {};
|
|
362
352
|
process.env.NODE_ENV !== "production" && (s = function(e) {
|
|
363
353
|
var t = "Warning: " + e;
|
|
364
354
|
typeof console < "u" && console.error(t);
|
|
@@ -616,7 +606,7 @@ var E = Object.create, D = Object.defineProperty, O = Object.getOwnPropertyDescr
|
|
|
616
606
|
}
|
|
617
607
|
return p.checkPropTypes = o, p.resetWarningCache = o.resetWarningCache, p.PropTypes = p, p;
|
|
618
608
|
};
|
|
619
|
-
})),
|
|
609
|
+
})), ce = /* @__PURE__ */ P(((e, t) => {
|
|
620
610
|
var n = H();
|
|
621
611
|
function r() {}
|
|
622
612
|
function i() {}
|
|
@@ -656,11 +646,11 @@ var E = Object.create, D = Object.defineProperty, O = Object.getOwnPropertyDescr
|
|
|
656
646
|
};
|
|
657
647
|
return a.PropTypes = a, a;
|
|
658
648
|
};
|
|
659
|
-
})), G = /* @__PURE__ */
|
|
649
|
+
})), G = /* @__PURE__ */ ee((/* @__PURE__ */ P(((e, t) => {
|
|
660
650
|
if (process.env.NODE_ENV !== "production") {
|
|
661
651
|
var n = B();
|
|
662
|
-
t.exports =
|
|
663
|
-
} else t.exports =
|
|
652
|
+
t.exports = se()(n.isElement, !0);
|
|
653
|
+
} else t.exports = ce()();
|
|
664
654
|
})))(), 1), K = function(e, t) {
|
|
665
655
|
let n = e, r = J[t], i = null, a = 0, o = null, s = [], c = {}, l = function(e, t) {
|
|
666
656
|
a = n * 4 + 17, i = function(e) {
|
|
@@ -744,7 +734,7 @@ var E = Object.create, D = Object.defineProperty, O = Object.getOwnPropertyDescr
|
|
|
744
734
|
for (let e = 0; e < i; e += 1) for (let n = 0; n < t.length; n += 1) e < o[n].length && (c[l] = o[n][e], l += 1);
|
|
745
735
|
return c;
|
|
746
736
|
}, v = function(e, t, n) {
|
|
747
|
-
let r =
|
|
737
|
+
let r = le.getRSBlocks(e, t), i = ue();
|
|
748
738
|
for (let t = 0; t < n.length; t += 1) {
|
|
749
739
|
let r = n[t];
|
|
750
740
|
i.put(r.getMode(), 4), i.put(r.getLength(), X.getLengthInBits(r.getMode(), e)), r.write(i);
|
|
@@ -761,16 +751,16 @@ var E = Object.create, D = Object.defineProperty, O = Object.getOwnPropertyDescr
|
|
|
761
751
|
let n = null;
|
|
762
752
|
switch (t) {
|
|
763
753
|
case "Numeric":
|
|
764
|
-
n =
|
|
754
|
+
n = de(e);
|
|
765
755
|
break;
|
|
766
756
|
case "Alphanumeric":
|
|
767
|
-
n =
|
|
757
|
+
n = fe(e);
|
|
768
758
|
break;
|
|
769
759
|
case "Byte":
|
|
770
|
-
n =
|
|
760
|
+
n = pe(e);
|
|
771
761
|
break;
|
|
772
762
|
case "Kanji":
|
|
773
|
-
n =
|
|
763
|
+
n = me(e);
|
|
774
764
|
break;
|
|
775
765
|
default: throw "mode:" + t;
|
|
776
766
|
}
|
|
@@ -784,7 +774,7 @@ var E = Object.create, D = Object.defineProperty, O = Object.getOwnPropertyDescr
|
|
|
784
774
|
if (n < 1) {
|
|
785
775
|
let e = 1;
|
|
786
776
|
for (; e < 40; e++) {
|
|
787
|
-
let t =
|
|
777
|
+
let t = le.getRSBlocks(e, r), n = ue();
|
|
788
778
|
for (let t = 0; t < s.length; t++) {
|
|
789
779
|
let r = s[t];
|
|
790
780
|
n.put(r.getMode(), 4), n.put(r.getLength(), X.getLengthInBits(r.getMode(), e)), r.write(n);
|
|
@@ -815,7 +805,7 @@ var E = Object.create, D = Object.defineProperty, O = Object.getOwnPropertyDescr
|
|
|
815
805
|
}, c.createDataURL = function(e, t) {
|
|
816
806
|
e ||= 2, t = t === void 0 ? e * 4 : t;
|
|
817
807
|
let n = c.getModuleCount() * e + t * 2, r = t, i = n - t;
|
|
818
|
-
return
|
|
808
|
+
return ye(n, n, function(t, n) {
|
|
819
809
|
if (r <= t && t < i && r <= n && n < i) {
|
|
820
810
|
let i = Math.floor((t - r) / e), a = Math.floor((n - r) / e);
|
|
821
811
|
return +!c.isDark(a, i);
|
|
@@ -892,7 +882,7 @@ K.stringToBytes = function(e) {
|
|
|
892
882
|
return t;
|
|
893
883
|
}, K.createStringToBytes = function(e, t) {
|
|
894
884
|
let n = function() {
|
|
895
|
-
let n =
|
|
885
|
+
let n = _e(e), r = function() {
|
|
896
886
|
let e = n.read();
|
|
897
887
|
if (e == -1) throw "eof";
|
|
898
888
|
return e;
|
|
@@ -1308,7 +1298,7 @@ var q = {
|
|
|
1308
1298
|
for (let r = 0; r < e.getLength(); r += 1) n[r] ^= Z.gexp(Z.glog(e.getAt(r)) + t);
|
|
1309
1299
|
return Q(n, 0).mod(e);
|
|
1310
1300
|
}, r;
|
|
1311
|
-
},
|
|
1301
|
+
}, le = function() {
|
|
1312
1302
|
let e = [
|
|
1313
1303
|
[
|
|
1314
1304
|
1,
|
|
@@ -2516,7 +2506,7 @@ var q = {
|
|
|
2516
2506
|
}
|
|
2517
2507
|
return o;
|
|
2518
2508
|
}, n;
|
|
2519
|
-
}(),
|
|
2509
|
+
}(), ue = function() {
|
|
2520
2510
|
let e = [], t = 0, n = {};
|
|
2521
2511
|
return n.getBuffer = function() {
|
|
2522
2512
|
return e;
|
|
@@ -2530,7 +2520,7 @@ var q = {
|
|
|
2530
2520
|
let r = Math.floor(t / 8);
|
|
2531
2521
|
e.length <= r && e.push(0), n && (e[r] |= 128 >>> t % 8), t += 1;
|
|
2532
2522
|
}, n;
|
|
2533
|
-
},
|
|
2523
|
+
}, de = function(e) {
|
|
2534
2524
|
let t = q.MODE_NUMBER, n = e, r = {};
|
|
2535
2525
|
r.getMode = function() {
|
|
2536
2526
|
return t;
|
|
@@ -2550,7 +2540,7 @@ var q = {
|
|
|
2550
2540
|
throw "illegal char :" + e;
|
|
2551
2541
|
};
|
|
2552
2542
|
return r;
|
|
2553
|
-
},
|
|
2543
|
+
}, fe = function(e) {
|
|
2554
2544
|
let t = q.MODE_ALPHA_NUM, n = e, r = {};
|
|
2555
2545
|
r.getMode = function() {
|
|
2556
2546
|
return t;
|
|
@@ -2578,7 +2568,7 @@ var q = {
|
|
|
2578
2568
|
}
|
|
2579
2569
|
};
|
|
2580
2570
|
return r;
|
|
2581
|
-
},
|
|
2571
|
+
}, pe = function(e) {
|
|
2582
2572
|
let t = q.MODE_8BIT_BYTE, n = K.stringToBytes(e), r = {};
|
|
2583
2573
|
return r.getMode = function() {
|
|
2584
2574
|
return t;
|
|
@@ -2587,7 +2577,7 @@ var q = {
|
|
|
2587
2577
|
}, r.write = function(e) {
|
|
2588
2578
|
for (let t = 0; t < n.length; t += 1) e.put(n[t], 8);
|
|
2589
2579
|
}, r;
|
|
2590
|
-
},
|
|
2580
|
+
}, me = function(e) {
|
|
2591
2581
|
let t = q.MODE_KANJI, n = K.stringToBytes;
|
|
2592
2582
|
(function(e, t) {
|
|
2593
2583
|
let r = n(e);
|
|
@@ -2609,7 +2599,7 @@ var q = {
|
|
|
2609
2599
|
}
|
|
2610
2600
|
if (n < t.length) throw "illegal char at " + (n + 1);
|
|
2611
2601
|
}, i;
|
|
2612
|
-
},
|
|
2602
|
+
}, he = function() {
|
|
2613
2603
|
let e = [], t = {};
|
|
2614
2604
|
return t.writeByte = function(t) {
|
|
2615
2605
|
e.push(t & 255);
|
|
@@ -2628,7 +2618,7 @@ var q = {
|
|
|
2628
2618
|
for (let n = 0; n < e.length; n += 1) n > 0 && (t += ","), t += e[n];
|
|
2629
2619
|
return t += "]", t;
|
|
2630
2620
|
}, t;
|
|
2631
|
-
},
|
|
2621
|
+
}, ge = function() {
|
|
2632
2622
|
let e = 0, t = 0, n = 0, r = "", i = {}, a = function(e) {
|
|
2633
2623
|
r += String.fromCharCode(o(e & 63));
|
|
2634
2624
|
}, o = function(e) {
|
|
@@ -2650,7 +2640,7 @@ var q = {
|
|
|
2650
2640
|
}, i.toString = function() {
|
|
2651
2641
|
return r;
|
|
2652
2642
|
}, i;
|
|
2653
|
-
},
|
|
2643
|
+
}, _e = function(e) {
|
|
2654
2644
|
let t = e, n = 0, r = 0, i = 0, a = {};
|
|
2655
2645
|
a.read = function() {
|
|
2656
2646
|
for (; i < 8;) {
|
|
@@ -2674,7 +2664,7 @@ var q = {
|
|
|
2674
2664
|
throw "c:" + e;
|
|
2675
2665
|
};
|
|
2676
2666
|
return a;
|
|
2677
|
-
},
|
|
2667
|
+
}, ve = function(e, t) {
|
|
2678
2668
|
let n = e, r = t, i = Array(e * t), a = {};
|
|
2679
2669
|
a.setPixel = function(e, t, r) {
|
|
2680
2670
|
i[t * n + e] = r;
|
|
@@ -2699,7 +2689,7 @@ var q = {
|
|
|
2699
2689
|
let t = 1 << e, n = (1 << e) + 1, r = e + 1, a = c();
|
|
2700
2690
|
for (let e = 0; e < t; e += 1) a.add(String.fromCharCode(e));
|
|
2701
2691
|
a.add(String.fromCharCode(t)), a.add(String.fromCharCode(n));
|
|
2702
|
-
let s =
|
|
2692
|
+
let s = he(), l = o(s);
|
|
2703
2693
|
l.write(t, r);
|
|
2704
2694
|
let u = 0, d = String.fromCharCode(i[u]);
|
|
2705
2695
|
for (u += 1; u < i.length;) {
|
|
@@ -2721,12 +2711,12 @@ var q = {
|
|
|
2721
2711
|
}, n;
|
|
2722
2712
|
};
|
|
2723
2713
|
return a;
|
|
2724
|
-
},
|
|
2725
|
-
let r =
|
|
2714
|
+
}, ye = function(e, t, n) {
|
|
2715
|
+
let r = ve(e, t);
|
|
2726
2716
|
for (let i = 0; i < t; i += 1) for (let t = 0; t < e; t += 1) r.setPixel(t, i, n(t, i));
|
|
2727
|
-
let i =
|
|
2717
|
+
let i = he();
|
|
2728
2718
|
r.write(i);
|
|
2729
|
-
let a =
|
|
2719
|
+
let a = ge(), o = i.toByteArray();
|
|
2730
2720
|
for (let e = 0; e < o.length; e += 1) a.writeByte(o[e]);
|
|
2731
2721
|
return a.flush(), "data:image/gif;base64," + a;
|
|
2732
2722
|
};
|
|
@@ -2742,16 +2732,16 @@ function $() {
|
|
|
2742
2732
|
return e;
|
|
2743
2733
|
}, $.apply(null, arguments);
|
|
2744
2734
|
}
|
|
2745
|
-
function
|
|
2735
|
+
function be(e, t) {
|
|
2746
2736
|
if (e == null) return {};
|
|
2747
|
-
var n, r, i =
|
|
2737
|
+
var n, r, i = xe(e, t);
|
|
2748
2738
|
if (Object.getOwnPropertySymbols) {
|
|
2749
2739
|
var a = Object.getOwnPropertySymbols(e);
|
|
2750
2740
|
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
|
|
2751
2741
|
}
|
|
2752
2742
|
return i;
|
|
2753
2743
|
}
|
|
2754
|
-
function
|
|
2744
|
+
function xe(e, t) {
|
|
2755
2745
|
if (e == null) return {};
|
|
2756
2746
|
var n = {};
|
|
2757
2747
|
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
|
|
@@ -2760,7 +2750,7 @@ function ye(e, t) {
|
|
|
2760
2750
|
}
|
|
2761
2751
|
return n;
|
|
2762
2752
|
}
|
|
2763
|
-
var
|
|
2753
|
+
var Se = [
|
|
2764
2754
|
"bgColor",
|
|
2765
2755
|
"bgD",
|
|
2766
2756
|
"fgD",
|
|
@@ -2769,7 +2759,7 @@ var be = [
|
|
|
2769
2759
|
"title",
|
|
2770
2760
|
"viewBoxSize",
|
|
2771
2761
|
"xmlns"
|
|
2772
|
-
],
|
|
2762
|
+
], Ce = {
|
|
2773
2763
|
bgColor: G.default.oneOfType([G.default.object, G.default.string]).isRequired,
|
|
2774
2764
|
bgD: G.default.string.isRequired,
|
|
2775
2765
|
fgColor: G.default.oneOfType([G.default.object, G.default.string]).isRequired,
|
|
@@ -2778,8 +2768,8 @@ var be = [
|
|
|
2778
2768
|
title: G.default.string,
|
|
2779
2769
|
viewBoxSize: G.default.number.isRequired,
|
|
2780
2770
|
xmlns: G.default.string
|
|
2781
|
-
},
|
|
2782
|
-
var n = e.bgColor, i = e.bgD, a = e.fgD, o = e.fgColor, s = e.size, c = e.title, l = e.viewBoxSize, u = e.xmlns, d = u === void 0 ? "http://www.w3.org/2000/svg" : u, f =
|
|
2771
|
+
}, we = /*#__PURE__*/ i(function(e, t) {
|
|
2772
|
+
var n = e.bgColor, i = e.bgD, a = e.fgD, o = e.fgColor, s = e.size, c = e.title, l = e.viewBoxSize, u = e.xmlns, d = u === void 0 ? "http://www.w3.org/2000/svg" : u, f = be(e, Se);
|
|
2783
2773
|
return /*#__PURE__*/ r.createElement("svg", $({}, f, {
|
|
2784
2774
|
height: s,
|
|
2785
2775
|
ref: t,
|
|
@@ -2794,8 +2784,8 @@ var be = [
|
|
|
2794
2784
|
fill: o
|
|
2795
2785
|
}));
|
|
2796
2786
|
});
|
|
2797
|
-
|
|
2798
|
-
var
|
|
2787
|
+
we.displayName = "QRCodeSvg", we.propTypes = Ce;
|
|
2788
|
+
var Te = [
|
|
2799
2789
|
"bgColor",
|
|
2800
2790
|
"fgColor",
|
|
2801
2791
|
"level",
|
|
@@ -2805,21 +2795,21 @@ var Ce = [
|
|
|
2805
2795
|
K.stringToBytes = function(e) {
|
|
2806
2796
|
return Array.from(new TextEncoder().encode(e));
|
|
2807
2797
|
};
|
|
2808
|
-
var
|
|
2798
|
+
var Ee = {
|
|
2809
2799
|
bgColor: G.default.oneOfType([G.default.object, G.default.string]),
|
|
2810
2800
|
fgColor: G.default.oneOfType([G.default.object, G.default.string]),
|
|
2811
2801
|
level: G.default.string,
|
|
2812
2802
|
size: G.default.number,
|
|
2813
2803
|
value: G.default.string.isRequired
|
|
2814
|
-
},
|
|
2815
|
-
var n = e.bgColor, i = n === void 0 ? "#FFFFFF" : n, a = e.fgColor, o = a === void 0 ? "#000000" : a, s = e.level, c = s === void 0 ? "L" : s, l = e.size, u = l === void 0 ? 256 : l, d = e.value, f =
|
|
2804
|
+
}, De = /*#__PURE__*/ i(function(e, t) {
|
|
2805
|
+
var n = e.bgColor, i = n === void 0 ? "#FFFFFF" : n, a = e.fgColor, o = a === void 0 ? "#000000" : a, s = e.level, c = s === void 0 ? "L" : s, l = e.size, u = l === void 0 ? 256 : l, d = e.value, f = be(e, Te), p = K(0, c);
|
|
2816
2806
|
p.addData(d), p.make();
|
|
2817
2807
|
var m = p.getModuleCount(), h = Array.from({ length: m }, function(e, t) {
|
|
2818
2808
|
return Array.from({ length: m }, function(e, n) {
|
|
2819
2809
|
return p.isDark(t, n);
|
|
2820
2810
|
});
|
|
2821
2811
|
});
|
|
2822
|
-
return /*#__PURE__*/ r.createElement(
|
|
2812
|
+
return /*#__PURE__*/ r.createElement(we, $({}, f, {
|
|
2823
2813
|
bgColor: i,
|
|
2824
2814
|
bgD: h.map(function(e, t) {
|
|
2825
2815
|
return e.map(function(e, n) {
|
|
@@ -2837,124 +2827,124 @@ var we = {
|
|
|
2837
2827
|
viewBoxSize: m
|
|
2838
2828
|
}));
|
|
2839
2829
|
});
|
|
2840
|
-
|
|
2841
|
-
var
|
|
2830
|
+
De.displayName = "QRCode", De.propTypes = Ee;
|
|
2831
|
+
var Oe = {
|
|
2842
2832
|
container: "_container_hzzl6_1",
|
|
2843
2833
|
qrColor: "_qrColor_hzzl6_6"
|
|
2844
|
-
},
|
|
2834
|
+
}, ke = ({ value: n, labels: r, styles: i }) => {
|
|
2845
2835
|
let { colors: a } = i ?? {}, o = e({
|
|
2846
2836
|
"--qr-border": a?.borderColor,
|
|
2847
2837
|
"--qr-bg": a?.backgroundColor,
|
|
2848
2838
|
"--qr-color": a?.fillColor
|
|
2849
2839
|
});
|
|
2850
|
-
return /* @__PURE__ */
|
|
2840
|
+
return /* @__PURE__ */ E("div", {
|
|
2851
2841
|
role: "img",
|
|
2852
2842
|
"aria-label": r.ariaLabel,
|
|
2853
2843
|
style: o,
|
|
2854
|
-
className: t("flex size-40 items-center justify-center self-center rounded-lg border p-3",
|
|
2855
|
-
children: /* @__PURE__ */
|
|
2844
|
+
className: t("flex size-40 items-center justify-center self-center rounded-lg border p-3", Oe.container),
|
|
2845
|
+
children: /* @__PURE__ */ E(De, {
|
|
2856
2846
|
value: n,
|
|
2857
2847
|
size: 128,
|
|
2858
2848
|
bgColor: "transparent",
|
|
2859
2849
|
fgColor: "currentColor",
|
|
2860
2850
|
"aria-hidden": !0,
|
|
2861
|
-
className: t("size-full",
|
|
2851
|
+
className: t("size-full", Oe.qrColor)
|
|
2862
2852
|
})
|
|
2863
2853
|
});
|
|
2864
|
-
},
|
|
2854
|
+
}, Ae = ({ ariaLabel: e, skeletonColor: t = R.skeletonColor }) => /* @__PURE__ */ D("div", {
|
|
2865
2855
|
role: "status",
|
|
2866
2856
|
"aria-label": e,
|
|
2867
2857
|
className: "flex flex-col gap-3",
|
|
2868
2858
|
children: [
|
|
2869
|
-
/* @__PURE__ */
|
|
2859
|
+
/* @__PURE__ */ D("div", {
|
|
2870
2860
|
"aria-hidden": !0,
|
|
2871
2861
|
className: "flex items-center gap-2.5",
|
|
2872
2862
|
children: [
|
|
2873
|
-
/* @__PURE__ */
|
|
2874
|
-
variant:
|
|
2863
|
+
/* @__PURE__ */ E(_, {
|
|
2864
|
+
variant: v.Circular,
|
|
2875
2865
|
width: 32,
|
|
2876
2866
|
height: 32,
|
|
2877
2867
|
color: t
|
|
2878
2868
|
}),
|
|
2879
|
-
/* @__PURE__ */
|
|
2869
|
+
/* @__PURE__ */ D("div", {
|
|
2880
2870
|
className: "flex min-w-0 flex-1 flex-col gap-1.5",
|
|
2881
|
-
children: [/* @__PURE__ */
|
|
2882
|
-
variant:
|
|
2871
|
+
children: [/* @__PURE__ */ E(_, {
|
|
2872
|
+
variant: v.Text,
|
|
2883
2873
|
width: "70%",
|
|
2884
2874
|
height: 16,
|
|
2885
2875
|
color: t
|
|
2886
|
-
}), /* @__PURE__ */
|
|
2887
|
-
variant:
|
|
2876
|
+
}), /* @__PURE__ */ E(_, {
|
|
2877
|
+
variant: v.Text,
|
|
2888
2878
|
width: "45%",
|
|
2889
2879
|
height: 12,
|
|
2890
2880
|
color: t
|
|
2891
2881
|
})]
|
|
2892
2882
|
}),
|
|
2893
|
-
/* @__PURE__ */
|
|
2894
|
-
variant:
|
|
2883
|
+
/* @__PURE__ */ E(_, {
|
|
2884
|
+
variant: v.Rectangular,
|
|
2895
2885
|
width: 92,
|
|
2896
2886
|
height: 30,
|
|
2897
2887
|
color: t
|
|
2898
2888
|
})
|
|
2899
2889
|
]
|
|
2900
2890
|
}),
|
|
2901
|
-
/* @__PURE__ */
|
|
2891
|
+
/* @__PURE__ */ D("div", {
|
|
2902
2892
|
"aria-hidden": !0,
|
|
2903
2893
|
className: "flex flex-col gap-1.5",
|
|
2904
|
-
children: [/* @__PURE__ */
|
|
2905
|
-
variant:
|
|
2894
|
+
children: [/* @__PURE__ */ E(_, {
|
|
2895
|
+
variant: v.Text,
|
|
2906
2896
|
width: "100%",
|
|
2907
2897
|
height: 12,
|
|
2908
2898
|
color: t
|
|
2909
|
-
}), /* @__PURE__ */
|
|
2910
|
-
variant:
|
|
2899
|
+
}), /* @__PURE__ */ E(_, {
|
|
2900
|
+
variant: v.Text,
|
|
2911
2901
|
width: "60%",
|
|
2912
2902
|
height: 12,
|
|
2913
2903
|
color: t
|
|
2914
2904
|
})]
|
|
2915
2905
|
}),
|
|
2916
|
-
/* @__PURE__ */
|
|
2906
|
+
/* @__PURE__ */ E(_, {
|
|
2917
2907
|
"aria-hidden": !0,
|
|
2918
|
-
variant:
|
|
2908
|
+
variant: v.Rectangular,
|
|
2919
2909
|
width: "100%",
|
|
2920
2910
|
height: 40,
|
|
2921
2911
|
color: t
|
|
2922
2912
|
}),
|
|
2923
|
-
/* @__PURE__ */
|
|
2913
|
+
/* @__PURE__ */ E(_, {
|
|
2924
2914
|
"aria-hidden": !0,
|
|
2925
|
-
variant:
|
|
2915
|
+
variant: v.Text,
|
|
2926
2916
|
width: "50%",
|
|
2927
2917
|
height: 12,
|
|
2928
2918
|
color: t
|
|
2929
2919
|
})
|
|
2930
2920
|
]
|
|
2931
|
-
}),
|
|
2921
|
+
}), je = "share-popover-qr-button", Me = "share-popover-back-button", Ne = ({ title: e, view: n, qrButtonLabel: r, linkLabel: i, onViewChange: a, titleClassName: o = "dial-h3-text" }) => /* @__PURE__ */ D("div", {
|
|
2932
2922
|
className: "flex items-center gap-2",
|
|
2933
|
-
children: [/* @__PURE__ */
|
|
2923
|
+
children: [/* @__PURE__ */ E("span", {
|
|
2934
2924
|
className: t(o, R.title),
|
|
2935
2925
|
children: e
|
|
2936
|
-
}), n ===
|
|
2937
|
-
id:
|
|
2926
|
+
}), n === L.Link ? /* @__PURE__ */ E(f, {
|
|
2927
|
+
id: je,
|
|
2938
2928
|
label: r,
|
|
2939
|
-
iconBefore: /* @__PURE__ */
|
|
2929
|
+
iconBefore: /* @__PURE__ */ E(C, {
|
|
2940
2930
|
size: l.SM,
|
|
2941
2931
|
"aria-hidden": !0,
|
|
2942
2932
|
stroke: u
|
|
2943
2933
|
}),
|
|
2944
2934
|
className: "ms-auto",
|
|
2945
|
-
onClick: () => a(
|
|
2946
|
-
}) : /* @__PURE__ */
|
|
2947
|
-
id:
|
|
2935
|
+
onClick: () => a(L.Qr)
|
|
2936
|
+
}) : /* @__PURE__ */ E(f, {
|
|
2937
|
+
id: Me,
|
|
2948
2938
|
label: i,
|
|
2949
|
-
iconBefore: /* @__PURE__ */
|
|
2939
|
+
iconBefore: /* @__PURE__ */ E(S, {
|
|
2950
2940
|
size: l.SM,
|
|
2951
2941
|
"aria-hidden": !0,
|
|
2952
2942
|
stroke: u
|
|
2953
2943
|
}),
|
|
2954
2944
|
className: "ms-auto",
|
|
2955
|
-
onClick: () => a(
|
|
2945
|
+
onClick: () => a(L.Link)
|
|
2956
2946
|
})]
|
|
2957
|
-
}),
|
|
2947
|
+
}), Pe = a(({ url: r, isLoading: i, error: a, access: l, canEditAccess: u, onAccessChange: d, onClose: f, labels: p, className: m, styles: h }) => {
|
|
2958
2948
|
let g = h?.colors, _ = h?.typography, v = e({
|
|
2959
2949
|
"--shp-access-trigger-bg": g?.accessTriggerBackground,
|
|
2960
2950
|
"--shp-access-trigger-border": g?.accessTriggerBorder,
|
|
@@ -2967,49 +2957,45 @@ var Ee = {
|
|
|
2967
2957
|
"--shp-anyone-title": g?.anyoneTitle,
|
|
2968
2958
|
"--shp-anyone-subtitle": g?.anyoneSubtitle,
|
|
2969
2959
|
"--shp-access-chevron": g?.accessChevron,
|
|
2970
|
-
"--shp-menu-item-hover": g?.menuItemHover,
|
|
2971
|
-
"--shp-menu-item-focus-shadow": g?.menuItemFocusShadow,
|
|
2972
|
-
"--shp-menu-item-checked-bg": g?.menuItemCheckedBackground,
|
|
2973
2960
|
"--shp-menu-item-label": g?.menuItemLabel,
|
|
2974
|
-
"--shp-menu-item-check": g?.menuItemCheck,
|
|
2975
2961
|
"--shp-link-row-bg": g?.linkRowBackground,
|
|
2976
2962
|
"--shp-link-text": g?.linkText,
|
|
2977
2963
|
"--shp-error-text": g?.errorText,
|
|
2978
2964
|
"--shp-note-text": g?.noteText,
|
|
2979
2965
|
"--shp-divider": g?.divider,
|
|
2980
2966
|
"--shp-skeleton-color": g?.skeletonColor
|
|
2981
|
-
}), { title: y = "Share", qrButtonLabel: b = "QR", linkLabel: x = "Link", anyoneWithLinkTitle: S = "Anyone with the link", anyoneWithLinkSubtitle:
|
|
2982
|
-
|
|
2967
|
+
}), { title: y = "Share", qrButtonLabel: b = "QR", linkLabel: x = "Link", anyoneWithLinkTitle: S = "Anyone with the link", anyoneWithLinkSubtitle: C = "in your organization", accessAriaLabel: w = "Link access level", accessViewLabel: O = "Can view", accessEditLabel: k = "Can edit", visibilityNote: A = "This deployment and its updates will be visible to users with the link.", visibilityNoteEdit: j = "Anyone with the link will be able to view and edit this deployment.", copyButtonLabel: M = "Copy", copiedButtonLabel: N = "Copied", linkAriaLabel: P = "Share link", expiryNote: F, qrCodeAriaLabel: ee = "QR code for the share link", loadingLabel: te = "Creating share link…", errorTitle: oe = "Couldn’t create the share link. Please try again.", nestedItemsNote: z } = p ?? {}, [B, V] = c(L.Link), { isCopied: H, copy: U } = n(r ?? ""), [W, se] = c(!1), ce = s(null), G = s(null), K = (e) => {
|
|
2968
|
+
se(e), e || ce.current?.focus();
|
|
2983
2969
|
};
|
|
2984
2970
|
o(() => {
|
|
2985
|
-
W &&
|
|
2971
|
+
W && G.current?.querySelector("[aria-checked=\"true\"]")?.focus();
|
|
2986
2972
|
}, [W]);
|
|
2987
|
-
let
|
|
2973
|
+
let q = s(null);
|
|
2988
2974
|
o(() => {
|
|
2989
|
-
|
|
2975
|
+
re(q.current);
|
|
2990
2976
|
let e = setTimeout(() => {
|
|
2991
|
-
|
|
2977
|
+
q.current?.contains(document.activeElement) || re(q.current);
|
|
2992
2978
|
}, 0);
|
|
2993
2979
|
return () => clearTimeout(e);
|
|
2994
2980
|
}, []);
|
|
2995
|
-
let
|
|
2981
|
+
let J = s(!0);
|
|
2996
2982
|
o(() => {
|
|
2997
|
-
if (
|
|
2998
|
-
|
|
2983
|
+
if (J.current) {
|
|
2984
|
+
J.current = !1;
|
|
2999
2985
|
return;
|
|
3000
2986
|
}
|
|
3001
|
-
let e =
|
|
2987
|
+
let e = B === L.Qr ? Me : je;
|
|
3002
2988
|
document.getElementById(e)?.focus();
|
|
3003
|
-
}, [
|
|
3004
|
-
let
|
|
3005
|
-
let t = W ? Array.from(
|
|
2989
|
+
}, [B]);
|
|
2990
|
+
let Y = (e) => {
|
|
2991
|
+
let t = W ? Array.from(G.current?.querySelectorAll("[role=\"menuitemradio\"]") ?? []) : ne(q.current);
|
|
3006
2992
|
if (t.length === 0) return;
|
|
3007
2993
|
e.preventDefault();
|
|
3008
2994
|
let n = t.indexOf(document.activeElement), r = e.shiftKey ? -1 : 1;
|
|
3009
2995
|
t[n === -1 ? 0 : (n + r + t.length) % t.length]?.focus();
|
|
3010
2996
|
};
|
|
3011
|
-
return /* @__PURE__ */
|
|
3012
|
-
ref:
|
|
2997
|
+
return /* @__PURE__ */ D("div", {
|
|
2998
|
+
ref: q,
|
|
3013
2999
|
role: "dialog",
|
|
3014
3000
|
"aria-label": y,
|
|
3015
3001
|
tabIndex: -1,
|
|
@@ -3017,85 +3003,85 @@ var Ee = {
|
|
|
3017
3003
|
className: t("flex w-96 flex-col gap-3 rounded-xl bg-layer-raised px-6 pb-6 pt-4 shadow-lg outline-none", m),
|
|
3018
3004
|
onKeyDownCapture: (e) => {
|
|
3019
3005
|
if (e.key === "Tab") {
|
|
3020
|
-
|
|
3006
|
+
Y(e);
|
|
3021
3007
|
return;
|
|
3022
3008
|
}
|
|
3023
3009
|
if (e.key === "Escape") {
|
|
3024
3010
|
if (e.stopPropagation(), W) {
|
|
3025
|
-
e.preventDefault(),
|
|
3011
|
+
e.preventDefault(), K(!1);
|
|
3026
3012
|
return;
|
|
3027
3013
|
}
|
|
3028
|
-
|
|
3014
|
+
B === L.Qr ? (e.preventDefault(), V(L.Link)) : f();
|
|
3029
3015
|
}
|
|
3030
3016
|
},
|
|
3031
3017
|
children: [
|
|
3032
|
-
/* @__PURE__ */
|
|
3018
|
+
/* @__PURE__ */ E(Ne, {
|
|
3033
3019
|
title: y,
|
|
3034
|
-
view:
|
|
3020
|
+
view: B,
|
|
3035
3021
|
qrButtonLabel: b,
|
|
3036
3022
|
linkLabel: x,
|
|
3037
|
-
onViewChange:
|
|
3023
|
+
onViewChange: V
|
|
3038
3024
|
}),
|
|
3039
|
-
/* @__PURE__ */
|
|
3040
|
-
i && /* @__PURE__ */
|
|
3041
|
-
ariaLabel:
|
|
3025
|
+
/* @__PURE__ */ E("div", { className: t("-mt-1.5 h-px w-full", R.divider) }),
|
|
3026
|
+
i && /* @__PURE__ */ E(Ae, {
|
|
3027
|
+
ariaLabel: te,
|
|
3042
3028
|
skeletonColor: g?.skeletonColor
|
|
3043
3029
|
}),
|
|
3044
|
-
!i && a != null && /* @__PURE__ */
|
|
3030
|
+
!i && a != null && /* @__PURE__ */ E("p", {
|
|
3045
3031
|
role: "alert",
|
|
3046
3032
|
className: t(_?.errorClassName ?? "dial-tiny-text", "py-6 text-center", R.errorText),
|
|
3047
|
-
children:
|
|
3033
|
+
children: oe
|
|
3048
3034
|
}),
|
|
3049
|
-
!i && a == null && r != null && /* @__PURE__ */ T
|
|
3050
|
-
/* @__PURE__ */
|
|
3035
|
+
!i && a == null && r != null && /* @__PURE__ */ D(T, { children: [
|
|
3036
|
+
/* @__PURE__ */ E(ie, {
|
|
3051
3037
|
anyoneWithLinkTitle: S,
|
|
3052
|
-
anyoneWithLinkSubtitle:
|
|
3038
|
+
anyoneWithLinkSubtitle: C,
|
|
3053
3039
|
access: l,
|
|
3054
3040
|
canEditAccess: u,
|
|
3055
3041
|
accessViewLabel: O,
|
|
3056
3042
|
accessEditLabel: k,
|
|
3057
|
-
accessAriaLabel:
|
|
3043
|
+
accessAriaLabel: w,
|
|
3058
3044
|
isOpen: W,
|
|
3059
|
-
onOpenChange:
|
|
3045
|
+
onOpenChange: K,
|
|
3060
3046
|
onAccessChange: d,
|
|
3061
3047
|
onMenuKeyDown: (e) => {
|
|
3062
3048
|
if (e.key !== "ArrowDown" && e.key !== "ArrowUp") return;
|
|
3063
3049
|
e.preventDefault();
|
|
3064
|
-
let t = Array.from(
|
|
3050
|
+
let t = Array.from(G.current?.querySelectorAll("[role=\"menuitemradio\"]") ?? []);
|
|
3065
3051
|
t.length !== 0 && t[(t.indexOf(document.activeElement) + (e.key === "ArrowDown" ? 1 : -1) + t.length) % t.length]?.focus();
|
|
3066
3052
|
},
|
|
3067
|
-
triggerRef:
|
|
3068
|
-
menuRef:
|
|
3053
|
+
triggerRef: ce,
|
|
3054
|
+
menuRef: G,
|
|
3069
3055
|
titleClassName: _?.anyoneTitleClassName,
|
|
3070
3056
|
subtitleClassName: _?.anyoneSubtitleClassName,
|
|
3071
3057
|
accessTriggerLabelClassName: _?.accessTriggerLabelClassName
|
|
3072
3058
|
}),
|
|
3073
|
-
/* @__PURE__ */
|
|
3059
|
+
/* @__PURE__ */ E("p", {
|
|
3074
3060
|
className: t(_?.noteClassName ?? "dial-tiny-text", R.note),
|
|
3075
|
-
children: u && l.includes(
|
|
3061
|
+
children: u && l.includes(I.Edit) ? j : A
|
|
3076
3062
|
}),
|
|
3077
|
-
|
|
3063
|
+
z != null && /* @__PURE__ */ E("p", {
|
|
3078
3064
|
className: t(_?.nestedItemsNoteClassName ?? "dial-tiny-semi-text", R.note),
|
|
3079
|
-
children:
|
|
3065
|
+
children: z
|
|
3080
3066
|
}),
|
|
3081
|
-
|
|
3067
|
+
B === L.Qr ? /* @__PURE__ */ E(ke, {
|
|
3082
3068
|
value: r,
|
|
3083
|
-
labels: { ariaLabel:
|
|
3084
|
-
}) : /* @__PURE__ */
|
|
3069
|
+
labels: { ariaLabel: ee }
|
|
3070
|
+
}) : /* @__PURE__ */ E(ae, {
|
|
3085
3071
|
url: r,
|
|
3086
3072
|
linkAriaLabel: P,
|
|
3087
|
-
isCopied:
|
|
3073
|
+
isCopied: H,
|
|
3088
3074
|
copyButtonLabel: M,
|
|
3089
3075
|
copiedButtonLabel: N,
|
|
3090
|
-
onCopy:
|
|
3076
|
+
onCopy: U
|
|
3091
3077
|
}),
|
|
3092
|
-
|
|
3078
|
+
F != null && /* @__PURE__ */ E("p", {
|
|
3093
3079
|
className: t(_?.noteClassName ?? "dial-tiny-text", R.note),
|
|
3094
|
-
children:
|
|
3080
|
+
children: F
|
|
3095
3081
|
})
|
|
3096
3082
|
] })
|
|
3097
3083
|
]
|
|
3098
3084
|
});
|
|
3099
3085
|
});
|
|
3100
3086
|
//#endregion
|
|
3101
|
-
export {
|
|
3087
|
+
export { ke as QrCode, I as ShareLinkAccess, Pe as SharePopover, L as SharePopoverView };
|
|
@@ -62,16 +62,8 @@ export interface SharePopoverColors {
|
|
|
62
62
|
anyoneSubtitle?: string;
|
|
63
63
|
/** Access-trigger chevron icon color. */
|
|
64
64
|
accessChevron?: string;
|
|
65
|
-
/** Access menu item background color on hover. */
|
|
66
|
-
menuItemHover?: string;
|
|
67
|
-
/** Access menu item focus-visible ring color. */
|
|
68
|
-
menuItemFocusShadow?: string;
|
|
69
|
-
/** Access menu item background color when checked. */
|
|
70
|
-
menuItemCheckedBackground?: string;
|
|
71
65
|
/** Access menu item label text color. */
|
|
72
66
|
menuItemLabel?: string;
|
|
73
|
-
/** Access menu item checkmark icon color. */
|
|
74
|
-
menuItemCheck?: string;
|
|
75
67
|
/** Background color of the link pill row. */
|
|
76
68
|
linkRowBackground?: string;
|
|
77
69
|
/** Share-URL text color inside the link pill row. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"share-popover-props.d.ts","sourceRoot":"","sources":["../../src/models/share-popover-props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAEtD,oFAAoF;AACpF,MAAM,WAAW,kBAAkB;IACjC,sEAAsE;IACtE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,+CAA+C;IAC/C,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,0DAA0D;IAC1D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,8DAA8D;IAC9D,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,gEAAgE;IAChE,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,oFAAoF;IACpF,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,wEAAwE;IACxE,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,wEAAwE;IACxE,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,iDAAiD;IACjD,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,iDAAiD;IACjD,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,+KAA+K;IAC/K,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,uDAAuD;IACvD,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,+DAA+D;IAC/D,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,6EAA6E;IAC7E,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,0EAA0E;IAC1E,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,4FAA4F;IAC5F,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,mFAAmF;IACnF,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,0DAA0D;IAC1D,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,0GAA0G;AAC1G,MAAM,WAAW,kBAAkB;IACjC,8CAA8C;IAC9C,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC,0CAA0C;IAC1C,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,mDAAmD;IACnD,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC,wDAAwD;IACxD,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC,8CAA8C;IAC9C,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,uCAAuC;IACvC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,8DAA8D;IAC9D,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,wDAAwD;IACxD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,qDAAqD;IACrD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,uDAAuD;IACvD,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,yCAAyC;IACzC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,
|
|
1
|
+
{"version":3,"file":"share-popover-props.d.ts","sourceRoot":"","sources":["../../src/models/share-popover-props.ts"],"names":[],"mappings":"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"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@epam/ai-dial-share",
|
|
3
3
|
"description": "Share popover UI component and share-link types for AI DIAL catalog deployments",
|
|
4
|
-
"version": "1.1.0-dev.
|
|
4
|
+
"version": "1.1.0-dev.431",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "./index.js",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
}
|
|
17
17
|
},
|
|
18
18
|
"peerDependencies": {
|
|
19
|
-
"@epam/ai-dial-chat-shared": "1.1.0-dev.
|
|
19
|
+
"@epam/ai-dial-chat-shared": "1.1.0-dev.431",
|
|
20
20
|
"@tabler/icons-react": "^3.0.0",
|
|
21
21
|
"react": "^19.0.0",
|
|
22
22
|
"react-qr-code": "^2.2.0",
|